@momentum-design/components 0.134.21 → 0.134.22

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.
Files changed (27) hide show
  1. package/dist/browser/index.js +481 -458
  2. package/dist/browser/index.js.map +4 -4
  3. package/dist/components/datepicker/datepicker.component.d.ts +5 -0
  4. package/dist/components/datepicker/datepicker.component.js +96 -26
  5. package/dist/components/menubar/menubar.component.js +2 -1
  6. package/dist/components/menupopover/menupopover.component.d.ts +1 -1
  7. package/dist/components/menupopover/menupopover.component.js +4 -4
  8. package/dist/components/navmenuitem/navmenuitem.component.d.ts +32 -2
  9. package/dist/components/navmenuitem/navmenuitem.component.js +146 -9
  10. package/dist/components/navmenuitem/navmenuitem.constants.d.ts +1 -0
  11. package/dist/components/navmenuitem/navmenuitem.constants.js +1 -0
  12. package/dist/components/navmenuitem/navmenuitem.styles.js +16 -5
  13. package/dist/components/sidenavigation/sidenavigation.component.d.ts +43 -3
  14. package/dist/components/sidenavigation/sidenavigation.component.js +240 -8
  15. package/dist/components/sidenavigation/sidenavigation.constants.d.ts +6 -1
  16. package/dist/components/sidenavigation/sidenavigation.constants.js +6 -1
  17. package/dist/components/sidenavigation/sidenavigation.context.d.ts +6 -1
  18. package/dist/components/sidenavigation/sidenavigation.context.js +36 -11
  19. package/dist/components/sidenavigation/sidenavigation.types.d.ts +3 -2
  20. package/dist/components/sidenavigation/sidenavigationbase.d.ts +8 -0
  21. package/dist/components/sidenavigation/sidenavigationbase.js +7 -0
  22. package/dist/custom-elements.json +153 -10
  23. package/dist/models/provider/provider.component.d.ts +2 -2
  24. package/dist/models/provider/provider.component.js +13 -0
  25. package/dist/react/navmenuitem/index.d.ts +4 -2
  26. package/dist/react/navmenuitem/index.js +3 -1
  27. package/package.json +1 -1
@@ -173,8 +173,8 @@
173
173
  "attribute": "disabled",
174
174
  "reflects": true,
175
175
  "inheritedFrom": {
176
- "name": "AccordionButton",
177
- "module": "components/accordionbutton/accordionbutton.component.js"
176
+ "name": "DisabledMixin",
177
+ "module": "utils/mixins/DisabledMixin.js"
178
178
  }
179
179
  },
180
180
  {
@@ -493,8 +493,8 @@
493
493
  "default": "undefined",
494
494
  "fieldName": "disabled",
495
495
  "inheritedFrom": {
496
- "name": "AccordionButton",
497
- "module": "src/components/accordionbutton/accordionbutton.component.ts"
496
+ "name": "DisabledMixin",
497
+ "module": "src/utils/mixins/DisabledMixin.ts"
498
498
  }
499
499
  },
500
500
  {
@@ -15177,6 +15177,24 @@
15177
15177
  "module": "utils/mixins/FormInternalsMixin.js"
15178
15178
  }
15179
15179
  },
15180
+ {
15181
+ "kind": "method",
15182
+ "name": "clampValueToRange",
15183
+ "privacy": "private",
15184
+ "return": {
15185
+ "type": {
15186
+ "text": "string"
15187
+ }
15188
+ },
15189
+ "parameters": [
15190
+ {
15191
+ "name": "value",
15192
+ "type": {
15193
+ "text": "string"
15194
+ }
15195
+ }
15196
+ ]
15197
+ },
15180
15198
  {
15181
15199
  "kind": "method",
15182
15200
  "name": "commitValue",
@@ -15305,6 +15323,19 @@
15305
15323
  }
15306
15324
  }
15307
15325
  },
15326
+ {
15327
+ "kind": "method",
15328
+ "name": "getFieldRange",
15329
+ "privacy": "private",
15330
+ "parameters": [
15331
+ {
15332
+ "name": "field",
15333
+ "type": {
15334
+ "text": "'month' | 'day' | 'year'"
15335
+ }
15336
+ }
15337
+ ]
15338
+ },
15308
15339
  {
15309
15340
  "kind": "method",
15310
15341
  "name": "getFieldValue",
@@ -15323,6 +15354,56 @@
15323
15354
  }
15324
15355
  ]
15325
15356
  },
