@salla.sa/twilight-components 1.4.19 → 1.4.21
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/cjs/loader.cjs.js +1 -1
- package/dist/cjs/salla-button_24.cjs.entry.js +3 -3
- package/dist/cjs/twilight-components.cjs.js +1 -1
- package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +44 -28
- package/dist/collection/components/salla-modal/salla-modal.js +1 -1
- package/dist/collection/components/salla-scopes/salla-scopes.js +25 -1
- package/dist/components/salla-localization-modal.js +13 -7
- package/dist/components/salla-modal2.js +1 -1
- package/dist/components/salla-scopes.js +17 -11
- package/dist/esm/loader.js +1 -1
- package/dist/esm/salla-button_24.entry.js +3 -3
- package/dist/esm/twilight-components.js +1 -1
- package/dist/twilight-components/p-b31f472a.entry.js +4 -0
- package/dist/twilight-components/twilight-components.esm.js +1 -1
- package/example/assets/tailwind.css +84 -2
- package/package.json +1 -1
- package/dist/twilight-components/p-94af89f1.entry.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{p as e,b as a}from"./p-1503d976.js";(()=>{const a=import.meta.url,l={};return""!==a&&(l.resourcesUrl=new URL(".",a).href),e(l)})().then((e=>a([["p-
|
|
4
|
+
import{p as e,b as a}from"./p-1503d976.js";(()=>{const a=import.meta.url,l={};return""!==a&&(l.resourcesUrl=new URL(".",a).href),e(l)})().then((e=>a([["p-b31f472a",[[4,"salla-loyalty",{prizePoints:[8,"prize-points"],customerPoints:[2,"customer-points"],prizeTitle:[1,"prize-title"],allowEmail:[4,"allow-email"],allowMobile:[4,"allow-mobile"],requireEmail:[4,"require-email"],guestMessage:[1,"guest-message"],loyaltyProgram:[32],buttonLoading:[32],selectedItem:[32],askConfirmation:[32],is_loggedin:[32],points:[32],exchange_points:[32],are_you_sure_to_exchange:[32],for:[32],cancel:[32],confirm:[32],cart_total_point_summary:[32],cart_point_exchange_now:[32],login_button:[32],open:[64],close:[64],resetExchange:[64],exchangeLoyaltyPoint:[64]}],[4,"salla-product-size-guide",{guides:[32],productId:[32],open:[64],close:[64]}],[4,"salla-scopes",{selection:[1],searchDisplayLimit:[2,"search-display-limit"],mode:[32],current_scope:[32],scopes:[32],originalScopesList:[32],branchNotFound:[32],ourServiceIsNotFound:[32],searchForAvailabilityInOtherBranch:[32],shoppingFromAnotherBranch:[32],nowBrowsingFrom:[32],confirmButton:[32],scopeSearchPlaceholder:[32],selected_scope:[32],isOpenedBefore:[32],close:[64],open:[64],handleSubmit:[64]}],[4,"salla-login-modal",{isEmailAllowed:[1028,"is-email-allowed"],isMobileAllowed:[1028,"is-mobile-allowed"],isEmailRequired:[1028,"is-email-required"],title:[32],loginTypeTitle:[32],loginText:[32],smsLabel:[32],mobileLabel:[32],emailLabel:[32],enterText:[32],bySMSText:[32],byEmailText:[32],emailErrorMsg:[32],firstNameLabel:[32],lastNameLabel:[32],firstNameErrorMsg:[32],lastNameErrorMsg:[32],open:[64]},[[8,"verified","onVerified"]]],[0,"salla-localization-modal",{language:[1537],currency:[1537],languages:[32],currencies:[32],languagesTitle:[32],currenciesTitle:[32],isLoading:[32],open:[64],close:[64],submit:[64]}],[0,"salla-rating-modal",{orderId:[2,"order-id"],order:[32],open:[64],close:[64]}],[0,"salla-offer-modal",{offer:[32],offer_name:[32],offer_message:[32],offer_expires_in:[32],remember_my_choice:[32],add_to_cart:[32],out_of_stock:[32],open:[64],showOffer:[64]}],[0,"salla-search",{inline:[4],oval:[4],height:[2],results:[32],placeholder:[32],noResultsText:[32],typing:[32],debounce:[32],search_term:[32]}],[4,"salla-social-share",{url:[513],urlName:[513,"url-name"],platforms:[16],opened:[32],allPlatforms:[32],platformIcons:[32],open:[64]}],[4,"salla-infinite-scroll",{nextPage:[1,"next-page"],autoload:[1028],container:[1],item:[1],loadMore:[32],noMore:[32],failedToLoad:[32]}],[0,"salla-product-availability",{channels:[1],productId:[2,"product-id"],isSubscribed:[1028,"is-subscribed"],subTitle:[32],mobileLabel:[32],emailLabel:[32],emailPlaceholder:[32],subscribedMessage:[32],title_:[32],emailErrorMsg:[32],isVisitorSubscribed:[32]}],[4,"salla-verify",{display:[1],type:[1025],autoReload:[4,"auto-reload"],title:[32],resendAfter:[32],isProfileVerify:[32],getCode:[64],open:[64]}],[4,"salla-swiper",{loop:[4],speed:[2],itemPerView:[8,"item-per-view"],spaceBetweenItems:[2,"space-between-items"],direction:[1],currentIndex:[32],isLastSlideItem:[32],isFirstSlideItem:[32]}],[0,"salla-rating-stars",{name:[1],size:[1],value:[2]}],[4,"salla-list-tile",{href:[1],target:[1]}],[4,"salla-tab-content",{name:[1],isSelected:[32],getChild:[64]}],[4,"salla-tab-header",{name:[1],activeClass:[1,"active-class"],height:[8],centered:[4],isSelected:[32],getChild:[64]}],[4,"salla-tabs",{backgroundColor:[1,"background-color"],vertical:[4]},[[0,"onSelect","onSelectedTab"]]],[4,"salla-placeholder",{icon:[1],alignment:[1],iconSize:[1,"icon-size"],default_title:[32],default_description:[32]}],[0,"salla-tel-input",{phone:[1025],name:[1],countryCode:[1025,"country-code"],mobileRequired:[32],countryCodeLabel:[32],mobileLabel:[32],tooShort:[32],tooLong:[32],invalidCountryCode:[32],invalidNumber:[32],errorMap:[32],getValues:[64],isValid:[64]}],[0,"salla-skeleton",{type:[1],width:[1],height:[1]}],[4,"salla-modal",{isClosable:[1028,"is-closable"],width:[513],position:[513],visible:[516],hasSkeleton:[516,"has-skeleton"],isLoading:[1540,"is-loading"],subTitleFirst:[4,"sub-title-first"],noPadding:[4,"no-padding"],subTitle:[1,"sub-title"],icon:[1],iconStyle:[1,"icon-style"],imageIcon:[1,"image-icon"],modalTitle:[32],open:[64],close:[64],setTitle:[64],loading:[64],stopLoading:[64]}],[4,"salla-button",{shape:[513],color:[513],fill:[513],size:[513],width:[513],loading:[516],disabled:[516],loaderPosition:[1,"loader-position"],href:[1],load:[64],stop:[64],setText:[64],disable:[64],enable:[64]}],[0,"salla-loading",{size:[8],width:[8],color:[1],bgColor:[1,"bg-color"]}]]],["p-b9fe5498",[[4,"salla-add-product-button",{channels:[513],quantity:[514],donatingAmount:[514,"donating-amount"],productId:[520,"product-id"],productStatus:[513,"product-status"],productType:[513,"product-type"]}]]],["p-019bb315",[[4,"salla-conditional-fields",null,[[0,"change","changeHandler"]]]]],["p-4cba804f",[[0,"salla-installment",{price:[1],language:[1],currency:[1],tamaraIsActive:[32],tabbyIsActive:[32],spotiiIsActive:[32]}]]],["p-4c5055cf",[[4,"salla-quantity-input",{quantity:[32],decrease:[64],increase:[64],setValue:[64]}]]]],e)));
|
|
@@ -1894,6 +1894,39 @@ video {
|
|
|
1894
1894
|
border-color: var(--color-primary);
|
|
1895
1895
|
}
|
|
1896
1896
|
|
|
1897
|
+
.s-localization-modal-skeleton-content {
|
|
1898
|
+
margin-top: 2rem;
|
|
1899
|
+
margin-bottom: 2rem;
|
|
1900
|
+
display: flex;
|
|
1901
|
+
flex-direction: column;
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1904
|
+
.s-localization-modal-skeleton-content > :not([hidden]) ~ :not([hidden]) {
|
|
1905
|
+
--tw-space-y-reverse: 0;
|
|
1906
|
+
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
|
|
1907
|
+
margin-bottom: calc(1rem * var(--tw-space-y-reverse));
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
.s-localization-modal-skeleton-item {
|
|
1911
|
+
display: flex;
|
|
1912
|
+
align-items: center;
|
|
1913
|
+
justify-content: space-between;
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
.s-localization-modal-skeleton-item-flex {
|
|
1917
|
+
display: flex;
|
|
1918
|
+
align-items: center;
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
.s-localization-modal-skeleton-item-flex salla-skeleton:nth-child(1) {
|
|
1922
|
+
margin-right: 0.75rem;
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
[dir="rtl"] .s-localization-modal-skeleton-item-flex salla-skeleton:nth-child(1) {
|
|
1926
|
+
margin-right: 0px;
|
|
1927
|
+
margin-left: 0.75rem;
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1897
1930
|
.s-login-modal-sub-title {
|
|
1898
1931
|
margin-bottom: 0.625rem;
|
|
1899
1932
|
font-size: 0.875rem;
|
|
@@ -4226,8 +4259,57 @@ unicode {
|
|
|
4226
4259
|
display: block !important;
|
|
4227
4260
|
}
|
|
4228
4261
|
|
|
4229
|
-
.s-scopes-
|
|
4230
|
-
|
|
4262
|
+
.s-scopes-skeleton .s-list-tile-item-content {
|
|
4263
|
+
display: block;
|
|
4264
|
+
width: 100%;
|
|
4265
|
+
}
|
|
4266
|
+
|
|
4267
|
+
.s-scopes-skeleton .s-scopes-header-title > salla-skeleton {
|
|
4268
|
+
margin-top: 0.75rem;
|
|
4269
|
+
margin-bottom: 0.75rem;
|
|
4270
|
+
display: block;
|
|
4271
|
+
}
|
|
4272
|
+
|
|
4273
|
+
.s-scopes-skeleton .s-scopes-header-subtitle > salla-skeleton {
|
|
4274
|
+
margin-bottom: 0.75rem;
|
|
4275
|
+
display: block;
|
|
4276
|
+
}
|
|
4277
|
+
|
|
4278
|
+
.s-scopes-skeleton .s-scopes-skeleton-scopes > salla-skeleton {
|
|
4279
|
+
margin-bottom: 1.25rem;
|
|
4280
|
+
display: block;
|
|
4281
|
+
}
|
|
4282
|
+
|
|
4283
|
+
.s-scopes-skeleton .s-scopes-skeleton-search {
|
|
4284
|
+
margin-top: 2rem;
|
|
4285
|
+
margin-bottom: 2rem;
|
|
4286
|
+
}
|
|
4287
|
+
|
|
4288
|
+
.s-scopes-skeleton .s-scopes-skeleton-search > salla-skeleton {
|
|
4289
|
+
margin-bottom: 0.75rem;
|
|
4290
|
+
display: block;
|
|
4291
|
+
}
|
|
4292
|
+
|
|
4293
|
+
.s-scopes-skeleton .s-list-tile-item-icon {
|
|
4294
|
+
margin-right: 2rem;
|
|
4295
|
+
}
|
|
4296
|
+
|
|
4297
|
+
[dir="rtl"] .s-scopes-skeleton .s-list-tile-item-icon {
|
|
4298
|
+
margin-right: 0px;
|
|
4299
|
+
margin-left: 2rem;
|
|
4300
|
+
}
|
|
4301
|
+
|
|
4302
|
+
.s-scopes-skeleton .s-list-tile-item-icon {
|
|
4303
|
+
margin-right: 2rem;
|
|
4304
|
+
}
|
|
4305
|
+
|
|
4306
|
+
[dir="rtl"] .s-scopes-skeleton .s-list-tile-item-icon {
|
|
4307
|
+
margin-right: 0px;
|
|
4308
|
+
margin-left: 2rem;
|
|
4309
|
+
}
|
|
4310
|
+
|
|
4311
|
+
.s-scopes-skeleton-btn {
|
|
4312
|
+
margin-top: 2rem;
|
|
4231
4313
|
}
|
|
4232
4314
|
|
|
4233
4315
|
.s-search-container {
|