@linzjs/lui 21.29.0 → 21.30.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 CHANGED
@@ -1,3 +1,17 @@
1
+ # [21.30.0](https://github.com/linz/lui/compare/v21.29.1...v21.30.0) (2024-05-20)
2
+
3
+
4
+ ### Features
5
+
6
+ * new lui icons ([#1119](https://github.com/linz/lui/issues/1119)) ([2ddd1ac](https://github.com/linz/lui/commit/2ddd1ac23267dcf22f85ede0eb4e09f29b6c370a))
7
+
8
+ ## [21.29.1](https://github.com/linz/lui/compare/v21.29.0...v21.29.1) (2024-05-12)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **LuiBannerV2:** Improve default arrangement for multi children ([#1118](https://github.com/linz/lui/issues/1118)) ([90bd9be](https://github.com/linz/lui/commit/90bd9bea73ace80a3d6dcca7fec3acf51b8c1a69))
14
+
1
15
  # [21.29.0](https://github.com/linz/lui/compare/v21.28.0...v21.29.0) (2024-05-09)
2
16
 
3
17
 
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24"><path d="M12 13q-1.474 0-2.488-1.012Q8.5 10.975 8.5 9.5q0-1.474 1.012-2.487T12 6t2.488 1.013Q15.5 8.026 15.5 9.5t-1.012 2.488Q13.475 13 12 13m0-2q.65 0 1.075-.425T13.5 9.5t-.425-1.075T12 8t-1.075.425T10.5 9.5t.425 1.075T12 11m0 11q-3.476-.875-5.737-3.988Q4 14.9 4 11.1V5l8-3 8 3v6.1q0 3.8-2.262 6.913Q15.475 21.124 12 22m0-17.875-6 2.25V11.1q0 1.35.375 2.625t1.025 2.4q1.05-.525 2.2-.825A9.5 9.5 0 0 1 12 15q1.25 0 2.4.3t2.2.825q.65-1.125 1.025-2.4T18 11.1V6.375zM12 17q-.9 0-1.75.2a9 9 0 0 0-1.625.55q.724.75 1.575 1.3.85.55 1.8.85a7.4 7.4 0 0 0 1.8-.85 9 9 0 0 0 1.575-1.3 9 9 0 0 0-1.625-.55A7.6 7.6 0 0 0 12 17"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24"><path d="M9.295 9.705 7.75 9l1.545-.705L10 6.75l.705 1.545L12.25 9l-1.545.705L10 11.25zM10 18.75l.705-1.545 1.545-.705-1.545-.705L10 14.25l-.705 1.545-1.545.705 1.545.705zm-2.722-6.472-1.028.472 1.027.473.473 1.027.473-1.027 1.027-.473-1.027-.473-.473-1.027zM13 12c0-2.318 1.035-4.455 2.58-6H13V4.5h5.25v5.25h-1.5V6.96C15.4 8.265 14.5 10.11 14.5 12c0 2.49 1.575 4.77 3.75 5.865V19.5C15.182 18.308 13 15.262 13 12"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24"><path d="M12 22a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22m-1-2.05V18q-.825 0-1.412-.587A1.93 1.93 0 0 1 9 16v-1l-4.8-4.8q-.075.45-.138.9Q4 11.55 4 12q0 3.025 1.987 5.3T11 19.95m6.9-2.55q.5-.55.9-1.187.4-.638.662-1.326.263-.687.4-1.412Q20 12.75 20 12a7.85 7.85 0 0 0-1.363-4.475A7.7 7.7 0 0 0 15 4.6V5q0 .824-.588 1.412A1.93 1.93 0 0 1 13 7h-2v2q0 .424-.287.713A.97.97 0 0 1 10 10H8v2h6q.424 0 .713.287.287.288.287.713v3h1q.65 0 1.175.387.525.388.725 1.013"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24"><path d="M12 5V3.21c0-.45-.54-.67-.85-.35l-2.8 2.79c-.2.2-.2.51 0 .71l2.79 2.79c.32.31.86.09.86-.36V7c3.31 0 6 2.69 6 6 0 2.72-1.83 5.02-4.31 5.75-.42.12-.69.52-.69.95 0 .65.62 1.16 1.25.97A7.99 7.99 0 0 0 20 13c0-4.42-3.58-8-8-8M6 13c0-1.34.44-2.58 1.19-3.59.3-.4.26-.95-.09-1.31-.42-.42-1.14-.38-1.5.1a7.991 7.991 0 0 0 4.15 12.47c.63.19 1.25-.32 1.25-.97 0-.43-.27-.83-.69-.95C7.83 18.02 6 15.72 6 13"/></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_label' | 'ic_add_line' | 'ic_add_multiple' | 'ic_add_page' | 'ic_add_rectangle' | 'ic_add_rt_lines' | 'ic_add_to_list' | 'ic_add_to_xml' | 'ic_added_to_list' | 'ic_alias' | 'ic_alias_unselected' | '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_basemap_off' | 'ic_blackwhite_greyscale' | 'ic_blocked' | 'ic_border_color' | '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_columns' | 'ic_control_point' | 'ic_copy' | '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_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_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_enabled_users' | 'ic_error' | 'ic_error_outline' | 'ic_expand_less' | 'ic_expand_more' | 'ic_fast_forward' | 'ic_feedback_lightbulb' | 'ic_feedback_lightbulb_alt' | 'ic_file_attached' | 'ic_file_attached_outline' | 'ic_filter_list' | 'ic_flag' | 'ic_format_lines_text' | 'ic_forward' | 'ic_fullscreen_frame' | '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_labels_off' | 'ic_labels_on' | '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_message_received' | 'ic_minimise' | 'ic_misclose_error' | 'ic_more_vert' | 'ic_multi_factor_authentication_mfa' | 'ic_navigate_before' | 'ic_navigate_next' | 'ic_note_add' | 'ic_notice_of_change' | 'ic_notifications' | 'ic_numbered_list' | 'ic_office_building_corporate' | 'ic_open_diagrams' | 'ic_order_history' | 'ic_package' | 'ic_parcels_existing' | 'ic_parcels_new' | 'ic_pdf' | 'ic_pdf_doc' | 'ic_pen_and_paper_sign' | 'ic_people_outline' | 'ic_person' | 'ic_person_add' | 'ic_picker' | 'ic_placeholder' | 'ic_plan_generation' | 'ic_plus_one' | 'ic_polygon_selection' | 'ic_pop_back' | 'ic_pre_validation' | 'ic_print' | 'ic_product_list' | 'ic_publish' | 'ic_push_pin' | 'ic_push_pin_remove' | 'ic_read_only' | 'ic_redo' | 'ic_refresh' | 'ic_regenerate' | 'ic_release' | 'ic_remove_circle' | 'ic_remove_circle_outline' | 'ic_remove_from_sheet' | 'ic_renumber_page' | 'ic_request' | 'ic_requisitions' | '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_send' | 'ic_send_email_dart' | 'ic_separator' | 'ic_settings' | 'ic_sorting_down_arrow_up' | 'ic_sorting_up_arrow_up' | 'ic_square_selection' | 'ic_subdirectory_arrow_right' | 'ic_submit' | 'ic_summary_open' | 'ic_survey' | 'ic_survey_report' | 'ic_survey_sheet' | 'ic_ta_request_sent' | 'ic_table_columns' | 'ic_tax_statement' | '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_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' | '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 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_label' | 'ic_add_line' | 'ic_add_multiple' | 'ic_add_page' | 'ic_add_rectangle' | 'ic_add_rt_lines' | 'ic_add_to_list' | 'ic_add_to_xml' | 'ic_added_to_list' | 'ic_admin' | 'ic_alias' | 'ic_alias_unselected' | '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_basemap_off' | 'ic_blackwhite_greyscale' | 'ic_blocked' | 'ic_border_color' | '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_columns' | 'ic_control_point' | 'ic_copy' | '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_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_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_enabled_users' | 'ic_error' | 'ic_error_outline' | 'ic_expand_less' | 'ic_expand_more' | 'ic_fast_forward' | 'ic_feedback_lightbulb' | 'ic_feedback_lightbulb_alt' | 'ic_file_attached' | 'ic_file_attached_outline' | 'ic_filter_list' | 'ic_flag' | '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_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_message_received' | 'ic_minimise' | 'ic_misclose_error' | 'ic_more_vert' | 'ic_multi_factor_authentication_mfa' | 'ic_navigate_before' | 'ic_navigate_next' | 'ic_note_add' | 'ic_notice_of_change' | 'ic_notifications' | 'ic_numbered_list' | 'ic_office_building_corporate' | 'ic_open_diagrams' | 'ic_order_history' | 'ic_package' | 'ic_parcels_existing' | 'ic_parcels_new' | 'ic_pdf' | 'ic_pdf_doc' | 'ic_pen_and_paper_sign' | 'ic_people_outline' | 'ic_person' | 'ic_person_add' | 'ic_picker' | 'ic_placeholder' | 'ic_plan_generation' | 'ic_plus_one' | 'ic_polygon_selection' | 'ic_pop_back' | 'ic_pre_validation' | 'ic_print' | 'ic_product_list' | 'ic_publish' | 'ic_push_pin' | 'ic_push_pin_remove' | 'ic_read_only' | 'ic_redo' | 'ic_refresh' | 'ic_regenerate' | '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_send' | 'ic_send_email_dart' | 'ic_separator' | 'ic_settings' | 'ic_sorting_down_arrow_up' | 'ic_sorting_up_arrow_up' | 'ic_square_selection' | 'ic_subdirectory_arrow_right' | 'ic_submit' | 'ic_summary_open' | 'ic_survey' | 'ic_survey_report' | 'ic_survey_sheet' | 'ic_ta_request_sent' | 'ic_table_columns' | 'ic_tax_statement' | '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_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' | '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
  declare type IconNameElementMap = {
4
4
  [key in LuiIconName]?: JSX.Element;
5
5
  };
@@ -26,6 +26,7 @@ export type LuiIconName =
26
26
  | 'ic_add_to_list'
27
27
  | 'ic_add_to_xml'
28
28
  | 'ic_added_to_list'
29
+ | 'ic_admin'
29
30
  | 'ic_alias'
30
31
  | 'ic_alias_unselected'
31
32
  | 'ic_annotations'
@@ -112,6 +113,7 @@ export type LuiIconName =
112
113
  | 'ic_format_lines_text'
113
114
  | 'ic_forward'
114
115
  | 'ic_fullscreen_frame'
116
+ | 'ic_generate_title'
115
117
  | 'ic_grid_view'
116
118
  | 'ic_help_outline'
117
119
  | 'ic_history'
@@ -129,6 +131,7 @@ export type LuiIconName =
129
131
  | 'ic_label_diagrams'
130
132
  | 'ic_labels_off'
131
133
  | 'ic_labels_on'
134
+ | 'ic_land_record_search'
132
135
  | 'ic_launch_modal'
133
136
  | 'ic_launch_new window_open'
134
137
  | 'ic_layers'
@@ -204,6 +207,7 @@ export type LuiIconName =
204
207
  | 'ic_renumber_page'
205
208
  | 'ic_request'
206
209
  | 'ic_requisitions'
210
+ | 'ic_restart'
207
211
  | 'ic_restore'
208
212
  | 'ic_rotate_sheet'
209
213
  | 'ic_round_selection'
@@ -381,6 +385,12 @@ iconMap['ic_added_to_list'] = (
381
385
  </svg>
382
386
  );
383
387
 
388
+ iconMap['ic_admin'] = (
389
+ <svg viewBox="0 0 24 24">
390
+ <path d="M12 13q-1.474 0-2.488-1.012Q8.5 10.975 8.5 9.5q0-1.474 1.012-2.487T12 6t2.488 1.013Q15.5 8.026 15.5 9.5t-1.012 2.488Q13.475 13 12 13m0-2q.65 0 1.075-.425T13.5 9.5t-.425-1.075T12 8t-1.075.425T10.5 9.5t.425 1.075T12 11m0 11q-3.476-.875-5.737-3.988Q4 14.9 4 11.1V5l8-3 8 3v6.1q0 3.8-2.262 6.913Q15.475 21.124 12 22m0-17.875-6 2.25V11.1q0 1.35.375 2.625t1.025 2.4q1.05-.525 2.2-.825A9.5 9.5 0 0 1 12 15q1.25 0 2.4.3t2.2.825q.65-1.125 1.025-2.4T18 11.1V6.375zM12 17q-.9 0-1.75.2a9 9 0 0 0-1.625.55q.724.75 1.575 1.3.85.55 1.8.85a7.4 7.4 0 0 0 1.8-.85 9 9 0 0 0 1.575-1.3 9 9 0 0 0-1.625-.55A7.6 7.6 0 0 0 12 17" />
391
+ </svg>
392
+ );
393
+
384
394
  iconMap['ic_alias'] = (
385
395
  <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
386
396
  <path d="M16.273 15.118c-1.828-.734-3.586-1.102-5.273-1.102h-.001c-1.687 0-3.445.368-5.273 1.102-1.828.735-2.742 1.696-2.742 2.883v2.016H14.13a4.006 4.006 0 0 1 2.465-4.763 9.631 9.631 0 0 0-.322-.136Zm-8.086-4.29C8.968 11.61 9.906 12 11 12s2.032-.39 2.813-1.172c.781-.781 1.172-1.719 1.172-2.813s-.39-2.039-1.172-2.836c-.781-.796-1.719-1.195-2.813-1.195s-2.032.399-2.813 1.195c-.781.797-1.172 1.742-1.172 2.836 0 1.094.39 2.032 1.172 2.813Z" />
@@ -940,6 +950,12 @@ iconMap['ic_fullscreen_frame'] = (
940
950
  </svg>
941
951
  );
942
952
 
953
+ iconMap['ic_generate_title'] = (
954
+ <svg viewBox="0 0 24 24">
955
+ <path d="M9.295 9.705 7.75 9l1.545-.705L10 6.75l.705 1.545L12.25 9l-1.545.705L10 11.25zM10 18.75l.705-1.545 1.545-.705-1.545-.705L10 14.25l-.705 1.545-1.545.705 1.545.705zm-2.722-6.472-1.028.472 1.027.473.473 1.027.473-1.027 1.027-.473-1.027-.473-.473-1.027zM13 12c0-2.318 1.035-4.455 2.58-6H13V4.5h5.25v5.25h-1.5V6.96C15.4 8.265 14.5 10.11 14.5 12c0 2.49 1.575 4.77 3.75 5.865V19.5C15.182 18.308 13 15.262 13 12" />
956
+ </svg>
957
+ );
958
+
943
959
  iconMap['ic_grid_view'] = (
944
960
  <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
945
961
  <path d="M3 3h8v8H3V3Zm0 10h8v8H3v-8ZM21 3h-8v8h8V3Zm-8 10h8v8h-8v-8Z" />
@@ -1045,6 +1061,12 @@ iconMap['ic_labels_on'] = (
1045
1061
  </svg>
1046
1062
  );
1047
1063
 
1064
+ iconMap['ic_land_record_search'] = (
1065
+ <svg viewBox="0 0 24 24">
1066
+ <path d="M12 22a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22m-1-2.05V18q-.825 0-1.412-.587A1.93 1.93 0 0 1 9 16v-1l-4.8-4.8q-.075.45-.138.9Q4 11.55 4 12q0 3.025 1.987 5.3T11 19.95m6.9-2.55q.5-.55.9-1.187.4-.638.662-1.326.263-.687.4-1.412Q20 12.75 20 12a7.85 7.85 0 0 0-1.363-4.475A7.7 7.7 0 0 0 15 4.6V5q0 .824-.588 1.412A1.93 1.93 0 0 1 13 7h-2v2q0 .424-.287.713A.97.97 0 0 1 10 10H8v2h6q.424 0 .713.287.287.288.287.713v3h1q.65 0 1.175.387.525.388.725 1.013" />
1067
+ </svg>
1068
+ );
1069
+
1048
1070
  iconMap['ic_launch_modal'] = (
1049
1071
  <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
1050
1072
  <path d="M12 2.313c-5.523 0-10 4.478-10 10 0 5.523 4.477 10 10 10s10-4.477 10-10c0-5.522-4.477-10-10-10Zm2.928 8.376L9.52 16.095a.696.696 0 0 1-.981-.013.696.696 0 0 1-.013-.98l5.407-5.408-4.788-.063a.713.713 0 0 1-.7-.7.67.67 0 0 1 .682-.683l6.465.085a.713.713 0 0 1 .7.701l.086 6.465a.67.67 0 0 1-.682.683.722.722 0 0 1-.706-.706l-.063-4.787Z" />
@@ -1543,6 +1565,12 @@ iconMap['ic_requisitions'] = (
1543
1565
  </svg>
1544
1566
  );
1545
1567
 
1568
+ iconMap['ic_restart'] = (
1569
+ <svg viewBox="0 0 24 24">
1570
+ <path d="M12 5V3.21c0-.45-.54-.67-.85-.35l-2.8 2.79c-.2.2-.2.51 0 .71l2.79 2.79c.32.31.86.09.86-.36V7c3.31 0 6 2.69 6 6 0 2.72-1.83 5.02-4.31 5.75-.42.12-.69.52-.69.95 0 .65.62 1.16 1.25.97A7.99 7.99 0 0 0 20 13c0-4.42-3.58-8-8-8M6 13c0-1.34.44-2.58 1.19-3.59.3-.4.26-.95-.09-1.31-.42-.42-1.14-.38-1.5.1a7.991 7.991 0 0 0 4.15 12.47c.63.19 1.25-.32 1.25-.97 0-.43-.27-.83-.69-.95C7.83 18.02 6 15.72 6 13" />
1571
+ </svg>
1572
+ );
1573
+
1546
1574
  iconMap['ic_restore'] = (
1547
1575
  <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
1548
1576
  <g>
@@ -1,9 +1,10 @@
1
1
  import './LuiBannerV2.scss';
2
2
  import { ComponentPropsWithoutRef } from 'react';
3
3
  import React from 'react';
4
+ declare type Button = ComponentPropsWithoutRef<'button'>;
4
5
  declare type Dismiss = {
5
- onDismiss: () => void;
6
- dismissButtonProps?: ComponentPropsWithoutRef<'button'>;
6
+ onDismiss: Button['onClick'];
7
+ dismissButtonProps?: Omit<Button, 'onClick'>;
7
8
  } | {
8
9
  onDismiss?: undefined;
9
10
  dismissButtonProps?: never;
package/dist/index.js CHANGED
@@ -197,6 +197,8 @@ iconMap['ic_add_to_xml'] = (React__default["default"].createElement("svg", { vie
197
197
  React__default["default"].createElement("path", { d: "M3 7H5V9C5 9.33333 5.2 10 6 10C6.8 10 7 9.33333 7 9V7H9C9.33333 7 10 6.8 10 6C10 5.2 9.33333 5 9 5H7V3C7 2.66667 6.8 2 6 2C5.2 2 5 2.66667 5 3V5H3C2.66667 5 2 5.2 2 6C2 6.8 2.66667 7 3 7Z" })));
198
198
  iconMap['ic_added_to_list'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
199
199
  React__default["default"].createElement("path", { d: "M4 8a.968.968 0 0 1-.712-.287A.968.968 0 0 1 3 7a.97.97 0 0 1 .288-.713A.968.968 0 0 1 4 6h10c.283 0 .52.096.713.287.191.192.287.43.287.713s-.096.52-.287.713A.968.968 0 0 1 14 8H4Zm0 4a.967.967 0 0 1-.712-.287A.968.968 0 0 1 3 11a.97.97 0 0 1 .288-.713A.967.967 0 0 1 4 10h10c.283 0 .52.096.713.287.191.192.287.43.287.713s-.096.52-.287.713A.968.968 0 0 1 14 12H4Zm0 4a.967.967 0 0 1-.712-.287A.968.968 0 0 1 3 15a.97.97 0 0 1 .288-.713A.967.967 0 0 1 4 14h6c.283 0 .52.096.713.287.191.192.287.43.287.713s-.096.52-.287.713A.968.968 0 0 1 10 16H4Zm11.65 2.3-2.15-2.15a.948.948 0 0 1-.275-.7.95.95 0 0 1 .275-.7.933.933 0 0 1 .688-.275c.274 0 .512.092.712.275l1.45 1.4 3.55-3.55a.933.933 0 0 1 .688-.275c.274 0 .512.1.712.3.2.2.296.442.287.725a1.033 1.033 0 0 1-.312.725L17.05 18.3a.948.948 0 0 1-.7.275.948.948 0 0 1-.7-.275Z" })));
200
+ iconMap['ic_admin'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24" },
201
+ React__default["default"].createElement("path", { d: "M12 13q-1.474 0-2.488-1.012Q8.5 10.975 8.5 9.5q0-1.474 1.012-2.487T12 6t2.488 1.013Q15.5 8.026 15.5 9.5t-1.012 2.488Q13.475 13 12 13m0-2q.65 0 1.075-.425T13.5 9.5t-.425-1.075T12 8t-1.075.425T10.5 9.5t.425 1.075T12 11m0 11q-3.476-.875-5.737-3.988Q4 14.9 4 11.1V5l8-3 8 3v6.1q0 3.8-2.262 6.913Q15.475 21.124 12 22m0-17.875-6 2.25V11.1q0 1.35.375 2.625t1.025 2.4q1.05-.525 2.2-.825A9.5 9.5 0 0 1 12 15q1.25 0 2.4.3t2.2.825q.65-1.125 1.025-2.4T18 11.1V6.375zM12 17q-.9 0-1.75.2a9 9 0 0 0-1.625.55q.724.75 1.575 1.3.85.55 1.8.85a7.4 7.4 0 0 0 1.8-.85 9 9 0 0 0 1.575-1.3 9 9 0 0 0-1.625-.55A7.6 7.6 0 0 0 12 17" })));
200
202
  iconMap['ic_alias'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
201
203
  React__default["default"].createElement("path", { d: "M16.273 15.118c-1.828-.734-3.586-1.102-5.273-1.102h-.001c-1.687 0-3.445.368-5.273 1.102-1.828.735-2.742 1.696-2.742 2.883v2.016H14.13a4.006 4.006 0 0 1 2.465-4.763 9.631 9.631 0 0 0-.322-.136Zm-8.086-4.29C8.968 11.61 9.906 12 11 12s2.032-.39 2.813-1.172c.781-.781 1.172-1.719 1.172-2.813s-.39-2.039-1.172-2.836c-.781-.796-1.719-1.195-2.813-1.195s-2.032.399-2.813 1.195c-.781.797-1.172 1.742-1.172 2.836 0 1.094.39 2.032 1.172 2.813Z" }),
202
204
  React__default["default"].createElement("path", { d: "m18.682 16-.248 2.454 2.38-.7.186 1.368-2.225.206 1.444 1.998-1.203.674-1.047-2.151-.936 2.145-1.252-.668 1.432-1.998L15 19.116l.21-1.362 2.337.7L17.3 16h1.382Z" })));
@@ -407,6 +409,8 @@ iconMap['ic_forward'] = (React__default["default"].createElement("svg", { xmlns:
407
409
  React__default["default"].createElement("path", { d: "M12 8.016V3.985l8.016 8.016L12 20.017v-4.031H3.984V8.017H12z" })));
408
410
  iconMap['ic_fullscreen_frame'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
409
411
  React__default["default"].createElement("path", { d: "M7 14H5v5h5v-2H7v-3Zm-2-4h2V7h3V5H5v5Zm12 7h-3v2h5v-5h-2v3ZM14 5v2h3v3h2V5h-5Z" })));
412
+ iconMap['ic_generate_title'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24" },
413
+ React__default["default"].createElement("path", { d: "M9.295 9.705 7.75 9l1.545-.705L10 6.75l.705 1.545L12.25 9l-1.545.705L10 11.25zM10 18.75l.705-1.545 1.545-.705-1.545-.705L10 14.25l-.705 1.545-1.545.705 1.545.705zm-2.722-6.472-1.028.472 1.027.473.473 1.027.473-1.027 1.027-.473-1.027-.473-.473-1.027zM13 12c0-2.318 1.035-4.455 2.58-6H13V4.5h5.25v5.25h-1.5V6.96C15.4 8.265 14.5 10.11 14.5 12c0 2.49 1.575 4.77 3.75 5.865V19.5C15.182 18.308 13 15.262 13 12" })));
410
414
  iconMap['ic_grid_view'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
411
415
  React__default["default"].createElement("path", { d: "M3 3h8v8H3V3Zm0 10h8v8H3v-8ZM21 3h-8v8h8V3Zm-8 10h8v8h-8v-8Z" })));
412
416
  iconMap['ic_help_outline'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
@@ -443,6 +447,8 @@ iconMap['ic_labels_off'] = (React__default["default"].createElement("svg", { vie
443
447
  React__default["default"].createElement("path", { d: "M2.5 4.5 4 3l16 16-1.5 1.5-2.805-2.805a1.85 1.85 0 0 1-1.028.305h-8.89c-.488 0-.907-.168-1.255-.504A1.622 1.622 0 0 1 4 16.286V7.714c0-.467.17-.867.513-1.201L2.5 4.5ZM10 6l8.308 8.307L20 12l-3.867-5.271a1.68 1.68 0 0 0-.633-.536A1.85 1.85 0 0 0 14.667 6H10Z" })));
444
448
  iconMap['ic_labels_on'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
445
449
  React__default["default"].createElement("path", { d: "m20 12-3.867 5.271a1.68 1.68 0 0 1-.633.536 1.85 1.85 0 0 1-.833.193h-8.89c-.488 0-.907-.168-1.255-.504A1.622 1.622 0 0 1 4 16.286V7.714c0-.471.174-.875.522-1.21A1.744 1.744 0 0 1 5.778 6h8.889c.296 0 .574.064.833.193.26.128.47.307.633.536L20 12Z" })));
450
+ iconMap['ic_land_record_search'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24" },
451
+ React__default["default"].createElement("path", { d: "M12 22a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22m-1-2.05V18q-.825 0-1.412-.587A1.93 1.93 0 0 1 9 16v-1l-4.8-4.8q-.075.45-.138.9Q4 11.55 4 12q0 3.025 1.987 5.3T11 19.95m6.9-2.55q.5-.55.9-1.187.4-.638.662-1.326.263-.687.4-1.412Q20 12.75 20 12a7.85 7.85 0 0 0-1.363-4.475A7.7 7.7 0 0 0 15 4.6V5q0 .824-.588 1.412A1.93 1.93 0 0 1 13 7h-2v2q0 .424-.287.713A.97.97 0 0 1 10 10H8v2h6q.424 0 .713.287.287.288.287.713v3h1q.65 0 1.175.387.525.388.725 1.013" })));
446
452
  iconMap['ic_launch_modal'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
447
453
  React__default["default"].createElement("path", { d: "M12 2.313c-5.523 0-10 4.478-10 10 0 5.523 4.477 10 10 10s10-4.477 10-10c0-5.522-4.477-10-10-10Zm2.928 8.376L9.52 16.095a.696.696 0 0 1-.981-.013.696.696 0 0 1-.013-.98l5.407-5.408-4.788-.063a.713.713 0 0 1-.7-.7.67.67 0 0 1 .682-.683l6.465.085a.713.713 0 0 1 .7.701l.086 6.465a.67.67 0 0 1-.682.683.722.722 0 0 1-.706-.706l-.063-4.787Z" })));
448
454
  iconMap['ic_launch_new window_open'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
@@ -623,6 +629,8 @@ iconMap['ic_request'] = (React__default["default"].createElement("svg", { viewBo
623
629
  React__default["default"].createElement("path", { d: "M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h9v-2H4V8l8 5 8-5v5h2V6c0-1.1-.9-2-2-2Zm-8 7L4 6h16l-8 5Zm7 4 4 4-4 4v-3h-4v-2h4v-3Z" })));
624
630
  iconMap['ic_requisitions'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
625
631
  React__default["default"].createElement("path", { d: "M4 2h16c1.1 0 1.99.9 1.99 2L22 22l-4-4H4c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2Zm0 14h14.83l.59.59.58.58V4H4v12Zm9-4h-2v2h2v-2Zm0-6h-2v4h2V6Z" })));
632
+ iconMap['ic_restart'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24" },
633
+ React__default["default"].createElement("path", { d: "M12 5V3.21c0-.45-.54-.67-.85-.35l-2.8 2.79c-.2.2-.2.51 0 .71l2.79 2.79c.32.31.86.09.86-.36V7c3.31 0 6 2.69 6 6 0 2.72-1.83 5.02-4.31 5.75-.42.12-.69.52-.69.95 0 .65.62 1.16 1.25.97A7.99 7.99 0 0 0 20 13c0-4.42-3.58-8-8-8M6 13c0-1.34.44-2.58 1.19-3.59.3-.4.26-.95-.09-1.31-.42-.42-1.14-.38-1.5.1a7.991 7.991 0 0 0 4.15 12.47c.63.19 1.25-.32 1.25-.97 0-.43-.27-.83-.69-.95C7.83 18.02 6 15.72 6 13" })));
626
634
  iconMap['ic_restore'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
627
635
  React__default["default"].createElement("g", null,
628
636
  React__default["default"].createElement("path", { d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6Zm4 18H6V4h7.17L18 8.83V20Z" }),
@@ -59271,7 +59279,7 @@ var useSplitterRef = function () {
59271
59279
  return { ref: ref, setRatio: setRatio };
59272
59280
  };
59273
59281
 
59274
- var css_248z = "/**\n @deprecated\n */\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n.LuiBannerV2 {\n font-family: \"Open Sans\", system-ui, sans-serif;\n font-style: normal;\n font-weight: normal;\n box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.2509803922), 0px 0px 3px 0px rgba(0, 0, 0, 0.1490196078);\n font-size: 16px;\n display: flex;\n align-items: center;\n min-height: 3rem;\n position: relative;\n background-color: #ffffff;\n border-radius: 5px;\n padding-bottom: 0.5rem;\n padding-top: 0.5rem;\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.LuiBannerV2.has-level {\n padding-left: 3.25rem;\n border-left-width: 0.5rem;\n border-left-style: solid;\n}\n.LuiBannerV2.warning {\n border-left-color: #EA6A2E;\n}\n.LuiBannerV2.error {\n border-left-color: #cc0000;\n}\n.LuiBannerV2.info {\n border-left-color: #3A7CDF;\n}\n.LuiBannerV2.success {\n border-left-color: #0AA345;\n}\n.LuiBannerV2.can-dismiss {\n padding-right: 2.5rem;\n}\n.LuiBannerV2-Icon {\n position: absolute;\n left: 0.5rem;\n top: 0.5rem;\n}\n.LuiBannerV2-Icon.warning {\n color: #EA6A2E;\n}\n.LuiBannerV2-Icon.error {\n color: #cc0000;\n}\n.LuiBannerV2-Icon.info {\n color: #3A7CDF;\n}\n.LuiBannerV2-Icon.success {\n color: #0AA345;\n}\n.LuiBannerV2-Icon svg {\n fill: currentColor;\n}\n.LuiBannerV2-Dismiss {\n display: flex;\n position: absolute;\n right: 0.75rem;\n top: 50%;\n transform: translateY(-50%);\n background-color: transparent;\n padding: 0;\n}\n.LuiBannerV2-Dismiss svg {\n fill: #6b6966;\n}";
59282
+ var css_248z = "/**\n @deprecated\n */\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n.LuiBannerV2 {\n font-family: \"Open Sans\", system-ui, sans-serif;\n font-style: normal;\n font-weight: normal;\n box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.2509803922), 0px 0px 3px 0px rgba(0, 0, 0, 0.1490196078);\n font-size: 16px;\n display: grid;\n align-items: center;\n min-height: 3rem;\n position: relative;\n background-color: #ffffff;\n border-radius: 5px;\n padding-bottom: 0.5rem;\n padding-top: 0.5rem;\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.LuiBannerV2 > :first-child {\n margin-top: 0;\n}\n.LuiBannerV2.has-level {\n padding-left: 3.25rem;\n border-left-width: 0.5rem;\n border-left-style: solid;\n}\n.LuiBannerV2.warning {\n border-left-color: #EA6A2E;\n}\n.LuiBannerV2.error {\n border-left-color: #cc0000;\n}\n.LuiBannerV2.info {\n border-left-color: #3A7CDF;\n}\n.LuiBannerV2.success {\n border-left-color: #0AA345;\n}\n.LuiBannerV2.can-dismiss {\n padding-right: 2.5rem;\n}\n.LuiBannerV2-Icon {\n position: absolute;\n left: 0.5rem;\n top: 0.5rem;\n}\n.LuiBannerV2-Icon.warning {\n color: #EA6A2E;\n}\n.LuiBannerV2-Icon.error {\n color: #cc0000;\n}\n.LuiBannerV2-Icon.info {\n color: #3A7CDF;\n}\n.LuiBannerV2-Icon.success {\n color: #0AA345;\n}\n.LuiBannerV2-Icon svg {\n fill: currentColor;\n}\n.LuiBannerV2-Dismiss {\n display: flex;\n position: absolute;\n right: 0.75rem;\n top: 50%;\n transform: translateY(-50%);\n background-color: transparent;\n padding: 0;\n}\n.LuiBannerV2-Dismiss svg {\n fill: #6b6966;\n}";
59275
59283
  styleInject(css_248z);
59276
59284
 
59277
59285
  var LuiBannerV2 = React.forwardRef(function (_a, ref) {
@@ -59286,13 +59294,9 @@ var LuiBannerV2 = React.forwardRef(function (_a, ref) {
59286
59294
  }
59287
59295
  })();
59288
59296
  return (React__default["default"].createElement("div", __assign({ ref: ref, className: clsx('LuiBannerV2', level, icon && 'has-level', onDismiss && 'can-dismiss', className) }, props),
59289
- icon && (React__default["default"].createElement(LuiIcon, { className: clsx('LuiBannerV2-Icon', level), size: "lg", name: icon, spanProps: { 'aria-hidden': true }, alt: level })),
59290
59297
  children,
59291
- onDismiss && (React__default["default"].createElement("button", __assign({}, dismissButtonProps, { className: clsx('LuiBannerV2-Dismiss', dismissButtonProps === null || dismissButtonProps === void 0 ? void 0 : dismissButtonProps.className), "aria-label": (_b = dismissButtonProps === null || dismissButtonProps === void 0 ? void 0 : dismissButtonProps['aria-label']) !== null && _b !== void 0 ? _b : 'Dismiss', type: (_c = dismissButtonProps === null || dismissButtonProps === void 0 ? void 0 : dismissButtonProps.type) !== null && _c !== void 0 ? _c : 'button', onClick: function (e) {
59292
- var _a;
59293
- (_a = dismissButtonProps === null || dismissButtonProps === void 0 ? void 0 : dismissButtonProps.onClick) === null || _a === void 0 ? void 0 : _a.call(dismissButtonProps, e);
59294
- onDismiss();
59295
- } }), (_d = dismissButtonProps === null || dismissButtonProps === void 0 ? void 0 : dismissButtonProps.children) !== null && _d !== void 0 ? _d : (React__default["default"].createElement(LuiIcon, { size: "md", name: "ic_clear", spanProps: { 'aria-hidden': true }, alt: "Dismiss" }))))));
59298
+ icon && (React__default["default"].createElement(LuiIcon, { className: clsx('LuiBannerV2-Icon', level), size: "lg", name: icon, spanProps: { 'aria-hidden': true }, alt: level })),
59299
+ onDismiss && (React__default["default"].createElement("button", __assign({}, dismissButtonProps, { className: clsx('LuiBannerV2-Dismiss', dismissButtonProps === null || dismissButtonProps === void 0 ? void 0 : dismissButtonProps.className), "aria-label": (_b = dismissButtonProps === null || dismissButtonProps === void 0 ? void 0 : dismissButtonProps['aria-label']) !== null && _b !== void 0 ? _b : 'Dismiss', type: (_c = dismissButtonProps === null || dismissButtonProps === void 0 ? void 0 : dismissButtonProps.type) !== null && _c !== void 0 ? _c : 'button', onClick: onDismiss }), (_d = dismissButtonProps === null || dismissButtonProps === void 0 ? void 0 : dismissButtonProps.children) !== null && _d !== void 0 ? _d : (React__default["default"].createElement(LuiIcon, { size: "md", name: "ic_clear", spanProps: { 'aria-hidden': true }, alt: "Dismiss" }))))));
59296
59300
  });
59297
59301
 
59298
59302
  exports.CheckboxItemRenderer = CheckboxItemRenderer;