@withlayers/components.notification 0.1.1 → 0.2.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/dist/index.css +1 -1
- package/package.json +3 -3
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.notification{border-style:var(--l--theme--notification--border--style);background-color:var(--l--theme--color--feedback--background--informative--on-default);border-color:var(--l--theme--color--feedback--border--informative--on-default);color:var(--l--theme--color--feedback--content--informative--on-informative);border-radius:var(--l--theme--notification--border--radius--md);border-width:var(--l--theme--notification--border--width--md);padding-block:var(--l--theme--notification--space--
|
|
1
|
+
.notification{border-style:var(--l--theme--notification--border--style);background-color:var(--l--theme--color--feedback--background--informative--on-default);border-color:var(--l--theme--color--feedback--border--informative--on-default);color:var(--l--theme--color--feedback--content--informative--on-informative);border-radius:var(--l--theme--notification--border--radius--md);border-width:var(--l--theme--notification--border--width--md);padding-block:var(--l--theme--notification--space--inset--block--md);padding-inline:var(--l--theme--notification--space--inset--inline--md);font-family:var(--l--theme--notification--typography--font-family--md);font-size:var(--l--theme--notification--typography--font-size--md);font-style:var(--l--theme--notification--typography--font-style--md);font-variant-caps:var(--l--theme--notification--typography--font-variant-caps--md);font-weight:var(--l--theme--notification--typography--font-weight--md);letter-spacing:var(--l--theme--notification--typography--letter-spacing--md);line-height:var(--l--theme--notification--typography--line-height--md);text-transform:var(--l--theme--notification--typography--text-transform--md)}.notification a{color:var(--l--theme--color--feedback--content--informative--on-informative)}.notification--xs{border-radius:var(--l--theme--notification--border--radius--xs);border-width:var(--l--theme--notification--border--width--xs);padding-block:var(--l--theme--notification--space--inset--block--xs);padding-inline:var(--l--theme--notification--space--inset--inline--xs);font-family:var(--l--theme--notification--typography--font-family--xs);font-size:var(--l--theme--notification--typography--font-size--xs);font-style:var(--l--theme--notification--typography--font-style--xs);font-variant-caps:var(--l--theme--notification--typography--font-variant-caps--xs);font-weight:var(--l--theme--notification--typography--font-weight--xs);letter-spacing:var(--l--theme--notification--typography--letter-spacing--xs);line-height:var(--l--theme--notification--typography--line-height--xs);text-transform:var(--l--theme--notification--typography--text-transform--xs)}.notification--sm{border-radius:var(--l--theme--notification--border--radius--sm);border-width:var(--l--theme--notification--border--width--sm);padding-block:var(--l--theme--notification--space--inset--block--sm);padding-inline:var(--l--theme--notification--space--inset--inline--sm);font-family:var(--l--theme--notification--typography--font-family--sm);font-size:var(--l--theme--notification--typography--font-size--sm);font-style:var(--l--theme--notification--typography--font-style--sm);font-variant-caps:var(--l--theme--notification--typography--font-variant-caps--sm);font-weight:var(--l--theme--notification--typography--font-weight--sm);letter-spacing:var(--l--theme--notification--typography--letter-spacing--sm);line-height:var(--l--theme--notification--typography--line-height--sm);text-transform:var(--l--theme--notification--typography--text-transform--sm)}.notification--md{border-radius:var(--l--theme--notification--border--radius--md);border-width:var(--l--theme--notification--border--width--md);padding-block:var(--l--theme--notification--space--inset--block--md);padding-inline:var(--l--theme--notification--space--inset--inline--md);font-family:var(--l--theme--notification--typography--font-family--md);font-size:var(--l--theme--notification--typography--font-size--md);font-style:var(--l--theme--notification--typography--font-style--md);font-variant-caps:var(--l--theme--notification--typography--font-variant-caps--md);font-weight:var(--l--theme--notification--typography--font-weight--md);letter-spacing:var(--l--theme--notification--typography--letter-spacing--md);line-height:var(--l--theme--notification--typography--line-height--md);text-transform:var(--l--theme--notification--typography--text-transform--md)}.notification--lg{border-radius:var(--l--theme--notification--border--radius--lg);border-width:var(--l--theme--notification--border--width--lg);padding-block:var(--l--theme--notification--space--inset--block--lg);padding-inline:var(--l--theme--notification--space--inset--inline--lg);font-family:var(--l--theme--notification--typography--font-family--lg);font-size:var(--l--theme--notification--typography--font-size--lg);font-style:var(--l--theme--notification--typography--font-style--lg);font-variant-caps:var(--l--theme--notification--typography--font-variant-caps--lg);font-weight:var(--l--theme--notification--typography--font-weight--lg);letter-spacing:var(--l--theme--notification--typography--letter-spacing--lg);line-height:var(--l--theme--notification--typography--line-height--lg);text-transform:var(--l--theme--notification--typography--text-transform--lg)}.notification--destructive{background-color:var(--l--theme--color--feedback--background--destructive--on-default);border-color:var(--l--theme--color--feedback--border--destructive--on-default);color:var(--l--theme--color--feedback--content--destructive--on-destructive)}.notification--destructive a{color:var(--l--theme--color--feedback--content--destructive--on-destructive)}.notification--informative{background-color:var(--l--theme--color--feedback--background--informative--on-default);border-color:var(--l--theme--color--feedback--border--informative--on-default);color:var(--l--theme--color--feedback--content--informative--on-informative)}.notification--informative a{color:var(--l--theme--color--feedback--content--informative--on-informative)}.notification--positive{background-color:var(--l--theme--color--feedback--background--positive--on-default);border-color:var(--l--theme--color--feedback--border--positive--on-default);color:var(--l--theme--color--feedback--content--positive--on-positive)}.notification--positive a{color:var(--l--theme--color--feedback--content--positive--on-positive)}.notification--warning{background-color:var(--l--theme--color--feedback--background--warning--on-default);border-color:var(--l--theme--color--feedback--border--warning--on-default);color:var(--l--theme--color--feedback--content--warning--on-warning)}.notification--warning a{color:var(--l--theme--color--feedback--content--warning--on-warning)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@withlayers/components.notification",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Notification component",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Dmitry Mayorov",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"lint:css:fix": "stylelint \"src/**/*.css\" --fix"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@withlayers/mixins": "0.
|
|
23
|
-
"@withlayers/tokens": "0.
|
|
22
|
+
"@withlayers/mixins": "0.11.0",
|
|
23
|
+
"@withlayers/tokens": "0.15.0",
|
|
24
24
|
"clsx": "^2.1.1",
|
|
25
25
|
"postcss-mixins": "^11.0.3"
|
|
26
26
|
},
|