@nulogy/components 14.6.0 → 14.6.2

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
@@ -9813,7 +9813,8 @@
9813
9813
  componentId: "sc-150w9kl-1"
9814
9814
  })({
9815
9815
  position: "absolute",
9816
- top: 0
9816
+ inset: 0,
9817
+ margin: "auto"
9817
9818
  });
9818
9819
  var IconContainer = styled__default["default"].span.withConfig({
9819
9820
  displayName: "Icon__IconContainer",
@@ -9825,11 +9826,13 @@
9825
9826
  height: "1em",
9826
9827
  width: ICON_SIZE_RATIO + "em"
9827
9828
  });
9828
- function InlineIcon(props) {
9829
- return /*#__PURE__*/React__default["default"].createElement(IconContainer, Object.assign({}, props), /*#__PURE__*/React__default["default"].createElement(CenteredIcon, Object.assign({
9829
+ var InlineIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
9830
+ return /*#__PURE__*/React__default["default"].createElement(IconContainer, Object.assign({
9831
+ ref: ref
9832
+ }, props), /*#__PURE__*/React__default["default"].createElement(CenteredIcon, Object.assign({
9830
9833
  size: ICON_SIZE_RATIO + "em"
9831
9834
  }, props)));
9832
- }
9835
+ });
9833
9836
  var InputIcon = styled__default["default"](Icon).withConfig({
9834
9837
  displayName: "Icon__InputIcon",
9835
9838
  componentId: "sc-150w9kl-3"
@@ -25981,30 +25984,6 @@
25981
25984
  }, props));
25982
25985
  };
25983
25986
 
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
25987
  /**!
26009
25988
  * @fileOverview Kickass library to create and place poppers near their reference elements.
26010
25989
  * @version 1.16.1
@@ -29249,32 +29228,41 @@
29249
29228
  }, tooltip));
29250
29229
  });
29251
29230
 
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"]);
29231
+ var Label = styled__default["default"].label.withConfig({
29232
+ displayName: "Label",
29233
+ componentId: "sc-lf392x-0"
29234
+ })(function (_ref) {
29235
+ var _ref$color = _ref.color,
29236
+ color = _ref$color === void 0 ? "black" : _ref$color;
29237
+ return {
29238
+ color: color,
29239
+ display: "inline-block"
29240
+ };
29241
+ }, display, space, color);
29258
29242
 
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
- }
29243
+ var LabelContent = styled__default["default"].span.withConfig({
29244
+ displayName: "LabelText__LabelContent",
29245
+ componentId: "sc-1crkhtp-0"
29246
+ })(function (_ref) {
29247
+ var theme = _ref.theme;
29248
+ return {
29249
+ display: "flex",
29250
+ flexWrap: "wrap",
29251
+ gap: theme.space.x0_5,
29252
+ alignItems: "baseline"
29253
+ };
29254
+ });
29255
+ var LabelText = styled__default["default"].span.withConfig({
29256
+ displayName: "LabelText",
29257
+ componentId: "sc-1crkhtp-1"
29258
+ })(function (_ref2) {
29259
+ var theme = _ref2.theme;
29260
+ return {
29261
+ fontSize: theme.fontSizes.small,
29262
+ fontWeight: theme.fontWeights.bold,
29263
+ lineHeight: theme.lineHeights.smallTextCompressed
29264
+ };
29265
+ });
29278
29266
 
29279
29267
  function FieldLabel(_a) {
29280
29268
  var labelText = _a.labelText,
@@ -29289,21 +29277,19 @@
29289
29277
  }, props), /*#__PURE__*/React__default["default"].createElement(Box, {
29290
29278
  mb: children && "x1",
29291
29279
  "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, {
29280
+ }, /*#__PURE__*/React__default["default"].createElement(LabelContent, {
29281
+ "data-testid": "label-content"
29282
+ }, /*#__PURE__*/React__default["default"].createElement(LabelText, {
29297
29283
  "data-testid": "label-text"
29298
29284
  }, 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",
29285
+ "data-testid": "requirement-text",
29286
+ ml: "none"
29287
+ }, requirementText), hint && /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
29306
29288
  tooltip: hint
29289
+ }, /*#__PURE__*/React__default["default"].createElement(InlineIcon, {
29290
+ color: "darkGrey",
29291
+ size: "x2",
29292
+ icon: "info"
29307
29293
  }))), helpText && /*#__PURE__*/React__default["default"].createElement(HelpText$1, {
29308
29294
  "data-testid": "help-text"
29309
29295
  }, helpText)), children);
