@optiaxiom/proteus 3.0.2 → 3.0.3
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/esm/assets/src/proteus-chart/{ProteusChart.css.ts.vanilla-Cs4PLepm.css → ProteusChart.css.ts.vanilla-BPVTZcEg.css} +2 -2
- package/dist/esm/assets/src/proteus-chart/{ProteusChartTooltipContent.css.ts.vanilla-CWbrMa_L.css → ProteusChartTooltipContent.css.ts.vanilla-BZxHvvHO.css} +2 -2
- package/dist/esm/assets/src/proteus-document/{ProteusDocumentShell.css.ts.vanilla-C3QyhoDK.css → ProteusDocumentShell.css.ts.vanilla-CP4-_bAc.css} +2 -2
- package/dist/esm/assets/src/proteus-image-carousel/{ProteusImageCarousel.css.ts.vanilla-iR8KhxVx.css → ProteusImageCarousel.css.ts.vanilla-lvtorXs4.css} +2 -2
- package/dist/esm/assets/src/proteus-markdown/{ProteusMarkdown.css.ts.vanilla-BaIAffSf.css → ProteusMarkdown.css.ts.vanilla-B6OwDd3f.css} +2 -2
- package/dist/esm/assets/src/proteus-question/{ProteusQuestion.css.ts.vanilla-Ba9cfjMj.css → ProteusQuestion.css.ts.vanilla-CncBEe33.css} +2 -2
- package/dist/esm/proteus-chart/ProteusChart-css.js +1 -1
- package/dist/esm/proteus-chart/ProteusChartTooltipContent-css.js +1 -1
- package/dist/esm/proteus-document/ProteusDocumentShell-css.js +1 -1
- package/dist/esm/proteus-image-carousel/ProteusImageCarousel-css.js +1 -1
- package/dist/esm/proteus-markdown/ProteusMarkdown-css.js +1 -1
- package/dist/esm/proteus-question/ProteusQuestion-css.js +1 -1
- package/dist/esm/proteus-question/ProteusQuestion.js +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./../assets/src/proteus-chart/ProteusChart.css.ts.vanilla-
|
|
1
|
+
import "./../assets/src/proteus-chart/ProteusChart.css.ts.vanilla-BPVTZcEg.css";
|
|
2
2
|
import { recipe } from "@optiaxiom/react/css-runtime";
|
|
3
3
|
//#region src/proteus-chart/ProteusChart.css.ts
|
|
4
4
|
var chart = recipe({ base: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { recipe } from "@optiaxiom/react/css-runtime";
|
|
2
|
-
import "./../assets/src/proteus-chart/ProteusChartTooltipContent.css.ts.vanilla-
|
|
2
|
+
import "./../assets/src/proteus-chart/ProteusChartTooltipContent.css.ts.vanilla-BZxHvvHO.css";
|
|
3
3
|
//#region src/proteus-chart/ProteusChartTooltipContent.css.ts
|
|
4
4
|
var tooltip = recipe({ base: [{
|
|
5
5
|
bg: "bg.default",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { recipe } from "@optiaxiom/react/css-runtime";
|
|
2
|
-
import "./../assets/src/proteus-document/ProteusDocumentShell.css.ts.vanilla-
|
|
2
|
+
import "./../assets/src/proteus-document/ProteusDocumentShell.css.ts.vanilla-CP4-_bAc.css";
|
|
3
3
|
//#region src/proteus-document/ProteusDocumentShell.css.ts
|
|
4
4
|
var body = recipe({
|
|
5
5
|
base: [{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { recipe } from "@optiaxiom/react/css-runtime";
|
|
2
|
-
import "./../assets/src/proteus-image-carousel/ProteusImageCarousel.css.ts.vanilla-
|
|
2
|
+
import "./../assets/src/proteus-image-carousel/ProteusImageCarousel.css.ts.vanilla-lvtorXs4.css";
|
|
3
3
|
//#region src/proteus-image-carousel/ProteusImageCarousel.css.ts
|
|
4
4
|
var carousel = recipe({ base: [{
|
|
5
5
|
flexDirection: "column",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { recipe } from "@optiaxiom/react/css-runtime";
|
|
2
|
-
import "./../assets/src/proteus-markdown/ProteusMarkdown.css.ts.vanilla-
|
|
2
|
+
import "./../assets/src/proteus-markdown/ProteusMarkdown.css.ts.vanilla-B6OwDd3f.css";
|
|
3
3
|
//#region src/proteus-markdown/ProteusMarkdown.css.ts
|
|
4
4
|
var code = recipe({ base: [{
|
|
5
5
|
bg: "bg.secondary",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { recipe } from "@optiaxiom/react/css-runtime";
|
|
2
|
-
import "./../assets/src/proteus-question/ProteusQuestion.css.ts.vanilla-
|
|
2
|
+
import "./../assets/src/proteus-question/ProteusQuestion.css.ts.vanilla-CncBEe33.css";
|
|
3
3
|
//#region src/proteus-question/ProteusQuestion.css.ts
|
|
4
4
|
var addon = recipe({
|
|
5
5
|
base: [{
|
|
@@ -58,7 +58,7 @@ function ProteusQuestion({ interaction, questions }) {
|
|
|
58
58
|
}, [currentIndex]);
|
|
59
59
|
const otherInputRef = useRef(null);
|
|
60
60
|
const otherItemRef = useRef(null);
|
|
61
|
-
if (currentIndex >= questions.length) return null;
|
|
61
|
+
if (!Array.isArray(questions) || currentIndex >= questions.length) return null;
|
|
62
62
|
const { options, question: question$1, type } = questions[currentIndex];
|
|
63
63
|
const isLast = currentIndex === questions.length - 1;
|
|
64
64
|
const otherValue = value?.find((v) => !options.includes(v));
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"url": "git+https://github.com/optimizely-axiom/optiaxiom.git"
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
|
-
"version": "3.0.
|
|
10
|
+
"version": "3.0.3",
|
|
11
11
|
"files": [
|
|
12
12
|
"dist/**",
|
|
13
13
|
"LICENSE"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"recharts": "^3.8.1",
|
|
43
43
|
"remark-gfm": "^4.0.1",
|
|
44
44
|
"@optiaxiom/icons": "^1.1.3",
|
|
45
|
-
"@optiaxiom/react": "^3.0.
|
|
45
|
+
"@optiaxiom/react": "^3.0.4"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@emotion/hash": "^0.9.2",
|