@momentum-design/components 0.128.0 → 0.129.1
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/dist/browser/index.js +37 -37
- package/dist/browser/index.js.map +3 -3
- package/dist/components/virtualizedlist/virtualizedlist.component.d.ts +1 -1
- package/dist/components/virtualizedlist/virtualizedlist.component.js +3 -6
- package/dist/custom-elements.json +528 -504
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/dist/utils/mixins/ListNavigationMixin.d.ts +1 -1
- package/dist/utils/mixins/ListNavigationMixin.js +5 -3
- package/package.json +1 -1
|
@@ -22306,6 +22306,10 @@
|
|
|
22306
22306
|
"name": "focusNewItem",
|
|
22307
22307
|
"default": "true",
|
|
22308
22308
|
"description": "Call focus() on the new item or not. It should be false during firstUpdate"
|
|
22309
|
+
},
|
|
22310
|
+
{
|
|
22311
|
+
"name": "scrollToNewItem",
|
|
22312
|
+
"default": "true"
|
|
22309
22313
|
}
|
|
22310
22314
|
],
|
|
22311
22315
|
"description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
|
|
@@ -22603,6 +22607,10 @@
|
|
|
22603
22607
|
"name": "focusNewItem",
|
|
22604
22608
|
"default": "true",
|
|
22605
22609
|
"description": "Call focus() on the new item or not. It should be false during firstUpdate"
|
|
22610
|
+
},
|
|
22611
|
+
{
|
|
22612
|
+
"name": "scrollToNewItem",
|
|
22613
|
+
"default": "true"
|
|
22606
22614
|
}
|
|
22607
22615
|
],
|
|
22608
22616
|
"description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
|
|
@@ -42302,6 +42310,10 @@
|
|
|
42302
42310
|
"name": "focusNewItem",
|
|
42303
42311
|
"default": "true",
|
|
42304
42312
|
"description": "Call focus() on the new item or not. It should be false during firstUpdate"
|
|
42313
|
+
},
|
|
42314
|
+
{
|
|
42315
|
+
"name": "scrollToNewItem",
|
|
42316
|
+
"default": "true"
|
|
42305
42317
|
}
|
|
42306
42318
|
],
|
|
42307
42319
|
"description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
|
|
@@ -47909,506 +47921,6 @@
|
|
|
47909
47921
|
}
|
|
47910
47922
|
]
|
|
47911
47923
|
},
|
|
47912
|
-
{
|
|
47913
|
-
"kind": "javascript-module",
|
|
47914
|
-
"path": "components/themeprovider/themeprovider.component.js",
|
|
47915
|
-
"declarations": [
|
|
47916
|
-
{
|
|
47917
|
-
"kind": "class",
|
|
47918
|
-
"description": "ThemeProvider component, which sets the passed in themeclass as class.\nIf the themeclass switches, the existing themeclass will be removed as a class\nand the new themeclass will be added.\n\nCSS variables defined in the themeclass will be used for the styling of child dom nodes.\n\nAvailable Momentum theme classes:\n\n`mds-theme-stable-darkWebex`, `mds-theme-stable-lightWebex`\n\n`mds-theme-stable-darkBronzeWebex`, `mds-theme-stable-lightBronzeWebex`\n\n`mds-theme-stable-darkIndigoWebex`, `mds-theme-stable-lightIndigoWebex`\n\n`mds-theme-stable-darkJadeWebex`, `mds-theme-stable-lightJadeWebex`\n\n`mds-theme-stable-darkLavenderWebex`, `mds-theme-stable-lightLavenderWebex`\n\n`mds-theme-stable-darkRoseWebex`, `mds-theme-stable-lightRoseWebex`\n\nThemeclass context can be be consumed from Lit child components\n(see providerUtils.consume for how to consume)\n\nThemeProvider also includes basic font defaults for text.",
|
|
47919
|
-
"name": "ThemeProvider",
|
|
47920
|
-
"cssProperties": [
|
|
47921
|
-
{
|
|
47922
|
-
"description": "Option to override the default color, default: color-theme-text-primary-normal",
|
|
47923
|
-
"name": "--mdc-themeprovider-color-default"
|
|
47924
|
-
},
|
|
47925
|
-
{
|
|
47926
|
-
"description": "Option to override the font family, default: `Momentum` (from momentum-design/fonts)",
|
|
47927
|
-
"name": "--mdc-themeprovider-font-family"
|
|
47928
|
-
},
|
|
47929
|
-
{
|
|
47930
|
-
"description": "Option to override the font weight, default: `400`",
|
|
47931
|
-
"name": "--mdc-themeprovider-font-weight"
|
|
47932
|
-
},
|
|
47933
|
-
{
|
|
47934
|
-
"description": "Option to override the default letter-spacing, default: `-0.25px` (this is to match the old CiscoSans)",
|
|
47935
|
-
"name": "--mdc-themeprovider-letter-spacing-adjustment"
|
|
47936
|
-
},
|
|
47937
|
-
{
|
|
47938
|
-
"description": "Option to override the font feature settings, default: `\"ss02\" on`",
|
|
47939
|
-
"name": "--mdc-themeprovider-font-feature-settings"
|
|
47940
|
-
},
|
|
47941
|
-
{
|
|
47942
|
-
"description": "Option to override the color of the scrollbar track.",
|
|
47943
|
-
"name": "--mdc-themeprovider-scrollbar-track-color"
|
|
47944
|
-
},
|
|
47945
|
-
{
|
|
47946
|
-
"description": "Option to override the color of the scrollbar thumb.",
|
|
47947
|
-
"name": "--mdc-themeprovider-scrollbar-thumb-color"
|
|
47948
|
-
}
|
|
47949
|
-
],
|
|
47950
|
-
"slots": [
|
|
47951
|
-
{
|
|
47952
|
-
"description": "children",
|
|
47953
|
-
"name": ""
|
|
47954
|
-
}
|
|
47955
|
-
],
|
|
47956
|
-
"members": [
|
|
47957
|
-
{
|
|
47958
|
-
"kind": "field",
|
|
47959
|
-
"name": "Context",
|
|
47960
|
-
"privacy": "public",
|
|
47961
|
-
"static": true,
|
|
47962
|
-
"description": "Context object of the ThemeProvider, to be consumed by child components",
|
|
47963
|
-
"readonly": true
|
|
47964
|
-
},
|
|
47965
|
-
{
|
|
47966
|
-
"kind": "field",
|
|
47967
|
-
"name": "themeclass",
|
|
47968
|
-
"type": {
|
|
47969
|
-
"text": "string"
|
|
47970
|
-
},
|
|
47971
|
-
"description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
|
|
47972
|
-
"attribute": "themeclass"
|
|
47973
|
-
},
|
|
47974
|
-
{
|
|
47975
|
-
"kind": "method",
|
|
47976
|
-
"name": "updateContext",
|
|
47977
|
-
"privacy": "protected",
|
|
47978
|
-
"return": {
|
|
47979
|
-
"type": {
|
|
47980
|
-
"text": "void"
|
|
47981
|
-
}
|
|
47982
|
-
},
|
|
47983
|
-
"description": "Update all observing components of this\nprovider to update the themeclass\n\nIs called on every re-render, see Provider class"
|
|
47984
|
-
},
|
|
47985
|
-
{
|
|
47986
|
-
"kind": "method",
|
|
47987
|
-
"name": "setThemeInClassList",
|
|
47988
|
-
"privacy": "private",
|
|
47989
|
-
"description": "Function to update the active theme classnames to update the theme tokens\nas CSS variables on the web component."
|
|
47990
|
-
}
|
|
47991
|
-
],
|
|
47992
|
-
"attributes": [
|
|
47993
|
-
{
|
|
47994
|
-
"name": "themeclass",
|
|
47995
|
-
"type": {
|
|
47996
|
-
"text": "string"
|
|
47997
|
-
},
|
|
47998
|
-
"description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
|
|
47999
|
-
"fieldName": "themeclass"
|
|
48000
|
-
}
|
|
48001
|
-
],
|
|
48002
|
-
"superclass": {
|
|
48003
|
-
"name": "Provider",
|
|
48004
|
-
"module": "/src/models"
|
|
48005
|
-
},
|
|
48006
|
-
"tagName": "mdc-themeprovider",
|
|
48007
|
-
"jsDoc": "/**\n * ThemeProvider component, which sets the passed in themeclass as class.\n * If the themeclass switches, the existing themeclass will be removed as a class\n * and the new themeclass will be added.\n *\n * CSS variables defined in the themeclass will be used for the styling of child dom nodes.\n *\n * Available Momentum theme classes:\n *\n * `mds-theme-stable-darkWebex`, `mds-theme-stable-lightWebex`\n *\n * `mds-theme-stable-darkBronzeWebex`, `mds-theme-stable-lightBronzeWebex`\n *\n * `mds-theme-stable-darkIndigoWebex`, `mds-theme-stable-lightIndigoWebex`\n *\n * `mds-theme-stable-darkJadeWebex`, `mds-theme-stable-lightJadeWebex`\n *\n * `mds-theme-stable-darkLavenderWebex`, `mds-theme-stable-lightLavenderWebex`\n *\n * `mds-theme-stable-darkRoseWebex`, `mds-theme-stable-lightRoseWebex`\n *\n * Themeclass context can be be consumed from Lit child components\n * (see providerUtils.consume for how to consume)\n *\n * ThemeProvider also includes basic font defaults for text.\n *\n * @tagname mdc-themeprovider\n *\n * @slot - children\n *\n * @cssproperty --mdc-themeprovider-color-default - Option to override the default color,\n * default: color-theme-text-primary-normal\n * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,\n * default: `Momentum` (from momentum-design/fonts)\n * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`\n * @cssproperty --mdc-themeprovider-letter-spacing-adjustment - Option to override the default letter-spacing,\n * default: `-0.25px` (this is to match the old CiscoSans)\n * @cssproperty --mdc-themeprovider-font-feature-settings - Option to override the font feature settings,\n * default: `\"ss02\" on`\n * @cssproperty --mdc-themeprovider-scrollbar-track-color - Option to override the color of the scrollbar track.\n * @cssproperty --mdc-themeprovider-scrollbar-thumb-color - Option to override the color of the scrollbar thumb.\n */",
|
|
48008
|
-
"customElement": true
|
|
48009
|
-
}
|
|
48010
|
-
],
|
|
48011
|
-
"exports": [
|
|
48012
|
-
{
|
|
48013
|
-
"kind": "js",
|
|
48014
|
-
"name": "default",
|
|
48015
|
-
"declaration": {
|
|
48016
|
-
"name": "ThemeProvider",
|
|
48017
|
-
"module": "components/themeprovider/themeprovider.component.js"
|
|
48018
|
-
}
|
|
48019
|
-
}
|
|
48020
|
-
]
|
|
48021
|
-
},
|
|
48022
|
-
{
|
|
48023
|
-
"kind": "javascript-module",
|
|
48024
|
-
"path": "components/toast/toast.component.js",
|
|
48025
|
-
"declarations": [
|
|
48026
|
-
{
|
|
48027
|
-
"kind": "class",
|
|
48028
|
-
"description": "`mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\nIt supports success, warning, error, and custom messages, and is designed to be controlled externally.\n\n**Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\nIf not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.",
|
|
48029
|
-
"name": "Toast",
|
|
48030
|
-
"cssProperties": [
|
|
48031
|
-
{
|
|
48032
|
-
"description": "Background color of the toast.",
|
|
48033
|
-
"name": "--mdc-toast-background-color"
|
|
48034
|
-
},
|
|
48035
|
-
{
|
|
48036
|
-
"description": "Border color of the toast.",
|
|
48037
|
-
"name": "--mdc-toast-border-color"
|
|
48038
|
-
},
|
|
48039
|
-
{
|
|
48040
|
-
"description": "Color of the header text in the toast.",
|
|
48041
|
-
"name": "--mdc-toast-header-text-color"
|
|
48042
|
-
},
|
|
48043
|
-
{
|
|
48044
|
-
"description": "Color of the icon in the toast.",
|
|
48045
|
-
"name": "--mdc-toast-icon-color"
|
|
48046
|
-
},
|
|
48047
|
-
{
|
|
48048
|
-
"description": "Elevation effect applied to the toast.",
|
|
48049
|
-
"name": "--mdc-toast-elevation-3"
|
|
48050
|
-
},
|
|
48051
|
-
{
|
|
48052
|
-
"description": "Width of the toast.",
|
|
48053
|
-
"name": "--mdc-toast-width"
|
|
48054
|
-
},
|
|
48055
|
-
{
|
|
48056
|
-
"description": "Padding inside the toast.",
|
|
48057
|
-
"name": "--mdc-toast-padding"
|
|
48058
|
-
}
|
|
48059
|
-
],
|
|
48060
|
-
"cssParts": [
|
|
48061
|
-
{
|
|
48062
|
-
"description": "The container for the toast's main content, including icon, text, and close button.",
|
|
48063
|
-
"name": "content-container"
|
|
48064
|
-
},
|
|
48065
|
-
{
|
|
48066
|
-
"description": "The icon shown at the start of the toast, styled by variant.",
|
|
48067
|
-
"name": "toast-prefix-icon"
|
|
48068
|
-
},
|
|
48069
|
-
{
|
|
48070
|
-
"description": "The container for the header and body content of the toast.",
|
|
48071
|
-
"name": "toast-content"
|
|
48072
|
-
},
|
|
48073
|
-
{
|
|
48074
|
-
"description": "The header text of the toast.",
|
|
48075
|
-
"name": "toast-header"
|
|
48076
|
-
},
|
|
48077
|
-
{
|
|
48078
|
-
"description": "The container for the toast's footer, including toggle and action buttons.",
|
|
48079
|
-
"name": "footer"
|
|
48080
|
-
},
|
|
48081
|
-
{
|
|
48082
|
-
"description": "The toggle button for showing/hiding detailed content.",
|
|
48083
|
-
"name": "footer-button-toggle"
|
|
48084
|
-
},
|
|
48085
|
-
{
|
|
48086
|
-
"description": "The close button for the toast.",
|
|
48087
|
-
"name": "toast-close-btn"
|
|
48088
|
-
},
|
|
48089
|
-
{
|
|
48090
|
-
"description": "Applied to the footer when it contains buttons or a toggle button.",
|
|
48091
|
-
"name": "has-footer-buttons"
|
|
48092
|
-
}
|
|
48093
|
-
],
|
|
48094
|
-
"slots": [
|
|
48095
|
-
{
|
|
48096
|
-
"description": "Slot for custom content before the icon (only for custom variant).",
|
|
48097
|
-
"name": "content-prefix"
|
|
48098
|
-
},
|
|
48099
|
-
{
|
|
48100
|
-
"description": "Slot for the main body content of the toast.",
|
|
48101
|
-
"name": "toast-body-normal"
|
|
48102
|
-
},
|
|
48103
|
-
{
|
|
48104
|
-
"description": "Slot for additional detailed content, shown when expanded.",
|
|
48105
|
-
"name": "toast-body-detailed"
|
|
48106
|
-
},
|
|
48107
|
-
{
|
|
48108
|
-
"description": "Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.",
|
|
48109
|
-
"name": "footer"
|
|
48110
|
-
},
|
|
48111
|
-
{
|
|
48112
|
-
"description": "Slot for passing the primary variant of `mdc-button` in the footer.",
|
|
48113
|
-
"name": "footer-button-primary"
|
|
48114
|
-
},
|
|
48115
|
-
{
|
|
48116
|
-
"description": "Slot for passing the secondary variant of `mdc-button` in the footer.",
|
|
48117
|
-
"name": "footer-button-secondary"
|
|
48118
|
-
}
|
|
48119
|
-
],
|
|
48120
|
-
"members": [
|
|
48121
|
-
{
|
|
48122
|
-
"kind": "field",
|
|
48123
|
-
"name": "variant",
|
|
48124
|
-
"type": {
|
|
48125
|
-
"text": "ToastVariant"
|
|
48126
|
-
},
|
|
48127
|
-
"description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
|
|
48128
|
-
"default": "'custom'",
|
|
48129
|
-
"attribute": "variant",
|
|
48130
|
-
"reflects": true
|
|
48131
|
-
},
|
|
48132
|
-
{
|
|
48133
|
-
"kind": "field",
|
|
48134
|
-
"name": "closeButtonAriaLabel",
|
|
48135
|
-
"type": {
|
|
48136
|
-
"text": "string | undefined"
|
|
48137
|
-
},
|
|
48138
|
-
"description": "Defines aria-label attribute for close button accessibility",
|
|
48139
|
-
"attribute": "close-button-aria-label"
|
|
48140
|
-
},
|
|
48141
|
-
{
|
|
48142
|
-
"kind": "field",
|
|
48143
|
-
"name": "headerText",
|
|
48144
|
-
"type": {
|
|
48145
|
-
"text": "string | undefined"
|
|
48146
|
-
},
|
|
48147
|
-
"description": "Defines a string value to display as the title of the toast",
|
|
48148
|
-
"attribute": "header-text",
|
|
48149
|
-
"reflects": true
|
|
48150
|
-
},
|
|
48151
|
-
{
|
|
48152
|
-
"kind": "field",
|
|
48153
|
-
"name": "headerTagName",
|
|
48154
|
-
"type": {
|
|
48155
|
-
"text": "TagName"
|
|
48156
|
-
},
|
|
48157
|
-
"description": "The html tag to be used for the header text",
|
|
48158
|
-
"default": "'h2'",
|
|
48159
|
-
"attribute": "header-tag-name",
|
|
48160
|
-
"reflects": true
|
|
48161
|
-
},
|
|
48162
|
-
{
|
|
48163
|
-
"kind": "field",
|
|
48164
|
-
"name": "ariaLabel",
|
|
48165
|
-
"type": {
|
|
48166
|
-
"text": "string | null"
|
|
48167
|
-
},
|
|
48168
|
-
"default": "null",
|
|
48169
|
-
"description": "Defines aria-label attribute when header is not used",
|
|
48170
|
-
"attribute": "aria-label",
|
|
48171
|
-
"reflects": true
|
|
48172
|
-
},
|
|
48173
|
-
{
|
|
48174
|
-
"kind": "field",
|
|
48175
|
-
"name": "showMoreText",
|
|
48176
|
-
"type": {
|
|
48177
|
-
"text": "string | undefined"
|
|
48178
|
-
},
|
|
48179
|
-
"description": "Defines the text shown on the linkbutton when detailed content is hidden.",
|
|
48180
|
-
"attribute": "show-more-text",
|
|
48181
|
-
"reflects": true
|
|
48182
|
-
},
|
|
48183
|
-
{
|
|
48184
|
-
"kind": "field",
|
|
48185
|
-
"name": "showLessText",
|
|
48186
|
-
"type": {
|
|
48187
|
-
"text": "string | undefined"
|
|
48188
|
-
},
|
|
48189
|
-
"description": "Defines the text shown on the linkbutton when detailed content is visible.",
|
|
48190
|
-
"attribute": "show-less-text",
|
|
48191
|
-
"reflects": true
|
|
48192
|
-
},
|
|
48193
|
-
{
|
|
48194
|
-
"kind": "field",
|
|
48195
|
-
"name": "isDetailVisible",
|
|
48196
|
-
"type": {
|
|
48197
|
-
"text": "boolean"
|
|
48198
|
-
},
|
|
48199
|
-
"privacy": "private",
|
|
48200
|
-
"default": "false"
|
|
48201
|
-
},
|
|
48202
|
-
{
|
|
48203
|
-
"kind": "field",
|
|
48204
|
-
"name": "hasDetailedSlot",
|
|
48205
|
-
"type": {
|
|
48206
|
-
"text": "boolean"
|
|
48207
|
-
},
|
|
48208
|
-
"privacy": "private",
|
|
48209
|
-
"default": "false"
|
|
48210
|
-
},
|
|
48211
|
-
{
|
|
48212
|
-
"kind": "field",
|
|
48213
|
-
"name": "detailedElements",
|
|
48214
|
-
"type": {
|
|
48215
|
-
"text": "HTMLElement[]"
|
|
48216
|
-
},
|
|
48217
|
-
"privacy": "private"
|
|
48218
|
-
},
|
|
48219
|
-
{
|
|
48220
|
-
"kind": "field",
|
|
48221
|
-
"name": "hasFooterButtons",
|
|
48222
|
-
"type": {
|
|
48223
|
-
"text": "string"
|
|
48224
|
-
},
|
|
48225
|
-
"privacy": "private",
|
|
48226
|
-
"default": "''"
|
|
48227
|
-
},
|
|
48228
|
-
{
|
|
48229
|
-
"kind": "method",
|
|
48230
|
-
"name": "closeToast",
|
|
48231
|
-
"privacy": "private",
|
|
48232
|
-
"description": "Fired when Close Button is clicked using mouse or keyboard.\nThis method dispatches the close event.\nIt is used to notify that the toast should be closed."
|
|
48233
|
-
},
|
|
48234
|
-
{
|
|
48235
|
-
"kind": "method",
|
|
48236
|
-
"name": "toggleDetailVisibility",
|
|
48237
|
-
"privacy": "private"
|
|
48238
|
-
},
|
|
48239
|
-
{
|
|
48240
|
-
"kind": "method",
|
|
48241
|
-
"name": "updateDetailedSlotPresence",
|
|
48242
|
-
"privacy": "private"
|
|
48243
|
-
},
|
|
48244
|
-
{
|
|
48245
|
-
"kind": "method",
|
|
48246
|
-
"name": "updateFooterButtonsPresence",
|
|
48247
|
-
"privacy": "private"
|
|
48248
|
-
},
|
|
48249
|
-
{
|
|
48250
|
-
"kind": "method",
|
|
48251
|
-
"name": "renderIcon",
|
|
48252
|
-
"privacy": "protected",
|
|
48253
|
-
"parameters": [
|
|
48254
|
-
{
|
|
48255
|
-
"name": "iconName",
|
|
48256
|
-
"type": {
|
|
48257
|
-
"text": "string"
|
|
48258
|
-
}
|
|
48259
|
-
}
|
|
48260
|
-
]
|
|
48261
|
-
},
|
|
48262
|
-
{
|
|
48263
|
-
"kind": "method",
|
|
48264
|
-
"name": "shouldRenderToggleButton",
|
|
48265
|
-
"privacy": "private"
|
|
48266
|
-
},
|
|
48267
|
-
{
|
|
48268
|
-
"kind": "method",
|
|
48269
|
-
"name": "renderToggleDetailButton",
|
|
48270
|
-
"privacy": "private"
|
|
48271
|
-
},
|
|
48272
|
-
{
|
|
48273
|
-
"kind": "method",
|
|
48274
|
-
"name": "renderHeader",
|
|
48275
|
-
"privacy": "protected"
|
|
48276
|
-
},
|
|
48277
|
-
{
|
|
48278
|
-
"kind": "method",
|
|
48279
|
-
"name": "handleFooterSlot",
|
|
48280
|
-
"privacy": "protected",
|
|
48281
|
-
"return": {
|
|
48282
|
-
"type": {
|
|
48283
|
-
"text": "void"
|
|
48284
|
-
}
|
|
48285
|
-
},
|
|
48286
|
-
"parameters": [
|
|
48287
|
-
{
|
|
48288
|
-
"name": "tagname",
|
|
48289
|
-
"type": {
|
|
48290
|
-
"text": "string"
|
|
48291
|
-
}
|
|
48292
|
-
},
|
|
48293
|
-
{
|
|
48294
|
-
"name": "variant",
|
|
48295
|
-
"optional": true,
|
|
48296
|
-
"type": {
|
|
48297
|
-
"text": "string | undefined"
|
|
48298
|
-
}
|
|
48299
|
-
}
|
|
48300
|
-
]
|
|
48301
|
-
},
|
|
48302
|
-
{
|
|
48303
|
-
"kind": "method",
|
|
48304
|
-
"name": "renderFooter",
|
|
48305
|
-
"privacy": "protected",
|
|
48306
|
-
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
48307
|
-
"return": {
|
|
48308
|
-
"type": {
|
|
48309
|
-
"text": ""
|
|
48310
|
-
}
|
|
48311
|
-
},
|
|
48312
|
-
"inheritedFrom": {
|
|
48313
|
-
"name": "FooterMixin",
|
|
48314
|
-
"module": "utils/mixins/FooterMixin.js"
|
|
48315
|
-
}
|
|
48316
|
-
}
|
|
48317
|
-
],
|
|
48318
|
-
"events": [
|
|
48319
|
-
{
|
|
48320
|
-
"description": "(React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.",
|
|
48321
|
-
"name": "close",
|
|
48322
|
-
"reactName": "onClose"
|
|
48323
|
-
}
|
|
48324
|
-
],
|
|
48325
|
-
"attributes": [
|
|
48326
|
-
{
|
|
48327
|
-
"name": "variant",
|
|
48328
|
-
"type": {
|
|
48329
|
-
"text": "ToastVariant"
|
|
48330
|
-
},
|
|
48331
|
-
"description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
|
|
48332
|
-
"default": "'custom'",
|
|
48333
|
-
"fieldName": "variant"
|
|
48334
|
-
},
|
|
48335
|
-
{
|
|
48336
|
-
"name": "close-button-aria-label",
|
|
48337
|
-
"type": {
|
|
48338
|
-
"text": "string | undefined"
|
|
48339
|
-
},
|
|
48340
|
-
"description": "Defines aria-label attribute for close button accessibility",
|
|
48341
|
-
"fieldName": "closeButtonAriaLabel"
|
|
48342
|
-
},
|
|
48343
|
-
{
|
|
48344
|
-
"name": "header-text",
|
|
48345
|
-
"type": {
|
|
48346
|
-
"text": "string | undefined"
|
|
48347
|
-
},
|
|
48348
|
-
"description": "Defines a string value to display as the title of the toast",
|
|
48349
|
-
"fieldName": "headerText"
|
|
48350
|
-
},
|
|
48351
|
-
{
|
|
48352
|
-
"name": "header-tag-name",
|
|
48353
|
-
"type": {
|
|
48354
|
-
"text": "TagName"
|
|
48355
|
-
},
|
|
48356
|
-
"description": "The html tag to be used for the header text",
|
|
48357
|
-
"default": "'h2'",
|
|
48358
|
-
"fieldName": "headerTagName"
|
|
48359
|
-
},
|
|
48360
|
-
{
|
|
48361
|
-
"name": "aria-label",
|
|
48362
|
-
"type": {
|
|
48363
|
-
"text": "string | null"
|
|
48364
|
-
},
|
|
48365
|
-
"default": "null",
|
|
48366
|
-
"description": "Defines aria-label attribute when header is not used",
|
|
48367
|
-
"fieldName": "ariaLabel"
|
|
48368
|
-
},
|
|
48369
|
-
{
|
|
48370
|
-
"name": "show-more-text",
|
|
48371
|
-
"type": {
|
|
48372
|
-
"text": "string | undefined"
|
|
48373
|
-
},
|
|
48374
|
-
"description": "Defines the text shown on the linkbutton when detailed content is hidden.",
|
|
48375
|
-
"fieldName": "showMoreText"
|
|
48376
|
-
},
|
|
48377
|
-
{
|
|
48378
|
-
"name": "show-less-text",
|
|
48379
|
-
"type": {
|
|
48380
|
-
"text": "string | undefined"
|
|
48381
|
-
},
|
|
48382
|
-
"description": "Defines the text shown on the linkbutton when detailed content is visible.",
|
|
48383
|
-
"fieldName": "showLessText"
|
|
48384
|
-
}
|
|
48385
|
-
],
|
|
48386
|
-
"mixins": [
|
|
48387
|
-
{
|
|
48388
|
-
"name": "FooterMixin",
|
|
48389
|
-
"module": "/src/utils/mixins/FooterMixin"
|
|
48390
|
-
}
|
|
48391
|
-
],
|
|
48392
|
-
"superclass": {
|
|
48393
|
-
"name": "Component",
|
|
48394
|
-
"module": "/src/models"
|
|
48395
|
-
},
|
|
48396
|
-
"tagName": "mdc-toast",
|
|
48397
|
-
"jsDoc": "/**\n * `mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\n * It supports success, warning, error, and custom messages, and is designed to be controlled externally.\n *\n * **Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\n * If not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n *\n * @slot content-prefix - Slot for custom content before the icon (only for custom variant).\n * @slot toast-body-normal - Slot for the main body content of the toast.\n * @slot toast-body-detailed - Slot for additional detailed content, shown when expanded.\n * @slot footer - Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.\n * @slot footer-button-primary - Slot for passing the primary variant of `mdc-button` in the footer.\n * @slot footer-button-secondary - Slot for passing the secondary variant of `mdc-button` in the footer.\n *\n * @tagname mdc-toast\n *\n * @event close - (React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.\n *\n * @csspart content-container - The container for the toast's main content, including icon, text, and close button.\n * @csspart toast-prefix-icon - The icon shown at the start of the toast, styled by variant.\n * @csspart toast-content - The container for the header and body content of the toast.\n * @csspart toast-header - The header text of the toast.\n * @csspart footer - The container for the toast's footer, including toggle and action buttons.\n * @csspart footer-button-toggle - The toggle button for showing/hiding detailed content.\n * @csspart toast-close-btn - The close button for the toast.\n * @csspart has-footer-buttons - Applied to the footer when it contains buttons or a toggle button.\n *\n * @cssproperty --mdc-toast-background-color - Background color of the toast.\n * @cssproperty --mdc-toast-border-color - Border color of the toast.\n * @cssproperty --mdc-toast-header-text-color - Color of the header text in the toast.\n * @cssproperty --mdc-toast-icon-color - Color of the icon in the toast.\n * @cssproperty --mdc-toast-elevation-3 - Elevation effect applied to the toast.\n * @cssproperty --mdc-toast-width - Width of the toast.\n * @cssproperty --mdc-toast-padding - Padding inside the toast.\n */",
|
|
48398
|
-
"customElement": true
|
|
48399
|
-
}
|
|
48400
|
-
],
|
|
48401
|
-
"exports": [
|
|
48402
|
-
{
|
|
48403
|
-
"kind": "js",
|
|
48404
|
-
"name": "default",
|
|
48405
|
-
"declaration": {
|
|
48406
|
-
"name": "Toast",
|
|
48407
|
-
"module": "components/toast/toast.component.js"
|
|
48408
|
-
}
|
|
48409
|
-
}
|
|
48410
|
-
]
|
|
48411
|
-
},
|
|
48412
47924
|
{
|
|
48413
47925
|
"kind": "javascript-module",
|
|
48414
47926
|
"path": "components/toggle/toggle.component.js",
|
|
@@ -54088,10 +53600,11 @@
|
|
|
54088
53600
|
},
|
|
54089
53601
|
{
|
|
54090
53602
|
"name": "focusNewItem",
|
|
54091
|
-
"
|
|
54092
|
-
|
|
54093
|
-
|
|
54094
|
-
|
|
53603
|
+
"default": "true"
|
|
53604
|
+
},
|
|
53605
|
+
{
|
|
53606
|
+
"name": "scrollToNewItem",
|
|
53607
|
+
"default": "focusNewItem"
|
|
54095
53608
|
}
|
|
54096
53609
|
],
|
|
54097
53610
|
"description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
|
|
@@ -54393,6 +53906,506 @@
|
|
|
54393
53906
|
}
|
|
54394
53907
|
]
|
|
54395
53908
|
},
|
|
53909
|
+
{
|
|
53910
|
+
"kind": "javascript-module",
|
|
53911
|
+
"path": "components/themeprovider/themeprovider.component.js",
|
|
53912
|
+
"declarations": [
|
|
53913
|
+
{
|
|
53914
|
+
"kind": "class",
|
|
53915
|
+
"description": "ThemeProvider component, which sets the passed in themeclass as class.\nIf the themeclass switches, the existing themeclass will be removed as a class\nand the new themeclass will be added.\n\nCSS variables defined in the themeclass will be used for the styling of child dom nodes.\n\nAvailable Momentum theme classes:\n\n`mds-theme-stable-darkWebex`, `mds-theme-stable-lightWebex`\n\n`mds-theme-stable-darkBronzeWebex`, `mds-theme-stable-lightBronzeWebex`\n\n`mds-theme-stable-darkIndigoWebex`, `mds-theme-stable-lightIndigoWebex`\n\n`mds-theme-stable-darkJadeWebex`, `mds-theme-stable-lightJadeWebex`\n\n`mds-theme-stable-darkLavenderWebex`, `mds-theme-stable-lightLavenderWebex`\n\n`mds-theme-stable-darkRoseWebex`, `mds-theme-stable-lightRoseWebex`\n\nThemeclass context can be be consumed from Lit child components\n(see providerUtils.consume for how to consume)\n\nThemeProvider also includes basic font defaults for text.",
|
|
53916
|
+
"name": "ThemeProvider",
|
|
53917
|
+
"cssProperties": [
|
|
53918
|
+
{
|
|
53919
|
+
"description": "Option to override the default color, default: color-theme-text-primary-normal",
|
|
53920
|
+
"name": "--mdc-themeprovider-color-default"
|
|
53921
|
+
},
|
|
53922
|
+
{
|
|
53923
|
+
"description": "Option to override the font family, default: `Momentum` (from momentum-design/fonts)",
|
|
53924
|
+
"name": "--mdc-themeprovider-font-family"
|
|
53925
|
+
},
|
|
53926
|
+
{
|
|
53927
|
+
"description": "Option to override the font weight, default: `400`",
|
|
53928
|
+
"name": "--mdc-themeprovider-font-weight"
|
|
53929
|
+
},
|
|
53930
|
+
{
|
|
53931
|
+
"description": "Option to override the default letter-spacing, default: `-0.25px` (this is to match the old CiscoSans)",
|
|
53932
|
+
"name": "--mdc-themeprovider-letter-spacing-adjustment"
|
|
53933
|
+
},
|
|
53934
|
+
{
|
|
53935
|
+
"description": "Option to override the font feature settings, default: `\"ss02\" on`",
|
|
53936
|
+
"name": "--mdc-themeprovider-font-feature-settings"
|
|
53937
|
+
},
|
|
53938
|
+
{
|
|
53939
|
+
"description": "Option to override the color of the scrollbar track.",
|
|
53940
|
+
"name": "--mdc-themeprovider-scrollbar-track-color"
|
|
53941
|
+
},
|
|
53942
|
+
{
|
|
53943
|
+
"description": "Option to override the color of the scrollbar thumb.",
|
|
53944
|
+
"name": "--mdc-themeprovider-scrollbar-thumb-color"
|
|
53945
|
+
}
|
|
53946
|
+
],
|
|
53947
|
+
"slots": [
|
|
53948
|
+
{
|
|
53949
|
+
"description": "children",
|
|
53950
|
+
"name": ""
|
|
53951
|
+
}
|
|
53952
|
+
],
|
|
53953
|
+
"members": [
|
|
53954
|
+
{
|
|
53955
|
+
"kind": "field",
|
|
53956
|
+
"name": "Context",
|
|
53957
|
+
"privacy": "public",
|
|
53958
|
+
"static": true,
|
|
53959
|
+
"description": "Context object of the ThemeProvider, to be consumed by child components",
|
|
53960
|
+
"readonly": true
|
|
53961
|
+
},
|
|
53962
|
+
{
|
|
53963
|
+
"kind": "field",
|
|
53964
|
+
"name": "themeclass",
|
|
53965
|
+
"type": {
|
|
53966
|
+
"text": "string"
|
|
53967
|
+
},
|
|
53968
|
+
"description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
|
|
53969
|
+
"attribute": "themeclass"
|
|
53970
|
+
},
|
|
53971
|
+
{
|
|
53972
|
+
"kind": "method",
|
|
53973
|
+
"name": "updateContext",
|
|
53974
|
+
"privacy": "protected",
|
|
53975
|
+
"return": {
|
|
53976
|
+
"type": {
|
|
53977
|
+
"text": "void"
|
|
53978
|
+
}
|
|
53979
|
+
},
|
|
53980
|
+
"description": "Update all observing components of this\nprovider to update the themeclass\n\nIs called on every re-render, see Provider class"
|
|
53981
|
+
},
|
|
53982
|
+
{
|
|
53983
|
+
"kind": "method",
|
|
53984
|
+
"name": "setThemeInClassList",
|
|
53985
|
+
"privacy": "private",
|
|
53986
|
+
"description": "Function to update the active theme classnames to update the theme tokens\nas CSS variables on the web component."
|
|
53987
|
+
}
|
|
53988
|
+
],
|
|
53989
|
+
"attributes": [
|
|
53990
|
+
{
|
|
53991
|
+
"name": "themeclass",
|
|
53992
|
+
"type": {
|
|
53993
|
+
"text": "string"
|
|
53994
|
+
},
|
|
53995
|
+
"description": "Current theme class\n\nHas to be fully qualified, such that\nthe theme class matches the class of the respective\ntheme stylesheet\n\nDefault: 'mds-theme-stable-darkWebex'",
|
|
53996
|
+
"fieldName": "themeclass"
|
|
53997
|
+
}
|
|
53998
|
+
],
|
|
53999
|
+
"superclass": {
|
|
54000
|
+
"name": "Provider",
|
|
54001
|
+
"module": "/src/models"
|
|
54002
|
+
},
|
|
54003
|
+
"tagName": "mdc-themeprovider",
|
|
54004
|
+
"jsDoc": "/**\n * ThemeProvider component, which sets the passed in themeclass as class.\n * If the themeclass switches, the existing themeclass will be removed as a class\n * and the new themeclass will be added.\n *\n * CSS variables defined in the themeclass will be used for the styling of child dom nodes.\n *\n * Available Momentum theme classes:\n *\n * `mds-theme-stable-darkWebex`, `mds-theme-stable-lightWebex`\n *\n * `mds-theme-stable-darkBronzeWebex`, `mds-theme-stable-lightBronzeWebex`\n *\n * `mds-theme-stable-darkIndigoWebex`, `mds-theme-stable-lightIndigoWebex`\n *\n * `mds-theme-stable-darkJadeWebex`, `mds-theme-stable-lightJadeWebex`\n *\n * `mds-theme-stable-darkLavenderWebex`, `mds-theme-stable-lightLavenderWebex`\n *\n * `mds-theme-stable-darkRoseWebex`, `mds-theme-stable-lightRoseWebex`\n *\n * Themeclass context can be be consumed from Lit child components\n * (see providerUtils.consume for how to consume)\n *\n * ThemeProvider also includes basic font defaults for text.\n *\n * @tagname mdc-themeprovider\n *\n * @slot - children\n *\n * @cssproperty --mdc-themeprovider-color-default - Option to override the default color,\n * default: color-theme-text-primary-normal\n * @cssproperty --mdc-themeprovider-font-family - Option to override the font family,\n * default: `Momentum` (from momentum-design/fonts)\n * @cssproperty --mdc-themeprovider-font-weight - Option to override the font weight, default: `400`\n * @cssproperty --mdc-themeprovider-letter-spacing-adjustment - Option to override the default letter-spacing,\n * default: `-0.25px` (this is to match the old CiscoSans)\n * @cssproperty --mdc-themeprovider-font-feature-settings - Option to override the font feature settings,\n * default: `\"ss02\" on`\n * @cssproperty --mdc-themeprovider-scrollbar-track-color - Option to override the color of the scrollbar track.\n * @cssproperty --mdc-themeprovider-scrollbar-thumb-color - Option to override the color of the scrollbar thumb.\n */",
|
|
54005
|
+
"customElement": true
|
|
54006
|
+
}
|
|
54007
|
+
],
|
|
54008
|
+
"exports": [
|
|
54009
|
+
{
|
|
54010
|
+
"kind": "js",
|
|
54011
|
+
"name": "default",
|
|
54012
|
+
"declaration": {
|
|
54013
|
+
"name": "ThemeProvider",
|
|
54014
|
+
"module": "components/themeprovider/themeprovider.component.js"
|
|
54015
|
+
}
|
|
54016
|
+
}
|
|
54017
|
+
]
|
|
54018
|
+
},
|
|
54019
|
+
{
|
|
54020
|
+
"kind": "javascript-module",
|
|
54021
|
+
"path": "components/toast/toast.component.js",
|
|
54022
|
+
"declarations": [
|
|
54023
|
+
{
|
|
54024
|
+
"kind": "class",
|
|
54025
|
+
"description": "`mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\nIt supports success, warning, error, and custom messages, and is designed to be controlled externally.\n\n**Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\nIf not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.",
|
|
54026
|
+
"name": "Toast",
|
|
54027
|
+
"cssProperties": [
|
|
54028
|
+
{
|
|
54029
|
+
"description": "Background color of the toast.",
|
|
54030
|
+
"name": "--mdc-toast-background-color"
|
|
54031
|
+
},
|
|
54032
|
+
{
|
|
54033
|
+
"description": "Border color of the toast.",
|
|
54034
|
+
"name": "--mdc-toast-border-color"
|
|
54035
|
+
},
|
|
54036
|
+
{
|
|
54037
|
+
"description": "Color of the header text in the toast.",
|
|
54038
|
+
"name": "--mdc-toast-header-text-color"
|
|
54039
|
+
},
|
|
54040
|
+
{
|
|
54041
|
+
"description": "Color of the icon in the toast.",
|
|
54042
|
+
"name": "--mdc-toast-icon-color"
|
|
54043
|
+
},
|
|
54044
|
+
{
|
|
54045
|
+
"description": "Elevation effect applied to the toast.",
|
|
54046
|
+
"name": "--mdc-toast-elevation-3"
|
|
54047
|
+
},
|
|
54048
|
+
{
|
|
54049
|
+
"description": "Width of the toast.",
|
|
54050
|
+
"name": "--mdc-toast-width"
|
|
54051
|
+
},
|
|
54052
|
+
{
|
|
54053
|
+
"description": "Padding inside the toast.",
|
|
54054
|
+
"name": "--mdc-toast-padding"
|
|
54055
|
+
}
|
|
54056
|
+
],
|
|
54057
|
+
"cssParts": [
|
|
54058
|
+
{
|
|
54059
|
+
"description": "The container for the toast's main content, including icon, text, and close button.",
|
|
54060
|
+
"name": "content-container"
|
|
54061
|
+
},
|
|
54062
|
+
{
|
|
54063
|
+
"description": "The icon shown at the start of the toast, styled by variant.",
|
|
54064
|
+
"name": "toast-prefix-icon"
|
|
54065
|
+
},
|
|
54066
|
+
{
|
|
54067
|
+
"description": "The container for the header and body content of the toast.",
|
|
54068
|
+
"name": "toast-content"
|
|
54069
|
+
},
|
|
54070
|
+
{
|
|
54071
|
+
"description": "The header text of the toast.",
|
|
54072
|
+
"name": "toast-header"
|
|
54073
|
+
},
|
|
54074
|
+
{
|
|
54075
|
+
"description": "The container for the toast's footer, including toggle and action buttons.",
|
|
54076
|
+
"name": "footer"
|
|
54077
|
+
},
|
|
54078
|
+
{
|
|
54079
|
+
"description": "The toggle button for showing/hiding detailed content.",
|
|
54080
|
+
"name": "footer-button-toggle"
|
|
54081
|
+
},
|
|
54082
|
+
{
|
|
54083
|
+
"description": "The close button for the toast.",
|
|
54084
|
+
"name": "toast-close-btn"
|
|
54085
|
+
},
|
|
54086
|
+
{
|
|
54087
|
+
"description": "Applied to the footer when it contains buttons or a toggle button.",
|
|
54088
|
+
"name": "has-footer-buttons"
|
|
54089
|
+
}
|
|
54090
|
+
],
|
|
54091
|
+
"slots": [
|
|
54092
|
+
{
|
|
54093
|
+
"description": "Slot for custom content before the icon (only for custom variant).",
|
|
54094
|
+
"name": "content-prefix"
|
|
54095
|
+
},
|
|
54096
|
+
{
|
|
54097
|
+
"description": "Slot for the main body content of the toast.",
|
|
54098
|
+
"name": "toast-body-normal"
|
|
54099
|
+
},
|
|
54100
|
+
{
|
|
54101
|
+
"description": "Slot for additional detailed content, shown when expanded.",
|
|
54102
|
+
"name": "toast-body-detailed"
|
|
54103
|
+
},
|
|
54104
|
+
{
|
|
54105
|
+
"description": "Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.",
|
|
54106
|
+
"name": "footer"
|
|
54107
|
+
},
|
|
54108
|
+
{
|
|
54109
|
+
"description": "Slot for passing the primary variant of `mdc-button` in the footer.",
|
|
54110
|
+
"name": "footer-button-primary"
|
|
54111
|
+
},
|
|
54112
|
+
{
|
|
54113
|
+
"description": "Slot for passing the secondary variant of `mdc-button` in the footer.",
|
|
54114
|
+
"name": "footer-button-secondary"
|
|
54115
|
+
}
|
|
54116
|
+
],
|
|
54117
|
+
"members": [
|
|
54118
|
+
{
|
|
54119
|
+
"kind": "field",
|
|
54120
|
+
"name": "variant",
|
|
54121
|
+
"type": {
|
|
54122
|
+
"text": "ToastVariant"
|
|
54123
|
+
},
|
|
54124
|
+
"description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
|
|
54125
|
+
"default": "'custom'",
|
|
54126
|
+
"attribute": "variant",
|
|
54127
|
+
"reflects": true
|
|
54128
|
+
},
|
|
54129
|
+
{
|
|
54130
|
+
"kind": "field",
|
|
54131
|
+
"name": "closeButtonAriaLabel",
|
|
54132
|
+
"type": {
|
|
54133
|
+
"text": "string | undefined"
|
|
54134
|
+
},
|
|
54135
|
+
"description": "Defines aria-label attribute for close button accessibility",
|
|
54136
|
+
"attribute": "close-button-aria-label"
|
|
54137
|
+
},
|
|
54138
|
+
{
|
|
54139
|
+
"kind": "field",
|
|
54140
|
+
"name": "headerText",
|
|
54141
|
+
"type": {
|
|
54142
|
+
"text": "string | undefined"
|
|
54143
|
+
},
|
|
54144
|
+
"description": "Defines a string value to display as the title of the toast",
|
|
54145
|
+
"attribute": "header-text",
|
|
54146
|
+
"reflects": true
|
|
54147
|
+
},
|
|
54148
|
+
{
|
|
54149
|
+
"kind": "field",
|
|
54150
|
+
"name": "headerTagName",
|
|
54151
|
+
"type": {
|
|
54152
|
+
"text": "TagName"
|
|
54153
|
+
},
|
|
54154
|
+
"description": "The html tag to be used for the header text",
|
|
54155
|
+
"default": "'h2'",
|
|
54156
|
+
"attribute": "header-tag-name",
|
|
54157
|
+
"reflects": true
|
|
54158
|
+
},
|
|
54159
|
+
{
|
|
54160
|
+
"kind": "field",
|
|
54161
|
+
"name": "ariaLabel",
|
|
54162
|
+
"type": {
|
|
54163
|
+
"text": "string | null"
|
|
54164
|
+
},
|
|
54165
|
+
"default": "null",
|
|
54166
|
+
"description": "Defines aria-label attribute when header is not used",
|
|
54167
|
+
"attribute": "aria-label",
|
|
54168
|
+
"reflects": true
|
|
54169
|
+
},
|
|
54170
|
+
{
|
|
54171
|
+
"kind": "field",
|
|
54172
|
+
"name": "showMoreText",
|
|
54173
|
+
"type": {
|
|
54174
|
+
"text": "string | undefined"
|
|
54175
|
+
},
|
|
54176
|
+
"description": "Defines the text shown on the linkbutton when detailed content is hidden.",
|
|
54177
|
+
"attribute": "show-more-text",
|
|
54178
|
+
"reflects": true
|
|
54179
|
+
},
|
|
54180
|
+
{
|
|
54181
|
+
"kind": "field",
|
|
54182
|
+
"name": "showLessText",
|
|
54183
|
+
"type": {
|
|
54184
|
+
"text": "string | undefined"
|
|
54185
|
+
},
|
|
54186
|
+
"description": "Defines the text shown on the linkbutton when detailed content is visible.",
|
|
54187
|
+
"attribute": "show-less-text",
|
|
54188
|
+
"reflects": true
|
|
54189
|
+
},
|
|
54190
|
+
{
|
|
54191
|
+
"kind": "field",
|
|
54192
|
+
"name": "isDetailVisible",
|
|
54193
|
+
"type": {
|
|
54194
|
+
"text": "boolean"
|
|
54195
|
+
},
|
|
54196
|
+
"privacy": "private",
|
|
54197
|
+
"default": "false"
|
|
54198
|
+
},
|
|
54199
|
+
{
|
|
54200
|
+
"kind": "field",
|
|
54201
|
+
"name": "hasDetailedSlot",
|
|
54202
|
+
"type": {
|
|
54203
|
+
"text": "boolean"
|
|
54204
|
+
},
|
|
54205
|
+
"privacy": "private",
|
|
54206
|
+
"default": "false"
|
|
54207
|
+
},
|
|
54208
|
+
{
|
|
54209
|
+
"kind": "field",
|
|
54210
|
+
"name": "detailedElements",
|
|
54211
|
+
"type": {
|
|
54212
|
+
"text": "HTMLElement[]"
|
|
54213
|
+
},
|
|
54214
|
+
"privacy": "private"
|
|
54215
|
+
},
|
|
54216
|
+
{
|
|
54217
|
+
"kind": "field",
|
|
54218
|
+
"name": "hasFooterButtons",
|
|
54219
|
+
"type": {
|
|
54220
|
+
"text": "string"
|
|
54221
|
+
},
|
|
54222
|
+
"privacy": "private",
|
|
54223
|
+
"default": "''"
|
|
54224
|
+
},
|
|
54225
|
+
{
|
|
54226
|
+
"kind": "method",
|
|
54227
|
+
"name": "closeToast",
|
|
54228
|
+
"privacy": "private",
|
|
54229
|
+
"description": "Fired when Close Button is clicked using mouse or keyboard.\nThis method dispatches the close event.\nIt is used to notify that the toast should be closed."
|
|
54230
|
+
},
|
|
54231
|
+
{
|
|
54232
|
+
"kind": "method",
|
|
54233
|
+
"name": "toggleDetailVisibility",
|
|
54234
|
+
"privacy": "private"
|
|
54235
|
+
},
|
|
54236
|
+
{
|
|
54237
|
+
"kind": "method",
|
|
54238
|
+
"name": "updateDetailedSlotPresence",
|
|
54239
|
+
"privacy": "private"
|
|
54240
|
+
},
|
|
54241
|
+
{
|
|
54242
|
+
"kind": "method",
|
|
54243
|
+
"name": "updateFooterButtonsPresence",
|
|
54244
|
+
"privacy": "private"
|
|
54245
|
+
},
|
|
54246
|
+
{
|
|
54247
|
+
"kind": "method",
|
|
54248
|
+
"name": "renderIcon",
|
|
54249
|
+
"privacy": "protected",
|
|
54250
|
+
"parameters": [
|
|
54251
|
+
{
|
|
54252
|
+
"name": "iconName",
|
|
54253
|
+
"type": {
|
|
54254
|
+
"text": "string"
|
|
54255
|
+
}
|
|
54256
|
+
}
|
|
54257
|
+
]
|
|
54258
|
+
},
|
|
54259
|
+
{
|
|
54260
|
+
"kind": "method",
|
|
54261
|
+
"name": "shouldRenderToggleButton",
|
|
54262
|
+
"privacy": "private"
|
|
54263
|
+
},
|
|
54264
|
+
{
|
|
54265
|
+
"kind": "method",
|
|
54266
|
+
"name": "renderToggleDetailButton",
|
|
54267
|
+
"privacy": "private"
|
|
54268
|
+
},
|
|
54269
|
+
{
|
|
54270
|
+
"kind": "method",
|
|
54271
|
+
"name": "renderHeader",
|
|
54272
|
+
"privacy": "protected"
|
|
54273
|
+
},
|
|
54274
|
+
{
|
|
54275
|
+
"kind": "method",
|
|
54276
|
+
"name": "handleFooterSlot",
|
|
54277
|
+
"privacy": "protected",
|
|
54278
|
+
"return": {
|
|
54279
|
+
"type": {
|
|
54280
|
+
"text": "void"
|
|
54281
|
+
}
|
|
54282
|
+
},
|
|
54283
|
+
"parameters": [
|
|
54284
|
+
{
|
|
54285
|
+
"name": "tagname",
|
|
54286
|
+
"type": {
|
|
54287
|
+
"text": "string"
|
|
54288
|
+
}
|
|
54289
|
+
},
|
|
54290
|
+
{
|
|
54291
|
+
"name": "variant",
|
|
54292
|
+
"optional": true,
|
|
54293
|
+
"type": {
|
|
54294
|
+
"text": "string | undefined"
|
|
54295
|
+
}
|
|
54296
|
+
}
|
|
54297
|
+
]
|
|
54298
|
+
},
|
|
54299
|
+
{
|
|
54300
|
+
"kind": "method",
|
|
54301
|
+
"name": "renderFooter",
|
|
54302
|
+
"privacy": "protected",
|
|
54303
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
54304
|
+
"return": {
|
|
54305
|
+
"type": {
|
|
54306
|
+
"text": ""
|
|
54307
|
+
}
|
|
54308
|
+
},
|
|
54309
|
+
"inheritedFrom": {
|
|
54310
|
+
"name": "FooterMixin",
|
|
54311
|
+
"module": "utils/mixins/FooterMixin.js"
|
|
54312
|
+
}
|
|
54313
|
+
}
|
|
54314
|
+
],
|
|
54315
|
+
"events": [
|
|
54316
|
+
{
|
|
54317
|
+
"description": "(React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.",
|
|
54318
|
+
"name": "close",
|
|
54319
|
+
"reactName": "onClose"
|
|
54320
|
+
}
|
|
54321
|
+
],
|
|
54322
|
+
"attributes": [
|
|
54323
|
+
{
|
|
54324
|
+
"name": "variant",
|
|
54325
|
+
"type": {
|
|
54326
|
+
"text": "ToastVariant"
|
|
54327
|
+
},
|
|
54328
|
+
"description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
|
|
54329
|
+
"default": "'custom'",
|
|
54330
|
+
"fieldName": "variant"
|
|
54331
|
+
},
|
|
54332
|
+
{
|
|
54333
|
+
"name": "close-button-aria-label",
|
|
54334
|
+
"type": {
|
|
54335
|
+
"text": "string | undefined"
|
|
54336
|
+
},
|
|
54337
|
+
"description": "Defines aria-label attribute for close button accessibility",
|
|
54338
|
+
"fieldName": "closeButtonAriaLabel"
|
|
54339
|
+
},
|
|
54340
|
+
{
|
|
54341
|
+
"name": "header-text",
|
|
54342
|
+
"type": {
|
|
54343
|
+
"text": "string | undefined"
|
|
54344
|
+
},
|
|
54345
|
+
"description": "Defines a string value to display as the title of the toast",
|
|
54346
|
+
"fieldName": "headerText"
|
|
54347
|
+
},
|
|
54348
|
+
{
|
|
54349
|
+
"name": "header-tag-name",
|
|
54350
|
+
"type": {
|
|
54351
|
+
"text": "TagName"
|
|
54352
|
+
},
|
|
54353
|
+
"description": "The html tag to be used for the header text",
|
|
54354
|
+
"default": "'h2'",
|
|
54355
|
+
"fieldName": "headerTagName"
|
|
54356
|
+
},
|
|
54357
|
+
{
|
|
54358
|
+
"name": "aria-label",
|
|
54359
|
+
"type": {
|
|
54360
|
+
"text": "string | null"
|
|
54361
|
+
},
|
|
54362
|
+
"default": "null",
|
|
54363
|
+
"description": "Defines aria-label attribute when header is not used",
|
|
54364
|
+
"fieldName": "ariaLabel"
|
|
54365
|
+
},
|
|
54366
|
+
{
|
|
54367
|
+
"name": "show-more-text",
|
|
54368
|
+
"type": {
|
|
54369
|
+
"text": "string | undefined"
|
|
54370
|
+
},
|
|
54371
|
+
"description": "Defines the text shown on the linkbutton when detailed content is hidden.",
|
|
54372
|
+
"fieldName": "showMoreText"
|
|
54373
|
+
},
|
|
54374
|
+
{
|
|
54375
|
+
"name": "show-less-text",
|
|
54376
|
+
"type": {
|
|
54377
|
+
"text": "string | undefined"
|
|
54378
|
+
},
|
|
54379
|
+
"description": "Defines the text shown on the linkbutton when detailed content is visible.",
|
|
54380
|
+
"fieldName": "showLessText"
|
|
54381
|
+
}
|
|
54382
|
+
],
|
|
54383
|
+
"mixins": [
|
|
54384
|
+
{
|
|
54385
|
+
"name": "FooterMixin",
|
|
54386
|
+
"module": "/src/utils/mixins/FooterMixin"
|
|
54387
|
+
}
|
|
54388
|
+
],
|
|
54389
|
+
"superclass": {
|
|
54390
|
+
"name": "Component",
|
|
54391
|
+
"module": "/src/models"
|
|
54392
|
+
},
|
|
54393
|
+
"tagName": "mdc-toast",
|
|
54394
|
+
"jsDoc": "/**\n * `mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\n * It supports success, warning, error, and custom messages, and is designed to be controlled externally.\n *\n * **Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\n * If not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n *\n * @slot content-prefix - Slot for custom content before the icon (only for custom variant).\n * @slot toast-body-normal - Slot for the main body content of the toast.\n * @slot toast-body-detailed - Slot for additional detailed content, shown when expanded.\n * @slot footer - Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.\n * @slot footer-button-primary - Slot for passing the primary variant of `mdc-button` in the footer.\n * @slot footer-button-secondary - Slot for passing the secondary variant of `mdc-button` in the footer.\n *\n * @tagname mdc-toast\n *\n * @event close - (React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.\n *\n * @csspart content-container - The container for the toast's main content, including icon, text, and close button.\n * @csspart toast-prefix-icon - The icon shown at the start of the toast, styled by variant.\n * @csspart toast-content - The container for the header and body content of the toast.\n * @csspart toast-header - The header text of the toast.\n * @csspart footer - The container for the toast's footer, including toggle and action buttons.\n * @csspart footer-button-toggle - The toggle button for showing/hiding detailed content.\n * @csspart toast-close-btn - The close button for the toast.\n * @csspart has-footer-buttons - Applied to the footer when it contains buttons or a toggle button.\n *\n * @cssproperty --mdc-toast-background-color - Background color of the toast.\n * @cssproperty --mdc-toast-border-color - Border color of the toast.\n * @cssproperty --mdc-toast-header-text-color - Color of the header text in the toast.\n * @cssproperty --mdc-toast-icon-color - Color of the icon in the toast.\n * @cssproperty --mdc-toast-elevation-3 - Elevation effect applied to the toast.\n * @cssproperty --mdc-toast-width - Width of the toast.\n * @cssproperty --mdc-toast-padding - Padding inside the toast.\n */",
|
|
54395
|
+
"customElement": true
|
|
54396
|
+
}
|
|
54397
|
+
],
|
|
54398
|
+
"exports": [
|
|
54399
|
+
{
|
|
54400
|
+
"kind": "js",
|
|
54401
|
+
"name": "default",
|
|
54402
|
+
"declaration": {
|
|
54403
|
+
"name": "Toast",
|
|
54404
|
+
"module": "components/toast/toast.component.js"
|
|
54405
|
+
}
|
|
54406
|
+
}
|
|
54407
|
+
]
|
|
54408
|
+
},
|
|
54396
54409
|
{
|
|
54397
54410
|
"kind": "javascript-module",
|
|
54398
54411
|
"path": "utils/mixins/AutoFocusOnMountMixin.js",
|
|
@@ -56597,6 +56610,13 @@
|
|
|
56597
56610
|
"type": {
|
|
56598
56611
|
"text": "boolean"
|
|
56599
56612
|
}
|
|
56613
|
+
},
|
|
56614
|
+
{
|
|
56615
|
+
"name": "scrollToNewItem",
|
|
56616
|
+
"optional": true,
|
|
56617
|
+
"type": {
|
|
56618
|
+
"text": "boolean"
|
|
56619
|
+
}
|
|
56600
56620
|
}
|
|
56601
56621
|
]
|
|
56602
56622
|
},
|
|
@@ -56704,6 +56724,10 @@
|
|
|
56704
56724
|
"name": "focusNewItem",
|
|
56705
56725
|
"default": "true",
|
|
56706
56726
|
"description": "Call focus() on the new item or not. It should be false during firstUpdate"
|
|
56727
|
+
},
|
|
56728
|
+
{
|
|
56729
|
+
"name": "scrollToNewItem",
|
|
56730
|
+
"default": "true"
|
|
56707
56731
|
}
|
|
56708
56732
|
],
|
|
56709
56733
|
"description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
|