@optiaxiom/proteus 0.1.21 → 0.1.22

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.
@@ -2,7 +2,7 @@
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { Box, theme } from '@optiaxiom/react';
4
4
  import { get } from 'jsonpointer';
5
- import { ResponsiveContainer, BarChart, LineChart, CartesianGrid, XAxis, YAxis, Tooltip, Bar, Line } from 'recharts';
5
+ import { ResponsiveContainer, BarChart, LineChart, CartesianGrid, YAxis, XAxis, Tooltip, Bar, Line } from 'recharts';
6
6
  import { chart } from './ProteusChart-css.js';
7
7
  import { ProteusChartTooltipContent } from './ProteusChartTooltipContent.js';
8
8
 
@@ -10,13 +10,17 @@ const DEFAULT_COLORS = ["#096DD9", "#E59700", "#38C56C", "#D1D8DE"];
10
10
  const getColor = (index) => DEFAULT_COLORS[index % DEFAULT_COLORS.length];
11
11
  const ProteusChart = ({
12
12
  data,
13
+ layout = "horizontal",
13
14
  series,
14
15
  type,
15
16
  xAxisKey
16
17
  }) => {
18
+ const isVertical = layout === "vertical";
17
19
  const ChartComponent = type === "bar" ? BarChart : LineChart;
18
20
  const Chart = type === "bar" ? Bar : Line;
19
- return /* @__PURE__ */ jsx(Box, { asChild: true, ...chart(), children: /* @__PURE__ */ jsx(ResponsiveContainer, { aspect: 16 / 9, width: "100%", children: /* @__PURE__ */ jsxs(ChartComponent, { data, children: [
21
+ const CategoryAxis = isVertical ? YAxis : XAxis;
22
+ const ValueAxis = isVertical ? XAxis : YAxis;
23
+ return /* @__PURE__ */ jsx(Box, { asChild: true, ...chart(), children: /* @__PURE__ */ jsx(ResponsiveContainer, { aspect: 16 / 9, width: "100%", children: /* @__PURE__ */ jsxs(ChartComponent, { data, layout, children: [
20
24
  /* @__PURE__ */ jsx(
21
25
  CartesianGrid,
22
26
  {
@@ -26,19 +30,20 @@ const ProteusChart = ({
26
30
  }
27
31
  ),
28
32
  /* @__PURE__ */ jsx(
29
- XAxis,
33
+ CategoryAxis,
30
34
  {
31
35
  axisLine: false,
32
36
  dataKey: (row) => get(row, "/" + xAxisKey),
33
- minTickGap: 32,
34
37
  padding: { left: 16, right: 16 },
35
38
  tick: { fill: theme.colors["fg.secondary"] },
36
39
  tickLine: false,
37
- tickMargin: 8
40
+ tickMargin: 8,
41
+ type: "category",
42
+ width: isVertical ? "auto" : void 0
38
43
  }
39
44
  ),
40
45
  /* @__PURE__ */ jsx(
41
- YAxis,
46
+ ValueAxis,
42
47
  {
43
48
  axisLine: { stroke: "#CBD5E1" },
44
49
  minTickGap: 32,
@@ -48,7 +53,8 @@ const ProteusChart = ({
48
53
  notation: "compact"
49
54
  }).format(value),
50
55
  tickMargin: 8,
51
- width: "auto"
56
+ type: "number",
57
+ width: isVertical ? void 0 : "auto"
52
58
  }
53
59
  ),
54
60
  /* @__PURE__ */ jsx(Tooltip, { content: ProteusChartTooltipContent, cursor: false }),
@@ -4582,6 +4582,17 @@ var definitions = {
4582
4582
  ],
4583
4583
  description: "Chart data records, either inline, a ProteusExpression, or a ProteusZip transformation"
4584
4584
  },
4585
+ layout: {
4586
+ anyOf: [
4587
+ {
4588
+ "const": "horizontal"
4589
+ },
4590
+ {
4591
+ "const": "vertical"
4592
+ }
4593
+ ],
4594
+ description: "Chart layout direction"
4595
+ },
4585
4596
  series: {
4586
4597
  description: "Data series configuration",
4587
4598
  items: {
@@ -4557,6 +4557,17 @@ var definitions = {
4557
4557
  ],
4558
4558
  description: "Chart data records, either inline, a ProteusExpression, or a ProteusZip transformation"
4559
4559
  },
4560
+ layout: {
4561
+ anyOf: [
4562
+ {
4563
+ "const": "horizontal"
4564
+ },
4565
+ {
4566
+ "const": "vertical"
4567
+ }
4568
+ ],
4569
+ description: "Chart layout direction"
4570
+ },
4560
4571
  series: {
4561
4572
  description: "Data series configuration",
4562
4573
  items: {
package/dist/index.d.ts CHANGED
@@ -24,6 +24,10 @@ type ProteusChartProps = {
24
24
  * ProteusZip transformation
25
25
  */
26
26
  data: Record<string, unknown>[];
27
+ /**
28
+ * Chart layout direction
29
+ */
30
+ layout?: "horizontal" | "vertical";
27
31
  /**
28
32
  * Data series configuration
29
33
  */
@@ -38,7 +42,7 @@ type ProteusChartProps = {
38
42
  xAxisKey?: string;
39
43
  };
40
44
  declare const ProteusChart: {
41
- ({ data, series, type, xAxisKey, }: ProteusChartProps): react_jsx_runtime.JSX.Element;
45
+ ({ data, layout, series, type, xAxisKey, }: ProteusChartProps): react_jsx_runtime.JSX.Element;
42
46
  displayName: string;
43
47
  };
44
48
 
package/dist/spec.d.ts CHANGED
@@ -3648,22 +3648,30 @@ declare namespace definitions {
3648
3648
  let description_89: string;
3649
3649
  export { description_89 as description };
3650
3650
  }
3651
- export namespace series {
3651
+ export namespace layout {
3652
+ let anyOf_74: {
3653
+ const: string;
3654
+ }[];
3655
+ export { anyOf_74 as anyOf };
3652
3656
  let description_90: string;
3653
3657
  export { description_90 as description };
3658
+ }
3659
+ export namespace series {
3660
+ let description_91: string;
3661
+ export { description_91 as description };
3654
3662
  export namespace items {
3655
3663
  let additionalProperties_11: boolean;
3656
3664
  export { additionalProperties_11 as additionalProperties };
3657
3665
  export namespace properties_10 {
3658
3666
  export namespace dataKey {
3659
- let description_91: string;
3660
- export { description_91 as description };
3667
+ let description_92: string;
3668
+ export { description_92 as description };
3661
3669
  let type_16: string;
3662
3670
  export { type_16 as type };
3663
3671
  }
3664
3672
  export namespace name_1 {
3665
- let description_92: string;
3666
- export { description_92 as description };
3673
+ let description_93: string;
3674
+ export { description_93 as description };
3667
3675
  let type_17: string;
3668
3676
  export { type_17 as type };
3669
3677
  }
@@ -3679,17 +3687,17 @@ declare namespace definitions {
3679
3687
  export { type_19 as type };
3680
3688
  }
3681
3689
  export namespace type_20 {
3682
- let anyOf_74: {
3690
+ let anyOf_75: {
3683
3691
  const: string;
3684
3692
  }[];
3685
- export { anyOf_74 as anyOf };
3686
- let description_93: string;
3687
- export { description_93 as description };
3693
+ export { anyOf_75 as anyOf };
3694
+ let description_94: string;
3695
+ export { description_94 as description };
3688
3696
  }
3689
3697
  export { type_20 as type };
3690
3698
  export namespace xAxisKey {
3691
- let description_94: string;
3692
- export { description_94 as description };
3699
+ let description_95: string;
3700
+ export { description_95 as description };
3693
3701
  let type_21: string;
3694
3702
  export { type_21 as type };
3695
3703
  }
@@ -3710,17 +3718,17 @@ declare namespace definitions {
3710
3718
  }
3711
3719
  export { $type_10 as $type };
3712
3720
  export namespace children_7 {
3713
- let description_95: string;
3714
- export { description_95 as description };
3721
+ let description_96: string;
3722
+ export { description_96 as description };
3715
3723
  export namespace items_1 {
3716
- let anyOf_75: ({
3724
+ let anyOf_76: ({
3717
3725
  $ref: string;
3718
3726
  type?: undefined;
3719
3727
  } | {
3720
3728
  type: string;
3721
3729
  $ref?: undefined;
3722
3730
  })[];
3723
- export { anyOf_75 as anyOf };
3731
+ export { anyOf_76 as anyOf };
3724
3732
  }
3725
3733
  export { items_1 as items };
3726
3734
  let type_23: string;
@@ -3755,20 +3763,20 @@ declare namespace definitions {
3755
3763
  }
3756
3764
  export { $type_11 as $type };
3757
3765
  export namespace columns {
3758
- let description_96: string;
3759
- export { description_96 as description };
3766
+ let description_97: string;
3767
+ export { description_97 as description };
3760
3768
  export namespace items_2 {
3761
3769
  let additionalProperties_14: boolean;
3762
3770
  export { additionalProperties_14 as additionalProperties };
3763
3771
  export namespace properties_13 {
3764
3772
  export namespace accessorKey {
3765
- let description_97: string;
3766
- export { description_97 as description };
3773
+ let description_98: string;
3774
+ export { description_98 as description };
3767
3775
  let type_25: string;
3768
3776
  export { type_25 as type };
3769
3777
  }
3770
3778
  export namespace format {
3771
- let anyOf_76: ({
3779
+ let anyOf_77: ({
3772
3780
  description: string;
3773
3781
  type: string;
3774
3782
  properties?: undefined;
@@ -3786,19 +3794,19 @@ declare namespace definitions {
3786
3794
  required: string[];
3787
3795
  type: string;
3788
3796
  })[];
3789
- export { anyOf_76 as anyOf };
3790
- let description_98: string;
3791
- export { description_98 as description };
3792
- }
3793
- export namespace header {
3797
+ export { anyOf_77 as anyOf };
3794
3798
  let description_99: string;
3795
3799
  export { description_99 as description };
3800
+ }
3801
+ export namespace header {
3802
+ let description_100: string;
3803
+ export { description_100 as description };
3796
3804
  let type_26: string;
3797
3805
  export { type_26 as type };
3798
3806
  }
3799
3807
  export namespace size_5 {
3800
- let description_100: string;
3801
- export { description_100 as description };
3808
+ let description_101: string;
3809
+ export { description_101 as description };
3802
3810
  let type_27: string;
3803
3811
  export { type_27 as type };
3804
3812
  }
@@ -3815,7 +3823,7 @@ declare namespace definitions {
3815
3823
  export { type_29 as type };
3816
3824
  }
3817
3825
  export namespace data_1 {
3818
- let anyOf_77: ({
3826
+ let anyOf_78: ({
3819
3827
  description: string;
3820
3828
  items: {
3821
3829
  type: string;
@@ -3828,7 +3836,7 @@ declare namespace definitions {
3828
3836
  items?: undefined;
3829
3837
  type?: undefined;
3830
3838
  })[];
3831
- export { anyOf_77 as anyOf };
3839
+ export { anyOf_78 as anyOf };
3832
3840
  }
3833
3841
  export { data_1 as data };
3834
3842
  }
@@ -3926,13 +3934,13 @@ declare namespace definitions {
3926
3934
  export { $ref_431 as $ref };
3927
3935
  }
3928
3936
  export { cursor_7 as cursor };
3929
- export namespace description_101 {
3937
+ export namespace description_102 {
3930
3938
  let $ref_432: string;
3931
3939
  export { $ref_432 as $ref };
3932
- let description_102: string;
3933
- export { description_102 as description };
3940
+ let description_103: string;
3941
+ export { description_103 as description };
3934
3942
  }
3935
- export { description_101 as description };
3943
+ export { description_102 as description };
3936
3944
  export namespace display_7 {
3937
3945
  let $ref_433: string;
3938
3946
  export { $ref_433 as $ref };
@@ -3996,8 +4004,8 @@ declare namespace definitions {
3996
4004
  export namespace info {
3997
4005
  let $ref_445: string;
3998
4006
  export { $ref_445 as $ref };
3999
- let description_103: string;
4000
- export { description_103 as description };
4007
+ let description_104: string;
4008
+ export { description_104 as description };
4001
4009
  }
4002
4010
  export namespace justifyContent_7 {
4003
4011
  let $ref_446: string;
@@ -4012,8 +4020,8 @@ declare namespace definitions {
4012
4020
  export namespace label {
4013
4021
  let $ref_448: string;
4014
4022
  export { $ref_448 as $ref };
4015
- let description_104: string;
4016
- export { description_104 as description };
4023
+ let description_105: string;
4024
+ export { description_105 as description };
4017
4025
  }
4018
4026
  export namespace m_7 {
4019
4027
  let $ref_449: string;
@@ -4126,16 +4134,16 @@ declare namespace definitions {
4126
4134
  }
4127
4135
  export { py_7 as py };
4128
4136
  export namespace required_14 {
4129
- let anyOf_78: ({
4137
+ let anyOf_79: ({
4130
4138
  type: string;
4131
4139
  $ref?: undefined;
4132
4140
  } | {
4133
4141
  $ref: string;
4134
4142
  type?: undefined;
4135
4143
  })[];
4136
- export { anyOf_78 as anyOf };
4137
- let description_105: string;
4138
- export { description_105 as description };
4144
+ export { anyOf_79 as anyOf };
4145
+ let description_106: string;
4146
+ export { description_106 as description };
4139
4147
  }
4140
4148
  export { required_14 as required };
4141
4149
  export namespace rounded_7 {
@@ -4207,16 +4215,16 @@ declare namespace definitions {
4207
4215
  }
4208
4216
  export { $type_13 as $type };
4209
4217
  export namespace alignItems_8 {
4210
- let anyOf_79: ({
4218
+ let anyOf_80: ({
4211
4219
  const: string;
4212
4220
  $ref?: undefined;
4213
4221
  } | {
4214
4222
  $ref: string;
4215
4223
  const?: undefined;
4216
4224
  })[];
4217
- export { anyOf_79 as anyOf };
4218
- let description_106: string;
4219
- export { description_106 as description };
4225
+ export { anyOf_80 as anyOf };
4226
+ let description_107: string;
4227
+ export { description_107 as description };
4220
4228
  }
4221
4229
  export { alignItems_8 as alignItems };
4222
4230
  export namespace alignSelf_8 {
@@ -4295,16 +4303,16 @@ declare namespace definitions {
4295
4303
  }
4296
4304
  export { flex_8 as flex };
4297
4305
  export namespace flexDirection_8 {
4298
- let anyOf_80: ({
4306
+ let anyOf_81: ({
4299
4307
  const: string;
4300
4308
  $ref?: undefined;
4301
4309
  } | {
4302
4310
  $ref: string;
4303
4311
  const?: undefined;
4304
4312
  })[];
4305
- export { anyOf_80 as anyOf };
4306
- let description_107: string;
4307
- export { description_107 as description };
4313
+ export { anyOf_81 as anyOf };
4314
+ let description_108: string;
4315
+ export { description_108 as description };
4308
4316
  }
4309
4317
  export { flexDirection_8 as flexDirection };
4310
4318
  export namespace flexWrap_8 {
@@ -4680,16 +4688,16 @@ declare namespace definitions {
4680
4688
  }
4681
4689
  export { justifyItems_9 as justifyItems };
4682
4690
  export namespace level {
4683
- let anyOf_81: ({
4691
+ let anyOf_82: ({
4684
4692
  const: string;
4685
4693
  $ref?: undefined;
4686
4694
  } | {
4687
4695
  $ref: string;
4688
4696
  const?: undefined;
4689
4697
  })[];
4690
- export { anyOf_81 as anyOf };
4691
- let description_108: string;
4692
- export { description_108 as description };
4698
+ export { anyOf_82 as anyOf };
4699
+ let description_109: string;
4700
+ export { description_109 as description };
4693
4701
  }
4694
4702
  export namespace m_9 {
4695
4703
  let $ref_565: string;
@@ -5465,28 +5473,28 @@ declare namespace definitions {
5465
5473
  }
5466
5474
  export { z_11 as z };
5467
5475
  export namespace alt {
5468
- let anyOf_82: ({
5476
+ let anyOf_83: ({
5469
5477
  $ref: string;
5470
5478
  type?: undefined;
5471
5479
  } | {
5472
5480
  type: string;
5473
5481
  $ref?: undefined;
5474
5482
  })[];
5475
- export { anyOf_82 as anyOf };
5476
- let description_109: string;
5477
- export { description_109 as description };
5483
+ export { anyOf_83 as anyOf };
5484
+ let description_110: string;
5485
+ export { description_110 as description };
5478
5486
  }
5479
5487
  export namespace src_1 {
5480
- let anyOf_83: ({
5488
+ let anyOf_84: ({
5481
5489
  $ref: string;
5482
5490
  type?: undefined;
5483
5491
  } | {
5484
5492
  type: string;
5485
5493
  $ref?: undefined;
5486
5494
  })[];
5487
- export { anyOf_83 as anyOf };
5488
- let description_110: string;
5489
- export { description_110 as description };
5495
+ export { anyOf_84 as anyOf };
5496
+ let description_111: string;
5497
+ export { description_111 as description };
5490
5498
  }
5491
5499
  export { src_1 as src };
5492
5500
  }
@@ -5514,7 +5522,7 @@ declare namespace definitions {
5514
5522
  }
5515
5523
  export { $type_17 as $type };
5516
5524
  export namespace images {
5517
- let anyOf_84: ({
5525
+ let anyOf_85: ({
5518
5526
  description: string;
5519
5527
  items: {
5520
5528
  additionalProperties: boolean;
@@ -5543,21 +5551,21 @@ declare namespace definitions {
5543
5551
  items?: undefined;
5544
5552
  type?: undefined;
5545
5553
  })[];
5546
- export { anyOf_84 as anyOf };
5547
- let description_111: string;
5548
- export { description_111 as description };
5554
+ export { anyOf_85 as anyOf };
5555
+ let description_112: string;
5556
+ export { description_112 as description };
5549
5557
  }
5550
5558
  export namespace title_1 {
5551
- let anyOf_85: ({
5559
+ let anyOf_86: ({
5552
5560
  $ref: string;
5553
5561
  type?: undefined;
5554
5562
  } | {
5555
5563
  type: string;
5556
5564
  $ref?: undefined;
5557
5565
  })[];
5558
- export { anyOf_85 as anyOf };
5559
- let description_112: string;
5560
- export { description_112 as description };
5566
+ export { anyOf_86 as anyOf };
5567
+ let description_113: string;
5568
+ export { description_113 as description };
5561
5569
  }
5562
5570
  export { title_1 as title };
5563
5571
  }
@@ -5585,15 +5593,15 @@ declare namespace definitions {
5585
5593
  export namespace addonAfter_1 {
5586
5594
  let $ref_712: string;
5587
5595
  export { $ref_712 as $ref };
5588
- let description_113: string;
5589
- export { description_113 as description };
5596
+ let description_114: string;
5597
+ export { description_114 as description };
5590
5598
  }
5591
5599
  export { addonAfter_1 as addonAfter };
5592
5600
  export namespace addonBefore_1 {
5593
5601
  let $ref_713: string;
5594
5602
  export { $ref_713 as $ref };
5595
- let description_114: string;
5596
- export { description_114 as description };
5603
+ let description_115: string;
5604
+ export { description_115 as description };
5597
5605
  }
5598
5606
  export { addonBefore_1 as addonBefore };
5599
5607
  export namespace alignItems_12 {
@@ -5612,29 +5620,29 @@ declare namespace definitions {
5612
5620
  }
5613
5621
  export { animation_12 as animation };
5614
5622
  export namespace appearance_1 {
5615
- let anyOf_86: ({
5623
+ let anyOf_87: ({
5616
5624
  const: string;
5617
5625
  $ref?: undefined;
5618
5626
  } | {
5619
5627
  $ref: string;
5620
5628
  const?: undefined;
5621
5629
  })[];
5622
- export { anyOf_86 as anyOf };
5623
- let description_115: string;
5624
- export { description_115 as description };
5630
+ export { anyOf_87 as anyOf };
5631
+ let description_116: string;
5632
+ export { description_116 as description };
5625
5633
  }
5626
5634
  export { appearance_1 as appearance };
5627
5635
  export namespace autoFocus {
5628
- let anyOf_87: ({
5636
+ let anyOf_88: ({
5629
5637
  type: string;
5630
5638
  $ref?: undefined;
5631
5639
  } | {
5632
5640
  $ref: string;
5633
5641
  type?: undefined;
5634
5642
  })[];
5635
- export { anyOf_87 as anyOf };
5636
- let description_116: string;
5637
- export { description_116 as description };
5643
+ export { anyOf_88 as anyOf };
5644
+ let description_117: string;
5645
+ export { description_117 as description };
5638
5646
  }
5639
5647
  export namespace backgroundImage_12 {
5640
5648
  let $ref_717: string;
@@ -5802,16 +5810,16 @@ declare namespace definitions {
5802
5810
  }
5803
5811
  export { my_12 as my };
5804
5812
  export namespace name_2 {
5805
- let anyOf_88: ({
5813
+ let anyOf_89: ({
5806
5814
  type: string;
5807
5815
  $ref?: undefined;
5808
5816
  } | {
5809
5817
  $ref: string;
5810
5818
  type?: undefined;
5811
5819
  })[];
5812
- export { anyOf_88 as anyOf };
5813
- let description_117: string;
5814
- export { description_117 as description };
5820
+ export { anyOf_89 as anyOf };
5821
+ let description_118: string;
5822
+ export { description_118 as description };
5815
5823
  }
5816
5824
  export { name_2 as name };
5817
5825
  export namespace objectFit_12 {
@@ -5850,16 +5858,16 @@ declare namespace definitions {
5850
5858
  }
5851
5859
  export { pl_12 as pl };
5852
5860
  export namespace placeholder_1 {
5853
- let anyOf_89: ({
5861
+ let anyOf_90: ({
5854
5862
  type: string;
5855
5863
  $ref?: undefined;
5856
5864
  } | {
5857
5865
  $ref: string;
5858
5866
  type?: undefined;
5859
5867
  })[];
5860
- export { anyOf_89 as anyOf };
5861
- let description_118: string;
5862
- export { description_118 as description };
5868
+ export { anyOf_90 as anyOf };
5869
+ let description_119: string;
5870
+ export { description_119 as description };
5863
5871
  }
5864
5872
  export { placeholder_1 as placeholder };
5865
5873
  export namespace placeItems_12 {
@@ -5893,16 +5901,16 @@ declare namespace definitions {
5893
5901
  }
5894
5902
  export { py_12 as py };
5895
5903
  export namespace required_21 {
5896
- let anyOf_90: ({
5904
+ let anyOf_91: ({
5897
5905
  type: string;
5898
5906
  $ref?: undefined;
5899
5907
  } | {
5900
5908
  $ref: string;
5901
5909
  type?: undefined;
5902
5910
  })[];
5903
- export { anyOf_90 as anyOf };
5904
- let description_119: string;
5905
- export { description_119 as description };
5911
+ export { anyOf_91 as anyOf };
5912
+ let description_120: string;
5913
+ export { description_120 as description };
5906
5914
  }
5907
5915
  export { required_21 as required };
5908
5916
  export namespace rounded_12 {
@@ -5931,7 +5939,7 @@ declare namespace definitions {
5931
5939
  }
5932
5940
  export { transition_12 as transition };
5933
5941
  export namespace type_37 {
5934
- let anyOf_91: ({
5942
+ let anyOf_92: ({
5935
5943
  const: string;
5936
5944
  type?: undefined;
5937
5945
  $ref?: undefined;
@@ -5944,9 +5952,9 @@ declare namespace definitions {
5944
5952
  const?: undefined;
5945
5953
  type?: undefined;
5946
5954
  })[];
5947
- export { anyOf_91 as anyOf };
5948
- let description_120: string;
5949
- export { description_120 as description };
5955
+ export { anyOf_92 as anyOf };
5956
+ let description_121: string;
5957
+ export { description_121 as description };
5950
5958
  }
5951
5959
  export { type_37 as type };
5952
5960
  export namespace w_12 {
@@ -6117,16 +6125,16 @@ declare namespace definitions {
6117
6125
  }
6118
6126
  export { h_13 as h };
6119
6127
  export namespace href_1 {
6120
- let anyOf_92: ({
6128
+ let anyOf_93: ({
6121
6129
  type: string;
6122
6130
  $ref?: undefined;
6123
6131
  } | {
6124
6132
  $ref: string;
6125
6133
  type?: undefined;
6126
6134
  })[];
6127
- export { anyOf_92 as anyOf };
6128
- let description_121: string;
6129
- export { description_121 as description };
6135
+ export { anyOf_93 as anyOf };
6136
+ let description_122: string;
6137
+ export { description_122 as description };
6130
6138
  }
6131
6139
  export { href_1 as href };
6132
6140
  export namespace justifyContent_13 {
@@ -6322,21 +6330,21 @@ declare namespace definitions {
6322
6330
  export namespace children_12 {
6323
6331
  let $ref_830: string;
6324
6332
  export { $ref_830 as $ref };
6325
- let description_122: string;
6326
- export { description_122 as description };
6333
+ let description_123: string;
6334
+ export { description_123 as description };
6327
6335
  }
6328
6336
  export { children_12 as children };
6329
6337
  export namespace path {
6330
- let description_123: string;
6331
- export { description_123 as description };
6338
+ let description_124: string;
6339
+ export { description_124 as description };
6332
6340
  let type_40: string;
6333
6341
  export { type_40 as type };
6334
6342
  }
6335
6343
  export namespace separator {
6336
6344
  let $ref_831: string;
6337
6345
  export { $ref_831 as $ref };
6338
- let description_124: string;
6339
- export { description_124 as description };
6346
+ let description_125: string;
6347
+ export { description_125 as description };
6340
6348
  }
6341
6349
  }
6342
6350
  export { properties_22 as properties };
@@ -6377,8 +6385,8 @@ declare namespace definitions {
6377
6385
  export namespace questions {
6378
6386
  let $ref_832: string;
6379
6387
  export { $ref_832 as $ref };
6380
- let description_125: string;
6381
- export { description_125 as description };
6388
+ let description_126: string;
6389
+ export { description_126 as description };
6382
6390
  }
6383
6391
  }
6384
6392
  export { properties_24 as properties };
@@ -6544,10 +6552,10 @@ declare namespace definitions {
6544
6552
  }
6545
6553
  export { m_14 as m };
6546
6554
  export namespace marks {
6547
- let description_126: string;
6548
- export { description_126 as description };
6555
+ let description_127: string;
6556
+ export { description_127 as description };
6549
6557
  export namespace items_3 {
6550
- let anyOf_93: ({
6558
+ let anyOf_94: ({
6551
6559
  type: string;
6552
6560
  additionalProperties?: undefined;
6553
6561
  properties?: undefined;
@@ -6567,23 +6575,23 @@ declare namespace definitions {
6567
6575
  required: string[];
6568
6576
  type: string;
6569
6577
  })[];
6570
- export { anyOf_93 as anyOf };
6578
+ export { anyOf_94 as anyOf };
6571
6579
  }
6572
6580
  export { items_3 as items };
6573
6581
  let type_44: string;
6574
6582
  export { type_44 as type };
6575
6583
  }
6576
6584
  export namespace max {
6577
- let anyOf_94: ({
6585
+ let anyOf_95: ({
6578
6586
  type: string;
6579
6587
  $ref?: undefined;
6580
6588
  } | {
6581
6589
  $ref: string;
6582
6590
  type?: undefined;
6583
6591
  })[];
6584
- export { anyOf_94 as anyOf };
6585
- let description_127: string;
6586
- export { description_127 as description };
6592
+ export { anyOf_95 as anyOf };
6593
+ let description_128: string;
6594
+ export { description_128 as description };
6587
6595
  }
6588
6596
  export namespace maxH_14 {
6589
6597
  let $ref_861: string;
@@ -6601,16 +6609,16 @@ declare namespace definitions {
6601
6609
  }
6602
6610
  export { mb_14 as mb };
6603
6611
  export namespace min {
6604
- let anyOf_95: ({
6612
+ let anyOf_96: ({
6605
6613
  type: string;
6606
6614
  $ref?: undefined;
6607
6615
  } | {
6608
6616
  $ref: string;
6609
6617
  type?: undefined;
6610
6618
  })[];
6611
- export { anyOf_95 as anyOf };
6612
- let description_128: string;
6613
- export { description_128 as description };
6619
+ export { anyOf_96 as anyOf };
6620
+ let description_129: string;
6621
+ export { description_129 as description };
6614
6622
  }
6615
6623
  export namespace ml_14 {
6616
6624
  let $ref_864: string;
@@ -6713,16 +6721,16 @@ declare namespace definitions {
6713
6721
  }
6714
6722
  export { shadow_14 as shadow };
6715
6723
  export namespace step {
6716
- let anyOf_96: ({
6724
+ let anyOf_97: ({
6717
6725
  type: string;
6718
6726
  $ref?: undefined;
6719
6727
  } | {
6720
6728
  $ref: string;
6721
6729
  type?: undefined;
6722
6730
  })[];
6723
- export { anyOf_96 as anyOf };
6724
- let description_129: string;
6725
- export { description_129 as description };
6731
+ export { anyOf_97 as anyOf };
6732
+ let description_130: string;
6733
+ export { description_130 as description };
6726
6734
  }
6727
6735
  export namespace textAlign_14 {
6728
6736
  let $ref_884: string;
@@ -6792,35 +6800,35 @@ declare namespace definitions {
6792
6800
  }
6793
6801
  export { children_13 as children };
6794
6802
  export namespace name_3 {
6795
- let anyOf_97: ({
6803
+ let anyOf_98: ({
6796
6804
  type: string;
6797
6805
  $ref?: undefined;
6798
6806
  } | {
6799
6807
  $ref: string;
6800
6808
  type?: undefined;
6801
6809
  })[];
6802
- export { anyOf_97 as anyOf };
6803
- let description_130: string;
6804
- export { description_130 as description };
6810
+ export { anyOf_98 as anyOf };
6811
+ let description_131: string;
6812
+ export { description_131 as description };
6805
6813
  }
6806
6814
  export { name_3 as name };
6807
6815
  export namespace options {
6808
- let description_131: string;
6809
- export { description_131 as description };
6816
+ let description_132: string;
6817
+ export { description_132 as description };
6810
6818
  export namespace items_4 {
6811
6819
  let additionalProperties_28: boolean;
6812
6820
  export { additionalProperties_28 as additionalProperties };
6813
6821
  export namespace properties_27 {
6814
6822
  export namespace label_1 {
6815
- let description_132: string;
6816
- export { description_132 as description };
6823
+ let description_133: string;
6824
+ export { description_133 as description };
6817
6825
  let type_46: string;
6818
6826
  export { type_46 as type };
6819
6827
  }
6820
6828
  export { label_1 as label };
6821
6829
  export namespace value {
6822
- let description_133: string;
6823
- export { description_133 as description };
6830
+ let description_134: string;
6831
+ export { description_134 as description };
6824
6832
  let type_47: string;
6825
6833
  export { type_47 as type };
6826
6834
  }
@@ -6836,16 +6844,16 @@ declare namespace definitions {
6836
6844
  export { type_49 as type };
6837
6845
  }
6838
6846
  export namespace required_29 {
6839
- let anyOf_98: ({
6847
+ let anyOf_99: ({
6840
6848
  type: string;
6841
6849
  $ref?: undefined;
6842
6850
  } | {
6843
6851
  $ref: string;
6844
6852
  type?: undefined;
6845
6853
  })[];
6846
- export { anyOf_98 as anyOf };
6847
- let description_134: string;
6848
- export { description_134 as description };
6854
+ export { anyOf_99 as anyOf };
6855
+ let description_135: string;
6856
+ export { description_135 as description };
6849
6857
  }
6850
6858
  export { required_29 as required };
6851
6859
  }
@@ -7794,12 +7802,12 @@ declare namespace definitions {
7794
7802
  export namespace children_15 {
7795
7803
  let $ref_1064: string;
7796
7804
  export { $ref_1064 as $ref };
7797
- let description_135: string;
7798
- export { description_135 as description };
7805
+ let description_136: string;
7806
+ export { description_136 as description };
7799
7807
  }
7800
7808
  export { children_15 as children };
7801
7809
  export namespace when {
7802
- let anyOf_99: ({
7810
+ let anyOf_100: ({
7803
7811
  $ref: string;
7804
7812
  items?: undefined;
7805
7813
  type?: undefined;
@@ -7810,9 +7818,9 @@ declare namespace definitions {
7810
7818
  type: string;
7811
7819
  $ref?: undefined;
7812
7820
  })[];
7813
- export { anyOf_99 as anyOf };
7814
- let description_136: string;
7815
- export { description_136 as description };
7821
+ export { anyOf_100 as anyOf };
7822
+ let description_137: string;
7823
+ export { description_137 as description };
7816
7824
  }
7817
7825
  }
7818
7826
  export { properties_31 as properties };
@@ -7905,13 +7913,13 @@ declare namespace definitions {
7905
7913
  export { $ref_1078 as $ref };
7906
7914
  }
7907
7915
  export { cursor_18 as cursor };
7908
- export namespace description_137 {
7916
+ export namespace description_138 {
7909
7917
  let $ref_1079: string;
7910
7918
  export { $ref_1079 as $ref };
7911
- let description_138: string;
7912
- export { description_138 as description };
7919
+ let description_139: string;
7920
+ export { description_139 as description };
7913
7921
  }
7914
- export { description_137 as description };
7922
+ export { description_138 as description };
7915
7923
  export namespace display_18 {
7916
7924
  let $ref_1080: string;
7917
7925
  export { $ref_1080 as $ref };
@@ -8028,16 +8036,16 @@ declare namespace definitions {
8028
8036
  }
8029
8037
  export { my_18 as my };
8030
8038
  export namespace name_4 {
8031
- let anyOf_100: ({
8039
+ let anyOf_101: ({
8032
8040
  type: string;
8033
8041
  $ref?: undefined;
8034
8042
  } | {
8035
8043
  $ref: string;
8036
8044
  type?: undefined;
8037
8045
  })[];
8038
- export { anyOf_100 as anyOf };
8039
- let description_139: string;
8040
- export { description_139 as description };
8046
+ export { anyOf_101 as anyOf };
8047
+ let description_140: string;
8048
+ export { description_140 as description };
8041
8049
  }
8042
8050
  export { name_4 as name };
8043
8051
  export namespace objectFit_18 {
@@ -8106,16 +8114,16 @@ declare namespace definitions {
8106
8114
  }
8107
8115
  export { py_18 as py };
8108
8116
  export namespace required_35 {
8109
- let anyOf_101: ({
8117
+ let anyOf_102: ({
8110
8118
  type: string;
8111
8119
  $ref?: undefined;
8112
8120
  } | {
8113
8121
  $ref: string;
8114
8122
  type?: undefined;
8115
8123
  })[];
8116
- export { anyOf_101 as anyOf };
8117
- let description_140: string;
8118
- export { description_140 as description };
8124
+ export { anyOf_102 as anyOf };
8125
+ let description_141: string;
8126
+ export { description_141 as description };
8119
8127
  }
8120
8128
  export { required_35 as required };
8121
8129
  export namespace rounded_18 {
@@ -8320,16 +8328,16 @@ declare namespace definitions {
8320
8328
  }
8321
8329
  export { justifyItems_19 as justifyItems };
8322
8330
  export namespace lineClamp_1 {
8323
- let anyOf_102: ({
8331
+ let anyOf_103: ({
8324
8332
  const: string;
8325
8333
  $ref?: undefined;
8326
8334
  } | {
8327
8335
  $ref: string;
8328
8336
  const?: undefined;
8329
8337
  })[];
8330
- export { anyOf_102 as anyOf };
8331
- let description_141: string;
8332
- export { description_141 as description };
8338
+ export { anyOf_103 as anyOf };
8339
+ let description_142: string;
8340
+ export { description_142 as description };
8333
8341
  }
8334
8342
  export { lineClamp_1 as lineClamp };
8335
8343
  export namespace m_19 {
@@ -8473,16 +8481,16 @@ declare namespace definitions {
8473
8481
  }
8474
8482
  export { transition_19 as transition };
8475
8483
  export namespace truncate {
8476
- let anyOf_103: ({
8484
+ let anyOf_104: ({
8477
8485
  type: string;
8478
8486
  $ref?: undefined;
8479
8487
  } | {
8480
8488
  $ref: string;
8481
8489
  type?: undefined;
8482
8490
  })[];
8483
- export { anyOf_103 as anyOf };
8484
- let description_142: string;
8485
- export { description_142 as description };
8491
+ export { anyOf_104 as anyOf };
8492
+ let description_143: string;
8493
+ export { description_143 as description };
8486
8494
  }
8487
8495
  export namespace w_19 {
8488
8496
  let $ref_1180: string;
@@ -8667,16 +8675,16 @@ declare namespace definitions {
8667
8675
  }
8668
8676
  export { maxH_19 as maxH };
8669
8677
  export namespace maxRows {
8670
- let anyOf_104: ({
8678
+ let anyOf_105: ({
8671
8679
  const: number;
8672
8680
  $ref?: undefined;
8673
8681
  } | {
8674
8682
  $ref: string;
8675
8683
  const?: undefined;
8676
8684
  })[];
8677
- export { anyOf_104 as anyOf };
8678
- let description_143: string;
8679
- export { description_143 as description };
8685
+ export { anyOf_105 as anyOf };
8686
+ let description_144: string;
8687
+ export { description_144 as description };
8680
8688
  }
8681
8689
  export namespace maxW_20 {
8682
8690
  let $ref_1212: string;
@@ -8714,16 +8722,16 @@ declare namespace definitions {
8714
8722
  }
8715
8723
  export { my_20 as my };
8716
8724
  export namespace name_5 {
8717
- let anyOf_105: ({
8725
+ let anyOf_106: ({
8718
8726
  type: string;
8719
8727
  $ref?: undefined;
8720
8728
  } | {
8721
8729
  $ref: string;
8722
8730
  type?: undefined;
8723
8731
  })[];
8724
- export { anyOf_105 as anyOf };
8725
- let description_144: string;
8726
- export { description_144 as description };
8732
+ export { anyOf_106 as anyOf };
8733
+ let description_145: string;
8734
+ export { description_145 as description };
8727
8735
  }
8728
8736
  export { name_5 as name };
8729
8737
  export namespace objectFit_20 {
@@ -8762,16 +8770,16 @@ declare namespace definitions {
8762
8770
  }
8763
8771
  export { pl_20 as pl };
8764
8772
  export namespace placeholder_2 {
8765
- let anyOf_106: ({
8773
+ let anyOf_107: ({
8766
8774
  type: string;
8767
8775
  $ref?: undefined;
8768
8776
  } | {
8769
8777
  $ref: string;
8770
8778
  type?: undefined;
8771
8779
  })[];
8772
- export { anyOf_106 as anyOf };
8773
- let description_145: string;
8774
- export { description_145 as description };
8780
+ export { anyOf_107 as anyOf };
8781
+ let description_146: string;
8782
+ export { description_146 as description };
8775
8783
  }
8776
8784
  export { placeholder_2 as placeholder };
8777
8785
  export namespace placeItems_20 {
@@ -8805,29 +8813,29 @@ declare namespace definitions {
8805
8813
  }
8806
8814
  export { py_20 as py };
8807
8815
  export namespace required_38 {
8808
- let anyOf_107: ({
8816
+ let anyOf_108: ({
8809
8817
  type: string;
8810
8818
  $ref?: undefined;
8811
8819
  } | {
8812
8820
  $ref: string;
8813
8821
  type?: undefined;
8814
8822
  })[];
8815
- export { anyOf_107 as anyOf };
8816
- let description_146: string;
8817
- export { description_146 as description };
8823
+ export { anyOf_108 as anyOf };
8824
+ let description_147: string;
8825
+ export { description_147 as description };
8818
8826
  }
8819
8827
  export { required_38 as required };
8820
8828
  export namespace resize {
8821
- let anyOf_108: ({
8829
+ let anyOf_109: ({
8822
8830
  const: string;
8823
8831
  $ref?: undefined;
8824
8832
  } | {
8825
8833
  $ref: string;
8826
8834
  const?: undefined;
8827
8835
  })[];
8828
- export { anyOf_108 as anyOf };
8829
- let description_147: string;
8830
- export { description_147 as description };
8836
+ export { anyOf_109 as anyOf };
8837
+ let description_148: string;
8838
+ export { description_148 as description };
8831
8839
  }
8832
8840
  export namespace rounded_20 {
8833
8841
  let $ref_1232: string;
@@ -8835,16 +8843,16 @@ declare namespace definitions {
8835
8843
  }
8836
8844
  export { rounded_20 as rounded };
8837
8845
  export namespace rows {
8838
- let anyOf_109: ({
8846
+ let anyOf_110: ({
8839
8847
  type: string;
8840
8848
  $ref?: undefined;
8841
8849
  } | {
8842
8850
  $ref: string;
8843
8851
  type?: undefined;
8844
8852
  })[];
8845
- export { anyOf_109 as anyOf };
8846
- let description_148: string;
8847
- export { description_148 as description };
8853
+ export { anyOf_110 as anyOf };
8854
+ let description_149: string;
8855
+ export { description_149 as description };
8848
8856
  }
8849
8857
  export namespace shadow_20 {
8850
8858
  let $ref_1233: string;
@@ -8968,16 +8976,16 @@ declare namespace definitions {
8968
8976
  }
8969
8977
  export { cursor_21 as cursor };
8970
8978
  export namespace date {
8971
- let anyOf_110: ({
8979
+ let anyOf_111: ({
8972
8980
  type: string;
8973
8981
  $ref?: undefined;
8974
8982
  } | {
8975
8983
  $ref: string;
8976
8984
  type?: undefined;
8977
8985
  })[];
8978
- export { anyOf_110 as anyOf };
8979
- let description_149: string;
8980
- export { description_149 as description };
8986
+ export { anyOf_111 as anyOf };
8987
+ let description_150: string;
8988
+ export { description_150 as description };
8981
8989
  }
8982
8990
  export namespace display_21 {
8983
8991
  let $ref_1253: string;
@@ -9170,28 +9178,28 @@ declare namespace definitions {
9170
9178
  }
9171
9179
  export { shadow_21 as shadow };
9172
9180
  export namespace showDate {
9173
- let anyOf_111: ({
9181
+ let anyOf_112: ({
9174
9182
  type: string;
9175
9183
  $ref?: undefined;
9176
9184
  } | {
9177
9185
  $ref: string;
9178
9186
  type?: undefined;
9179
9187
  })[];
9180
- export { anyOf_111 as anyOf };
9181
- let description_150: string;
9182
- export { description_150 as description };
9188
+ export { anyOf_112 as anyOf };
9189
+ let description_151: string;
9190
+ export { description_151 as description };
9183
9191
  }
9184
9192
  export namespace showTime {
9185
- let anyOf_112: ({
9193
+ let anyOf_113: ({
9186
9194
  type: string;
9187
9195
  $ref?: undefined;
9188
9196
  } | {
9189
9197
  $ref: string;
9190
9198
  type?: undefined;
9191
9199
  })[];
9192
- export { anyOf_112 as anyOf };
9193
- let description_151: string;
9194
- export { description_151 as description };
9200
+ export { anyOf_113 as anyOf };
9201
+ let description_152: string;
9202
+ export { description_152 as description };
9195
9203
  }
9196
9204
  export namespace size_15 {
9197
9205
  let $ref_1291: string;
@@ -9250,7 +9258,7 @@ declare namespace definitions {
9250
9258
  }
9251
9259
  export { $type_33 as $type };
9252
9260
  export namespace formatter {
9253
- let anyOf_113: ({
9261
+ let anyOf_114: ({
9254
9262
  description: string;
9255
9263
  enum: string[];
9256
9264
  type: string;
@@ -9275,13 +9283,13 @@ declare namespace definitions {
9275
9283
  type: string;
9276
9284
  enum?: undefined;
9277
9285
  })[];
9278
- export { anyOf_113 as anyOf };
9279
- let description_152: string;
9280
- export { description_152 as description };
9281
- }
9282
- export namespace path_1 {
9286
+ export { anyOf_114 as anyOf };
9283
9287
  let description_153: string;
9284
9288
  export { description_153 as description };
9289
+ }
9290
+ export namespace path_1 {
9291
+ let description_154: string;
9292
+ export { description_154 as description };
9285
9293
  let type_59: string;
9286
9294
  export { type_59 as type };
9287
9295
  }
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.21",
10
+ "version": "0.1.22",
11
11
  "files": [
12
12
  "dist/**",
13
13
  "LICENSE"