@spectrum-web-components/action-menu 1.9.1 → 1.10.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/action-menu",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/adobe/spectrum-web-components.git",
|
|
12
|
-
"directory": "packages/action-menu"
|
|
12
|
+
"directory": "1st-gen/packages/action-menu"
|
|
13
13
|
},
|
|
14
14
|
"author": "Adobe",
|
|
15
15
|
"homepage": "https://opensource.adobe.com/spectrum-web-components/components/action-menu",
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"css"
|
|
68
68
|
],
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@spectrum-web-components/action-button": "1.
|
|
71
|
-
"@spectrum-web-components/base": "1.
|
|
72
|
-
"@spectrum-web-components/icon": "1.
|
|
73
|
-
"@spectrum-web-components/icons-workflow": "1.
|
|
74
|
-
"@spectrum-web-components/picker": "1.
|
|
75
|
-
"@spectrum-web-components/shared": "1.
|
|
70
|
+
"@spectrum-web-components/action-button": "1.10.0",
|
|
71
|
+
"@spectrum-web-components/base": "1.10.0",
|
|
72
|
+
"@spectrum-web-components/icon": "1.10.0",
|
|
73
|
+
"@spectrum-web-components/icons-workflow": "1.10.0",
|
|
74
|
+
"@spectrum-web-components/picker": "1.10.0",
|
|
75
|
+
"@spectrum-web-components/shared": "1.10.0"
|
|
76
76
|
},
|
|
77
77
|
"types": "./src/index.d.ts",
|
|
78
78
|
"customElements": "custom-elements.json",
|
package/src/ActionMenu.d.ts
CHANGED
|
@@ -15,11 +15,11 @@ import '@spectrum-web-components/action-button/sp-action-button.js';
|
|
|
15
15
|
import '@spectrum-web-components/icons-workflow/icons/sp-icon-more.js';
|
|
16
16
|
import { SlottableRequestEvent } from '@spectrum-web-components/overlay/src/slottable-request-event.js';
|
|
17
17
|
declare const ActionMenu_base: typeof PickerBase & {
|
|
18
|
-
new (...args: any[]): import("@spectrum-web-components/shared/
|
|
19
|
-
prototype: import("@spectrum-web-components/shared/
|
|
18
|
+
new (...args: any[]): import("@spectrum-web-components/core/shared/observe-slot-text.js").SlotTextObservingInterface;
|
|
19
|
+
prototype: import("@spectrum-web-components/core/shared/observe-slot-text.js").SlotTextObservingInterface;
|
|
20
20
|
} & {
|
|
21
|
-
new (...args: any[]): import("@spectrum-web-components/shared/
|
|
22
|
-
prototype: import("@spectrum-web-components/shared/
|
|
21
|
+
new (...args: any[]): import("@spectrum-web-components/core/shared/observe-slot-presence.js").SlotPresenceObservingInterface;
|
|
22
|
+
prototype: import("@spectrum-web-components/core/shared/observe-slot-presence.js").SlotPresenceObservingInterface;
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
25
|
* @element sp-action-menu
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["action-menu.css.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["import { css } from '@spectrum-web-components/base';\nconst styles = css`\n :host{display:inline-flex}:host([quiet]){min-width:0}:host>sp-menu{display:none}::slotted([slot=icon]),.icon{flex-shrink:0}#popover{max-width:none}:host([dir=ltr]) ::slotted([slot=icon]),:host([dir=ltr]) .icon{margin-left:calc(-1*(var(--spectrum-actionbutton-textonly-padding-left-adjusted) - var(--spectrum-actionbutton-padding-left-adjusted)))}:host([dir=rtl]) ::slotted([slot=icon]),:host([dir=rtl]) .icon{margin-right:calc(-1*(var(--spectrum-actionbutton-textonly-padding-left-adjusted) - var(--spectrum-actionbutton-padding-left-adjusted)))}:host([dir]) slot[icon-only]::slotted([slot=icon]),:host([dir]) slot[icon-only] .icon{margin-inline:calc((var(--custom-actionbutton-edge-to-text,var(--spectrum-actionbutton-edge-to-text)) - var(--custom-actionbutton-edge-to-visual-only,var(--spectrum-actionbutton-edge-to-visual-only)))*-1)}sp-overlay:not(:defined){display:none}\n`;\nexport default styles;"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAGf,eAAe;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["action-menu.css.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import { css } from '@spectrum-web-components/base';\nconst styles = css`\n :host{display:inline-flex}:host([quiet]){min-width:0}:host>sp-menu{display:none}::slotted([slot=icon]),.icon{flex-shrink:0}#popover{max-width:none}:host([dir=ltr]) ::slotted([slot=icon]),:host([dir=ltr]) .icon{margin-left:calc(-1*(var(--spectrum-actionbutton-textonly-padding-left-adjusted) - var(--spectrum-actionbutton-padding-left-adjusted)))}:host([dir=rtl]) ::slotted([slot=icon]),:host([dir=rtl]) .icon{margin-right:calc(-1*(var(--spectrum-actionbutton-textonly-padding-left-adjusted) - var(--spectrum-actionbutton-padding-left-adjusted)))}:host([dir]) slot[icon-only]::slotted([slot=icon]),:host([dir]) slot[icon-only] .icon{margin-inline:calc((var(--custom-actionbutton-edge-to-text,var(--spectrum-actionbutton-edge-to-text)) - var(--custom-actionbutton-edge-to-visual-only,var(--spectrum-actionbutton-edge-to-visual-only)))*-1)}sp-overlay:not(:defined){display:none}\n`;\nexport default styles;"],
|
|
5
|
+
"mappings": "aAAA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA,EAGf,eAAeC",
|
|
6
6
|
"names": ["css", "styles"]
|
|
7
7
|
}
|