playbook-ui 16.7.0 → 16.8.0-alpha.PLAY2966draggablemobile16518
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/.vite/manifest.json +28 -28
- package/dist/ai/all-schemas.json +18 -9
- package/dist/ai/index.json +2 -2
- package/dist/ai/kits/rich_text_editor.schema.json +18 -9
- package/dist/charts.js +1 -1
- package/dist/chunks/{_pb_line_graph-CIWJe3Gr.js → _pb_line_graph-BgsTI0CL.js} +1 -1
- package/dist/chunks/_typeahead-DA__Kgp5.js +5 -0
- package/dist/chunks/{globalProps-CqO4Tko1.js → globalProps-DOB47YGB.js} +1 -1
- package/dist/chunks/{lib-czQnE40X.js → lib-BzglXly2.js} +2 -2
- package/dist/chunks/vendor.js +4 -4
- package/dist/playbook-charts.js +1 -1
- package/dist/playbook-rails-charts-bindings.js +1 -1
- package/dist/playbook-rails-react-bindings.js +1 -1
- package/dist/playbook-rails.js +1 -1
- package/dist/playbook.css +1 -1
- package/dist/playbook.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/_typeahead-B_Ac4z84.js +0 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
{
|
|
2
|
-
"__pb_line_graph-
|
|
3
|
-
"file": "chunks/_pb_line_graph-
|
|
2
|
+
"__pb_line_graph-BgsTI0CL.js": {
|
|
3
|
+
"file": "chunks/_pb_line_graph-BgsTI0CL.js",
|
|
4
4
|
"name": "_pb_line_graph",
|
|
5
5
|
"imports": [
|
|
6
|
-
"_globalProps-
|
|
7
|
-
"_lib-
|
|
6
|
+
"_globalProps-DOB47YGB.js",
|
|
7
|
+
"_lib-BzglXly2.js"
|
|
8
8
|
]
|
|
9
9
|
},
|
|
10
|
-
"__typeahead-
|
|
11
|
-
"file": "chunks/_typeahead-
|
|
10
|
+
"__typeahead-DA__Kgp5.js": {
|
|
11
|
+
"file": "chunks/_typeahead-DA__Kgp5.js",
|
|
12
12
|
"name": "_typeahead",
|
|
13
13
|
"imports": [
|
|
14
|
-
"_globalProps-
|
|
15
|
-
"_lib-
|
|
14
|
+
"_globalProps-DOB47YGB.js",
|
|
15
|
+
"_lib-BzglXly2.js"
|
|
16
16
|
]
|
|
17
17
|
},
|
|
18
18
|
"_componentRegistry-DRSp5D_e.js": {
|
|
19
19
|
"file": "chunks/componentRegistry-DRSp5D_e.js",
|
|
20
20
|
"name": "componentRegistry"
|
|
21
21
|
},
|
|
22
|
-
"_globalProps-
|
|
23
|
-
"file": "chunks/globalProps-
|
|
22
|
+
"_globalProps-DOB47YGB.js": {
|
|
23
|
+
"file": "chunks/globalProps-DOB47YGB.js",
|
|
24
24
|
"name": "globalProps",
|
|
25
25
|
"imports": [
|
|
26
|
-
"_lib-
|
|
26
|
+
"_lib-BzglXly2.js"
|
|
27
27
|
]
|
|
28
28
|
},
|
|
29
29
|
"_lazysizes-B7xYodB-.js": {
|
|
30
30
|
"file": "chunks/lazysizes-B7xYodB-.js",
|
|
31
31
|
"name": "lazysizes"
|
|
32
32
|
},
|
|
33
|
-
"_lib-
|
|
34
|
-
"file": "chunks/lib-
|
|
33
|
+
"_lib-BzglXly2.js": {
|
|
34
|
+
"file": "chunks/lib-BzglXly2.js",
|
|
35
35
|
"name": "lib",
|
|
36
36
|
"css": [
|
|
37
37
|
"lib.css"
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"src": "entrypoints/playbook-charts.js",
|
|
48
48
|
"isEntry": true,
|
|
49
49
|
"imports": [
|
|
50
|
-
"__pb_line_graph-
|
|
51
|
-
"_globalProps-
|
|
52
|
-
"_lib-
|
|
50
|
+
"__pb_line_graph-BgsTI0CL.js",
|
|
51
|
+
"_globalProps-DOB47YGB.js",
|
|
52
|
+
"_lib-BzglXly2.js"
|
|
53
53
|
]
|
|
54
54
|
},
|
|
55
55
|
"entrypoints/playbook-rails-charts-bindings.js": {
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"isEntry": true,
|
|
60
60
|
"imports": [
|
|
61
61
|
"_componentRegistry-DRSp5D_e.js",
|
|
62
|
-
"__pb_line_graph-
|
|
63
|
-
"_globalProps-
|
|
64
|
-
"_lib-
|
|
62
|
+
"__pb_line_graph-BgsTI0CL.js",
|
|
63
|
+
"_globalProps-DOB47YGB.js",
|
|
64
|
+
"_lib-BzglXly2.js"
|
|
65
65
|
]
|
|
66
66
|
},
|
|
67
67
|
"entrypoints/playbook-rails-react-bindings.js": {
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
"isEntry": true,
|
|
72
72
|
"imports": [
|
|
73
73
|
"_componentRegistry-DRSp5D_e.js",
|
|
74
|
-
"__typeahead-
|
|
75
|
-
"_globalProps-
|
|
76
|
-
"_lib-
|
|
74
|
+
"__typeahead-DA__Kgp5.js",
|
|
75
|
+
"_globalProps-DOB47YGB.js",
|
|
76
|
+
"_lib-BzglXly2.js"
|
|
77
77
|
]
|
|
78
78
|
},
|
|
79
79
|
"entrypoints/playbook-rails.js": {
|
|
@@ -82,11 +82,11 @@
|
|
|
82
82
|
"src": "entrypoints/playbook-rails.js",
|
|
83
83
|
"isEntry": true,
|
|
84
84
|
"imports": [
|
|
85
|
-
"_lib-
|
|
86
|
-
"__typeahead-
|
|
85
|
+
"_lib-BzglXly2.js",
|
|
86
|
+
"__typeahead-DA__Kgp5.js",
|
|
87
87
|
"_lazysizes-B7xYodB-.js",
|
|
88
88
|
"entrypoints/playbook-rails-react-bindings.js",
|
|
89
|
-
"_globalProps-
|
|
89
|
+
"_globalProps-DOB47YGB.js",
|
|
90
90
|
"_componentRegistry-DRSp5D_e.js"
|
|
91
91
|
]
|
|
92
92
|
},
|
|
@@ -98,9 +98,9 @@
|
|
|
98
98
|
"imports": [
|
|
99
99
|
"entrypoints/playbook.js",
|
|
100
100
|
"_lazysizes-B7xYodB-.js",
|
|
101
|
-
"__typeahead-
|
|
102
|
-
"_lib-
|
|
103
|
-
"_globalProps-
|
|
101
|
+
"__typeahead-DA__Kgp5.js",
|
|
102
|
+
"_lib-BzglXly2.js",
|
|
103
|
+
"_globalProps-DOB47YGB.js"
|
|
104
104
|
]
|
|
105
105
|
},
|
|
106
106
|
"entrypoints/playbook.scss": {
|
package/dist/ai/all-schemas.json
CHANGED
|
@@ -8505,7 +8505,8 @@
|
|
|
8505
8505
|
"name": "RichTextEditor",
|
|
8506
8506
|
"description": "RichTextEditor component",
|
|
8507
8507
|
"platforms": [
|
|
8508
|
-
"react"
|
|
8508
|
+
"react",
|
|
8509
|
+
"rails"
|
|
8509
8510
|
],
|
|
8510
8511
|
"props": {
|
|
8511
8512
|
"advancedEditor": {
|
|
@@ -8535,7 +8536,8 @@
|
|
|
8535
8536
|
"inputOptions": {
|
|
8536
8537
|
"type": "GenericObject",
|
|
8537
8538
|
"platforms": [
|
|
8538
|
-
"react"
|
|
8539
|
+
"react",
|
|
8540
|
+
"rails"
|
|
8539
8541
|
]
|
|
8540
8542
|
},
|
|
8541
8543
|
"inline": {
|
|
@@ -8547,7 +8549,8 @@
|
|
|
8547
8549
|
"label": {
|
|
8548
8550
|
"type": "string",
|
|
8549
8551
|
"platforms": [
|
|
8550
|
-
"react"
|
|
8552
|
+
"react",
|
|
8553
|
+
"rails"
|
|
8551
8554
|
]
|
|
8552
8555
|
},
|
|
8553
8556
|
"extensions": {
|
|
@@ -8571,7 +8574,8 @@
|
|
|
8571
8574
|
"placeholder": {
|
|
8572
8575
|
"type": "string",
|
|
8573
8576
|
"platforms": [
|
|
8574
|
-
"react"
|
|
8577
|
+
"react",
|
|
8578
|
+
"rails"
|
|
8575
8579
|
]
|
|
8576
8580
|
},
|
|
8577
8581
|
"inputHeight": {
|
|
@@ -8599,14 +8603,18 @@
|
|
|
8599
8603
|
"requiredIndicator": {
|
|
8600
8604
|
"type": "boolean",
|
|
8601
8605
|
"platforms": [
|
|
8602
|
-
"react"
|
|
8603
|
-
|
|
8606
|
+
"react",
|
|
8607
|
+
"rails"
|
|
8608
|
+
],
|
|
8609
|
+
"default": false
|
|
8604
8610
|
},
|
|
8605
8611
|
"simple": {
|
|
8606
8612
|
"type": "boolean",
|
|
8607
8613
|
"platforms": [
|
|
8608
|
-
"react"
|
|
8609
|
-
|
|
8614
|
+
"react",
|
|
8615
|
+
"rails"
|
|
8616
|
+
],
|
|
8617
|
+
"default": false
|
|
8610
8618
|
},
|
|
8611
8619
|
"sticky": {
|
|
8612
8620
|
"type": "boolean",
|
|
@@ -8623,7 +8631,8 @@
|
|
|
8623
8631
|
"value": {
|
|
8624
8632
|
"type": "string",
|
|
8625
8633
|
"platforms": [
|
|
8626
|
-
"react"
|
|
8634
|
+
"react",
|
|
8635
|
+
"rails"
|
|
8627
8636
|
]
|
|
8628
8637
|
},
|
|
8629
8638
|
"maxWidth": {
|
package/dist/ai/index.json
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"name": "RichTextEditor",
|
|
4
4
|
"description": "RichTextEditor component",
|
|
5
5
|
"platforms": [
|
|
6
|
-
"react"
|
|
6
|
+
"react",
|
|
7
|
+
"rails"
|
|
7
8
|
],
|
|
8
9
|
"props": {
|
|
9
10
|
"advancedEditor": {
|
|
@@ -33,7 +34,8 @@
|
|
|
33
34
|
"inputOptions": {
|
|
34
35
|
"type": "GenericObject",
|
|
35
36
|
"platforms": [
|
|
36
|
-
"react"
|
|
37
|
+
"react",
|
|
38
|
+
"rails"
|
|
37
39
|
]
|
|
38
40
|
},
|
|
39
41
|
"inline": {
|
|
@@ -45,7 +47,8 @@
|
|
|
45
47
|
"label": {
|
|
46
48
|
"type": "string",
|
|
47
49
|
"platforms": [
|
|
48
|
-
"react"
|
|
50
|
+
"react",
|
|
51
|
+
"rails"
|
|
49
52
|
]
|
|
50
53
|
},
|
|
51
54
|
"extensions": {
|
|
@@ -69,7 +72,8 @@
|
|
|
69
72
|
"placeholder": {
|
|
70
73
|
"type": "string",
|
|
71
74
|
"platforms": [
|
|
72
|
-
"react"
|
|
75
|
+
"react",
|
|
76
|
+
"rails"
|
|
73
77
|
]
|
|
74
78
|
},
|
|
75
79
|
"inputHeight": {
|
|
@@ -97,14 +101,18 @@
|
|
|
97
101
|
"requiredIndicator": {
|
|
98
102
|
"type": "boolean",
|
|
99
103
|
"platforms": [
|
|
100
|
-
"react"
|
|
101
|
-
|
|
104
|
+
"react",
|
|
105
|
+
"rails"
|
|
106
|
+
],
|
|
107
|
+
"default": false
|
|
102
108
|
},
|
|
103
109
|
"simple": {
|
|
104
110
|
"type": "boolean",
|
|
105
111
|
"platforms": [
|
|
106
|
-
"react"
|
|
107
|
-
|
|
112
|
+
"react",
|
|
113
|
+
"rails"
|
|
114
|
+
],
|
|
115
|
+
"default": false
|
|
108
116
|
},
|
|
109
117
|
"sticky": {
|
|
110
118
|
"type": "boolean",
|
|
@@ -121,7 +129,8 @@
|
|
|
121
129
|
"value": {
|
|
122
130
|
"type": "string",
|
|
123
131
|
"platforms": [
|
|
124
|
-
"react"
|
|
132
|
+
"react",
|
|
133
|
+
"rails"
|
|
125
134
|
]
|
|
126
135
|
},
|
|
127
136
|
"maxWidth": {
|
package/dist/charts.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{P,a,b,c}from"./chunks/_pb_line_graph-
|
|
1
|
+
import{P,a,b,c}from"./chunks/_pb_line_graph-BgsTI0CL.js";import"react/jsx-runtime";import"react";import"./chunks/globalProps-DOB47YGB.js";import"./chunks/lib-BzglXly2.js";import"highcharts";import"highcharts-react-official";import"highcharts/highcharts-more";import"highcharts/modules/solid-gauge";export{P as PbBarGraph,a as PbCircleChart,b as PbGaugeChart,c as PbLineGraph};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx}from"react/jsx-runtime";import{useMemo}from"react";import{b as buildAriaProps,a as buildDataProps,c as buildHtmlProps,d as classnames,e as buildCss,g as globalProps}from"./globalProps-
|
|
1
|
+
import{jsx}from"react/jsx-runtime";import{useMemo}from"react";import{b as buildAriaProps,a as buildDataProps,c as buildHtmlProps,d as classnames,e as buildCss,g as globalProps}from"./globalProps-DOB47YGB.js";import Highcharts from"highcharts";import HighchartsReact from"highcharts-react-official";import{t as typography,c as colors}from"./lib-BzglXly2.js";import highchartsMore from"highcharts/highcharts-more";import solidGauge from"highcharts/modules/solid-gauge";const barGraphTheme={title:{text:"",style:{color:colors.text_lt_default,fontFamily:typography.font_family_base,fontWeight:typography.bold,fontSize:typography.heading_3}},subtitle:{text:"",style:{fontFamily:typography.font_family_base,color:colors.text_lt_light,fontWeight:typography.regular,fontSize:typography.text_base}},chart:{type:"column"},tooltip:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,colors.bg_dark],[1,colors.bg_dark]]},style:{fontFamily:typography.font_family_base,color:colors.text_dk_default,fontWeight:typography.regular,fontSize:typography.text_smaller}},colors:[colors.data_1,colors.data_2,colors.data_3,colors.data_4,colors.data_5,colors.data_6,colors.data_7],credits:{enabled:false},legend:{enabled:false,itemStyle:{color:colors.text_lt_light,fill:colors.text_lt_light,fontSize:typography.text_smaller}},xAxis:{gridLineWidth:0,lineColor:colors.border_light,tickColor:colors.border_light,labels:{style:{fontFamily:typography.font_family_base,color:colors.text_lt_lighter,fontWeight:typography.bold,fontSize:typography.text_smaller}},title:{style:{color:colors.text_lt_default,fontFamily:typography.font_family_base,fontWeight:typography.regular,fontSize:typography.heading_4}}},yAxis:{alternateGridColor:void 0,minorTickInterval:null,gridLineColor:colors.border_light,minorGridLineColor:colors.border_light,lineWidth:0,tickWidth:0,labels:{style:{fontFamily:typography.font_family_base,color:colors.text_lt_lighter,fontWeight:typography.bold,fontSize:typography.text_smaller}},title:{style:{fontFamily:typography.font_family_base,color:colors.text_lt_lighter,fontWeight:typography.bold,fontSize:typography.text_smaller}}}};const PbBarGraph=props=>{const{aria:aria={},data:data={},id:id,htmlOptions:htmlOptions={},options:options,className:className}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_pb_bar_graph"),globalProps(props),className);const mergedOptions=useMemo((()=>{if(!options||typeof options!=="object"){console.error("❌ Invalid options passed to <PbBarGraph />",options);return{}}return Highcharts.merge({},barGraphTheme,options)}),[options]);return jsx("div",{children:jsx(HighchartsReact,{containerProps:{className:classnames(classes),id:id,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts,options:mergedOptions})})};const pbCircleChartTheme={title:{text:"",style:{color:colors.text_lt_default,fontFamily:typography.font_family_base,fontWeight:typography.bold,fontSize:typography.heading_3}},chart:{type:"pie"},tooltip:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,colors.bg_dark],[1,colors.bg_dark]]},pointFormat:'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.y}</b>',followPointer:true,shadow:false,borderWidth:0,borderRadius:10,style:{fontFamily:typography.font_family_base,color:colors.text_dk_default,fontWeight:typography.regular,fontSize:typography.text_smaller}},plotOptions:{pie:{dataLabels:{enabled:false,connectorShape:"straight",connectorWidth:3,format:"<div>{point.name}</div>",style:{fontFamily:typography.font_family_base,fontSize:typography.text_smaller,color:colors.text_lt_light,fontWeight:typography.regular,textOutline:"2px $white"}},innerSize:"50%",borderColor:"",borderWidth:null,colors:[colors.data_1,colors.data_2,colors.data_3,colors.data_4,colors.data_5,colors.data_6,colors.data_7]}},legend:{layout:"horizontal",align:"center",verticalAlign:"bottom",itemStyle:{fontFamily:typography.font_family_base,color:colors.text_lt_light,fontWeight:typography.regular,fontSize:typography.text_smaller},itemHoverStyle:{color:colors.text_lt_default},itemHiddenStyle:{color:colors.text_lt_lighter}},credits:{enabled:false}};const PbCircleChart=props=>{const{aria:aria={},className:className,data:data={},id:id,htmlOptions:htmlOptions={},options:options}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_pb_circle_chart"),globalProps(props),className);const mergedOptions=useMemo((()=>{if(!options||typeof options!=="object"){console.error("❌ Invalid options passed to <PbCircleChart />",options);return{}}return Highcharts.merge({},pbCircleChartTheme,options)}),[options]);return jsx("div",{children:jsx(HighchartsReact,{containerProps:{className:classnames(classes),id:id,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts,options:mergedOptions})})};const pbGaugeGraphTheme={title:{text:"",style:{fontFamily:typography.font_family_base,fontSize:typography.text_larger}},chart:{type:"solidgauge",events:{render(){this.container;const arc=this.container.querySelector("path.gauge-pane");if(arc)arc.setAttribute("stroke-linejoin","round")}}},pane:{size:"90%",startAngle:-100,endAngle:100,background:[{borderWidth:20,innerRadius:"90%",outerRadius:"90%",shape:"arc",className:"gauge-pane",borderColor:colors.border_light,borderRadius:"50%"}]},tooltip:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,colors.bg_dark],[1,colors.bg_dark]]},pointFormat:'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.y}</b>',followPointer:true,shadow:false,borderWidth:0,borderRadius:10,style:{fontFamily:typography.font_family_base,color:colors.text_dk_default,fontWeight:typography.regular,fontSize:typography.text_smaller}},yAxis:{min:0,max:100,lineWidth:0,tickPositions:[]},plotOptions:{solidgauge:{borderColor:colors.data_1,borderWidth:20,color:colors.data_1,radius:90,innerRadius:"90%",y:-26,dataLabels:{borderWidth:0,color:colors.text_lt_default,enabled:true,format:'<span class="fix">{y:,f}</span>',style:{fontFamily:typography.font_family_base,fontWeight:typography.regular,fontSize:typography.heading_2},y:-26}}},credits:{enabled:false}};const PbGaugeChart=props=>{const{aria:aria={},className:className,data:data={},htmlOptions:htmlOptions={},id:id,ref:ref,options:options={}}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_pb_gauge_chart"),globalProps(props),className);const mergedOptions=useMemo((()=>{if(!options||typeof options!=="object"){console.error("❌ Invalid options passed to <PbLineGraph />",options);return{}}return Highcharts.merge({},pbGaugeGraphTheme,options)}),[options]);highchartsMore(Highcharts);solidGauge(Highcharts);return jsx("div",{children:jsx(HighchartsReact,{containerProps:{className:classnames(classes),id:id,ref:ref,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts,options:mergedOptions})})};const pbLineGraphTheme={title:{text:"",style:{color:colors.text_lt_default,fontFamily:typography.font_family_base,fontWeight:typography.bold,fontSize:typography.heading_3}},subtitle:{text:"",style:{fontFamily:typography.font_family_base,color:colors.text_lt_light,fontWeight:typography.regular,fontSize:typography.text_base}},chart:{type:"line"},tooltip:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,colors.bg_dark],[1,colors.bg_dark]]},followPointer:true,shadow:false,borderWidth:0,borderRadius:10,style:{fontFamily:typography.font_family_base,color:colors.text_dk_default,fontWeight:typography.regular,fontSize:typography.text_smaller}},plotOptions:{line:{dataLabels:{enabled:false}}},credits:{enabled:false},legend:{enabled:false,itemStyle:{fontFamily:typography.font_family_base,color:colors.text_lt_light,fontWeight:typography.regular,fontSize:typography.text_smaller},itemHoverStyle:{color:colors.text_lt_default},itemHiddenStyle:{color:colors.text_lt_lighter}},colors:[colors.data_1,colors.data_2,colors.data_3,colors.data_4,colors.data_5,colors.data_6,colors.data_7],xAxis:{gridLineWidth:0,lineColor:colors.border_light,tickColor:colors.border_light,labels:{style:{fontFamily:typography.font_family_base,color:colors.text_lt_lighter,fontWeight:typography.bold,fontSize:typography.text_smaller}},title:{style:{color:colors.text_lt_default,fontFamily:typography.font_family_base,fontWeight:typography.regular,fontSize:typography.heading_4}}},yAxis:{alternateGridColor:void 0,minorTickInterval:null,gridLineColor:colors.border_light,minorGridLineColor:colors.border_light,lineWidth:0,tickWidth:0,tickPixelInterval:50,labels:{style:{fontFamily:typography.font_family_base,color:colors.text_lt_lighter,fontWeight:typography.bold,fontSize:typography.text_smaller}},title:{style:{fontFamily:typography.font_family_base,color:colors.text_lt_lighter,fontWeight:typography.bold,fontSize:typography.text_smaller}}}};const PbLineGraph=props=>{const{aria:aria={},className:className,data:data={},id:id,htmlOptions:htmlOptions={},options:options}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_pb_line_graph"),globalProps(props),className);const mergedOptions=useMemo((()=>{if(!options||typeof options!=="object"){console.error("❌ Invalid options passed to <PbLineGraph />",options);return{}}return Highcharts.merge({},pbLineGraphTheme,options)}),[options]);return jsx("div",{children:jsx(HighchartsReact,{containerProps:{className:classnames(classes),id:id,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts,options:mergedOptions})})};export{PbBarGraph as P,PbCircleChart as a,PbGaugeChart as b,PbLineGraph as c};
|