@spectrum-web-components/action-menu 0.48.0-beta.2 → 0.48.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.
@@ -0,0 +1,178 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "sp-action-menu.js",
8
+ "declarations": [],
9
+ "exports": [
10
+ {
11
+ "kind": "custom-element-definition",
12
+ "name": "sp-action-menu",
13
+ "declaration": {
14
+ "name": "ActionMenu",
15
+ "module": "/src/ActionMenu.js"
16
+ }
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "kind": "javascript-module",
22
+ "path": "sync/sp-action-menu.js",
23
+ "declarations": [],
24
+ "exports": []
25
+ },
26
+ {
27
+ "kind": "javascript-module",
28
+ "path": "src/ActionMenu.js",
29
+ "declarations": [
30
+ {
31
+ "kind": "class",
32
+ "description": "",
33
+ "name": "ActionMenu",
34
+ "slots": [
35
+ {
36
+ "description": "menu items to be listed in the Action Menu",
37
+ "name": ""
38
+ },
39
+ {
40
+ "description": "The icon to use for the Action Menu",
41
+ "name": "icon"
42
+ },
43
+ {
44
+ "description": "The label to use for the Action Menu",
45
+ "name": "label"
46
+ },
47
+ {
48
+ "description": "The label to use for the Action Menu (no icon space reserved)",
49
+ "name": "label-only"
50
+ },
51
+ {
52
+ "description": "Tooltip to be applied to the Action Button",
53
+ "name": "tooltip"
54
+ }
55
+ ],
56
+ "members": [
57
+ {
58
+ "kind": "field",
59
+ "name": "selects",
60
+ "type": {
61
+ "text": "undefined | 'single'"
62
+ },
63
+ "privacy": "public",
64
+ "default": "undefined",
65
+ "attribute": "selects"
66
+ },
67
+ {
68
+ "kind": "field",
69
+ "name": "static",
70
+ "type": {
71
+ "text": "'white' | 'black' | undefined"
72
+ },
73
+ "privacy": "public",
74
+ "default": "undefined",
75
+ "attribute": "static",
76
+ "reflects": true
77
+ },
78
+ {
79
+ "kind": "field",
80
+ "name": "listRole",
81
+ "type": {
82
+ "text": "'listbox' | 'menu'"
83
+ },
84
+ "privacy": "protected",
85
+ "default": "'menu'"
86
+ },
87
+ {
88
+ "kind": "field",
89
+ "name": "itemRole",
90
+ "type": {
91
+ "text": "string"
92
+ },
93
+ "privacy": "protected",
94
+ "default": "'menuitem'"
95
+ },
96
+ {
97
+ "kind": "field",
98
+ "name": "hasLabel",
99
+ "type": {
100
+ "text": "boolean"
101
+ },
102
+ "privacy": "private",
103
+ "readonly": true
104
+ },
105
+ {
106
+ "kind": "field",
107
+ "name": "labelOnly",
108
+ "type": {
109
+ "text": "boolean"
110
+ },
111
+ "privacy": "private",
112
+ "readonly": true
113
+ },
114
+ {
115
+ "kind": "field",
116
+ "name": "handleSlottableRequest",
117
+ "privacy": "public"
118
+ },
119
+ {
120
+ "kind": "field",
121
+ "name": "buttonContent",
122
+ "type": {
123
+ "text": "TemplateResult[]"
124
+ },
125
+ "privacy": "protected",
126
+ "readonly": true
127
+ }
128
+ ],
129
+ "attributes": [
130
+ {
131
+ "description": "By default `sp-action-menu` does not manage a selection. If you'd like for a selection to be held by the `sp-menu` that it presents in its overlay, use `selects=\"single\" to activate this functionality.",
132
+ "name": "selects",
133
+ "type": {
134
+ "text": "undefined | 'single'"
135
+ },
136
+ "default": "undefined",
137
+ "fieldName": "selects"
138
+ },
139
+ {
140
+ "name": "static",
141
+ "type": {
142
+ "text": "'white' | 'black' | undefined"
143
+ },
144
+ "default": "undefined",
145
+ "fieldName": "static"
146
+ }
147
+ ],
148
+ "mixins": [
149
+ {
150
+ "name": "ObserveSlotPresence",
151
+ "package": "@spectrum-web-components/shared/src/observe-slot-presence.js"
152
+ },
153
+ {
154
+ "name": "ObserveSlotText",
155
+ "package": "@spectrum-web-components/shared/src/observe-slot-text.js"
156
+ }
157
+ ],
158
+ "superclass": {
159
+ "name": "PickerBase",
160
+ "package": "@spectrum-web-components/picker"
161
+ },
162
+ "tagName": "sp-action-menu",
163
+ "customElement": true
164
+ }
165
+ ],
166
+ "exports": [
167
+ {
168
+ "kind": "js",
169
+ "name": "ActionMenu",
170
+ "declaration": {
171
+ "name": "ActionMenu",
172
+ "module": "src/ActionMenu.js"
173
+ }
174
+ }
175
+ ]
176
+ }
177
+ ]
178
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/action-menu",
3
- "version": "0.48.0-beta.2",
3
+ "version": "0.48.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -61,12 +61,12 @@
61
61
  "lit-html"
62
62
  ],
63
63
  "dependencies": {
64
- "@spectrum-web-components/action-button": "^0.48.0-beta.2",
65
- "@spectrum-web-components/base": "^0.48.0-beta.2",
66
- "@spectrum-web-components/icon": "^0.48.0-beta.2",
67
- "@spectrum-web-components/icons-workflow": "^0.48.0-beta.2",
68
- "@spectrum-web-components/picker": "^0.48.0-beta.2",
69
- "@spectrum-web-components/shared": "^0.48.0-beta.2"
64
+ "@spectrum-web-components/action-button": "^0.48.1",
65
+ "@spectrum-web-components/base": "^0.48.1",
66
+ "@spectrum-web-components/icon": "^0.48.1",
67
+ "@spectrum-web-components/icons-workflow": "^0.48.1",
68
+ "@spectrum-web-components/picker": "^0.48.1",
69
+ "@spectrum-web-components/shared": "^0.48.1"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@spectrum-css/actionmenu": "^6.1.1"
@@ -78,5 +78,5 @@
78
78
  "./**/*.dev.js",
79
79
  "./sync/sp-*.js"
80
80
  ],
81
- "gitHead": "e0479b5edadc68587c678267d3ac2c29c460b4d3"
81
+ "gitHead": "b756ecc3587411e4dbeb825bad40a9f4a3c7a248"
82
82
  }