@optiaxiom/proteus 3.0.5 → 3.0.6

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.
Files changed (17) hide show
  1. package/dist/esm/assets/src/proteus-chart/{ProteusChart.css.ts.vanilla-A-7rC1r3.css → ProteusChart.css.ts.vanilla-ByPSKREp.css} +2 -2
  2. package/dist/esm/assets/src/proteus-chart/{ProteusChartTooltipContent.css.ts.vanilla-uhvA4kmr.css → ProteusChartTooltipContent.css.ts.vanilla-DnR_C5ly.css} +2 -2
  3. package/dist/esm/assets/src/proteus-document/{ProteusDocumentShell.css.ts.vanilla-DblatOZK.css → ProteusDocumentShell.css.ts.vanilla-CVOes7es.css} +2 -2
  4. package/dist/esm/assets/src/proteus-image-carousel/{ProteusImageCarousel.css.ts.vanilla-BOYjmX9T.css → ProteusImageCarousel.css.ts.vanilla-DXF3wHYt.css} +2 -2
  5. package/dist/esm/assets/src/proteus-markdown/{ProteusMarkdown.css.ts.vanilla-Cy_zJeIA.css → ProteusMarkdown.css.ts.vanilla-Cjmk3X5z.css} +2 -2
  6. package/dist/esm/assets/src/proteus-question/{ProteusQuestion.css.ts.vanilla-C_6ex0tq.css → ProteusQuestion.css.ts.vanilla-DVFRsIPp.css} +2 -2
  7. package/dist/esm/proteus-chart/ProteusChart-css.js +1 -1
  8. package/dist/esm/proteus-chart/ProteusChartTooltipContent-css.js +1 -1
  9. package/dist/esm/proteus-document/ProteusDocumentShell-css.js +1 -1
  10. package/dist/esm/proteus-image-carousel/ProteusImageCarousel-css.js +1 -1
  11. package/dist/esm/proteus-markdown/ProteusMarkdown-css.js +1 -1
  12. package/dist/esm/proteus-question/ProteusQuestion-css.js +1 -1
  13. package/dist/esm/proteus-rich-text-editor/ProteusRichTextEditor.js +1 -1
  14. package/dist/esm/schema/public-schema.js +1 -1
  15. package/dist/esm/schema/runtime-schema.js +1 -1
  16. package/dist/index.d.ts +2 -1
  17. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
