@hexure/ui 1.14.3 → 1.14.4

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 CHANGED
@@ -4017,7 +4017,7 @@ const Drawer = (_a) => {
4017
4017
  title ? (React.createElement(Heading, { dataItemid: `${baseId}-title`, type: 'secondary' }, title)) : null,
4018
4018
  description ? (React.createElement(Copy, { color: 'GRAY', "data-itemid": `${baseId}-description` }, description)) : null),
4019
4019
  React.createElement(Close$1, { "data-itemid": `${baseId}-close`, onClick: onClose },
4020
- React.createElement(Button, { dataItemid: `${baseId}-close-button`, dataSectionName: 'drawer-close-icon-button', format: 'secondary', icon: js.mdiClose, small: true }))),
4020
+ React.createElement(Button, { dataItemid: `${baseId}-close-button`, dataSectionName: 'drawer-close-icon-button', format: 'secondary', icon: js.mdiClose, small: true, title: 'Close' }))),
4021
4021
  React.createElement(ContentWrapper$1, { "data-itemid": `${baseId}-content-wrapper` }, children),
4022
4022
  primaryButton || secondaryButton || tertiaryButton ? (React.createElement(ButtonBar$1, { "data-itemid": `${baseId}-button-bar` },
4023
4023
  React.createElement(Copy, { "data-itemid": `${baseId}-button-bar-notes`, type: 'small' }, bottomNotes),
@@ -4106,7 +4106,7 @@ const Field = (_a) => {
4106
4106
  label,
4107
4107
  required ? React.createElement(Required, { "data-itemid": `${baseId}-required` }, "*") : null,
4108
4108
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)) : null,
4109
- action ? (React.createElement(Action, { "data-itemid": `${baseId}-action`, onClick: action.onClick }, action.label)) : null),
4109
+ action ? (React.createElement(Action, { "data-itemid": `${baseId}-action`, onClick: action.onClick, title: action === null || action === void 0 ? void 0 : action.title }, action.label)) : null),
4110
4110
  description ? (React.createElement(Description, { "data-itemid": `${baseId}-description` }, description)) : null,
4111
4111
  React.createElement("div", { "data-itemid": `${baseId}-children` }, children),
4112
4112
  React.createElement(Validation, { className: 'field-validation-wrapper', "data-itemid": `${baseId}-validation${validationText ? '' : '-empty'}`, title: validationText }, validationText && isNewMessageType
@@ -6137,7 +6137,7 @@ const Table = (_a) => {
6137
6137
  hideHeaders ? null : (React.createElement("thead", { "data-itemid": `${baseId}-thead` },
6138
6138
  React.createElement("tr", { "data-itemid": `${baseId}-header-row` }, columns.map((column, i) => {
6139
6139
  const columnId = `${baseId}-column-${i}`;
6140
- return (React.createElement(Header, { "$isSortable": column.isSortable, "$width": column.width, "data-itemid": `${columnId}-header`, key: i, onClick: onSortChange === null || onSortChange === void 0 ? void 0 : onSortChange.bind(null, column.id) },
6140
+ return (React.createElement(Header, { "$isSortable": column.isSortable, "$width": column.width, "data-itemid": `${columnId}-header`, key: i, onClick: onSortChange === null || onSortChange === void 0 ? void 0 : onSortChange.bind(null, column.id), title: column === null || column === void 0 ? void 0 : column.title },
6141
6141
  column.label,
6142
6142
  column.isSortable && sortBy === column.id ? (React.createElement(IconWrapper, { "data-itemid": `${columnId}-icon-wrapper` },
6143
6143
  React.createElement(StyledIcon$1, { "data-itemid": `${columnId}-icon`, path: sortDirection === 'asc' ? js.mdiChevronUp : js.mdiChevronDown, size: '20px' }))) : null));
@@ -6206,7 +6206,7 @@ const Tabs = (_a) => {
6206
6206
  return (React.createElement(Wrapper$1, Object.assign({}, accessibleProps, { "data-itemid": `${baseId}-wrapper` }), tabs.map((_a, i) => {
6207
6207
  var { isActive, label, badgeCount, errorBadge, onClick } = _a, accessibleProps = __rest(_a, ["isActive", "label", "badgeCount", "errorBadge", "onClick"]);
6208
6208
  const tabId = `${baseId}-tab-${i}`;
6209
- return (React.createElement(Tab, Object.assign({ "$isActive": isActive || false, key: i, onClick: isActive ? undefined : onClick }, accessibleProps, { "data-itemid": `${tabId}-tab` }),
6209
+ return (React.createElement(Tab, Object.assign({ "$isActive": isActive || false, key: i, onClick: isActive ? undefined : onClick }, accessibleProps, { "data-itemid": `${tabId}-tab`, title: accessibleProps === null || accessibleProps === void 0 ? void 0 : accessibleProps.title }),
6210
6210
  badgeCount ? (React.createElement(Badge, { "$isError": errorBadge || false, "data-itemid": `${tabId}-badge` }, badgeCount)) : null,
6211
6211
  label));
6212
6212
  })));
@@ -6279,7 +6279,7 @@ const ZeroState = (_a) => {
6279
6279
  React.createElement(Wrapper, { "data-itemid": `${baseId}-wrapper` },
6280
6280
  React.createElement(Heading, { children: title, dataItemid: `${baseId}-heading`, type: 'tertiary' }),
6281
6281
  description && (React.createElement(Copy, { align: 'center', children: description, color: 'GRAY', "data-itemid": `${baseId}-description`, type: 'default' }))),
6282
- action && (React.createElement(Button, { children: action.children, dataItemid: `${baseId}-button`, disabled: action.disabled, format: action.format, icon: action.icon, onClick: action.onClick }))));
6282
+ action && (React.createElement(Button, { children: action.children, dataItemid: `${baseId}-button`, disabled: action.disabled, format: action.format, icon: action.icon, onClick: action.onClick, title: action === null || action === void 0 ? void 0 : action.title }))));
6283
6283
  };
6284
6284
 
6285
6285
  exports.Accordion = Accordion;