@withlayers/components.notification 0.61.0 → 0.63.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 CHANGED
@@ -1 +1 @@
1
- .notification{border-radius:var(--l--theme--notification--border--radius--md);border-style:var(--l--theme--notification--border--style);border-width:var(--l--theme--notification--border--width--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);padding-block:var(--l--theme--notification--space--inset--block--md);padding-inline:var(--l--theme--notification--space--inset--inline--md);text-transform:var(--l--theme--notification--typography--text-transform--md);background-color:var(--l--theme--color--feedback--background--informative);border-color:var(--l--theme--color--feedback--border--informative);color:var(--l--theme--color--feedback--content--informative--rest)}.notification :focus-visible{outline-color:var(--l--theme--color--feedback--outline--informative)}.notification a[href]{color:var(--l--theme--color--feedback--content--informative--rest)}.notification a[href]:visited{color:var(--l--theme--color--feedback--content--informative--visited)}.notification a[href]:hover{color:var(--l--theme--color--feedback--content--informative--hover)}.notification a[href]:focus-visible{color:var(--l--theme--color--feedback--content--informative--focus)}.notification a[href]:active{color:var(--l--theme--color--feedback--content--informative--active)}.notification--lg{border-radius:var(--l--theme--notification--border--radius--lg);border-style:var(--l--theme--notification--border--style);border-width:var(--l--theme--notification--border--width--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);padding-block:var(--l--theme--notification--space--inset--block--lg);padding-inline:var(--l--theme--notification--space--inset--inline--lg);text-transform:var(--l--theme--notification--typography--text-transform--lg)}.notification--md{border-radius:var(--l--theme--notification--border--radius--md);border-style:var(--l--theme--notification--border--style);border-width:var(--l--theme--notification--border--width--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);padding-block:var(--l--theme--notification--space--inset--block--md);padding-inline:var(--l--theme--notification--space--inset--inline--md);text-transform:var(--l--theme--notification--typography--text-transform--md)}.notification--sm{border-radius:var(--l--theme--notification--border--radius--sm);border-style:var(--l--theme--notification--border--style);border-width:var(--l--theme--notification--border--width--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);padding-block:var(--l--theme--notification--space--inset--block--sm);padding-inline:var(--l--theme--notification--space--inset--inline--sm);text-transform:var(--l--theme--notification--typography--text-transform--sm)}.notification--xs{border-radius:var(--l--theme--notification--border--radius--xs);border-style:var(--l--theme--notification--border--style);border-width:var(--l--theme--notification--border--width--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);padding-block:var(--l--theme--notification--space--inset--block--xs);padding-inline:var(--l--theme--notification--space--inset--inline--xs);text-transform:var(--l--theme--notification--typography--text-transform--xs)}.notification--destructive{background-color:var(--l--theme--color--feedback--background--destructive);border-color:var(--l--theme--color--feedback--border--destructive);color:var(--l--theme--color--feedback--content--destructive--rest)}.notification--destructive :focus-visible{outline-color:var(--l--theme--color--feedback--outline--destructive)}.notification--destructive a[href]{color:var(--l--theme--color--feedback--content--destructive--rest)}.notification--destructive a[href]:visited{color:var(--l--theme--color--feedback--content--destructive--visited)}.notification--destructive a[href]:hover{color:var(--l--theme--color--feedback--content--destructive--hover)}.notification--destructive a[href]:focus-visible{color:var(--l--theme--color--feedback--content--destructive--focus)}.notification--destructive a[href]:active{color:var(--l--theme--color--feedback--content--destructive--active)}.notification--informative{background-color:var(--l--theme--color--feedback--background--informative);border-color:var(--l--theme--color--feedback--border--informative);color:var(--l--theme--color--feedback--content--informative--rest)}.notification--informative :focus-visible{outline-color:var(--l--theme--color--feedback--outline--informative)}.notification--informative a[href]{color:var(--l--theme--color--feedback--content--informative--rest)}.notification--informative a[href]:visited{color:var(--l--theme--color--feedback--content--informative--visited)}.notification--informative a[href]:hover{color:var(--l--theme--color--feedback--content--informative--hover)}.notification--informative a[href]:focus-visible{color:var(--l--theme--color--feedback--content--informative--focus)}.notification--informative a[href]:active{color:var(--l--theme--color--feedback--content--informative--active)}.notification--positive{background-color:var(--l--theme--color--feedback--background--positive);border-color:var(--l--theme--color--feedback--border--positive);color:var(--l--theme--color--feedback--content--positive--rest)}.notification--positive :focus-visible{outline-color:var(--l--theme--color--feedback--outline--positive)}.notification--positive a[href]{color:var(--l--theme--color--feedback--content--positive--rest)}.notification--positive a[href]:visited{color:var(--l--theme--color--feedback--content--positive--visited)}.notification--positive a[href]:hover{color:var(--l--theme--color--feedback--content--positive--hover)}.notification--positive a[href]:focus-visible{color:var(--l--theme--color--feedback--content--positive--focus)}.notification--positive a[href]:active{color:var(--l--theme--color--feedback--content--positive--active)}.notification--warning{background-color:var(--l--theme--color--feedback--background--warning);border-color:var(--l--theme--color--feedback--border--warning);color:var(--l--theme--color--feedback--content--warning--rest)}.notification--warning :focus-visible{outline-color:var(--l--theme--color--feedback--outline--warning)}.notification--warning a[href]{color:var(--l--theme--color--feedback--content--warning--rest)}.notification--warning a[href]:visited{color:var(--l--theme--color--feedback--content--warning--visited)}.notification--warning a[href]:hover{color:var(--l--theme--color--feedback--content--warning--hover)}.notification--warning a[href]:focus-visible{color:var(--l--theme--color--feedback--content--warning--focus)}.notification--warning a[href]:active{color:var(--l--theme--color--feedback--content--warning--active)}
1
+ .notification{border-radius:var(--l--theme--notification--border--radius--md);border-style:var(--l--theme--notification--border--style);border-width:var(--l--theme--notification--border--width--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);padding-block:var(--l--theme--notification--space--inset--block--md);padding-inline:var(--l--theme--notification--space--inset--inline--md);text-transform:var(--l--theme--notification--typography--text-transform--md);border-color:var(--l--theme--color--border--tertiary)}.notification--lg{border-radius:var(--l--theme--notification--border--radius--lg);border-style:var(--l--theme--notification--border--style);border-width:var(--l--theme--notification--border--width--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);padding-block:var(--l--theme--notification--space--inset--block--lg);padding-inline:var(--l--theme--notification--space--inset--inline--lg);text-transform:var(--l--theme--notification--typography--text-transform--lg)}.notification--md{border-radius:var(--l--theme--notification--border--radius--md);border-style:var(--l--theme--notification--border--style);border-width:var(--l--theme--notification--border--width--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);padding-block:var(--l--theme--notification--space--inset--block--md);padding-inline:var(--l--theme--notification--space--inset--inline--md);text-transform:var(--l--theme--notification--typography--text-transform--md)}.notification--sm{border-radius:var(--l--theme--notification--border--radius--sm);border-style:var(--l--theme--notification--border--style);border-width:var(--l--theme--notification--border--width--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);padding-block:var(--l--theme--notification--space--inset--block--sm);padding-inline:var(--l--theme--notification--space--inset--inline--sm);text-transform:var(--l--theme--notification--typography--text-transform--sm)}.notification--xs{border-radius:var(--l--theme--notification--border--radius--xs);border-style:var(--l--theme--notification--border--style);border-width:var(--l--theme--notification--border--width--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);padding-block:var(--l--theme--notification--space--inset--block--xs);padding-inline:var(--l--theme--notification--space--inset--inline--xs);text-transform:var(--l--theme--notification--typography--text-transform--xs)}
package/dist/mixins.css CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  @define-mixin notification {
4
4
  @mixin notification--md;
5
- @mixin notification--informative;
5
+
6
+ border-color: var(--l--theme--color--border--tertiary);
6
7
  }
