@cfx-dev/ui-components 4.3.15 → 4.3.18
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/css/Select.css +1 -1
- package/dist/components/DropdownSelect/DropdownSelect.js +56 -55
- package/dist/components/DropdownSelect/DropdownSelectShowcase.js +14 -14
- package/dist/components/Label/Label.d.ts +5 -0
- package/dist/components/Label/Label.js +20 -0
- package/dist/components/Label/index.d.ts +2 -0
- package/dist/components/Label/index.js +4 -0
- package/dist/components/Text/Text.d.ts +3 -7
- package/dist/components/Text/Text.js +54 -41
- package/dist/components/Text/Text.types.d.ts +5 -0
- package/dist/components/Text/index.d.ts +1 -1
- package/dist/main.d.ts +4 -1
- package/dist/main.js +184 -180
- package/dist/utils/joaat32.d.ts +1 -0
- package/dist/utils/joaat32.js +11 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
.cfxui__Select__trigger__232e4{width:100%;padding:0 var(--offset-medium);border:none;display:inline-flex;align-items:center;justify-content:space-between;width:auto;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__Select__trigger__232e4::placeholder{color:var(--color-input-placeholder)}.cfxui__Select__trigger__232e4::-webkit-input-placeholder{color:var(--color-input-placeholder)}.cfxui__Select__trigger__232e4::-moz-placeholder{color:var(--color-input-placeholder)}.cfxui__Select__trigger__232e4:-ms-input-placeholder{color:var(--color-input-placeholder)}.cfxui__Select__trigger__232e4:disabled{cursor:not-allowed;opacity:.5;box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-disabled-border) inset}.cfxui__Select__trigger__232e4:not(:disabled):hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-hover-border) inset}.cfxui__Select__trigger__232e4:not(:disabled):hover::placeholder{color:var(--color-input-placeholder-hover)}.cfxui__Select__trigger__232e4:not(:disabled):hover::-webkit-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__Select__trigger__232e4:not(:disabled):hover::-moz-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__Select__trigger__232e4:not(:disabled):hover:-ms-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__Select__trigger__232e4:not(:disabled):focus-visible,.cfxui__Select__trigger__232e4:not(:disabled):focus-visible:hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-focus-border) inset}.cfxui__Select__trigger__232e4:not(:disabled):focus-visible::placeholder,.cfxui__Select__trigger__232e4:not(:disabled):focus-visible:hover::placeholder{color:transparent}.cfxui__Select__trigger__232e4:not(:disabled):focus-visible::-webkit-input-placeholder,.cfxui__Select__trigger__232e4:not(:disabled):focus-visible:hover::-webkit-input-placeholder{color:transparent}.cfxui__Select__trigger__232e4:not(:disabled):focus-visible::-moz-placeholder,.cfxui__Select__trigger__232e4:not(:disabled):focus-visible:hover::-moz-placeholder{color:transparent}.cfxui__Select__trigger__232e4:not(:disabled):focus-visible:-ms-input-placeholder,.cfxui__Select__trigger__232e4:not(:disabled):focus-visible:hover:-ms-input-placeholder{color:transparent}.cfxui__Select__trigger__232e4::placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Select__trigger__232e4::-webkit-input-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Select__trigger__232e4::-moz-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Select__trigger__232e4:-ms-input-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Select__trigger__232e4{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Select__trigger__232e4[type=search]::-ms-clear,.cfxui__Select__trigger__232e4[type=search]::-ms-reveal{display:none;width:0;height:0}.cfxui__Select__trigger__232e4[type=search]::-webkit-search-decoration,.cfxui__Select__trigger__232e4[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.cfxui__Select__trigger__232e4[type=search]{padding-right:calc(var(--offset-medium) + var(--offset-large));-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;outline-offset:-2px}.cfxui__Select__trigger__232e4:not(:disabled){cursor:pointer}.cfxui__Select__trigger__232e4[data-placeholder]{color:var(--color-input-placeholder)}.cfxui__Select__trigger__232e4[data-placeholder]:hover,.cfxui__Select__trigger__232e4[data-placeholder]:focus{color:var(--color-input-placeholder-hover)}.cfxui__Select__trigger__232e4.cfxui__Select__fullWidth__739d7{width:100%}.cfxui__Select__icon__36b6c{margin-left:var(--quant)}.cfxui__Select__content__067da{padding:var(--border-radius-xsmall) 0;border-radius:var(--border-radius-xsmall);background-color:var(--color-interactive-list-background);box-shadow:var(--shadow-large, initial);z-index:2;animation:cfxui__Select__app__e0114 ease .2s}.cfxui__Select__content__067da .cfxui__Select__arrow__8e7eb{display:flex;align-items:center;justify-content:center}.cfxui__Select__content__067da .cfxui__Select__arrow__8e7eb:hover{background-color:var(--color-interactive-list-item-hover-background)}.cfxui__Select__content__067da .cfxui__Select__option__2de5d{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:var(--offset-small) var(--offset-normal);color:var(--color-input-text);font-weight:var(--font-weight-normal);font-family:var(--font-family-primary);font-size:var(--font-size-xsmall);height:var(--control-height-normal);background-color:var(--color-interactive-list-item-background)}.cfxui__Select__content__067da .cfxui__Select__option__2de5d[data-state=checked]{background-color:var(--color-interactive-list-item-active-background)}.cfxui__Select__content__067da .cfxui__Select__option__2de5d[data-highlighted]{background-color:var(--color-interactive-list-item-hover-background)}.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-xsmall, initial);height:var(--font-size-xsmall, initial)}.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-xsmall, initial);height:var(--font-size-xsmall, initial)}@keyframes cfxui__Select__app__e0114{0%{opacity:0}to{opacity:1}}.cfxui__Select__select-size-initial-large__5e47d.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-initial-large__5e47d.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__Select__select-size-initial-large__5e47d.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Select__select-size-initial-large__5e47d.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Select__select-size-initial-small__5ae12.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-initial-small__5ae12.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__Select__select-size-initial-small__5ae12.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Select__select-size-initial-small__5ae12.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}@media (min-width: 360px){.cfxui__Select__select-size-small-large__79811.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-small-large__79811.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__Select__select-size-small-large__79811.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Select__select-size-small-large__79811.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}}@media (min-width: 360px){.cfxui__Select__select-size-small-small__1c10c.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-small-small__1c10c.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__Select__select-size-small-small__1c10c.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Select__select-size-small-small__1c10c.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}}@media (min-width: 640px){.cfxui__Select__select-size-small-medium-large__0bc35.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-small-medium-large__0bc35.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__Select__select-size-small-medium-large__0bc35.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Select__select-size-small-medium-large__0bc35.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}}@media (min-width: 640px){.cfxui__Select__select-size-small-medium-small__82515.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-small-medium-small__82515.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__Select__select-size-small-medium-small__82515.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Select__select-size-small-medium-small__82515.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}}@media (min-width: 1024px){.cfxui__Select__select-size-medium-large__e0eb0.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-medium-large__e0eb0.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__Select__select-size-medium-large__e0eb0.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Select__select-size-medium-large__e0eb0.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}}@media (min-width: 1024px){.cfxui__Select__select-size-medium-small__2c904.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-medium-small__2c904.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__Select__select-size-medium-small__2c904.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Select__select-size-medium-small__2c904.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}}@media (min-width: 1280px){.cfxui__Select__select-size-medium-large-large__a66c1.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-medium-large-large__a66c1.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__Select__select-size-medium-large-large__a66c1.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Select__select-size-medium-large-large__a66c1.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}}@media (min-width: 1280px){.cfxui__Select__select-size-medium-large-small__7dce3.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-medium-large-small__7dce3.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__Select__select-size-medium-large-small__7dce3.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Select__select-size-medium-large-small__7dce3.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}}@media (min-width: 1920px){.cfxui__Select__select-size-large-large__88062.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-large-large__88062.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__Select__select-size-large-large__88062.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Select__select-size-large-large__88062.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}}@media (min-width: 1920px){.cfxui__Select__select-size-large-small__fb50b.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-large-small__fb50b.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__Select__select-size-large-small__fb50b.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Select__select-size-large-small__fb50b.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}}@media (min-width: 2560px){.cfxui__Select__select-size-xlarge-large__5abb1.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-xlarge-large__5abb1.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__Select__select-size-xlarge-large__5abb1.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Select__select-size-xlarge-large__5abb1.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}}@media (min-width: 2560px){.cfxui__Select__select-size-xlarge-small__5ddbb.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-xlarge-small__5ddbb.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__Select__select-size-xlarge-small__5ddbb.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Select__select-size-xlarge-small__5ddbb.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}}
|
|
1
|
+
.cfxui__Select__trigger__232e4{width:100%;padding:0 var(--offset-medium);border:none;display:inline-flex;align-items:center;justify-content:space-between;width:auto;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__Select__trigger__232e4::placeholder{color:var(--color-input-placeholder)}.cfxui__Select__trigger__232e4::-webkit-input-placeholder{color:var(--color-input-placeholder)}.cfxui__Select__trigger__232e4::-moz-placeholder{color:var(--color-input-placeholder)}.cfxui__Select__trigger__232e4:-ms-input-placeholder{color:var(--color-input-placeholder)}.cfxui__Select__trigger__232e4:disabled{cursor:not-allowed;opacity:.5;box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-disabled-border) inset}.cfxui__Select__trigger__232e4:not(:disabled):hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-hover-border) inset}.cfxui__Select__trigger__232e4:not(:disabled):hover::placeholder{color:var(--color-input-placeholder-hover)}.cfxui__Select__trigger__232e4:not(:disabled):hover::-webkit-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__Select__trigger__232e4:not(:disabled):hover::-moz-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__Select__trigger__232e4:not(:disabled):hover:-ms-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__Select__trigger__232e4:not(:disabled):focus-visible,.cfxui__Select__trigger__232e4:not(:disabled):focus-visible:hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-focus-border) inset}.cfxui__Select__trigger__232e4:not(:disabled):focus-visible::placeholder,.cfxui__Select__trigger__232e4:not(:disabled):focus-visible:hover::placeholder{color:transparent}.cfxui__Select__trigger__232e4:not(:disabled):focus-visible::-webkit-input-placeholder,.cfxui__Select__trigger__232e4:not(:disabled):focus-visible:hover::-webkit-input-placeholder{color:transparent}.cfxui__Select__trigger__232e4:not(:disabled):focus-visible::-moz-placeholder,.cfxui__Select__trigger__232e4:not(:disabled):focus-visible:hover::-moz-placeholder{color:transparent}.cfxui__Select__trigger__232e4:not(:disabled):focus-visible:-ms-input-placeholder,.cfxui__Select__trigger__232e4:not(:disabled):focus-visible:hover:-ms-input-placeholder{color:transparent}.cfxui__Select__trigger__232e4::placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Select__trigger__232e4::-webkit-input-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Select__trigger__232e4::-moz-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Select__trigger__232e4:-ms-input-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Select__trigger__232e4{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Select__trigger__232e4[type=search]::-ms-clear,.cfxui__Select__trigger__232e4[type=search]::-ms-reveal{display:none;width:0;height:0}.cfxui__Select__trigger__232e4[type=search]::-webkit-search-decoration,.cfxui__Select__trigger__232e4[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.cfxui__Select__trigger__232e4[type=search]{padding-right:calc(var(--offset-medium) + var(--offset-large));-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;outline-offset:-2px}.cfxui__Select__trigger__232e4:not(:disabled){cursor:pointer}.cfxui__Select__trigger__232e4[data-placeholder]{color:var(--color-input-placeholder)}.cfxui__Select__trigger__232e4[data-placeholder]:hover,.cfxui__Select__trigger__232e4[data-placeholder]:focus{color:var(--color-input-placeholder-hover)}.cfxui__Select__trigger__232e4.cfxui__Select__fullWidth__739d7{width:100%}.cfxui__Select__icon__36b6c{margin-left:var(--quant)}.cfxui__Select__content__067da{padding:var(--border-radius-xsmall) 0;border-radius:var(--border-radius-xsmall);background-color:var(--color-interactive-list-background);box-shadow:var(--shadow-large, initial);z-index:9000;animation:cfxui__Select__app__e0114 ease .2s}.cfxui__Select__content__067da .cfxui__Select__arrow__8e7eb{display:flex;align-items:center;justify-content:center}.cfxui__Select__content__067da .cfxui__Select__arrow__8e7eb:hover{background-color:var(--color-interactive-list-item-hover-background)}.cfxui__Select__content__067da .cfxui__Select__option__2de5d{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:var(--offset-small) var(--offset-normal);color:var(--color-input-text);font-weight:var(--font-weight-normal);font-family:var(--font-family-primary);font-size:var(--font-size-xsmall);height:var(--control-height-normal);background-color:var(--color-interactive-list-item-background)}.cfxui__Select__content__067da .cfxui__Select__option__2de5d[data-state=checked]{background-color:var(--color-interactive-list-item-active-background)}.cfxui__Select__content__067da .cfxui__Select__option__2de5d[data-highlighted]{background-color:var(--color-interactive-list-item-hover-background)}.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-xsmall, initial);height:var(--font-size-xsmall, initial)}.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-xsmall, initial);height:var(--font-size-xsmall, initial)}@keyframes cfxui__Select__app__e0114{0%{opacity:0}to{opacity:1}}.cfxui__Select__select-size-initial-large__5e47d.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-initial-large__5e47d.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__Select__select-size-initial-large__5e47d.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Select__select-size-initial-large__5e47d.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Select__select-size-initial-small__5ae12.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-initial-small__5ae12.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__Select__select-size-initial-small__5ae12.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Select__select-size-initial-small__5ae12.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}@media (min-width: 360px){.cfxui__Select__select-size-small-large__79811.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-small-large__79811.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__Select__select-size-small-large__79811.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Select__select-size-small-large__79811.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}}@media (min-width: 360px){.cfxui__Select__select-size-small-small__1c10c.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-small-small__1c10c.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__Select__select-size-small-small__1c10c.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Select__select-size-small-small__1c10c.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}}@media (min-width: 640px){.cfxui__Select__select-size-small-medium-large__0bc35.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-small-medium-large__0bc35.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__Select__select-size-small-medium-large__0bc35.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Select__select-size-small-medium-large__0bc35.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}}@media (min-width: 640px){.cfxui__Select__select-size-small-medium-small__82515.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-small-medium-small__82515.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__Select__select-size-small-medium-small__82515.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Select__select-size-small-medium-small__82515.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}}@media (min-width: 1024px){.cfxui__Select__select-size-medium-large__e0eb0.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-medium-large__e0eb0.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__Select__select-size-medium-large__e0eb0.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Select__select-size-medium-large__e0eb0.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}}@media (min-width: 1024px){.cfxui__Select__select-size-medium-small__2c904.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-medium-small__2c904.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__Select__select-size-medium-small__2c904.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Select__select-size-medium-small__2c904.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}}@media (min-width: 1280px){.cfxui__Select__select-size-medium-large-large__a66c1.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-medium-large-large__a66c1.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__Select__select-size-medium-large-large__a66c1.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Select__select-size-medium-large-large__a66c1.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}}@media (min-width: 1280px){.cfxui__Select__select-size-medium-large-small__7dce3.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-medium-large-small__7dce3.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__Select__select-size-medium-large-small__7dce3.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Select__select-size-medium-large-small__7dce3.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}}@media (min-width: 1920px){.cfxui__Select__select-size-large-large__88062.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-large-large__88062.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__Select__select-size-large-large__88062.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Select__select-size-large-large__88062.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}}@media (min-width: 1920px){.cfxui__Select__select-size-large-small__fb50b.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-large-small__fb50b.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__Select__select-size-large-small__fb50b.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Select__select-size-large-small__fb50b.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}}@media (min-width: 2560px){.cfxui__Select__select-size-xlarge-large__5abb1.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-xlarge-large__5abb1.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__Select__select-size-xlarge-large__5abb1.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Select__select-size-xlarge-large__5abb1.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}}@media (min-width: 2560px){.cfxui__Select__select-size-xlarge-small__5ddbb.cfxui__Select__trigger__232e4,.cfxui__Select__select-size-xlarge-small__5ddbb.cfxui__Select__content__067da .cfxui__Select__option__2de5d{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__Select__select-size-xlarge-small__5ddbb.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Select__select-size-xlarge-small__5ddbb.cfxui__Select__content__067da .cfxui__Select__option__2de5d .cfxui__Select__tickIcon__71e80 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}}
|
|
@@ -1,74 +1,75 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { g as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { clsx as
|
|
6
|
-
import { Icon as
|
|
7
|
-
import { mergeRefs as
|
|
8
|
-
const
|
|
9
|
-
icon:
|
|
10
|
-
trigger:
|
|
11
|
-
onlight:
|
|
12
|
-
fullWidth:
|
|
13
|
-
placeholder:
|
|
14
|
-
},
|
|
1
|
+
import { jsxs as d, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { g as D, R as W, T as N, D as R } from "../../DropdownContent-BertjH0y.js";
|
|
3
|
+
import f, { useRef as v, useState as b, useEffect as z } from "react";
|
|
4
|
+
import I from "../Flex/Flex.js";
|
|
5
|
+
import { clsx as T } from "../../utils/clsx.js";
|
|
6
|
+
import { Icon as j } from "../Icon/Icon.js";
|
|
7
|
+
import { mergeRefs as E } from "../../utils/mergeRefs.js";
|
|
8
|
+
const M = "cfxui__DropdownSelect__icon__d05b8", O = "cfxui__DropdownSelect__trigger__c03df", k = "cfxui__DropdownSelect__onlight__f0191", y = "cfxui__DropdownSelect__fullWidth__dce56", A = "cfxui__DropdownSelect__placeholder__e0d89", e = {
|
|
9
|
+
icon: M,
|
|
10
|
+
trigger: O,
|
|
11
|
+
onlight: k,
|
|
12
|
+
fullWidth: y,
|
|
13
|
+
placeholder: A
|
|
14
|
+
}, J = {
|
|
15
15
|
small: "xxsmall",
|
|
16
16
|
normal: "xsmall",
|
|
17
17
|
large: "normal"
|
|
18
18
|
};
|
|
19
|
-
function
|
|
19
|
+
function K(_) {
|
|
20
20
|
const {
|
|
21
|
-
options:
|
|
22
|
-
value:
|
|
23
|
-
onChange:
|
|
24
|
-
size:
|
|
25
|
-
fullWidth:
|
|
26
|
-
onlight:
|
|
27
|
-
disabled:
|
|
28
|
-
placeholder:
|
|
29
|
-
ref:
|
|
30
|
-
} =
|
|
31
|
-
|
|
32
|
-
t && o.current && h(o.current.offsetWidth);
|
|
33
|
-
}, [t]);
|
|
34
|
-
const p = w(s, "trigger"), u = I(
|
|
35
|
-
p,
|
|
21
|
+
options: t,
|
|
22
|
+
value: l,
|
|
23
|
+
onChange: c,
|
|
24
|
+
size: i = "normal",
|
|
25
|
+
fullWidth: o = !1,
|
|
26
|
+
onlight: g = !1,
|
|
27
|
+
disabled: m,
|
|
28
|
+
placeholder: u = "Select...",
|
|
29
|
+
ref: p
|
|
30
|
+
} = _, r = v(null), [h, x] = b(void 0), S = D(i, "trigger"), w = T(
|
|
31
|
+
S,
|
|
36
32
|
e.trigger,
|
|
37
33
|
{
|
|
38
|
-
[e.placeholder]: !
|
|
39
|
-
[e.fullWidth]:
|
|
40
|
-
[e.onlight]:
|
|
34
|
+
[e.placeholder]: !l,
|
|
35
|
+
[e.fullWidth]: o,
|
|
36
|
+
[e.onlight]: g
|
|
41
37
|
}
|
|
42
|
-
),
|
|
43
|
-
n
|
|
44
|
-
}, [
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
38
|
+
), C = f.useCallback((n) => {
|
|
39
|
+
c(n);
|
|
40
|
+
}, [c]), a = f.useMemo(
|
|
41
|
+
() => t.find((n) => n.value === l),
|
|
42
|
+
[t, l]
|
|
43
|
+
);
|
|
44
|
+
return z(() => {
|
|
45
|
+
o && r.current && x(r.current.offsetWidth);
|
|
46
|
+
}, [o]), /* @__PURE__ */ d(W, { children: [
|
|
47
|
+
/* @__PURE__ */ s(
|
|
48
|
+
N,
|
|
48
49
|
{
|
|
49
|
-
ref:
|
|
50
|
-
className:
|
|
51
|
-
disabled:
|
|
52
|
-
children: /* @__PURE__ */
|
|
53
|
-
|
|
54
|
-
/* @__PURE__ */
|
|
50
|
+
ref: E(p, r),
|
|
51
|
+
className: w,
|
|
52
|
+
disabled: m,
|
|
53
|
+
children: /* @__PURE__ */ d(I, { gap: "small", centered: !0, spaceBetween: !0, children: [
|
|
54
|
+
a !== void 0 ? a.label : u,
|
|
55
|
+
/* @__PURE__ */ s(j, { className: e.icon, name: "DownChevron" })
|
|
55
56
|
] })
|
|
56
57
|
}
|
|
57
58
|
),
|
|
58
|
-
/* @__PURE__ */
|
|
59
|
-
|
|
59
|
+
/* @__PURE__ */ s(
|
|
60
|
+
R,
|
|
60
61
|
{
|
|
61
|
-
triggerWidth:
|
|
62
|
-
options:
|
|
63
|
-
size:
|
|
64
|
-
fullWidth:
|
|
65
|
-
onSelect:
|
|
62
|
+
triggerWidth: h,
|
|
63
|
+
options: t,
|
|
64
|
+
size: i,
|
|
65
|
+
fullWidth: o,
|
|
66
|
+
onSelect: C
|
|
66
67
|
}
|
|
67
68
|
)
|
|
68
69
|
] });
|
|
69
70
|
}
|
|
70
71
|
export {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
K as DropdownSelect,
|
|
73
|
+
J as ICON_SIZE_MAP,
|
|
74
|
+
K as default
|
|
74
75
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
|
-
import
|
|
4
|
-
import { Text as
|
|
3
|
+
import t from "../Flex/Flex.js";
|
|
4
|
+
import { Text as a } from "../Text/Text.js";
|
|
5
5
|
import "../../utils/ui/ui.js";
|
|
6
|
-
import { DropdownSelect as
|
|
6
|
+
import { DropdownSelect as o } from "./DropdownSelect.js";
|
|
7
7
|
const c = [
|
|
8
8
|
{
|
|
9
|
-
value: "
|
|
9
|
+
value: "value_all",
|
|
10
10
|
label: "all"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
|
-
value: "
|
|
13
|
+
value: "value_recurring",
|
|
14
14
|
label: "recurring"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
value: "
|
|
17
|
+
value: "value_bursts",
|
|
18
18
|
label: "bursts"
|
|
19
19
|
}
|
|
20
20
|
];
|
|
21
21
|
function d() {
|
|
22
22
|
const [i, n] = r.useState(void 0), [u, s] = r.useState(void 0);
|
|
23
|
-
return /* @__PURE__ */ t
|
|
24
|
-
/* @__PURE__ */ t
|
|
25
|
-
/* @__PURE__ */ e(
|
|
23
|
+
return /* @__PURE__ */ l(t, { gap: "large", vertical: !0, pb: 20, children: [
|
|
24
|
+
/* @__PURE__ */ l(t, { gap: "normal", vertical: !0, children: [
|
|
25
|
+
/* @__PURE__ */ e(a, { children: "Default Select Input" }),
|
|
26
26
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
27
|
-
|
|
27
|
+
o,
|
|
28
28
|
{
|
|
29
29
|
options: c,
|
|
30
30
|
onChange: n,
|
|
@@ -32,10 +32,10 @@ function d() {
|
|
|
32
32
|
}
|
|
33
33
|
) })
|
|
34
34
|
] }),
|
|
35
|
-
/* @__PURE__ */ t
|
|
36
|
-
/* @__PURE__ */ e(
|
|
35
|
+
/* @__PURE__ */ l(t, { gap: "normal", vertical: !0, children: [
|
|
36
|
+
/* @__PURE__ */ e(a, { children: "Full Width Select Input" }),
|
|
37
37
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
38
|
-
|
|
38
|
+
o,
|
|
39
39
|
{
|
|
40
40
|
size: "large",
|
|
41
41
|
options: c,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Text as s } from "../Text/Text.js";
|
|
3
|
+
import "../../utils/ui/ui.js";
|
|
4
|
+
function m(r) {
|
|
5
|
+
const {
|
|
6
|
+
children: t,
|
|
7
|
+
...o
|
|
8
|
+
} = r;
|
|
9
|
+
return /* @__PURE__ */ e(
|
|
10
|
+
s,
|
|
11
|
+
{
|
|
12
|
+
as: "label",
|
|
13
|
+
...o,
|
|
14
|
+
children: t
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
m as default
|
|
20
|
+
};
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TextOpacity, TextProps, ResponsiveTextSize } from './Text.types';
|
|
1
|
+
import { TextOpacity, ResponsiveTextSize, TextPropsWithRef } from './Text.types';
|
|
3
2
|
|
|
4
3
|
export declare const textSizeResponsiveValueFormatter: (val: ResponsiveTextSize) => string;
|
|
5
4
|
export declare const lineHeightResponsiveValueFormatter: (val: ResponsiveTextSize) => string;
|
|
6
5
|
export declare const TEXT_OPACITY_MAP: Record<TextOpacity, number | string>;
|
|
7
6
|
export declare const getTextOpacity: (opacity?: TextOpacity, otherwise?: string | number) => string | number;
|
|
8
7
|
export declare const DEFAULT_TEXT_COLOR = "primary";
|
|
9
|
-
export declare function Text(props:
|
|
10
|
-
|
|
11
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export declare function TextBlock(props: TextProps & {
|
|
8
|
+
export declare function Text(props: TextPropsWithRef): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function TextBlock(props: TextPropsWithRef & {
|
|
13
10
|
asDiv?: undefined;
|
|
14
|
-
ref?: React.Ref<HTMLElement>;
|
|
15
11
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { clsx as
|
|
3
|
-
import { getColor as
|
|
2
|
+
import { clsx as E } from "../../utils/clsx.js";
|
|
3
|
+
import { getColor as O } from "../../utils/color.js";
|
|
4
4
|
import { ui as o } from "../../utils/ui/ui.js";
|
|
5
5
|
import { TextSizeEnum as a } from "../../utils/ui/ui.types.js";
|
|
6
|
-
const
|
|
7
|
-
root:
|
|
8
|
-
centered:
|
|
9
|
-
underlined:
|
|
10
|
-
strikethrough:
|
|
11
|
-
truncated:
|
|
12
|
-
typographic:
|
|
13
|
-
block:
|
|
14
|
-
},
|
|
6
|
+
const H = "cfxui__Text__root__2fe11", N = "cfxui__Text__centered__4d7bd", $ = "cfxui__Text__underlined__5860e", w = "cfxui__Text__strikethrough__e3ee3", P = "cfxui__Text__truncated__417f4", q = "cfxui__Text__typographic__d8155", B = "cfxui__Text__block__cb1b6", r = {
|
|
7
|
+
root: H,
|
|
8
|
+
centered: N,
|
|
9
|
+
underlined: $,
|
|
10
|
+
strikethrough: w,
|
|
11
|
+
truncated: P,
|
|
12
|
+
typographic: q,
|
|
13
|
+
block: B
|
|
14
|
+
}, D = (e) => e in a ? o.fontSize(e) : typeof e == "number" ? o.q(e) : e, I = (e) => e in a ? o.lineHeight(e) : typeof e == "number" ? o.q(e) : e, L = {
|
|
15
15
|
0: 0,
|
|
16
16
|
25: "var(--text-opacity-25)",
|
|
17
17
|
50: "var(--text-opacity-50)",
|
|
18
18
|
75: "var(--text-opacity-75)",
|
|
19
19
|
100: 1
|
|
20
|
-
},
|
|
20
|
+
}, M = {
|
|
21
21
|
h1: "h1",
|
|
22
22
|
h2: "h2",
|
|
23
23
|
h3: "h3",
|
|
24
24
|
h4: "h4",
|
|
25
25
|
h5: "h5",
|
|
26
26
|
h6: "h6"
|
|
27
|
-
},
|
|
28
|
-
const t = typeof e == "string" &&
|
|
27
|
+
}, V = (e, n = 1) => {
|
|
28
|
+
const t = typeof e == "string" && L[e];
|
|
29
29
|
return typeof t == "string" || typeof t == "number" ? t : n;
|
|
30
|
-
},
|
|
31
|
-
function
|
|
30
|
+
}, X = "primary";
|
|
31
|
+
function j(e) {
|
|
32
32
|
const {
|
|
33
33
|
family: n,
|
|
34
34
|
size: t = "normal",
|
|
@@ -41,52 +41,65 @@ function V(e) {
|
|
|
41
41
|
truncated: h = !1,
|
|
42
42
|
typographic: m = !1,
|
|
43
43
|
uppercase: g = !1,
|
|
44
|
-
userSelectable:
|
|
45
|
-
underlined:
|
|
44
|
+
userSelectable: d = !1,
|
|
45
|
+
underlined: y = !1,
|
|
46
46
|
strikethrough: x = !1,
|
|
47
47
|
children: T,
|
|
48
48
|
className: b,
|
|
49
49
|
style: k,
|
|
50
|
-
ref: S
|
|
51
|
-
|
|
50
|
+
ref: S,
|
|
51
|
+
htmlFor: C,
|
|
52
|
+
id: R
|
|
53
|
+
} = e, v = i === "div", z = E(
|
|
52
54
|
r.root,
|
|
53
55
|
b,
|
|
54
56
|
o.getResponsiveClassnames("font-size", t),
|
|
55
57
|
o.getResponsiveClassnames("line-height", t),
|
|
56
58
|
{
|
|
57
|
-
[r.block]:
|
|
59
|
+
[r.block]: v,
|
|
58
60
|
[r.centered]: p,
|
|
59
61
|
[r.truncated]: h,
|
|
60
|
-
[r.underlined]:
|
|
62
|
+
[r.underlined]: y,
|
|
61
63
|
[r.strikethrough]: x,
|
|
62
64
|
[r.typographic]: m,
|
|
63
|
-
[o.cls.userSelectableText]:
|
|
65
|
+
[o.cls.userSelectableText]: d
|
|
64
66
|
}
|
|
65
|
-
),
|
|
67
|
+
), F = O({
|
|
66
68
|
...e,
|
|
67
|
-
color: _ ||
|
|
68
|
-
opacity:
|
|
69
|
-
}),
|
|
70
|
-
color:
|
|
71
|
-
fontFamily: `var(--font-family-${
|
|
69
|
+
color: _ || X,
|
|
70
|
+
opacity: V(u)
|
|
71
|
+
}), A = typeof n == "string" ? n : M[i] || "primary", s = {
|
|
72
|
+
color: F,
|
|
73
|
+
fontFamily: `var(--font-family-${A})`,
|
|
72
74
|
lineHeight: `var(--line-height-${t})`,
|
|
73
75
|
letterSpacing: `var(--letter-spacing-${f})`,
|
|
74
76
|
fontWeight: `var(--font-weight-${l})`,
|
|
75
|
-
...o.getResponsiveStyles("font-size", t,
|
|
76
|
-
...o.getResponsiveStyles("line-height", t,
|
|
77
|
+
...o.getResponsiveStyles("font-size", t, D),
|
|
78
|
+
...o.getResponsiveStyles("line-height", t, I),
|
|
77
79
|
...k
|
|
78
80
|
};
|
|
79
|
-
return g && (s.textTransform = "uppercase"), /* @__PURE__ */ c(
|
|
81
|
+
return g && (s.textTransform = "uppercase"), /* @__PURE__ */ c(
|
|
82
|
+
i,
|
|
83
|
+
{
|
|
84
|
+
ref: S,
|
|
85
|
+
dir: "auto",
|
|
86
|
+
className: z,
|
|
87
|
+
style: s,
|
|
88
|
+
htmlFor: C,
|
|
89
|
+
id: R,
|
|
90
|
+
children: T
|
|
91
|
+
}
|
|
92
|
+
);
|
|
80
93
|
}
|
|
81
|
-
function
|
|
82
|
-
return /* @__PURE__ */ c(
|
|
94
|
+
function Q(e) {
|
|
95
|
+
return /* @__PURE__ */ c(j, { ...e, as: "div" });
|
|
83
96
|
}
|
|
84
97
|
export {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
98
|
+
X as DEFAULT_TEXT_COLOR,
|
|
99
|
+
L as TEXT_OPACITY_MAP,
|
|
100
|
+
j as Text,
|
|
101
|
+
Q as TextBlock,
|
|
102
|
+
V as getTextOpacity,
|
|
103
|
+
I as lineHeightResponsiveValueFormatter,
|
|
104
|
+
D as textSizeResponsiveValueFormatter
|
|
92
105
|
};
|
|
@@ -31,10 +31,15 @@ interface TextPropsBase {
|
|
|
31
31
|
children?: React.ReactNode;
|
|
32
32
|
className?: string;
|
|
33
33
|
style?: React.CSSProperties;
|
|
34
|
+
htmlFor?: string;
|
|
35
|
+
id?: string;
|
|
34
36
|
}
|
|
35
37
|
export interface TextColorProps extends GetColorProps {
|
|
36
38
|
opacity?: TextOpacity;
|
|
37
39
|
}
|
|
38
40
|
export interface TextProps extends TextPropsBase, TextColorProps {
|
|
39
41
|
}
|
|
42
|
+
export type TextPropsWithRef = TextProps & {
|
|
43
|
+
ref?: React.Ref<HTMLElement>;
|
|
44
|
+
};
|
|
40
45
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Text, TextBlock, TEXT_OPACITY_MAP, DEFAULT_TEXT_COLOR, getTextOpacity, textSizeResponsiveValueFormatter, } from './Text';
|
|
2
2
|
export { TextSizeEnum } from '../../utils/ui';
|
|
3
|
-
export type { TextSize, TextWeight, TextOpacity, TextAs, TextLetterSpacing, TextProps, TextColorProps, ResponsiveTextSize, TextFamaly, } from './Text.types';
|
|
3
|
+
export type { TextSize, TextWeight, TextOpacity, TextAs, TextLetterSpacing, TextProps, TextColorProps, ResponsiveTextSize, TextFamaly, TextPropsWithRef, } from './Text.types';
|
package/dist/main.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export type { GetColorProps } from './utils/color';
|
|
|
18
18
|
export { ui, OffsetEnum, MediaQueryEnum, BorderRadiusEnum, ZIndexEnum, ColorEnum, } from './utils/ui';
|
|
19
19
|
export type { OffsetType, MediaQueryType, ResponsiveOffsetType, ResponsiveValueType, MPProps, BorderRadiusType, ZIndexType, ColorType, } from './utils/ui';
|
|
20
20
|
export { isInEnum } from './utils/enum';
|
|
21
|
+
export { joaat32 } from './utils/joaat32';
|
|
21
22
|
export { IconButton } from './components/IconButton';
|
|
22
23
|
export type { IconButtonProps, IconButtonAreaSize } from './components/IconButton';
|
|
23
24
|
export { Accordion, AccordionTrigger, AccordionHeader, AccordionItem, AccordionContent, } from './components/Accordion';
|
|
@@ -125,7 +126,9 @@ export type { TableRootProps, TableBodyProps, TableHeaderProps, TableCellProps,
|
|
|
125
126
|
export { TableResponsiveText } from './components/TableResponsiveText';
|
|
126
127
|
export type { TableResponsiveTextProps } from './components/TableResponsiveText';
|
|
127
128
|
export { TextSizeEnum, Text, TextBlock, getTextOpacity, DEFAULT_TEXT_COLOR, TEXT_OPACITY_MAP, textSizeResponsiveValueFormatter, } from './components/Text';
|
|
128
|
-
export type { TextSize, TextWeight, TextOpacity, TextAs, TextLetterSpacing, TextProps, TextColorProps, TextFamaly, } from './components/Text';
|
|
129
|
+
export type { TextSize, TextWeight, TextOpacity, TextAs, TextLetterSpacing, TextProps, TextColorProps, TextFamaly, TextPropsWithRef, } from './components/Text';
|
|
130
|
+
export { Label } from './components/Label';
|
|
131
|
+
export type { LabelProps } from './components/Label';
|
|
129
132
|
export { Textarea } from './components/Textarea';
|
|
130
133
|
export type { TextareaProps } from './components/Textarea';
|
|
131
134
|
export { TITLE_OUTLET_ID, titleGetCssStyle, titleGetCoords, Title, } from './components/Title';
|
package/dist/main.js
CHANGED
|
@@ -8,194 +8,197 @@ import { useGlobalKeyboardEvent as d } from "./utils/hooks/useGlobalKeyboardEven
|
|
|
8
8
|
import { useKeyboardClose as T } from "./utils/hooks/useKeyboardClose.js";
|
|
9
9
|
import { useWindowResize as C } from "./utils/hooks/useWindowResize.js";
|
|
10
10
|
import { useOutlet as g } from "./utils/hooks/useOutlet.js";
|
|
11
|
-
import { CLIPBOARD_TITLE_APPEARANCE as
|
|
11
|
+
import { CLIPBOARD_TITLE_APPEARANCE as B, useClipboardComponent as R } from "./utils/hooks/useClipboardComponent.js";
|
|
12
12
|
import { formatDate as D, formatLocaleDate as y, formatShortDate as P } from "./utils/formatDate.js";
|
|
13
|
-
import { CURRENCY_MAP as
|
|
13
|
+
import { CURRENCY_MAP as A, FREE_PRICE_TEXT as k, formatCurrency as _ } from "./utils/formatCurrency.js";
|
|
14
14
|
import { identity as F, invoke as v, noop as h, returnFalse as U, returnTrue as M } from "./utils/functional.js";
|
|
15
15
|
import { Linkify as z, defaultLinkReplacer as N, defaultLinkReplacerx as G, isExternalUrl as V, linkify as Y, linkifyx as K, matchLinkNodes as X, matchLinks as H } from "./utils/links.js";
|
|
16
|
-
import { clamp as
|
|
16
|
+
import { clamp as j, clamp01 as J, minmax as Q } from "./utils/math.js";
|
|
17
17
|
import { isFalseString as q, isTrueString as $, normalizeSlashes as oo, replaceRange as ro, splitByIndices as eo, unicodeCharAt as to } from "./utils/string.js";
|
|
18
18
|
import { debounce as fo, throttle as mo } from "./utils/execution.js";
|
|
19
19
|
import { getColor as xo } from "./utils/color.js";
|
|
20
20
|
import { ui as lo } from "./utils/ui/ui.js";
|
|
21
21
|
import { BorderRadiusEnum as so, ColorEnum as io, MediaQueryEnum as co, OffsetEnum as To, TextSizeEnum as Io, ZIndexEnum as Co } from "./utils/ui/ui.types.js";
|
|
22
22
|
import { isInEnum as go } from "./utils/enum.js";
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { default as Oo } from "./components/
|
|
27
|
-
import { default as vo
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { default as
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import { default as pr } from "./components/
|
|
39
|
-
import { default as nr } from "./components/
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import { I as gr } from "./
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import { default as kr } from "./components/
|
|
50
|
-
import { default as Or } from "./components/Input/
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import { default as St } from "./components/
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
23
|
+
import { joaat32 as Bo } from "./utils/joaat32.js";
|
|
24
|
+
import { default as So } from "./components/IconButton/IconButton.js";
|
|
25
|
+
import { Accordion as yo, AccordionContent as Po, AccordionHeader as bo, AccordionItem as Ao, AccordionTrigger as ko } from "./components/Accordion/Accordion.js";
|
|
26
|
+
import { default as Oo } from "./components/ClipboardButton/ClipboardButton.js";
|
|
27
|
+
import { default as vo } from "./components/Checkbox/Checkbox.js";
|
|
28
|
+
import { default as Uo, ButtonContent as Mo, getButtonClassName as wo } from "./components/Button/Button.js";
|
|
29
|
+
import { ButtonBar as No } from "./components/Button/ButtonBar.js";
|
|
30
|
+
import { LinkButton as Vo } from "./components/Button/LinkButton.js";
|
|
31
|
+
import { BurgerMenuButton as Ko } from "./components/BurgerMenu/BurgerMenuButton.js";
|
|
32
|
+
import { BurgerMenu as Ho } from "./components/BurgerMenu/BurgerMenu.js";
|
|
33
|
+
import { default as jo, getLinkClassName as Jo, getLinkStyles as Qo } from "./components/Link/Link.js";
|
|
34
|
+
import { default as qo } from "./components/Link/ButtonLink.js";
|
|
35
|
+
import { Avatar as or } from "./components/Avatar/Avatar.js";
|
|
36
|
+
import { BACKDROP_OUTLET_ID as er, default as tr } from "./components/BackdropPortal/BackdropPortal.js";
|
|
37
|
+
import { Badge as fr } from "./components/Badge/Badge.js";
|
|
38
|
+
import { default as pr } from "./components/ControlBox/ControlBox.js";
|
|
39
|
+
import { default as nr } from "./components/CountryFlag/CountryFlag.js";
|
|
40
|
+
import { default as ur } from "./components/Decorate/Decorate.js";
|
|
41
|
+
import { Dot as ir } from "./components/Dot/Dot.js";
|
|
42
|
+
import { FLYOUT_OUTLET_ID as cr, Flyout as Tr } from "./components/Flyout/Flyout.js";
|
|
43
|
+
import { Logos as Cr } from "./components/Logos/index.js";
|
|
44
|
+
import { I as gr } from "./cfxIcons-B9nzO6TW.js";
|
|
45
|
+
import { I as Br } from "./cfxIconsBig-BLJjMT-Y.js";
|
|
46
|
+
import { Icon as Sr } from "./components/Icon/Icon.js";
|
|
47
|
+
import { IconBig as yr } from "./components/IconBig/IconBig.js";
|
|
48
|
+
import { Indicator as br } from "./components/Indicator/Indicator.js";
|
|
49
|
+
import { default as kr } from "./components/InfoPanel/InfoPanel.js";
|
|
50
|
+
import { default as Or } from "./components/Input/Input.js";
|
|
51
|
+
import { default as vr } from "./components/Input/RichInput.js";
|
|
52
|
+
import { Interactive as Ur } from "./components/Interactive/Interactive.js";
|
|
53
|
+
import { Island as wr, IslandCorner as zr } from "./components/Island/Island.js";
|
|
54
|
+
import { default as Gr } from "./components/Box/Box.js";
|
|
55
|
+
import { stringPropFormater as Yr } from "./components/RSC/Box/Box.js";
|
|
56
|
+
import { Center as Xr } from "./components/Layout/Center/Center.js";
|
|
57
|
+
import { default as Wr } from "./components/Flex/Flex.js";
|
|
58
|
+
import { FlexAlignItemsEnum as Jr, FlexDirectionEnum as Qr, FlexJustifyContentEnum as Zr, FlexWrapEnum as qr } from "./components/RSC/Flex/Flex.types.js";
|
|
59
|
+
import { FlexRestricter as oe } from "./components/RSC/Flex/FlexRestricter.js";
|
|
60
|
+
import { Pad as ee } from "./components/Layout/Pad/Pad.js";
|
|
61
|
+
import { Page as ae } from "./components/Layout/Page/Page.js";
|
|
62
|
+
import { R as me } from "./Rail-CHFAf3wJ.js";
|
|
63
|
+
import { Scrollable as xe } from "./components/Scrollable/Scrollable.js";
|
|
64
|
+
import { VirtualScrollable as le } from "./components/Scrollable/VirtualScrollable.js";
|
|
65
|
+
import { Loaf as se } from "./components/Loaf/Loaf.js";
|
|
66
|
+
import { Modal as de } from "./components/Modal/Modal.js";
|
|
67
|
+
import { NavList as Te } from "./components/NavList/NavList.js";
|
|
68
|
+
import { OVERLAY_OUTLET_ID as Ce, Overlay as Ee } from "./components/Overlay/Overlay.js";
|
|
69
|
+
import { default as Le } from "./components/Pagination/Pagination.js";
|
|
70
|
+
import { Popover as Re } from "./components/Popover/Popover.js";
|
|
71
|
+
import { PremiumBadge as De } from "./components/PremiumBadge/PremiumBadge.js";
|
|
72
|
+
import { Prose as Pe } from "./components/Prose/Prose.js";
|
|
73
|
+
import { Radio as Ae } from "./components/Radio/Radio.js";
|
|
74
|
+
import { Select as _e } from "./components/Select/Select.js";
|
|
75
|
+
import { DropdownSelect as Fe } from "./components/DropdownSelect/DropdownSelect.js";
|
|
76
|
+
import { default as he } from "./components/DropdownMenu/DropdownMenu.js";
|
|
77
|
+
import { Separator as Me } from "./components/Separator/Separator.js";
|
|
78
|
+
import { Shroud as ze } from "./components/Shroud/Shroud.js";
|
|
79
|
+
import { Slider as Ge } from "./components/Slider/Slider.js";
|
|
80
|
+
import { Spacer as Ye } from "./components/Spacer/Spacer.js";
|
|
81
|
+
import { Style as Xe, useContextualStyle as He } from "./components/Style/Style.js";
|
|
82
|
+
import { default as je } from "./components/Switch/Switch.js";
|
|
83
|
+
import { ToggleGroup as Qe } from "./components/ToggleGroup/ToggleGroup.js";
|
|
84
|
+
import { Tabular as qe } from "./components/Tabular/Tabular.js";
|
|
85
|
+
import { DataTable as ot, DataTableHeaderItem as rt, DataTableRow as et } from "./components/DataTable/DataTable.js";
|
|
86
|
+
import { Table as at } from "./components/Table/index.js";
|
|
87
|
+
import { default as mt } from "./components/TableResponsiveText/TableResponsiveText.js";
|
|
88
|
+
import { DEFAULT_TEXT_COLOR as xt, TEXT_OPACITY_MAP as nt, Text as lt, TextBlock as ut, getTextOpacity as st, textSizeResponsiveValueFormatter as it } from "./components/Text/Text.js";
|
|
89
|
+
import { default as ct } from "./components/Label/Label.js";
|
|
90
|
+
import { Textarea as It } from "./components/Textarea/Textarea.js";
|
|
91
|
+
import { TITLE_OUTLET_ID as Et, Title as gt, titleGetCoords as Lt, titleGetCssStyle as Bt } from "./components/Title/Title.js";
|
|
92
|
+
import { default as St } from "./components/InputDropzone/InputDropzone.js";
|
|
93
|
+
import { default as yt } from "./components/InputDropzone/ItemPreview.js";
|
|
94
|
+
import { default as bt } from "./components/Skeleton/Skeleton.js";
|
|
95
|
+
import { OnScreenSensor as kt } from "./components/OnScreenSensor.js";
|
|
96
|
+
import { Symbols as Ot } from "./components/Symbols.js";
|
|
97
|
+
import { default as vt } from "./components/Table/TableIconButton.js";
|
|
96
98
|
export {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
99
|
+
yo as Accordion,
|
|
100
|
+
Po as AccordionContent,
|
|
101
|
+
bo as AccordionHeader,
|
|
102
|
+
Ao as AccordionItem,
|
|
103
|
+
ko as AccordionTrigger,
|
|
104
|
+
or as Avatar,
|
|
105
|
+
er as BACKDROP_OUTLET_ID,
|
|
106
|
+
tr as BackdropPortal,
|
|
107
|
+
fr as Badge,
|
|
106
108
|
so as BorderRadiusEnum,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
109
|
+
Gr as Box,
|
|
110
|
+
Ho as BurgerMenu,
|
|
111
|
+
Ko as BurgerMenuButton,
|
|
112
|
+
Uo as Button,
|
|
113
|
+
No as ButtonBar,
|
|
114
|
+
Mo as ButtonContent,
|
|
115
|
+
qo as ButtonLink,
|
|
116
|
+
B as CLIPBOARD_TITLE_APPEARANCE,
|
|
117
|
+
A as CURRENCY_MAP,
|
|
118
|
+
Xr as Center,
|
|
119
|
+
vo as Checkbox,
|
|
120
|
+
Oo as ClipboardButton,
|
|
119
121
|
io as ColorEnum,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
122
|
+
pr as ControlBox,
|
|
123
|
+
nr as CountryFlag,
|
|
124
|
+
xt as DEFAULT_TEXT_COLOR,
|
|
125
|
+
ot as DataTable,
|
|
126
|
+
rt as DataTableHeaderItem,
|
|
127
|
+
et as DataTableRow,
|
|
128
|
+
ur as Decorate,
|
|
129
|
+
ir as Dot,
|
|
130
|
+
he as DropdownMenu,
|
|
131
|
+
Fe as DropdownSelect,
|
|
132
|
+
yt as DropzoneItemPreview,
|
|
133
|
+
cr as FLYOUT_OUTLET_ID,
|
|
132
134
|
k as FREE_PRICE_TEXT,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
135
|
+
Wr as Flex,
|
|
136
|
+
Jr as FlexAlignItemsEnum,
|
|
137
|
+
Qr as FlexDirectionEnum,
|
|
138
|
+
Zr as FlexJustifyContentEnum,
|
|
139
|
+
oe as FlexRestricter,
|
|
140
|
+
qr as FlexWrapEnum,
|
|
141
|
+
Tr as Flyout,
|
|
142
|
+
Sr as Icon,
|
|
143
|
+
yr as IconBig,
|
|
144
|
+
So as IconButton,
|
|
145
|
+
gr as Icons,
|
|
146
|
+
Br as IconsBig,
|
|
147
|
+
br as Indicator,
|
|
148
|
+
kr as InfoPanel,
|
|
149
|
+
Or as Input,
|
|
150
|
+
St as InputDropzone,
|
|
151
|
+
Ur as Interactive,
|
|
152
|
+
wr as Island,
|
|
153
|
+
zr as IslandCorner,
|
|
154
|
+
ct as Label,
|
|
155
|
+
jo as Link,
|
|
156
|
+
Vo as LinkButton,
|
|
154
157
|
z as Linkify,
|
|
155
|
-
|
|
156
|
-
|
|
158
|
+
se as Loaf,
|
|
159
|
+
Cr as Logos,
|
|
157
160
|
co as MediaQueryEnum,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
+
de as Modal,
|
|
162
|
+
Te as NavList,
|
|
163
|
+
Ce as OVERLAY_OUTLET_ID,
|
|
161
164
|
To as OffsetEnum,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
165
|
+
kt as OnScreenSensor,
|
|
166
|
+
Ee as Overlay,
|
|
167
|
+
ee as Pad,
|
|
168
|
+
ae as Page,
|
|
169
|
+
Le as Pagination,
|
|
170
|
+
Re as Popover,
|
|
171
|
+
De as PremiumBadge,
|
|
172
|
+
Pe as Prose,
|
|
173
|
+
Ae as Radio,
|
|
174
|
+
me as Rail,
|
|
175
|
+
vr as RichInput,
|
|
176
|
+
xe as Scrollable,
|
|
177
|
+
_e as Select,
|
|
178
|
+
Me as Separator,
|
|
179
|
+
ze as Shroud,
|
|
180
|
+
bt as Skeleton,
|
|
181
|
+
Ge as Slider,
|
|
182
|
+
Ye as Spacer,
|
|
183
|
+
Xe as Style,
|
|
184
|
+
je as Switch,
|
|
185
|
+
Ot as Symbols,
|
|
186
|
+
nt as TEXT_OPACITY_MAP,
|
|
187
|
+
Et as TITLE_OUTLET_ID,
|
|
188
|
+
at as Table,
|
|
189
|
+
vt as TableIconButton,
|
|
190
|
+
mt as TableResponsiveText,
|
|
191
|
+
qe as Tabular,
|
|
192
|
+
lt as Text,
|
|
193
|
+
ut as TextBlock,
|
|
191
194
|
Io as TextSizeEnum,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
195
|
+
It as Textarea,
|
|
196
|
+
gt as Title,
|
|
197
|
+
Qe as ToggleGroup,
|
|
198
|
+
le as VirtualScrollable,
|
|
196
199
|
Co as ZIndexEnum,
|
|
197
|
-
|
|
198
|
-
|
|
200
|
+
j as clamp,
|
|
201
|
+
J as clamp01,
|
|
199
202
|
a as clsx,
|
|
200
203
|
fo as debounce,
|
|
201
204
|
N as defaultLinkReplacer,
|
|
@@ -204,11 +207,11 @@ export {
|
|
|
204
207
|
D as formatDate,
|
|
205
208
|
y as formatLocaleDate,
|
|
206
209
|
P as formatShortDate,
|
|
207
|
-
|
|
210
|
+
wo as getButtonClassName,
|
|
208
211
|
xo as getColor,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
+
Jo as getLinkClassName,
|
|
213
|
+
Qo as getLinkStyles,
|
|
214
|
+
st as getTextOpacity,
|
|
212
215
|
m as getValue,
|
|
213
216
|
F as identity,
|
|
214
217
|
v as invoke,
|
|
@@ -216,27 +219,28 @@ export {
|
|
|
216
219
|
q as isFalseString,
|
|
217
220
|
go as isInEnum,
|
|
218
221
|
$ as isTrueString,
|
|
222
|
+
Bo as joaat32,
|
|
219
223
|
Y as linkify,
|
|
220
224
|
K as linkifyx,
|
|
221
225
|
X as matchLinkNodes,
|
|
222
226
|
H as matchLinks,
|
|
223
227
|
e as mergeRefs,
|
|
224
|
-
|
|
228
|
+
Q as minmax,
|
|
225
229
|
h as noop,
|
|
226
230
|
oo as normalizeSlashes,
|
|
227
231
|
ro as replaceRange,
|
|
228
232
|
U as returnFalse,
|
|
229
233
|
M as returnTrue,
|
|
230
234
|
eo as splitByIndices,
|
|
231
|
-
|
|
232
|
-
|
|
235
|
+
Yr as stringPropFormater,
|
|
236
|
+
it as textSizeResponsiveValueFormatter,
|
|
233
237
|
mo as throttle,
|
|
234
|
-
|
|
235
|
-
|
|
238
|
+
Lt as titleGetCoords,
|
|
239
|
+
Bt as titleGetCssStyle,
|
|
236
240
|
lo as ui,
|
|
237
241
|
to as unicodeCharAt,
|
|
238
242
|
R as useClipboardComponent,
|
|
239
|
-
|
|
243
|
+
He as useContextualStyle,
|
|
240
244
|
s as useDynamicRef,
|
|
241
245
|
d as useGlobalKeyboardEvent,
|
|
242
246
|
l as useInstance,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function joaat32(key: string): number;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const t = new Uint32Array(1);
|
|
2
|
+
function e(a) {
|
|
3
|
+
const o = a.toLowerCase();
|
|
4
|
+
t[0] = 0;
|
|
5
|
+
for (const r in o)
|
|
6
|
+
Object.prototype.hasOwnProperty.call(o, r) && (t[0] += o.charCodeAt(r), t[0] += t[0] << 10, t[0] ^= t[0] >>> 6);
|
|
7
|
+
return t[0] += t[0] << 3, t[0] ^= t[0] >>> 11, t[0] += t[0] << 15, t[0];
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
e as joaat32
|
|
11
|
+
};
|