@shoplflow/extension 0.0.183 → 0.0.185
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,19 @@
|
|
|
1
1
|
# @shoplflow/extension
|
|
2
2
|
|
|
3
|
+
## 0.0.185
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`84156fdbdecb41aef4fd6283ae73567052e39b5e`](https://github.com/shopl/shoplflow/commit/84156fdbdecb41aef4fd6283ae73567052e39b5e)]:
|
|
8
|
+
- @shoplflow/base@0.45.10
|
|
9
|
+
|
|
10
|
+
## 0.0.184
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`97d2126df3038b7539ced0397adc81449e1743ae`](https://github.com/shopl/shoplflow/commit/97d2126df3038b7539ced0397adc81449e1743ae)]:
|
|
15
|
+
- @shoplflow/base@0.45.9
|
|
16
|
+
|
|
3
17
|
## 0.0.183
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest_version": 3,
|
|
3
3
|
"name": "@shoplflow/extension",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.185",
|
|
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/
|
|
27
|
+
"assets/css/contentStyle17659510910.chunk.css"
|
|
28
28
|
]
|
|
29
29
|
}
|
|
30
30
|
],
|
|
@@ -1020,7 +1020,7 @@ var Zc=Object.defineProperty;var e3=(e,t,n)=>t in e?Zc(e,t,{enumerable:!0,config
|
|
|
1020
1020
|
background-color: ${y.neutral100};
|
|
1021
1021
|
cursor: not-allowed;
|
|
1022
1022
|
`};
|
|
1023
|
-
`,NF=(e,t,n)=>t&&e<t?String(t):n&&e>n?String(n):String(e);S.exports.forwardRef(({onFocus:e,onBlur:t,onChange:n,onClear:r,defaultValue:o,value:a,isError:s,disabled:l,type:c,maxLength:d,min:h,max:f,className:p,width:g,borderRadius:m,customNumberInputHeight:x,onKeyDown:w,sizeVar:b="M",rightSource:M,minWidth:_,gap:I,initIsFocused:C,...D},k)=>{const[V,O]=S.exports.useState(""),[U,W]=S.exports.useState(Boolean(C)),[P,G]=S.exports.useState(c),[T,z]=S.exports.useState(!1),E=S.exports.useId(),F=jt.useRef(null),H=yo(k,F),A=S.exports.useCallback(X=>typeof X!="number"?typeof X=="string"?X:X.join(""):String(X),[]),N=S.exports.useCallback(X=>d&&X.length>d?X.slice(0,d):X,[d]),j=()=>{z(!0)},K=()=>{z(!1)},ge=X=>{e&&e(X),W(!0)},ie=X=>{t&&t(X),!T&&W(!1)},ve=X=>{X.code==="Tab"&&W(!1),w&&w(X)},te=X=>{n&&n(X);const me=N(X.target.value);if(P==="number"){const Xe=Number(me),Ye=Number(h),S0=Number(f),_0=NF(Xe,Ye,S0);O(_0);return}O(me)},Ae=()=>{r&&r(),F.current&&(O(""),F.current.value="")},Ge=()=>{G(P==="password"?"text":"password")};S.exports.useEffect(()=>{if(o!==void 0){const X=A(o),me=N(X);O(me)}},[A,o,d,N]),S.exports.useEffect(()=>{var X;if(a!==void 0){const me=A(a),Xe=N(me);(X=F.current)!=null&&X.value&&(F.current.value=Xe),O(Xe)}},[A,d,N,a]),S.exports.useEffect(()=>{G(c)},[c]);const Re=b==="M"?"40px":"32px";return S.exports.useEffect(()=>{typeof C>"u"||W(C)},[C]),u(So,{htmlFor:E,isFocused:U,disabled:l,isError:s,isHovered:T,onMouseEnter:j,onMouseLeave:K,type:P,width:g,height:Re,maxHeight:Re,"data-shoplflow":"input",borderRadius:m,customNumberInputHeight:x,gap:I,sizeVar:b,children:[i(gC,{onFocus:ge,onBlur:ie,onChange:te,onKeyDown:ve,maxLength:d,disabled:l,value:V,type:P,id:E,ref:H,minWidth:_,sizeVar:b,className:"body1_400"+(p?` ${p}`:""),...D}),P!=="number"&&u(vC,{children:[d&&U&&i(hc,{currentLength:String(V).length,maxLength:d}),U&&Boolean(String(V).length>0)&&i(bn,{sizeVar:"S",onClick:Ae,styleVar:"GHOST",children:i(u1,{iconSource:Mr("DeleteIcon"),color:"neutral350"})}),c==="password"&&i(bn,{sizeVar:"S",onClick:Ge,styleVar:"GHOST",children:i(u1,{color:"neutral600",iconSource:Mr(P==="password"?"ViewOffIcon":"ViewOnIcon")})})]}),M&&M]})});const jF=L.div`
|
|
1023
|
+
`,NF=(e,t,n)=>t&&e<t?String(t):n&&e>n?String(n):String(e);S.exports.forwardRef(({onFocus:e,onBlur:t,onChange:n,onClear:r,defaultValue:o,value:a,isError:s,disabled:l,type:c,maxLength:d,min:h,max:f,className:p,width:g,borderRadius:m,customNumberInputHeight:x,onKeyDown:w,sizeVar:b="M",rightSource:M,minWidth:_,gap:I,initIsFocused:C,...D},k)=>{const[V,O]=S.exports.useState(""),[U,W]=S.exports.useState(Boolean(C)),[P,G]=S.exports.useState(c),[T,z]=S.exports.useState(!1),E=S.exports.useId(),F=jt.useRef(null),H=yo(k,F),A=S.exports.useCallback(X=>typeof X!="number"?typeof X=="string"?X:X.join(""):String(X),[]),N=S.exports.useCallback(X=>d&&X.length>d?X.slice(0,d):X,[d]),j=()=>{z(!0)},K=()=>{z(!1)},ge=X=>{e&&e(X),W(!0)},ie=X=>{t&&t(X),!T&&W(!1)},ve=X=>{X.code==="Tab"&&W(!1),w&&w(X)},te=X=>{n&&n(X);const me=N(X.target.value);if(P==="number"){const Xe=Number(me),Ye=Number(h),S0=Number(f),_0=NF(Xe,Ye,S0);O(_0);return}O(me)},Ae=()=>{r&&r(),F.current&&(O(""),F.current.value="")},Ge=()=>{G(P==="password"?"text":"password")};S.exports.useEffect(()=>{if(o!==void 0){const X=A(o),me=N(X);O(me)}},[A,o,d,N]),S.exports.useEffect(()=>{var X;if(a!==void 0){const me=A(a),Xe=N(me);(X=F.current)!=null&&X.value&&(F.current.value=Xe),O(Xe)}},[A,d,N,a]),S.exports.useEffect(()=>{G(c)},[c]);const Re=b==="M"?"40px":"32px";return S.exports.useEffect(()=>{typeof C>"u"||W(C)},[C]),u(So,{htmlFor:E,isFocused:U,disabled:l,isError:s,isHovered:T,onMouseEnter:j,onMouseLeave:K,type:P,width:g,height:Re,maxHeight:Re,"data-shoplflow":"input",borderRadius:m,customNumberInputHeight:x,gap:I,sizeVar:b,children:[i(gC,{onFocus:ge,onBlur:ie,onChange:te,onKeyDown:ve,maxLength:d,disabled:l,value:V,type:P,id:E,ref:H,minWidth:_,sizeVar:b,className:"body1_400"+(p?` ${p}`:""),...D}),P!=="number"&&u(vC,{children:[d&&U&&i(hc,{currentLength:String(V).length,maxLength:d}),r&&U&&Boolean(String(V).length>0)&&i(bn,{sizeVar:"S",onClick:Ae,styleVar:"GHOST",children:i(u1,{iconSource:Mr("DeleteIcon"),color:"neutral350"})}),c==="password"&&i(bn,{sizeVar:"S",onClick:Ge,styleVar:"GHOST",children:i(u1,{color:"neutral600",iconSource:Mr(P==="password"?"ViewOffIcon":"ViewOnIcon")})})]}),M&&M]})});const jF=L.div`
|
|
1024
1024
|
display: flex;
|
|
1025
1025
|
flex-direction: row;
|
|
1026
1026
|
align-items: center;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shoplflow/extension",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.185",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Shoplflow 점유율 확인 extension",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@shoplflow/base": "^0.45.
|
|
8
|
+
"@shoplflow/base": "^0.45.10",
|
|
9
9
|
"chart.js": "^4.4.0",
|
|
10
10
|
"construct-style-sheets-polyfill": "^3.1.0",
|
|
11
11
|
"react": "18.2.0",
|
package/public/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest_version": 3,
|
|
3
3
|
"name": "@shoplflow/extension",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.185",
|
|
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/
|
|
27
|
+
"assets/css/contentStyle17659510910.chunk.css"
|
|
28
28
|
]
|
|
29
29
|
}
|
|
30
30
|
],
|
/package/dist/assets/css/{contentStyle17657765195.chunk.css → contentStyle17659510910.chunk.css}
RENAMED
|
File without changes
|