@stenajs-webui/panels 23.17.0 → 23.17.2
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/dist/index.css +1 -1
- package/dist/index.es.js +69 -69
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._navBar_kzibd_1{--swui-navbar-background-color: var(--lhds-color-ui-50);--swui-navbar-item-background-color-hover: var(--lhds-color-blue-700);--swui-navbar-item-background-color-selected: var(--lhds-color-blue-600);--swui-navbar-item-background-color-selected-hover: var( --lhds-color-blue-700 );--swui-nav-bar-height: 48px;background-color:var(--swui-navbar-background-color);height:var(--swui-nav-bar-height);min-height:var(--swui-nav-bar-height)}._navBarButton_b3x3w_1:hover{background:var(--lhds-color-ui-100)}._navBarButton_b3x3w_1:focus-visible{background:var(--lhds-color-ui-200)}._navBarButton_b3x3w_1:active{background:var(--lhds-color-ui-200)}._navBarButton_b3x3w_1._selected_b3x3w_14{background:var(--lhds-color-blue-200)}._navBarButton_b3x3w_1._selected_b3x3w_14:hover{background:var(--lhds-color-blue-100)}._navBarButton_b3x3w_1._selected_b3x3w_14:focus-visible{background:var(--lhds-color-blue-300)}._navBarButton_b3x3w_1._selected_b3x3w_14:active{background:var(--lhds-color-blue-200)}._navBarLink_1u1b2_1:hover{background:var(--lhds-color-ui-100)}._navBarLink_1u1b2_1:focus-visible{background:var(--lhds-color-ui-200)}._navBarLink_1u1b2_1:active{background:var(--lhds-color-ui-200)}._navBarLink_1u1b2_1._selected_1u1b2_14{background:var(--lhds-color-blue-200)}._navBarLink_1u1b2_1._selected_1u1b2_14:hover{background:var(--lhds-color-blue-100)}._navBarLink_1u1b2_1._selected_1u1b2_14:focus-visible{background:var(--lhds-color-blue-300)}._navBarLink_1u1b2_1._selected_1u1b2_14:active{background:var(--lhds-color-blue-200)}._navBarNotificationButton_1nfdy_1{--current-background-color: var(--lhds-color-ui-400);--current-outline-color: var(--core-blue);background-color:var(--current-background-color);border-color:transparent;color:var(--lhds-color-ui-50);--swui-nav-bar-notification-shake-count: 3;transition:.5s width}._navBarNotificationButton_1nfdy_1:hover{--current-background-color: var(--lhds-color-red-500);--current-outline-color: var(--lhds-color-red-500)}._navBarNotificationButton_1nfdy_1:active{--current-background-color: var(--lhds-color-red-600);--current-outline-color: var(--lhds-color-red-600)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23 ._icon_1nfdy_23{transform-origin:top center;animation:_shake_1nfdy_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23{--current-background-color: var(--lhds-color-red-500);--current-outline-color: var(--lhds-color-red-500)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23:hover{--current-background-color: var(--lhds-color-red-600);--current-outline-color: var(--lhds-color-red-600)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23:active{--current-background-color: var(--lhds-color-red-700);--current-outline-color: var(--lhds-color-red-700)}._navBarNotificationButton_1nfdy_1:focus-visible{outline:var(--swui-focus-outline);outline-color:var(--current-outline-color);outline-offset:var(--swui-focus-outline-width)}@keyframes _shake_1nfdy_1{0%{transform:rotate(0)}7%{transform:rotate(20deg)}15%{transform:rotate(-20deg)}22%{transform:rotate(16deg)}30%{transform:rotate(-16deg)}38%{transform:rotate(6deg)}42%{transform:rotate(-6deg)}46%{transform:rotate(2deg)}to{transform:rotate(0)}}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1{line-height:2.7rem;color:var(--lhds-color-ui-800)}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1::placeholder{color:var(--lhds-color-blue-600)}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1{padding:0 var(--swui-metrics-indent)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12{background:var(--lhds-color-ui-200);border-color:transparent}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12:hover{border-color:transparent}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12{padding:0 var(--swui-metrics-indent);border-radius:var(--swui-max-border-radius)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12._withButton_1rp8g_24{padding-right:1px}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12:focus-within{color:var(--lhds-color-ui-800);background:var(--lhds-color-ui-50)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12 ._clearButton_1rp8g_33{border-radius:var(--swui-max-border-radius)}._navBarUserButton_10f9z_1:hover{background:var(--lhds-color-ui-100)}._navBarUserButton_10f9z_1:focus-visible{background:var(--lhds-color-ui-200)}._navBarUserButton_10f9z_1:active{background:var(--lhds-color-ui-200)}._sidebarMenuCollapsibleGroupBox_ikek9_1{background:var(--lhds-color-ui-200);border-radius:var(--swui-border-radius);gap:var(--swui-metrics-space);display:flex;flex-direction:column;padding:var(--swui-metrics-space);--current-text-size: var(--swui-font-size-small)}._selectionRow_1njaw_1{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:calc(var(--swui-metrics-space) * 2)}@media (max-width: 370px){._iconColumn_1njaw_9{display:none}}._sidebarMenu_1bx5w_1{--swui-sidebar-menu-separator-color: var(--swui-white);--swui-sidebar-menu-text-color: var(--lhds-color-ui-900);--swui-sidebar-menu-icon-color: var(--lhds-color-ui-900);--swui-sidebar-menu-background-color: transparent;--swui-sidebar-menu-background-color-hover: var(--lhds-color-ui-400);--swui-sidebar-menu-background-color-focus: var(--lhds-color-ui-400);--swui-sidebar-menu-background-color-active: var(--lhds-color-ui-300);--swui-sidebar-menu-background-selected: var(--lhds-color-blue-100);--swui-sidebar-menu-background-selected-hover: var(--lhds-color-blue-200);--swui-sidebar-menu-background-selected-focus: var(--lhds-color-blue-200);--swui-sidebar-menu-background-selected-active: var(--lhds-color-blue-100);--current-background-color: var(--swui-sidebar-menu-background-color);--current-background-color-hover: var( --swui-sidebar-menu-background-color-hover );--current-background-color-focus: var( --swui-sidebar-menu-background-color-focus );--current-background-color-active: var( --swui-sidebar-menu-background-color-active );--current-background-selected: var(--swui-sidebar-menu-background-selected);--current-background-selected-hover: var( --swui-sidebar-menu-background-selected-hover );--current-background-selected-focus: var( --swui-sidebar-menu-background-selected-focus );--current-background-selected-active: var( --swui-sidebar-menu-background-selected-active )}._sidebarMenu_1bx5w_1 ._sidebarItems_1bx5w_38{--current-separator-color: var(--swui-sidebar-menu-separator-color);--current-text-color: var(--swui-sidebar-menu-text-color);--current-icon-color: var(--swui-sidebar-menu-icon-color)}._sidebarMenu_1bx5w_1{background-color:var(--current-background-color);height:100dvh}._sidebarMenu_1bx5w_1 ._scrollContainer_1bx5w_48{background:var(--current-background-color);height:100%;overflow:auto}._stenaFlag_108h7_1{height:32px}._productCard_19x6b_1{max-width:560px}@media (max-width: 768px){._productCard_19x6b_1{max-width:unset}}._productSummaryCardImage_1knc7_1{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.yarl__fullsize{height:100%;width:100%}.yarl__relative{position:relative}.yarl__portal{inset:0;opacity:0;overflow:hidden;position:fixed;transition:opacity var(--yarl__fade_animation_duration,.25s) var(--yarl__fade_animation_timing_function,ease);z-index:var(--yarl__portal_zindex,9999)}.yarl__portal_open{opacity:1}.yarl__container{background-color:var(--yarl__container_background_color,var(--yarl__color_backdrop,#000));inset:0;outline:none;overflow:hidden;overscroll-behavior:var(--yarl__controller_overscroll_behavior,contain);position:absolute;touch-action:var(--yarl__controller_touch_action,none);-webkit-user-select:none;user-select:none}.yarl__carousel{align-content:center;align-items:stretch;display:flex;flex:0 0 auto;height:100%;justify-content:center;opacity:var(--yarl__pull_opacity,1);transform:translate(var(--yarl__swipe_offset,0),var(--yarl__pull_offset,0));width:calc(100% + (var(--yarl__carousel_slides_count) - 1)*(100% + var(--yarl__carousel_spacing_px, 0)*1px + var(--yarl__carousel_spacing_percent, 0)*1%))}.yarl__carousel_with_slides{column-gap:calc(var(--yarl__carousel_spacing_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_spacing_percent, 0)*1%)}.yarl__flex_center{align-content:center;align-items:center;display:flex;justify-content:center}.yarl__slide{flex:1;overflow:hidden;padding:calc(var(--yarl__carousel_padding_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_padding_percent, 0)*1%);position:relative}[dir=rtl] .yarl__slide{--yarl__direction:-1}.yarl__slide_image{max-height:100%;max-width:100%;object-fit:contain;touch-action:var(--yarl__controller_touch_action,none);user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.yarl__slide_image_cover{height:100%;object-fit:cover;width:100%}.yarl__slide_image_loading{opacity:0}@media screen and (min-width:800px){.yarl__slide_wrapper:not(.yarl__slide_wrapper_interactive) .yarl__slide_image{-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);-webkit-transform-style:preserve-3d}}.yarl__slide_placeholder{left:50%;line-height:0;position:absolute;top:50%;transform:translate(-50%) translateY(-50%)}.yarl__slide_loading{animation:yarl__delayed_fadein 1s linear;color:var(--yarl__slide_icon_loading_color,var(--yarl__color_button,hsla(0,0%,100%,.8)))}.yarl__slide_loading line{animation:yarl__stroke_opacity 1s linear infinite}.yarl__slide_loading line:first-of-type{animation-delay:-1.875s}.yarl__slide_loading line:nth-of-type(2){animation-delay:-1.75s}.yarl__slide_loading line:nth-of-type(3){animation-delay:-1.625s}.yarl__slide_loading line:nth-of-type(4){animation-delay:-1.5s}.yarl__slide_loading line:nth-of-type(5){animation-delay:-1.375s}.yarl__slide_loading line:nth-of-type(6){animation-delay:-1.25s}.yarl__slide_loading line:nth-of-type(7){animation-delay:-1.125s}.yarl__slide_loading line:nth-of-type(8){animation-delay:-1s}.yarl__slide_error{color:var(--yarl__slide_icon_error_color,red);height:var(--yarl__slide_icon_error_size,48px);width:var(--yarl__slide_icon_error_size,48px)}@media (prefers-reduced-motion){.yarl__portal,.yarl__slide{transition:unset}.yarl__slide_loading,.yarl__slide_loading line{animation:unset}}.yarl__toolbar{display:flex;justify-content:flex-end;inset:0 0 auto auto;padding:var(--yarl__toolbar_padding,8px);position:absolute}[dir=rtl] .yarl__toolbar{inset:0 auto auto 0}.yarl__icon{height:var(--yarl__icon_size,32px);width:var(--yarl__icon_size,32px)}.yarl__button{-webkit-appearance:none;appearance:none;background-color:var(--yarl__button_background_color,transparent);border:var(--yarl__button_border,0);color:var(--yarl__color_button,hsla(0,0%,100%,.8));cursor:pointer;filter:var(--yarl__button_filter,drop-shadow(2px 2px 2px rgba(0,0,0,.8)));line-height:0;margin:var(--yarl__button_margin,0);outline:none;padding:var(--yarl__button_padding,8px);-webkit-tap-highlight-color:transparent}.yarl__button:focus{color:var(--yarl__color_button_active,#fff)}.yarl__button:focus:not(:focus-visible){color:var(--yarl__color_button,hsla(0,0%,100%,.8))}.yarl__button:focus-visible{color:var(--yarl__color_button_active,#fff)}@media (hover:hover){.yarl__button:focus-visible:hover,.yarl__button:focus:hover,.yarl__button:hover{color:var(--yarl__color_button_active,#fff)}}.yarl__button:disabled{color:var(--yarl__color_button_disabled,hsla(0,0%,100%,.4));cursor:default}.yarl__navigation_next,.yarl__navigation_prev{padding:var(--yarl__navigation_button_padding,24px 16px);position:absolute;top:50%;transform:translateY(-50%)}.yarl__navigation_prev{left:0}[dir=rtl] .yarl__navigation_prev{left:unset;right:0;transform:translateY(-50%) rotate(180deg)}.yarl__navigation_next{right:0}[dir=rtl] .yarl__navigation_next{left:0;right:unset;transform:translateY(-50%) rotate(180deg)}.yarl__no_scroll{height:100%;overflow:hidden;overscroll-behavior:none}@keyframes yarl__delayed_fadein{0%{opacity:0}80%{opacity:0}to{opacity:1}}@keyframes yarl__stroke_opacity{0%{stroke-opacity:1}to{stroke-opacity:.125}}.yarl__counter{bottom:var(--yarl__counter_bottom,unset);color:var(--yarl__counter_color,var(--yarl__color_button,hsla(0,0%,100%,.8)));filter:var(--yarl__counter_filter,drop-shadow(2px 2px 2px rgba(0,0,0,.8)));left:var(--yarl__counter_left,0);line-height:var(--yarl__counter_line_height,var(--yarl__icon_size,32px));margin:var(--yarl__counter_margin,var(--yarl__toolbar_padding,8px));padding:var(--yarl__counter_padding,var(--yarl__button_padding,8px));position:var(--yarl__counter_position,absolute);right:var(--yarl__counter_right,unset);top:var(--yarl__counter_top,0);-webkit-user-select:var(--yarl__counter_user_select,none);user-select:var(--yarl__counter_user_select,none)}.yarl__slide_captions_container{background:var(--yarl__slide_captions_container_background,rgba(0,0,0,.5));left:var(--yarl__slide_captions_container_left,0);padding:var(--yarl__slide_captions_container_padding,16px);position:absolute;right:var(--yarl__slide_captions_container_right,0);-webkit-transform:translateZ(0)}.yarl__slide_title{color:var(--yarl__slide_title_color,#fff);font-size:var(--yarl__slide_title_font_size,125%);font-weight:var(--yarl__slide_title_font_weight,bolder);max-width:calc(100% - var(--yarl__toolbar_width, 0px));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yarl__slide_title_container{top:var(--yarl__slide_title_container_top,0)}.yarl__slide_description{display:-webkit-box;-webkit-hyphens:auto;hyphens:auto;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:var(--yarl__slide_description_max_lines,3);color:var(--yarl__slide_description_color,#fff);text-align:var(--yarl__slide_description_text_align,start)}.yarl__slide_description_container{bottom:var(--yarl__slide_description_container_bottom,0)}.yarl__slide_title.yarl__slide_title.yarl__slide_title{font-family:var(--swui-font-primary);font-size:var(--swui-font-size-large);font-weight:var(--swui-font-weight-text)}.yarl__slide_title_container.yarl__slide_title_container.yarl__slide_title_container{height:48px;margin:calc(var(--swui-metrics-space) * 1);padding:0;display:flex;align-items:center;padding-left:calc(var(--swui-metrics-space) * 10)}.yarl__slide_description.yarl__slide_description.yarl__slide_description{font-family:var(--swui-font-primary);font-size:var(--swui-font-size-large);font-weight:var(--swui-font-weight-text)}.yarl__slide_description_container.yarl__slide_description_container.yarl__slide_description_container{display:flex;align-items:center;padding-left:calc(var(--swui-metrics-space) * 3);padding-bottom:calc(var(--swui-metrics-space) * 4)}.yarl__counter.yarl__counter{height:48px;margin:calc(var(--swui-metrics-space) * 1);display:flex;align-items:center;padding:0;padding-left:calc(var(--swui-metrics-space) * 1);font-family:var(--swui-font-primary);font-size:var(--swui-font-size-large);font-weight:var(--swui-font-weight-text)}
|
|
1
|
+
._navBar_kzibd_1{--swui-navbar-background-color: var(--lhds-color-ui-50);--swui-navbar-item-background-color-hover: var(--lhds-color-blue-700);--swui-navbar-item-background-color-selected: var(--lhds-color-blue-600);--swui-navbar-item-background-color-selected-hover: var( --lhds-color-blue-700 );--swui-nav-bar-height: 48px;background-color:var(--swui-navbar-background-color);height:var(--swui-nav-bar-height);min-height:var(--swui-nav-bar-height)}._navBarButton_b3x3w_1:hover{background:var(--lhds-color-ui-100)}._navBarButton_b3x3w_1:focus-visible{background:var(--lhds-color-ui-200)}._navBarButton_b3x3w_1:active{background:var(--lhds-color-ui-200)}._navBarButton_b3x3w_1._selected_b3x3w_14{background:var(--lhds-color-blue-200)}._navBarButton_b3x3w_1._selected_b3x3w_14:hover{background:var(--lhds-color-blue-100)}._navBarButton_b3x3w_1._selected_b3x3w_14:focus-visible{background:var(--lhds-color-blue-300)}._navBarButton_b3x3w_1._selected_b3x3w_14:active{background:var(--lhds-color-blue-200)}._navBarLink_1u1b2_1:hover{background:var(--lhds-color-ui-100)}._navBarLink_1u1b2_1:focus-visible{background:var(--lhds-color-ui-200)}._navBarLink_1u1b2_1:active{background:var(--lhds-color-ui-200)}._navBarLink_1u1b2_1._selected_1u1b2_14{background:var(--lhds-color-blue-200)}._navBarLink_1u1b2_1._selected_1u1b2_14:hover{background:var(--lhds-color-blue-100)}._navBarLink_1u1b2_1._selected_1u1b2_14:focus-visible{background:var(--lhds-color-blue-300)}._navBarLink_1u1b2_1._selected_1u1b2_14:active{background:var(--lhds-color-blue-200)}._navBarNotificationButton_1nfdy_1{--current-background-color: var(--lhds-color-ui-400);--current-outline-color: var(--core-blue);background-color:var(--current-background-color);border-color:transparent;color:var(--lhds-color-ui-50);--swui-nav-bar-notification-shake-count: 3;transition:.5s width}._navBarNotificationButton_1nfdy_1:hover{--current-background-color: var(--lhds-color-red-500);--current-outline-color: var(--lhds-color-red-500)}._navBarNotificationButton_1nfdy_1:active{--current-background-color: var(--lhds-color-red-600);--current-outline-color: var(--lhds-color-red-600)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23 ._icon_1nfdy_23{transform-origin:top center;animation:_shake_1nfdy_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23{--current-background-color: var(--lhds-color-red-500);--current-outline-color: var(--lhds-color-red-500)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23:hover{--current-background-color: var(--lhds-color-red-600);--current-outline-color: var(--lhds-color-red-600)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23:active{--current-background-color: var(--lhds-color-red-700);--current-outline-color: var(--lhds-color-red-700)}._navBarNotificationButton_1nfdy_1:focus-visible{outline:var(--swui-focus-outline);outline-color:var(--current-outline-color);outline-offset:var(--swui-focus-outline-width)}@keyframes _shake_1nfdy_1{0%{transform:rotate(0)}7%{transform:rotate(20deg)}15%{transform:rotate(-20deg)}22%{transform:rotate(16deg)}30%{transform:rotate(-16deg)}38%{transform:rotate(6deg)}42%{transform:rotate(-6deg)}46%{transform:rotate(2deg)}to{transform:rotate(0)}}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1{line-height:2.7rem;color:var(--lhds-color-ui-800)}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1::placeholder{color:var(--lhds-color-blue-600)}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1{padding:0 var(--swui-metrics-indent)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12{background:var(--lhds-color-ui-200);border-color:transparent}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12:hover{border-color:transparent}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12{padding:0 var(--swui-metrics-indent);border-radius:var(--swui-max-border-radius)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12._withButton_1rp8g_24{padding-right:1px}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12:focus-within{color:var(--lhds-color-ui-800);background:var(--lhds-color-ui-50)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12 ._clearButton_1rp8g_33{border-radius:var(--swui-max-border-radius)}._navBarUserButton_10f9z_1:hover{background:var(--lhds-color-ui-100)}._navBarUserButton_10f9z_1:focus-visible{background:var(--lhds-color-ui-200)}._navBarUserButton_10f9z_1:active{background:var(--lhds-color-ui-200)}._sidebarMenuCollapsibleGroupBox_ikek9_1{background:var(--lhds-color-ui-200);border-radius:var(--swui-border-radius);gap:var(--swui-metrics-space);display:flex;flex-direction:column;padding:var(--swui-metrics-space);--current-text-size: var(--swui-font-size-small)}._selectionRow_eqiow_1{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:space-between;align-items:center;gap:calc(var(--swui-metrics-space) * 2)}@media (max-width: 370px){._iconColumn_eqiow_10{display:none}}._sidebarMenu_1bx5w_1{--swui-sidebar-menu-separator-color: var(--swui-white);--swui-sidebar-menu-text-color: var(--lhds-color-ui-900);--swui-sidebar-menu-icon-color: var(--lhds-color-ui-900);--swui-sidebar-menu-background-color: transparent;--swui-sidebar-menu-background-color-hover: var(--lhds-color-ui-400);--swui-sidebar-menu-background-color-focus: var(--lhds-color-ui-400);--swui-sidebar-menu-background-color-active: var(--lhds-color-ui-300);--swui-sidebar-menu-background-selected: var(--lhds-color-blue-100);--swui-sidebar-menu-background-selected-hover: var(--lhds-color-blue-200);--swui-sidebar-menu-background-selected-focus: var(--lhds-color-blue-200);--swui-sidebar-menu-background-selected-active: var(--lhds-color-blue-100);--current-background-color: var(--swui-sidebar-menu-background-color);--current-background-color-hover: var( --swui-sidebar-menu-background-color-hover );--current-background-color-focus: var( --swui-sidebar-menu-background-color-focus );--current-background-color-active: var( --swui-sidebar-menu-background-color-active );--current-background-selected: var(--swui-sidebar-menu-background-selected);--current-background-selected-hover: var( --swui-sidebar-menu-background-selected-hover );--current-background-selected-focus: var( --swui-sidebar-menu-background-selected-focus );--current-background-selected-active: var( --swui-sidebar-menu-background-selected-active )}._sidebarMenu_1bx5w_1 ._sidebarItems_1bx5w_38{--current-separator-color: var(--swui-sidebar-menu-separator-color);--current-text-color: var(--swui-sidebar-menu-text-color);--current-icon-color: var(--swui-sidebar-menu-icon-color)}._sidebarMenu_1bx5w_1{background-color:var(--current-background-color);height:100dvh}._sidebarMenu_1bx5w_1 ._scrollContainer_1bx5w_48{background:var(--current-background-color);height:100%;overflow:auto}._stenaFlag_108h7_1{height:32px}._productCard_19x6b_1{max-width:560px}@media (max-width: 768px){._productCard_19x6b_1{max-width:unset}}._productSummaryCardImage_1knc7_1{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.yarl__fullsize{height:100%;width:100%}.yarl__relative{position:relative}.yarl__portal{inset:0;opacity:0;overflow:hidden;position:fixed;transition:opacity var(--yarl__fade_animation_duration,.25s) var(--yarl__fade_animation_timing_function,ease);z-index:var(--yarl__portal_zindex,9999)}.yarl__portal_open{opacity:1}.yarl__container{background-color:var(--yarl__container_background_color,var(--yarl__color_backdrop,#000));inset:0;outline:none;overflow:hidden;overscroll-behavior:var(--yarl__controller_overscroll_behavior,contain);position:absolute;touch-action:var(--yarl__controller_touch_action,none);-webkit-user-select:none;user-select:none}.yarl__carousel{align-content:center;align-items:stretch;display:flex;flex:0 0 auto;height:100%;justify-content:center;opacity:var(--yarl__pull_opacity,1);transform:translate(var(--yarl__swipe_offset,0),var(--yarl__pull_offset,0));width:calc(100% + (var(--yarl__carousel_slides_count) - 1)*(100% + var(--yarl__carousel_spacing_px, 0)*1px + var(--yarl__carousel_spacing_percent, 0)*1%))}.yarl__carousel_with_slides{column-gap:calc(var(--yarl__carousel_spacing_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_spacing_percent, 0)*1%)}.yarl__flex_center{align-content:center;align-items:center;display:flex;justify-content:center}.yarl__slide{flex:1;overflow:hidden;padding:calc(var(--yarl__carousel_padding_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_padding_percent, 0)*1%);position:relative}[dir=rtl] .yarl__slide{--yarl__direction:-1}.yarl__slide_image{max-height:100%;max-width:100%;object-fit:contain;touch-action:var(--yarl__controller_touch_action,none);user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.yarl__slide_image_cover{height:100%;object-fit:cover;width:100%}.yarl__slide_image_loading{opacity:0}@media screen and (min-width:800px){.yarl__slide_wrapper:not(.yarl__slide_wrapper_interactive) .yarl__slide_image{-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);-webkit-transform-style:preserve-3d}}.yarl__slide_placeholder{left:50%;line-height:0;position:absolute;top:50%;transform:translate(-50%) translateY(-50%)}.yarl__slide_loading{animation:yarl__delayed_fadein 1s linear;color:var(--yarl__slide_icon_loading_color,var(--yarl__color_button,hsla(0,0%,100%,.8)))}.yarl__slide_loading line{animation:yarl__stroke_opacity 1s linear infinite}.yarl__slide_loading line:first-of-type{animation-delay:-1.875s}.yarl__slide_loading line:nth-of-type(2){animation-delay:-1.75s}.yarl__slide_loading line:nth-of-type(3){animation-delay:-1.625s}.yarl__slide_loading line:nth-of-type(4){animation-delay:-1.5s}.yarl__slide_loading line:nth-of-type(5){animation-delay:-1.375s}.yarl__slide_loading line:nth-of-type(6){animation-delay:-1.25s}.yarl__slide_loading line:nth-of-type(7){animation-delay:-1.125s}.yarl__slide_loading line:nth-of-type(8){animation-delay:-1s}.yarl__slide_error{color:var(--yarl__slide_icon_error_color,red);height:var(--yarl__slide_icon_error_size,48px);width:var(--yarl__slide_icon_error_size,48px)}@media (prefers-reduced-motion){.yarl__portal,.yarl__slide{transition:unset}.yarl__slide_loading,.yarl__slide_loading line{animation:unset}}.yarl__toolbar{display:flex;justify-content:flex-end;inset:0 0 auto auto;padding:var(--yarl__toolbar_padding,8px);position:absolute}[dir=rtl] .yarl__toolbar{inset:0 auto auto 0}.yarl__icon{height:var(--yarl__icon_size,32px);width:var(--yarl__icon_size,32px)}.yarl__button{-webkit-appearance:none;appearance:none;background-color:var(--yarl__button_background_color,transparent);border:var(--yarl__button_border,0);color:var(--yarl__color_button,hsla(0,0%,100%,.8));cursor:pointer;filter:var(--yarl__button_filter,drop-shadow(2px 2px 2px rgba(0,0,0,.8)));line-height:0;margin:var(--yarl__button_margin,0);outline:none;padding:var(--yarl__button_padding,8px);-webkit-tap-highlight-color:transparent}.yarl__button:focus{color:var(--yarl__color_button_active,#fff)}.yarl__button:focus:not(:focus-visible){color:var(--yarl__color_button,hsla(0,0%,100%,.8))}.yarl__button:focus-visible{color:var(--yarl__color_button_active,#fff)}@media (hover:hover){.yarl__button:focus-visible:hover,.yarl__button:focus:hover,.yarl__button:hover{color:var(--yarl__color_button_active,#fff)}}.yarl__button:disabled{color:var(--yarl__color_button_disabled,hsla(0,0%,100%,.4));cursor:default}.yarl__navigation_next,.yarl__navigation_prev{padding:var(--yarl__navigation_button_padding,24px 16px);position:absolute;top:50%;transform:translateY(-50%)}.yarl__navigation_prev{left:0}[dir=rtl] .yarl__navigation_prev{left:unset;right:0;transform:translateY(-50%) rotate(180deg)}.yarl__navigation_next{right:0}[dir=rtl] .yarl__navigation_next{left:0;right:unset;transform:translateY(-50%) rotate(180deg)}.yarl__no_scroll{height:100%;overflow:hidden;overscroll-behavior:none}@keyframes yarl__delayed_fadein{0%{opacity:0}80%{opacity:0}to{opacity:1}}@keyframes yarl__stroke_opacity{0%{stroke-opacity:1}to{stroke-opacity:.125}}.yarl__counter{bottom:var(--yarl__counter_bottom,unset);color:var(--yarl__counter_color,var(--yarl__color_button,hsla(0,0%,100%,.8)));filter:var(--yarl__counter_filter,drop-shadow(2px 2px 2px rgba(0,0,0,.8)));left:var(--yarl__counter_left,0);line-height:var(--yarl__counter_line_height,var(--yarl__icon_size,32px));margin:var(--yarl__counter_margin,var(--yarl__toolbar_padding,8px));padding:var(--yarl__counter_padding,var(--yarl__button_padding,8px));position:var(--yarl__counter_position,absolute);right:var(--yarl__counter_right,unset);top:var(--yarl__counter_top,0);-webkit-user-select:var(--yarl__counter_user_select,none);user-select:var(--yarl__counter_user_select,none)}.yarl__slide_captions_container{background:var(--yarl__slide_captions_container_background,rgba(0,0,0,.5));left:var(--yarl__slide_captions_container_left,0);padding:var(--yarl__slide_captions_container_padding,16px);position:absolute;right:var(--yarl__slide_captions_container_right,0);-webkit-transform:translateZ(0)}.yarl__slide_title{color:var(--yarl__slide_title_color,#fff);font-size:var(--yarl__slide_title_font_size,125%);font-weight:var(--yarl__slide_title_font_weight,bolder);max-width:calc(100% - var(--yarl__toolbar_width, 0px));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yarl__slide_title_container{top:var(--yarl__slide_title_container_top,0)}.yarl__slide_description{display:-webkit-box;-webkit-hyphens:auto;hyphens:auto;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:var(--yarl__slide_description_max_lines,3);color:var(--yarl__slide_description_color,#fff);text-align:var(--yarl__slide_description_text_align,start)}.yarl__slide_description_container{bottom:var(--yarl__slide_description_container_bottom,0)}.yarl__slide_title.yarl__slide_title.yarl__slide_title{font-family:var(--swui-font-primary);font-size:var(--swui-font-size-large);font-weight:var(--swui-font-weight-text)}.yarl__slide_title_container.yarl__slide_title_container.yarl__slide_title_container{height:48px;margin:calc(var(--swui-metrics-space) * 1);padding:0;display:flex;align-items:center;padding-left:calc(var(--swui-metrics-space) * 10)}.yarl__slide_description.yarl__slide_description.yarl__slide_description{font-family:var(--swui-font-primary);font-size:var(--swui-font-size-large);font-weight:var(--swui-font-weight-text)}.yarl__slide_description_container.yarl__slide_description_container.yarl__slide_description_container{display:flex;align-items:center;padding-left:calc(var(--swui-metrics-space) * 3);padding-bottom:calc(var(--swui-metrics-space) * 4)}.yarl__counter.yarl__counter{height:48px;margin:calc(var(--swui-metrics-space) * 1);display:flex;align-items:center;padding:0;padding-left:calc(var(--swui-metrics-space) * 1);font-family:var(--swui-font-primary);font-size:var(--swui-font-size-large);font-weight:var(--swui-font-weight-text)}
|
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as e, Fragment as z, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import { ActionMenu as re, ActionMenuContext as Ce, stenaAngleDown as oe, PrimaryButton as ie, SecondaryButton as R, FlatButton as O, stenaHamburger as le, FlatButtonLink as Be, BaseButton as we, stenaBellFilled as ye, TextInputButton as Ie, stenaTimes as _e, stenaUserCircle as Se, MenuButton as D, Icon as K, stenaMail as ke, Card as Re, CardBody as Me, CircledIcon as
|
|
3
|
-
import * as
|
|
4
|
-
import { useRef as Z, useMemo as j, forwardRef as
|
|
5
|
-
import { useBoolean as ue, Column as u, Row as c, Indent as w, Heading as P, Box as d, Text as
|
|
2
|
+
import { ActionMenu as re, ActionMenuContext as Ce, stenaAngleDown as oe, PrimaryButton as ie, SecondaryButton as R, FlatButton as O, stenaHamburger as le, FlatButtonLink as Be, BaseButton as we, stenaBellFilled as ye, TextInputButton as Ie, stenaTimes as _e, stenaUserCircle as Se, MenuButton as D, Icon as K, stenaMail as ke, Card as Re, CardBody as Me, CircledIcon as q, stenaTripFerryXl as Ne, ScreenSpinner as Pe, CloseButton as Fe, StenaFlag as ze, stenaAngleLeftDouble as ae, stenaPin as je, IconMenuButton as V, IconMenuButtonLink as Le, MenuButtonLink as Ae, Spinner as ce, Tag as Te, ShimmerBox as N, stenaTimesThick as $e, stenaAngleRight as se, stenaAngleLeft as de, stenaSearchPlus as Oe, stenaSearchMinus as qe } from "@stenajs-webui/elements";
|
|
3
|
+
import * as Ee from "react";
|
|
4
|
+
import { useRef as Z, useMemo as j, forwardRef as E, createContext as He, useContext as We, useState as T, useCallback as J, useEffect as Ue } from "react";
|
|
5
|
+
import { useBoolean as ue, Column as u, Row as c, Indent as w, Heading as P, Box as d, Text as x, Space as B, getDataProps as L, SeparatorLine as Ge, pluralFormatter as De, selectPluralRule as Ke, Spacing as Ve, isEmptyFragment as Ze, useAccessibleFontSizeContext as Qe, exhaustSwitchCaseElseThrow as he, BlockKeyboardEvents as Xe } from "@stenajs-webui/core";
|
|
6
6
|
import { ControlledPopover as pe, Popover as me, Tooltip as ge } from "@stenajs-webui/tooltip";
|
|
7
7
|
import { Checkbox as be, TextInput as Je } from "@stenajs-webui/forms";
|
|
8
8
|
import y from "classnames";
|
|
@@ -25,10 +25,10 @@ import './index.css';const Q = ({
|
|
|
25
25
|
buttonRef: g,
|
|
26
26
|
appendTo: b,
|
|
27
27
|
zIndex: f,
|
|
28
|
-
disableTrapFocus:
|
|
28
|
+
disableTrapFocus: v = !1,
|
|
29
29
|
...I
|
|
30
30
|
}) => {
|
|
31
|
-
const [S, k, C, _] = ue(!1), m = Z(null),
|
|
31
|
+
const [S, k, C, _] = ue(!1), m = Z(null), H = g ?? m, W = j(() => ({ open: k, close: C }), [k, C]), ve = (U) => {
|
|
32
32
|
s?.(U), _();
|
|
33
33
|
};
|
|
34
34
|
return /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(
|
|
@@ -39,8 +39,8 @@ import './index.css';const Q = ({
|
|
|
39
39
|
{
|
|
40
40
|
rightIcon: h ? void 0 : o,
|
|
41
41
|
...I,
|
|
42
|
-
ref:
|
|
43
|
-
onClick:
|
|
42
|
+
ref: H,
|
|
43
|
+
onClick: ve,
|
|
44
44
|
...U
|
|
45
45
|
}
|
|
46
46
|
),
|
|
@@ -56,8 +56,8 @@ import './index.css';const Q = ({
|
|
|
56
56
|
{
|
|
57
57
|
width: l,
|
|
58
58
|
top: a,
|
|
59
|
-
trapFocus: !
|
|
60
|
-
children: /* @__PURE__ */ e(Ce.Provider, { value:
|
|
59
|
+
trapFocus: !v,
|
|
60
|
+
children: /* @__PURE__ */ e(Ce.Provider, { value: W, children: n(C) })
|
|
61
61
|
}
|
|
62
62
|
)
|
|
63
63
|
}
|
|
@@ -132,7 +132,7 @@ import './index.css';const Q = ({
|
|
|
132
132
|
n,
|
|
133
133
|
/* @__PURE__ */ e(w, { num: 2 })
|
|
134
134
|
] }),
|
|
135
|
-
o && /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(c, { justifyContent: "center", alignItems: "center", children:
|
|
135
|
+
o && /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(c, { justifyContent: "center", alignItems: "center", children: Ee.Children.map(o, (g, b) => /* @__PURE__ */ i(z, { children: [
|
|
136
136
|
b > 0 && /* @__PURE__ */ e(w, {}),
|
|
137
137
|
g
|
|
138
138
|
] })) }) })
|
|
@@ -150,7 +150,7 @@ import './index.css';const Q = ({
|
|
|
150
150
|
}, sn = "_navBarButton_b3x3w_1", dn = "_selected_b3x3w_14", Y = {
|
|
151
151
|
navBarButton: sn,
|
|
152
152
|
selected: dn
|
|
153
|
-
}, un =
|
|
153
|
+
}, un = E(
|
|
154
154
|
function({ selected: n, className: t, ...r }, o) {
|
|
155
155
|
return /* @__PURE__ */ e(
|
|
156
156
|
O,
|
|
@@ -168,7 +168,7 @@ import './index.css';const Q = ({
|
|
|
168
168
|
), hn = "_navBarLink_1u1b2_1", pn = "_selected_1u1b2_14", ee = {
|
|
169
169
|
navBarLink: hn,
|
|
170
170
|
selected: pn
|
|
171
|
-
},
|
|
171
|
+
}, xt = E(
|
|
172
172
|
function({ selected: t, className: r, ...o }, l) {
|
|
173
173
|
return /* @__PURE__ */ e(
|
|
174
174
|
Be,
|
|
@@ -183,7 +183,7 @@ import './index.css';const Q = ({
|
|
|
183
183
|
}
|
|
184
184
|
);
|
|
185
185
|
}
|
|
186
|
-
),
|
|
186
|
+
), vt = (n) => /* @__PURE__ */ e(P, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...n }), Ct = ({
|
|
187
187
|
content: n,
|
|
188
188
|
children: t,
|
|
189
189
|
appendTo: r,
|
|
@@ -209,7 +209,7 @@ import './index.css';const Q = ({
|
|
|
209
209
|
navBarNotificationButton: mn,
|
|
210
210
|
unread: gn,
|
|
211
211
|
icon: bn
|
|
212
|
-
}, Bt =
|
|
212
|
+
}, Bt = E(function({
|
|
213
213
|
count: n,
|
|
214
214
|
unread: t = !1,
|
|
215
215
|
className: r,
|
|
@@ -236,10 +236,10 @@ import './index.css';const Q = ({
|
|
|
236
236
|
iconClassName: y(l, F.icon)
|
|
237
237
|
}
|
|
238
238
|
);
|
|
239
|
-
}), fn = "_navBarSearchFieldInput_1rp8g_1",
|
|
239
|
+
}), fn = "_navBarSearchFieldInput_1rp8g_1", xn = "_navBarSearchFieldWrapper_1rp8g_12", vn = "_withButton_1rp8g_24", Cn = "_clearButton_1rp8g_33", A = {
|
|
240
240
|
navBarSearchFieldInput: fn,
|
|
241
|
-
navBarSearchFieldWrapper:
|
|
242
|
-
withButton:
|
|
241
|
+
navBarSearchFieldWrapper: xn,
|
|
242
|
+
withButton: vn,
|
|
243
243
|
clearButton: Cn
|
|
244
244
|
}, wt = ({
|
|
245
245
|
placeholder: n = "Search",
|
|
@@ -291,7 +291,7 @@ import './index.css';const Q = ({
|
|
|
291
291
|
responsiveIconOnly: l,
|
|
292
292
|
disableArrow: !0
|
|
293
293
|
}
|
|
294
|
-
), yn =
|
|
294
|
+
), yn = E(
|
|
295
295
|
({ contentLeft: n, contentRight: t, collapsed: r = !1, ...o }, l) => /* @__PURE__ */ e(
|
|
296
296
|
D,
|
|
297
297
|
{
|
|
@@ -331,10 +331,10 @@ import './index.css';const Q = ({
|
|
|
331
331
|
}
|
|
332
332
|
), In = "_sidebarMenuCollapsibleGroupBox_ikek9_1", _n = {
|
|
333
333
|
sidebarMenuCollapsibleGroupBox: In
|
|
334
|
-
}, Sn = ({ children: n }) => /* @__PURE__ */ e("div", { className: _n.sidebarMenuCollapsibleGroupBox, children: n }), St = ({ children: n }) => /* @__PURE__ */ e(d, { spacing: !0, indent: !0, children: /* @__PURE__ */ e(
|
|
334
|
+
}, Sn = ({ children: n }) => /* @__PURE__ */ e("div", { className: _n.sidebarMenuCollapsibleGroupBox, children: n }), St = ({ children: n }) => /* @__PURE__ */ e(d, { spacing: !0, indent: !0, children: /* @__PURE__ */ e(x, { variant: "overline", size: "smaller", children: n }) }), kt = ({ text: n = "No content" }) => /* @__PURE__ */ i(u, { indent: !0, spacing: !0, flex: 1, alignItems: "center", children: [
|
|
335
335
|
/* @__PURE__ */ e(K, { icon: ke, color: p("--lhds-color-ui-500") }),
|
|
336
336
|
/* @__PURE__ */ e(B, {}),
|
|
337
|
-
/* @__PURE__ */ e(
|
|
337
|
+
/* @__PURE__ */ e(x, { size: "small", color: p("--lhds-color-ui-500"), children: n })
|
|
338
338
|
] }), kn = ({
|
|
339
339
|
text: n,
|
|
340
340
|
heading: t,
|
|
@@ -348,10 +348,10 @@ import './index.css';const Q = ({
|
|
|
348
348
|
return /* @__PURE__ */ e(Re, { ...s, children: /* @__PURE__ */ e(Me, { children: /* @__PURE__ */ i(u, { spacing: 1, gap: 3, alignItems: "center", children: [
|
|
349
349
|
/* @__PURE__ */ i(u, { alignItems: "center", children: [
|
|
350
350
|
/* @__PURE__ */ e(B, { num: 1 }),
|
|
351
|
-
/* @__PURE__ */ e(
|
|
351
|
+
/* @__PURE__ */ e(q, { icon: l, size: "xl" })
|
|
352
352
|
] }),
|
|
353
353
|
t && /* @__PURE__ */ e(P, { as: a, children: t }),
|
|
354
|
-
h && /* @__PURE__ */ e(
|
|
354
|
+
h && /* @__PURE__ */ e(x, { textAlign: "center", children: h }),
|
|
355
355
|
r,
|
|
356
356
|
o && /* @__PURE__ */ i(d, { children: [
|
|
357
357
|
/* @__PURE__ */ e(B, { num: 2 }),
|
|
@@ -408,12 +408,12 @@ import './index.css';const Q = ({
|
|
|
408
408
|
contentRight: l
|
|
409
409
|
}) => /* @__PURE__ */ i(c, { alignItems: "center", gap: 2, height: "64px", children: [
|
|
410
410
|
/* @__PURE__ */ i(c, { alignItems: "center", children: [
|
|
411
|
-
n && /* @__PURE__ */ e(c, { width: "64px", alignItems: "center", children: /* @__PURE__ */ e(
|
|
411
|
+
n && /* @__PURE__ */ e(c, { width: "64px", alignItems: "center", children: /* @__PURE__ */ e(q, { icon: n }) }),
|
|
412
412
|
/* @__PURE__ */ e(P, { variant: "h3", as: r, children: t })
|
|
413
413
|
] }),
|
|
414
414
|
/* @__PURE__ */ e(c, { alignItems: "center", children: o }),
|
|
415
415
|
/* @__PURE__ */ e(c, { style: { marginLeft: "auto" }, alignItems: "center", children: l })
|
|
416
|
-
] }), Mn = "
|
|
416
|
+
] }), Mn = "_selectionRow_eqiow_1", Nn = "_iconColumn_eqiow_10", ne = {
|
|
417
417
|
selectionRow: Mn,
|
|
418
418
|
iconColumn: Nn
|
|
419
419
|
}, zt = ({
|
|
@@ -433,15 +433,15 @@ import './index.css';const Q = ({
|
|
|
433
433
|
justifyContent: "center",
|
|
434
434
|
width: "40px",
|
|
435
435
|
className: ne.iconColumn,
|
|
436
|
-
children: /* @__PURE__ */ e(
|
|
436
|
+
children: /* @__PURE__ */ e(q, { icon: n, variant: a })
|
|
437
437
|
}
|
|
438
438
|
),
|
|
439
439
|
/* @__PURE__ */ e("label", { htmlFor: l, children: /* @__PURE__ */ i(u, { gap: 0.5, children: [
|
|
440
|
-
/* @__PURE__ */ e(
|
|
441
|
-
typeof r == "string" ? /* @__PURE__ */ e(
|
|
440
|
+
/* @__PURE__ */ e(x, { variant: "bold", children: t }),
|
|
441
|
+
typeof r == "string" ? /* @__PURE__ */ e(x, { color: p("--silver-dark"), children: r }) : r
|
|
442
442
|
] }) })
|
|
443
443
|
] }),
|
|
444
|
-
o
|
|
444
|
+
/* @__PURE__ */ e(c, { flex: 1, justifyContent: "flex-end", children: o })
|
|
445
445
|
] }), Pn = "_sidebarMenu_1bx5w_1", Fn = "_sidebarItems_1bx5w_38", zn = "_scrollContainer_1bx5w_48", G = {
|
|
446
446
|
sidebarMenu: Pn,
|
|
447
447
|
sidebarItems: Fn,
|
|
@@ -503,7 +503,7 @@ import './index.css';const Q = ({
|
|
|
503
503
|
]
|
|
504
504
|
}
|
|
505
505
|
) })
|
|
506
|
-
] }), $ =
|
|
506
|
+
] }), $ = He(!1), X = () => We($), $n = ({
|
|
507
507
|
label: n,
|
|
508
508
|
...t
|
|
509
509
|
}) => /* @__PURE__ */ e(ge, { label: n, placement: "right", appendTo: document.body, children: /* @__PURE__ */ e(V, { ...t }) }), Lt = ({
|
|
@@ -547,12 +547,12 @@ import './index.css';const Q = ({
|
|
|
547
547
|
label: n
|
|
548
548
|
}) => X() ? null : /* @__PURE__ */ i(d, { height: "32px", justifyContent: "center", indent: 1, children: [
|
|
549
549
|
/* @__PURE__ */ e(B, {}),
|
|
550
|
-
/* @__PURE__ */ e(
|
|
551
|
-
] }),
|
|
550
|
+
/* @__PURE__ */ e(x, { variant: "overline", size: "smaller", children: n })
|
|
551
|
+
] }), qn = ({
|
|
552
552
|
label: n,
|
|
553
553
|
leftIcon: t,
|
|
554
554
|
...r
|
|
555
|
-
}) => t == null ? null : /* @__PURE__ */ e(ge, { label: n, placement: "right", children: /* @__PURE__ */ e(Le, { icon: t, ...r }) }), At = (n) => X() ? /* @__PURE__ */ e(
|
|
555
|
+
}) => t == null ? null : /* @__PURE__ */ e(ge, { label: n, placement: "right", children: /* @__PURE__ */ e(Le, { icon: t, ...r }) }), At = (n) => X() ? /* @__PURE__ */ e(qn, { ...n }) : /* @__PURE__ */ e(Ae, { ...n }), En = ({
|
|
556
556
|
children: n,
|
|
557
557
|
label: t,
|
|
558
558
|
icon: r,
|
|
@@ -587,7 +587,7 @@ import './index.css';const Q = ({
|
|
|
587
587
|
initialExpand: l = !1
|
|
588
588
|
}) => {
|
|
589
589
|
const [a, s] = T(l);
|
|
590
|
-
return X() ? r == null ? null : /* @__PURE__ */ e(
|
|
590
|
+
return X() ? r == null ? null : /* @__PURE__ */ e(En, { label: t, icon: r, children: n }) : /* @__PURE__ */ e(
|
|
591
591
|
D,
|
|
592
592
|
{
|
|
593
593
|
label: t,
|
|
@@ -606,7 +606,7 @@ import './index.css';const Q = ({
|
|
|
606
606
|
color: p("--lhds-color-ui-400"),
|
|
607
607
|
...n
|
|
608
608
|
}
|
|
609
|
-
),
|
|
609
|
+
), Hn = (n, t, r) => n == null ? "" : (De(Ke(r))(n, t) ?? "").replace("{ITEMS}", String(n)), Ot = ({
|
|
610
610
|
numItemsSelected: n,
|
|
611
611
|
label: t,
|
|
612
612
|
selectedLabel: r = {
|
|
@@ -617,7 +617,7 @@ import './index.css';const Q = ({
|
|
|
617
617
|
rightContent: l,
|
|
618
618
|
localeId: a = "en-GB"
|
|
619
619
|
}) => {
|
|
620
|
-
const s =
|
|
620
|
+
const s = Hn(
|
|
621
621
|
n,
|
|
622
622
|
r,
|
|
623
623
|
a
|
|
@@ -636,16 +636,16 @@ import './index.css';const Q = ({
|
|
|
636
636
|
borderRadius: "var(--swui-border-radius)",
|
|
637
637
|
children: [
|
|
638
638
|
/* @__PURE__ */ i(c, { alignItems: "center", gap: 2, children: [
|
|
639
|
-
n != null || t != null ? /* @__PURE__ */ e(c, { alignItems: "center", children: n != null ? /* @__PURE__ */ e(
|
|
639
|
+
n != null || t != null ? /* @__PURE__ */ e(c, { alignItems: "center", children: n != null ? /* @__PURE__ */ e(x, { children: s }) : t != null ? typeof t == "string" ? /* @__PURE__ */ e(x, { children: t }) : t : null }) : null,
|
|
640
640
|
o && /* @__PURE__ */ e(c, { children: o })
|
|
641
641
|
] }),
|
|
642
642
|
/* @__PURE__ */ e(c, { gap: 2, children: l })
|
|
643
643
|
]
|
|
644
644
|
}
|
|
645
645
|
);
|
|
646
|
-
},
|
|
647
|
-
productCard:
|
|
648
|
-
},
|
|
646
|
+
}, qt = ({ children: n }) => /* @__PURE__ */ e(c, { spacing: 0.5, indent: 0.5, flex: 1, children: n }), Wn = "_productCard_19x6b_1", Un = {
|
|
647
|
+
productCard: Wn
|
|
648
|
+
}, Et = ({
|
|
649
649
|
renderSelectedProductCard: n,
|
|
650
650
|
renderEditButton: t,
|
|
651
651
|
children: r,
|
|
@@ -686,7 +686,7 @@ import './index.css';const Q = ({
|
|
|
686
686
|
)
|
|
687
687
|
]
|
|
688
688
|
}
|
|
689
|
-
), Gn = ({ children: n }) => /* @__PURE__ */ e(
|
|
689
|
+
), Gn = ({ children: n }) => /* @__PURE__ */ e(x, { variant: "bold", style: { fontSize: "2.0rem" }, children: n }), Ht = ({
|
|
690
690
|
description: n,
|
|
691
691
|
subDescription: t,
|
|
692
692
|
descriptionTags: r,
|
|
@@ -699,7 +699,7 @@ import './index.css';const Q = ({
|
|
|
699
699
|
children: b,
|
|
700
700
|
headingLevel: f
|
|
701
701
|
}) => {
|
|
702
|
-
const
|
|
702
|
+
const v = r == null ? !1 : Array.isArray(r) ? r.length > 0 : !Ze(r);
|
|
703
703
|
return /* @__PURE__ */ i(u, { children: [
|
|
704
704
|
g?.(),
|
|
705
705
|
/* @__PURE__ */ i(d, { gap: 2, spacing: 4, indent: 4, background: p("--moln"), children: [
|
|
@@ -719,9 +719,9 @@ import './index.css';const Q = ({
|
|
|
719
719
|
]
|
|
720
720
|
}
|
|
721
721
|
),
|
|
722
|
-
h && /* @__PURE__ */ e(
|
|
722
|
+
h && /* @__PURE__ */ e(x, { variant: "bold", color: p("--silver-dark"), children: h })
|
|
723
723
|
] }),
|
|
724
|
-
(
|
|
724
|
+
(v || o) && /* @__PURE__ */ i(u, { children: [
|
|
725
725
|
/* @__PURE__ */ i(c, { gap: 1, flexWrap: "wrap", children: [
|
|
726
726
|
r,
|
|
727
727
|
o && /* @__PURE__ */ e(Te, { label: o, variant: "passive" })
|
|
@@ -729,17 +729,17 @@ import './index.css';const Q = ({
|
|
|
729
729
|
/* @__PURE__ */ e(B, {})
|
|
730
730
|
] }),
|
|
731
731
|
n && /* @__PURE__ */ i(u, { children: [
|
|
732
|
-
/* @__PURE__ */ e(
|
|
732
|
+
/* @__PURE__ */ e(x, { children: n }),
|
|
733
733
|
/* @__PURE__ */ e(B, {})
|
|
734
734
|
] }),
|
|
735
735
|
t && /* @__PURE__ */ i(u, { children: [
|
|
736
|
-
/* @__PURE__ */ e(
|
|
736
|
+
/* @__PURE__ */ e(x, { children: t }),
|
|
737
737
|
/* @__PURE__ */ e(B, {})
|
|
738
738
|
] }),
|
|
739
739
|
b
|
|
740
740
|
] })
|
|
741
741
|
] });
|
|
742
|
-
},
|
|
742
|
+
}, Wt = ({ renderImage: n }) => /* @__PURE__ */ i(u, { children: [
|
|
743
743
|
n?.(),
|
|
744
744
|
/* @__PURE__ */ i(d, { gap: 3, spacing: 4, indent: 4, background: p("--moln"), children: [
|
|
745
745
|
/* @__PURE__ */ e(d, { gap: 0.5, children: /* @__PURE__ */ e(
|
|
@@ -779,13 +779,13 @@ import './index.css';const Q = ({
|
|
|
779
779
|
renderMandatoryTag: g,
|
|
780
780
|
renderContentLeftOfButton: b,
|
|
781
781
|
children: f,
|
|
782
|
-
...
|
|
782
|
+
...v
|
|
783
783
|
}) => {
|
|
784
784
|
const { fontSizeRatio: I } = Qe(), S = M({
|
|
785
785
|
query: "(max-width: 460px)"
|
|
786
786
|
}), C = M({
|
|
787
787
|
query: "(max-width: 360px)"
|
|
788
|
-
}) || S && I > 1.2, _ = r ? "normal" : t, m = Kn(_),
|
|
788
|
+
}) || S && I > 1.2, _ = r ? "normal" : t, m = Kn(_), H = p("--moln"), W = Dn(_);
|
|
789
789
|
return /* @__PURE__ */ i(
|
|
790
790
|
d,
|
|
791
791
|
{
|
|
@@ -794,18 +794,18 @@ import './index.css';const Q = ({
|
|
|
794
794
|
shadow: "box",
|
|
795
795
|
overflow: "hidden",
|
|
796
796
|
position: r ? "relative" : void 0,
|
|
797
|
-
...L(
|
|
797
|
+
...L(v),
|
|
798
798
|
children: [
|
|
799
799
|
/* @__PURE__ */ i(c, { flex: 1, children: [
|
|
800
800
|
!C && /* @__PURE__ */ i(d, { flex: 2, justifyContent: "center", background: m, children: [
|
|
801
801
|
a?.(),
|
|
802
|
-
o && /* @__PURE__ */ e(K, { color:
|
|
802
|
+
o && /* @__PURE__ */ e(K, { color: W, icon: o, size: 73 })
|
|
803
803
|
] }),
|
|
804
|
-
/* @__PURE__ */ e(d, { flex: 4, indent: 2, spacing: 2, background:
|
|
804
|
+
/* @__PURE__ */ e(d, { flex: 4, indent: 2, spacing: 2, background: H, children: /* @__PURE__ */ i(u, { gap: 2, children: [
|
|
805
805
|
n && /* @__PURE__ */ i(c, { justifyContent: "space-between", children: [
|
|
806
806
|
/* @__PURE__ */ i(c, { gap: 2, alignItems: "center", children: [
|
|
807
|
-
C && l && /* @__PURE__ */ e(
|
|
808
|
-
/* @__PURE__ */ e(
|
|
807
|
+
C && l && /* @__PURE__ */ e(q, { icon: l, size: "medium" }),
|
|
808
|
+
/* @__PURE__ */ e(x, { variant: "bold", size: "large", children: n })
|
|
809
809
|
] }),
|
|
810
810
|
_ == "normal" && h?.()
|
|
811
811
|
] }),
|
|
@@ -912,7 +912,7 @@ import './index.css';const Q = ({
|
|
|
912
912
|
"tablet",
|
|
913
913
|
"tablet-wide",
|
|
914
914
|
"desktop"
|
|
915
|
-
],
|
|
915
|
+
], xe = () => {
|
|
916
916
|
const n = M({
|
|
917
917
|
query: "(max-width: 768px)"
|
|
918
918
|
}), t = M({
|
|
@@ -924,7 +924,7 @@ import './index.css';const Q = ({
|
|
|
924
924
|
});
|
|
925
925
|
return { deviceSize: t ? "small-mobile" : n ? "mobile" : r ? "tablet" : o ? "tablet-wide" : "desktop" };
|
|
926
926
|
}, Qn = (n, t) => n === t || te.indexOf(n) > te.indexOf(t), Vt = (n) => {
|
|
927
|
-
const { deviceSize: t } =
|
|
927
|
+
const { deviceSize: t } = xe();
|
|
928
928
|
return {
|
|
929
929
|
visible: j(
|
|
930
930
|
() => Qn(t, n),
|
|
@@ -943,7 +943,7 @@ import './index.css';const Q = ({
|
|
|
943
943
|
onRequestClose: g,
|
|
944
944
|
images: b
|
|
945
945
|
}) => {
|
|
946
|
-
const f = Z(null), { deviceSize:
|
|
946
|
+
const f = Z(null), { deviceSize: v } = xe(), I = v !== "mobile", [S, k] = T(t ?? 0), C = ({ index: m }) => {
|
|
947
947
|
k(m), r?.(m);
|
|
948
948
|
}, _ = j(() => b.map((m) => Jn(m)), [b]);
|
|
949
949
|
return /* @__PURE__ */ e(
|
|
@@ -986,7 +986,7 @@ import './index.css';const Q = ({
|
|
|
986
986
|
R,
|
|
987
987
|
{
|
|
988
988
|
"aria-label": a,
|
|
989
|
-
leftIcon:
|
|
989
|
+
leftIcon: qe,
|
|
990
990
|
size: "large",
|
|
991
991
|
onClick: () => m.zoomOut()
|
|
992
992
|
}
|
|
@@ -1039,13 +1039,13 @@ import './index.css';const Q = ({
|
|
|
1039
1039
|
altLabelNext: a,
|
|
1040
1040
|
altLabelClose: s
|
|
1041
1041
|
}) => {
|
|
1042
|
-
const h = Z(null), [g, b] = T(!1), [f,
|
|
1042
|
+
const h = Z(null), [g, b] = T(!1), [f, v] = T(t ?? 0), I = J(() => {
|
|
1043
1043
|
b(!0);
|
|
1044
1044
|
}, []), S = J(() => {
|
|
1045
1045
|
b(!1);
|
|
1046
|
-
}, []), k = ({ index: m }) =>
|
|
1046
|
+
}, []), k = ({ index: m }) => v(m);
|
|
1047
1047
|
Ue(() => {
|
|
1048
|
-
|
|
1048
|
+
v(t ?? 0);
|
|
1049
1049
|
}, [t]);
|
|
1050
1050
|
const C = j(() => n.map(Yn), [n]), _ = j(() => n.map(
|
|
1051
1051
|
(m) => m.fullscreenImage ? {
|
|
@@ -1111,7 +1111,7 @@ import './index.css';const Q = ({
|
|
|
1111
1111
|
isOpen: !0,
|
|
1112
1112
|
onRequestClose: S,
|
|
1113
1113
|
initialIndex: f,
|
|
1114
|
-
onUpdateIndex:
|
|
1114
|
+
onUpdateIndex: v,
|
|
1115
1115
|
images: _,
|
|
1116
1116
|
altLabelPrevious: r,
|
|
1117
1117
|
altLabelNext: a,
|
|
@@ -1147,8 +1147,8 @@ export {
|
|
|
1147
1147
|
Mt as LoadingScreen,
|
|
1148
1148
|
ft as NavBar,
|
|
1149
1149
|
un as NavBarButton,
|
|
1150
|
-
|
|
1151
|
-
|
|
1150
|
+
vt as NavBarHeading,
|
|
1151
|
+
xt as NavBarLink,
|
|
1152
1152
|
Bt as NavBarNotificationButton,
|
|
1153
1153
|
Ct as NavBarPopoverButton,
|
|
1154
1154
|
wt as NavBarSearchField,
|
|
@@ -1156,13 +1156,13 @@ export {
|
|
|
1156
1156
|
Nt as PageHeader,
|
|
1157
1157
|
Pt as PageHeaderRow,
|
|
1158
1158
|
Ft as PageHeading,
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1159
|
+
Et as ProductCard,
|
|
1160
|
+
Ht as ProductCardContentItem,
|
|
1161
|
+
Wt as ProductCardContentItemSkeletor,
|
|
1162
1162
|
Gt as ProductSummaryCard,
|
|
1163
1163
|
Dt as ProductSummaryCardImage,
|
|
1164
1164
|
Kt as ProductSummaryCardSkeletor,
|
|
1165
|
-
|
|
1165
|
+
qt as SelectedItemsActionsPadding,
|
|
1166
1166
|
Ot as SelectedItemsActionsPanel,
|
|
1167
1167
|
Ut as SelectedProductCard,
|
|
1168
1168
|
zt as SelectionRow,
|
|
@@ -1174,7 +1174,7 @@ export {
|
|
|
1174
1174
|
$t as SidebarMenuSeparator,
|
|
1175
1175
|
Lt as SidebarRailMenu,
|
|
1176
1176
|
Qn as isDeviceSameOrLarger,
|
|
1177
|
-
|
|
1177
|
+
xe as useDeviceSize,
|
|
1178
1178
|
Vt as useLayoutVisibility
|
|
1179
1179
|
};
|
|
1180
1180
|
//# sourceMappingURL=index.es.js.map
|