Skip to content

Commit b4b8596

Browse files
purs 0.15 (#28)
* Add minlength and maxlength attributes * Update dependencies for 0.15 * Use latest PureScript * Update node version * Add onError to audio, video
1 parent 2060e6b commit b4b8596

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

.github/workflows/ci.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ jobs:
1212
- uses: actions/checkout@v2
1313

1414
- uses: purescript-contrib/setup-purescript@main
15+
with:
16+
purescript: "unstable"
1517

16-
- uses: actions/setup-node@v1
18+
- uses: actions/setup-node@v2
1719
with:
18-
node-version: "12"
20+
node-version: "14"
1921

2022
- name: Install dependencies
2123
run: |

bower.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"package.json"
1616
],
1717
"dependencies": {
18-
"purescript-media-types": "^5.0.0",
19-
"purescript-prelude": "^5.0.0",
20-
"purescript-web-clipboard": "^3.0.0",
21-
"purescript-web-touchevents": "^3.0.0"
18+
"purescript-media-types": "^6.0.0",
19+
"purescript-prelude": "^6.0.0",
20+
"purescript-web-clipboard": "^4.0.0",
21+
"purescript-web-touchevents": "^4.0.0"
2222
}
2323
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"build": "pulp build -- --censor-lib --strict"
66
},
77
"devDependencies": {
8-
"pulp": "^15.0.0",
8+
"pulp": "^16.0.0-0",
99
"purescript-psa": "^0.8.2",
1010
"rimraf": "^3.0.2"
1111
}

src/DOM/HTML/Indexed.purs

+4
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ type HTMLaudio = Interactive
171171
, muted :: Boolean
172172
, preload :: PreloadValue
173173
, src :: String
174+
, onError :: Event
174175
)
175176

176177
type HTMLb = Interactive ()
@@ -356,6 +357,8 @@ type HTMLinput = Interactive
356357
, list :: String
357358
, max :: Number
358359
, min :: Number
360+
, maxLength :: Int
361+
, minLength :: Int
359362
, multiple :: Boolean
360363
, name :: String
361364
, onAbort :: Event
@@ -636,6 +639,7 @@ type HTMLvideo = Interactive
636639
, src :: String
637640
, width :: CSSPixel
638641
, type :: MediaType
642+
, onError :: Event
639643
)
640644

641645
type HTMLwbr = Interactive ()

0 commit comments

Comments
 (0)