@hexure/ui 1.13.34 → 1.13.35

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
@@ -1377,10 +1377,10 @@ const Field = (_a) => {
1377
1377
  const id = generateUniqueId('field');
1378
1378
  return (React.createElement(Wrapper$9, Object.assign({ "$customStyle": style }, accessibleProps, { id: `${id}-wrapper` }),
1379
1379
  React.createElement(LabelRow, { id: `${id}-label-row` },
1380
- React.createElement(Label$2, { htmlFor: htmlFor, id: `${id}-label` },
1380
+ label || required || tooltip ? (React.createElement(Label$2, { htmlFor: htmlFor, id: `${id}-label` },
1381
1381
  label,
1382
1382
  required ? React.createElement(Required, { id: `${id}-required` }, "*") : null,
1383
- tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null),
1383
+ tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)) : null,
1384
1384
  action ? (React.createElement(Action, { id: action.id || `${id}-action`, onClick: action.onClick }, action.label)) : null),
1385
1385
  description ? React.createElement(Description, { id: `${id}-description` }, description) : null,
1386
1386
  React.createElement("div", { id: `${id}-children` }, children),