@festo-ui/react 7.3.0-dev.492 → 7.3.0-dev.495

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.
@@ -9,3 +9,4 @@ export declare const Secondary: Story;
9
9
  export declare const Sizes: Story;
10
10
  export declare const Icon: Story;
11
11
  export declare const IconOnly: Story;
12
+ export declare const Floating: Story;
@@ -34,14 +34,6 @@ export const Overview = {
34
34
  }), /*#__PURE__*/_jsx(Button, {
35
35
  icon: /*#__PURE__*/_jsx(IconCoreRangeProduct, {}),
36
36
  iconOnly: true
37
- }), /*#__PURE__*/_jsx(Button, {
38
- icon: /*#__PURE__*/_jsx(IconCoreRangeProduct, {
39
- size: 24
40
- }),
41
- iconOnly: true,
42
- large: true,
43
- primary: true,
44
- floating: true
45
37
  })]
46
38
  })]
47
39
  })
@@ -74,4 +66,13 @@ export const IconOnly = {
74
66
  iconOnly: true,
75
67
  icon: 'ecommerce-core-range-product'
76
68
  }
69
+ };
70
+ export const Floating = {
71
+ args: {
72
+ iconOnly: true,
73
+ large: true,
74
+ primary: true,
75
+ floating: true,
76
+ icon: 'ecommerce-core-range-product'
77
+ }
77
78
  };
@@ -31,7 +31,7 @@ const LoadingIndicator = /*#__PURE__*/forwardRef((_ref, ref) => {
31
31
  }), /*#__PURE__*/_jsx("div", {
32
32
  className: "fwe-waiting-circle-4"
33
33
  })]
34
- }), /*#__PURE__*/_jsx("div", {
34
+ }), children && /*#__PURE__*/_jsx("div", {
35
35
  className: "fwe-waiting-content-container",
36
36
  children: children
37
37
  })]
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.default = exports.Sizes = exports.Secondary = exports.Primary = exports.Overview = exports.IconOnly = exports.Icon = void 0;
6
+ exports.default = exports.Sizes = exports.Secondary = exports.Primary = exports.Overview = exports.IconOnly = exports.Icon = exports.Floating = void 0;
7
7
  var _reactIcons = require("@festo-ui/react-icons");
8
8
  var _Button = _interopRequireDefault(require("./Button.js"));
9
9
  var _jsxRuntime = require("react/jsx-runtime");
@@ -40,14 +40,6 @@ const Overview = exports.Overview = {
40
40
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
41
41
  icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIcons.IconCoreRangeProduct, {}),
42
42
  iconOnly: true
43
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
44
- icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIcons.IconCoreRangeProduct, {
45
- size: 24
46
- }),
47
- iconOnly: true,
48
- large: true,
49
- primary: true,
50
- floating: true
51
43
  })]
52
44
  })]
53
45
  })
@@ -80,4 +72,13 @@ const IconOnly = exports.IconOnly = {
80
72
  iconOnly: true,
81
73
  icon: 'ecommerce-core-range-product'
82
74
  }
75
+ };
76
+ const Floating = exports.Floating = {
77
+ args: {
78
+ iconOnly: true,
79
+ large: true,
80
+ primary: true,
81
+ floating: true,
82
+ icon: 'ecommerce-core-range-product'
83
+ }
83
84
  };
@@ -37,7 +37,7 @@ const LoadingIndicator = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
37
37
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
38
38
  className: "fwe-waiting-circle-4"
39
39
  })]
40
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
40
+ }), children && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
41
41
  className: "fwe-waiting-content-container",
42
42
  children: children
43
43
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@festo-ui/react",
3
- "version": "7.3.0-dev.492",
3
+ "version": "7.3.0-dev.495",
4
4
  "author": "Festo UI (styleguide@festo.com)",
5
5
  "license": "apache-2.0",
6
6
  "type": "module",