@pinuts/bsr-uikit-relaunch 0.0.17 → 0.0.19
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/dist/index.js +1 -1
- package/dist/shared/Modal/Modal.d.ts.map +1 -1
- package/dist/shared/Modal/Modal.js +10 -6
- package/node_modules/@pinuts/form-builder/dist/index.js +1 -1
- package/node_modules/@pinuts/form-builder/dist/utils/copyToClipboard.d.ts.map +1 -1
- package/node_modules/@pinuts/form-builder/dist/utils/copyToClipboard.js +3 -0
- package/node_modules/@pinuts/form-builder/package.json +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copyToClipboard.d.ts","sourceRoot":"","sources":["../../src/utils/copyToClipboard.js"],"names":[],"mappings":";AACA,
|
|
1
|
+
{"version":3,"file":"copyToClipboard.d.ts","sourceRoot":"","sources":["../../src/utils/copyToClipboard.js"],"names":[],"mappings":";AACA,gEA2BC"}
|
|
@@ -11,6 +11,9 @@ var copyToClipboard = function copyToClipboard(textToCopy) {
|
|
|
11
11
|
// navigator clipboard api method'
|
|
12
12
|
return navigator.clipboard.writeText(textToCopy);
|
|
13
13
|
}
|
|
14
|
+
if (typeof document === 'undefined' || typeof document.createElement !== 'function') {
|
|
15
|
+
return Promise.reject();
|
|
16
|
+
}
|
|
14
17
|
|
|
15
18
|
// text area method
|
|
16
19
|
var textArea = document.createElement('textarea');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pinuts/bsr-uikit-relaunch",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "BSR UI-KIT Relaunch",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@ariakit/react": "^0.4.11",
|
|
50
|
-
"@pinuts/form-builder": "0.8.
|
|
50
|
+
"@pinuts/form-builder": "0.8.13",
|
|
51
51
|
"@popperjs/core": "^2.11.7",
|
|
52
52
|
"bootstrap": "^5.3.2",
|
|
53
53
|
"dayjs": "^1.11.10",
|