@pingux/astro 2.129.0-alpha.5 → 2.129.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.
Files changed (102) hide show
  1. package/lib/cjs/components/Callout/Callout.js +16 -14
  2. package/lib/cjs/components/Callout/Callout.stories.d.ts +0 -9
  3. package/lib/cjs/components/Callout/Callout.stories.js +1 -24
  4. package/lib/cjs/components/Callout/Callout.styles.d.ts +22 -14
  5. package/lib/cjs/components/Callout/Callout.styles.js +23 -19
  6. package/lib/cjs/components/Card/Card.styles.d.ts +0 -11
  7. package/lib/cjs/components/Card/Card.styles.js +1 -6
  8. package/lib/cjs/components/RockerButtonGroup/RockerButtonGroup.mdx +1 -1
  9. package/lib/cjs/components/Table/Table.stories.js +5 -4
  10. package/lib/cjs/components/Table/Table.styles.d.ts +3 -5
  11. package/lib/cjs/components/Table/Table.styles.js +6 -8
  12. package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +41 -3
  13. package/lib/cjs/index.d.ts +2 -3
  14. package/lib/cjs/index.js +20 -74
  15. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +0 -48
  16. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +0 -24
  17. package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +4 -4
  18. package/lib/cjs/styles/themes/astro/customProperties/tShirtSizes.d.ts +4 -4
  19. package/lib/cjs/styles/themes/astro/customProperties/tShirtSizes.js +4 -4
  20. package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +0 -1
  21. package/lib/cjs/styles/themes/next-gen/colors/colors.js +1 -2
  22. package/lib/cjs/styles/themes/next-gen/convertedComponentList.d.ts +0 -1
  23. package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +2 -3
  24. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +1 -179
  25. package/lib/cjs/styles/themes/next-gen/variants/cards.d.ts +1 -14
  26. package/lib/cjs/styles/themes/next-gen/variants/cards.js +2 -7
  27. package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +0 -164
  28. package/lib/cjs/styles/themes/next-gen/variants/variants.js +1 -7
  29. package/lib/cjs/styles/variants/variants.js +2 -5
  30. package/lib/cjs/types/callout.d.ts +0 -2
  31. package/lib/components/Callout/Callout.js +16 -14
  32. package/lib/components/Callout/Callout.stories.js +0 -22
  33. package/lib/components/Callout/Callout.styles.js +24 -19
  34. package/lib/components/Card/Card.styles.js +1 -6
  35. package/lib/components/RockerButtonGroup/RockerButtonGroup.mdx +1 -1
  36. package/lib/components/Table/Table.stories.js +6 -5
  37. package/lib/components/Table/Table.styles.js +6 -8
  38. package/lib/index.js +2 -3
  39. package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +0 -24
  40. package/lib/styles/themes/astro/customProperties/tShirtSizes.js +4 -4
  41. package/lib/styles/themes/next-gen/colors/colors.js +1 -2
  42. package/lib/styles/themes/next-gen/convertedComponentList.js +2 -3
  43. package/lib/styles/themes/next-gen/variants/cards.js +2 -7
  44. package/lib/styles/themes/next-gen/variants/variants.js +1 -7
  45. package/lib/styles/variants/variants.js +2 -5
  46. package/package.json +1 -1
  47. package/lib/cjs/components/Callout/stories/CalloutNextGenComponent.d.ts +0 -2
  48. package/lib/cjs/components/Callout/stories/CalloutNextGenComponent.js +0 -33
  49. package/lib/cjs/components/Callout/stories/NextGenCallout.chromatic.stories.d.ts +0 -6
  50. package/lib/cjs/components/Callout/stories/NextGenCallout.chromatic.stories.js +0 -22
  51. package/lib/cjs/components/Callout/stories/NextGenDarkCallout.chomatic.stories.d.ts +0 -6
  52. package/lib/cjs/components/Callout/stories/NextGenDarkCallout.chomatic.stories.js +0 -22
  53. package/lib/cjs/components/TableBase/TableBase.d.ts +0 -9
  54. package/lib/cjs/components/TableBase/TableBase.js +0 -238
  55. package/lib/cjs/components/TableBase/TableBase.mdx +0 -30
  56. package/lib/cjs/components/TableBase/TableBase.stories.d.ts +0 -6
  57. package/lib/cjs/components/TableBase/TableBase.stories.js +0 -111
  58. package/lib/cjs/components/TableBase/TableBase.styles.d.ts +0 -76
  59. package/lib/cjs/components/TableBase/TableBase.styles.js +0 -80
  60. package/lib/cjs/components/TableBase/TableBase.test.d.ts +0 -1
  61. package/lib/cjs/components/TableBase/TableBase.test.js +0 -122
  62. package/lib/cjs/components/TableBase/index.d.ts +0 -1
  63. package/lib/cjs/components/TableBase/index.js +0 -14
  64. package/lib/cjs/components/TableBase/stories/NextGenDarkTableBase.chromatic.stories.d.ts +0 -6
  65. package/lib/cjs/components/TableBase/stories/NextGenDarkTableBase.chromatic.stories.js +0 -22
  66. package/lib/cjs/components/TableBase/stories/NextGenTableBase.chromatic.stories.d.ts +0 -6
  67. package/lib/cjs/components/TableBase/stories/NextGenTableBase.chromatic.stories.js +0 -22
  68. package/lib/cjs/components/TableBase/stories/NextGenTableBase.d.ts +0 -3
  69. package/lib/cjs/components/TableBase/stories/NextGenTableBase.js +0 -67
  70. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/callout.d.ts +0 -27
  71. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/callout.js +0 -35
  72. package/lib/cjs/styles/themes/next-gen/variants/callout.d.ts +0 -34
  73. package/lib/cjs/styles/themes/next-gen/variants/callout.js +0 -45
  74. package/lib/cjs/styles/themes/next-gen/variants/table.d.ts +0 -45
  75. package/lib/cjs/styles/themes/next-gen/variants/table.js +0 -65
  76. package/lib/cjs/styles/themes/next-gen/variants/tableBase.d.ts +0 -86
  77. package/lib/cjs/styles/themes/next-gen/variants/tableBase.js +0 -99
  78. package/lib/cjs/types/cell.d.ts +0 -12
  79. package/lib/cjs/types/cell.js +0 -6
  80. package/lib/cjs/types/tableBase.d.ts +0 -45
  81. package/lib/cjs/types/tableBase.js +0 -6
  82. package/lib/cjs/utils/devUtils/constants/items.d.ts +0 -10
  83. package/lib/cjs/utils/devUtils/constants/items.js +0 -87
  84. package/lib/components/Callout/stories/CalloutNextGenComponent.js +0 -24
  85. package/lib/components/Callout/stories/NextGenCallout.chromatic.stories.js +0 -12
  86. package/lib/components/Callout/stories/NextGenDarkCallout.chomatic.stories.js +0 -12
  87. package/lib/components/TableBase/TableBase.js +0 -221
  88. package/lib/components/TableBase/TableBase.mdx +0 -30
  89. package/lib/components/TableBase/TableBase.stories.js +0 -100
  90. package/lib/components/TableBase/TableBase.styles.js +0 -72
  91. package/lib/components/TableBase/TableBase.test.js +0 -119
  92. package/lib/components/TableBase/index.js +0 -1
  93. package/lib/components/TableBase/stories/NextGenDarkTableBase.chromatic.stories.js +0 -12
  94. package/lib/components/TableBase/stories/NextGenTableBase.chromatic.stories.js +0 -12
  95. package/lib/components/TableBase/stories/NextGenTableBase.js +0 -58
  96. package/lib/styles/themeOverrides/nextGenDarkMode/variants/callout.js +0 -27
  97. package/lib/styles/themes/next-gen/variants/callout.js +0 -36
  98. package/lib/styles/themes/next-gen/variants/table.js +0 -57
  99. package/lib/styles/themes/next-gen/variants/tableBase.js +0 -91
  100. package/lib/types/cell.js +0 -1
  101. package/lib/types/tableBase.js +0 -1
  102. package/lib/utils/devUtils/constants/items.js +0 -79
