@raylang/elements 0.8.0 → 0.10.0
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/components/code/code.js +8 -5
- package/components/command-palette/command-palette.js +16 -1
- package/components/doc-tabs/doc-tabs.js +255 -0
- package/components/icon-button/icon-button.js +4 -0
- package/components/input/input.js +13 -1
- package/components/menu/menu.js +42 -7
- package/components/mode-input/mode-input.js +221 -0
- package/components/sidebar/sidebar.js +140 -5
- package/components/split/split.js +13 -1
- package/components/tabs/tabs.js +44 -6
- package/components/textarea/textarea.js +13 -1
- package/core/complete.js +261 -0
- package/core/scroll.js +85 -1
- package/core/textlayer.js +214 -0
- package/custom-elements.json +1437 -87
- package/index.js +2 -0
- package/llms-full.txt +190 -12
- package/llms.txt +7 -3
- package/package.json +9 -1
- package/ray-elements.d.ts +158 -6
- package/vscode.html-custom-data.json +397 -4
package/custom-elements.json
CHANGED
|
@@ -4482,6 +4482,15 @@
|
|
|
4482
4482
|
"fieldName": "variant",
|
|
4483
4483
|
"default": "default"
|
|
4484
4484
|
},
|
|
4485
|
+
{
|
|
4486
|
+
"name": "suggestions-label",
|
|
4487
|
+
"type": {
|
|
4488
|
+
"text": "string"
|
|
4489
|
+
},
|
|
4490
|
+
"description": "Accessible name of the suggestion list.",
|
|
4491
|
+
"fieldName": "suggestionsLabel",
|
|
4492
|
+
"default": "Suggestions"
|
|
4493
|
+
},
|
|
4485
4494
|
{
|
|
4486
4495
|
"name": "autocomplete",
|
|
4487
4496
|
"type": {
|
|
@@ -4490,77 +4499,606 @@
|
|
|
4490
4499
|
"description": "Forwarded to the inner input."
|
|
4491
4500
|
},
|
|
4492
4501
|
{
|
|
4493
|
-
"name": "inputmode",
|
|
4502
|
+
"name": "inputmode",
|
|
4503
|
+
"type": {
|
|
4504
|
+
"text": "string"
|
|
4505
|
+
},
|
|
4506
|
+
"description": "Virtual keyboard hint."
|
|
4507
|
+
},
|
|
4508
|
+
{
|
|
4509
|
+
"name": "pattern",
|
|
4510
|
+
"type": {
|
|
4511
|
+
"text": "string"
|
|
4512
|
+
},
|
|
4513
|
+
"description": "Validation pattern (regular expression)."
|
|
4514
|
+
},
|
|
4515
|
+
{
|
|
4516
|
+
"name": "min",
|
|
4517
|
+
"type": {
|
|
4518
|
+
"text": "string"
|
|
4519
|
+
},
|
|
4520
|
+
"description": "Minimum (number/date types)."
|
|
4521
|
+
},
|
|
4522
|
+
{
|
|
4523
|
+
"name": "max",
|
|
4524
|
+
"type": {
|
|
4525
|
+
"text": "string"
|
|
4526
|
+
},
|
|
4527
|
+
"description": "Maximum (number/date types)."
|
|
4528
|
+
},
|
|
4529
|
+
{
|
|
4530
|
+
"name": "step",
|
|
4531
|
+
"type": {
|
|
4532
|
+
"text": "string"
|
|
4533
|
+
},
|
|
4534
|
+
"description": "Step (number types)."
|
|
4535
|
+
},
|
|
4536
|
+
{
|
|
4537
|
+
"name": "minlength",
|
|
4538
|
+
"type": {
|
|
4539
|
+
"text": "string"
|
|
4540
|
+
},
|
|
4541
|
+
"description": "Minimum length."
|
|
4542
|
+
},
|
|
4543
|
+
{
|
|
4544
|
+
"name": "maxlength",
|
|
4545
|
+
"type": {
|
|
4546
|
+
"text": "string"
|
|
4547
|
+
},
|
|
4548
|
+
"description": "Maximum length."
|
|
4549
|
+
},
|
|
4550
|
+
{
|
|
4551
|
+
"name": "autocapitalize",
|
|
4552
|
+
"type": {
|
|
4553
|
+
"text": "string"
|
|
4554
|
+
},
|
|
4555
|
+
"description": "Mobile auto-capitalization."
|
|
4556
|
+
},
|
|
4557
|
+
{
|
|
4558
|
+
"name": "enterkeyhint",
|
|
4559
|
+
"type": {
|
|
4560
|
+
"text": "string"
|
|
4561
|
+
},
|
|
4562
|
+
"description": "Label of the Enter key on virtual keyboards."
|
|
4563
|
+
},
|
|
4564
|
+
{
|
|
4565
|
+
"name": "list",
|
|
4566
|
+
"type": {
|
|
4567
|
+
"text": "string"
|
|
4568
|
+
},
|
|
4569
|
+
"description": "Id of a <datalist> with suggestions."
|
|
4570
|
+
}
|
|
4571
|
+
],
|
|
4572
|
+
"members": [
|
|
4573
|
+
{
|
|
4574
|
+
"kind": "field",
|
|
4575
|
+
"name": "value",
|
|
4576
|
+
"type": {
|
|
4577
|
+
"text": "string"
|
|
4578
|
+
},
|
|
4579
|
+
"description": "Current value. The value attribute is the initial value (restored on form reset).",
|
|
4580
|
+
"attribute": "value",
|
|
4581
|
+
"reflects": false
|
|
4582
|
+
},
|
|
4583
|
+
{
|
|
4584
|
+
"kind": "field",
|
|
4585
|
+
"name": "type",
|
|
4586
|
+
"type": {
|
|
4587
|
+
"text": "\"text\" | \"email\" | \"password\" | \"search\" | \"number\" | \"url\" | \"tel\""
|
|
4588
|
+
},
|
|
4589
|
+
"description": "Input type.",
|
|
4590
|
+
"attribute": "type",
|
|
4591
|
+
"reflects": true,
|
|
4592
|
+
"default": "text"
|
|
4593
|
+
},
|
|
4594
|
+
{
|
|
4595
|
+
"kind": "field",
|
|
4596
|
+
"name": "name",
|
|
4597
|
+
"type": {
|
|
4598
|
+
"text": "string"
|
|
4599
|
+
},
|
|
4600
|
+
"description": "Form field name.",
|
|
4601
|
+
"attribute": "name",
|
|
4602
|
+
"reflects": true
|
|
4603
|
+
},
|
|
4604
|
+
{
|
|
4605
|
+
"kind": "field",
|
|
4606
|
+
"name": "label",
|
|
4607
|
+
"type": {
|
|
4608
|
+
"text": "string"
|
|
4609
|
+
},
|
|
4610
|
+
"description": "Visible label (also the accessible name).",
|
|
4611
|
+
"attribute": "label",
|
|
4612
|
+
"reflects": false
|
|
4613
|
+
},
|
|
4614
|
+
{
|
|
4615
|
+
"kind": "field",
|
|
4616
|
+
"name": "description",
|
|
4617
|
+
"type": {
|
|
4618
|
+
"text": "string"
|
|
4619
|
+
},
|
|
4620
|
+
"description": "Help text under the label.",
|
|
4621
|
+
"attribute": "description",
|
|
4622
|
+
"reflects": false
|
|
4623
|
+
},
|
|
4624
|
+
{
|
|
4625
|
+
"kind": "field",
|
|
4626
|
+
"name": "descriptionPosition",
|
|
4627
|
+
"type": {
|
|
4628
|
+
"text": "\"above\" | \"below\""
|
|
4629
|
+
},
|
|
4630
|
+
"description": "The description before the control (help first) or after it, with the error (fields in a row stay aligned).",
|
|
4631
|
+
"attribute": "description-position",
|
|
4632
|
+
"reflects": true,
|
|
4633
|
+
"default": "above"
|
|
4634
|
+
},
|
|
4635
|
+
{
|
|
4636
|
+
"kind": "field",
|
|
4637
|
+
"name": "error",
|
|
4638
|
+
"type": {
|
|
4639
|
+
"text": "string"
|
|
4640
|
+
},
|
|
4641
|
+
"description": "Error text; marks the field invalid (display only — does not block submit).",
|
|
4642
|
+
"attribute": "error",
|
|
4643
|
+
"reflects": false
|
|
4644
|
+
},
|
|
4645
|
+
{
|
|
4646
|
+
"kind": "field",
|
|
4647
|
+
"name": "placeholder",
|
|
4648
|
+
"type": {
|
|
4649
|
+
"text": "string"
|
|
4650
|
+
},
|
|
4651
|
+
"description": "Placeholder text.",
|
|
4652
|
+
"attribute": "placeholder",
|
|
4653
|
+
"reflects": false
|
|
4654
|
+
},
|
|
4655
|
+
{
|
|
4656
|
+
"kind": "field",
|
|
4657
|
+
"name": "required",
|
|
4658
|
+
"type": {
|
|
4659
|
+
"text": "boolean"
|
|
4660
|
+
},
|
|
4661
|
+
"description": "Required for form submission; shows an asterisk.",
|
|
4662
|
+
"attribute": "required",
|
|
4663
|
+
"reflects": false
|
|
4664
|
+
},
|
|
4665
|
+
{
|
|
4666
|
+
"kind": "field",
|
|
4667
|
+
"name": "disabled",
|
|
4668
|
+
"type": {
|
|
4669
|
+
"text": "boolean"
|
|
4670
|
+
},
|
|
4671
|
+
"description": "Not editable nor submitted.",
|
|
4672
|
+
"attribute": "disabled",
|
|
4673
|
+
"reflects": false
|
|
4674
|
+
},
|
|
4675
|
+
{
|
|
4676
|
+
"kind": "field",
|
|
4677
|
+
"name": "readonly",
|
|
4678
|
+
"type": {
|
|
4679
|
+
"text": "boolean"
|
|
4680
|
+
},
|
|
4681
|
+
"description": "Not editable, still submitted.",
|
|
4682
|
+
"attribute": "readonly",
|
|
4683
|
+
"reflects": false
|
|
4684
|
+
},
|
|
4685
|
+
{
|
|
4686
|
+
"kind": "field",
|
|
4687
|
+
"name": "size",
|
|
4688
|
+
"type": {
|
|
4689
|
+
"text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\""
|
|
4690
|
+
},
|
|
4691
|
+
"description": "Height and font size.",
|
|
4692
|
+
"attribute": "size",
|
|
4693
|
+
"reflects": true,
|
|
4694
|
+
"default": "sm"
|
|
4695
|
+
},
|
|
4696
|
+
{
|
|
4697
|
+
"kind": "field",
|
|
4698
|
+
"name": "radius",
|
|
4699
|
+
"type": {
|
|
4700
|
+
"text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\""
|
|
4701
|
+
},
|
|
4702
|
+
"description": "Corner radius.",
|
|
4703
|
+
"attribute": "radius",
|
|
4704
|
+
"reflects": false
|
|
4705
|
+
},
|
|
4706
|
+
{
|
|
4707
|
+
"kind": "field",
|
|
4708
|
+
"name": "variant",
|
|
4709
|
+
"type": {
|
|
4710
|
+
"text": "\"default\" | \"filled\" | \"unstyled\""
|
|
4711
|
+
},
|
|
4712
|
+
"description": "Box style.",
|
|
4713
|
+
"attribute": "variant",
|
|
4714
|
+
"reflects": true,
|
|
4715
|
+
"default": "default"
|
|
4716
|
+
},
|
|
4717
|
+
{
|
|
4718
|
+
"kind": "field",
|
|
4719
|
+
"name": "highlight",
|
|
4720
|
+
"type": {
|
|
4721
|
+
"text": "((text: string) => HighlightRange[]) | null"
|
|
4722
|
+
},
|
|
4723
|
+
"description": "Marks ranges of the text, painted behind it: called with the text on every change (typed or set), it returns { start, end, kind?, title? } offsets. kind \"error\" is red with a wavy underline; any other kind is styled with ::part(highlight-<kind>); title is the tooltip over the range. Ranges must not overlap."
|
|
4724
|
+
},
|
|
4725
|
+
{
|
|
4726
|
+
"kind": "field",
|
|
4727
|
+
"name": "complete",
|
|
4728
|
+
"type": {
|
|
4729
|
+
"text": "((text: string, caret: number) => CompletionResult | null | Promise<CompletionResult | null>) | null"
|
|
4730
|
+
},
|
|
4731
|
+
"description": "Inline suggestions: called as the user types (and on Ctrl+Space) with the text and the caret, it returns the part of the text a suggestion would replace and the suggestions ({ from, to, items }), or null for none. A list opens under that part (ArrowUp/Down, Enter or Tab to accept, Escape to close); the chosen item's value replaces from–to as an undoable edit, then ray-complete fires. The field becomes a combobox (aria-autocomplete, aria-expanded, aria-activedescendant)."
|
|
4732
|
+
},
|
|
4733
|
+
{
|
|
4734
|
+
"kind": "field",
|
|
4735
|
+
"name": "suggestionsLabel",
|
|
4736
|
+
"type": {
|
|
4737
|
+
"text": "string"
|
|
4738
|
+
},
|
|
4739
|
+
"description": "Accessible name of the suggestion list.",
|
|
4740
|
+
"attribute": "suggestions-label",
|
|
4741
|
+
"reflects": false,
|
|
4742
|
+
"default": "Suggestions"
|
|
4743
|
+
},
|
|
4744
|
+
{
|
|
4745
|
+
"kind": "method",
|
|
4746
|
+
"name": "select",
|
|
4747
|
+
"description": "Selects the text."
|
|
4748
|
+
},
|
|
4749
|
+
{
|
|
4750
|
+
"kind": "method",
|
|
4751
|
+
"name": "refreshHighlight",
|
|
4752
|
+
"description": "Runs highlight again, when what it marks changed but the text did not."
|
|
4753
|
+
}
|
|
4754
|
+
],
|
|
4755
|
+
"events": [
|
|
4756
|
+
{
|
|
4757
|
+
"name": "ray-complete",
|
|
4758
|
+
"type": {
|
|
4759
|
+
"text": "CustomEvent<{ item: CompletionItem; from: number; to: number }>"
|
|
4760
|
+
},
|
|
4761
|
+
"description": "A suggestion was accepted (the text already has it)."
|
|
4762
|
+
},
|
|
4763
|
+
{
|
|
4764
|
+
"name": "input",
|
|
4765
|
+
"type": {
|
|
4766
|
+
"text": "Event"
|
|
4767
|
+
},
|
|
4768
|
+
"description": "On every edit (value already updated)."
|
|
4769
|
+
},
|
|
4770
|
+
{
|
|
4771
|
+
"name": "change",
|
|
4772
|
+
"type": {
|
|
4773
|
+
"text": "Event"
|
|
4774
|
+
},
|
|
4775
|
+
"description": "When an edit is committed (blur, Enter)."
|
|
4776
|
+
}
|
|
4777
|
+
],
|
|
4778
|
+
"slots": [
|
|
4779
|
+
{
|
|
4780
|
+
"name": "left",
|
|
4781
|
+
"description": "Section before the text (icon)."
|
|
4782
|
+
},
|
|
4783
|
+
{
|
|
4784
|
+
"name": "right",
|
|
4785
|
+
"description": "Section after the text (icon, button)."
|
|
4786
|
+
}
|
|
4787
|
+
],
|
|
4788
|
+
"cssParts": [
|
|
4789
|
+
{
|
|
4790
|
+
"name": "input",
|
|
4791
|
+
"description": "The inner <input>."
|
|
4792
|
+
},
|
|
4793
|
+
{
|
|
4794
|
+
"name": "wrapper",
|
|
4795
|
+
"description": "The box around the input and sections."
|
|
4796
|
+
},
|
|
4797
|
+
{
|
|
4798
|
+
"name": "label",
|
|
4799
|
+
"description": "The label."
|
|
4800
|
+
},
|
|
4801
|
+
{
|
|
4802
|
+
"name": "description",
|
|
4803
|
+
"description": "The description."
|
|
4804
|
+
},
|
|
4805
|
+
{
|
|
4806
|
+
"name": "error",
|
|
4807
|
+
"description": "The error message."
|
|
4808
|
+
},
|
|
4809
|
+
{
|
|
4810
|
+
"name": "suggestions",
|
|
4811
|
+
"description": "The suggestion list (a listbox in the top layer)."
|
|
4812
|
+
},
|
|
4813
|
+
{
|
|
4814
|
+
"name": "suggestion",
|
|
4815
|
+
"description": "Each suggestion ([aria-selected] when active)."
|
|
4816
|
+
},
|
|
4817
|
+
{
|
|
4818
|
+
"name": "suggestion-label",
|
|
4819
|
+
"description": "A suggestion's label (in the mono font)."
|
|
4820
|
+
},
|
|
4821
|
+
{
|
|
4822
|
+
"name": "suggestion-detail",
|
|
4823
|
+
"description": "A suggestion's detail."
|
|
4824
|
+
},
|
|
4825
|
+
{
|
|
4826
|
+
"name": "suggestion-description",
|
|
4827
|
+
"description": "A suggestion's description, under its label (in the interface font)."
|
|
4828
|
+
},
|
|
4829
|
+
{
|
|
4830
|
+
"name": "highlight",
|
|
4831
|
+
"description": "Each marked range (also highlight-<kind> for a range with a kind)."
|
|
4832
|
+
},
|
|
4833
|
+
{
|
|
4834
|
+
"name": "text-layer",
|
|
4835
|
+
"description": "The layer behind the text that holds the marks."
|
|
4836
|
+
}
|
|
4837
|
+
]
|
|
4838
|
+
}
|
|
4839
|
+
],
|
|
4840
|
+
"exports": [
|
|
4841
|
+
{
|
|
4842
|
+
"kind": "js",
|
|
4843
|
+
"name": "RayInput",
|
|
4844
|
+
"declaration": {
|
|
4845
|
+
"name": "RayInput",
|
|
4846
|
+
"module": "components/input/input.js"
|
|
4847
|
+
}
|
|
4848
|
+
},
|
|
4849
|
+
{
|
|
4850
|
+
"kind": "custom-element-definition",
|
|
4851
|
+
"name": "ray-input",
|
|
4852
|
+
"declaration": {
|
|
4853
|
+
"name": "RayInput",
|
|
4854
|
+
"module": "components/input/input.js"
|
|
4855
|
+
}
|
|
4856
|
+
}
|
|
4857
|
+
]
|
|
4858
|
+
},
|
|
4859
|
+
{
|
|
4860
|
+
"kind": "javascript-module",
|
|
4861
|
+
"path": "components/mode-input/mode-input.js",
|
|
4862
|
+
"declarations": [
|
|
4863
|
+
{
|
|
4864
|
+
"kind": "class",
|
|
4865
|
+
"name": "RayModeInput",
|
|
4866
|
+
"tagName": "ray-mode-input",
|
|
4867
|
+
"customElement": true,
|
|
4868
|
+
"description": "Declare the modes as <option> children (label, data-icon, data-hint, data-description, disabled, and data-set-<attribute> for each attribute the mode sets on the field) or with the options property. A mode's attributes replace the field's own while it is chosen and give them back after. The menu is a ray-menu of radio items in the field's shadow root; Alt+ArrowDown opens it from the field, and the trigger keeps the caret in the field.",
|
|
4869
|
+
"superclass": {
|
|
4870
|
+
"name": "RayInput"
|
|
4871
|
+
},
|
|
4872
|
+
"attributes": [
|
|
4873
|
+
{
|
|
4874
|
+
"name": "mode",
|
|
4875
|
+
"type": {
|
|
4876
|
+
"text": "string"
|
|
4877
|
+
},
|
|
4878
|
+
"description": "The chosen mode's value (default: the first). Setting it applies that mode without ray-mode-change.",
|
|
4879
|
+
"fieldName": "mode"
|
|
4880
|
+
},
|
|
4881
|
+
{
|
|
4882
|
+
"name": "display",
|
|
4883
|
+
"type": {
|
|
4884
|
+
"text": "\"label\" | \"icon\" | \"both\""
|
|
4885
|
+
},
|
|
4886
|
+
"description": "What the trigger shows: the mode's hint or label, its icon, or both. Default: the icon when the mode has one, else the label.",
|
|
4887
|
+
"fieldName": "display"
|
|
4888
|
+
},
|
|
4889
|
+
{
|
|
4890
|
+
"name": "position",
|
|
4891
|
+
"type": {
|
|
4892
|
+
"text": "\"start\" | \"end\""
|
|
4893
|
+
},
|
|
4894
|
+
"description": "The side of the field the trigger sits on.",
|
|
4895
|
+
"fieldName": "position",
|
|
4896
|
+
"default": "start"
|
|
4897
|
+
},
|
|
4898
|
+
{
|
|
4899
|
+
"name": "menu-label",
|
|
4900
|
+
"type": {
|
|
4901
|
+
"text": "string"
|
|
4902
|
+
},
|
|
4903
|
+
"description": "The trigger's accessible name, read with the current mode (\"Mode: File\").",
|
|
4904
|
+
"fieldName": "menuLabel",
|
|
4905
|
+
"default": "Mode"
|
|
4906
|
+
},
|
|
4907
|
+
{
|
|
4908
|
+
"name": "native-menu",
|
|
4909
|
+
"type": {
|
|
4910
|
+
"text": "boolean"
|
|
4911
|
+
},
|
|
4912
|
+
"description": "With a native host (a std/ui window with the bridge), the system's menu (no descriptions there).",
|
|
4913
|
+
"fieldName": "nativeMenu"
|
|
4914
|
+
},
|
|
4915
|
+
{
|
|
4916
|
+
"name": "value",
|
|
4917
|
+
"type": {
|
|
4918
|
+
"text": "string"
|
|
4919
|
+
},
|
|
4920
|
+
"description": "Current value. The value attribute is the initial value (restored on form reset).",
|
|
4921
|
+
"fieldName": "value"
|
|
4922
|
+
},
|
|
4923
|
+
{
|
|
4924
|
+
"name": "type",
|
|
4925
|
+
"type": {
|
|
4926
|
+
"text": "\"text\" | \"email\" | \"password\" | \"search\" | \"number\" | \"url\" | \"tel\""
|
|
4927
|
+
},
|
|
4928
|
+
"description": "Input type.",
|
|
4929
|
+
"fieldName": "type",
|
|
4930
|
+
"default": "text"
|
|
4931
|
+
},
|
|
4932
|
+
{
|
|
4933
|
+
"name": "name",
|
|
4934
|
+
"type": {
|
|
4935
|
+
"text": "string"
|
|
4936
|
+
},
|
|
4937
|
+
"description": "Form field name.",
|
|
4938
|
+
"fieldName": "name"
|
|
4939
|
+
},
|
|
4940
|
+
{
|
|
4941
|
+
"name": "label",
|
|
4942
|
+
"type": {
|
|
4943
|
+
"text": "string"
|
|
4944
|
+
},
|
|
4945
|
+
"description": "Visible label (also the accessible name).",
|
|
4946
|
+
"fieldName": "label"
|
|
4947
|
+
},
|
|
4948
|
+
{
|
|
4949
|
+
"name": "description",
|
|
4950
|
+
"type": {
|
|
4951
|
+
"text": "string"
|
|
4952
|
+
},
|
|
4953
|
+
"description": "Help text under the label.",
|
|
4954
|
+
"fieldName": "description"
|
|
4955
|
+
},
|
|
4956
|
+
{
|
|
4957
|
+
"name": "description-position",
|
|
4494
4958
|
"type": {
|
|
4495
|
-
"text": "
|
|
4959
|
+
"text": "\"above\" | \"below\""
|
|
4496
4960
|
},
|
|
4497
|
-
"description": "
|
|
4961
|
+
"description": "The description before the control (help first) or after it, with the error (fields in a row stay aligned).",
|
|
4962
|
+
"fieldName": "descriptionPosition",
|
|
4963
|
+
"default": "above"
|
|
4498
4964
|
},
|
|
4499
4965
|
{
|
|
4500
|
-
"name": "
|
|
4966
|
+
"name": "error",
|
|
4501
4967
|
"type": {
|
|
4502
4968
|
"text": "string"
|
|
4503
4969
|
},
|
|
4504
|
-
"description": "
|
|
4970
|
+
"description": "Error text; marks the field invalid (display only — does not block submit).",
|
|
4971
|
+
"fieldName": "error"
|
|
4505
4972
|
},
|
|
4506
4973
|
{
|
|
4507
|
-
"name": "
|
|
4974
|
+
"name": "placeholder",
|
|
4508
4975
|
"type": {
|
|
4509
4976
|
"text": "string"
|
|
4510
4977
|
},
|
|
4511
|
-
"description": "
|
|
4978
|
+
"description": "Placeholder text.",
|
|
4979
|
+
"fieldName": "placeholder"
|
|
4512
4980
|
},
|
|
4513
4981
|
{
|
|
4514
|
-
"name": "
|
|
4982
|
+
"name": "required",
|
|
4515
4983
|
"type": {
|
|
4516
|
-
"text": "
|
|
4984
|
+
"text": "boolean"
|
|
4517
4985
|
},
|
|
4518
|
-
"description": "
|
|
4986
|
+
"description": "Required for form submission; shows an asterisk.",
|
|
4987
|
+
"fieldName": "required"
|
|
4519
4988
|
},
|
|
4520
4989
|
{
|
|
4521
|
-
"name": "
|
|
4990
|
+
"name": "disabled",
|
|
4522
4991
|
"type": {
|
|
4523
|
-
"text": "
|
|
4992
|
+
"text": "boolean"
|
|
4524
4993
|
},
|
|
4525
|
-
"description": "
|
|
4994
|
+
"description": "Not editable nor submitted.",
|
|
4995
|
+
"fieldName": "disabled"
|
|
4526
4996
|
},
|
|
4527
4997
|
{
|
|
4528
|
-
"name": "
|
|
4998
|
+
"name": "readonly",
|
|
4529
4999
|
"type": {
|
|
4530
|
-
"text": "
|
|
5000
|
+
"text": "boolean"
|
|
4531
5001
|
},
|
|
4532
|
-
"description": "
|
|
5002
|
+
"description": "Not editable, still submitted.",
|
|
5003
|
+
"fieldName": "readonly"
|
|
4533
5004
|
},
|
|
4534
5005
|
{
|
|
4535
|
-
"name": "
|
|
5006
|
+
"name": "size",
|
|
4536
5007
|
"type": {
|
|
4537
|
-
"text": "
|
|
5008
|
+
"text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\""
|
|
4538
5009
|
},
|
|
4539
|
-
"description": "
|
|
5010
|
+
"description": "Height and font size.",
|
|
5011
|
+
"fieldName": "size",
|
|
5012
|
+
"default": "sm"
|
|
4540
5013
|
},
|
|
4541
5014
|
{
|
|
4542
|
-
"name": "
|
|
5015
|
+
"name": "radius",
|
|
4543
5016
|
"type": {
|
|
4544
|
-
"text": "
|
|
5017
|
+
"text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\""
|
|
4545
5018
|
},
|
|
4546
|
-
"description": "
|
|
5019
|
+
"description": "Corner radius.",
|
|
5020
|
+
"fieldName": "radius"
|
|
4547
5021
|
},
|
|
4548
5022
|
{
|
|
4549
|
-
"name": "
|
|
5023
|
+
"name": "variant",
|
|
4550
5024
|
"type": {
|
|
4551
|
-
"text": "
|
|
5025
|
+
"text": "\"default\" | \"filled\" | \"unstyled\""
|
|
4552
5026
|
},
|
|
4553
|
-
"description": "
|
|
5027
|
+
"description": "Box style.",
|
|
5028
|
+
"fieldName": "variant",
|
|
5029
|
+
"default": "default"
|
|
4554
5030
|
},
|
|
4555
5031
|
{
|
|
4556
|
-
"name": "
|
|
5032
|
+
"name": "suggestions-label",
|
|
4557
5033
|
"type": {
|
|
4558
5034
|
"text": "string"
|
|
4559
5035
|
},
|
|
4560
|
-
"description": "
|
|
5036
|
+
"description": "Accessible name of the suggestion list.",
|
|
5037
|
+
"fieldName": "suggestionsLabel",
|
|
5038
|
+
"default": "Suggestions"
|
|
4561
5039
|
}
|
|
4562
5040
|
],
|
|
4563
5041
|
"members": [
|
|
5042
|
+
{
|
|
5043
|
+
"kind": "field",
|
|
5044
|
+
"name": "mode",
|
|
5045
|
+
"type": {
|
|
5046
|
+
"text": "string"
|
|
5047
|
+
},
|
|
5048
|
+
"description": "The chosen mode's value (default: the first). Setting it applies that mode without ray-mode-change.",
|
|
5049
|
+
"attribute": "mode",
|
|
5050
|
+
"reflects": true
|
|
5051
|
+
},
|
|
5052
|
+
{
|
|
5053
|
+
"kind": "field",
|
|
5054
|
+
"name": "options",
|
|
5055
|
+
"type": {
|
|
5056
|
+
"text": "ModeOption[]"
|
|
5057
|
+
},
|
|
5058
|
+
"description": "The modes; when not set, the <option> children."
|
|
5059
|
+
},
|
|
5060
|
+
{
|
|
5061
|
+
"kind": "field",
|
|
5062
|
+
"name": "display",
|
|
5063
|
+
"type": {
|
|
5064
|
+
"text": "\"label\" | \"icon\" | \"both\""
|
|
5065
|
+
},
|
|
5066
|
+
"description": "What the trigger shows: the mode's hint or label, its icon, or both. Default: the icon when the mode has one, else the label.",
|
|
5067
|
+
"attribute": "display",
|
|
5068
|
+
"reflects": true
|
|
5069
|
+
},
|
|
5070
|
+
{
|
|
5071
|
+
"kind": "field",
|
|
5072
|
+
"name": "position",
|
|
5073
|
+
"type": {
|
|
5074
|
+
"text": "\"start\" | \"end\""
|
|
5075
|
+
},
|
|
5076
|
+
"description": "The side of the field the trigger sits on.",
|
|
5077
|
+
"attribute": "position",
|
|
5078
|
+
"reflects": true,
|
|
5079
|
+
"default": "start"
|
|
5080
|
+
},
|
|
5081
|
+
{
|
|
5082
|
+
"kind": "field",
|
|
5083
|
+
"name": "menuLabel",
|
|
5084
|
+
"type": {
|
|
5085
|
+
"text": "string"
|
|
5086
|
+
},
|
|
5087
|
+
"description": "The trigger's accessible name, read with the current mode (\"Mode: File\").",
|
|
5088
|
+
"attribute": "menu-label",
|
|
5089
|
+
"reflects": false,
|
|
5090
|
+
"default": "Mode"
|
|
5091
|
+
},
|
|
5092
|
+
{
|
|
5093
|
+
"kind": "field",
|
|
5094
|
+
"name": "nativeMenu",
|
|
5095
|
+
"type": {
|
|
5096
|
+
"text": "boolean"
|
|
5097
|
+
},
|
|
5098
|
+
"description": "With a native host (a std/ui window with the bridge), the system's menu (no descriptions there).",
|
|
5099
|
+
"attribute": "native-menu",
|
|
5100
|
+
"reflects": true
|
|
5101
|
+
},
|
|
4564
5102
|
{
|
|
4565
5103
|
"kind": "field",
|
|
4566
5104
|
"name": "value",
|
|
@@ -4705,13 +5243,64 @@
|
|
|
4705
5243
|
"reflects": true,
|
|
4706
5244
|
"default": "default"
|
|
4707
5245
|
},
|
|
5246
|
+
{
|
|
5247
|
+
"kind": "field",
|
|
5248
|
+
"name": "highlight",
|
|
5249
|
+
"type": {
|
|
5250
|
+
"text": "((text: string) => HighlightRange[]) | null"
|
|
5251
|
+
},
|
|
5252
|
+
"description": "Marks ranges of the text, painted behind it: called with the text on every change (typed or set), it returns { start, end, kind?, title? } offsets. kind \"error\" is red with a wavy underline; any other kind is styled with ::part(highlight-<kind>); title is the tooltip over the range. Ranges must not overlap."
|
|
5253
|
+
},
|
|
5254
|
+
{
|
|
5255
|
+
"kind": "field",
|
|
5256
|
+
"name": "complete",
|
|
5257
|
+
"type": {
|
|
5258
|
+
"text": "((text: string, caret: number) => CompletionResult | null | Promise<CompletionResult | null>) | null"
|
|
5259
|
+
},
|
|
5260
|
+
"description": "Inline suggestions: called as the user types (and on Ctrl+Space) with the text and the caret, it returns the part of the text a suggestion would replace and the suggestions ({ from, to, items }), or null for none. A list opens under that part (ArrowUp/Down, Enter or Tab to accept, Escape to close); the chosen item's value replaces from–to as an undoable edit, then ray-complete fires. The field becomes a combobox (aria-autocomplete, aria-expanded, aria-activedescendant)."
|
|
5261
|
+
},
|
|
5262
|
+
{
|
|
5263
|
+
"kind": "field",
|
|
5264
|
+
"name": "suggestionsLabel",
|
|
5265
|
+
"type": {
|
|
5266
|
+
"text": "string"
|
|
5267
|
+
},
|
|
5268
|
+
"description": "Accessible name of the suggestion list.",
|
|
5269
|
+
"attribute": "suggestions-label",
|
|
5270
|
+
"reflects": false,
|
|
5271
|
+
"default": "Suggestions"
|
|
5272
|
+
},
|
|
5273
|
+
{
|
|
5274
|
+
"kind": "field",
|
|
5275
|
+
"name": "modes",
|
|
5276
|
+
"description": "The modes in use."
|
|
5277
|
+
},
|
|
5278
|
+
{
|
|
5279
|
+
"kind": "field",
|
|
5280
|
+
"name": "currentOption",
|
|
5281
|
+
"description": "The chosen mode."
|
|
5282
|
+
},
|
|
4708
5283
|
{
|
|
4709
5284
|
"kind": "method",
|
|
4710
|
-
"name": "
|
|
4711
|
-
"description": "
|
|
5285
|
+
"name": "choose",
|
|
5286
|
+
"description": "Chooses a mode as the user would (fires ray-mode-change)."
|
|
4712
5287
|
}
|
|
4713
5288
|
],
|
|
4714
5289
|
"events": [
|
|
5290
|
+
{
|
|
5291
|
+
"name": "ray-mode-change",
|
|
5292
|
+
"type": {
|
|
5293
|
+
"text": "CustomEvent<{ mode: string; previous: string | null; option: ModeOption }>"
|
|
5294
|
+
},
|
|
5295
|
+
"description": "The user chose a mode (mode is already the new one); cancelable: preventDefault keeps the previous mode."
|
|
5296
|
+
},
|
|
5297
|
+
{
|
|
5298
|
+
"name": "ray-complete",
|
|
5299
|
+
"type": {
|
|
5300
|
+
"text": "CustomEvent<{ item: CompletionItem; from: number; to: number }>"
|
|
5301
|
+
},
|
|
5302
|
+
"description": "A suggestion was accepted (the text already has it)."
|
|
5303
|
+
},
|
|
4715
5304
|
{
|
|
4716
5305
|
"name": "input",
|
|
4717
5306
|
"type": {
|
|
@@ -4727,36 +5316,23 @@
|
|
|
4727
5316
|
"description": "When an edit is committed (blur, Enter)."
|
|
4728
5317
|
}
|
|
4729
5318
|
],
|
|
4730
|
-
"slots": [
|
|
4731
|
-
{
|
|
4732
|
-
"name": "left",
|
|
4733
|
-
"description": "Section before the text (icon)."
|
|
4734
|
-
},
|
|
4735
|
-
{
|
|
4736
|
-
"name": "right",
|
|
4737
|
-
"description": "Section after the text (icon, button)."
|
|
4738
|
-
}
|
|
4739
|
-
],
|
|
5319
|
+
"slots": [],
|
|
4740
5320
|
"cssParts": [
|
|
4741
5321
|
{
|
|
4742
|
-
"name": "
|
|
4743
|
-
"description": "The
|
|
4744
|
-
},
|
|
4745
|
-
{
|
|
4746
|
-
"name": "wrapper",
|
|
4747
|
-
"description": "The box around the input and sections."
|
|
5322
|
+
"name": "trigger",
|
|
5323
|
+
"description": "The button that opens the menu."
|
|
4748
5324
|
},
|
|
4749
5325
|
{
|
|
4750
|
-
"name": "
|
|
4751
|
-
"description": "The
|
|
5326
|
+
"name": "trigger-icon",
|
|
5327
|
+
"description": "The current mode's icon in the trigger."
|
|
4752
5328
|
},
|
|
4753
5329
|
{
|
|
4754
|
-
"name": "
|
|
4755
|
-
"description": "The
|
|
5330
|
+
"name": "trigger-label",
|
|
5331
|
+
"description": "The current mode's hint or label in the trigger."
|
|
4756
5332
|
},
|
|
4757
5333
|
{
|
|
4758
|
-
"name": "
|
|
4759
|
-
"description": "The
|
|
5334
|
+
"name": "menu",
|
|
5335
|
+
"description": "The ray-menu of modes."
|
|
4760
5336
|
}
|
|
4761
5337
|
]
|
|
4762
5338
|
}
|
|
@@ -4764,18 +5340,18 @@
|
|
|
4764
5340
|
"exports": [
|
|
4765
5341
|
{
|
|
4766
5342
|
"kind": "js",
|
|
4767
|
-
"name": "
|
|
5343
|
+
"name": "RayModeInput",
|
|
4768
5344
|
"declaration": {
|
|
4769
|
-
"name": "
|
|
4770
|
-
"module": "components/input/input.js"
|
|
5345
|
+
"name": "RayModeInput",
|
|
5346
|
+
"module": "components/mode-input/mode-input.js"
|
|
4771
5347
|
}
|
|
4772
5348
|
},
|
|
4773
5349
|
{
|
|
4774
5350
|
"kind": "custom-element-definition",
|
|
4775
|
-
"name": "ray-input",
|
|
5351
|
+
"name": "ray-mode-input",
|
|
4776
5352
|
"declaration": {
|
|
4777
|
-
"name": "
|
|
4778
|
-
"module": "components/input/input.js"
|
|
5353
|
+
"name": "RayModeInput",
|
|
5354
|
+
"module": "components/mode-input/mode-input.js"
|
|
4779
5355
|
}
|
|
4780
5356
|
}
|
|
4781
5357
|
]
|
|
@@ -5494,6 +6070,15 @@
|
|
|
5494
6070
|
"description": "Box style.",
|
|
5495
6071
|
"fieldName": "variant",
|
|
5496
6072
|
"default": "default"
|
|
6073
|
+
},
|
|
6074
|
+
{
|
|
6075
|
+
"name": "suggestions-label",
|
|
6076
|
+
"type": {
|
|
6077
|
+
"text": "string"
|
|
6078
|
+
},
|
|
6079
|
+
"description": "Accessible name of the suggestion list.",
|
|
6080
|
+
"fieldName": "suggestionsLabel",
|
|
6081
|
+
"default": "Suggestions"
|
|
5497
6082
|
}
|
|
5498
6083
|
],
|
|
5499
6084
|
"members": [
|
|
@@ -5672,6 +6257,33 @@
|
|
|
5672
6257
|
"attribute": "variant",
|
|
5673
6258
|
"reflects": true,
|
|
5674
6259
|
"default": "default"
|
|
6260
|
+
},
|
|
6261
|
+
{
|
|
6262
|
+
"kind": "field",
|
|
6263
|
+
"name": "highlight",
|
|
6264
|
+
"type": {
|
|
6265
|
+
"text": "((text: string) => HighlightRange[]) | null"
|
|
6266
|
+
},
|
|
6267
|
+
"description": "Marks ranges of the text, painted behind it: called with the text on every change (typed or set), it returns { start, end, kind?, title? } offsets. kind \"error\" is red with a wavy underline; any other kind is styled with ::part(highlight-<kind>); title is the tooltip over the range. Ranges must not overlap."
|
|
6268
|
+
},
|
|
6269
|
+
{
|
|
6270
|
+
"kind": "field",
|
|
6271
|
+
"name": "complete",
|
|
6272
|
+
"type": {
|
|
6273
|
+
"text": "((text: string, caret: number) => CompletionResult | null | Promise<CompletionResult | null>) | null"
|
|
6274
|
+
},
|
|
6275
|
+
"description": "Inline suggestions: called as the user types (and on Ctrl+Space) with the text and the caret, it returns the part of the text a suggestion would replace and the suggestions ({ from, to, items }), or null for none. A list opens under that part (ArrowUp/Down, Enter or Tab to accept, Escape to close); the chosen item's value replaces from–to as an undoable edit, then ray-complete fires. The field becomes a combobox (aria-autocomplete, aria-expanded, aria-activedescendant)."
|
|
6276
|
+
},
|
|
6277
|
+
{
|
|
6278
|
+
"kind": "field",
|
|
6279
|
+
"name": "suggestionsLabel",
|
|
6280
|
+
"type": {
|
|
6281
|
+
"text": "string"
|
|
6282
|
+
},
|
|
6283
|
+
"description": "Accessible name of the suggestion list.",
|
|
6284
|
+
"attribute": "suggestions-label",
|
|
6285
|
+
"reflects": false,
|
|
6286
|
+
"default": "Suggestions"
|
|
5675
6287
|
}
|
|
5676
6288
|
],
|
|
5677
6289
|
"events": [
|
|
@@ -5682,6 +6294,13 @@
|
|
|
5682
6294
|
},
|
|
5683
6295
|
"description": "The user showed or hid the password."
|
|
5684
6296
|
},
|
|
6297
|
+
{
|
|
6298
|
+
"name": "ray-complete",
|
|
6299
|
+
"type": {
|
|
6300
|
+
"text": "CustomEvent<{ item: CompletionItem; from: number; to: number }>"
|
|
6301
|
+
},
|
|
6302
|
+
"description": "A suggestion was accepted (the text already has it)."
|
|
6303
|
+
},
|
|
5685
6304
|
{
|
|
5686
6305
|
"name": "input",
|
|
5687
6306
|
"type": {
|
|
@@ -5888,6 +6507,15 @@
|
|
|
5888
6507
|
"description": "Box style.",
|
|
5889
6508
|
"fieldName": "variant",
|
|
5890
6509
|
"default": "default"
|
|
6510
|
+
},
|
|
6511
|
+
{
|
|
6512
|
+
"name": "suggestions-label",
|
|
6513
|
+
"type": {
|
|
6514
|
+
"text": "string"
|
|
6515
|
+
},
|
|
6516
|
+
"description": "Accessible name of the suggestion list.",
|
|
6517
|
+
"fieldName": "suggestionsLabel",
|
|
6518
|
+
"default": "Suggestions"
|
|
5891
6519
|
}
|
|
5892
6520
|
],
|
|
5893
6521
|
"members": [
|
|
@@ -6077,6 +6705,33 @@
|
|
|
6077
6705
|
"reflects": true,
|
|
6078
6706
|
"default": "default"
|
|
6079
6707
|
},
|
|
6708
|
+
{
|
|
6709
|
+
"kind": "field",
|
|
6710
|
+
"name": "highlight",
|
|
6711
|
+
"type": {
|
|
6712
|
+
"text": "((text: string) => HighlightRange[]) | null"
|
|
6713
|
+
},
|
|
6714
|
+
"description": "Marks ranges of the text, painted behind it: called with the text on every change (typed or set), it returns { start, end, kind?, title? } offsets. kind \"error\" is red with a wavy underline; any other kind is styled with ::part(highlight-<kind>); title is the tooltip over the range. Ranges must not overlap."
|
|
6715
|
+
},
|
|
6716
|
+
{
|
|
6717
|
+
"kind": "field",
|
|
6718
|
+
"name": "complete",
|
|
6719
|
+
"type": {
|
|
6720
|
+
"text": "((text: string, caret: number) => CompletionResult | null | Promise<CompletionResult | null>) | null"
|
|
6721
|
+
},
|
|
6722
|
+
"description": "Inline suggestions: called as the user types (and on Ctrl+Space) with the text and the caret, it returns the part of the text a suggestion would replace and the suggestions ({ from, to, items }), or null for none. A list opens under that part (ArrowUp/Down, Enter or Tab to accept, Escape to close); the chosen item's value replaces from–to as an undoable edit, then ray-complete fires. The field becomes a combobox (aria-autocomplete, aria-expanded, aria-activedescendant)."
|
|
6723
|
+
},
|
|
6724
|
+
{
|
|
6725
|
+
"kind": "field",
|
|
6726
|
+
"name": "suggestionsLabel",
|
|
6727
|
+
"type": {
|
|
6728
|
+
"text": "string"
|
|
6729
|
+
},
|
|
6730
|
+
"description": "Accessible name of the suggestion list.",
|
|
6731
|
+
"attribute": "suggestions-label",
|
|
6732
|
+
"reflects": false,
|
|
6733
|
+
"default": "Suggestions"
|
|
6734
|
+
},
|
|
6080
6735
|
{
|
|
6081
6736
|
"kind": "field",
|
|
6082
6737
|
"name": "canBrowse",
|
|
@@ -6103,6 +6758,13 @@
|
|
|
6103
6758
|
},
|
|
6104
6759
|
"description": "The system dialog failed."
|
|
6105
6760
|
},
|
|
6761
|
+
{
|
|
6762
|
+
"name": "ray-complete",
|
|
6763
|
+
"type": {
|
|
6764
|
+
"text": "CustomEvent<{ item: CompletionItem; from: number; to: number }>"
|
|
6765
|
+
},
|
|
6766
|
+
"description": "A suggestion was accepted (the text already has it)."
|
|
6767
|
+
},
|
|
6106
6768
|
{
|
|
6107
6769
|
"name": "input",
|
|
6108
6770
|
"type": {
|
|
@@ -8643,6 +9305,15 @@
|
|
|
8643
9305
|
"fieldName": "variant",
|
|
8644
9306
|
"default": "default"
|
|
8645
9307
|
},
|
|
9308
|
+
{
|
|
9309
|
+
"name": "suggestions-label",
|
|
9310
|
+
"type": {
|
|
9311
|
+
"text": "string"
|
|
9312
|
+
},
|
|
9313
|
+
"description": "Accessible name of the suggestion list.",
|
|
9314
|
+
"fieldName": "suggestionsLabel",
|
|
9315
|
+
"default": "Suggestions"
|
|
9316
|
+
},
|
|
8646
9317
|
{
|
|
8647
9318
|
"name": "radius",
|
|
8648
9319
|
"type": {
|
|
@@ -8832,6 +9503,33 @@
|
|
|
8832
9503
|
"reflects": true,
|
|
8833
9504
|
"default": "default"
|
|
8834
9505
|
},
|
|
9506
|
+
{
|
|
9507
|
+
"kind": "field",
|
|
9508
|
+
"name": "highlight",
|
|
9509
|
+
"type": {
|
|
9510
|
+
"text": "((text: string) => HighlightRange[]) | null"
|
|
9511
|
+
},
|
|
9512
|
+
"description": "Marks ranges of the text, painted behind it: called with the text on every change (typed or set), it returns { start, end, kind?, title? } offsets. kind \"error\" is red with a wavy underline; any other kind is styled with ::part(highlight-<kind>); title is the tooltip over the range. Ranges must not overlap."
|
|
9513
|
+
},
|
|
9514
|
+
{
|
|
9515
|
+
"kind": "field",
|
|
9516
|
+
"name": "complete",
|
|
9517
|
+
"type": {
|
|
9518
|
+
"text": "((text: string, caret: number) => CompletionResult | null | Promise<CompletionResult | null>) | null"
|
|
9519
|
+
},
|
|
9520
|
+
"description": "Inline suggestions: called as the user types (and on Ctrl+Space) with the text and the caret, it returns the part of the text a suggestion would replace and the suggestions ({ from, to, items }), or null for none. A list opens under that part (ArrowUp/Down, Enter or Tab to accept, Escape to close); the chosen item's value replaces from–to as an undoable edit, then ray-complete fires. The field becomes a combobox (aria-autocomplete, aria-expanded, aria-activedescendant)."
|
|
9521
|
+
},
|
|
9522
|
+
{
|
|
9523
|
+
"kind": "field",
|
|
9524
|
+
"name": "suggestionsLabel",
|
|
9525
|
+
"type": {
|
|
9526
|
+
"text": "string"
|
|
9527
|
+
},
|
|
9528
|
+
"description": "Accessible name of the suggestion list.",
|
|
9529
|
+
"attribute": "suggestions-label",
|
|
9530
|
+
"reflects": false,
|
|
9531
|
+
"default": "Suggestions"
|
|
9532
|
+
},
|
|
8835
9533
|
{
|
|
8836
9534
|
"kind": "field",
|
|
8837
9535
|
"name": "radius",
|
|
@@ -8841,9 +9539,21 @@
|
|
|
8841
9539
|
"description": "Corner radius.",
|
|
8842
9540
|
"attribute": "radius",
|
|
8843
9541
|
"reflects": true
|
|
9542
|
+
},
|
|
9543
|
+
{
|
|
9544
|
+
"kind": "method",
|
|
9545
|
+
"name": "refreshHighlight",
|
|
9546
|
+
"description": "Runs highlight again, when what it marks changed but the text did not."
|
|
8844
9547
|
}
|
|
8845
9548
|
],
|
|
8846
9549
|
"events": [
|
|
9550
|
+
{
|
|
9551
|
+
"name": "ray-complete",
|
|
9552
|
+
"type": {
|
|
9553
|
+
"text": "CustomEvent<{ item: CompletionItem; from: number; to: number }>"
|
|
9554
|
+
},
|
|
9555
|
+
"description": "A suggestion was accepted (the text already has it)."
|
|
9556
|
+
},
|
|
8847
9557
|
{
|
|
8848
9558
|
"name": "input",
|
|
8849
9559
|
"type": {
|
|
@@ -8868,6 +9578,34 @@
|
|
|
8868
9578
|
{
|
|
8869
9579
|
"name": "wrapper",
|
|
8870
9580
|
"description": "The box."
|
|
9581
|
+
},
|
|
9582
|
+
{
|
|
9583
|
+
"name": "suggestions",
|
|
9584
|
+
"description": "The suggestion list (a listbox in the top layer)."
|
|
9585
|
+
},
|
|
9586
|
+
{
|
|
9587
|
+
"name": "suggestion",
|
|
9588
|
+
"description": "Each suggestion ([aria-selected] when active)."
|
|
9589
|
+
},
|
|
9590
|
+
{
|
|
9591
|
+
"name": "suggestion-label",
|
|
9592
|
+
"description": "A suggestion's label (in the mono font)."
|
|
9593
|
+
},
|
|
9594
|
+
{
|
|
9595
|
+
"name": "suggestion-detail",
|
|
9596
|
+
"description": "A suggestion's detail."
|
|
9597
|
+
},
|
|
9598
|
+
{
|
|
9599
|
+
"name": "suggestion-description",
|
|
9600
|
+
"description": "A suggestion's description, under its label (in the interface font)."
|
|
9601
|
+
},
|
|
9602
|
+
{
|
|
9603
|
+
"name": "highlight",
|
|
9604
|
+
"description": "Each marked range (also highlight-<kind> for a range with a kind)."
|
|
9605
|
+
},
|
|
9606
|
+
{
|
|
9607
|
+
"name": "text-layer",
|
|
9608
|
+
"description": "The layer behind the text that holds the marks."
|
|
8871
9609
|
}
|
|
8872
9610
|
]
|
|
8873
9611
|
}
|
|
@@ -9528,22 +10266,313 @@
|
|
|
9528
10266
|
"description": "The text."
|
|
9529
10267
|
},
|
|
9530
10268
|
{
|
|
9531
|
-
"name": "icon",
|
|
9532
|
-
"description": "An icon before the text."
|
|
10269
|
+
"name": "icon",
|
|
10270
|
+
"description": "An icon before the text."
|
|
10271
|
+
}
|
|
10272
|
+
],
|
|
10273
|
+
"cssParts": [
|
|
10274
|
+
{
|
|
10275
|
+
"name": "link",
|
|
10276
|
+
"description": "The link (or the text of the current page)."
|
|
10277
|
+
},
|
|
10278
|
+
{
|
|
10279
|
+
"name": "separator",
|
|
10280
|
+
"description": "The separator before it."
|
|
10281
|
+
},
|
|
10282
|
+
{
|
|
10283
|
+
"name": "more",
|
|
10284
|
+
"description": "The \"…\" button of a collapsed path."
|
|
10285
|
+
}
|
|
10286
|
+
]
|
|
10287
|
+
}
|
|
10288
|
+
],
|
|
10289
|
+
"exports": [
|
|
10290
|
+
{
|
|
10291
|
+
"kind": "js",
|
|
10292
|
+
"name": "RayBreadcrumbs",
|
|
10293
|
+
"declaration": {
|
|
10294
|
+
"name": "RayBreadcrumbs",
|
|
10295
|
+
"module": "components/breadcrumbs/breadcrumbs.js"
|
|
10296
|
+
}
|
|
10297
|
+
},
|
|
10298
|
+
{
|
|
10299
|
+
"kind": "custom-element-definition",
|
|
10300
|
+
"name": "ray-breadcrumbs",
|
|
10301
|
+
"declaration": {
|
|
10302
|
+
"name": "RayBreadcrumbs",
|
|
10303
|
+
"module": "components/breadcrumbs/breadcrumbs.js"
|
|
10304
|
+
}
|
|
10305
|
+
},
|
|
10306
|
+
{
|
|
10307
|
+
"kind": "js",
|
|
10308
|
+
"name": "RayBreadcrumb",
|
|
10309
|
+
"declaration": {
|
|
10310
|
+
"name": "RayBreadcrumb",
|
|
10311
|
+
"module": "components/breadcrumbs/breadcrumbs.js"
|
|
10312
|
+
}
|
|
10313
|
+
},
|
|
10314
|
+
{
|
|
10315
|
+
"kind": "custom-element-definition",
|
|
10316
|
+
"name": "ray-breadcrumb",
|
|
10317
|
+
"declaration": {
|
|
10318
|
+
"name": "RayBreadcrumb",
|
|
10319
|
+
"module": "components/breadcrumbs/breadcrumbs.js"
|
|
10320
|
+
}
|
|
10321
|
+
}
|
|
10322
|
+
]
|
|
10323
|
+
},
|
|
10324
|
+
{
|
|
10325
|
+
"kind": "javascript-module",
|
|
10326
|
+
"path": "components/doc-tabs/doc-tabs.js",
|
|
10327
|
+
"declarations": [
|
|
10328
|
+
{
|
|
10329
|
+
"kind": "class",
|
|
10330
|
+
"name": "RayDocTabs",
|
|
10331
|
+
"tagName": "ray-doc-tabs",
|
|
10332
|
+
"customElement": true,
|
|
10333
|
+
"description": "Unlike ray-tabs, a tab has no panel of its own: they all control the element named by panel, whose content the app fills for the selected one. Closing is the app's: the ×, a middle click or Delete/Backspace fire ray-request-close, and the app removes the tab (after asking about unsaved changes, if it must). When the selected tab is removed, the one at its place is selected (change) and, if the closed tab had the focus, focused. More tabs than width: the bar scrolls sideways, fades the edge that hides tabs (data-overflow-start / data-overflow-end on the host), scrolls with a vertical wheel and keeps the selected tab in view.",
|
|
10334
|
+
"superclass": {
|
|
10335
|
+
"name": "RayElement"
|
|
10336
|
+
},
|
|
10337
|
+
"attributes": [
|
|
10338
|
+
{
|
|
10339
|
+
"name": "value",
|
|
10340
|
+
"type": {
|
|
10341
|
+
"text": "string"
|
|
10342
|
+
},
|
|
10343
|
+
"description": "Value of the selected tab (default: the first).",
|
|
10344
|
+
"fieldName": "value"
|
|
10345
|
+
},
|
|
10346
|
+
{
|
|
10347
|
+
"name": "panel",
|
|
10348
|
+
"type": {
|
|
10349
|
+
"text": "string"
|
|
10350
|
+
},
|
|
10351
|
+
"description": "The id of the shared panel: it gets role=tabpanel and aria-labelledby the selected tab; the tabs get aria-controls.",
|
|
10352
|
+
"fieldName": "panel"
|
|
10353
|
+
},
|
|
10354
|
+
{
|
|
10355
|
+
"name": "label",
|
|
10356
|
+
"type": {
|
|
10357
|
+
"text": "string"
|
|
10358
|
+
},
|
|
10359
|
+
"description": "Accessible name of the tab list (\"Open requests\").",
|
|
10360
|
+
"fieldName": "label"
|
|
10361
|
+
},
|
|
10362
|
+
{
|
|
10363
|
+
"name": "close-label",
|
|
10364
|
+
"type": {
|
|
10365
|
+
"text": "string"
|
|
10366
|
+
},
|
|
10367
|
+
"description": "Tooltip of the ×.",
|
|
10368
|
+
"fieldName": "closeLabel",
|
|
10369
|
+
"default": "Close"
|
|
10370
|
+
},
|
|
10371
|
+
{
|
|
10372
|
+
"name": "dirty-label",
|
|
10373
|
+
"type": {
|
|
10374
|
+
"text": "string"
|
|
10375
|
+
},
|
|
10376
|
+
"description": "What assistive technology hears after the name of a dirty tab.",
|
|
10377
|
+
"fieldName": "dirtyLabel",
|
|
10378
|
+
"default": "Unsaved changes"
|
|
10379
|
+
}
|
|
10380
|
+
],
|
|
10381
|
+
"members": [
|
|
10382
|
+
{
|
|
10383
|
+
"kind": "field",
|
|
10384
|
+
"name": "value",
|
|
10385
|
+
"type": {
|
|
10386
|
+
"text": "string"
|
|
10387
|
+
},
|
|
10388
|
+
"description": "Value of the selected tab (default: the first).",
|
|
10389
|
+
"attribute": "value",
|
|
10390
|
+
"reflects": false
|
|
10391
|
+
},
|
|
10392
|
+
{
|
|
10393
|
+
"kind": "field",
|
|
10394
|
+
"name": "panel",
|
|
10395
|
+
"type": {
|
|
10396
|
+
"text": "string"
|
|
10397
|
+
},
|
|
10398
|
+
"description": "The id of the shared panel: it gets role=tabpanel and aria-labelledby the selected tab; the tabs get aria-controls.",
|
|
10399
|
+
"attribute": "panel",
|
|
10400
|
+
"reflects": false
|
|
10401
|
+
},
|
|
10402
|
+
{
|
|
10403
|
+
"kind": "field",
|
|
10404
|
+
"name": "label",
|
|
10405
|
+
"type": {
|
|
10406
|
+
"text": "string"
|
|
10407
|
+
},
|
|
10408
|
+
"description": "Accessible name of the tab list (\"Open requests\").",
|
|
10409
|
+
"attribute": "label",
|
|
10410
|
+
"reflects": false
|
|
10411
|
+
},
|
|
10412
|
+
{
|
|
10413
|
+
"kind": "field",
|
|
10414
|
+
"name": "closeLabel",
|
|
10415
|
+
"type": {
|
|
10416
|
+
"text": "string"
|
|
10417
|
+
},
|
|
10418
|
+
"description": "Tooltip of the ×.",
|
|
10419
|
+
"attribute": "close-label",
|
|
10420
|
+
"reflects": false,
|
|
10421
|
+
"default": "Close"
|
|
10422
|
+
},
|
|
10423
|
+
{
|
|
10424
|
+
"kind": "field",
|
|
10425
|
+
"name": "dirtyLabel",
|
|
10426
|
+
"type": {
|
|
10427
|
+
"text": "string"
|
|
10428
|
+
},
|
|
10429
|
+
"description": "What assistive technology hears after the name of a dirty tab.",
|
|
10430
|
+
"attribute": "dirty-label",
|
|
10431
|
+
"reflects": false,
|
|
10432
|
+
"default": "Unsaved changes"
|
|
10433
|
+
},
|
|
10434
|
+
{
|
|
10435
|
+
"kind": "field",
|
|
10436
|
+
"name": "tabs",
|
|
10437
|
+
"description": "Its tabs, in order."
|
|
10438
|
+
},
|
|
10439
|
+
{
|
|
10440
|
+
"kind": "field",
|
|
10441
|
+
"name": "panelElement",
|
|
10442
|
+
"description": "The shared panel, found by the panel id."
|
|
10443
|
+
}
|
|
10444
|
+
],
|
|
10445
|
+
"events": [
|
|
10446
|
+
{
|
|
10447
|
+
"name": "change",
|
|
10448
|
+
"type": {
|
|
10449
|
+
"text": "Event"
|
|
10450
|
+
},
|
|
10451
|
+
"description": "The selected tab changed: a click, the arrow keys, or the selected tab removed."
|
|
10452
|
+
},
|
|
10453
|
+
{
|
|
10454
|
+
"name": "ray-request-close",
|
|
10455
|
+
"type": {
|
|
10456
|
+
"text": "CustomEvent<{ value: string; tab: RayDocTab; source: \"button\" | \"middle\" | \"key\" }>"
|
|
10457
|
+
},
|
|
10458
|
+
"description": "The × was clicked, the tab middle-clicked, or Delete/Backspace pressed on it: remove the tab to close it (not fired for hide-close tabs)."
|
|
10459
|
+
}
|
|
10460
|
+
],
|
|
10461
|
+
"slots": [
|
|
10462
|
+
{
|
|
10463
|
+
"name": "",
|
|
10464
|
+
"description": "ray-doc-tab elements."
|
|
10465
|
+
},
|
|
10466
|
+
{
|
|
10467
|
+
"name": "end",
|
|
10468
|
+
"description": "After the tabs, outside the scrolling list: a new-tab button."
|
|
10469
|
+
}
|
|
10470
|
+
],
|
|
10471
|
+
"cssParts": [
|
|
10472
|
+
{
|
|
10473
|
+
"name": "list",
|
|
10474
|
+
"description": "The tab list (it scrolls sideways when the tabs do not fit)."
|
|
10475
|
+
},
|
|
10476
|
+
{
|
|
10477
|
+
"name": "end",
|
|
10478
|
+
"description": "The end slot's box."
|
|
10479
|
+
}
|
|
10480
|
+
]
|
|
10481
|
+
},
|
|
10482
|
+
{
|
|
10483
|
+
"kind": "class",
|
|
10484
|
+
"name": "RayDocTab",
|
|
10485
|
+
"tagName": "ray-doc-tab",
|
|
10486
|
+
"customElement": true,
|
|
10487
|
+
"description": "A document's tab: an icon or tag (slot left), its name (cut with an ellipsis; give the full one in title), and the × or the unsaved dot.",
|
|
10488
|
+
"superclass": {
|
|
10489
|
+
"name": "RayElement"
|
|
10490
|
+
},
|
|
10491
|
+
"attributes": [
|
|
10492
|
+
{
|
|
10493
|
+
"name": "value",
|
|
10494
|
+
"type": {
|
|
10495
|
+
"text": "string"
|
|
10496
|
+
},
|
|
10497
|
+
"description": "Identifies the document (ray-doc-tabs value).",
|
|
10498
|
+
"fieldName": "value"
|
|
10499
|
+
},
|
|
10500
|
+
{
|
|
10501
|
+
"name": "dirty",
|
|
10502
|
+
"type": {
|
|
10503
|
+
"text": "boolean"
|
|
10504
|
+
},
|
|
10505
|
+
"description": "Unsaved changes: a dot in place of the ×, which comes back under the pointer.",
|
|
10506
|
+
"fieldName": "dirty"
|
|
10507
|
+
},
|
|
10508
|
+
{
|
|
10509
|
+
"name": "hide-close",
|
|
10510
|
+
"type": {
|
|
10511
|
+
"text": "boolean"
|
|
10512
|
+
},
|
|
10513
|
+
"description": "Cannot be closed: no ×, no middle click, no Delete.",
|
|
10514
|
+
"fieldName": "hideClose"
|
|
10515
|
+
}
|
|
10516
|
+
],
|
|
10517
|
+
"members": [
|
|
10518
|
+
{
|
|
10519
|
+
"kind": "field",
|
|
10520
|
+
"name": "value",
|
|
10521
|
+
"type": {
|
|
10522
|
+
"text": "string"
|
|
10523
|
+
},
|
|
10524
|
+
"description": "Identifies the document (ray-doc-tabs value).",
|
|
10525
|
+
"attribute": "value",
|
|
10526
|
+
"reflects": true
|
|
10527
|
+
},
|
|
10528
|
+
{
|
|
10529
|
+
"kind": "field",
|
|
10530
|
+
"name": "dirty",
|
|
10531
|
+
"type": {
|
|
10532
|
+
"text": "boolean"
|
|
10533
|
+
},
|
|
10534
|
+
"description": "Unsaved changes: a dot in place of the ×, which comes back under the pointer.",
|
|
10535
|
+
"attribute": "dirty",
|
|
10536
|
+
"reflects": true
|
|
10537
|
+
},
|
|
10538
|
+
{
|
|
10539
|
+
"kind": "field",
|
|
10540
|
+
"name": "hideClose",
|
|
10541
|
+
"type": {
|
|
10542
|
+
"text": "boolean"
|
|
10543
|
+
},
|
|
10544
|
+
"description": "Cannot be closed: no ×, no middle click, no Delete.",
|
|
10545
|
+
"attribute": "hide-close",
|
|
10546
|
+
"reflects": true
|
|
10547
|
+
}
|
|
10548
|
+
],
|
|
10549
|
+
"events": [],
|
|
10550
|
+
"slots": [
|
|
10551
|
+
{
|
|
10552
|
+
"name": "",
|
|
10553
|
+
"description": "The document's name."
|
|
10554
|
+
},
|
|
10555
|
+
{
|
|
10556
|
+
"name": "left",
|
|
10557
|
+
"description": "An icon or a tag (a file type, an HTTP method)."
|
|
9533
10558
|
}
|
|
9534
10559
|
],
|
|
9535
10560
|
"cssParts": [
|
|
9536
10561
|
{
|
|
9537
|
-
"name": "
|
|
9538
|
-
"description": "The
|
|
10562
|
+
"name": "label",
|
|
10563
|
+
"description": "The name."
|
|
9539
10564
|
},
|
|
9540
10565
|
{
|
|
9541
|
-
"name": "
|
|
9542
|
-
"description": "The
|
|
10566
|
+
"name": "left-section",
|
|
10567
|
+
"description": "The left slot's box."
|
|
9543
10568
|
},
|
|
9544
10569
|
{
|
|
9545
|
-
"name": "
|
|
9546
|
-
"description": "The
|
|
10570
|
+
"name": "close",
|
|
10571
|
+
"description": "The × (pointer only: it is not focusable)."
|
|
10572
|
+
},
|
|
10573
|
+
{
|
|
10574
|
+
"name": "dot",
|
|
10575
|
+
"description": "The unsaved mark."
|
|
9547
10576
|
}
|
|
9548
10577
|
]
|
|
9549
10578
|
}
|
|
@@ -9551,34 +10580,34 @@
|
|
|
9551
10580
|
"exports": [
|
|
9552
10581
|
{
|
|
9553
10582
|
"kind": "js",
|
|
9554
|
-
"name": "
|
|
10583
|
+
"name": "RayDocTabs",
|
|
9555
10584
|
"declaration": {
|
|
9556
|
-
"name": "
|
|
9557
|
-
"module": "components/
|
|
10585
|
+
"name": "RayDocTabs",
|
|
10586
|
+
"module": "components/doc-tabs/doc-tabs.js"
|
|
9558
10587
|
}
|
|
9559
10588
|
},
|
|
9560
10589
|
{
|
|
9561
10590
|
"kind": "custom-element-definition",
|
|
9562
|
-
"name": "ray-
|
|
10591
|
+
"name": "ray-doc-tabs",
|
|
9563
10592
|
"declaration": {
|
|
9564
|
-
"name": "
|
|
9565
|
-
"module": "components/
|
|
10593
|
+
"name": "RayDocTabs",
|
|
10594
|
+
"module": "components/doc-tabs/doc-tabs.js"
|
|
9566
10595
|
}
|
|
9567
10596
|
},
|
|
9568
10597
|
{
|
|
9569
10598
|
"kind": "js",
|
|
9570
|
-
"name": "
|
|
10599
|
+
"name": "RayDocTab",
|
|
9571
10600
|
"declaration": {
|
|
9572
|
-
"name": "
|
|
9573
|
-
"module": "components/
|
|
10601
|
+
"name": "RayDocTab",
|
|
10602
|
+
"module": "components/doc-tabs/doc-tabs.js"
|
|
9574
10603
|
}
|
|
9575
10604
|
},
|
|
9576
10605
|
{
|
|
9577
10606
|
"kind": "custom-element-definition",
|
|
9578
|
-
"name": "ray-
|
|
10607
|
+
"name": "ray-doc-tab",
|
|
9579
10608
|
"declaration": {
|
|
9580
|
-
"name": "
|
|
9581
|
-
"module": "components/
|
|
10609
|
+
"name": "RayDocTab",
|
|
10610
|
+
"module": "components/doc-tabs/doc-tabs.js"
|
|
9582
10611
|
}
|
|
9583
10612
|
}
|
|
9584
10613
|
]
|
|
@@ -10169,9 +11198,18 @@
|
|
|
10169
11198
|
"type": {
|
|
10170
11199
|
"text": "boolean"
|
|
10171
11200
|
},
|
|
10172
|
-
"description": "Wide screens: an icon rail
|
|
11201
|
+
"description": "Wide screens: collapsed as collapse says (an icon rail, or out of view).",
|
|
10173
11202
|
"fieldName": "collapsed"
|
|
10174
11203
|
},
|
|
11204
|
+
{
|
|
11205
|
+
"name": "collapse",
|
|
11206
|
+
"type": {
|
|
11207
|
+
"text": "\"icon\" | \"offcanvas\""
|
|
11208
|
+
},
|
|
11209
|
+
"description": "What collapsed does on wide screens: icon, a rail of the nav links' icons; offcanvas, hidden entirely (no width, out of the tab order).",
|
|
11210
|
+
"fieldName": "collapse",
|
|
11211
|
+
"default": "icon"
|
|
11212
|
+
},
|
|
10175
11213
|
{
|
|
10176
11214
|
"name": "open",
|
|
10177
11215
|
"type": {
|
|
@@ -10231,6 +11269,49 @@
|
|
|
10231
11269
|
"description": "Accessible name of its navigation.",
|
|
10232
11270
|
"fieldName": "label",
|
|
10233
11271
|
"default": "Sidebar"
|
|
11272
|
+
},
|
|
11273
|
+
{
|
|
11274
|
+
"name": "resizable",
|
|
11275
|
+
"type": {
|
|
11276
|
+
"text": "boolean"
|
|
11277
|
+
},
|
|
11278
|
+
"description": "Wide screens, expanded: its inner edge drags (or, focused, arrow-keys; Shift is faster, Home/End go to the limits) the width between min-width and max-width.",
|
|
11279
|
+
"fieldName": "resizable"
|
|
11280
|
+
},
|
|
11281
|
+
{
|
|
11282
|
+
"name": "min-width",
|
|
11283
|
+
"type": {
|
|
11284
|
+
"text": "number"
|
|
11285
|
+
},
|
|
11286
|
+
"description": "Narrowest width when resizing, in px.",
|
|
11287
|
+
"fieldName": "minWidth",
|
|
11288
|
+
"default": "192"
|
|
11289
|
+
},
|
|
11290
|
+
{
|
|
11291
|
+
"name": "max-width",
|
|
11292
|
+
"type": {
|
|
11293
|
+
"text": "number"
|
|
11294
|
+
},
|
|
11295
|
+
"description": "Widest width when resizing, in px.",
|
|
11296
|
+
"fieldName": "maxWidth",
|
|
11297
|
+
"default": "480"
|
|
11298
|
+
},
|
|
11299
|
+
{
|
|
11300
|
+
"name": "autosave",
|
|
11301
|
+
"type": {
|
|
11302
|
+
"text": "string"
|
|
11303
|
+
},
|
|
11304
|
+
"description": "A key: the resized width is saved in localStorage and restored. A later change of width wins.",
|
|
11305
|
+
"fieldName": "autosave"
|
|
11306
|
+
},
|
|
11307
|
+
{
|
|
11308
|
+
"name": "resize-label",
|
|
11309
|
+
"type": {
|
|
11310
|
+
"text": "string"
|
|
11311
|
+
},
|
|
11312
|
+
"description": "Accessible name of the resize edge.",
|
|
11313
|
+
"fieldName": "resizeLabel",
|
|
11314
|
+
"default": "Resize sidebar"
|
|
10234
11315
|
}
|
|
10235
11316
|
],
|
|
10236
11317
|
"members": [
|
|
@@ -10240,10 +11321,21 @@
|
|
|
10240
11321
|
"type": {
|
|
10241
11322
|
"text": "boolean"
|
|
10242
11323
|
},
|
|
10243
|
-
"description": "Wide screens: an icon rail
|
|
11324
|
+
"description": "Wide screens: collapsed as collapse says (an icon rail, or out of view).",
|
|
10244
11325
|
"attribute": "collapsed",
|
|
10245
11326
|
"reflects": true
|
|
10246
11327
|
},
|
|
11328
|
+
{
|
|
11329
|
+
"kind": "field",
|
|
11330
|
+
"name": "collapse",
|
|
11331
|
+
"type": {
|
|
11332
|
+
"text": "\"icon\" | \"offcanvas\""
|
|
11333
|
+
},
|
|
11334
|
+
"description": "What collapsed does on wide screens: icon, a rail of the nav links' icons; offcanvas, hidden entirely (no width, out of the tab order).",
|
|
11335
|
+
"attribute": "collapse",
|
|
11336
|
+
"reflects": true,
|
|
11337
|
+
"default": "icon"
|
|
11338
|
+
},
|
|
10247
11339
|
{
|
|
10248
11340
|
"kind": "field",
|
|
10249
11341
|
"name": "open",
|
|
@@ -10318,6 +11410,59 @@
|
|
|
10318
11410
|
"reflects": false,
|
|
10319
11411
|
"default": "Sidebar"
|
|
10320
11412
|
},
|
|
11413
|
+
{
|
|
11414
|
+
"kind": "field",
|
|
11415
|
+
"name": "resizable",
|
|
11416
|
+
"type": {
|
|
11417
|
+
"text": "boolean"
|
|
11418
|
+
},
|
|
11419
|
+
"description": "Wide screens, expanded: its inner edge drags (or, focused, arrow-keys; Shift is faster, Home/End go to the limits) the width between min-width and max-width.",
|
|
11420
|
+
"attribute": "resizable",
|
|
11421
|
+
"reflects": true
|
|
11422
|
+
},
|
|
11423
|
+
{
|
|
11424
|
+
"kind": "field",
|
|
11425
|
+
"name": "minWidth",
|
|
11426
|
+
"type": {
|
|
11427
|
+
"text": "number"
|
|
11428
|
+
},
|
|
11429
|
+
"description": "Narrowest width when resizing, in px.",
|
|
11430
|
+
"attribute": "min-width",
|
|
11431
|
+
"reflects": false,
|
|
11432
|
+
"default": "192"
|
|
11433
|
+
},
|
|
11434
|
+
{
|
|
11435
|
+
"kind": "field",
|
|
11436
|
+
"name": "maxWidth",
|
|
11437
|
+
"type": {
|
|
11438
|
+
"text": "number"
|
|
11439
|
+
},
|
|
11440
|
+
"description": "Widest width when resizing, in px.",
|
|
11441
|
+
"attribute": "max-width",
|
|
11442
|
+
"reflects": false,
|
|
11443
|
+
"default": "480"
|
|
11444
|
+
},
|
|
11445
|
+
{
|
|
11446
|
+
"kind": "field",
|
|
11447
|
+
"name": "autosave",
|
|
11448
|
+
"type": {
|
|
11449
|
+
"text": "string"
|
|
11450
|
+
},
|
|
11451
|
+
"description": "A key: the resized width is saved in localStorage and restored. A later change of width wins.",
|
|
11452
|
+
"attribute": "autosave",
|
|
11453
|
+
"reflects": false
|
|
11454
|
+
},
|
|
11455
|
+
{
|
|
11456
|
+
"kind": "field",
|
|
11457
|
+
"name": "resizeLabel",
|
|
11458
|
+
"type": {
|
|
11459
|
+
"text": "string"
|
|
11460
|
+
},
|
|
11461
|
+
"description": "Accessible name of the resize edge.",
|
|
11462
|
+
"attribute": "resize-label",
|
|
11463
|
+
"reflects": false,
|
|
11464
|
+
"default": "Resize sidebar"
|
|
11465
|
+
},
|
|
10321
11466
|
{
|
|
10322
11467
|
"kind": "method",
|
|
10323
11468
|
"name": "toggle",
|
|
@@ -10330,6 +11475,13 @@
|
|
|
10330
11475
|
}
|
|
10331
11476
|
],
|
|
10332
11477
|
"events": [
|
|
11478
|
+
{
|
|
11479
|
+
"name": "ray-resize",
|
|
11480
|
+
"type": {
|
|
11481
|
+
"text": "CustomEvent<{ width: number }>"
|
|
11482
|
+
},
|
|
11483
|
+
"description": "After a drag or a key resized it (resizable)."
|
|
11484
|
+
},
|
|
10333
11485
|
{
|
|
10334
11486
|
"name": "ray-toggle",
|
|
10335
11487
|
"type": {
|
|
@@ -10383,6 +11535,10 @@
|
|
|
10383
11535
|
"name": "footer",
|
|
10384
11536
|
"description": "The footer area."
|
|
10385
11537
|
},
|
|
11538
|
+
{
|
|
11539
|
+
"name": "resizer",
|
|
11540
|
+
"description": "The resize edge (a separator), shown when resizable."
|
|
11541
|
+
},
|
|
10386
11542
|
{
|
|
10387
11543
|
"name": "drawer",
|
|
10388
11544
|
"description": "The <dialog> used on narrow screens."
|
|
@@ -10905,7 +12061,7 @@
|
|
|
10905
12061
|
"name": "RayTabs",
|
|
10906
12062
|
"tagName": "ray-tabs",
|
|
10907
12063
|
"customElement": true,
|
|
10908
|
-
"description": "
|
|
12064
|
+
"description": "More tabs than width: the list scrolls sideways, fades the edge that hides tabs, scrolls with a vertical wheel and keeps the selected tab in view. The host then carries data-overflow-start and data-overflow-end (following the writing direction), to style it further.",
|
|
10909
12065
|
"superclass": {
|
|
10910
12066
|
"name": "RayElement"
|
|
10911
12067
|
},
|
|
@@ -10944,6 +12100,15 @@
|
|
|
10944
12100
|
"description": "Active indicator color.",
|
|
10945
12101
|
"fieldName": "color"
|
|
10946
12102
|
},
|
|
12103
|
+
{
|
|
12104
|
+
"name": "size",
|
|
12105
|
+
"type": {
|
|
12106
|
+
"text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\""
|
|
12107
|
+
},
|
|
12108
|
+
"description": "Height, font size and padding of the tabs (xs for a compact bar).",
|
|
12109
|
+
"fieldName": "size",
|
|
12110
|
+
"default": "sm"
|
|
12111
|
+
},
|
|
10947
12112
|
{
|
|
10948
12113
|
"name": "activation",
|
|
10949
12114
|
"type": {
|
|
@@ -11005,6 +12170,17 @@
|
|
|
11005
12170
|
"attribute": "color",
|
|
11006
12171
|
"reflects": true
|
|
11007
12172
|
},
|
|
12173
|
+
{
|
|
12174
|
+
"kind": "field",
|
|
12175
|
+
"name": "size",
|
|
12176
|
+
"type": {
|
|
12177
|
+
"text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\""
|
|
12178
|
+
},
|
|
12179
|
+
"description": "Height, font size and padding of the tabs (xs for a compact bar).",
|
|
12180
|
+
"attribute": "size",
|
|
12181
|
+
"reflects": true,
|
|
12182
|
+
"default": "sm"
|
|
12183
|
+
},
|
|
11008
12184
|
{
|
|
11009
12185
|
"kind": "field",
|
|
11010
12186
|
"name": "activation",
|
|
@@ -11055,7 +12231,7 @@
|
|
|
11055
12231
|
"cssParts": [
|
|
11056
12232
|
{
|
|
11057
12233
|
"name": "list",
|
|
11058
|
-
"description": "The tab list."
|
|
12234
|
+
"description": "The tab list (it scrolls sideways when the tabs do not fit)."
|
|
11059
12235
|
},
|
|
11060
12236
|
{
|
|
11061
12237
|
"name": "panels",
|
|
@@ -11088,6 +12264,14 @@
|
|
|
11088
12264
|
},
|
|
11089
12265
|
"description": "Cannot be activated.",
|
|
11090
12266
|
"fieldName": "disabled"
|
|
12267
|
+
},
|
|
12268
|
+
{
|
|
12269
|
+
"name": "count",
|
|
12270
|
+
"type": {
|
|
12271
|
+
"text": "string"
|
|
12272
|
+
},
|
|
12273
|
+
"description": "A small number after the label (\"3\", \"99+\"), lighter than a badge; part of the tab's accessible name. Empty: none.",
|
|
12274
|
+
"fieldName": "count"
|
|
11091
12275
|
}
|
|
11092
12276
|
],
|
|
11093
12277
|
"members": [
|
|
@@ -11110,6 +12294,16 @@
|
|
|
11110
12294
|
"description": "Cannot be activated.",
|
|
11111
12295
|
"attribute": "disabled",
|
|
11112
12296
|
"reflects": true
|
|
12297
|
+
},
|
|
12298
|
+
{
|
|
12299
|
+
"kind": "field",
|
|
12300
|
+
"name": "count",
|
|
12301
|
+
"type": {
|
|
12302
|
+
"text": "string"
|
|
12303
|
+
},
|
|
12304
|
+
"description": "A small number after the label (\"3\", \"99+\"), lighter than a badge; part of the tab's accessible name. Empty: none.",
|
|
12305
|
+
"attribute": "count",
|
|
12306
|
+
"reflects": true
|
|
11113
12307
|
}
|
|
11114
12308
|
],
|
|
11115
12309
|
"events": [],
|
|
@@ -11120,10 +12314,15 @@
|
|
|
11120
12314
|
},
|
|
11121
12315
|
{
|
|
11122
12316
|
"name": "right",
|
|
11123
|
-
"description": "
|
|
12317
|
+
"description": "A badge or other content after the label (for a plain number, count is lighter)."
|
|
11124
12318
|
}
|
|
11125
12319
|
],
|
|
11126
|
-
"cssParts": [
|
|
12320
|
+
"cssParts": [
|
|
12321
|
+
{
|
|
12322
|
+
"name": "count",
|
|
12323
|
+
"description": "The count."
|
|
12324
|
+
}
|
|
12325
|
+
]
|
|
11127
12326
|
},
|
|
11128
12327
|
{
|
|
11129
12328
|
"kind": "class",
|
|
@@ -11295,6 +12494,33 @@
|
|
|
11295
12494
|
"description": "No keyboard hint at the bottom.",
|
|
11296
12495
|
"fieldName": "hideHint"
|
|
11297
12496
|
},
|
|
12497
|
+
{
|
|
12498
|
+
"name": "navigate-label",
|
|
12499
|
+
"type": {
|
|
12500
|
+
"text": "string"
|
|
12501
|
+
},
|
|
12502
|
+
"description": "The keyboard hint's word for ↑↓.",
|
|
12503
|
+
"fieldName": "navigateLabel",
|
|
12504
|
+
"default": "navigate"
|
|
12505
|
+
},
|
|
12506
|
+
{
|
|
12507
|
+
"name": "run-label",
|
|
12508
|
+
"type": {
|
|
12509
|
+
"text": "string"
|
|
12510
|
+
},
|
|
12511
|
+
"description": "The keyboard hint's word for ↵.",
|
|
12512
|
+
"fieldName": "runLabel",
|
|
12513
|
+
"default": "run"
|
|
12514
|
+
},
|
|
12515
|
+
{
|
|
12516
|
+
"name": "close-label",
|
|
12517
|
+
"type": {
|
|
12518
|
+
"text": "string"
|
|
12519
|
+
},
|
|
12520
|
+
"description": "The keyboard hint's word for esc.",
|
|
12521
|
+
"fieldName": "closeLabel",
|
|
12522
|
+
"default": "close"
|
|
12523
|
+
},
|
|
11298
12524
|
{
|
|
11299
12525
|
"name": "native-menus",
|
|
11300
12526
|
"type": {
|
|
@@ -11406,6 +12632,39 @@
|
|
|
11406
12632
|
"attribute": "hide-hint",
|
|
11407
12633
|
"reflects": true
|
|
11408
12634
|
},
|
|
12635
|
+
{
|
|
12636
|
+
"kind": "field",
|
|
12637
|
+
"name": "navigateLabel",
|
|
12638
|
+
"type": {
|
|
12639
|
+
"text": "string"
|
|
12640
|
+
},
|
|
12641
|
+
"description": "The keyboard hint's word for ↑↓.",
|
|
12642
|
+
"attribute": "navigate-label",
|
|
12643
|
+
"reflects": false,
|
|
12644
|
+
"default": "navigate"
|
|
12645
|
+
},
|
|
12646
|
+
{
|
|
12647
|
+
"kind": "field",
|
|
12648
|
+
"name": "runLabel",
|
|
12649
|
+
"type": {
|
|
12650
|
+
"text": "string"
|
|
12651
|
+
},
|
|
12652
|
+
"description": "The keyboard hint's word for ↵.",
|
|
12653
|
+
"attribute": "run-label",
|
|
12654
|
+
"reflects": false,
|
|
12655
|
+
"default": "run"
|
|
12656
|
+
},
|
|
12657
|
+
{
|
|
12658
|
+
"kind": "field",
|
|
12659
|
+
"name": "closeLabel",
|
|
12660
|
+
"type": {
|
|
12661
|
+
"text": "string"
|
|
12662
|
+
},
|
|
12663
|
+
"description": "The keyboard hint's word for esc.",
|
|
12664
|
+
"attribute": "close-label",
|
|
12665
|
+
"reflects": false,
|
|
12666
|
+
"default": "close"
|
|
12667
|
+
},
|
|
11409
12668
|
{
|
|
11410
12669
|
"kind": "field",
|
|
11411
12670
|
"name": "nativeMenus",
|
|
@@ -12287,6 +13546,13 @@
|
|
|
12287
13546
|
},
|
|
12288
13547
|
"description": "An item was chosen; detail: { value, item }."
|
|
12289
13548
|
},
|
|
13549
|
+
{
|
|
13550
|
+
"name": "ray-request-open",
|
|
13551
|
+
"type": {
|
|
13552
|
+
"text": "CustomEvent<{ event: Event }>"
|
|
13553
|
+
},
|
|
13554
|
+
"description": "Its trigger is about to open it (click, Arrow keys, right click), before the items are read, native menu included: fill items that depend on what was clicked here. Cancelable (preventDefault keeps it closed). Not fired by show() or open = true. detail: { event }."
|
|
13555
|
+
},
|
|
12290
13556
|
{
|
|
12291
13557
|
"name": "ray-open",
|
|
12292
13558
|
"type": {
|
|
@@ -12352,6 +13618,31 @@
|
|
|
12352
13618
|
},
|
|
12353
13619
|
"description": "Text and hover color (e.g. red for destructive actions).",
|
|
12354
13620
|
"fieldName": "color"
|
|
13621
|
+
},
|
|
13622
|
+
{
|
|
13623
|
+
"name": "type",
|
|
13624
|
+
"type": {
|
|
13625
|
+
"text": "\"item\" | \"checkbox\" | \"radio\""
|
|
13626
|
+
},
|
|
13627
|
+
"description": "checkbox: choosing it toggles checked (menuitemcheckbox); radio: choosing it checks it and unchecks the radio items of the menu with the same name (menuitemradio). Both show a check mark when checked, in the native menu too.",
|
|
13628
|
+
"fieldName": "type",
|
|
13629
|
+
"default": "item"
|
|
13630
|
+
},
|
|
13631
|
+
{
|
|
13632
|
+
"name": "checked",
|
|
13633
|
+
"type": {
|
|
13634
|
+
"text": "boolean"
|
|
13635
|
+
},
|
|
13636
|
+
"description": "Checked (checkbox and radio items). Already updated when ray-select fires.",
|
|
13637
|
+
"fieldName": "checked"
|
|
13638
|
+
},
|
|
13639
|
+
{
|
|
13640
|
+
"name": "name",
|
|
13641
|
+
"type": {
|
|
13642
|
+
"text": "string"
|
|
13643
|
+
},
|
|
13644
|
+
"description": "The group of a radio item: one checked per name in the menu.",
|
|
13645
|
+
"fieldName": "name"
|
|
12355
13646
|
}
|
|
12356
13647
|
],
|
|
12357
13648
|
"members": [
|
|
@@ -12384,6 +13675,42 @@
|
|
|
12384
13675
|
"description": "Text and hover color (e.g. red for destructive actions).",
|
|
12385
13676
|
"attribute": "color",
|
|
12386
13677
|
"reflects": true
|
|
13678
|
+
},
|
|
13679
|
+
{
|
|
13680
|
+
"kind": "field",
|
|
13681
|
+
"name": "type",
|
|
13682
|
+
"type": {
|
|
13683
|
+
"text": "\"item\" | \"checkbox\" | \"radio\""
|
|
13684
|
+
},
|
|
13685
|
+
"description": "checkbox: choosing it toggles checked (menuitemcheckbox); radio: choosing it checks it and unchecks the radio items of the menu with the same name (menuitemradio). Both show a check mark when checked, in the native menu too.",
|
|
13686
|
+
"attribute": "type",
|
|
13687
|
+
"reflects": true,
|
|
13688
|
+
"default": "item"
|
|
13689
|
+
},
|
|
13690
|
+
{
|
|
13691
|
+
"kind": "field",
|
|
13692
|
+
"name": "checked",
|
|
13693
|
+
"type": {
|
|
13694
|
+
"text": "boolean"
|
|
13695
|
+
},
|
|
13696
|
+
"description": "Checked (checkbox and radio items). Already updated when ray-select fires.",
|
|
13697
|
+
"attribute": "checked",
|
|
13698
|
+
"reflects": true
|
|
13699
|
+
},
|
|
13700
|
+
{
|
|
13701
|
+
"kind": "field",
|
|
13702
|
+
"name": "name",
|
|
13703
|
+
"type": {
|
|
13704
|
+
"text": "string"
|
|
13705
|
+
},
|
|
13706
|
+
"description": "The group of a radio item: one checked per name in the menu.",
|
|
13707
|
+
"attribute": "name",
|
|
13708
|
+
"reflects": true
|
|
13709
|
+
},
|
|
13710
|
+
{
|
|
13711
|
+
"kind": "field",
|
|
13712
|
+
"name": "checkable",
|
|
13713
|
+
"description": "Whether type is checkbox or radio."
|
|
12387
13714
|
}
|
|
12388
13715
|
],
|
|
12389
13716
|
"events": [],
|
|
@@ -12401,7 +13728,12 @@
|
|
|
12401
13728
|
"description": "Shortcut or badge."
|
|
12402
13729
|
}
|
|
12403
13730
|
],
|
|
12404
|
-
"cssParts": [
|
|
13731
|
+
"cssParts": [
|
|
13732
|
+
{
|
|
13733
|
+
"name": "mark",
|
|
13734
|
+
"description": "The check mark of a checkbox or radio item."
|
|
13735
|
+
}
|
|
13736
|
+
]
|
|
12405
13737
|
},
|
|
12406
13738
|
{
|
|
12407
13739
|
"kind": "class",
|
|
@@ -14485,7 +15817,7 @@
|
|
|
14485
15817
|
"name": "RayCode",
|
|
14486
15818
|
"tagName": "ray-code",
|
|
14487
15819
|
"customElement": true,
|
|
14488
|
-
"description": "The code comes from the code property, a <script type=\"text/plain\"> child (raw text: anything but a closing script tag), a <template> child (parsed as HTML: the easiest for markup, but a < that is not a tag, as in Promise<void>, breaks it), or the element's text; common indentation and blank edges are removed. Built-in languages: js/ts (jsx, tsx), json, html/xml/svg/vue, css, shell, ray and diff; others show as plain text. Library classes painted with the tokens: Prism's .token.*, highlight.js's .hljs-*, and Shiki's css-variables theme.",
|
|
15820
|
+
"description": "The code comes from the code property, a <script type=\"text/plain\"> child (raw text: anything but a closing script tag), a <template> child (parsed as HTML: the easiest for markup, but a < that is not a tag, as in Promise<void>, breaks it), or the element's text; common indentation and blank edges are removed (not with verbatim). Built-in languages: js/ts (jsx, tsx), json, html/xml/svg/vue, css, shell, ray and diff; others show as plain text. Library classes painted with the tokens: Prism's .token.*, highlight.js's .hljs-*, and Shiki's css-variables theme.",
|
|
14489
15821
|
"superclass": {
|
|
14490
15822
|
"name": "RayElement"
|
|
14491
15823
|
},
|
|
@@ -14530,6 +15862,14 @@
|
|
|
14530
15862
|
"description": "Wraps long lines instead of scrolling sideways.",
|
|
14531
15863
|
"fieldName": "wrap"
|
|
14532
15864
|
},
|
|
15865
|
+
{
|
|
15866
|
+
"name": "verbatim",
|
|
15867
|
+
"type": {
|
|
15868
|
+
"text": "boolean"
|
|
15869
|
+
},
|
|
15870
|
+
"description": "Shows and copies the text exactly as given: no common indentation or blank first and last lines removed. For data (a response body, a log) rather than code written in the page.",
|
|
15871
|
+
"fieldName": "verbatim"
|
|
15872
|
+
},
|
|
14533
15873
|
{
|
|
14534
15874
|
"name": "max-height",
|
|
14535
15875
|
"type": {
|
|
@@ -14657,6 +15997,16 @@
|
|
|
14657
15997
|
"attribute": "wrap",
|
|
14658
15998
|
"reflects": true
|
|
14659
15999
|
},
|
|
16000
|
+
{
|
|
16001
|
+
"kind": "field",
|
|
16002
|
+
"name": "verbatim",
|
|
16003
|
+
"type": {
|
|
16004
|
+
"text": "boolean"
|
|
16005
|
+
},
|
|
16006
|
+
"description": "Shows and copies the text exactly as given: no common indentation or blank first and last lines removed. For data (a response body, a log) rather than code written in the page.",
|
|
16007
|
+
"attribute": "verbatim",
|
|
16008
|
+
"reflects": true
|
|
16009
|
+
},
|
|
14660
16010
|
{
|
|
14661
16011
|
"kind": "field",
|
|
14662
16012
|
"name": "maxHeight",
|
|
@@ -19424,7 +20774,7 @@
|
|
|
19424
20774
|
"type": {
|
|
19425
20775
|
"text": "string"
|
|
19426
20776
|
},
|
|
19427
|
-
"description": "A key: the size
|
|
20777
|
+
"description": "A key: the size and the collapsed state are saved in localStorage and restored (a saved state wins over the collapsed attribute).",
|
|
19428
20778
|
"fieldName": "autosave"
|
|
19429
20779
|
}
|
|
19430
20780
|
],
|
|
@@ -19498,7 +20848,7 @@
|
|
|
19498
20848
|
"type": {
|
|
19499
20849
|
"text": "string"
|
|
19500
20850
|
},
|
|
19501
|
-
"description": "A key: the size
|
|
20851
|
+
"description": "A key: the size and the collapsed state are saved in localStorage and restored (a saved state wins over the collapsed attribute).",
|
|
19502
20852
|
"attribute": "autosave",
|
|
19503
20853
|
"reflects": false
|
|
19504
20854
|
},
|