@abgov/react-components 4.0.0-alpha.83 → 4.0.0-alpha.84
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/package.json
CHANGED
package/react-components.esm.js
CHANGED
|
@@ -10736,7 +10736,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
10736
10736
|
class Notification extends SvelteElement {
|
|
10737
10737
|
constructor(options) {
|
|
10738
10738
|
super();
|
|
10739
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;gap:1rem
|
|
10739
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}.close{flex:0 0 auto}</style>`;
|
|
10740
10740
|
init(this, {
|
|
10741
10741
|
target: this.shadowRoot,
|
|
10742
10742
|
props: attribute_to_object(this.attributes),
|
package/react-components.umd.js
CHANGED
|
@@ -10783,7 +10783,7 @@
|
|
|
10783
10783
|
class Notification extends SvelteElement {
|
|
10784
10784
|
constructor(options) {
|
|
10785
10785
|
super();
|
|
10786
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;gap:1rem
|
|
10786
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}.close{flex:0 0 auto}</style>`;
|
|
10787
10787
|
init(this, {
|
|
10788
10788
|
target: this.shadowRoot,
|
|
10789
10789
|
props: attribute_to_object(this.attributes),
|