@creopse/react 0.0.14 → 0.0.15

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.cjs CHANGED
@@ -8180,6 +8180,10 @@ const useSetup = () => {
8180
8180
  getFinalPageSections
8181
8181
  };
8182
8182
  };
8183
+ const resetStyles = "_reset-styles_1tka1_1";
8184
+ const styles = {
8185
+ resetStyles
8186
+ };
8183
8187
  const RootContainer = () => {
8184
8188
  const { page } = content.useContent();
8185
8189
  const props = content.useProps();
@@ -8364,7 +8368,7 @@ const RootContainer = () => {
8364
8368
  window.removeEventListener("message", handleMessage);
8365
8369
  };
8366
8370
  }, [sections, manager, getFinalPageSections]);
8367
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { all: "unset" }, children: sections.map((section) => {
8371
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles.resetStyles, children: sections.map((section) => {
8368
8372
  const Component = components[section.name];
8369
8373
  const staticKey = `${section.slug}__${section.pivot?.linkId}`;
8370
8374
  const dynamicKey = sectionKeys[`${staticKey}-key`];
@@ -8376,7 +8380,7 @@ const RootContainer = () => {
8376
8380
  "section",
8377
8381
  {
8378
8382
  id: `${staticKey}-container`,
8379
- style: { all: "unset" },
8383
+ className: styles.resetStyles,
8380
8384
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
8381
8385
  Component,
8382
8386
  {
package/dist/index.mjs CHANGED
@@ -8162,6 +8162,10 @@ const useSetup = () => {
8162
8162
  getFinalPageSections
8163
8163
  };
8164
8164
  };
8165
+ const resetStyles = "_reset-styles_1tka1_1";
8166
+ const styles = {
8167
+ resetStyles
8168
+ };
8165
8169
  const RootContainer = () => {
8166
8170
  const { page } = useContent();
8167
8171
  const props = useProps();
@@ -8346,7 +8350,7 @@ const RootContainer = () => {
8346
8350
  window.removeEventListener("message", handleMessage);
8347
8351
  };
8348
8352
  }, [sections, manager, getFinalPageSections]);
8349
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { all: "unset" }, children: sections.map((section) => {
8353
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles.resetStyles, children: sections.map((section) => {
8350
8354
  const Component2 = components[section.name];
8351
8355
  const staticKey = `${section.slug}__${section.pivot?.linkId}`;
8352
8356
  const dynamicKey = sectionKeys[`${staticKey}-key`];
@@ -8358,7 +8362,7 @@ const RootContainer = () => {
8358
8362
  "section",
8359
8363
  {
8360
8364
  id: `${staticKey}-container`,
8361
- style: { all: "unset" },
8365
+ className: styles.resetStyles,
8362
8366
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
8363
8367
  Component2,
8364
8368
  {
package/dist/react.css ADDED
@@ -0,0 +1,3 @@
1
+ ._reset-styles_1tka1_1 {
2
+ all: revert !important;
3
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@creopse/react",
3
3
  "description": "Creopse React Toolkit",
4
- "version": "0.0.14",
4
+ "version": "0.0.15",
5
5
  "private": false,
6
6
  "author": "Noé Gnanih <noegnanih@gmail.com>",
7
7
  "license": "MIT",