@corto-ai/gds-angular 2.2.1-dev.2 → 2.2.1-dev.3
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/README.md
CHANGED
|
@@ -30,11 +30,11 @@ If you plan to only use the stylesheet/fonts for this library, we recommend impl
|
|
|
30
30
|
|
|
31
31
|
## CDN Assets
|
|
32
32
|
|
|
33
|
-
- All brands combined: <https://cdn.dev.cortoaws.com/style/gds/2.2.1-dev.
|
|
34
|
-
- Acctivity: <https://cdn.dev.cortoaws.com/style/gds/2.2.1-dev.
|
|
35
|
-
- CORTO: <https://cdn.dev.cortoaws.com/style/gds/2.2.1-dev.
|
|
36
|
-
- LawY: <https://cdn.dev.cortoaws.com/style/gds/2.2.1-dev.
|
|
37
|
-
- LEAP: <https://cdn.dev.cortoaws.com/style/gds/2.2.1-dev.
|
|
33
|
+
- All brands combined: <https://cdn.dev.cortoaws.com/style/gds/2.2.1-dev.3/css/all.css>
|
|
34
|
+
- Acctivity: <https://cdn.dev.cortoaws.com/style/gds/2.2.1-dev.3/css/acctivity.css>
|
|
35
|
+
- CORTO: <https://cdn.dev.cortoaws.com/style/gds/2.2.1-dev.3/css/corto.css>
|
|
36
|
+
- LawY: <https://cdn.dev.cortoaws.com/style/gds/2.2.1-dev.3/css/lawy.css>
|
|
37
|
+
- LEAP: <https://cdn.dev.cortoaws.com/style/gds/2.2.1-dev.3/css/leap.css>
|
|
38
38
|
|
|
39
39
|
## Library `@layer`s
|
|
40
40
|
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M2 5.125C2 3.39911 3.39911 2 5.125 2H13.875C15.6009 2 17 3.39911 17 5.125V9.50002H15.75V7H3.25V13.875C3.25 14.9105 4.08947 15.75 5.125 15.75H5.75009V17H5.125C3.39911 17 2 15.6009 2 13.875V5.125ZM15.75 5.125C15.75 4.08947 14.9105 3.25 13.875 3.25H5.125C4.08947 3.25 3.25 4.08947 3.25 5.125V5.75H15.75V5.125ZM9.5 10.75C8.11929 10.75 7 11.8693 7 13.25V19.5C7 20.8807 8.11929 22 9.5 22H19.5C20.8807 22 22 20.8807 22 19.5V13.25C22 11.8693 20.8807 10.75 19.5 10.75H9.5ZM8.25 13.25C8.25 12.5596 8.80964 12 9.5 12H19.5C20.1904 12 20.75 12.5596 20.75 13.25V13.2777L14.5 16.9516L8.25 13.2779V13.25ZM8.25 14.7279L14.0249 18.1223C14.3182 18.2947 14.6818 18.2947 14.9751 18.1223L20.75 14.7277V19.5C20.75 20.1904 20.1904 20.75 19.5 20.75H9.5C8.80964 20.75 8.25 20.1904 8.25 19.5V14.7279Z" fill="currentColor"/>
|
|
3
|
+
</svg>
|
|
@@ -485,6 +485,7 @@ var icons_exports = /* @__PURE__ */ __exportAll({
|
|
|
485
485
|
gdsLineCalendarClockIcon: () => gdsLineCalendarClockIcon,
|
|
486
486
|
gdsLineCalendarCrossIcon: () => gdsLineCalendarCrossIcon,
|
|
487
487
|
gdsLineCalendarIcon: () => gdsLineCalendarIcon,
|
|
488
|
+
gdsLineCalendarMailIcon: () => gdsLineCalendarMailIcon,
|
|
488
489
|
gdsLineCalendarNewIcon: () => gdsLineCalendarNewIcon,
|
|
489
490
|
gdsLineCalendarPersonIcon: () => gdsLineCalendarPersonIcon,
|
|
490
491
|
gdsLineCalendarPlayIcon: () => gdsLineCalendarPlayIcon,
|
|
@@ -2385,6 +2386,10 @@ const gdsLineCalendarCrossIcon = {
|
|
|
2385
2386
|
data: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 4.50001C2 3.11929 3.11929 2.00001 4.5 2.00001H11.5C12.8807 2.00001 14 3.11929 14 4.50001V5.60601V6.25717C13.3134 5.69016 12.4869 5.28658 11.58 5.10601H13V4.50001C13 3.67158 12.3284 3.00001 11.5 3.00001H4.5C3.67157 3.00001 3 3.67158 3 4.50001V5.10601H9.42001C8.5959 5.27009 7.83816 5.61833 7.1915 6.10601H3V11.5C3 12.3284 3.67157 13 4.5 13H5.59971C5.7826 13.3578 6.00353 13.6929 6.25716 14H4.5C3.11929 14 2 12.8807 2 11.5V5.60601V4.50001Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M10.5 15C12.9853 15 15 12.9853 15 10.5C15 8.01472 12.9853 6 10.5 6C8.01472 6 6 8.01472 6 10.5C6 12.9853 8.01472 15 10.5 15ZM12.2678 8.73224C12.463 8.9275 12.463 9.24409 12.2678 9.43935L11.2071 10.5L12.2678 11.5607C12.463 11.7559 12.463 12.0725 12.2678 12.2678C12.0725 12.463 11.7559 12.463 11.5607 12.2678L10.5 11.2071L9.43936 12.2678C9.24409 12.463 8.92751 12.463 8.73225 12.2678C8.53699 12.0725 8.53699 11.7559 8.73225 11.5607L9.79291 10.5L8.73225 9.43935C8.53699 9.24408 8.53699 8.9275 8.73225 8.73224C8.92751 8.53698 9.24409 8.53698 9.43936 8.73224L10.5 9.7929L11.5607 8.73224C11.7559 8.53698 12.0725 8.53698 12.2678 8.73224Z" fill="currentColor"/></svg>`,
|
|
2386
2387
|
name: "line-calendar-cross"
|
|
2387
2388
|
};
|
|
2389
|
+
const gdsLineCalendarMailIcon = {
|
|
2390
|
+
data: `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 5.125C2 3.39911 3.39911 2 5.125 2H13.875C15.6009 2 17 3.39911 17 5.125V9.50002H15.75V7H3.25V13.875C3.25 14.9105 4.08947 15.75 5.125 15.75H5.75009V17H5.125C3.39911 17 2 15.6009 2 13.875V5.125ZM15.75 5.125C15.75 4.08947 14.9105 3.25 13.875 3.25H5.125C4.08947 3.25 3.25 4.08947 3.25 5.125V5.75H15.75V5.125ZM9.5 10.75C8.11929 10.75 7 11.8693 7 13.25V19.5C7 20.8807 8.11929 22 9.5 22H19.5C20.8807 22 22 20.8807 22 19.5V13.25C22 11.8693 20.8807 10.75 19.5 10.75H9.5ZM8.25 13.25C8.25 12.5596 8.80964 12 9.5 12H19.5C20.1904 12 20.75 12.5596 20.75 13.25V13.2777L14.5 16.9516L8.25 13.2779V13.25ZM8.25 14.7279L14.0249 18.1223C14.3182 18.2947 14.6818 18.2947 14.9751 18.1223L20.75 14.7277V19.5C20.75 20.1904 20.1904 20.75 19.5 20.75H9.5C8.80964 20.75 8.25 20.1904 8.25 19.5V14.7279Z" fill="currentColor"/></svg>`,
|
|
2391
|
+
name: "line-calendar-mail"
|
|
2392
|
+
};
|
|
2388
2393
|
const gdsLineCalendarNewIcon = {
|
|
2389
2394
|
data: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 4.5C2 3.11929 3.11929 2 4.5 2H11.5C12.8807 2 14 3.11929 14 4.5V5.606V6.25716C13.3134 5.69015 12.4869 5.28657 11.58 5.106H13V4.5C13 3.67157 12.3284 3 11.5 3H4.5C3.67157 3 3 3.67157 3 4.5V5.106H9.42001C8.5959 5.27009 7.83816 5.61832 7.1915 6.106H3V11.5C3 12.3284 3.67157 13 4.5 13H5.59971C5.7826 13.3578 6.00353 13.6929 6.25716 14H4.5C3.11929 14 2 12.8807 2 11.5V5.606V4.5Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M10.5 15C12.9853 15 15 12.9853 15 10.5C15 8.01472 12.9853 6 10.5 6C8.01472 6 6 8.01472 6 10.5C6 12.9853 8.01472 15 10.5 15ZM10.5 8C10.7762 8 11 8.22386 11 8.5V10H12.5C12.7762 10 13 10.2239 13 10.5C13 10.7761 12.7762 11 12.5 11H11V12.5C11 12.7761 10.7762 13 10.5 13C10.2239 13 10 12.7761 10 12.5V11H8.50002C8.22387 11 8.00002 10.7761 8.00002 10.5C8.00002 10.2239 8.22387 10 8.50002 10H10V8.5C10 8.22386 10.2239 8 10.5 8Z" fill="currentColor"/></svg>`,
|
|
2390
2395
|
name: "line-calendar-new"
|
|
@@ -6925,7 +6930,7 @@ var GdsContextMenuItemComponent = class GdsContextMenuItemComponent extends GdsC
|
|
|
6925
6930
|
]
|
|
6926
6931
|
}],
|
|
6927
6932
|
ngImport: i0,
|
|
6928
|
-
template: "@if (border()) {\n <div class=\"border\"></div>\n}\n<div class=\"\n gds-radius-sm\n wrapper\n\">\n @if (variantIcon(); as variantIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-2xs\n \"\n [key]=\"variantIcon\"\n />\n }\n\n @if (startIcon(); as startIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-xs\n \"\n [key]=\"startIcon\"\n />\n }\n\n <div\n class=\"\n gds-align-items-start\n gds-display-flex\n gds-flex-column\n gds-gap-2xs\n gds-justify-content-center\n gds-min-width-0\n \"\n >\n <div\n class=\"\n gds-context-menu-item_label\n gds-truncate\n gds-width-100-parent\n \"\n [class]=\"labelClass()\"\n [tp]=\"label()\"\n [tpOnlyTextOverflow]=\"true\"\n [tpVariation]=\"tooltipVariation()\"\n [tpAppendTo]=\"tooltipAppendTo()\"\n >\n <ng-content select=\"[label]\">{{ label() }}</ng-content>\n </div>\n\n @if (hint(); as hint) {\n <div class=\"gds-context-menu-item_hint\">{{ hint }}</div>\n }\n </div>\n\n @if (variant() === 'switch') {\n <gds-switch class=\"\n gds-margin-block-auto\n gds-margin-inline-start-auto\n gds-min-width-fit-content\n \">\n <input\n type=\"checkbox\"\n [checked]=\"selected()\"\n (click)=\"$event.stopPropagation()\"\n />\n </gds-switch>\n }\n\n @if (hasChildren()) {\n <gds-icon\n class=\"\n gds-context-menu-item_endIcon\n gds-icon-size-xs\n \"\n key=\"line-chevron-right-stroke\"\n />\n }\n</div>\n",
|
|
6933
|
+
template: "@if (border()) {\n <div class=\"border\"></div>\n}\n<div class=\"\n gds-radius-sm\n wrapper\n\">\n @if (variantIcon(); as variantIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-2xs\n \"\n [key]=\"variantIcon\"\n />\n }\n\n @if (startIcon(); as startIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-xs\n \"\n [key]=\"startIcon\"\n />\n }\n\n <ng-content select=\"[leading-visual]\" />\n\n <div\n class=\"\n gds-align-items-start\n gds-display-flex\n gds-flex-column\n gds-gap-2xs\n gds-justify-content-center\n gds-min-width-0\n \"\n >\n <div\n class=\"\n gds-context-menu-item_label\n gds-truncate\n gds-width-100-parent\n \"\n [class]=\"labelClass()\"\n [tp]=\"label()\"\n [tpOnlyTextOverflow]=\"true\"\n [tpVariation]=\"tooltipVariation()\"\n [tpAppendTo]=\"tooltipAppendTo()\"\n >\n <ng-content select=\"[label]\">{{ label() }}</ng-content>\n </div>\n\n @if (hint(); as hint) {\n <div class=\"gds-context-menu-item_hint\">{{ hint }}</div>\n }\n </div>\n\n @if (variant() === 'switch') {\n <gds-switch class=\"\n gds-margin-block-auto\n gds-margin-inline-start-auto\n gds-min-width-fit-content\n \">\n <input\n type=\"checkbox\"\n [checked]=\"selected()\"\n (click)=\"$event.stopPropagation()\"\n />\n </gds-switch>\n }\n\n @if (hasChildren()) {\n <gds-icon\n class=\"\n gds-context-menu-item_endIcon\n gds-icon-size-xs\n \"\n key=\"line-chevron-right-stroke\"\n />\n }\n</div>\n",
|
|
6929
6934
|
styles: ["@layer design-system{:host{--icon-color: var(--gds-palette-icon-primary);--gds-context-menu-item-background: var(--gds-palette-background-white)}:host .border{border-top:1px solid var(--gds-palette-border-modal);height:var(--gds-spacing-2xs)}:host .wrapper{--font: var(--gds-text-body-shorthand);--color: var(--gds-palette-text-default-primary);--background-color: var(--gds-context-menu-item-background);display:flex;align-items:center;padding:7px 11px;gap:var(--gds-spacing-xs);cursor:default;background:var(--background-color)}:host[variant=heading]>.wrapper{--font: var(--gds-text-bodyStrong-shorthand);--color: var(--gds-palette-text-primary-primary)}:host[variant=indent]>.wrapper{padding-left:40px}:host[variant=double-indent]>.wrapper{padding-left:68px}:host[compact]>.wrapper{padding:3px 11px}:host:focus-visible>.wrapper{outline:none;--background-color: var(--gds-palette-background-hover)}:host:focus-visible{outline:none;--background-color: var(--gds-palette-background-hover)}:host[clickable]>.wrapper{cursor:pointer}:host[clickable]>.wrapper:hover{--background-color: var(--gds-palette-background-hover)}:host .gds-context-menu-item_label{flex:1;font:var(--font);color:var(--color);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host .gds-context-menu-item_endIcon{margin-left:auto;color:var(--icon-color)}:host .gds-context-menu-item_startIcon{color:var(--icon-color)}:host .gds-context-menu-item_hint{font:var(--gds-text-caption-shorthand);color:var(--gds-palette-text-default-secondary)}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=heading]>.wrapper{--font: var(--gds-text-caption-shorthand);--color: var(--gds-palette-text-default-secondary);border-bottom:1px solid var(--gds-palette-border-modal);border-radius:0}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host>.wrapper{justify-content:center}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host .gds-context-menu-item_endIcon{margin-left:unset}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=default]>.wrapper,:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=heading]>.wrapper{padding-inline:unset}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=check]>.wrapper{position:relative;right:var(--gds-spacing-sm)}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=indent]>.wrapper{padding-left:0}}\n"],
|
|
6930
6935
|
dependencies: [
|
|
6931
6936
|
{
|
|
@@ -7018,7 +7023,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7018
7023
|
]
|
|
7019
7024
|
}],
|
|
7020
7025
|
host: { tabindex: "0" },
|
|
7021
|
-
template: "@if (border()) {\n <div class=\"border\"></div>\n}\n<div class=\"\n gds-radius-sm\n wrapper\n\">\n @if (variantIcon(); as variantIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-2xs\n \"\n [key]=\"variantIcon\"\n />\n }\n\n @if (startIcon(); as startIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-xs\n \"\n [key]=\"startIcon\"\n />\n }\n\n <div\n class=\"\n gds-align-items-start\n gds-display-flex\n gds-flex-column\n gds-gap-2xs\n gds-justify-content-center\n gds-min-width-0\n \"\n >\n <div\n class=\"\n gds-context-menu-item_label\n gds-truncate\n gds-width-100-parent\n \"\n [class]=\"labelClass()\"\n [tp]=\"label()\"\n [tpOnlyTextOverflow]=\"true\"\n [tpVariation]=\"tooltipVariation()\"\n [tpAppendTo]=\"tooltipAppendTo()\"\n >\n <ng-content select=\"[label]\">{{ label() }}</ng-content>\n </div>\n\n @if (hint(); as hint) {\n <div class=\"gds-context-menu-item_hint\">{{ hint }}</div>\n }\n </div>\n\n @if (variant() === 'switch') {\n <gds-switch class=\"\n gds-margin-block-auto\n gds-margin-inline-start-auto\n gds-min-width-fit-content\n \">\n <input\n type=\"checkbox\"\n [checked]=\"selected()\"\n (click)=\"$event.stopPropagation()\"\n />\n </gds-switch>\n }\n\n @if (hasChildren()) {\n <gds-icon\n class=\"\n gds-context-menu-item_endIcon\n gds-icon-size-xs\n \"\n key=\"line-chevron-right-stroke\"\n />\n }\n</div>\n",
|
|
7026
|
+
template: "@if (border()) {\n <div class=\"border\"></div>\n}\n<div class=\"\n gds-radius-sm\n wrapper\n\">\n @if (variantIcon(); as variantIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-2xs\n \"\n [key]=\"variantIcon\"\n />\n }\n\n @if (startIcon(); as startIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-xs\n \"\n [key]=\"startIcon\"\n />\n }\n\n <ng-content select=\"[leading-visual]\" />\n\n <div\n class=\"\n gds-align-items-start\n gds-display-flex\n gds-flex-column\n gds-gap-2xs\n gds-justify-content-center\n gds-min-width-0\n \"\n >\n <div\n class=\"\n gds-context-menu-item_label\n gds-truncate\n gds-width-100-parent\n \"\n [class]=\"labelClass()\"\n [tp]=\"label()\"\n [tpOnlyTextOverflow]=\"true\"\n [tpVariation]=\"tooltipVariation()\"\n [tpAppendTo]=\"tooltipAppendTo()\"\n >\n <ng-content select=\"[label]\">{{ label() }}</ng-content>\n </div>\n\n @if (hint(); as hint) {\n <div class=\"gds-context-menu-item_hint\">{{ hint }}</div>\n }\n </div>\n\n @if (variant() === 'switch') {\n <gds-switch class=\"\n gds-margin-block-auto\n gds-margin-inline-start-auto\n gds-min-width-fit-content\n \">\n <input\n type=\"checkbox\"\n [checked]=\"selected()\"\n (click)=\"$event.stopPropagation()\"\n />\n </gds-switch>\n }\n\n @if (hasChildren()) {\n <gds-icon\n class=\"\n gds-context-menu-item_endIcon\n gds-icon-size-xs\n \"\n key=\"line-chevron-right-stroke\"\n />\n }\n</div>\n",
|
|
7022
7027
|
styles: ["@layer design-system{:host{--icon-color: var(--gds-palette-icon-primary);--gds-context-menu-item-background: var(--gds-palette-background-white)}:host .border{border-top:1px solid var(--gds-palette-border-modal);height:var(--gds-spacing-2xs)}:host .wrapper{--font: var(--gds-text-body-shorthand);--color: var(--gds-palette-text-default-primary);--background-color: var(--gds-context-menu-item-background);display:flex;align-items:center;padding:7px 11px;gap:var(--gds-spacing-xs);cursor:default;background:var(--background-color)}:host[variant=heading]>.wrapper{--font: var(--gds-text-bodyStrong-shorthand);--color: var(--gds-palette-text-primary-primary)}:host[variant=indent]>.wrapper{padding-left:40px}:host[variant=double-indent]>.wrapper{padding-left:68px}:host[compact]>.wrapper{padding:3px 11px}:host:focus-visible>.wrapper{outline:none;--background-color: var(--gds-palette-background-hover)}:host:focus-visible{outline:none;--background-color: var(--gds-palette-background-hover)}:host[clickable]>.wrapper{cursor:pointer}:host[clickable]>.wrapper:hover{--background-color: var(--gds-palette-background-hover)}:host .gds-context-menu-item_label{flex:1;font:var(--font);color:var(--color);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host .gds-context-menu-item_endIcon{margin-left:auto;color:var(--icon-color)}:host .gds-context-menu-item_startIcon{color:var(--icon-color)}:host .gds-context-menu-item_hint{font:var(--gds-text-caption-shorthand);color:var(--gds-palette-text-default-secondary)}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=heading]>.wrapper{--font: var(--gds-text-caption-shorthand);--color: var(--gds-palette-text-default-secondary);border-bottom:1px solid var(--gds-palette-border-modal);border-radius:0}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host>.wrapper{justify-content:center}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host .gds-context-menu-item_endIcon{margin-left:unset}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=default]>.wrapper,:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=heading]>.wrapper{padding-inline:unset}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=check]>.wrapper{position:relative;right:var(--gds-spacing-sm)}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=indent]>.wrapper{padding-left:0}}\n"]
|
|
7023
7028
|
}]
|
|
7024
7029
|
}],
|
|
@@ -7059,7 +7064,7 @@ var GdsContextMenuHeadingComponent = class GdsContextMenuHeadingComponent extend
|
|
|
7059
7064
|
selector: "gds-context-menu-heading",
|
|
7060
7065
|
usesInheritance: true,
|
|
7061
7066
|
ngImport: i0,
|
|
7062
|
-
template: "@if (border()) {\n <div class=\"border\"></div>\n}\n<div class=\"\n gds-radius-sm\n wrapper\n\">\n @if (variantIcon(); as variantIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-2xs\n \"\n [key]=\"variantIcon\"\n />\n }\n\n @if (startIcon(); as startIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-xs\n \"\n [key]=\"startIcon\"\n />\n }\n\n <div\n class=\"\n gds-align-items-start\n gds-display-flex\n gds-flex-column\n gds-gap-2xs\n gds-justify-content-center\n gds-min-width-0\n \"\n >\n <div\n class=\"\n gds-context-menu-item_label\n gds-truncate\n gds-width-100-parent\n \"\n [class]=\"labelClass()\"\n [tp]=\"label()\"\n [tpOnlyTextOverflow]=\"true\"\n [tpVariation]=\"tooltipVariation()\"\n [tpAppendTo]=\"tooltipAppendTo()\"\n >\n <ng-content select=\"[label]\">{{ label() }}</ng-content>\n </div>\n\n @if (hint(); as hint) {\n <div class=\"gds-context-menu-item_hint\">{{ hint }}</div>\n }\n </div>\n\n @if (variant() === 'switch') {\n <gds-switch class=\"\n gds-margin-block-auto\n gds-margin-inline-start-auto\n gds-min-width-fit-content\n \">\n <input\n type=\"checkbox\"\n [checked]=\"selected()\"\n (click)=\"$event.stopPropagation()\"\n />\n </gds-switch>\n }\n\n @if (hasChildren()) {\n <gds-icon\n class=\"\n gds-context-menu-item_endIcon\n gds-icon-size-xs\n \"\n key=\"line-chevron-right-stroke\"\n />\n }\n</div>\n",
|
|
7067
|
+
template: "@if (border()) {\n <div class=\"border\"></div>\n}\n<div class=\"\n gds-radius-sm\n wrapper\n\">\n @if (variantIcon(); as variantIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-2xs\n \"\n [key]=\"variantIcon\"\n />\n }\n\n @if (startIcon(); as startIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-xs\n \"\n [key]=\"startIcon\"\n />\n }\n\n <ng-content select=\"[leading-visual]\" />\n\n <div\n class=\"\n gds-align-items-start\n gds-display-flex\n gds-flex-column\n gds-gap-2xs\n gds-justify-content-center\n gds-min-width-0\n \"\n >\n <div\n class=\"\n gds-context-menu-item_label\n gds-truncate\n gds-width-100-parent\n \"\n [class]=\"labelClass()\"\n [tp]=\"label()\"\n [tpOnlyTextOverflow]=\"true\"\n [tpVariation]=\"tooltipVariation()\"\n [tpAppendTo]=\"tooltipAppendTo()\"\n >\n <ng-content select=\"[label]\">{{ label() }}</ng-content>\n </div>\n\n @if (hint(); as hint) {\n <div class=\"gds-context-menu-item_hint\">{{ hint }}</div>\n }\n </div>\n\n @if (variant() === 'switch') {\n <gds-switch class=\"\n gds-margin-block-auto\n gds-margin-inline-start-auto\n gds-min-width-fit-content\n \">\n <input\n type=\"checkbox\"\n [checked]=\"selected()\"\n (click)=\"$event.stopPropagation()\"\n />\n </gds-switch>\n }\n\n @if (hasChildren()) {\n <gds-icon\n class=\"\n gds-context-menu-item_endIcon\n gds-icon-size-xs\n \"\n key=\"line-chevron-right-stroke\"\n />\n }\n</div>\n",
|
|
7063
7068
|
styles: ["@layer design-system{:host{--icon-color: var(--gds-palette-icon-primary);--gds-context-menu-item-background: var(--gds-palette-background-white)}:host .border{border-top:1px solid var(--gds-palette-border-modal);height:var(--gds-spacing-2xs)}:host .wrapper{--font: var(--gds-text-body-shorthand);--color: var(--gds-palette-text-default-primary);--background-color: var(--gds-context-menu-item-background);display:flex;align-items:center;padding:7px 11px;gap:var(--gds-spacing-xs);cursor:default;background:var(--background-color)}:host[variant=heading]>.wrapper{--font: var(--gds-text-bodyStrong-shorthand);--color: var(--gds-palette-text-primary-primary)}:host[variant=indent]>.wrapper{padding-left:40px}:host[variant=double-indent]>.wrapper{padding-left:68px}:host[compact]>.wrapper{padding:3px 11px}:host:focus-visible>.wrapper{outline:none;--background-color: var(--gds-palette-background-hover)}:host:focus-visible{outline:none;--background-color: var(--gds-palette-background-hover)}:host[clickable]>.wrapper{cursor:pointer}:host[clickable]>.wrapper:hover{--background-color: var(--gds-palette-background-hover)}:host .gds-context-menu-item_label{flex:1;font:var(--font);color:var(--color);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host .gds-context-menu-item_endIcon{margin-left:auto;color:var(--icon-color)}:host .gds-context-menu-item_startIcon{color:var(--icon-color)}:host .gds-context-menu-item_hint{font:var(--gds-text-caption-shorthand);color:var(--gds-palette-text-default-secondary)}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=heading]>.wrapper{--font: var(--gds-text-caption-shorthand);--color: var(--gds-palette-text-default-secondary);border-bottom:1px solid var(--gds-palette-border-modal);border-radius:0}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host>.wrapper{justify-content:center}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host .gds-context-menu-item_endIcon{margin-left:unset}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=default]>.wrapper,:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=heading]>.wrapper{padding-inline:unset}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=check]>.wrapper{position:relative;right:var(--gds-spacing-sm)}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=indent]>.wrapper{padding-left:0}}\n"],
|
|
7064
7069
|
dependencies: [
|
|
7065
7070
|
{
|
|
@@ -7140,7 +7145,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7140
7145
|
GdsSwitchComponent
|
|
7141
7146
|
],
|
|
7142
7147
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7143
|
-
template: "@if (border()) {\n <div class=\"border\"></div>\n}\n<div class=\"\n gds-radius-sm\n wrapper\n\">\n @if (variantIcon(); as variantIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-2xs\n \"\n [key]=\"variantIcon\"\n />\n }\n\n @if (startIcon(); as startIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-xs\n \"\n [key]=\"startIcon\"\n />\n }\n\n <div\n class=\"\n gds-align-items-start\n gds-display-flex\n gds-flex-column\n gds-gap-2xs\n gds-justify-content-center\n gds-min-width-0\n \"\n >\n <div\n class=\"\n gds-context-menu-item_label\n gds-truncate\n gds-width-100-parent\n \"\n [class]=\"labelClass()\"\n [tp]=\"label()\"\n [tpOnlyTextOverflow]=\"true\"\n [tpVariation]=\"tooltipVariation()\"\n [tpAppendTo]=\"tooltipAppendTo()\"\n >\n <ng-content select=\"[label]\">{{ label() }}</ng-content>\n </div>\n\n @if (hint(); as hint) {\n <div class=\"gds-context-menu-item_hint\">{{ hint }}</div>\n }\n </div>\n\n @if (variant() === 'switch') {\n <gds-switch class=\"\n gds-margin-block-auto\n gds-margin-inline-start-auto\n gds-min-width-fit-content\n \">\n <input\n type=\"checkbox\"\n [checked]=\"selected()\"\n (click)=\"$event.stopPropagation()\"\n />\n </gds-switch>\n }\n\n @if (hasChildren()) {\n <gds-icon\n class=\"\n gds-context-menu-item_endIcon\n gds-icon-size-xs\n \"\n key=\"line-chevron-right-stroke\"\n />\n }\n</div>\n",
|
|
7148
|
+
template: "@if (border()) {\n <div class=\"border\"></div>\n}\n<div class=\"\n gds-radius-sm\n wrapper\n\">\n @if (variantIcon(); as variantIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-2xs\n \"\n [key]=\"variantIcon\"\n />\n }\n\n @if (startIcon(); as startIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-xs\n \"\n [key]=\"startIcon\"\n />\n }\n\n <ng-content select=\"[leading-visual]\" />\n\n <div\n class=\"\n gds-align-items-start\n gds-display-flex\n gds-flex-column\n gds-gap-2xs\n gds-justify-content-center\n gds-min-width-0\n \"\n >\n <div\n class=\"\n gds-context-menu-item_label\n gds-truncate\n gds-width-100-parent\n \"\n [class]=\"labelClass()\"\n [tp]=\"label()\"\n [tpOnlyTextOverflow]=\"true\"\n [tpVariation]=\"tooltipVariation()\"\n [tpAppendTo]=\"tooltipAppendTo()\"\n >\n <ng-content select=\"[label]\">{{ label() }}</ng-content>\n </div>\n\n @if (hint(); as hint) {\n <div class=\"gds-context-menu-item_hint\">{{ hint }}</div>\n }\n </div>\n\n @if (variant() === 'switch') {\n <gds-switch class=\"\n gds-margin-block-auto\n gds-margin-inline-start-auto\n gds-min-width-fit-content\n \">\n <input\n type=\"checkbox\"\n [checked]=\"selected()\"\n (click)=\"$event.stopPropagation()\"\n />\n </gds-switch>\n }\n\n @if (hasChildren()) {\n <gds-icon\n class=\"\n gds-context-menu-item_endIcon\n gds-icon-size-xs\n \"\n key=\"line-chevron-right-stroke\"\n />\n }\n</div>\n",
|
|
7144
7149
|
styles: ["@layer design-system{:host{--icon-color: var(--gds-palette-icon-primary);--gds-context-menu-item-background: var(--gds-palette-background-white)}:host .border{border-top:1px solid var(--gds-palette-border-modal);height:var(--gds-spacing-2xs)}:host .wrapper{--font: var(--gds-text-body-shorthand);--color: var(--gds-palette-text-default-primary);--background-color: var(--gds-context-menu-item-background);display:flex;align-items:center;padding:7px 11px;gap:var(--gds-spacing-xs);cursor:default;background:var(--background-color)}:host[variant=heading]>.wrapper{--font: var(--gds-text-bodyStrong-shorthand);--color: var(--gds-palette-text-primary-primary)}:host[variant=indent]>.wrapper{padding-left:40px}:host[variant=double-indent]>.wrapper{padding-left:68px}:host[compact]>.wrapper{padding:3px 11px}:host:focus-visible>.wrapper{outline:none;--background-color: var(--gds-palette-background-hover)}:host:focus-visible{outline:none;--background-color: var(--gds-palette-background-hover)}:host[clickable]>.wrapper{cursor:pointer}:host[clickable]>.wrapper:hover{--background-color: var(--gds-palette-background-hover)}:host .gds-context-menu-item_label{flex:1;font:var(--font);color:var(--color);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host .gds-context-menu-item_endIcon{margin-left:auto;color:var(--icon-color)}:host .gds-context-menu-item_startIcon{color:var(--icon-color)}:host .gds-context-menu-item_hint{font:var(--gds-text-caption-shorthand);color:var(--gds-palette-text-default-secondary)}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=heading]>.wrapper{--font: var(--gds-text-caption-shorthand);--color: var(--gds-palette-text-default-secondary);border-bottom:1px solid var(--gds-palette-border-modal);border-radius:0}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host>.wrapper{justify-content:center}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host .gds-context-menu-item_endIcon{margin-left:unset}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=default]>.wrapper,:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=heading]>.wrapper{padding-inline:unset}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=check]>.wrapper{position:relative;right:var(--gds-spacing-sm)}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=indent]>.wrapper{padding-left:0}}\n"]
|
|
7145
7150
|
}]
|
|
7146
7151
|
}]
|
|
@@ -7198,7 +7203,7 @@ var GdsContextMenuSwitchComponent = class GdsContextMenuSwitchComponent extends
|
|
|
7198
7203
|
outputs: ["cdkMenuItemTriggered", "clicked"]
|
|
7199
7204
|
}, { directive: i1$3.CdkMenuTrigger }],
|
|
7200
7205
|
ngImport: i0,
|
|
7201
|
-
template: "@if (border()) {\n <div class=\"border\"></div>\n}\n<div class=\"\n gds-radius-sm\n wrapper\n\">\n @if (variantIcon(); as variantIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-2xs\n \"\n [key]=\"variantIcon\"\n />\n }\n\n @if (startIcon(); as startIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-xs\n \"\n [key]=\"startIcon\"\n />\n }\n\n <div\n class=\"\n gds-align-items-start\n gds-display-flex\n gds-flex-column\n gds-gap-2xs\n gds-justify-content-center\n gds-min-width-0\n \"\n >\n <div\n class=\"\n gds-context-menu-item_label\n gds-truncate\n gds-width-100-parent\n \"\n [class]=\"labelClass()\"\n [tp]=\"label()\"\n [tpOnlyTextOverflow]=\"true\"\n [tpVariation]=\"tooltipVariation()\"\n [tpAppendTo]=\"tooltipAppendTo()\"\n >\n <ng-content select=\"[label]\">{{ label() }}</ng-content>\n </div>\n\n @if (hint(); as hint) {\n <div class=\"gds-context-menu-item_hint\">{{ hint }}</div>\n }\n </div>\n\n @if (variant() === 'switch') {\n <gds-switch class=\"\n gds-margin-block-auto\n gds-margin-inline-start-auto\n gds-min-width-fit-content\n \">\n <input\n type=\"checkbox\"\n [checked]=\"selected()\"\n (click)=\"$event.stopPropagation()\"\n />\n </gds-switch>\n }\n\n @if (hasChildren()) {\n <gds-icon\n class=\"\n gds-context-menu-item_endIcon\n gds-icon-size-xs\n \"\n key=\"line-chevron-right-stroke\"\n />\n }\n</div>\n",
|
|
7206
|
+
template: "@if (border()) {\n <div class=\"border\"></div>\n}\n<div class=\"\n gds-radius-sm\n wrapper\n\">\n @if (variantIcon(); as variantIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-2xs\n \"\n [key]=\"variantIcon\"\n />\n }\n\n @if (startIcon(); as startIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-xs\n \"\n [key]=\"startIcon\"\n />\n }\n\n <ng-content select=\"[leading-visual]\" />\n\n <div\n class=\"\n gds-align-items-start\n gds-display-flex\n gds-flex-column\n gds-gap-2xs\n gds-justify-content-center\n gds-min-width-0\n \"\n >\n <div\n class=\"\n gds-context-menu-item_label\n gds-truncate\n gds-width-100-parent\n \"\n [class]=\"labelClass()\"\n [tp]=\"label()\"\n [tpOnlyTextOverflow]=\"true\"\n [tpVariation]=\"tooltipVariation()\"\n [tpAppendTo]=\"tooltipAppendTo()\"\n >\n <ng-content select=\"[label]\">{{ label() }}</ng-content>\n </div>\n\n @if (hint(); as hint) {\n <div class=\"gds-context-menu-item_hint\">{{ hint }}</div>\n }\n </div>\n\n @if (variant() === 'switch') {\n <gds-switch class=\"\n gds-margin-block-auto\n gds-margin-inline-start-auto\n gds-min-width-fit-content\n \">\n <input\n type=\"checkbox\"\n [checked]=\"selected()\"\n (click)=\"$event.stopPropagation()\"\n />\n </gds-switch>\n }\n\n @if (hasChildren()) {\n <gds-icon\n class=\"\n gds-context-menu-item_endIcon\n gds-icon-size-xs\n \"\n key=\"line-chevron-right-stroke\"\n />\n }\n</div>\n",
|
|
7202
7207
|
styles: ["@layer design-system{:host{--icon-color: var(--gds-palette-icon-primary);--gds-context-menu-item-background: var(--gds-palette-background-white)}:host .border{border-top:1px solid var(--gds-palette-border-modal);height:var(--gds-spacing-2xs)}:host .wrapper{--font: var(--gds-text-body-shorthand);--color: var(--gds-palette-text-default-primary);--background-color: var(--gds-context-menu-item-background);display:flex;align-items:center;padding:7px 11px;gap:var(--gds-spacing-xs);cursor:default;background:var(--background-color)}:host[variant=heading]>.wrapper{--font: var(--gds-text-bodyStrong-shorthand);--color: var(--gds-palette-text-primary-primary)}:host[variant=indent]>.wrapper{padding-left:40px}:host[variant=double-indent]>.wrapper{padding-left:68px}:host[compact]>.wrapper{padding:3px 11px}:host:focus-visible>.wrapper{outline:none;--background-color: var(--gds-palette-background-hover)}:host:focus-visible{outline:none;--background-color: var(--gds-palette-background-hover)}:host[clickable]>.wrapper{cursor:pointer}:host[clickable]>.wrapper:hover{--background-color: var(--gds-palette-background-hover)}:host .gds-context-menu-item_label{flex:1;font:var(--font);color:var(--color);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host .gds-context-menu-item_endIcon{margin-left:auto;color:var(--icon-color)}:host .gds-context-menu-item_startIcon{color:var(--icon-color)}:host .gds-context-menu-item_hint{font:var(--gds-text-caption-shorthand);color:var(--gds-palette-text-default-secondary)}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=heading]>.wrapper{--font: var(--gds-text-caption-shorthand);--color: var(--gds-palette-text-default-secondary);border-bottom:1px solid var(--gds-palette-border-modal);border-radius:0}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host>.wrapper{justify-content:center}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host .gds-context-menu-item_endIcon{margin-left:unset}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=default]>.wrapper,:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=heading]>.wrapper{padding-inline:unset}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=check]>.wrapper{position:relative;right:var(--gds-spacing-sm)}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=indent]>.wrapper{padding-left:0}}\n"],
|
|
7203
7208
|
dependencies: [
|
|
7204
7209
|
{
|
|
@@ -7290,7 +7295,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7290
7295
|
inputs: ["cdkMenuItemChecked: selected"],
|
|
7291
7296
|
outputs: ["cdkMenuItemTriggered: clicked"]
|
|
7292
7297
|
}, { directive: CdkMenuTrigger }],
|
|
7293
|
-
template: "@if (border()) {\n <div class=\"border\"></div>\n}\n<div class=\"\n gds-radius-sm\n wrapper\n\">\n @if (variantIcon(); as variantIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-2xs\n \"\n [key]=\"variantIcon\"\n />\n }\n\n @if (startIcon(); as startIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-xs\n \"\n [key]=\"startIcon\"\n />\n }\n\n <div\n class=\"\n gds-align-items-start\n gds-display-flex\n gds-flex-column\n gds-gap-2xs\n gds-justify-content-center\n gds-min-width-0\n \"\n >\n <div\n class=\"\n gds-context-menu-item_label\n gds-truncate\n gds-width-100-parent\n \"\n [class]=\"labelClass()\"\n [tp]=\"label()\"\n [tpOnlyTextOverflow]=\"true\"\n [tpVariation]=\"tooltipVariation()\"\n [tpAppendTo]=\"tooltipAppendTo()\"\n >\n <ng-content select=\"[label]\">{{ label() }}</ng-content>\n </div>\n\n @if (hint(); as hint) {\n <div class=\"gds-context-menu-item_hint\">{{ hint }}</div>\n }\n </div>\n\n @if (variant() === 'switch') {\n <gds-switch class=\"\n gds-margin-block-auto\n gds-margin-inline-start-auto\n gds-min-width-fit-content\n \">\n <input\n type=\"checkbox\"\n [checked]=\"selected()\"\n (click)=\"$event.stopPropagation()\"\n />\n </gds-switch>\n }\n\n @if (hasChildren()) {\n <gds-icon\n class=\"\n gds-context-menu-item_endIcon\n gds-icon-size-xs\n \"\n key=\"line-chevron-right-stroke\"\n />\n }\n</div>\n",
|
|
7298
|
+
template: "@if (border()) {\n <div class=\"border\"></div>\n}\n<div class=\"\n gds-radius-sm\n wrapper\n\">\n @if (variantIcon(); as variantIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-2xs\n \"\n [key]=\"variantIcon\"\n />\n }\n\n @if (startIcon(); as startIcon) {\n <gds-icon\n class=\"\n gds-context-menu-item_startIcon\n gds-icon-size-xs\n \"\n [key]=\"startIcon\"\n />\n }\n\n <ng-content select=\"[leading-visual]\" />\n\n <div\n class=\"\n gds-align-items-start\n gds-display-flex\n gds-flex-column\n gds-gap-2xs\n gds-justify-content-center\n gds-min-width-0\n \"\n >\n <div\n class=\"\n gds-context-menu-item_label\n gds-truncate\n gds-width-100-parent\n \"\n [class]=\"labelClass()\"\n [tp]=\"label()\"\n [tpOnlyTextOverflow]=\"true\"\n [tpVariation]=\"tooltipVariation()\"\n [tpAppendTo]=\"tooltipAppendTo()\"\n >\n <ng-content select=\"[label]\">{{ label() }}</ng-content>\n </div>\n\n @if (hint(); as hint) {\n <div class=\"gds-context-menu-item_hint\">{{ hint }}</div>\n }\n </div>\n\n @if (variant() === 'switch') {\n <gds-switch class=\"\n gds-margin-block-auto\n gds-margin-inline-start-auto\n gds-min-width-fit-content\n \">\n <input\n type=\"checkbox\"\n [checked]=\"selected()\"\n (click)=\"$event.stopPropagation()\"\n />\n </gds-switch>\n }\n\n @if (hasChildren()) {\n <gds-icon\n class=\"\n gds-context-menu-item_endIcon\n gds-icon-size-xs\n \"\n key=\"line-chevron-right-stroke\"\n />\n }\n</div>\n",
|
|
7294
7299
|
styles: ["@layer design-system{:host{--icon-color: var(--gds-palette-icon-primary);--gds-context-menu-item-background: var(--gds-palette-background-white)}:host .border{border-top:1px solid var(--gds-palette-border-modal);height:var(--gds-spacing-2xs)}:host .wrapper{--font: var(--gds-text-body-shorthand);--color: var(--gds-palette-text-default-primary);--background-color: var(--gds-context-menu-item-background);display:flex;align-items:center;padding:7px 11px;gap:var(--gds-spacing-xs);cursor:default;background:var(--background-color)}:host[variant=heading]>.wrapper{--font: var(--gds-text-bodyStrong-shorthand);--color: var(--gds-palette-text-primary-primary)}:host[variant=indent]>.wrapper{padding-left:40px}:host[variant=double-indent]>.wrapper{padding-left:68px}:host[compact]>.wrapper{padding:3px 11px}:host:focus-visible>.wrapper{outline:none;--background-color: var(--gds-palette-background-hover)}:host:focus-visible{outline:none;--background-color: var(--gds-palette-background-hover)}:host[clickable]>.wrapper{cursor:pointer}:host[clickable]>.wrapper:hover{--background-color: var(--gds-palette-background-hover)}:host .gds-context-menu-item_label{flex:1;font:var(--font);color:var(--color);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host .gds-context-menu-item_endIcon{margin-left:auto;color:var(--icon-color)}:host .gds-context-menu-item_startIcon{color:var(--icon-color)}:host .gds-context-menu-item_hint{font:var(--gds-text-caption-shorthand);color:var(--gds-palette-text-default-secondary)}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=heading]>.wrapper{--font: var(--gds-text-caption-shorthand);--color: var(--gds-palette-text-default-secondary);border-bottom:1px solid var(--gds-palette-border-modal);border-radius:0}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host>.wrapper{justify-content:center}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host .gds-context-menu-item_endIcon{margin-left:unset}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=default]>.wrapper,:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=heading]>.wrapper{padding-inline:unset}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=check]>.wrapper{position:relative;right:var(--gds-spacing-sm)}:is(body[isMobile=true]) gds-dropdown:not([preventMobileStyling]) :host[variant=indent]>.wrapper{padding-left:0}}\n"]
|
|
7295
7300
|
}]
|
|
7296
7301
|
}],
|