@corto-ai/gds-angular 2.2.1-dev.2 → 2.2.1-dev.4
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 +5 -5
- package/assets/svg/filled/filled-calendar-mail.svg +3 -0
- package/assets/svg/filled/filled-chat-off.svg +4 -0
- package/assets/svg/line/line-calendar-mail.svg +3 -0
- package/assets/svg/line/line-chat-off.svg +5 -0
- package/fesm2022/corto-ai-gds-angular.mjs +26 -6
- package/fesm2022/corto-ai-gds-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/types/corto-ai-gds-angular.d.ts +3 -3
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.4/css/all.css>
|
|
34
|
+
- Acctivity: <https://cdn.dev.cortoaws.com/style/gds/2.2.1-dev.4/css/acctivity.css>
|
|
35
|
+
- CORTO: <https://cdn.dev.cortoaws.com/style/gds/2.2.1-dev.4/css/corto.css>
|
|
36
|
+
- LawY: <https://cdn.dev.cortoaws.com/style/gds/2.2.1-dev.4/css/lawy.css>
|
|
37
|
+
- LEAP: <https://cdn.dev.cortoaws.com/style/gds/2.2.1-dev.4/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="M5.125 2C3.3991 2 2 3.3991 2 5.125V5.75H17V5.125C17 3.3991 15.6009 2 13.875 2H5.125ZM17 7H2V13.875C2 15.6009 3.3991 17 5.125 17H5.75V13.25C5.75 11.1789 7.4289 9.5 9.5 9.5H17V7ZM7.0869 12.5943C7.3749 11.5316 8.3462 10.75 9.5 10.75H19.5C20.6537 10.75 21.6249 11.5315 21.913 12.594L14.5 16.9516L7.0869 12.5943ZM14.9751 18.1223L22 13.9929V19.5C22 20.8808 20.8808 22 19.5 22H9.5C8.1193 22 7 20.8808 7 19.5V13.9931L14.0249 18.1223C14.3182 18.2946 14.6819 18.2946 14.9751 18.1223Z" fill="currentColor"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M4.00058 4.7077L2.14645 2.85357C1.95118 2.65831 1.95118 2.34172 2.14645 2.14646C2.34171 1.9512 2.65829 1.9512 2.85355 2.14646L4.70768 4.00059C4.70768 4.0006 4.70769 4.00059 4.70768 4.00059L15.9994 15.2923C15.9994 15.2923 15.9994 15.2923 15.9994 15.2923L17.8536 17.1465C18.0488 17.3417 18.0488 17.6583 17.8536 17.8536C17.6583 18.0488 17.3417 18.0488 17.1464 17.8536L15.2923 15.9994C13.882 17.2445 12.0292 18 10 18C8.72679 18 7.49591 17.7018 6.38669 17.1393L6.266 17.075L2.62109 17.9851C2.31127 18.0625 2.02622 17.8369 2.00131 17.5438L2.00114 17.4624L2.01493 17.3787L2.925 13.735L2.86169 13.6153C2.4066 12.7186 2.12433 11.7422 2.03275 10.7283L2.00738 10.3463L2 10C2 7.97079 2.75551 6.11805 4.00058 4.7077ZM10.9683 11.6755L10.2929 11H7.5L7.41012 11.0081C7.17688 11.0504 7 11.2545 7 11.5C7 11.7455 7.17688 11.9496 7.41012 11.9919L7.5 12H10.5L10.5899 11.9919C10.7645 11.9603 10.9075 11.8379 10.9683 11.6755ZM8.29288 9L7.32453 8.03165C7.13495 8.10272 7 8.2856 7 8.5C7 8.74546 7.17688 8.94961 7.41012 8.99194L7.5 9H8.29288Z" fill="currentColor"/>
|
|
3
|
+
<path d="M12.5 9H11.1213L16.6178 14.4964C17.4901 13.215 18 11.6671 18 10C18 5.58172 14.4183 2 10 2C8.33295 2 6.78499 2.5099 5.50358 3.38224L10.1213 8H12.5L12.5899 8.00806C12.8231 8.05039 13 8.25454 13 8.5C13 8.74546 12.8231 8.94961 12.5899 8.99194L12.5 9Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
|
@@ -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>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M4.00058 4.7077L2.14645 2.85357C1.95118 2.65831 1.95118 2.34172 2.14645 2.14646C2.34171 1.9512 2.65829 1.9512 2.85355 2.14646L4.70768 4.00059C4.70768 4.0006 4.70769 4.00059 4.70768 4.00059L5.41638 4.70926C5.41639 4.70925 5.41637 4.70926 5.41638 4.70926L15.2907 14.5836C15.2907 14.5836 15.2907 14.5836 15.2907 14.5836L15.9994 15.2923C15.9994 15.2923 15.9994 15.2923 15.9994 15.2923L17.8536 17.1465C18.0488 17.3417 18.0488 17.6583 17.8536 17.8536C17.6583 18.0488 17.3417 18.0488 17.1464 17.8536L15.2923 15.9994C13.882 17.2445 12.0292 18 10 18C8.72679 18 7.49591 17.7018 6.38669 17.1393L6.266 17.075L2.62109 17.9851C2.31127 18.0625 2.02622 17.8369 2.00131 17.5438L2.00114 17.4624L2.01493 17.3787L2.925 13.735L2.86169 13.6153C2.4066 12.7186 2.12433 11.7422 2.03275 10.7283L2.00738 10.3463L2 10C2 7.97079 2.75551 6.11805 4.00058 4.7077ZM14.5836 15.2907L10.9683 11.6755C10.9075 11.8379 10.7645 11.9603 10.5899 11.9919L10.5 12H7.5C7.22386 12 7 11.7761 7 11.5C7 11.2545 7.17688 11.0504 7.41012 11.0081L7.5 11H10.2929L8.29288 9H7.5C7.22386 9 7 8.77614 7 8.5C7 8.2856 7.13495 8.10272 7.32453 8.03165L4.70926 5.41638C3.6444 6.64444 3 8.24696 3 10C3 11.217 3.31054 12.3878 3.89352 13.4249C3.94046 13.5084 3.9621 13.603 3.95692 13.6973L3.94274 13.7912L3.187 16.812L6.21104 16.0583C6.27294 16.0429 6.33662 16.0396 6.39873 16.0479L6.4903 16.0691L6.57701 16.1075C7.61362 16.6898 8.7837 17 10 17C11.753 17 13.3556 16.3556 14.5836 15.2907Z" fill="currentColor"/>
|
|
3
|
+
<path d="M16.6178 14.4964L15.8961 13.7747C16.5948 12.6856 17 11.3901 17 10C17 6.13401 13.866 3 10 3C8.6099 3 7.31443 3.4052 6.22528 4.10394L5.50358 3.38224C6.78499 2.5099 8.33295 2 10 2C14.4183 2 18 5.58172 18 10C18 11.6671 17.4901 13.215 16.6178 14.4964Z" fill="currentColor"/>
|
|
4
|
+
<path d="M12.5 9H11.1213L10.1213 8H12.5C12.7761 8 13 8.22386 13 8.5C13 8.74546 12.8231 8.94961 12.5899 8.99194L12.5 9Z" fill="currentColor"/>
|
|
5
|
+
</svg>
|
|
@@ -272,6 +272,7 @@ var icons_exports = /* @__PURE__ */ __exportAll({
|
|
|
272
272
|
gdsFilledCalendarClockIcon: () => gdsFilledCalendarClockIcon,
|
|
273
273
|
gdsFilledCalendarCrossIcon: () => gdsFilledCalendarCrossIcon,
|
|
274
274
|
gdsFilledCalendarIcon: () => gdsFilledCalendarIcon,
|
|
275
|
+
gdsFilledCalendarMailIcon: () => gdsFilledCalendarMailIcon,
|
|
275
276
|
gdsFilledCalendarPersonIcon: () => gdsFilledCalendarPersonIcon,
|
|
276
277
|
gdsFilledCalendarTodayIcon: () => gdsFilledCalendarTodayIcon,
|
|
277
278
|
gdsFilledCalendarViewIcon: () => gdsFilledCalendarViewIcon,
|
|
@@ -284,6 +285,7 @@ var icons_exports = /* @__PURE__ */ __exportAll({
|
|
|
284
285
|
gdsFilledChatBubbleQuestionIcon: () => gdsFilledChatBubbleQuestionIcon,
|
|
285
286
|
gdsFilledChatEmptyIcon: () => gdsFilledChatEmptyIcon,
|
|
286
287
|
gdsFilledChatIcon: () => gdsFilledChatIcon,
|
|
288
|
+
gdsFilledChatOffIcon: () => gdsFilledChatOffIcon,
|
|
287
289
|
gdsFilledChatSparkleIcon: () => gdsFilledChatSparkleIcon,
|
|
288
290
|
gdsFilledCheckCircleIcon: () => gdsFilledCheckCircleIcon,
|
|
289
291
|
gdsFilledClearFormatIcon: () => gdsFilledClearFormatIcon,
|
|
@@ -485,6 +487,7 @@ var icons_exports = /* @__PURE__ */ __exportAll({
|
|
|
485
487
|
gdsLineCalendarClockIcon: () => gdsLineCalendarClockIcon,
|
|
486
488
|
gdsLineCalendarCrossIcon: () => gdsLineCalendarCrossIcon,
|
|
487
489
|
gdsLineCalendarIcon: () => gdsLineCalendarIcon,
|
|
490
|
+
gdsLineCalendarMailIcon: () => gdsLineCalendarMailIcon,
|
|
488
491
|
gdsLineCalendarNewIcon: () => gdsLineCalendarNewIcon,
|
|
489
492
|
gdsLineCalendarPersonIcon: () => gdsLineCalendarPersonIcon,
|
|
490
493
|
gdsLineCalendarPlayIcon: () => gdsLineCalendarPlayIcon,
|
|
@@ -497,6 +500,7 @@ var icons_exports = /* @__PURE__ */ __exportAll({
|
|
|
497
500
|
gdsLineChatDismissIcon: () => gdsLineChatDismissIcon,
|
|
498
501
|
gdsLineChatEmptyIcon: () => gdsLineChatEmptyIcon,
|
|
499
502
|
gdsLineChatIcon: () => gdsLineChatIcon,
|
|
503
|
+
gdsLineChatOffIcon: () => gdsLineChatOffIcon,
|
|
500
504
|
gdsLineChatSparkleIcon: () => gdsLineChatSparkleIcon,
|
|
501
505
|
gdsLineCheckCircleIcon: () => gdsLineCheckCircleIcon,
|
|
502
506
|
gdsLineCheckIcon: () => gdsLineCheckIcon,
|
|
@@ -1529,6 +1533,10 @@ const gdsFilledCalendarCrossIcon = {
|
|
|
1529
1533
|
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 4C2 2.89543 2.89543 2 4 2H12C13.1046 2 14 2.89543 14 4V4.88838H2V4ZM2 5.88838H7.50166C5.99563 6.86956 5 8.56851 5 10.5C5 11.8296 5.47182 13.0491 6.25717 14H4C2.89543 14 2 13.1046 2 12V5.88838Z" 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>`,
|
|
1530
1534
|
name: "filled-calendar-cross"
|
|
1531
1535
|
};
|
|
1536
|
+
const gdsFilledCalendarMailIcon = {
|
|
1537
|
+
data: `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.125 2C3.3991 2 2 3.3991 2 5.125V5.75H17V5.125C17 3.3991 15.6009 2 13.875 2H5.125ZM17 7H2V13.875C2 15.6009 3.3991 17 5.125 17H5.75V13.25C5.75 11.1789 7.4289 9.5 9.5 9.5H17V7ZM7.0869 12.5943C7.3749 11.5316 8.3462 10.75 9.5 10.75H19.5C20.6537 10.75 21.6249 11.5315 21.913 12.594L14.5 16.9516L7.0869 12.5943ZM14.9751 18.1223L22 13.9929V19.5C22 20.8808 20.8808 22 19.5 22H9.5C8.1193 22 7 20.8808 7 19.5V13.9931L14.0249 18.1223C14.3182 18.2946 14.6819 18.2946 14.9751 18.1223Z" fill="currentColor"/></svg>`,
|
|
1538
|
+
name: "filled-calendar-mail"
|
|
1539
|
+
};
|
|
1532
1540
|
const gdsFilledCalendarPersonIcon = {
|
|
1533
1541
|
data: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_896_1765)"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 3.99999C2 2.89542 2.89543 1.99999 4 1.99999H12C13.1046 1.99999 14 2.89542 14 3.99999V4.88837H2V3.99999ZM2 5.88837H9.36904C8.83181 6.43048 8.5 7.17649 8.5 8C8.5 8.77327 8.79256 9.47821 9.27303 10.0102C7.99868 10.1249 7 11.1958 7 12.5C7 13.0121 7.11829 13.5275 7.36734 14H4C2.89543 14 2 13.1046 2 12V5.88837Z" fill="currentColor"/><path d="M11.5 10C12.6046 10 13.5 9.10457 13.5 8C13.5 6.89543 12.6046 6 11.5 6C10.3954 6 9.5 6.89543 9.5 8C9.5 9.10457 10.3954 10 11.5 10ZM11.5 15C14 15 15 13.7452 15 12.5C15 11.6716 14.3284 11 13.5 11H9.5C8.67157 11 8 11.6716 8 12.5C8 13.7499 9 15 11.5 15Z" fill="currentColor"/></g><defs><clipPath id="clip0_896_1765"><rect width="16" height="16" fill="white"/></clipPath></defs></svg>`,
|
|
1534
1542
|
name: "filled-calendar-person"
|
|
@@ -1577,6 +1585,10 @@ const gdsFilledChatEmptyIcon = {
|
|
|
1577
1585
|
data: `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 13.6428 2.3972 15.2294 3.1449 16.6502L2.02855 20.9386C1.99198 21.0791 1.99199 21.2266 2.02858 21.367C2.1469 21.8213 2.6111 22.0937 3.06538 21.9753L7.35578 20.8583C8.77516 21.6039 10.3596 22 12 22C17.5228 22 22 17.5228 22 12Z" fill="currentColor"/></svg>`,
|
|
1578
1586
|
name: "filled-chat-empty"
|
|
1579
1587
|
};
|
|
1588
|
+
const gdsFilledChatOffIcon = {
|
|
1589
|
+
data: `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.00058 4.7077L2.14645 2.85357C1.95118 2.65831 1.95118 2.34172 2.14645 2.14646C2.34171 1.9512 2.65829 1.9512 2.85355 2.14646L4.70768 4.00059C4.70768 4.0006 4.70769 4.00059 4.70768 4.00059L15.9994 15.2923C15.9994 15.2923 15.9994 15.2923 15.9994 15.2923L17.8536 17.1465C18.0488 17.3417 18.0488 17.6583 17.8536 17.8536C17.6583 18.0488 17.3417 18.0488 17.1464 17.8536L15.2923 15.9994C13.882 17.2445 12.0292 18 10 18C8.72679 18 7.49591 17.7018 6.38669 17.1393L6.266 17.075L2.62109 17.9851C2.31127 18.0625 2.02622 17.8369 2.00131 17.5438L2.00114 17.4624L2.01493 17.3787L2.925 13.735L2.86169 13.6153C2.4066 12.7186 2.12433 11.7422 2.03275 10.7283L2.00738 10.3463L2 10C2 7.97079 2.75551 6.11805 4.00058 4.7077ZM10.9683 11.6755L10.2929 11H7.5L7.41012 11.0081C7.17688 11.0504 7 11.2545 7 11.5C7 11.7455 7.17688 11.9496 7.41012 11.9919L7.5 12H10.5L10.5899 11.9919C10.7645 11.9603 10.9075 11.8379 10.9683 11.6755ZM8.29288 9L7.32453 8.03165C7.13495 8.10272 7 8.2856 7 8.5C7 8.74546 7.17688 8.94961 7.41012 8.99194L7.5 9H8.29288Z" fill="currentColor"/><path d="M12.5 9H11.1213L16.6178 14.4964C17.4901 13.215 18 11.6671 18 10C18 5.58172 14.4183 2 10 2C8.33295 2 6.78499 2.5099 5.50358 3.38224L10.1213 8H12.5L12.5899 8.00806C12.8231 8.05039 13 8.25454 13 8.5C13 8.74546 12.8231 8.94961 12.5899 8.99194L12.5 9Z" fill="currentColor"/></svg>`,
|
|
1590
|
+
name: "filled-chat-off"
|
|
1591
|
+
};
|
|
1580
1592
|
const gdsFilledChatSparkleIcon = {
|
|
1581
1593
|
data: `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.0883 6.41228C16.016 6.31886 15.9377 6.2298 15.8539 6.14569C15.5417 5.83255 15.1606 5.59666 14.741 5.45683L13.3632 5.00939C13.257 4.97196 13.165 4.90253 13.1 4.81068C13.0349 4.71883 13 4.60908 13 4.49656C13 4.38404 13.0349 4.27429 13.1 4.18244C13.165 4.09058 13.257 4.02116 13.3632 3.98372L14.741 3.53628C15.1547 3.39352 15.5299 3.15705 15.837 2.84537C16.1357 2.54224 16.3623 2.17595 16.5 1.77372L16.5114 1.73963L16.9592 0.362894C16.9967 0.256782 17.0662 0.164895 17.1581 0.0998993C17.25 0.0349035 17.3598 0 17.4724 0C17.5851 0 17.6949 0.0349035 17.7868 0.0998993C17.8787 0.164895 17.9482 0.256782 17.9857 0.362894L18.4335 1.73963C18.5727 2.15819 18.8077 2.53853 19.1198 2.85041C19.432 3.1623 19.8126 3.39715 20.2315 3.53628L21.6093 3.98372L21.6368 3.99061C21.743 4.02804 21.835 4.09747 21.9 4.18932C21.9651 4.28117 22 4.39092 22 4.50344C22 4.61596 21.9651 4.72571 21.9 4.81756C21.835 4.90942 21.743 4.97884 21.6368 5.01628L20.259 5.46372C19.8402 5.60285 19.4595 5.8377 19.1474 6.14959C18.8353 6.46147 18.6003 6.84181 18.461 7.26037L18.0132 8.63711C18.0092 8.64855 18.0048 8.65983 18 8.67093C17.9605 8.76273 17.8964 8.84212 17.8144 8.9001C17.7224 8.9651 17.6126 9 17.5 9C17.3874 9 17.2776 8.9651 17.1856 8.9001C17.0937 8.8351 17.0242 8.74322 16.9868 8.63711L16.539 7.26037C16.4378 6.95331 16.2851 6.66664 16.0883 6.41228ZM23.7829 10.2132L23.0175 9.9646C22.7848 9.8873 22.5733 9.75683 22.3999 9.58356C22.2265 9.41029 22.0959 9.199 22.0186 8.96646L21.7698 8.20161C21.749 8.14266 21.7104 8.09161 21.6593 8.0555C21.6083 8.01939 21.5473 8 21.4847 8C21.4221 8 21.3611 8.01939 21.31 8.0555C21.259 8.09161 21.2204 8.14266 21.1996 8.20161L20.9508 8.96646C20.875 9.19736 20.7467 9.40761 20.5761 9.58076C20.4055 9.75392 20.1971 9.88529 19.9672 9.9646L19.2018 10.2132C19.1428 10.234 19.0917 10.2725 19.0555 10.3236C19.0194 10.3746 19 10.4356 19 10.4981C19 10.5606 19.0194 10.6216 19.0555 10.6726C19.0917 10.7236 19.1428 10.7622 19.2018 10.783L19.9672 11.0316C20.2003 11.1093 20.412 11.2403 20.5855 11.4143C20.7589 11.5882 20.8893 11.8003 20.9661 12.0335L21.2149 12.7984C21.2357 12.8573 21.2743 12.9084 21.3254 12.9445C21.3764 12.9806 21.4374 13 21.5 13C21.5626 13 21.6236 12.9806 21.6746 12.9445C21.7257 12.9084 21.7643 12.8573 21.7851 12.7984L22.0339 12.0335C22.1113 11.801 22.2418 11.5897 22.4152 11.4164C22.5886 11.2432 22.8001 11.1127 23.0328 11.0354L23.7982 10.7868C23.8572 10.766 23.9083 10.7275 23.9445 10.6764C23.9806 10.6254 24 10.5644 24 10.5019C24 10.4394 23.9806 10.3784 23.9445 10.3274C23.9083 10.2764 23.8572 10.2378 23.7982 10.217L23.7829 10.2132ZM12 2C12.957 2 13.8826 2.13443 14.7589 2.38542C14.6435 2.45713 14.5197 2.51549 14.39 2.55903L13.05 2.99903C12.7426 3.1087 12.4746 3.30706 12.28 3.56903C12.0984 3.83411 12.0008 4.14772 12 4.46903C12.001 4.78722 12.0986 5.09759 12.28 5.35903C12.4454 5.64387 12.6977 5.86818 13 5.99903L14.4 6.45903C14.6697 6.55049 14.9156 6.70079 15.12 6.89903L15.3 6.99903C15.4258 7.16549 15.5237 7.35123 15.59 7.54903L16 8.99903C16.1057 9.3085 16.3049 9.57754 16.57 9.76903C16.8314 9.9504 17.1418 10.048 17.46 10.049C17.6963 10.0519 17.9298 9.99699 18.14 9.88903C18.0212 10.0886 17.959 10.3168 17.96 10.549C17.9578 10.8183 18.0419 11.0811 18.2 11.299C18.3554 11.5202 18.5755 11.6879 18.83 11.779L19.62 12.029C19.701 12.0623 19.7755 12.1097 19.84 12.169C19.9038 12.2339 19.9517 12.3126 19.98 12.399L20.22 13.159C20.3126 13.421 20.4837 13.6479 20.71 13.809C20.9288 13.9654 21.191 14.0495 21.46 14.0495C21.5752 14.0495 21.6892 14.034 21.7991 14.0041C20.871 18.5665 16.8365 22 12 22C10.3596 22 8.77516 21.6039 7.35578 20.8583L3.06538 21.9753C2.6111 22.0937 2.1469 21.8213 2.02858 21.367C1.99199 21.2266 1.99198 21.0791 2.02855 20.9386L3.1449 16.6502C2.3972 15.2294 2 13.6428 2 12C2 6.47715 6.47715 2 12 2Z" fill="currentColor"/></svg>`,
|
|
1582
1594
|
name: "filled-chat-sparkle"
|
|
@@ -2385,6 +2397,10 @@ const gdsLineCalendarCrossIcon = {
|
|
|
2385
2397
|
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
2398
|
name: "line-calendar-cross"
|
|
2387
2399
|
};
|
|
2400
|
+
const gdsLineCalendarMailIcon = {
|
|
2401
|
+
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>`,
|
|
2402
|
+
name: "line-calendar-mail"
|
|
2403
|
+
};
|
|
2388
2404
|
const gdsLineCalendarNewIcon = {
|
|
2389
2405
|
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
2406
|
name: "line-calendar-new"
|
|
@@ -2433,6 +2449,10 @@ const gdsLineChatEmptyIcon = {
|
|
|
2433
2449
|
data: `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10 2C14.4183 2 18 5.58172 18 10C18 14.4183 14.4183 18 10 18C8.72679 18 7.49591 17.7018 6.38669 17.1393L6.266 17.075L2.62109 17.9851C2.31127 18.0625 2.02622 17.8369 2.00131 17.5438L2.00114 17.4624L2.01493 17.3787L2.925 13.735L2.86169 13.6153C2.4066 12.7186 2.12433 11.7422 2.03275 10.7283L2.00738 10.3463L2 10C2 5.58172 5.58172 2 10 2ZM10 3C6.13401 3 3 6.13401 3 10C3 11.217 3.31054 12.3878 3.89352 13.4249C3.94046 13.5084 3.9621 13.603 3.95692 13.6973L3.94274 13.7912L3.187 16.812L6.21104 16.0583C6.27294 16.0429 6.33662 16.0396 6.39873 16.0479L6.4903 16.0691L6.57701 16.1075C7.61362 16.6898 8.7837 17 10 17C13.866 17 17 13.866 17 10C17 6.13401 13.866 3 10 3Z" fill="currentColor"/></svg>`,
|
|
2434
2450
|
name: "line-chat-empty"
|
|
2435
2451
|
};
|
|
2452
|
+
const gdsLineChatOffIcon = {
|
|
2453
|
+
data: `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.00058 4.7077L2.14645 2.85357C1.95118 2.65831 1.95118 2.34172 2.14645 2.14646C2.34171 1.9512 2.65829 1.9512 2.85355 2.14646L4.70768 4.00059C4.70768 4.0006 4.70769 4.00059 4.70768 4.00059L5.41638 4.70926C5.41639 4.70925 5.41637 4.70926 5.41638 4.70926L15.2907 14.5836C15.2907 14.5836 15.2907 14.5836 15.2907 14.5836L15.9994 15.2923C15.9994 15.2923 15.9994 15.2923 15.9994 15.2923L17.8536 17.1465C18.0488 17.3417 18.0488 17.6583 17.8536 17.8536C17.6583 18.0488 17.3417 18.0488 17.1464 17.8536L15.2923 15.9994C13.882 17.2445 12.0292 18 10 18C8.72679 18 7.49591 17.7018 6.38669 17.1393L6.266 17.075L2.62109 17.9851C2.31127 18.0625 2.02622 17.8369 2.00131 17.5438L2.00114 17.4624L2.01493 17.3787L2.925 13.735L2.86169 13.6153C2.4066 12.7186 2.12433 11.7422 2.03275 10.7283L2.00738 10.3463L2 10C2 7.97079 2.75551 6.11805 4.00058 4.7077ZM14.5836 15.2907L10.9683 11.6755C10.9075 11.8379 10.7645 11.9603 10.5899 11.9919L10.5 12H7.5C7.22386 12 7 11.7761 7 11.5C7 11.2545 7.17688 11.0504 7.41012 11.0081L7.5 11H10.2929L8.29288 9H7.5C7.22386 9 7 8.77614 7 8.5C7 8.2856 7.13495 8.10272 7.32453 8.03165L4.70926 5.41638C3.6444 6.64444 3 8.24696 3 10C3 11.217 3.31054 12.3878 3.89352 13.4249C3.94046 13.5084 3.9621 13.603 3.95692 13.6973L3.94274 13.7912L3.187 16.812L6.21104 16.0583C6.27294 16.0429 6.33662 16.0396 6.39873 16.0479L6.4903 16.0691L6.57701 16.1075C7.61362 16.6898 8.7837 17 10 17C11.753 17 13.3556 16.3556 14.5836 15.2907Z" fill="currentColor"/><path d="M16.6178 14.4964L15.8961 13.7747C16.5948 12.6856 17 11.3901 17 10C17 6.13401 13.866 3 10 3C8.6099 3 7.31443 3.4052 6.22528 4.10394L5.50358 3.38224C6.78499 2.5099 8.33295 2 10 2C14.4183 2 18 5.58172 18 10C18 11.6671 17.4901 13.215 16.6178 14.4964Z" fill="currentColor"/><path d="M12.5 9H11.1213L10.1213 8H12.5C12.7761 8 13 8.22386 13 8.5C13 8.74546 12.8231 8.94961 12.5899 8.99194L12.5 9Z" fill="currentColor"/></svg>`,
|
|
2454
|
+
name: "line-chat-off"
|
|
2455
|
+
};
|
|
2436
2456
|
const gdsLineChatSparkleIcon = {
|
|
2437
2457
|
data: `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="Chat Sparkle"><path id="Shape" d="M16.0883 6.41228C16.016 6.31886 15.9377 6.2298 15.8539 6.14569C15.5417 5.83255 15.1606 5.59666 14.741 5.45683L13.3632 5.00939C13.257 4.97196 13.165 4.90253 13.1 4.81068C13.0349 4.71883 13 4.60908 13 4.49656C13 4.38404 13.0349 4.27429 13.1 4.18244C13.165 4.09058 13.257 4.02116 13.3632 3.98372L14.741 3.53628C15.1547 3.39352 15.5299 3.15705 15.837 2.84537C16.1357 2.54224 16.3623 2.17595 16.5 1.77372L16.5114 1.73963L16.9592 0.362894C16.9967 0.256782 17.0662 0.164895 17.1581 0.0998993C17.25 0.0349035 17.3598 0 17.4724 0C17.5851 0 17.6949 0.0349035 17.7868 0.0998993C17.8787 0.164895 17.9482 0.256782 17.9857 0.362894L18.4335 1.73963C18.5727 2.15819 18.8077 2.53853 19.1198 2.85041C19.432 3.1623 19.8126 3.39715 20.2315 3.53628L21.6093 3.98372L21.6368 3.99061C21.743 4.02804 21.835 4.09747 21.9 4.18932C21.9651 4.28117 22 4.39092 22 4.50344C22 4.61596 21.9651 4.72571 21.9 4.81756C21.835 4.90942 21.743 4.97884 21.6368 5.01628L20.259 5.46372C19.8402 5.60285 19.4595 5.8377 19.1474 6.14959C18.8353 6.46147 18.6003 6.84181 18.461 7.26037L18.0132 8.63711C18.0092 8.64855 18.0048 8.65983 18 8.67093C17.9605 8.76273 17.8964 8.84212 17.8144 8.9001C17.7224 8.9651 17.6126 9 17.5 9C17.3874 9 17.2776 8.9651 17.1856 8.9001C17.0937 8.8351 17.0242 8.74322 16.9868 8.63711L16.539 7.26037C16.4378 6.95331 16.2851 6.66664 16.0883 6.41228ZM23.7829 10.2132L23.0175 9.9646C22.7848 9.8873 22.5733 9.75683 22.3999 9.58356C22.2265 9.41029 22.0959 9.199 22.0186 8.96646L21.7698 8.20161C21.749 8.14266 21.7104 8.09161 21.6593 8.0555C21.6083 8.01939 21.5473 8 21.4847 8C21.4221 8 21.3611 8.01939 21.31 8.0555C21.259 8.09161 21.2204 8.14266 21.1996 8.20161L20.9508 8.96646C20.875 9.19736 20.7467 9.40761 20.5761 9.58076C20.4055 9.75392 20.1971 9.88529 19.9672 9.9646L19.2018 10.2132C19.1428 10.234 19.0917 10.2725 19.0555 10.3236C19.0194 10.3746 19 10.4356 19 10.4981C19 10.5606 19.0194 10.6216 19.0555 10.6726C19.0917 10.7236 19.1428 10.7622 19.2018 10.783L19.9672 11.0316C20.2003 11.1093 20.412 11.2403 20.5855 11.4143C20.7589 11.5882 20.8893 11.8003 20.9661 12.0335L21.2149 12.7984C21.2357 12.8573 21.2743 12.9084 21.3254 12.9445C21.3764 12.9806 21.4374 13 21.5 13C21.5626 13 21.6236 12.9806 21.6746 12.9445C21.7257 12.9084 21.7643 12.8573 21.7851 12.7984L22.0339 12.0335C22.1113 11.801 22.2418 11.5897 22.4152 11.4164C22.5886 11.2432 22.8001 11.1127 23.0328 11.0354L23.7982 10.7868C23.8572 10.766 23.9083 10.7275 23.9445 10.6764C23.9806 10.6254 24 10.5644 24 10.5019C24 10.4394 23.9806 10.3784 23.9445 10.3274C23.9083 10.2764 23.8572 10.2378 23.7982 10.217L23.7829 10.2132ZM12 2C12.957 2 13.8826 2.13443 14.7589 2.38542C14.6435 2.45713 14.5197 2.51549 14.39 2.55903L13.05 2.99903C12.7677 3.09976 12.5186 3.27531 12.329 3.50625C12.2199 3.5021 12.1102 3.5 12 3.5C7.30558 3.5 3.5 7.30558 3.5 12C3.5 13.4696 3.87277 14.8834 4.57303 16.1375L4.72368 16.4072L3.61096 20.3914L7.59755 19.2792L7.86709 19.4295C9.12006 20.1281 10.5322 20.5 12 20.5C16.1949 20.5 19.68 17.4613 20.3742 13.465C20.4642 13.5981 20.5776 13.7148 20.71 13.809C20.9288 13.9654 21.191 14.0495 21.46 14.0495C21.5752 14.0495 21.6892 14.034 21.7991 14.0041C20.871 18.5665 16.8365 22 12 22C10.3817 22 8.81782 21.6146 7.41286 20.888L3.58704 21.9553C2.92212 22.141 2.23258 21.7525 2.04691 21.0876C1.98546 20.8676 1.98549 20.6349 2.04695 20.4151L3.11461 16.5922C2.38637 15.186 2 13.6203 2 12C2 6.47715 6.47715 2 12 2Z" fill="currentColor"/></g></svg>`,
|
|
2438
2458
|
name: "line-chat-sparkle"
|
|
@@ -6925,7 +6945,7 @@ var GdsContextMenuItemComponent = class GdsContextMenuItemComponent extends GdsC
|
|
|
6925
6945
|
]
|
|
6926
6946
|
}],
|
|
6927
6947
|
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",
|
|
6948
|
+
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
6949
|
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
6950
|
dependencies: [
|
|
6931
6951
|
{
|
|
@@ -7018,7 +7038,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7018
7038
|
]
|
|
7019
7039
|
}],
|
|
7020
7040
|
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",
|
|
7041
|
+
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
7042
|
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
7043
|
}]
|
|
7024
7044
|
}],
|
|
@@ -7059,7 +7079,7 @@ var GdsContextMenuHeadingComponent = class GdsContextMenuHeadingComponent extend
|
|
|
7059
7079
|
selector: "gds-context-menu-heading",
|
|
7060
7080
|
usesInheritance: true,
|
|
7061
7081
|
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",
|
|
7082
|
+
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
7083
|
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
7084
|
dependencies: [
|
|
7065
7085
|
{
|
|
@@ -7140,7 +7160,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7140
7160
|
GdsSwitchComponent
|
|
7141
7161
|
],
|
|
7142
7162
|
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",
|
|
7163
|
+
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
7164
|
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
7165
|
}]
|
|
7146
7166
|
}]
|
|
@@ -7198,7 +7218,7 @@ var GdsContextMenuSwitchComponent = class GdsContextMenuSwitchComponent extends
|
|
|
7198
7218
|
outputs: ["cdkMenuItemTriggered", "clicked"]
|
|
7199
7219
|
}, { directive: i1$3.CdkMenuTrigger }],
|
|
7200
7220
|
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",
|
|
7221
|
+
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
7222
|
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
7223
|
dependencies: [
|
|
7204
7224
|
{
|
|
@@ -7290,7 +7310,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7290
7310
|
inputs: ["cdkMenuItemChecked: selected"],
|
|
7291
7311
|
outputs: ["cdkMenuItemTriggered: clicked"]
|
|
7292
7312
|
}, { 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",
|
|
7313
|
+
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
7314
|
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
7315
|
}]
|
|
7296
7316
|
}],
|