@luscii-healthtech/web-ui 30.6.0 → 30.6.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/index.development.js +9 -4
- package/dist/index.development.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/web-ui.esm.js +1 -1
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -2452,7 +2452,7 @@ const Tag = (_a) => {
|
|
|
2452
2452
|
*/
|
|
2453
2453
|
className: "ui-leading-5",
|
|
2454
2454
|
color: textColor[colorTheme],
|
|
2455
|
-
variant: size === "small" ? "sm" : "base"
|
|
2455
|
+
variant: size === "small" ? "sm-strong" : "base"
|
|
2456
2456
|
},
|
|
2457
2457
|
text !== null && text !== void 0 ? text : children
|
|
2458
2458
|
)
|
|
@@ -3330,7 +3330,8 @@ class Dropdown extends React.PureComponent {
|
|
|
3330
3330
|
className: itemClassName,
|
|
3331
3331
|
key: item.id,
|
|
3332
3332
|
tabIndex: "0",
|
|
3333
|
-
onClick: () => this.selectItem(item)
|
|
3333
|
+
onClick: () => this.selectItem(item),
|
|
3334
|
+
role: "option"
|
|
3334
3335
|
},
|
|
3335
3336
|
/* @__PURE__ */ React__namespace.default.createElement(
|
|
3336
3337
|
Text,
|
|
@@ -3443,12 +3444,15 @@ class Dropdown extends React.PureComponent {
|
|
|
3443
3444
|
"ui-border-input-border hover:ui-border-input-border-dark": !isDropdownOpen
|
|
3444
3445
|
}
|
|
3445
3446
|
),
|
|
3446
|
-
onClick: onDropdownClick
|
|
3447
|
+
onClick: onDropdownClick,
|
|
3448
|
+
"aria-label": this.props.name,
|
|
3449
|
+
role: "combobox"
|
|
3447
3450
|
}),
|
|
3448
3451
|
/* @__PURE__ */ React__namespace.default.createElement(
|
|
3449
3452
|
Text,
|
|
3450
3453
|
{
|
|
3451
3454
|
className: "dropdown-header-title",
|
|
3455
|
+
role: "textbox",
|
|
3452
3456
|
text: selectedItem ? selectedItem.text : placeholder,
|
|
3453
3457
|
truncate: true
|
|
3454
3458
|
}
|
|
@@ -3494,7 +3498,8 @@ Dropdown.propTypes = {
|
|
|
3494
3498
|
placeholder: PropTypes__default.default.string,
|
|
3495
3499
|
className: PropTypes__default.default.string,
|
|
3496
3500
|
onItemSelect: PropTypes__default.default.func.isRequired,
|
|
3497
|
-
wider: PropTypes__default.default.bool
|
|
3501
|
+
wider: PropTypes__default.default.bool,
|
|
3502
|
+
name: PropTypes__default.default.string
|
|
3498
3503
|
};
|
|
3499
3504
|
|
|
3500
3505
|
const InfoField = (props) => {
|