@linzjs/lui 10.4.1 → 10.4.5
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/FontFace.scss +0 -4
- package/dist/components/LuiIcon/19-LuiIcon.stories.d.ts +8 -0
- package/dist/components/{common/Icons.d.ts → LuiIcon/LuiIcon.d.ts} +7 -1
- package/dist/components/LuiShadow/20-LuiShadow.stories.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/lui.cjs.development.js +314 -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 +4 -0
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +559 -247
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/Spinner/spinner.scss +7 -0
- package/dist/scss/base.scss +1 -0
- package/package.json +1 -1
- package/dist/components/LuiIcons/19-LuiIcons.stories.d.ts +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
## [10.4.5](https://github.com/linz/lui/compare/v10.4.4...v10.4.5) (2021-10-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* non exported lui icon ([#421](https://github.com/linz/lui/issues/421)) ([d0558b0](https://github.com/linz/lui/commit/d0558b015be90b9d0fc3b5fbe7766d11f97380be))
|
|
7
|
+
|
|
8
|
+
## [10.4.4](https://github.com/linz/lui/compare/v10.4.3...v10.4.4) (2021-10-03)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* create base.scss outside of scss (same level as font face) ([#420](https://github.com/linz/lui/issues/420)) ([b157076](https://github.com/linz/lui/commit/b157076ba552145ca71ac291c3f3d38d1678291a))
|
|
14
|
+
|
|
15
|
+
## [10.4.3](https://github.com/linz/lui/compare/v10.4.2...v10.4.3) (2021-10-03)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* Actually fix lui icon ([#419](https://github.com/linz/lui/issues/419)) ([225e440](https://github.com/linz/lui/commit/225e4404a1c94db0eabf36e86c8fbec2e36784c6))
|
|
21
|
+
|
|
22
|
+
## [10.4.2](https://github.com/linz/lui/compare/v10.4.1...v10.4.2) (2021-09-22)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* Use appropriate margins for p tags within LuiLoadingSpinner ([#415](https://github.com/linz/lui/issues/415)) ([7a76c09](https://github.com/linz/lui/commit/7a76c0908976b7dee06865b0fdd1189e962d58bb))
|
|
28
|
+
|
|
1
29
|
## [10.4.1](https://github.com/linz/lui/compare/v10.4.0...v10.4.1) (2021-09-21)
|
|
2
30
|
|
|
3
31
|
|
package/dist/FontFace.scss
CHANGED
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
// // // Global Font settings //
|
|
3
3
|
// // ///////////////////////////////////
|
|
4
4
|
|
|
5
|
-
// // Example code - change this in your project as you get stylin'
|
|
6
|
-
// // These definitons will get pulled in over in `Core/Type`
|
|
7
|
-
// // The file path is assuming you've shoved a fonts folder in the src, and that you've put elementary in a styles folder
|
|
8
|
-
|
|
9
5
|
@font-face {
|
|
10
6
|
font-family: 'OpenSans Light';
|
|
11
7
|
font-weight: normal;
|
|
@@ -41,12 +41,14 @@ export declare const ICONS: {
|
|
|
41
41
|
ic_warning: JSX.Element;
|
|
42
42
|
};
|
|
43
43
|
declare type IconSize = keyof typeof ICON_SIZES;
|
|
44
|
+
declare type IconStatus = keyof typeof ICON_STATUS;
|
|
44
45
|
export declare type IconName = keyof typeof ICONS;
|
|
45
46
|
interface IconProps {
|
|
46
47
|
name: IconName;
|
|
47
48
|
className?: string;
|
|
48
49
|
size?: IconSize;
|
|
49
50
|
title?: string;
|
|
51
|
+
status?: IconStatus;
|
|
50
52
|
}
|
|
51
53
|
export declare const ICON_SIZES: {
|
|
52
54
|
xs: string;
|
|
@@ -56,5 +58,9 @@ export declare const ICON_SIZES: {
|
|
|
56
58
|
xl: string;
|
|
57
59
|
ns: string;
|
|
58
60
|
};
|
|
59
|
-
export declare const
|
|
61
|
+
export declare const ICON_STATUS: {
|
|
62
|
+
error: string;
|
|
63
|
+
warning: string;
|
|
64
|
+
};
|
|
65
|
+
export declare const LuiIcon: ({ name, className, size, title, status, }: IconProps) => JSX.Element | null;
|
|
60
66
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export { LuiRadioButton } from './components/LuiForms/LuiRadioButton/LuiRadioBut
|
|
|
16
16
|
export { LuiRadioGroup } from './components/LuiForms/LuiRadioGroup/LuiRadioGroup';
|
|
17
17
|
export { LuiFormSubmitButton } from './components/LuiForms/LuiFormSubmitButton/LuiFormSubmitButton';
|
|
18
18
|
export { LuiSelect } from './components/LuiForms/LuiSelect/LuiSelect';
|
|
19
|
+
export { LuiIcon } from './components/LuiIcon/LuiIcon';
|
|
19
20
|
export { LuiBearingFormikInput, LuiBearingInput, } from './components/LuiBearingInput/LuiBearingInput';
|
|
20
21
|
export { LuiFooter } from './components/LuiFooter/LuiFooter';
|
|
21
22
|
export * from './components/LuiHeader/LuiHeader';
|
|
@@ -832,6 +832,316 @@ var LuiSelect = /*#__PURE__*/formik.connect(function (props) {
|
|
|
832
832
|
})));
|
|
833
833
|
});
|
|
834
834
|
|
|
835
|
+
// NOTE: This is a generated file, nothing you do here matters
|
|
836
|
+
|
|
837
|
+
var ic_account_circle = /*#__PURE__*/React__default.createElement("svg", {
|
|
838
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
839
|
+
viewBox: "0 0 24 24"
|
|
840
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
841
|
+
d: "M12 19.219q1.594 0 3.352-.938T18 15.984q-.047-1.313-2.109-2.203T12 12.89t-3.891.867T6 15.984q.891 1.359 2.648 2.297t3.352.938zm0-14.203q-1.219 0-2.109.891T9 8.016t.891 2.109 2.109.891 2.109-.891T15 8.016t-.891-2.109T12 5.016zm0-3q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016z"
|
|
842
|
+
}));
|
|
843
|
+
var ic_add_circle = /*#__PURE__*/React__default.createElement("svg", {
|
|
844
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
845
|
+
viewBox: "0 0 24 24"
|
|
846
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
847
|
+
d: "M17.016 12.984v-1.969h-4.031V6.984h-1.969v4.031H6.985v1.969h4.031v4.031h1.969v-4.031h4.031zM12 2.016q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016z"
|
|
848
|
+
}));
|
|
849
|
+
var ic_add_circle_outline = /*#__PURE__*/React__default.createElement("svg", {
|
|
850
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
851
|
+
viewBox: "0 0 24 24"
|
|
852
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
853
|
+
d: "M12 20.016q3.281 0 5.648-2.367t2.367-5.648-2.367-5.648T12 3.986 6.352 6.353t-2.367 5.648 2.367 5.648T12 20.016zm0-18q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016zm.984 4.968v4.031h4.031v1.969h-4.031v4.031h-1.969v-4.031H6.984v-1.969h4.031V6.984h1.969z"
|
|
854
|
+
}));
|
|
855
|
+
var ic_arrow_back = /*#__PURE__*/React__default.createElement("svg", {
|
|
856
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
857
|
+
viewBox: "0 0 24 24"
|
|
858
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
859
|
+
d: "M20.016 11.016v1.969H7.828l5.578 5.625L12 20.016 3.984 12 12 3.984l1.406 1.406-5.578 5.625h12.188z"
|
|
860
|
+
}));
|
|
861
|
+
var ic_arrow_back_ios = /*#__PURE__*/React__default.createElement("svg", {
|
|
862
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
863
|
+
viewBox: "0 0 24 24"
|
|
864
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
865
|
+
d: "M17.836 3.891 9.727 12l8.109 8.109-1.781 1.781-9.891-9.891 9.891-9.891z"
|
|
866
|
+
}));
|
|
867
|
+
var ic_arrow_drop_down = /*#__PURE__*/React__default.createElement("svg", {
|
|
868
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
869
|
+
viewBox: "0 0 24 24"
|
|
870
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
871
|
+
d: "M6.984 9.492h10.031l-5.016 5.016z"
|
|
872
|
+
}));
|
|
873
|
+
var ic_arrow_drop_up = /*#__PURE__*/React__default.createElement("svg", {
|
|
874
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
875
|
+
viewBox: "0 0 24 24"
|
|
876
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
877
|
+
d: "M6.984 14.508 12 9.492l5.016 5.016H6.985z"
|
|
878
|
+
}));
|
|
879
|
+
var ic_arrow_forward_ios = /*#__PURE__*/React__default.createElement("svg", {
|
|
880
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
881
|
+
viewBox: "0 0 24 24"
|
|
882
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
883
|
+
d: "m5.93 4.125 2.156-2.109L18.07 12l-9.984 9.984-2.156-2.109L13.852 12z"
|
|
884
|
+
}));
|
|
885
|
+
var ic_attachment = /*#__PURE__*/React__default.createElement("svg", {
|
|
886
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
887
|
+
viewBox: "0 0 24 24"
|
|
888
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
889
|
+
d: "M2.016 12.023q0-2.297 1.594-3.914t3.891-1.617h10.5q1.641 0 2.813 1.195t1.172 2.836-1.172 2.813-2.813 1.172H9.517q-1.031 0-1.781-.727t-.75-1.758.75-1.781 1.781-.75h7.5v2.016H9.423q-.422 0-.422.492t.422.492h8.578q.797 0 1.406-.586t.609-1.383-.609-1.406-1.406-.609h-10.5q-1.453 0-2.484 1.031t-1.031 2.484 1.031 2.461 2.484 1.008h9.516v2.016H7.501q-2.297 0-3.891-1.594t-1.594-3.891z"
|
|
890
|
+
}));
|
|
891
|
+
var ic_border_color = /*#__PURE__*/React__default.createElement("svg", {
|
|
892
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
893
|
+
viewBox: "0 0 24 24"
|
|
894
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
895
|
+
d: "M0 20.016h24V24H0v-3.984zM20.719 4.031 18.75 6 15 2.25 16.969.281Q17.25 0 17.672 0t.703.281l2.344 2.344q.281.281.281.703t-.281.703zm-2.953 2.953L7.735 17.015h-3.75v-3.75L14.016 3.234z"
|
|
896
|
+
}));
|
|
897
|
+
var ic_check = /*#__PURE__*/React__default.createElement("svg", {
|
|
898
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
899
|
+
viewBox: "0 0 24 24"
|
|
900
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
901
|
+
d: "M8.789 15.891 19.383 5.297l1.406 1.406-12 12-5.578-5.578 1.406-1.406z"
|
|
902
|
+
}));
|
|
903
|
+
var ic_check_circle = /*#__PURE__*/React__default.createElement("svg", {
|
|
904
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
905
|
+
viewBox: "0 0 24 24"
|
|
906
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
907
|
+
d: "m9.984 17.016 9-9-1.406-1.453-7.594 7.594-3.563-3.563L5.015 12zm2.016-15q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016z"
|
|
908
|
+
}));
|
|
909
|
+
var ic_check_circle_outline = /*#__PURE__*/React__default.createElement("svg", {
|
|
910
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
911
|
+
viewBox: "0 0 24 24"
|
|
912
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
913
|
+
d: "M12 20.016q3.281 0 5.648-2.367t2.367-5.648-2.367-5.648T12 3.986 6.352 6.353t-2.367 5.648 2.367 5.648T12 20.016zm0-18q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016zm4.594 5.578L18 9l-8.016 8.016L5.015 12l1.406-1.406 3.563 3.563z"
|
|
914
|
+
}));
|
|
915
|
+
var ic_clear = /*#__PURE__*/React__default.createElement("svg", {
|
|
916
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
917
|
+
viewBox: "0 0 24 24"
|
|
918
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
919
|
+
d: "M18.984 6.422 13.406 12l5.578 5.578-1.406 1.406L12 13.406l-5.578 5.578-1.406-1.406L10.594 12 5.016 6.422l1.406-1.406L12 10.594l5.578-5.578z"
|
|
920
|
+
}));
|
|
921
|
+
var ic_corporate_fare = /*#__PURE__*/React__default.createElement("svg", {
|
|
922
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
923
|
+
viewBox: "0 0 24 24"
|
|
924
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
925
|
+
d: "M12 6.984V3H2.016v18h19.969V6.984h-9.984zm-2.016 12h-6v-1.969h6v1.969zm0-3.984h-6v-2.016h6V15zm0-3.984h-6V9h6v2.016zm0-4.032h-6V5.015h6v1.969zm10.032 12H12V9h8.016v9.984zM18 11.016h-3.984v1.969H18v-1.969zM18 15h-3.984v2.016H18V15z"
|
|
926
|
+
}));
|
|
927
|
+
var ic_create = /*#__PURE__*/React__default.createElement("svg", {
|
|
928
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
929
|
+
viewBox: "0 0 24 24"
|
|
930
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
931
|
+
d: "m20.719 7.031-1.828 1.828-3.75-3.75 1.828-1.828Q17.25 3 17.672 3t.703.281l2.344 2.344q.281.281.281.703t-.281.703zM3 17.25 14.063 6.187l3.75 3.75L6.75 21H3v-3.75z"
|
|
932
|
+
}));
|
|
933
|
+
var ic_error = /*#__PURE__*/React__default.createElement("svg", {
|
|
934
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
935
|
+
viewBox: "0 0 24 24"
|
|
936
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
937
|
+
d: "M12.984 12.984v-6h-1.969v6h1.969zm0 4.032V15h-1.969v2.016h1.969zm-.984-15q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016z"
|
|
938
|
+
}));
|
|
939
|
+
var ic_error_outline = /*#__PURE__*/React__default.createElement("svg", {
|
|
940
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
941
|
+
viewBox: "0 0 24 24"
|
|
942
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
943
|
+
d: "M12 20.016q3.281 0 5.648-2.367t2.367-5.648-2.367-5.648T12 3.986 6.352 6.353t-2.367 5.648 2.367 5.648T12 20.016zm0-18q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016zm-.984 4.968h1.969v6h-1.969v-6zm0 8.016h1.969v2.016h-1.969V15z"
|
|
944
|
+
}));
|
|
945
|
+
var ic_expand_less = /*#__PURE__*/React__default.createElement("svg", {
|
|
946
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
947
|
+
viewBox: "0 0 24 24"
|
|
948
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
949
|
+
d: "m12 8.297 6 6-1.406 1.406L12 11.109l-4.594 4.594L6 14.297z"
|
|
950
|
+
}));
|
|
951
|
+
var ic_expand_more = /*#__PURE__*/React__default.createElement("svg", {
|
|
952
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
953
|
+
viewBox: "0 0 24 24"
|
|
954
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
955
|
+
d: "M16.594 8.297 18 9.703l-6 6-6-6 1.406-1.406L12 12.891z"
|
|
956
|
+
}));
|
|
957
|
+
var ic_filter_list = /*#__PURE__*/React__default.createElement("svg", {
|
|
958
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
959
|
+
viewBox: "0 0 24 24"
|
|
960
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
961
|
+
d: "M6 12.984v-1.969h12v1.969H6zM3 6h18v2.016H3V6zm6.984 12v-2.016h4.031V18H9.984z"
|
|
962
|
+
}));
|
|
963
|
+
var ic_flag = /*#__PURE__*/React__default.createElement("svg", {
|
|
964
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
965
|
+
viewBox: "0 0 24 24"
|
|
966
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
967
|
+
d: "M13.875 5.508H19.5v9.984h-7.031l-.375-1.969H6.469v6.984H4.5V3.491h9z"
|
|
968
|
+
}));
|
|
969
|
+
var ic_forward = /*#__PURE__*/React__default.createElement("svg", {
|
|
970
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
971
|
+
viewBox: "0 0 24 24"
|
|
972
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
973
|
+
d: "M12 8.016V3.985l8.016 8.016L12 20.017v-4.031H3.984V8.017H12z"
|
|
974
|
+
}));
|
|
975
|
+
var ic_insert_invitation = /*#__PURE__*/React__default.createElement("svg", {
|
|
976
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
977
|
+
viewBox: "0 0 24 24"
|
|
978
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
979
|
+
d: "M18.984 19.992V9.023H5.015v10.969h13.969zm-3-18H18v2.016h.984q.797 0 1.406.609t.609 1.406v13.969q0 .797-.609 1.406t-1.406.609H5.015q-.844 0-1.43-.586t-.586-1.43V6.022q0-.797.586-1.406t1.43-.609h.984V1.991h2.016v2.016h7.969V1.991zm1.032 11.016v5.016H12v-5.016h5.016z"
|
|
980
|
+
}));
|
|
981
|
+
var ic_insert_photo = /*#__PURE__*/React__default.createElement("svg", {
|
|
982
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
983
|
+
viewBox: "0 0 24 24"
|
|
984
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
985
|
+
d: "M8.484 13.5 5.015 18h13.969l-4.5-6-3.469 4.5zM21 18.984q0 .797-.609 1.406t-1.406.609H5.016q-.797 0-1.406-.609t-.609-1.406V5.015q0-.797.609-1.406T5.016 3h13.969q.797 0 1.406.609T21 5.015v13.969z"
|
|
986
|
+
}));
|
|
987
|
+
var ic_keyboard_arrow_down = /*#__PURE__*/React__default.createElement("svg", {
|
|
988
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
989
|
+
viewBox: "0 0 24 24"
|
|
990
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
991
|
+
d: "M7.406 8.297 12 12.891l4.594-4.594L18 9.703l-6 6-6-6z"
|
|
992
|
+
}));
|
|
993
|
+
var ic_keyboard_arrow_left = /*#__PURE__*/React__default.createElement("svg", {
|
|
994
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
995
|
+
viewBox: "0 0 24 24"
|
|
996
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
997
|
+
d: "M15.703 16.594 14.297 18l-6-6 6-6 1.406 1.406L11.109 12z"
|
|
998
|
+
}));
|
|
999
|
+
var ic_keyboard_arrow_right = /*#__PURE__*/React__default.createElement("svg", {
|
|
1000
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1001
|
+
viewBox: "0 0 24 24"
|
|
1002
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1003
|
+
d: "M8.297 16.594 12.891 12 8.297 7.406 9.703 6l6 6-6 6z"
|
|
1004
|
+
}));
|
|
1005
|
+
var ic_keyboard_arrow_up = /*#__PURE__*/React__default.createElement("svg", {
|
|
1006
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1007
|
+
viewBox: "0 0 24 24"
|
|
1008
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1009
|
+
d: "M7.406 15.703 6 14.297l6-6 6 6-1.406 1.406L12 11.109z"
|
|
1010
|
+
}));
|
|
1011
|
+
var ic_navigate_before = /*#__PURE__*/React__default.createElement("svg", {
|
|
1012
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1013
|
+
viewBox: "0 0 24 24"
|
|
1014
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1015
|
+
d: "M15.703 7.406 11.109 12l4.594 4.594L14.297 18l-6-6 6-6z"
|
|
1016
|
+
}));
|
|
1017
|
+
var ic_navigate_next = /*#__PURE__*/React__default.createElement("svg", {
|
|
1018
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1019
|
+
viewBox: "0 0 24 24"
|
|
1020
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1021
|
+
d: "m9.703 6 6 6-6 6-1.406-1.406L12.891 12 8.297 7.406z"
|
|
1022
|
+
}));
|
|
1023
|
+
var ic_people_outline = /*#__PURE__*/React__default.createElement("svg", {
|
|
1024
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1025
|
+
viewBox: "0 0 24 24"
|
|
1026
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1027
|
+
d: "M16.5 6.516q-.797 0-1.406.586t-.609 1.383.609 1.406 1.406.609 1.406-.609.609-1.406-.609-1.383-1.406-.586zm0 5.484q-1.453 0-2.484-1.031t-1.031-2.484 1.031-2.461T16.5 5.016t2.484 1.008 1.031 2.461-1.031 2.484T16.5 12zm-9-5.484q-.797 0-1.406.586t-.609 1.383.609 1.406T7.5 10.5t1.406-.609.609-1.406-.609-1.383T7.5 6.516zM7.5 12q-1.453 0-2.484-1.031T3.985 8.485t1.031-2.461T7.5 5.016t2.484 1.008 1.031 2.461-1.031 2.484T7.5 12zm14.016 5.484v-1.219q0-.469-1.664-1.125t-3.352-.656q-1.219 0-3 .563.516.609.516 1.219v1.219h7.5zm-9 0v-1.219q0-.469-1.664-1.125T7.5 14.484t-3.352.656-1.664 1.125v1.219h10.031zm3.984-4.5q2.016 0 4.266.914t2.25 2.367v2.719H.985v-2.719q0-1.453 2.25-2.367t4.266-.914q2.203 0 4.5 1.031 2.297-1.031 4.5-1.031z"
|
|
1028
|
+
}));
|
|
1029
|
+
var ic_person = /*#__PURE__*/React__default.createElement("svg", {
|
|
1030
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1031
|
+
viewBox: "0 0 24 24"
|
|
1032
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1033
|
+
d: "M12 14.016q2.531 0 5.273 1.102t2.742 2.883v2.016H3.984v-2.016q0-1.781 2.742-2.883t5.273-1.102zM12 12q-1.641 0-2.813-1.172T8.015 8.015t1.172-2.836T12 3.984t2.813 1.195 1.172 2.836-1.172 2.813T12 12z"
|
|
1034
|
+
}));
|
|
1035
|
+
var ic_person_add = /*#__PURE__*/React__default.createElement("svg", {
|
|
1036
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1037
|
+
viewBox: "0 0 24 24"
|
|
1038
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1039
|
+
d: "M15 14.016q2.531 0 5.273 1.102t2.742 2.883v2.016H6.984v-2.016q0-1.781 2.742-2.883t5.273-1.102zM6 9.984h3V12H6v3H3.984v-3h-3V9.984h3v-3H6v3zM15 12q-1.641 0-2.813-1.172t-1.172-2.813 1.172-2.836T15 3.984t2.813 1.195 1.172 2.836-1.172 2.813T15 12z"
|
|
1040
|
+
}));
|
|
1041
|
+
var ic_remove_circle = /*#__PURE__*/React__default.createElement("svg", {
|
|
1042
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1043
|
+
viewBox: "0 0 24 24"
|
|
1044
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1045
|
+
d: "M17.016 12.984v-1.969H6.985v1.969h10.031zM12 2.016q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016z"
|
|
1046
|
+
}));
|
|
1047
|
+
var ic_remove_circle_outline = /*#__PURE__*/React__default.createElement("svg", {
|
|
1048
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1049
|
+
viewBox: "0 0 24 24"
|
|
1050
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1051
|
+
d: "M12 20.016q3.281 0 5.648-2.367t2.367-5.648-2.367-5.648T12 3.986 6.352 6.353t-2.367 5.648 2.367 5.648T12 20.016zm0-18q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055T12 21.986t-7.055-2.93-2.93-7.055 2.93-7.055T12 2.016zm-5.016 9h10.031v1.969H6.984v-1.969z"
|
|
1052
|
+
}));
|
|
1053
|
+
var ic_send = /*#__PURE__*/React__default.createElement("svg", {
|
|
1054
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1055
|
+
viewBox: "0 0 24 24"
|
|
1056
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1057
|
+
d: "M1.5 21v-6.984L16.5 12l-15-2.016V3l21 9z"
|
|
1058
|
+
}));
|
|
1059
|
+
var ic_view_week = /*#__PURE__*/React__default.createElement("svg", {
|
|
1060
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1061
|
+
viewBox: "0 0 24 24"
|
|
1062
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1063
|
+
d: "M13.476 5.016q.422 0 .727.281t.305.703v12q0 .422-.305.703t-.727.281h-3q-.422 0-.703-.281T9.492 18V6q0-.422.281-.703t.703-.281h3zm7.032 0q.422 0 .703.281t.281.703v12q0 .422-.281.703t-.703.281h-3q-.422 0-.727-.281T16.476 18V6q0-.422.305-.703t.727-.281h3zm-14.016 0q.422 0 .703.281T7.476 6v12q0 .422-.281.703t-.703.281h-3q-.422 0-.703-.281T2.508 18V6q0-.422.281-.703t.703-.281h3z"
|
|
1064
|
+
}));
|
|
1065
|
+
var ic_warning = /*#__PURE__*/React__default.createElement("svg", {
|
|
1066
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1067
|
+
viewBox: "0 0 24 24"
|
|
1068
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
1069
|
+
d: "M12.984 14.508v-4.031h-1.969v4.031h1.969zm0 3.984v-2.016h-1.969v2.016h1.969zm-12 3L12 2.508l11.016 18.984H.985z"
|
|
1070
|
+
})); // END OF FILE
|
|
1071
|
+
|
|
1072
|
+
var ICONS = {
|
|
1073
|
+
ic_account_circle: ic_account_circle,
|
|
1074
|
+
ic_add_circle_outline: ic_add_circle_outline,
|
|
1075
|
+
ic_add_circle: ic_add_circle,
|
|
1076
|
+
ic_arrow_back_ios: ic_arrow_back_ios,
|
|
1077
|
+
ic_arrow_back: ic_arrow_back,
|
|
1078
|
+
ic_arrow_drop_down: ic_arrow_drop_down,
|
|
1079
|
+
ic_arrow_drop_up: ic_arrow_drop_up,
|
|
1080
|
+
ic_arrow_forward_ios: ic_arrow_forward_ios,
|
|
1081
|
+
ic_attachment: ic_attachment,
|
|
1082
|
+
ic_border_color: ic_border_color,
|
|
1083
|
+
ic_check_circle_outline: ic_check_circle_outline,
|
|
1084
|
+
ic_check_circle: ic_check_circle,
|
|
1085
|
+
ic_check: ic_check,
|
|
1086
|
+
ic_clear: ic_clear,
|
|
1087
|
+
ic_corporate_fare: ic_corporate_fare,
|
|
1088
|
+
ic_create: ic_create,
|
|
1089
|
+
ic_error_outline: ic_error_outline,
|
|
1090
|
+
ic_error: ic_error,
|
|
1091
|
+
ic_expand_less: ic_expand_less,
|
|
1092
|
+
ic_expand_more: ic_expand_more,
|
|
1093
|
+
ic_filter_list: ic_filter_list,
|
|
1094
|
+
ic_flag: ic_flag,
|
|
1095
|
+
ic_forward: ic_forward,
|
|
1096
|
+
ic_insert_invitation: ic_insert_invitation,
|
|
1097
|
+
ic_insert_photo: ic_insert_photo,
|
|
1098
|
+
ic_keyboard_arrow_down: ic_keyboard_arrow_down,
|
|
1099
|
+
ic_keyboard_arrow_left: ic_keyboard_arrow_left,
|
|
1100
|
+
ic_keyboard_arrow_right: ic_keyboard_arrow_right,
|
|
1101
|
+
ic_keyboard_arrow_up: ic_keyboard_arrow_up,
|
|
1102
|
+
ic_navigate_before: ic_navigate_before,
|
|
1103
|
+
ic_navigate_next: ic_navigate_next,
|
|
1104
|
+
ic_people_outline: ic_people_outline,
|
|
1105
|
+
ic_person_add: ic_person_add,
|
|
1106
|
+
ic_person: ic_person,
|
|
1107
|
+
ic_remove_circle_outline: ic_remove_circle_outline,
|
|
1108
|
+
ic_remove_circle: ic_remove_circle,
|
|
1109
|
+
ic_send: ic_send,
|
|
1110
|
+
ic_view_week: ic_view_week,
|
|
1111
|
+
ic_warning: ic_warning
|
|
1112
|
+
};
|
|
1113
|
+
var ICON_SIZES = {
|
|
1114
|
+
xs: 'LuiIcon--xs',
|
|
1115
|
+
sm: 'LuiIcon--sm',
|
|
1116
|
+
md: 'LuiIcon--md',
|
|
1117
|
+
lg: 'LuiIcon--lg',
|
|
1118
|
+
xl: 'LuiIcon--xl',
|
|
1119
|
+
ns: 'LuiIcon--noSize'
|
|
1120
|
+
};
|
|
1121
|
+
var ICON_STATUS = {
|
|
1122
|
+
error: 'LuiIcon--error',
|
|
1123
|
+
warning: 'LuiIcon--warning'
|
|
1124
|
+
};
|
|
1125
|
+
var LuiIcon = function LuiIcon(_ref) {
|
|
1126
|
+
var name = _ref.name,
|
|
1127
|
+
className = _ref.className,
|
|
1128
|
+
size = _ref.size,
|
|
1129
|
+
title = _ref.title,
|
|
1130
|
+
status = _ref.status;
|
|
1131
|
+
var iconSVG = ICONS[name];
|
|
1132
|
+
|
|
1133
|
+
if (!iconSVG) {
|
|
1134
|
+
console.warn("No icon found for: " + iconSVG);
|
|
1135
|
+
return null;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
return React.createElement("span", {
|
|
1139
|
+
className: clsx('LuiIcon', className, size && ICON_SIZES[size], status && ICON_STATUS[status]),
|
|
1140
|
+
"data-icon": name,
|
|
1141
|
+
title: title
|
|
1142
|
+
}, iconSVG);
|
|
1143
|
+
};
|
|
1144
|
+
|
|
835
1145
|
var LuiBearingInput = function LuiBearingInput(props) {
|
|
836
1146
|
var maxDecimal = 1;
|
|
837
1147
|
var maxAfterDP = 4 + maxDecimal;
|
|
@@ -4809,7 +5119,9 @@ var LuiLoadingSpinnerBase = function LuiLoadingSpinnerBase(props) {
|
|
|
4809
5119
|
|
|
4810
5120
|
|
|
4811
5121
|
var LuiStatusSpinner = function LuiStatusSpinner(props) {
|
|
4812
|
-
return React__default.createElement("div",
|
|
5122
|
+
return React__default.createElement("div", {
|
|
5123
|
+
className: 'LuiStatusSpinner'
|
|
5124
|
+
}, React__default.createElement(LuiLoadingSpinner, null), React__default.createElement("div", {
|
|
4813
5125
|
style: {
|
|
4814
5126
|
position: 'absolute',
|
|
4815
5127
|
top: '50%',
|
|
@@ -6519,6 +6831,7 @@ exports.LuiFormSubmitButton = LuiFormSubmitButton;
|
|
|
6519
6831
|
exports.LuiFormikForm = LuiFormikForm;
|
|
6520
6832
|
exports.LuiHeader = LuiHeader;
|
|
6521
6833
|
exports.LuiHeaderMenuItem = LuiHeaderMenuItem;
|
|
6834
|
+
exports.LuiIcon = LuiIcon;
|
|
6522
6835
|
exports.LuiLoadingSpinner = LuiLoadingSpinner;
|
|
6523
6836
|
exports.LuiMenu = LuiMenu;
|
|
6524
6837
|
exports.LuiMenuCloseButton = LuiMenuCloseButton;
|