@redvars/peacock 3.8.4 → 3.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion-item.js +28 -38
- package/dist/accordion-item.js.map +1 -1
- package/dist/accordion.js +8 -0
- package/dist/accordion.js.map +1 -1
- package/dist/button.js +21 -17
- package/dist/button.js.map +1 -1
- package/dist/custom-elements-jsdocs.json +212 -33
- package/dist/custom-elements.json +852 -143
- package/dist/floating-controller-CZYwnRVu.js +185 -0
- package/dist/floating-controller-CZYwnRVu.js.map +1 -0
- package/dist/{floating-controller-CnUZnOhK.js → floating-ui.dom-oQieRCpS.js} +2 -183
- package/dist/floating-ui.dom-oQieRCpS.js.map +1 -0
- package/dist/html-editor.js +3 -21091
- package/dist/html-editor.js.map +1 -1
- package/dist/index-DcbiqHpf.js +21091 -0
- package/dist/index-DcbiqHpf.js.map +1 -0
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/loader.js +7 -2
- package/dist/loader.js.map +1 -1
- package/dist/markdown-editor.js +4439 -0
- package/dist/markdown-editor.js.map +1 -0
- package/dist/menu.js +2 -1
- package/dist/menu.js.map +1 -1
- package/dist/pagination.js +15 -10
- package/dist/pagination.js.map +1 -1
- package/dist/popover.js +2 -1
- package/dist/popover.js.map +1 -1
- package/dist/{select-D85kpjUt.js → select-CnnPbvpQ.js} +68 -71
- package/dist/select-CnnPbvpQ.js.map +1 -0
- package/dist/src/accordion/accordion-item.d.ts +0 -6
- package/dist/src/accordion/accordion.d.ts +5 -0
- package/dist/src/button/button/button.d.ts +16 -16
- package/dist/src/index.d.ts +1 -0
- package/dist/src/input/input.d.ts +5 -5
- package/dist/src/markdown-editor/index.d.ts +2 -0
- package/dist/src/markdown-editor/markdown-editor.d.ts +116 -0
- package/dist/sub-menu.js +2 -1
- package/dist/sub-menu.js.map +1 -1
- package/dist/table.js +4 -9
- package/dist/table.js.map +1 -1
- package/dist/tooltip.js +2 -1
- package/dist/tooltip.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -1
- package/readme.md +2 -2
- package/src/accordion/accordion-item.scss +34 -12
- package/src/accordion/accordion-item.ts +27 -38
- package/src/accordion/accordion.ts +7 -0
- package/src/button/button/button-sizes.scss +4 -0
- package/src/button/button/button.ts +17 -17
- package/src/index.ts +1 -0
- package/src/input/input.ts +85 -82
- package/src/loader.ts +4 -0
- package/src/markdown-editor/index.ts +3 -0
- package/src/markdown-editor/markdown-editor.scss +378 -0
- package/src/markdown-editor/markdown-editor.ts +994 -0
- package/src/pagination/pagination.scss +15 -10
- package/src/table/table.scss +3 -9
- package/src/table/table.ts +1 -1
- package/dist/floating-controller-CnUZnOhK.js.map +0 -1
- package/dist/select-D85kpjUt.js.map +0 -1
|
@@ -2058,67 +2058,67 @@
|
|
|
2058
2058
|
"cssProperties": [
|
|
2059
2059
|
{
|
|
2060
2060
|
"description": "Defines the border radius of the button container shape.",
|
|
2061
|
-
"name": "--button-container-shape
|
|
2061
|
+
"name": "--button-container-shape"
|
|
2062
2062
|
},
|
|
2063
2063
|
{
|
|
2064
2064
|
"description": "Defines the start position of the button container shape.",
|
|
2065
|
-
"name": "--button-container-shape-start-start
|
|
2065
|
+
"name": "--button-container-shape-start-start"
|
|
2066
2066
|
},
|
|
2067
2067
|
{
|
|
2068
2068
|
"description": "Defines the end position of the button container shape.",
|
|
2069
|
-
"name": "--button-container-shape-start-end
|
|
2069
|
+
"name": "--button-container-shape-start-end"
|
|
2070
2070
|
},
|
|
2071
2071
|
{
|
|
2072
2072
|
"description": "Defines the start position of the button container shape.",
|
|
2073
|
-
"name": "--button-container-shape-end-start
|
|
2073
|
+
"name": "--button-container-shape-end-start"
|
|
2074
2074
|
},
|
|
2075
2075
|
{
|
|
2076
2076
|
"description": "Defines the end position of the button container shape.",
|
|
2077
|
-
"name": "--button-container-shape-end-end
|
|
2077
|
+
"name": "--button-container-shape-end-end"
|
|
2078
2078
|
},
|
|
2079
2079
|
{
|
|
2080
2080
|
"description": "Color of the filled button container.",
|
|
2081
|
-
"name": "--filled-button-container-color
|
|
2081
|
+
"name": "--filled-button-container-color"
|
|
2082
2082
|
},
|
|
2083
2083
|
{
|
|
2084
2084
|
"description": "Text color of the filled button label.",
|
|
2085
|
-
"name": "--filled-button-label-text-color
|
|
2085
|
+
"name": "--filled-button-label-text-color"
|
|
2086
2086
|
},
|
|
2087
2087
|
{
|
|
2088
2088
|
"description": "Color of the outlined button container.",
|
|
2089
|
-
"name": "--outlined-button-container-color
|
|
2089
|
+
"name": "--outlined-button-container-color"
|
|
2090
2090
|
},
|
|
2091
2091
|
{
|
|
2092
2092
|
"description": "Text color of the outlined button label.",
|
|
2093
|
-
"name": "--outlined-button-label-text-color
|
|
2093
|
+
"name": "--outlined-button-label-text-color"
|
|
2094
2094
|
},
|
|
2095
2095
|
{
|
|
2096
2096
|
"description": "Text color of the text button label.",
|
|
2097
|
-
"name": "--text-button-label-text-color
|
|
2097
|
+
"name": "--text-button-label-text-color"
|
|
2098
2098
|
},
|
|
2099
2099
|
{
|
|
2100
2100
|
"description": "Color of the tonal button container.",
|
|
2101
|
-
"name": "--tonal-button-container-color
|
|
2101
|
+
"name": "--tonal-button-container-color"
|
|
2102
2102
|
},
|
|
2103
2103
|
{
|
|
2104
2104
|
"description": "Text color of the tonal button label.",
|
|
2105
|
-
"name": "--tonal-button-label-text-color
|
|
2105
|
+
"name": "--tonal-button-label-text-color"
|
|
2106
2106
|
},
|
|
2107
2107
|
{
|
|
2108
2108
|
"description": "Color of the elevated button container.",
|
|
2109
|
-
"name": "--elevated-button-container-color
|
|
2109
|
+
"name": "--elevated-button-container-color"
|
|
2110
2110
|
},
|
|
2111
2111
|
{
|
|
2112
2112
|
"description": "Text color of the elevated button label.",
|
|
2113
|
-
"name": "--elevated-button-label-text-color
|
|
2113
|
+
"name": "--elevated-button-label-text-color"
|
|
2114
2114
|
},
|
|
2115
2115
|
{
|
|
2116
2116
|
"description": "Color of the neo button container.",
|
|
2117
|
-
"name": "--neo-button-container-color
|
|
2117
|
+
"name": "--neo-button-container-color"
|
|
2118
2118
|
},
|
|
2119
2119
|
{
|
|
2120
2120
|
"description": "Text color of the neo button label.",
|
|
2121
|
-
"name": "--neo-button-label-text-color
|
|
2121
|
+
"name": "--neo-button-label-text-color"
|
|
2122
2122
|
}
|
|
2123
2123
|
],
|
|
2124
2124
|
"members": [
|
|
@@ -2137,7 +2137,7 @@
|
|
|
2137
2137
|
"type": {
|
|
2138
2138
|
"text": "boolean"
|
|
2139
2139
|
},
|
|
2140
|
-
"default": "
|
|
2140
|
+
"default": "false",
|
|
2141
2141
|
"description": "When `true` (default), the icon is placed after the label (trailing).\nWhen `false`, the icon is placed before the label (leading).",
|
|
2142
2142
|
"attribute": "trailing-icon",
|
|
2143
2143
|
"reflects": true
|
|
@@ -2642,7 +2642,7 @@
|
|
|
2642
2642
|
"type": {
|
|
2643
2643
|
"text": "boolean"
|
|
2644
2644
|
},
|
|
2645
|
-
"default": "
|
|
2645
|
+
"default": "false",
|
|
2646
2646
|
"description": "When `true` (default), the icon is placed after the label (trailing).\nWhen `false`, the icon is placed before the label (leading).",
|
|
2647
2647
|
"fieldName": "trailingIcon"
|
|
2648
2648
|
},
|
|
@@ -6396,17 +6396,6 @@
|
|
|
6396
6396
|
"attribute": "hide-toggle",
|
|
6397
6397
|
"reflects": true
|
|
6398
6398
|
},
|
|
6399
|
-
{
|
|
6400
|
-
"kind": "field",
|
|
6401
|
-
"name": "togglePosition",
|
|
6402
|
-
"type": {
|
|
6403
|
-
"text": "'before' | 'after'"
|
|
6404
|
-
},
|
|
6405
|
-
"default": "'after'",
|
|
6406
|
-
"description": "Position of the toggle icon relative to the panel title.\n`'after'` places it at the trailing end (default, matches M3).\n`'before'` places it at the leading start.",
|
|
6407
|
-
"attribute": "toggle-position",
|
|
6408
|
-
"reflects": true
|
|
6409
|
-
},
|
|
6410
6399
|
{
|
|
6411
6400
|
"kind": "field",
|
|
6412
6401
|
"name": "_hasDescriptionSlot",
|
|
@@ -6511,15 +6500,6 @@
|
|
|
6511
6500
|
"default": "false",
|
|
6512
6501
|
"description": "Whether to hide the expand/collapse toggle indicator icon.",
|
|
6513
6502
|
"fieldName": "hideToggle"
|
|
6514
|
-
},
|
|
6515
|
-
{
|
|
6516
|
-
"name": "toggle-position",
|
|
6517
|
-
"type": {
|
|
6518
|
-
"text": "'before' | 'after'"
|
|
6519
|
-
},
|
|
6520
|
-
"default": "'after'",
|
|
6521
|
-
"description": "Position of the toggle icon relative to the panel title.\n`'after'` places it at the trailing end (default, matches M3).\n`'before'` places it at the leading start.",
|
|
6522
|
-
"fieldName": "togglePosition"
|
|
6523
6503
|
}
|
|
6524
6504
|
],
|
|
6525
6505
|
"superclass": {
|
|
@@ -6577,6 +6557,17 @@
|
|
|
6577
6557
|
"attribute": "variant",
|
|
6578
6558
|
"reflects": true
|
|
6579
6559
|
},
|
|
6560
|
+
{
|
|
6561
|
+
"kind": "field",
|
|
6562
|
+
"name": "leadingToggle",
|
|
6563
|
+
"type": {
|
|
6564
|
+
"text": "boolean"
|
|
6565
|
+
},
|
|
6566
|
+
"default": "false",
|
|
6567
|
+
"description": "When `true`, the toggle icon is placed at the leading start of the header.\nWhen `false` (default), the icon is placed at the trailing end.",
|
|
6568
|
+
"attribute": "leading-toggle",
|
|
6569
|
+
"reflects": true
|
|
6570
|
+
},
|
|
6580
6571
|
{
|
|
6581
6572
|
"kind": "field",
|
|
6582
6573
|
"name": "items",
|
|
@@ -6635,6 +6626,15 @@
|
|
|
6635
6626
|
"default": "'default'",
|
|
6636
6627
|
"description": "Variant for the accordion.\n`'default'` renders panels with a subtle background on expand and dividers between items.\n`'flat'` renders panels without borders or background changes — suitable for use inside cards.",
|
|
6637
6628
|
"fieldName": "variant"
|
|
6629
|
+
},
|
|
6630
|
+
{
|
|
6631
|
+
"name": "leading-toggle",
|
|
6632
|
+
"type": {
|
|
6633
|
+
"text": "boolean"
|
|
6634
|
+
},
|
|
6635
|
+
"default": "false",
|
|
6636
|
+
"description": "When `true`, the toggle icon is placed at the leading start of the header.\nWhen `false` (default), the icon is placed at the trailing end.",
|
|
6637
|
+
"fieldName": "leadingToggle"
|
|
6638
6638
|
}
|
|
6639
6639
|
],
|
|
6640
6640
|
"superclass": {
|
|
@@ -8464,7 +8464,7 @@
|
|
|
8464
8464
|
"type": {
|
|
8465
8465
|
"text": "any | undefined"
|
|
8466
8466
|
},
|
|
8467
|
-
"default": "
|
|
8467
|
+
"default": "\"\"",
|
|
8468
8468
|
"attribute": "value",
|
|
8469
8469
|
"inheritedFrom": {
|
|
8470
8470
|
"name": "BaseInput",
|
|
@@ -8477,7 +8477,7 @@
|
|
|
8477
8477
|
"type": {
|
|
8478
8478
|
"text": "string"
|
|
8479
8479
|
},
|
|
8480
|
-
"default": "
|
|
8480
|
+
"default": "\"\"",
|
|
8481
8481
|
"attribute": "name"
|
|
8482
8482
|
},
|
|
8483
8483
|
{
|
|
@@ -8486,7 +8486,7 @@
|
|
|
8486
8486
|
"type": {
|
|
8487
8487
|
"text": "string"
|
|
8488
8488
|
},
|
|
8489
|
-
"default": "
|
|
8489
|
+
"default": "\"\"",
|
|
8490
8490
|
"attribute": "placeholder"
|
|
8491
8491
|
},
|
|
8492
8492
|
{
|
|
@@ -8495,7 +8495,7 @@
|
|
|
8495
8495
|
"type": {
|
|
8496
8496
|
"text": "string"
|
|
8497
8497
|
},
|
|
8498
|
-
"default": "
|
|
8498
|
+
"default": "\"\"",
|
|
8499
8499
|
"attribute": "label"
|
|
8500
8500
|
},
|
|
8501
8501
|
{
|
|
@@ -8512,9 +8512,9 @@
|
|
|
8512
8512
|
"kind": "field",
|
|
8513
8513
|
"name": "size",
|
|
8514
8514
|
"type": {
|
|
8515
|
-
"text": "
|
|
8515
|
+
"text": "\"sm\" | \"md\" | \"lg\""
|
|
8516
8516
|
},
|
|
8517
|
-
"default": "
|
|
8517
|
+
"default": "\"md\"",
|
|
8518
8518
|
"attribute": "size",
|
|
8519
8519
|
"reflects": true
|
|
8520
8520
|
},
|
|
@@ -8522,18 +8522,18 @@
|
|
|
8522
8522
|
"kind": "field",
|
|
8523
8523
|
"name": "type",
|
|
8524
8524
|
"type": {
|
|
8525
|
-
"text": "
|
|
8525
|
+
"text": "\"text\" | \"password\" | \"email\" | \"tel\""
|
|
8526
8526
|
},
|
|
8527
|
-
"default": "
|
|
8527
|
+
"default": "\"text\"",
|
|
8528
8528
|
"attribute": "type"
|
|
8529
8529
|
},
|
|
8530
8530
|
{
|
|
8531
8531
|
"kind": "field",
|
|
8532
8532
|
"name": "autocomplete",
|
|
8533
8533
|
"type": {
|
|
8534
|
-
"text": "
|
|
8534
|
+
"text": "\"on\" | \"off\""
|
|
8535
8535
|
},
|
|
8536
|
-
"default": "
|
|
8536
|
+
"default": "\"off\"",
|
|
8537
8537
|
"attribute": "autocomplete"
|
|
8538
8538
|
},
|
|
8539
8539
|
{
|
|
@@ -8549,9 +8549,9 @@
|
|
|
8549
8549
|
"kind": "field",
|
|
8550
8550
|
"name": "variant",
|
|
8551
8551
|
"type": {
|
|
8552
|
-
"text": "
|
|
8552
|
+
"text": "\"filled\" | \"outlined\" | \"default\""
|
|
8553
8553
|
},
|
|
8554
|
-
"default": "
|
|
8554
|
+
"default": "\"default\"",
|
|
8555
8555
|
"attribute": "variant"
|
|
8556
8556
|
},
|
|
8557
8557
|
{
|
|
@@ -8560,7 +8560,7 @@
|
|
|
8560
8560
|
"type": {
|
|
8561
8561
|
"text": "string"
|
|
8562
8562
|
},
|
|
8563
|
-
"default": "
|
|
8563
|
+
"default": "\"\"",
|
|
8564
8564
|
"description": "Helper text to display below the input.",
|
|
8565
8565
|
"attribute": "helper-text"
|
|
8566
8566
|
},
|
|
@@ -8579,7 +8579,7 @@
|
|
|
8579
8579
|
"type": {
|
|
8580
8580
|
"text": "string"
|
|
8581
8581
|
},
|
|
8582
|
-
"default": "
|
|
8582
|
+
"default": "\"\"",
|
|
8583
8583
|
"attribute": "error-text"
|
|
8584
8584
|
},
|
|
8585
8585
|
{
|
|
@@ -8597,7 +8597,7 @@
|
|
|
8597
8597
|
"type": {
|
|
8598
8598
|
"text": "string"
|
|
8599
8599
|
},
|
|
8600
|
-
"default": "
|
|
8600
|
+
"default": "\"\"",
|
|
8601
8601
|
"attribute": "warning-text"
|
|
8602
8602
|
},
|
|
8603
8603
|
{
|
|
@@ -8739,7 +8739,7 @@
|
|
|
8739
8739
|
"type": {
|
|
8740
8740
|
"text": "string"
|
|
8741
8741
|
},
|
|
8742
|
-
"default": "
|
|
8742
|
+
"default": "\"\"",
|
|
8743
8743
|
"fieldName": "value"
|
|
8744
8744
|
},
|
|
8745
8745
|
{
|
|
@@ -8747,7 +8747,7 @@
|
|
|
8747
8747
|
"type": {
|
|
8748
8748
|
"text": "string"
|
|
8749
8749
|
},
|
|
8750
|
-
"default": "
|
|
8750
|
+
"default": "\"\"",
|
|
8751
8751
|
"fieldName": "name"
|
|
8752
8752
|
},
|
|
8753
8753
|
{
|
|
@@ -8755,7 +8755,7 @@
|
|
|
8755
8755
|
"type": {
|
|
8756
8756
|
"text": "string"
|
|
8757
8757
|
},
|
|
8758
|
-
"default": "
|
|
8758
|
+
"default": "\"\"",
|
|
8759
8759
|
"fieldName": "placeholder"
|
|
8760
8760
|
},
|
|
8761
8761
|
{
|
|
@@ -8763,7 +8763,7 @@
|
|
|
8763
8763
|
"type": {
|
|
8764
8764
|
"text": "string"
|
|
8765
8765
|
},
|
|
8766
|
-
"default": "
|
|
8766
|
+
"default": "\"\"",
|
|
8767
8767
|
"fieldName": "label"
|
|
8768
8768
|
},
|
|
8769
8769
|
{
|
|
@@ -8777,25 +8777,25 @@
|
|
|
8777
8777
|
{
|
|
8778
8778
|
"name": "size",
|
|
8779
8779
|
"type": {
|
|
8780
|
-
"text": "
|
|
8780
|
+
"text": "\"sm\" | \"md\" | \"lg\""
|
|
8781
8781
|
},
|
|
8782
|
-
"default": "
|
|
8782
|
+
"default": "\"md\"",
|
|
8783
8783
|
"fieldName": "size"
|
|
8784
8784
|
},
|
|
8785
8785
|
{
|
|
8786
8786
|
"name": "type",
|
|
8787
8787
|
"type": {
|
|
8788
|
-
"text": "
|
|
8788
|
+
"text": "\"text\" | \"password\" | \"email\" | \"tel\""
|
|
8789
8789
|
},
|
|
8790
|
-
"default": "
|
|
8790
|
+
"default": "\"text\"",
|
|
8791
8791
|
"fieldName": "type"
|
|
8792
8792
|
},
|
|
8793
8793
|
{
|
|
8794
8794
|
"name": "autocomplete",
|
|
8795
8795
|
"type": {
|
|
8796
|
-
"text": "
|
|
8796
|
+
"text": "\"on\" | \"off\""
|
|
8797
8797
|
},
|
|
8798
|
-
"default": "
|
|
8798
|
+
"default": "\"off\"",
|
|
8799
8799
|
"fieldName": "autocomplete"
|
|
8800
8800
|
},
|
|
8801
8801
|
{
|
|
@@ -8809,9 +8809,9 @@
|
|
|
8809
8809
|
{
|
|
8810
8810
|
"name": "variant",
|
|
8811
8811
|
"type": {
|
|
8812
|
-
"text": "
|
|
8812
|
+
"text": "\"filled\" | \"outlined\" | \"default\""
|
|
8813
8813
|
},
|
|
8814
|
-
"default": "
|
|
8814
|
+
"default": "\"default\"",
|
|
8815
8815
|
"fieldName": "variant"
|
|
8816
8816
|
},
|
|
8817
8817
|
{
|
|
@@ -8819,7 +8819,7 @@
|
|
|
8819
8819
|
"type": {
|
|
8820
8820
|
"text": "string"
|
|
8821
8821
|
},
|
|
8822
|
-
"default": "
|
|
8822
|
+
"default": "\"\"",
|
|
8823
8823
|
"description": "Helper text to display below the input.",
|
|
8824
8824
|
"fieldName": "helperText"
|
|
8825
8825
|
},
|
|
@@ -8836,7 +8836,7 @@
|
|
|
8836
8836
|
"type": {
|
|
8837
8837
|
"text": "string"
|
|
8838
8838
|
},
|
|
8839
|
-
"default": "
|
|
8839
|
+
"default": "\"\"",
|
|
8840
8840
|
"fieldName": "errorText"
|
|
8841
8841
|
},
|
|
8842
8842
|
{
|
|
@@ -8852,7 +8852,7 @@
|
|
|
8852
8852
|
"type": {
|
|
8853
8853
|
"text": "string"
|
|
8854
8854
|
},
|
|
8855
|
-
"default": "
|
|
8855
|
+
"default": "\"\"",
|
|
8856
8856
|
"fieldName": "warningText"
|
|
8857
8857
|
},
|
|
8858
8858
|
{
|
|
@@ -17470,173 +17470,874 @@
|
|
|
17470
17470
|
},
|
|
17471
17471
|
{
|
|
17472
17472
|
"kind": "javascript-module",
|
|
17473
|
-
"path": "src/
|
|
17473
|
+
"path": "src/markdown-editor/markdown-editor.ts",
|
|
17474
17474
|
"declarations": [
|
|
17475
17475
|
{
|
|
17476
17476
|
"kind": "class",
|
|
17477
17477
|
"description": "",
|
|
17478
|
-
"name": "
|
|
17478
|
+
"name": "MarkdownEditor",
|
|
17479
|
+
"cssProperties": [
|
|
17480
|
+
{
|
|
17481
|
+
"description": "Minimum height of the editable area. Defaults to 12rem.",
|
|
17482
|
+
"name": "--markdown-editor-min-height"
|
|
17483
|
+
},
|
|
17484
|
+
{
|
|
17485
|
+
"description": "Background color of the selection bubble menu.",
|
|
17486
|
+
"name": "--markdown-editor-bubble-background"
|
|
17487
|
+
},
|
|
17488
|
+
{
|
|
17489
|
+
"description": "Background color of the slash command menu.",
|
|
17490
|
+
"name": "--markdown-editor-slash-background"
|
|
17491
|
+
}
|
|
17492
|
+
],
|
|
17479
17493
|
"members": [
|
|
17480
17494
|
{
|
|
17481
17495
|
"kind": "field",
|
|
17482
|
-
"name": "
|
|
17496
|
+
"name": "value",
|
|
17497
|
+
"type": {
|
|
17498
|
+
"text": "any | undefined"
|
|
17499
|
+
},
|
|
17500
|
+
"default": "''",
|
|
17501
|
+
"description": "Current Markdown value of the editor.",
|
|
17502
|
+
"attribute": "value",
|
|
17503
|
+
"inheritedFrom": {
|
|
17504
|
+
"name": "BaseInput",
|
|
17505
|
+
"module": "src/input/BaseInput.ts"
|
|
17506
|
+
}
|
|
17507
|
+
},
|
|
17508
|
+
{
|
|
17509
|
+
"kind": "field",
|
|
17510
|
+
"name": "label",
|
|
17483
17511
|
"type": {
|
|
17484
17512
|
"text": "string"
|
|
17485
17513
|
},
|
|
17486
17514
|
"default": "''",
|
|
17487
|
-
"description": "
|
|
17488
|
-
"attribute": "
|
|
17489
|
-
"reflects": true
|
|
17515
|
+
"description": "Label displayed above the editor.",
|
|
17516
|
+
"attribute": "label"
|
|
17490
17517
|
},
|
|
17491
17518
|
{
|
|
17492
17519
|
"kind": "field",
|
|
17493
|
-
"name": "
|
|
17520
|
+
"name": "placeholder",
|
|
17521
|
+
"type": {
|
|
17522
|
+
"text": "string"
|
|
17523
|
+
},
|
|
17524
|
+
"default": "\"Type '/' for commands…\"",
|
|
17525
|
+
"description": "Placeholder text shown when the editor is empty.",
|
|
17526
|
+
"attribute": "placeholder"
|
|
17527
|
+
},
|
|
17528
|
+
{
|
|
17529
|
+
"kind": "field",
|
|
17530
|
+
"name": "variant",
|
|
17531
|
+
"type": {
|
|
17532
|
+
"text": "'filled' | 'outlined' | 'default'"
|
|
17533
|
+
},
|
|
17534
|
+
"default": "'default'",
|
|
17535
|
+
"description": "Visual style of the wrapping field.",
|
|
17536
|
+
"attribute": "variant"
|
|
17537
|
+
},
|
|
17538
|
+
{
|
|
17539
|
+
"kind": "field",
|
|
17540
|
+
"name": "helperText",
|
|
17494
17541
|
"type": {
|
|
17495
17542
|
"text": "string"
|
|
17496
17543
|
},
|
|
17497
17544
|
"default": "''",
|
|
17498
|
-
"description": "
|
|
17499
|
-
"attribute": "
|
|
17500
|
-
"reflects": true
|
|
17545
|
+
"description": "Helper text displayed below the editor.",
|
|
17546
|
+
"attribute": "helper-text"
|
|
17501
17547
|
},
|
|
17502
17548
|
{
|
|
17503
17549
|
"kind": "field",
|
|
17504
|
-
"name": "
|
|
17550
|
+
"name": "error",
|
|
17551
|
+
"type": {
|
|
17552
|
+
"text": "boolean"
|
|
17553
|
+
},
|
|
17554
|
+
"default": "false",
|
|
17555
|
+
"description": "Whether to show an error state.",
|
|
17556
|
+
"attribute": "error"
|
|
17557
|
+
},
|
|
17558
|
+
{
|
|
17559
|
+
"kind": "field",
|
|
17560
|
+
"name": "errorText",
|
|
17505
17561
|
"type": {
|
|
17506
17562
|
"text": "string"
|
|
17507
17563
|
},
|
|
17508
17564
|
"default": "''",
|
|
17509
|
-
"description": "
|
|
17510
|
-
"attribute": "
|
|
17565
|
+
"description": "Error message text.",
|
|
17566
|
+
"attribute": "error-text"
|
|
17511
17567
|
},
|
|
17512
17568
|
{
|
|
17513
17569
|
"kind": "field",
|
|
17514
|
-
"name": "
|
|
17570
|
+
"name": "debounce",
|
|
17571
|
+
"type": {
|
|
17572
|
+
"text": "number"
|
|
17573
|
+
},
|
|
17574
|
+
"default": "250",
|
|
17575
|
+
"description": "Debounce in milliseconds for dispatching `change`.",
|
|
17576
|
+
"attribute": "debounce"
|
|
17577
|
+
},
|
|
17578
|
+
{
|
|
17579
|
+
"kind": "field",
|
|
17580
|
+
"name": "_focused",
|
|
17515
17581
|
"type": {
|
|
17516
17582
|
"text": "boolean"
|
|
17517
17583
|
},
|
|
17584
|
+
"privacy": "private",
|
|
17518
17585
|
"default": "false",
|
|
17519
|
-
"description": "
|
|
17520
|
-
"attribute": "preview",
|
|
17521
|
-
"reflects": true
|
|
17586
|
+
"description": "Whether the editor currently has focus."
|
|
17522
17587
|
},
|
|
17523
17588
|
{
|
|
17524
17589
|
"kind": "field",
|
|
17525
|
-
"name": "
|
|
17590
|
+
"name": "_mode",
|
|
17591
|
+
"type": {
|
|
17592
|
+
"text": "'editor' | 'markdown'"
|
|
17593
|
+
},
|
|
17594
|
+
"privacy": "private",
|
|
17595
|
+
"default": "'editor'",
|
|
17596
|
+
"description": "Current view mode: rendered editor or raw markdown."
|
|
17597
|
+
},
|
|
17598
|
+
{
|
|
17599
|
+
"kind": "field",
|
|
17600
|
+
"name": "_bubbleOpen",
|
|
17526
17601
|
"type": {
|
|
17527
17602
|
"text": "boolean"
|
|
17528
17603
|
},
|
|
17529
17604
|
"privacy": "private",
|
|
17530
|
-
"
|
|
17605
|
+
"default": "false",
|
|
17606
|
+
"description": "Whether the bubble toolbar is visible."
|
|
17531
17607
|
},
|
|
17532
17608
|
{
|
|
17533
17609
|
"kind": "field",
|
|
17534
|
-
"name": "
|
|
17610
|
+
"name": "_slashOpen",
|
|
17535
17611
|
"type": {
|
|
17536
17612
|
"text": "boolean"
|
|
17537
17613
|
},
|
|
17538
17614
|
"privacy": "private",
|
|
17539
17615
|
"default": "false",
|
|
17540
|
-
"description": "
|
|
17616
|
+
"description": "Whether the slash command menu is visible."
|
|
17541
17617
|
},
|
|
17542
17618
|
{
|
|
17543
17619
|
"kind": "field",
|
|
17544
|
-
"name": "
|
|
17620
|
+
"name": "_slashItems",
|
|
17545
17621
|
"type": {
|
|
17546
|
-
"text": "
|
|
17622
|
+
"text": "SlashItem[]"
|
|
17547
17623
|
},
|
|
17548
|
-
"privacy": "private"
|
|
17624
|
+
"privacy": "private",
|
|
17625
|
+
"default": "[]",
|
|
17626
|
+
"description": "Filtered slash menu items."
|
|
17549
17627
|
},
|
|
17550
17628
|
{
|
|
17551
17629
|
"kind": "field",
|
|
17552
|
-
"name": "
|
|
17630
|
+
"name": "_slashIndex",
|
|
17553
17631
|
"type": {
|
|
17554
|
-
"text": "
|
|
17632
|
+
"text": "number"
|
|
17555
17633
|
},
|
|
17556
17634
|
"privacy": "private",
|
|
17557
|
-
"default": "
|
|
17558
|
-
"description": "
|
|
17635
|
+
"default": "0",
|
|
17636
|
+
"description": "Currently highlighted slash menu index."
|
|
17559
17637
|
},
|
|
17560
17638
|
{
|
|
17561
17639
|
"kind": "field",
|
|
17562
|
-
"name": "
|
|
17640
|
+
"name": "_blockHandleVisible",
|
|
17563
17641
|
"type": {
|
|
17564
|
-
"text": "
|
|
17642
|
+
"text": "boolean"
|
|
17565
17643
|
},
|
|
17566
17644
|
"privacy": "private",
|
|
17567
|
-
"default": "
|
|
17568
|
-
"description": "
|
|
17645
|
+
"default": "false",
|
|
17646
|
+
"description": "Whether the block handle panel is visible."
|
|
17569
17647
|
},
|
|
17570
17648
|
{
|
|
17571
|
-
"kind": "
|
|
17572
|
-
"name": "
|
|
17649
|
+
"kind": "field",
|
|
17650
|
+
"name": "_editorEl",
|
|
17651
|
+
"type": {
|
|
17652
|
+
"text": "HTMLDivElement"
|
|
17653
|
+
},
|
|
17573
17654
|
"privacy": "private"
|
|
17574
17655
|
},
|
|
17575
17656
|
{
|
|
17576
17657
|
"kind": "field",
|
|
17577
|
-
"name": "
|
|
17658
|
+
"name": "_bubbleEl",
|
|
17578
17659
|
"type": {
|
|
17579
|
-
"text": "
|
|
17660
|
+
"text": "HTMLDivElement | undefined"
|
|
17580
17661
|
},
|
|
17581
|
-
"privacy": "private"
|
|
17582
|
-
"readonly": true
|
|
17662
|
+
"privacy": "private"
|
|
17583
17663
|
},
|
|
17584
17664
|
{
|
|
17585
|
-
"kind": "
|
|
17586
|
-
"name": "
|
|
17665
|
+
"kind": "field",
|
|
17666
|
+
"name": "_slashEl",
|
|
17667
|
+
"type": {
|
|
17668
|
+
"text": "HTMLDivElement | undefined"
|
|
17669
|
+
},
|
|
17587
17670
|
"privacy": "private"
|
|
17588
17671
|
},
|
|
17589
17672
|
{
|
|
17590
|
-
"kind": "
|
|
17591
|
-
"name": "
|
|
17592
|
-
"
|
|
17593
|
-
|
|
17594
|
-
|
|
17595
|
-
|
|
17596
|
-
|
|
17597
|
-
"text": "MouseEvent"
|
|
17598
|
-
}
|
|
17599
|
-
}
|
|
17600
|
-
]
|
|
17601
|
-
}
|
|
17602
|
-
],
|
|
17603
|
-
"attributes": [
|
|
17673
|
+
"kind": "field",
|
|
17674
|
+
"name": "_blockHandleEl",
|
|
17675
|
+
"type": {
|
|
17676
|
+
"text": "HTMLDivElement | undefined"
|
|
17677
|
+
},
|
|
17678
|
+
"privacy": "private"
|
|
17679
|
+
},
|
|
17604
17680
|
{
|
|
17605
|
-
"
|
|
17681
|
+
"kind": "field",
|
|
17682
|
+
"name": "_editor",
|
|
17606
17683
|
"type": {
|
|
17607
|
-
"text": "
|
|
17684
|
+
"text": "Editor | undefined"
|
|
17608
17685
|
},
|
|
17609
|
-
"
|
|
17610
|
-
"description": "
|
|
17611
|
-
"fieldName": "src"
|
|
17686
|
+
"privacy": "private",
|
|
17687
|
+
"description": "TipTap editor instance."
|
|
17612
17688
|
},
|
|
17613
17689
|
{
|
|
17614
|
-
"
|
|
17690
|
+
"kind": "field",
|
|
17691
|
+
"name": "_changeTimeout",
|
|
17615
17692
|
"type": {
|
|
17616
|
-
"text": "
|
|
17693
|
+
"text": "number | undefined"
|
|
17617
17694
|
},
|
|
17618
|
-
"
|
|
17619
|
-
"description": "
|
|
17620
|
-
"fieldName": "darkSrc"
|
|
17695
|
+
"privacy": "private",
|
|
17696
|
+
"description": "Debounce timer for the `change` event."
|
|
17621
17697
|
},
|
|
17622
17698
|
{
|
|
17623
|
-
"
|
|
17699
|
+
"kind": "field",
|
|
17700
|
+
"name": "_slashClientRect",
|
|
17624
17701
|
"type": {
|
|
17625
|
-
"text": "
|
|
17702
|
+
"text": "(() => DOMRect | null) | null"
|
|
17626
17703
|
},
|
|
17627
|
-
"
|
|
17628
|
-
"
|
|
17629
|
-
"
|
|
17704
|
+
"privacy": "private",
|
|
17705
|
+
"default": "null",
|
|
17706
|
+
"description": "Most recent slash-suggestion bounding rect (for popup placement)."
|
|
17630
17707
|
},
|
|
17631
17708
|
{
|
|
17632
|
-
"
|
|
17709
|
+
"kind": "field",
|
|
17710
|
+
"name": "_slashCommand",
|
|
17633
17711
|
"type": {
|
|
17634
|
-
"text": "
|
|
17712
|
+
"text": "(item: SlashItem) => void | undefined"
|
|
17635
17713
|
},
|
|
17636
|
-
"
|
|
17637
|
-
"description": "
|
|
17638
|
-
|
|
17639
|
-
|
|
17714
|
+
"privacy": "private",
|
|
17715
|
+
"description": "Slash-suggestion command callback to invoke on selection."
|
|
17716
|
+
},
|
|
17717
|
+
{
|
|
17718
|
+
"kind": "field",
|
|
17719
|
+
"name": "_blockHandleNodePos",
|
|
17720
|
+
"type": {
|
|
17721
|
+
"text": "number"
|
|
17722
|
+
},
|
|
17723
|
+
"privacy": "private",
|
|
17724
|
+
"default": "-1",
|
|
17725
|
+
"description": "ProseMirror doc position (inside-block) of the block under the handle."
|
|
17726
|
+
},
|
|
17727
|
+
{
|
|
17728
|
+
"kind": "field",
|
|
17729
|
+
"name": "_blockHandleHideTimeout",
|
|
17730
|
+
"type": {
|
|
17731
|
+
"text": "number | undefined"
|
|
17732
|
+
},
|
|
17733
|
+
"privacy": "private",
|
|
17734
|
+
"description": "Timer id for delayed hide of the block handle."
|
|
17735
|
+
},
|
|
17736
|
+
{
|
|
17737
|
+
"kind": "field",
|
|
17738
|
+
"name": "_turndown",
|
|
17739
|
+
"privacy": "private",
|
|
17740
|
+
"default": "new TurndownService({ headingStyle: 'atx', codeBlockStyle: 'fenced', bulletListMarker: '-', emDelimiter: '_', })",
|
|
17741
|
+
"description": "Reusable Turndown serializer instance."
|
|
17742
|
+
},
|
|
17743
|
+
{
|
|
17744
|
+
"kind": "method",
|
|
17745
|
+
"name": "_normalizeMd",
|
|
17746
|
+
"privacy": "private",
|
|
17747
|
+
"static": true,
|
|
17748
|
+
"parameters": [
|
|
17749
|
+
{
|
|
17750
|
+
"name": "value",
|
|
17751
|
+
"type": {
|
|
17752
|
+
"text": "string"
|
|
17753
|
+
}
|
|
17754
|
+
}
|
|
17755
|
+
]
|
|
17756
|
+
},
|
|
17757
|
+
{
|
|
17758
|
+
"kind": "method",
|
|
17759
|
+
"name": "_markdownToHtml",
|
|
17760
|
+
"privacy": "private",
|
|
17761
|
+
"return": {
|
|
17762
|
+
"type": {
|
|
17763
|
+
"text": "string"
|
|
17764
|
+
}
|
|
17765
|
+
},
|
|
17766
|
+
"parameters": [
|
|
17767
|
+
{
|
|
17768
|
+
"name": "md",
|
|
17769
|
+
"type": {
|
|
17770
|
+
"text": "string"
|
|
17771
|
+
}
|
|
17772
|
+
}
|
|
17773
|
+
]
|
|
17774
|
+
},
|
|
17775
|
+
{
|
|
17776
|
+
"kind": "method",
|
|
17777
|
+
"name": "_htmlToMarkdown",
|
|
17778
|
+
"privacy": "private",
|
|
17779
|
+
"return": {
|
|
17780
|
+
"type": {
|
|
17781
|
+
"text": "string"
|
|
17782
|
+
}
|
|
17783
|
+
},
|
|
17784
|
+
"parameters": [
|
|
17785
|
+
{
|
|
17786
|
+
"name": "htmlStr",
|
|
17787
|
+
"type": {
|
|
17788
|
+
"text": "string"
|
|
17789
|
+
}
|
|
17790
|
+
}
|
|
17791
|
+
]
|
|
17792
|
+
},
|
|
17793
|
+
{
|
|
17794
|
+
"kind": "method",
|
|
17795
|
+
"name": "_destroyEditor",
|
|
17796
|
+
"privacy": "private"
|
|
17797
|
+
},
|
|
17798
|
+
{
|
|
17799
|
+
"kind": "method",
|
|
17800
|
+
"name": "_initializeEditor",
|
|
17801
|
+
"privacy": "private"
|
|
17802
|
+
},
|
|
17803
|
+
{
|
|
17804
|
+
"kind": "field",
|
|
17805
|
+
"name": "_focusEditorOnContainerClick",
|
|
17806
|
+
"privacy": "private"
|
|
17807
|
+
},
|
|
17808
|
+
{
|
|
17809
|
+
"kind": "method",
|
|
17810
|
+
"name": "_buildSlashExtension",
|
|
17811
|
+
"privacy": "private"
|
|
17812
|
+
},
|
|
17813
|
+
{
|
|
17814
|
+
"kind": "method",
|
|
17815
|
+
"name": "_positionSlashMenu",
|
|
17816
|
+
"privacy": "private"
|
|
17817
|
+
},
|
|
17818
|
+
{
|
|
17819
|
+
"kind": "field",
|
|
17820
|
+
"name": "_onSlashItemClick",
|
|
17821
|
+
"privacy": "private"
|
|
17822
|
+
},
|
|
17823
|
+
{
|
|
17824
|
+
"kind": "method",
|
|
17825
|
+
"name": "_buildBlockHandleExtension",
|
|
17826
|
+
"privacy": "private"
|
|
17827
|
+
},
|
|
17828
|
+
{
|
|
17829
|
+
"kind": "method",
|
|
17830
|
+
"name": "_positionBlockHandle",
|
|
17831
|
+
"privacy": "private"
|
|
17832
|
+
},
|
|
17833
|
+
{
|
|
17834
|
+
"kind": "field",
|
|
17835
|
+
"name": "_onBlockHandleMouseEnter",
|
|
17836
|
+
"privacy": "private"
|
|
17837
|
+
},
|
|
17838
|
+
{
|
|
17839
|
+
"kind": "field",
|
|
17840
|
+
"name": "_onBlockHandleMouseLeave",
|
|
17841
|
+
"privacy": "private"
|
|
17842
|
+
},
|
|
17843
|
+
{
|
|
17844
|
+
"kind": "field",
|
|
17845
|
+
"name": "_onInsertBlockClick",
|
|
17846
|
+
"privacy": "private"
|
|
17847
|
+
},
|
|
17848
|
+
{
|
|
17849
|
+
"kind": "field",
|
|
17850
|
+
"name": "_onDragHandleMouseDown",
|
|
17851
|
+
"privacy": "private"
|
|
17852
|
+
},
|
|
17853
|
+
{
|
|
17854
|
+
"kind": "field",
|
|
17855
|
+
"name": "_onDragHandleDragStart",
|
|
17856
|
+
"privacy": "private"
|
|
17857
|
+
},
|
|
17858
|
+
{
|
|
17859
|
+
"kind": "field",
|
|
17860
|
+
"name": "_onDragHandleDragEnd",
|
|
17861
|
+
"privacy": "private"
|
|
17862
|
+
},
|
|
17863
|
+
{
|
|
17864
|
+
"kind": "method",
|
|
17865
|
+
"name": "_updateBubbleMenu",
|
|
17866
|
+
"privacy": "private"
|
|
17867
|
+
},
|
|
17868
|
+
{
|
|
17869
|
+
"kind": "method",
|
|
17870
|
+
"name": "_dispatchDebouncedChange",
|
|
17871
|
+
"privacy": "private"
|
|
17872
|
+
},
|
|
17873
|
+
{
|
|
17874
|
+
"kind": "method",
|
|
17875
|
+
"name": "_execCommand",
|
|
17876
|
+
"privacy": "private",
|
|
17877
|
+
"parameters": [
|
|
17878
|
+
{
|
|
17879
|
+
"name": "command",
|
|
17880
|
+
"type": {
|
|
17881
|
+
"text": "() => void"
|
|
17882
|
+
}
|
|
17883
|
+
}
|
|
17884
|
+
]
|
|
17885
|
+
},
|
|
17886
|
+
{
|
|
17887
|
+
"kind": "field",
|
|
17888
|
+
"name": "_switchMode",
|
|
17889
|
+
"privacy": "private"
|
|
17890
|
+
},
|
|
17891
|
+
{
|
|
17892
|
+
"kind": "field",
|
|
17893
|
+
"name": "_handleSourceChange",
|
|
17894
|
+
"privacy": "private"
|
|
17895
|
+
},
|
|
17896
|
+
{
|
|
17897
|
+
"kind": "method",
|
|
17898
|
+
"name": "_renderToolbarButton",
|
|
17899
|
+
"privacy": "private",
|
|
17900
|
+
"parameters": [
|
|
17901
|
+
{
|
|
17902
|
+
"name": "icon",
|
|
17903
|
+
"type": {
|
|
17904
|
+
"text": "string"
|
|
17905
|
+
}
|
|
17906
|
+
},
|
|
17907
|
+
{
|
|
17908
|
+
"name": "title",
|
|
17909
|
+
"type": {
|
|
17910
|
+
"text": "string"
|
|
17911
|
+
}
|
|
17912
|
+
},
|
|
17913
|
+
{
|
|
17914
|
+
"name": "action",
|
|
17915
|
+
"type": {
|
|
17916
|
+
"text": "() => void"
|
|
17917
|
+
}
|
|
17918
|
+
},
|
|
17919
|
+
{
|
|
17920
|
+
"name": "active",
|
|
17921
|
+
"default": "false"
|
|
17922
|
+
}
|
|
17923
|
+
]
|
|
17924
|
+
},
|
|
17925
|
+
{
|
|
17926
|
+
"kind": "method",
|
|
17927
|
+
"name": "_renderBubbleMenu",
|
|
17928
|
+
"privacy": "private"
|
|
17929
|
+
},
|
|
17930
|
+
{
|
|
17931
|
+
"kind": "method",
|
|
17932
|
+
"name": "_renderSlashMenu",
|
|
17933
|
+
"privacy": "private"
|
|
17934
|
+
},
|
|
17935
|
+
{
|
|
17936
|
+
"kind": "method",
|
|
17937
|
+
"name": "_renderBlockHandle",
|
|
17938
|
+
"privacy": "private"
|
|
17939
|
+
},
|
|
17940
|
+
{
|
|
17941
|
+
"kind": "method",
|
|
17942
|
+
"name": "_renderReadonlyTag",
|
|
17943
|
+
"privacy": "private"
|
|
17944
|
+
},
|
|
17945
|
+
{
|
|
17946
|
+
"kind": "field",
|
|
17947
|
+
"name": "disabled",
|
|
17948
|
+
"type": {
|
|
17949
|
+
"text": "boolean"
|
|
17950
|
+
},
|
|
17951
|
+
"default": "false",
|
|
17952
|
+
"attribute": "disabled",
|
|
17953
|
+
"reflects": true,
|
|
17954
|
+
"inheritedFrom": {
|
|
17955
|
+
"name": "BaseInput",
|
|
17956
|
+
"module": "src/input/BaseInput.ts"
|
|
17957
|
+
}
|
|
17958
|
+
},
|
|
17959
|
+
{
|
|
17960
|
+
"kind": "field",
|
|
17961
|
+
"name": "readonly",
|
|
17962
|
+
"type": {
|
|
17963
|
+
"text": "boolean"
|
|
17964
|
+
},
|
|
17965
|
+
"default": "false",
|
|
17966
|
+
"attribute": "readonly",
|
|
17967
|
+
"reflects": true,
|
|
17968
|
+
"inheritedFrom": {
|
|
17969
|
+
"name": "BaseInput",
|
|
17970
|
+
"module": "src/input/BaseInput.ts"
|
|
17971
|
+
}
|
|
17972
|
+
},
|
|
17973
|
+
{
|
|
17974
|
+
"kind": "field",
|
|
17975
|
+
"name": "required",
|
|
17976
|
+
"type": {
|
|
17977
|
+
"text": "boolean"
|
|
17978
|
+
},
|
|
17979
|
+
"default": "false",
|
|
17980
|
+
"attribute": "required",
|
|
17981
|
+
"reflects": true,
|
|
17982
|
+
"inheritedFrom": {
|
|
17983
|
+
"name": "BaseInput",
|
|
17984
|
+
"module": "src/input/BaseInput.ts"
|
|
17985
|
+
}
|
|
17986
|
+
},
|
|
17987
|
+
{
|
|
17988
|
+
"kind": "field",
|
|
17989
|
+
"name": "skeleton",
|
|
17990
|
+
"type": {
|
|
17991
|
+
"text": "boolean"
|
|
17992
|
+
},
|
|
17993
|
+
"default": "false",
|
|
17994
|
+
"attribute": "skeleton",
|
|
17995
|
+
"reflects": true,
|
|
17996
|
+
"inheritedFrom": {
|
|
17997
|
+
"name": "BaseInput",
|
|
17998
|
+
"module": "src/input/BaseInput.ts"
|
|
17999
|
+
}
|
|
18000
|
+
}
|
|
18001
|
+
],
|
|
18002
|
+
"events": [
|
|
18003
|
+
{
|
|
18004
|
+
"type": {
|
|
18005
|
+
"text": "Event"
|
|
18006
|
+
},
|
|
18007
|
+
"description": "Fired whenever the markdown content changes.",
|
|
18008
|
+
"name": "change"
|
|
18009
|
+
}
|
|
18010
|
+
],
|
|
18011
|
+
"attributes": [
|
|
18012
|
+
{
|
|
18013
|
+
"name": "value",
|
|
18014
|
+
"type": {
|
|
18015
|
+
"text": "string"
|
|
18016
|
+
},
|
|
18017
|
+
"default": "''",
|
|
18018
|
+
"description": "Current Markdown value of the editor.",
|
|
18019
|
+
"fieldName": "value"
|
|
18020
|
+
},
|
|
18021
|
+
{
|
|
18022
|
+
"name": "label",
|
|
18023
|
+
"type": {
|
|
18024
|
+
"text": "string"
|
|
18025
|
+
},
|
|
18026
|
+
"default": "''",
|
|
18027
|
+
"description": "Label displayed above the editor.",
|
|
18028
|
+
"fieldName": "label"
|
|
18029
|
+
},
|
|
18030
|
+
{
|
|
18031
|
+
"name": "placeholder",
|
|
18032
|
+
"type": {
|
|
18033
|
+
"text": "string"
|
|
18034
|
+
},
|
|
18035
|
+
"default": "\"Type '/' for commands…\"",
|
|
18036
|
+
"description": "Placeholder text shown when the editor is empty.",
|
|
18037
|
+
"fieldName": "placeholder"
|
|
18038
|
+
},
|
|
18039
|
+
{
|
|
18040
|
+
"name": "variant",
|
|
18041
|
+
"type": {
|
|
18042
|
+
"text": "'filled' | 'outlined' | 'default'"
|
|
18043
|
+
},
|
|
18044
|
+
"default": "'default'",
|
|
18045
|
+
"description": "Visual style of the wrapping field.",
|
|
18046
|
+
"fieldName": "variant"
|
|
18047
|
+
},
|
|
18048
|
+
{
|
|
18049
|
+
"name": "helper-text",
|
|
18050
|
+
"type": {
|
|
18051
|
+
"text": "string"
|
|
18052
|
+
},
|
|
18053
|
+
"default": "''",
|
|
18054
|
+
"description": "Helper text displayed below the editor.",
|
|
18055
|
+
"fieldName": "helperText"
|
|
18056
|
+
},
|
|
18057
|
+
{
|
|
18058
|
+
"name": "error",
|
|
18059
|
+
"type": {
|
|
18060
|
+
"text": "boolean"
|
|
18061
|
+
},
|
|
18062
|
+
"default": "false",
|
|
18063
|
+
"description": "Whether to show an error state.",
|
|
18064
|
+
"fieldName": "error"
|
|
18065
|
+
},
|
|
18066
|
+
{
|
|
18067
|
+
"name": "error-text",
|
|
18068
|
+
"type": {
|
|
18069
|
+
"text": "string"
|
|
18070
|
+
},
|
|
18071
|
+
"default": "''",
|
|
18072
|
+
"description": "Error message text.",
|
|
18073
|
+
"fieldName": "errorText"
|
|
18074
|
+
},
|
|
18075
|
+
{
|
|
18076
|
+
"name": "debounce",
|
|
18077
|
+
"type": {
|
|
18078
|
+
"text": "number"
|
|
18079
|
+
},
|
|
18080
|
+
"default": "250",
|
|
18081
|
+
"description": "Debounce in milliseconds for dispatching `change`.",
|
|
18082
|
+
"fieldName": "debounce"
|
|
18083
|
+
},
|
|
18084
|
+
{
|
|
18085
|
+
"name": "disabled",
|
|
18086
|
+
"type": {
|
|
18087
|
+
"text": "boolean"
|
|
18088
|
+
},
|
|
18089
|
+
"default": "false",
|
|
18090
|
+
"fieldName": "disabled",
|
|
18091
|
+
"inheritedFrom": {
|
|
18092
|
+
"name": "BaseInput",
|
|
18093
|
+
"module": "src/input/BaseInput.ts"
|
|
18094
|
+
}
|
|
18095
|
+
},
|
|
18096
|
+
{
|
|
18097
|
+
"name": "readonly",
|
|
18098
|
+
"type": {
|
|
18099
|
+
"text": "boolean"
|
|
18100
|
+
},
|
|
18101
|
+
"default": "false",
|
|
18102
|
+
"fieldName": "readonly",
|
|
18103
|
+
"inheritedFrom": {
|
|
18104
|
+
"name": "BaseInput",
|
|
18105
|
+
"module": "src/input/BaseInput.ts"
|
|
18106
|
+
}
|
|
18107
|
+
},
|
|
18108
|
+
{
|
|
18109
|
+
"name": "required",
|
|
18110
|
+
"type": {
|
|
18111
|
+
"text": "boolean"
|
|
18112
|
+
},
|
|
18113
|
+
"default": "false",
|
|
18114
|
+
"fieldName": "required",
|
|
18115
|
+
"inheritedFrom": {
|
|
18116
|
+
"name": "BaseInput",
|
|
18117
|
+
"module": "src/input/BaseInput.ts"
|
|
18118
|
+
}
|
|
18119
|
+
},
|
|
18120
|
+
{
|
|
18121
|
+
"name": "skeleton",
|
|
18122
|
+
"type": {
|
|
18123
|
+
"text": "boolean"
|
|
18124
|
+
},
|
|
18125
|
+
"default": "false",
|
|
18126
|
+
"fieldName": "skeleton",
|
|
18127
|
+
"inheritedFrom": {
|
|
18128
|
+
"name": "BaseInput",
|
|
18129
|
+
"module": "src/input/BaseInput.ts"
|
|
18130
|
+
}
|
|
18131
|
+
}
|
|
18132
|
+
],
|
|
18133
|
+
"superclass": {
|
|
18134
|
+
"name": "BaseInput",
|
|
18135
|
+
"module": "/src/input/BaseInput.js"
|
|
18136
|
+
},
|
|
18137
|
+
"tagName": "wc-markdown-editor",
|
|
18138
|
+
"customElement": true,
|
|
18139
|
+
"summary": "A Tiptap-powered Notion-like Markdown editor with a bottom toggle\nbetween rendered and raw markdown views.",
|
|
18140
|
+
"rawTag": {
|
|
18141
|
+
"name": "markdown-editor",
|
|
18142
|
+
"description": ""
|
|
18143
|
+
}
|
|
18144
|
+
}
|
|
18145
|
+
],
|
|
18146
|
+
"exports": [
|
|
18147
|
+
{
|
|
18148
|
+
"kind": "js",
|
|
18149
|
+
"name": "MarkdownEditor",
|
|
18150
|
+
"declaration": {
|
|
18151
|
+
"name": "MarkdownEditor",
|
|
18152
|
+
"module": "src/markdown-editor/markdown-editor.ts"
|
|
18153
|
+
}
|
|
18154
|
+
}
|
|
18155
|
+
]
|
|
18156
|
+
},
|
|
18157
|
+
{
|
|
18158
|
+
"kind": "javascript-module",
|
|
18159
|
+
"path": "src/markdown-editor/index.ts",
|
|
18160
|
+
"declarations": [],
|
|
18161
|
+
"exports": [
|
|
18162
|
+
{
|
|
18163
|
+
"kind": "js",
|
|
18164
|
+
"name": "MarkdownEditor",
|
|
18165
|
+
"declaration": {
|
|
18166
|
+
"name": "MarkdownEditor",
|
|
18167
|
+
"module": "src/markdown-editor/index.ts"
|
|
18168
|
+
}
|
|
18169
|
+
}
|
|
18170
|
+
]
|
|
18171
|
+
},
|
|
18172
|
+
{
|
|
18173
|
+
"kind": "javascript-module",
|
|
18174
|
+
"path": "src/image/image.ts",
|
|
18175
|
+
"declarations": [
|
|
18176
|
+
{
|
|
18177
|
+
"kind": "class",
|
|
18178
|
+
"description": "",
|
|
18179
|
+
"name": "Image",
|
|
18180
|
+
"members": [
|
|
18181
|
+
{
|
|
18182
|
+
"kind": "field",
|
|
18183
|
+
"name": "src",
|
|
18184
|
+
"type": {
|
|
18185
|
+
"text": "string"
|
|
18186
|
+
},
|
|
18187
|
+
"default": "''",
|
|
18188
|
+
"description": "Primary image source",
|
|
18189
|
+
"attribute": "src",
|
|
18190
|
+
"reflects": true
|
|
18191
|
+
},
|
|
18192
|
+
{
|
|
18193
|
+
"kind": "field",
|
|
18194
|
+
"name": "darkSrc",
|
|
18195
|
+
"type": {
|
|
18196
|
+
"text": "string"
|
|
18197
|
+
},
|
|
18198
|
+
"default": "''",
|
|
18199
|
+
"description": "Optional dark-mode image source",
|
|
18200
|
+
"attribute": "dark-src",
|
|
18201
|
+
"reflects": true
|
|
18202
|
+
},
|
|
18203
|
+
{
|
|
18204
|
+
"kind": "field",
|
|
18205
|
+
"name": "imageTitle",
|
|
18206
|
+
"type": {
|
|
18207
|
+
"text": "string"
|
|
18208
|
+
},
|
|
18209
|
+
"default": "''",
|
|
18210
|
+
"description": "Alt text / title for the image",
|
|
18211
|
+
"attribute": "image-title"
|
|
18212
|
+
},
|
|
18213
|
+
{
|
|
18214
|
+
"kind": "field",
|
|
18215
|
+
"name": "preview",
|
|
18216
|
+
"type": {
|
|
18217
|
+
"text": "boolean"
|
|
18218
|
+
},
|
|
18219
|
+
"default": "false",
|
|
18220
|
+
"description": "Enable click-to-preview lightbox",
|
|
18221
|
+
"attribute": "preview",
|
|
18222
|
+
"reflects": true
|
|
18223
|
+
},
|
|
18224
|
+
{
|
|
18225
|
+
"kind": "field",
|
|
18226
|
+
"name": "_isDarkMode",
|
|
18227
|
+
"type": {
|
|
18228
|
+
"text": "boolean"
|
|
18229
|
+
},
|
|
18230
|
+
"privacy": "private",
|
|
18231
|
+
"description": "True when the OS/app theme is dark, used to select `darkSrc`."
|
|
18232
|
+
},
|
|
18233
|
+
{
|
|
18234
|
+
"kind": "field",
|
|
18235
|
+
"name": "_loaded",
|
|
18236
|
+
"type": {
|
|
18237
|
+
"text": "boolean"
|
|
18238
|
+
},
|
|
18239
|
+
"privacy": "private",
|
|
18240
|
+
"default": "false",
|
|
18241
|
+
"description": "True once the image has entered the viewport and the `<img>` element has been rendered."
|
|
18242
|
+
},
|
|
18243
|
+
{
|
|
18244
|
+
"kind": "field",
|
|
18245
|
+
"name": "_dialog",
|
|
18246
|
+
"type": {
|
|
18247
|
+
"text": "HTMLDialogElement | undefined"
|
|
18248
|
+
},
|
|
18249
|
+
"privacy": "private"
|
|
18250
|
+
},
|
|
18251
|
+
{
|
|
18252
|
+
"kind": "field",
|
|
18253
|
+
"name": "_intersectionObserver",
|
|
18254
|
+
"type": {
|
|
18255
|
+
"text": "IntersectionObserver | null"
|
|
18256
|
+
},
|
|
18257
|
+
"privacy": "private",
|
|
18258
|
+
"default": "null",
|
|
18259
|
+
"description": "IntersectionObserver for lazy-loading the image when it enters the viewport."
|
|
18260
|
+
},
|
|
18261
|
+
{
|
|
18262
|
+
"kind": "field",
|
|
18263
|
+
"name": "_themeCleanup",
|
|
18264
|
+
"type": {
|
|
18265
|
+
"text": "(() => void) | null"
|
|
18266
|
+
},
|
|
18267
|
+
"privacy": "private",
|
|
18268
|
+
"default": "null",
|
|
18269
|
+
"description": "Cleanup function returned by `observeThemeChange`."
|
|
18270
|
+
},
|
|
18271
|
+
{
|
|
18272
|
+
"kind": "method",
|
|
18273
|
+
"name": "_setupIntersectionObserver",
|
|
18274
|
+
"privacy": "private"
|
|
18275
|
+
},
|
|
18276
|
+
{
|
|
18277
|
+
"kind": "field",
|
|
18278
|
+
"name": "_activeSrc",
|
|
18279
|
+
"type": {
|
|
18280
|
+
"text": "string"
|
|
18281
|
+
},
|
|
18282
|
+
"privacy": "private",
|
|
18283
|
+
"readonly": true
|
|
18284
|
+
},
|
|
18285
|
+
{
|
|
18286
|
+
"kind": "method",
|
|
18287
|
+
"name": "_handleClick",
|
|
18288
|
+
"privacy": "private"
|
|
18289
|
+
},
|
|
18290
|
+
{
|
|
18291
|
+
"kind": "method",
|
|
18292
|
+
"name": "_handleDialogClick",
|
|
18293
|
+
"privacy": "private",
|
|
18294
|
+
"parameters": [
|
|
18295
|
+
{
|
|
18296
|
+
"name": "e",
|
|
18297
|
+
"type": {
|
|
18298
|
+
"text": "MouseEvent"
|
|
18299
|
+
}
|
|
18300
|
+
}
|
|
18301
|
+
]
|
|
18302
|
+
}
|
|
18303
|
+
],
|
|
18304
|
+
"attributes": [
|
|
18305
|
+
{
|
|
18306
|
+
"name": "src",
|
|
18307
|
+
"type": {
|
|
18308
|
+
"text": "string"
|
|
18309
|
+
},
|
|
18310
|
+
"default": "''",
|
|
18311
|
+
"description": "Primary image source",
|
|
18312
|
+
"fieldName": "src"
|
|
18313
|
+
},
|
|
18314
|
+
{
|
|
18315
|
+
"name": "dark-src",
|
|
18316
|
+
"type": {
|
|
18317
|
+
"text": "string"
|
|
18318
|
+
},
|
|
18319
|
+
"default": "''",
|
|
18320
|
+
"description": "Optional dark-mode image source",
|
|
18321
|
+
"fieldName": "darkSrc"
|
|
18322
|
+
},
|
|
18323
|
+
{
|
|
18324
|
+
"name": "image-title",
|
|
18325
|
+
"type": {
|
|
18326
|
+
"text": "string"
|
|
18327
|
+
},
|
|
18328
|
+
"default": "''",
|
|
18329
|
+
"description": "Alt text / title for the image",
|
|
18330
|
+
"fieldName": "imageTitle"
|
|
18331
|
+
},
|
|
18332
|
+
{
|
|
18333
|
+
"name": "preview",
|
|
18334
|
+
"type": {
|
|
18335
|
+
"text": "boolean"
|
|
18336
|
+
},
|
|
18337
|
+
"default": "false",
|
|
18338
|
+
"description": "Enable click-to-preview lightbox",
|
|
18339
|
+
"fieldName": "preview"
|
|
18340
|
+
}
|
|
17640
18341
|
],
|
|
17641
18342
|
"superclass": {
|
|
17642
18343
|
"name": "LitElement",
|
|
@@ -31032,6 +31733,14 @@
|
|
|
31032
31733
|
"module": "./html-editor/index.js"
|
|
31033
31734
|
}
|
|
31034
31735
|
},
|
|
31736
|
+
{
|
|
31737
|
+
"kind": "js",
|
|
31738
|
+
"name": "MarkdownEditor",
|
|
31739
|
+
"declaration": {
|
|
31740
|
+
"name": "MarkdownEditor",
|
|
31741
|
+
"module": "./markdown-editor/index.js"
|
|
31742
|
+
}
|
|
31743
|
+
},
|
|
31035
31744
|
{
|
|
31036
31745
|
"kind": "js",
|
|
31037
31746
|
"name": "Image",
|