@adriansteffan/reactive 0.0.33 → 0.0.35

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-E7J43-ME.js";
1
+ import { W as P, b as x, E } from "./mod-bwTFfeeq.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-E7J43-ME.js";
1
+ import { W as e } from "./mod-bwTFfeeq.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.0.33",
3
+ "version": "0.0.35",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -5,6 +5,7 @@ function Text({
5
5
  content,
6
6
  buttonText = 'Click me',
7
7
  className = '',
8
+ containerClass = '',
8
9
  next,
9
10
  animate = false,
10
11
  allowedKeys = false,
@@ -13,6 +14,7 @@ function Text({
13
14
  buttonText?: string;
14
15
  onButtonClick?: () => void;
15
16
  className?: string;
17
+ containerClass?: string;
16
18
  animate?: boolean;
17
19
  allowedKeys?: string[] | boolean;
18
20
  } & BaseComponentProps) {
@@ -62,7 +64,8 @@ function Text({
62
64
  };
63
65
 
64
66
  return (
65
- <div className={`max-w-prose mx-auto ${className} mt-20 mb-20 px-4 `}>
67
+ <div className={`${containerClass}`}>
68
+ <div className={`max-w-prose mx-auto ${className} mt-20 mb-20 px-4 `}>
66
69
  <article
67
70
  className={`prose prose-2xl prose-slate text-xl prose-a:text-blue-600 prose-a:underline prose-h1:text-4xl prose-h1:mb-10 prose-h1:font-bold prose-p:mb-4 prose-strong:font-bold text-black leading-relaxed
68
71
  ${animate ? 'animate-slide-down opacity-0' : ''}`}
@@ -83,6 +86,7 @@ function Text({
83
86
  </button>
84
87
  </div>
85
88
  )}
89
+ </div>
86
90
  </div>
87
91
  );
88
92
  }
package/src/mod.tsx CHANGED
@@ -6,4 +6,4 @@ export * from './utils/array';
6
6
  export * from './utils/common';
7
7
  export * from './components';
8
8
 
9
- export { toast } from 'react-toastify';
9
+ export * from 'react-toastify';
@@ -19,7 +19,6 @@
19
19
  "react": "^18.2.0",
20
20
  "react-dom": "^18.2.0",
21
21
  "react-icons": "^5.1.0",
22
- "react-toastify": "^10.0.6",
23
22
  "survey-react-ui": "^1.12.9"
24
23
  },
25
24
  "devDependencies": {
@@ -71,7 +71,6 @@
71
71
  "react": "^18.2.0",
72
72
  "react-dom": "^18.2.0",
73
73
  "react-icons": "^5.1.0",
74
- "react-toastify": "^10.0.6",
75
74
  "survey-react-ui": "^1.12.9"
76
75
  },
77
76
  "devDependencies": {