@nulogy/components 7.1.0 → 7.2.0

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
@@ -16443,15 +16443,23 @@
16443
16443
  border: "none"
16444
16444
  };
16445
16445
 
16446
+ function getColorFromProps(props) {
16447
+ return themeGet("colors." + props.color, props.color)(props);
16448
+ }
16449
+
16450
+ function getColor(props) {
16451
+ return getColorFromProps(props) || props.theme.colors.blue;
16452
+ }
16453
+
16446
16454
  var getHoverColor = function getHoverColor(props) {
16447
- return props.hover ? props.color : curriedDarken("0.1", themeGet("colors." + props.color, props.color)(props));
16455
+ return props.hover ? getColor(props) : curriedDarken("0.1", getColor(props));
16448
16456
  };
16449
16457
 
16450
16458
  var Link = styled__default['default'].a.withConfig({
16451
16459
  shouldForwardProp: function shouldForwardProp(prop, defaultValidatorFn) {
16452
16460
  return !["underline", "hover"].includes(prop) && defaultValidatorFn(prop);
16453
16461
  }
16454
- })(color, space, typography, function (_a) {
16462
+ })(function (_a) {
16455
16463
  var underline = _a.underline,
16456
16464
  as = _a.as,
16457
16465
  props = __rest(_a, ["underline", "as"]);
@@ -16459,17 +16467,16 @@
16459
16467
  return Object.assign(Object.assign({}, resetButtonStyles), {
16460
16468
  padding: as === "button" ? "0" : undefined,
16461
16469
  textDecoration: underline ? "underline" : "none",
16470
+ fontSize: props.theme.fontSizes.medium,
16471
+ color: getColor(props),
16462
16472
  "&:hover": {
16463
16473
  cursor: "pointer",
16464
16474
  color: getHoverColor(props)
16465
16475
  }
16466
16476
  });
16467
- });
16477
+ }, addStyledProps);
16468
16478
  Link.defaultProps = {
16469
- className: undefined,
16470
- underline: true,
16471
- fontSize: "medium",
16472
- color: "blue"
16479
+ underline: true
16473
16480
  };
16474
16481
 
16475
16482
  var ListItem = styled__default['default'].li.withConfig({
@@ -45112,9 +45119,7 @@
45112
45119
  fontSize: theme.fontSizes.large,
45113
45120
  fontWeight: theme.fontWeights.medium,
45114
45121
  lineHeight: theme.lineHeights.heading3,
45115
- marginBottom: theme.space.x1,
45116
- padding: theme.space.x1 + " " + theme.space.x3,
45117
- paddingLeft: getPaddingLeft(0)
45122
+ padding: theme.space.x1 + " " + theme.space.x3
45118
45123
  };
45119
45124
  };
45120
45125
 
@@ -45144,7 +45149,7 @@
45144
45149
  opacity: ".5"
45145
45150
  }
45146
45151
  });
