@shoplflow/extension 0.0.74 → 0.0.75

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,5 +1,12 @@
1
1
  # @shoplflow/extension
2
2
 
3
+ ## 0.0.75
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`dd57107`](https://github.com/shopl/shoplflow/commit/dd571073c5b21e29ed70eb1eebb901fc8f7362b1)]:
8
+ - @shoplflow/base@0.32.18
9
+
3
10
  ## 0.0.74
4
11
 
5
12
  ### Patch Changes
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "@shoplflow/extension",
4
- "version": "0.0.74",
4
+ "version": "0.0.75",
5
5
  "description": "Shoplflow 점유율 확인 extension",
6
6
  "permissions": [
7
7
  "storage"
@@ -24,7 +24,7 @@
24
24
  "src/pages/content/index.js"
25
25
  ],
26
26
  "css": [
27
- "assets/css/contentStyle17364068599.chunk.css"
27
+ "assets/css/contentStyle17364837731.chunk.css"
28
28
  ]
29
29
  }
30
30
  ],
@@ -477,7 +477,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
477
477
  */var Nu=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],zn=Nu.join(","),O2=typeof Element>"u",Y0=O2?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ti=!O2&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},ii=function e(t,i){var r;i===void 0&&(i=!0);var o=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),s=o===""||o==="true",l=s||i&&t&&e(t.parentNode);return l},Xu=function(t){var i,r=t==null||(i=t.getAttribute)===null||i===void 0?void 0:i.call(t,"contenteditable");return r===""||r==="true"},Yu=function(t,i,r){if(ii(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(zn));return i&&Y0.call(t,zn)&&o.unshift(t),o=o.filter(r),o},Ku=function e(t,i,r){for(var o=[],s=Array.from(t);s.length;){var l=s.shift();if(!ii(l,!1))if(l.tagName==="SLOT"){var a=l.assignedElements(),c=a.length?a:l.children,d=e(c,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:l,candidates:d})}else{var h=Y0.call(l,zn);h&&r.filter(l)&&(i||!t.includes(l))&&o.push(l);var f=l.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(l),p=!ii(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(l));if(f&&p){var g=e(f===!0?l.children:f.children,!0,r);r.flatten?o.push.apply(o,g):o.push({scopeParent:l,candidates:g})}else s.unshift.apply(s,l.children)}}return o},H2=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},$2=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||Xu(t))&&!H2(t)?0:t.tabIndex},qu=function(t,i){var r=$2(t);return r<0&&i&&!H2(t)?0:r},Qu=function(t,i){return t.tabIndex===i.tabIndex?t.documentOrder-i.documentOrder:t.tabIndex-i.tabIndex},U2=function(t){return t.tagName==="INPUT"},Ju=function(t){return U2(t)&&t.type==="hidden"},e7=function(t){var i=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return i},t7=function(t,i){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===i)return t[r]},i7=function(t){if(!t.name)return!0;var i=t.form||ti(t),r=function(a){return i.querySelectorAll('input[type="radio"][name="'+a+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=r(window.CSS.escape(t.name));else try{o=r(t.name)}catch(l){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",l.message),!1}var s=t7(o,t.form);return!s||s===t},n7=function(t){return U2(t)&&t.type==="radio"},r7=function(t){return n7(t)&&!i7(t)},o7=function(t){var i,r=t&&ti(t),o=(i=r)===null||i===void 0?void 0:i.host,s=!1;if(r&&r!==t){var l,a,c;for(s=!!((l=o)!==null&&l!==void 0&&(a=l.ownerDocument)!==null&&a!==void 0&&a.contains(o)||t!=null&&(c=t.ownerDocument)!==null&&c!==void 0&&c.contains(t));!s&&o;){var d,h,f;r=ti(o),o=(d=r)===null||d===void 0?void 0:d.host,s=!!((h=o)!==null&&h!==void 0&&(f=h.ownerDocument)!==null&&f!==void 0&&f.contains(o))}}return s},ms=function(t){var i=t.getBoundingClientRect(),r=i.width,o=i.height;return r===0&&o===0},s7=function(t,i){var r=i.displayCheck,o=i.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var s=Y0.call(t,"details>summary:first-of-type"),l=s?t.parentElement:t;if(Y0.call(l,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof o=="function"){for(var a=t;t;){var c=t.parentElement,d=ti(t);if(c&&!c.shadowRoot&&o(c)===!0)return ms(t);t.assignedSlot?t=t.assignedSlot:!c&&d!==t.ownerDocument?t=d.host:t=c}t=a}if(o7(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return ms(t);return!1},l7=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var i=t.parentElement;i;){if(i.tagName==="FIELDSET"&&i.disabled){for(var r=0;r<i.children.length;r++){var o=i.children.item(r);if(o.tagName==="LEGEND")return Y0.call(i,"fieldset[disabled] *")?!0:!o.contains(t)}return!0}i=i.parentElement}return!1},a7=function(t,i){return!(i.disabled||ii(i)||Ju(i)||s7(i,t)||e7(i)||l7(i))},xs=function(t,i){return!(r7(i)||$2(i)<0||!a7(t,i))},c7=function(t){var i=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(i)||i>=0)},d7=function e(t){var i=[],r=[];return t.forEach(function(o,s){var l=!!o.scopeParent,a=l?o.scopeParent:o,c=qu(a,l),d=l?e(o.candidates):a;c===0?l?i.push.apply(i,d):i.push(a):r.push({documentOrder:s,tabIndex:c,item:o,isScope:l,content:d})}),r.sort(Qu).reduce(function(o,s){return s.isScope?o.push.apply(o,s.content):o.push(s.content),o},[]).concat(i)},z2=function(t,i){i=i||{};var r;return i.getShadowRoot?r=Ku([t],i.includeContainer,{filter:xs.bind(null,i),flatten:!1,getShadowRoot:i.getShadowRoot,shadowRootFilter:c7}):r=Yu(t,i.includeContainer,xs.bind(null,i)),d7(r)};H1["useInsertionEffect".toString()];var ni=typeof document<"u"?b.exports.useLayoutEffect:b.exports.useEffect;let pn=!1,h7=0;const ws=()=>"floating-ui-"+h7++;function f7(){const[e,t]=b.exports.useState(()=>pn?ws():void 0);return ni(()=>{e==null&&t(ws())},[]),b.exports.useEffect(()=>{pn||(pn=!0)},[]),e}const u7=H1["useId".toString()],p7=u7||f7;function W2(e){return"data-floating-ui-"+e}const G2=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function j2(e,t){const i=z2(e,G2());t==="prev"&&i.reverse();const r=i.indexOf(zu(ju(e)));return i.slice(r+1)[0]}function g7(){return j2(document.body,"next")}function v7(){return j2(document.body,"prev")}function gn(e,t){const i=t||e.currentTarget,r=e.relatedTarget;return!r||!Wu(i,r)}function m7(e){z2(e,G2()).forEach(i=>{i.dataset.tabindex=i.getAttribute("tabindex")||"",i.setAttribute("tabindex","-1")})}function x7(e){e.querySelectorAll("[data-tabindex]").forEach(i=>{const r=i.dataset.tabindex;delete i.dataset.tabindex,r?i.setAttribute("tabindex",r):i.removeAttribute("tabindex")})}const N2={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};let w7;function ys(e){e.key==="Tab"&&(e.target,clearTimeout(w7))}const _s=b.exports.forwardRef(function(t,i){const[r,o]=b.exports.useState();ni(()=>(Gu()&&o("button"),document.addEventListener("keydown",ys),()=>{document.removeEventListener("keydown",ys)}),[]);const s={ref:i,tabIndex:0,role:r,"aria-hidden":r?void 0:!0,[W2("focus-guard")]:"",style:N2};return n("span",{...t,...s})}),X2=b.exports.createContext(null);function y7(e){let{id:t,root:i}=e===void 0?{}:e;const[r,o]=b.exports.useState(null),s=p7(),l=b7(),a=b.exports.useMemo(()=>({id:t,root:i,portalContext:l,uniqueId:s}),[t,i,l,s]),c=b.exports.useRef();return ni(()=>()=>{r==null||r.remove()},[r,a]),ni(()=>{if(c.current===a)return;c.current=a;const{id:d,root:h,portalContext:f,uniqueId:p}=a,g=d?document.getElementById(d):null,v=W2("portal");if(g){const m=document.createElement("div");m.id=p,m.setAttribute(v,""),g.appendChild(m),o(m)}else{let m=h||(f==null?void 0:f.portalNode);m&&!$u(m)&&(m=m.current),m=m||document.body;let w=null;d&&(w=document.createElement("div"),w.id=d,m.appendChild(w));const _=document.createElement("div");_.id=p,_.setAttribute(v,""),m=w||m,m.appendChild(_),o(_)}},[a]),r}function _7(e){let{children:t,id:i,root:r=null,preserveTabOrder:o=!0}=e;const s=y7({id:i,root:r}),[l,a]=b.exports.useState(null),c=b.exports.useRef(null),d=b.exports.useRef(null),h=b.exports.useRef(null),f=b.exports.useRef(null),p=!!l&&!l.modal&&l.open&&o&&!!(r||s);return b.exports.useEffect(()=>{if(!s||!o||l!=null&&l.modal)return;function g(v){s&&gn(v)&&(v.type==="focusin"?x7:m7)(s)}return s.addEventListener("focusin",g,!0),s.addEventListener("focusout",g,!0),()=>{s.removeEventListener("focusin",g,!0),s.removeEventListener("focusout",g,!0)}},[s,o,l==null?void 0:l.modal]),u(X2.Provider,{value:b.exports.useMemo(()=>({preserveTabOrder:o,beforeOutsideRef:c,afterOutsideRef:d,beforeInsideRef:h,afterInsideRef:f,portalNode:s,setFocusManagerState:a}),[o,s]),children:[p&&s&&n(_s,{"data-type":"outside",ref:c,onFocus:g=>{if(gn(g,s)){var v;(v=h.current)==null||v.focus()}else{const m=v7()||(l==null?void 0:l.refs.domReference.current);m==null||m.focus()}}}),p&&s&&n("span",{"aria-owns":s.id,style:N2}),s&&Jn.exports.createPortal(t,s),p&&s&&n(_s,{"data-type":"outside",ref:d,onFocus:g=>{if(gn(g,s)){var v;(v=f.current)==null||v.focus()}else{const m=g7()||(l==null?void 0:l.refs.domReference.current);m==null||m.focus(),l!=null&&l.closeOnFocusOut&&(l==null||l.onOpenChange(!1,g.nativeEvent))}}})]})}const b7=()=>b.exports.useContext(X2),M7=V.div`
478
478
  width: ${({width:e})=>e!=null?e:"fit-content"};
479
479
  height: ${({height:e})=>e&&e};
480
- `,Z7=b.exports.createContext(null),Y2=()=>{const e=b.exports.useContext(Z7);if(e===null)throw new Error("usePopper must be used within a PopperProvider");return e};function S7(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${String(t)}' to ref '${String(e)}'`)}}}function I7(...e){return t=>{e.forEach(i=>{S7(i,t)})}}function Tr(...e){return b.exports.useMemo(()=>I7(...e),e)}b.exports.forwardRef(({children:e,isOpen:t=!1,...i},r)=>{const{setReference:o,setIsOpen:s}=Y2(),l=Tr(r,o);return b.exports.useEffect(()=>{s(t)},[t,s]),n(M7,{ref:l,"data-shoplflow":"Popper",...i,children:e})});b.exports.forwardRef(({children:e,animation:t},i)=>{const{floatingStyles:r,setFloating:o,isOpen:s}=Y2(),l=t!=null?t:$1,a=Tr(i,o);return s?n(_7,{children:n(Fr,{children:n(Se.div,{initial:l.initial,animate:l.animate,exit:l.exit,ref:a,style:r,children:e})})}):null});const C7=e=>{switch(e){case"M":return"40px";case"S":return"32px";default:return"40px"}},A7=e=>{switch(e){case"M":return"body1_400";case"S":return"body2_400";default:return"body1_400"}},R7=e=>{switch(e){case"M":return R`
480
+ `,Z7=b.exports.createContext(null),Y2=()=>{const e=b.exports.useContext(Z7);if(e===null)throw new Error("usePopper must be used within a PopperProvider");return e};function S7(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${String(t)}' to ref '${String(e)}'`)}}}function I7(...e){return t=>{e.forEach(i=>{S7(i,t)})}}function Tr(...e){return b.exports.useMemo(()=>I7(...e),e)}b.exports.forwardRef(({children:e,isOpen:t=!1,...i},r)=>{const{setReference:o,setIsOpen:s}=Y2(),l=Tr(r,o);return b.exports.useEffect(()=>{s(t)},[t,s]),n(M7,{ref:l,"data-shoplflow":"Popper",...i,children:e})});b.exports.forwardRef(({children:e,animation:t,zIndex:i},r)=>{const{floatingStyles:o,setFloating:s,isOpen:l}=Y2(),a=t!=null?t:$1,c=Tr(r,s);let d={...o};return i&&(d={...o,zIndex:i}),l?n(_7,{children:n(Fr,{children:n(Se.div,{initial:a.initial,animate:a.animate,exit:a.exit,ref:c,style:d,children:e})})}):null});const C7=e=>{switch(e){case"M":return"40px";case"S":return"32px";default:return"40px"}},A7=e=>{switch(e){case"M":return"body1_400";case"S":return"body2_400";default:return"body1_400"}},R7=e=>{switch(e){case"M":return R`
481
481
  padding: 4px 4px 4px 12px;
482
482
  `;case"S":return R`
483
483
  padding: 4px 4px 4px 8px;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@shoplflow/extension",
3
- "version": "0.0.74",
3
+ "version": "0.0.75",
4
4
  "license": "MIT",
5
5
  "description": "Shoplflow 점유율 확인 extension",
6
6
  "type": "module",
7
7
  "dependencies": {
8
- "@shoplflow/base": "^0.32.17",
8
+ "@shoplflow/base": "^0.32.18",
9
9
  "chart.js": "^4.4.0",
10
10
  "construct-style-sheets-polyfill": "^3.1.0",
11
11
  "react": "18.2.0",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "@shoplflow/extension",
4
- "version": "0.0.74",
4
+ "version": "0.0.75",
5
5
  "description": "Shoplflow 점유율 확인 extension",
6
6
  "permissions": [
7
7
  "storage"
@@ -24,7 +24,7 @@
24
24
  "src/pages/content/index.js"
25
25
  ],
26
26
  "css": [
27
- "assets/css/contentStyle17364068599.chunk.css"
27
+ "assets/css/contentStyle17364837731.chunk.css"
28
28
  ]
29
29
  }
30
30
  ],