forked from Dogfalo/materialize
-
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #496 from materializecss/refactor-tests-and-build-…
…process Refactor tests and build process
- Loading branch information
Showing
71 changed files
with
4,360 additions
and
10,592 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ jobs: | |
- name: Run tests | ||
run: | | ||
npm i | ||
npm run build | ||
npm run test | ||
- name: Nightly build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
node_modules/ | ||
package.json | ||
package.json.lock | ||
bin/ | ||
dist/ | ||
css/ | ||
dist/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Playground</title> | ||
<link rel="stylesheet" href="/dist/css/materialize.min.css"> | ||
<script src="/dist/js/materialize.min.js"></script> | ||
<style> | ||
.row .s12 { | ||
background-color: #fa08; | ||
padding: 1rem; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<main class="container mt-5"> | ||
<div class="mb-5"> | ||
<button class="btn tonal" onclick="M.AutoInit()">Init</button> | ||
<button class="btn tonal" onclick="alert(formselect1.value)">Read</button> | ||
</div> | ||
<!-- HTML --> | ||
<div class="input-field outlined s12"> | ||
<select id="formselect1" multiple> | ||
<option value="" disabled>Choose your option</option> | ||
<option value="1">Option 1</option> | ||
<option value="2">Option 2</option> | ||
<option value="3">Option 3</option> | ||
</select> | ||
<label for="formselect1">Materialize Select</label> | ||
</div> | ||
|
||
<div class="row mt-5 g-1"> | ||
<div class="s12 m6 l3">a</div> | ||
<div class="s12 m6 l3">b</div> | ||
<div class="s12 m6 l3">c</div> | ||
<div class="s12 m6 l3">d</div> | ||
</div> | ||
</main> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const { Button, Grid } = require('@materializecss/materialize'); | ||
|
||
// This is experimental | ||
|
||
const html = Grid(['<p>Are you cool?</p>', Button('Yes'), Button('No')].join('')); | ||
console.log(html); |
Oops, something went wrong.