@momentum-design/components 0.81.1 → 0.81.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.
@@ -2203,6 +2203,138 @@
2203
2203
  }
2204
2204
  ]
2205
2205
  },
2206
+ {
2207
+ "kind": "javascript-module",
2208
+ "path": "components/buttongroup/buttongroup.component.js",
2209
+ "declarations": [
2210
+ {
2211
+ "kind": "class",
2212
+ "description": "buttongroup component, is a styled wrapper for multiple buttons.\nIt can support icon buttons, combination of icon and pill buttons, and text buttons.\nThey are available in horizontal and vertical orientation.",
2213
+ "name": "ButtonGroup",
2214
+ "cssProperties": [
2215
+ {
2216
+ "description": "The border radius of the buttongroup",
2217
+ "name": "--mdc-buttongroup-border-radius"
2218
+ },
2219
+ {
2220
+ "description": "The border color of the buttongroup",
2221
+ "name": "--mdc-buttongroup-border-color"
2222
+ },
2223
+ {
2224
+ "description": "The color of the divider between buttons within the buttongroup",
2225
+ "name": "--mdc-buttongroup-divider-color"
2226
+ }
2227
+ ],
2228
+ "slots": [
2229
+ {
2230
+ "description": "This is a default/unnamed slot, which contains the buttons",
2231
+ "name": "default"
2232
+ }
2233
+ ],
2234
+ "members": [
2235
+ {
2236
+ "kind": "field",
2237
+ "name": "orientation",
2238
+ "type": {
2239
+ "text": "ButtonGroupOrientation"
2240
+ },
2241
+ "description": "Orientation of the buttongroup.",
2242
+ "default": "'horizontal'",
2243
+ "attribute": "orientation",
2244
+ "reflects": true
2245
+ },
2246
+ {
2247
+ "kind": "field",
2248
+ "name": "variant",
2249
+ "type": {
2250
+ "text": "ButtonGroupVariant"
2251
+ },
2252
+ "description": "Variant of the buttons within the buttongroup.",
2253
+ "default": "'primary'",
2254
+ "attribute": "variant",
2255
+ "reflects": true
2256
+ },
2257
+ {
2258
+ "kind": "field",
2259
+ "name": "size",
2260
+ "type": {
2261
+ "text": "ButtonGroupSize"
2262
+ },
2263
+ "description": "Size of the buttons within the buttongroup.",
2264
+ "default": "'28'",
2265
+ "attribute": "size",
2266
+ "reflects": true
2267
+ },
2268
+ {
2269
+ "kind": "field",
2270
+ "name": "compact",
2271
+ "type": {
2272
+ "text": "boolean"
2273
+ },
2274
+ "default": "false",
2275
+ "description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
2276
+ "attribute": "compact",
2277
+ "reflects": true
2278
+ }
2279
+ ],
2280
+ "attributes": [
2281
+ {
2282
+ "name": "orientation",
2283
+ "type": {
2284
+ "text": "ButtonGroupOrientation"
2285
+ },
2286
+ "description": "Orientation of the buttongroup.",
2287
+ "default": "'horizontal'",
2288
+ "fieldName": "orientation"
2289
+ },
2290
+ {
2291
+ "name": "variant",
2292
+ "type": {
2293
+ "text": "ButtonGroupVariant"
2294
+ },
2295
+ "description": "Variant of the buttons within the buttongroup.",
2296
+ "default": "'primary'",
2297
+ "fieldName": "variant"
2298
+ },
2299
+ {
2300
+ "name": "size",
2301
+ "type": {
2302
+ "text": "ButtonGroupSize"
2303
+ },
2304
+ "description": "Size of the buttons within the buttongroup.",
2305
+ "default": "'28'",
2306
+ "fieldName": "size"
2307
+ },
2308
+ {
2309
+ "name": "compact",
2310
+ "type": {
2311
+ "text": "boolean"
2312
+ },
2313
+ "default": "false",
2314
+ "description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
2315
+ "fieldName": "compact"
2316
+ }
2317
+ ],
2318
+ "superclass": {
2319
+ "name": "Component",
2320
+ "module": "/src/models"
2321
+ },
2322
+ "tagName": "mdc-buttongroup",
2323
+ "jsDoc": "/**\n * buttongroup component, is a styled wrapper for multiple buttons.\n * It can support icon buttons, combination of icon and pill buttons, and text buttons.\n * They are available in horizontal and vertical orientation.\n *\n * @tagname mdc-buttongroup\n *\n * @slot default - This is a default/unnamed slot, which contains the buttons\n *\n * @cssproperty --mdc-buttongroup-border-radius - The border radius of the buttongroup\n * @cssproperty --mdc-buttongroup-border-color - The border color of the buttongroup\n * @cssproperty --mdc-buttongroup-divider-color - The color of the divider between buttons within the buttongroup\n */",
2324
+ "customElement": true
2325
+ }
2326
+ ],
2327
+ "exports": [
2328
+ {
2329
+ "kind": "js",
2330
+ "name": "default",
2331
+ "declaration": {
2332
+ "name": "ButtonGroup",
2333
+ "module": "components/buttongroup/buttongroup.component.js"
2334
+ }
2335
+ }
2336
+ ]
2337
+ },
2206
2338
  {
2207
2339
  "kind": "javascript-module",
2208
2340
  "path": "components/button/button.component.js",
@@ -2898,138 +3030,6 @@
2898
3030
  }
