@nulogy/components 14.5.0 → 14.6.1

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/main.js CHANGED
@@ -25981,30 +25981,6 @@
25981
25981
  }, props));
25982
25982
  };
25983
25983
 
25984
- var Label = styled__default["default"].label.withConfig({
25985
- displayName: "Label",
25986
- componentId: "sc-lf392x-0"
25987
- })(function (_ref) {
25988
- var _ref$color = _ref.color,
25989
- color = _ref$color === void 0 ? "black" : _ref$color;
25990
- return {
25991
- color: color,
25992
- display: "inline-block"
25993
- };
25994
- }, display, space, color);
25995
-
25996
- var LabelText$1 = styled__default["default"].span.withConfig({
25997
- displayName: "LabelText",
25998
- componentId: "sc-1crkhtp-0"
25999
- })(function (_ref) {
26000
- var theme = _ref.theme;
26001
- return {
26002
- fontSize: theme.fontSizes.small,
26003
- fontWeight: theme.fontWeights.bold,
26004
- lineHeight: theme.lineHeights.smallTextCompressed
26005
- };
26006
- });
26007
-
26008
25984
  /**!
26009
25985
  * @fileOverview Kickass library to create and place poppers near their reference elements.
26010
25986
  * @version 1.16.1
@@ -29249,32 +29225,41 @@
29249
29225
  }, tooltip));
29250
29226
  });
29251
29227
 
29252
- function FramedIcon(_a) {
29253
- var isTooltipOpenByDefault = _a.isTooltipOpenByDefault,
29254
- tooltip = _a.tooltip,
29255
- maxWidth = _a.maxWidth,
29256
- iconSize = _a.iconSize,
29257
- iconProps = __rest$3(_a, ["isTooltipOpenByDefault", "tooltip", "maxWidth", "iconSize"]);
29228
+ var Label = styled__default["default"].label.withConfig({
29229
+ displayName: "Label",
29230
+ componentId: "sc-lf392x-0"
29231
+ })(function (_ref) {
29232
+ var _ref$color = _ref.color,
29233
+ color = _ref$color === void 0 ? "black" : _ref$color;
29234
+ return {
29235
+ color: color,
29236
+ display: "inline-block"
29237
+ };
29238
+ }, display, space, color);
29258
29239
 
29259
- return /*#__PURE__*/React__default["default"].createElement(Flex, {
29260
- height: "x3",
29261
- width: "x3",
29262
- alignItems: "center",
29263
- justifyContent: "center",
29264
- flexShrink: 0,
29265
- borderRadius: "medium"
29266
- }, tooltip ? /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
29267
- tooltip: tooltip,
29268
- defaultOpen: isTooltipOpenByDefault,
29269
- maxWidth: maxWidth
29270
- }, /*#__PURE__*/React__default["default"].createElement(Icon, Object.assign({
29271
- color: "darkGrey",
29272
- size: iconSize !== null && iconSize !== void 0 ? iconSize : "x2"
29273
- }, iconProps))) : /*#__PURE__*/React__default["default"].createElement(Icon, Object.assign({
29274
- color: "darkGrey",
29275
- size: iconSize !== null && iconSize !== void 0 ? iconSize : "x2"
29276
- }, iconProps)));
29277
- }
29240
+ var LabelContent = styled__default["default"].span.withConfig({
29241
+ displayName: "LabelText__LabelContent",
29242
+ componentId: "sc-1crkhtp-0"
29243
+ })(function (_ref) {
29244
+ var theme = _ref.theme;
29245
+ return {
29246
+ display: "flex",
29247
+ flexWrap: "wrap",
29248
+ gap: theme.space.x0_5,
29249
+ alignItems: "baseline"
29250
+ };
29251
+ });
29252
+ var LabelText = styled__default["default"].span.withConfig({
29253
+ displayName: "LabelText",
29254
+ componentId: "sc-1crkhtp-1"
29255
+ })(function (_ref2) {
29256
+ var theme = _ref2.theme;
29257
+ return {
29258
+ fontSize: theme.fontSizes.small,
29259
+ fontWeight: theme.fontWeights.bold,
29260
+ lineHeight: theme.lineHeights.smallTextCompressed
29261
+ };
29262
+ });
29278
29263
 
