@linzjs/lui 23.10.0 → 23.11.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 +14 -0
- package/dist/assets/icons/remove_line.svg +4 -0
- package/dist/assets/icons/sort.svg +3 -0
- package/dist/assets/svg-content.d.ts +1 -1
- package/dist/assets/svg-content.tsx +15 -0
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/lui.esm.js +7 -1
- package/dist/lui.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [23.11.0](https://github.com/linz/lui/compare/v23.10.1...v23.11.0) (2025-08-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* Lui Icons removeline and sort ([#1246](https://github.com/linz/lui/issues/1246)) ([7fe9d42](https://github.com/linz/lui/commit/7fe9d4239f55bc8cd493793d0b02d03efe0a89d7))
|
|
7
|
+
|
|
8
|
+
## [23.10.1](https://github.com/linz/lui/compare/v23.10.0...v23.10.1) (2025-08-11)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* don't resize on value change as it casues other issues ([#1245](https://github.com/linz/lui/issues/1245)) ([4cd682e](https://github.com/linz/lui/commit/4cd682e070e2d6eda3c79e3a0593100540726704))
|
|
14
|
+
|
|
1
15
|
# [23.10.0](https://github.com/linz/lui/compare/v23.9.0...v23.10.0) (2025-08-07)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M21 6V2L3 18V22L21 6Z" fill="black"/>
|
|
3
|
+
<path d="M20.1213 14.4645L18 16.5858L15.8787 14.4645L14.4645 15.8787L16.5858 18L14.4645 20.1213L15.8787 21.5355L18 19.4142L20.1213 21.5355L21.5355 20.1213L19.4142 18L21.5355 15.8787L20.1213 14.4645Z" fill="black"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M4 18H8C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16H4C3.45 16 3 16.45 3 17C3 17.55 3.45 18 4 18ZM3 7C3 7.55 3.45 8 4 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H4C3.45 6 3 6.45 3 7ZM4 13H14C14.55 13 15 12.55 15 12C15 11.45 14.55 11 14 11H4C3.45 11 3 11.45 3 12C3 12.55 3.45 13 4 13Z" fill="black"/>
|
|
3
|
+
</svg>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export 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_label' | 'ic_add_line' | 'ic_add_multiple' | 'ic_add_page' | 'ic_add_rectangle' | 'ic_add_rt_lines' | 'ic_add_to_csv' | 'ic_add_to_list' | 'ic_add_to_xml' | 'ic_added_to_list' | 'ic_adjustment' | 'ic_admin' | 'ic_advanced_user_search' | 'ic_alias' | 'ic_alias_unselected' | 'ic_anchor' | '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_auto_preval' | 'ic_auto_regenerate' | 'ic_balance_parcel' | 'ic_basemap_off' | 'ic_blackwhite_greyscale' | 'ic_blocked' | 'ic_border_color' | 'ic_bug' | 'ic_c_report' | 'ic_cancel_clear' | 'ic_cancel_outline' | 'ic_capture_area' | 'ic_cart_view' | 'ic_certify_and_sign' | 'ic_change_password' | 'ic_check' | 'ic_check_circle' | 'ic_check_circle_outline' | 'ic_checklist' | 'ic_clear' | 'ic_close_list' | 'ic_closest_match' | 'ic_columns' | 'ic_control_point' | 'ic_copy' | 'ic_copy_titles_to_here' | 'ic_corporate_fare' | 'ic_create' | 'ic_create_new_list' | 'ic_csv_file' | 'ic_data_display_threshold' | 'ic_data_display_threshold_high_urban' | 'ic_data_display_threshold_low_large_rural' | 'ic_data_display_threshold_medium_rural' | 'ic_dealings' | 'ic_deceased' | 'ic_deceased_fill' | 'ic_decommission' | 'ic_define_diagrams' | 'ic_define_nonprimary_diagram_circle' | 'ic_define_nonprimary_diagram_polygon' | 'ic_define_nonprimary_diagram_rectangle' | 'ic_define_primary_diagram_circle' | 'ic_define_primary_diagram_polygon' | 'ic_define_primary_diagram_rectangle' | 'ic_define_survey_diagram_circle' | 'ic_define_survey_diagram_polygon' | 'ic_define_survey_diagram_rectangle' | 'ic_delete_forever' | 'ic_delete_outline' | 'ic_delete_page' | 'ic_delete_solid' | 'ic_description' | 'ic_destination' | 'ic_dollar_round' | 'ic_double_arrow_left' | 'ic_double_arrow_right' | 'ic_double_tick' | 'ic_drag_handle' | 'ic_drag_indicator' | 'ic_draw_abuttal' | 'ic_draw_irregular_line' | 'ic_draw_rt_bdry' | 'ic_email' | 'ic_empty_circle' | 'ic_enabled_users' | 'ic_error' | 'ic_error_outline' | 'ic_expand_less' | 'ic_expand_more' | 'ic_fast_forward' | 'ic_fast_forward_outline' | 'ic_feature_id' | 'ic_feedback_lightbulb' | 'ic_feedback_lightbulb_alt' | 'ic_file_attached' | 'ic_file_attached_outline' | 'ic_filter_list' | 'ic_flag' | 'ic_fold_in' | 'ic_fold_out' | 'ic_format_colour' | 'ic_format_lines_text' | 'ic_forward' | 'ic_fullscreen_frame' | 'ic_generate_title' | 'ic_grid_view' | 'ic_help_outline' | 'ic_history' | 'ic_hourglass' | 'ic_info' | 'ic_info_outline' | 'ic_insert_into_sheet' | '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_label_diagrams' | 'ic_label_settings' | 'ic_labels_off' | 'ic_labels_on' | 'ic_land_record_search' | 'ic_launch_modal' | 'ic_launch_new window_open' | 'ic_layers' | 'ic_layers_user_defined' | 'ic_layout_plan_sheets' | 'ic_left' | 'ic_left_col' | 'ic_line_arc' | 'ic_line_arc_reverse' | 'ic_line_irregular' | 'ic_line_vector' | 'ic_link' | 'ic_list_add' | 'ic_list_clear' | 'ic_list_notepad' | 'ic_list_view' | 'ic_lists_folder' | 'ic_locate' | 'ic_located_in_spatial' | 'ic_lock' | 'ic_lock_alt' | 'ic_log_out' | 'ic_manage_adjust' | 'ic_manage_labels' | 'ic_maori_land' | 'ic_mark_linking' | 'ic_marks' | 'ic_memorials' | 'ic_menu' | 'ic_merge' | 'ic_message_received' | 'ic_minimise' | 'ic_misclose_error' | 'ic_more_vert' | 'ic_move_down' | 'ic_multi_factor_authentication_mfa' | 'ic_navigate_before' | 'ic_navigate_next' | 'ic_new_anchor' | 'ic_new_work_item' | 'ic_note_add' | 'ic_notice_of_change' | 'ic_notifications' | 'ic_numbered_list' | 'ic_office_building_corporate' | 'ic_opacity' | 'ic_open_diagrams' | 'ic_order_history' | 'ic_package' | 'ic_pan_map' | 'ic_pan_map_alt' | 'ic_parcels_existing' | 'ic_parcels_new' | 'ic_pdf' | 'ic_pdf_doc' | 'ic_pen_and_paper_sign' | 'ic_people_outline' | 'ic_perform_next_step_right' | 'ic_person' | 'ic_person_add' | 'ic_picker' | 'ic_placeholder' | 'ic_plan_generation' | 'ic_plus_one' | 'ic_pointer_outlined' | 'ic_polygon_selection' | 'ic_pop_back' | 'ic_pre_validation' | 'ic_print' | 'ic_product_list' | 'ic_publish' | 'ic_push_pin' | 'ic_push_pin_remove' | 'ic_re_commission' | 'ic_read_only' | 'ic_redo' | 'ic_refresh' | 'ic_regenerate' | 'ic_regenerate_off' | 'ic_release' | 'ic_remove_circle' | 'ic_remove_circle_outline' | 'ic_remove_from_sheet' | 'ic_renumber_page' | 'ic_request' | 'ic_requisitions' | 'ic_restart' | 'ic_restore' | 'ic_rotate_sheet' | 'ic_round_selection' | 'ic_save' | 'ic_save_as' | 'ic_save_download' | 'ic_saved_area_interest' | 'ic_search' | 'ic_select_coordinates' | 'ic_select_diagram' | 'ic_select_label' | 'ic_select_line' | 'ic_select_rt_lines' | 'ic_selection_focus' | 'ic_send' | 'ic_send_email_dart' | 'ic_separator' | 'ic_settings' | 'ic_sorting_down_arrow_up' | 'ic_sorting_up_arrow_up' | 'ic_source' | 'ic_split' | 'ic_square_selection' | 'ic_subdirectory_arrow_right' | 'ic_submit' | 'ic_summary_open' | 'ic_survey' | 'ic_survey_checked' | 'ic_survey_data_extraction' | 'ic_survey_report' | 'ic_survey_sheet' | 'ic_swap_vertical' | 'ic_ta_request_sent' | 'ic_table_columns' | 'ic_tax_statement' | 'ic_text_match' | 'ic_tick' | 'ic_tick_and_cross' | 'ic_timeline' | 'ic_title_allocation_swap' | 'ic_title_sheet' | 'ic_toggle_off' | 'ic_toggle_on' | 'ic_tune_setting_configure' | 'ic_undo' | 'ic_unlink' | 'ic_unlock' | 'ic_upload' | 'ic_vector' | 'ic_vector_sequence' | 'ic_verified_complete_approve_check_tick' | 'ic_view' | 'ic_view_in_viewer' | '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' | 'ic_zoomin_snippet_circle' | 'ic_zoomin_snippet_polygon' | 'ic_zoomin_snippet_rectangle' | 'ic_zoomout_snippet_circle' | 'ic_zoomout_snippet_polygon' | 'ic_zoomout_snippet_rectangle';
|
|
2
|
+
export 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_label' | 'ic_add_line' | 'ic_add_multiple' | 'ic_add_page' | 'ic_add_rectangle' | 'ic_add_rt_lines' | 'ic_add_to_csv' | 'ic_add_to_list' | 'ic_add_to_xml' | 'ic_added_to_list' | 'ic_adjustment' | 'ic_admin' | 'ic_advanced_user_search' | 'ic_alias' | 'ic_alias_unselected' | 'ic_anchor' | '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_auto_preval' | 'ic_auto_regenerate' | 'ic_balance_parcel' | 'ic_basemap_off' | 'ic_blackwhite_greyscale' | 'ic_blocked' | 'ic_border_color' | 'ic_bug' | 'ic_c_report' | 'ic_cancel_clear' | 'ic_cancel_outline' | 'ic_capture_area' | 'ic_cart_view' | 'ic_certify_and_sign' | 'ic_change_password' | 'ic_check' | 'ic_check_circle' | 'ic_check_circle_outline' | 'ic_checklist' | 'ic_clear' | 'ic_close_list' | 'ic_closest_match' | 'ic_columns' | 'ic_control_point' | 'ic_copy' | 'ic_copy_titles_to_here' | 'ic_corporate_fare' | 'ic_create' | 'ic_create_new_list' | 'ic_csv_file' | 'ic_data_display_threshold' | 'ic_data_display_threshold_high_urban' | 'ic_data_display_threshold_low_large_rural' | 'ic_data_display_threshold_medium_rural' | 'ic_dealings' | 'ic_deceased' | 'ic_deceased_fill' | 'ic_decommission' | 'ic_define_diagrams' | 'ic_define_nonprimary_diagram_circle' | 'ic_define_nonprimary_diagram_polygon' | 'ic_define_nonprimary_diagram_rectangle' | 'ic_define_primary_diagram_circle' | 'ic_define_primary_diagram_polygon' | 'ic_define_primary_diagram_rectangle' | 'ic_define_survey_diagram_circle' | 'ic_define_survey_diagram_polygon' | 'ic_define_survey_diagram_rectangle' | 'ic_delete_forever' | 'ic_delete_outline' | 'ic_delete_page' | 'ic_delete_solid' | 'ic_description' | 'ic_destination' | 'ic_dollar_round' | 'ic_double_arrow_left' | 'ic_double_arrow_right' | 'ic_double_tick' | 'ic_drag_handle' | 'ic_drag_indicator' | 'ic_draw_abuttal' | 'ic_draw_irregular_line' | 'ic_draw_rt_bdry' | 'ic_email' | 'ic_empty_circle' | 'ic_enabled_users' | 'ic_error' | 'ic_error_outline' | 'ic_expand_less' | 'ic_expand_more' | 'ic_fast_forward' | 'ic_fast_forward_outline' | 'ic_feature_id' | 'ic_feedback_lightbulb' | 'ic_feedback_lightbulb_alt' | 'ic_file_attached' | 'ic_file_attached_outline' | 'ic_filter_list' | 'ic_flag' | 'ic_fold_in' | 'ic_fold_out' | 'ic_format_colour' | 'ic_format_lines_text' | 'ic_forward' | 'ic_fullscreen_frame' | 'ic_generate_title' | 'ic_grid_view' | 'ic_help_outline' | 'ic_history' | 'ic_hourglass' | 'ic_info' | 'ic_info_outline' | 'ic_insert_into_sheet' | '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_label_diagrams' | 'ic_label_settings' | 'ic_labels_off' | 'ic_labels_on' | 'ic_land_record_search' | 'ic_launch_modal' | 'ic_launch_new window_open' | 'ic_layers' | 'ic_layers_user_defined' | 'ic_layout_plan_sheets' | 'ic_left' | 'ic_left_col' | 'ic_line_arc' | 'ic_line_arc_reverse' | 'ic_line_irregular' | 'ic_line_vector' | 'ic_link' | 'ic_list_add' | 'ic_list_clear' | 'ic_list_notepad' | 'ic_list_view' | 'ic_lists_folder' | 'ic_locate' | 'ic_located_in_spatial' | 'ic_lock' | 'ic_lock_alt' | 'ic_log_out' | 'ic_manage_adjust' | 'ic_manage_labels' | 'ic_maori_land' | 'ic_mark_linking' | 'ic_marks' | 'ic_memorials' | 'ic_menu' | 'ic_merge' | 'ic_message_received' | 'ic_minimise' | 'ic_misclose_error' | 'ic_more_vert' | 'ic_move_down' | 'ic_multi_factor_authentication_mfa' | 'ic_navigate_before' | 'ic_navigate_next' | 'ic_new_anchor' | 'ic_new_work_item' | 'ic_note_add' | 'ic_notice_of_change' | 'ic_notifications' | 'ic_numbered_list' | 'ic_office_building_corporate' | 'ic_opacity' | 'ic_open_diagrams' | 'ic_order_history' | 'ic_package' | 'ic_pan_map' | 'ic_pan_map_alt' | 'ic_parcels_existing' | 'ic_parcels_new' | 'ic_pdf' | 'ic_pdf_doc' | 'ic_pen_and_paper_sign' | 'ic_people_outline' | 'ic_perform_next_step_right' | 'ic_person' | 'ic_person_add' | 'ic_picker' | 'ic_placeholder' | 'ic_plan_generation' | 'ic_plus_one' | 'ic_pointer_outlined' | 'ic_polygon_selection' | 'ic_pop_back' | 'ic_pre_validation' | 'ic_print' | 'ic_product_list' | 'ic_publish' | 'ic_push_pin' | 'ic_push_pin_remove' | 'ic_re_commission' | 'ic_read_only' | 'ic_redo' | 'ic_refresh' | 'ic_regenerate' | 'ic_regenerate_off' | 'ic_release' | 'ic_remove_circle' | 'ic_remove_circle_outline' | 'ic_remove_from_sheet' | 'ic_remove_line' | 'ic_renumber_page' | 'ic_request' | 'ic_requisitions' | 'ic_restart' | 'ic_restore' | 'ic_rotate_sheet' | 'ic_round_selection' | 'ic_save' | 'ic_save_as' | 'ic_save_download' | 'ic_saved_area_interest' | 'ic_search' | 'ic_select_coordinates' | 'ic_select_diagram' | 'ic_select_label' | 'ic_select_line' | 'ic_select_rt_lines' | 'ic_selection_focus' | 'ic_send' | 'ic_send_email_dart' | 'ic_separator' | 'ic_settings' | 'ic_sort' | 'ic_sorting_down_arrow_up' | 'ic_sorting_up_arrow_up' | 'ic_source' | 'ic_split' | 'ic_square_selection' | 'ic_subdirectory_arrow_right' | 'ic_submit' | 'ic_summary_open' | 'ic_survey' | 'ic_survey_checked' | 'ic_survey_data_extraction' | 'ic_survey_report' | 'ic_survey_sheet' | 'ic_swap_vertical' | 'ic_ta_request_sent' | 'ic_table_columns' | 'ic_tax_statement' | 'ic_text_match' | 'ic_tick' | 'ic_tick_and_cross' | 'ic_timeline' | 'ic_title_allocation_swap' | 'ic_title_sheet' | 'ic_toggle_off' | 'ic_toggle_on' | 'ic_tune_setting_configure' | 'ic_undo' | 'ic_unlink' | 'ic_unlock' | 'ic_upload' | 'ic_vector' | 'ic_vector_sequence' | 'ic_verified_complete_approve_check_tick' | 'ic_view' | 'ic_view_in_viewer' | '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' | 'ic_zoomin_snippet_circle' | 'ic_zoomin_snippet_polygon' | 'ic_zoomin_snippet_rectangle' | 'ic_zoomout_snippet_circle' | 'ic_zoomout_snippet_polygon' | 'ic_zoomout_snippet_rectangle';
|
|
3
3
|
type IconNameElementMap = {
|
|
4
4
|
[key in LuiIconName]?: React.ReactElement;
|
|
5
5
|
};
|
|
@@ -234,6 +234,7 @@ export type LuiIconName =
|
|
|
234
234
|
| 'ic_remove_circle'
|
|
235
235
|
| 'ic_remove_circle_outline'
|
|
236
236
|
| 'ic_remove_from_sheet'
|
|
237
|
+
| 'ic_remove_line'
|
|
237
238
|
| 'ic_renumber_page'
|
|
238
239
|
| 'ic_request'
|
|
239
240
|
| 'ic_requisitions'
|
|
@@ -256,6 +257,7 @@ export type LuiIconName =
|
|
|
256
257
|
| 'ic_send_email_dart'
|
|
257
258
|
| 'ic_separator'
|
|
258
259
|
| 'ic_settings'
|
|
260
|
+
| 'ic_sort'
|
|
259
261
|
| 'ic_sorting_down_arrow_up'
|
|
260
262
|
| 'ic_sorting_up_arrow_up'
|
|
261
263
|
| 'ic_source'
|
|
@@ -1733,6 +1735,13 @@ iconMap['ic_remove_from_sheet'] = (
|
|
|
1733
1735
|
</svg>
|
|
1734
1736
|
);
|
|
1735
1737
|
|
|
1738
|
+
iconMap['ic_remove_line'] = (
|
|
1739
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
1740
|
+
<path d="M21 6V2L3 18V22L21 6Z" />
|
|
1741
|
+
<path d="M20.1213 14.4645L18 16.5858L15.8787 14.4645L14.4645 15.8787L16.5858 18L14.4645 20.1213L15.8787 21.5355L18 19.4142L20.1213 21.5355L21.5355 20.1213L19.4142 18L21.5355 15.8787L20.1213 14.4645Z" />
|
|
1742
|
+
</svg>
|
|
1743
|
+
);
|
|
1744
|
+
|
|
1736
1745
|
iconMap['ic_renumber_page'] = (
|
|
1737
1746
|
<svg viewBox="0 0 24 24">
|
|
1738
1747
|
<path d="M4 3h9l6 6v3h-2v-2h-5V5H4v12.01h8V19H4c-1.1 0-2-.89-2-1.99V5c0-1.1.9-2 2-2" />
|
|
@@ -1876,6 +1885,12 @@ iconMap['ic_settings'] = (
|
|
|
1876
1885
|
</svg>
|
|
1877
1886
|
);
|
|
1878
1887
|
|
|
1888
|
+
iconMap['ic_sort'] = (
|
|
1889
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
1890
|
+
<path d="M4 18H8C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16H4C3.45 16 3 16.45 3 17C3 17.55 3.45 18 4 18ZM3 7C3 7.55 3.45 8 4 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H4C3.45 6 3 6.45 3 7ZM4 13H14C14.55 13 15 12.55 15 12C15 11.45 14.55 11 14 11H4C3.45 11 3 11.45 3 12C3 12.55 3.45 13 4 13Z" />
|
|
1891
|
+
</svg>
|
|
1892
|
+
);
|
|
1893
|
+
|
|
1879
1894
|
iconMap['ic_sorting_down_arrow_up'] = (
|
|
1880
1895
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
1881
1896
|
<path d="M18.3 14.29a.996.996 0 0 0-1.41 0L13 18.17V3c0-.55-.45-1-1-1s-1 .45-1 1v15.18L7.12 14.3a.996.996 0 1 0-1.41 1.41l5.59 5.59c.39.39 1.02.39 1.41 0l5.59-5.59c.38-.39.38-1.03 0-1.42Z" />
|
package/dist/index.js
CHANGED
|
@@ -673,6 +673,9 @@ iconMap['ic_remove_circle_outline'] = (React__default["default"].createElement("
|
|
|
673
673
|
iconMap['ic_remove_from_sheet'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24" },
|
|
674
674
|
React__default["default"].createElement("path", { d: "M7 4h9l6 6v8c0 1.1-.9 2-2 2H7a2 2 0 0 1-1.415-.585L7 18v.01h13V11h-5V6H7L5.588 4.587A2 2 0 0 1 7 4M5 5.957v12.096z" }),
|
|
675
675
|
React__default["default"].createElement("path", { d: "m2.436 10.564 2.872-2.872 1.436 1.436L4.872 11H10v2H4.872l1.872 1.872-1.436 1.436-2.872-2.872L1 12z" })));
|
|
676
|
+
iconMap['ic_remove_line'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
677
|
+
React__default["default"].createElement("path", { d: "M21 6V2L3 18V22L21 6Z" }),
|
|
678
|
+
React__default["default"].createElement("path", { d: "M20.1213 14.4645L18 16.5858L15.8787 14.4645L14.4645 15.8787L16.5858 18L14.4645 20.1213L15.8787 21.5355L18 19.4142L20.1213 21.5355L21.5355 20.1213L19.4142 18L21.5355 15.8787L20.1213 14.4645Z" })));
|
|
676
679
|
iconMap['ic_renumber_page'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24" },
|
|
677
680
|
React__default["default"].createElement("path", { d: "M4 3h9l6 6v3h-2v-2h-5V5H4v12.01h8V19H4c-1.1 0-2-.89-2-1.99V5c0-1.1.9-2 2-2" }),
|
|
678
681
|
React__default["default"].createElement("path", { d: "M22.722 16.75 23 15.5h-2.222l.555-2.5h-1.11l-.556 2.5h-2.223L18 13h-1.111l-.556 2.5h-2.222l-.278 1.25h2.223l-.556 2.5h-2.222L13 20.5h2.222l-.555 2.5h1.11l.556-2.5h2.223L18 23h1.111l.556-2.5h2.222l.278-1.25h-2.223l.556-2.5zm-3.889 2.5h-2.222l.556-2.5h2.222z" })));
|
|
@@ -728,6 +731,8 @@ iconMap['ic_separator'] = (React__default["default"].createElement("svg", { xmln
|
|
|
728
731
|
React__default["default"].createElement("path", { d: "M11 3h2v18h-2z" })));
|
|
729
732
|
iconMap['ic_settings'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
730
733
|
React__default["default"].createElement("path", { d: "M13.924 21.95h-3.848a.973.973 0 0 1-.667-.25.988.988 0 0 1-.333-.626l-.308-2.325a3.913 3.913 0 0 1-.628-.3 8.356 8.356 0 0 1-.578-.375l-2.232.9c-.24.084-.479.092-.718.025a.95.95 0 0 1-.564-.425L2.149 15.35a.92.92 0 0 1-.128-.7c.051-.25.18-.45.385-.6l1.924-1.425a2.33 2.33 0 0 1-.026-.338v-.675c0-.108.009-.22.026-.337L2.406 9.85a.957.957 0 0 1-.385-.6.92.92 0 0 1 .128-.7l1.899-3.225a.804.804 0 0 1 .55-.438 1.29 1.29 0 0 1 .732.038l2.232.9c.188-.133.385-.258.59-.375.205-.116.41-.216.616-.3l.308-2.325a.989.989 0 0 1 .333-.625.973.973 0 0 1 .667-.25h3.848c.257 0 .479.084.667.25.188.167.3.375.333.625l.308 2.325c.223.084.432.184.63.3.196.117.388.242.576.375l2.232-.9c.24-.083.479-.091.718-.025a.95.95 0 0 1 .564.425l1.899 3.225a.92.92 0 0 1 .128.7.957.957 0 0 1-.385.6l-1.924 1.425c.017.117.026.23.026.337v.675a1.2 1.2 0 0 1-.051.338l1.924 1.425c.205.15.333.35.384.6a.92.92 0 0 1-.128.7l-1.898 3.2c-.137.217-.33.363-.577.438a1.16 1.16 0 0 1-.732-.013l-2.18-.9a6.982 6.982 0 0 1-.59.375 5.21 5.21 0 0 1-.616.3l-.308 2.325a.988.988 0 0 1-.333.625.973.973 0 0 1-.667.25Zm-1.873-6.5c.992 0 1.839-.342 2.54-1.026.701-.683 1.052-1.508 1.052-2.475 0-.966-.35-1.791-1.052-2.475-.701-.683-1.548-1.025-2.54-1.025-1.009 0-1.86.342-2.553 1.025-.692.684-1.038 1.509-1.038 2.475 0 .967.346 1.792 1.038 2.475.693.684 1.544 1.025 2.553 1.025Z" })));
|
|
734
|
+
iconMap['ic_sort'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
735
|
+
React__default["default"].createElement("path", { d: "M4 18H8C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16H4C3.45 16 3 16.45 3 17C3 17.55 3.45 18 4 18ZM3 7C3 7.55 3.45 8 4 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H4C3.45 6 3 6.45 3 7ZM4 13H14C14.55 13 15 12.55 15 12C15 11.45 14.55 11 14 11H4C3.45 11 3 11.45 3 12C3 12.55 3.45 13 4 13Z" })));
|
|
731
736
|
iconMap['ic_sorting_down_arrow_up'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
732
737
|
React__default["default"].createElement("path", { d: "M18.3 14.29a.996.996 0 0 0-1.41 0L13 18.17V3c0-.55-.45-1-1-1s-1 .45-1 1v15.18L7.12 14.3a.996.996 0 1 0-1.41 1.41l5.59 5.59c.39.39 1.02.39 1.41 0l5.59-5.59c.38-.39.38-1.03 0-1.42Z" })));
|
|
733
738
|
iconMap['ic_sorting_up_arrow_up'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
@@ -7223,11 +7228,12 @@ var LuiAutoExpandTextAreaInput = function (props) {
|
|
|
7223
7228
|
// Set the height to match content
|
|
7224
7229
|
element.style.height = height;
|
|
7225
7230
|
}, []);
|
|
7231
|
+
// This is for when the cmoponent mounts, to make sure it's big when lots of test
|
|
7226
7232
|
React.useEffect(function () {
|
|
7227
7233
|
if (ref.current) {
|
|
7228
7234
|
adjustHeight(ref.current);
|
|
7229
7235
|
}
|
|
7230
|
-
}, [
|
|
7236
|
+
}, [adjustHeight]);
|
|
7231
7237
|
// Since we can't directly use refs, we'll use a custom render approach
|
|
7232
7238
|
// We'll handle the auto-resize via the onChange and onKeyUp events
|
|
7233
7239
|
var customInputProps = __assign(__assign({}, props.inputProps), { onKeyUp: function (e) {
|