15357
+ {
15358
+ "kind": "method",
15359
+ "name": "getNextSpinbuttonValue",
15360
+ "privacy": "private",
15361
+ "return": {
15362
+ "type": {
15363
+ "text": "number"
15364
+ }
15365
+ },
15366
+ "parameters": [
15367
+ {
15368
+ "name": "currentValue",
15369
+ "type": {
15370
+ "text": "number"
15371
+ }
15372
+ },
15373
+ {
15374
+ "name": "range",
15375
+ "type": {
15376
+ "text": "ReturnType<DatePicker['getFieldRange']>"
15377
+ }
15378
+ },
15379
+ {
15380
+ "name": "increment",
15381
+ "type": {
15382
+ "text": "boolean"
15383
+ }
15384
+ }
15385
+ ]
15386
+ },
15387
+ {
15388
+ "kind": "method",
15389
+ "name": "getParsedMax",
15390
+ "privacy": "private",
15391
+ "return": {
15392
+ "type": {
15393
+ "text": "Date | undefined"
15394
+ }
15395
+ }
15396
+ },
15397
+ {
15398
+ "kind": "method",
15399
+ "name": "getParsedMin",
15400
+ "privacy": "private",
15401
+ "return": {
15402
+ "type": {
15403
+ "text": "Date | undefined"
15404
+ }
15405
+ }
15406
+ },
15326
15407
  {
15327
15408
  "kind": "method",
15328
15409
  "name": "getSpinbuttonInput",
@@ -15722,7 +15803,13 @@
15722
15803
  "type": {
15723
15804
  "text": "void"
15724
15805
  }
15725
- }
15806
+ },
15807
+ "parameters": [
15808
+ {
15809
+ "name": "value",
15810
+ "default": "this.value"
15811
+ }
15812
+ ]
15726
15813
  },
