@linzjs/lui 10.11.4 → 11.1.1
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/README.md +2 -2
- package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.d.ts +1 -0
- package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.stories.d.ts +1 -0
- package/dist/lui.cjs.development.js +1 -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 +60 -0
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +1 -1
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/base.scss +8 -0
- package/package.json +8 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
## [11.1.1](https://github.com/linz/lui/compare/v11.1.0...v11.1.1) (2021-12-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* LuiTabs scss pulled into scss compiled output ([#484](https://github.com/linz/lui/issues/484)) ([d595878](https://github.com/linz/lui/commit/d59587814512574689a8b36578432cf022f46ea2))
|
|
7
|
+
|
|
8
|
+
# [11.1.0](https://github.com/linz/lui/compare/v11.0.0...v11.1.0) (2021-12-06)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* adds custom error message to LuiFileImport ([#482](https://github.com/linz/lui/issues/482)) ([7ffaf16](https://github.com/linz/lui/commit/7ffaf168b364291ec436f4df5f91fdc869535f32))
|
|
14
|
+
|
|
15
|
+
# [11.0.0](https://github.com/linz/lui/compare/v10.11.5...v11.0.0) (2021-12-06)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* add conventionalcommits preset to dev dependencies ([b56a50f](https://github.com/linz/lui/commit/b56a50fc3d68b55354b552a29dcc7e7fbd7d396c))
|
|
21
|
+
|
|
22
|
+
## [10.11.5](https://github.com/linz/lui/compare/v10.11.4...v10.11.5) (2021-12-06)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* testing whitespace addition ([#481](https://github.com/linz/lui/issues/481)) ([5fb5d8d](https://github.com/linz/lui/commit/5fb5d8db22cac7367ffb14191ed3f705f6457213))
|
|
28
|
+
|
|
1
29
|
## [10.11.4](https://github.com/linz/lui/compare/v10.11.3...v10.11.4) (2021-12-05)
|
|
2
30
|
|
|
3
31
|
|
package/README.md
CHANGED
|
@@ -33,9 +33,9 @@ and...
|
|
|
33
33
|
|
|
34
34
|
_Lui_ is a collection of generic UI components that adhere to the new LINZ digital style guide, lead by STEP and welcoming contributions from across LINZ.
|
|
35
35
|
|
|
36
|
-
It aims to solve the problem of consistent UI across LINZ
|
|
36
|
+
It aims to solve the problem of consistent UI across LINZ while giving squads a bunch of base elements they can start using out of the box.
|
|
37
37
|
|
|
38
|
-
We aim to make each component generic, extendable, accessible, and
|
|
38
|
+
We aim to make each component generic, extendable, accessible, and amazingly great.
|
|
39
39
|
|
|
40
40
|
All styles are implemented in SASS and compiled to plain CSS. This means any team can use the CSS. A ReactJS wrapper over the CSS is part of this project.
|
|
41
41
|
|
|
@@ -4,4 +4,5 @@ declare const _default: import("@storybook/react").Meta<import("./LuiFileInputBo
|
|
|
4
4
|
export default _default;
|
|
5
5
|
export declare const LuiFileInputWithExtensionFilterDefaultSize: ComponentStory<typeof LuiFileInputBox>;
|
|
6
6
|
export declare const LuiFileInputWithExtensionFilterLargeWithExistingError: ComponentStory<typeof LuiFileInputBox>;
|
|
7
|
+
export declare const LuiFileInputWithExtensionFilterLargeWithExistingErrorCustomMessage: ComponentStory<typeof LuiFileInputBox>;
|
|
7
8
|
export declare const LuiFileInputUploadSuccessForChromatic: ComponentStory<typeof FileUploadInfo>;
|
|
@@ -6912,7 +6912,7 @@ var LuiFileInputBox = function LuiFileInputBox(props) {
|
|
|
6912
6912
|
name: "ic_error_outline",
|
|
6913
6913
|
size: 'ns',
|
|
6914
6914
|
alt: "Error"
|
|
6915
|
-
})), React__default.createElement("p", {
|
|
6915
|
+
})), props.customFileErrorMessage ? React__default.createElement("p", null, props.customFileErrorMessage) : React__default.createElement("p", {
|
|
6916
6916
|
className: "LuiFileInputBox-upload-text"
|
|
6917
6917
|
}, "You must select a file with extension of", ' ', extensionsAsHumanReadableList(props.acceptedExtensions), ".")));
|
|
6918
6918
|
};
|