- @layer optiaxiom.jonaq;
2
- @layer optiaxiom.jonaq {
1
+ @layer optiaxiom._1dfr2ib;
2
+ @layer optiaxiom._1dfr2ib {
3
3
  .ProteusChart__jmlqij1 {
4
4
  border-radius: 16px;
5
5
  }
@@ -1,5 +1,5 @@
1
- @layer optiaxiom.jonaq;
2
- @layer optiaxiom.jonaq {
1
+ @layer optiaxiom._1dfr2ib;
2
+ @layer optiaxiom._1dfr2ib {
3
3
  .ProteusChartTooltipContent__1gsvq810 {
4
4
  min-width: 128px;
5
5
  position: absolute;
@@ -1,5 +1,5 @@
1
- @layer optiaxiom.jonaq;
2
- @layer optiaxiom.jonaq {
1
+ @layer optiaxiom._1dfr2ib;
2
+ @layer optiaxiom._1dfr2ib {
3
3
  .ProteusDocumentShell__vpuvfj1 {
4
4
  margin: -4px;
5
5
  }
@@ -1,5 +1,5 @@
1
- @layer optiaxiom.jonaq;
2
- @layer optiaxiom.jonaq {
1
+ @layer optiaxiom._1dfr2ib;
2
+ @layer optiaxiom._1dfr2ib {
3
3
  .ProteusImageCarousel__1t6qej70 {
4
4
  outline: none;
5
5
  user-select: none;
@@ -1,5 +1,5 @@
1
- @layer optiaxiom.jonaq;
2
- @layer optiaxiom.jonaq {
1
+ @layer optiaxiom._1dfr2ib;
2
+ @layer optiaxiom._1dfr2ib {
3
3
  .ProteusMarkdown__1ibq5ae0 > * {
4
4
  margin-bottom: 1em;
5
5
  margin-top: 0;
@@ -1,5 +1,5 @@
1
- @layer optiaxiom.jonaq;
2
- @layer optiaxiom.jonaq {
1
+ @layer optiaxiom._1dfr2ib;
2
+ @layer optiaxiom._1dfr2ib {
3
3
  .ProteusQuestion__8f590p0 {
4
4
  outline: none;
5
5
  }
@@ -1,4 +1,4 @@
1
- import "./../assets/src/proteus-chart/ProteusChart.css.ts.vanilla-A-7rC1r3.css";
1
+ import "./../assets/src/proteus-chart/ProteusChart.css.ts.vanilla-ByPSKREp.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-uhvA4kmr.css";
2
+ import "./../assets/src/proteus-chart/ProteusChartTooltipContent.css.ts.vanilla-DnR_C5ly.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-DblatOZK.css";
2
+ import "./../assets/src/proteus-document/ProteusDocumentShell.css.ts.vanilla-CVOes7es.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-BOYjmX9T.css";
2
+ import "./../assets/src/proteus-image-carousel/ProteusImageCarousel.css.ts.vanilla-DXF3wHYt.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-Cy_zJeIA.css";
2
+ import "./../assets/src/proteus-markdown/ProteusMarkdown.css.ts.vanilla-Cjmk3X5z.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-C_6ex0tq.css";
2
+ import "./../assets/src/proteus-question/ProteusQuestion.css.ts.vanilla-DVFRsIPp.css";
3
3
  //#region src/proteus-question/ProteusQuestion.css.ts
4
4
  var addon = recipe({
5
5
  base: [{
@@ -2,8 +2,8 @@
2
2
  import { useProteusDocumentContext } from "../proteus-document/ProteusDocumentContext.js";
3
3
  import { useProteusDocumentPathContext } from "../proteus-document/ProteusDocumentPathContext.js";
4
4
  import { useProteusValue } from "../use-proteus-value/useProteusValue.js";
5
- import { RichTextEditor } from "@optiaxiom/react";
6
5
  import { jsx } from "react/jsx-runtime";
6
+ import { RichTextEditor } from "@optiaxiom/react/editor";
7
7
  //#region src/proteus-rich-text-editor/ProteusRichTextEditor.tsx
8
8
  function ProteusRichTextEditor(props) {
9
9
  const { onDataChange, readOnly } = useProteusDocumentContext("@optiaxiom/proteus/ProteusRichTextEditor");
@@ -4599,7 +4599,7 @@ var public_schema_default = {
4599
4599
  "cursor": { "$ref": "#/definitions/SprinkleProp_cursor" },
4600
4600
  "date": {
4601
4601
  "anyOf": [{ "type": "string" }, { "$ref": "#/definitions/ProteusExpression" }],
4602
- "description": "The date to display. Can be a `Date` object or an ISO 8601 string."
4602
+ "description": "The date to display. Can be a `Date` object or an ISO 8601 string.\nUnparseable values render nothing at runtime instead of throwing."
4603
4603
  },
4604
4604
  "display": { "$ref": "#/definitions/SprinkleProp_display" },
4605
4605
  "flex": { "$ref": "#/definitions/SprinkleProp_flex" },
@@ -4524,7 +4524,7 @@ var definitions = {
4524
4524
  "cursor": { "$ref": "#/definitions/SprinkleProp_cursor" },
4525
4525
  "date": {
4526
4526
  "anyOf": [{ "type": "string" }, { "$ref": "#/definitions/ProteusExpression" }],
4527
- "description": "The date to display. Can be a `Date` object or an ISO 8601 string."
4527
+ "description": "The date to display. Can be a `Date` object or an ISO 8601 string.\nUnparseable values render nothing at runtime instead of throwing."
4528
4528
  },
4529
4529
  "display": { "$ref": "#/definitions/SprinkleProp_display" },
4530
4530
  "flex": { "$ref": "#/definitions/SprinkleProp_flex" },
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { BoxProps, ButtonProps, DateInputProps, Disclosure, InputProps, RichTextEditorProps, SelectProps, TextareaProps } from "@optiaxiom/react";
1
+ import { BoxProps, ButtonProps, DateInputProps, Disclosure, InputProps, SelectProps, TextareaProps } from "@optiaxiom/react";
2
+ import { RichTextEditorProps } from "@optiaxiom/react/editor";
2
3
  import { ComponentPropsWithoutRef, ComponentType, ReactNode } from "react";
3
4
 
4
5
  //#region src/proteus-bridge/ProteusBridge.d.ts
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.5",
10
+ "version": "3.0.6",
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.3.0",
45
- "@optiaxiom/react": "^3.0.7"
45
+ "@optiaxiom/react": "^3.1.2"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@emotion/hash": "^0.9.2",