29279
29264
  function FieldLabel(_a) {
29280
29265
  var labelText = _a.labelText,
@@ -29289,21 +29274,19 @@
29289
29274
  }, props), /*#__PURE__*/React__default["default"].createElement(Box, {
29290
29275
  mb: children && "x1",
29291
29276
  "data-testid": "field-label"
29292
- }, /*#__PURE__*/React__default["default"].createElement(Flex, {
29293
- alignItems: "center"
29294
- }, /*#__PURE__*/React__default["default"].createElement(Flex, {
29295
- alignItems: "baseline"
29296
- }, /*#__PURE__*/React__default["default"].createElement(LabelText$1, {
29277
+ }, /*#__PURE__*/React__default["default"].createElement(LabelContent, {
29278
+ "data-testid": "label-content"
29279
+ }, /*#__PURE__*/React__default["default"].createElement(LabelText, {
29297
29280
  "data-testid": "label-text"
29298
29281
  }, labelText), requirementText && /*#__PURE__*/React__default["default"].createElement(RequirementText, {
29299
- "data-testid": "requirement-text"
29300
- }, requirementText)), hint && /*#__PURE__*/React__default["default"].createElement(Flex, {
29301
- display: "inline-flex",
29302
- ml: "half"
29303
- }, /*#__PURE__*/React__default["default"].createElement(FramedIcon, {
29304
- iconSize: "x2_5",
29305
- icon: "info",
29282
+ "data-testid": "requirement-text",
29283
+ ml: "none"
29284
+ }, requirementText), hint && /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
29306
29285
  tooltip: hint
29286
+ }, /*#__PURE__*/React__default["default"].createElement(InlineIcon, {
29287
+ color: "darkGrey",
29288
+ size: "x2",
29289
+ icon: "info"
29307
29290
  }))), helpText && /*#__PURE__*/React__default["default"].createElement(HelpText$1, {
29308
29291
  "data-testid": "help-text"
29309
29292
  }, helpText)), children);
@@ -35900,7 +35883,8 @@
35900
35883
  labelText = _a.labelText,
35901
35884
  helpText = _a.helpText,
35902
35885
  requirementText = _a.requirementText,
35903
- props = __rest$3(_a, ["className", "id", "errorMessage", "errorList", "labelText", "helpText", "requirementText"]);
35886
+ hint = _a.hint,
35887
+ props = __rest$3(_a, ["className", "id", "errorMessage", "errorList", "labelText", "helpText", "requirementText", "hint"]);
35904
35888
 
