mithril-materialized 3.17.4 → 3.17.6
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/README.md +4 -114
- package/dist/index.esm.js +10 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +10 -4
- package/dist/index.umd.js.map +1 -1
- package/dist/input-options.d.ts +2 -0
- package/package.json +8 -3
package/dist/input-options.d.ts
CHANGED
|
@@ -58,6 +58,8 @@ export interface InputAttrs<T = string> extends Attributes {
|
|
|
58
58
|
helperText?: string;
|
|
59
59
|
/** Show a clear button (small 'x') to clear the input value. Only valid for TextInput. */
|
|
60
60
|
canClear?: boolean;
|
|
61
|
+
/** Hide the increment and decrement controls on a NumberInput. */
|
|
62
|
+
hideSpinners?: boolean;
|
|
61
63
|
/**
|
|
62
64
|
* When returning true or an empty string, clear the custom validity (= valid).
|
|
63
65
|
* When returning false, set the custom validity message to a default string string.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mithril-materialized",
|
|
3
|
-
"version": "3.17.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "3.17.6",
|
|
4
|
+
"description": "Material Design components for Mithril.js with no external JavaScript dependencies.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
7
7
|
"browser": "dist/index.umd.js",
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"typedoc": "typedoc --out ../../docs/typedoc src",
|
|
56
56
|
"build:domain": "npm run clean && npm run build && typedoc --out ../../docs/typedoc src",
|
|
57
57
|
"dry-run": "npm publish --dry-run",
|
|
58
|
+
"verify:package-readme": "node ./scripts/verify-package-readme.mjs",
|
|
58
59
|
"sass:watch": "sass --watch ./sass/materialize.scss ./dist/index.css",
|
|
59
60
|
"css:watch": "sass --watch --no-source-map --style=compressed --no-charset ./src/index.scss ./dist/index.min.css",
|
|
60
61
|
"dev:full": "pnpm run dev & pnpm run css:watch",
|
|
@@ -69,7 +70,11 @@
|
|
|
69
70
|
"homepage": "https://erikvullings.github.io/mithril-materialized/index.html#!/home",
|
|
70
71
|
"keywords": [
|
|
71
72
|
"mithril",
|
|
72
|
-
"
|
|
73
|
+
"mithril.js",
|
|
74
|
+
"material-design",
|
|
75
|
+
"materialize-css",
|
|
76
|
+
"ui-components",
|
|
77
|
+
"typescript"
|
|
73
78
|
],
|
|
74
79
|
"author": "Erik Vullings <erik.vullings@gmail.com> (http://www.tno.nl)",
|
|
75
80
|
"license": "MIT",
|