@adriansteffan/reactive 0.1.25 → 0.1.26

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,4 +1,4 @@
1
- import { W as P, b as x, E } from "./mod-pa8Hci6M.js";
1
+ import { W as P, b as x, E } from "./mod-BDgNS_RM.js";
2
2
  function m(w) {
3
3
  const e = w.split("/").filter((t) => t !== "."), r = [];
4
4
  return e.forEach((t) => {
@@ -1,4 +1,4 @@
1
- import { W as e } from "./mod-pa8Hci6M.js";
1
+ import { W as e } from "./mod-BDgNS_RM.js";
2
2
  class s extends e {
3
3
  async enable() {
4
4
  console.log("Immersive mode is only available on Android");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adriansteffan/reactive",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -132,7 +132,7 @@ function Quest({
132
132
 
133
133
  const survey = new Model({
134
134
  ...surveyJson,
135
- css: { ...defaultCss, root: `sd-root-modern custom-root${containerClass ? ' survey-custom-bg' : ''}` },
135
+ css: { ...defaultCss, root: 'sd-root-modern custom-root' },
136
136
  });
137
137
  survey.applyTheme(theme ?? ContrastLight);
138
138
 
@@ -148,7 +148,7 @@ function Quest({
148
148
  return (
149
149
  <div className={`min-h-screen ${containerClass ?? ''}`}>
150
150
  {!containerClass && <div className='absolute inset-0 -z-10 h-full w-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px]' />}
151
- <div className='max-w-4xl mx-auto px-4'>
151
+ <div className={`max-w-4xl mx-auto px-4${containerClass ? ' quest-custom-bg' : ''}`}>
152
152
  <Survey model={survey} />
153
153
  </div>
154
154
  </div>
package/src/index.css CHANGED
@@ -94,9 +94,10 @@
94
94
  font-family: 'Atkinson Hyperlegible', sans-serif; /* Added this line */
95
95
  }
96
96
 
97
- .sd-root-modern.survey-custom-bg {
97
+ .quest-custom-bg .sd-root-modern {
98
98
  background-color: transparent !important;
99
99
  background-image: none !important;
100
+ background-size: unset !important;
100
101
  }
101
102
 
102
103
  .sd-root-modern * {