@spectrum-web-components/popover 0.49.0-beta.2 → 0.49.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/custom-elements.json +155 -0
- package/package.json +4 -4
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "sp-popover.js",
|
|
8
|
+
"declarations": [],
|
|
9
|
+
"exports": [
|
|
10
|
+
{
|
|
11
|
+
"kind": "custom-element-definition",
|
|
12
|
+
"name": "sp-popover",
|
|
13
|
+
"declaration": {
|
|
14
|
+
"name": "Popover",
|
|
15
|
+
"module": "/src/Popover.js"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"kind": "javascript-module",
|
|
22
|
+
"path": "src/Popover.js",
|
|
23
|
+
"declarations": [
|
|
24
|
+
{
|
|
25
|
+
"kind": "class",
|
|
26
|
+
"description": "",
|
|
27
|
+
"name": "Popover",
|
|
28
|
+
"slots": [
|
|
29
|
+
{
|
|
30
|
+
"description": "content to display within the Popover",
|
|
31
|
+
"name": ""
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"members": [
|
|
35
|
+
{
|
|
36
|
+
"kind": "field",
|
|
37
|
+
"name": "dialog",
|
|
38
|
+
"type": {
|
|
39
|
+
"text": "boolean"
|
|
40
|
+
},
|
|
41
|
+
"privacy": "public",
|
|
42
|
+
"default": "false",
|
|
43
|
+
"description": "Whether the popover should manage the application\nof padding to its content or not.",
|
|
44
|
+
"attribute": "dialog",
|
|
45
|
+
"reflects": true
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"kind": "field",
|
|
49
|
+
"name": "open",
|
|
50
|
+
"type": {
|
|
51
|
+
"text": "boolean"
|
|
52
|
+
},
|
|
53
|
+
"privacy": "public",
|
|
54
|
+
"default": "false",
|
|
55
|
+
"description": "Whether the popover is visible or not.",
|
|
56
|
+
"attribute": "open",
|
|
57
|
+
"reflects": true
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"kind": "field",
|
|
61
|
+
"name": "placement",
|
|
62
|
+
"type": {
|
|
63
|
+
"text": "\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\""
|
|
64
|
+
},
|
|
65
|
+
"privacy": "public",
|
|
66
|
+
"attribute": "placement",
|
|
67
|
+
"reflects": true
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"kind": "field",
|
|
71
|
+
"name": "tip",
|
|
72
|
+
"type": {
|
|
73
|
+
"text": "boolean"
|
|
74
|
+
},
|
|
75
|
+
"privacy": "public",
|
|
76
|
+
"default": "false",
|
|
77
|
+
"attribute": "tip",
|
|
78
|
+
"reflects": true
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"kind": "field",
|
|
82
|
+
"name": "tipElement",
|
|
83
|
+
"type": {
|
|
84
|
+
"text": "HTMLSpanElement"
|
|
85
|
+
},
|
|
86
|
+
"privacy": "public"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"kind": "method",
|
|
90
|
+
"name": "renderTip",
|
|
91
|
+
"privacy": "protected",
|
|
92
|
+
"return": {
|
|
93
|
+
"type": {
|
|
94
|
+
"text": "TemplateResult"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"attributes": [
|
|
100
|
+
{
|
|
101
|
+
"name": "placement",
|
|
102
|
+
"type": {
|
|
103
|
+
"text": "\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\""
|
|
104
|
+
},
|
|
105
|
+
"fieldName": "placement",
|
|
106
|
+
"attribute": "placement"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "dialog",
|
|
110
|
+
"type": {
|
|
111
|
+
"text": "boolean"
|
|
112
|
+
},
|
|
113
|
+
"default": "false",
|
|
114
|
+
"description": "Whether the popover should manage the application\nof padding to its content or not.",
|
|
115
|
+
"fieldName": "dialog"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "open",
|
|
119
|
+
"type": {
|
|
120
|
+
"text": "boolean"
|
|
121
|
+
},
|
|
122
|
+
"default": "false",
|
|
123
|
+
"description": "Whether the popover is visible or not.",
|
|
124
|
+
"fieldName": "open"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "tip",
|
|
128
|
+
"type": {
|
|
129
|
+
"text": "boolean"
|
|
130
|
+
},
|
|
131
|
+
"default": "false",
|
|
132
|
+
"fieldName": "tip"
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"superclass": {
|
|
136
|
+
"name": "SpectrumElement",
|
|
137
|
+
"package": "@spectrum-web-components/base"
|
|
138
|
+
},
|
|
139
|
+
"tagName": "sp-popover",
|
|
140
|
+
"customElement": true
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"exports": [
|
|
144
|
+
{
|
|
145
|
+
"kind": "js",
|
|
146
|
+
"name": "Popover",
|
|
147
|
+
"declaration": {
|
|
148
|
+
"name": "Popover",
|
|
149
|
+
"module": "src/Popover.js"
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
}
|
|
154
|
+
]
|
|
155
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spectrum-web-components/popover",
|
|
3
|
-
"version": "0.49.0
|
|
3
|
+
"version": "0.49.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"lit-html"
|
|
58
58
|
],
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@spectrum-web-components/base": "^0.49.0
|
|
61
|
-
"@spectrum-web-components/overlay": "^0.49.0
|
|
60
|
+
"@spectrum-web-components/base": "^0.49.0",
|
|
61
|
+
"@spectrum-web-components/overlay": "^0.49.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@spectrum-css/popover": "^7.1.0"
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"./sp-*.js",
|
|
70
70
|
"./**/*.dev.js"
|
|
71
71
|
],
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "088e84caa1e2f723d735b011608ca0a3411e2149"
|
|
73
73
|
}
|