15727
15814
  {
15728
15815
  "kind": "field",
@@ -28937,7 +29024,7 @@
28937
29024
  "kind": "field",
28938
29025
  "name": "togglePopoverVisible",
28939
29026
  "privacy": "public",
28940
- "description": "Toggles the visibility of the popover.\nThis method checks if the trigger element has the `soft-disabled` attribute.\nIf it does, the popover will not be toggled.\nIf the popover is currently visible, it hides the popover; otherwise, it shows the popover.",
29027
+ "description": "Toggles the visibility of the popover.\nThis method checks if the trigger element has the `disabled` or `soft-disabled` attribute.\nIf it does, the popover will not be toggled.\nIf the popover is currently visible, it hides the popover; otherwise, it shows the popover.",
28941
29028
  "return": {
28942
29029
  "type": {
28943
29030
  "text": ""
@@ -29920,6 +30007,10 @@
29920
30007
  "description": "Text color of the navmenuitem in its normal state.",
29921
30008
  "name": "--mdc-navmenuitem-color"
29922
30009
  },
30010
+ {
30011
+ "description": "Notch color of the navmenuitem (if applicable) when active.",
30012
+ "name": "--mdc-navmenuitem-notch-color"
30013
+ },
29923
30014
  {
29924
30015
  "description": "Text color of the navmenuitem when disabled.",
29925
30016
  "name": "--mdc-navmenuitem-disabled-color"
@@ -30067,13 +30158,17 @@
30067
30158
  "name": "text-container"
30068
30159
  },
30069
30160
  {
30070
- "description": "The trailing arrow of the navmenuitem.",
30161
+ "description": "The trailing arrow of the navmenuitem when it has a flyout menu.",
30071
30162
  "name": "trailing-arrow",
30072
30163
  "inheritedFrom": {
30073
30164
  "name": "MenuItem",
30074
30165
  "module": "src/components/menuitem/menuitem.component.ts"
30075
30166
  }
30076
30167
  },
30168
+ {
30169
+ "description": "The trailing arrow of the navmenuitem when it has a dropdown menu.",
30170
+ "name": "trailing-arrow-dropdown"
30171
+ },
30077
30172
  {
30078
30173
  "description": "Allows customization of the leading part.",
30079
30174
  "name": "leading",
@@ -30198,6 +30293,17 @@
30198
30293
  "module": "components/listitem/listitem.component.js"
30199
30294
  }
30200
30295
  },
30296
+ {
30297
+ "kind": "method",
30298
+ "name": "closeDropdown",
30299
+ "privacy": "public",
30300
+ "return": {
30301
+ "type": {
30302
+ "text": "void"
30303
+ }
30304
+ },
30305
+ "description": "Closes the dropdown if it is open."
30306
+ },
30201
30307
  {
30202
30308
  "kind": "field",
30203
30309
  "name": "counter",
@@ -30501,6 +30607,17 @@
30501
30607
  "attribute": "nav-id",
30502
30608
  "reflects": true
30503
30609
  },
30610
+ {
30611
+ "kind": "method",
30612
+ "name": "openDropdown",
30613
+ "privacy": "public",
30614
+ "return": {
30615
+ "type": {
30616
+ "text": "void"
30617
+ }
30618
+ },
30619
+ "description": "Opens the dropdown if it is closed."
30620
+ },
30504
30621
  {
30505
30622
  "kind": "method",
30506
30623
  "name": "removeTooltip",
@@ -31208,7 +31325,7 @@
31208
31325
  "module": "/src/components/menuitem/menuitem.component"
31209
31326
  },
31210
31327
  "tagName": "mdc-navmenuitem",
31211
- "jsDoc": "/**\n * @tagname mdc-navmenuitem\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-badge\n * @dependency mdc-tooltip\n *\n * @event click - (React: onClick) This event is dispatched when the navmenuitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the navmenuitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the navmenuitem.\n * @event focus - (React: onFocus) This event is dispatched when the navmenuitem receives focus.\n * @event activechange - (React: onActiveChange) Dispatched when the active state of the navmenuitem changes.\n *\n * @cssproperty --mdc-navmenuitem-in-sidenav-expanded-width - Width of the navmenuitem when expanded.\n * @cssproperty --mdc-navmenuitem-in-sidenav-expanded-margin-left - Left margin of the navmenuitem, when expanded.\n * @cssproperty --mdc-navmenuitem-in-sidenav-expanded-margin-right - Right margin of the navmenuitem, when expanded.\n * @cssproperty --mdc-navmenuitem-in-sidenav-collapsed-width - Width of the navmenuitem when collapsed.\n * @cssproperty --mdc-navmenuitem-in-sidenav-collapsed-margin-left - Left margin of the navmenuitem, when collapsed.\n * @cssproperty --mdc-navmenuitem-in-sidenav-collapsed-margin-right - Right margin of the navmenuitem, when collapsed.\n * @cssproperty --mdc-navmenuitem-color - Text color of the navmenuitem in its normal state.\n * @cssproperty --mdc-navmenuitem-disabled-color - Text color of the navmenuitem when disabled.\n * @cssproperty --mdc-navmenuitem-rest-active-background-color - Background color of the active nav item in its rest state.\n * @cssproperty --mdc-navmenuitem-hover-background-color - Background color of the navmenuitem when hovered.\n * @cssproperty --mdc-navmenuitem-hover-active-background-color - Background color of the active navmenuitem when hovered.\n * @cssproperty --mdc-navmenuitem-pressed-background-color - Background color of the navmenuitem when pressed.\n * @cssproperty --mdc-navmenuitem-pressed-active-background-color - Background color of the active navmenuitem when pressed.\n * @cssproperty --mdc-navmenuitem-disabled-background-color - Background color of the navmenuitem when disabled.\n * @cssproperty --mdc-navmenuitem-disabled-active-background-color - Background color of the active navmenuitem when disabled.\n *\n * @csspart arrow - The arrow of the navmenuitem.\n * @csspart badge - The badge of the navmenuitem.\n * @csspart icon-container - The container of the icon.\n * @csspart text-container - The container of the text.\n * @csspart trailing-arrow - The trailing arrow of the navmenuitem.\n */",
31328
+ "jsDoc": "/**\n * @tagname mdc-navmenuitem\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-badge\n * @dependency mdc-tooltip\n *\n * @event click - (React: onClick) This event is dispatched when the navmenuitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the navmenuitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the navmenuitem.\n * @event focus - (React: onFocus) This event is dispatched when the navmenuitem receives focus.\n * @event activechange - (React: onActiveChange) Dispatched when the active state of the navmenuitem changes.\n *\n * @cssproperty --mdc-navmenuitem-in-sidenav-expanded-width - Width of the navmenuitem when expanded.\n * @cssproperty --mdc-navmenuitem-in-sidenav-expanded-margin-left - Left margin of the navmenuitem, when expanded.\n * @cssproperty --mdc-navmenuitem-in-sidenav-expanded-margin-right - Right margin of the navmenuitem, when expanded.\n * @cssproperty --mdc-navmenuitem-in-sidenav-collapsed-width - Width of the navmenuitem when collapsed.\n * @cssproperty --mdc-navmenuitem-in-sidenav-collapsed-margin-left - Left margin of the navmenuitem, when collapsed.\n * @cssproperty --mdc-navmenuitem-in-sidenav-collapsed-margin-right - Right margin of the navmenuitem, when collapsed.\n * @cssproperty --mdc-navmenuitem-color - Text color of the navmenuitem in its normal state.\n * @cssproperty --mdc-navmenuitem-notch-color - Notch color of the navmenuitem (if applicable) when active.\n * @cssproperty --mdc-navmenuitem-disabled-color - Text color of the navmenuitem when disabled.\n * @cssproperty --mdc-navmenuitem-rest-active-background-color - Background color of the active nav item in its rest state.\n * @cssproperty --mdc-navmenuitem-hover-background-color - Background color of the navmenuitem when hovered.\n * @cssproperty --mdc-navmenuitem-hover-active-background-color - Background color of the active navmenuitem when hovered.\n * @cssproperty --mdc-navmenuitem-pressed-background-color - Background color of the navmenuitem when pressed.\n * @cssproperty --mdc-navmenuitem-pressed-active-background-color - Background color of the active navmenuitem when pressed.\n * @cssproperty --mdc-navmenuitem-disabled-background-color - Background color of the navmenuitem when disabled.\n * @cssproperty --mdc-navmenuitem-disabled-active-background-color - Background color of the active navmenuitem when disabled.\n *\n * @csspart arrow - The arrow of the navmenuitem.\n * @csspart badge - The badge of the navmenuitem.\n * @csspart icon-container - The container of the icon.\n * @csspart text-container - The container of the text.\n * @csspart trailing-arrow - The trailing arrow of the navmenuitem when it has a flyout menu.\n * @csspart trailing-arrow-dropdown - The trailing arrow of the navmenuitem when it has a dropdown menu.\n */",
31212
31329
  "customElement": true,
31213
31330
  "slots": [
31214
31331
  {
@@ -43908,6 +44025,17 @@
43908
44025
  }
43909
44026
  ]
43910
44027
  },
