@appartmint/tsm-mint 0.1.15 → 0.2.0

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.
@@ -0,0 +1,6 @@
1
+ import { Prettify } from '../../util';
2
+ export type TextTypes = 'text' | 'textarea' | 'search' | 'tel' | 'url' | 'email' | 'password';
3
+ export type NumberTypes = 'number' | 'month' | 'week';
4
+ export type BooleanTypes = 'radio' | 'checkbox';
5
+ export type DateTypes = 'date' | 'time' | 'datetime-local';
6
+ export type InputType = Prettify<BooleanTypes | TextTypes | NumberTypes | DateTypes | 'color' | 'hidden' | 'image'>;
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,3 @@
1
+ export type Prettify<T> = {
2
+ [K in keyof T]: T[K];
3
+ } & {};
@@ -0,0 +1 @@
1
+
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@appartmint/tsm-mint",
3
3
  "author": "App Art Mint LLC",
4
- "version": "0.1.15",
4
+ "version": "0.2.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "description": "TypeScript Modules from App Art Mint LLC",
@@ -1,4 +0,0 @@
1
- export type TextTypes = 'text' | 'textarea' | 'search' | 'tel' | 'url' | 'email' | 'password';
2
- export type NumberTypes = 'number' | 'month' | 'week';
3
- export type BooleanTypes = 'radio' | 'checkbox';
4
- export type InputType = BooleanTypes | TextTypes | NumberTypes | 'color' | 'hidden' | 'image';