@pingux/astro 2.244.0-alpha.0 → 2.244.1-alpha.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.
@@ -18,6 +18,7 @@ const TableBaseEmptyState = /*#__PURE__*/(0, _react.forwardRef)((props, ref) =>
18
18
  descriptionLabel = 'Take action by doing x, y, z',
19
19
  addButtonLabel,
20
20
  onAddButtonPress,
21
+ iconProps,
21
22
  ...others
22
23
  } = props;
23
24
  return (0, _react2.jsx)(_.Box, (0, _extends2.default)({
@@ -27,7 +28,7 @@ const TableBaseEmptyState = /*#__PURE__*/(0, _react.forwardRef)((props, ref) =>
27
28
  justifyContent: "center",
28
29
  gap: "sm",
29
30
  py: "lg"
30
- }, others), (0, _react2.jsx)(_.Icon, {
31
+ }, others), (0, _react2.jsx)(_.Icon, (0, _extends2.default)({
31
32
  icon: defaultIcon,
32
33
  color: "text.secondary",
33
34
  size: 60,
@@ -37,7 +38,7 @@ const TableBaseEmptyState = /*#__PURE__*/(0, _react.forwardRef)((props, ref) =>
37
38
  sx: {
38
39
  opacity: 0.2
39
40
  }
40
- }), (0, _react2.jsx)(_.Text, {
41
+ }, iconProps)), (0, _react2.jsx)(_.Text, {
41
42
  variant: "H4",
42
43
  as: "h4",
43
44
  textAlign: "center"
@@ -6,6 +6,7 @@ import type { FocusableElement, Key, Node } from '@react-types/shared';
6
6
  import type { ColumnSize, TableProps } from '@react-types/table';
7
7
  import { TestingAttributes } from './shared/test';
8
8
  import { BoxProps } from './box';
9
+ import { IconProps } from './icon';
9
10
  import { DOMAttributes, loadingState } from './shared';
10
11
  export type ResizeHandler = (widths: Map<Key, ColumnSize>) => void;
11
12
  export interface BaseProp extends BoxProps, TestingAttributes, DOMAttributes {
@@ -87,6 +88,7 @@ export interface TableCaptionProps {
87
88
  }
88
89
  export interface TableBaseEmptyStateProps extends BoxProps {
89
90
  defaultIcon?: React.ElementType;
91
+ iconProps?: IconProps;
90
92
  headerLabel?: string;
91
93
  descriptionLabel?: string;
92
94
  addButtonLabel?: string;
@@ -10,6 +10,7 @@ const TableBaseEmptyState = /*#__PURE__*/forwardRef((props, ref) => {
10
10
  descriptionLabel = 'Take action by doing x, y, z',
11
11
  addButtonLabel,
12
12
  onAddButtonPress,
13
+ iconProps,
13
14
  ...others
14
15
  } = props;
15
16
  return ___EmotionJSX(Box, _extends({
@@ -19,7 +20,7 @@ const TableBaseEmptyState = /*#__PURE__*/forwardRef((props, ref) => {
19
20
  justifyContent: "center",
20
21
  gap: "sm",
21
22
  py: "lg"
22
- }, others), ___EmotionJSX(Icon, {
23
+ }, others), ___EmotionJSX(Icon, _extends({
23
24
  icon: defaultIcon,
24
25
  color: "text.secondary",
25
26
  size: 60,
@@ -29,7 +30,7 @@ const TableBaseEmptyState = /*#__PURE__*/forwardRef((props, ref) => {
29
30
  sx: {
30
31
  opacity: 0.2
31
32
  }
32
- }), ___EmotionJSX(Text, {
33
+ }, iconProps)), ___EmotionJSX(Text, {
33
34
  variant: "H4",
34
35
  as: "h4",
35
36
  textAlign: "center"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "2.244.0-alpha.0",
3
+ "version": "2.244.1-alpha.0",
4
4
  "description": "React component library for Ping Identity's design system",
5
5
  "repository": {
6
6
  "type": "git",