@linzjs/lui 20.0.3 → 21.0.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.
- package/CHANGELOG.md +19 -0
- package/dist/assets/icons/summary_open.svg +1 -1
- package/dist/assets/svg-content.tsx +3 -4
- package/dist/components/LuiBearingInput/LuiBearingInput.d.ts +1 -8
- package/dist/components/LuiCommonInputProps.d.ts +5 -0
- package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.d.ts +0 -2
- package/dist/index.d.ts +2 -9
- package/dist/index.js +247 -13626
- package/dist/index.js.map +1 -1
- package/dist/lui.esm.js +248 -13616
- package/dist/lui.esm.js.map +1 -1
- package/package.json +1 -2
- package/dist/components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox.d.ts +0 -9
- package/dist/components/LuiFormikForms/LuiFormikForm.d.ts +0 -10
- package/dist/components/LuiFormikForms/LuiFormikFormLabel/LuiFormikFormLabel.d.ts +0 -8
- package/dist/components/LuiFormikForms/LuiFormikFormSubmitButton/LuiFormikFormSubmitButton.d.ts +0 -6
- package/dist/components/LuiFormikForms/LuiFormikRadioButton/LuiFormikRadioButton.d.ts +0 -8
- package/dist/components/LuiFormikForms/LuiFormikRadioGroup/LuiFormikRadioGroup.d.ts +0 -7
- package/dist/components/LuiFormikForms/LuiFormikSelect/LuiFormikSelect.d.ts +0 -11
- package/dist/components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput.d.ts +0 -17
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "21.0.0",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
@@ -153,7 +153,6 @@
|
|
|
153
153
|
"camelcase": "^6.0.0",
|
|
154
154
|
"clsx": "^1.1.0",
|
|
155
155
|
"container-query-polyfill": "0.1.2",
|
|
156
|
-
"formik": "^2.1.4",
|
|
157
156
|
"framer-motion": "4.1.17",
|
|
158
157
|
"lottie-web": "^5.9.1",
|
|
159
158
|
"react-loading-skeleton": "^3.1.0",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { LuiCommonInputProps } from '../LuiFormikForm';
|
|
3
|
-
export declare function LuiFormikCheckbox(props: {
|
|
4
|
-
name: string;
|
|
5
|
-
value: string;
|
|
6
|
-
label: ReactNode;
|
|
7
|
-
htmlFor?: string;
|
|
8
|
-
className?: string;
|
|
9
|
-
} & LuiCommonInputProps): JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FormikConfig, FormikValues } from 'formik';
|
|
3
|
-
export declare function LuiFormikForm<Values extends FormikValues = FormikValues, ExtraProps = {}>(props: FormikConfig<Values> & ExtraProps & {
|
|
4
|
-
className?: string;
|
|
5
|
-
}): JSX.Element;
|
|
6
|
-
export interface LuiCommonInputProps {
|
|
7
|
-
inputProps?: object;
|
|
8
|
-
required?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { LuiCommonInputProps } from '../LuiFormikForm';
|
|
3
|
-
export declare const LuiFormikSelect: React.ComponentType<{
|
|
4
|
-
name: string;
|
|
5
|
-
label: string;
|
|
6
|
-
className?: string | undefined;
|
|
7
|
-
defaultValue?: string | undefined;
|
|
8
|
-
helperInfo?: (() => React.Component) | undefined;
|
|
9
|
-
tooltip?: string | undefined;
|
|
10
|
-
validate?: ((value: string) => string | undefined) | undefined;
|
|
11
|
-
} & LuiCommonInputProps>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { FormikContextType } from 'formik';
|
|
2
|
-
import React, { ReactNode } from 'react';
|
|
3
|
-
import { LuiCommonInputProps } from '../LuiFormikForm';
|
|
4
|
-
export declare const LuiFormikTextInput: React.ComponentType<{
|
|
5
|
-
name: string;
|
|
6
|
-
label?: string | undefined;
|
|
7
|
-
className?: string | undefined;
|
|
8
|
-
helperInfo?: ReactNode;
|
|
9
|
-
tooltip?: string | undefined;
|
|
10
|
-
validate?: ((value: string) => string | undefined) | undefined;
|
|
11
|
-
onValueChange?: ((newValue: {
|
|
12
|
-
value: string;
|
|
13
|
-
formik: FormikContextType<any>;
|
|
14
|
-
}) => void) | undefined;
|
|
15
|
-
validateOnChange?: boolean | undefined;
|
|
16
|
-
multiLine?: boolean | undefined;
|
|
17
|
-
} & LuiCommonInputProps>;
|