@@ -35900,7 +35886,8 @@
35900
35886
  labelText = _a.labelText,
35901
35887
  helpText = _a.helpText,
35902
35888
  requirementText = _a.requirementText,
35903
- props = __rest$3(_a, ["className", "id", "errorMessage", "errorList", "labelText", "helpText", "requirementText"]);
35889
+ hint = _a.hint,
35890
+ props = __rest$3(_a, ["className", "id", "errorMessage", "errorList", "labelText", "helpText", "requirementText", "hint"]);
35904
35891
 
35905
35892
  var otherProps = Object.assign(Object.assign({}, props), {
35906
35893
  errorMessage: errorMessage,
@@ -35909,7 +35896,20 @@
35909
35896
  return /*#__PURE__*/React__default["default"].createElement(Fieldset, {
35910
35897
  className: className,
35911
35898
  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, {
35899
+ }, /*#__PURE__*/React__default["default"].createElement(Legend, null, /*#__PURE__*/React__default["default"].createElement(LabelContent, {
35900
+ "data-testid": "label-content"
35901
+ }, /*#__PURE__*/React__default["default"].createElement(LabelText, {
35902
+ "data-testid": "label-text"
35903
+ }, labelText), requirementText && /*#__PURE__*/React__default["default"].createElement(RequirementText, {
35904
+ "data-testid": "requirement-text",
35905
+ ml: "none"
35906
+ }, requirementText), hint && /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
35907
+ tooltip: hint
35908
+ }, /*#__PURE__*/React__default["default"].createElement(InlineIcon, {
35909
+ color: "darkGrey",
35910
+ size: "x2",
35911
+ icon: "info"
35912
+ })))), helpText && /*#__PURE__*/React__default["default"].createElement(HelpText$1, null, helpText), getCheckboxButtons(otherProps), /*#__PURE__*/React__default["default"].createElement(InlineValidation, {
35913
35913
  mt: "x1",
35914
35914
  errorMessage: errorMessage,
35915
35915
  errorList: errorList
@@ -35939,22 +35939,11 @@
35939
35939
  return checkboxButtons;
35940
35940
  };
35941
35941
 
35942
- var LabelText = styled__default["default"].span.withConfig({
35943
- displayName: "CheckboxGroup__LabelText",
35942
+ var Legend = styled__default["default"].legend.withConfig({
35943
+ displayName: "CheckboxGroup__Legend",
35944
35944
  componentId: "sc-ubmlt9-0"
35945
35945
  })(function (_ref) {
35946
35946
  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
35947
  return {
35959
35948
  marginBottom: theme.space.x1
35960
35949
  };
@@ -62363,11 +62352,12 @@
62363
62352
  });
62364
62353
 
62365
62354
  var renderRows$1 = function renderRows(rows, columns, keyField, noRowsContent, rowHovers, compact, onRowMouseLeave, onRowMouseEnter, rowBorder) {
62366
- return rows.length > 0 ? rows.map(function (row) {
62355
+ return rows.length > 0 ? rows.map(function (row, rowIndex) {
62356
+ var rowKey = row[keyField] !== undefined ? row[keyField] : rowIndex;
62367
62357
  return /*#__PURE__*/React__default["default"].createElement(TableBodyRow, {
62358
+ key: rowKey,
62368
62359
  row: row,
62369
62360
  columns: columns,
62370
- key: row[keyField],
62371
62361
  keyField: keyField,
62372
62362
  rowHovers: rowHovers,
62373
62363
  compact: compact,
@@ -9796,7 +9796,8 @@ var CenteredIcon = styled(Svg$1).withConfig({
9796
9796
  componentId: "sc-150w9kl-1"
9797
9797
  })({
9798
9798
  position: "absolute",
9799
- top: 0
9799
+ inset: 0,
9800
+ margin: "auto"
9800
9801
  });
9801
9802
  var IconContainer = styled.span.withConfig({
9802
9803
  displayName: "Icon__IconContainer",
@@ -9808,11 +9809,13 @@ var IconContainer = styled.span.withConfig({
9808
9809
  height: "1em",
9809
9810
  width: ICON_SIZE_RATIO + "em"
9810
9811
  });
9811
- function InlineIcon(props) {
9812
- return /*#__PURE__*/React__default.createElement(IconContainer, Object.assign({}, props), /*#__PURE__*/React__default.createElement(CenteredIcon, Object.assign({
9812
+ var InlineIcon = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
9813
+ return /*#__PURE__*/React__default.createElement(IconContainer, Object.assign({
9814
+ ref: ref
9815
+ }, props), /*#__PURE__*/React__default.createElement(CenteredIcon, Object.assign({
9813
9816
  size: ICON_SIZE_RATIO + "em"
9814
9817
  }, props)));
9815
- }
9818
+ });
9816
9819
  var InputIcon = styled(Icon).withConfig({
9817
9820
  displayName: "Icon__InputIcon",
9818
9821
  componentId: "sc-150w9kl-3"
@@ -25964,30 +25967,6 @@ var RequirementText = function RequirementText(props) {
25964
25967
  }, props));
25965
25968
  };
25966
25969
 
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
25970
  /**!
25992
25971
  * @fileOverview Kickass library to create and place poppers near their reference elements.
25993
25972
  * @version 1.16.1
@@ -29232,32 +29211,41 @@ var Tooltip$1 = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
29232
29211
  }, tooltip));
29233
29212
  });
29234
29213
 
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"]);
29214
+ var Label = styled.label.withConfig({
29215
+ displayName: "Label",
29216
+ componentId: "sc-lf392x-0"
29217
+ })(function (_ref) {
29218
+ var _ref$color = _ref.color,
29219
+ color = _ref$color === void 0 ? "black" : _ref$color;
29220
+ return {
29221
+ color: color,
29222
+ display: "inline-block"
29223
+ };
29224
+ }, display, space, color);
29241
29225
 
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
- }
29226
+ var LabelContent = styled.span.withConfig({
29227
+ displayName: "LabelText__LabelContent",
29228
+ componentId: "sc-1crkhtp-0"
29229
+ })(function (_ref) {
29230
+ var theme = _ref.theme;
29231
+ return {
29232
+ display: "flex",
29233
+ flexWrap: "wrap",
29234
+ gap: theme.space.x0_5,
29235
+ alignItems: "baseline"
29236
+ };
29237
+ });
29238
+ var LabelText = styled.span.withConfig({
29239
+ displayName: "LabelText",
29240
+ componentId: "sc-1crkhtp-1"
29241
+ })(function (_ref2) {
29242
+ var theme = _ref2.theme;
29243
+ return {
29244
+ fontSize: theme.fontSizes.small,
29245
+ fontWeight: theme.fontWeights.bold,
29246
+ lineHeight: theme.lineHeights.smallTextCompressed
29247
+ };
29248
+ });
29261
29249
 
29262
29250
  function FieldLabel(_a) {
29263
29251
  var labelText = _a.labelText,
@@ -29272,21 +29260,19 @@ function FieldLabel(_a) {
29272
29260
  }, props), /*#__PURE__*/React__default.createElement(Box, {
29273
29261
  mb: children && "x1",
29274
29262
  "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, {
29263
+ }, /*#__PURE__*/React__default.createElement(LabelContent, {
29264
+ "data-testid": "label-content"
29265
+ }, /*#__PURE__*/React__default.createElement(LabelText, {
29280
29266
  "data-testid": "label-text"
29281
29267
  }, 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",
29268
+ "data-testid": "requirement-text",
29269
+ ml: "none"
29270
+ }, requirementText), hint && /*#__PURE__*/React__default.createElement(Tooltip$1, {
29289
29271
  tooltip: hint
29272
+ }, /*#__PURE__*/React__default.createElement(InlineIcon, {
29273
+ color: "darkGrey",
29274
+ size: "x2",
29275
+ icon: "info"
29290
29276
  }))), helpText && /*#__PURE__*/React__default.createElement(HelpText$1, {
29291
29277
  "data-testid": "help-text"
29292
29278
  }, helpText)), children);
@@ -35883,7 +35869,8 @@ function CheckboxGroup(_a) {
35883
35869
  labelText = _a.labelText,
35884
35870
  helpText = _a.helpText,
35885
35871
  requirementText = _a.requirementText,
35886
- props = __rest$3(_a, ["className", "id", "errorMessage", "errorList", "labelText", "helpText", "requirementText"]);
35872
+ hint = _a.hint,
35873
+ props = __rest$3(_a, ["className", "id", "errorMessage", "errorList", "labelText", "helpText", "requirementText", "hint"]);
35887
35874
 
35888
35875
  var otherProps = Object.assign(Object.assign({}, props), {
35889
35876
  errorMessage: errorMessage,
@@ -35892,7 +35879,20 @@ function CheckboxGroup(_a) {
35892
35879
  return /*#__PURE__*/React__default.createElement(Fieldset, {
35893
35880
  className: className,
35894
35881
  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, {
35882
+ }, /*#__PURE__*/React__default.createElement(Legend, null, /*#__PURE__*/React__default.createElement(LabelContent, {
35883
+ "data-testid": "label-content"
35884
+ }, /*#__PURE__*/React__default.createElement(LabelText, {
35885
+ "data-testid": "label-text"
35886
+ }, labelText), requirementText && /*#__PURE__*/React__default.createElement(RequirementText, {
35887
+ "data-testid": "requirement-text",
35888
+ ml: "none"
35889
+ }, requirementText), hint && /*#__PURE__*/React__default.createElement(Tooltip$1, {
35890
+ tooltip: hint
35891
+ }, /*#__PURE__*/React__default.createElement(InlineIcon, {
35892
+ color: "darkGrey",
35893
+ size: "x2",
35894
+ icon: "info"
35895
+ })))), helpText && /*#__PURE__*/React__default.createElement(HelpText$1, null, helpText), getCheckboxButtons(otherProps), /*#__PURE__*/React__default.createElement(InlineValidation, {
35896
35896
  mt: "x1",
35897
35897
  errorMessage: errorMessage,
35898
35898
  errorList: errorList
@@ -35922,22 +35922,11 @@ var getCheckboxButtons = function getCheckboxButtons(props) {
35922
35922
  return checkboxButtons;
35923
35923
  };
35924
35924
 
35925
- var LabelText = styled.span.withConfig({
35926
- displayName: "CheckboxGroup__LabelText",
35925
+ var Legend = styled.legend.withConfig({
35926
+ displayName: "CheckboxGroup__Legend",
35927
35927
  componentId: "sc-ubmlt9-0"
35928
35928
  })(function (_ref) {
35929
35929
  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
35930
  return {
35942
35931
  marginBottom: theme.space.x1
35943
35932
  };
@@ -62346,11 +62335,12 @@ var StyledTr = styled.tr.withConfig({
62346
62335
  });
62347
62336
 
62348
62337
  var renderRows$1 = function renderRows(rows, columns, keyField, noRowsContent, rowHovers, compact, onRowMouseLeave, onRowMouseEnter, rowBorder) {
62349
- return rows.length > 0 ? rows.map(function (row) {
62338
+ return rows.length > 0 ? rows.map(function (row, rowIndex) {
62339
+ var rowKey = row[keyField] !== undefined ? row[keyField] : rowIndex;
62350
62340
  return /*#__PURE__*/React__default.createElement(TableBodyRow, {
62341
+ key: rowKey,
62351
62342
  row: row,
62352
62343
  columns: columns,
62353
- key: row[keyField],
62354
62344
  keyField: keyField,
62355
62345
  rowHovers: rowHovers,
62356
62346
  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;
@@ -11,6 +11,6 @@ export interface IconProps extends SpaceProps {
11
11
  style?: React.CSSProperties;
12
12
  }
13
13
  declare const Icon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<IconProps & React.RefAttributes<SVGSVGElement>, IconProps>> & string & Omit<React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>, keyof React.Component<any, {}, any>>;
14
- export declare function InlineIcon(props: IconProps): React.JSX.Element;
14
+ export declare const InlineIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<HTMLSpanElement>>;
15
15
  export declare const InputIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<IconProps & React.RefAttributes<SVGSVGElement>, keyof IconProps> & IconProps, PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>>>> & string;
16
16
  export default Icon;
@@ -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.6.0",
3
+ "version": "14.6.2",
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";