@shopgate/pwa-ui-material 7.32.0-beta.7 → 7.32.0-beta.8

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.
@@ -1,6 +1,7 @@
1
1
  import React, { memo } from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { I18n, Button } from '@shopgate/engage/components';
3
+ import { I18n } from '@shopgate/engage/components';
4
+ import { Button } from '@shopgate/engage/components/v2';
4
5
  import { makeStyles } from '@shopgate/engage/styles';
5
6
  import { jsx as _jsx } from "react/jsx-runtime";
6
7
  const useStyles = makeStyles()(theme => ({
@@ -27,8 +28,8 @@ const Buttons = ({
27
28
  disabled = false
28
29
  }) => /*#__PURE__*/_jsx(Button, {
29
30
  className: classes.button,
30
- flat: true,
31
- type: "primary",
31
+ variant: "text",
32
+ color: "secondary",
32
33
  onClick: action,
33
34
  disabled: disabled,
34
35
  children: /*#__PURE__*/_jsx(I18n.Text, {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { shallow } from 'enzyme';
3
- import Button from '@shopgate/pwa-ui-shared/Button';
3
+ import { Button } from '@shopgate/engage/components/v2';
4
4
  import Buttons from "./index";
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  const actions = [{
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@shopgate/pwa-ui-material",
3
- "version": "7.32.0-beta.7",
3
+ "version": "7.32.0-beta.8",
4
4
  "description": "Shopgate's material design UI components.",
5
5
  "main": "index.js",
6
6
  "license": "Apache-2.0",
7
7
  "devDependencies": {
8
- "@shopgate/pwa-common": "7.32.0-beta.7",
8
+ "@shopgate/pwa-common": "7.32.0-beta.8",
9
9
  "@types/color": "^4.2.0",
10
10
  "@types/react-transition-group": "^4.4.12",
11
11
  "react": "^17.0.2",