44028
+ {
44029
+ "kind": "field",
44030
+ "name": "submenuType",
44031
+ "type": {
44032
+ "text": "SideNavigationSubmenuType"
44033
+ },
44034
+ "description": "Determines how sibling submenus are displayed. There are 2 types of submenus supported:\n\n- `flyout`: Submenus are shown with `mdc-menupopover`.\n- `dropdown`: A parent `mdc-navmenuitem` can render its submenu inside a sibling\n `div[data-trigger=\"<navmenuitem-id>\"]` while the sidenavigation is expanded. In collapsed mode,\n dropdown submenus are converted to flyout menus.",
44035
+ "default": "flyout",
44036
+ "attribute": "submenu-type",
44037
+ "reflects": true
44038
+ },
43911
44039
  {
43912
44040
  "kind": "method",
43913
44041
  "name": "updateContext",
@@ -43991,11 +44119,26 @@
43991
44119
  "default": "false",
43992
44120
  "description": "Hides the divider between the scrollable and fixed sections when set to true.",
43993
44121
  "fieldName": "hideFixedSectionDivider"
44122
+ },
44123
+ {
44124
+ "name": "submenu-type",
44125
+ "type": {
44126
+ "text": "SideNavigationSubmenuType"
44127
+ },
44128
+ "description": "Determines how sibling submenus are displayed. There are 2 types of submenus supported:\n\n- `flyout`: Submenus are shown with `mdc-menupopover`.\n- `dropdown`: A parent `mdc-navmenuitem` can render its submenu inside a sibling\n `div[data-trigger=\"<navmenuitem-id>\"]` while the sidenavigation is expanded. In collapsed mode,\n dropdown submenus are converted to flyout menus.",
44129
+ "default": "flyout",
44130
+ "fieldName": "submenuType"
44131
+ }
44132
+ ],
44133
+ "mixins": [
44134
+ {
44135
+ "name": "KeyToActionMixin",
44136
+ "module": "/src/utils/mixins/KeyToActionMixin"
43994
44137
  }
43995
44138
  ],
43996
44139
  "superclass": {
43997
- "name": "Provider",
43998
- "module": "/src/models"
44140
+ "name": "SideNavigationBase",
44141
+ "module": "/src/components/sidenavigation/sidenavigationbase"
43999
44142
  },
44000
44143
  "tagName": "mdc-sidenavigation",