2899
3031
  ]
2900
3032
  },
2901
- {
2902
- "kind": "javascript-module",
2903
- "path": "components/buttongroup/buttongroup.component.js",
2904
- "declarations": [
2905
- {
2906
- "kind": "class",
2907
- "description": "buttongroup component, is a styled wrapper for multiple buttons.\nIt can support icon buttons, combination of icon and pill buttons, and text buttons.\nThey are available in horizontal and vertical orientation.",
2908
- "name": "ButtonGroup",
2909
- "cssProperties": [
2910
- {
2911
- "description": "The border radius of the buttongroup",
2912
- "name": "--mdc-buttongroup-border-radius"
2913
- },
2914
- {
2915
- "description": "The border color of the buttongroup",
2916
- "name": "--mdc-buttongroup-border-color"
2917
- },
2918
- {
2919
- "description": "The color of the divider between buttons within the buttongroup",
2920
- "name": "--mdc-buttongroup-divider-color"
2921
- }
2922
- ],
2923
- "slots": [
2924
- {
2925
- "description": "This is a default/unnamed slot, which contains the buttons",
2926
- "name": "default"
2927
- }
2928
- ],
2929
- "members": [
2930
- {
2931
- "kind": "field",
2932
- "name": "orientation",
2933
- "type": {
2934
- "text": "ButtonGroupOrientation"
2935
- },
2936
- "description": "Orientation of the buttongroup.",
2937
- "default": "'horizontal'",
2938
- "attribute": "orientation",
2939
- "reflects": true
2940
- },
2941
- {
2942
- "kind": "field",
2943
- "name": "variant",
2944
- "type": {
2945
- "text": "ButtonGroupVariant"
2946
- },
2947
- "description": "Variant of the buttons within the buttongroup.",
2948
- "default": "'primary'",
2949
- "attribute": "variant",
2950
- "reflects": true
2951
- },
2952
- {
2953
- "kind": "field",
2954
- "name": "size",
2955
- "type": {
2956
- "text": "ButtonGroupSize"
2957
- },
2958
- "description": "Size of the buttons within the buttongroup.",
2959
- "default": "'28'",
2960
- "attribute": "size",
2961
- "reflects": true
2962
- },
2963
- {
2964
- "kind": "field",
2965
- "name": "compact",
2966
- "type": {
2967
- "text": "boolean"
2968
- },
2969
- "default": "false",
2970
- "description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
2971
- "attribute": "compact",
2972
- "reflects": true
2973
- }
2974
- ],
2975
- "attributes": [
2976
- {
2977
- "name": "orientation",
2978
- "type": {
2979
- "text": "ButtonGroupOrientation"
2980
- },
2981
- "description": "Orientation of the buttongroup.",
2982
- "default": "'horizontal'",
2983
- "fieldName": "orientation"
2984
- },
2985
- {
2986
- "name": "variant",
2987
- "type": {
2988
- "text": "ButtonGroupVariant"
2989
- },
2990
- "description": "Variant of the buttons within the buttongroup.",
2991
- "default": "'primary'",
2992
- "fieldName": "variant"
2993
- },
2994
- {
2995
- "name": "size",
2996
- "type": {
2997
- "text": "ButtonGroupSize"
2998
- },
2999
- "description": "Size of the buttons within the buttongroup.",
3000
- "default": "'28'",
3001
- "fieldName": "size"
3002
- },
3003
- {
3004
- "name": "compact",
3005
- "type": {
3006
- "text": "boolean"
3007
- },
3008
- "default": "false",
3009
- "description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
3010
- "fieldName": "compact"
3011
- }
3012
- ],
3013
- "superclass": {
3014
- "name": "Component",
3015
- "module": "/src/models"
3016
- },
3017
- "tagName": "mdc-buttongroup",
3018
- "jsDoc": "/**\n * buttongroup component, is a styled wrapper for multiple buttons.\n * It can support icon buttons, combination of icon and pill buttons, and text buttons.\n * They are available in horizontal and vertical orientation.\n *\n * @tagname mdc-buttongroup\n *\n * @slot default - This is a default/unnamed slot, which contains the buttons\n *\n * @cssproperty --mdc-buttongroup-border-radius - The border radius of the buttongroup\n * @cssproperty --mdc-buttongroup-border-color - The border color of the buttongroup\n * @cssproperty --mdc-buttongroup-divider-color - The color of the divider between buttons within the buttongroup\n */",
3019
- "customElement": true
3020
- }
3021
- ],
3022
- "exports": [
3023
- {
3024
- "kind": "js",
3025
- "name": "default",
3026
- "declaration": {
3027
- "name": "ButtonGroup",
3028
- "module": "components/buttongroup/buttongroup.component.js"
3029
- }
3030
- }
3031
- ]
3032
- },
3033
3033
  {
3034
3034
  "kind": "javascript-module",
3035
3035
  "path": "components/buttonlink/buttonlink.component.js",
@@ -14941,231 +14941,6 @@
14941
14941
  }
