@shoplflow/extension 0.0.166 → 0.0.167

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.167
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`821be7180ec1b1a27928a742ee72a283518e9a9f`](https://github.com/shopl/shoplflow/commit/821be7180ec1b1a27928a742ee72a283518e9a9f)]:
8
+ - @shoplflow/base@0.42.20
9
+
3
10
  ## 0.0.166
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.166",
4
+ "version": "0.0.167",
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/contentStyle17628204320.chunk.css"
27
+ "assets/css/contentStyle17628419796.chunk.css"
28
28
  ]
29
29
  }
30
30
  ],
@@ -113,7 +113,7 @@ var Zc=Object.defineProperty;var e3=(e,t,i)=>t in e?Zc(e,t,{enumerable:!0,config
113
113
  ${({wordBreak:e})=>e&&R`
114
114
  word-break: ${e};
115
115
  `};
116
- `,ye=S.exports.forwardRef(({children:e,typography:t="body1_400",whiteSpace:i,color:n="neutral700",display:o="inline-block",textAlign:s="start",textOverflow:a,className:l,as:c,...d},h)=>r(N6,{ref:h,whiteSpace:i,className:l?`${t} ${l}`:t,color:n,display:o,textAlign:s,textOverflow:a,as:c,...d,"data-shoplflow":"Text",children:e})),W6=400,j6=500,$6=560,Js=640,q6=768,X6=1040,Y6=1280,K6=1600,V1=e=>{switch(e){case"XXS":return W6;case"XS":return j6;case"S":return $6;case"M":return Js;case"L":return q6;case"XL":return X6;case"XXL":return Y6;case"XXXL":return K6;default:return Js}},Q6=(e,t)=>t==="FULL"?R`
116
+ `,ye=S.exports.forwardRef(({children:e,typography:t="body1_400",whiteSpace:i,color:n="neutral700",display:o="inline-block",textAlign:s="start",textOverflow:a,className:l,as:c,...d},h)=>r(N6,{ref:h,whiteSpace:i,className:l?`${t} ${l}`:t,color:n,display:o,textAlign:s,textOverflow:a,as:c,...d,"data-shoplflow":"Text",children:e})),W6=400,j6=500,$6=560,Js=640,q6=768,X6=1040,Y6=1280,K6=1600,V1=e=>{switch(e){case"XXS":return W6;case"XS":return j6;case"S":return $6;case"M":return Js;case"L":return q6;case"XL":return X6;case"XXL":return Y6;case"XXXL":return K6;default:return Js}},Q6=(e,t,i)=>t==="FULL"||i?R`
117
117
  padding-top: 0;
118
118
  padding-bottom: 0;
119
119
  `:e?R`
@@ -130,6 +130,9 @@ var Zc=Object.defineProperty;var e3=(e,t,i)=>t in e?Zc(e,t,{enumerable:!0,config
130
130
  border-radius: 0;
131
131
  box-shadow: none;
132
132
  `,Z6=(e,t)=>e>1200?1200-64:e>t?t-64:e-64;L.div`
133
+ transition:
134
+ width 0.3s ease-in-out,
135
+ max-width 0.3s ease-in-out;
133
136
  display: flex;
134
137
  flex-direction: column;
135
138
  border-radius: ${Me.borderRadius08};
@@ -167,7 +170,7 @@ var Zc=Object.defineProperty;var e3=(e,t,i)=>t in e?Zc(e,t,{enumerable:!0,config
167
170
  min-height: ${({minHeight:e})=>e}px;
168
171
  max-height: ${({maxHeight:e})=>e}px;
169
172
  flex: 1;
170
- ${({isIncludeHeader:e,sizeVar:t})=>Q6(e,t)};
173
+ ${({isIncludeHeader:e,sizeVar:t,padding:i})=>Q6(e,t,i)};
171
174
  `;L.div`
172
175
  display: grid;
173
176
  align-self: stretch;
@@ -181,7 +184,7 @@ var Zc=Object.defineProperty;var e3=(e,t,i)=>t in e?Zc(e,t,{enumerable:!0,config
181
184
  flex-direction: column;
182
185
  height: 100%;
183
186
  box-sizing: border-box;
184
- padding: 0 24px;
187
+ padding: ${({padding:e})=>e||"0 24px"};
185
188
  ${({sizeVar:e})=>e==="FULL"&&R`
186
189
  padding: 0;
187
190
  `};
@@ -944,7 +947,7 @@ var Zc=Object.defineProperty;var e3=(e,t,i)=>t in e?Zc(e,t,{enumerable:!0,config
944
947
  display: flex;
945
948
  width: fit-content;
946
949
  height: fit-content;
947
- `,dc=Symbol("SHOPLFLOW_TREE"),xa={initial:"initial",animate:"animate",exit:"exit"},Jz=({children:e,label:t,leftSource:i,rightSource:n,depth:o=0,initialIsOpen:s,isOpen:a,disabled:l=!1,onClick:c,...d})=>{const[h,f]=jt.useState(s!=null?s:!1),u=S.exports.useId(),g=jt.Children.map(e,M=>jt.isValidElement(M)&&M.type[dc]?jt.cloneElement(M,{depth:o+1}):M),m=M=>{M.stopPropagation(),f(_=>!_)},x=M=>{if(!(l||!c))return c(M)},w=i&&jt.cloneElement(i,{disabled:l,onClick:c,...d,...i.props});S.exports.useEffect(()=>{a!==void 0&&f(a)},[a]);const b=!e&&o>0;return p(qz,{hasBackground:h||b,children:[S.exports.createElement(Xz,{disabled:l,depth:o,variants:ln,...xa,layout:!0,key:u,onClick:x,...d},p(Yz,{children:[e&&!b&&r(bn,{styleVar:"GHOST",onClick:m,sizeVar:"XS",children:r(Qz,{animate:{rotate:h?90:0,transition:{duration:.2}},children:r(ui,{iconSource:ac,sizeVar:"XS",color:"neutral400"})})}),b&&r("div",{style:{width:"24px",height:"24px",visibility:"hidden"}}),w&&w,r(lt,{padding:"0 0 0 4px",children:r(ye,{typography:"body1_400",wordBreak:"break-all",color:l?"neutral350":"neutral700",children:t})})]}),r(Kz,{children:n})),r(lo,{mode:"sync",children:h&&e&&r(Ie.div,{layout:!0,...xa,variants:ln,children:g},"children"+String(g))})]})};Jz[dc]=!0;const Zz=L.input`
950
+ `,dc=Symbol("SHOPLFLOW_TREE"),xa={initial:"initial",animate:"animate",exit:"exit"},Jz=({children:e,label:t,leftSource:i,rightSource:n,depth:o=0,initialIsOpen:s,isOpen:a,disabled:l=!1,onClick:c,...d})=>{const[h,f]=jt.useState(s!=null?s:!1),u=S.exports.useId(),g=jt.Children.map(e,M=>jt.isValidElement(M)&&M.type[dc]?jt.cloneElement(M,{depth:o+1}):M),m=M=>{M.stopPropagation(),f(_=>!_)},x=M=>{if(!(l||!c))return c(M)},w=i&&jt.cloneElement(i,{disabled:l,onClick:c,...d,...i.props});S.exports.useEffect(()=>{a!==void 0&&f(a)},[a]);const b=!e&&o>0;return p(qz,{hasBackground:h||b,children:[S.exports.createElement(Xz,{disabled:l,depth:o,variants:ln,...xa,layout:!0,key:u,onClick:x,...d},p(Yz,{children:[e&&!b&&r(bn,{styleVar:"GHOST",onClick:m,sizeVar:"XS",children:r(Qz,{animate:{rotate:h?90:0,transition:{duration:.2}},children:r(ui,{iconSource:ac,sizeVar:"XS",color:"neutral400"})})}),b&&r("div",{style:{width:"24px",height:"24px",visibility:"hidden",flexShrink:0}}),w&&w,r(lt,{padding:"0 0 0 4px",children:r(ye,{typography:"body1_400",wordBreak:"break-all",color:l?"neutral350":"neutral700",children:t})})]}),r(Kz,{children:n})),r(lo,{mode:"sync",children:h&&e&&r(Ie.div,{layout:!0,...xa,variants:ln,children:g},"children"+String(g))})]})};Jz[dc]=!0;const Zz=L.input`
948
951
  padding: 4px 0 4px 12px;
949
952
  background-color: transparent;
950
953
  display: flex;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@shoplflow/extension",
3
- "version": "0.0.166",
3
+ "version": "0.0.167",
4
4
  "license": "MIT",
5
5
  "description": "Shoplflow 점유율 확인 extension",
6
6
  "type": "module",
7
7
  "dependencies": {
8
- "@shoplflow/base": "^0.42.19",
8
+ "@shoplflow/base": "^0.42.20",
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.166",
4
+ "version": "0.0.167",
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/contentStyle17628204320.chunk.css"
27
+ "assets/css/contentStyle17628419796.chunk.css"
28
28
  ]
29
29
  }
30
30
  ],