@llumi/design-system 1.0.0 → 1.0.1
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/custom-elements.json +49 -0
- package/dist/review.cjs +27 -27
- package/dist/review.js +27 -27
- package/dist/review.mjs +139 -124
- package/dist/types/components/review/comment-dialog.element.d.ts +8 -0
- package/dist/types/components/review/review.element.d.ts +4 -0
- package/package.json +50 -51
package/custom-elements.json
CHANGED
|
@@ -19,6 +19,15 @@
|
|
|
19
19
|
},
|
|
20
20
|
"default": "null"
|
|
21
21
|
},
|
|
22
|
+
{
|
|
23
|
+
"kind": "field",
|
|
24
|
+
"name": "anchor",
|
|
25
|
+
"type": {
|
|
26
|
+
"text": "ReferenceElement | null"
|
|
27
|
+
},
|
|
28
|
+
"default": "null",
|
|
29
|
+
"description": "Optional positioning reference that overrides `targetElement` — used for\ntext-selection comments, where the dialog must anchor to the selected\nrange's rect rather than the whole (potentially tall) selectable element.\nA floating-ui virtual element (`{ getBoundingClientRect() }`) is accepted."
|
|
30
|
+
},
|
|
22
31
|
{
|
|
23
32
|
"kind": "field",
|
|
24
33
|
"name": "value",
|
|
@@ -714,6 +723,15 @@
|
|
|
714
723
|
"privacy": "private",
|
|
715
724
|
"default": "null"
|
|
716
725
|
},
|
|
726
|
+
{
|
|
727
|
+
"kind": "field",
|
|
728
|
+
"name": "commentDialogAnchorId",
|
|
729
|
+
"type": {
|
|
730
|
+
"text": "string | null"
|
|
731
|
+
},
|
|
732
|
+
"privacy": "private",
|
|
733
|
+
"default": "null"
|
|
734
|
+
},
|
|
717
735
|
{
|
|
718
736
|
"kind": "field",
|
|
719
737
|
"name": "overallDialog",
|
|
@@ -818,6 +836,30 @@
|
|
|
818
836
|
},
|
|
819
837
|
"description": "Clears the persisted draft for this element. No-op when persistence is off."
|
|
820
838
|
},
|
|
839
|
+
{
|
|
840
|
+
"kind": "method",
|
|
841
|
+
"name": "selectionAnchor",
|
|
842
|
+
"privacy": "private",
|
|
843
|
+
"return": {
|
|
844
|
+
"type": {
|
|
845
|
+
"text": "ReferenceElement | null"
|
|
846
|
+
}
|
|
847
|
+
},
|
|
848
|
+
"parameters": [
|
|
849
|
+
{
|
|
850
|
+
"name": "target",
|
|
851
|
+
"type": {
|
|
852
|
+
"text": "HTMLElement"
|
|
853
|
+
}
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"name": "selection",
|
|
857
|
+
"type": {
|
|
858
|
+
"text": "SelectionRange"
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
]
|
|
862
|
+
},
|
|
821
863
|
{
|
|
822
864
|
"kind": "method",
|
|
823
865
|
"name": "mountChrome",
|
|
@@ -951,6 +993,13 @@
|
|
|
951
993
|
},
|
|
952
994
|
{
|
|
953
995
|
"name": "default-mode"
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"type": {
|
|
999
|
+
"text": "string"
|
|
1000
|
+
},
|
|
1001
|
+
"description": "When set to a non-empty value, persists the review draft to localStorage under that key and restores it on load. Read once on connect.",
|
|
1002
|
+
"name": "persist"
|
|
954
1003
|
}
|
|
955
1004
|
],
|
|
956
1005
|
"superclass": {
|