@hexure/ui 1.14.3 → 1.14.5
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 +6 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Field/Field.d.ts +1 -0
- package/dist/cjs/types/components/Table/Table.d.ts +1 -0
- package/dist/cjs/types/components/Tabs/Tabs.d.ts +1 -0
- package/dist/cjs/types/components/ZeroState/ZeroState.d.ts +1 -0
- package/dist/esm/index.js +6 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Field/Field.d.ts +1 -0
- package/dist/esm/types/components/Table/Table.d.ts +1 -0
- package/dist/esm/types/components/Tabs/Tabs.d.ts +1 -0
- package/dist/esm/types/components/ZeroState/ZeroState.d.ts +1 -0
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -2756,6 +2756,7 @@ const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, d
|
|
|
2756
2756
|
z-index: 9999; /* Ensure tooltip is above other elements */
|
|
2757
2757
|
position: absolute; /* Ensure z-index works */
|
|
2758
2758
|
word-break: break-word; /* Prevents overflow of long words */
|
|
2759
|
+
opacity: 1;
|
|
2759
2760
|
}
|
|
2760
2761
|
|
|
2761
2762
|
`),
|
|
@@ -4017,7 +4018,7 @@ const Drawer = (_a) => {
|
|
|
4017
4018
|
title ? (React.createElement(Heading, { dataItemid: `${baseId}-title`, type: 'secondary' }, title)) : null,
|
|
4018
4019
|
description ? (React.createElement(Copy, { color: 'GRAY', "data-itemid": `${baseId}-description` }, description)) : null),
|
|
4019
4020
|
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 }))),
|
|
4021
|
+
React.createElement(Button, { dataItemid: `${baseId}-close-button`, dataSectionName: 'drawer-close-icon-button', format: 'secondary', icon: js.mdiClose, small: true, title: 'Close' }))),
|
|
4021
4022
|
React.createElement(ContentWrapper$1, { "data-itemid": `${baseId}-content-wrapper` }, children),
|
|
4022
4023
|
primaryButton || secondaryButton || tertiaryButton ? (React.createElement(ButtonBar$1, { "data-itemid": `${baseId}-button-bar` },
|
|
4023
4024
|
React.createElement(Copy, { "data-itemid": `${baseId}-button-bar-notes`, type: 'small' }, bottomNotes),
|
|
@@ -4106,7 +4107,7 @@ const Field = (_a) => {
|
|
|
4106
4107
|
label,
|
|
4107
4108
|
required ? React.createElement(Required, { "data-itemid": `${baseId}-required` }, "*") : null,
|
|
4108
4109
|
tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)) : null,
|
|
4109
|
-
action ? (React.createElement(Action, { "data-itemid": `${baseId}-action`, onClick: action.onClick }, action.label)) : null),
|
|
4110
|
+
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
4111
|
description ? (React.createElement(Description, { "data-itemid": `${baseId}-description` }, description)) : null,
|
|
4111
4112
|
React.createElement("div", { "data-itemid": `${baseId}-children` }, children),
|
|
4112
4113
|
React.createElement(Validation, { className: 'field-validation-wrapper', "data-itemid": `${baseId}-validation${validationText ? '' : '-empty'}`, title: validationText }, validationText && isNewMessageType
|
|
@@ -6137,7 +6138,7 @@ const Table = (_a) => {
|
|
|
6137
6138
|
hideHeaders ? null : (React.createElement("thead", { "data-itemid": `${baseId}-thead` },
|
|
6138
6139
|
React.createElement("tr", { "data-itemid": `${baseId}-header-row` }, columns.map((column, i) => {
|
|
6139
6140
|
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) },
|
|
6141
|
+
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
6142
|
column.label,
|
|
6142
6143
|
column.isSortable && sortBy === column.id ? (React.createElement(IconWrapper, { "data-itemid": `${columnId}-icon-wrapper` },
|
|
6143
6144
|
React.createElement(StyledIcon$1, { "data-itemid": `${columnId}-icon`, path: sortDirection === 'asc' ? js.mdiChevronUp : js.mdiChevronDown, size: '20px' }))) : null));
|
|
@@ -6206,7 +6207,7 @@ const Tabs = (_a) => {
|
|
|
6206
6207
|
return (React.createElement(Wrapper$1, Object.assign({}, accessibleProps, { "data-itemid": `${baseId}-wrapper` }), tabs.map((_a, i) => {
|
|
6207
6208
|
var { isActive, label, badgeCount, errorBadge, onClick } = _a, accessibleProps = __rest(_a, ["isActive", "label", "badgeCount", "errorBadge", "onClick"]);
|
|
6208
6209
|
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
|
|
6210
|
+
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
6211
|
badgeCount ? (React.createElement(Badge, { "$isError": errorBadge || false, "data-itemid": `${tabId}-badge` }, badgeCount)) : null,
|
|
6211
6212
|
label));
|
|
6212
6213
|
})));
|
|
@@ -6279,7 +6280,7 @@ const ZeroState = (_a) => {
|
|
|
6279
6280
|
React.createElement(Wrapper, { "data-itemid": `${baseId}-wrapper` },
|
|
6280
6281
|
React.createElement(Heading, { children: title, dataItemid: `${baseId}-heading`, type: 'tertiary' }),
|
|
6281
6282
|
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 }))));
|
|
6283
|
+
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
6284
|
};
|
|
6284
6285
|
|
|
6285
6286
|
exports.Accordion = Accordion;
|