@hexure/ui 1.14.0 → 1.14.2
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/cjs/index.js +7 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Select/Select.d.ts +1 -0
- package/dist/esm/index.js +7 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Select/Select.d.ts +1 -0
- package/dist/index.d.ts +83 -82
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -3831,9 +3831,9 @@ const Select = (_a) => {
|
|
|
3831
3831
|
React.createElement(Trigger$1, Object.assign({ "data-itemid": `${baseId}-trigger`, disabled: readOnly, id: `${baseId}-trigger`, name: baseId, onChange: handleChange, placeholder: placeholder, ref: innerRef, tabIndex: readOnly ? -1 : tabIndex, value: value }, accessibleProps),
|
|
3832
3832
|
placeholder && !value && (React.createElement("option", { "data-itemid": `${baseId}-placeholder`, disabled: true, value: '' }, placeholder)),
|
|
3833
3833
|
filteredOptionGroups &&
|
|
3834
|
-
filteredOptionGroups.map((group, i) => (React.createElement("optgroup", { "data-itemid": `${baseId}-optgroup-${i}`, key: i, label: group.label || `Group ${i}` }, group.options.map((option, j) => (React.createElement("option", { "data-itemid": `${baseId}-option-${i}-${j}`, key: j, style: { color: option.color }, value: option.value }, option.label || option.value)))))),
|
|
3834
|
+
filteredOptionGroups.map((group, i) => (React.createElement("optgroup", { "data-itemid": `${baseId}-optgroup-${i}`, key: i, label: group.label || `Group ${i}` }, group.options.map((option, j) => (React.createElement("option", { "data-itemid": `${baseId}-option-${i}-${j}`, disabled: option.disabled, key: j, style: { color: option.color }, value: option.value }, option.label || option.value)))))),
|
|
3835
3835
|
filteredOptions &&
|
|
3836
|
-
filteredOptions.map((option, i) => (React.createElement("option", { "data-itemid": `${baseId}-option-${i}`, key: i, style: { color: option.color }, value: option.value }, option.label || option.value)))),
|
|
3836
|
+
filteredOptions.map((option, i) => (React.createElement("option", { "data-itemid": `${baseId}-option-${i}`, disabled: option.disabled, key: i, style: { color: option.color }, value: option.value }, option.label || option.value)))),
|
|
3837
3837
|
React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, "data-itemid": `${baseId}-icon`, path: js.mdiChevronDown, size: '22px' })));
|
|
3838
3838
|
};
|
|
3839
3839
|
|
|
@@ -5155,6 +5155,10 @@ const StyledInput = styled.input `
|
|
|
5155
5155
|
box-sizing: border-box;
|
|
5156
5156
|
display: block;
|
|
5157
5157
|
width: 100%;
|
|
5158
|
+
|
|
5159
|
+
&::-webkit-search-cancel-button {
|
|
5160
|
+
cursor: pointer;
|
|
5161
|
+
}
|
|
5158
5162
|
`;
|
|
5159
5163
|
const StyledTextArea = styled.textarea `
|
|
5160
5164
|
border: none !important;
|
|
@@ -5180,6 +5184,7 @@ const StyledTextArea = styled.textarea `
|
|
|
5180
5184
|
box-sizing: border-box;
|
|
5181
5185
|
display: block;
|
|
5182
5186
|
width: 100%;
|
|
5187
|
+
resize: none;
|
|
5183
5188
|
${({ $readOnly }) => $readOnly &&
|
|
5184
5189
|
`
|
|
5185
5190
|
background-color: #f0f0f0;
|