smbls 0.15.31 → 0.15.32

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.31",
6
+ "version": "0.15.32",
7
7
  "repository": "https://github.com/symbo-ls/smbls",
8
8
  "main": "src/index.js",
9
9
  "files": [
@@ -7,55 +7,3 @@ export const Interaction = {
7
7
  cursor: ({ props }) => props.cursor && ({ cursor: props.cursor })
8
8
  }
9
9
  }
10
-
11
- export const Hoverable = {
12
- props: {
13
- transition: 'B default-bezier',
14
- transitionProperty: 'opacity, transform',
15
- opacity: 0.85,
16
-
17
- ':hover': {
18
- opacity: 0.9,
19
- transform: 'scale(1.015)'
20
- },
21
- ':active': {
22
- opacity: 1,
23
- transform: 'scale(1.015)'
24
- },
25
- '.active': {
26
- opacity: 1,
27
- transform: 'scale(1.015)',
28
-
29
- ':hover': { opacity: 1 }
30
- }
31
- }
32
- }
33
-
34
- export const Clickable = {
35
- extend: Hoverable,
36
- props: {
37
- ':active': {
38
- opacity: 1,
39
- transform: 'scale(1.015)'
40
- },
41
- '.active': {
42
- opacity: 1
43
- }
44
- }
45
- }
46
-
47
- export const Focusable = {
48
- props: {
49
- border: 'none',
50
- outline: 'solid, 0, blue .3',
51
- ':focus-visible': {
52
- opacity: 1,
53
- outline: 'solid, X, blue .3'
54
- }
55
- },
56
-
57
- attr: {
58
- placeholder: ({ props }) => props.placeholder,
59
- tabIndex: ({ props }) => props.tabIndex
60
- }
61
- }
@@ -7,7 +7,6 @@ export * from './Grid'
7
7
  export * from './Img'
8
8
  export * from './Media'
9
9
  export * from './Interaction'
10
- export * from './FocusableComponent'
11
10
  export * from './Overflow'
12
11
  export * from './Position'
13
12
  export * from './Pseudo'
@@ -1,28 +0,0 @@
1
- 'use strict'
2
-
3
- import { Focusable } from '.'
4
-
5
- const style = {
6
- appearance: 'none',
7
- border: 'none',
8
- cursor: 'pointer',
9
- fontFamily: 'inherit'
10
- }
11
-
12
- export const FocusableComponent = {
13
- extend: Focusable,
14
- tag: 'button',
15
- props: {
16
- fontSize: 'A',
17
- type: 'button',
18
- border: 'none',
19
- textDecoration: 'none',
20
- lineHeight: '1',
21
- whiteSpace: 'nowrap',
22
- fontFamily: 'inherit',
23
- style
24
- },
25
- attr: {
26
- type: ({ props }) => props.type
27
- }
28
- }