File tree Expand file tree Collapse file tree 4 files changed +59
-54
lines changed Expand file tree Collapse file tree 4 files changed +59
-54
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ It's strongly recommended to install only the modules you really need
46
46
- [ bianco.force-reflow] ( https://github.com/biancojs/force-reflow#api ) Force DOM reflows
47
47
- [ bianco.css] ( https://github.com/biancojs/css#api ) CSS helper
48
48
- [ bianco.attr] ( https://github.com/biancojs/attr#api ) DOM attributes
49
+ - [ bianco.pointer] ( https://github.com/biancojs/pointer#api ) Pointer events helpers
49
50
50
51
## TODO
51
52
@@ -59,8 +60,8 @@ List of the bianco modules to create:
59
60
- [x] bianco.force-reflow
60
61
- [x] bianco.css
61
62
- [x] bianco.attr
62
- - [ ] bianco.cookie
63
- - [ ] bianco.pointer
63
+ - [x ] bianco.pointer
64
+ - [ ] ~~ bianco.cookie ~~ [ see cookie-js ] ( https://github.com/js-cookie/js-cookie )
64
65
- [ ] ~~ bianco.monad or bianco.chain?~~ [ see ruit] ( https://github.com/GianlucaGuarini/ruit )
65
66
- [ ] ~~ bianco.stream~~ [ see erre] ( https://github.com/GianlucaGuarini/erre )
66
67
- [ ] ~~ bianco.animate~~ [ see animore] ( https://github.com/GianlucaGuarini/animore )
Original file line number Diff line number Diff line change @@ -12,6 +12,14 @@ export {
12
12
once as onceEvent
13
13
} from 'bianco.events'
14
14
15
+ // attributes helpers
16
+ export {
17
+ get as getAttr ,
18
+ set as setAttr ,
19
+ remove as removeAttr ,
20
+ has as hasAttr
21
+ } from 'bianco.attr'
22
+
15
23
// css helpers
16
24
export {
17
25
get as getCss ,
@@ -25,7 +33,7 @@ export {
25
33
loadImages
26
34
} from 'bianco.images-loader'
27
35
28
- // viewport module
36
+ // viewport helpers
29
37
export {
30
38
scrollbarWidth ,
31
39
documentHeight ,
@@ -36,10 +44,7 @@ export {
36
44
elementOffsetLeft
37
45
} from 'bianco.viewport'
38
46
39
- // attributes helpers
47
+ // pointer helpers
40
48
export {
41
- get as getAttr ,
42
- set as setAttr ,
43
- remove as removeAttr ,
44
- has as hasAttr
45
- } from 'bianco.attr'
49
+ postion as pointerPosition
50
+ } from 'bianco.pointer'
Original file line number Diff line number Diff line change 38
38
"rollup-plugin-node-resolve" : " ^3.4.0"
39
39
},
40
40
"dependencies" : {
41
- "bianco.attr" : " ^0.0.5" ,
42
- "bianco.css" : " 0.0.4" ,
43
- "bianco.events" : " ^0.0.7" ,
44
- "bianco.images-loader" : " 0.0.7" ,
45
- "bianco.query" : " ^0.0.8" ,
46
- "bianco.viewport" : " 0.0.5"
41
+ "bianco.attr" : " ^1.0.0" ,
42
+ "bianco.css" : " ^1.0.0" ,
43
+ "bianco.events" : " ^1.0.0" ,
44
+ "bianco.images-loader" : " ^1.0.0" ,
45
+ "bianco.pointer" : " ^1.0.0" ,
46
+ "bianco.query" : " ^1.0.0" ,
47
+ "bianco.viewport" : " ^1.0.0"
47
48
}
48
49
}
You can’t perform that action at this time.
0 commit comments