@@ -14,25 +14,33 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime-c
14
14
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
15
15
  var _react = _interopRequireWildcard(require("react"));
16
16
  var _ = require("../..");
17
- var _hooks = require("../../hooks");
18
17
  var _statuses = _interopRequireDefault(require("../../utils/devUtils/constants/statuses"));
19
18
  var _NoticeIcon = require("../Icon/NoticeIcon");
20
19
  var _react2 = require("@emotion/react");
21
- var _excluded = ["children", "status", "icon", "className", "iconProps"];
20
+ var _excluded = ["children", "status", "icon"];
22
21
  var _calloutProps;
23
22
  function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "function") return null; var cacheBabelInterop = new _WeakMap(); var cacheNodeInterop = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
24
23
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { _Object$defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
24
  var CALLOUT_TEST_ID = 'CalloutTestId';
26
25
  exports.CALLOUT_TEST_ID = CALLOUT_TEST_ID;
27
26
  var calloutProps = (_calloutProps = {}, (0, _defineProperty2["default"])(_calloutProps, _statuses["default"].DEFAULT, {
28
- color: 'text.secondary'
27
+ color: 'text.secondary',
28
+ variant: 'callout.base'
29
29
  }), (0, _defineProperty2["default"])(_calloutProps, _statuses["default"].ERROR, {
30
- color: 'critical.bright'
30
+ color: 'critical.bright',
31
+ variant: 'callout.error'
31
32
  }), (0, _defineProperty2["default"])(_calloutProps, _statuses["default"].SUCCESS, {
32
- color: 'success.bright'
33
+ color: 'success.bright',
34
+ variant: 'callout.success'
33
35
  }), (0, _defineProperty2["default"])(_calloutProps, _statuses["default"].WARNING, {
34
- color: 'warning.bright'
36
+ color: 'warning.bright',
37
+ variant: 'callout.warning'
35
38
  }), _calloutProps);
39
+ var defaultIconProps = {
40
+ mr: 'md',
41
+ ml: 'md',
42
+ size: 'md'
43
+ };
36
44
 
37
45
  /**
38
46
  Please note, Callout is a static component, the [Messages](./?path=/docs/components-messages)
@@ -45,24 +53,18 @@ var Callout = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
45
53
  _ref$status = _ref.status,
46
54
  status = _ref$status === void 0 ? _statuses["default"].DEFAULT : _ref$status,
47
55
  icon = _ref.icon,
48
- className = _ref.className,
49
- iconProps = _ref.iconProps,
50
56
  others = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
51
- var _useStatusClasses = (0, _hooks.useStatusClasses)(className, (0, _defineProperty2["default"])({}, "is-".concat(status), true)),
52
- statusClasses = _useStatusClasses.classNames;
53
57
  return (0, _react2.jsx)(_.Box, (0, _extends2["default"])({
54
58
  ref: ref,
55
59
  "data-testid": CALLOUT_TEST_ID,
56
60
  isRow: true,
57
61
  role: "note",
58
- variant: "callout.base",
59
- className: statusClasses
62
+ variant: calloutProps[status].variant
60
63
  }, others), icon || (0, _react2.jsx)(_NoticeIcon.NoticeIcon, (0, _extends2["default"])({
61
64
  color: calloutProps[status].color,
62
65
  status: status,
63
- variant: "callout.icon",
64
66
  "aria-label": "".concat(status, "-icon")
65
- }, iconProps)), children);
67
+ }, defaultIconProps)), children);
66
68
  });
67
69
  Callout.displayName = 'Callout';
68
70
  var _default = Callout;
@@ -4,7 +4,6 @@ import { CalloutProps } from '../../types/callout';
4
4
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
5
5
  export default _default;
6
6
  export declare const Default: StoryFn<CalloutProps>;
7
- export declare const Customizations: () => React.JSX.Element;
8
7
  export declare const ErrorStatus: StoryFn;
9
8
  export declare const Success: StoryFn;
10
9
  export declare const WithLink: {
@@ -14,14 +13,6 @@ export declare const WithLink: {
14
13
  type: string;
15
14
  url: string;
16
15
  };
17
- a11y: {
18
- config: {
19
- rules: {
20
- id: string;
21
- enabled: boolean;
22
- }[];
23
- };
24
- };
25
16
  };
26
17
  };
27
18
  export declare const Warning: StoryFn;
@@ -12,12 +12,11 @@ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequ
12
12
  _Object$defineProperty(exports, "__esModule", {
13
13
  value: true
14
14
  });
15
- exports["default"] = exports.WithLink = exports.WithCustomIcon = exports.Warning = exports.Success = exports.ErrorStatus = exports.Default = exports.Customizations = void 0;
15
+ exports["default"] = exports.WithLink = exports.WithCustomIcon = exports.Warning = exports.Success = exports.ErrorStatus = exports.Default = void 0;
16
16
  var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
17
17
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
18
18
  var _react = _interopRequireDefault(require("react"));
19
19
  var _CheckBoldIcon = _interopRequireDefault(require("@pingux/mdi-react/CheckBoldIcon"));
20
- var _LightbulbOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/LightbulbOutlineIcon"));
21
20
  var _storybookAddonDesigns = require("storybook-addon-designs");
22
21
  var _storybookDocsLayout = _interopRequireDefault(require("../../../.storybook/storybookDocsLayout"));
23
22
  var _index = require("../../index");
@@ -57,20 +56,6 @@ Default.parameters = {
57
56
  url: _figmaLinks.FIGMA_LINKS.callout["default"]
58
57
  }
59
58
  };
60
- var Customizations = function Customizations() {
61
- return (0, _react2.jsx)(_index.Callout, {
62
- icon: (0, _react2.jsx)(_index.Icon, {
63
- icon: _LightbulbOutlineIcon["default"],
64
- size: "sm",
65
- color: "teal-500",
66
- mr: "md"
67
- }),
68
- sx: {
69
- borderLeftColor: 'teal-500'
70
- }
71
- }, (0, _react2.jsx)(_index.Text, null, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vitae lacinia diam, nec ullamcorper neque. In egestas dui vel dolor tincidunt, sit amet ullamcorper leo consequat."));
72
- };
73
- exports.Customizations = Customizations;
74
59
  var ErrorStatus = function ErrorStatus(args) {
75
60
  return (0, _react2.jsx)(_index.Callout, (0, _extends2["default"])({
76
61
  status: _statuses["default"].ERROR
@@ -111,14 +96,6 @@ WithLink.parameters = {
111
96
  design: {
112
97
  type: 'figma',
113
98
  url: _figmaLinks.FIGMA_LINKS.callout.withLink
114
- },
115
- a11y: {
116
- config: {
117
- rules: [{
118
- id: 'color-contrast',
119
- enabled: false
120
- }]
121
- }
122
99
  }
123
100
  };
124
101
  var Warning = function Warning(args) {
@@ -6,22 +6,30 @@ declare const _default: {
6
6
  fontSize: string;
7
7
  p: string;
8
8
  width: string;
9
- '&.is-success, > .is-success': {
10
- borderColor: string;
11
- };
12
- '&.is-warning, > .is-warning': {
13
- borderColor: string;
14
- };
15
- '&.is-error, > .is-error': {
16
- borderColor: string;
17
- };
18
9
  };
19
- icon: {
20
- mr: string;
21
- ml: string;
22
- minWidth: string;
10
+ error: {
11
+ borderColor: string;
12
+ alignItems: string;
13
+ border: string;
14
+ fontSize: string;
15
+ p: string;
16
+ width: string;
17
+ };
18
+ success: {
19
+ borderColor: string;
20
+ alignItems: string;
21
+ border: string;
22
+ fontSize: string;
23
+ p: string;
24
+ width: string;
25
+ };
26
+ warning: {
27
+ borderColor: string;
28
+ alignItems: string;
29
+ border: string;
30
+ fontSize: string;
31
+ p: string;
23
32
  width: string;
24
- height: string;
25
33
  };
26
34
  };
27
35
  export default _default;
@@ -1,38 +1,42 @@
1
1
  "use strict";
2
2
 
3
+ var _Object$keys = require("@babel/runtime-corejs3/core-js-stable/object/keys");
4
+ var _Object$getOwnPropertySymbols = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols");
5
+ var _filterInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/filter");
6
+ var _Object$getOwnPropertyDescriptor = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor");
7
+ var _forEachInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/for-each");
8
+ var _Object$getOwnPropertyDescriptors = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors");
9
+ var _Object$defineProperties = require("@babel/runtime-corejs3/core-js-stable/object/define-properties");
3
10
  var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
4
11
  var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
5
12
  _Object$defineProperty(exports, "__esModule", {
6
13
  value: true
7
14
  });
8
15
  exports["default"] = void 0;
9
- var _tShirtSizes = _interopRequireDefault(require("../../styles/themes/astro/customProperties/tShirtSizes"));
16
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
17
+ function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
18
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
10
19
  var base = {
11
20
  alignItems: 'center',
12
21
  border: '1px solid',
13
22
  borderColor: 'text.secondary',
14
23
  fontSize: 'md',
15
24
  p: '15px 12px 15px 0',
16
- width: '600px',
17
- '&.is-success, > .is-success': {
18
- borderColor: 'success.bright'
19
- },
20
- '&.is-warning, > .is-warning': {
21
- borderColor: 'warning.bright'
22
- },
23
- '&.is-error, > .is-error': {
24
- borderColor: 'critical.bright'
25
- }
26
- };
27
- var icon = {
28
- mr: 'md',
29
- ml: 'md',
30
- minWidth: "".concat(_tShirtSizes["default"].md, " !important"),
31
- width: "".concat(_tShirtSizes["default"].md, " !important"),
32
- height: "".concat(_tShirtSizes["default"].md, " !important")
25
+ width: '600px'
33
26
  };
27
+ var error = _objectSpread(_objectSpread({}, base), {}, {
28
+ borderColor: 'critical.bright'
29
+ });
30
+ var success = _objectSpread(_objectSpread({}, base), {}, {
31
+ borderColor: 'success.bright'
32
+ });
33
+ var warning = _objectSpread(_objectSpread({}, base), {}, {
34
+ borderColor: 'warning.bright'
35
+ });
34
36
  var _default = {
35
37
  base: base,
36
- icon: icon
38
+ error: error,
39
+ success: success,
40
+ warning: warning
37
41
  };
38
42
  exports["default"] = _default;
@@ -129,16 +129,5 @@ declare const _default: {
129
129
  flex: string;
130
130
  p: string;
131
131
  };
132
- tableWrapper: {
133
- padding: number;
134
- boxShadow: string;
135
- display: string;
136
- borderRadius: string;
137
- color: string;
138
- fontSize: string;
139
- fontWeight: number;
140
- flex: string;
141
- p: string;
142
- };
143
132
  };
144
133
  export default _default;
@@ -93,10 +93,6 @@ var activeCard = _objectSpread(_objectSpread({}, interactive), {}, {
93
93
  }
94
94
  }
95
95
  });
96
- var tableWrapper = _objectSpread(_objectSpread({}, container), {}, {
97
- padding: 0,
98
- boxShadow: 'none'
99
- });
100
96
  var _default = {
101
97
  container: container,
102
98
  interactive: interactive,
@@ -104,7 +100,6 @@ var _default = {
104
100
  footer: footer,
105
101
  flat: flat,
106
102
  body: body,
107
- activeCard: activeCard,
108
- tableWrapper: tableWrapper
103
+ activeCard: activeCard
109
104
  };
110
105
  exports["default"] = _default;
@@ -10,7 +10,7 @@ This component should:
10
10
  - Be used for a single-item selection.
11
11
  - Contain concise labels.
12
12
 
13
- It should not be used as a replacement for RadioButton.
13
+ It shouldn’t be used as a replacement for RadioButton.
14
14
 
15
15
  ### Required Components
16
16
 
@@ -55,9 +55,10 @@ var objects = [{
55
55
  total_grant: '75,000'
56
56
  }];
57
57
  var Default = function Default(args) {
58
- return (0, _react2.jsx)(_index.Card, {
59
- variant: "cards.tableWrapper"
60
- }, (0, _react2.jsx)(_index.Table, args, (0, _react2.jsx)(_index.TableCaption, null, caption), (0, _react2.jsx)(_index.TableHead, null, (0, _react2.jsx)(_index.TableRow, {
58
+ return (0, _react2.jsx)(_index.Table, args, (0, _react2.jsx)(_index.TableCaption, null, (0, _react2.jsx)(_index.Text, {
59
+ fontWeight: 3,
60
+ fontSize: "lg"
61
+ }, caption)), (0, _react2.jsx)(_index.TableHead, null, (0, _react2.jsx)(_index.TableRow, {
61
62
  key: "head"
62
63
  }, (0, _map["default"])(headers).call(headers, function (head) {
63
64
  return (0, _react2.jsx)(_index.TableCell, {
@@ -73,6 +74,6 @@ var Default = function Default(args) {
73
74
  key: value
74
75
  }, value);
75
76
  }));
76
- }))));
77
+ })));
77
78
  };
78
79
  exports.Default = Default;
@@ -4,16 +4,14 @@ declare const _default: {
4
4
  borderTopColor: string;
5
5
  borderBottom: string;
6
6
  borderBottomColor: string;
7
- '& > tr:nth-of-type(odd)': {
7
+ '&& > tr:nth-of-type(odd) ': {
8
8
  backgroundColor: string;
9
9
  };
10
10
  };
11
11
  caption: {
12
- fontFamily: string;
13
- fontSize: string;
14
- fontWeight: string;
15
- p: string;
16
12
  textAlign: string;
13
+ marginBottom: string;
14
+ lineHeight: string;
17
15
  };
18
16
  container: {
19
17
  width: string;
@@ -21,18 +21,18 @@ var head = _objectSpread(_objectSpread({}, _Text.text.label), {}, {
21
21
  fontWeight: 500,
22
22
  width: '100%',
23
23
  flexDirection: 'row !important',
24
- p: 'sm'
24
+ p: '10px'
25
25
  });
26
26
  var data = _objectSpread(_objectSpread({}, _Text.text.tableData), {}, {
27
27
  width: '100%',
28
- p: 'sm'
28
+ p: '10px'
29
29
  });
30
30
  var body = {
31
31
  borderTop: '1px solid',
32
32
  borderTopColor: 'neutral.40',
33
33
  borderBottom: '1px solid',
34
34
  borderBottomColor: 'neutral.80',
35
- '& > tr:nth-of-type(odd)': {
35
+ '&& > tr:nth-of-type(odd) ': {
36
36
  backgroundColor: 'neutral.95'
37
37
  }
38
38
  };
@@ -44,11 +44,9 @@ var container = {
44
44
  width: '100%'
45
45
  };
46
46
  var caption = {
47
- fontFamily: 'standard',
48
- fontSize: 'lg',
49
- fontWeight: '2',
50
- p: 'sm',
51
- textAlign: 'left'
47
+ textAlign: 'left',
48
+ marginBottom: 'xs',
49
+ lineHeight: '21px'
52
50
  };
53
51
  var _default = {
54
52
  body: body,
@@ -6,6 +6,9 @@ export declare const baseState: {
6
6
  isCustom: boolean;
7
7
  };
8
8
  declare const useGetTheme: () => {
9
+ styles: {
10
+ navButtonEstHeight: number;
11
+ };
9
12
  icons: {
10
13
  [x: number]: import("@pingux/mdi-react").MdiReactIconComponentType;
11
14
  MenuDown: import("@pingux/mdi-react").MdiReactIconComponentType;
@@ -13,14 +16,49 @@ declare const useGetTheme: () => {
13
16
  pingLogoHorizontalSmall: import("react").JSX.Element;
14
17
  listViewMenu: import("@pingux/mdi-react").MdiReactIconComponentType;
15
18
  };
16
- styles: {
17
- navButtonEstHeight: number;
18
- };
19
19
  tShirtSizes: {
20
20
  xxs: string;
21
+ 'icon-100': string;
21
22
  xs: string;
23
+ 'icon-200': string;
22
24
  sm: string;
25
+ 'icon-300': string;
23
26
  md: string;
27
+ 'icon-400': string;
28
+ 'icon-500': string;
29
+ 'icon-600': string;
30
+ 'icon-700': string;
31
+ 'icon-800': string;
32
+ 'icon-900': string;
33
+ };
34
+ iconWrapperSizes: {
35
+ sm: number;
36
+ md: number;
37
+ lg: number;
38
+ };
39
+ themeState: {
40
+ isOnyx: boolean;
41
+ isAstro: boolean;
42
+ isOnyxDark: boolean;
43
+ isCustom: boolean;
44
+ };
45
+ name: string;
46
+ } | {
47
+ icons: {
48
+ [x: number]: import("@pingux/mdi-react").MdiReactIconComponentType;
49
+ MenuDown: import("@pingux/mdi-react").MdiReactIconComponentType;
50
+ MenuUp: import("@pingux/mdi-react").MdiReactIconComponentType;
51
+ pingLogoHorizontalSmall: import("react").JSX.Element;
52
+ listViewMenu: import("@pingux/mdi-react").MdiReactIconComponentType;
53
+ };
54
+ styles: {
55
+ navButtonEstHeight: number;
56
+ };
57
+ tShirtSizes: {
58
+ xxs: number;
59
+ xs: number;
60
+ sm: number;
61
+ md: number;
24
62
  };
25
63
  iconWrapperSizes: {
26
64
  sm: number;
@@ -184,8 +184,6 @@ export { default as Tab } from './components/Tab';
184
184
  export * from './components/Tab';
185
185
  export { default as Table } from './components/Table';
186
186
  export * from './components/Table';
187
- export * from './components/TableBase';
188
- export { default as TableBase } from './components/TableBase';
189
187
  export { default as TableBody } from './components/TableBody';
190
188
  export * from './components/TableBody';
191
189
  export { default as TableCaption } from './components/TableCaption';
@@ -220,4 +218,5 @@ export { default as NextGenTheme } from './styles/themes/next-gen';
220
218
  export { default as OnyxTheme } from './styles/themes/next-gen';
221
219
  export * from './types';
222
220
  export { OverlayProvider, useOverlayPosition, useOverlayTrigger } from 'react-aria';
223
- export { Cell, Column, TableBody as DataTableBody, Cell as DataTableCell, Column as DataTableColumn, TableHeader as DataTableHeader, Row as DataTableRow, Item, Row, Section, TableBody as TBody, TableHeader as THead, useOverlayTriggerState, useTreeData, } from 'react-stately';
221
+ export { Item, Section, useOverlayTriggerState, useTreeData } from 'react-stately';
222
+ export { TableBody as DataTableBody, Cell as DataTableCell, Column as DataTableColumn, TableHeader as DataTableHeader, Row as DataTableRow, } from 'react-stately';