@withlayers/components.notification 0.6.2 → 0.8.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-style:var(--l--theme--notification--border--style);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--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)}
1
+ .notification{border-radius:var(--l--theme--notification--border--radius--md);border-width:var(--l--theme--notification--border--width--md);border-style:var(--l--theme--notification--border--style);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--on-default);border-color:var(--l--theme--color--feedback--border--informative--on-default);color:var(--l--theme--color--feedback--content--informative--on-default)}.notification a{color:var(--l--theme--color--feedback--content--informative--on-default)}.notification :focus-visible{outline-color:var(--l--theme--color--feedback--outline--informative--on-default)}.notification--lg{border-radius:var(--l--theme--notification--border--radius--lg);border-width:var(--l--theme--notification--border--width--lg);border-style:var(--l--theme--notification--border--style);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-width:var(--l--theme--notification--border--width--md);border-style:var(--l--theme--notification--border--style);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-width:var(--l--theme--notification--border--width--sm);border-style:var(--l--theme--notification--border--style);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-width:var(--l--theme--notification--border--width--xs);border-style:var(--l--theme--notification--border--style);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--on-default);border-color:var(--l--theme--color--feedback--border--destructive--on-default);color:var(--l--theme--color--feedback--content--destructive--on-default)}.notification--destructive a{color:var(--l--theme--color--feedback--content--destructive--on-default)}.notification--destructive :focus-visible{outline-color:var(--l--theme--color--feedback--outline--destructive--on-default)}.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-default)}.notification--informative a{color:var(--l--theme--color--feedback--content--informative--on-default)}.notification--informative :focus-visible{outline-color:var(--l--theme--color--feedback--outline--informative--on-default)}.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-default)}.notification--positive a{color:var(--l--theme--color--feedback--content--positive--on-default)}.notification--positive :focus-visible{outline-color:var(--l--theme--color--feedback--outline--positive--on-default)}.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-default)}.notification--warning a{color:var(--l--theme--color--feedback--content--warning--on-default)}.notification--warning :focus-visible{outline-color:var(--l--theme--color--feedback--outline--warning--on-default)}
package/dist/mixins.css CHANGED
@@ -1,36 +1,62 @@
1
- @define-mixin notification-core {
2
- border-style: var(--l--theme--notification--border--style);
3
- }
1
+ @import url('@withlayers/mixins/dist/index.css');
4
2
 
