@usecapsule/core-components 3.8.1 → 3.8.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/capsule/capsule.esm.js +1 -1
- package/dist/capsule/capsule.esm.js.map +1 -1
- package/dist/capsule/{p-c6f02408.entry.js → p-b4250e4d.entry.js} +5 -5
- package/dist/capsule/p-b4250e4d.entry.js.map +1 -0
- package/dist/cjs/capsule.cjs.js +1 -1
- package/dist/cjs/cpsl-alert_34.cjs.entry.js +13 -14
- package/dist/cjs/cpsl-alert_34.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/cpsl-alert/cpsl-alert.js +19 -1
- package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -1
- package/dist/collection/components/cpsl-text/cpsl-text.css +295 -190
- package/dist/collection/components/cpsl-text/cpsl-text.js +10 -12
- package/dist/collection/components/cpsl-text/cpsl-text.js.map +1 -1
- package/dist/esm/capsule.js +1 -1
- package/dist/esm/cpsl-alert_34.entry.js +13 -14
- package/dist/esm/cpsl-alert_34.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/cpsl-alert/cpsl-alert.d.ts +4 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +2 -2
- package/dist/capsule/p-c6f02408.entry.js.map +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
10
10
|
await appGlobals.globalScripts();
|
11
|
-
return index.bootstrapLazy([["cpsl-hero.cjs",[[1,"cpsl-hero",{"height":[2],"hideFadeOut":[4,"hide-fade-out"],"variant":[513],"title":[513],"subtitle":[513],"withDefaultTheme":[4,"with-default-theme"]}]]],["cpsl-modal-v2.cjs",[[1,"cpsl-modal-v2",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"elevated":[4],"noOverlay":[4,"no-overlay"],"open":[4],"zIndexOverride":[2,"z-index-override"]},null,{"open":["toggleHeight"]}]]],["cpsl-nav-button.cjs",[[1,"cpsl-nav-button",{"disabled":[516],"exactMainRouteMatch":[4,"exact-main-route-match"],"exactSubRouteMatch":[4,"exact-sub-route-match"],"route":[1],"subRoutes":[16],"path":[1]}]]],["cpsl-col.cjs",[[1,"cpsl-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]]]],["cpsl-grid.cjs",[[1,"cpsl-grid",{"fixed":[4]}]]],["cpsl-identicon.cjs",[[1,"cpsl-identicon",{"hash":[1],"size":[1],"variant":[1]}]]],["cpsl-info-box.cjs",[[1,"cpsl-info-box"]]],["cpsl-row.cjs",[[1,"cpsl-row"]]],["cpsl-alert_34.cjs",[[1,"cpsl-pagination",{"initialPage":[2,"initial-page"],"totalPages":[2,"total-pages"],"visiblePages":[1026,"visible-pages"],"currentPage":[32]},null,{"currentPage":["watchChange"]}],[1,"cpsl-select",{"anchorElId":[1,"anchor-el-id"],"autoWidth":[4,"auto-width"],"disabled":[4],"dropdownMaxHeight":[2,"dropdown-max-height"],"errorText":[1,"error-text"],"formatValue":[16],"helperText":[1,"helper-text"],"id":[1],"icon":[1],"label":[1],"noIconAnimation":[4,"no-icon-animation"],"placeholder":[1],"required":[4],"selectedValue":[1,"selected-value"],"showFormattedSelectedItem":[4,"show-formatted-selected-item"],"showOptionalLabel":[4,"show-optional-label"],"showSearch":[4,"show-search"],"searchPlaceholder":[1,"search-placeholder"],"anchorEl":[32],"hasFocus":[32],"popoverOpen":[32],"hasSelectedItem":[32]},[[0,"cpslSelectItemClick","selectItemClickHandler"],[0,"cpslOpen","onPopoverOpen"],[0,"cpslClose","onPopoverClose"]],{"selectedValue":["onValueChange","handleValueChange"]}],[1,"cpsl-file-upload",{"disabled":[516],"errorText":[1,"error-text"],"externalFilename":[1,"external-filename"],"externalSrc":[1,"external-src"],"fileTypes":[16],"helperText":[1,"helper-text"],"label":[1],"required":[4],"showOptionalLabel":[4,"show-optional-label"],"uploadFile":[16],"file":[32],"dragOver":[32],"dragError":[32],"isUploading":[32],"uploadError":[32]}],[1,"cpsl-auth-modal",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"noOverlay":[4,"no-overlay"],"open":[4],"zIndexOverride":[2,"z-index-override"],"hasFooter":[32],"isMobile":[32]},null,{"open":["toggleModal"]}],[1,"cpsl-alert",{"icon":[1],"variant":[1],"filled":[4]}],[1,"cpsl-checkbox",{"checked":[4]}],[1,"cpsl-code-input",{"code":[1025],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"length":[2],"type":[1]}],[1,"cpsl-drawer",{"anchor":[1],"anchorPosition":[2,"anchor-position"],"noOverlay":[4,"no-overlay"],"open":[4],"size":[8],"transitionDuration":[2,"transition-duration"],"transitionFunction":[1,"transition-function"],"variant":[1],"zIndexOverride":[2,"z-index-override"],"closedAnchorPosition":[32],"showTransition":[32]}],[1,"cpsl-icon-group",{"expandFrom":[1,"expand-from"],"disabled":[4],"icons":[16],"isHovered":[32]}],[1,"cpsl-slide-button",{"disabled":[4],"endIcon":[1,"end-icon"],"endText":[1,"end-text"],"startIcon":[1,"start-icon"],"startText":[1,"start-text"]}],[1,"cpsl-table",{"hasHorizontalScroll":[32],"hasVerticalScroll":[32]}],[1,"cpsl-tile-button",{"src":[1],"icon":[1]}],[1,"cpsl-app-bar",{"height":[2],"position":[1],"zIndexOverride":[2,"z-index-override"]}],[1,"cpsl-avatar",{"alt":[1],"src":[1],"variant":[1]}],[1,"cpsl-divider"],[1,"cpsl-dropdown",{"width":[1],"hasCpslSearch":[4,"has-cpsl-search"],"items":[16],"selectedItem":[1040],"isOpen":[32],"searchQuery":[32],"filteredItems":[32]},[[9,"resize","handleResize"]],{"selectedItem":["handleSelectedItemChange"],"isOpen":["handleOpenChange"]}],[1,"cpsl-nav-button-group"],[1,"cpsl-pill",{"text":[1]}],[1,"cpsl-progress-indicator",{"totalSteps":[2,"total-steps"],"step":[2]}],[1,"cpsl-qr-code",{"url":[1],"imageSrc":[1,"image-src"],"size":[2]}],[1,"cpsl-radio",{"checked":[4]}],[1,"cpsl-select-item",{"selected":[4],"value":[1]}],[1,"cpsl-switch",{"checked":[4]}],[1,"cpsl-tab",{"selected":[4],"tab":[1]},[[8,"cpslTabsChanged","onTabsChanged"],[8,"cpslTabsInit","onTabsInit"]]],[1,"cpsl-tabs",{"fullWidth":[4,"full-width"],"selectedTab":[1,"selected-tab"],"selectedTabRect":[32],"loaded":[32]},[[8,"cpslTabButtonSizeChange","onTabSizeChange"]],{"fullWidth":["updateSlider"],"selectedTab":["updateTab"]}],[1,"cpsl-button-group",{"selectedId":[1,"selected-id"]},null,{"selectedId":["selectItem"]}],[1,"cpsl-input",{"as":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"noAutoDisable":[4,"no-auto-disable"],"autofocus":[4],"autoselect":[4],"disabled":[4],"contrastText":[4,"contrast-text"],"enterkeyhint":[1],"errorText":[1,"error-text"],"mask":[1],"helperText":[1,"helper-text"],"inputmode":[1],"label":[1],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"rows":[2],"showOptionalLabel":[4,"show-optional-label"],"spellcheck":[4],"startIconSrc":[1,"start-icon-src"],"startIcon":[1,"start-icon"],"step":[1],"type":[1],"value":[1025],"hasFocus":[32]},null,{"disabled":["handleDisable"],"mask":["handleSetupMask"],"value":["handleValueChange"]}],[1,"cpsl-popover",{"anchorEl":[16],"anchorOriginHorizontal":[1,"anchor-origin-horizontal"],"anchorOriginVertical":[1,"anchor-origin-vertical"],"autoWidth":[4,"auto-width"],"disabled":[4],"preventBlur":[4,"prevent-blur"],"transformOriginHorizontal":[1,"transform-origin-horizontal"],"transformOriginVertical":[1,"transform-origin-vertical"],"triggerAction":[1,"trigger-action"],"trigger":[1],"windowPadding":[2,"window-padding"],"open":[32],"positionX":[32],"positionY":[32],"closePopover":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"preventBlur":["onTriggerChange"],"anchorOriginHorizontal":["onAnchorChange"],"anchorOriginVertical":["onAnchorChange"],"open":["onOpenChange"]}],[1,"cpsl-spinner",{"size":[2],"speed":[2]}],[1,"cpsl-button",{"as":[1],"disabled":[516],"fullWidth":[4,"full-width"],"href":[1],"size":[1],"target":[1],"variant":[513]}],[1,"cpsl-card"],[1,"cpsl-overlay",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"open":[4],"zIndexOverride":[2,"z-index-override"]},null,{"open":["toggleHeight"]}],[1,"cpsl-text",{"color":[1],"variant":[1],"weight":[1]}],[1,"cpsl-icon",{"src":[1],"icon":[1]}]]]], options);
|
11
|
+
return index.bootstrapLazy([["cpsl-hero.cjs",[[1,"cpsl-hero",{"height":[2],"hideFadeOut":[4,"hide-fade-out"],"variant":[513],"title":[513],"subtitle":[513],"withDefaultTheme":[4,"with-default-theme"]}]]],["cpsl-modal-v2.cjs",[[1,"cpsl-modal-v2",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"elevated":[4],"noOverlay":[4,"no-overlay"],"open":[4],"zIndexOverride":[2,"z-index-override"]},null,{"open":["toggleHeight"]}]]],["cpsl-nav-button.cjs",[[1,"cpsl-nav-button",{"disabled":[516],"exactMainRouteMatch":[4,"exact-main-route-match"],"exactSubRouteMatch":[4,"exact-sub-route-match"],"route":[1],"subRoutes":[16],"path":[1]}]]],["cpsl-col.cjs",[[1,"cpsl-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]]]],["cpsl-grid.cjs",[[1,"cpsl-grid",{"fixed":[4]}]]],["cpsl-identicon.cjs",[[1,"cpsl-identicon",{"hash":[1],"size":[1],"variant":[1]}]]],["cpsl-info-box.cjs",[[1,"cpsl-info-box"]]],["cpsl-row.cjs",[[1,"cpsl-row"]]],["cpsl-alert_34.cjs",[[1,"cpsl-pagination",{"initialPage":[2,"initial-page"],"totalPages":[2,"total-pages"],"visiblePages":[1026,"visible-pages"],"currentPage":[32]},null,{"currentPage":["watchChange"]}],[1,"cpsl-select",{"anchorElId":[1,"anchor-el-id"],"autoWidth":[4,"auto-width"],"disabled":[4],"dropdownMaxHeight":[2,"dropdown-max-height"],"errorText":[1,"error-text"],"formatValue":[16],"helperText":[1,"helper-text"],"id":[1],"icon":[1],"label":[1],"noIconAnimation":[4,"no-icon-animation"],"placeholder":[1],"required":[4],"selectedValue":[1,"selected-value"],"showFormattedSelectedItem":[4,"show-formatted-selected-item"],"showOptionalLabel":[4,"show-optional-label"],"showSearch":[4,"show-search"],"searchPlaceholder":[1,"search-placeholder"],"anchorEl":[32],"hasFocus":[32],"popoverOpen":[32],"hasSelectedItem":[32]},[[0,"cpslSelectItemClick","selectItemClickHandler"],[0,"cpslOpen","onPopoverOpen"],[0,"cpslClose","onPopoverClose"]],{"selectedValue":["onValueChange","handleValueChange"]}],[1,"cpsl-file-upload",{"disabled":[516],"errorText":[1,"error-text"],"externalFilename":[1,"external-filename"],"externalSrc":[1,"external-src"],"fileTypes":[16],"helperText":[1,"helper-text"],"label":[1],"required":[4],"showOptionalLabel":[4,"show-optional-label"],"uploadFile":[16],"file":[32],"dragOver":[32],"dragError":[32],"isUploading":[32],"uploadError":[32]}],[1,"cpsl-auth-modal",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"noOverlay":[4,"no-overlay"],"open":[4],"zIndexOverride":[2,"z-index-override"],"hasFooter":[32],"isMobile":[32]},null,{"open":["toggleModal"]}],[1,"cpsl-alert",{"icon":[1],"noIcon":[4,"no-icon"],"variant":[1],"filled":[4]}],[1,"cpsl-checkbox",{"checked":[4]}],[1,"cpsl-code-input",{"code":[1025],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"length":[2],"type":[1]}],[1,"cpsl-drawer",{"anchor":[1],"anchorPosition":[2,"anchor-position"],"noOverlay":[4,"no-overlay"],"open":[4],"size":[8],"transitionDuration":[2,"transition-duration"],"transitionFunction":[1,"transition-function"],"variant":[1],"zIndexOverride":[2,"z-index-override"],"closedAnchorPosition":[32],"showTransition":[32]}],[1,"cpsl-icon-group",{"expandFrom":[1,"expand-from"],"disabled":[4],"icons":[16],"isHovered":[32]}],[1,"cpsl-slide-button",{"disabled":[4],"endIcon":[1,"end-icon"],"endText":[1,"end-text"],"startIcon":[1,"start-icon"],"startText":[1,"start-text"]}],[1,"cpsl-table",{"hasHorizontalScroll":[32],"hasVerticalScroll":[32]}],[1,"cpsl-tile-button",{"src":[1],"icon":[1]}],[1,"cpsl-app-bar",{"height":[2],"position":[1],"zIndexOverride":[2,"z-index-override"]}],[1,"cpsl-avatar",{"alt":[1],"src":[1],"variant":[1]}],[1,"cpsl-divider"],[1,"cpsl-dropdown",{"width":[1],"hasCpslSearch":[4,"has-cpsl-search"],"items":[16],"selectedItem":[1040],"isOpen":[32],"searchQuery":[32],"filteredItems":[32]},[[9,"resize","handleResize"]],{"selectedItem":["handleSelectedItemChange"],"isOpen":["handleOpenChange"]}],[1,"cpsl-nav-button-group"],[1,"cpsl-pill",{"text":[1]}],[1,"cpsl-progress-indicator",{"totalSteps":[2,"total-steps"],"step":[2]}],[1,"cpsl-qr-code",{"url":[1],"imageSrc":[1,"image-src"],"size":[2]}],[1,"cpsl-radio",{"checked":[4]}],[1,"cpsl-select-item",{"selected":[4],"value":[1]}],[1,"cpsl-switch",{"checked":[4]}],[1,"cpsl-tab",{"selected":[4],"tab":[1]},[[8,"cpslTabsChanged","onTabsChanged"],[8,"cpslTabsInit","onTabsInit"]]],[1,"cpsl-tabs",{"fullWidth":[4,"full-width"],"selectedTab":[1,"selected-tab"],"selectedTabRect":[32],"loaded":[32]},[[8,"cpslTabButtonSizeChange","onTabSizeChange"]],{"fullWidth":["updateSlider"],"selectedTab":["updateTab"]}],[1,"cpsl-button-group",{"selectedId":[1,"selected-id"]},null,{"selectedId":["selectItem"]}],[1,"cpsl-input",{"as":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"noAutoDisable":[4,"no-auto-disable"],"autofocus":[4],"autoselect":[4],"disabled":[4],"contrastText":[4,"contrast-text"],"enterkeyhint":[1],"errorText":[1,"error-text"],"mask":[1],"helperText":[1,"helper-text"],"inputmode":[1],"label":[1],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"rows":[2],"showOptionalLabel":[4,"show-optional-label"],"spellcheck":[4],"startIconSrc":[1,"start-icon-src"],"startIcon":[1,"start-icon"],"step":[1],"type":[1],"value":[1025],"hasFocus":[32]},null,{"disabled":["handleDisable"],"mask":["handleSetupMask"],"value":["handleValueChange"]}],[1,"cpsl-popover",{"anchorEl":[16],"anchorOriginHorizontal":[1,"anchor-origin-horizontal"],"anchorOriginVertical":[1,"anchor-origin-vertical"],"autoWidth":[4,"auto-width"],"disabled":[4],"preventBlur":[4,"prevent-blur"],"transformOriginHorizontal":[1,"transform-origin-horizontal"],"transformOriginVertical":[1,"transform-origin-vertical"],"triggerAction":[1,"trigger-action"],"trigger":[1],"windowPadding":[2,"window-padding"],"open":[32],"positionX":[32],"positionY":[32],"closePopover":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"preventBlur":["onTriggerChange"],"anchorOriginHorizontal":["onAnchorChange"],"anchorOriginVertical":["onAnchorChange"],"open":["onOpenChange"]}],[1,"cpsl-spinner",{"size":[2],"speed":[2]}],[1,"cpsl-button",{"as":[1],"disabled":[516],"fullWidth":[4,"full-width"],"href":[1],"size":[1],"target":[1],"variant":[513]}],[1,"cpsl-card"],[1,"cpsl-overlay",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"open":[4],"zIndexOverride":[2,"z-index-override"]},null,{"open":["toggleHeight"]}],[1,"cpsl-text",{"color":[1],"variant":[1],"weight":[1]}],[1,"cpsl-icon",{"src":[1],"icon":[1]}]]]], options);
|
12
12
|
};
|
13
13
|
|
14
14
|
exports.setNonce = index.setNonce;
|
@@ -2,6 +2,7 @@ import { Host, h } from "@stencil/core";
|
|
2
2
|
export class CpslAlert {
|
3
3
|
constructor() {
|
4
4
|
this.icon = undefined;
|
5
|
+
this.noIcon = undefined;
|
5
6
|
this.variant = 'error';
|
6
7
|
this.filled = undefined;
|
7
8
|
}
|
@@ -26,7 +27,7 @@ export class CpslAlert {
|
|
26
27
|
}
|
27
28
|
}
|
28
29
|
render() {
|
29
|
-
return (h(Host, { key: '
|
30
|
+
return (h(Host, { key: '2561ee222d31a9b4a646c9c6a1dc2d31aa1f73a6', class: { error: this.variant === 'error', warning: this.variant === 'warning', success: this.variant === 'success', filled: this.filled } }, h("div", { key: '957521833f1a3e18ba6fdea250fbd8c4f3b0bd1a', class: "alert-container" }, h("div", { key: '2acbd6d3c831cd9f48abf6d8f28ffc2128481b5f', class: "title-container" }, !this.noIcon && this.iconType && h("cpsl-icon", { key: '8d09ab4dbc6490e4168d0b4313f8a82f0ed6fa1b', icon: this.iconType }), h("slot", { key: '9d081a5373c75d4e8795365137719890b0718732' })), h("slot", { key: '209565a0b76f197dbdc38666894e45ed1f854ed6', name: "subtitle" }))));
|
30
31
|
}
|
31
32
|
static get is() { return "cpsl-alert"; }
|
32
33
|
static get encapsulation() { return "shadow"; }
|
@@ -65,6 +66,23 @@ export class CpslAlert {
|
|
65
66
|
"attribute": "icon",
|
66
67
|
"reflect": false
|
67
68
|
},
|
69
|
+
"noIcon": {
|
70
|
+
"type": "boolean",
|
71
|
+
"mutable": false,
|
72
|
+
"complexType": {
|
73
|
+
"original": "boolean",
|
74
|
+
"resolved": "boolean",
|
75
|
+
"references": {}
|
76
|
+
},
|
77
|
+
"required": false,
|
78
|
+
"optional": true,
|
79
|
+
"docs": {
|
80
|
+
"tags": [],
|
81
|
+
"text": "Hides the icon."
|
82
|
+
},
|
83
|
+
"attribute": "no-icon",
|
84
|
+
"reflect": false
|
85
|
+
},
|
68
86
|
"variant": {
|
69
87
|
"type": "string",
|
70
88
|
"mutable": false,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cpsl-alert.js","sourceRoot":"","sources":["../../../../src/components/cpsl-alert/cpsl-alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQzD,MAAM,OAAO,SAAS
|
1
|
+
{"version":3,"file":"cpsl-alert.js","sourceRoot":"","sources":["../../../../src/components/cpsl-alert/cpsl-alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQzD,MAAM,OAAO,SAAS;;;;uBAgB2C,OAAO;;;IAOtE,IAAY,QAAQ;QAClB,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;YACd,OAAO,IAAI,CAAC,IAAI,CAAC;QACnB,CAAC;QAED,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;YACrB,KAAK,QAAQ,CAAC,CAAC,CAAC;gBACd,OAAO,SAAS,CAAC;YACnB,CAAC;YACD,KAAK,SAAS,CAAC,CAAC,CAAC;gBACf,OAAO,aAAa,CAAC;YACvB,CAAC;YACD,KAAK,SAAS,CAAC,CAAC,CAAC;gBACf,OAAO,aAAa,CAAC;YACvB,CAAC;YACD,KAAK,OAAO,CAAC;YACb,OAAO,CAAC,CAAC,CAAC;gBACR,OAAO,aAAa,CAAC;YACvB,CAAC;QACH,CAAC;IACH,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,OAAO,KAAK,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE;YAC7I,4DAAK,KAAK,EAAC,iBAAiB;gBAC1B,4DAAK,KAAK,EAAC,iBAAiB;oBACzB,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,QAAQ,IAAI,kEAAW,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAI;oBACpE,8DAAa,CACT;gBACN,6DAAM,IAAI,EAAC,UAAU,GAAQ,CACzB,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, h } from '@stencil/core';\nimport { IconType } from '../../interface';\n\n@Component({\n tag: 'cpsl-alert',\n styleUrl: 'cpsl-alert.scss',\n shadow: true,\n})\nexport class CpslAlert {\n /**\n * The name of the icon to show.\n */\n @Prop() icon?: IconType;\n\n /**\n * Hides the icon.\n */\n @Prop() noIcon?: boolean;\n\n /**\n * The variant of alert.\n * Options are: `\"error\"` | `\"warning\"` | `\"success\"` | `\"custom\"`\n * Default is: `\"error\"`.\n */\n @Prop() variant?: 'error' | 'warning' | 'success' | 'custom' = 'error';\n\n /**\n * Whether to show the alert with a filled background based on the variant\n */\n @Prop() filled?: boolean;\n\n private get iconType(): IconType | undefined {\n if (this.icon) {\n return this.icon;\n }\n\n switch (this.variant) {\n case 'custom': {\n return undefined;\n }\n case 'success': {\n return 'checkCircle';\n }\n case 'warning': {\n return 'alertCircle';\n }\n case 'error':\n default: {\n return 'alertCircle';\n }\n }\n }\n\n render() {\n return (\n <Host class={{ error: this.variant === 'error', warning: this.variant === 'warning', success: this.variant === 'success', filled: this.filled }}>\n <div class=\"alert-container\">\n <div class=\"title-container\">\n {!this.noIcon && this.iconType && <cpsl-icon icon={this.iconType} />}\n <slot></slot>\n </div>\n <slot name=\"subtitle\"></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
|
@@ -55,15 +55,6 @@
|
|
55
55
|
*/
|
56
56
|
:host {
|
57
57
|
display: block;
|
58
|
-
}
|
59
|
-
|
60
|
-
:host p,
|
61
|
-
h1,
|
62
|
-
h2,
|
63
|
-
h3,
|
64
|
-
h4,
|
65
|
-
h5,
|
66
|
-
h6 {
|
67
58
|
font-family: var(--cpsl-font-family, inherit);
|
68
59
|
padding: 0px;
|
69
60
|
margin: 0px;
|
@@ -71,238 +62,352 @@ h6 {
|
|
71
62
|
-moz-osx-font-smoothing: grayscale;
|
72
63
|
font-smooth: never;
|
73
64
|
}
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
h3::-moz-selection,
|
78
|
-
h4::-moz-selection,
|
79
|
-
h5::-moz-selection,
|
80
|
-
h6::-moz-selection {
|
81
|
-
/* Code for Firefox */
|
82
|
-
color: var(--cpsl-color-text-inverted) !important;
|
83
|
-
background: var(--cpsl-color-background-64) !important;
|
84
|
-
}
|
85
|
-
:host p::selection,
|
86
|
-
h1::selection,
|
87
|
-
h2::selection,
|
88
|
-
h3::selection,
|
89
|
-
h4::selection,
|
90
|
-
h5::selection,
|
91
|
-
h6::selection {
|
92
|
-
color: var(--cpsl-color-text-inverted) !important;
|
93
|
-
background: var(--cpsl-color-background-64) !important;
|
65
|
+
|
66
|
+
:host(.primary) {
|
67
|
+
color: var(--color-override, var(--cpsl-color-text-primary));
|
94
68
|
}
|
95
|
-
:host p
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
69
|
+
:host(.primary) > p,
|
70
|
+
:host(.primary) h1,
|
71
|
+
:host(.primary) h2,
|
72
|
+
:host(.primary) h3,
|
73
|
+
:host(.primary) h4,
|
74
|
+
:host(.primary) h5,
|
75
|
+
:host(.primary) h6 {
|
102
76
|
color: var(--color-override, var(--cpsl-color-text-primary));
|
103
77
|
}
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
78
|
+
|
79
|
+
:host(.secondary) {
|
80
|
+
color: var(--color-override, var(--cpsl-color-text-secondary));
|
81
|
+
}
|
82
|
+
:host(.secondary) > p,
|
83
|
+
:host(.secondary) h1,
|
84
|
+
:host(.secondary) h2,
|
85
|
+
:host(.secondary) h3,
|
86
|
+
:host(.secondary) h4,
|
87
|
+
:host(.secondary) h5,
|
88
|
+
:host(.secondary) h6 {
|
111
89
|
color: var(--color-override, var(--cpsl-color-text-secondary));
|
112
90
|
}
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
91
|
+
|
92
|
+
:host(.tertiary) {
|
93
|
+
color: var(--color-override, var(--cpsl-color-text-tertiary));
|
94
|
+
}
|
95
|
+
:host(.tertiary) > p,
|
96
|
+
:host(.tertiary) h1,
|
97
|
+
:host(.tertiary) h2,
|
98
|
+
:host(.tertiary) h3,
|
99
|
+
:host(.tertiary) h4,
|
100
|
+
:host(.tertiary) h5,
|
101
|
+
:host(.tertiary) h6 {
|
120
102
|
color: var(--color-override, var(--cpsl-color-text-tertiary));
|
121
103
|
}
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
104
|
+
|
105
|
+
:host(.subtle) {
|
106
|
+
color: var(--color-override, var(--cpsl-color-text-subtle));
|
107
|
+
}
|
108
|
+
:host(.subtle) > p,
|
109
|
+
:host(.subtle) h1,
|
110
|
+
:host(.subtle) h2,
|
111
|
+
:host(.subtle) h3,
|
112
|
+
:host(.subtle) h4,
|
113
|
+
:host(.subtle) h5,
|
114
|
+
:host(.subtle) h6 {
|
129
115
|
color: var(--color-override, var(--cpsl-color-text-subtle));
|
130
116
|
}
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
117
|
+
|
118
|
+
:host(.inverted) {
|
119
|
+
color: var(--color-override, var(--cpsl-color-text-inverted));
|
120
|
+
}
|
121
|
+
:host(.inverted) > p,
|
122
|
+
:host(.inverted) h1,
|
123
|
+
:host(.inverted) h2,
|
124
|
+
:host(.inverted) h3,
|
125
|
+
:host(.inverted) h4,
|
126
|
+
:host(.inverted) h5,
|
127
|
+
:host(.inverted) h6 {
|
138
128
|
color: var(--color-override, var(--cpsl-color-text-inverted));
|
139
129
|
}
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
130
|
+
|
131
|
+
:host(.error) {
|
132
|
+
color: var(--color-override, var(--cpsl-color-text-error));
|
133
|
+
}
|
134
|
+
:host(.error) > p,
|
135
|
+
:host(.error) h1,
|
136
|
+
:host(.error) h2,
|
137
|
+
:host(.error) h3,
|
138
|
+
:host(.error) h4,
|
139
|
+
:host(.error) h5,
|
140
|
+
:host(.error) h6 {
|
147
141
|
color: var(--color-override, var(--cpsl-color-text-error));
|
148
142
|
}
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
143
|
+
|
144
|
+
:host(.contrast) {
|
145
|
+
color: var(--color-override, var(--cpsl-color-text-contrast));
|
146
|
+
}
|
147
|
+
:host(.contrast) > p,
|
148
|
+
:host(.contrast) h1,
|
149
|
+
:host(.contrast) h2,
|
150
|
+
:host(.contrast) h3,
|
151
|
+
:host(.contrast) h4,
|
152
|
+
:host(.contrast) h5,
|
153
|
+
:host(.contrast) h6 {
|
156
154
|
color: var(--color-override, var(--cpsl-color-text-contrast));
|
157
155
|
}
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
156
|
+
|
157
|
+
:host(.regular) {
|
158
|
+
font-weight: 400;
|
159
|
+
}
|
160
|
+
:host(.regular) > p,
|
161
|
+
:host(.regular) h1,
|
162
|
+
:host(.regular) h2,
|
163
|
+
:host(.regular) h3,
|
164
|
+
:host(.regular) h4,
|
165
|
+
:host(.regular) h5,
|
166
|
+
:host(.regular) h6 {
|
165
167
|
font-weight: 400;
|
166
168
|
}
|
167
|
-
|
168
|
-
|
169
|
-
h2.medium,
|
170
|
-
h3.medium,
|
171
|
-
h4.medium,
|
172
|
-
h5.medium,
|
173
|
-
h6.medium {
|
169
|
+
|
170
|
+
:host(.medium) {
|
174
171
|
font-weight: 500;
|
175
172
|
}
|
176
|
-
:host p
|
177
|
-
h1
|
178
|
-
h2
|
179
|
-
h3
|
180
|
-
h4
|
181
|
-
h5
|
182
|
-
|
173
|
+
:host(.medium) > p,
|
174
|
+
:host(.medium) h1,
|
175
|
+
:host(.medium) h2,
|
176
|
+
:host(.medium) h3,
|
177
|
+
:host(.medium) h4,
|
178
|
+
:host(.medium) h5,
|
179
|
+
:host(.medium) h6 {
|
180
|
+
font-weight: 500;
|
181
|
+
}
|
182
|
+
|
183
|
+
:host(.semi-bold) {
|
184
|
+
font-weight: 600;
|
185
|
+
}
|
186
|
+
:host(.semi-bold) > p,
|
187
|
+
:host(.semi-bold) h1,
|
188
|
+
:host(.semi-bold) h2,
|
189
|
+
:host(.semi-bold) h3,
|
190
|
+
:host(.semi-bold) h4,
|
191
|
+
:host(.semi-bold) h5,
|
192
|
+
:host(.semi-bold) h6 {
|
183
193
|
font-weight: 600;
|
184
194
|
}
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
195
|
+
|
196
|
+
:host(.bold) {
|
197
|
+
font-weight: 700;
|
198
|
+
}
|
199
|
+
:host(.bold) > p,
|
200
|
+
:host(.bold) h1,
|
201
|
+
:host(.bold) h2,
|
202
|
+
:host(.bold) h3,
|
203
|
+
:host(.bold) h4,
|
204
|
+
:host(.bold) h5,
|
205
|
+
:host(.bold) h6 {
|
192
206
|
font-weight: 700;
|
193
207
|
}
|
194
|
-
|
195
|
-
|
196
|
-
h2.body-2xs,
|
197
|
-
h3.body-2xs,
|
198
|
-
h4.body-2xs,
|
199
|
-
h5.body-2xs,
|
200
|
-
h6.body-2xs {
|
208
|
+
|
209
|
+
:host(.body-2xs) {
|
201
210
|
font-size: var(--cpsl-font-size-body-2xs);
|
202
211
|
}
|
203
|
-
:host
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
212
|
+
:host(.body-2xs) > p,
|
213
|
+
:host(.body-2xs) h1,
|
214
|
+
:host(.body-2xs) h2,
|
215
|
+
:host(.body-2xs) h3,
|
216
|
+
:host(.body-2xs) h4,
|
217
|
+
:host(.body-2xs) h5,
|
218
|
+
:host(.body-2xs) h6 {
|
219
|
+
font-size: var(--cpsl-font-size-body-2xs);
|
220
|
+
}
|
221
|
+
|
222
|
+
:host(.body-xs) {
|
223
|
+
font-size: var(--cpsl-font-size-body-xs);
|
224
|
+
}
|
225
|
+
:host(.body-xs) > p,
|
226
|
+
:host(.body-xs) h1,
|
227
|
+
:host(.body-xs) h2,
|
228
|
+
:host(.body-xs) h3,
|
229
|
+
:host(.body-xs) h4,
|
230
|
+
:host(.body-xs) h5,
|
231
|
+
:host(.body-xs) h6 {
|
210
232
|
font-size: var(--cpsl-font-size-body-xs);
|
211
233
|
}
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
234
|
+
|
235
|
+
:host(.body-s) {
|
236
|
+
font-size: var(--cpsl-font-size-body-s);
|
237
|
+
line-height: 142.857%;
|
238
|
+
}
|
239
|
+
:host(.body-s) > p,
|
240
|
+
:host(.body-s) h1,
|
241
|
+
:host(.body-s) h2,
|
242
|
+
:host(.body-s) h3,
|
243
|
+
:host(.body-s) h4,
|
244
|
+
:host(.body-s) h5,
|
245
|
+
:host(.body-s) h6 {
|
219
246
|
font-size: var(--cpsl-font-size-body-s);
|
220
247
|
line-height: 142.857%;
|
221
248
|
}
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
249
|
+
|
250
|
+
:host(.body-m) {
|
251
|
+
font-size: var(--cpsl-font-size-body-m);
|
252
|
+
line-height: 150%;
|
253
|
+
}
|
254
|
+
:host(.body-m) > p,
|
255
|
+
:host(.body-m) h1,
|
256
|
+
:host(.body-m) h2,
|
257
|
+
:host(.body-m) h3,
|
258
|
+
:host(.body-m) h4,
|
259
|
+
:host(.body-m) h5,
|
260
|
+
:host(.body-m) h6 {
|
229
261
|
font-size: var(--cpsl-font-size-body-m);
|
230
262
|
line-height: 150%;
|
231
263
|
}
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
264
|
+
|
265
|
+
:host(.body-l) {
|
266
|
+
font-size: var(--cpsl-font-size-body-l);
|
267
|
+
line-height: 140%;
|
268
|
+
}
|
269
|
+
:host(.body-l) > p,
|
270
|
+
:host(.body-l) h1,
|
271
|
+
:host(.body-l) h2,
|
272
|
+
:host(.body-l) h3,
|
273
|
+
:host(.body-l) h4,
|
274
|
+
:host(.body-l) h5,
|
275
|
+
:host(.body-l) h6 {
|
239
276
|
font-size: var(--cpsl-font-size-body-l);
|
240
277
|
line-height: 140%;
|
241
278
|
}
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
279
|
+
|
280
|
+
:host(.body-xl) {
|
281
|
+
font-size: var(--cpsl-font-size-body-xl);
|
282
|
+
}
|
283
|
+
:host(.body-xl) > p,
|
284
|
+
:host(.body-xl) h1,
|
285
|
+
:host(.body-xl) h2,
|
286
|
+
:host(.body-xl) h3,
|
287
|
+
:host(.body-xl) h4,
|
288
|
+
:host(.body-xl) h5,
|
289
|
+
:host(.body-xl) h6 {
|
249
290
|
font-size: var(--cpsl-font-size-body-xl);
|
250
291
|
}
|
251
|
-
|
252
|
-
|
253
|
-
h2.heading-xs,
|
254
|
-
h3.heading-xs,
|
255
|
-
h4.heading-xs,
|
256
|
-
h5.heading-xs,
|
257
|
-
h6.heading-xs {
|
292
|
+
|
293
|
+
:host(.heading-xs) {
|
258
294
|
font-size: var(--cpsl-font-size-heading-xs);
|
259
295
|
}
|
260
|
-
:host
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
296
|
+
:host(.heading-xs) > p,
|
297
|
+
:host(.heading-xs) h1,
|
298
|
+
:host(.heading-xs) h2,
|
299
|
+
:host(.heading-xs) h3,
|
300
|
+
:host(.heading-xs) h4,
|
301
|
+
:host(.heading-xs) h5,
|
302
|
+
:host(.heading-xs) h6 {
|
303
|
+
font-size: var(--cpsl-font-size-heading-xs);
|
304
|
+
}
|
305
|
+
|
306
|
+
:host(.heading-s) {
|
307
|
+
font-size: var(--cpsl-font-size-heading-s);
|
308
|
+
}
|
309
|
+
:host(.heading-s) > p,
|
310
|
+
:host(.heading-s) h1,
|
311
|
+
:host(.heading-s) h2,
|
312
|
+
:host(.heading-s) h3,
|
313
|
+
:host(.heading-s) h4,
|
314
|
+
:host(.heading-s) h5,
|
315
|
+
:host(.heading-s) h6 {
|
267
316
|
font-size: var(--cpsl-font-size-heading-s);
|
268
317
|
}
|
269
|
-
|
270
|
-
|
271
|
-
h2.heading-m,
|
272
|
-
h3.heading-m,
|
273
|
-
h4.heading-m,
|
274
|
-
h5.heading-m,
|
275
|
-
h6.heading-m {
|
318
|
+
|
319
|
+
:host(.heading-m) {
|
276
320
|
font-size: var(--cpsl-font-size-heading-m);
|
277
321
|
letter-spacing: -0.4px;
|
278
322
|
}
|
279
|
-
:host
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
323
|
+
:host(.heading-m) > p,
|
324
|
+
:host(.heading-m) h1,
|
325
|
+
:host(.heading-m) h2,
|
326
|
+
:host(.heading-m) h3,
|
327
|
+
:host(.heading-m) h4,
|
328
|
+
:host(.heading-m) h5,
|
329
|
+
:host(.heading-m) h6 {
|
330
|
+
font-size: var(--cpsl-font-size-heading-m);
|
331
|
+
letter-spacing: -0.4px;
|
332
|
+
}
|
333
|
+
|
334
|
+
:host(.heading-l) {
|
286
335
|
font-size: var(--cpsl-font-size-heading-l);
|
287
336
|
letter-spacing: -1.12px;
|
288
337
|
}
|
289
|
-
:host
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
338
|
+
:host(.heading-l) > p,
|
339
|
+
:host(.heading-l) h1,
|
340
|
+
:host(.heading-l) h2,
|
341
|
+
:host(.heading-l) h3,
|
342
|
+
:host(.heading-l) h4,
|
343
|
+
:host(.heading-l) h5,
|
344
|
+
:host(.heading-l) h6 {
|
345
|
+
font-size: var(--cpsl-font-size-heading-l);
|
346
|
+
letter-spacing: -1.12px;
|
347
|
+
}
|
348
|
+
|
349
|
+
:host(.heading-xl) {
|
296
350
|
font-size: var(--cpsl-font-size-heading-xl);
|
297
351
|
letter-spacing: -1.28px;
|
298
352
|
}
|
299
|
-
:host
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
353
|
+
:host(.heading-xl) > p,
|
354
|
+
:host(.heading-xl) h1,
|
355
|
+
:host(.heading-xl) h2,
|
356
|
+
:host(.heading-xl) h3,
|
357
|
+
:host(.heading-xl) h4,
|
358
|
+
:host(.heading-xl) h5,
|
359
|
+
:host(.heading-xl) h6 {
|
360
|
+
font-size: var(--cpsl-font-size-heading-xl);
|
361
|
+
letter-spacing: -1.28px;
|
362
|
+
}
|
363
|
+
|
364
|
+
:host(.heading-2xl) {
|
306
365
|
font-size: var(--cpsl-font-size-heading-2xl);
|
307
366
|
letter-spacing: -1.44px;
|
367
|
+
}
|
368
|
+
:host(.heading-2xl) > p,
|
369
|
+
:host(.heading-2xl) h1,
|
370
|
+
:host(.heading-2xl) h2,
|
371
|
+
:host(.heading-2xl) h3,
|
372
|
+
:host(.heading-2xl) h4,
|
373
|
+
:host(.heading-2xl) h5,
|
374
|
+
:host(.heading-2xl) h6 {
|
375
|
+
font-size: var(--cpsl-font-size-heading-2xl);
|
376
|
+
letter-spacing: -1.44px;
|
377
|
+
}
|
378
|
+
|
379
|
+
:host p,
|
380
|
+
h1,
|
381
|
+
h2,
|
382
|
+
h3,
|
383
|
+
h4,
|
384
|
+
h5,
|
385
|
+
h6 {
|
386
|
+
font-family: var(--cpsl-font-family, inherit);
|
387
|
+
padding: 0px;
|
388
|
+
margin: 0px;
|
389
|
+
-webkit-font-smoothing: antialiased;
|
390
|
+
-moz-osx-font-smoothing: grayscale;
|
391
|
+
font-smooth: never;
|
392
|
+
}
|
393
|
+
:host p::-moz-selection,
|
394
|
+
h1::-moz-selection,
|
395
|
+
h2::-moz-selection,
|
396
|
+
h3::-moz-selection,
|
397
|
+
h4::-moz-selection,
|
398
|
+
h5::-moz-selection,
|
399
|
+
h6::-moz-selection {
|
400
|
+
/* Code for Firefox */
|
401
|
+
color: var(--cpsl-color-text-inverted) !important;
|
402
|
+
background: var(--cpsl-color-background-64) !important;
|
403
|
+
}
|
404
|
+
:host p::selection,
|
405
|
+
h1::selection,
|
406
|
+
h2::selection,
|
407
|
+
h3::selection,
|
408
|
+
h4::selection,
|
409
|
+
h5::selection,
|
410
|
+
h6::selection {
|
411
|
+
color: var(--cpsl-color-text-inverted) !important;
|
412
|
+
background: var(--cpsl-color-background-64) !important;
|
308
413
|
}
|