@optiaxiom/proteus 0.1.20 → 0.1.22-next.1
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-CK0mlfvQ.css → ProteusChart.css.ts.vanilla-Qxw4rwpH.css} +2 -2
- package/dist/esm/assets/src/proteus-chart/{ProteusChartTooltipContent.css.ts.vanilla-VEKfizml.css → ProteusChartTooltipContent.css.ts.vanilla-CXOspnN_.css} +2 -2
- package/dist/esm/assets/src/proteus-image-carousel/{ProteusImageCarousel.css.ts.vanilla-DV3O-VwO.css → ProteusImageCarousel.css.ts.vanilla-CJORx2JF.css} +2 -2
- package/dist/esm/assets/src/proteus-question/{ProteusQuestion.css.ts.vanilla-0cQoAJ0-.css → ProteusQuestion.css.ts.vanilla-DVD_u2w0.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-chart/ProteusChartTooltipContent.js +2 -2
- package/dist/esm/proteus-image-carousel/ProteusImageCarousel-css.js +1 -1
- package/dist/esm/proteus-image-carousel/ProteusImageCarousel.js +1 -1
- package/dist/esm/proteus-question/ProteusQuestion-css.js +1 -1
- package/dist/esm/proteus-question/ProteusQuestion.js +1 -1
- package/dist/esm/schema/public-schema.json.js +123 -114
- package/dist/esm/schema/runtime-schema.json.js +123 -114
- package/package.json +8 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './../assets/src/proteus-chart/ProteusChart.css.ts.vanilla-
|
|
1
|
+
import './../assets/src/proteus-chart/ProteusChart.css.ts.vanilla-Qxw4rwpH.css';
|
|
2
2
|
import { recipe } from '@optiaxiom/react/css-runtime';
|
|
3
3
|
|
|
4
4
|
var chart = recipe({base:[{border:'1',borderColor:'border.tertiary',fontSize:'sm',p:'16'},'ProteusChart__jmlqij1','ProteusChart__jmlqij0']});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './../assets/src/proteus-chart/ProteusChartTooltipContent.css.ts.vanilla-
|
|
1
|
+
import './../assets/src/proteus-chart/ProteusChartTooltipContent.css.ts.vanilla-CXOspnN_.css';
|
|
2
2
|
import { recipe } from '@optiaxiom/react/css-runtime';
|
|
3
3
|
|
|
4
4
|
var tooltip = recipe({base:[{bg:'bg.default',border:'1',borderColor:'border.secondary',display:'grid',fontSize:'sm',gap:'6',px:'8',py:'10',rounded:'lg',shadow:'lg'},'ProteusChartTooltipContent__1gsvq810']});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { Box, Group } from '@optiaxiom/react';
|
|
4
4
|
import { applyFormatter } from '../proteus-document/getProteusValue.js';
|
|
5
|
-
import {
|
|
5
|
+
import { value, tooltip } from './ProteusChartTooltipContent-css.js';
|
|
6
6
|
|
|
7
7
|
function ProteusChartTooltipContent({
|
|
8
8
|
active,
|
|
@@ -32,7 +32,7 @@ function ProteusChartTooltipContent({
|
|
|
32
32
|
style: { backgroundColor: item.color }
|
|
33
33
|
}
|
|
34
34
|
),
|
|
35
|
-
/* @__PURE__ */ jsx(Box, { color: "fg.tertiary", children: item.name ?? item.dataKey })
|
|
35
|
+
/* @__PURE__ */ jsx(Box, { color: "fg.tertiary", children: item.name ?? String(item.dataKey) })
|
|
36
36
|
] }),
|
|
37
37
|
/* @__PURE__ */ jsx(Box, { ...value(), children: applyFormatter(item.value, "Number") })
|
|
38
38
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './../assets/src/proteus-image-carousel/ProteusImageCarousel.css.ts.vanilla-
|
|
1
|
+
import './../assets/src/proteus-image-carousel/ProteusImageCarousel.css.ts.vanilla-CJORx2JF.css';
|
|
2
2
|
import { recipe } from '@optiaxiom/react/css-runtime';
|
|
3
3
|
|
|
4
4
|
var carousel = recipe({base:[{flexDirection:'column',gap:'12'},'ProteusImageCarousel__1t6qej70']});
|
|
@@ -7,7 +7,7 @@ import { IconAngleLeft } from '../icons/IconAngleLeft.js';
|
|
|
7
7
|
import { IconAngleRight } from '../icons/IconAngleRight.js';
|
|
8
8
|
import { useProteusDocumentContext } from '../proteus-document/ProteusDocumentContext.js';
|
|
9
9
|
import { ProteusImage } from '../proteus-image/ProteusImage.js';
|
|
10
|
-
import {
|
|
10
|
+
import { slide, slideContainer, viewport, navButton, content, thumbnail, carousel } from './ProteusImageCarousel-css.js';
|
|
11
11
|
|
|
12
12
|
function ProteusImageCarousel({
|
|
13
13
|
images,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './../assets/src/proteus-question/ProteusQuestion.css.ts.vanilla-
|
|
1
|
+
import './../assets/src/proteus-question/ProteusQuestion.css.ts.vanilla-DVD_u2w0.css';
|
|
2
2
|
import { recipe } from '@optiaxiom/react/css-runtime';
|
|
3
3
|
|
|
4
4
|
var addon = recipe({base:[{display:'grid',fontWeight:'500',placeItems:'center',rounded:'lg',size:'md',transition:'colors'},'ProteusQuestion__8f590p3'],variants:{cursor:{pointer:{cursor:'pointer'}}}});
|
|
@@ -9,7 +9,7 @@ import { IconAngleLeft } from '../icons/IconAngleLeft.js';
|
|
|
9
9
|
import { IconAngleRight } from '../icons/IconAngleRight.js';
|
|
10
10
|
import { IconX } from '../icons/IconX.js';
|
|
11
11
|
import { useProteusDocumentContext } from '../proteus-document/ProteusDocumentContext.js';
|
|
12
|
-
import {
|
|
12
|
+
import { addon, choice, choiceGroup, question } from './ProteusQuestion-css.js';
|
|
13
13
|
|
|
14
14
|
function ProteusQuestion({ questions }) {
|
|
15
15
|
const { onEvent } = useProteusDocumentContext(
|