@c2n/framework-types 0.0.10 → 0.0.11
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/html-custom-data.json +93 -1
- package/dist/web-types.json +282 -1
- package/package.json +2 -2
- package/tsconfig.vue.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1.1,
|
|
3
|
-
"$comment": "GENERATED by @c2n/framework-types@0.0.
|
|
3
|
+
"$comment": "GENERATED by @c2n/framework-types@0.0.11. Do not edit by hand.",
|
|
4
4
|
"tags": [
|
|
5
5
|
{
|
|
6
6
|
"name": "c2-accordion",
|
|
@@ -2795,6 +2795,98 @@
|
|
|
2795
2795
|
}
|
|
2796
2796
|
]
|
|
2797
2797
|
},
|
|
2798
|
+
{
|
|
2799
|
+
"name": "c2-dash-card",
|
|
2800
|
+
"description": "One pane of a `c2-dashboard`. It owns its place in the grid (`col`, `row`, `col-span`, `row-span`), the drag\nhandles on the edges it shares with a neighbour, and the optional expand controls; it draws no surface of its\nown, so put a `c2-card` — or any markup — in the default slot.\n\n`@c2n/dashboard`",
|
|
2801
|
+
"references": [
|
|
2802
|
+
{
|
|
2803
|
+
"name": "@c2n/dashboard on npm",
|
|
2804
|
+
"url": "https://www.npmjs.com/package/@c2n/dashboard"
|
|
2805
|
+
}
|
|
2806
|
+
],
|
|
2807
|
+
"attributes": [
|
|
2808
|
+
{
|
|
2809
|
+
"name": "card-id",
|
|
2810
|
+
"description": "Identifier the grid's `layout` record is keyed by.\n\nDefault: `undefined`"
|
|
2811
|
+
},
|
|
2812
|
+
{
|
|
2813
|
+
"name": "col",
|
|
2814
|
+
"description": "1-based column the card starts in.\n\nDefault: `1`"
|
|
2815
|
+
},
|
|
2816
|
+
{
|
|
2817
|
+
"name": "row",
|
|
2818
|
+
"description": "1-based row the card starts in.\n\nDefault: `1`"
|
|
2819
|
+
},
|
|
2820
|
+
{
|
|
2821
|
+
"name": "col-span",
|
|
2822
|
+
"description": "Number of columns the card occupies.\n\nDefault: `1`"
|
|
2823
|
+
},
|
|
2824
|
+
{
|
|
2825
|
+
"name": "row-span",
|
|
2826
|
+
"description": "Number of rows the card occupies.\n\nDefault: `1`"
|
|
2827
|
+
},
|
|
2828
|
+
{
|
|
2829
|
+
"name": "min-width",
|
|
2830
|
+
"description": "Smallest width in pixels the card accepts; it raises the minimum of every column it covers.\n\nDefault: `0`"
|
|
2831
|
+
},
|
|
2832
|
+
{
|
|
2833
|
+
"name": "min-height",
|
|
2834
|
+
"description": "Smallest height in pixels the card accepts; it raises the minimum of every row it covers.\n\nDefault: `0`"
|
|
2835
|
+
},
|
|
2836
|
+
{
|
|
2837
|
+
"name": "resize",
|
|
2838
|
+
"description": "Which edges carry a drag handle.\n\nDefault: `'both'`"
|
|
2839
|
+
},
|
|
2840
|
+
{
|
|
2841
|
+
"name": "expand-width",
|
|
2842
|
+
"description": "Offers a control that expands the card across every column.\n\nDefault: `false`"
|
|
2843
|
+
},
|
|
2844
|
+
{
|
|
2845
|
+
"name": "expand-height",
|
|
2846
|
+
"description": "Offers a control that expands the card across every row.\n\nDefault: `false`"
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
"name": "expand-full",
|
|
2850
|
+
"description": "Offers a control that expands the card over the whole grid.\n\nDefault: `false`"
|
|
2851
|
+
},
|
|
2852
|
+
{
|
|
2853
|
+
"name": "expanded",
|
|
2854
|
+
"description": "How far the card is currently expanded. Settable, so an app can expand a card from its own control.\n\nDefault: `'none'`"
|
|
2855
|
+
}
|
|
2856
|
+
]
|
|
2857
|
+
},
|
|
2858
|
+
{
|
|
2859
|
+
"name": "c2-dashboard",
|
|
2860
|
+
"description": "Grid of resizable panes. The children are `c2-dash-card` elements, placed by their `col`/`row` attributes; each\none draws drag handles on the edges it shares with a neighbour, and dragging one resizes the whole track, so the\ncards on either side stay aligned. `columns` and `rows` take a track count (`columns=\"3\"` is three equal columns)\nor an explicit track list (`columns=\"320px 1fr\"`); a track is switched to pixels the first time it is dragged, and\nthe `fr` tracks around it give up the space in proportion to their weight, down to the minimums. With a\n`storage-key` the sizes survive a reload.\n\n`@c2n/dashboard`",
|
|
2861
|
+
"references": [
|
|
2862
|
+
{
|
|
2863
|
+
"name": "@c2n/dashboard on npm",
|
|
2864
|
+
"url": "https://www.npmjs.com/package/@c2n/dashboard"
|
|
2865
|
+
}
|
|
2866
|
+
],
|
|
2867
|
+
"attributes": [
|
|
2868
|
+
{
|
|
2869
|
+
"name": "columns",
|
|
2870
|
+
"description": "Column count (`3`) or an explicit track list (`'320px 1fr'`). Each entry must be one simple size.\n\nDefault: `2`"
|
|
2871
|
+
},
|
|
2872
|
+
{
|
|
2873
|
+
"name": "rows",
|
|
2874
|
+
"description": "Row count (`2`) or an explicit track list (`'auto 1fr'`).\n\nDefault: `1`"
|
|
2875
|
+
},
|
|
2876
|
+
{
|
|
2877
|
+
"name": "min-column-width",
|
|
2878
|
+
"description": "Floor for every column, in pixels. A card's own `min-width` raises it for the tracks that card covers.\n\nDefault: `50`"
|
|
2879
|
+
},
|
|
2880
|
+
{
|
|
2881
|
+
"name": "min-row-height",
|
|
2882
|
+
"description": "Floor for every row, in pixels. A card's own `min-height` raises it for the tracks that card covers.\n\nDefault: `50`"
|
|
2883
|
+
},
|
|
2884
|
+
{
|
|
2885
|
+
"name": "storage-key",
|
|
2886
|
+
"description": "`localStorage` key the track sizes are stored under. Without it the grid starts from the authored tracks.\n\nDefault: `undefined`"
|
|
2887
|
+
}
|
|
2888
|
+
]
|
|
2889
|
+
},
|
|
2798
2890
|
{
|
|
2799
2891
|
"name": "c2-date-input",
|
|
2800
2892
|
"description": "A form-associated single-date field backed by a native `<input type=\"date\">`. Values, `min` and `max` use local\ncalendar ISO strings (`YYYY-MM-DD`). The native picker and keyboard editing remain available while the component\nadds a consistent field, calendar affordance, helper text, error state and theming surface.\n\n`@c2n/date-input`",
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@c2n/framework-types",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.11",
|
|
5
5
|
"description": "GENERATED by @c2n/framework-types. Do not edit by hand.",
|
|
6
6
|
"description-markup": "markdown",
|
|
7
7
|
"contributions": {
|
|
@@ -5570,6 +5570,287 @@
|
|
|
5570
5570
|
]
|
|
5571
5571
|
}
|
|
5572
5572
|
},
|
|
5573
|
+
{
|
|
5574
|
+
"name": "c2-dash-card",
|
|
5575
|
+
"description": "One pane of a `c2-dashboard`. It owns its place in the grid (`col`, `row`, `col-span`, `row-span`), the drag\nhandles on the edges it shares with a neighbour, and the optional expand controls; it draws no surface of its\nown, so put a `c2-card` — or any markup — in the default slot.\n\n`@c2n/dashboard`",
|
|
5576
|
+
"attributes": [
|
|
5577
|
+
{
|
|
5578
|
+
"name": "card-id",
|
|
5579
|
+
"description": "Identifier the grid's `layout` record is keyed by.",
|
|
5580
|
+
"default": "undefined",
|
|
5581
|
+
"value": {
|
|
5582
|
+
"type": "string | undefined",
|
|
5583
|
+
"kind": "expression"
|
|
5584
|
+
}
|
|
5585
|
+
},
|
|
5586
|
+
{
|
|
5587
|
+
"name": "col",
|
|
5588
|
+
"description": "1-based column the card starts in.",
|
|
5589
|
+
"default": "1",
|
|
5590
|
+
"value": {
|
|
5591
|
+
"type": "number",
|
|
5592
|
+
"kind": "expression"
|
|
5593
|
+
}
|
|
5594
|
+
},
|
|
5595
|
+
{
|
|
5596
|
+
"name": "row",
|
|
5597
|
+
"description": "1-based row the card starts in.",
|
|
5598
|
+
"default": "1",
|
|
5599
|
+
"value": {
|
|
5600
|
+
"type": "number",
|
|
5601
|
+
"kind": "expression"
|
|
5602
|
+
}
|
|
5603
|
+
},
|
|
5604
|
+
{
|
|
5605
|
+
"name": "col-span",
|
|
5606
|
+
"description": "Number of columns the card occupies.",
|
|
5607
|
+
"default": "1",
|
|
5608
|
+
"value": {
|
|
5609
|
+
"type": "number",
|
|
5610
|
+
"kind": "expression"
|
|
5611
|
+
}
|
|
5612
|
+
},
|
|
5613
|
+
{
|
|
5614
|
+
"name": "row-span",
|
|
5615
|
+
"description": "Number of rows the card occupies.",
|
|
5616
|
+
"default": "1",
|
|
5617
|
+
"value": {
|
|
5618
|
+
"type": "number",
|
|
5619
|
+
"kind": "expression"
|
|
5620
|
+
}
|
|
5621
|
+
},
|
|
5622
|
+
{
|
|
5623
|
+
"name": "min-width",
|
|
5624
|
+
"description": "Smallest width in pixels the card accepts; it raises the minimum of every column it covers.",
|
|
5625
|
+
"default": "0",
|
|
5626
|
+
"value": {
|
|
5627
|
+
"type": "number",
|
|
5628
|
+
"kind": "expression"
|
|
5629
|
+
}
|
|
5630
|
+
},
|
|
5631
|
+
{
|
|
5632
|
+
"name": "min-height",
|
|
5633
|
+
"description": "Smallest height in pixels the card accepts; it raises the minimum of every row it covers.",
|
|
5634
|
+
"default": "0",
|
|
5635
|
+
"value": {
|
|
5636
|
+
"type": "number",
|
|
5637
|
+
"kind": "expression"
|
|
5638
|
+
}
|
|
5639
|
+
},
|
|
5640
|
+
{
|
|
5641
|
+
"name": "resize",
|
|
5642
|
+
"description": "Which edges carry a drag handle.",
|
|
5643
|
+
"default": "'both'",
|
|
5644
|
+
"value": {
|
|
5645
|
+
"type": "DashCardResize",
|
|
5646
|
+
"kind": "expression"
|
|
5647
|
+
}
|
|
5648
|
+
},
|
|
5649
|
+
{
|
|
5650
|
+
"name": "expand-width",
|
|
5651
|
+
"description": "Offers a control that expands the card across every column.",
|
|
5652
|
+
"default": "false",
|
|
5653
|
+
"value": {
|
|
5654
|
+
"type": "boolean",
|
|
5655
|
+
"kind": "expression"
|
|
5656
|
+
}
|
|
5657
|
+
},
|
|
5658
|
+
{
|
|
5659
|
+
"name": "expand-height",
|
|
5660
|
+
"description": "Offers a control that expands the card across every row.",
|
|
5661
|
+
"default": "false",
|
|
5662
|
+
"value": {
|
|
5663
|
+
"type": "boolean",
|
|
5664
|
+
"kind": "expression"
|
|
5665
|
+
}
|
|
5666
|
+
},
|
|
5667
|
+
{
|
|
5668
|
+
"name": "expand-full",
|
|
5669
|
+
"description": "Offers a control that expands the card over the whole grid.",
|
|
5670
|
+
"default": "false",
|
|
5671
|
+
"value": {
|
|
5672
|
+
"type": "boolean",
|
|
5673
|
+
"kind": "expression"
|
|
5674
|
+
}
|
|
5675
|
+
},
|
|
5676
|
+
{
|
|
5677
|
+
"name": "expanded",
|
|
5678
|
+
"description": "How far the card is currently expanded. Settable, so an app can expand a card from its own control.",
|
|
5679
|
+
"default": "'none'",
|
|
5680
|
+
"value": {
|
|
5681
|
+
"type": "DashCardExpanded",
|
|
5682
|
+
"kind": "expression"
|
|
5683
|
+
}
|
|
5684
|
+
}
|
|
5685
|
+
],
|
|
5686
|
+
"js": {
|
|
5687
|
+
"properties": [
|
|
5688
|
+
{
|
|
5689
|
+
"name": "cardId",
|
|
5690
|
+
"description": "Identifier the grid's `layout` record is keyed by.",
|
|
5691
|
+
"value": {
|
|
5692
|
+
"type": "string | undefined",
|
|
5693
|
+
"kind": "expression"
|
|
5694
|
+
}
|
|
5695
|
+
},
|
|
5696
|
+
{
|
|
5697
|
+
"name": "colSpan",
|
|
5698
|
+
"description": "Number of columns the card occupies.",
|
|
5699
|
+
"value": {
|
|
5700
|
+
"type": "number",
|
|
5701
|
+
"kind": "expression"
|
|
5702
|
+
}
|
|
5703
|
+
},
|
|
5704
|
+
{
|
|
5705
|
+
"name": "rowSpan",
|
|
5706
|
+
"description": "Number of rows the card occupies.",
|
|
5707
|
+
"value": {
|
|
5708
|
+
"type": "number",
|
|
5709
|
+
"kind": "expression"
|
|
5710
|
+
}
|
|
5711
|
+
},
|
|
5712
|
+
{
|
|
5713
|
+
"name": "minWidth",
|
|
5714
|
+
"description": "Smallest width in pixels the card accepts; it raises the minimum of every column it covers.",
|
|
5715
|
+
"value": {
|
|
5716
|
+
"type": "number",
|
|
5717
|
+
"kind": "expression"
|
|
5718
|
+
}
|
|
5719
|
+
},
|
|
5720
|
+
{
|
|
5721
|
+
"name": "minHeight",
|
|
5722
|
+
"description": "Smallest height in pixels the card accepts; it raises the minimum of every row it covers.",
|
|
5723
|
+
"value": {
|
|
5724
|
+
"type": "number",
|
|
5725
|
+
"kind": "expression"
|
|
5726
|
+
}
|
|
5727
|
+
},
|
|
5728
|
+
{
|
|
5729
|
+
"name": "expandWidth",
|
|
5730
|
+
"description": "Offers a control that expands the card across every column.",
|
|
5731
|
+
"value": {
|
|
5732
|
+
"type": "boolean",
|
|
5733
|
+
"kind": "expression"
|
|
5734
|
+
}
|
|
5735
|
+
},
|
|
5736
|
+
{
|
|
5737
|
+
"name": "expandHeight",
|
|
5738
|
+
"description": "Offers a control that expands the card across every row.",
|
|
5739
|
+
"value": {
|
|
5740
|
+
"type": "boolean",
|
|
5741
|
+
"kind": "expression"
|
|
5742
|
+
}
|
|
5743
|
+
},
|
|
5744
|
+
{
|
|
5745
|
+
"name": "expandFull",
|
|
5746
|
+
"description": "Offers a control that expands the card over the whole grid.",
|
|
5747
|
+
"value": {
|
|
5748
|
+
"type": "boolean",
|
|
5749
|
+
"kind": "expression"
|
|
5750
|
+
}
|
|
5751
|
+
}
|
|
5752
|
+
],
|
|
5753
|
+
"events": [
|
|
5754
|
+
{
|
|
5755
|
+
"name": "expand-change",
|
|
5756
|
+
"description": "The card was expanded or collapsed through one of its own controls. Does not bubble: listen on the element.",
|
|
5757
|
+
"value": {
|
|
5758
|
+
"type": "CustomEvent<DashCardExpandChangeDetail>",
|
|
5759
|
+
"kind": "expression"
|
|
5760
|
+
}
|
|
5761
|
+
}
|
|
5762
|
+
]
|
|
5763
|
+
}
|
|
5764
|
+
},
|
|
5765
|
+
{
|
|
5766
|
+
"name": "c2-dashboard",
|
|
5767
|
+
"description": "Grid of resizable panes. The children are `c2-dash-card` elements, placed by their `col`/`row` attributes; each\none draws drag handles on the edges it shares with a neighbour, and dragging one resizes the whole track, so the\ncards on either side stay aligned. `columns` and `rows` take a track count (`columns=\"3\"` is three equal columns)\nor an explicit track list (`columns=\"320px 1fr\"`); a track is switched to pixels the first time it is dragged, and\nthe `fr` tracks around it give up the space in proportion to their weight, down to the minimums. With a\n`storage-key` the sizes survive a reload.\n\n`@c2n/dashboard`",
|
|
5768
|
+
"attributes": [
|
|
5769
|
+
{
|
|
5770
|
+
"name": "columns",
|
|
5771
|
+
"description": "Column count (`3`) or an explicit track list (`'320px 1fr'`). Each entry must be one simple size.",
|
|
5772
|
+
"default": "2",
|
|
5773
|
+
"value": {
|
|
5774
|
+
"type": "number | string | string[]",
|
|
5775
|
+
"kind": "expression"
|
|
5776
|
+
}
|
|
5777
|
+
},
|
|
5778
|
+
{
|
|
5779
|
+
"name": "rows",
|
|
5780
|
+
"description": "Row count (`2`) or an explicit track list (`'auto 1fr'`).",
|
|
5781
|
+
"default": "1",
|
|
5782
|
+
"value": {
|
|
5783
|
+
"type": "number | string | string[]",
|
|
5784
|
+
"kind": "expression"
|
|
5785
|
+
}
|
|
5786
|
+
},
|
|
5787
|
+
{
|
|
5788
|
+
"name": "min-column-width",
|
|
5789
|
+
"description": "Floor for every column, in pixels. A card's own `min-width` raises it for the tracks that card covers.",
|
|
5790
|
+
"default": "50",
|
|
5791
|
+
"value": {
|
|
5792
|
+
"type": "number",
|
|
5793
|
+
"kind": "expression"
|
|
5794
|
+
}
|
|
5795
|
+
},
|
|
5796
|
+
{
|
|
5797
|
+
"name": "min-row-height",
|
|
5798
|
+
"description": "Floor for every row, in pixels. A card's own `min-height` raises it for the tracks that card covers.",
|
|
5799
|
+
"default": "50",
|
|
5800
|
+
"value": {
|
|
5801
|
+
"type": "number",
|
|
5802
|
+
"kind": "expression"
|
|
5803
|
+
}
|
|
5804
|
+
},
|
|
5805
|
+
{
|
|
5806
|
+
"name": "storage-key",
|
|
5807
|
+
"description": "`localStorage` key the track sizes are stored under. Without it the grid starts from the authored tracks.",
|
|
5808
|
+
"default": "undefined",
|
|
5809
|
+
"value": {
|
|
5810
|
+
"type": "string | undefined",
|
|
5811
|
+
"kind": "expression"
|
|
5812
|
+
}
|
|
5813
|
+
}
|
|
5814
|
+
],
|
|
5815
|
+
"js": {
|
|
5816
|
+
"properties": [
|
|
5817
|
+
{
|
|
5818
|
+
"name": "minColumnWidth",
|
|
5819
|
+
"description": "Floor for every column, in pixels. A card's own `min-width` raises it for the tracks that card covers.",
|
|
5820
|
+
"value": {
|
|
5821
|
+
"type": "number",
|
|
5822
|
+
"kind": "expression"
|
|
5823
|
+
}
|
|
5824
|
+
},
|
|
5825
|
+
{
|
|
5826
|
+
"name": "minRowHeight",
|
|
5827
|
+
"description": "Floor for every row, in pixels. A card's own `min-height` raises it for the tracks that card covers.",
|
|
5828
|
+
"value": {
|
|
5829
|
+
"type": "number",
|
|
5830
|
+
"kind": "expression"
|
|
5831
|
+
}
|
|
5832
|
+
},
|
|
5833
|
+
{
|
|
5834
|
+
"name": "storageKey",
|
|
5835
|
+
"description": "`localStorage` key the track sizes are stored under. Without it the grid starts from the authored tracks.",
|
|
5836
|
+
"value": {
|
|
5837
|
+
"type": "string | undefined",
|
|
5838
|
+
"kind": "expression"
|
|
5839
|
+
}
|
|
5840
|
+
}
|
|
5841
|
+
],
|
|
5842
|
+
"events": [
|
|
5843
|
+
{
|
|
5844
|
+
"name": "layout-change",
|
|
5845
|
+
"description": "The track sizes changed and the gesture ended. Does not bubble: listen on the element.",
|
|
5846
|
+
"value": {
|
|
5847
|
+
"type": "CustomEvent<DashboardLayoutChangeDetail>",
|
|
5848
|
+
"kind": "expression"
|
|
5849
|
+
}
|
|
5850
|
+
}
|
|
5851
|
+
]
|
|
5852
|
+
}
|
|
5853
|
+
},
|
|
5573
5854
|
{
|
|
5574
5855
|
"name": "c2-date-input",
|
|
5575
5856
|
"description": "A form-associated single-date field backed by a native `<input type=\"date\">`. Values, `min` and `max` use local\ncalendar ISO strings (`YYYY-MM-DD`). The native picker and keyboard editing remain available while the component\nadds a consistent field, calendar affordance, helper text, error state and theming surface.\n\n`@c2n/date-input`",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c2n/framework-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "Editor metadata for the c2n web components: VS Code / Volar HTML custom data and JetBrains web-types, generated from the custom-elements manifests",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"command": "node scripts/framework-types/index.ts"
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "bf962fba5e49a0ac7555a082584e262949d323a5"
|
|
55
55
|
}
|
package/tsconfig.vue.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$comment": "GENERATED by @c2n/framework-types@0.0.
|
|
2
|
+
"$comment": "GENERATED by @c2n/framework-types@0.0.11. Do not edit by hand. Add to a Vue app's tsconfig: \"extends\": [\"@c2n/config/tsconfig.lib.json\", \"@c2n/framework-types/tsconfig.vue.json\"] — and declare no \"vueCompilerOptions\" of your own, because a local one replaces the inherited object rather than merging with it.",
|
|
3
3
|
"vueCompilerOptions": {
|
|
4
4
|
"strictTemplates": true,
|
|
5
5
|
"experimentalModelPropName": {
|