@phila/phila-ui-core 1.0.18 → 1.0.21
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/dist/types.d.ts +8 -2
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
|
@@ -14,7 +14,12 @@ export interface ResponsiveHelpers {
|
|
|
14
14
|
responsiveState: ResponsiveState;
|
|
15
15
|
updateResponsiveState: (window: Window) => void;
|
|
16
16
|
}
|
|
17
|
-
export
|
|
17
|
+
export interface InputOptionObject {
|
|
18
|
+
value: string;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
[key: string]: HTMLInputValue | undefined;
|
|
21
|
+
}
|
|
22
|
+
export type HTMLInputValue = string | boolean | number;
|
|
18
23
|
export type InputOptions = Record<string, HTMLInputValue>;
|
|
19
24
|
export type InputOptionsGroup = Record<string, string[]>;
|
|
20
25
|
export type Mask = typeof String | typeof Number | typeof Date | typeof RegExp | Record<"mask", typeof String | typeof Number | typeof Date | typeof RegExp>;
|
|
@@ -34,7 +39,8 @@ export interface InputProps {
|
|
|
34
39
|
id?: string;
|
|
35
40
|
errors?: InputErrors;
|
|
36
41
|
optgroup?: boolean;
|
|
37
|
-
|
|
42
|
+
disableableOptions?: boolean;
|
|
43
|
+
options?: HTMLInputValue[] | InputOptions | InputOptions[] | InputOptionsGroup | InputOptionObject[];
|
|
38
44
|
name?: string;
|
|
39
45
|
textKey?: string;
|
|
40
46
|
valueKey?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phila/phila-ui-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"files": [
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"bulma": "^0.9.4",
|
|
36
|
-
"bulma-checkradio": "
|
|
36
|
+
"bulma-checkradio": "1.1.1",
|
|
37
37
|
"vue": "^3.3.8",
|
|
38
38
|
"vue-imask": "^7.6.0"
|
|
39
39
|
},
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"registry": "https://registry.npmjs.com/",
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "7beebf0e6eb642e0ff731041d46281f71923c0d4"
|
|
45
45
|
}
|