@willbooster/shared-lib-react 1.2.0 → 1.4.0
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,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime");exports.VersionOverlay=()=>e.jsxs(e.Fragment,{children:[e.jsx("style",{type:"text/css",children:"\n@media print {\n .wb-shared-version {\n display: none;\n }\n}"}),e.jsxs("div",{className:"wb-shared-version",style:{bottom:4,left:4,opacity:.5,pointerEvents:"none",position:"fixed",userSelect:"none",fontSize:"0.75rem"},children:[process.env.
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime");exports.VersionOverlay=()=>e.jsxs(e.Fragment,{children:[e.jsx("style",{type:"text/css",children:"\n@media print {\n .wb-shared-version {\n display: none;\n }\n}"}),e.jsxs("div",{className:"wb-shared-version",style:{bottom:4,left:4,opacity:.5,pointerEvents:"none",position:"fixed",userSelect:"none",fontSize:"0.75rem"},children:[process.env.NEXT_PUBLIC_WB_VERSION||process.env.WB_VERSION||"dev"," on"," ",process.env.NEXT_PUBLIC_WB_ENV||process.env.WB_ENV||"local"]})]});
|
|
2
2
|
//# sourceMappingURL=VersionOverlay.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VersionOverlay.cjs","sources":["../../src/VersionOverlay.tsx"],"sourcesContent":["import type React from 'react';\n\nconst css = `\n@media print {\n .wb-shared-version {\n display: none;\n }\n}`;\n\nexport const VersionOverlay: React.FC = () => (\n <>\n <style type=\"text/css\">{css}</style>\n <div\n className=\"wb-shared-version\"\n style={{\n bottom: 4,\n left: 4,\n opacity: 0.5,\n pointerEvents: 'none',\n position: 'fixed',\n userSelect: 'none',\n fontSize: '0.75rem',\n }}\n >\n {process.env.
|
|
1
|
+
{"version":3,"file":"VersionOverlay.cjs","sources":["../../src/VersionOverlay.tsx"],"sourcesContent":["import type React from 'react';\n\nconst css = `\n@media print {\n .wb-shared-version {\n display: none;\n }\n}`;\n\nexport const VersionOverlay: React.FC = () => (\n <>\n <style type=\"text/css\">{css}</style>\n <div\n className=\"wb-shared-version\"\n style={{\n bottom: 4,\n left: 4,\n opacity: 0.5,\n pointerEvents: 'none',\n position: 'fixed',\n userSelect: 'none',\n fontSize: '0.75rem',\n }}\n >\n {process.env.NEXT_PUBLIC_WB_VERSION || process.env.WB_VERSION || 'dev'} on{' '}\n {process.env.NEXT_PUBLIC_WB_ENV || process.env.WB_ENV || 'local'}\n </div>\n </>\n);\n"],"names":["_jsxs","jsxs","_Fragment","children","_jsx","jsx","type","className","style","bottom","left","opacity","pointerEvents","position","userSelect","fontSize","process","env","NEXT_PUBLIC_WB_VERSION","WB_VERSION","NEXT_PUBLIC_WB_ENV","WB_ENV"],"mappings":"uEASwC,IACtCA,EAAAC,KAAAC,WAAA,CAAAC,SACE,CAAAC,EAAAC,IAAA,QAAA,CAAOC,KAAK,WAAUH,SATb,yEAUTH,EAAAC,KAAA,MAAA,CACEM,UAAU,oBACVC,MAAO,CACLC,OAAQ,EACRC,KAAM,EACNC,QAAS,GACTC,cAAe,OACfC,SAAU,QACVC,WAAY,OACZC,SAAU,WACVZ,SAAA,CAEDa,QAAQC,IAAIC,wBAA0BF,QAAQC,IAAIE,YAAc,MAAM,MAAI,IAC1EH,QAAQC,IAAIG,oBAAsBJ,QAAQC,IAAII,QAAU"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as e,Fragment as n,jsx as s}from"react/jsx-runtime";const o=()=>e(n,{children:[s("style",{type:"text/css",children:"\n@media print {\n .wb-shared-version {\n display: none;\n }\n}"}),e("div",{className:"wb-shared-version",style:{bottom:4,left:4,opacity:.5,pointerEvents:"none",position:"fixed",userSelect:"none",fontSize:"0.75rem"},children:[process.env.
|
|
1
|
+
import{jsxs as e,Fragment as n,jsx as s}from"react/jsx-runtime";const o=()=>e(n,{children:[s("style",{type:"text/css",children:"\n@media print {\n .wb-shared-version {\n display: none;\n }\n}"}),e("div",{className:"wb-shared-version",style:{bottom:4,left:4,opacity:.5,pointerEvents:"none",position:"fixed",userSelect:"none",fontSize:"0.75rem"},children:[process.env.NEXT_PUBLIC_WB_VERSION||process.env.WB_VERSION||"dev"," on"," ",process.env.NEXT_PUBLIC_WB_ENV||process.env.WB_ENV||"local"]})]});export{o as VersionOverlay};
|
|
2
2
|
//# sourceMappingURL=VersionOverlay.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VersionOverlay.js","sources":["../../src/VersionOverlay.tsx"],"sourcesContent":["import type React from 'react';\n\nconst css = `\n@media print {\n .wb-shared-version {\n display: none;\n }\n}`;\n\nexport const VersionOverlay: React.FC = () => (\n <>\n <style type=\"text/css\">{css}</style>\n <div\n className=\"wb-shared-version\"\n style={{\n bottom: 4,\n left: 4,\n opacity: 0.5,\n pointerEvents: 'none',\n position: 'fixed',\n userSelect: 'none',\n fontSize: '0.75rem',\n }}\n >\n {process.env.
|
|
1
|
+
{"version":3,"file":"VersionOverlay.js","sources":["../../src/VersionOverlay.tsx"],"sourcesContent":["import type React from 'react';\n\nconst css = `\n@media print {\n .wb-shared-version {\n display: none;\n }\n}`;\n\nexport const VersionOverlay: React.FC = () => (\n <>\n <style type=\"text/css\">{css}</style>\n <div\n className=\"wb-shared-version\"\n style={{\n bottom: 4,\n left: 4,\n opacity: 0.5,\n pointerEvents: 'none',\n position: 'fixed',\n userSelect: 'none',\n fontSize: '0.75rem',\n }}\n >\n {process.env.NEXT_PUBLIC_WB_VERSION || process.env.WB_VERSION || 'dev'} on{' '}\n {process.env.NEXT_PUBLIC_WB_ENV || process.env.WB_ENV || 'local'}\n </div>\n </>\n);\n"],"names":["VersionOverlay","_jsxs","_Fragment","children","_jsx","type","className","style","bottom","left","opacity","pointerEvents","position","userSelect","fontSize","process","env","NEXT_PUBLIC_WB_VERSION","WB_VERSION","NEXT_PUBLIC_WB_ENV","WB_ENV"],"mappings":"gEAEA,MAOaA,EAA2B,IACtCC,EAAAC,EAAA,CAAAC,SACE,CAAAC,EAAA,QAAA,CAAOC,KAAK,WAAUF,SATb,yEAUTF,EAAA,MAAA,CACEK,UAAU,oBACVC,MAAO,CACLC,OAAQ,EACRC,KAAM,EACNC,QAAS,GACTC,cAAe,OACfC,SAAU,QACVC,WAAY,OACZC,SAAU,WACVX,SAAA,CAEDY,QAAQC,IAAIC,wBAA0BF,QAAQC,IAAIE,YAAc,MAAM,MAAI,IAC1EH,QAAQC,IAAIG,oBAAsBJ,QAAQC,IAAII,QAAU"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/shared-lib-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": "WillBooster Inc.",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"prettier": "@willbooster/prettier-config",
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@babel/core": "7.20.12",
|
|
37
|
-
"@mdx-js/react": "2.
|
|
37
|
+
"@mdx-js/react": "2.3.0",
|
|
38
38
|
"@storybook/addon-actions": "6.5.16",
|
|
39
39
|
"@storybook/addon-docs": "6.5.16",
|
|
40
40
|
"@storybook/addon-essentials": "6.5.16",
|
|
@@ -44,35 +44,35 @@
|
|
|
44
44
|
"@storybook/manager-webpack4": "6.5.16",
|
|
45
45
|
"@storybook/react": "6.5.16",
|
|
46
46
|
"@storybook/testing-library": "0.0.13",
|
|
47
|
-
"@types/eslint": "8.21.
|
|
47
|
+
"@types/eslint": "8.21.1",
|
|
48
48
|
"@types/micromatch": "4.0.2",
|
|
49
49
|
"@types/prettier": "2.7.2",
|
|
50
|
-
"@types/react": "18.0.
|
|
51
|
-
"@types/react-dom": "18.0.
|
|
52
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
53
|
-
"@typescript-eslint/parser": "5.
|
|
50
|
+
"@types/react": "18.0.28",
|
|
51
|
+
"@types/react-dom": "18.0.11",
|
|
52
|
+
"@typescript-eslint/eslint-plugin": "5.52.0",
|
|
53
|
+
"@typescript-eslint/parser": "5.52.0",
|
|
54
54
|
"@willbooster/eslint-config-ts-react": "10.1.0",
|
|
55
55
|
"@willbooster/prettier-config": "9.1.1",
|
|
56
56
|
"babel-loader": "9.1.2",
|
|
57
|
-
"build-ts": "5.
|
|
58
|
-
"eslint": "8.
|
|
57
|
+
"build-ts": "5.7.2",
|
|
58
|
+
"eslint": "8.34.0",
|
|
59
59
|
"eslint-config-prettier": "8.6.0",
|
|
60
60
|
"eslint-import-resolver-typescript": "3.5.3",
|
|
61
61
|
"eslint-plugin-import": "2.27.5",
|
|
62
62
|
"eslint-plugin-react": "7.32.2",
|
|
63
63
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
64
64
|
"eslint-plugin-sort-class-members": "1.16.0",
|
|
65
|
-
"eslint-plugin-sort-destructure-keys": "1.
|
|
65
|
+
"eslint-plugin-sort-destructure-keys": "1.5.0",
|
|
66
66
|
"eslint-plugin-storybook": "0.6.10",
|
|
67
67
|
"eslint-plugin-unicorn": "45.0.2",
|
|
68
|
-
"lint-staged": "13.1.
|
|
68
|
+
"lint-staged": "13.1.2",
|
|
69
69
|
"micromatch": "4.0.5",
|
|
70
|
-
"prettier": "2.8.
|
|
70
|
+
"prettier": "2.8.4",
|
|
71
71
|
"react": "18.2.0",
|
|
72
72
|
"react-dom": "18.2.0",
|
|
73
73
|
"sort-package-json": "2.4.1",
|
|
74
74
|
"typescript": "4.9.5",
|
|
75
|
-
"vitest": "0.28.
|
|
75
|
+
"vitest": "0.28.5"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"react": "~18.2.0",
|