@raylang/elements 0.8.0 → 0.9.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 +252 -0
- package/core/scroll.js +85 -1
- package/core/textlayer.js +214 -0
- package/custom-elements.json +1414 -88
- package/index.js +2 -0
- package/llms-full.txt +184 -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,85 +4482,611 @@
|
|
|
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": {
|
|
4488
4497
|
"text": "string"
|
|
4489
4498
|
},
|
|
4490
|
-
"description": "Forwarded to the inner input."
|
|
4499
|
+
"description": "Forwarded to the inner input."
|
|
4500
|
+
},
|
|
4501
|
+
{
|
|
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": "highlight",
|
|
4819
|
+
"description": "Each marked range (also highlight-<kind> for a range with a kind)."
|
|
4820
|
+
},
|
|
4821
|
+
{
|
|
4822
|
+
"name": "text-layer",
|
|
4823
|
+
"description": "The layer behind the text that holds the marks."
|
|
4824
|
+
}
|
|
4825
|
+
]
|
|
4826
|
+
}
|
|
4827
|
+
],
|
|
4828
|
+
"exports": [
|
|
4829
|
+
{
|
|
4830
|
+
"kind": "js",
|
|
4831
|
+
"name": "RayInput",
|
|
4832
|
+
"declaration": {
|
|
4833
|
+
"name": "RayInput",
|
|
4834
|
+
"module": "components/input/input.js"
|
|
4835
|
+
}
|
|
4836
|
+
},
|
|
4837
|
+
{
|
|
4838
|
+
"kind": "custom-element-definition",
|
|
4839
|
+
"name": "ray-input",
|
|
4840
|
+
"declaration": {
|
|
4841
|
+
"name": "RayInput",
|
|
4842
|
+
"module": "components/input/input.js"
|
|
4843
|
+
}
|
|
4844
|
+
}
|
|
4845
|
+
]
|
|
4846
|
+
},
|
|
4847
|
+
{
|
|
4848
|
+
"kind": "javascript-module",
|
|
4849
|
+
"path": "components/mode-input/mode-input.js",
|
|
4850
|
+
"declarations": [
|
|
4851
|
+
{
|
|
4852
|
+
"kind": "class",
|
|
4853
|
+
"name": "RayModeInput",
|
|
4854
|
+
"tagName": "ray-mode-input",
|
|
4855
|
+
"customElement": true,
|
|
4856
|
+
"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.",
|
|
4857
|
+
"superclass": {
|
|
4858
|
+
"name": "RayInput"
|
|
4859
|
+
},
|
|
4860
|
+
"attributes": [
|
|
4861
|
+
{
|
|
4862
|
+
"name": "mode",
|
|
4863
|
+
"type": {
|
|
4864
|
+
"text": "string"
|
|
4865
|
+
},
|
|
4866
|
+
"description": "The chosen mode's value (default: the first). Setting it applies that mode without ray-mode-change.",
|
|
4867
|
+
"fieldName": "mode"
|
|
4868
|
+
},
|
|
4869
|
+
{
|
|
4870
|
+
"name": "display",
|
|
4871
|
+
"type": {
|
|
4872
|
+
"text": "\"label\" | \"icon\" | \"both\""
|
|
4873
|
+
},
|
|
4874
|
+
"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.",
|
|
4875
|
+
"fieldName": "display"
|
|
4876
|
+
},
|
|
4877
|
+
{
|
|
4878
|
+
"name": "position",
|
|
4879
|
+
"type": {
|
|
4880
|
+
"text": "\"start\" | \"end\""
|
|
4881
|
+
},
|
|
4882
|
+
"description": "The side of the field the trigger sits on.",
|
|
4883
|
+
"fieldName": "position",
|
|
4884
|
+
"default": "start"
|
|
4885
|
+
},
|
|
4886
|
+
{
|
|
4887
|
+
"name": "menu-label",
|
|
4888
|
+
"type": {
|
|
4889
|
+
"text": "string"
|
|
4890
|
+
},
|
|
4891
|
+
"description": "The trigger's accessible name, read with the current mode (\"Mode: File\").",
|
|
4892
|
+
"fieldName": "menuLabel",
|
|
4893
|
+
"default": "Mode"
|
|
4894
|
+
},
|
|
4895
|
+
{
|
|
4896
|
+
"name": "native-menu",
|
|
4897
|
+
"type": {
|
|
4898
|
+
"text": "boolean"
|
|
4899
|
+
},
|
|
4900
|
+
"description": "With a native host (a std/ui window with the bridge), the system's menu (no descriptions there).",
|
|
4901
|
+
"fieldName": "nativeMenu"
|
|
4902
|
+
},
|
|
4903
|
+
{
|
|
4904
|
+
"name": "value",
|
|
4905
|
+
"type": {
|
|
4906
|
+
"text": "string"
|
|
4907
|
+
},
|
|
4908
|
+
"description": "Current value. The value attribute is the initial value (restored on form reset).",
|
|
4909
|
+
"fieldName": "value"
|
|
4910
|
+
},
|
|
4911
|
+
{
|
|
4912
|
+
"name": "type",
|
|
4913
|
+
"type": {
|
|
4914
|
+
"text": "\"text\" | \"email\" | \"password\" | \"search\" | \"number\" | \"url\" | \"tel\""
|
|
4915
|
+
},
|
|
4916
|
+
"description": "Input type.",
|
|
4917
|
+
"fieldName": "type",
|
|
4918
|
+
"default": "text"
|
|
4919
|
+
},
|
|
4920
|
+
{
|
|
4921
|
+
"name": "name",
|
|
4922
|
+
"type": {
|
|
4923
|
+
"text": "string"
|
|
4924
|
+
},
|
|
4925
|
+
"description": "Form field name.",
|
|
4926
|
+
"fieldName": "name"
|
|
4927
|
+
},
|
|
4928
|
+
{
|
|
4929
|
+
"name": "label",
|
|
4930
|
+
"type": {
|
|
4931
|
+
"text": "string"
|
|
4932
|
+
},
|
|
4933
|
+
"description": "Visible label (also the accessible name).",
|
|
4934
|
+
"fieldName": "label"
|
|
4935
|
+
},
|
|
4936
|
+
{
|
|
4937
|
+
"name": "description",
|
|
4938
|
+
"type": {
|
|
4939
|
+
"text": "string"
|
|
4940
|
+
},
|
|
4941
|
+
"description": "Help text under the label.",
|
|
4942
|
+
"fieldName": "description"
|
|
4491
4943
|
},
|
|
4492
4944
|
{
|
|
4493
|
-
"name": "
|
|
4945
|
+
"name": "description-position",
|
|
4494
4946
|
"type": {
|
|
4495
|
-
"text": "
|
|
4947
|
+
"text": "\"above\" | \"below\""
|
|
4496
4948
|
},
|
|
4497
|
-
"description": "
|
|
4949
|
+
"description": "The description before the control (help first) or after it, with the error (fields in a row stay aligned).",
|
|
4950
|
+
"fieldName": "descriptionPosition",
|
|
4951
|
+
"default": "above"
|
|
4498
4952
|
},
|
|
4499
4953
|
{
|
|
4500
|
-
"name": "
|
|
4954
|
+
"name": "error",
|
|
4501
4955
|
"type": {
|
|
4502
4956
|
"text": "string"
|
|
4503
4957
|
},
|
|
4504
|
-
"description": "
|
|
4958
|
+
"description": "Error text; marks the field invalid (display only — does not block submit).",
|
|
4959
|
+
"fieldName": "error"
|
|
4505
4960
|
},
|
|
4506
4961
|
{
|
|
4507
|
-
"name": "
|
|
4962
|
+
"name": "placeholder",
|
|
4508
4963
|
"type": {
|
|
4509
4964
|
"text": "string"
|
|
4510
4965
|
},
|
|
4511
|
-
"description": "
|
|
4966
|
+
"description": "Placeholder text.",
|
|
4967
|
+
"fieldName": "placeholder"
|
|
4512
4968
|
},
|
|
4513
4969
|
{
|
|
4514
|
-
"name": "
|
|
4970
|
+
"name": "required",
|
|
4515
4971
|
"type": {
|
|
4516
|
-
"text": "
|
|
4972
|
+
"text": "boolean"
|
|
4517
4973
|
},
|
|
4518
|
-
"description": "
|
|
4974
|
+
"description": "Required for form submission; shows an asterisk.",
|
|
4975
|
+
"fieldName": "required"
|
|
4519
4976
|
},
|
|
4520
4977
|
{
|
|
4521
|
-
"name": "
|
|
4978
|
+
"name": "disabled",
|
|
4522
4979
|
"type": {
|
|
4523
|
-
"text": "
|
|
4980
|
+
"text": "boolean"
|
|
4524
4981
|
},
|
|
4525
|
-
"description": "
|
|
4982
|
+
"description": "Not editable nor submitted.",
|
|
4983
|
+
"fieldName": "disabled"
|
|
4526
4984
|
},
|
|
4527
4985
|
{
|
|
4528
|
-
"name": "
|
|
4986
|
+
"name": "readonly",
|
|
4529
4987
|
"type": {
|
|
4530
|
-
"text": "
|
|
4988
|
+
"text": "boolean"
|
|
4531
4989
|
},
|
|
4532
|
-
"description": "
|
|
4990
|
+
"description": "Not editable, still submitted.",
|
|
4991
|
+
"fieldName": "readonly"
|
|
4533
4992
|
},
|
|
4534
4993
|
{
|
|
4535
|
-
"name": "
|
|
4994
|
+
"name": "size",
|
|
4536
4995
|
"type": {
|
|
4537
|
-
"text": "
|
|
4996
|
+
"text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\""
|
|
4538
4997
|
},
|
|
4539
|
-
"description": "
|
|
4998
|
+
"description": "Height and font size.",
|
|
4999
|
+
"fieldName": "size",
|
|
5000
|
+
"default": "sm"
|
|
4540
5001
|
},
|
|
4541
5002
|
{
|
|
4542
|
-
"name": "
|
|
5003
|
+
"name": "radius",
|
|
4543
5004
|
"type": {
|
|
4544
|
-
"text": "
|
|
5005
|
+
"text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\""
|
|
4545
5006
|
},
|
|
4546
|
-
"description": "
|
|
5007
|
+
"description": "Corner radius.",
|
|
5008
|
+
"fieldName": "radius"
|
|
4547
5009
|
},
|
|
4548
5010
|
{
|
|
4549
|
-
"name": "
|
|
5011
|
+
"name": "variant",
|
|
4550
5012
|
"type": {
|
|
4551
|
-
"text": "
|
|
5013
|
+
"text": "\"default\" | \"filled\" | \"unstyled\""
|
|
4552
5014
|
},
|
|
4553
|
-
"description": "
|
|
5015
|
+
"description": "Box style.",
|
|
5016
|
+
"fieldName": "variant",
|
|
5017
|
+
"default": "default"
|
|
4554
5018
|
},
|
|
4555
5019
|
{
|
|
4556
|
-
"name": "
|
|
5020
|
+
"name": "suggestions-label",
|
|
4557
5021
|
"type": {
|
|
4558
5022
|
"text": "string"
|
|
4559
5023
|
},
|
|
4560
|
-
"description": "
|
|
5024
|
+
"description": "Accessible name of the suggestion list.",
|
|
5025
|
+
"fieldName": "suggestionsLabel",
|
|
5026
|
+
"default": "Suggestions"
|
|
4561
5027
|
}
|
|
4562
5028
|
],
|
|
4563
5029
|
"members": [
|
|
5030
|
+
{
|
|
5031
|
+
"kind": "field",
|
|
5032
|
+
"name": "mode",
|
|
5033
|
+
"type": {
|
|
5034
|
+
"text": "string"
|
|
5035
|
+
},
|
|
5036
|
+
"description": "The chosen mode's value (default: the first). Setting it applies that mode without ray-mode-change.",
|
|
5037
|
+
"attribute": "mode",
|
|
5038
|
+
"reflects": true
|
|
5039
|
+
},
|
|
5040
|
+
{
|
|
5041
|
+
"kind": "field",
|
|
5042
|
+
"name": "options",
|
|
5043
|
+
"type": {
|
|
5044
|
+
"text": "ModeOption[]"
|
|
5045
|
+
},
|
|
5046
|
+
"description": "The modes; when not set, the <option> children."
|
|
5047
|
+
},
|
|
5048
|
+
{
|
|
5049
|
+
"kind": "field",
|
|
5050
|
+
"name": "display",
|
|
5051
|
+
"type": {
|
|
5052
|
+
"text": "\"label\" | \"icon\" | \"both\""
|
|
5053
|
+
},
|
|
5054
|
+
"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.",
|
|
5055
|
+
"attribute": "display",
|
|
5056
|
+
"reflects": true
|
|
5057
|
+
},
|
|
5058
|
+
{
|
|
5059
|
+
"kind": "field",
|
|
5060
|
+
"name": "position",
|
|
5061
|
+
"type": {
|
|
5062
|
+
"text": "\"start\" | \"end\""
|
|
5063
|
+
},
|
|
5064
|
+
"description": "The side of the field the trigger sits on.",
|
|
5065
|
+
"attribute": "position",
|
|
5066
|
+
"reflects": true,
|
|
5067
|
+
"default": "start"
|
|
5068
|
+
},
|
|
5069
|
+
{
|
|
5070
|
+
"kind": "field",
|
|
5071
|
+
"name": "menuLabel",
|
|
5072
|
+
"type": {
|
|
5073
|
+
"text": "string"
|
|
5074
|
+
},
|
|
5075
|
+
"description": "The trigger's accessible name, read with the current mode (\"Mode: File\").",
|
|
5076
|
+
"attribute": "menu-label",
|
|
5077
|
+
"reflects": false,
|
|
5078
|
+
"default": "Mode"
|
|
5079
|
+
},
|
|
5080
|
+
{
|
|
5081
|
+
"kind": "field",
|
|
5082
|
+
"name": "nativeMenu",
|
|
5083
|
+
"type": {
|
|
5084
|
+
"text": "boolean"
|
|
5085
|
+
},
|
|
5086
|
+
"description": "With a native host (a std/ui window with the bridge), the system's menu (no descriptions there).",
|
|
5087
|
+
"attribute": "native-menu",
|
|
5088
|
+
"reflects": true
|
|
5089
|
+
},
|
|
4564
5090
|
{
|
|
4565
5091
|
"kind": "field",
|
|
4566
5092
|
"name": "value",
|
|
@@ -4705,13 +5231,64 @@
|
|
|
4705
5231
|
"reflects": true,
|
|
4706
5232
|
"default": "default"
|
|
4707
5233
|
},
|
|
5234
|
+
{
|
|
5235
|
+
"kind": "field",
|
|
5236
|
+
"name": "highlight",
|
|
5237
|
+
"type": {
|
|
5238
|
+
"text": "((text: string) => HighlightRange[]) | null"
|
|
5239
|
+
},
|
|
5240
|
+
"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."
|
|
5241
|
+
},
|
|
5242
|
+
{
|
|
5243
|
+
"kind": "field",
|
|
5244
|
+
"name": "complete",
|
|
5245
|
+
"type": {
|
|
5246
|
+
"text": "((text: string, caret: number) => CompletionResult | null | Promise<CompletionResult | null>) | null"
|
|
5247
|
+
},
|
|
5248
|
+
"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)."
|
|
5249
|
+
},
|
|
5250
|
+
{
|
|
5251
|
+
"kind": "field",
|
|
5252
|
+
"name": "suggestionsLabel",
|
|
5253
|
+
"type": {
|
|
5254
|
+
"text": "string"
|
|
5255
|
+
},
|
|
5256
|
+
"description": "Accessible name of the suggestion list.",
|
|
5257
|
+
"attribute": "suggestions-label",
|
|
5258
|
+
"reflects": false,
|
|
5259
|
+
"default": "Suggestions"
|
|
5260
|
+
},
|
|
5261
|
+
{
|
|
5262
|
+
"kind": "field",
|
|
5263
|
+
"name": "modes",
|
|
5264
|
+
"description": "The modes in use."
|
|
5265
|
+
},
|
|
5266
|
+
{
|
|
5267
|
+
"kind": "field",
|
|
5268
|
+
"name": "currentOption",
|
|
5269
|
+
"description": "The chosen mode."
|
|
5270
|
+
},
|
|
4708
5271
|
{
|
|
4709
5272
|
"kind": "method",
|
|
4710
|
-
"name": "
|
|
4711
|
-
"description": "
|
|
5273
|
+
"name": "choose",
|
|
5274
|
+
"description": "Chooses a mode as the user would (fires ray-mode-change)."
|
|
4712
5275
|
}
|
|
4713
5276
|
],
|
|
4714
5277
|
"events": [
|
|
5278
|
+
{
|
|
5279
|
+
"name": "ray-mode-change",
|
|
5280
|
+
"type": {
|
|
5281
|
+
"text": "CustomEvent<{ mode: string; previous: string | null; option: ModeOption }>"
|
|
5282
|
+
},
|
|
5283
|
+
"description": "The user chose a mode (mode is already the new one); cancelable: preventDefault keeps the previous mode."
|
|
5284
|
+
},
|
|
5285
|
+
{
|
|
5286
|
+
"name": "ray-complete",
|
|
5287
|
+
"type": {
|
|
5288
|
+
"text": "CustomEvent<{ item: CompletionItem; from: number; to: number }>"
|
|
5289
|
+
},
|
|
5290
|
+
"description": "A suggestion was accepted (the text already has it)."
|
|
5291
|
+
},
|
|
4715
5292
|
{
|
|
4716
5293
|
"name": "input",
|
|
4717
5294
|
"type": {
|
|
@@ -4727,36 +5304,23 @@
|
|
|
4727
5304
|
"description": "When an edit is committed (blur, Enter)."
|
|
4728
5305
|
}
|
|
4729
5306
|
],
|
|
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
|
-
],
|
|
5307
|
+
"slots": [],
|
|
4740
5308
|
"cssParts": [
|
|
4741
5309
|
{
|
|
4742
|
-
"name": "
|
|
4743
|
-
"description": "The
|
|
4744
|
-
},
|
|
4745
|
-
{
|
|
4746
|
-
"name": "wrapper",
|
|
4747
|
-
"description": "The box around the input and sections."
|
|
5310
|
+
"name": "trigger",
|
|
5311
|
+
"description": "The button that opens the menu."
|
|
4748
5312
|
},
|
|
4749
5313
|
{
|
|
4750
|
-
"name": "
|
|
4751
|
-
"description": "The
|
|
5314
|
+
"name": "trigger-icon",
|
|
5315
|
+
"description": "The current mode's icon in the trigger."
|
|
4752
5316
|
},
|
|
4753
5317
|
{
|
|
4754
|
-
"name": "
|
|
4755
|
-
"description": "The
|
|
5318
|
+
"name": "trigger-label",
|
|
5319
|
+
"description": "The current mode's hint or label in the trigger."
|
|
4756
5320
|
},
|
|
4757
5321
|
{
|
|
4758
|
-
"name": "
|
|
4759
|
-
"description": "The
|
|
5322
|
+
"name": "menu",
|
|
5323
|
+
"description": "The ray-menu of modes."
|
|
4760
5324
|
}
|
|
4761
5325
|
]
|
|
4762
5326
|
}
|
|
@@ -4764,18 +5328,18 @@
|
|
|
4764
5328
|
"exports": [
|
|
4765
5329
|
{
|
|
4766
5330
|
"kind": "js",
|
|
4767
|
-
"name": "
|
|
5331
|
+
"name": "RayModeInput",
|
|
4768
5332
|
"declaration": {
|
|
4769
|
-
"name": "
|
|
4770
|
-
"module": "components/input/input.js"
|
|
5333
|
+
"name": "RayModeInput",
|
|
5334
|
+
"module": "components/mode-input/mode-input.js"
|
|
4771
5335
|
}
|
|
4772
5336
|
},
|
|
4773
5337
|
{
|
|
4774
5338
|
"kind": "custom-element-definition",
|
|
4775
|
-
"name": "ray-input",
|
|
5339
|
+
"name": "ray-mode-input",
|
|
4776
5340
|
"declaration": {
|
|
4777
|
-
"name": "
|
|
4778
|
-
"module": "components/input/input.js"
|
|
5341
|
+
"name": "RayModeInput",
|
|
5342
|
+
"module": "components/mode-input/mode-input.js"
|
|
4779
5343
|
}
|
|
4780
5344
|
}
|
|
4781
5345
|
]
|
|
@@ -5494,6 +6058,15 @@
|
|
|
5494
6058
|
"description": "Box style.",
|
|
5495
6059
|
"fieldName": "variant",
|
|
5496
6060
|
"default": "default"
|
|
6061
|
+
},
|
|
6062
|
+
{
|
|
6063
|
+
"name": "suggestions-label",
|
|
6064
|
+
"type": {
|
|
6065
|
+
"text": "string"
|
|
6066
|
+
},
|
|
6067
|
+
"description": "Accessible name of the suggestion list.",
|
|
6068
|
+
"fieldName": "suggestionsLabel",
|
|
6069
|
+
"default": "Suggestions"
|
|
5497
6070
|
}
|
|
5498
6071
|
],
|
|
5499
6072
|
"members": [
|
|
@@ -5672,6 +6245,33 @@
|
|
|
5672
6245
|
"attribute": "variant",
|
|
5673
6246
|
"reflects": true,
|
|
5674
6247
|
"default": "default"
|
|
6248
|
+
},
|
|
6249
|
+
{
|
|
6250
|
+
"kind": "field",
|
|
6251
|
+
"name": "highlight",
|
|
6252
|
+
"type": {
|
|
6253
|
+
"text": "((text: string) => HighlightRange[]) | null"
|
|
6254
|
+
},
|
|
6255
|
+
"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."
|
|
6256
|
+
},
|
|
6257
|
+
{
|
|
6258
|
+
"kind": "field",
|
|
6259
|
+
"name": "complete",
|
|
6260
|
+
"type": {
|
|
6261
|
+
"text": "((text: string, caret: number) => CompletionResult | null | Promise<CompletionResult | null>) | null"
|
|
6262
|
+
},
|
|
6263
|
+
"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)."
|
|
6264
|
+
},
|
|
6265
|
+
{
|
|
6266
|
+
"kind": "field",
|
|
6267
|
+
"name": "suggestionsLabel",
|
|
6268
|
+
"type": {
|
|
6269
|
+
"text": "string"
|
|
6270
|
+
},
|
|
6271
|
+
"description": "Accessible name of the suggestion list.",
|
|
6272
|
+
"attribute": "suggestions-label",
|
|
6273
|
+
"reflects": false,
|
|
6274
|
+
"default": "Suggestions"
|
|
5675
6275
|
}
|
|
5676
6276
|
],
|
|
5677
6277
|
"events": [
|
|
@@ -5682,6 +6282,13 @@
|
|
|
5682
6282
|
},
|
|
5683
6283
|
"description": "The user showed or hid the password."
|
|
5684
6284
|
},
|
|
6285
|
+
{
|
|
6286
|
+
"name": "ray-complete",
|
|
6287
|
+
"type": {
|
|
6288
|
+
"text": "CustomEvent<{ item: CompletionItem; from: number; to: number }>"
|
|
6289
|
+
},
|
|
6290
|
+
"description": "A suggestion was accepted (the text already has it)."
|
|
6291
|
+
},
|
|
5685
6292
|
{
|
|
5686
6293
|
"name": "input",
|
|
5687
6294
|
"type": {
|
|
@@ -5888,6 +6495,15 @@
|
|
|
5888
6495
|
"description": "Box style.",
|
|
5889
6496
|
"fieldName": "variant",
|
|
5890
6497
|
"default": "default"
|
|
6498
|
+
},
|
|
6499
|
+
{
|
|
6500
|
+
"name": "suggestions-label",
|
|
6501
|
+
"type": {
|
|
6502
|
+
"text": "string"
|
|
6503
|
+
},
|
|
6504
|
+
"description": "Accessible name of the suggestion list.",
|
|
6505
|
+
"fieldName": "suggestionsLabel",
|
|
6506
|
+
"default": "Suggestions"
|
|
5891
6507
|
}
|
|
5892
6508
|
],
|
|
5893
6509
|
"members": [
|
|
@@ -6077,6 +6693,33 @@
|
|
|
6077
6693
|
"reflects": true,
|
|
6078
6694
|
"default": "default"
|
|
6079
6695
|
},
|
|
6696
|
+
{
|
|
6697
|
+
"kind": "field",
|
|
6698
|
+
"name": "highlight",
|
|
6699
|
+
"type": {
|
|
6700
|
+
"text": "((text: string) => HighlightRange[]) | null"
|
|
6701
|
+
},
|
|
6702
|
+
"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."
|
|
6703
|
+
},
|
|
6704
|
+
{
|
|
6705
|
+
"kind": "field",
|
|
6706
|
+
"name": "complete",
|
|
6707
|
+
"type": {
|
|
6708
|
+
"text": "((text: string, caret: number) => CompletionResult | null | Promise<CompletionResult | null>) | null"
|
|
6709
|
+
},
|
|
6710
|
+
"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)."
|
|
6711
|
+
},
|
|
6712
|
+
{
|
|
6713
|
+
"kind": "field",
|
|
6714
|
+
"name": "suggestionsLabel",
|
|
6715
|
+
"type": {
|
|
6716
|
+
"text": "string"
|
|
6717
|
+
},
|
|
6718
|
+
"description": "Accessible name of the suggestion list.",
|
|
6719
|
+
"attribute": "suggestions-label",
|
|
6720
|
+
"reflects": false,
|
|
6721
|
+
"default": "Suggestions"
|
|
6722
|
+
},
|
|
6080
6723
|
{
|
|
6081
6724
|
"kind": "field",
|
|
6082
6725
|
"name": "canBrowse",
|
|
@@ -6103,6 +6746,13 @@
|
|
|
6103
6746
|
},
|
|
6104
6747
|
"description": "The system dialog failed."
|
|
6105
6748
|
},
|
|
6749
|
+
{
|
|
6750
|
+
"name": "ray-complete",
|
|
6751
|
+
"type": {
|
|
6752
|
+
"text": "CustomEvent<{ item: CompletionItem; from: number; to: number }>"
|
|
6753
|
+
},
|
|
6754
|
+
"description": "A suggestion was accepted (the text already has it)."
|
|
6755
|
+
},
|
|
6106
6756
|
{
|
|
6107
6757
|
"name": "input",
|
|
6108
6758
|
"type": {
|
|
@@ -8643,6 +9293,15 @@
|
|
|
8643
9293
|
"fieldName": "variant",
|
|
8644
9294
|
"default": "default"
|
|
8645
9295
|
},
|
|
9296
|
+
{
|
|
9297
|
+
"name": "suggestions-label",
|
|
9298
|
+
"type": {
|
|
9299
|
+
"text": "string"
|
|
9300
|
+
},
|
|
9301
|
+
"description": "Accessible name of the suggestion list.",
|
|
9302
|
+
"fieldName": "suggestionsLabel",
|
|
9303
|
+
"default": "Suggestions"
|
|
9304
|
+
},
|
|
8646
9305
|
{
|
|
8647
9306
|
"name": "radius",
|
|
8648
9307
|
"type": {
|
|
@@ -8832,6 +9491,33 @@
|
|
|
8832
9491
|
"reflects": true,
|
|
8833
9492
|
"default": "default"
|
|
8834
9493
|
},
|
|
9494
|
+
{
|
|
9495
|
+
"kind": "field",
|
|
9496
|
+
"name": "highlight",
|
|
9497
|
+
"type": {
|
|
9498
|
+
"text": "((text: string) => HighlightRange[]) | null"
|
|
9499
|
+
},
|
|
9500
|
+
"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."
|
|
9501
|
+
},
|
|
9502
|
+
{
|
|
9503
|
+
"kind": "field",
|
|
9504
|
+
"name": "complete",
|
|
9505
|
+
"type": {
|
|
9506
|
+
"text": "((text: string, caret: number) => CompletionResult | null | Promise<CompletionResult | null>) | null"
|
|
9507
|
+
},
|
|
9508
|
+
"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)."
|
|
9509
|
+
},
|
|
9510
|
+
{
|
|
9511
|
+
"kind": "field",
|
|
9512
|
+
"name": "suggestionsLabel",
|
|
9513
|
+
"type": {
|
|
9514
|
+
"text": "string"
|
|
9515
|
+
},
|
|
9516
|
+
"description": "Accessible name of the suggestion list.",
|
|
9517
|
+
"attribute": "suggestions-label",
|
|
9518
|
+
"reflects": false,
|
|
9519
|
+
"default": "Suggestions"
|
|
9520
|
+
},
|
|
8835
9521
|
{
|
|
8836
9522
|
"kind": "field",
|
|
8837
9523
|
"name": "radius",
|
|
@@ -8841,9 +9527,21 @@
|
|
|
8841
9527
|
"description": "Corner radius.",
|
|
8842
9528
|
"attribute": "radius",
|
|
8843
9529
|
"reflects": true
|
|
9530
|
+
},
|
|
9531
|
+
{
|
|
9532
|
+
"kind": "method",
|
|
9533
|
+
"name": "refreshHighlight",
|
|
9534
|
+
"description": "Runs highlight again, when what it marks changed but the text did not."
|
|
8844
9535
|
}
|
|
8845
9536
|
],
|
|
8846
9537
|
"events": [
|
|
9538
|
+
{
|
|
9539
|
+
"name": "ray-complete",
|
|
9540
|
+
"type": {
|
|
9541
|
+
"text": "CustomEvent<{ item: CompletionItem; from: number; to: number }>"
|
|
9542
|
+
},
|
|
9543
|
+
"description": "A suggestion was accepted (the text already has it)."
|
|
9544
|
+
},
|
|
8847
9545
|
{
|
|
8848
9546
|
"name": "input",
|
|
8849
9547
|
"type": {
|
|
@@ -8868,6 +9566,22 @@
|
|
|
8868
9566
|
{
|
|
8869
9567
|
"name": "wrapper",
|
|
8870
9568
|
"description": "The box."
|
|
9569
|
+
},
|
|
9570
|
+
{
|
|
9571
|
+
"name": "suggestions",
|
|
9572
|
+
"description": "The suggestion list (a listbox in the top layer)."
|
|
9573
|
+
},
|
|
9574
|
+
{
|
|
9575
|
+
"name": "suggestion",
|
|
9576
|
+
"description": "Each suggestion ([aria-selected] when active)."
|
|
9577
|
+
},
|
|
9578
|
+
{
|
|
9579
|
+
"name": "highlight",
|
|
9580
|
+
"description": "Each marked range (also highlight-<kind> for a range with a kind)."
|
|
9581
|
+
},
|
|
9582
|
+
{
|
|
9583
|
+
"name": "text-layer",
|
|
9584
|
+
"description": "The layer behind the text that holds the marks."
|
|
8871
9585
|
}
|
|
8872
9586
|
]
|
|
8873
9587
|
}
|
|
@@ -9528,22 +10242,313 @@
|
|
|
9528
10242
|
"description": "The text."
|
|
9529
10243
|
},
|
|
9530
10244
|
{
|
|
9531
|
-
"name": "icon",
|
|
9532
|
-
"description": "An icon before the text."
|
|
10245
|
+
"name": "icon",
|
|
10246
|
+
"description": "An icon before the text."
|
|
10247
|
+
}
|
|
10248
|
+
],
|
|
10249
|
+
"cssParts": [
|
|
10250
|
+
{
|
|
10251
|
+
"name": "link",
|
|
10252
|
+
"description": "The link (or the text of the current page)."
|
|
10253
|
+
},
|
|
10254
|
+
{
|
|
10255
|
+
"name": "separator",
|
|
10256
|
+
"description": "The separator before it."
|
|
10257
|
+
},
|
|
10258
|
+
{
|
|
10259
|
+
"name": "more",
|
|
10260
|
+
"description": "The \"…\" button of a collapsed path."
|
|
10261
|
+
}
|
|
10262
|
+
]
|
|
10263
|
+
}
|
|
10264
|
+
],
|
|
10265
|
+
"exports": [
|
|
10266
|
+
{
|
|
10267
|
+
"kind": "js",
|
|
10268
|
+
"name": "RayBreadcrumbs",
|
|
10269
|
+
"declaration": {
|
|
10270
|
+
"name": "RayBreadcrumbs",
|
|
10271
|
+
"module": "components/breadcrumbs/breadcrumbs.js"
|
|
10272
|
+
}
|
|
10273
|
+
},
|
|
10274
|
+
{
|
|
10275
|
+
"kind": "custom-element-definition",
|
|
10276
|
+
"name": "ray-breadcrumbs",
|
|
10277
|
+
"declaration": {
|
|
10278
|
+
"name": "RayBreadcrumbs",
|
|
10279
|
+
"module": "components/breadcrumbs/breadcrumbs.js"
|
|
10280
|
+
}
|
|
10281
|
+
},
|
|
10282
|
+
{
|
|
10283
|
+
"kind": "js",
|
|
10284
|
+
"name": "RayBreadcrumb",
|
|
10285
|
+
"declaration": {
|
|
10286
|
+
"name": "RayBreadcrumb",
|
|
10287
|
+
"module": "components/breadcrumbs/breadcrumbs.js"
|
|
10288
|
+
}
|
|
10289
|
+
},
|
|
10290
|
+
{
|
|
10291
|
+
"kind": "custom-element-definition",
|
|
10292
|
+
"name": "ray-breadcrumb",
|
|
10293
|
+
"declaration": {
|
|
10294
|
+
"name": "RayBreadcrumb",
|
|
10295
|
+
"module": "components/breadcrumbs/breadcrumbs.js"
|
|
10296
|
+
}
|
|
10297
|
+
}
|
|
10298
|
+
]
|
|
10299
|
+
},
|
|
10300
|
+
{
|
|
10301
|
+
"kind": "javascript-module",
|
|
10302
|
+
"path": "components/doc-tabs/doc-tabs.js",
|
|
10303
|
+
"declarations": [
|
|
10304
|
+
{
|
|
10305
|
+
"kind": "class",
|
|
10306
|
+
"name": "RayDocTabs",
|
|
10307
|
+
"tagName": "ray-doc-tabs",
|
|
10308
|
+
"customElement": true,
|
|
10309
|
+
"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.",
|
|
10310
|
+
"superclass": {
|
|
10311
|
+
"name": "RayElement"
|
|
10312
|
+
},
|
|
10313
|
+
"attributes": [
|
|
10314
|
+
{
|
|
10315
|
+
"name": "value",
|
|
10316
|
+
"type": {
|
|
10317
|
+
"text": "string"
|
|
10318
|
+
},
|
|
10319
|
+
"description": "Value of the selected tab (default: the first).",
|
|
10320
|
+
"fieldName": "value"
|
|
10321
|
+
},
|
|
10322
|
+
{
|
|
10323
|
+
"name": "panel",
|
|
10324
|
+
"type": {
|
|
10325
|
+
"text": "string"
|
|
10326
|
+
},
|
|
10327
|
+
"description": "The id of the shared panel: it gets role=tabpanel and aria-labelledby the selected tab; the tabs get aria-controls.",
|
|
10328
|
+
"fieldName": "panel"
|
|
10329
|
+
},
|
|
10330
|
+
{
|
|
10331
|
+
"name": "label",
|
|
10332
|
+
"type": {
|
|
10333
|
+
"text": "string"
|
|
10334
|
+
},
|
|
10335
|
+
"description": "Accessible name of the tab list (\"Open requests\").",
|
|
10336
|
+
"fieldName": "label"
|
|
10337
|
+
},
|
|
10338
|
+
{
|
|
10339
|
+
"name": "close-label",
|
|
10340
|
+
"type": {
|
|
10341
|
+
"text": "string"
|
|
10342
|
+
},
|
|
10343
|
+
"description": "Tooltip of the ×.",
|
|
10344
|
+
"fieldName": "closeLabel",
|
|
10345
|
+
"default": "Close"
|
|
10346
|
+
},
|
|
10347
|
+
{
|
|
10348
|
+
"name": "dirty-label",
|
|
10349
|
+
"type": {
|
|
10350
|
+
"text": "string"
|
|
10351
|
+
},
|
|
10352
|
+
"description": "What assistive technology hears after the name of a dirty tab.",
|
|
10353
|
+
"fieldName": "dirtyLabel",
|
|
10354
|
+
"default": "Unsaved changes"
|
|
10355
|
+
}
|
|
10356
|
+
],
|
|
10357
|
+
"members": [
|
|
10358
|
+
{
|
|
10359
|
+
"kind": "field",
|
|
10360
|
+
"name": "value",
|
|
10361
|
+
"type": {
|
|
10362
|
+
"text": "string"
|
|
10363
|
+
},
|
|
10364
|
+
"description": "Value of the selected tab (default: the first).",
|
|
10365
|
+
"attribute": "value",
|
|
10366
|
+
"reflects": false
|
|
10367
|
+
},
|
|
10368
|
+
{
|
|
10369
|
+
"kind": "field",
|
|
10370
|
+
"name": "panel",
|
|
10371
|
+
"type": {
|
|
10372
|
+
"text": "string"
|
|
10373
|
+
},
|
|
10374
|
+
"description": "The id of the shared panel: it gets role=tabpanel and aria-labelledby the selected tab; the tabs get aria-controls.",
|
|
10375
|
+
"attribute": "panel",
|
|
10376
|
+
"reflects": false
|
|
10377
|
+
},
|
|
10378
|
+
{
|
|
10379
|
+
"kind": "field",
|
|
10380
|
+
"name": "label",
|
|
10381
|
+
"type": {
|
|
10382
|
+
"text": "string"
|
|
10383
|
+
},
|
|
10384
|
+
"description": "Accessible name of the tab list (\"Open requests\").",
|
|
10385
|
+
"attribute": "label",
|
|
10386
|
+
"reflects": false
|
|
10387
|
+
},
|
|
10388
|
+
{
|
|
10389
|
+
"kind": "field",
|
|
10390
|
+
"name": "closeLabel",
|
|
10391
|
+
"type": {
|
|
10392
|
+
"text": "string"
|
|
10393
|
+
},
|
|
10394
|
+
"description": "Tooltip of the ×.",
|
|
10395
|
+
"attribute": "close-label",
|
|
10396
|
+
"reflects": false,
|
|
10397
|
+
"default": "Close"
|
|
10398
|
+
},
|
|
10399
|
+
{
|
|
10400
|
+
"kind": "field",
|
|
10401
|
+
"name": "dirtyLabel",
|
|
10402
|
+
"type": {
|
|
10403
|
+
"text": "string"
|
|
10404
|
+
},
|
|
10405
|
+
"description": "What assistive technology hears after the name of a dirty tab.",
|
|
10406
|
+
"attribute": "dirty-label",
|
|
10407
|
+
"reflects": false,
|
|
10408
|
+
"default": "Unsaved changes"
|
|
10409
|
+
},
|
|
10410
|
+
{
|
|
10411
|
+
"kind": "field",
|
|
10412
|
+
"name": "tabs",
|
|
10413
|
+
"description": "Its tabs, in order."
|
|
10414
|
+
},
|
|
10415
|
+
{
|
|
10416
|
+
"kind": "field",
|
|
10417
|
+
"name": "panelElement",
|
|
10418
|
+
"description": "The shared panel, found by the panel id."
|
|
10419
|
+
}
|
|
10420
|
+
],
|
|
10421
|
+
"events": [
|
|
10422
|
+
{
|
|
10423
|
+
"name": "change",
|
|
10424
|
+
"type": {
|
|
10425
|
+
"text": "Event"
|
|
10426
|
+
},
|
|
10427
|
+
"description": "The selected tab changed: a click, the arrow keys, or the selected tab removed."
|
|
10428
|
+
},
|
|
10429
|
+
{
|
|
10430
|
+
"name": "ray-request-close",
|
|
10431
|
+
"type": {
|
|
10432
|
+
"text": "CustomEvent<{ value: string; tab: RayDocTab; source: \"button\" | \"middle\" | \"key\" }>"
|
|
10433
|
+
},
|
|
10434
|
+
"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)."
|
|
10435
|
+
}
|
|
10436
|
+
],
|
|
10437
|
+
"slots": [
|
|
10438
|
+
{
|
|
10439
|
+
"name": "",
|
|
10440
|
+
"description": "ray-doc-tab elements."
|
|
10441
|
+
},
|
|
10442
|
+
{
|
|
10443
|
+
"name": "end",
|
|
10444
|
+
"description": "After the tabs, outside the scrolling list: a new-tab button."
|
|
10445
|
+
}
|
|
10446
|
+
],
|
|
10447
|
+
"cssParts": [
|
|
10448
|
+
{
|
|
10449
|
+
"name": "list",
|
|
10450
|
+
"description": "The tab list (it scrolls sideways when the tabs do not fit)."
|
|
10451
|
+
},
|
|
10452
|
+
{
|
|
10453
|
+
"name": "end",
|
|
10454
|
+
"description": "The end slot's box."
|
|
10455
|
+
}
|
|
10456
|
+
]
|
|
10457
|
+
},
|
|
10458
|
+
{
|
|
10459
|
+
"kind": "class",
|
|
10460
|
+
"name": "RayDocTab",
|
|
10461
|
+
"tagName": "ray-doc-tab",
|
|
10462
|
+
"customElement": true,
|
|
10463
|
+
"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.",
|
|
10464
|
+
"superclass": {
|
|
10465
|
+
"name": "RayElement"
|
|
10466
|
+
},
|
|
10467
|
+
"attributes": [
|
|
10468
|
+
{
|
|
10469
|
+
"name": "value",
|
|
10470
|
+
"type": {
|
|
10471
|
+
"text": "string"
|
|
10472
|
+
},
|
|
10473
|
+
"description": "Identifies the document (ray-doc-tabs value).",
|
|
10474
|
+
"fieldName": "value"
|
|
10475
|
+
},
|
|
10476
|
+
{
|
|
10477
|
+
"name": "dirty",
|
|
10478
|
+
"type": {
|
|
10479
|
+
"text": "boolean"
|
|
10480
|
+
},
|
|
10481
|
+
"description": "Unsaved changes: a dot in place of the ×, which comes back under the pointer.",
|
|
10482
|
+
"fieldName": "dirty"
|
|
10483
|
+
},
|
|
10484
|
+
{
|
|
10485
|
+
"name": "hide-close",
|
|
10486
|
+
"type": {
|
|
10487
|
+
"text": "boolean"
|
|
10488
|
+
},
|
|
10489
|
+
"description": "Cannot be closed: no ×, no middle click, no Delete.",
|
|
10490
|
+
"fieldName": "hideClose"
|
|
10491
|
+
}
|
|
10492
|
+
],
|
|
10493
|
+
"members": [
|
|
10494
|
+
{
|
|
10495
|
+
"kind": "field",
|
|
10496
|
+
"name": "value",
|
|
10497
|
+
"type": {
|
|
10498
|
+
"text": "string"
|
|
10499
|
+
},
|
|
10500
|
+
"description": "Identifies the document (ray-doc-tabs value).",
|
|
10501
|
+
"attribute": "value",
|
|
10502
|
+
"reflects": true
|
|
10503
|
+
},
|
|
10504
|
+
{
|
|
10505
|
+
"kind": "field",
|
|
10506
|
+
"name": "dirty",
|
|
10507
|
+
"type": {
|
|
10508
|
+
"text": "boolean"
|
|
10509
|
+
},
|
|
10510
|
+
"description": "Unsaved changes: a dot in place of the ×, which comes back under the pointer.",
|
|
10511
|
+
"attribute": "dirty",
|
|
10512
|
+
"reflects": true
|
|
10513
|
+
},
|
|
10514
|
+
{
|
|
10515
|
+
"kind": "field",
|
|
10516
|
+
"name": "hideClose",
|
|
10517
|
+
"type": {
|
|
10518
|
+
"text": "boolean"
|
|
10519
|
+
},
|
|
10520
|
+
"description": "Cannot be closed: no ×, no middle click, no Delete.",
|
|
10521
|
+
"attribute": "hide-close",
|
|
10522
|
+
"reflects": true
|
|
10523
|
+
}
|
|
10524
|
+
],
|
|
10525
|
+
"events": [],
|
|
10526
|
+
"slots": [
|
|
10527
|
+
{
|
|
10528
|
+
"name": "",
|
|
10529
|
+
"description": "The document's name."
|
|
10530
|
+
},
|
|
10531
|
+
{
|
|
10532
|
+
"name": "left",
|
|
10533
|
+
"description": "An icon or a tag (a file type, an HTTP method)."
|
|
9533
10534
|
}
|
|
9534
10535
|
],
|
|
9535
10536
|
"cssParts": [
|
|
9536
10537
|
{
|
|
9537
|
-
"name": "
|
|
9538
|
-
"description": "The
|
|
10538
|
+
"name": "label",
|
|
10539
|
+
"description": "The name."
|
|
9539
10540
|
},
|
|
9540
10541
|
{
|
|
9541
|
-
"name": "
|
|
9542
|
-
"description": "The
|
|
10542
|
+
"name": "left-section",
|
|
10543
|
+
"description": "The left slot's box."
|
|
9543
10544
|
},
|
|
9544
10545
|
{
|
|
9545
|
-
"name": "
|
|
9546
|
-
"description": "The
|
|
10546
|
+
"name": "close",
|
|
10547
|
+
"description": "The × (pointer only: it is not focusable)."
|
|
10548
|
+
},
|
|
10549
|
+
{
|
|
10550
|
+
"name": "dot",
|
|
10551
|
+
"description": "The unsaved mark."
|
|
9547
10552
|
}
|
|
9548
10553
|
]
|
|
9549
10554
|
}
|
|
@@ -9551,34 +10556,34 @@
|
|
|
9551
10556
|
"exports": [
|
|
9552
10557
|
{
|
|
9553
10558
|
"kind": "js",
|
|
9554
|
-
"name": "
|
|
10559
|
+
"name": "RayDocTabs",
|
|
9555
10560
|
"declaration": {
|
|
9556
|
-
"name": "
|
|
9557
|
-
"module": "components/
|
|
10561
|
+
"name": "RayDocTabs",
|
|
10562
|
+
"module": "components/doc-tabs/doc-tabs.js"
|
|
9558
10563
|
}
|
|
9559
10564
|
},
|
|
9560
10565
|
{
|
|
9561
10566
|
"kind": "custom-element-definition",
|
|
9562
|
-
"name": "ray-
|
|
10567
|
+
"name": "ray-doc-tabs",
|
|
9563
10568
|
"declaration": {
|
|
9564
|
-
"name": "
|
|
9565
|
-
"module": "components/
|
|
10569
|
+
"name": "RayDocTabs",
|
|
10570
|
+
"module": "components/doc-tabs/doc-tabs.js"
|
|
9566
10571
|
}
|
|
9567
10572
|
},
|
|
9568
10573
|
{
|
|
9569
10574
|
"kind": "js",
|
|
9570
|
-
"name": "
|
|
10575
|
+
"name": "RayDocTab",
|
|
9571
10576
|
"declaration": {
|
|
9572
|
-
"name": "
|
|
9573
|
-
"module": "components/
|
|
10577
|
+
"name": "RayDocTab",
|
|
10578
|
+
"module": "components/doc-tabs/doc-tabs.js"
|
|
9574
10579
|
}
|
|
9575
10580
|
},
|
|
9576
10581
|
{
|
|
9577
10582
|
"kind": "custom-element-definition",
|
|
9578
|
-
"name": "ray-
|
|
10583
|
+
"name": "ray-doc-tab",
|
|
9579
10584
|
"declaration": {
|
|
9580
|
-
"name": "
|
|
9581
|
-
"module": "components/
|
|
10585
|
+
"name": "RayDocTab",
|
|
10586
|
+
"module": "components/doc-tabs/doc-tabs.js"
|
|
9582
10587
|
}
|
|
9583
10588
|
}
|
|
9584
10589
|
]
|
|
@@ -10169,9 +11174,18 @@
|
|
|
10169
11174
|
"type": {
|
|
10170
11175
|
"text": "boolean"
|
|
10171
11176
|
},
|
|
10172
|
-
"description": "Wide screens: an icon rail
|
|
11177
|
+
"description": "Wide screens: collapsed as collapse says (an icon rail, or out of view).",
|
|
10173
11178
|
"fieldName": "collapsed"
|
|
10174
11179
|
},
|
|
11180
|
+
{
|
|
11181
|
+
"name": "collapse",
|
|
11182
|
+
"type": {
|
|
11183
|
+
"text": "\"icon\" | \"offcanvas\""
|
|
11184
|
+
},
|
|
11185
|
+
"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).",
|
|
11186
|
+
"fieldName": "collapse",
|
|
11187
|
+
"default": "icon"
|
|
11188
|
+
},
|
|
10175
11189
|
{
|
|
10176
11190
|
"name": "open",
|
|
10177
11191
|
"type": {
|
|
@@ -10231,6 +11245,49 @@
|
|
|
10231
11245
|
"description": "Accessible name of its navigation.",
|
|
10232
11246
|
"fieldName": "label",
|
|
10233
11247
|
"default": "Sidebar"
|
|
11248
|
+
},
|
|
11249
|
+
{
|
|
11250
|
+
"name": "resizable",
|
|
11251
|
+
"type": {
|
|
11252
|
+
"text": "boolean"
|
|
11253
|
+
},
|
|
11254
|
+
"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.",
|
|
11255
|
+
"fieldName": "resizable"
|
|
11256
|
+
},
|
|
11257
|
+
{
|
|
11258
|
+
"name": "min-width",
|
|
11259
|
+
"type": {
|
|
11260
|
+
"text": "number"
|
|
11261
|
+
},
|
|
11262
|
+
"description": "Narrowest width when resizing, in px.",
|
|
11263
|
+
"fieldName": "minWidth",
|
|
11264
|
+
"default": "192"
|
|
11265
|
+
},
|
|
11266
|
+
{
|
|
11267
|
+
"name": "max-width",
|
|
11268
|
+
"type": {
|
|
11269
|
+
"text": "number"
|
|
11270
|
+
},
|
|
11271
|
+
"description": "Widest width when resizing, in px.",
|
|
11272
|
+
"fieldName": "maxWidth",
|
|
11273
|
+
"default": "480"
|
|
11274
|
+
},
|
|
11275
|
+
{
|
|
11276
|
+
"name": "autosave",
|
|
11277
|
+
"type": {
|
|
11278
|
+
"text": "string"
|
|
11279
|
+
},
|
|
11280
|
+
"description": "A key: the resized width is saved in localStorage and restored. A later change of width wins.",
|
|
11281
|
+
"fieldName": "autosave"
|
|
11282
|
+
},
|
|
11283
|
+
{
|
|
11284
|
+
"name": "resize-label",
|
|
11285
|
+
"type": {
|
|
11286
|
+
"text": "string"
|
|
11287
|
+
},
|
|
11288
|
+
"description": "Accessible name of the resize edge.",
|
|
11289
|
+
"fieldName": "resizeLabel",
|
|
11290
|
+
"default": "Resize sidebar"
|
|
10234
11291
|
}
|
|
10235
11292
|
],
|
|
10236
11293
|
"members": [
|
|
@@ -10240,10 +11297,21 @@
|
|
|
10240
11297
|
"type": {
|
|
10241
11298
|
"text": "boolean"
|
|
10242
11299
|
},
|
|
10243
|
-
"description": "Wide screens: an icon rail
|
|
11300
|
+
"description": "Wide screens: collapsed as collapse says (an icon rail, or out of view).",
|
|
10244
11301
|
"attribute": "collapsed",
|
|
10245
11302
|
"reflects": true
|
|
10246
11303
|
},
|
|
11304
|
+
{
|
|
11305
|
+
"kind": "field",
|
|
11306
|
+
"name": "collapse",
|
|
11307
|
+
"type": {
|
|
11308
|
+
"text": "\"icon\" | \"offcanvas\""
|
|
11309
|
+
},
|
|
11310
|
+
"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).",
|
|
11311
|
+
"attribute": "collapse",
|
|
11312
|
+
"reflects": true,
|
|
11313
|
+
"default": "icon"
|
|
11314
|
+
},
|
|
10247
11315
|
{
|
|
10248
11316
|
"kind": "field",
|
|
10249
11317
|
"name": "open",
|
|
@@ -10318,6 +11386,59 @@
|
|
|
10318
11386
|
"reflects": false,
|
|
10319
11387
|
"default": "Sidebar"
|
|
10320
11388
|
},
|
|
11389
|
+
{
|
|
11390
|
+
"kind": "field",
|
|
11391
|
+
"name": "resizable",
|
|
11392
|
+
"type": {
|
|
11393
|
+
"text": "boolean"
|
|
11394
|
+
},
|
|
11395
|
+
"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.",
|
|
11396
|
+
"attribute": "resizable",
|
|
11397
|
+
"reflects": true
|
|
11398
|
+
},
|
|
11399
|
+
{
|
|
11400
|
+
"kind": "field",
|
|
11401
|
+
"name": "minWidth",
|
|
11402
|
+
"type": {
|
|
11403
|
+
"text": "number"
|
|
11404
|
+
},
|
|
11405
|
+
"description": "Narrowest width when resizing, in px.",
|
|
11406
|
+
"attribute": "min-width",
|
|
11407
|
+
"reflects": false,
|
|
11408
|
+
"default": "192"
|
|
11409
|
+
},
|
|
11410
|
+
{
|
|
11411
|
+
"kind": "field",
|
|
11412
|
+
"name": "maxWidth",
|
|
11413
|
+
"type": {
|
|
11414
|
+
"text": "number"
|
|
11415
|
+
},
|
|
11416
|
+
"description": "Widest width when resizing, in px.",
|
|
11417
|
+
"attribute": "max-width",
|
|
11418
|
+
"reflects": false,
|
|
11419
|
+
"default": "480"
|
|
11420
|
+
},
|
|
11421
|
+
{
|
|
11422
|
+
"kind": "field",
|
|
11423
|
+
"name": "autosave",
|
|
11424
|
+
"type": {
|
|
11425
|
+
"text": "string"
|
|
11426
|
+
},
|
|
11427
|
+
"description": "A key: the resized width is saved in localStorage and restored. A later change of width wins.",
|
|
11428
|
+
"attribute": "autosave",
|
|
11429
|
+
"reflects": false
|
|
11430
|
+
},
|
|
11431
|
+
{
|
|
11432
|
+
"kind": "field",
|
|
11433
|
+
"name": "resizeLabel",
|
|
11434
|
+
"type": {
|
|
11435
|
+
"text": "string"
|
|
11436
|
+
},
|
|
11437
|
+
"description": "Accessible name of the resize edge.",
|
|
11438
|
+
"attribute": "resize-label",
|
|
11439
|
+
"reflects": false,
|
|
11440
|
+
"default": "Resize sidebar"
|
|
11441
|
+
},
|
|
10321
11442
|
{
|
|
10322
11443
|
"kind": "method",
|
|
10323
11444
|
"name": "toggle",
|
|
@@ -10330,6 +11451,13 @@
|
|
|
10330
11451
|
}
|
|
10331
11452
|
],
|
|
10332
11453
|
"events": [
|
|
11454
|
+
{
|
|
11455
|
+
"name": "ray-resize",
|
|
11456
|
+
"type": {
|
|
11457
|
+
"text": "CustomEvent<{ width: number }>"
|
|
11458
|
+
},
|
|
11459
|
+
"description": "After a drag or a key resized it (resizable)."
|
|
11460
|
+
},
|
|
10333
11461
|
{
|
|
10334
11462
|
"name": "ray-toggle",
|
|
10335
11463
|
"type": {
|
|
@@ -10383,6 +11511,10 @@
|
|
|
10383
11511
|
"name": "footer",
|
|
10384
11512
|
"description": "The footer area."
|
|
10385
11513
|
},
|
|
11514
|
+
{
|
|
11515
|
+
"name": "resizer",
|
|
11516
|
+
"description": "The resize edge (a separator), shown when resizable."
|
|
11517
|
+
},
|
|
10386
11518
|
{
|
|
10387
11519
|
"name": "drawer",
|
|
10388
11520
|
"description": "The <dialog> used on narrow screens."
|
|
@@ -10905,7 +12037,7 @@
|
|
|
10905
12037
|
"name": "RayTabs",
|
|
10906
12038
|
"tagName": "ray-tabs",
|
|
10907
12039
|
"customElement": true,
|
|
10908
|
-
"description": "
|
|
12040
|
+
"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
12041
|
"superclass": {
|
|
10910
12042
|
"name": "RayElement"
|
|
10911
12043
|
},
|
|
@@ -10944,6 +12076,15 @@
|
|
|
10944
12076
|
"description": "Active indicator color.",
|
|
10945
12077
|
"fieldName": "color"
|
|
10946
12078
|
},
|
|
12079
|
+
{
|
|
12080
|
+
"name": "size",
|
|
12081
|
+
"type": {
|
|
12082
|
+
"text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\""
|
|
12083
|
+
},
|
|
12084
|
+
"description": "Height, font size and padding of the tabs (xs for a compact bar).",
|
|
12085
|
+
"fieldName": "size",
|
|
12086
|
+
"default": "sm"
|
|
12087
|
+
},
|
|
10947
12088
|
{
|
|
10948
12089
|
"name": "activation",
|
|
10949
12090
|
"type": {
|
|
@@ -11005,6 +12146,17 @@
|
|
|
11005
12146
|
"attribute": "color",
|
|
11006
12147
|
"reflects": true
|
|
11007
12148
|
},
|
|
12149
|
+
{
|
|
12150
|
+
"kind": "field",
|
|
12151
|
+
"name": "size",
|
|
12152
|
+
"type": {
|
|
12153
|
+
"text": "\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\""
|
|
12154
|
+
},
|
|
12155
|
+
"description": "Height, font size and padding of the tabs (xs for a compact bar).",
|
|
12156
|
+
"attribute": "size",
|
|
12157
|
+
"reflects": true,
|
|
12158
|
+
"default": "sm"
|
|
12159
|
+
},
|
|
11008
12160
|
{
|
|
11009
12161
|
"kind": "field",
|
|
11010
12162
|
"name": "activation",
|
|
@@ -11055,7 +12207,7 @@
|
|
|
11055
12207
|
"cssParts": [
|
|
11056
12208
|
{
|
|
11057
12209
|
"name": "list",
|
|
11058
|
-
"description": "The tab list."
|
|
12210
|
+
"description": "The tab list (it scrolls sideways when the tabs do not fit)."
|
|
11059
12211
|
},
|
|
11060
12212
|
{
|
|
11061
12213
|
"name": "panels",
|
|
@@ -11088,6 +12240,14 @@
|
|
|
11088
12240
|
},
|
|
11089
12241
|
"description": "Cannot be activated.",
|
|
11090
12242
|
"fieldName": "disabled"
|
|
12243
|
+
},
|
|
12244
|
+
{
|
|
12245
|
+
"name": "count",
|
|
12246
|
+
"type": {
|
|
12247
|
+
"text": "string"
|
|
12248
|
+
},
|
|
12249
|
+
"description": "A small number after the label (\"3\", \"99+\"), lighter than a badge; part of the tab's accessible name. Empty: none.",
|
|
12250
|
+
"fieldName": "count"
|
|
11091
12251
|
}
|
|
11092
12252
|
],
|
|
11093
12253
|
"members": [
|
|
@@ -11110,6 +12270,16 @@
|
|
|
11110
12270
|
"description": "Cannot be activated.",
|
|
11111
12271
|
"attribute": "disabled",
|
|
11112
12272
|
"reflects": true
|
|
12273
|
+
},
|
|
12274
|
+
{
|
|
12275
|
+
"kind": "field",
|
|
12276
|
+
"name": "count",
|
|
12277
|
+
"type": {
|
|
12278
|
+
"text": "string"
|
|
12279
|
+
},
|
|
12280
|
+
"description": "A small number after the label (\"3\", \"99+\"), lighter than a badge; part of the tab's accessible name. Empty: none.",
|
|
12281
|
+
"attribute": "count",
|
|
12282
|
+
"reflects": true
|
|
11113
12283
|
}
|
|
11114
12284
|
],
|
|
11115
12285
|
"events": [],
|
|
@@ -11120,10 +12290,15 @@
|
|
|
11120
12290
|
},
|
|
11121
12291
|
{
|
|
11122
12292
|
"name": "right",
|
|
11123
|
-
"description": "
|
|
12293
|
+
"description": "A badge or other content after the label (for a plain number, count is lighter)."
|
|
11124
12294
|
}
|
|
11125
12295
|
],
|
|
11126
|
-
"cssParts": [
|
|
12296
|
+
"cssParts": [
|
|
12297
|
+
{
|
|
12298
|
+
"name": "count",
|
|
12299
|
+
"description": "The count."
|
|
12300
|
+
}
|
|
12301
|
+
]
|
|
11127
12302
|
},
|
|
11128
12303
|
{
|
|
11129
12304
|
"kind": "class",
|
|
@@ -11295,6 +12470,33 @@
|
|
|
11295
12470
|
"description": "No keyboard hint at the bottom.",
|
|
11296
12471
|
"fieldName": "hideHint"
|
|
11297
12472
|
},
|
|
12473
|
+
{
|
|
12474
|
+
"name": "navigate-label",
|
|
12475
|
+
"type": {
|
|
12476
|
+
"text": "string"
|
|
12477
|
+
},
|
|
12478
|
+
"description": "The keyboard hint's word for ↑↓.",
|
|
12479
|
+
"fieldName": "navigateLabel",
|
|
12480
|
+
"default": "navigate"
|
|
12481
|
+
},
|
|
12482
|
+
{
|
|
12483
|
+
"name": "run-label",
|
|
12484
|
+
"type": {
|
|
12485
|
+
"text": "string"
|
|
12486
|
+
},
|
|
12487
|
+
"description": "The keyboard hint's word for ↵.",
|
|
12488
|
+
"fieldName": "runLabel",
|
|
12489
|
+
"default": "run"
|
|
12490
|
+
},
|
|
12491
|
+
{
|
|
12492
|
+
"name": "close-label",
|
|
12493
|
+
"type": {
|
|
12494
|
+
"text": "string"
|
|
12495
|
+
},
|
|
12496
|
+
"description": "The keyboard hint's word for esc.",
|
|
12497
|
+
"fieldName": "closeLabel",
|
|
12498
|
+
"default": "close"
|
|
12499
|
+
},
|
|
11298
12500
|
{
|
|
11299
12501
|
"name": "native-menus",
|
|
11300
12502
|
"type": {
|
|
@@ -11406,6 +12608,39 @@
|
|
|
11406
12608
|
"attribute": "hide-hint",
|
|
11407
12609
|
"reflects": true
|
|
11408
12610
|
},
|
|
12611
|
+
{
|
|
12612
|
+
"kind": "field",
|
|
12613
|
+
"name": "navigateLabel",
|
|
12614
|
+
"type": {
|
|
12615
|
+
"text": "string"
|
|
12616
|
+
},
|
|
12617
|
+
"description": "The keyboard hint's word for ↑↓.",
|
|
12618
|
+
"attribute": "navigate-label",
|
|
12619
|
+
"reflects": false,
|
|
12620
|
+
"default": "navigate"
|
|
12621
|
+
},
|
|
12622
|
+
{
|
|
12623
|
+
"kind": "field",
|
|
12624
|
+
"name": "runLabel",
|
|
12625
|
+
"type": {
|
|
12626
|
+
"text": "string"
|
|
12627
|
+
},
|
|
12628
|
+
"description": "The keyboard hint's word for ↵.",
|
|
12629
|
+
"attribute": "run-label",
|
|
12630
|
+
"reflects": false,
|
|
12631
|
+
"default": "run"
|
|
12632
|
+
},
|
|
12633
|
+
{
|
|
12634
|
+
"kind": "field",
|
|
12635
|
+
"name": "closeLabel",
|
|
12636
|
+
"type": {
|
|
12637
|
+
"text": "string"
|
|
12638
|
+
},
|
|
12639
|
+
"description": "The keyboard hint's word for esc.",
|
|
12640
|
+
"attribute": "close-label",
|
|
12641
|
+
"reflects": false,
|
|
12642
|
+
"default": "close"
|
|
12643
|
+
},
|
|
11409
12644
|
{
|
|
11410
12645
|
"kind": "field",
|
|
11411
12646
|
"name": "nativeMenus",
|
|
@@ -12287,6 +13522,13 @@
|
|
|
12287
13522
|
},
|
|
12288
13523
|
"description": "An item was chosen; detail: { value, item }."
|
|
12289
13524
|
},
|
|
13525
|
+
{
|
|
13526
|
+
"name": "ray-request-open",
|
|
13527
|
+
"type": {
|
|
13528
|
+
"text": "CustomEvent<{ event: Event }>"
|
|
13529
|
+
},
|
|
13530
|
+
"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 }."
|
|
13531
|
+
},
|
|
12290
13532
|
{
|
|
12291
13533
|
"name": "ray-open",
|
|
12292
13534
|
"type": {
|
|
@@ -12352,6 +13594,31 @@
|
|
|
12352
13594
|
},
|
|
12353
13595
|
"description": "Text and hover color (e.g. red for destructive actions).",
|
|
12354
13596
|
"fieldName": "color"
|
|
13597
|
+
},
|
|
13598
|
+
{
|
|
13599
|
+
"name": "type",
|
|
13600
|
+
"type": {
|
|
13601
|
+
"text": "\"item\" | \"checkbox\" | \"radio\""
|
|
13602
|
+
},
|
|
13603
|
+
"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.",
|
|
13604
|
+
"fieldName": "type",
|
|
13605
|
+
"default": "item"
|
|
13606
|
+
},
|
|
13607
|
+
{
|
|
13608
|
+
"name": "checked",
|
|
13609
|
+
"type": {
|
|
13610
|
+
"text": "boolean"
|
|
13611
|
+
},
|
|
13612
|
+
"description": "Checked (checkbox and radio items). Already updated when ray-select fires.",
|
|
13613
|
+
"fieldName": "checked"
|
|
13614
|
+
},
|
|
13615
|
+
{
|
|
13616
|
+
"name": "name",
|
|
13617
|
+
"type": {
|
|
13618
|
+
"text": "string"
|
|
13619
|
+
},
|
|
13620
|
+
"description": "The group of a radio item: one checked per name in the menu.",
|
|
13621
|
+
"fieldName": "name"
|
|
12355
13622
|
}
|
|
12356
13623
|
],
|
|
12357
13624
|
"members": [
|
|
@@ -12384,6 +13651,42 @@
|
|
|
12384
13651
|
"description": "Text and hover color (e.g. red for destructive actions).",
|
|
12385
13652
|
"attribute": "color",
|
|
12386
13653
|
"reflects": true
|
|
13654
|
+
},
|
|
13655
|
+
{
|
|
13656
|
+
"kind": "field",
|
|
13657
|
+
"name": "type",
|
|
13658
|
+
"type": {
|
|
13659
|
+
"text": "\"item\" | \"checkbox\" | \"radio\""
|
|
13660
|
+
},
|
|
13661
|
+
"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.",
|
|
13662
|
+
"attribute": "type",
|
|
13663
|
+
"reflects": true,
|
|
13664
|
+
"default": "item"
|
|
13665
|
+
},
|
|
13666
|
+
{
|
|
13667
|
+
"kind": "field",
|
|
13668
|
+
"name": "checked",
|
|
13669
|
+
"type": {
|
|
13670
|
+
"text": "boolean"
|
|
13671
|
+
},
|
|
13672
|
+
"description": "Checked (checkbox and radio items). Already updated when ray-select fires.",
|
|
13673
|
+
"attribute": "checked",
|
|
13674
|
+
"reflects": true
|
|
13675
|
+
},
|
|
13676
|
+
{
|
|
13677
|
+
"kind": "field",
|
|
13678
|
+
"name": "name",
|
|
13679
|
+
"type": {
|
|
13680
|
+
"text": "string"
|
|
13681
|
+
},
|
|
13682
|
+
"description": "The group of a radio item: one checked per name in the menu.",
|
|
13683
|
+
"attribute": "name",
|
|
13684
|
+
"reflects": true
|
|
13685
|
+
},
|
|
13686
|
+
{
|
|
13687
|
+
"kind": "field",
|
|
13688
|
+
"name": "checkable",
|
|
13689
|
+
"description": "Whether type is checkbox or radio."
|
|
12387
13690
|
}
|
|
12388
13691
|
],
|
|
12389
13692
|
"events": [],
|
|
@@ -12401,7 +13704,12 @@
|
|
|
12401
13704
|
"description": "Shortcut or badge."
|
|
12402
13705
|
}
|
|
12403
13706
|
],
|
|
12404
|
-
"cssParts": [
|
|
13707
|
+
"cssParts": [
|
|
13708
|
+
{
|
|
13709
|
+
"name": "mark",
|
|
13710
|
+
"description": "The check mark of a checkbox or radio item."
|
|
13711
|
+
}
|
|
13712
|
+
]
|
|
12405
13713
|
},
|
|
12406
13714
|
{
|
|
12407
13715
|
"kind": "class",
|
|
@@ -14485,7 +15793,7 @@
|
|
|
14485
15793
|
"name": "RayCode",
|
|
14486
15794
|
"tagName": "ray-code",
|
|
14487
15795
|
"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.",
|
|
15796
|
+
"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
15797
|
"superclass": {
|
|
14490
15798
|
"name": "RayElement"
|
|
14491
15799
|
},
|
|
@@ -14530,6 +15838,14 @@
|
|
|
14530
15838
|
"description": "Wraps long lines instead of scrolling sideways.",
|
|
14531
15839
|
"fieldName": "wrap"
|
|
14532
15840
|
},
|
|
15841
|
+
{
|
|
15842
|
+
"name": "verbatim",
|
|
15843
|
+
"type": {
|
|
15844
|
+
"text": "boolean"
|
|
15845
|
+
},
|
|
15846
|
+
"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.",
|
|
15847
|
+
"fieldName": "verbatim"
|
|
15848
|
+
},
|
|
14533
15849
|
{
|
|
14534
15850
|
"name": "max-height",
|
|
14535
15851
|
"type": {
|
|
@@ -14657,6 +15973,16 @@
|
|
|
14657
15973
|
"attribute": "wrap",
|
|
14658
15974
|
"reflects": true
|
|
14659
15975
|
},
|
|
15976
|
+
{
|
|
15977
|
+
"kind": "field",
|
|
15978
|
+
"name": "verbatim",
|
|
15979
|
+
"type": {
|
|
15980
|
+
"text": "boolean"
|
|
15981
|
+
},
|
|
15982
|
+
"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.",
|
|
15983
|
+
"attribute": "verbatim",
|
|
15984
|
+
"reflects": true
|
|
15985
|
+
},
|
|
14660
15986
|
{
|
|
14661
15987
|
"kind": "field",
|
|
14662
15988
|
"name": "maxHeight",
|
|
@@ -19424,7 +20750,7 @@
|
|
|
19424
20750
|
"type": {
|
|
19425
20751
|
"text": "string"
|
|
19426
20752
|
},
|
|
19427
|
-
"description": "A key: the size
|
|
20753
|
+
"description": "A key: the size and the collapsed state are saved in localStorage and restored (a saved state wins over the collapsed attribute).",
|
|
19428
20754
|
"fieldName": "autosave"
|
|
19429
20755
|
}
|
|
19430
20756
|
],
|
|
@@ -19498,7 +20824,7 @@
|
|
|
19498
20824
|
"type": {
|
|
19499
20825
|
"text": "string"
|
|
19500
20826
|
},
|
|
19501
|
-
"description": "A key: the size
|
|
20827
|
+
"description": "A key: the size and the collapsed state are saved in localStorage and restored (a saved state wins over the collapsed attribute).",
|
|
19502
20828
|
"attribute": "autosave",
|
|
19503
20829
|
"reflects": false
|
|
19504
20830
|
},
|