14942
14942
  ]
14943
14943
  },
14944
- {
14945
- "kind": "javascript-module",
14946
- "path": "components/menu/menu.component.js",
14947
- "declarations": [
14948
- {
14949
- "kind": "class",
14950
- "description": "mdc-menu component is used to display a group of menu items. It is used as a container to wrap menu items.\nIt contains the menu header component.",
14951
- "name": "Menu",
14952
- "slots": [
14953
- {
14954
- "description": "This is a default/unnamed slot",
14955
- "name": "default",
14956
- "inheritedFrom": {
14957
- "name": "List",
14958
- "module": "src/components/list/list.component.ts"
14959
- }
14960
- }
14961
- ],
14962
- "members": [
14963
- {
14964
- "kind": "field",
14965
- "name": "dataAriaLabel",
14966
- "type": {
14967
- "text": "string | null"
14968
- },
14969
- "default": "null",
14970
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
14971
- "attribute": "data-aria-label",
14972
- "reflects": true,
14973
- "inheritedFrom": {
14974
- "name": "List",
14975
- "module": "components/list/list.component.js"
14976
- }
14977
- },
14978
- {
14979
- "kind": "field",
14980
- "name": "headerText",
14981
- "type": {
14982
- "text": "string | undefined"
14983
- },
14984
- "description": "The header text of the list.",
14985
- "attribute": "header-text",
14986
- "reflects": true,
14987
- "inheritedFrom": {
14988
- "name": "List",
14989
- "module": "components/list/list.component.js"
14990
- }
14991
- },
14992
- {
14993
- "kind": "method",
14994
- "name": "handleKeyDown",
14995
- "privacy": "private",
14996
- "return": {
14997
- "type": {
14998
- "text": "void"
14999
- }
15000
- },
15001
- "parameters": [
15002
- {
15003
- "name": "event",
15004
- "type": {
15005
- "text": "KeyboardEvent"
15006
- },
15007
- "description": "The keyboard event."
15008
- }
15009
- ],
15010
- "description": "Handles the keydown event on the list element.\nIf the key is 'ArrowUp' or 'ArrowDown', it focuses to the previous or next list item\nand sets the active tabindex of the list item.\nPrevents the default event behavior.",
15011
- "inheritedFrom": {
15012
- "name": "List",
15013
- "module": "components/list/list.component.js"
15014
- }
15015
- },
15016
- {
15017
- "kind": "method",
15018
- "name": "getCurrentIndex",
15019
- "privacy": "private",
15020
- "return": {
15021
- "type": {
15022
- "text": ""
15023
- }
15024
- },
15025
- "parameters": [
15026
- {
15027
- "name": "target",
15028
- "type": {
15029
- "text": "EventTarget | null"
15030
- },
15031
- "description": "The target element to find the index of."
15032
- }
15033
- ],
15034
- "description": "Returns the index of the given target in the listItems array.\nIf the target is not a list item, but a child element of a list item,\nit returns the index of the parent list item.",
15035
- "inheritedFrom": {
15036
- "name": "List",
15037
- "module": "components/list/list.component.js"
15038
- }
15039
- },
15040
- {
15041
- "kind": "method",
15042
- "name": "getNewIndexBasedOnKey",
15043
- "privacy": "private",
15044
- "return": {
15045
- "type": {
15046
- "text": ""
15047
- }
15048
- },
15049
- "parameters": [
15050
- {
15051
- "name": "key",
15052
- "type": {
15053
- "text": "string"
15054
- },
15055
- "description": "The key that was pressed."
15056
- },
15057
- {
15058
- "name": "currentIndex",
15059
- "type": {
15060
- "text": "number"
15061
- },
15062
- "description": "The current index of the focused list item."
15063
- },
15064
- {
15065
- "name": "wrappedDivsCount",
15066
- "type": {
15067
- "text": "number"
15068
- },
15069
- "description": "The total number of list items."
15070
- }
15071
- ],
15072
- "description": "Calculates a new index based on the pressed keyboard key.\nSupports navigation keys for moving focus within a list.",
15073
- "inheritedFrom": {
15074
- "name": "List",
15075
- "module": "components/list/list.component.js"
15076
- }
15077
- },
15078
- {
15079
- "kind": "method",
15080
- "name": "handleMouseClick",
15081
- "privacy": "protected",
15082
- "return": {
15083
- "type": {
15084
- "text": "void"
15085
- }
15086
- },
15087
- "parameters": [
15088
- {
15089
- "name": "event",
15090
- "type": {
15091
- "text": "MouseEvent"
15092
- },
15093
- "description": "The mouse event."
15094
- }
15095
- ],
15096
- "description": "Handles the mouse click event on the list element.\nFinds the index of the target element in the list items array and calls\n`resetTabIndexAndSetActiveTabIndex` with that index.",
15097
- "inheritedFrom": {
15098
- "name": "List",
15099
- "module": "components/list/list.component.js"
15100
- }
15101
- },
15102
- {
15103
- "kind": "method",
15104
- "name": "resetTabIndexAndSetActiveTabIndex",
15105
- "privacy": "private",
15106
- "parameters": [
15107
- {
15108
- "name": "newIndex",
15109
- "type": {
15110
- "text": "number"
15111
- },
15112
- "description": "The index of the new active element in the list."
15113
- }
15114
- ],
15115
- "description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard.",
15116
- "inheritedFrom": {
15117
- "name": "List",
15118
- "module": "components/list/list.component.js"
15119
- }
15120
- }
15121
- ],
15122
- "superclass": {
15123
- "name": "List",
15124
- "module": "/src/components/list/list.component"
15125
- },
15126
- "tagName": "mdc-menu",
15127
- "jsDoc": "/**\n * mdc-menu component is used to display a group of menu items. It is used as a container to wrap menu items.\n * It contains the menu header component.\n *\n * @dependency mdc-text\n *\n * @tagname mdc-menu\n *\n * @slot default - This is a default/unnamed slot\n */",
15128
- "customElement": true,
15129
- "attributes": [
15130
- {
15131
- "name": "data-aria-label",
15132
- "type": {
15133
- "text": "string | null"
15134
- },
15135
- "default": "null",
15136
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
15137
- "fieldName": "dataAriaLabel",
15138
- "inheritedFrom": {
15139
- "name": "List",
15140
- "module": "src/components/list/list.component.ts"
15141
- }
15142
- },
15143
- {
15144
- "name": "header-text",
15145
- "type": {
15146
- "text": "string | undefined"
15147
- },
15148
- "description": "The header text of the list.",
15149
- "fieldName": "headerText",
15150
- "inheritedFrom": {
15151
- "name": "List",
15152
- "module": "src/components/list/list.component.ts"
15153
- }
15154
- }
15155
- ]
15156
- }
15157
- ],
15158
- "exports": [
15159
- {
15160
- "kind": "js",
15161
- "name": "default",
15162
- "declaration": {
15163
- "name": "Menu",
15164
- "module": "components/menu/menu.component.js"
15165
- }
15166
- }
15167
- ]
15168
- },
15169
14944
  {
15170
14945
  "kind": "javascript-module",
15171
14946
  "path": "components/menubar/menubar.component.js",
package/dist/index.d.ts CHANGED
@@ -29,15 +29,14 @@ import Linksimple from './components/linksimple';
29
29
  import List from './components/list';
30
30
  import ListItem from './components/listitem';
31
31
  import Marker from './components/marker';
32
- import Menu from './components/menu';
33
32
  import MenuBar from './components/menubar';
34
33
  import MenuItem from './components/menuitem';
35
34
  import MenuItemCheckbox from './components/menuitemcheckbox';
36
35
  import MenuItemRadio from './components/menuitemradio';
37
36
  import MenuPopover from './components/menupopover';
37
+ import MenuSection from './components/menusection';
38
38
  import NavItem from './components/navitem';
39
39
  import NavItemList from './components/navitemlist';
40
- import MenuSection from './components/menusection';
41
40
  import OptGroup from './components/optgroup';
42
41
  import Option from './components/option';
43
42
  import Popover from './components/popover';
@@ -73,6 +72,6 @@ import type { TextType } from './components/text/text.types';
73
72
  import { inMemoryCache, webAPIIconsCache } from './utils/icon-cache';
74
73
  import { BUTTON_COLORS, BUTTON_VARIANTS, ICON_BUTTON_SIZES, PILL_BUTTON_SIZES } from './components/button/button.constants';
75
74
  import { SKELETON_VARIANTS } from './components/skeleton/skeleton.constants';
76
- export { AlertChip, Animation, Appheader, Avatar, AvatarButton, Badge, Brandvisual, Bullet, Button, ButtonLink, ButtonGroup, Card, CardButton, CardCheckbox, CardRadio, Checkbox, Chip, Coachmark, Dialog, Divider, FilterChip, FormfieldGroup, Icon, IconProvider, Input, InputChip, Link, Linksimple, List, ListItem, Marker, Menu, MenuBar, MenuItem, MenuItemCheckbox, MenuItemRadio, MenuPopover, NavItem, NavItemList, OptGroup, Option, Popover, Presence, Progressbar, Progressspinner, Radio, RadioGroup, ScreenreaderAnnouncer, Searchfield, Select, SideNavigation, Skeleton, Spinner, StaticCheckbox, StaticRadio, StaticToggle, Tab, TabList, Text, Textarea, ThemeProvider, Toggle, ToggleTip, Tooltip, MenuSection, VirtualizedList, };
75
+ export { AlertChip, Animation, Appheader, Avatar, AvatarButton, Badge, Brandvisual, Bullet, Button, ButtonGroup, ButtonLink, Card, CardButton, CardCheckbox, CardRadio, Checkbox, Chip, Coachmark, Dialog, Divider, FilterChip, FormfieldGroup, Icon, IconProvider, Input, InputChip, Link, Linksimple, List, ListItem, Marker, MenuBar, MenuItem, MenuItemCheckbox, MenuItemRadio, MenuPopover, MenuSection, NavItem, NavItemList, OptGroup, Option, Popover, Presence, Progressbar, Progressspinner, Radio, RadioGroup, ScreenreaderAnnouncer, Searchfield, Select, SideNavigation, Skeleton, Spinner, StaticCheckbox, StaticRadio, StaticToggle, Tab, TabList, Text, Textarea, ThemeProvider, Toggle, ToggleTip, Tooltip, VirtualizedList, };
77
76
  export type { TextType, SpinnerSize, SpinnerVariant, SkeletonVariant, PopoverPlacement, BadgeType, IconButtonSize, PillButtonSize, ButtonVariant, ButtonColor, };
78
77
  export { inMemoryCache, webAPIIconsCache, BUTTON_COLORS, BUTTON_VARIANTS, ICON_BUTTON_SIZES, PILL_BUTTON_SIZES, SKELETON_VARIANTS, };
package/dist/index.js CHANGED
@@ -30,15 +30,14 @@ import Linksimple from './components/linksimple';
30
30
  import List from './components/list';
31
31
  import ListItem from './components/listitem';
32
32
  import Marker from './components/marker';
33
- import Menu from './components/menu';
34
33
  import MenuBar from './components/menubar';
35
34
  import MenuItem from './components/menuitem';
36
35
  import MenuItemCheckbox from './components/menuitemcheckbox';
37
36
  import MenuItemRadio from './components/menuitemradio';
38
37
  import MenuPopover from './components/menupopover';
38
+ import MenuSection from './components/menusection';
39
39
  import NavItem from './components/navitem';
40
40
  import NavItemList from './components/navitemlist';
41
- import MenuSection from './components/menusection';
42
41
  import OptGroup from './components/optgroup';
43
42
  import Option from './components/option';
44
43
  import Popover from './components/popover';
@@ -70,6 +69,6 @@ import { inMemoryCache, webAPIIconsCache } from './utils/icon-cache';
70
69
  import { BUTTON_COLORS, BUTTON_VARIANTS, ICON_BUTTON_SIZES, PILL_BUTTON_SIZES, } from './components/button/button.constants';
71
70
  import { SKELETON_VARIANTS } from './components/skeleton/skeleton.constants';
72
71
  // Components Exports
73
- export { AlertChip, Animation, Appheader, Avatar, AvatarButton, Badge, Brandvisual, Bullet, Button, ButtonLink, ButtonGroup, Card, CardButton, CardCheckbox, CardRadio, Checkbox, Chip, Coachmark, Dialog, Divider, FilterChip, FormfieldGroup, Icon, IconProvider, Input, InputChip, Link, Linksimple, List, ListItem, Marker, Menu, MenuBar, MenuItem, MenuItemCheckbox, MenuItemRadio, MenuPopover, NavItem, NavItemList, OptGroup, Option, Popover, Presence, Progressbar, Progressspinner, Radio, RadioGroup, ScreenreaderAnnouncer, Searchfield, Select, SideNavigation, Skeleton, Spinner, StaticCheckbox, StaticRadio, StaticToggle, Tab, TabList, Text, Textarea, ThemeProvider, Toggle, ToggleTip, Tooltip, MenuSection, VirtualizedList, };
72
+ export { AlertChip, Animation, Appheader, Avatar, AvatarButton, Badge, Brandvisual, Bullet, Button, ButtonGroup, ButtonLink, Card, CardButton, CardCheckbox, CardRadio, Checkbox, Chip, Coachmark, Dialog, Divider, FilterChip, FormfieldGroup, Icon, IconProvider, Input, InputChip, Link, Linksimple, List, ListItem, Marker, MenuBar, MenuItem, MenuItemCheckbox, MenuItemRadio, MenuPopover, MenuSection, NavItem, NavItemList, OptGroup, Option, Popover, Presence, Progressbar, Progressspinner, Radio, RadioGroup, ScreenreaderAnnouncer, Searchfield, Select, SideNavigation, Skeleton, Spinner, StaticCheckbox, StaticRadio, StaticToggle, Tab, TabList, Text, Textarea, ThemeProvider, Toggle, ToggleTip, Tooltip, VirtualizedList, };
74
73
  // Constants / Utils Exports
75
74
  export { inMemoryCache, webAPIIconsCache, BUTTON_COLORS, BUTTON_VARIANTS, ICON_BUTTON_SIZES, PILL_BUTTON_SIZES, SKELETON_VARIANTS, };
@@ -6,8 +6,8 @@ export { default as AvatarButton } from './avatarbutton';
6
6
  export { default as Badge } from './badge';
7
7
  export { default as Brandvisual } from './brandvisual';
8
8
  export { default as Bullet } from './bullet';
9
- export { default as Button } from './button';
10
9
  export { default as ButtonGroup } from './buttongroup';
10
+ export { default as Button } from './button';
11
11
  export { default as ButtonLink } from './buttonlink';
12
12
  export { default as Buttonsimple } from './buttonsimple';
13
13
  export { default as Card } from './card';
@@ -31,7 +31,6 @@ export { default as Linksimple } from './linksimple';
31
31
  export { default as List } from './list';
32
32
  export { default as ListItem } from './listitem';
33
33
  export { default as Marker } from './marker';
34
- export { default as Menu } from './menu';
35
34
  export { default as MenuBar } from './menubar';
36
35
  export { default as MenuItem } from './menuitem';
37
36
  export { default as MenuItemCheckbox } from './menuitemcheckbox';
@@ -6,8 +6,8 @@ export { default as AvatarButton } from './avatarbutton';
6
6
  export { default as Badge } from './badge';
7
7
  export { default as Brandvisual } from './brandvisual';
8
8
  export { default as Bullet } from './bullet';
9
- export { default as Button } from './button';
10
9
  export { default as ButtonGroup } from './buttongroup';
10
+ export { default as Button } from './button';
11
11
  export { default as ButtonLink } from './buttonlink';
12
12
  export { default as Buttonsimple } from './buttonsimple';
13
13
  export { default as Card } from './card';
@@ -31,7 +31,6 @@ export { default as Linksimple } from './linksimple';
31
31
  export { default as List } from './list';
32
32
  export { default as ListItem } from './listitem';
33
33
  export { default as Marker } from './marker';
34
- export { default as Menu } from './menu';
35
34
  export { default as MenuBar } from './menubar';
36
35
  export { default as MenuItem } from './menuitem';
37
36
  export { default as MenuItemCheckbox } from './menuitemcheckbox';
@@ -8,7 +8,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
10
  import { property, queryAssignedElements } from 'lit/decorators.js';
11
- import { TAG_NAME as MENU_TAGNAME } from '../../components/menu/menu.constants';
12
11
  import { ORIENTATION, TAG_NAME as MENUBAR_TAGNAME } from '../../components/menubar/menubar.constants';
13
12
  import { TAG_NAME as MENUPOPOVER_TAGNAME } from '../../components/menupopover/menupopover.constants';
14
13
  import { TAG_NAME as MENUSECTION_TAGNAME } from '../../components/menusection/menusection.constants';
@@ -114,8 +113,7 @@ export const MenuMixin = (superClass) => {
114
113
  * @returns True if the tag name is a valid menu, false otherwise.
115
114
  */
116
115
  isValidMenu(tagName) {
117
- return ((tagName === null || tagName === void 0 ? void 0 : tagName.toLowerCase()) === MENU_TAGNAME
118
- || (tagName === null || tagName === void 0 ? void 0 : tagName.toLowerCase()) === MENUBAR_TAGNAME || this.isValidNavItemList(tagName));
116
+ return ((tagName === null || tagName === void 0 ? void 0 : tagName.toLowerCase()) === MENUBAR_TAGNAME || this.isValidNavItemList(tagName));
119
117
  }
120
118
  /**
121
119
  * Checks if the given tag name is a valid navitemlist tag name.
package/package.json CHANGED
@@ -41,5 +41,5 @@
41
41
  "lottie-web": "^5.12.2",
42
42
  "uuid": "^11.0.5"
43
43
  },
44
- "version": "0.81.1"
44
+ "version": "0.81.3"
45
45
  }
@@ -1,8 +0,0 @@
1
- import '../text';
2
- import Menu from './menu.component';
3
- declare global {
4
- interface HTMLElementTagNameMap {
5
- ['mdc-menu']: Menu;
6
- }
7
- }
8
- export default Menu;
@@ -1,5 +0,0 @@
1
- import '../text';
2
- import Menu from './menu.component';
3
- import { TAG_NAME } from './menu.constants';
4
- Menu.register(TAG_NAME);
5
- export default Menu;
@@ -1,19 +0,0 @@
1
- import { CSSResult } from 'lit';
2
- import List from '../list/list.component';
3
- /**
4
- * mdc-menu component is used to display a group of menu items. It is used as a container to wrap menu items.
5
- * It contains the menu header component.
6
- *
7
- * @dependency mdc-text
8
- *
9
- * @tagname mdc-menu
10
- *
11
- * @slot default - This is a default/unnamed slot
12
- */
13
- declare class Menu extends List {
14
- /** @internal */
15
- listItems: Array<HTMLElement>;
16
- connectedCallback(): void;
17
- static styles: Array<CSSResult>;
18
- }
19
- export default Menu;