@festo-ui/react 7.2.0-dev.428 → 7.2.0-dev.429

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.
@@ -5,6 +5,7 @@ export interface ButtonProps extends ComponentPropsWithoutRef<'button'> {
5
5
  primary?: boolean;
6
6
  iconOnly?: boolean;
7
7
  large?: boolean;
8
+ floating?: boolean;
8
9
  }
9
10
  declare const Button: (props: ButtonProps & import("react").RefAttributes<HTMLButtonElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
10
11
  export default Button;
@@ -10,6 +10,7 @@ const Button = /*#__PURE__*/forwardRef((_ref, ref) => {
10
10
  disabled = false,
11
11
  iconOnly = false,
12
12
  large = false,
13
+ floating = false,
13
14
  onClick,
14
15
  primary = false,
15
16
  className,
@@ -24,6 +25,8 @@ const Button = /*#__PURE__*/forwardRef((_ref, ref) => {
24
25
  'fwe-btn-hero': primary
25
26
  }, {
26
27
  'fwe-btn-lg': large
28
+ }, {
29
+ 'fwe-btn-floating': floating
27
30
  }, className);
28
31
  return /*#__PURE__*/_jsxs("button", {
29
32
  // ignore here because fallback will explicitly be set to type 'button'
@@ -34,6 +34,14 @@ 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
37
45
  })]
38
46
  })]
39
47
  })
@@ -16,6 +16,7 @@ const Button = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
16
16
  disabled = false,
17
17
  iconOnly = false,
18
18
  large = false,
19
+ floating = false,
19
20
  onClick,
20
21
  primary = false,
21
22
  className,
@@ -30,6 +31,8 @@ const Button = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
30
31
  'fwe-btn-hero': primary
31
32
  }, {
32
33
  'fwe-btn-lg': large
34
+ }, {
35
+ 'fwe-btn-floating': floating
33
36
  }, className);
34
37
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("button", {
35
38
  // ignore here because fallback will explicitly be set to type 'button'
@@ -40,6 +40,14 @@ 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
43
51
  })]
44
52
  })]
45
53
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@festo-ui/react",
3
- "version": "7.2.0-dev.428",
3
+ "version": "7.2.0-dev.429",
4
4
  "author": "Festo UI (styleguide@festo.com)",
5
5
  "license": "apache-2.0",
6
6
  "exports": {