35905
35889
  var otherProps = Object.assign(Object.assign({}, props), {
35906
35890
  errorMessage: errorMessage,
@@ -35909,7 +35893,20 @@
35909
35893
  return /*#__PURE__*/React__default["default"].createElement(Fieldset, {
35910
35894
  className: className,
35911
35895
  id: id
35912
- }, /*#__PURE__*/React__default["default"].createElement(Legend, null, /*#__PURE__*/React__default["default"].createElement(LabelText, null, labelText), requirementText && /*#__PURE__*/React__default["default"].createElement(RequirementText, null, requirementText)), helpText && /*#__PURE__*/React__default["default"].createElement(HelpText$1, null, helpText), getCheckboxButtons(otherProps), /*#__PURE__*/React__default["default"].createElement(InlineValidation, {
35896
+ }, /*#__PURE__*/React__default["default"].createElement(Legend, null, /*#__PURE__*/React__default["default"].createElement(LabelContent, {
35897
+ "data-testid": "label-content"
35898
+ }, /*#__PURE__*/React__default["default"].createElement(LabelText, {
35899
+ "data-testid": "label-text"
35900
+ }, labelText), requirementText && /*#__PURE__*/React__default["default"].createElement(RequirementText, {
35901
+ "data-testid": "requirement-text",
35902
+ ml: "none"
35903
+ }, requirementText), hint && /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
35904
+ tooltip: hint
35905
+ }, /*#__PURE__*/React__default["default"].createElement(InlineIcon, {
35906
+ color: "darkGrey",
35907
+ size: "x2",
35908
+ icon: "info"
35909
+ })))), helpText && /*#__PURE__*/React__default["default"].createElement(HelpText$1, null, helpText), getCheckboxButtons(otherProps), /*#__PURE__*/React__default["default"].createElement(InlineValidation, {
35913
35910
  mt: "x1",
35914
35911
  errorMessage: errorMessage,
35915
35912
  errorList: errorList
@@ -35939,22 +35936,11 @@
35939
35936
  return checkboxButtons;
35940
35937
  };
35941
35938
 
35942
- var LabelText = styled__default["default"].span.withConfig({
35943
- displayName: "CheckboxGroup__LabelText",
35939
+ var Legend = styled__default["default"].legend.withConfig({
35940
+ displayName: "CheckboxGroup__Legend",
35944
35941
  componentId: "sc-ubmlt9-0"
35945
35942
  })(function (_ref) {
35946
35943
  var theme = _ref.theme;
35947
- return {
35948
- fontSize: theme.fontSizes.small,
35949
- fontWeight: theme.fontWeights.bold,
35950
- lineHeight: theme.lineHeights.smallTextBase
35951
- };
35952
- });
35953
- var Legend = styled__default["default"].legend.withConfig({
35954
- displayName: "CheckboxGroup__Legend",
35955
- componentId: "sc-ubmlt9-1"
35956
- })(function (_ref2) {
35957
- var theme = _ref2.theme;
35958
35944
  return {
35959
35945
  marginBottom: theme.space.x1
35960
35946
  };
@@ -62280,6 +62266,7 @@
62280
62266
  })(function (_ref) {
62281
62267
  var align = _ref.align,
62282
62268
  compact = _ref.compact,
62269
+ verticalAlign = _ref.verticalAlign,
62283
62270
  theme = _ref.theme;
62284
62271
  var padding = compact ? theme.space.x1 : theme.space.x2;
62285
62272
  return {
@@ -62287,6 +62274,7 @@
62287
62274
  paddingBottom: padding,
62288
62275
  textAlign: align,
62289
62276
  paddingRight: padding,
62277
+ verticalAlign: verticalAlign || "middle",
62290
62278
  "&:first-child": {
62291
62279
  paddingLeft: padding
62292
62280
  }
@@ -62325,7 +62313,8 @@
62325
62313
 
62326
62314
  return /*#__PURE__*/React__default["default"].createElement(StyledTableCell, {
62327
62315
  align: column.align,
62328
- compact: compact
62316
+ compact: compact,
62317
+ verticalAlign: row.verticalAlign
62329
62318
  }, cellContent);
62330
62319
  };
62331
62320
 
@@ -62360,11 +62349,12 @@
62360
62349
  });
62361
62350
 
62362
62351
  var renderRows$1 = function renderRows(rows, columns, keyField, noRowsContent, rowHovers, compact, onRowMouseLeave, onRowMouseEnter, rowBorder) {
62363
- return rows.length > 0 ? rows.map(function (row) {
62352
+ return rows.length > 0 ? rows.map(function (row, rowIndex) {
62353
+ var rowKey = row[keyField] !== undefined ? row[keyField] : rowIndex;
62364
62354
  return /*#__PURE__*/React__default["default"].createElement(TableBodyRow, {
62355
+ key: rowKey,
62365
62356
  row: row,
62366
62357
  columns: columns,
62367
- key: row[keyField],
62368
62358
  keyField: keyField,
62369
62359
  rowHovers: rowHovers,
62370
62360
  compact: compact,
@@ -25964,30 +25964,6 @@ var RequirementText = function RequirementText(props) {
25964
25964
  }, props));
25965
25965
  };
25966
25966
 
25967
- var Label = styled.label.withConfig({
25968
- displayName: "Label",
25969
- componentId: "sc-lf392x-0"
25970
- })(function (_ref) {
25971
- var _ref$color = _ref.color,
25972
- color = _ref$color === void 0 ? "black" : _ref$color;
25973
- return {
25974
- color: color,
25975
- display: "inline-block"
25976
- };
25977
- }, display, space, color);
25978
-
25979
- var LabelText$1 = styled.span.withConfig({
25980
- displayName: "LabelText",
25981
- componentId: "sc-1crkhtp-0"
25982
- })(function (_ref) {
25983
- var theme = _ref.theme;
25984
- return {
25985
- fontSize: theme.fontSizes.small,
25986
- fontWeight: theme.fontWeights.bold,
25987
- lineHeight: theme.lineHeights.smallTextCompressed
25988
- };
25989
- });
25990
-
25991
25967
  /**!
25992
25968
  * @fileOverview Kickass library to create and place poppers near their reference elements.
25993
25969
  * @version 1.16.1
@@ -29232,32 +29208,41 @@ var Tooltip$1 = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
29232
29208
  }, tooltip));
29233
29209
  });
29234
29210
 
29235
- function FramedIcon(_a) {
29236
- var isTooltipOpenByDefault = _a.isTooltipOpenByDefault,
29237
- tooltip = _a.tooltip,
29238
- maxWidth = _a.maxWidth,
29239
- iconSize = _a.iconSize,
29240
- iconProps = __rest$3(_a, ["isTooltipOpenByDefault", "tooltip", "maxWidth", "iconSize"]);
29211
+ var Label = styled.label.withConfig({
29212
+ displayName: "Label",
29213
+ componentId: "sc-lf392x-0"
29214
+ })(function (_ref) {
29215
+ var _ref$color = _ref.color,
29216
+ color = _ref$color === void 0 ? "black" : _ref$color;
29217
+ return {
29218
+ color: color,
29219
+ display: "inline-block"
29220
+ };
29221
+ }, display, space, color);
29241
29222
 
29242
- return /*#__PURE__*/React__default.createElement(Flex, {
29243
- height: "x3",
29244
- width: "x3",
29245
- alignItems: "center",
29246
- justifyContent: "center",
29247
- flexShrink: 0,
29248
- borderRadius: "medium"
29249
- }, tooltip ? /*#__PURE__*/React__default.createElement(Tooltip$1, {
29250
- tooltip: tooltip,
29251
- defaultOpen: isTooltipOpenByDefault,
29252
- maxWidth: maxWidth
29253
- }, /*#__PURE__*/React__default.createElement(Icon, Object.assign({
29254
- color: "darkGrey",
29255
- size: iconSize !== null && iconSize !== void 0 ? iconSize : "x2"
29256
- }, iconProps))) : /*#__PURE__*/React__default.createElement(Icon, Object.assign({
29257
- color: "darkGrey",
29258
- size: iconSize !== null && iconSize !== void 0 ? iconSize : "x2"
29259
- }, iconProps)));
29260
- }
29223
+ var LabelContent = styled.span.withConfig({
29224
+ displayName: "LabelText__LabelContent",
29225
+ componentId: "sc-1crkhtp-0"
29226
+ })(function (_ref) {
29227
+ var theme = _ref.theme;
29228
+ return {
29229
+ display: "flex",
29230
+ flexWrap: "wrap",
29231
+ gap: theme.space.x0_5,
29232
+ alignItems: "baseline"
29233
+ };
29234
+ });
29235
+ var LabelText = styled.span.withConfig({
29236
+ displayName: "LabelText",
29237
+ componentId: "sc-1crkhtp-1"
29238
+ })(function (_ref2) {
29239
+ var theme = _ref2.theme;
29240
+ return {
29241
+ fontSize: theme.fontSizes.small,
29242
+ fontWeight: theme.fontWeights.bold,
29243
+ lineHeight: theme.lineHeights.smallTextCompressed
29244
+ };
29245
+ });
29261
29246
 
29262
29247
  function FieldLabel(_a) {
29263
29248
  var labelText = _a.labelText,
@@ -29272,21 +29257,19 @@ function FieldLabel(_a) {
29272
29257
  }, props), /*#__PURE__*/React__default.createElement(Box, {
29273
29258
  mb: children && "x1",
29274
29259
  "data-testid": "field-label"
29275
- }, /*#__PURE__*/React__default.createElement(Flex, {
29276
- alignItems: "center"
29277
- }, /*#__PURE__*/React__default.createElement(Flex, {
29278
- alignItems: "baseline"
29279
- }, /*#__PURE__*/React__default.createElement(LabelText$1, {
29260
+ }, /*#__PURE__*/React__default.createElement(LabelContent, {
29261
+ "data-testid": "label-content"
29262
+ }, /*#__PURE__*/React__default.createElement(LabelText, {
29280
29263
  "data-testid": "label-text"
29281
29264
  }, labelText), requirementText && /*#__PURE__*/React__default.createElement(RequirementText, {
29282
- "data-testid": "requirement-text"
29283
- }, requirementText)), hint && /*#__PURE__*/React__default.createElement(Flex, {
29284
- display: "inline-flex",
29285
- ml: "half"
29286
- }, /*#__PURE__*/React__default.createElement(FramedIcon, {
29287
- iconSize: "x2_5",
29288
- icon: "info",
29265
+ "data-testid": "requirement-text",
29266
+ ml: "none"
29267
+ }, requirementText), hint && /*#__PURE__*/React__default.createElement(Tooltip$1, {
29289
29268
  tooltip: hint
29269
+ }, /*#__PURE__*/React__default.createElement(InlineIcon, {
29270
+ color: "darkGrey",
29271
+ size: "x2",
29272
+ icon: "info"
29290
29273
  }))), helpText && /*#__PURE__*/React__default.createElement(HelpText$1, {
29291
29274
  "data-testid": "help-text"
29292
29275
  }, helpText)), children);
@@ -35883,7 +35866,8 @@ function CheckboxGroup(_a) {
35883
35866
  labelText = _a.labelText,
35884
35867
  helpText = _a.helpText,
35885
35868
  requirementText = _a.requirementText,
35886
- props = __rest$3(_a, ["className", "id", "errorMessage", "errorList", "labelText", "helpText", "requirementText"]);
35869
+ hint = _a.hint,
35870
+ props = __rest$3(_a, ["className", "id", "errorMessage", "errorList", "labelText", "helpText", "requirementText", "hint"]);
35887
35871
 
35888
35872
  var otherProps = Object.assign(Object.assign({}, props), {
35889
35873
  errorMessage: errorMessage,
@@ -35892,7 +35876,20 @@ function CheckboxGroup(_a) {
35892
35876
  return /*#__PURE__*/React__default.createElement(Fieldset, {
35893
35877
  className: className,
35894
35878
  id: id
35895
- }, /*#__PURE__*/React__default.createElement(Legend, null, /*#__PURE__*/React__default.createElement(LabelText, null, labelText), requirementText && /*#__PURE__*/React__default.createElement(RequirementText, null, requirementText)), helpText && /*#__PURE__*/React__default.createElement(HelpText$1, null, helpText), getCheckboxButtons(otherProps), /*#__PURE__*/React__default.createElement(InlineValidation, {
35879
+ }, /*#__PURE__*/React__default.createElement(Legend, null, /*#__PURE__*/React__default.createElement(LabelContent, {
35880
+ "data-testid": "label-content"
35881
+ }, /*#__PURE__*/React__default.createElement(LabelText, {
35882
+ "data-testid": "label-text"
35883
+ }, labelText), requirementText && /*#__PURE__*/React__default.createElement(RequirementText, {
35884
+ "data-testid": "requirement-text",
35885
+ ml: "none"
35886
+ }, requirementText), hint && /*#__PURE__*/React__default.createElement(Tooltip$1, {
35887
+ tooltip: hint
35888
+ }, /*#__PURE__*/React__default.createElement(InlineIcon, {
35889
+ color: "darkGrey",
35890
+ size: "x2",
35891
+ icon: "info"
35892
+ })))), helpText && /*#__PURE__*/React__default.createElement(HelpText$1, null, helpText), getCheckboxButtons(otherProps), /*#__PURE__*/React__default.createElement(InlineValidation, {
35896
35893
  mt: "x1",
35897
35894
  errorMessage: errorMessage,
35898
35895
  errorList: errorList
@@ -35922,22 +35919,11 @@ var getCheckboxButtons = function getCheckboxButtons(props) {
35922
35919
  return checkboxButtons;
35923
35920
  };
35924
35921
 
35925
- var LabelText = styled.span.withConfig({
35926
- displayName: "CheckboxGroup__LabelText",
35922
+ var Legend = styled.legend.withConfig({
35923
+ displayName: "CheckboxGroup__Legend",
35927
35924
  componentId: "sc-ubmlt9-0"
35928
35925
  })(function (_ref) {
35929
35926
  var theme = _ref.theme;
35930
- return {
35931
- fontSize: theme.fontSizes.small,
35932
- fontWeight: theme.fontWeights.bold,
35933
- lineHeight: theme.lineHeights.smallTextBase
35934
- };
35935
- });
35936
- var Legend = styled.legend.withConfig({
35937
- displayName: "CheckboxGroup__Legend",
35938
- componentId: "sc-ubmlt9-1"
35939
- })(function (_ref2) {
35940
- var theme = _ref2.theme;
35941
35927
  return {
35942
35928
  marginBottom: theme.space.x1
35943
35929
  };
@@ -62263,6 +62249,7 @@ var StyledTableCell = styled.td.withConfig({
62263
62249
  })(function (_ref) {
62264
62250
  var align = _ref.align,
62265
62251
  compact = _ref.compact,
62252
+ verticalAlign = _ref.verticalAlign,
62266
62253
  theme = _ref.theme;
62267
62254
  var padding = compact ? theme.space.x1 : theme.space.x2;
62268
62255
  return {
@@ -62270,6 +62257,7 @@ var StyledTableCell = styled.td.withConfig({
62270
62257
  paddingBottom: padding,
62271
62258
  textAlign: align,
62272
62259
  paddingRight: padding,
62260
+ verticalAlign: verticalAlign || "middle",
62273
62261
  "&:first-child": {
62274
62262
  paddingLeft: padding
62275
62263
  }
@@ -62308,7 +62296,8 @@ var TableCell = function TableCell(_ref2) {
62308
62296
 
62309
62297
  return /*#__PURE__*/React__default.createElement(StyledTableCell, {
62310
62298
  align: column.align,
62311
- compact: compact
62299
+ compact: compact,
62300
+ verticalAlign: row.verticalAlign
62312
62301
  }, cellContent);
62313
62302
  };
62314
62303
 
@@ -62343,11 +62332,12 @@ var StyledTr = styled.tr.withConfig({
62343
62332
  });
62344
62333
 
62345
62334
  var renderRows$1 = function renderRows(rows, columns, keyField, noRowsContent, rowHovers, compact, onRowMouseLeave, onRowMouseEnter, rowBorder) {
62346
- return rows.length > 0 ? rows.map(function (row) {
62335
+ return rows.length > 0 ? rows.map(function (row, rowIndex) {
62336
+ var rowKey = row[keyField] !== undefined ? row[keyField] : rowIndex;
62347
62337
  return /*#__PURE__*/React__default.createElement(TableBodyRow, {
62338
+ key: rowKey,
62348
62339
  row: row,
62349
62340
  columns: columns,
62350
- key: row[keyField],
62351
62341
  keyField: keyField,
62352
62342
  rowHovers: rowHovers,
62353
62343
  compact: compact,
@@ -14,6 +14,7 @@ interface CheckboxGroupProps {
14
14
  requirementText?: string;
15
15
  required?: boolean;
16
16
  disabled?: boolean;
17
+ hint?: string;
17
18
  }
18
- export default function CheckboxGroup({ className, id, errorMessage, errorList, labelText, helpText, requirementText, ...props }: CheckboxGroupProps): React.JSX.Element;
19
+ export default function CheckboxGroup({ className, id, errorMessage, errorList, labelText, helpText, requirementText, hint, ...props }: CheckboxGroupProps): React.JSX.Element;
19
20
  export {};
@@ -14,3 +14,4 @@ export declare const WithRequirementText: () => React.JSX.Element;
14
14
  export declare const WithAllAdditionalText: () => React.JSX.Element;
15
15
  export declare const WithAssociatedCustomInputComponent: () => React.JSX.Element;
16
16
  export declare const WithHint: () => React.JSX.Element;
17
+ export declare const WithRangeOfInputComponents: () => React.JSX.Element;
@@ -1,3 +1,4 @@
1
1
  /// <reference types="react" />
2
- declare const LabelText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
2
+ export declare const LabelContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
3
+ export declare const LabelText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
3
4
  export default LabelText;
@@ -16,3 +16,4 @@ export declare const WithMetadata: () => React.JSX.Element;
16
16
  export declare const WithFullWidthSection: () => React.JSX.Element;
17
17
  export declare const WithAFooter: () => React.JSX.Element;
18
18
  export declare const WithRowBorder: () => React.JSX.Element;
19
+ export declare const WithVerticalAlignment: () => React.JSX.Element;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const Inputs: () => React.JSX.Element;
7
+ export declare const TextVariants: () => React.JSX.Element;
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const Default: {
7
+ (): React.JSX.Element;
8
+ story: {
9
+ name: string;
10
+ };
11
+ };
12
+ export declare const Compact: {
13
+ (): React.JSX.Element;
14
+ story: {
15
+ name: string;
16
+ };
17
+ };
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const WithExpandableRows: {
7
+ (): React.JSX.Element;
8
+ story: {
9
+ name: string;
10
+ };
11
+ };
12
+ export declare const WithRowsExpandedByDefault: {
13
+ (): React.JSX.Element;
14
+ story: {
15
+ name: string;
16
+ };
17
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nulogy/components",
3
- "version": "14.5.0",
3
+ "version": "14.6.1",
4
4
  "description": "Component library for the Nulogy Design System - http://nulogy.design",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -85,7 +85,7 @@
85
85
  "@storybook/addon-knobs": "^6.1.9",
86
86
  "@storybook/addon-storysource": "^6.1.9",
87
87
  "@storybook/addon-toolbars": "^6.1.9",
88
- "@storybook/addon-viewport": "^6.1.9",
88
+ "@storybook/addon-viewport": "^8.1.11",
89
89
  "@storybook/codemod": "^6.1.9",
90
90
  "@storybook/react": "6.3.12",
91
91
  "@storybook/theming": "^6.1.9",
@@ -1,12 +0,0 @@
1
- import React, { ReactElement } from "react";
2
- import { IconName } from "@nulogy/icons";
3
- interface FramedIconProps extends React.ComponentPropsWithoutRef<"svg"> {
4
- iconSize: string;
5
- icon: IconName | "loading";
6
- focusable?: boolean;
7
- maxWidth?: string;
8
- tooltip?: string | ReactElement;
9
- isTooltipOpenByDefault?: boolean;
10
- }
11
- export default function FramedIcon({ isTooltipOpenByDefault, tooltip, maxWidth, iconSize, ...iconProps }: FramedIconProps): React.JSX.Element;
12
- export {};
@@ -1,19 +0,0 @@
1
- declare namespace _default {
2
- const title: string;
3
- }
4
- export default _default;
5
- export function WithExpandableRows(): React.JSX.Element;
6
- export namespace WithExpandableRows {
7
- namespace story {
8
- const name: string;
9
- }
10
- }
11
- export function WithRowsExpandedByDefault(): React.JSX.Element;
12
- export namespace WithRowsExpandedByDefault {
13
- export namespace story_1 {
14
- const name_1: string;
15
- export { name_1 as name };
16
- }
17
- export { story_1 as story };
18
- }
19
- import React from "react";