@spectrum-web-components/action-menu 1.0.0 → 1.1.0-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/action-menu",
3
- "version": "1.0.0",
3
+ "version": "1.1.0-beta.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": "^1.0.0",
65
- "@spectrum-web-components/base": "^1.0.0",
66
- "@spectrum-web-components/icon": "^1.0.0",
67
- "@spectrum-web-components/icons-workflow": "^1.0.0",
68
- "@spectrum-web-components/picker": "^1.0.0",
69
- "@spectrum-web-components/shared": "^1.0.0"
64
+ "@spectrum-web-components/action-button": "^1.1.0-beta.1",
65
+ "@spectrum-web-components/base": "^1.1.0-beta.1",
66
+ "@spectrum-web-components/icon": "^1.1.0-beta.1",
67
+ "@spectrum-web-components/icons-workflow": "^1.1.0-beta.1",
68
+ "@spectrum-web-components/picker": "^1.1.0-beta.1",
69
+ "@spectrum-web-components/shared": "^1.1.0-beta.1"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@spectrum-css/actionmenu": "^7.0.0-s2-foundations.15"
@@ -78,5 +78,5 @@
78
78
  "./**/*.dev.js",
79
79
  "./sync/sp-*.js"
80
80
  ],
81
- "gitHead": "5cf5d34645bf9494ebd20f64c42d1619523d2d84"
81
+ "gitHead": "3a50fd95f2aa2e05d05ae3e5307dfac05b19aba1"
82
82
  }
@@ -1,176 +0,0 @@
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": "staticColor",
70
- "type": {
71
- "text": "'white' | 'black' | undefined"
72
- },
73
- "privacy": "public",
74
- "attribute": "static-color",
75
- "reflects": true
76
- },
77
- {
78
- "kind": "field",
79
- "name": "listRole",
80
- "type": {
81
- "text": "'listbox' | 'menu'"
82
- },
83
- "privacy": "protected",
84
- "default": "'menu'"
85
- },
86
- {
87
- "kind": "field",
88
- "name": "itemRole",
89
- "type": {
90
- "text": "string"
91
- },
92
- "privacy": "protected",
93
- "default": "'menuitem'"
94
- },
95
- {
96
- "kind": "field",
97
- "name": "hasLabel",
98
- "type": {
99
- "text": "boolean"
100
- },
101
- "privacy": "private",
102
- "readonly": true
103
- },
104
- {
105
- "kind": "field",
106
- "name": "labelOnly",
107
- "type": {
108
- "text": "boolean"
109
- },
110
- "privacy": "private",
111
- "readonly": true
112
- },
113
- {
114
- "kind": "field",
115
- "name": "handleSlottableRequest",
116
- "privacy": "public"
117
- },
118
- {
119
- "kind": "field",
120
- "name": "buttonContent",
121
- "type": {
122
- "text": "TemplateResult[]"
123
- },
124
- "privacy": "protected",
125
- "readonly": true
126
- }
127
- ],
128
- "attributes": [
129
- {
130
- "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.",
131
- "name": "selects",
132
- "type": {
133
- "text": "undefined | 'single'"
134
- },
135
- "default": "undefined",
136
- "fieldName": "selects"
137
- },
138
- {
139
- "name": "static-color",
140
- "type": {
141
- "text": "'white' | 'black' | undefined"
142
- },
143
- "fieldName": "staticColor"
144
- }
145
- ],
146
- "mixins": [
147
- {
148
- "name": "ObserveSlotPresence",
149
- "package": "@spectrum-web-components/shared/src/observe-slot-presence.js"
150
- },
151
- {
152
- "name": "ObserveSlotText",
153
- "package": "@spectrum-web-components/shared/src/observe-slot-text.js"
154
- }
155
- ],
156
- "superclass": {
157
- "name": "PickerBase",
158
- "package": "@spectrum-web-components/picker"
159
- },
160
- "tagName": "sp-action-menu",
161
- "customElement": true
162
- }
163
- ],
164
- "exports": [
165
- {
166
- "kind": "js",
167
- "name": "ActionMenu",
168
- "declaration": {
169
- "name": "ActionMenu",
170
- "module": "src/ActionMenu.js"
171
- }
172
- }
173
- ]
174
- }
175
- ]
176
- }