@symbo.ls/button 0.5.6 → 0.5.7

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/package.json CHANGED
@@ -1,7 +1,13 @@
1
1
  {
2
2
  "name": "@symbo.ls/button",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "main": "src/index.js",
5
5
  "license": "MIT",
6
- "gitHead": "54d6736563ac01b95945651ae7c57680ff03a790"
6
+ "gitHead": "830b469b41869c665f7c05c1b0371793a1385a6d",
7
+ "dependencies": {
8
+ "@symbo.ls/block": "^0.5.3",
9
+ "@symbo.ls/direction": "^0.5.3",
10
+ "@symbo.ls/icon-text": "^0.5.3",
11
+ "@symbo.ls/shape": "^0.5.3"
12
+ }
7
13
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@symbo.ls/react-button",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "54d6736563ac01b95945651ae7c57680ff03a790",
6
+ "gitHead": "830b469b41869c665f7c05c1b0371793a1385a6d",
7
7
  "dependencies": {
8
8
  "@domql/react-transformer": "^1.3.0",
9
- "@symbo.ls/button": "^0.5.6"
9
+ "@symbo.ls/button": "^0.5.7"
10
10
  }
11
11
  }
@@ -1,11 +0,0 @@
1
- # `Button`
2
-
3
- > TODO: description
4
-
5
- ## Usage
6
-
7
- ```
8
- const button = require('Button');
9
-
10
- // TODO: DEMONSTRATE API
11
- ```
@@ -1,7 +0,0 @@
1
- {
2
- "name": "@symbo.ls/button",
3
- "version": "0.5.3",
4
- "main": "src/index.js",
5
- "license": "MIT",
6
- "gitHead": "f0c29fae632536241c4e803b880991748344f7c5"
7
- }
@@ -1,8 +0,0 @@
1
- 'use strict'
2
-
3
- import { reactTransformer } from '@domql/react-transformer'
4
- import { Button as component } from '@symbo.ls/button'
5
-
6
- export const Button = (props, state) => {
7
- reactTransformer(component, props, state)
8
- }
@@ -1,7 +0,0 @@
1
- {
2
- "name": "@symbo.ls/react-button",
3
- "version": "0.5.3",
4
- "main": "index.js",
5
- "license": "MIT",
6
- "gitHead": "f0c29fae632536241c4e803b880991748344f7c5"
7
- }
@@ -1,58 +0,0 @@
1
- 'use strict'
2
-
3
- import { Shape } from '@symbo.ls/shape'
4
- import { IconText } from '@symbo.ls/icon-text'
5
- import { Block } from '@symbo.ls/block'
6
- import { Direction } from '@symbo.ls/direction'
7
-
8
- import style from './style'
9
-
10
- export const Button = {
11
- proto: [Shape, Block, IconText, Direction],
12
- tag: 'button',
13
- style,
14
- props: {
15
- type: 'button'
16
- },
17
- attr: {
18
- type: ({ props }) => props.type
19
- }
20
- }
21
-
22
- export const SquareButton = {
23
- proto: Button,
24
- props: {
25
- size: 'A',
26
- width: 'A',
27
- padding: 'Z',
28
- aspectRatio: '1 / 1',
29
- round: 'Z'
30
- },
31
- class: {
32
- squareButton: {
33
- justifyContent: 'center',
34
- boxSizing: 'content-box'
35
- }
36
- }
37
- }
38
-
39
- export const CircleButton = {
40
- proto: SquareButton,
41
- props: { round: 'C' }
42
- }
43
-
44
- export const KangorooButton = {
45
- tag: 'button',
46
- proto: [Shape, Direction, Block],
47
- style,
48
-
49
- iconText: {
50
- proto: IconText
51
- },
52
-
53
- child: {
54
- proto: [Shape, Block, IconText]
55
- }
56
- }
57
-
58
- export default Button
@@ -1,13 +0,0 @@
1
- 'use strict'
2
-
3
- export default {
4
- appearance: 'none',
5
- border: 'none',
6
- outline: 0,
7
- cursor: 'pointer',
8
- fontFamily: 'inherit',
9
- display: 'inline-flex',
10
- alignItems: 'center',
11
- justifyContent: 'center',
12
- textDecoration: 'none'
13
- }