@linzjs/lui 17.24.0 → 17.25.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 +9 -0
- package/README.md +1 -1
- package/dist/assets/icons/package.svg +1 -0
- package/dist/assets/icons/plus_one.svg +1 -0
- package/dist/assets/svg-content.d.ts +1 -1
- package/dist/assets/svg-content.tsx +29 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -1
- package/dist/lui.esm.js +13 -0
- package/dist/lui.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [17.25.1](https://github.com/linz/lui/compare/v17.25.0...v17.25.1) (2023-01-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* trigger deploy as deployed storybook is broken ([0e152f5](https://github.com/linz/lui/commit/0e152f5e4db36110c174ed243f44d70212cb280d))
|
|
7
|
+
|
|
8
|
+
# [17.25.0](https://github.com/linz/lui/compare/v17.24.0...v17.25.0) (2022-12-13)
|
|
9
|
+
|
|
1
10
|
# [17.24.0](https://github.com/linz/lui/compare/v17.23.2...v17.24.0) (2022-12-02)
|
|
2
11
|
|
|
3
12
|
## [17.23.2](https://github.com/linz/lui/compare/v17.23.1...v17.23.2) (2022-11-27)
|
package/README.md
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)" fill="#000"><path d="M20 2H4c-1 0-2 .9-2 2v3.01c0 .72.43 1.34 1 1.69V20c0 1.1 1.1 2 2 2h14c.9 0 2-.9 2-2V8.7c.57-.35 1-.97 1-1.69V4c0-1.1-1-2-2-2Zm-1 18H5V9h14v11Zm1-13H4V4h16v3Z"/><path d="M15 12H9v2h6v-2Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h24v24H0z"/></clipPath></defs></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path d="M10 8H8v4H4v2h4v4h2v-4h4v-2h-4V8Zm4.5-1.92V7.9l2.5-.5V18h2V5l-4.5 1.08Z" fill="#000"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h24v24H0z"/></clipPath></defs></svg>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare type LuiIconName = string | 'ic_account_circle' | 'ic_add' | 'ic_add_adopt' | 'ic_add_area_interest' | 'ic_add_circle' | 'ic_add_circle_outline' | 'ic_add_irregular_image' | 'ic_add_multiple' | 'ic_add_to_list' | 'ic_annotations' | 'ic_apps' | 'ic_arrow_back' | 'ic_arrow_back_ios' | 'ic_arrow_back_left' | 'ic_arrow_drop_down' | 'ic_arrow_drop_right' | 'ic_arrow_drop_up' | 'ic_arrow_forward_ios' | 'ic_arrow_forward_right' | 'ic_attach_file' | 'ic_attachment' | 'ic_auth_and_instruct' | 'ic_balance_parcel' | 'ic_blackwhite_greyscale' | 'ic_blocked' | 'ic_border_color' | 'ic_cancel_clear' | 'ic_certify_and_sign' | 'ic_change_password' | 'ic_check' | 'ic_check_circle' | 'ic_check_circle_outline' | 'ic_checklist' | 'ic_clear' | 'ic_columns' | 'ic_control_point' | 'ic_copy' | 'ic_corporate_fare' | 'ic_create' | 'ic_dealings' | 'ic_delete_outline' | 'ic_delete_solid' | 'ic_dollar_round' | 'ic_double_arrow_left' | 'ic_double_arrow_right' | 'ic_double_tick' | 'ic_drag_handle' | 'ic_drag_indicator' | 'ic_draw_irregular_line' | 'ic_enabled_users' | 'ic_error' | 'ic_error_outline' | 'ic_expand_less' | 'ic_expand_more' | 'ic_feedback_lightbulb' | 'ic_feedback_lightbulb_alt' | 'ic_file_attached' | 'ic_file_attached_outline' | 'ic_filter_list' | 'ic_flag' | 'ic_forward' | 'ic_fullscreen_frame' | 'ic_grid_view' | 'ic_history' | 'ic_hourglass' | 'ic_info' | 'ic_info_outline' | 'ic_insert_invitation' | 'ic_insert_photo' | 'ic_instruments_roles' | 'ic_keyboard_arrow_down' | 'ic_keyboard_arrow_left' | 'ic_keyboard_arrow_right' | 'ic_keyboard_arrow_up' | 'ic_launch_modal' | 'ic_launch_new window_open' | 'ic_layers' | 'ic_left' | 'ic_left_col' | 'ic_line_arc' | 'ic_line_irregular' | 'ic_line_vector' | 'ic_link' | 'ic_list_add' | 'ic_locate' | 'ic_lock' | 'ic_lock_alt' | 'ic_log_out' | 'ic_manage_adjust' | 'ic_maori_land' | 'ic_mark_linking' | 'ic_marks' | 'ic_memorials' | 'ic_menu' | 'ic_message_received' | 'ic_minimise' | 'ic_misclose_error' | 'ic_more_vert' | 'ic_navigate_before' | 'ic_navigate_next' | 'ic_note_add' | 'ic_notice_of_change' | 'ic_numbered_list' | 'ic_office_building_corporate' | 'ic_order_history' | 'ic_parcels_existing' | 'ic_parcels_new' | 'ic_pdf' | 'ic_pen_and_paper_sign' | 'ic_people_outline' | 'ic_person' | 'ic_person_add' | 'ic_picker' | 'ic_placeholder' | 'ic_polygon_selection' | 'ic_pop_back' | 'ic_pre_validation' | 'ic_print' | 'ic_product_list' | 'ic_publish' | 'ic_regenerate' | 'ic_release' | 'ic_remove_circle' | 'ic_remove_circle_outline' | 'ic_request' | 'ic_requisitions' | 'ic_round_selection' | 'ic_save_download' | 'ic_saved_area_interest' | 'ic_search' | 'ic_send' | 'ic_send_email_dart' | 'ic_separator' | 'ic_sorting_down_arrow_up' | 'ic_sorting_up_arrow_up' | 'ic_square_selection' | 'ic_subdirectory_arrow_right' | 'ic_submit' | 'ic_survey' | 'ic_survey_report' | 'ic_ta_request_sent' | 'ic_table_columns' | 'ic_tax_statement' | 'ic_tick' | 'ic_tick_and_cross' | 'ic_timeline' | 'ic_title_allocation_swap' | 'ic_tune_setting_configure' | 'ic_unlink' | 'ic_upload' | 'ic_vector' | 'ic_vector_sequence' | 'ic_view' | 'ic_view_list' | 'ic_view_quilt' | 'ic_view_sidebar' | 'ic_view_week' | 'ic_visiblity_off' | 'ic_warning' | 'ic_warning_outline' | 'ic_waves' | 'ic_whats_new_updates' | 'ic_xml_file' | 'ic_zoom_centre' | 'ic_zoom_out' | 'ic_zoom_previous';
|
|
2
|
+
export declare type LuiIconName = string | 'ic_account_circle' | 'ic_add' | 'ic_add_adopt' | 'ic_add_area_interest' | 'ic_add_circle' | 'ic_add_circle_outline' | 'ic_add_irregular_image' | 'ic_add_multiple' | 'ic_add_to_list' | 'ic_annotations' | 'ic_apps' | 'ic_arrow_back' | 'ic_arrow_back_ios' | 'ic_arrow_back_left' | 'ic_arrow_drop_down' | 'ic_arrow_drop_right' | 'ic_arrow_drop_up' | 'ic_arrow_forward_ios' | 'ic_arrow_forward_right' | 'ic_attach_file' | 'ic_attachment' | 'ic_auth_and_instruct' | 'ic_balance_parcel' | 'ic_blackwhite_greyscale' | 'ic_blocked' | 'ic_border_color' | 'ic_cancel_clear' | 'ic_certify_and_sign' | 'ic_change_password' | 'ic_check' | 'ic_check_circle' | 'ic_check_circle_outline' | 'ic_checklist' | 'ic_clear' | 'ic_columns' | 'ic_control_point' | 'ic_copy' | 'ic_corporate_fare' | 'ic_create' | 'ic_dealings' | 'ic_delete_outline' | 'ic_delete_solid' | 'ic_dollar_round' | 'ic_double_arrow_left' | 'ic_double_arrow_right' | 'ic_double_tick' | 'ic_drag_handle' | 'ic_drag_indicator' | 'ic_draw_irregular_line' | 'ic_enabled_users' | 'ic_error' | 'ic_error_outline' | 'ic_expand_less' | 'ic_expand_more' | 'ic_feedback_lightbulb' | 'ic_feedback_lightbulb_alt' | 'ic_file_attached' | 'ic_file_attached_outline' | 'ic_filter_list' | 'ic_flag' | 'ic_forward' | 'ic_fullscreen_frame' | 'ic_grid_view' | 'ic_history' | 'ic_hourglass' | 'ic_info' | 'ic_info_outline' | 'ic_insert_invitation' | 'ic_insert_photo' | 'ic_instruments_roles' | 'ic_keyboard_arrow_down' | 'ic_keyboard_arrow_left' | 'ic_keyboard_arrow_right' | 'ic_keyboard_arrow_up' | 'ic_launch_modal' | 'ic_launch_new window_open' | 'ic_layers' | 'ic_left' | 'ic_left_col' | 'ic_line_arc' | 'ic_line_irregular' | 'ic_line_vector' | 'ic_link' | 'ic_list_add' | 'ic_locate' | 'ic_lock' | 'ic_lock_alt' | 'ic_log_out' | 'ic_manage_adjust' | 'ic_maori_land' | 'ic_mark_linking' | 'ic_marks' | 'ic_memorials' | 'ic_menu' | 'ic_message_received' | 'ic_minimise' | 'ic_misclose_error' | 'ic_more_vert' | 'ic_navigate_before' | 'ic_navigate_next' | 'ic_note_add' | 'ic_notice_of_change' | 'ic_numbered_list' | 'ic_office_building_corporate' | 'ic_order_history' | 'ic_package' | 'ic_parcels_existing' | 'ic_parcels_new' | 'ic_pdf' | 'ic_pen_and_paper_sign' | 'ic_people_outline' | 'ic_person' | 'ic_person_add' | 'ic_picker' | 'ic_placeholder' | 'ic_plus_one' | 'ic_polygon_selection' | 'ic_pop_back' | 'ic_pre_validation' | 'ic_print' | 'ic_product_list' | 'ic_publish' | 'ic_regenerate' | 'ic_release' | 'ic_remove_circle' | 'ic_remove_circle_outline' | 'ic_request' | 'ic_requisitions' | 'ic_round_selection' | 'ic_save_download' | 'ic_saved_area_interest' | 'ic_search' | 'ic_send' | 'ic_send_email_dart' | 'ic_separator' | 'ic_sorting_down_arrow_up' | 'ic_sorting_up_arrow_up' | 'ic_square_selection' | 'ic_subdirectory_arrow_right' | 'ic_submit' | 'ic_survey' | 'ic_survey_report' | 'ic_ta_request_sent' | 'ic_table_columns' | 'ic_tax_statement' | 'ic_tick' | 'ic_tick_and_cross' | 'ic_timeline' | 'ic_title_allocation_swap' | 'ic_tune_setting_configure' | 'ic_unlink' | 'ic_upload' | 'ic_vector' | 'ic_vector_sequence' | 'ic_view' | 'ic_view_list' | 'ic_view_quilt' | 'ic_view_sidebar' | 'ic_view_week' | 'ic_visiblity_off' | 'ic_warning' | 'ic_warning_outline' | 'ic_waves' | 'ic_whats_new_updates' | 'ic_xml_file' | 'ic_zoom_centre' | 'ic_zoom_out' | 'ic_zoom_previous';
|
|
3
3
|
declare type IconNameElementMap = {
|
|
4
4
|
[key in LuiIconName]?: JSX.Element;
|
|
5
5
|
};
|
|
@@ -115,6 +115,7 @@ export type LuiIconName =
|
|
|
115
115
|
| 'ic_numbered_list'
|
|
116
116
|
| 'ic_office_building_corporate'
|
|
117
117
|
| 'ic_order_history'
|
|
118
|
+
| 'ic_package'
|
|
118
119
|
| 'ic_parcels_existing'
|
|
119
120
|
| 'ic_parcels_new'
|
|
120
121
|
| 'ic_pdf'
|
|
@@ -124,6 +125,7 @@ export type LuiIconName =
|
|
|
124
125
|
| 'ic_person_add'
|
|
125
126
|
| 'ic_picker'
|
|
126
127
|
| 'ic_placeholder'
|
|
128
|
+
| 'ic_plus_one'
|
|
127
129
|
| 'ic_polygon_selection'
|
|
128
130
|
| 'ic_pop_back'
|
|
129
131
|
| 'ic_pre_validation'
|
|
@@ -835,6 +837,20 @@ iconMap['ic_order_history'] = (
|
|
|
835
837
|
</svg>
|
|
836
838
|
);
|
|
837
839
|
|
|
840
|
+
iconMap['ic_package'] = (
|
|
841
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
842
|
+
<g clip-path="url(#a)">
|
|
843
|
+
<path d="M20 2H4c-1 0-2 .9-2 2v3.01c0 .72.43 1.34 1 1.69V20c0 1.1 1.1 2 2 2h14c.9 0 2-.9 2-2V8.7c.57-.35 1-.97 1-1.69V4c0-1.1-1-2-2-2Zm-1 18H5V9h14v11Zm1-13H4V4h16v3Z" />
|
|
844
|
+
<path d="M15 12H9v2h6v-2Z" />
|
|
845
|
+
</g>
|
|
846
|
+
<defs>
|
|
847
|
+
<clipPath id="a">
|
|
848
|
+
<path d="M0 0h24v24H0z" />
|
|
849
|
+
</clipPath>
|
|
850
|
+
</defs>
|
|
851
|
+
</svg>
|
|
852
|
+
);
|
|
853
|
+
|
|
838
854
|
iconMap['ic_parcels_existing'] = (
|
|
839
855
|
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
840
856
|
<path d="M5 11h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2ZM5 21h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2ZM13 5v4c0 1.1.9 2 2 2h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2ZM15 21h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2Z" />
|
|
@@ -889,6 +905,19 @@ iconMap['ic_placeholder'] = (
|
|
|
889
905
|
</svg>
|
|
890
906
|
);
|
|
891
907
|
|
|
908
|
+
iconMap['ic_plus_one'] = (
|
|
909
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
910
|
+
<g clip-path="url(#a)">
|
|
911
|
+
<path d="M10 8H8v4H4v2h4v4h2v-4h4v-2h-4V8Zm4.5-1.92V7.9l2.5-.5V18h2V5l-4.5 1.08Z" />
|
|
912
|
+
</g>
|
|
913
|
+
<defs>
|
|
914
|
+
<clipPath id="a">
|
|
915
|
+
<path d="M0 0h24v24H0z" />
|
|
916
|
+
</clipPath>
|
|
917
|
+
</defs>
|
|
918
|
+
</svg>
|
|
919
|
+
);
|
|
920
|
+
|
|
892
921
|
iconMap['ic_polygon_selection'] = (
|
|
893
922
|
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
894
923
|
<path d="M21.02 17H19v-2.02c0-.54-.44-.98-.98-.98h-.03c-.55 0-.99.44-.99.98V17h-2.01c-.54 0-.98.44-.99.98v.03c0 .55.44.99.99.99H17v2.01c0 .54.44.99.99.98h.03c.54 0 .98-.44.98-.98V19h2.02c.54 0 .98-.44.98-.98v-.04c0-.54-.44-.98-.98-.98Z" />
|
package/dist/index.js
CHANGED
|
@@ -384,6 +384,13 @@ iconMap['ic_order_history'] = (React__default["default"].createElement("svg", {
|
|
|
384
384
|
React__default["default"].createElement("path", { d: "M9 9h6c.55 0 1-.45 1-1s-.45-1-1-1H9c-.55 0-1 .45-1 1s.45 1 1 1Zm0 4h2.876a6.52 6.52 0 0 1 2.62-2H9c-.55 0-1 .45-1 1s.45 1 1 1Zm0 2h1.813a6.497 6.497 0 0 0-.313 2H9c-.55 0-1-.45-1-1s.45-1 1-1Z" }),
|
|
385
385
|
React__default["default"].createElement("path", { d: "M6 19h4.813c.237.732.6 1.407 1.063 2H5c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h14c.55 0 1 .45 1 1v7.232a6.456 6.456 0 0 0-2-.656V5H6v14Z" }),
|
|
386
386
|
React__default["default"].createElement("path", { d: "M12 17c0-2.76 2.24-5 5-5s5 2.24 5 5-2.24 5-5 5-5-2.24-5-5Zm4.64.35L18.29 19a.495.495 0 1 0 .7-.7l-1.5-1.5v-2.29c0-.28-.22-.5-.5-.5s-.5.22-.5.5V17c0 .13.06.26.15.35Z" })));
|
|
387
|
+
iconMap['ic_package'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
|
|
388
|
+
React__default["default"].createElement("g", { "clip-path": "url(#a)" },
|
|
389
|
+
React__default["default"].createElement("path", { d: "M20 2H4c-1 0-2 .9-2 2v3.01c0 .72.43 1.34 1 1.69V20c0 1.1 1.1 2 2 2h14c.9 0 2-.9 2-2V8.7c.57-.35 1-.97 1-1.69V4c0-1.1-1-2-2-2Zm-1 18H5V9h14v11Zm1-13H4V4h16v3Z" }),
|
|
390
|
+
React__default["default"].createElement("path", { d: "M15 12H9v2h6v-2Z" })),
|
|
391
|
+
React__default["default"].createElement("defs", null,
|
|
392
|
+
React__default["default"].createElement("clipPath", { id: "a" },
|
|
393
|
+
React__default["default"].createElement("path", { d: "M0 0h24v24H0z" })))));
|
|
387
394
|
iconMap['ic_parcels_existing'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
|
|
388
395
|
React__default["default"].createElement("path", { d: "M5 11h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2ZM5 21h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2ZM13 5v4c0 1.1.9 2 2 2h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2ZM15 21h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2Z" })));
|
|
389
396
|
iconMap['ic_parcels_new'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
|
|
@@ -402,6 +409,12 @@ iconMap['ic_picker'] = (React__default["default"].createElement("svg", { viewBox
|
|
|
402
409
|
React__default["default"].createElement("path", { d: "m18.785 5.953.964.964-2.818 2.818-.963-.964 2.817-2.818Zm.011-2.524c-.272 0-.534.104-.744.303l-3.268 3.269L12.762 5l-1.477 1.477 1.488 1.488-9.344 9.345v4.976h4.975l9.345-9.345 1.487 1.488 1.477-1.478-2.011-2.011 3.268-3.269c.42-.419.42-1.079.01-1.487l-2.45-2.452a1.069 1.069 0 0 0-.734-.303ZM7.535 20.19l-2.011-2.01 8.443-8.444 2.011 2.012-8.443 8.443Z" })));
|
|
403
410
|
iconMap['ic_placeholder'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
|
|
404
411
|
React__default["default"].createElement("circle", { cx: "12", cy: "12", r: "5" })));
|
|
412
|
+
iconMap['ic_plus_one'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
|
|
413
|
+
React__default["default"].createElement("g", { "clip-path": "url(#a)" },
|
|
414
|
+
React__default["default"].createElement("path", { d: "M10 8H8v4H4v2h4v4h2v-4h4v-2h-4V8Zm4.5-1.92V7.9l2.5-.5V18h2V5l-4.5 1.08Z" })),
|
|
415
|
+
React__default["default"].createElement("defs", null,
|
|
416
|
+
React__default["default"].createElement("clipPath", { id: "a" },
|
|
417
|
+
React__default["default"].createElement("path", { d: "M0 0h24v24H0z" })))));
|
|
405
418
|
iconMap['ic_polygon_selection'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
|
|
406
419
|
React__default["default"].createElement("path", { d: "M21.02 17H19v-2.02c0-.54-.44-.98-.98-.98h-.03c-.55 0-.99.44-.99.98V17h-2.01c-.54 0-.98.44-.99.98v.03c0 .55.44.99.99.99H17v2.01c0 .54.44.99.99.98h.03c.54 0 .98-.44.98-.98V19h2.02c.54 0 .98-.44.98-.98v-.04c0-.54-.44-.98-.98-.98Z" }),
|
|
407
420
|
React__default["default"].createElement("path", { d: "M9.793 3.793a1 1 0 0 1 1.327-.078l.791.625-1.239 1.57-.277.11L8.98 4.605l.813-.812Zm4.046 4.617-1.584-1.25 1.24-1.57 1.583 1.25-1.24 1.57Zm-5.07-.765L7.146 9.27 5.73 7.855 7.355 6.23 8.77 7.645Zm8.236 3.265-1.583-1.25 1.24-1.57 1.583 1.25-1.24 1.57ZM5 12.125l.52-1.23L4.105 9.48l-.812.813A1 1 0 0 0 3 11v1.125h2Zm13.589.035 1.239-1.57.792.625A1 1 0 0 1 21 12v1h-2l-.411-.84ZM5 14.375v2.25H3v-2.25h2Zm0 4.5V21H4a1 1 0 0 1-1-1v-1.125h2ZM7 19h2v2H7v-2Zm4 0h2v2h-2v-2Z" })));
|