@ldmjs/ui 1.0.0-dev-13 → 1.0.0-dev-16
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 +31 -1
- package/dist/calendar.js +1 -1
- package/dist/css/index.css +10 -2
- package/dist/floating.js +1 -0
- package/dist/imask.js +1 -0
- package/dist/index.js +1345 -251
- package/dist/scss/_inputs.scss +9 -0
- package/dist/types/options.d.ts +4 -0
- package/dist/types/validation.d.ts +3 -7
- package/package.json +2 -3
package/dist/scss/_inputs.scss
CHANGED
|
@@ -138,6 +138,15 @@ body {
|
|
|
138
138
|
border-color: var(--grey-l-4) !important;
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
+
.v-select {
|
|
142
|
+
.v-select__selection {
|
|
143
|
+
margin: 0;
|
|
144
|
+
.v-select__selection-text {
|
|
145
|
+
display: inline-flex;
|
|
146
|
+
align-items: center;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
141
150
|
}
|
|
142
151
|
|
|
143
152
|
input.disabled {
|
package/dist/types/options.d.ts
CHANGED
|
@@ -13,6 +13,10 @@ export interface ldmuiOptions {
|
|
|
13
13
|
'ld-page-toolbar'?: string;
|
|
14
14
|
'ld-select-list-box'?: string;
|
|
15
15
|
'ld-checkbox'?: string;
|
|
16
|
+
'ld-radiobutton'?: string;
|
|
17
|
+
'ld-radiogroup'?: string;
|
|
18
|
+
'ld-textarea'?: string;
|
|
19
|
+
'ld-select'?: string;
|
|
16
20
|
},
|
|
17
21
|
viewport?: {
|
|
18
22
|
isMobile: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
export type ValidateFunction = (v: unknown) => boolean | string;
|
|
2
2
|
|
|
3
3
|
export interface IInput {
|
|
4
4
|
uid: number;
|
|
5
5
|
validate: ValidateFunction;
|
|
6
|
-
reset()
|
|
7
|
-
resetValidation()
|
|
6
|
+
reset: () => void;
|
|
7
|
+
resetValidation: () => void;
|
|
8
8
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
9
9
|
__cardSection: string | number;
|
|
10
10
|
}
|
|
@@ -14,7 +14,3 @@ export interface IWatcher {
|
|
|
14
14
|
valid: () => void;
|
|
15
15
|
shouldValidate: () => void;
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
export {
|
|
19
|
-
ValidateFunction
|
|
20
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ldmjs/ui",
|
|
3
|
-
"version": "1.0.0-dev-
|
|
3
|
+
"version": "1.0.0-dev-16",
|
|
4
4
|
"description": "ldm ui",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"engines": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"npm": ">=8"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
|
-
"dev": "cross-env NODE_ENV=development webpack serve --config config/webpack.config.dev.js --progress --profile",
|
|
11
|
+
"dev": "cross-env NODE_ENV=development webpack serve --config config/webpack.config.dev.js --progress --profile --stats-error-details",
|
|
12
12
|
"build": "cross-env NODE_ENV=production webpack --config config/webpack.config.build.js --stats-error-details",
|
|
13
13
|
"serve": "cross-env NODE_ENV=development webpack serve --config config/webpack.config.serve.js --progress --profile",
|
|
14
14
|
"test": "jest --runInBand --no-cache",
|
|
@@ -72,7 +72,6 @@
|
|
|
72
72
|
"postcss-loader": "7.3.3",
|
|
73
73
|
"sass": "1.69.5",
|
|
74
74
|
"sass-loader": "13.3.2",
|
|
75
|
-
"string-replace-loader": "^3.1.0",
|
|
76
75
|
"style-loader": "3.3.3",
|
|
77
76
|
"terser-webpack-plugin": "5.3.10",
|
|
78
77
|
"ts-jest": "29.0.3",
|