@symbo.ls/notification 1.1.5 → 1.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.
Files changed (2) hide show
  1. package/index.js +28 -13
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1,32 +1,47 @@
1
1
  'use strict'
2
2
 
3
- import { IconText } from '@symbo.ls/icon-text'
4
- import { Flex } from '@symbo.ls/flex'
3
+ import { Flex } from '@symbo.ls/atoms'
4
+ import { IconText } from '@symbo.ls/icon'
5
5
 
6
6
  export const Notification = {
7
- extends: Flex,
7
+ extend: Flex,
8
+
8
9
  props: {
10
+ theme: 'alert',
11
+ padding: 'Z1 B Z A',
12
+ round: 'A A A Y2',
13
+ gap: 'X2',
14
+ cursor: 'pointer',
15
+ align: 'flex-start center',
16
+
9
17
  icon: {
10
- icon: 'info',
11
- width: 'fit-content',
12
- height: 'fit-content'
18
+ icon: 'info outline'
13
19
  },
20
+
14
21
  article: {
15
22
  flow: 'column',
16
23
  align: 'flex-start',
24
+ gap: 'X2',
25
+ title: {
26
+ fontWeight: '600',
27
+ lineHeight: '1em',
28
+ text: 'Notification'
29
+ },
17
30
  p: {
18
31
  fontSize: 'Z',
19
- margin: '0'
32
+ margin: '0',
33
+ text: 'is not always a distraction'
20
34
  }
21
- },
22
- css: { cursor: 'pointer' }
35
+ }
23
36
  },
37
+
24
38
  icon: {
25
- extends: IconText
39
+ extend: [IconText]
26
40
  },
41
+
27
42
  article: {
28
- extends: Flex,
29
- caption: { text: 'Notification' },
30
- p: { text: 'is not always a distraction' }
43
+ extend: Flex,
44
+ title: {},
45
+ p: {}
31
46
  }
32
47
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@symbo.ls/notification",
3
- "version": "1.1.5",
3
+ "version": "1.2.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "8590863dfd2c60cbe59db0b4bb8239c8a7585259",
6
+ "gitHead": "769d39aee2ab66f0d64b1e0052893442857e7432",
7
7
  "dependencies": {
8
8
  "@symbo.ls/block": "latest",
9
9
  "@symbo.ls/direction": "latest",