@optiaxiom/proteus 0.1.20 → 0.1.21

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,5 +1,5 @@
1
- @layer optiaxiom._1g6ippr;
2
- @layer optiaxiom._1g6ippr {
1
+ @layer optiaxiom.tmkl1w;
2
+ @layer optiaxiom.tmkl1w {
3
3
  .ProteusChart__jmlqij1 {
4
4
  border-radius: 16px;
5
5
  }
@@ -1,5 +1,5 @@
1
- @layer optiaxiom._1g6ippr;
2
- @layer optiaxiom._1g6ippr {
1
+ @layer optiaxiom.tmkl1w;
2
+ @layer optiaxiom.tmkl1w {
3
3
  .ProteusChartTooltipContent__1gsvq810 {
4
4
  min-width: 128px;
5
5
  }
@@ -1,5 +1,5 @@
1
- @layer optiaxiom._1g6ippr;
2
- @layer optiaxiom._1g6ippr {
1
+ @layer optiaxiom.tmkl1w;
2
+ @layer optiaxiom.tmkl1w {
3
3
  .ProteusImageCarousel__1t6qej70 {
4
4
  outline: none;
5
5
  user-select: none;
@@ -1,5 +1,5 @@
1
- @layer optiaxiom._1g6ippr;
2
- @layer optiaxiom._1g6ippr {
1
+ @layer optiaxiom.tmkl1w;
2
+ @layer optiaxiom.tmkl1w {
3
3
  .ProteusQuestion__8f590p0 {
4
4
  outline: none;
5
5
  }
@@ -1,4 +1,4 @@
1
- import './../assets/src/proteus-chart/ProteusChart.css.ts.vanilla-CK0mlfvQ.css';
1
+ import './../assets/src/proteus-chart/ProteusChart.css.ts.vanilla-BCN2MOqI.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-VEKfizml.css';
1
+ import './../assets/src/proteus-chart/ProteusChartTooltipContent.css.ts.vanilla-DmqHa3bY.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 { tooltip, value } from './ProteusChartTooltipContent-css.js';
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-DV3O-VwO.css';
1
+ import './../assets/src/proteus-image-carousel/ProteusImageCarousel.css.ts.vanilla-Bbo2TbLv.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 { carousel, content, viewport, slideContainer, slide, navButton, thumbnail } from './ProteusImageCarousel-css.js';
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-0cQoAJ0-.css';
1
+ import './../assets/src/proteus-question/ProteusQuestion.css.ts.vanilla-DRvLrb5J.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 { question, choiceGroup, choice, addon } from './ProteusQuestion-css.js';
12
+ import { addon, choice, choiceGroup, question } from './ProteusQuestion-css.js';
13
13
 
14
14
  function ProteusQuestion({ questions }) {
15
15
  const { onEvent } = useProteusDocumentContext(
@@ -2,9 +2,6 @@ var $schema = "http://json-schema.org/draft-07/schema#";
2
2
  var definitions = {
3
3
  SprinkleProp_alignItems: {
4
4
  anyOf: [
5
- {
6
- "const": "normal"
7
- },
8
5
  {
9
6
  "const": "stretch"
10
7
  },
@@ -17,6 +14,9 @@ var definitions = {
17
14
  {
18
15
  "const": "start"
19
16
  },
17
+ {
18
+ "const": "normal"
19
+ },
20
20
  {
21
21
  $ref: "#/definitions/ProteusExpression"
22
22
  }
@@ -25,9 +25,6 @@ var definitions = {
25
25
  },
26
26
  SprinkleProp_alignSelf: {
27
27
  anyOf: [
28
- {
29
- "const": "normal"
30
- },
31
28
  {
32
29
  "const": "stretch"
33
30
  },
@@ -40,6 +37,9 @@ var definitions = {
40
37
  {
41
38
  "const": "start"
42
39
  },
40
+ {
41
+ "const": "normal"
42
+ },
43
43
  {
44
44
  $ref: "#/definitions/ProteusExpression"
45
45
  }
@@ -456,13 +456,13 @@ var definitions = {
456
456
  SprinkleProp_cursor: {
457
457
  anyOf: [
458
458
  {
459
- "const": "default"
459
+ "const": "text"
460
460
  },
461
461
  {
462
- "const": "pointer"
462
+ "const": "default"
463
463
  },
464
464
  {
465
- "const": "text"
465
+ "const": "pointer"
466
466
  },
467
467
  {
468
468
  $ref: "#/definitions/ProteusExpression"
@@ -841,9 +841,6 @@ var definitions = {
841
841
  },
842
842
  SprinkleProp_justifyContent: {
843
843
  anyOf: [
844
- {
845
- "const": "normal"
846
- },
847
844
  {
848
845
  "const": "space-around"
849
846
  },
@@ -871,6 +868,9 @@ var definitions = {
871
868
  {
872
869
  "const": "start"
873
870
  },
871
+ {
872
+ "const": "normal"
873
+ },
874
874
  {
875
875
  $ref: "#/definitions/ProteusExpression"
876
876
  }
@@ -879,9 +879,6 @@ var definitions = {
879
879
  },
880
880
  SprinkleProp_justifyItems: {
881
881
  anyOf: [
882
- {
883
- "const": "normal"
884
- },
885
882
  {
886
883
  "const": "stretch"
887
884
  },
@@ -894,6 +891,9 @@ var definitions = {
894
891
  {
895
892
  "const": "start"
896
893
  },
894
+ {
895
+ "const": "normal"
896
+ },
897
897
  {
898
898
  $ref: "#/definitions/ProteusExpression"
899
899
  }
@@ -4984,9 +4984,6 @@ var definitions = {
4984
4984
  },
4985
4985
  alignItems: {
4986
4986
  anyOf: [
4987
- {
4988
- "const": "normal"
4989
- },
4990
4987
  {
4991
4988
  "const": "stretch"
4992
4989
  },
@@ -4999,6 +4996,9 @@ var definitions = {
4999
4996
  {
5000
4997
  "const": "start"
5001
4998
  },
4999
+ {
5000
+ "const": "normal"
5001
+ },
5002
5002
  {
5003
5003
  $ref: "#/definitions/ProteusExpression"
5004
5004
  }
@@ -1,9 +1,6 @@
1
1
  var definitions = {
2
2
  SprinkleProp_alignItems: {
3
3
  anyOf: [
4
- {
5
- "const": "normal"
6
- },
7
4
  {
8
5
  "const": "stretch"
9
6
  },
@@ -16,6 +13,9 @@ var definitions = {
16
13
  {
17
14
  "const": "start"
18
15
  },
16
+ {
17
+ "const": "normal"
18
+ },
19
19
  {
20
20
  $ref: "#/definitions/ProteusExpression"
21
21
  }
@@ -24,9 +24,6 @@ var definitions = {
24
24
  },
25
25
  SprinkleProp_alignSelf: {
26
26
  anyOf: [
27
- {
28
- "const": "normal"
29
- },
30
27
  {
31
28
  "const": "stretch"
32
29
  },
@@ -39,6 +36,9 @@ var definitions = {
39
36
  {
40
37
  "const": "start"
41
38
  },
39
+ {
40
+ "const": "normal"
41
+ },
42
42
  {
43
43
  $ref: "#/definitions/ProteusExpression"
44
44
  }
@@ -455,13 +455,13 @@ var definitions = {
455
455
  SprinkleProp_cursor: {
456
456
  anyOf: [
457
457
  {
458
- "const": "default"
458
+ "const": "text"
459
459
  },
460
460
  {
461
- "const": "pointer"
461
+ "const": "default"
462
462
  },
463
463
  {
464
- "const": "text"
464
+ "const": "pointer"
465
465
  },
466
466
  {
467
467
  $ref: "#/definitions/ProteusExpression"
@@ -840,9 +840,6 @@ var definitions = {
840
840
  },
841
841
  SprinkleProp_justifyContent: {
842
842
  anyOf: [
843
- {
844
- "const": "normal"
845
- },
846
843
  {
847
844
  "const": "space-around"
848
845
  },
@@ -870,6 +867,9 @@ var definitions = {
870
867
  {
871
868
  "const": "start"
872
869
  },
870
+ {
871
+ "const": "normal"
872
+ },
873
873
  {
874
874
  $ref: "#/definitions/ProteusExpression"
875
875
  }
@@ -878,9 +878,6 @@ var definitions = {
878
878
  },
879
879
  SprinkleProp_justifyItems: {
880
880
  anyOf: [
881
- {
882
- "const": "normal"
883
- },
884
881
  {
885
882
  "const": "stretch"
886
883
  },
@@ -893,6 +890,9 @@ var definitions = {
893
890
  {
894
891
  "const": "start"
895
892
  },
893
+ {
894
+ "const": "normal"
895
+ },
896
896
  {
897
897
  $ref: "#/definitions/ProteusExpression"
898
898
  }
@@ -4953,9 +4953,6 @@ var definitions = {
4953
4953
  },
4954
4954
  alignItems: {
4955
4955
  anyOf: [
4956
- {
4957
- "const": "normal"
4958
- },
4959
4956
  {
4960
4957
  "const": "stretch"
4961
4958
  },
@@ -4968,6 +4965,9 @@ var definitions = {
4968
4965
  {
4969
4966
  "const": "start"
4970
4967
  },
4968
+ {
4969
+ "const": "normal"
4970
+ },
4971
4971
  {
4972
4972
  $ref: "#/definitions/ProteusExpression"
4973
4973
  }
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": "0.1.20",
10
+ "version": "0.1.21",
11
11
  "files": [
12
12
  "dist/**",
13
13
  "LICENSE"
@@ -32,18 +32,18 @@
32
32
  "@radix-ui/react-context": "^1.1.2",
33
33
  "@radix-ui/react-roving-focus": "^1.1.11",
34
34
  "@radix-ui/react-use-controllable-state": "^1.2.2",
35
- "@tanstack/react-table": "^8.0.0",
35
+ "@tanstack/react-table": "^8.21.3",
36
36
  "embla-carousel-react": "^8.6.0",
37
37
  "jsonpointer": "^5.0.1",
38
- "recharts": "^3.7.0",
39
- "@optiaxiom/icons": "0.1.4",
40
- "@optiaxiom/react": "1.9.25"
38
+ "recharts": "^3.8.1",
39
+ "@optiaxiom/icons": "1.0.0",
40
+ "@optiaxiom/react": "1.9.26"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@emotion/hash": "^0.9.2",
44
- "@vanilla-extract/css": "^1.17.4",
45
- "autoprefixer": "^10.4.21",
46
- "postcss": "^8.5.6",
44
+ "@vanilla-extract/css": "^1.20.1",
45
+ "autoprefixer": "^10.5.0",
46
+ "postcss": "^8.5.10",
47
47
  "@optiaxiom/shared": "0.0.0"
48
48
  },
49
49
  "peerDependencies": {