@symbo.ls/notification 1.0.5 → 1.1.2

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/index.js CHANGED
@@ -1,42 +1,32 @@
1
1
  'use strict'
2
2
 
3
- import { Shape } from '@symbo.ls/shape'
4
- import { Block } from '@symbo.ls/block'
5
3
  import { IconText } from '@symbo.ls/icon-text'
6
- import { Direction } from '@symbo.ls/direction'
7
4
  import { Flex } from '@symbo.ls/flex'
8
- import { Text } from '@symbo.ls/text'
9
5
 
10
6
  export const Notification = {
11
- style: { cursor: 'pointer' },
12
- extends: [Shape, Block, Direction, Flex],
13
- icon: {
14
- extends: [IconText],
15
- props: {
16
- icon: 'info'
17
- },
18
- style: {
7
+ extends: Flex,
8
+ props: {
9
+ icon: {
10
+ icon: 'info',
19
11
  width: 'fit-content',
20
12
  height: 'fit-content'
21
- }
22
- },
23
- article: {
24
- extends: [Flex],
25
- style: {
26
- flexDirection: 'column',
27
- alignItems: 'flex-start'
28
- },
29
- caption: {
30
- extends: Text,
31
- text: 'Notification'
32
13
  },
33
- p: {
34
- extends: Text,
35
- props: {
14
+ article: {
15
+ flow: 'column',
16
+ align: 'flex-start',
17
+ p: {
36
18
  fontSize: 'Z',
37
- text: 'is not always a distraction'
38
- },
39
- style: { margin: 0 }
40
- }
19
+ margin: '0'
20
+ }
21
+ },
22
+ css: { cursor: 'pointer' }
23
+ },
24
+ icon: {
25
+ extends: IconText
26
+ },
27
+ article: {
28
+ extends: Flex,
29
+ caption: { text: 'Notification' },
30
+ p: { text: 'is not always a distraction' }
41
31
  }
42
32
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@symbo.ls/notification",
3
- "version": "1.0.5",
3
+ "version": "1.1.2",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "09537187e26571dc2b03524bed0de775c9f66fa8",
6
+ "gitHead": "a8753bd236c9fbf9a1db983a366375c49c329aa3",
7
7
  "dependencies": {
8
8
  "@symbo.ls/block": "latest",
9
9
  "@symbo.ls/direction": "latest",
@@ -1,8 +0,0 @@
1
- 'use strict'
2
-
3
- import { DOMQLReact } from '@symbo.ls/transform-react'
4
- import { Notification as component } from '@symbo.ls/notification'
5
-
6
- export const Notification = (props, state) => {
7
- return DOMQLReact(component, props, state)
8
- }
@@ -1,12 +0,0 @@
1
- {
2
- "name": "@symbo.ls/react-notification",
3
- "version": "1.0.5",
4
- "main": "dist/index.js",
5
- "license": "MIT",
6
- "gitHead": "09537187e26571dc2b03524bed0de775c9f66fa8",
7
- "dependencies": {
8
- "@symbo.ls/notification": "latest",
9
- "@symbo.ls/transform-react": "latest"
10
- },
11
- "source": "src/index.js"
12
- }