dropdown | relative outline-none min-w-[100px] m-0 scale-y-[0.8] opacity-0 bg-white shadow-[0_2px_5px_0_rgba(0,0,0,0.16),_0_2px_10px_0_rgba(0,0,0,0.12)] transition duration-200 motion-reduce:transition-none data-[twe-select-open]:scale-100 data-[twe-select-open]:opacity-100 dark:bg-surface-dark | Sets transition, size and appearance styles for select dropdown. |
formCheckInput | relative float-left rtl:float-right me-[8px] mt-[0.15rem] h-[1.125rem] w-[1.125rem] appearance-none rounded-[0.25rem] border-[0.125rem] border-solid border-secondary-500 outline-none before:pointer-events-none before:absolute before:h-[0.875rem] before:w-[0.875rem] before:scale-0 before:rounded-full before:bg-transparent before:opacity-0 before:shadow-checkbox before:shadow-transparent before:content-[''] checked:border-primary checked:bg-primary checked:before:opacity-[0.16] checked:after:absolute checked:after:-mt-px checked:after:ms-[0.25rem] checked:after:block checked:after:h-[0.8125rem] checked:after:w-[0.375rem] checked:after:rotate-45 checked:after:border-[0.125rem] checked:after:border-l-0 checked:after:border-t-0 checked:after:border-solid checked:after:border-white checked:after:bg-transparent checked:after:content-[''] hover:cursor-pointer hover:before:opacity-[0.04] hover:before:shadow-black/60 focus:shadow-none focus:transition-[border-color_0.2s] focus:before:scale-100 focus:before:opacity-[0.12] focus:before:shadow-black/60 focus:before:transition-[box-shadow_0.2s,transform_0.2s] focus:after:absolute focus:after:z-[1] focus:after:block focus:after:h-[0.875rem] focus:after:w-[0.875rem] focus:after:rounded-[0.125rem] focus:after:content-[''] checked:focus:before:scale-100 checked:focus:before:shadow-checkbox checked:focus:before:transition-[box-shadow_0.2s,transform_0.2s] checked:focus:after:-mt-px checked:focus:after:ms-[0.25rem] checked:focus:after:h-[0.8125rem] checked:focus:after:w-[0.375rem] checked:focus:after:rotate-45 checked:focus:after:rounded-none checked:focus:after:border-[0.125rem] checked:focus:after:border-l-0 checked:focus:after:border-t-0 checked:focus:after:border-solid checked:focus:after:border-white checked:focus:after:bg-transparent dark:border-neutral-400 dark:bg-body-dark dark:checked:border-primary dark:checked:bg-primary | Sets styles for checkbox input inside the select dropdown. |
formOutline | relative | Sets position attribute form select input wrapper. |
initialized | hidden | Hides original select input |
inputGroup | flex items-center whitespace-nowrap p-2.5 text-center text-base font-normal leading-[1.6] text-gray-700 dark:bg-surface-dark dark:text-white | Sets size, position and other styles for input group wrapper. |
noResult | flex items-center px-4 | Sets position and padding of no-result information when filtering options. |
optionsList | list-none m-0 p-0 | Sets margins and paddings for option list. |
optionsWrapper | overflow-y-auto | Sets overflow for options wrapper element. |
optionsWrapperScrollbar | [&::-webkit-scrollbar]:w-1 [&::-webkit-scrollbar]:h-1 [&::-webkit-scrollbar-button]:block [&::-webkit-scrollbar-button]:h-0 [&::-webkit-scrollbar-button]:bg-transparent [&::-webkit-scrollbar-track-piece]:bg-transparent [&::-webkit-scrollbar-track-piece]:rounded-none [&::-webkit-scrollbar-track-piece]: [&::-webkit-scrollbar-track-piece]:rounded-s [&::-webkit-scrollbar-thumb]:h-[50px] [&::-webkit-scrollbar-thumb]:bg-[#999] [&::-webkit-scrollbar-thumb]:rounded [&::-webkit-scrollbar-thumb]:dark:bg-gray-200 | Changes the default scrollbar appearance. |
selectArrow | absolute end-3 text-[0.8rem] cursor-pointer [&>svg]:w-5 [&>svg]:h-5 | Sets styles for select input arrow. |
selectArrowWhite | text-gray-50 peer-focus:!text-white peer-data-[twe-input-focused]:!text-white | Sets arrow color for selectFormWhite attribute. |
selectArrowDefault | top-2 text-surface/50 dark:text-white/50 | Sets arrows top position if select size is default |
selectArrowLg | top-[13px] | Sets arrows top position if select size is set to large |
selectArrowSm | top-1 | Sets arrows top position if select size is set to small |
selectClearBtn | absolute top-2 end-9 text-surface cursor-pointer focus:text-primary outline-none dark:text-white | Sets position, size and other styles for clear button. |
selectClearBtnWhite | !text-gray-50 | Sets clear button's color for selectFormWhite attribute. |
selectClearBtnDefault | top-2 text-base | Sets arrows top position and font size if select size is set to default |
selectClearBtnLg | top-[11px] text-base | Sets arrows top position and font size if select size is set to large. |
selectClearBtnSm | top-1 text-[0.8rem] | Sets arrows top position and font size if select size is set to small. |
selectDropdownContainer | z-[1070] | Sets index value for select's dropdown container. |
selectFakeValue | transform-none hidden data-[twe-input-state-active]:block | Sets styles for fake value. |
selectFilterInput | relative m-0 block w-full min-w-0 flex-auto rounded border border-solid border-neutral-200 bg-transparent bg-clip-padding px-3 py-1.5 text-base font-normal text-surface transition duration-300 ease-in-out motion-reduce:transition-none focus:border-primary focus:text-gray-700 focus:shadow-twe-primary focus:outline-none dark:text-white dark:focus:border-primary dark:border-neutral-600 dark:placeholder:text-neutral-300 dark:bg-body-dark | Sets styles for search input appearance. |
selectInput | peer block min-h-[auto] w-full rounded border-0 bg-transparent outline-none transition-all duration-200 ease-linear focus:placeholder:opacity-100 peer-focus:text-primary data-[twe-input-state-active]:placeholder:opacity-100 motion-reduce:transition-none dark:text-white dark:placeholder:text-neutral-300 dark:peer-focus:text-primary [&:not([data-twe-input-placeholder-active])]:placeholder:opacity-0 cursor-pointer data-[twe-input-disabled]:bg-neutral-200 data-[twe-input-disabled]:cursor-default group-data-[twe-was-validated]/validation:mb-4 dark:data-[twe-input-disabled]:bg-neutral-600 | Sets styles for select inputs. |
selectInputWhite | !text-gray-50 | Sets inputs font color for selectFormWhite attribute. |
selectInputSizeDefault | py-[0.32rem] px-3 leading-[1.6] | Sets padding and line height for default input size. |
selectInputSizeLg | py-[0.32rem] px-3 leading-[2.15] | Sets padding and line height for large input size. |
selectInputSizeSm | py-[0.33rem] px-3 text-xs leading-[1.5] | Sets font size, padding and line height for small input size. |
selectLabel | pointer-events-none absolute top-0 left-3 mb-0 max-w-[90%] origin-[0_0] truncate text-neutral-500 transition-all duration-200 ease-out peer-aria-expanded:text-primary peer-focus:scale-[0.8] peer-focus:text-primary peer-data-[twe-input-state-active]:scale-[0.8] motion-reduce:transition-none dark:text-neutral-400 data-[twe-input-state-active]:scale-[0.8] dark:peer-focus:text-primary | Sets styles for select input label. |
selectLabelWhite | !text-gray-50 | Sets label color for selectFormWhite attribute. |
selectLabelSizeDefault | pt-[0.37rem] leading-[1.6] peer-focus:-translate-y-[0.9rem] peer-data-[twe-input-state-active]:-translate-y-[0.9rem] data-[twe-input-state-active]:-translate-y-[0.9rem] | Sets label styles for default select input size. |
selectLabelSizeLg | pt-[0.37rem] leading-[2.15] peer-focus:-translate-y-[1.15rem] peer-data-[twe-input-state-active]:-translate-y-[1.15rem] data-[twe-input-state-active]:-translate-y-[1.15rem] | Sets label styles for large select input size. |
selectLabelSizeSm | pt-[0.37rem] text-xs leading-[1.5] peer-focus:-translate-y-[0.75rem] peer-data-[twe-input-state-active]:-translate-y-[0.75rem] data-[twe-input-state-active]:-translate-y-[0.75rem] | Sets label styles for small select input size. |
selectOption | flex flex-row items-center justify-between w-full px-4 truncate text-gray-700 bg-transparent select-none cursor-pointer data-[twe-select-selected='true']:bg-primary/30 data-[twe-select-selected='true']:data-[twe-input-state-active]:bg-primary/40 data-[twe-select-selected='true']:data-[twe-input-multiple-active]:bg-primary/40 data-[twe-select-option-disabled]:cursor-default data-[twe-select-option-disabled]:text-surface/50 data-[twe-select-option-disabled]:cursor-default data-[twe-select-option-disabled]:!bg-transparent data-[twe-input-state-active]:[&:not([data-twe-select-selected='true'])]:bg-black/5 data-[twe-input-multiple-active]:[&:not([data-twe-select-selected='true'])]:bg-black/5 hover:[&:not([data-twe-select-selected='true'])]:bg-black/5 hover:data-[twe-select-selected='true']:bg-primary/40 group-data-[twe-select-option-group-ref]/opt:ps-7 dark:text-white dark:data-[twe-select-option-disabled]:text-white/50 dark:hover:[&:not([data-twe-select-selected='true'])]:bg-black/10 dark:data-[twe-input-state-active]:[&:not([data-twe-select-selected='true'])]:bg-black/10 dark:data-[twe-input-multiple-active]:[&:not([data-twe-select-selected='true'])]:bg-black/10 | Sets styles for every select options. |
selectAllOption | | Styling for select all option. By default it doesn't have any classes added and is using the same styles as selectOption. When classer are added, the selectOption styles are not applied to the select all option. |
selectOptionGroup | group/opt | Adds named group class to opt elements. |
selectOptionGroupLabel | flex flex-row items-center w-full px-4 truncate bg-transparent text-black/50 select-none dark:text-white/50 | Sets styles for opt group labels. |
selectOptionIcon | w-7 h-7 rounded-full | Sets size and border radius for icons. |
selectOptionSecondaryText | block text-[0.8rem] text-black/50 dark:text-white/50 | Sets font size, colors and other styles for secondary text. |
selectOptionText | group | Adds group class to option text. |
selectValidationValid | hidden absolute -mt-3 w-auto text-sm text-success cursor-pointer group-data-[twe-was-validated]/validation:peer-valid:block | Sets styles for valid feedback information. |
selectValidationInvalid | hidden absolute -mt-3 w-auto text-sm text-danger cursor-pointer group-data-[twe-was-validated]/validation:peer-invalid:block | Sets styles for invalid feedback information. |