@snack-uikit/modal 0.9.19-preview-cb79db34.0 → 0.9.20

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,33 @@
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.9.20 (2024-04-25)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **PDS-0000:** set default button type as button ([4ec64de](https://github.com/cloud-ru-tech/snack-uikit/commit/4ec64de508826df4a1e82fd8c75448d9919e563f))
12
+
13
+
14
+
15
+
16
+
17
+ ## 0.9.19 (2024-04-23)
18
+
19
+ ### Only dependencies have been changed
20
+ * [@snack-uikit/button@0.17.1](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/button/CHANGELOG.md)
21
+ * [@snack-uikit/icon-predefined@0.5.1](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/icon-predefined/CHANGELOG.md)
22
+ * [@snack-uikit/link@0.11.7](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/link/CHANGELOG.md)
23
+ * [@snack-uikit/scroll@0.5.3](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/scroll/CHANGELOG.md)
24
+ * [@snack-uikit/tooltip@0.13.2](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/tooltip/CHANGELOG.md)
25
+ * [@snack-uikit/truncate-string@0.4.13](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/truncate-string/CHANGELOG.md)
26
+ * [@snack-uikit/typography@0.6.2](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/typography/CHANGELOG.md)
27
+ * [@snack-uikit/utils@3.3.0](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/utils/CHANGELOG.md)
28
+
29
+
30
+
31
+
32
+
6
33
  ## 0.9.18 (2024-03-26)
7
34
 
8
35
  ### Only dependencies have been changed
@@ -3,5 +3,5 @@ import { CrossSVG } from '@snack-uikit/icons';
3
3
  import { TEST_IDS } from '../../constants';
4
4
  import styles from './styles.module.css';
5
5
  export function ButtonClose({ onClick }) {
6
- return (_jsx("button", { className: styles.buttonClose, onClick: onClick, "aria-label": 'close modal', "data-test-id": TEST_IDS.closeButton, children: _jsx(CrossSVG, {}) }));
6
+ return (_jsx("button", { type: 'button', className: styles.buttonClose, onClick: onClick, "aria-label": 'close modal', "data-test-id": TEST_IDS.closeButton, children: _jsx(CrossSVG, {}) }));
7
7
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Modal",
7
- "version": "0.9.19-preview-cb79db34.0",
7
+ "version": "0.9.20",
8
8
  "sideEffects": [
9
9
  "*.css",
10
10
  "*.woff",
@@ -32,20 +32,20 @@
32
32
  "license": "Apache-2.0",
33
33
  "scripts": {},
34
34
  "dependencies": {
35
- "@snack-uikit/button": "0.17.1-preview-cb79db34.0",
36
- "@snack-uikit/icon-predefined": "0.5.1-preview-cb79db34.0",
35
+ "@snack-uikit/button": "0.17.1",
36
+ "@snack-uikit/icon-predefined": "0.5.1",
37
37
  "@snack-uikit/icons": "0.20.1",
38
- "@snack-uikit/link": "0.11.7-preview-cb79db34.0",
39
- "@snack-uikit/scroll": "0.5.3-preview-cb79db34.0",
40
- "@snack-uikit/tooltip": "0.13.2-preview-cb79db34.0",
41
- "@snack-uikit/truncate-string": "0.4.13-preview-cb79db34.0",
42
- "@snack-uikit/typography": "0.6.2-preview-cb79db34.0",
43
- "@snack-uikit/utils": "3.2.1-preview-cb79db34.0",
38
+ "@snack-uikit/link": "0.11.7",
39
+ "@snack-uikit/scroll": "0.5.3",
40
+ "@snack-uikit/tooltip": "0.13.2",
41
+ "@snack-uikit/truncate-string": "0.4.13",
42
+ "@snack-uikit/typography": "0.6.2",
43
+ "@snack-uikit/utils": "3.3.0",
44
44
  "classnames": "2.3.2",
45
45
  "react-modal": "3.16.1"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/react-modal": "3.16.0"
49
49
  },
50
- "gitHead": "ec06c40c0ed64aa42d8842734a8c532f5c4603e6"
50
+ "gitHead": "17bfcf1150776cd35c77d9cca8f45dde97472bf1"
51
51
  }
@@ -10,6 +10,7 @@ type ButtonCloseProps = {
10
10
  export function ButtonClose({ onClick }: ButtonCloseProps) {
11
11
  return (
12
12
  <button
13
+ type='button'
13
14
  className={styles.buttonClose}
14
15
  onClick={onClick}
15
16
  aria-label='close modal'