45147
- });
45152
+ }, addStyledProps);
45148
45153
  var TopLevelText = styled__default['default'](Text).withConfig({
45149
45154
  displayName: "MobileMenu__TopLevelText",
45150
45155
  componentId: "sc-18t6zrc-2"
@@ -45153,27 +45158,10 @@
45153
45158
  return Object.assign(Object.assign({}, getSharedStyles(theme)), {
45154
45159
  color: theme.colors.blackBlue
45155
45160
  });
45156
- });
45157
- var ChildIndentingLi = styled__default['default'].li.withConfig({
45158
- displayName: "MobileMenu__ChildIndentingLi",
45159
- componentId: "sc-18t6zrc-3"
45160
- })(function (_ref4) {
45161
- var _ref5;
45162
-
45163
- var layer = _ref4.layer,
45164
- theme = _ref4.theme;
45165
- return _ref5 = {
45166
- marginBottom: theme.space.x1
45167
- }, _ref5["> " + DropdownButton + ", > " + DropdownLink] = {
45168
- // eslint-disable-next-line no-mixed-operators
45169
- paddingLeft: 24 * layer + 20 + "px"
45170
- }, _ref5["> " + DropdownText] = {
45171
- paddingLeft: getPaddingLeft(layer)
45172
- }, _ref5;
45173
- });
45161
+ }, addStyledProps);
45174
45162
  var SubMenuItemsList = styled__default['default'].ul.withConfig({
45175
45163
  displayName: "MobileMenu__SubMenuItemsList",
45176
- componentId: "sc-18t6zrc-4"
45164
+ componentId: "sc-18t6zrc-3"
45177
45165
  })({
45178
45166
  listStyle: "none",
45179
45167
  paddingLeft: "0",
@@ -45183,23 +45171,25 @@
45183
45171
  var renderMenuLink = function renderMenuLink(menuItem, linkOnClick, themeColorObject, layer) {
45184
45172
  var _a;
45185
45173
 
45186
- var MenuLink = layer === 0 ? TopLevelLink : DropdownLink;
45187
- return /*#__PURE__*/React__default['default'].createElement(ChildIndentingLi, {
45188
- layer: layer,
45189
- key: (_a = menuItem.key) !== null && _a !== void 0 ? _a : menuItem.name
45190
- }, /*#__PURE__*/React__default['default'].createElement(MenuLink, {
45174
+ var sharedLinkProps = {
45191
45175
  onClick: linkOnClick,
45192
45176
  href: menuItem.href,
45193
45177
  as: menuItem.as,
45194
- to: menuItem.to
45195
- }, menuItem.name));
45178
+ to: menuItem.to,
45179
+ // eslint-disable-next-line no-mixed-operators
45180
+ pl: layer === 0 ? getPaddingLeft(layer) : 24 * layer + 20 + "px",
45181
+ mb: "x1"
45182
+ };
45183
+ var MenuLink = layer === 0 ? TopLevelLink : DropdownLink;
45184
+ return /*#__PURE__*/React__default['default'].createElement("li", {
45185
+ key: (_a = menuItem.key) !== null && _a !== void 0 ? _a : menuItem.name
45186
+ }, /*#__PURE__*/React__default['default'].createElement(MenuLink, Object.assign({}, sharedLinkProps), menuItem.name));
45196
45187
  };
45197
45188
 
45198
45189
  var renderCustom = function renderCustom(menuItem, linkOnClick, themeColorObject, layer) {
45199
45190
  var _a;
45200
45191
 
45201
- return /*#__PURE__*/React__default['default'].createElement(ChildIndentingLi, {
45202
- layer: layer,
45192
+ return /*#__PURE__*/React__default['default'].createElement("li", {
45203
45193
  key: (_a = menuItem.key) !== null && _a !== void 0 ? _a : menuItem.name
45204
45194
  }, menuItem.render({
45205
45195
  size: "small",
@@ -45228,10 +45218,12 @@
45228
45218
  var _a;
45229
45219
 
45230
45220
  var MenuText = layer === 0 ? TopLevelText : DropdownText;
45231
- return /*#__PURE__*/React__default['default'].createElement(ChildIndentingLi, {
45232
- layer: layer,
45221
+ return /*#__PURE__*/React__default['default'].createElement("li", {
45233
45222
  key: (_a = menuItem.key) !== null && _a !== void 0 ? _a : menuItem.name
45234
- }, /*#__PURE__*/React__default['default'].createElement(MenuText, null, menuItem.name));
45223
+ }, /*#__PURE__*/React__default['default'].createElement(MenuText, {
45224
+ pl: getPaddingLeft(layer),
45225
+ mb: "x1"
45226
+ }, menuItem.name));
45235
45227
  };
45236
45228
 
45237
45229
  var getRenderFunction = function getRenderFunction(menuItem) {
@@ -45259,20 +45251,19 @@
45259
45251
 
45260
45252
  var getSubMenuHeading = function getSubMenuHeading(layer, name) {
45261
45253
  return layer === 0 ? /*#__PURE__*/React__default['default'].createElement(TopLevelText, {
45262
- as: "h3"
45254
+ as: "h3",
45255
+ mb: "x1"
45263
45256
  }, name) : /*#__PURE__*/React__default['default'].createElement(DropdownText, {
45264
45257
  mb: "x1",
45265
- style: {
45266
- paddingLeft: getPaddingLeft(layer)
45267
- }
45258
+ pl: getPaddingLeft(layer)
45268
45259
  }, name);
45269
45260
  };
45270
45261
 
45271
- var SubMenu = function SubMenu(_ref6) {
45272
- var menuItem = _ref6.menuItem,
45273
- linkOnClick = _ref6.linkOnClick,
45274
- themeColorObject = _ref6.themeColorObject,
45275
- layer = _ref6.layer;
45262
+ var SubMenu = function SubMenu(_ref4) {
45263
+ var menuItem = _ref4.menuItem,
45264
+ linkOnClick = _ref4.linkOnClick,
45265
+ themeColorObject = _ref4.themeColorObject,
45266
+ layer = _ref4.layer;
45276
45267
 
45277
45268
  var defaultRender = function defaultRender() {
45278
45269
  return getSubMenuHeading(layer, menuItem.name);
@@ -45287,27 +45278,27 @@
45287
45278
 
45288
45279
  var Menu$1 = styled__default['default'].ul.withConfig({
45289
45280
  displayName: "MobileMenu__Menu",
45290
- componentId: "sc-18t6zrc-5"
45291
- })(function (_ref7) {
45292
- var _ref8;
45281
+ componentId: "sc-18t6zrc-4"
45282
+ })(function (_ref5) {
45283
+ var _ref6;
45293
45284
 
45294
- var theme = _ref7.theme;
45295
- return _ref8 = {
45285
+ var theme = _ref5.theme;
45286
+ return _ref6 = {
45296
45287
  listStyle: "none",
45297
45288
  margin: "0",
45298
45289
  padding: theme.space.x1 + " 0",
45299
45290
  zIndex: theme.zIndices.content,
45300
45291
  width: "100%",
45301
45292
  color: theme.colors.white
45302
- }, _ref8["" + Heading3] = {
45293
+ }, _ref6["" + Heading3] = {
45303
45294
  padding: theme.space.x1 + " 0 " + theme.space.x1 + " " + theme.space.x3
45304
- }, _ref8;
45295
+ }, _ref6;
45305
45296
  });
45306
45297
  var Nav = styled__default['default'].nav.withConfig({
45307
45298
  displayName: "MobileMenu__Nav",
45308
- componentId: "sc-18t6zrc-6"
45309
- })(function (_ref9) {
45310
- var backgroundColor = _ref9.backgroundColor;
45299
+ componentId: "sc-18t6zrc-5"
45300
+ })(function (_ref7) {
45301
+ var backgroundColor = _ref7.backgroundColor;
45311
45302
  return {
45312
45303
  backgroundColor: backgroundColor
45313
45304
  };
@@ -45345,7 +45336,7 @@
45345
45336
 
45346
45337
  var MobileMenu = styled__default['default'](BaseMobileMenu).withConfig({
45347
45338
  displayName: "MobileMenu",
45348
- componentId: "sc-18t6zrc-7"
45339
+ componentId: "sc-18t6zrc-6"
45349
45340
  })(display);
45350
45341
 
45351
45342
  var borderStyle = "1px solid #e4e7eb";
@@ -16417,15 +16417,23 @@ var resetButtonStyles = {
16417
16417
  border: "none"
16418
16418
  };
16419
16419
 
16420
+ function getColorFromProps(props) {
16421
+ return themeGet("colors." + props.color, props.color)(props);
16422
+ }
16423
+
16424
+ function getColor(props) {
16425
+ return getColorFromProps(props) || props.theme.colors.blue;
16426
+ }
16427
+
16420
16428
  var getHoverColor = function getHoverColor(props) {
16421
- return props.hover ? props.color : curriedDarken("0.1", themeGet("colors." + props.color, props.color)(props));
16429
+ return props.hover ? getColor(props) : curriedDarken("0.1", getColor(props));
16422
16430
  };
16423
16431
 
16424
16432
  var Link = styled.a.withConfig({
16425
16433
  shouldForwardProp: function shouldForwardProp(prop, defaultValidatorFn) {
16426
16434
  return !["underline", "hover"].includes(prop) && defaultValidatorFn(prop);
16427
16435
  }
16428
- })(color, space, typography, function (_a) {
16436
+ })(function (_a) {
16429
16437
  var underline = _a.underline,
16430
16438
  as = _a.as,
16431
16439
  props = __rest(_a, ["underline", "as"]);
@@ -16433,17 +16441,16 @@ var Link = styled.a.withConfig({
16433
16441
  return Object.assign(Object.assign({}, resetButtonStyles), {
16434
16442
  padding: as === "button" ? "0" : undefined,
16435
16443
  textDecoration: underline ? "underline" : "none",
16444
+ fontSize: props.theme.fontSizes.medium,
16445
+ color: getColor(props),
16436
16446
  "&:hover": {
16437
16447
  cursor: "pointer",
16438
16448
  color: getHoverColor(props)
16439
16449
  }
16440
16450
  });
16441
- });
16451
+ }, addStyledProps);
16442
16452
  Link.defaultProps = {
16443
- className: undefined,
16444
- underline: true,
16445
- fontSize: "medium",
16446
- color: "blue"
16453
+ underline: true
16447
16454
  };
16448
16455
 
16449
16456
  var ListItem = styled.li.withConfig({
@@ -45086,9 +45093,7 @@ var getSharedStyles = function getSharedStyles(theme) {
45086
45093
  fontSize: theme.fontSizes.large,
45087
45094
  fontWeight: theme.fontWeights.medium,
45088
45095
  lineHeight: theme.lineHeights.heading3,
45089
- marginBottom: theme.space.x1,
45090
- padding: theme.space.x1 + " " + theme.space.x3,
45091
- paddingLeft: getPaddingLeft(0)
45096
+ padding: theme.space.x1 + " " + theme.space.x3
45092
45097
  };
45093
45098
  };
45094
45099
 
@@ -45118,7 +45123,7 @@ var TopLevelLink = styled(Link).withConfig({
45118
45123
  opacity: ".5"
45119
45124
  }
45120
45125
  });
45121
- });
45126
+ }, addStyledProps);
45122
45127
  var TopLevelText = styled(Text).withConfig({
45123
45128
  displayName: "MobileMenu__TopLevelText",
45124
45129
  componentId: "sc-18t6zrc-2"
@@ -45127,27 +45132,10 @@ var TopLevelText = styled(Text).withConfig({
45127
45132
  return Object.assign(Object.assign({}, getSharedStyles(theme)), {
45128
45133
  color: theme.colors.blackBlue
45129
45134
  });
45130
- });
45131
- var ChildIndentingLi = styled.li.withConfig({
45132
- displayName: "MobileMenu__ChildIndentingLi",
45133
- componentId: "sc-18t6zrc-3"
45134
- })(function (_ref4) {
45135
- var _ref5;
45136
-
45137
- var layer = _ref4.layer,
45138
- theme = _ref4.theme;
45139
- return _ref5 = {
45140
- marginBottom: theme.space.x1
45141
- }, _ref5["> " + DropdownButton + ", > " + DropdownLink] = {
45142
- // eslint-disable-next-line no-mixed-operators
45143
- paddingLeft: 24 * layer + 20 + "px"
45144
- }, _ref5["> " + DropdownText] = {
45145
- paddingLeft: getPaddingLeft(layer)
45146
- }, _ref5;
45147
- });
45135
+ }, addStyledProps);
45148
45136
  var SubMenuItemsList = styled.ul.withConfig({
45149
45137
  displayName: "MobileMenu__SubMenuItemsList",
45150
- componentId: "sc-18t6zrc-4"
45138
+ componentId: "sc-18t6zrc-3"
45151
45139
  })({
45152
45140
  listStyle: "none",
45153
45141
  paddingLeft: "0",
@@ -45157,23 +45145,25 @@ var SubMenuItemsList = styled.ul.withConfig({
45157
45145
  var renderMenuLink = function renderMenuLink(menuItem, linkOnClick, themeColorObject, layer) {
45158
45146
  var _a;
45159
45147
 
45160
- var MenuLink = layer === 0 ? TopLevelLink : DropdownLink;
45161
- return /*#__PURE__*/React__default.createElement(ChildIndentingLi, {
45162
- layer: layer,
45163
- key: (_a = menuItem.key) !== null && _a !== void 0 ? _a : menuItem.name
45164
- }, /*#__PURE__*/React__default.createElement(MenuLink, {
45148
+ var sharedLinkProps = {
45165
45149
  onClick: linkOnClick,
45166
45150
  href: menuItem.href,
45167
45151
  as: menuItem.as,
45168
- to: menuItem.to
45169
- }, menuItem.name));
45152
+ to: menuItem.to,
45153
+ // eslint-disable-next-line no-mixed-operators
45154
+ pl: layer === 0 ? getPaddingLeft(layer) : 24 * layer + 20 + "px",
45155
+ mb: "x1"
45156
+ };
45157
+ var MenuLink = layer === 0 ? TopLevelLink : DropdownLink;
45158
+ return /*#__PURE__*/React__default.createElement("li", {
45159
+ key: (_a = menuItem.key) !== null && _a !== void 0 ? _a : menuItem.name
45160
+ }, /*#__PURE__*/React__default.createElement(MenuLink, Object.assign({}, sharedLinkProps), menuItem.name));
45170
45161
  };
45171
45162
 
45172
45163
  var renderCustom = function renderCustom(menuItem, linkOnClick, themeColorObject, layer) {
45173
45164
  var _a;
45174
45165
 
45175
- return /*#__PURE__*/React__default.createElement(ChildIndentingLi, {
45176
- layer: layer,
45166
+ return /*#__PURE__*/React__default.createElement("li", {
45177
45167
  key: (_a = menuItem.key) !== null && _a !== void 0 ? _a : menuItem.name
45178
45168
  }, menuItem.render({
45179
45169
  size: "small",
@@ -45202,10 +45192,12 @@ var renderText = function renderText(menuItem, linkOnClick, themeColorObject, la
45202
45192
  var _a;
45203
45193
 
45204
45194
  var MenuText = layer === 0 ? TopLevelText : DropdownText;
45205
- return /*#__PURE__*/React__default.createElement(ChildIndentingLi, {
45206
- layer: layer,
45195
+ return /*#__PURE__*/React__default.createElement("li", {
45207
45196
  key: (_a = menuItem.key) !== null && _a !== void 0 ? _a : menuItem.name
45208
- }, /*#__PURE__*/React__default.createElement(MenuText, null, menuItem.name));
45197
+ }, /*#__PURE__*/React__default.createElement(MenuText, {
45198
+ pl: getPaddingLeft(layer),
45199
+ mb: "x1"
45200
+ }, menuItem.name));
45209
45201
  };
45210
45202
 
45211
45203
  var getRenderFunction = function getRenderFunction(menuItem) {
@@ -45233,20 +45225,19 @@ var renderTopLayerMenuItems = function renderTopLayerMenuItems(menuData, linkOnC
45233
45225
 
45234
45226
  var getSubMenuHeading = function getSubMenuHeading(layer, name) {
45235
45227
  return layer === 0 ? /*#__PURE__*/React__default.createElement(TopLevelText, {
45236
- as: "h3"
45228
+ as: "h3",
45229
+ mb: "x1"
45237
45230
  }, name) : /*#__PURE__*/React__default.createElement(DropdownText, {
45238
45231
  mb: "x1",
45239
- style: {
45240
- paddingLeft: getPaddingLeft(layer)
45241
- }
45232
+ pl: getPaddingLeft(layer)
45242
45233
  }, name);
45243
45234
  };
45244
45235
 
45245
- var SubMenu = function SubMenu(_ref6) {
45246
- var menuItem = _ref6.menuItem,
45247
- linkOnClick = _ref6.linkOnClick,
45248
- themeColorObject = _ref6.themeColorObject,
45249
- layer = _ref6.layer;
45236
+ var SubMenu = function SubMenu(_ref4) {
45237
+ var menuItem = _ref4.menuItem,
45238
+ linkOnClick = _ref4.linkOnClick,
45239
+ themeColorObject = _ref4.themeColorObject,
45240
+ layer = _ref4.layer;
45250
45241
 
45251
45242
  var defaultRender = function defaultRender() {
45252
45243
  return getSubMenuHeading(layer, menuItem.name);
@@ -45261,27 +45252,27 @@ var SubMenu = function SubMenu(_ref6) {
45261
45252
 
45262
45253
  var Menu$1 = styled.ul.withConfig({
45263
45254
  displayName: "MobileMenu__Menu",
45264
- componentId: "sc-18t6zrc-5"
45265
- })(function (_ref7) {
45266
- var _ref8;
45255
+ componentId: "sc-18t6zrc-4"
45256
+ })(function (_ref5) {
45257
+ var _ref6;
45267
45258
 
45268
- var theme = _ref7.theme;
45269
- return _ref8 = {
45259
+ var theme = _ref5.theme;
45260
+ return _ref6 = {
45270
45261
  listStyle: "none",
45271
45262
  margin: "0",
45272
45263
  padding: theme.space.x1 + " 0",
45273
45264
  zIndex: theme.zIndices.content,
45274
45265
  width: "100%",
45275
45266
  color: theme.colors.white
45276
- }, _ref8["" + Heading3] = {
45267
+ }, _ref6["" + Heading3] = {
45277
45268
  padding: theme.space.x1 + " 0 " + theme.space.x1 + " " + theme.space.x3
45278
- }, _ref8;
45269
+ }, _ref6;
45279
45270
  });
45280
45271
  var Nav = styled.nav.withConfig({
45281
45272
  displayName: "MobileMenu__Nav",
45282
- componentId: "sc-18t6zrc-6"
45283
- })(function (_ref9) {
45284
- var backgroundColor = _ref9.backgroundColor;
45273
+ componentId: "sc-18t6zrc-5"
45274
+ })(function (_ref7) {
45275
+ var backgroundColor = _ref7.backgroundColor;
45285
45276
  return {
45286
45277
  backgroundColor: backgroundColor
45287
45278
  };
@@ -45319,7 +45310,7 @@ var BaseMobileMenu = function BaseMobileMenu(_a) {
45319
45310
 
45320
45311
  var MobileMenu = styled(BaseMobileMenu).withConfig({
45321
45312
  displayName: "MobileMenu",
45322
- componentId: "sc-18t6zrc-7"
45313
+ componentId: "sc-18t6zrc-6"
45323
45314
  })(display);
45324
45315
 
45325
45316
  var borderStyle = "1px solid #e4e7eb";
@@ -3,5 +3,5 @@ declare type CloseButtonProps = {
3
3
  onClick: any;
4
4
  "aria-label": string;
5
5
  };
6
- declare const CloseButton: ({ onClick, "aria-label": ariaLabel, }: CloseButtonProps) => JSX.Element;
6
+ declare const CloseButton: ({ onClick, "aria-label": ariaLabel }: CloseButtonProps) => JSX.Element;
7
7
  export default CloseButton;
@@ -3,5 +3,5 @@ declare type NulogyLogoContainerProps = {
3
3
  subText?: string;
4
4
  height?: string;
5
5
  };
6
- export declare const NulogyLogoContainer: ({ subText, height, }: NulogyLogoContainerProps) => JSX.Element;
6
+ export declare const NulogyLogoContainer: ({ subText, height }: NulogyLogoContainerProps) => JSX.Element;
7
7
  export {};
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { ColorProps, SpaceProps, LayoutProps, TypographyProps } from "styled-system";
3
2
  import { DefaultNDSThemeType } from "../theme.type";
4
- export declare type LinkProps = React.ComponentPropsWithRef<"a"> & ColorProps & SpaceProps & LayoutProps & TypographyProps & {
3
+ import { StyledProps } from "../StyledProps";
4
+ export declare type LinkProps = React.ComponentPropsWithRef<"a"> & StyledProps & {
5
5
  className?: string;
6
6
  underline?: boolean;
7
7
  hover?: string;
@@ -6,5 +6,5 @@ declare type NDSProviderProps = {
6
6
  disableGlobalStyles?: boolean;
7
7
  children?: any;
8
8
  };
9
- declare const NDSProvider: ({ theme, children, disableGlobalStyles, locale, }: NDSProviderProps) => JSX.Element;
9
+ declare const NDSProvider: ({ theme, children, disableGlobalStyles, locale }: NDSProviderProps) => JSX.Element;
10
10
  export default NDSProvider;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import PropTypes from "prop-types";
3
3
  declare const PreviousButton: {
4
- ({ disabled, onClick, label, "aria-label": ariaLabel, }: any): JSX.Element;
4
+ ({ disabled, onClick, label, "aria-label": ariaLabel }: any): JSX.Element;
5
5
  propTypes: {
6
6
  disabled: PropTypes.Requireable<boolean>;
7
7
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -1,9 +1,9 @@
1
- export declare const showIndicatorSeparator: ({ isMulti, hasValue, hasDefaultOptions, }: {
1
+ export declare const showIndicatorSeparator: ({ isMulti, hasValue, hasDefaultOptions }: {
2
2
  isMulti: any;
3
3
  hasValue: any;
4
4
  hasDefaultOptions: any;
5
5
  }) => any;
6
- declare const customStyles: ({ theme, error, maxHeight, windowed, hasDefaultOptions, }: {
6
+ declare const customStyles: ({ theme, error, maxHeight, windowed, hasDefaultOptions }: {
7
7
  theme: any;
8
8
  error: any;
9
9
  maxHeight: any;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import PropTypes from "prop-types";
3
3
  declare const SortingColumnHeader: {
4
- ({ onChange, label, ascending, active, ariaLabel, }: {
4
+ ({ onChange, label, ascending, active, ariaLabel }: {
5
5
  onChange: any;
6
6
  label: any;
7
7
  ascending: any;
@@ -8,7 +8,7 @@ export declare type TableCellInfoType = CellInfoType;
8
8
  declare const Table: {
9
9
  ({ hasSelectableRows, rowsPerPage, hasExpandableRows, selectedRows, onRowSelectionChange, onRowExpansionChange, onPageChange, selectAllAriaLabel, deselectAllAriaLabel, paginationCss, paginationProps, ...props }: TableProps): JSX.Element;
10
10
  SortingHeader: {
11
- ({ onChange, label, ascending, active, ariaLabel, }: {
11
+ ({ onChange, label, ascending, active, ariaLabel }: {
12
12
  onChange: any;
13
13
  label: any;
14
14
  ascending: any;
@@ -22,7 +22,7 @@ declare type TimePickerProps = SpaceProps & {
22
22
  onClick?: (...args: any[]) => any;
23
23
  };
24
24
  export declare const convertTo24HourTimeArray: (timeInput: any) => any;
25
- export declare const getBestMatchTime: ({ time, timeFormat, minTime, maxTime, locale, }: {
25
+ export declare const getBestMatchTime: ({ time, timeFormat, minTime, maxTime, locale }: {
26
26
  time: any;
27
27
  timeFormat: any;
28
28
  minTime: any;
@@ -5,13 +5,13 @@ export { Box, AnimatedBox } from "./Box";
5
5
  export { Flex } from "./Flex";
6
6
  export { Icon, InlineIcon } from "./Icon";
7
7
  export { Text, Heading1, Heading2, Heading3, Heading4 } from "./Type";
8
- export { Button, PrimaryButton, DangerButton, QuietButton, IconicButton, ControlIcon, } from "./Button";
8
+ export { Button, PrimaryButton, DangerButton, QuietButton, IconicButton, ControlIcon } from "./Button";
9
9
  export { ButtonGroup } from "./ButtonGroup";
10
10
  export { Link } from "./Link";
11
11
  export { InlineValidation } from "./Validation";
12
12
  export { Alert } from "./Alert";
13
13
  export { Branding } from "./Branding";
14
- export { DropdownMenu, DropdownLink, DropdownButton, DropdownItem, DropdownText, } from "./DropdownMenu";
14
+ export { DropdownMenu, DropdownLink, DropdownButton, DropdownItem, DropdownText } from "./DropdownMenu";
15
15
  export { HelpText, RequirementText, FieldLabel } from "./FieldLabel";
16
16
  export { Input } from "./Input";
17
17
  export { NavBar } from "./NavBar";
@@ -28,7 +28,7 @@ export { Modal } from "./Modal";
28
28
  export { Tab, Tabs } from "./Tabs";
29
29
  export { Switch, Switcher } from "./Switcher";
30
30
  export { Table } from "./Table";
31
- export type { TableProps, TableColumnType, TableRowType, TableCellInfoType, } from "./Table";
31
+ export type { TableProps, TableColumnType, TableRowType, TableCellInfoType } from "./Table";
32
32
  export { StatusIndicator } from "./StatusIndicator";
33
33
  export { Pagination } from "./Pagination";
34
34
  export { DatePicker } from "./DatePicker";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nulogy/components",
3
- "version": "7.1.0",
3
+ "version": "7.2.0",
4
4
  "description": "Component library for the Nulogy Design System - http://nulogy.design",
5
5
  "private": false,
6
6
  "publishConfig": {