5
- @define-mixin notification-shape-xs {
6
- border-radius: var(--l--theme--notification--border--radius--xs);
7
- border-width: var(--l--theme--notification--border--width--xs);
8
- padding-block: var(--l--theme--notification--space--inset--block--xs);
9
- padding-inline: var(--l--theme--notification--space--inset--inline--xs);
3
+ @define-mixin notification {
4
+ @mixin notification--md;
5
+ @mixin notification--informative;
10
6
  }
11
7
 
12
- @define-mixin notification-shape-sm {
13
- border-radius: var(--l--theme--notification--border--radius--sm);
14
- border-width: var(--l--theme--notification--border--width--sm);
15
- padding-block: var(--l--theme--notification--space--inset--block--sm);
16
- padding-inline: var(--l--theme--notification--space--inset--inline--sm);
8
+ @define-mixin notification--lg {
9
+ border-radius: var(--l--theme--notification--border--radius--lg);
10
+ border-width: var(--l--theme--notification--border--width--lg);
11
+ border-style: var(--l--theme--notification--border--style);
12
+ font-family: var(--l--theme--notification--typography--font-family--lg);
13
+ font-size: var(--l--theme--notification--typography--font-size--lg);
14
+ font-style: var(--l--theme--notification--typography--font-style--lg);
15
+ font-variant-caps: var(--l--theme--notification--typography--font-variant-caps--lg);
16
+ font-weight: var(--l--theme--notification--typography--font-weight--lg);
17
+ letter-spacing: var(--l--theme--notification--typography--letter-spacing--lg);
18
+ line-height: var(--l--theme--notification--typography--line-height--lg);
19
+ padding-block: var(--l--theme--notification--space--inset--block--lg);
20
+ padding-inline: var(--l--theme--notification--space--inset--inline--lg);
21
+ text-transform: var(--l--theme--notification--typography--text-transform--lg);
17
22
  }
18
23
 
19
- @define-mixin notification-shape-md {
24
+ @define-mixin notification--md {
20
25
  border-radius: var(--l--theme--notification--border--radius--md);
21
26
  border-width: var(--l--theme--notification--border--width--md);
27
+ border-style: var(--l--theme--notification--border--style);
28
+ font-family: var(--l--theme--notification--typography--font-family--md);
29
+ font-size: var(--l--theme--notification--typography--font-size--md);
30
+ font-style: var(--l--theme--notification--typography--font-style--md);
31
+ font-variant-caps: var(--l--theme--notification--typography--font-variant-caps--md);
32
+ font-weight: var(--l--theme--notification--typography--font-weight--md);
33
+ letter-spacing: var(--l--theme--notification--typography--letter-spacing--md);
34
+ line-height: var(--l--theme--notification--typography--line-height--md);
22
35
  padding-block: var(--l--theme--notification--space--inset--block--md);
23
36
  padding-inline: var(--l--theme--notification--space--inset--inline--md);
37
+ text-transform: var(--l--theme--notification--typography--text-transform--md);
24
38
  }
25
39
 
26
- @define-mixin notification-shape-lg {
27
- border-radius: var(--l--theme--notification--border--radius--lg);
28
- border-width: var(--l--theme--notification--border--width--lg);
29
- padding-block: var(--l--theme--notification--space--inset--block--lg);
30
- padding-inline: var(--l--theme--notification--space--inset--inline--lg);
40
+ @define-mixin notification--sm {
41
+ border-radius: var(--l--theme--notification--border--radius--sm);
42
+ border-width: var(--l--theme--notification--border--width--sm);
43
+ border-style: var(--l--theme--notification--border--style);
44
+ font-family: var(--l--theme--notification--typography--font-family--sm);
45
+ font-size: var(--l--theme--notification--typography--font-size--sm);
46
+ font-style: var(--l--theme--notification--typography--font-style--sm);
47
+ font-variant-caps: var(--l--theme--notification--typography--font-variant-caps--sm);
48
+ font-weight: var(--l--theme--notification--typography--font-weight--sm);
49
+ letter-spacing: var(--l--theme--notification--typography--letter-spacing--sm);
50
+ line-height: var(--l--theme--notification--typography--line-height--sm);
51
+ padding-block: var(--l--theme--notification--space--inset--block--sm);
52
+ padding-inline: var(--l--theme--notification--space--inset--inline--sm);
53
+ text-transform: var(--l--theme--notification--typography--text-transform--sm);
31
54
  }
32
55
 
33
- @define-mixin notification-typography-xs {
56
+ @define-mixin notification--xs {
57
+ border-radius: var(--l--theme--notification--border--radius--xs);
58
+ border-width: var(--l--theme--notification--border--width--xs);
59
+ border-style: var(--l--theme--notification--border--style);
34
60
  font-family: var(--l--theme--notification--typography--font-family--xs);
35
61
  font-size: var(--l--theme--notification--typography--font-size--xs);
36
62
  font-style: var(--l--theme--notification--typography--font-style--xs);
@@ -38,38 +64,23 @@
38
64
  font-weight: var(--l--theme--notification--typography--font-weight--xs);
39
65
  letter-spacing: var(--l--theme--notification--typography--letter-spacing--xs);
40
66
  line-height: var(--l--theme--notification--typography--line-height--xs);
67
+ padding-block: var(--l--theme--notification--space--inset--block--xs);
68
+ padding-inline: var(--l--theme--notification--space--inset--inline--xs);
41
69
  text-transform: var(--l--theme--notification--typography--text-transform--xs);
42
70
  }
43
71
 
44
- @define-mixin notification-typography-sm {
45
- font-family: var(--l--theme--notification--typography--font-family--sm);
46
- font-size: var(--l--theme--notification--typography--font-size--sm);
47
- font-style: var(--l--theme--notification--typography--font-style--sm);
48
- font-variant-caps: var(--l--theme--notification--typography--font-variant-caps--sm);
49
- font-weight: var(--l--theme--notification--typography--font-weight--sm);
50
- letter-spacing: var(--l--theme--notification--typography--letter-spacing--sm);
51
- line-height: var(--l--theme--notification--typography--line-height--sm);
52
- text-transform: var(--l--theme--notification--typography--text-transform--sm);
72
+ @define-mixin notification--destructive {
73
+ @mixin is-color-feedback-destructive;
53
74
  }
54
75
 
55
- @define-mixin notification-typography-md {
56
- font-family: var(--l--theme--notification--typography--font-family--md);
57
- font-size: var(--l--theme--notification--typography--font-size--md);
58
- font-style: var(--l--theme--notification--typography--font-style--md);
59
- font-variant-caps: var(--l--theme--notification--typography--font-variant-caps--md);
60
- font-weight: var(--l--theme--notification--typography--font-weight--md);
61
- letter-spacing: var(--l--theme--notification--typography--letter-spacing--md);
62
- line-height: var(--l--theme--notification--typography--line-height--md);
63
- text-transform: var(--l--theme--notification--typography--text-transform--md);
76
+ @define-mixin notification--informative {
77
+ @mixin is-color-feedback-informative;
64
78
  }
65
79
 
66
- @define-mixin notification-typography-lg {
67
- font-family: var(--l--theme--notification--typography--font-family--lg);
68
- font-size: var(--l--theme--notification--typography--font-size--lg);
69
- font-style: var(--l--theme--notification--typography--font-style--lg);
70
- font-variant-caps: var(--l--theme--notification--typography--font-variant-caps--lg);
71
- font-weight: var(--l--theme--notification--typography--font-weight--lg);
72
- letter-spacing: var(--l--theme--notification--typography--letter-spacing--lg);
73
- line-height: var(--l--theme--notification--typography--line-height--lg);
74
- text-transform: var(--l--theme--notification--typography--text-transform--lg);
80
+ @define-mixin notification--positive {
81
+ @mixin is-color-feedback-positive;
82
+ }
83
+
84
+ @define-mixin notification--warning {
85
+ @mixin is-color-feedback-warning;
75
86
  }
package/dist/tokens.json CHANGED
@@ -1,131 +1,100 @@
1
1
  {
2
2
  "notification": {
3
- "$level": "component",
4
3
  "border": {
5
- "$level": "category",
6
4
  "style": {
7
- "$level": "property",
8
5
  "value": "{border.style.solid}"
9
6
  },
10
7
  "width": {
11
- "$level": "property",
12
8
  "xs": {
13
- "$level": "scale",
14
9
  "value": "{border.width.sm}"
15
10
  },
16
11
  "sm": {
17
- "$level": "scale",
18
12
  "value": "{border.width.sm}"
19
13
  },
20
14
  "md": {
21
- "$level": "scale",
22
15
  "value": "{border.width.sm}"
23
16
  },
24
17
  "lg": {
25
- "$level": "scale",
26
18
  "value": "{border.width.sm}"
27
19
  }
28
20
  },
29
21
  "radius": {
30
- "$level": "property",
31
22
  "xs": {
32
- "$level": "scale",
33
23
  "value": "{border.radius.md}"
34
24
  },
35
25
  "sm": {
36
- "$level": "scale",
37
26
  "value": "{border.radius.md}"
38
27
  },
39
28
  "md": {
40
- "$level": "scale",
41
29
  "value": "{border.radius.md}"
42
30
  },
43
31
  "lg": {
44
- "$level": "scale",
45
32
  "value": "{border.radius.md}"
46
33
  }
47
34
  }
48
35
  },
49
36
  "space": {
50
- "$level": "category",
51
37
  "inset": {
52
- "$level": "property",
53
38
  "block": {
54
- "$level": "subproperty",
55
39
  "xs": {
56
- "$level": "scale",
57
40
  "value": "{space.20}"
58
41
  },
59
42
  "sm": {
60
- "$level": "scale",
61
43
  "value": "{space.30}"
62
44
  },
63
45
  "md": {
64
- "$level": "scale",
65
46
  "value": "{space.40}"
66
47
  },
67
48
  "lg": {
68
- "$level": "scale",
69
49
  "value": "{space.50}"
70
50
  }
71
51
  },
72
52
  "inline": {
73
- "$level": "subproperty",
74
53
  "xs": {
75
- "$level": "scale",
76
54
  "value": "{space.30}"
77
55
  },
78
56
  "sm": {
79
- "$level": "scale",
80
57
  "value": "{space.40}"
81
58
  },
82
59
  "md": {
83
- "$level": "scale",
84
60
  "value": "{space.50}"
85
61
  },
86
62
  "lg": {
87
- "$level": "scale",
88
63
  "value": "{space.60}"
89
64
  }
90
65
  }
91
66
  }
92
67
  },
93
68
  "typography": {
94
- "$level": "category",
95
69
  "font-family": {
96
- "$level": "property",
97
70
  "xs": {
98
- "$level": "scale",
99
71
  "value": "{typography.font-family.secondary}"
100
72
  },
101
73
  "sm": {
102
- "$level": "scale",
103
74
  "value": "{typography.font-family.secondary}"
104
75
  },
105
76
  "md": {
106
- "$level": "scale",
107
77
  "value": "{typography.font-family.secondary}"
108
78
  },
109
79
  "lg": {
110
- "$level": "scale",
111
80
  "value": "{typography.font-family.secondary}"
112
81
  }
113
82
  },
114
83
  "font-size": {
115
- "$level": "property",
116
84
  "xs": {
117
- "$level": "scale",
118
85
  "value": {
119
- "type": "fluid",
86
+ "$isFluid": true,
120
87
  "min": {
121
- "value": "{typography.font-size.12}",
122
- "breakpoint": {
123
- "value": "{breakpoint.xs}"
124
- }
88
+ "value": "{typography.font-size.12}"
125
89
  },
126
90
  "max": {
127
- "value": "{typography.font-size.14}",
128
- "breakpoint": {
91
+ "value": "{typography.font-size.14}"
92
+ },
93
+ "breakpoint": {
94
+ "min": {
95
+ "value": "{breakpoint.xs}"
96
+ },
97
+ "max": {
129
98
  "value": "{breakpoint.xl}"
130
99
  }
131
100
  },
@@ -135,18 +104,19 @@
135
104
  }
136
105
  },
137
106
  "sm": {
138
- "$level": "scale",
139
107
  "value": {
140
- "type": "fluid",
108
+ "$isFluid": true,
141
109
  "min": {
142
- "value": "{typography.font-size.12}",
143
- "breakpoint": {
144
- "value": "{breakpoint.xs}"
145
- }
110
+ "value": "{typography.font-size.12}"
146
111
  },
147
112
  "max": {
148
- "value": "{typography.font-size.14}",
149
- "breakpoint": {
113
+ "value": "{typography.font-size.14}"
114
+ },
115
+ "breakpoint": {
116
+ "min": {
117
+ "value": "{breakpoint.xs}"
118
+ },
119
+ "max": {
150
120
  "value": "{breakpoint.xl}"
151
121
  }
152
122
  },
@@ -156,18 +126,19 @@
156
126
  }
157
127
  },
158
128
  "md": {
159
- "$level": "scale",
160
129
  "value": {
161
- "type": "fluid",
130
+ "$isFluid": true,
162
131
  "min": {
163
- "value": "{typography.font-size.14}",
164
- "breakpoint": {
165
- "value": "{breakpoint.xs}"
166
- }
132
+ "value": "{typography.font-size.14}"
167
133
  },
168
134
  "max": {
169
- "value": "{typography.font-size.16}",
170
- "breakpoint": {
135
+ "value": "{typography.font-size.16}"
136
+ },
137
+ "breakpoint": {
138
+ "min": {
139
+ "value": "{breakpoint.xs}"
140
+ },
141
+ "max": {
171
142
  "value": "{breakpoint.xl}"
172
143
  }
173
144
  },
@@ -177,18 +148,19 @@
177
148
  }
178
149
  },
179
150
  "lg": {
180
- "$level": "scale",
181
151
  "value": {
182
- "type": "fluid",
152
+ "$isFluid": true,
183
153
  "min": {
184
- "value": "{typography.font-size.16}",
185
- "breakpoint": {
186
- "value": "{breakpoint.xs}"
187
- }
154
+ "value": "{typography.font-size.16}"
188
155
  },
189
156
  "max": {
190
- "value": "{typography.font-size.18}",
191
- "breakpoint": {
157
+ "value": "{typography.font-size.18}"
158
+ },
159
+ "breakpoint": {
160
+ "min": {
161
+ "value": "{breakpoint.xs}"
162
+ },
163
+ "max": {
192
164
  "value": "{breakpoint.xl}"
193
165
  }
194
166
  },
@@ -199,116 +171,86 @@
199
171
  }
200
172
  },
201
173
  "font-style": {
202
- "$level": "property",
203
174
  "xs": {
204
- "$level": "scale",
205
175
  "value": "{typography.font-style.normal}"
206
176
  },
207
177
  "sm": {
208
- "$level": "scale",
209
178
  "value": "{typography.font-style.normal}"
210
179
  },
211
180
  "md": {
212
- "$level": "scale",
213
181
  "value": "{typography.font-style.normal}"
214
182
  },
215
183
  "lg": {
216
- "$level": "scale",
217
184
  "value": "{typography.font-style.normal}"
218
185
  }
219
186
  },
220
187
  "font-variant-caps": {
221
- "$level": "property",
222
188
  "xs": {
223
- "$level": "scale",
224
189
  "value": "{typography.font-variant-caps.normal}"
225
190
  },
226
191
  "sm": {
227
- "$level": "scale",
228
192
  "value": "{typography.font-variant-caps.normal}"
229
193
  },
230
194
  "md": {
231
- "$level": "scale",
232
195
  "value": "{typography.font-variant-caps.normal}"
233
196
  },
234
197
  "lg": {
235
- "$level": "scale",
236
198
  "value": "{typography.font-variant-caps.normal}"
237
199
  }
238
200
  },
239
201
  "font-weight": {
240
- "$level": "property",
241
202
  "xs": {
242
- "$level": "scale",
243
203
  "value": "{typography.font-weight.medium}"
244
204
  },
245
205
  "sm": {
246
- "$level": "scale",
247
206
  "value": "{typography.font-weight.medium}"
248
207
  },
249
208
  "md": {
250
- "$level": "scale",
251
209
  "value": "{typography.font-weight.medium}"
252
210
  },
253
211
  "lg": {
254
- "$level": "scale",
255
212
  "value": "{typography.font-weight.medium}"
256
213
  }
257
214
  },
258
215
  "letter-spacing": {
259
- "$level": "property",
260
216
  "xs": {
261
- "$level": "scale",
262
217
  "value": "{typography.letter-spacing.normal}"
263
218
  },
264
219
  "sm": {
265
- "$level": "scale",
266
220
  "value": "{typography.letter-spacing.normal}"
267
221
  },
268
222
  "md": {
269
- "$level": "scale",
270
223
  "value": "{typography.letter-spacing.normal}"
271
224
  },
272
225
  "lg": {
273
- "$level": "scale",
274
226
  "value": "{typography.letter-spacing.normal}"
275
227
  }
276
228
  },
277
229
  "line-height": {
278
- "$level": "property",
279
230
  "xs": {
280
- "$level": "scale",
281
231
  "value": "{typography.line-height.1250}"
282
232
  },
283
233
  "sm": {
284
- "$level": "scale",
285
234
  "value": "{typography.line-height.1250}"
286
235
  },
287
236
  "md": {
288
- "$level": "scale",
289
237
  "value": "{typography.line-height.1375}"
290
238
  },
291
239
  "lg": {
292
- "$level": "scale",
293
240
  "value": "{typography.line-height.1500}"
294
241
  }
295
242
  },
296
243
  "text-transform": {
297
- "$level": "property",
298
244
  "xs": {
299
- "$level": "scale",
300
245
  "value": "{typography.text-transform.none}"
301
246
  },
302
247
  "sm": {
303
- "$level": "scale",
304
248
  "value": "{typography.text-transform.none}"
305
249
  },
306
250
  "md": {
307
- "$level": "scale",
308
251
  "value": "{typography.text-transform.none}"
309
252
  },
310
253
  "lg": {
311
- "$level": "scale",
312
254
  "value": "{typography.text-transform.none}"
313
255
  }
314
256
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@withlayers/components.notification",
3
- "version": "0.6.2",
3
+ "version": "0.8.0",
4
4
  "description": "Notification component",
5
5
  "license": "MIT",
6
6
  "author": "Dmitry Mayorov",
@@ -21,8 +21,8 @@
21
21
  "lint:css:fix": "stylelint \"src/**/*.css\" --fix"
22
22
  },
23
23
  "dependencies": {
24
- "@withlayers/mixins": "0.14.1",
25
- "@withlayers/tokens": "0.22.0"
24
+ "@withlayers/mixins": "0.15.1",
25
+ "@withlayers/tokens": "0.24.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "clsx": "^2.1.1",