@carbon/ibm-products-web-components 0.18.0-rc.0 → 0.19.0-rc.0
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/custom-elements.json +509 -0
- package/es/components/about-modal/about-modal.scss.js +1 -1
- package/es/components/notification-panel/_story-assets/unread-notification-bell.d.ts +3 -0
- package/es/components/notification-panel/_story-assets/unread-notification-bell.js +45 -0
- package/es/components/notification-panel/_story-assets/unread-notification-bell.js.map +1 -0
- package/es/components/notification-panel/date-time-context.d.ts +9 -0
- package/es/components/notification-panel/date-time-context.js +19 -0
- package/es/components/notification-panel/date-time-context.js.map +1 -0
- package/es/components/notification-panel/defs.d.ts +8 -0
- package/es/components/notification-panel/defs.js +8 -0
- package/es/components/notification-panel/defs.js.map +1 -0
- package/es/components/notification-panel/index.d.ts +11 -0
- package/es/components/notification-panel/index.js +11 -0
- package/es/components/notification-panel/index.js.map +1 -0
- package/es/components/notification-panel/notification-footer.d.ts +389 -0
- package/es/components/notification-panel/notification-footer.js +119 -0
- package/es/components/notification-panel/notification-footer.js.map +1 -0
- package/es/components/notification-panel/notification-footer.scss.js +13 -0
- package/es/components/notification-panel/notification-footer.scss.js.map +1 -0
- package/es/components/notification-panel/notification-panel.d.ts +458 -0
- package/es/components/notification-panel/notification-panel.js +414 -0
- package/es/components/notification-panel/notification-panel.js.map +1 -0
- package/es/components/notification-panel/notification-panel.scss.js +13 -0
- package/es/components/notification-panel/notification-panel.scss.js.map +1 -0
- package/es/components/notification-panel/notification-panel.test.d.ts +7 -0
- package/es/components/notification-panel/notification-panel.test.js +30 -0
- package/es/components/notification-panel/notification-panel.test.js.map +1 -0
- package/es/components/notification-panel/notification.d.ts +405 -0
- package/es/components/notification-panel/notification.js +178 -0
- package/es/components/notification-panel/notification.js.map +1 -0
- package/es/components/notification-panel/notification.scss.js +13 -0
- package/es/components/notification-panel/notification.scss.js.map +1 -0
- package/es/components/page-header/index.d.ts +14 -0
- package/es/components/page-header/index.js +14 -0
- package/es/components/page-header/index.js.map +1 -0
- package/es/components/page-header/page-header-breadcrumb.d.ts +35 -0
- package/es/components/page-header/page-header-breadcrumb.js +94 -0
- package/es/components/page-header/page-header-breadcrumb.js.map +1 -0
- package/es/components/page-header/page-header-content-text.d.ts +22 -0
- package/es/components/page-header/page-header-content-text.js +56 -0
- package/es/components/page-header/page-header-content-text.js.map +1 -0
- package/es/components/page-header/page-header-content.d.ts +41 -0
- package/es/components/page-header/page-header-content.js +131 -0
- package/es/components/page-header/page-header-content.js.map +1 -0
- package/es/components/page-header/page-header-hero-image.d.ts +18 -0
- package/es/components/page-header/page-header-hero-image.js +38 -0
- package/es/components/page-header/page-header-hero-image.js.map +1 -0
- package/es/components/page-header/page-header-tabs.d.ts +18 -0
- package/es/components/page-header/page-header-tabs.js +47 -0
- package/es/components/page-header/page-header-tabs.js.map +1 -0
- package/es/components/page-header/page-header.d.ts +18 -0
- package/es/components/page-header/page-header.js +38 -0
- package/es/components/page-header/page-header.js.map +1 -0
- package/es/components/page-header/page-header.scss.js +13 -0
- package/es/components/page-header/page-header.scss.js.map +1 -0
- package/es/components/page-header/page-header.test.d.ts +1 -0
- package/es/components/page-header/page-header.test.js +207 -0
- package/es/components/page-header/page-header.test.js.map +1 -0
- package/es/components/side-panel/side-panel.d.ts +4 -0
- package/es/components/side-panel/side-panel.js +21 -12
- package/es/components/side-panel/side-panel.js.map +1 -1
- package/es/components/side-panel/side-panel.scss.js +1 -1
- package/es/components/side-panel/side-panel.test.js +21 -0
- package/es/components/side-panel/side-panel.test.js.map +1 -1
- package/es/components/tearsheet/tearsheet.scss.js +1 -1
- package/es/globals/internal/storybook-cdn.js +1 -1
- package/es/globals/js/utils/getSupportedLocale.d.ts +12 -0
- package/es/globals/js/utils/getSupportedLocale.js +35 -0
- package/es/globals/js/utils/getSupportedLocale.js.map +1 -0
- package/es/index.d.ts +6 -0
- package/es/index.js +6 -0
- package/es/index.js.map +1 -1
- package/es/node_modules/@carbon/utilities/es/dateTimeFormat/index.js +13 -0
- package/es/node_modules/@carbon/utilities/es/dateTimeFormat/index.js.map +1 -0
- package/es/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js +11 -0
- package/es/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js.map +1 -0
- package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js +9 -0
- package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +1 -0
- package/es/{package.json.js → packages/ibm-products-web-components/package.json.js} +1 -1
- package/es-custom/components/about-modal/about-modal.scss.js +1 -1
- package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.d.ts +3 -0
- package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.js +45 -0
- package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.js.map +1 -0
- package/es-custom/components/notification-panel/date-time-context.d.ts +9 -0
- package/es-custom/components/notification-panel/date-time-context.js +19 -0
- package/es-custom/components/notification-panel/date-time-context.js.map +1 -0
- package/es-custom/components/notification-panel/defs.d.ts +8 -0
- package/es-custom/components/notification-panel/defs.js +8 -0
- package/es-custom/components/notification-panel/defs.js.map +1 -0
- package/es-custom/components/notification-panel/index.d.ts +11 -0
- package/es-custom/components/notification-panel/index.js +11 -0
- package/es-custom/components/notification-panel/index.js.map +1 -0
- package/es-custom/components/notification-panel/notification-footer.d.ts +389 -0
- package/es-custom/components/notification-panel/notification-footer.js +119 -0
- package/es-custom/components/notification-panel/notification-footer.js.map +1 -0
- package/es-custom/components/notification-panel/notification-footer.scss.js +13 -0
- package/es-custom/components/notification-panel/notification-footer.scss.js.map +1 -0
- package/es-custom/components/notification-panel/notification-panel.d.ts +458 -0
- package/es-custom/components/notification-panel/notification-panel.js +414 -0
- package/es-custom/components/notification-panel/notification-panel.js.map +1 -0
- package/es-custom/components/notification-panel/notification-panel.scss.js +13 -0
- package/es-custom/components/notification-panel/notification-panel.scss.js.map +1 -0
- package/es-custom/components/notification-panel/notification-panel.test.d.ts +7 -0
- package/es-custom/components/notification-panel/notification-panel.test.js +30 -0
- package/es-custom/components/notification-panel/notification-panel.test.js.map +1 -0
- package/es-custom/components/notification-panel/notification.d.ts +405 -0
- package/es-custom/components/notification-panel/notification.js +178 -0
- package/es-custom/components/notification-panel/notification.js.map +1 -0
- package/es-custom/components/notification-panel/notification.scss.js +13 -0
- package/es-custom/components/notification-panel/notification.scss.js.map +1 -0
- package/es-custom/components/page-header/index.d.ts +14 -0
- package/es-custom/components/page-header/index.js +14 -0
- package/es-custom/components/page-header/index.js.map +1 -0
- package/es-custom/components/page-header/page-header-breadcrumb.d.ts +35 -0
- package/es-custom/components/page-header/page-header-breadcrumb.js +94 -0
- package/es-custom/components/page-header/page-header-breadcrumb.js.map +1 -0
- package/es-custom/components/page-header/page-header-content-text.d.ts +22 -0
- package/es-custom/components/page-header/page-header-content-text.js +56 -0
- package/es-custom/components/page-header/page-header-content-text.js.map +1 -0
- package/es-custom/components/page-header/page-header-content.d.ts +41 -0
- package/es-custom/components/page-header/page-header-content.js +131 -0
- package/es-custom/components/page-header/page-header-content.js.map +1 -0
- package/es-custom/components/page-header/page-header-hero-image.d.ts +18 -0
- package/es-custom/components/page-header/page-header-hero-image.js +38 -0
- package/es-custom/components/page-header/page-header-hero-image.js.map +1 -0
- package/es-custom/components/page-header/page-header-tabs.d.ts +18 -0
- package/es-custom/components/page-header/page-header-tabs.js +47 -0
- package/es-custom/components/page-header/page-header-tabs.js.map +1 -0
- package/es-custom/components/page-header/page-header.d.ts +18 -0
- package/es-custom/components/page-header/page-header.js +38 -0
- package/es-custom/components/page-header/page-header.js.map +1 -0
- package/es-custom/components/page-header/page-header.scss.js +13 -0
- package/es-custom/components/page-header/page-header.scss.js.map +1 -0
- package/es-custom/components/page-header/page-header.test.d.ts +1 -0
- package/es-custom/components/page-header/page-header.test.js +207 -0
- package/es-custom/components/page-header/page-header.test.js.map +1 -0
- package/es-custom/components/side-panel/side-panel.d.ts +4 -0
- package/es-custom/components/side-panel/side-panel.js +21 -12
- package/es-custom/components/side-panel/side-panel.js.map +1 -1
- package/es-custom/components/side-panel/side-panel.scss.js +1 -1
- package/es-custom/components/side-panel/side-panel.test.js +21 -0
- package/es-custom/components/side-panel/side-panel.test.js.map +1 -1
- package/es-custom/components/tearsheet/tearsheet.scss.js +1 -1
- package/es-custom/globals/internal/storybook-cdn.js +1 -1
- package/es-custom/globals/js/utils/getSupportedLocale.d.ts +12 -0
- package/es-custom/globals/js/utils/getSupportedLocale.js +35 -0
- package/es-custom/globals/js/utils/getSupportedLocale.js.map +1 -0
- package/es-custom/index.d.ts +6 -0
- package/es-custom/index.js +6 -0
- package/es-custom/index.js.map +1 -1
- package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/index.js +13 -0
- package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/index.js.map +1 -0
- package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js +11 -0
- package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js.map +1 -0
- package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js +9 -0
- package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +1 -0
- package/es-custom/{package.json.js → packages/ibm-products-web-components/package.json.js} +1 -1
- package/lib/components/notification-panel/_story-assets/unread-notification-bell.d.ts +3 -0
- package/lib/components/notification-panel/date-time-context.d.ts +9 -0
- package/lib/components/notification-panel/defs.d.ts +8 -0
- package/lib/components/notification-panel/defs.js +10 -0
- package/lib/components/notification-panel/defs.js.map +1 -0
- package/lib/components/notification-panel/index.d.ts +11 -0
- package/lib/components/notification-panel/notification-footer.d.ts +389 -0
- package/lib/components/notification-panel/notification-panel.d.ts +458 -0
- package/lib/components/notification-panel/notification-panel.test.d.ts +7 -0
- package/lib/components/notification-panel/notification.d.ts +405 -0
- package/lib/components/page-header/index.d.ts +14 -0
- package/lib/components/page-header/page-header-breadcrumb.d.ts +35 -0
- package/lib/components/page-header/page-header-content-text.d.ts +22 -0
- package/lib/components/page-header/page-header-content.d.ts +41 -0
- package/lib/components/page-header/page-header-hero-image.d.ts +18 -0
- package/lib/components/page-header/page-header-tabs.d.ts +18 -0
- package/lib/components/page-header/page-header.d.ts +18 -0
- package/lib/components/page-header/page-header.test.d.ts +1 -0
- package/lib/components/side-panel/side-panel.d.ts +4 -0
- package/lib/globals/js/utils/getSupportedLocale.d.ts +12 -0
- package/lib/globals/js/utils/getSupportedLocale.js +37 -0
- package/lib/globals/js/utils/getSupportedLocale.js.map +1 -0
- package/lib/index.d.ts +6 -0
- package/package.json +12 -11
- package/scss/components/notification-panel/notification-footer.scss +65 -0
- package/scss/components/notification-panel/notification-panel.scss +59 -0
- package/scss/components/notification-panel/notification.scss +147 -0
- package/scss/components/notification-panel/story-styles.scss +116 -0
- package/scss/components/page-header/page-header.scss +288 -0
- /package/es/{package.json.js.map → packages/ibm-products-web-components/package.json.js.map} +0 -0
- /package/es-custom/{package.json.js.map → packages/ibm-products-web-components/package.json.js.map} +0 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
7
|
+
|
8
|
+
import { css } from 'lit';
|
9
|
+
|
10
|
+
var styles = css(["a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font:inherit;font-feature-settings:\"liga\" 1;font-size:100%;margin:0;padding:0;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{background-color:var(--cds-custom-background,#fff);color:var(--cds-custom-text-primary,#161616);line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:none}table{border-collapse:collapse;border-spacing:0}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}html{font-size:100%}body{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-custom-heading-06-font-size,2.625rem);font-weight:var(--cds-custom-heading-06-font-weight,300);letter-spacing:var(--cds-custom-heading-06-letter-spacing,0);line-height:var(--cds-custom-heading-06-line-height,1.199)}h2{font-size:var(--cds-custom-heading-05-font-size,2rem);font-weight:var(--cds-custom-heading-05-font-weight,400);letter-spacing:var(--cds-custom-heading-05-letter-spacing,0);line-height:var(--cds-custom-heading-05-line-height,1.25)}h3{font-size:var(--cds-custom-heading-04-font-size,1.75rem);font-weight:var(--cds-custom-heading-04-font-weight,400);letter-spacing:var(--cds-custom-heading-04-letter-spacing,0);line-height:var(--cds-custom-heading-04-line-height,1.28572)}h4{font-size:var(--cds-custom-heading-03-font-size,1.25rem);font-weight:var(--cds-custom-heading-03-font-weight,400);letter-spacing:var(--cds-custom-heading-03-letter-spacing,0);line-height:var(--cds-custom-heading-03-line-height,1.4)}h5{font-size:var(--cds-custom-heading-02-font-size,1rem);font-weight:var(--cds-custom-heading-02-font-weight,600);letter-spacing:var(--cds-custom-heading-02-letter-spacing,0);line-height:var(--cds-custom-heading-02-line-height,1.5)}h6{font-size:var(--cds-custom-heading-01-font-size,.875rem);font-weight:var(--cds-custom-heading-01-font-weight,600);letter-spacing:var(--cds-custom-heading-01-letter-spacing,.16px);line-height:var(--cds-custom-heading-01-line-height,1.42857)}p{font-size:var(--cds-custom-body-02-font-size,1rem);font-weight:var(--cds-custom-body-02-font-weight,400);letter-spacing:var(--cds-custom-body-02-letter-spacing,0);line-height:var(--cds-custom-body-02-line-height,1.5)}a{color:var(--cds-custom-link-primary,#0062fe)}em{font-style:italic}@keyframes c4p--hide-feedback{0%{opacity:1;visibility:inherit}to{opacity:0;visibility:hidden}}@keyframes c4p--show-feedback{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:inherit}}@keyframes c4p--skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}to{opacity:.3;transform:scaleX(0);transform-origin:left}}.c4p--layout--size-xs{--c4p-layout-size-height-context:var(--c4p-layout-size-height-xs,1.5rem);--c4p-layout-size-height:var(--c4p-layout-size-height-context)}.c4p--layout-constraint--size__default-xs{--c4p-layout-size-height:var(--c4p-layout-size-height-context,var(--c4p-layout-size-height-xs,1.5rem))}.c4p--layout-constraint--size__min-xs{--c4p-layout-size-height-min:var(--c4p-layout-size-height-xs,1.5rem)}.c4p--layout-constraint--size__max-xs{--c4p-layout-size-height-max:var(--c4p-layout-size-height-xs,1.5rem)}.c4p--layout--size-sm{--c4p-layout-size-height-context:var(--c4p-layout-size-height-sm,2rem);--c4p-layout-size-height:var(--c4p-layout-size-height-context)}.c4p--layout-constraint--size__default-sm{--c4p-layout-size-height:var(--c4p-layout-size-height-context,var(--c4p-layout-size-height-sm,2rem))}.c4p--layout-constraint--size__min-sm{--c4p-layout-size-height-min:var(--c4p-layout-size-height-sm,2rem)}.c4p--layout-constraint--size__max-sm{--c4p-layout-size-height-max:var(--c4p-layout-size-height-sm,2rem)}.c4p--layout--size-md{--c4p-layout-size-height-context:var(--c4p-layout-size-height-md,2.5rem);--c4p-layout-size-height:var(--c4p-layout-size-height-context)}.c4p--layout-constraint--size__default-md{--c4p-layout-size-height:var(--c4p-layout-size-height-context,var(--c4p-layout-size-height-md,2.5rem))}.c4p--layout-constraint--size__min-md{--c4p-layout-size-height-min:var(--c4p-layout-size-height-md,2.5rem)}.c4p--layout-constraint--size__max-md{--c4p-layout-size-height-max:var(--c4p-layout-size-height-md,2.5rem)}.c4p--layout--size-lg{--c4p-layout-size-height-context:var(--c4p-layout-size-height-lg,3rem);--c4p-layout-size-height:var(--c4p-layout-size-height-context)}.c4p--layout-constraint--size__default-lg{--c4p-layout-size-height:var(--c4p-layout-size-height-context,var(--c4p-layout-size-height-lg,3rem))}.c4p--layout-constraint--size__min-lg{--c4p-layout-size-height-min:var(--c4p-layout-size-height-lg,3rem)}.c4p--layout-constraint--size__max-lg{--c4p-layout-size-height-max:var(--c4p-layout-size-height-lg,3rem)}.c4p--layout--size-xl{--c4p-layout-size-height-context:var(--c4p-layout-size-height-xl,4rem);--c4p-layout-size-height:var(--c4p-layout-size-height-context)}.c4p--layout-constraint--size__default-xl{--c4p-layout-size-height:var(--c4p-layout-size-height-context,var(--c4p-layout-size-height-xl,4rem))}.c4p--layout-constraint--size__min-xl{--c4p-layout-size-height-min:var(--c4p-layout-size-height-xl,4rem)}.c4p--layout-constraint--size__max-xl{--c4p-layout-size-height-max:var(--c4p-layout-size-height-xl,4rem)}.c4p--layout--size-2xl{--c4p-layout-size-height-context:var(--c4p-layout-size-height-2xl,5rem);--c4p-layout-size-height:var(--c4p-layout-size-height-context)}.c4p--layout-constraint--size__default-2xl{--c4p-layout-size-height:var(--c4p-layout-size-height-context,var(--c4p-layout-size-height-2xl,5rem))}.c4p--layout-constraint--size__min-2xl{--c4p-layout-size-height-min:var(--c4p-layout-size-height-2xl,5rem)}.c4p--layout-constraint--size__max-2xl{--c4p-layout-size-height-max:var(--c4p-layout-size-height-2xl,5rem)}.c4p--layout--density-condensed{--c4p-layout-density-padding-inline-context:var(--c4p-layout-density-padding-inline-condensed,0.5rem);--c4p-layout-density-padding-inline:var(--c4p-layout-density-padding-inline-context)}.c4p--layout-constraint--density__default-condensed{--c4p-layout-density-padding-inline:var(--c4p-layout-density-padding-inline-context,var(--c4p-layout-density-padding-inline-condensed,0.5rem))}.c4p--layout-constraint--density__min-condensed{--c4p-layout-density-padding-inline-min:var(--c4p-layout-density-padding-inline-condensed,0.5rem)}.c4p--layout-constraint--density__max-condensed{--c4p-layout-density-padding-inline-max:var(--c4p-layout-density-padding-inline-condensed,0.5rem)}.c4p--layout--density-normal{--c4p-layout-density-padding-inline-context:var(--c4p-layout-density-padding-inline-normal,1rem);--c4p-layout-density-padding-inline:var(--c4p-layout-density-padding-inline-context)}.c4p--layout-constraint--density__default-normal{--c4p-layout-density-padding-inline:var(--c4p-layout-density-padding-inline-context,var(--c4p-layout-density-padding-inline-normal,1rem))}.c4p--layout-constraint--density__min-normal{--c4p-layout-density-padding-inline-min:var(--c4p-layout-density-padding-inline-normal,1rem)}.c4p--layout-constraint--density__max-normal{--c4p-layout-density-padding-inline-max:var(--c4p-layout-density-padding-inline-normal,1rem)}:root{--c4p-layout-size-height-xs:1.5rem;--c4p-layout-size-height-sm:2rem;--c4p-layout-size-height-md:2.5rem;--c4p-layout-size-height-lg:3rem;--c4p-layout-size-height-xl:4rem;--c4p-layout-size-height-2xl:5rem;--c4p-layout-size-height-min:0px;--c4p-layout-size-height-max:999999999px;--c4p-layout-density-padding-inline-condensed:0.5rem;--c4p-layout-density-padding-inline-normal:1rem;--c4p-layout-density-padding-inline-min:0px;--c4p-layout-density-padding-inline-max:999999999px}.c4p--assistive-text,.c4p--visually-hidden{block-size:1px;border:0;margin:-1px;overflow:hidden;padding:0;position:absolute;clip:rect(0,0,0,0);inline-size:1px;visibility:inherit;white-space:nowrap}.c4p--empty-state{color:var(--cds-custom-text-primary,#161616);display:flex}.c4p--empty-state .c4p--empty-state__header{font-size:var(--cds-custom-heading-03-font-size,1.25rem);font-weight:var(--cds-custom-heading-03-font-weight,400);letter-spacing:var(--cds-custom-heading-03-letter-spacing,0);line-height:var(--cds-custom-heading-03-line-height,1.4);margin:0;padding-block-end:.5rem}.c4p--empty-state .c4p--empty-state__subtitle{color:var(--cds-custom-text-secondary,#525252);font-size:var(--cds-custom-body-01-font-size,.875rem);font-weight:var(--cds-custom-body-01-font-weight,400);letter-spacing:var(--cds-custom-body-01-letter-spacing,.16px);line-height:var(--cds-custom-body-01-line-height,1.42857);padding-block-end:1rem}.c4p--empty-state .c4p--empty-state__header--small{font-size:var(--cds-custom-body-compact-02-font-size,1rem);font-weight:var(--cds-custom-body-compact-02-font-weight,400);letter-spacing:var(--cds-custom-body-compact-02-letter-spacing,0);line-height:var(--cds-custom-body-compact-02-line-height,1.375);padding-block-end:.5rem}.c4p--empty-state .c4p--empty-state__subtitle--small{font-size:var(--cds-custom-label-01-font-size,.75rem);font-weight:var(--cds-custom-label-01-font-weight,400);letter-spacing:var(--cds-custom-label-01-letter-spacing,.32px);line-height:var(--cds-custom-label-01-line-height,1.33333)}.c4p--empty-state__illustration{block-size:auto;margin-block-end:1rem}.c4p--empty-state__illustration.c4p--empty-state__illustration--lg{max-inline-size:5rem;min-inline-size:5rem}.c4p--empty-state__illustration.c4p--empty-state__illustration--sm{max-inline-size:4rem;min-inline-size:4rem}.c4p--empty-state-position--top{flex-direction:column}.c4p--empty-state-position--right{flex-direction:row-reverse}.c4p--empty-state-position--bottom{flex-direction:column-reverse}.c4p--empty-state-position--left{flex-direction:row}.c4p--empty-state .c4p--empty-state__action-button{display:block;margin-block-end:1rem}.c4p--empty-state .c4p--empty-state__link{display:inline-block}@keyframes notifications-panel-fade-in{0%{opacity:0;transform:translateY(-38.5rem)}to{opacity:1;transform:translateY(0)}}@keyframes notifications-panel-fade-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-38.5rem)}}@keyframes notifications-panel-entrance-reduced{0%{opacity:0}to{opacity:1}}@keyframes notifications-panel-exit-reduced{0%{opacity:1}to{opacity:0}}.c4p--notifications-panel__entrance{animation:notifications-panel-fade-in .24s cubic-bezier(.2,0,.38,.9)}.c4p--notifications-panel__exit{animation:notifications-panel-fade-out .24s cubic-bezier(.2,0,.38,.9) forwards}@media (prefers-reduced-motion){.c4p--notifications-panel__entrance{animation:notifications-panel-entrance-reduced .15s cubic-bezier(.2,0,1,.9) forwards}.c4p--notifications-panel__exit{animation:notifications-panel-exit-reduced .15s cubic-bezier(.2,0,1,.9) forwards}}.c4p--notifications-panel__container{background-color:var(--cds-custom-layer-01,#f4f4f4);border-block-end:1px solid var(--cds-custom-border-subtle-02,#e0e0e0);border-inline-start:1px solid var(--cds-custom-border-subtle-02,#e0e0e0);box-shadow:0 .125rem .25rem var(--cds-custom-overlay,hsla(0,0%,9%,.5));color:var(--cds-custom-text-primary,#161616);inset-block-start:3rem;inset-inline-end:0;max-block-size:38.5rem;max-inline-size:22.75rem;min-block-size:38.5rem;min-inline-size:20rem;overflow:auto;position:fixed;transition:transform .11s cubic-bezier(.2,0,.38,.9);z-index:2}.c4p--notifications-panel__container .c4p--notifications-panel__header-container{background-color:var(--cds-custom-layer-01,#f4f4f4);border-block-end:1px solid var(--cds-custom-border-subtle-01,#c6c6c6);inset-block-start:0;padding:.5rem 1rem;position:sticky;z-index:2}.c4p--notifications-panel__container .c4p--notifications-panel__header-container .c4p--notifications-panel__header-flex{align-items:center;display:flex;justify-content:space-between}.c4p--notifications-panel__container .c4p--notifications-panel__header-container .c4p--notifications-panel__do-not-disturb-toggle{padding-block-end:.5rem}.c4p--notifications-panel__container .c4p--notifications-panel__header-container .c4p--notifications-panel__do-not-disturb-toggle .cds-custom--toggle__label-text{block-size:1px;border:0;margin:-1px;overflow:hidden;padding:0;position:absolute;clip:rect(0,0,0,0);inline-size:1px;visibility:inherit;white-space:nowrap}.c4p--notifications-panel__container .c4p--notifications-panel__header-container .c4p--notifications-panel__dismiss-button{color:var(--cds-custom-text-primary,#161616)}.c4p--notifications-panel__container .c4p--notifications-panel__header-container .c4p--notifications-panel__header{font-size:var(--cds-custom-heading-compact-01-font-size,.875rem);font-weight:var(--cds-custom-heading-compact-01-font-weight,600);letter-spacing:var(--cds-custom-heading-compact-01-letter-spacing,.16px);line-height:var(--cds-custom-heading-compact-01-line-height,1.28572);margin:0}.c4p--notifications-panel__container .c4p--notifications-panel__time-section-label{background-color:var(--cds-custom-layer-01,#f4f4f4);color:var(--cds-custom-text-secondary,#525252);font-size:var(--cds-custom-label-01-font-size,.75rem);font-weight:var(--cds-custom-label-01-font-weight,400);font-weight:600;inset-block-start:3.0625rem;letter-spacing:var(--cds-custom-label-01-letter-spacing,.32px);line-height:var(--cds-custom-label-01-line-height,1.33333);padding:.5rem 1rem;position:sticky;z-index:2}.c4p--notifications-panel__container .c4p--notifications-panel__notification:focus,.c4p--notifications-panel__container .c4p--notifications-panel__notification:hover{background-color:var(--cds-custom-layer-accent-01,#e0e0e0)}.c4p--notifications-panel__container .c4p--notifications-panel__notification:focus .c4p--notifications-panel__dismiss-single-button,.c4p--notifications-panel__container .c4p--notifications-panel__notification:hover .c4p--notifications-panel__dismiss-single-button{opacity:1}.c4p--notifications-panel__container .c4p--notifications-panel__notification:focus{border-color:var(--cds-custom-focus,#0f62fe);box-shadow:inset 0 0 0 2px var(--cds-custom-focus,#0f62fe),inset 0 0 0 2px var(--cds-custom-background,#fff);outline:0}.c4p--notifications-panel__container .c4p--notifications-panel__notification{align-items:flex-start;background-color:var(--cds-custom-layer-01,#f4f4f4);border:0;cursor:pointer;display:flex;inline-size:100%;min-block-size:6.25rem;padding:1rem;position:relative;text-align:start;transition:background-color .24s cubic-bezier(.2,0,.38,.9)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-title{color:var(--cds-custom-text-secondary,#525252);font-size:var(--cds-custom-heading-01-font-size,.875rem);font-weight:var(--cds-custom-heading-01-font-weight,600);font-weight:400;letter-spacing:var(--cds-custom-heading-01-letter-spacing,.16px);line-height:var(--cds-custom-heading-01-line-height,1.42857);margin-block-end:.25rem}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-title.c4p--notifications-panel__notification-title-unread{color:var(--cds-custom-text-secondary,#525252);font-weight:600;margin-block-end:.25rem}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notifications-link{font-size:var(--cds-custom-label-01-font-size,.75rem);font-weight:var(--cds-custom-label-01-font-weight,400);letter-spacing:var(--cds-custom-label-01-letter-spacing,.32px);line-height:var(--cds-custom-label-01-line-height,1.33333)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-status-icon{margin-inline-end:.5rem;min-inline-size:1rem}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-status-icon.c4p--notifications-panel__notification-status-icon-error{fill:var(--cds-custom-support-error,#da1e28)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-status-icon.c4p--notifications-panel__notification-status-icon-success{fill:var(--cds-custom-support-success,#24a148)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-status-icon.c4p--notifications-panel__notification-status-icon-warning{fill:var(--cds-custom-support-warning,#f1c21b)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-status-icon.c4p--notifications-panel__notification-status-icon-informational{fill:var(--cds-custom-support-info,#0043ce)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-time-label{margin-block-end:.5rem}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-description,.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-time-label{color:var(--cds-custom-text-secondary,#525252);font-size:var(--cds-custom-label-01-font-size,.75rem);font-weight:var(--cds-custom-label-01-font-weight,400);letter-spacing:var(--cds-custom-label-01-letter-spacing,.32px);line-height:var(--cds-custom-label-01-line-height,1.33333)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-description.c4p--notifications-panel__notification-short-description{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-description.c4p--notifications-panel__notification-long-description{display:block;overflow:initial;-webkit-line-clamp:initial;line-clamp:none}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-less-button,.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-more-button{align-items:center;display:flex;font-size:var(--cds-custom-label-01-font-size,.75rem);font-weight:var(--cds-custom-label-01-font-weight,400);letter-spacing:var(--cds-custom-label-01-letter-spacing,.32px);line-height:var(--cds-custom-label-01-line-height,1.33333);min-inline-size:5.5rem;padding:0}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-less-button .cds-custom--btn__icon,.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-more-button .cds-custom--btn__icon{transition:transform .24s ease}@media (prefers-reduced-motion:reduce){.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-less-button .cds-custom--btn__icon,.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-more-button .cds-custom--btn__icon{transition:none}}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-less-button.c4p--notifications-panel__notification-read-more-button .cds-custom--btn__icon,.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-more-button.c4p--notifications-panel__notification-read-more-button .cds-custom--btn__icon{transform:rotate(0deg)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-less-button.c4p--notifications-panel__notification-read-less-button .cds-custom--btn__icon,.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__notification-content .c4p--notifications-panel__notification-read-more-button.c4p--notifications-panel__notification-read-less-button .cds-custom--btn__icon{transform:rotate(180deg)}.c4p--notifications-panel__container .c4p--notifications-panel__notification .cds-custom--popover-container{position:static}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__dismiss-single-button{align-items:center;color:var(--cds-custom-text-primary,#161616);display:flex;inset-block-start:0;inset-inline-end:0;justify-content:center;min-inline-size:2rem;opacity:0;padding:0;position:absolute}.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__dismiss-single-button:focus,.c4p--notifications-panel__container .c4p--notifications-panel__notification .c4p--notifications-panel__dismiss-single-button:hover{opacity:1}.c4p--notifications-panel__container .c4p--notifications-panel__notification-previous:not(:first-of-type):before,.c4p--notifications-panel__container .c4p--notifications-panel__notification-today:not(:first-of-type):before,.c4p--notifications-panel__container .c4p--notifications-panel__notification-yesterday:not(:first-of-type):before{background-color:var(--cds-custom-border-subtle-01,#c6c6c6);block-size:1px;content:\"\";inline-size:calc(100% - 2rem);inset-block-start:0;margin:0 auto;position:absolute;transition:background-color .24s cubic-bezier(.2,0,.38,.9)}.c4p--notifications-panel__container .c4p--notifications-panel__notification-previous:hover+.c4p--notifications-panel__notification-previous:not(:first-of-type):before,.c4p--notifications-panel__container .c4p--notifications-panel__notification-today:hover+.c4p--notifications-panel__notification-today:not(:first-of-type):before,.c4p--notifications-panel__container .c4p--notifications-panel__notification-yesterday:hover+.c4p--notifications-panel__notification-yesterday:not(:first-of-type):before{background-color:transparent}.c4p--notifications-panel__container .c4p--notifications-panel__main-section-empty.c4p--notifications-panel__main-section{align-items:center;block-size:100%;display:flex;justify-content:center;margin-block-start:10rem;min-block-size:0}.c4p--notifications-panel__container .c4p--notifications-panel__main-section-empty.c4p--notifications-panel__main-section .c4p-subtext{font-size:var(--cds-custom-body-compact-01-font-size,.875rem);font-weight:var(--cds-custom-body-compact-01-font-weight,400);letter-spacing:var(--cds-custom-body-compact-01-letter-spacing,.16px);line-height:var(--cds-custom-body-compact-01-line-height,1.28572)}.c4p--notifications-panel__container .c4p--notifications-panel__main-section{min-block-size:498px}.c4p--notifications-panel__container .c4p--notifications-panel__bottom-actions{align-items:center;background-color:var(--cds-custom-layer-01,#f4f4f4);block-size:2.5rem;border-block-start:1px solid var(--cds-custom-border-subtle-01,#c6c6c6);display:flex;inset-block-end:0;min-block-size:2.5rem;position:sticky;z-index:2}.c4p--notifications-panel__container .c4p--notifications-panel__bottom-actions .c4p--notifications-panel__view-all-button{align-items:center;block-size:2.5rem;border-inline-end:1px solid var(--cds-custom-border-subtle-01,#c6c6c6);color:var(--cds-custom-text-primary,#161616);display:flex;inline-size:100%;max-inline-size:calc(100% - 2.5rem);min-block-size:2.5rem}.c4p--notifications-panel__container .c4p--notifications-panel__bottom-actions .c4p--notifications-panel__settings-button{align-items:center;block-size:2.5rem;color:var(--cds-custom-text-primary,#161616);display:flex;justify-content:center;min-block-size:2.5rem;min-inline-size:2.5rem;padding:0}.c4p--notifications-panel__container .c4p--notifications-panel__bottom-actions .c4p--notifications-panel__settings-button .cds-custom--btn__icon{margin:0}.c4p--notifications-panel__header-container:has(.c4p--notifications-panel__do-not-disturb-toggle)+.c4p--notifications-panel__main-section .c4p--notifications-panel__time-section-label{inset-block-start:4.8125rem}:host(c4p-notification-footer){display:flex}.c4p--notifications-panel__view-all-button{border-inline-end:1px solid var(--cds-custom-border-subtle-01,#c6c6c6);color:var(--cds-custom-text-primary,#161616);inline-size:100%;max-inline-size:calc(100% - 2.5rem);min-block-size:2.5rem}.c4p--notifications-panel__settings-button,.c4p--notifications-panel__view-all-button{align-items:center;display:flex;--cds-custom-link-primary:$text-primary;--cds-custom-link-primary-hover:$text-primary;--cds-custom-layout-size-height-min:2.5rem;--cds-custom-layout-size-height-sm:2.5rem;--cds-custom-layout-size-height:2.5rem;--cds-custom-layout-size-height-lg:2.5rem;--cds-custom-layout-size-height-max:2.5rem;--cds-custom-layout-size-height-2xl:2.5rem}.c4p--notifications-panel__settings-button{justify-content:center;padding:0}.c4p--notifications-panel__settings-button .cds-custom--btn__icon{margin:0}"]);
|
11
|
+
|
12
|
+
export { styles as default };
|
13
|
+
//# sourceMappingURL=notification-footer.scss.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"notification-footer.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
@@ -0,0 +1,458 @@
|
|
1
|
+
/**
|
2
|
+
* @license
|
3
|
+
*
|
4
|
+
* Copyright IBM Corp. 2023, 2024
|
5
|
+
*
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
8
|
+
*/
|
9
|
+
import { LitElement } from 'lit';
|
10
|
+
import '@carbon/web-components/es-custom/components/button/index.js';
|
11
|
+
import '@carbon/web-components/es-custom/components/toggle/index.js';
|
12
|
+
import '@carbon/web-components/es-custom/components/icon-button/index.js';
|
13
|
+
declare const CDSNotificationPanel_base: {
|
14
|
+
new (...args: any[]): {
|
15
|
+
_handles: Set<import("@carbon/web-components/es/globals/internal/handle").default>;
|
16
|
+
connectedCallback(): void;
|
17
|
+
disconnectedCallback(): void;
|
18
|
+
accessKey: string;
|
19
|
+
readonly accessKeyLabel: string;
|
20
|
+
autocapitalize: string;
|
21
|
+
dir: string;
|
22
|
+
draggable: boolean;
|
23
|
+
hidden: boolean;
|
24
|
+
inert: boolean;
|
25
|
+
innerText: string;
|
26
|
+
lang: string;
|
27
|
+
readonly offsetHeight: number;
|
28
|
+
readonly offsetLeft: number;
|
29
|
+
readonly offsetParent: Element | null;
|
30
|
+
readonly offsetTop: number;
|
31
|
+
readonly offsetWidth: number;
|
32
|
+
outerText: string;
|
33
|
+
popover: string | null;
|
34
|
+
spellcheck: boolean;
|
35
|
+
title: string;
|
36
|
+
translate: boolean;
|
37
|
+
writingSuggestions: string;
|
38
|
+
attachInternals(): ElementInternals;
|
39
|
+
click(): void;
|
40
|
+
hidePopover(): void;
|
41
|
+
showPopover(): void;
|
42
|
+
togglePopover(force?: boolean): boolean;
|
43
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
44
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
45
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
46
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
47
|
+
readonly attributes: NamedNodeMap;
|
48
|
+
readonly classList: DOMTokenList;
|
49
|
+
className: string;
|
50
|
+
readonly clientHeight: number;
|
51
|
+
readonly clientLeft: number;
|
52
|
+
readonly clientTop: number;
|
53
|
+
readonly clientWidth: number;
|
54
|
+
readonly currentCSSZoom: number;
|
55
|
+
id: string;
|
56
|
+
innerHTML: string;
|
57
|
+
readonly localName: string;
|
58
|
+
readonly namespaceURI: string | null;
|
59
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
60
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
61
|
+
outerHTML: string;
|
62
|
+
readonly ownerDocument: Document;
|
63
|
+
readonly part: DOMTokenList;
|
64
|
+
readonly prefix: string | null;
|
65
|
+
readonly scrollHeight: number;
|
66
|
+
scrollLeft: number;
|
67
|
+
scrollTop: number;
|
68
|
+
readonly scrollWidth: number;
|
69
|
+
readonly shadowRoot: ShadowRoot | null;
|
70
|
+
slot: string;
|
71
|
+
readonly tagName: string;
|
72
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
73
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
74
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
75
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
76
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
77
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
78
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
79
|
+
getAttribute(qualifiedName: string): string | null;
|
80
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
81
|
+
getAttributeNames(): string[];
|
82
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
83
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
84
|
+
getBoundingClientRect(): DOMRect;
|
85
|
+
getClientRects(): DOMRectList;
|
86
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
87
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
88
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
89
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
90
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
91
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
92
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
93
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
94
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
95
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
96
|
+
getHTML(options?: GetHTMLOptions): string;
|
97
|
+
hasAttribute(qualifiedName: string): boolean;
|
98
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
99
|
+
hasAttributes(): boolean;
|
100
|
+
hasPointerCapture(pointerId: number): boolean;
|
101
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
102
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
103
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
104
|
+
matches(selectors: string): boolean;
|
105
|
+
releasePointerCapture(pointerId: number): void;
|
106
|
+
removeAttribute(qualifiedName: string): void;
|
107
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
108
|
+
removeAttributeNode(attr: Attr): Attr;
|
109
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
110
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
111
|
+
scroll(options?: ScrollToOptions): void;
|
112
|
+
scroll(x: number, y: number): void;
|
113
|
+
scrollBy(options?: ScrollToOptions): void;
|
114
|
+
scrollBy(x: number, y: number): void;
|
115
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
116
|
+
scrollTo(options?: ScrollToOptions): void;
|
117
|
+
scrollTo(x: number, y: number): void;
|
118
|
+
setAttribute(qualifiedName: string, value: string): void;
|
119
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
120
|
+
setAttributeNode(attr: Attr): Attr | null;
|
121
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
122
|
+
setHTMLUnsafe(html: string): void;
|
123
|
+
setPointerCapture(pointerId: number): void;
|
124
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
125
|
+
webkitMatchesSelector(selectors: string): boolean;
|
126
|
+
readonly baseURI: string;
|
127
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
128
|
+
readonly firstChild: ChildNode | null;
|
129
|
+
readonly isConnected: boolean;
|
130
|
+
readonly lastChild: ChildNode | null;
|
131
|
+
readonly nextSibling: ChildNode | null;
|
132
|
+
readonly nodeName: string;
|
133
|
+
readonly nodeType: number;
|
134
|
+
nodeValue: string | null;
|
135
|
+
readonly parentElement: HTMLElement | null;
|
136
|
+
readonly parentNode: ParentNode | null;
|
137
|
+
readonly previousSibling: ChildNode | null;
|
138
|
+
textContent: string | null;
|
139
|
+
appendChild<T_1 extends Node>(node: T_1): T_1;
|
140
|
+
cloneNode(deep?: boolean): Node;
|
141
|
+
compareDocumentPosition(other: Node): number;
|
142
|
+
contains(other: Node | null): boolean;
|
143
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
144
|
+
hasChildNodes(): boolean;
|
145
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
146
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
147
|
+
isEqualNode(otherNode: Node | null): boolean;
|
148
|
+
isSameNode(otherNode: Node | null): boolean;
|
149
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
150
|
+
lookupPrefix(namespace: string | null): string | null;
|
151
|
+
normalize(): void;
|
152
|
+
removeChild<T_1 extends Node>(child: T_1): T_1;
|
153
|
+
replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
|
154
|
+
readonly ELEMENT_NODE: 1;
|
155
|
+
readonly ATTRIBUTE_NODE: 2;
|
156
|
+
readonly TEXT_NODE: 3;
|
157
|
+
readonly CDATA_SECTION_NODE: 4;
|
158
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
159
|
+
readonly ENTITY_NODE: 6;
|
160
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
161
|
+
readonly COMMENT_NODE: 8;
|
162
|
+
readonly DOCUMENT_NODE: 9;
|
163
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
164
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
165
|
+
readonly NOTATION_NODE: 12;
|
166
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
167
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
168
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
169
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
170
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
171
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
172
|
+
dispatchEvent(event: Event): boolean;
|
173
|
+
ariaAtomic: string | null;
|
174
|
+
ariaAutoComplete: string | null;
|
175
|
+
ariaBrailleLabel: string | null;
|
176
|
+
ariaBrailleRoleDescription: string | null;
|
177
|
+
ariaBusy: string | null;
|
178
|
+
ariaChecked: string | null;
|
179
|
+
ariaColCount: string | null;
|
180
|
+
ariaColIndex: string | null;
|
181
|
+
ariaColIndexText: string | null;
|
182
|
+
ariaColSpan: string | null;
|
183
|
+
ariaCurrent: string | null;
|
184
|
+
ariaDescription: string | null;
|
185
|
+
ariaDisabled: string | null;
|
186
|
+
ariaExpanded: string | null;
|
187
|
+
ariaHasPopup: string | null;
|
188
|
+
ariaHidden: string | null;
|
189
|
+
ariaInvalid: string | null;
|
190
|
+
ariaKeyShortcuts: string | null;
|
191
|
+
ariaLabel: string | null;
|
192
|
+
ariaLevel: string | null;
|
193
|
+
ariaLive: string | null;
|
194
|
+
ariaModal: string | null;
|
195
|
+
ariaMultiLine: string | null;
|
196
|
+
ariaMultiSelectable: string | null;
|
197
|
+
ariaOrientation: string | null;
|
198
|
+
ariaPlaceholder: string | null;
|
199
|
+
ariaPosInSet: string | null;
|
200
|
+
ariaPressed: string | null;
|
201
|
+
ariaReadOnly: string | null;
|
202
|
+
ariaRequired: string | null;
|
203
|
+
ariaRoleDescription: string | null;
|
204
|
+
ariaRowCount: string | null;
|
205
|
+
ariaRowIndex: string | null;
|
206
|
+
ariaRowIndexText: string | null;
|
207
|
+
ariaRowSpan: string | null;
|
208
|
+
ariaSelected: string | null;
|
209
|
+
ariaSetSize: string | null;
|
210
|
+
ariaSort: string | null;
|
211
|
+
ariaValueMax: string | null;
|
212
|
+
ariaValueMin: string | null;
|
213
|
+
ariaValueNow: string | null;
|
214
|
+
ariaValueText: string | null;
|
215
|
+
role: string | null;
|
216
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
217
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
218
|
+
after(...nodes: (Node | string)[]): void;
|
219
|
+
before(...nodes: (Node | string)[]): void;
|
220
|
+
remove(): void;
|
221
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
222
|
+
readonly nextElementSibling: Element | null;
|
223
|
+
readonly previousElementSibling: Element | null;
|
224
|
+
readonly childElementCount: number;
|
225
|
+
readonly children: HTMLCollection;
|
226
|
+
readonly firstElementChild: Element | null;
|
227
|
+
readonly lastElementChild: Element | null;
|
228
|
+
append(...nodes: (Node | string)[]): void;
|
229
|
+
prepend(...nodes: (Node | string)[]): void;
|
230
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
231
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
232
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
233
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
234
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
235
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
236
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
237
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
238
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
239
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
240
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
241
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
242
|
+
readonly attributeStyleMap: StylePropertyMap;
|
243
|
+
readonly style: CSSStyleDeclaration;
|
244
|
+
contentEditable: string;
|
245
|
+
enterKeyHint: string;
|
246
|
+
inputMode: string;
|
247
|
+
readonly isContentEditable: boolean;
|
248
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
249
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
250
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
251
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
252
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
253
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
254
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
255
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
256
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
257
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
258
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
259
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
260
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
261
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
262
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
263
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
264
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
265
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
266
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
267
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
268
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
269
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
270
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
271
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
272
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
273
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
274
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
275
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
276
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
277
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
278
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
279
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
280
|
+
onerror: OnErrorEventHandler;
|
281
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
282
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
283
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
284
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
285
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
286
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
287
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
288
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
289
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
290
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
291
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
292
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
293
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
294
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
295
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
296
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
297
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
298
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
299
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
300
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
301
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
302
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
303
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
304
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
305
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
306
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
307
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
308
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
309
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
310
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
311
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
312
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
313
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
314
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
315
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
316
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
317
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
318
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
319
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
320
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
321
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
322
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
323
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
324
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
325
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
326
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
327
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
328
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
329
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
330
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
331
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
332
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
333
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
334
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
335
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
336
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
337
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
338
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
339
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
340
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
341
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
342
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
343
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
344
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
345
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
346
|
+
autofocus: boolean;
|
347
|
+
readonly dataset: DOMStringMap;
|
348
|
+
nonce?: string;
|
349
|
+
tabIndex: number;
|
350
|
+
blur(): void;
|
351
|
+
focus(options?: FocusOptions): void;
|
352
|
+
};
|
353
|
+
_hostListeners: {
|
354
|
+
[listenerName: string]: {
|
355
|
+
[type: string]: {
|
356
|
+
options?: boolean | AddEventListenerOptions;
|
357
|
+
};
|
358
|
+
};
|
359
|
+
};
|
360
|
+
} & typeof LitElement;
|
361
|
+
/**
|
362
|
+
* NotificationPanel.
|
363
|
+
*
|
364
|
+
* @element c4p-notification-panel
|
365
|
+
* @csspart dialog The dialog.
|
366
|
+
* @slot today - Today Section.
|
367
|
+
* @slot previous - Previous Section.
|
368
|
+
* @slot footer - Footer for the Panel.
|
369
|
+
* @fires c4p-notification-panel-beingclosed - The custom event before notification-panel is closed.
|
370
|
+
* @fires c4p-notification-dismiss-all - The custom event fired after notification-panel is closed upon a user gesture.
|
371
|
+
* @fires c4p-notification-donot-disturb-change - The custom event fired after notification-panel is closed upon a user gesture.
|
372
|
+
* @fires c4p-notification-click-outside - The custom event fired after user clicks outside the panel or Esc key is pressed.
|
373
|
+
*/
|
374
|
+
declare class CDSNotificationPanel extends CDSNotificationPanel_base {
|
375
|
+
/**
|
376
|
+
* Sets the Title for the Notification panel
|
377
|
+
*/
|
378
|
+
titleText: any;
|
379
|
+
/**
|
380
|
+
* Sets the Today text for the Notification panel
|
381
|
+
*/
|
382
|
+
todayText: any;
|
383
|
+
/**
|
384
|
+
* Sets the Previous section title for the Notification panel
|
385
|
+
*/
|
386
|
+
previousText: any;
|
387
|
+
/**
|
388
|
+
* Determines whether the notifications panel should render or not
|
389
|
+
*/
|
390
|
+
open: boolean;
|
391
|
+
/**
|
392
|
+
* Sets the label text for the "Dismiss all" button in the Notification panel
|
393
|
+
*/
|
394
|
+
dismissAllLabel: any;
|
395
|
+
/**
|
396
|
+
* Sets the label text for the "Do Not Disturb" toggle in the Notification panel
|
397
|
+
*/
|
398
|
+
doNotDisturbLabel: any;
|
399
|
+
/**
|
400
|
+
* Reference to the trigger button
|
401
|
+
*/
|
402
|
+
triggerButtonRef?: HTMLElement;
|
403
|
+
/**
|
404
|
+
* The language for each notification's time stamp.
|
405
|
+
* Used with `dateTimeStyle`.
|
406
|
+
*/
|
407
|
+
dateTimeLocale?: string;
|
408
|
+
private _providedLocale;
|
409
|
+
private todaySlot;
|
410
|
+
private previousSlot;
|
411
|
+
private _hasTodayContent;
|
412
|
+
private _hasPreviousContent;
|
413
|
+
_todayElements: Array<HTMLElement>;
|
414
|
+
_previousElements: Array<HTMLElement>;
|
415
|
+
private _mutationObserver?;
|
416
|
+
willUpdate(changedProperties: any): void;
|
417
|
+
firstUpdated(): void;
|
418
|
+
updated(): void;
|
419
|
+
render(): import("lit-html").TemplateResult<1>;
|
420
|
+
disconnectedCallback(): void;
|
421
|
+
private _handleMouseEnter;
|
422
|
+
private _handleMouseLeave;
|
423
|
+
private _markFirstNotification;
|
424
|
+
private _handleSlotChange;
|
425
|
+
private _tryFocusDismissButton;
|
426
|
+
/**
|
427
|
+
* Handles user-initiated dismiss of all notifications.
|
428
|
+
*
|
429
|
+
* @param event The event that triggered the click.
|
430
|
+
*/
|
431
|
+
private _onDismissAllNotifications;
|
432
|
+
private _handleToggle;
|
433
|
+
private _handleKeydown;
|
434
|
+
private _handleClick;
|
435
|
+
/**
|
436
|
+
* A selector selecting tabbable nodes.
|
437
|
+
*/
|
438
|
+
static get selectorTabbable(): string;
|
439
|
+
/**
|
440
|
+
* The name of the custom event fired before this notification-panel is being closed upon a user gesture.
|
441
|
+
* Cancellation of this event stops the user-initiated action of closing this notification-panel.
|
442
|
+
*/
|
443
|
+
static get eventBeforeClose(): string;
|
444
|
+
/**
|
445
|
+
* The name of the custom event fired after this notification-panel is closed upon a user gesture.
|
446
|
+
*/
|
447
|
+
static get eventClickOutside(): string;
|
448
|
+
/**
|
449
|
+
* The name of the custom event fired after this notification-panel is closed upon a user gesture.
|
450
|
+
*/
|
451
|
+
static get eventDismissAll(): string;
|
452
|
+
/**
|
453
|
+
* The name of the custom event fired after this do not disturb button toggled.
|
454
|
+
*/
|
455
|
+
static get eventDonotDisturbChange(): string;
|
456
|
+
static styles: any;
|
457
|
+
}
|
458
|
+
export default CDSNotificationPanel;
|