@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/esm/index.js
CHANGED
|
@@ -3829,9 +3829,9 @@ const Select = (_a) => {
|
|
|
3829
3829
|
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),
|
|
3830
3830
|
placeholder && !value && (React.createElement("option", { "data-itemid": `${baseId}-placeholder`, disabled: true, value: '' }, placeholder)),
|
|
3831
3831
|
filteredOptionGroups &&
|
|
3832
|
-
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)))))),
|
|
3832
|
+
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)))))),
|
|
3833
3833
|
filteredOptions &&
|
|
3834
|
-
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)))),
|
|
3834
|
+
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)))),
|
|
3835
3835
|
React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, "data-itemid": `${baseId}-icon`, path: mdiChevronDown, size: '22px' })));
|
|
3836
3836
|
};
|
|
3837
3837
|
|
|
@@ -5153,6 +5153,10 @@ const StyledInput = styled.input `
|
|
|
5153
5153
|
box-sizing: border-box;
|
|
5154
5154
|
display: block;
|
|
5155
5155
|
width: 100%;
|
|
5156
|
+
|
|
5157
|
+
&::-webkit-search-cancel-button {
|
|
5158
|
+
cursor: pointer;
|
|
5159
|
+
}
|
|
5156
5160
|
`;
|
|
5157
5161
|
const StyledTextArea = styled.textarea `
|
|
5158
5162
|
border: none !important;
|
|
@@ -5178,6 +5182,7 @@ const StyledTextArea = styled.textarea `
|
|
|
5178
5182
|
box-sizing: border-box;
|
|
5179
5183
|
display: block;
|
|
5180
5184
|
width: 100%;
|
|
5185
|
+
resize: none;
|
|
5181
5186
|
${({ $readOnly }) => $readOnly &&
|
|
5182
5187
|
`
|
|
5183
5188
|
background-color: #f0f0f0;
|