@optiaxiom/proteus 1.1.1 → 1.1.2
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-BxkAs8DI.css → ProteusChart.css.ts.vanilla-BYvPGdWv.css} +2 -2
- package/dist/esm/assets/src/proteus-chart/{ProteusChartTooltipContent.css.ts.vanilla-D-SePpAZ.css → ProteusChartTooltipContent.css.ts.vanilla-CykN-vdX.css} +2 -2
- package/dist/esm/assets/src/proteus-document/{ProteusDocumentShell.css.ts.vanilla-ED0xFm5G.css → ProteusDocumentShell.css.ts.vanilla-CnC9TXlJ.css} +2 -2
- package/dist/esm/assets/src/proteus-image-carousel/{ProteusImageCarousel.css.ts.vanilla-wUNZklfd.css → ProteusImageCarousel.css.ts.vanilla-CPqn1tWx.css} +2 -2
- package/dist/esm/assets/src/proteus-question/{ProteusQuestion.css.ts.vanilla-DJDdM2PO.css → ProteusQuestion.css.ts.vanilla-DXJt60Ji.css} +2 -2
- package/dist/esm/index.js +2 -1
- 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-element/ProteusElement.js +2 -0
- package/dist/esm/proteus-image-carousel/ProteusImageCarousel-css.js +1 -1
- package/dist/esm/proteus-question/ProteusQuestion-css.js +1 -1
- package/dist/esm/proteus-rich-text-editor/ProteusRichTextEditor.js +23 -0
- package/dist/esm/schema/public-schema.js +84 -0
- package/dist/esm/schema/runtime-schema.js +83 -0
- package/dist/index.d.ts +8 -2
- package/package.json +3 -3
package/dist/esm/index.js
CHANGED
|
@@ -14,9 +14,10 @@ import { ProteusLength } from "./proteus-length/ProteusLength.js";
|
|
|
14
14
|
import { ProteusMapIndex } from "./proteus-map-index/ProteusMapIndex.js";
|
|
15
15
|
import { ProteusMap } from "./proteus-map/ProteusMap.js";
|
|
16
16
|
import { ProteusPillMenu } from "./proteus-pill-menu/ProteusPillMenu.js";
|
|
17
|
+
import { ProteusRichTextEditor } from "./proteus-rich-text-editor/ProteusRichTextEditor.js";
|
|
17
18
|
import { ProteusSelect } from "./proteus-select/ProteusSelect.js";
|
|
18
19
|
import { ProteusShow } from "./proteus-show/ProteusShow.js";
|
|
19
20
|
import { ProteusTextarea } from "./proteus-textarea/ProteusTextarea.js";
|
|
20
21
|
import { ProteusDocumentShell } from "./proteus-document/ProteusDocumentShell.js";
|
|
21
22
|
import { ProteusDocumentRenderer } from "./proteus-document/ProteusDocumentRenderer.js";
|
|
22
|
-
export { ProteusAction, ProteusBridge, ProteusChart, ProteusDataTable, ProteusDateInput, ProteusDocumentRenderer, ProteusDocumentShell, ProteusFederated, ProteusFileUpload, ProteusImage, ProteusImageCarousel, ProteusInput, ProteusLength, ProteusMap, ProteusMapIndex, ProteusPillMenu, ProteusSelect, ProteusShow, ProteusTextarea, safeParseDocument, useProteusValue };
|
|
23
|
+
export { ProteusAction, ProteusBridge, ProteusChart, ProteusDataTable, ProteusDateInput, ProteusDocumentRenderer, ProteusDocumentShell, ProteusFederated, ProteusFileUpload, ProteusImage, ProteusImageCarousel, ProteusInput, ProteusLength, ProteusMap, ProteusMapIndex, ProteusPillMenu, ProteusRichTextEditor, ProteusSelect, ProteusShow, ProteusTextarea, safeParseDocument, useProteusValue };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./../assets/src/proteus-chart/ProteusChart.css.ts.vanilla-
|
|
1
|
+
import "./../assets/src/proteus-chart/ProteusChart.css.ts.vanilla-BYvPGdWv.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-CykN-vdX.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-CnC9TXlJ.css";
|
|
3
3
|
//#region src/proteus-document/ProteusDocumentShell.css.ts
|
|
4
4
|
var body = recipe({
|
|
5
5
|
base: [{
|
|
@@ -19,6 +19,7 @@ import { ProteusMapIndex } from "../proteus-map-index/ProteusMapIndex.js";
|
|
|
19
19
|
import { ProteusMap } from "../proteus-map/ProteusMap.js";
|
|
20
20
|
import { ProteusPillMenu } from "../proteus-pill-menu/ProteusPillMenu.js";
|
|
21
21
|
import { ProteusQuestion } from "../proteus-question/ProteusQuestion.js";
|
|
22
|
+
import { ProteusRichTextEditor } from "../proteus-rich-text-editor/ProteusRichTextEditor.js";
|
|
22
23
|
import { ProteusSelect } from "../proteus-select/ProteusSelect.js";
|
|
23
24
|
import { ProteusShow } from "../proteus-show/ProteusShow.js";
|
|
24
25
|
import { ProteusSwitch } from "../proteus-switch/ProteusSwitch.js";
|
|
@@ -102,6 +103,7 @@ const ProteusElement = ({ element: elementProp }) => {
|
|
|
102
103
|
case "PillMenu": return /* @__PURE__ */ jsx(ProteusPillMenu, { ...resolve(element) });
|
|
103
104
|
case "Question": return /* @__PURE__ */ jsx(ProteusQuestion, { ...resolve(element) });
|
|
104
105
|
case "Range": return /* @__PURE__ */ jsx(Range, { ...resolve(element) });
|
|
106
|
+
case "RichTextEditor": return /* @__PURE__ */ jsx(ProteusRichTextEditor, { ...resolve(element) });
|
|
105
107
|
case "Select": return /* @__PURE__ */ jsx(ProteusSelect, { ...resolve(element) });
|
|
106
108
|
case "SelectContent": return /* @__PURE__ */ jsx(SelectContent, { ...resolve(element) });
|
|
107
109
|
case "SelectTrigger": return /* @__PURE__ */ jsx(SelectTrigger, { ...resolve(element) });
|
|
@@ -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-CPqn1tWx.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-question/ProteusQuestion.css.ts.vanilla-
|
|
2
|
+
import "./../assets/src/proteus-question/ProteusQuestion.css.ts.vanilla-DXJt60Ji.css";
|
|
3
3
|
//#region src/proteus-question/ProteusQuestion.css.ts
|
|
4
4
|
var addon = recipe({
|
|
5
5
|
base: [{
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useProteusDocumentContext } from "../proteus-document/ProteusDocumentContext.js";
|
|
3
|
+
import { useProteusDocumentPathContext } from "../proteus-document/ProteusDocumentPathContext.js";
|
|
4
|
+
import { useProteusValue } from "../use-proteus-value/useProteusValue.js";
|
|
5
|
+
import { RichTextEditor } from "@optiaxiom/react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
//#region src/proteus-rich-text-editor/ProteusRichTextEditor.tsx
|
|
8
|
+
function ProteusRichTextEditor(props) {
|
|
9
|
+
const { onDataChange, readOnly } = useProteusDocumentContext("@optiaxiom/proteus/ProteusRichTextEditor");
|
|
10
|
+
const { path: parentPath } = useProteusDocumentPathContext("@optiaxiom/proteus/ProteusRichTextEditor");
|
|
11
|
+
const value = useProteusValue({ path: props.name ?? "" });
|
|
12
|
+
return /* @__PURE__ */ jsx(RichTextEditor, {
|
|
13
|
+
...props,
|
|
14
|
+
onValueChange: (value) => {
|
|
15
|
+
if (props.name) onDataChange?.(`${parentPath}/${props.name}`, value);
|
|
16
|
+
},
|
|
17
|
+
readOnly,
|
|
18
|
+
value: props.name ? String(value ?? "") : void 0
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
ProteusRichTextEditor.displayName = "@optiaxiom/proteus/ProteusRichTextEditor";
|
|
22
|
+
//#endregion
|
|
23
|
+
export { ProteusRichTextEditor };
|
|
@@ -1299,6 +1299,7 @@ var public_schema_default = {
|
|
|
1299
1299
|
{ "$ref": "#/definitions/ProteusPillMenu" },
|
|
1300
1300
|
{ "$ref": "#/definitions/ProteusQuestion" },
|
|
1301
1301
|
{ "$ref": "#/definitions/ProteusRange" },
|
|
1302
|
+
{ "$ref": "#/definitions/ProteusRichTextEditor" },
|
|
1302
1303
|
{ "$ref": "#/definitions/ProteusSelect" },
|
|
1303
1304
|
{ "$ref": "#/definitions/ProteusSelectContent" },
|
|
1304
1305
|
{ "$ref": "#/definitions/ProteusSelectTrigger" },
|
|
@@ -3857,6 +3858,89 @@ var public_schema_default = {
|
|
|
3857
3858
|
"required": ["$type"],
|
|
3858
3859
|
"type": "object"
|
|
3859
3860
|
},
|
|
3861
|
+
"ProteusRichTextEditor": {
|
|
3862
|
+
"additionalProperties": false,
|
|
3863
|
+
"examples": [{
|
|
3864
|
+
"$type": "RichTextEditor",
|
|
3865
|
+
"name": "field_name",
|
|
3866
|
+
"placeholder": "Write here..."
|
|
3867
|
+
}],
|
|
3868
|
+
"properties": {
|
|
3869
|
+
"$type": { "const": "RichTextEditor" },
|
|
3870
|
+
"alignItems": { "$ref": "#/definitions/SprinkleProp_alignItems" },
|
|
3871
|
+
"alignSelf": { "$ref": "#/definitions/SprinkleProp_alignSelf" },
|
|
3872
|
+
"animation": { "$ref": "#/definitions/SprinkleProp_animation" },
|
|
3873
|
+
"backgroundImage": { "$ref": "#/definitions/SprinkleProp_backgroundImage" },
|
|
3874
|
+
"bg": { "$ref": "#/definitions/SprinkleProp_bg" },
|
|
3875
|
+
"border": { "$ref": "#/definitions/SprinkleProp_border" },
|
|
3876
|
+
"borderB": { "$ref": "#/definitions/SprinkleProp_borderB" },
|
|
3877
|
+
"borderColor": { "$ref": "#/definitions/SprinkleProp_borderColor" },
|
|
3878
|
+
"borderL": { "$ref": "#/definitions/SprinkleProp_borderL" },
|
|
3879
|
+
"borderR": { "$ref": "#/definitions/SprinkleProp_borderR" },
|
|
3880
|
+
"borderT": { "$ref": "#/definitions/SprinkleProp_borderT" },
|
|
3881
|
+
"color": { "$ref": "#/definitions/SprinkleProp_color" },
|
|
3882
|
+
"cursor": { "$ref": "#/definitions/SprinkleProp_cursor" },
|
|
3883
|
+
"display": { "$ref": "#/definitions/SprinkleProp_display" },
|
|
3884
|
+
"flex": { "$ref": "#/definitions/SprinkleProp_flex" },
|
|
3885
|
+
"flexDirection": { "$ref": "#/definitions/SprinkleProp_flexDirection" },
|
|
3886
|
+
"flexWrap": { "$ref": "#/definitions/SprinkleProp_flexWrap" },
|
|
3887
|
+
"fontFamily": { "$ref": "#/definitions/SprinkleProp_fontFamily" },
|
|
3888
|
+
"fontSize": { "$ref": "#/definitions/SprinkleProp_fontSize" },
|
|
3889
|
+
"fontWeight": { "$ref": "#/definitions/SprinkleProp_fontWeight" },
|
|
3890
|
+
"gap": { "$ref": "#/definitions/SprinkleProp_gap" },
|
|
3891
|
+
"gridAutoRows": { "$ref": "#/definitions/SprinkleProp_gridAutoRows" },
|
|
3892
|
+
"gridColumn": { "$ref": "#/definitions/SprinkleProp_gridColumn" },
|
|
3893
|
+
"gridTemplateColumns": { "$ref": "#/definitions/SprinkleProp_gridTemplateColumns" },
|
|
3894
|
+
"h": { "$ref": "#/definitions/SprinkleProp_h" },
|
|
3895
|
+
"justifyContent": { "$ref": "#/definitions/SprinkleProp_justifyContent" },
|
|
3896
|
+
"justifyItems": { "$ref": "#/definitions/SprinkleProp_justifyItems" },
|
|
3897
|
+
"m": { "$ref": "#/definitions/SprinkleProp_m" },
|
|
3898
|
+
"maxH": { "$ref": "#/definitions/SprinkleProp_maxH" },
|
|
3899
|
+
"maxW": { "$ref": "#/definitions/SprinkleProp_maxW" },
|
|
3900
|
+
"mb": { "$ref": "#/definitions/SprinkleProp_mb" },
|
|
3901
|
+
"ml": { "$ref": "#/definitions/SprinkleProp_ml" },
|
|
3902
|
+
"mr": { "$ref": "#/definitions/SprinkleProp_mr" },
|
|
3903
|
+
"mt": { "$ref": "#/definitions/SprinkleProp_mt" },
|
|
3904
|
+
"mx": { "$ref": "#/definitions/SprinkleProp_mx" },
|
|
3905
|
+
"my": { "$ref": "#/definitions/SprinkleProp_my" },
|
|
3906
|
+
"name": {
|
|
3907
|
+
"anyOf": [{ "type": "string" }, { "$ref": "#/definitions/ProteusExpression" }],
|
|
3908
|
+
"description": "Name of the form control element. Used by form-data integrations."
|
|
3909
|
+
},
|
|
3910
|
+
"objectFit": { "$ref": "#/definitions/SprinkleProp_objectFit" },
|
|
3911
|
+
"overflow": { "$ref": "#/definitions/SprinkleProp_overflow" },
|
|
3912
|
+
"overflowX": { "$ref": "#/definitions/SprinkleProp_overflowX" },
|
|
3913
|
+
"overflowY": { "$ref": "#/definitions/SprinkleProp_overflowY" },
|
|
3914
|
+
"p": { "$ref": "#/definitions/SprinkleProp_p" },
|
|
3915
|
+
"pb": { "$ref": "#/definitions/SprinkleProp_pb" },
|
|
3916
|
+
"pl": { "$ref": "#/definitions/SprinkleProp_pl" },
|
|
3917
|
+
"placeholder": {
|
|
3918
|
+
"anyOf": [{ "type": "string" }, { "$ref": "#/definitions/ProteusExpression" }],
|
|
3919
|
+
"description": "Placeholder text shown when the editor is empty."
|
|
3920
|
+
},
|
|
3921
|
+
"placeItems": { "$ref": "#/definitions/SprinkleProp_placeItems" },
|
|
3922
|
+
"pointerEvents": { "$ref": "#/definitions/SprinkleProp_pointerEvents" },
|
|
3923
|
+
"pr": { "$ref": "#/definitions/SprinkleProp_pr" },
|
|
3924
|
+
"pt": { "$ref": "#/definitions/SprinkleProp_pt" },
|
|
3925
|
+
"px": { "$ref": "#/definitions/SprinkleProp_px" },
|
|
3926
|
+
"py": { "$ref": "#/definitions/SprinkleProp_py" },
|
|
3927
|
+
"readOnly": {
|
|
3928
|
+
"anyOf": [{ "type": "boolean" }, { "$ref": "#/definitions/ProteusExpression" }],
|
|
3929
|
+
"description": "Whether the editor is read-only."
|
|
3930
|
+
},
|
|
3931
|
+
"rounded": { "$ref": "#/definitions/SprinkleProp_rounded" },
|
|
3932
|
+
"shadow": { "$ref": "#/definitions/SprinkleProp_shadow" },
|
|
3933
|
+
"size": { "$ref": "#/definitions/SprinkleProp_size" },
|
|
3934
|
+
"textAlign": { "$ref": "#/definitions/SprinkleProp_textAlign" },
|
|
3935
|
+
"textTransform": { "$ref": "#/definitions/SprinkleProp_textTransform" },
|
|
3936
|
+
"transition": { "$ref": "#/definitions/SprinkleProp_transition" },
|
|
3937
|
+
"w": { "$ref": "#/definitions/SprinkleProp_w" },
|
|
3938
|
+
"whiteSpace": { "$ref": "#/definitions/SprinkleProp_whiteSpace" },
|
|
3939
|
+
"z": { "$ref": "#/definitions/SprinkleProp_z" }
|
|
3940
|
+
},
|
|
3941
|
+
"required": ["$type"],
|
|
3942
|
+
"type": "object"
|
|
3943
|
+
},
|
|
3860
3944
|
"ProteusSelect": {
|
|
3861
3945
|
"additionalProperties": false,
|
|
3862
3946
|
"examples": [{
|
|
@@ -1286,6 +1286,7 @@ var definitions = {
|
|
|
1286
1286
|
{ "$ref": "#/definitions/ProteusPillMenu" },
|
|
1287
1287
|
{ "$ref": "#/definitions/ProteusQuestion" },
|
|
1288
1288
|
{ "$ref": "#/definitions/ProteusRange" },
|
|
1289
|
+
{ "$ref": "#/definitions/ProteusRichTextEditor" },
|
|
1289
1290
|
{ "$ref": "#/definitions/ProteusSelect" },
|
|
1290
1291
|
{ "$ref": "#/definitions/ProteusSelectContent" },
|
|
1291
1292
|
{ "$ref": "#/definitions/ProteusSelectTrigger" },
|
|
@@ -3794,6 +3795,88 @@ var definitions = {
|
|
|
3794
3795
|
"required": ["$type"],
|
|
3795
3796
|
"type": "object"
|
|
3796
3797
|
},
|
|
3798
|
+
"ProteusRichTextEditor": {
|
|
3799
|
+
"examples": [{
|
|
3800
|
+
"$type": "RichTextEditor",
|
|
3801
|
+
"name": "field_name",
|
|
3802
|
+
"placeholder": "Write here..."
|
|
3803
|
+
}],
|
|
3804
|
+
"properties": {
|
|
3805
|
+
"$type": { "const": "RichTextEditor" },
|
|
3806
|
+
"alignItems": { "$ref": "#/definitions/SprinkleProp_alignItems" },
|
|
3807
|
+
"alignSelf": { "$ref": "#/definitions/SprinkleProp_alignSelf" },
|
|
3808
|
+
"animation": { "$ref": "#/definitions/SprinkleProp_animation" },
|
|
3809
|
+
"backgroundImage": { "$ref": "#/definitions/SprinkleProp_backgroundImage" },
|
|
3810
|
+
"bg": { "$ref": "#/definitions/SprinkleProp_bg" },
|
|
3811
|
+
"border": { "$ref": "#/definitions/SprinkleProp_border" },
|
|
3812
|
+
"borderB": { "$ref": "#/definitions/SprinkleProp_borderB" },
|
|
3813
|
+
"borderColor": { "$ref": "#/definitions/SprinkleProp_borderColor" },
|
|
3814
|
+
"borderL": { "$ref": "#/definitions/SprinkleProp_borderL" },
|
|
3815
|
+
"borderR": { "$ref": "#/definitions/SprinkleProp_borderR" },
|
|
3816
|
+
"borderT": { "$ref": "#/definitions/SprinkleProp_borderT" },
|
|
3817
|
+
"color": { "$ref": "#/definitions/SprinkleProp_color" },
|
|
3818
|
+
"cursor": { "$ref": "#/definitions/SprinkleProp_cursor" },
|
|
3819
|
+
"display": { "$ref": "#/definitions/SprinkleProp_display" },
|
|
3820
|
+
"flex": { "$ref": "#/definitions/SprinkleProp_flex" },
|
|
3821
|
+
"flexDirection": { "$ref": "#/definitions/SprinkleProp_flexDirection" },
|
|
3822
|
+
"flexWrap": { "$ref": "#/definitions/SprinkleProp_flexWrap" },
|
|
3823
|
+
"fontFamily": { "$ref": "#/definitions/SprinkleProp_fontFamily" },
|
|
3824
|
+
"fontSize": { "$ref": "#/definitions/SprinkleProp_fontSize" },
|
|
3825
|
+
"fontWeight": { "$ref": "#/definitions/SprinkleProp_fontWeight" },
|
|
3826
|
+
"gap": { "$ref": "#/definitions/SprinkleProp_gap" },
|
|
3827
|
+
"gridAutoRows": { "$ref": "#/definitions/SprinkleProp_gridAutoRows" },
|
|
3828
|
+
"gridColumn": { "$ref": "#/definitions/SprinkleProp_gridColumn" },
|
|
3829
|
+
"gridTemplateColumns": { "$ref": "#/definitions/SprinkleProp_gridTemplateColumns" },
|
|
3830
|
+
"h": { "$ref": "#/definitions/SprinkleProp_h" },
|
|
3831
|
+
"justifyContent": { "$ref": "#/definitions/SprinkleProp_justifyContent" },
|
|
3832
|
+
"justifyItems": { "$ref": "#/definitions/SprinkleProp_justifyItems" },
|
|
3833
|
+
"m": { "$ref": "#/definitions/SprinkleProp_m" },
|
|
3834
|
+
"maxH": { "$ref": "#/definitions/SprinkleProp_maxH" },
|
|
3835
|
+
"maxW": { "$ref": "#/definitions/SprinkleProp_maxW" },
|
|
3836
|
+
"mb": { "$ref": "#/definitions/SprinkleProp_mb" },
|
|
3837
|
+
"ml": { "$ref": "#/definitions/SprinkleProp_ml" },
|
|
3838
|
+
"mr": { "$ref": "#/definitions/SprinkleProp_mr" },
|
|
3839
|
+
"mt": { "$ref": "#/definitions/SprinkleProp_mt" },
|
|
3840
|
+
"mx": { "$ref": "#/definitions/SprinkleProp_mx" },
|
|
3841
|
+
"my": { "$ref": "#/definitions/SprinkleProp_my" },
|
|
3842
|
+
"name": {
|
|
3843
|
+
"anyOf": [{ "type": "string" }, { "$ref": "#/definitions/ProteusExpression" }],
|
|
3844
|
+
"description": "Name of the form control element. Used by form-data integrations."
|
|
3845
|
+
},
|
|
3846
|
+
"objectFit": { "$ref": "#/definitions/SprinkleProp_objectFit" },
|
|
3847
|
+
"overflow": { "$ref": "#/definitions/SprinkleProp_overflow" },
|
|
3848
|
+
"overflowX": { "$ref": "#/definitions/SprinkleProp_overflowX" },
|
|
3849
|
+
"overflowY": { "$ref": "#/definitions/SprinkleProp_overflowY" },
|
|
3850
|
+
"p": { "$ref": "#/definitions/SprinkleProp_p" },
|
|
3851
|
+
"pb": { "$ref": "#/definitions/SprinkleProp_pb" },
|
|
3852
|
+
"pl": { "$ref": "#/definitions/SprinkleProp_pl" },
|
|
3853
|
+
"placeholder": {
|
|
3854
|
+
"anyOf": [{ "type": "string" }, { "$ref": "#/definitions/ProteusExpression" }],
|
|
3855
|
+
"description": "Placeholder text shown when the editor is empty."
|
|
3856
|
+
},
|
|
3857
|
+
"placeItems": { "$ref": "#/definitions/SprinkleProp_placeItems" },
|
|
3858
|
+
"pointerEvents": { "$ref": "#/definitions/SprinkleProp_pointerEvents" },
|
|
3859
|
+
"pr": { "$ref": "#/definitions/SprinkleProp_pr" },
|
|
3860
|
+
"pt": { "$ref": "#/definitions/SprinkleProp_pt" },
|
|
3861
|
+
"px": { "$ref": "#/definitions/SprinkleProp_px" },
|
|
3862
|
+
"py": { "$ref": "#/definitions/SprinkleProp_py" },
|
|
3863
|
+
"readOnly": {
|
|
3864
|
+
"anyOf": [{ "type": "boolean" }, { "$ref": "#/definitions/ProteusExpression" }],
|
|
3865
|
+
"description": "Whether the editor is read-only."
|
|
3866
|
+
},
|
|
3867
|
+
"rounded": { "$ref": "#/definitions/SprinkleProp_rounded" },
|
|
3868
|
+
"shadow": { "$ref": "#/definitions/SprinkleProp_shadow" },
|
|
3869
|
+
"size": { "$ref": "#/definitions/SprinkleProp_size" },
|
|
3870
|
+
"textAlign": { "$ref": "#/definitions/SprinkleProp_textAlign" },
|
|
3871
|
+
"textTransform": { "$ref": "#/definitions/SprinkleProp_textTransform" },
|
|
3872
|
+
"transition": { "$ref": "#/definitions/SprinkleProp_transition" },
|
|
3873
|
+
"w": { "$ref": "#/definitions/SprinkleProp_w" },
|
|
3874
|
+
"whiteSpace": { "$ref": "#/definitions/SprinkleProp_whiteSpace" },
|
|
3875
|
+
"z": { "$ref": "#/definitions/SprinkleProp_z" }
|
|
3876
|
+
},
|
|
3877
|
+
"required": ["$type"],
|
|
3878
|
+
"type": "object"
|
|
3879
|
+
},
|
|
3797
3880
|
"ProteusSelect": {
|
|
3798
3881
|
"examples": [{
|
|
3799
3882
|
"$type": "Select",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BoxProps, ButtonProps, DateInputProps, Disclosure, InputProps, SelectProps, TextareaProps } from "@optiaxiom/react";
|
|
1
|
+
import { BoxProps, ButtonProps, DateInputProps, Disclosure, InputProps, RichTextEditorProps, SelectProps, TextareaProps } from "@optiaxiom/react";
|
|
2
2
|
import { ComponentPropsWithoutRef, ComponentType, ReactNode } from "react";
|
|
3
3
|
import * as ReactJsxRuntime from "react/jsx-runtime";
|
|
4
4
|
|
|
@@ -606,6 +606,12 @@ declare namespace ProteusInput {
|
|
|
606
606
|
var displayName: string;
|
|
607
607
|
}
|
|
608
608
|
//#endregion
|
|
609
|
+
//#region src/proteus-rich-text-editor/ProteusRichTextEditor.d.ts
|
|
610
|
+
declare function ProteusRichTextEditor(props: RichTextEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
611
|
+
declare namespace ProteusRichTextEditor {
|
|
612
|
+
var displayName: string;
|
|
613
|
+
}
|
|
614
|
+
//#endregion
|
|
609
615
|
//#region src/proteus-textarea/ProteusTextarea.d.ts
|
|
610
616
|
declare function ProteusTextarea(props: TextareaProps): import("react/jsx-runtime").JSX.Element;
|
|
611
617
|
declare namespace ProteusTextarea {
|
|
@@ -615,4 +621,4 @@ declare namespace ProteusTextarea {
|
|
|
615
621
|
//#region src/use-proteus-value/useProteusValue.d.ts
|
|
616
622
|
declare function useProteusValue(element: ProteusValueProps): any;
|
|
617
623
|
//#endregion
|
|
618
|
-
export { type FileUploadMetadata, ProteusAction, ProteusBridge, ProteusChart, ProteusDataTable, ProteusDateInput, ProteusDocumentRenderer, ProteusDocumentRendererProps, ProteusDocumentShell, ProteusDocumentShellProps, ProteusFederated, ProteusFileUpload, ProteusFileUploadProps, ProteusImage, ProteusImageCarousel, ProteusInput, ProteusLength, ProteusMap, ProteusMapIndex, ProteusPillMenu, ProteusPillMenuProps, ProteusSelect, ProteusShow, ProteusTextarea, type StructuredMessage, type UploadFile, safeParseDocument, useProteusValue };
|
|
624
|
+
export { type FileUploadMetadata, ProteusAction, ProteusBridge, ProteusChart, ProteusDataTable, ProteusDateInput, ProteusDocumentRenderer, ProteusDocumentRendererProps, ProteusDocumentShell, ProteusDocumentShellProps, ProteusFederated, ProteusFileUpload, ProteusFileUploadProps, ProteusImage, ProteusImageCarousel, ProteusInput, ProteusLength, ProteusMap, ProteusMapIndex, ProteusPillMenu, ProteusPillMenuProps, ProteusRichTextEditor, ProteusSelect, ProteusShow, ProteusTextarea, type StructuredMessage, type UploadFile, safeParseDocument, useProteusValue };
|
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": "1.1.
|
|
10
|
+
"version": "1.1.2",
|
|
11
11
|
"files": [
|
|
12
12
|
"dist/**",
|
|
13
13
|
"LICENSE"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"jsonpointer": "^5.0.1",
|
|
41
41
|
"recharts": "^3.8.1",
|
|
42
42
|
"@optiaxiom/icons": "^1.1.3",
|
|
43
|
-
"@optiaxiom/react": "^1.9.
|
|
43
|
+
"@optiaxiom/react": "^1.9.40"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@emotion/hash": "^0.9.2",
|
|
@@ -55,6 +55,6 @@
|
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"build": "rolldown -c",
|
|
58
|
-
"dev": "rm -rf dist && wait-on ../../packages/react/dist/index.d.ts ../../packages/react/dist/unstable.d.ts ../../packages/shared/data/docs.json && rolldown -wc"
|
|
58
|
+
"dev": "rm -rf dist && wait-on ../../packages/react/dist/index.d.ts ../../packages/react/dist/unstable.d.ts ../../packages/react/dist/css-runtime.d.ts ../../packages/shared/data/docs.json && rolldown -wc"
|
|
59
59
|
}
|
|
60
60
|
}
|