smbls 0.15.9 → 0.15.10

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
@@ -3,7 +3,7 @@
3
3
  "description": "UI Library built on Scratch and DOMQL",
4
4
  "private": false,
5
5
  "author": "symbo.ls",
6
- "version": "0.15.9",
6
+ "version": "0.15.10",
7
7
  "repository": "https://github.com/symbo-ls/smbls",
8
8
  "main": "src/index.js",
9
9
  "files": [
package/src/Button.js CHANGED
@@ -3,13 +3,6 @@
3
3
  import { FocusableComponent } from './atoms'
4
4
  import { IconText } from '.'
5
5
 
6
- const style = {
7
- appearance: 'none',
8
- border: 'none',
9
- cursor: 'pointer',
10
- fontFamily: 'inherit'
11
- }
12
-
13
6
  export const Button = {
14
7
  extend: [FocusableComponent, IconText],
15
8
  tag: 'button',
@@ -26,7 +19,6 @@ export const Button = {
26
19
  padding: 'Z A1',
27
20
  fontFamily: 'inherit',
28
21
  round: 'C2',
29
- style
30
22
  },
31
23
  attr: {
32
24
  type: ({ props }) => props.type
@@ -53,7 +45,5 @@ export const CircleButton = {
53
45
 
54
46
  export const KangorooButton = {
55
47
  extend: Button,
56
- childExtend: IconText,
57
-
58
- props: { style }
48
+ childExtend: IconText
59
49
  }
@@ -6,10 +6,7 @@ const style = {
6
6
  appearance: 'none',
7
7
  border: 'none',
8
8
  cursor: 'pointer',
9
- fontFamily: 'inherit',
10
- '& > *': {
11
- pointerEvents: 'none'
12
- }
9
+ fontFamily: 'inherit'
13
10
  }
14
11
 
15
12
  export const FocusableComponent = {