@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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
# [21.0.0](https://github.com/linz/lui/compare/v20.1.0...v21.0.0) (2023-09-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
* feat!: removes formik from Lui (#1019) ([4aa11fe](https://github.com/linz/lui/commit/4aa11fe2279843b53a4a0489a143f2ec219906b8)), closes [#1019](https://github.com/linz/lui/issues/1019)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### BREAKING CHANGES
|
|
8
|
+
|
|
9
|
+
* also refactors the BearingInput to not use Formik
|
|
10
|
+
|
|
11
|
+
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
|
|
12
|
+
|
|
13
|
+
# [20.1.0](https://github.com/linz/lui/compare/v20.0.3...v20.1.0) (2023-09-28)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* Summary Open icon ([#1017](https://github.com/linz/lui/issues/1017)) ([9e0b25e](https://github.com/linz/lui/commit/9e0b25e9b2b3eb4943cb7af4658bdfe8a36e1d4a))
|
|
19
|
+
|
|
1
20
|
## [20.0.3](https://github.com/linz/lui/compare/v20.0.2...v20.0.3) (2023-09-21)
|
|
2
21
|
|
|
3
22
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg viewBox="0 0 24 24"><path d="
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m20.425 18 2.95 2.95-1.425 1.4L19 19.4v2.25h-2V16h5.65v2h-2.225ZM15 16H8v2h7v-2ZM16 12H8v2h8v-2Z" fill="#000"/><path d="M15 22v-2H6V4h7v5h5v5h2V8l-6-6H6C4.4 2 4 3.333 4 4v16c0 1.6 1.333 2 2 2h9Z" fill="#000"/></svg>
|
|
@@ -1351,10 +1351,9 @@ iconMap['ic_submit'] = (
|
|
|
1351
1351
|
);
|
|
1352
1352
|
|
|
1353
1353
|
iconMap['ic_summary_open'] = (
|
|
1354
|
-
<svg viewBox="0 0 24 24">
|
|
1355
|
-
<path d="
|
|
1356
|
-
<path d="
|
|
1357
|
-
<path d="M9 16h7v2H9v-2Zm-1-4h8v2H8v-2Z" />
|
|
1354
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
1355
|
+
<path d="m20.425 18 2.95 2.95-1.425 1.4L19 19.4v2.25h-2V16h5.65v2h-2.225ZM15 16H8v2h7v-2ZM16 12H8v2h8v-2Z" />
|
|
1356
|
+
<path d="M15 22v-2H6V4h7v5h5v5h2V8l-6-6H6C4.4 2 4 3.333 4 4v16c0 1.6 1.333 2 2 2h9Z" />
|
|
1358
1357
|
</svg>
|
|
1359
1358
|
);
|
|
1360
1359
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { LuiCommonInputProps } from '../
|
|
2
|
+
import { LuiCommonInputProps } from '../LuiCommonInputProps';
|
|
3
3
|
interface LuiBearingInputProps {
|
|
4
4
|
name: string;
|
|
5
5
|
label?: string;
|
|
@@ -13,11 +13,4 @@ interface LuiBearingInputProps {
|
|
|
13
13
|
preferValidationError?: boolean;
|
|
14
14
|
}
|
|
15
15
|
export declare const LuiBearingInput: React.FC<React.PropsWithChildren<LuiBearingInputProps & LuiCommonInputProps>>;
|
|
16
|
-
interface LuiBearingFormikInputProps {
|
|
17
|
-
name: string;
|
|
18
|
-
label: string;
|
|
19
|
-
/** If true, validationError prop takes precedence over the LuiBearingInput internalError value. */
|
|
20
|
-
preferValidationError?: boolean;
|
|
21
|
-
}
|
|
22
|
-
export declare const LuiBearingFormikInput: React.FC<React.PropsWithChildren<LuiBearingFormikInputProps & LuiCommonInputProps>>;
|
|
23
16
|
export {};
|
|
@@ -9,7 +9,5 @@ interface LuiMiniSpinnerProps {
|
|
|
9
9
|
}
|
|
10
10
|
export declare const LuiMiniSpinner: (props: LuiMiniSpinnerProps) => JSX.Element;
|
|
11
11
|
export declare const LuiLoadingSpinner: () => JSX.Element;
|
|
12
|
-
export declare const LuiLoadingSpinnerEaster: () => JSX.Element;
|
|
13
|
-
export declare const LuiLoadingSpinnerChristmas: () => JSX.Element;
|
|
14
12
|
export declare function isChromatic(): boolean;
|
|
15
13
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export { LuiTab } from './components/LuiTabs/LuiTab/LuiTab';
|
|
|
16
16
|
export { LuiTabsGroup } from './components/LuiTabs/LuiTabsGroup/LuiTabsGroup';
|
|
17
17
|
export { LuiTabsPanel } from './components/LuiTabs/LuiTabsPanel/LuiTabsPanel';
|
|
18
18
|
export { LuiTabsPanelSwitch } from './components/LuiTabs/LuiTabsPanelSwitch/LuiTabsPanelSwitch';
|
|
19
|
-
export { LuiCommonInputProps
|
|
19
|
+
export { LuiCommonInputProps } from './components/LuiCommonInputProps';
|
|
20
20
|
export { LuiCheckboxInput } from './components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput';
|
|
21
21
|
export { LuiFileInputBox } from './components/LuiFormElements/LuiFileInputBox/LuiFileInputBox';
|
|
22
22
|
export { LuiSelectInput } from './components/LuiFormElements/LuiSelectInput/LuiSelectInput';
|
|
@@ -25,15 +25,8 @@ export { LuiTextInput } from './components/LuiFormElements/LuiTextInput/LuiTextI
|
|
|
25
25
|
export { LuiDateInput } from './components/LuiFormElements/LuiDateInput/LuiDateInput';
|
|
26
26
|
export { LuiMoneyInput } from './components/LuiFormElements/LuiMoneyInput/LuiMoneyInput';
|
|
27
27
|
export { LuiRadioInput } from './components/LuiFormElements/LuiRadioInput/LuiRadioInput';
|
|
28
|
-
export { LuiFormikCheckbox } from './components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox';
|
|
29
|
-
export { LuiFormikTextInput } from './components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput';
|
|
30
|
-
export { LuiFormikFormLabel } from './components/LuiFormikForms/LuiFormikFormLabel/LuiFormikFormLabel';
|
|
31
|
-
export { LuiFormikRadioButton } from './components/LuiFormikForms/LuiFormikRadioButton/LuiFormikRadioButton';
|
|
32
|
-
export { LuiFormikRadioGroup } from './components/LuiFormikForms/LuiFormikRadioGroup/LuiFormikRadioGroup';
|
|
33
|
-
export { LuiFormikFormSubmitButton } from './components/LuiFormikForms/LuiFormikFormSubmitButton/LuiFormikFormSubmitButton';
|
|
34
|
-
export { LuiFormikSelect } from './components/LuiFormikForms/LuiFormikSelect/LuiFormikSelect';
|
|
35
28
|
export { LuiIcon } from './components/LuiIcon/LuiIcon';
|
|
36
|
-
export {
|
|
29
|
+
export { LuiBearingInput } from './components/LuiBearingInput/LuiBearingInput';
|
|
37
30
|
export { LuiFooter } from './components/LuiFooter/LuiFooter';
|
|
38
31
|
export { LuiComboSelect, LuiComboSelectProps, LuiComboSelectOption, } from './components/LuiForms/LuiComboSelect/LuiComboSelect';
|
|
39
32
|
export { LuiFormSectionHeader, IFormSectionHeaderProps, } from './components/LuiForms/LuiFormSection/LuiFormSectionHeader';
|