@fynd-design-engineering/fynd-one-v2 3.4.4 → 3.4.6
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/form/country-dropdown.css"],
|
|
4
|
-
"sourcesContent": [".iti {\n position: relative;\n display: flex;\n width: 100%;\n}\n\n.iti__country-container {\n position: absolute;\n z-index: 2;\n height: 38px;\n top: 1px;\n left: 1px;\n}\n\n.iti input,\n.iti input[type=tel],\n.iti input[type=text] {\n z-index: 1;\n}\n\nbutton.iti__selected-country {\n display: flex;\n align-items: center;\n gap: 8px;\n height: 100%;\n padding-left: 10px;\n padding-right: 20px;\n border-radius: 6px;\n}\n\n.iti__arrow {\n margin-left: 6px;\n width: 0;\n height: 0;\n border-left: 3px solid transparent;\n border-right: 3px solid transparent;\n border-top: 4px solid #555;\n position: absolute;\n right: 6px;\n top: 19px;\n}\n\n.iti__dropdown-content {\n background: white;\n\n top: 6px;\n position: relative;\n border: 1px solid #E3E3E3;\n border-radius: 10px;\n overflow: hidden;\n\n}\n\nspan.iti__search-icon {\n display: none;\n}\n\nspan.iti__a11y-text {\n display: none;\n}\n\ninput.iti__search-input {\n border: 1px solid var(--_color-palette---button--secondary--button-border-default);\n background-color: var(--background--background-light);\n color: var(--_primitives---neutral--neutral-100);\n border-radius: .5rem;\n width: 100%;\n height: 2rem;\n margin-bottom: 0;\n padding: .5rem .75rem;\n font-weight: 400;\n transition: all .3s;\n position: relative;\n z-index: 1;\n font-size: 0.85rem;\n}\n\n.iti__search-input-wrapper {\n position: relative;\n z-index: 2;\n padding: 8px;\n border-bottom: 1px solid #E3E3E3;\n}\n\nbutton.iti__search-clear {\n position: absolute;\n right: 10px;\n top: 8px;\n z-index: 3;\n background: white;\n}\n\ninput#phone-number {\n padding-left: 102px !important;\n}\n\n.iti__arrow.iti__arrow--up {\n display: none;\n}\n\n.iti__country-list {\n width: 100%;\n position: static;\n z-index: 2;\n list-style: none;\n text-align: left;\n padding: 0;\n margin: 0px;\n box-shadow: none;\n background-color: #fff;\n border: 0px solid #ccc;\n white-space: nowrap;\n max-height: 200px;\n overflow-y: scroll;\n -webkit-overflow-scrolling: touch;\n}\n\n.iti__no-results {\n padding-top: 40px;\n padding-bottom: 40px;\n padding-right: 16px;\n padding-left: 16px;\n text-align: center;\n background: #0000000a;\n}\n.iti__country {\n padding: 5px 10px;\n outline: 0;\n display: flex;\n align-items: center;\n gap: 10px;\n}\n.iti__country-name, .iti__flag-box {\n margin-right: 0px;\n}"],
|
|
5
|
-
"mappings": ";AAAA,CAAC;AACG,YAAU;AACV,WAAS;AACT,SAAO;AACX;AAEA,CAAC;AACG,YAAU;AACV,WAAS;AACT,UAAQ;AACR,OAAK;AACL,QAAM;AACV;AAEA,CAdC,IAcI;AACL,CAfC,IAeI,KAAK,CAAC;AACX,CAhBC,IAgBI,KAAK,CAAC;AACP,WAAS;AACb;AAEA,MAAM,CAAC;AACH,WAAS;AACT,eAAa;AACb,OAAK;AACL,UAAQ;AACR,gBAAc;AACd,iBAAe;AACf,iBAAe;AACnB;AAEA,CAAC;AACG,eAAa;AACb,SAAO;AACP,UAAQ;AACR,eAAa,IAAI,MAAM;AACvB,gBAAc,IAAI,MAAM;AACxB,cAAY,IAAI,MAAM;AACtB,YAAU;AACV,SAAO;AACP,OAAK;AACT;AAEA,CAAC;AACG,cAAY;AAEZ,OAAK;AACL,YAAU;AACV,UAAQ,IAAI,MAAM;AAClB,iBAAe;AACf,YAAU;AAEd;AAEA,IAAI,CAAC;AACD,WAAS;AACb;AAEA,IAAI,CAAC;AACD,WAAS;AACb;AAEA,KAAK,CAAC;AACF,UAAQ,IAAI,MAAM,IAAI;AACtB,oBAAkB,IAAI;AACtB,SAAO,IAAI;AACX,iBAAe;AACf,SAAO;AACP,UAAQ;AACR,iBAAe;AACf,WAAS,MAAM;AACf,eAAa;AACb,cAAY,IAAI;AAChB,YAAU;AACV,WAAS;AACT,aAAW;AACf;AAEA,CAAC;AACG,YAAU;AACV,WAAS;AACT,WAAS;AACT,iBAAe,IAAI,MAAM;AAC7B;AAEA,MAAM,CAAC;AACH,YAAU;AACV,SAAO;AACP,OAAK;AACL,WAAS;AACT,cAAY;AAChB;AAEA,KAAK,CAAC;AACF,gBAAc;AAClB;AAEA,CAlEC,UAkEU,CAAC;AACR,WAAS;AACb;AAEA,CAAC;AACG,SAAO;AACP,YAAU;AACV,WAAS;AACT,cAAY;AACZ,cAAY;AACZ,WAAS;AACT,UAAQ;AACR,cAAY;AACZ,oBAAkB;AAClB,UAAQ,IAAI,MAAM;AAClB,eAAa;AACb,cAAY;AACZ,cAAY;AACZ,8BAA4B;AAChC;AAEA,CAAC;AACG,eAAa;AACb,kBAAgB;AAChB,iBAAe;AACf,gBAAc;AACd,cAAY;AACZ,cAAY;AAChB;AACA,CAAC;AACG,WAAS,IAAI;AACb,WAAS;AACT,WAAS;AACT,eAAa;AACb,OAAK;AACT;AACA,CAAC;AAAmB,CAAC;AACjB,gBAAc;AAClB;",
|
|
4
|
+
"sourcesContent": [".iti {\n position: relative;\n display: flex;\n width: 100%;\n}\n\n.iti__country-container {\n position: absolute;\n z-index: 2;\n height: 38px;\n top: 1px;\n left: 1px;\n}\n\n.iti input,\n.iti input[type=tel],\n.iti input[type=text] {\n z-index: 1;\n}\n\nbutton.iti__selected-country {\n display: flex;\n align-items: center;\n gap: 8px;\n height: 100%;\n padding-left: 10px;\n padding-right: 20px;\n border-radius: 6px;\n}\n\n.iti__arrow {\n margin-left: 6px;\n width: 0;\n height: 0;\n border-left: 3px solid transparent;\n border-right: 3px solid transparent;\n border-top: 4px solid #555;\n position: absolute;\n right: 6px;\n top: 19px;\n}\n\n.iti__dropdown-content {\n background: white;\n\n top: 6px;\n position: relative;\n border: 1px solid #E3E3E3;\n border-radius: 10px;\n overflow: hidden;\n\n}\n\nspan.iti__search-icon {\n display: none;\n}\n\nspan.iti__a11y-text {\n display: none;\n}\n\ninput.iti__search-input {\n border: 1px solid var(--_color-palette---button--secondary--button-border-default);\n background-color: var(--background--background-light);\n color: var(--_primitives---neutral--neutral-100);\n border-radius: .5rem;\n width: 100%;\n height: 2rem;\n margin-bottom: 0;\n padding: .5rem .75rem;\n font-weight: 400;\n transition: all .3s;\n position: relative;\n z-index: 1;\n font-size: 0.85rem;\n}\n\n.iti__search-input-wrapper {\n position: relative;\n z-index: 2;\n padding: 8px;\n border-bottom: 1px solid #E3E3E3;\n}\n\nbutton.iti__search-clear {\n position: absolute;\n right: 10px;\n top: 8px;\n z-index: 3;\n background: white;\n}\n\ninput#phone-number {\n padding-left: 102px !important;\n}\n\n.iti__arrow.iti__arrow--up {\n display: none;\n}\n\n.iti__country-list {\n width: 100%;\n position: static;\n z-index: 2;\n list-style: none;\n text-align: left;\n padding: 0;\n margin: 0px;\n box-shadow: none;\n background-color: #fff;\n border: 0px solid #ccc;\n white-space: nowrap;\n max-height: 200px;\n overflow-y: scroll;\n -webkit-overflow-scrolling: touch;\n}\n\n.iti__no-results {\n padding-top: 40px;\n padding-bottom: 40px;\n padding-right: 16px;\n padding-left: 16px;\n text-align: center;\n background: #0000000a;\n}\n.iti__country {\n padding: 5px 10px;\n outline: 0;\n display: flex;\n align-items: center;\n gap: 10px;\n}\n.iti__country-name, .iti__flag-box {\n margin-right: 0px;\n}\n\n\n\n\n@media (max-width:500px){\n.iti--fullscreen-popup{\npadding: 0px !important;\nz-index: 1000000000;\n}\n\n.iti__country-list {\nposition: static;\n}\n.iti__flag {\nbackground-position: var(--iti-flag-offset) 0 !important;\n}\n.iti--fullscreen-popup .iti__dropdown-content {\nheight: 100vh;\n}\n.iti--flexible-dropdown-width .iti__country-list {\nheight: calc(100vh - 60px);\nmax-height: none;\n}\n.iti input, .iti input[type=tel], .iti input[type=text] {\nheight: 40px;\n}\n}"],
|
|
5
|
+
"mappings": ";AAAA,CAAC;AACG,YAAU;AACV,WAAS;AACT,SAAO;AAC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AA4B;AAChC;AAEA,CAAC;AACG,eAAa;AACb,kBAAgB;AAChB,iBAAe;AACf,gBAAc;AACd,cAAY;AACZ,cAAY;AAChB;AACA,CAAC;AACG,WAAS,IAAI;AACb,WAAS;AACT,WAAS;AACT,eAAa;AACb,OAAK;AACT;AACA,CAAC;AAAmB,CAAC;AACjB,gBAAc;AAClB;AAKA,OAAO,CAAC,SAAS,CAAC;AAClB,GAAC;AACD,aAAS;AACT,aAAS;AACT;AAEA,GA7CC;AA8CD,cAAU;AACV;AACA,GAAC;AACD,yBAAqB,IAAI,mBAAmB;AAC5C;AACA,GAXC,sBAWsB,CA7GtB;AA8GD,YAAQ;AACR;AACA,GAAC,6BAA6B,CAtD7B;AAuDD,YAAQ,KAAK,MAAM,EAAE;AACrB,gBAAY;AACZ;AACA,GA9JC,IA8JI;AAAA,EAAO,CA9JX,IA8JgB,KAAK,CAAC;AAAA,EAAW,CA9JjC,IA8JsC,KAAK,CAAC;AAC7C,YAAQ;AACR;AACA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{function
|
|
1
|
+
"use strict";(()=>{function u(){try{let e=a();if(!e||e.userJourney.length===0)return;let r=e.userJourney[0],t=e.userJourney[e.userJourney.length-1];e.userJourney.length>1&&e.userJourney[e.userJourney.length-1].page==="/contact-us"&&(t=e.userJourney[e.userJourney.length-2]);let n={utm_source:r.utm.source,utm_medium:r.utm.medium,utm_campaign:r.utm.campaign,fp_custom_page_title:r.title,fp_custom_page_category:r.category.join(", "),fp_custom_page_type:r.type,fp_timestamp:r.time,fp_path:r.page,lp_custom_page_title:t.title,lp_custom_page_category:t.category.join(", "),lp_custom_page_type:t.type,lp_timestamp:t.time,lp_path:t.page,userjourney:JSON.stringify(e.userJourney),device:e.deviceCategory,browser:e.browser,refferer_domain:window.location.hostname,"current-page-url":window.location.href};Object.entries(n).forEach(([o,i])=>{c(o,i)})}catch(e){console.error("Error filling form with user journey data:",e)}}function a(){try{let e=sessionStorage.getItem("userJourney");return e?JSON.parse(e):null}catch(e){return console.error("Error getting user journey data:",e),null}}function c(e,r){try{let t=`[fynd-queryparam-name="${e}"]`,n=document.querySelectorAll(t);n.length>0&&n.forEach(o=>{o.value=r;let i=new Event("input",{bubbles:!0});o.dispatchEvent(i);let s=new Event("change",{bubbles:!0});o.dispatchEvent(s)})}catch(t){console.error(`Error filling field [${e}]:`,t)}}document.addEventListener("DOMContentLoaded",()=>{setTimeout(()=>{u()},500)});document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>{setTimeout(()=>{u()},500)}):setTimeout(()=>{u()},500);window.fillFormWithUserJourney=u;})();
|
package/package.json
CHANGED