@spectrum-web-components/truncated 0.47.1 → 0.48.0-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/truncated",
3
- "version": "0.47.1",
3
+ "version": "0.48.0-beta.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -58,10 +58,10 @@
58
58
  "lit-html"
59
59
  ],
60
60
  "dependencies": {
61
- "@spectrum-web-components/base": "^0.47.1",
62
- "@spectrum-web-components/overlay": "^0.47.1",
63
- "@spectrum-web-components/styles": "^0.47.1",
64
- "@spectrum-web-components/tooltip": "^0.47.1"
61
+ "@spectrum-web-components/base": "^0.48.0-beta.0",
62
+ "@spectrum-web-components/overlay": "^0.48.0-beta.0",
63
+ "@spectrum-web-components/styles": "^0.48.0-beta.0",
64
+ "@spectrum-web-components/tooltip": "^0.48.0-beta.0"
65
65
  },
66
66
  "types": "./src/index.d.ts",
67
67
  "customElements": "custom-elements.json",
@@ -69,5 +69,5 @@
69
69
  "./sp-*.js",
70
70
  "./**/*.dev.js"
71
71
  ],
72
- "gitHead": "151a3e21c39150dbc3f3a884b660be0bd352bda1"
72
+ "gitHead": "9a1377f0402a17b732b96e17ad06b800df6ab52e"
73
73
  }
@@ -1,214 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "readme": "",
4
- "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "sp-truncated.js",
8
- "declarations": [],
9
- "exports": [
10
- {
11
- "kind": "custom-element-definition",
12
- "name": "sp-truncated",
13
- "declaration": {
14
- "name": "Truncated",
15
- "module": "/src/Truncated.js"
16
- }
17
- }
18
- ]
19
- },
20
- {
21
- "kind": "javascript-module",
22
- "path": "src/Truncated.js",
23
- "declarations": [
24
- {
25
- "kind": "class",
26
- "description": "",
27
- "name": "Truncated",
28
- "members": [
29
- {
30
- "kind": "field",
31
- "name": "placement",
32
- "type": {
33
- "text": "\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\""
34
- },
35
- "default": "'top-start'",
36
- "attribute": "placement"
37
- },
38
- {
39
- "kind": "field",
40
- "name": "successMessage",
41
- "type": {
42
- "text": "string"
43
- },
44
- "default": "'Copied to clipboard'",
45
- "attribute": "success-message"
46
- },
47
- {
48
- "kind": "field",
49
- "name": "hasCopied",
50
- "type": {
51
- "text": "boolean"
52
- },
53
- "default": "false"
54
- },
55
- {
56
- "kind": "field",
57
- "name": "fullText",
58
- "type": {
59
- "text": "string"
60
- },
61
- "privacy": "private",
62
- "default": "''"
63
- },
64
- {
65
- "kind": "field",
66
- "name": "overflowing",
67
- "type": {
68
- "text": "boolean"
69
- },
70
- "privacy": "private",
71
- "default": "false"
72
- },
73
- {
74
- "kind": "field",
75
- "name": "content",
76
- "type": {
77
- "text": "HTMLElement"
78
- },
79
- "privacy": "private"
80
- },
81
- {
82
- "kind": "field",
83
- "name": "overlayEl",
84
- "type": {
85
- "text": "Overlay | undefined"
86
- },
87
- "privacy": "private"
88
- },
89
- {
90
- "kind": "field",
91
- "name": "slottedContent",
92
- "type": {
93
- "text": "Node[]"
94
- },
95
- "privacy": "private"
96
- },
97
- {
98
- "kind": "field",
99
- "name": "slottedOverflow",
100
- "type": {
101
- "text": "HTMLElement[]"
102
- },
103
- "privacy": "private"
104
- },
105
- {
106
- "kind": "field",
107
- "name": "hasCustomOverflow",
108
- "type": {
109
- "text": "boolean"
110
- },
111
- "readonly": true
112
- },
113
- {
114
- "kind": "field",
115
- "name": "resizeObserver",
116
- "privacy": "private",
117
- "default": "new ResizeObserver(() => {\n this.measureOverflow();\n })"
118
- },
119
- {
120
- "kind": "field",
121
- "name": "mutationObserver",
122
- "privacy": "private",
123
- "default": "new MutationObserver(() => {\n this.copyText();\n })"
124
- },
125
- {
126
- "kind": "method",
127
- "name": "renderTooltip",
128
- "privacy": "private",
129
- "return": {
130
- "type": {
131
- "text": "TemplateResult | undefined"
132
- }
133
- }
134
- },
135
- {
136
- "kind": "method",
137
- "name": "handleOverflowSlotchange",
138
- "privacy": "private",
139
- "return": {
140
- "type": {
141
- "text": "void"
142
- }
143
- }
144
- },
145
- {
146
- "kind": "method",
147
- "name": "handleClick",
148
- "privacy": "private",
149
- "return": {
150
- "type": {
151
- "text": "void"
152
- }
153
- }
154
- },
155
- {
156
- "kind": "method",
157
- "name": "measureOverflow",
158
- "privacy": "private",
159
- "return": {
160
- "type": {
161
- "text": "void"
162
- }
163
- }
164
- },
165
- {
166
- "kind": "method",
167
- "name": "copyText",
168
- "privacy": "private",
169
- "return": {
170
- "type": {
171
- "text": "void"
172
- }
173
- }
174
- }
175
- ],
176
- "attributes": [
177
- {
178
- "name": "placement",
179
- "type": {
180
- "text": "\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\""
181
- },
182
- "default": "'top-start'",
183
- "fieldName": "placement"
184
- },
185
- {
186
- "name": "success-message",
187
- "type": {
188
- "text": "string"
189
- },
190
- "default": "'Copied to clipboard'",
191
- "fieldName": "successMessage"
192
- }
193
- ],
194
- "superclass": {
195
- "name": "SpectrumElement",
196
- "package": "@spectrum-web-components/base"
197
- },
198
- "tagName": "sp-truncated",
199
- "customElement": true
200
- }
201
- ],
202
- "exports": [
203
- {
204
- "kind": "js",
205
- "name": "Truncated",
206
- "declaration": {
207
- "name": "Truncated",
208
- "module": "src/Truncated.js"
209
- }
210
- }
211
- ]
212
- }
213
- ]
214
- }