@hexure/ui 1.14.2 → 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 +6 -6
- 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 -6
- 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 +86 -82
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ export interface ZeroStateProps extends AccessibleProps {
|
|
|
14
14
|
onClick: (e?: any) => void;
|
|
15
15
|
format?: 'primary' | 'secondary' | 'red' | 'green' | string;
|
|
16
16
|
disabled?: boolean;
|
|
17
|
+
title?: string;
|
|
17
18
|
};
|
|
18
19
|
/** Optional ID for automation purposes */
|
|
19
20
|
dataItemid?: string;
|
package/dist/esm/index.js
CHANGED
|
@@ -4015,7 +4015,7 @@ const Drawer = (_a) => {
|
|
|
4015
4015
|
title ? (React.createElement(Heading, { dataItemid: `${baseId}-title`, type: 'secondary' }, title)) : null,
|
|
4016
4016
|
description ? (React.createElement(Copy, { color: 'GRAY', "data-itemid": `${baseId}-description` }, description)) : null),
|
|
4017
4017
|
React.createElement(Close$1, { "data-itemid": `${baseId}-close`, onClick: onClose },
|
|
4018
|
-
React.createElement(Button, { dataItemid: `${baseId}-close-button`, dataSectionName: 'drawer-close-icon-button', format: 'secondary', icon: mdiClose, small: true }))),
|
|
4018
|
+
React.createElement(Button, { dataItemid: `${baseId}-close-button`, dataSectionName: 'drawer-close-icon-button', format: 'secondary', icon: mdiClose, small: true, title: 'Close' }))),
|
|
4019
4019
|
React.createElement(ContentWrapper$1, { "data-itemid": `${baseId}-content-wrapper` }, children),
|
|
4020
4020
|
primaryButton || secondaryButton || tertiaryButton ? (React.createElement(ButtonBar$1, { "data-itemid": `${baseId}-button-bar` },
|
|
4021
4021
|
React.createElement(Copy, { "data-itemid": `${baseId}-button-bar-notes`, type: 'small' }, bottomNotes),
|
|
@@ -4104,7 +4104,7 @@ const Field = (_a) => {
|
|
|
4104
4104
|
label,
|
|
4105
4105
|
required ? React.createElement(Required, { "data-itemid": `${baseId}-required` }, "*") : null,
|
|
4106
4106
|
tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)) : null,
|
|
4107
|
-
action ? (React.createElement(Action, { "data-itemid": `${baseId}-action`, onClick: action.onClick }, action.label)) : null),
|
|
4107
|
+
action ? (React.createElement(Action, { "data-itemid": `${baseId}-action`, onClick: action.onClick, title: action === null || action === void 0 ? void 0 : action.title }, action.label)) : null),
|
|
4108
4108
|
description ? (React.createElement(Description, { "data-itemid": `${baseId}-description` }, description)) : null,
|
|
4109
4109
|
React.createElement("div", { "data-itemid": `${baseId}-children` }, children),
|
|
4110
4110
|
React.createElement(Validation, { className: 'field-validation-wrapper', "data-itemid": `${baseId}-validation${validationText ? '' : '-empty'}`, title: validationText }, validationText && isNewMessageType
|
|
@@ -5161,7 +5161,7 @@ const StyledInput = styled.input `
|
|
|
5161
5161
|
const StyledTextArea = styled.textarea `
|
|
5162
5162
|
border: none !important;
|
|
5163
5163
|
background: none !important;
|
|
5164
|
-
overflow-y:
|
|
5164
|
+
overflow-y: auto !important;
|
|
5165
5165
|
font-size: 14px;
|
|
5166
5166
|
font-weight: 400;
|
|
5167
5167
|
height: ${props => props.$height || 'auto'};
|
|
@@ -6135,7 +6135,7 @@ const Table = (_a) => {
|
|
|
6135
6135
|
hideHeaders ? null : (React.createElement("thead", { "data-itemid": `${baseId}-thead` },
|
|
6136
6136
|
React.createElement("tr", { "data-itemid": `${baseId}-header-row` }, columns.map((column, i) => {
|
|
6137
6137
|
const columnId = `${baseId}-column-${i}`;
|
|
6138
|
-
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) },
|
|
6138
|
+
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 },
|
|
6139
6139
|
column.label,
|
|
6140
6140
|
column.isSortable && sortBy === column.id ? (React.createElement(IconWrapper, { "data-itemid": `${columnId}-icon-wrapper` },
|
|
6141
6141
|
React.createElement(StyledIcon$1, { "data-itemid": `${columnId}-icon`, path: sortDirection === 'asc' ? mdiChevronUp : mdiChevronDown, size: '20px' }))) : null));
|
|
@@ -6204,7 +6204,7 @@ const Tabs = (_a) => {
|
|
|
6204
6204
|
return (React.createElement(Wrapper$1, Object.assign({}, accessibleProps, { "data-itemid": `${baseId}-wrapper` }), tabs.map((_a, i) => {
|
|
6205
6205
|
var { isActive, label, badgeCount, errorBadge, onClick } = _a, accessibleProps = __rest(_a, ["isActive", "label", "badgeCount", "errorBadge", "onClick"]);
|
|
6206
6206
|
const tabId = `${baseId}-tab-${i}`;
|
|
6207
|
-
return (React.createElement(Tab, Object.assign({ "$isActive": isActive || false, key: i, onClick: isActive ? undefined : onClick }, accessibleProps, { "data-itemid": `${tabId}-tab
|
|
6207
|
+
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 }),
|
|
6208
6208
|
badgeCount ? (React.createElement(Badge, { "$isError": errorBadge || false, "data-itemid": `${tabId}-badge` }, badgeCount)) : null,
|
|
6209
6209
|
label));
|
|
6210
6210
|
})));
|
|
@@ -6277,7 +6277,7 @@ const ZeroState = (_a) => {
|
|
|
6277
6277
|
React.createElement(Wrapper, { "data-itemid": `${baseId}-wrapper` },
|
|
6278
6278
|
React.createElement(Heading, { children: title, dataItemid: `${baseId}-heading`, type: 'tertiary' }),
|
|
6279
6279
|
description && (React.createElement(Copy, { align: 'center', children: description, color: 'GRAY', "data-itemid": `${baseId}-description`, type: 'default' }))),
|
|
6280
|
-
action && (React.createElement(Button, { children: action.children, dataItemid: `${baseId}-button`, disabled: action.disabled, format: action.format, icon: action.icon, onClick: action.onClick }))));
|
|
6280
|
+
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 }))));
|
|
6281
6281
|
};
|
|
6282
6282
|
|
|
6283
6283
|
export { Accordion, ActionDialog, Alert, AppHeader, AppMenu, BulkActionBar, Button, ButtonMenu, Checkbox, Checklist, Colors, Copy, DatePicker, Drawer, EditableTheme, Field, FieldGroup, FileUpload, FontSizes, FontStyles, Heading, Input$1 as Input, Link, Loader, Logo, Modal, MoreMenu, MultiSelect, PageHeader, Pagination, ProgressBar, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, Tooltip, ZeroState, formatAsMask, formatAsPhone, formatAsSsn, getAgesFromDob, getDaysForMonth, getYears, validateEmail, validatePhone };
|