7
8
 
8
9
  @define-mixin notification--lg {
@@ -68,19 +69,3 @@
68
69
  padding-inline: var(--l--theme--notification--space--inset--inline--xs);
69
70
  text-transform: var(--l--theme--notification--typography--text-transform--xs);
70
71
  }
71
-
72
- @define-mixin notification--destructive {
73
- @mixin is-color-feedback-destructive;
74
- }
75
-
76
- @define-mixin notification--informative {
77
- @mixin is-color-feedback-informative;
78
- }
79
-
80
- @define-mixin notification--positive {
81
- @mixin is-color-feedback-positive;
82
- }
83
-
84
- @define-mixin notification--warning {
85
- @mixin is-color-feedback-warning;
86
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@withlayers/components.notification",
3
- "version": "0.61.0",
3
+ "version": "0.63.0",
4
4
  "description": "Notification component",
5
5
  "homepage": "https://docs.withlayers.com/docs/components/notification/",
6
6
  "bugs": {
@@ -28,8 +28,8 @@
28
28
  "dev": "vite build --watch"
29
29
  },
30
30
  "dependencies": {
31
- "@withlayers/mixins": "0.61.0",
32
- "@withlayers/tokens": "0.61.0"
31
+ "@withlayers/mixins": "0.63.0",
32
+ "@withlayers/tokens": "0.63.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "clsx": "^2.1.1",