@synerise/ds-footer 0.2.55 → 0.2.57

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.2.57](https://github.com/Synerise/synerise-design/compare/@synerise/ds-footer@0.2.56...@synerise/ds-footer@0.2.57) (2023-08-25)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-footer
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.2.56](https://github.com/Synerise/synerise-design/compare/@synerise/ds-footer@0.2.55...@synerise/ds-footer@0.2.56) (2023-08-20)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-footer
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.2.55](https://github.com/Synerise/synerise-design/compare/@synerise/ds-footer@0.2.54...@synerise/ds-footer@0.2.55) (2023-07-26)
7
23
 
8
24
  **Note:** Version bump only for package @synerise/ds-footer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-footer",
3
- "version": "0.2.55",
3
+ "version": "0.2.57",
4
4
  "description": "Footer UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -32,12 +32,12 @@
32
32
  ],
33
33
  "types": "dist/index.d.ts",
34
34
  "dependencies": {
35
- "@synerise/ds-button": "^0.17.20",
36
- "@synerise/ds-utils": "^0.24.11"
35
+ "@synerise/ds-button": "^0.18.0",
36
+ "@synerise/ds-utils": "^0.24.13"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@synerise/ds-core": "*",
40
40
  "react": ">=16.9.0 < 17.0.0"
41
41
  },
42
- "gitHead": "283730ca9bb63422391388fbc020906edf942b57"
42
+ "gitHead": "9d424b025fe368bbf3beccea2102f000f4d7e82c"
43
43
  }
@@ -1,29 +0,0 @@
1
- import * as React from 'react';
2
- import { renderWithProvider } from '@synerise/ds-utils/dist/testing';
3
- import { screen } from '@testing-library/react';
4
- import Button from '@synerise/ds-button';
5
- import Footer from '.';
6
- describe('Footer', function () {
7
- it('should have 1px grey-200 top border and 16px padding', function () {
8
- renderWithProvider( /*#__PURE__*/React.createElement(Footer, null));
9
- expect(screen.getByRole('contentinfo')).toHaveStyle("\n padding: 16px 0;\n border-top: 1px solid #e9edee;\n ");
10
- });
11
- it('should pass style prop', function () {
12
- renderWithProvider( /*#__PURE__*/React.createElement(Footer, {
13
- style: {
14
- transform: 'rotate(360deg)'
15
- }
16
- }));
17
- expect(screen.getByRole('contentinfo')).toHaveStyle("\n transform: rotate(360deg);\n ");
18
- });
19
- it('should pass className prop', function () {
20
- renderWithProvider( /*#__PURE__*/React.createElement(Footer, {
21
- className: "custom-footer"
22
- }));
23
- expect(screen.getByRole('contentinfo')).toHaveClass('custom-footer');
24
- });
25
- it('should render children', function () {
26
- renderWithProvider( /*#__PURE__*/React.createElement(Footer, null, /*#__PURE__*/React.createElement(Button, null), /*#__PURE__*/React.createElement(Button, null), /*#__PURE__*/React.createElement(Button, null)));
27
- expect(screen.getAllByRole('button')).toHaveLength(3);
28
- });
29
- });