44001
44144
  "jsDoc": "/**\n * @tagname mdc-sidenavigation\n *\n * @dependency mdc-text\n * @dependency mdc-button\n * @dependency mdc-divider\n * @dependency mdc-menubar\n *\n * @event activechange - (React: onActiveChange) Dispatched when the active state of the navmenuitem changes.\n *\n * @slot scrollable-section - Slot for the scrollable content area of the side navigation.\n * @slot scrollable-menubar - Slot for the menubar inside the scrollable section.\n * @slot fixed-section - Slot for the fixed content area of the side navigation.\n * @slot fixed-menubar - Slot for the menubar inside the fixed section.\n * @slot brand-logo - Slot for the brand logo (e.g., icon or img).\n *\n * @csspart side-navigation-container - The main container wrapping the entire side navigation.\n * @csspart scrollable-section - The scrollable section of the side navigation.\n * @csspart scrollable-menubar - The menubar inside the scrollable section.\n * @csspart separator - The divider between the scrollable and fixed sections.\n * @csspart fixed-section - The fixed section of the side navigation.\n * @csspart fixed-menubar - The menubar inside the fixed section.\n * @csspart brand-logo-container - The container wrapping the brand logo and footer text.\n * @csspart footer-text - The footer text label in the fixed section.\n * @csspart vertical-divider - The vertical divider between the scrollable and fixed sections.\n * @csspart vertical-divider-button - The button inside the vertical divider used to toggle expand/collapse.\n *\n * @event toggle - (React: onToggle) Dispatched when the grabber button is clicked to expand/collapse the sidenavigation.\n * @event activechange - (React: onActiveChange) Dispatched when the active state of a nested navmenuitem changes.\n *\n * @cssproperty --mdc-sidenavigation-expanded-width - width of the sideNavigation when expanded\n * @cssproperty --mdc-sidenavigation-expanded-left-padding - padding for the left side of navmenuitems, when expanded\n * @cssproperty --mdc-sidenavigation-expanded-right-padding - padding for the right side of navmenuitems, when expanded\n * @cssproperty --mdc-sidenavigation-collapsed-width - width of the sideNavigation when collapsed\n * @cssproperty --mdc-sidenavigation-collapsed-left-padding - padding for the left side of navmenuitems, when collapsed\n * @cssproperty --mdc-sidenavigation-collapsed-right-padding - padding for the right side of navmenuitems, when collapsed\n * @cssproperty --mdc-sidenavigation-top-padding - padding for the top of the scrollable section - note: if setting to 0 focus ring might be cut off\n * @cssproperty --mdc-sidenavigation-bottom-padding - padding for the bottom of the scrollable section\n * @cssproperty --mdc-sidenavigation-vertical-divider-button-z-index - z-index of the vertical divider button\n */",
