sit-onyx 1.0.0-beta.81 → 1.0.0-beta.83
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/components/OnyxInput/OnyxInput.vue.d.ts +10 -5
- package/dist/components/OnyxInput/types.d.ts +8 -0
- package/dist/components/OnyxSelectInput/types.d.ts +4 -0
- package/dist/index.cjs +4 -4
- package/dist/index.js +1241 -1210
- package/dist/playwright/a11y.d.ts +7 -0
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/src/i18n/locales/de-DE.json +3 -0
- package/src/i18n/locales/en-US.json +3 -0
- package/src/styles/mixins/checkbox.scss +3 -3
- package/src/styles/mixins/input.scss +23 -15
- package/src/styles/mixins/list.scss +2 -2
- package/src/styles/variables/density-compact.css +1 -1
- package/src/styles/variables/density-cozy.css +1 -1
- package/src/styles/variables/density-default.css +1 -1
- package/src/styles/variables/spacing.css +1 -1
- package/src/styles/variables/themes/digits-dark.css +8 -6
- package/src/styles/variables/themes/digits-light.css +8 -6
- package/src/styles/variables/themes/kaufland-dark.css +8 -6
- package/src/styles/variables/themes/kaufland-light.css +8 -6
- package/src/styles/variables/themes/lidl-dark.css +8 -6
- package/src/styles/variables/themes/lidl-light.css +8 -6
- package/src/styles/variables/themes/onyx-dark.css +8 -6
- package/src/styles/variables/themes/onyx-light.css +8 -6
- package/src/styles/variables/themes/schwarz-dark.css +8 -6
- package/src/styles/variables/themes/schwarz-light.css +8 -6
- package/src/styles/variables/themes/value.css +1 -1
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import type { OnyxInputProps } from "./types";
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = OnyxInputProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
modelValue?: string;
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
7
|
validityChange: (validity: ValidityState) => any;
|
|
4
|
-
"update:modelValue": (
|
|
5
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
8
|
+
"update:modelValue": (...args: unknown[]) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
6
10
|
onValidityChange?: ((validity: ValidityState) => any) | undefined;
|
|
7
|
-
"onUpdate:modelValue"?: ((
|
|
11
|
+
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
8
12
|
}>, {
|
|
9
13
|
required: boolean;
|
|
10
14
|
type: import("./types").InputType;
|
|
@@ -14,6 +18,7 @@ declare const _default: import("vue").DefineComponent<OnyxInputProps, {}, {}, {}
|
|
|
14
18
|
readonly: boolean;
|
|
15
19
|
skeleton: import("../../composables/useSkeletonState").SkeletonInjected;
|
|
16
20
|
showError: boolean | symbol | "touched";
|
|
17
|
-
|
|
21
|
+
hideSuccessIcon: boolean;
|
|
22
|
+
hideClearIcon: boolean;
|
|
18
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
24
|
export default _default;
|
|
@@ -47,6 +47,14 @@ export type OnyxInputProps = FormInjectedProps & DensityProp & RequiredMarkerPro
|
|
|
47
47
|
* Whether the input is loading. User interaction will be disabled.
|
|
48
48
|
*/
|
|
49
49
|
loading?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Whether to hide the check icon when the input is in a success state.
|
|
52
|
+
*/
|
|
53
|
+
hideSuccessIcon?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Whether to hide the clear icon when the input is filled and focused.
|
|
56
|
+
*/
|
|
57
|
+
hideClearIcon?: boolean;
|
|
50
58
|
/**
|
|
51
59
|
* Minimum number of characters that have to to be entered.
|
|
52
60
|
* Warning: when the value is (pre)set programmatically,
|
|
@@ -31,6 +31,10 @@ export type OnyxSelectInputProps = FormInjectedProps & DensityProp & RequiredMar
|
|
|
31
31
|
* Shows a loading indicator.
|
|
32
32
|
*/
|
|
33
33
|
loading?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Whether to hide the check icon when the input is in a success state.
|
|
36
|
+
*/
|
|
37
|
+
hideSuccessIcon?: boolean;
|
|
34
38
|
/**
|
|
35
39
|
* Placeholder to show when the value is empty.
|
|
36
40
|
*/
|