@linzjs/lui 11.1.4 → 11.1.8
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 +28 -0
- package/dist/components/LuiFormElements/LuiSelectInput/LuiSelectInput.d.ts +1 -1
- package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.d.ts +1 -1
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.d.ts +1 -1
- package/dist/components/LuiFormElements/RadioInput/LuiRadioInput.d.ts +1 -1
- package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/lui.cjs.development.js +13121 -1
- package/dist/lui.cjs.development.js.map +1 -1
- package/dist/lui.cjs.production.min.js +1 -1
- package/dist/lui.cjs.production.min.js.map +1 -1
- package/dist/lui.css +3 -0
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +13119 -2
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/LuiIcon/LuiIcons.scss +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
## [11.1.8](https://github.com/linz/lui/compare/v11.1.7...v11.1.8) (2021-12-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Makes onChange an optional prop ([#491](https://github.com/linz/lui/issues/491)) ([38c08cf](https://github.com/linz/lui/commit/38c08cf1e11447befa0d0fa0bc30a8cf05a81818))
|
|
7
|
+
|
|
8
|
+
## [11.1.7](https://github.com/linz/lui/compare/v11.1.6...v11.1.7) (2021-12-13)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* Export Chritmas cheer ([#489](https://github.com/linz/lui/issues/489)) ([97738f9](https://github.com/linz/lui/commit/97738f9826f98e4cb9e96cd59e1cd3e97321417a))
|
|
14
|
+
|
|
15
|
+
## [11.1.6](https://github.com/linz/lui/compare/v11.1.5...v11.1.6) (2021-12-13)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* Potential fix to SSR issue ([#488](https://github.com/linz/lui/issues/488)) ([2815707](https://github.com/linz/lui/commit/2815707cb496abcb60802fbc9226fb0d07d3aa60))
|
|
21
|
+
|
|
22
|
+
## [11.1.5](https://github.com/linz/lui/compare/v11.1.4...v11.1.5) (2021-12-08)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* fixing the centering of icons in lui icons ([#487](https://github.com/linz/lui/issues/487)) ([4e52d8b](https://github.com/linz/lui/commit/4e52d8b0fe92468c3ad3f15e540cc2f6224281c2))
|
|
28
|
+
|
|
1
29
|
## [11.1.4](https://github.com/linz/lui/compare/v11.1.3...v11.1.4) (2021-12-07)
|
|
2
30
|
|
|
3
31
|
|
|
@@ -7,7 +7,7 @@ export declare type SelectOptions = {
|
|
|
7
7
|
};
|
|
8
8
|
export interface SelectProps {
|
|
9
9
|
error?: string;
|
|
10
|
-
onChange
|
|
10
|
+
onChange?: ChangeEventHandler<HTMLSelectElement>;
|
|
11
11
|
options: SelectOptions[];
|
|
12
12
|
value: string;
|
|
13
13
|
hideLabel?: boolean;
|
|
@@ -3,7 +3,7 @@ import './LuiTextAreaInput.scss';
|
|
|
3
3
|
export interface LuiTextAreaInputProps {
|
|
4
4
|
label: JSX.Element | string;
|
|
5
5
|
inputProps?: InputHTMLAttributes<HTMLTextAreaElement>;
|
|
6
|
-
onChange
|
|
6
|
+
onChange?: ChangeEventHandler<HTMLTextAreaElement>;
|
|
7
7
|
value: string;
|
|
8
8
|
error?: string | boolean;
|
|
9
9
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeEventHandler, InputHTMLAttributes } from 'react';
|
|
2
2
|
import './LuiTextInput.scss';
|
|
3
3
|
export interface LuiTextInputProps {
|
|
4
|
-
onChange
|
|
4
|
+
onChange?: ChangeEventHandler<HTMLInputElement>;
|
|
5
5
|
inputProps?: InputHTMLAttributes<HTMLInputElement>;
|
|
6
6
|
error?: string;
|
|
7
7
|
hideLabel?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeEventHandler, InputHTMLAttributes } from 'react';
|
|
2
2
|
export interface LuiRadioInputProps {
|
|
3
3
|
legend?: JSX.Element | string;
|
|
4
|
-
onChange
|
|
4
|
+
onChange?: ChangeEventHandler<HTMLInputElement>;
|
|
5
5
|
options: string[];
|
|
6
6
|
error?: string;
|
|
7
7
|
selectedValue: string;
|
|
@@ -11,4 +11,5 @@ export declare const LuiMiniSpinner: (props: LuiMiniSpinnerProps) => JSX.Element
|
|
|
11
11
|
export declare const LuiLoadingSpinner: () => JSX.Element;
|
|
12
12
|
export declare const LuiLoadingSpinnerEaster: () => JSX.Element;
|
|
13
13
|
export declare const LuiLoadingSpinnerChristmas: () => JSX.Element;
|
|
14
|
+
export declare function isChromatic(): boolean;
|
|
14
15
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export * from './components/LuiHeaderMenu/LuiHeaderMenus';
|
|
|
35
35
|
export { LuiUpdatesSplashModal } from './components/LuiUpdateSplashModal/LuiUpdatesSplashModal';
|
|
36
36
|
export { LuiModal, LuiAlertModal, LuiAlertModalButtons, } from './components/LuiModal/LuiModal';
|
|
37
37
|
export { LuiErrorPage } from './components/LuiErrorPage/LuiErrorPage';
|
|
38
|
-
export
|
|
38
|
+
export * from './components/LuiLoadingSpinner/LuiLoadingSpinner';
|
|
39
39
|
export { LOLFirmSwitcherMenu } from './components/lol/LOLFirmSwitcher';
|
|
40
40
|
export { LOLLogoutLink } from './components/lol/LOLLogoutLink';
|
|
41
41
|
export { LOLUserLastLogin } from './components/lol/LOLUserLastLogin';
|