@linzjs/lui 21.3.1 → 21.5.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.5.0](https://github.com/linz/lui/compare/v21.4.0...v21.5.0) (2023-10-31)
2
+
3
+
4
+ ### Features
5
+
6
+ * SURVEY-19904 allow LuiSplash video ([#1036](https://github.com/linz/lui/issues/1036)) ([e91bc44](https://github.com/linz/lui/commit/e91bc4476b238a92f042abc3dd674835d086f585))
7
+
8
+ # [21.4.0](https://github.com/linz/lui/compare/v21.3.1...v21.4.0) (2023-10-31)
9
+
10
+
11
+ ### Features
12
+
13
+ * toggle on, toggle off, plan generation icons ([#1034](https://github.com/linz/lui/issues/1034)) ([a8806cd](https://github.com/linz/lui/commit/a8806cdbd7f62ece32c9ad541e2a2c9264df1842))
14
+
1
15
  ## [21.3.1](https://github.com/linz/lui/compare/v21.3.0...v21.3.1) (2023-10-25)
2
16
 
3
17
 
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24"><path d="M21 4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 14H3V6h18v12Zm-6.5-7L11 15.51 8.5 12.5 5 17h14l-4.5-6Z" fill="#000"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24"><path d="M7 6h10c3.31 0 6 2.69 6 6s-2.69 6-6 6H7c-3.31 0-6-2.69-6-6s2.69-6 6-6Zm0 10h10c2.21 0 4-1.79 4-4s-1.79-4-4-4H7c-2.21 0-4 1.79-4 4s1.79 4 4 4Zm0-7c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3Z" fill="#000"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24"><path d="M7 7h10c2.76 0 5 2.24 5 5s-2.24 5-5 5H7c-2.76 0-5-2.24-5-5s2.24-5 5-5Zm10 8c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3Z" fill="#000"/></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_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_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_delete_forever' | '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_email' | '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_help_outline' | '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_labels_off' | 'ic_labels_on' | 'ic_launch_modal' | 'ic_launch_new window_open' | 'ic_layers' | 'ic_layers_user_defined' | 'ic_left' | 'ic_left_col' | 'ic_line_arc' | '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_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_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_plus_one' | 'ic_polygon_selection' | 'ic_pop_back' | 'ic_pre_validation' | 'ic_print' | 'ic_product_list' | 'ic_publish' | 'ic_push_pin_remove' | 'ic_read_only' | 'ic_refresh' | 'ic_regenerate' | 'ic_release' | 'ic_remove_circle' | 'ic_remove_circle_outline' | 'ic_request' | 'ic_requisitions' | 'ic_restore' | 'ic_round_selection' | 'ic_save' | 'ic_save_as' | 'ic_save_download' | 'ic_saved_area_interest' | 'ic_search' | '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_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_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';
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_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_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_delete_forever' | '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_email' | '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_help_outline' | '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_labels_off' | 'ic_labels_on' | 'ic_launch_modal' | 'ic_launch_new window_open' | 'ic_layers' | 'ic_layers_user_defined' | 'ic_left' | 'ic_left_col' | 'ic_line_arc' | '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_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_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_remove' | 'ic_read_only' | 'ic_refresh' | 'ic_regenerate' | 'ic_release' | 'ic_remove_circle' | 'ic_remove_circle_outline' | 'ic_request' | 'ic_requisitions' | 'ic_restore' | 'ic_round_selection' | 'ic_save' | 'ic_save_as' | 'ic_save_download' | 'ic_saved_area_interest' | 'ic_search' | '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_ta_request_sent' | 'ic_table_columns' | 'ic_tax_statement' | 'ic_tick' | 'ic_tick_and_cross' | 'ic_timeline' | 'ic_title_allocation_swap' | 'ic_toggle_off' | 'ic_toggle_on' | 'ic_tune_setting_configure' | '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';
3
3
  declare type IconNameElementMap = {
4
4
  [key in LuiIconName]?: JSX.Element;
5
5
  };
@@ -152,6 +152,7 @@ export type LuiIconName =
152
152
  | 'ic_person_add'
153
153
  | 'ic_picker'
154
154
  | 'ic_placeholder'
155
+ | 'ic_plan_generation'
155
156
  | 'ic_plus_one'
156
157
  | 'ic_polygon_selection'
157
158
  | 'ic_pop_back'
@@ -194,6 +195,8 @@ export type LuiIconName =
194
195
  | 'ic_tick_and_cross'
195
196
  | 'ic_timeline'
196
197
  | 'ic_title_allocation_swap'
198
+ | 'ic_toggle_off'
199
+ | 'ic_toggle_on'
197
200
  | 'ic_tune_setting_configure'
198
201
  | 'ic_unlink'
199
202
  | 'ic_unlock'
@@ -1116,6 +1119,12 @@ iconMap['ic_placeholder'] = (
1116
1119
  </svg>
1117
1120
  );
1118
1121
 
1122
+ iconMap['ic_plan_generation'] = (
1123
+ <svg viewBox="0 0 24 24">
1124
+ <path d="M21 4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 14H3V6h18v12Zm-6.5-7L11 15.51 8.5 12.5 5 17h14l-4.5-6Z" />
1125
+ </svg>
1126
+ );
1127
+
1119
1128
  iconMap['ic_plus_one'] = (
1120
1129
  <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
1121
1130
  <g>
@@ -1384,6 +1393,18 @@ iconMap['ic_title_allocation_swap'] = (
1384
1393
  </svg>
1385
1394
  );
1386
1395
 
1396
+ iconMap['ic_toggle_off'] = (
1397
+ <svg viewBox="0 0 24 24">
1398
+ <path d="M7 6h10c3.31 0 6 2.69 6 6s-2.69 6-6 6H7c-3.31 0-6-2.69-6-6s2.69-6 6-6Zm0 10h10c2.21 0 4-1.79 4-4s-1.79-4-4-4H7c-2.21 0-4 1.79-4 4s1.79 4 4 4Zm0-7c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3Z" />
1399
+ </svg>
1400
+ );
1401
+
1402
+ iconMap['ic_toggle_on'] = (
1403
+ <svg viewBox="0 0 24 24">
1404
+ <path d="M7 7h10c2.76 0 5 2.24 5 5s-2.24 5-5 5H7c-2.76 0-5-2.24-5-5s2.24-5 5-5Zm10 8c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3Z" />
1405
+ </svg>
1406
+ );
1407
+
1387
1408
  iconMap['ic_tune_setting_configure'] = (
1388
1409
  <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
1389
1410
  <path d="M3 18c0 .55.45 1 1 1h5v-2H4c-.55 0-1 .45-1 1ZM3 6c0 .55.45 1 1 1h9V5H4c-.55 0-1 .45-1 1Zm10 14v-1h7c.55 0 1-.45 1-1s-.45-1-1-1h-7v-1c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1ZM7 10v1H4c-.55 0-1 .45-1 1s.45 1 1 1h3v1c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1s-1 .45-1 1Zm14 2c0-.55-.45-1-1-1h-9v2h9c.55 0 1-.45 1-1Zm-5-3c.55 0 1-.45 1-1V7h3c.55 0 1-.45 1-1s-.45-1-1-1h-3V4c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1Z" />
@@ -1,13 +1,27 @@
1
1
  import { ReactNode } from 'react';
2
- interface SplashModalProps {
3
- bigImage: string;
4
- smallImage: string;
2
+ interface IFrameConfig {
3
+ url: string;
4
+ width: number;
5
+ height: number;
6
+ title: string;
7
+ iframeWrapperClass?: string;
8
+ iFrameProps?: Partial<JSX.IntrinsicElements['iframe']>;
9
+ }
10
+ declare type SplashModalProps = {
5
11
  header: string;
6
12
  wrapperClass?: string;
7
13
  id: string;
8
14
  releaseVersion: string;
9
15
  enabled: boolean;
10
16
  children?: ReactNode;
11
- }
17
+ } & ({
18
+ bigImage: string;
19
+ smallImage: string;
20
+ iframe?: never;
21
+ } | {
22
+ bigImage?: never;
23
+ smallImage?: never;
24
+ iframe: IFrameConfig;
25
+ });
12
26
  export declare const LuiUpdatesSplashModal: (props: SplashModalProps) => JSX.Element;
13
27
  export {};
package/dist/index.js CHANGED
@@ -472,6 +472,8 @@ iconMap['ic_picker'] = (React__default["default"].createElement("svg", { viewBox
472
472
  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" })));
473
473
  iconMap['ic_placeholder'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
474
474
  React__default["default"].createElement("circle", { cx: "12", cy: "12", r: "5" })));
475
+ iconMap['ic_plan_generation'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24" },
476
+ React__default["default"].createElement("path", { d: "M21 4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 14H3V6h18v12Zm-6.5-7L11 15.51 8.5 12.5 5 17h14l-4.5-6Z" })));
475
477
  iconMap['ic_plus_one'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
476
478
  React__default["default"].createElement("g", null,
477
479
  React__default["default"].createElement("path", { d: "M10 8H8v4H4v2h4v4h2v-4h4v-2h-4V8Zm4.5-1.92V7.9l2.5-.5V18h2V5l-4.5 1.08Z" }))));
@@ -566,6 +568,10 @@ iconMap['ic_timeline'] = (React__default["default"].createElement("svg", { viewB
566
568
  React__default["default"].createElement("path", { d: "M23 8c0 1.1-.9 2-2 2a1.7 1.7 0 0 1-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07s-.36-.02-.52-.07l-4.55 4.56c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.18 0 .35.02.51.07l4.56-4.55C8.02 9.36 8 9.18 8 9c0-1.1.9-2 2-2s2 .9 2 2c0 .18-.02.36-.07.52l2.55 2.55c.16-.05.34-.07.52-.07s.36.02.52.07l3.55-3.56A1.7 1.7 0 0 1 19 8c0-1.1.9-2 2-2s2 .9 2 2Z" })));
567
569
  iconMap['ic_title_allocation_swap'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
568
570
  React__default["default"].createElement("path", { d: "m6.14 11.86-2.78 2.79c-.19.2-.19.51 0 .71l2.78 2.79c.31.32.85.09.85-.35V16H13c.55 0 1-.45 1-1s-.45-1-1-1H6.99v-1.79c0-.45-.54-.67-.85-.35Zm14.51-3.21-2.78-2.79c-.31-.32-.85-.09-.85.35V8H11c-.55 0-1 .45-1 1s.45 1 1 1h6.01v1.79c0 .45.54.67.85.35l2.78-2.79c.2-.19.2-.51.01-.7Z" })));
571
+ iconMap['ic_toggle_off'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24" },
572
+ React__default["default"].createElement("path", { d: "M7 6h10c3.31 0 6 2.69 6 6s-2.69 6-6 6H7c-3.31 0-6-2.69-6-6s2.69-6 6-6Zm0 10h10c2.21 0 4-1.79 4-4s-1.79-4-4-4H7c-2.21 0-4 1.79-4 4s1.79 4 4 4Zm0-7c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3Z" })));
573
+ iconMap['ic_toggle_on'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24" },
574
+ React__default["default"].createElement("path", { d: "M7 7h10c2.76 0 5 2.24 5 5s-2.24 5-5 5H7c-2.76 0-5-2.24-5-5s2.24-5 5-5Zm10 8c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3Z" })));
569
575
  iconMap['ic_tune_setting_configure'] = (React__default["default"].createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
570
576
  React__default["default"].createElement("path", { d: "M3 18c0 .55.45 1 1 1h5v-2H4c-.55 0-1 .45-1 1ZM3 6c0 .55.45 1 1 1h9V5H4c-.55 0-1 .45-1 1Zm10 14v-1h7c.55 0 1-.45 1-1s-.45-1-1-1h-7v-1c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1ZM7 10v1H4c-.55 0-1 .45-1 1s.45 1 1 1h3v1c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1s-1 .45-1 1Zm14 2c0-.55-.45-1-1-1h-9v2h9c.55 0 1-.45 1-1Zm-5-3c.55 0 1-.45 1-1V7h3c.55 0 1-.45 1-1s-.45-1-1-1h-3V4c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1Z" })));
571
577
  iconMap['ic_unlink'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
@@ -42036,6 +42042,7 @@ var LuiUpdatesSplashModal = function (props) {
42036
42042
  if (typeof process === 'undefined' || ((_a = process === null || process === void 0 ? void 0 : process.env) === null || _a === void 0 ? void 0 : _a.NODE_ENV) !== 'test') {
42037
42043
  Modal.setAppElement('#root');
42038
42044
  }
42045
+ var featureMedia = props.iframe ? (React__default["default"].createElement(FeatureIFrame, { iframeConfig: props.iframe })) : (React__default["default"].createElement(FeatureImages, { bigImage: props.bigImage, smallImage: props.smallImage }));
42039
42046
  return (React__default["default"].createElement(Modal, { isOpen: props.enabled &&
42040
42047
  showModal &&
42041
42048
  props.releaseVersion.trim() !== currentVersion, shouldCloseOnEsc: true, onRequestClose: handleClose, shouldCloseOnOverlayClick: true, contentLabel: "Recent updates", className: "lui-splash-content lui-box-shadow", overlayClassName: "splash_overlay" },
@@ -42046,10 +42053,21 @@ var LuiUpdatesSplashModal = function (props) {
42046
42053
  React__default["default"].createElement("h1", null, props.header)),
42047
42054
  React__default["default"].createElement("button", { "aria-label": "Close dialog", onClick: handleClose },
42048
42055
  React__default["default"].createElement(LuiIcon, { alt: "cross_icon", name: "ic_clear", status: "interactive", size: "md" }))),
42049
- React__default["default"].createElement("div", { className: "lui-feature-img" },
42050
- React__default["default"].createElement("img", { className: "lui-hide-xs lui-hide-sm", alt: "What's new", src: props.bigImage }),
42051
- React__default["default"].createElement("img", { className: "lui-hide-md lui-hide-lg lui-hide-xl", alt: "What's new", src: props.smallImage })),
42056
+ featureMedia,
42052
42057
  React__default["default"].createElement("div", { className: 'lui-feature-text' }, props.children))));
42058
+ };
42059
+ var FeatureImages = function (_a) {
42060
+ var bigImage = _a.bigImage, smallImage = _a.smallImage;
42061
+ return (React__default["default"].createElement("div", { className: "lui-feature-img" },
42062
+ React__default["default"].createElement("img", { className: "lui-hide-xs lui-hide-sm", alt: "What's new", src: bigImage }),
42063
+ React__default["default"].createElement("img", { className: "lui-hide-md lui-hide-lg lui-hide-xl", alt: "What's new", src: smallImage })));
42064
+ };
42065
+ var FeatureIFrame = function (_a) {
42066
+ var iframeConfig = _a.iframeConfig;
42067
+ var wrapperClass = iframeConfig.iframeWrapperClass || 'iframe-wrapper';
42068
+ var iFrameProps = iframeConfig.iFrameProps ? iframeConfig.iFrameProps : {};
42069
+ return (React__default["default"].createElement("div", { className: wrapperClass },
42070
+ React__default["default"].createElement("iframe", __assign({ width: iframeConfig.width, height: iframeConfig.height, src: iframeConfig.url, title: iframeConfig.title }, iFrameProps))));
42053
42071
  };
42054
42072
 
42055
42073
  var LuiModal = function (props) {