@@ -13,7 +13,7 @@ type ConstructorOptions<C> = {
13
13
  *
14
14
  * @public
15
15
  */
16
- declare abstract class Provider<C> extends Component {
16
+ declare class Provider<C> extends Component {
17
17
  /**
18
18
  * Constructor of the Provider.
19
19
  *
@@ -54,7 +54,7 @@ declare abstract class Provider<C> extends Component {
54
54
  * re-render. If the `render()` method is overwritten, this call must be made
55
55
  * manually.
56
56
  */
57
- protected abstract updateContext(): void;
57
+ protected updateContext(): void;
58
58
  /**
59
59
  * Render this Provider.
60
60
  *
@@ -31,6 +31,19 @@ class Provider extends Component {
31
31
  initialValue,
32
32
  });
33
33
  }
34
+ /**
35
+ * Update the context of this Provider and trigger its consumers to update.
36
+ *
37
+ * @remarks
38
+ * This method is called every time this Provider is re-rendered and should
39
+ * be used to update the local Context based on any deltas between this
40
+ * Provider's attributes and this Provider's context that caused the
41
+ * re-render. If the `render()` method is overwritten, this call must be made
42
+ * manually.
43
+ */
44
+ updateContext() {
45
+ throw new Error('Not implemented');
46
+ }
34
47
  /**
35
48
  * Render this Provider.
36
49
  *
@@ -3,7 +3,7 @@ import Component from '../../components/navmenuitem';
3
3
  import type { Events } from '../../components/navmenuitem/navmenuitem.types';
4
4
  import type { Events as EventsInherited } from '../../components/listitem/listitem.types';
5
5
  /**
6
- * `mdc-navmenuitem` is a menu item styled to work as a navigation tab inside `mdc-sidenavigation`. It renders a leading icon, an optional badge, and a dynamic label that appears when the surrounding side navigation is expanded. The item can be in an active or inactive state to indicate the current page, and a tooltip can be attached for collapsed states or for parent items whose nested child is active.
6
+ * `mdc-navmenuitem` is a `menuitem`-role component styled as a navigation tab, supporting a leading icon, optional badge, and dynamic text rendering. It can operate as a simple item, as a parent with a flyout submenu (`mdc-menupopover`), or as a parent with an inline dropdown submenu, and a tooltip can be attached for collapsed states or when a nested child is active.
7
7
  *
8
8
  * **When to use**
9
9
  *
@@ -35,6 +35,7 @@ import type { Events as EventsInherited } from '../../components/listitem/listit
35
35
  * @cssproperty --mdc-navmenuitem-in-sidenav-collapsed-margin-left - Left margin of the navmenuitem, when collapsed.
36
36
  * @cssproperty --mdc-navmenuitem-in-sidenav-collapsed-margin-right - Right margin of the navmenuitem, when collapsed.
37
37
  * @cssproperty --mdc-navmenuitem-color - Text color of the navmenuitem in its normal state.
38
+ * @cssproperty --mdc-navmenuitem-notch-color - Notch color of the navmenuitem (if applicable) when active.
38
39
  * @cssproperty --mdc-navmenuitem-disabled-color - Text color of the navmenuitem when disabled.
39
40
  * @cssproperty --mdc-navmenuitem-rest-active-background-color - Background color of the active nav item in its rest state.
40
41
  * @cssproperty --mdc-navmenuitem-hover-background-color - Background color of the navmenuitem when hovered.
@@ -48,7 +49,8 @@ import type { Events as EventsInherited } from '../../components/listitem/listit
48
49
  * @csspart badge - The badge of the navmenuitem.
49
50
  * @csspart icon-container - The container of the icon.
50
51
  * @csspart text-container - The container of the text.
51
- * @csspart trailing-arrow - The trailing arrow of the navmenuitem.
52
+ * @csspart trailing-arrow - The trailing arrow of the navmenuitem when it has a flyout menu.
53
+ * @csspart trailing-arrow-dropdown - The trailing arrow of the navmenuitem when it has a dropdown menu.
52
54
  */
53
55
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
54
56
  onActiveChange: EventName<Events["onActiveChangeEvent"]>;
@@ -23,6 +23,7 @@ import { TAG_NAME } from '../../components/navmenuitem/navmenuitem.constants';
23
23
  * @cssproperty --mdc-navmenuitem-in-sidenav-collapsed-margin-left - Left margin of the navmenuitem, when collapsed.
24
24
  * @cssproperty --mdc-navmenuitem-in-sidenav-collapsed-margin-right - Right margin of the navmenuitem, when collapsed.
25
25
  * @cssproperty --mdc-navmenuitem-color - Text color of the navmenuitem in its normal state.
26
+ * @cssproperty --mdc-navmenuitem-notch-color - Notch color of the navmenuitem (if applicable) when active.
26
27
  * @cssproperty --mdc-navmenuitem-disabled-color - Text color of the navmenuitem when disabled.
27
28
  * @cssproperty --mdc-navmenuitem-rest-active-background-color - Background color of the active nav item in its rest state.
28
29
  * @cssproperty --mdc-navmenuitem-hover-background-color - Background color of the navmenuitem when hovered.
@@ -36,7 +37,8 @@ import { TAG_NAME } from '../../components/navmenuitem/navmenuitem.constants';
36
37
  * @csspart badge - The badge of the navmenuitem.
37
38
  * @csspart icon-container - The container of the icon.
38
39
  * @csspart text-container - The container of the text.
39
- * @csspart trailing-arrow - The trailing arrow of the navmenuitem.
40
+ * @csspart trailing-arrow - The trailing arrow of the navmenuitem when it has a flyout menu.
41
+ * @csspart trailing-arrow-dropdown - The trailing arrow of the navmenuitem when it has a dropdown menu.
40
42
  */
41
43
  const reactWrapper = createComponent({
42
44
  tagName: TAG_NAME,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@momentum-design/components",
3
3
  "packageManager": "yarn@3.2.4",
4
- "version": "0.134.21",
4
+ "version": "0.134.22",
5
5
  "engines": {
6
6
  "node": ">=20.0.0",
7
7
  "npm": ">=8.0.0"