@open-xamu-co/ui-common-types 4.0.0-next.7 → 4.0.0-next.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xamu-co/ui-common-types",
3
- "version": "4.0.0-next.7",
3
+ "version": "4.0.0-next.9",
4
4
  "description": "Xamu shared types",
5
5
  "author": "@xamu-co",
6
6
  "main": "src/index.ts",
@@ -31,13 +31,13 @@
31
31
  "build:legacy": "rimraf dist && tsc --outDir dist --declaration --emitDeclarationOnly"
32
32
  },
33
33
  "dependencies": {
34
- "@open-xamu-co/ui-common-enums": "^4.0.0-next.2",
34
+ "@open-xamu-co/ui-common-enums": "^4.0.0-next.4",
35
35
  "@fortawesome/fontawesome-common-types": "^6.4.0",
36
36
  "sweetalert2": "^11.11.1"
37
37
  },
38
38
  "engines": {
39
- "node": ">=20.19.3",
40
- "yarn": ">=1.22.4"
39
+ "node": ">=22.22.2",
40
+ "yarn": ">=1.22.22"
41
41
  },
42
42
  "browserslist": [
43
43
  "defaults"
package/src/form/types.ts CHANGED
@@ -34,7 +34,17 @@ export interface iFormResults<T = Record<string, unknown>> {
34
34
  invalidInputs: iInvalidInput[];
35
35
  }
36
36
 
37
- export type tTextInputType = "text" | "email" | "password" | "search" | "url" | "number" | "tel";
37
+ export type tTextInputType =
38
+ | "text"
39
+ | "email"
40
+ | "password"
41
+ | "search"
42
+ | "url"
43
+ | "number"
44
+ | "tel"
45
+ | "date"
46
+ | "datetime-local"
47
+ | "time";
38
48
 
39
49
  export type tFormAutocomplete =
40
50
  | "off"
package/src/locale.ts CHANGED
@@ -180,6 +180,12 @@ export type tLocaleForm = {
180
180
  form_cellphone: string;
181
181
  /** @example "ID number" */
182
182
  form_id_number: string;
183
+ /** @example "Date" */
184
+ form_date: string;
185
+ /** @example "Date & time" */
186
+ form_datetime: string;
187
+ /** @example "Time" */
188
+ form_time: string;
183
189
  /** @example "Complete the field" */
184
190
  form_complete_the_field: string;
185
191
  /** @example "Location" */