piral-modals 1.8.0-beta.7659 → 1.8.0-beta.7668
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/lib/default.js.map +1 -1
- package/package.json +3 -3
- package/src/default.tsx +1 -3
package/lib/default.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.js","sourceRoot":"","sources":["../src/default.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG3C,MAAM,CAAC,MAAM,WAAW,GAA8B,CAAC,KAAK,EAAE,EAAE,CAAC,CAC/D,6BAAK,SAAS,EAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"default.js","sourceRoot":"","sources":["../src/default.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG3C,MAAM,CAAC,MAAM,WAAW,GAA8B,CAAC,KAAK,EAAE,EAAE,CAAC,CAC/D,6BAAK,SAAS,EAAC,mBAAmB,IAAE,KAAK,CAAC,IAAI,IAAI,6BAAK,SAAS,EAAC,sBAAsB,IAAE,KAAK,CAAC,QAAQ,CAAO,CAAO,CACtH,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAgC,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "piral-modals",
|
|
3
|
-
"version": "1.8.0-beta.
|
|
3
|
+
"version": "1.8.0-beta.7668",
|
|
4
4
|
"description": "Plugin for the display of modal dialogs in Piral.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"piral",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/react": "^18.0.0",
|
|
54
|
-
"piral-core": "1.8.0-beta.
|
|
54
|
+
"piral-core": "1.8.0-beta.7668",
|
|
55
55
|
"react": "^18.0.0"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "1b32d52d4d57363bed8af9105dd41a0635075721"
|
|
58
58
|
}
|
package/src/default.tsx
CHANGED
|
@@ -3,9 +3,7 @@ import { defaultRender } from 'piral-core';
|
|
|
3
3
|
import { ModalsHostProps, ModalsDialogProps } from './types';
|
|
4
4
|
|
|
5
5
|
export const DefaultHost: React.FC<ModalsHostProps> = (props) => (
|
|
6
|
-
<div className="piral-modals-host">
|
|
7
|
-
{props.open && <div className="piral-modals-overlay">{props.children}</div>}
|
|
8
|
-
</div>
|
|
6
|
+
<div className="piral-modals-host">{props.open && <div className="piral-modals-overlay">{props.children}</div>}</div>
|
|
9
7
|
);
|
|
10
8
|
|
|
11
9
|
export const DefaultDialog: React.FC<ModalsDialogProps> = (props) => defaultRender(props.children);
|