@necto-react/components 1.4.7 → 1.4.9
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/index.cjs +170 -170
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +171 -171
- package/dist/index.js.map +1 -1
- package/package.json +15 -15
- package/LICENSE +0 -21
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _e from"clsx";import{forwardRef as Z}from"react";import{DOM as be}from"@necto/constants";import{Children as ge,forwardRef as X,isValidElement as Be,cloneElement as Oe}from"react";import{HTMLElements as ue}from"@necto/dom";var V=ue.Div,z="Primitive";import{jsx as ye}from"@emotion/react/jsx-runtime";var K=({as:t,asChild:o,children:r,...i},s)=>{let n=t??V;if(o){let e=ge.only(r);return Be(e)?Oe(e,{...i,ref:e.ref??s}):null}return ye(n,{ref:s,...i,children:r})},Re=()=>be.HTML_TAGS.reduce((t,o)=>{let r=o,i=o[0].toUpperCase()+o.slice(1),s=X((n,e)=>K({...n,as:o},e));return t[r]=s,t[i]=s,t},{}),_,he=X(K),f=new Proxy(he,{get(t,o,r){return _||(_=Re()),typeof o=="string"&&o in _?_[o]:Reflect.get(t,o,r)}});f.displayName=z;var W=!1;function ve(){if(!(W||typeof document>"u")){W=!0;var t=document.createElement("style");t.setAttribute("data-necto",""),t.textContent=`/**
|
|
2
2
|
* Copyright (c) Corinvo, LLC. and affiliates.
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
@@ -35,7 +35,7 @@ import he from"clsx";import{forwardRef as Y}from"react";import{DOM as me}from"@n
|
|
|
35
35
|
padding-inline-end: var(--necto-box-padding-inline-end);
|
|
36
36
|
opacity: var(--necto-box-opacity);
|
|
37
37
|
z-index: var(--necto-box-z-index);
|
|
38
|
-
}`,document.head.appendChild(t)}
|
|
38
|
+
}`,document.head.appendChild(t)}}var Ee={Box:"_Box_buohy_8"},Y=new Proxy(Ee,{get:function(t,o){return ve(),t[o]}});import{jsx as we}from"@emotion/react/jsx-runtime";var xe="Box",x=t=>t!=null?`${t}px`:void 0,q=(t,o)=>{let{as:r,asChild:i,children:s,background:n,borderColor:e,borderStyle:a,borderWidth:l,borderBlockStartWidth:c,borderBlockEndWidth:p,borderInlineStartWidth:m,borderInlineEndWidth:O,borderRadius:g,borderEndStartRadius:y,borderEndEndRadius:u,borderStartStartRadius:v,borderStartEndRadius:P,color:H,minHeight:te,minWidth:oe,maxWidth:ee,width:re,overflowX:ne,overflowY:ie,padding:E,paddingBlock:M,paddingBlockStart:se,paddingBlockEnd:ae,paddingInline:I,paddingInlineStart:ce,paddingInlineEnd:le,shadow:N,outlineColor:L,outlineStyle:G,outlineWidth:S,opacity:de,zIndex:pe,className:fe,...me}=t,D=a||(e||l||c||p||m||O?"solid":void 0),U=G||(L||S?"solid":void 0);return we(f,{as:r,ref:o,...me,className:_e(Y.Box,`_necto:${xe}`,fe),style:{...n&&{backgroundColor:n},...e&&{borderColor:e},...D&&{borderStyle:D},...H&&{color:H},...N&&{boxShadow:N},...L&&{outlineColor:L},...U&&{outlineStyle:U},...S&&{outlineWidth:S},...l&&{"--necto-box-border-width":l},...c&&{"--necto-box-border-block-start-width":c},...p&&{"--necto-box-border-block-end-width":p},...m&&{"--necto-box-border-inline-start-width":m},...O&&{"--necto-box-border-inline-end-width":O},...g&&{"--necto-box-border-radius":g},...y&&{"--necto-box-border-end-start-radius":y},...u&&{"--necto-box-border-end-end-radius":u},...v&&{"--necto-box-border-start-start-radius":v},...P&&{"--necto-box-border-start-end-radius":P},"--necto-box-min-height":te,"--necto-box-min-width":oe,"--necto-box-max-width":ee,"--necto-box-width":re,"--necto-box-overflow-x":ne,"--necto-box-overflow-y":ie,"--necto-box-padding-block-start":x(se??M??E),"--necto-box-padding-block-end":x(ae??M??E),"--necto-box-padding-inline-start":x(ce??I??E),"--necto-box-padding-inline-end":x(le??I??E),"--necto-box-opacity":de,"--necto-box-z-index":pe},children:s})},Ce=Object.assign(Z(q),{Root:Z(q)});import Se from"clsx";import{forwardRef as j}from"react";var J=!1;function Te(){if(!(J||typeof document>"u")){J=!0;var t=document.createElement("style");t.setAttribute("data-necto",""),t.textContent=`/**
|
|
39
39
|
* Copyright (c) Corinvo, LLC. and affiliates.
|
|
40
40
|
*
|
|
41
41
|
* This source code is licensed under the MIT license found in the
|
|
@@ -61,11 +61,11 @@ import he from"clsx";import{forwardRef as Y}from"react";import{DOM as me}from"@n
|
|
|
61
61
|
mix-blend-mode: luminosity;
|
|
62
62
|
border-radius: inherit;
|
|
63
63
|
box-shadow: 1px 0 0 0 rgba(0, 0, 0, 0.13) inset, -1px 0 0 0 rgba(0, 0, 0, 0.13) inset, 0 -1px 0 0 rgba(0, 0, 0, 0.17) inset, 0 1px 0 0 rgba(204, 204, 204, 0.5) inset;
|
|
64
|
-
}`,document.head.appendChild(t)}
|
|
64
|
+
}`,document.head.appendChild(t)}}var Le={ShadowBevel:"_ShadowBevel_3ih3b_8"},Q=new Proxy(Le,{get:function(t,o){return Te(),t[o]}});var k="ShadowBevel";import{jsx as ke}from"@emotion/react/jsx-runtime";var tt=(t,o)=>{let{as:r,asChild:i,children:s,boxShadow:n,borderRadius:e,zIndex:a=0,bevel:l=!0,className:c,style:p,...m}=t;return ke(f,{as:r,ref:o,...m,className:Se(c,Q.ShadowBevel,`_necto:${k}`),style:{...p,"--necto-shadow-bevel-z-index":a,"--necto-shadow-bevel-content":l?'""':"none","--necto-shadow-bevel-box-shadow":typeof n=="number"?`var(--necto-shadow-${n})`:n??"none","--necto-shadow-bevel-border-radius":typeof e=="number"?`${e}px`:e??"0"},children:s})},ot=Object.assign(j(tt),{Root:j(tt)});ot.displayName=k;import{useFocusWithin as $e}from"@necto-react/hooks";import{forwardRef as rt,useMemo as Ae,useState as Fe}from"react";var et="VisuallyHidden";import{jsx as Pe}from"@emotion/react/jsx-runtime";var nt=(t,o)=>{let{as:r,style:i,children:s,isFocusable:n,...e}=t,[a,l]=Fe(!1),{focusWithinProps:c}=$e({isDisabled:!n,onFocusWithinChange:l}),p=Ae(()=>{if(a)return i;let m={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};return i?{...m,...i}:m},[a,i]);return Pe(f,{as:r,ref:o,...e,...c,style:p,children:s})},it=Object.assign(rt(nt),{Root:rt(nt)});it.displayName=et;import Ke from"clsx";import{forwardRef as We}from"react";import Ye from"@emotion/styled";import{FaApple as Ze}from"react-icons/fa";import{css as st}from"@emotion/react";import{HTMLElements as De}from"@necto/dom";import{Fragment as He}from"react";import{jsx as Me}from"@emotion/react/jsx-runtime";var $=t=>{let{children:o}=t;return Me(He,{children:typeof o=="function"?o():o})};import{Fragment as Ie,Children as Ne}from"react";import{jsx as Ge}from"@emotion/react/jsx-runtime";var C=t=>{let{condition:o,keepAlive:r,children:i}=t;if(!i)return null;let s=!!(typeof o=="function"?o():o);return Ge(Ie,{children:Ne.toArray(i).find(n=>n.type!==$!=!s)||null})};import{forwardRef as Ue,Fragment as Ve}from"react";import{jsx as w,jsxs as Xe}from"@emotion/react/jsx-runtime";var ze=De.Button,d=Ue(function({as:o=ze,asChild:r=!1,children:i,icon:s,showIcon:n=!0,iconPosition:e="left",disabled:a,className:l,...c},p){let O=(o?.toLowerCase?.()??"")==="button"?{disabled:a}:{role:"button",tabIndex:a?-1:0,"aria-disabled":!!a,onKeyDown:u=>{a||(u.key==="Enter"||u.key===" ")&&(c.onClick?.(u),u.preventDefault())}},g=s?w("span",{className:"_necto:BrandIcon",css:st`
|
|
65
65
|
flex-shrink: 0;
|
|
66
66
|
line-height: 0;
|
|
67
67
|
display: inline-flex;
|
|
68
|
-
`,children:s}):null,y=
|
|
68
|
+
`,children:s}):null,y=st`
|
|
69
69
|
display: inline-flex;
|
|
70
70
|
align-items: center;
|
|
71
71
|
justify-content: center;
|
|
@@ -89,320 +89,320 @@ import he from"clsx";import{forwardRef as Y}from"react";import{DOM as me}from"@n
|
|
|
89
89
|
cursor: not-allowed;
|
|
90
90
|
pointer-events: none;
|
|
91
91
|
`}
|
|
92
|
-
`;return w(f,{as:o,ref:p,asChild:r,className:l,css:y,...O,...(()=>{let{css:u,...v}=c;return v})(),children:
|
|
92
|
+
`;return w(f,{as:o,ref:p,asChild:r,className:l,css:y,...O,...(()=>{let{css:u,...v}=c;return v})(),children:Xe(Ve,{children:[w(C,{condition:!!g&&n&&e==="left",children:g}),i,w(C,{condition:!!g&&n&&e==="right",children:g})]})})});import{jsx as ct}from"@emotion/react/jsx-runtime";var lt="AppleButton",at="#000000",qe="#1a1a1a",Je="#333333",Qe="#ffffff",je="rgba(0, 0, 0, 0.3)",tr=Ye(d)`
|
|
93
93
|
padding: 0 18px;
|
|
94
|
-
background-color: var(--necto-apple-bg, ${
|
|
95
|
-
color: var(--necto-apple-text, ${
|
|
94
|
+
background-color: var(--necto-apple-bg, ${at});
|
|
95
|
+
color: var(--necto-apple-text, ${Qe});
|
|
96
96
|
border: none;
|
|
97
97
|
font-weight: 400;
|
|
98
98
|
font-family: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
99
99
|
|
|
100
100
|
&:hover {
|
|
101
|
-
background-color: var(--necto-apple-bg-hover, ${
|
|
101
|
+
background-color: var(--necto-apple-bg-hover, ${qe});
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
&:active {
|
|
105
|
-
background-color: var(--necto-apple-bg-active, ${
|
|
105
|
+
background-color: var(--necto-apple-bg-active, ${Je});
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
&:focus-visible {
|
|
109
|
-
box-shadow: 0 0 0 3px var(--necto-apple-focus-shadow, ${
|
|
109
|
+
box-shadow: 0 0 0 3px var(--necto-apple-focus-shadow, ${je});
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
${t=>t.$disabled&&`
|
|
113
113
|
&:hover,
|
|
114
114
|
&:active {
|
|
115
|
-
background-color: var(--necto-apple-bg, ${
|
|
115
|
+
background-color: var(--necto-apple-bg, ${at});
|
|
116
116
|
}
|
|
117
117
|
`}
|
|
118
|
-
`,
|
|
118
|
+
`,dt=We(({as:t,asChild:o,children:r="Continue with Apple",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>ct(tr,{as:t,ref:c,asChild:o,icon:ct(Ze,{size:n}),showIcon:s,disabled:e,$disabled:e,iconPosition:i,className:Ke(`_necto:${lt}`,a),...l,children:r}));dt.displayName=lt;import or from"clsx";import{forwardRef as er}from"react";import rr from"@emotion/styled";import{FaAtlassian as nr}from"react-icons/fa";import{jsx as ft}from"@emotion/react/jsx-runtime";var mt="AtlassianButton",pt="#0052cc",ir="#0747a6",sr="#003d99",ar="#ffffff",cr="rgba(0, 82, 204, 0.3)",lr=rr(d)`
|
|
119
119
|
padding: 0 18px;
|
|
120
|
-
background-color: var(--necto-atlassian-bg, ${
|
|
121
|
-
color: var(--necto-atlassian-text, ${
|
|
120
|
+
background-color: var(--necto-atlassian-bg, ${pt});
|
|
121
|
+
color: var(--necto-atlassian-text, ${ar});
|
|
122
122
|
border: none;
|
|
123
123
|
font-weight: 500;
|
|
124
124
|
font-family: system-ui, -apple-system, sans-serif;
|
|
125
125
|
|
|
126
126
|
&:hover {
|
|
127
|
-
background-color: var(--necto-atlassian-bg-hover, ${
|
|
127
|
+
background-color: var(--necto-atlassian-bg-hover, ${ir});
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
&:active {
|
|
131
|
-
background-color: var(--necto-atlassian-bg-active, ${
|
|
131
|
+
background-color: var(--necto-atlassian-bg-active, ${sr});
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
&:focus-visible {
|
|
135
|
-
box-shadow: 0 0 0 3px var(--necto-atlassian-focus-shadow, ${
|
|
135
|
+
box-shadow: 0 0 0 3px var(--necto-atlassian-focus-shadow, ${cr});
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
${t=>t.$disabled&&`
|
|
139
139
|
&:hover,
|
|
140
140
|
&:active {
|
|
141
|
-
background-color: var(--necto-atlassian-bg, ${
|
|
141
|
+
background-color: var(--necto-atlassian-bg, ${pt});
|
|
142
142
|
}
|
|
143
143
|
`}
|
|
144
|
-
`,
|
|
144
|
+
`,ut=er(({as:t,asChild:o,children:r="Continue with Atlassian",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>ft(lr,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,iconPosition:i,icon:ft(nr,{size:n}),className:or(`_necto:${mt}`,a),...l,children:r}));ut.displayName=mt;import dr from"clsx";import{forwardRef as pr}from"react";import fr from"@emotion/styled";import{jsx as B,jsxs as bt}from"@emotion/react/jsx-runtime";var gt=({size:t})=>bt("svg",{width:t,height:t,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[B("title",{children:"Bitbucket"}),B("path",{d:"M58.8295 28.5831H43.8317L41.332 43.3331H30.9168L18.6685 57.9163C18.6685 57.9163 19.2517 58.4163 20.0849 58.4163H52.7472C53.4971 58.4163 54.1637 57.8331 54.3303 57.083L58.8295 28.5831Z",fill:"url(#paint0_linear_5907_10188)"}),B("path",{d:"M12.5863 13.5C11.5864 13.5 10.8366 14.4167 11.0033 15.3333L17.7524 56.6666C17.8357 57.1667 18.0857 57.6667 18.5023 58C18.5023 58 19.0855 58.5 19.9187 58.5L32.5838 43.3334H30.834L28.0843 28.5834H43.8323H58.8304L60.9967 15.3333C61.1635 14.3333 60.4135 13.5 59.4136 13.5H12.5863Z",fill:"white",style:{fill:"white",fillOpacity:1}}),B("defs",{children:bt("linearGradient",{id:"paint0_linear_5907_10188",x1:"60.8078",y1:"35.1603",x2:"37.2868",y2:"51.0791",gradientUnits:"userSpaceOnUse",children:[B("stop",{offset:"0.0718327","stop-color":"white","stop-opacity":"0.4",style:{stopColor:"white",stopOpacity:.4}}),B("stop",{offset:"1","stop-color":"white",style:{stopColor:"white",stopOpacity:1}})]})})]});import{jsx as Ot}from"@emotion/react/jsx-runtime";var Rt="BitbucketButton",Bt="#0052cc",mr="#0747a6",ur="#003d99",br="#ffffff",gr="rgba(0, 82, 204, 0.3)",Br=fr(d)`
|
|
145
145
|
padding: 0 18px;
|
|
146
|
-
background-color: var(--necto-bitbucket-bg, ${
|
|
147
|
-
color: var(--necto-bitbucket-text, ${
|
|
146
|
+
background-color: var(--necto-bitbucket-bg, ${Bt});
|
|
147
|
+
color: var(--necto-bitbucket-text, ${br});
|
|
148
148
|
border: none;
|
|
149
149
|
font-weight: 500;
|
|
150
150
|
font-family: system-ui, -apple-system, sans-serif;
|
|
151
151
|
|
|
152
152
|
&:hover {
|
|
153
|
-
background-color: var(--necto-bitbucket-bg-hover, ${
|
|
153
|
+
background-color: var(--necto-bitbucket-bg-hover, ${mr});
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
&:active {
|
|
157
|
-
background-color: var(--necto-bitbucket-bg-active, ${
|
|
157
|
+
background-color: var(--necto-bitbucket-bg-active, ${ur});
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
&:focus-visible {
|
|
161
|
-
box-shadow: 0 0 0 3px var(--necto-bitbucket-focus-shadow, ${
|
|
161
|
+
box-shadow: 0 0 0 3px var(--necto-bitbucket-focus-shadow, ${gr});
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
${t=>t.$disabled&&`
|
|
165
165
|
&:hover,
|
|
166
166
|
&:active {
|
|
167
|
-
background-color: var(--necto-bitbucket-bg, ${
|
|
167
|
+
background-color: var(--necto-bitbucket-bg, ${Bt});
|
|
168
168
|
}
|
|
169
169
|
`}
|
|
170
|
-
`,
|
|
170
|
+
`,ht=pr(({as:t,asChild:o,children:r="Continue with Bitbucket",iconPosition:i="left",showIcon:s=!0,iconSize:n=22,disabled:e,className:a,...l},c)=>Ot(Br,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,iconPosition:i,icon:Ot(gt,{size:n}),className:dr(`_necto:${Rt}`,a),...l,children:r}));ht.displayName=Rt;import Or from"clsx";import{forwardRef as Rr}from"react";import hr from"@emotion/styled";import{FaDiscord as yr}from"react-icons/fa";import{jsx as vt}from"@emotion/react/jsx-runtime";var Et="DiscordButton",yt="#5865f2",vr="#4752d9",Er="#3c45c0",_r="#ffffff",xr="rgba(88, 101, 242, 0.3)",Cr=hr(d)`
|
|
171
171
|
padding: 0 18px;
|
|
172
|
-
background-color: var(--necto-discord-bg, ${
|
|
173
|
-
color: var(--necto-discord-text, ${
|
|
172
|
+
background-color: var(--necto-discord-bg, ${yt});
|
|
173
|
+
color: var(--necto-discord-text, ${_r});
|
|
174
174
|
border: none;
|
|
175
175
|
font-weight: 500;
|
|
176
176
|
font-family: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
177
177
|
|
|
178
178
|
&:hover {
|
|
179
|
-
background-color: var(--necto-discord-bg-hover, ${
|
|
179
|
+
background-color: var(--necto-discord-bg-hover, ${vr});
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
&:active {
|
|
183
|
-
background-color: var(--necto-discord-bg-active, ${
|
|
183
|
+
background-color: var(--necto-discord-bg-active, ${Er});
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
&:focus-visible {
|
|
187
|
-
box-shadow: 0 0 0 3px var(--necto-discord-focus-shadow, ${
|
|
187
|
+
box-shadow: 0 0 0 3px var(--necto-discord-focus-shadow, ${xr});
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
${t=>t.$disabled&&`
|
|
191
191
|
&:hover,
|
|
192
192
|
&:active {
|
|
193
|
-
background-color: var(--necto-discord-bg, ${
|
|
193
|
+
background-color: var(--necto-discord-bg, ${yt});
|
|
194
194
|
}
|
|
195
195
|
`}
|
|
196
|
-
`,
|
|
196
|
+
`,_t=Rr(({as:t,asChild:o,children:r="Continue with Discord",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>vt(Cr,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,iconPosition:i,icon:vt(yr,{size:n}),className:Or(`_necto:${Et}`,a),...l,children:r}));_t.displayName=Et;import wr from"clsx";import{forwardRef as Tr}from"react";import Lr from"@emotion/styled";import{FaDropbox as Sr}from"react-icons/fa";import{jsx as Ct}from"@emotion/react/jsx-runtime";var wt="DropboxButton",xt="#0061ff",kr="#0056e0",$r="#004bc5",Ar="#ffffff",Fr="rgba(0, 97, 255, 0.3)",Pr=Lr(d)`
|
|
197
197
|
padding: 0 18px;
|
|
198
|
-
background-color: var(--necto-dropbox-bg, ${
|
|
199
|
-
color: var(--necto-dropbox-text, ${
|
|
198
|
+
background-color: var(--necto-dropbox-bg, ${xt});
|
|
199
|
+
color: var(--necto-dropbox-text, ${Ar});
|
|
200
200
|
border: none;
|
|
201
201
|
font-weight: 500;
|
|
202
202
|
font-family: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
203
203
|
|
|
204
204
|
&:hover {
|
|
205
|
-
background-color: var(--necto-dropbox-bg-hover, ${
|
|
205
|
+
background-color: var(--necto-dropbox-bg-hover, ${kr});
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
&:active {
|
|
209
|
-
background-color: var(--necto-dropbox-bg-active, ${
|
|
209
|
+
background-color: var(--necto-dropbox-bg-active, ${$r});
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
&:focus-visible {
|
|
213
|
-
box-shadow: 0 0 0 3px var(--necto-dropbox-focus-shadow, ${
|
|
213
|
+
box-shadow: 0 0 0 3px var(--necto-dropbox-focus-shadow, ${Fr});
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
${t=>t.$disabled&&`
|
|
217
217
|
&:hover,
|
|
218
218
|
&:active {
|
|
219
|
-
background-color: var(--necto-dropbox-bg, ${
|
|
219
|
+
background-color: var(--necto-dropbox-bg, ${xt});
|
|
220
220
|
}
|
|
221
221
|
`}
|
|
222
|
-
`,
|
|
222
|
+
`,Tt=Tr(({as:t,asChild:o,children:r="Continue with Dropbox",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>Ct(Pr,{as:t,ref:c,asChild:o,icon:Ct(Sr,{size:n}),showIcon:s,disabled:e,$disabled:e,iconPosition:i,className:wr(`_necto:${wt}`,a),...l,children:r}));Tt.displayName=wt;import Hr from"clsx";import{forwardRef as Mr}from"react";import Ir from"@emotion/styled";import{FaFacebook as Nr}from"react-icons/fa6";import{jsx as St}from"@emotion/react/jsx-runtime";var kt="FacebookButton",Lt="#1877f2",Gr="#166fe5",Dr="#1467d6",Ur="#ffffff",Vr="#1877f2",zr="rgba(24, 119, 242, 0.3)",Xr=Ir(d)`
|
|
223
223
|
padding: 0 18px;
|
|
224
|
-
background-color: var(--necto-facebook-bg, ${
|
|
225
|
-
color: var(--necto-facebook-text, ${
|
|
226
|
-
border: 1px solid var(--necto-facebook-border, ${
|
|
224
|
+
background-color: var(--necto-facebook-bg, ${Lt});
|
|
225
|
+
color: var(--necto-facebook-text, ${Ur});
|
|
226
|
+
border: 1px solid var(--necto-facebook-border, ${Vr});
|
|
227
227
|
font-weight: 500;
|
|
228
228
|
font-family: system-ui, -apple-system, sans-serif;
|
|
229
229
|
|
|
230
230
|
&:hover {
|
|
231
|
-
background-color: var(--necto-facebook-bg-hover, ${
|
|
231
|
+
background-color: var(--necto-facebook-bg-hover, ${Gr});
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
&:active {
|
|
235
|
-
background-color: var(--necto-facebook-bg-active, ${
|
|
235
|
+
background-color: var(--necto-facebook-bg-active, ${Dr});
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
&:focus-visible {
|
|
239
|
-
box-shadow: 0 0 0 3px var(--necto-facebook-focus-shadow, ${
|
|
239
|
+
box-shadow: 0 0 0 3px var(--necto-facebook-focus-shadow, ${zr});
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
${t=>t.$disabled&&`
|
|
243
243
|
&:hover,
|
|
244
244
|
&:active {
|
|
245
|
-
background-color: var(--necto-facebook-bg, ${
|
|
245
|
+
background-color: var(--necto-facebook-bg, ${Lt});
|
|
246
246
|
}
|
|
247
247
|
`}
|
|
248
|
-
|
|
248
|
+
`,$t=Mr(({as:t,asChild:o,children:r="Continue with Facebook",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>St(Xr,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,iconPosition:i,icon:St(Nr,{size:n}),className:Hr(`_necto:${kt}`,a),...l,children:r}));$t.displayName=kt;import Kr from"clsx";import{forwardRef as Wr}from"react";import Yr from"@emotion/styled";import{FaGithub as Zr}from"react-icons/fa";import{jsx as Ft}from"@emotion/react/jsx-runtime";var Pt="GitHubButton",At="#24292f",qr="#2c3237",Jr="#373e47",Qr="#ffffff",jr="#24292f",tn="rgba(36, 41, 47, 0.3)",on=Yr(d)`
|
|
249
249
|
padding: 0 18px;
|
|
250
|
-
background-color: var(--necto-github-bg, ${
|
|
251
|
-
color: var(--necto-github-text, ${
|
|
252
|
-
border: 1px solid var(--necto-github-border, ${
|
|
250
|
+
background-color: var(--necto-github-bg, ${At});
|
|
251
|
+
color: var(--necto-github-text, ${Qr});
|
|
252
|
+
border: 1px solid var(--necto-github-border, ${jr});
|
|
253
253
|
font-weight: 500;
|
|
254
254
|
font-family: system-ui, -apple-system, sans-serif;
|
|
255
255
|
|
|
256
256
|
&:hover {
|
|
257
|
-
background-color: var(--necto-github-bg-hover, ${
|
|
257
|
+
background-color: var(--necto-github-bg-hover, ${qr});
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
&:active {
|
|
261
|
-
background-color: var(--necto-github-bg-active, ${
|
|
261
|
+
background-color: var(--necto-github-bg-active, ${Jr});
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
&:focus-visible {
|
|
265
|
-
box-shadow: 0 0 0 3px var(--necto-github-focus-shadow, ${
|
|
265
|
+
box-shadow: 0 0 0 3px var(--necto-github-focus-shadow, ${tn});
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
${t=>t.$disabled&&`
|
|
269
269
|
&:hover,
|
|
270
270
|
&:active {
|
|
271
|
-
background-color: var(--necto-github-bg, ${
|
|
271
|
+
background-color: var(--necto-github-bg, ${At});
|
|
272
272
|
}
|
|
273
273
|
`}
|
|
274
|
-
`,
|
|
274
|
+
`,Ht=Wr(({as:t,asChild:o,children:r="Continue with GitHub",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>Ft(on,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,iconPosition:i,icon:Ft(Zr,{size:n}),className:Kr(`_necto:${Pt}`,a),...l,children:r}));Ht.displayName=Pt;import rn from"clsx";import{forwardRef as nn}from"react";import sn from"@emotion/styled";import{jsx as R,jsxs as en}from"@emotion/react/jsx-runtime";var Mt=({size:t,color:o})=>{let r=o==null;return en("svg",{width:t,height:t,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:[R("title",{children:"GitLab Icon"}),R("path",{fill:r?"#E24329":o??void 0,d:"M29.5 13.2v-.1l-3.8-9.9c-.1-.2-.2-.4-.4-.5c-.4-.2-.8-.2-1.2.1c-.1.1-.3.2-.3.4l-2.6 7.9H10.8L8.2 3.2c0-.2-.2-.3-.3-.5c-.4-.2-.8-.3-1.2 0c-.2.1-.3.2-.4.4L2.5 13v.1c-1.1 2.9-.2 6.3 2.3 8.2l5.8 4.3l2.9 2.2l1.7 1.3c.4.3 1 .3 1.4 0l1.7-1.3l2.9-2.2l5.8-4.4c2.7-1.7 3.7-5.1 2.5-8"}),R("path",{fill:r?"#FC6D26":o??void 0,d:"M29.5 13.2v-.1c-1.9.4-3.6 1.2-5.1 2.3L16 21.7c2.9 2.2 5.3 4 5.3 4l5.8-4.4c2.6-1.8 3.6-5.2 2.4-8.1"}),R("path",{fill:r?"#FCA326":o??void 0,d:"m10.7 25.8l2.9 2.2l1.7 1.3c.4.3 1 .3 1.4 0l1.7-1.3l2.9-2.2s-2.5-1.9-5.3-4c-2.9 2.1-5.3 4-5.3 4"}),R("path",{fill:r?"#FC6D26":o??void 0,d:"M7.6 15.4c-1.5-1.1-3.3-1.9-5.1-2.3v.1c-1.1 2.9-.2 6.3 2.3 8.2l5.8 4.3s2.5-1.9 5.3-4z"})]})};import{jsx as Nt}from"@emotion/react/jsx-runtime";var Gt="GitLabButton",It="#fc6d26",an="#e24329",cn="#c73b1c",ln="#ffffff",dn="rgba(252, 109, 38, 0.3)",pn=sn(d)`
|
|
275
275
|
padding: 0 18px;
|
|
276
|
-
background-color: var(--necto-gitlab-bg, ${
|
|
277
|
-
color: var(--necto-gitlab-text, ${
|
|
276
|
+
background-color: var(--necto-gitlab-bg, ${It});
|
|
277
|
+
color: var(--necto-gitlab-text, ${ln});
|
|
278
278
|
border: none;
|
|
279
279
|
font-weight: 500;
|
|
280
280
|
font-family: system-ui, -apple-system, sans-serif;
|
|
281
281
|
|
|
282
282
|
&:hover {
|
|
283
|
-
background-color: var(--necto-gitlab-bg-hover, ${
|
|
283
|
+
background-color: var(--necto-gitlab-bg-hover, ${an});
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
&:active {
|
|
287
|
-
background-color: var(--necto-gitlab-bg-active, ${
|
|
287
|
+
background-color: var(--necto-gitlab-bg-active, ${cn});
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
&:focus-visible {
|
|
291
|
-
box-shadow: 0 0 0 3px var(--necto-gitlab-focus-shadow, ${
|
|
291
|
+
box-shadow: 0 0 0 3px var(--necto-gitlab-focus-shadow, ${dn});
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
${t=>t.$disabled&&`
|
|
295
295
|
&:hover,
|
|
296
296
|
&:active {
|
|
297
|
-
background-color: var(--necto-gitlab-bg, ${
|
|
297
|
+
background-color: var(--necto-gitlab-bg, ${It});
|
|
298
298
|
}
|
|
299
299
|
`}
|
|
300
|
-
`,
|
|
300
|
+
`,Dt=nn(({as:t,asChild:o,iconColor:r="#fff",children:i="Continue with GitLab",iconPosition:s="left",showIcon:n=!0,iconSize:e=20,disabled:a,className:l,...c},p)=>Nt(pn,{as:t,ref:p,asChild:o,showIcon:n,disabled:a,$disabled:a,iconPosition:s,icon:Nt(Mt,{size:e,color:r}),className:rn(`_necto:${Gt}`,l),...c,children:i}));Dt.displayName=Gt;import fn from"clsx";import{forwardRef as mn}from"react";import un from"@emotion/styled";import{FcGoogle as bn}from"react-icons/fc";import{jsx as Vt}from"@emotion/react/jsx-runtime";var zt="GoogleButton",Ut="#ffffff",gn="#f8f9fa",Bn="#eceff1",On="#1f1f1f",Rn="#747775",hn="rgba(66, 133, 244, 0.3)",yn=un(d)`
|
|
301
301
|
padding: 0 12px 0 12px;
|
|
302
302
|
height: 40px;
|
|
303
|
-
background-color: var(--necto-google-bg, ${
|
|
304
|
-
color: var(--necto-google-text, ${
|
|
305
|
-
border: 1px solid var(--necto-google-border, ${
|
|
303
|
+
background-color: var(--necto-google-bg, ${Ut});
|
|
304
|
+
color: var(--necto-google-text, ${On});
|
|
305
|
+
border: 1px solid var(--necto-google-border, ${Rn});
|
|
306
306
|
font-weight: 500;
|
|
307
307
|
font-family: 'Roboto Medium', system-ui, -apple-system, sans-serif;
|
|
308
308
|
|
|
309
309
|
&:hover {
|
|
310
|
-
background-color: var(--necto-google-bg-hover, ${
|
|
310
|
+
background-color: var(--necto-google-bg-hover, ${gn});
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
&:active {
|
|
314
|
-
background-color: var(--necto-google-bg-active, ${
|
|
314
|
+
background-color: var(--necto-google-bg-active, ${Bn});
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
&:focus-visible {
|
|
318
|
-
box-shadow: 0 0 0 3px var(--necto-google-focus-shadow, ${
|
|
318
|
+
box-shadow: 0 0 0 3px var(--necto-google-focus-shadow, ${hn});
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
${t=>t.$disabled&&`
|
|
322
322
|
&:hover,
|
|
323
323
|
&:active {
|
|
324
|
-
background-color: var(--necto-google-bg, ${
|
|
324
|
+
background-color: var(--necto-google-bg, ${Ut});
|
|
325
325
|
}
|
|
326
326
|
`}
|
|
327
|
-
`,
|
|
327
|
+
`,Xt=mn(({as:t,asChild:o,children:r="Continue with Google",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>Vt(yn,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,className:fn(`_necto:${zt}`,a),iconPosition:i,icon:Vt(bn,{size:n}),...l,children:r}));Xt.displayName=zt;import vn from"clsx";import{forwardRef as En}from"react";import _n from"@emotion/styled";import{SiHubspot as xn}from"react-icons/si";import{jsx as Wt}from"@emotion/react/jsx-runtime";var Yt="HubSpotButton",Kt="#ff7a59",Cn="#ff6a47",wn="#e55d3f",Tn="#ffffff",Ln="rgba(255, 122, 89, 0.3)",Sn=_n(d)`
|
|
328
328
|
padding: 0 12px 0 12px;
|
|
329
|
-
background-color: var(--necto-hubspot-bg, ${
|
|
330
|
-
color: var(--necto-hubspot-text, ${
|
|
329
|
+
background-color: var(--necto-hubspot-bg, ${Kt});
|
|
330
|
+
color: var(--necto-hubspot-text, ${Tn});
|
|
331
331
|
border: none;
|
|
332
332
|
font-weight: 500;
|
|
333
333
|
font-family: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
334
334
|
|
|
335
335
|
&:hover {
|
|
336
|
-
background-color: var(--necto-hubspot-bg-hover, ${
|
|
336
|
+
background-color: var(--necto-hubspot-bg-hover, ${Cn});
|
|
337
337
|
}
|
|
338
338
|
|
|
339
339
|
&:active {
|
|
340
|
-
background-color: var(--necto-hubspot-bg-active, ${
|
|
340
|
+
background-color: var(--necto-hubspot-bg-active, ${wn});
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
&:focus-visible {
|
|
344
|
-
box-shadow: 0 0 0 3px var(--necto-hubspot-focus-shadow, ${
|
|
344
|
+
box-shadow: 0 0 0 3px var(--necto-hubspot-focus-shadow, ${Ln});
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
${t=>t.$disabled&&`
|
|
348
348
|
&:hover,
|
|
349
349
|
&:active {
|
|
350
|
-
background-color: var(--necto-hubspot-bg, ${
|
|
350
|
+
background-color: var(--necto-hubspot-bg, ${Kt});
|
|
351
351
|
}
|
|
352
352
|
`}
|
|
353
|
-
`,
|
|
353
|
+
`,Zt=En(({as:t,asChild:o,children:r="Continue with HubSpot",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>Wt(Sn,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,className:vn(`_necto:${Yt}`,a),iconPosition:i,icon:Wt(xn,{size:n}),...l,children:r}));Zt.displayName=Yt;import kn from"clsx";import{forwardRef as $n}from"react";import An from"@emotion/styled";import{SiHuggingface as Fn}from"react-icons/si";import{jsx as Jt}from"@emotion/react/jsx-runtime";var Qt="HuggingFaceButton",qt="#ffcc00",Pn="#e6b800",Hn="#cca300",Mn="#000000",In="rgba(255, 204, 0, 0.3)",Nn=An(d)`
|
|
354
354
|
padding: 0 12px 0 12px;
|
|
355
|
-
background-color: var(--necto-huggingface-bg, ${
|
|
356
|
-
color: var(--necto-huggingface-text, ${
|
|
355
|
+
background-color: var(--necto-huggingface-bg, ${qt});
|
|
356
|
+
color: var(--necto-huggingface-text, ${Mn});
|
|
357
357
|
border: none;
|
|
358
358
|
font-weight: 500;
|
|
359
359
|
font-family: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
360
360
|
|
|
361
361
|
&:hover {
|
|
362
|
-
background-color: var(--necto-huggingface-bg-hover, ${
|
|
362
|
+
background-color: var(--necto-huggingface-bg-hover, ${Pn});
|
|
363
363
|
}
|
|
364
364
|
|
|
365
365
|
&:active {
|
|
366
|
-
background-color: var(--necto-huggingface-bg-active, ${
|
|
366
|
+
background-color: var(--necto-huggingface-bg-active, ${Hn});
|
|
367
367
|
}
|
|
368
368
|
|
|
369
369
|
&:focus-visible {
|
|
370
|
-
box-shadow: 0 0 0 3px var(--necto-huggingface-focus-shadow, ${
|
|
370
|
+
box-shadow: 0 0 0 3px var(--necto-huggingface-focus-shadow, ${In});
|
|
371
371
|
}
|
|
372
372
|
|
|
373
373
|
${t=>t.$disabled&&`
|
|
374
374
|
&:hover,
|
|
375
375
|
&:active {
|
|
376
|
-
background-color: var(--necto-huggingface-bg, ${
|
|
376
|
+
background-color: var(--necto-huggingface-bg, ${qt});
|
|
377
377
|
}
|
|
378
378
|
`}
|
|
379
|
-
`,
|
|
379
|
+
`,jt=$n(({as:t,asChild:o,children:r="Continue with HuggingFace",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>Jt(Nn,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,className:kn(`_necto:${Qt}`,a),iconPosition:i,icon:Jt(Fn,{size:n}),...l,children:r}));jt.displayName=Qt;import Gn from"clsx";import{forwardRef as Dn}from"react";import Un from"@emotion/styled";import{FaLinkedin as Vn}from"react-icons/fa";import{jsx as oo}from"@emotion/react/jsx-runtime";var eo="LinkedInButton",to="#0a66c2",zn="#004182",Xn="#003366",Kn="#ffffff",Wn="rgba(10, 102, 194, 0.3)",Yn=Un(d)`
|
|
380
380
|
padding: 0 12px;
|
|
381
|
-
background-color: var(--necto-linkedin-bg, ${
|
|
382
|
-
color: var(--necto-linkedin-text, ${
|
|
381
|
+
background-color: var(--necto-linkedin-bg, ${to});
|
|
382
|
+
color: var(--necto-linkedin-text, ${Kn});
|
|
383
383
|
border: none;
|
|
384
384
|
font-weight: 500;
|
|
385
385
|
font-family: system-ui, -apple-system, sans-serif;
|
|
386
386
|
|
|
387
387
|
&:hover {
|
|
388
|
-
background-color: var(--necto-linkedin-bg-hover, ${
|
|
388
|
+
background-color: var(--necto-linkedin-bg-hover, ${zn});
|
|
389
389
|
}
|
|
390
390
|
|
|
391
391
|
&:active {
|
|
392
|
-
background-color: var(--necto-linkedin-bg-active, ${
|
|
392
|
+
background-color: var(--necto-linkedin-bg-active, ${Xn});
|
|
393
393
|
}
|
|
394
394
|
|
|
395
395
|
&:focus-visible {
|
|
396
|
-
box-shadow: 0 0 0 3px var(--necto-linkedin-focus-shadow, ${
|
|
396
|
+
box-shadow: 0 0 0 3px var(--necto-linkedin-focus-shadow, ${Wn});
|
|
397
397
|
}
|
|
398
398
|
|
|
399
399
|
${t=>t.$disabled&&`
|
|
400
400
|
&:hover,
|
|
401
401
|
&:active {
|
|
402
|
-
background-color: var(--necto-linkedin-bg, ${
|
|
402
|
+
background-color: var(--necto-linkedin-bg, ${to});
|
|
403
403
|
}
|
|
404
404
|
`}
|
|
405
|
-
`,
|
|
405
|
+
`,ro=Dn(({as:t,asChild:o,children:r="Continue with LinkedIn",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>oo(Yn,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,className:Gn(`_necto:${eo}`,a),iconPosition:i,icon:oo(Vn,{size:n}),...l,children:r}));ro.displayName=eo;import qn from"clsx";import{forwardRef as Jn}from"react";import Qn from"@emotion/styled";import{jsx as b,jsxs as Zn}from"@emotion/react/jsx-runtime";var no=({size:t})=>Zn("svg",{width:t,height:t,version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 142 136.878",xmlSpace:"preserve",children:[b("title",{children:"MetaMask logo"}),b("path",{fill:"#FF5C16",d:`M132.682,132.192l-30.583-9.106l-23.063,13.787l-16.092-0.007l-23.077-13.78l-30.569,9.106L0,100.801
|
|
406
406
|
l9.299-34.839L0,36.507L9.299,0l47.766,28.538h27.85L132.682,0l9.299,36.507l-9.299,29.455l9.299,34.839L132.682,132.192
|
|
407
407
|
L132.682,132.192z`}),b("path",{fill:"#FF5C16",d:`M9.305,0l47.767,28.558l-1.899,19.599L9.305,0z M39.875,100.814l21.017,16.01l-21.017,6.261
|
|
408
408
|
C39.875,123.085,39.875,100.814,39.875,100.814z M59.212,74.345l-4.039-26.174L29.317,65.97l-0.014-0.007v0.013l0.08,18.321
|
|
@@ -416,293 +416,293 @@ import he from"clsx";import{forwardRef as Y}from"react";import{DOM as me}from"@n
|
|
|
416
416
|
V100.801z M84.915,28.538h-27.85l-1.891,19.599l9.872,64.013h11.891l9.878-64.013L84.915,28.538z`}),b("path",{fill:"#661800",d:`M9.299,0L0,36.507l9.299,29.455h19.997l25.87-17.804L9.299,0z M53.426,81.938h-9.059l-4.932,4.835
|
|
417
417
|
l17.524,4.344l-3.533-9.186V81.938z M132.682,0l9.299,36.507l-9.299,29.455h-19.998L86.815,48.158L132.682,0z M88.568,81.938h9.072
|
|
418
418
|
l4.932,4.841l-17.544,4.353l3.54-9.201V81.938z M79.029,124.385l2.067-7.567l-4.16-4.633h-11.9l-4.159,4.633l2.066,7.567`}),b("path",{fill:"#C0C4CD",d:"M79.029,124.384v12.495H62.945v-12.495L79.029,124.384L79.029,124.384z"}),b("path",{fill:"#E7EBF6",d:`M39.875,123.072l23.083,13.8v-12.495l-2.067-7.566C60.891,116.811,39.875,123.072,39.875,123.072z
|
|
419
|
-
M102.113,123.072l-23.084,13.8v-12.495l2.067-7.566C81.096,116.811,102.113,123.072,102.113,123.072z`})]});import{jsx as
|
|
419
|
+
M102.113,123.072l-23.084,13.8v-12.495l2.067-7.566C81.096,116.811,102.113,123.072,102.113,123.072z`})]});import{jsx as so}from"@emotion/react/jsx-runtime";var ao="MetaMaskButton",io="#f6851b",jn="#e2761a",ti="#cd6a17",oi="#ffffff",ei="rgba(246, 133, 27, 0.3)",ri=Qn(d)`
|
|
420
420
|
padding: 0 12px 0 12px;
|
|
421
|
-
background-color: var(--necto-metamask-bg, ${
|
|
422
|
-
color: var(--necto-metamask-text, ${
|
|
421
|
+
background-color: var(--necto-metamask-bg, ${io});
|
|
422
|
+
color: var(--necto-metamask-text, ${oi});
|
|
423
423
|
border: none;
|
|
424
424
|
font-weight: 500;
|
|
425
425
|
font-family: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
426
426
|
|
|
427
427
|
&:hover {
|
|
428
|
-
background-color: var(--necto-metamask-bg-hover, ${
|
|
428
|
+
background-color: var(--necto-metamask-bg-hover, ${jn});
|
|
429
429
|
}
|
|
430
430
|
|
|
431
431
|
&:active {
|
|
432
|
-
background-color: var(--necto-metamask-bg-active, ${
|
|
432
|
+
background-color: var(--necto-metamask-bg-active, ${ti});
|
|
433
433
|
}
|
|
434
434
|
|
|
435
435
|
&:focus-visible {
|
|
436
|
-
box-shadow: 0 0 0 3px var(--necto-metamask-focus-shadow, ${
|
|
436
|
+
box-shadow: 0 0 0 3px var(--necto-metamask-focus-shadow, ${ei});
|
|
437
437
|
}
|
|
438
438
|
|
|
439
439
|
${t=>t.$disabled&&`
|
|
440
440
|
&:hover,
|
|
441
441
|
&:active {
|
|
442
|
-
background-color: var(--necto-metamask-bg, ${
|
|
442
|
+
background-color: var(--necto-metamask-bg, ${io});
|
|
443
443
|
}
|
|
444
444
|
`}
|
|
445
|
-
`,
|
|
445
|
+
`,co=Jn(({as:t,asChild:o,children:r="Continue with MetaMask",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>so(ri,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,className:qn(`_necto:${ao}`,a),iconPosition:i,icon:so(no,{size:n}),...l,children:r}));co.displayName=ao;import ii from"clsx";import{forwardRef as si}from"react";import ai from"@emotion/styled";import{jsx as h,jsxs as ni}from"@emotion/react/jsx-runtime";var lo=({size:t})=>ni("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 256 256",children:[h("title",{children:"Microsoft"}),h("path",{fill:"#F1511B",d:"M121.666 121.666H0V0h121.666z"}),h("path",{fill:"#80CC28",d:"M256 121.666H134.335V0H256z"}),h("path",{fill:"#00ADEF",d:"M121.663 256.002H0V134.336h121.663z"}),h("path",{fill:"#FBBC09",d:"M256 256.002H134.335V134.336H256z"})]});import{jsx as fo}from"@emotion/react/jsx-runtime";var mo="MicrosoftButton",po="#2f2f2f",ci="#3d3d3d",li="#4a4a4a",di="#ffffff",pi="#8c8c8c",fi="rgba(47, 47, 47, 0.3)",mi=ai(d)`
|
|
446
446
|
padding: 0 18px;
|
|
447
447
|
min-height: 41px;
|
|
448
|
-
background-color: var(--necto-microsoft-bg, ${
|
|
449
|
-
color: var(--necto-microsoft-text, ${
|
|
450
|
-
border: 1px solid var(--necto-microsoft-border, ${
|
|
448
|
+
background-color: var(--necto-microsoft-bg, ${po});
|
|
449
|
+
color: var(--necto-microsoft-text, ${di});
|
|
450
|
+
border: 1px solid var(--necto-microsoft-border, ${pi});
|
|
451
451
|
font-size: 15px;
|
|
452
452
|
font-weight: 600;
|
|
453
453
|
font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
|
|
454
454
|
|
|
455
455
|
&:hover {
|
|
456
|
-
background-color: var(--necto-microsoft-bg-hover, ${
|
|
456
|
+
background-color: var(--necto-microsoft-bg-hover, ${ci});
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
&:active {
|
|
460
|
-
background-color: var(--necto-microsoft-bg-active, ${
|
|
460
|
+
background-color: var(--necto-microsoft-bg-active, ${li});
|
|
461
461
|
}
|
|
462
462
|
|
|
463
463
|
&:focus-visible {
|
|
464
|
-
box-shadow: 0 0 0 3px var(--necto-microsoft-focus-shadow, ${
|
|
464
|
+
box-shadow: 0 0 0 3px var(--necto-microsoft-focus-shadow, ${fi});
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
${t=>t.$disabled&&`
|
|
468
468
|
&:hover,
|
|
469
469
|
&:active {
|
|
470
|
-
background-color: var(--necto-microsoft-bg, ${
|
|
470
|
+
background-color: var(--necto-microsoft-bg, ${po});
|
|
471
471
|
}
|
|
472
472
|
`}
|
|
473
|
-
`,
|
|
473
|
+
`,uo=si(({as:t,asChild:o,children:r="Sign in with Microsoft",iconPosition:i="left",showIcon:s=!0,iconSize:n=18,disabled:e,className:a,...l},c)=>fo(mi,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,className:ii(`_necto:${mo}`,a),iconPosition:i,icon:fo(lo,{size:n}),...l,children:r}));uo.displayName=mo;import ui from"clsx";import{forwardRef as bi}from"react";import gi from"@emotion/styled";import{SiNotion as Bi}from"react-icons/si";import{jsx as go}from"@emotion/react/jsx-runtime";var Bo="NotionButton",bo="#000000",Oi="#1a1a1a",Ri="#333333",hi="#ffffff",yi="rgba(0, 0, 0, 0.3)",vi=gi(d)`
|
|
474
474
|
padding: 0 12px 0 12px;
|
|
475
|
-
background-color: var(--necto-notion-bg, ${
|
|
476
|
-
color: var(--necto-notion-text, ${
|
|
475
|
+
background-color: var(--necto-notion-bg, ${bo});
|
|
476
|
+
color: var(--necto-notion-text, ${hi});
|
|
477
477
|
border: none;
|
|
478
478
|
font-weight: 500;
|
|
479
479
|
font-family: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
480
480
|
|
|
481
481
|
&:hover {
|
|
482
|
-
background-color: var(--necto-notion-bg-hover, ${
|
|
482
|
+
background-color: var(--necto-notion-bg-hover, ${Oi});
|
|
483
483
|
}
|
|
484
484
|
|
|
485
485
|
&:active {
|
|
486
|
-
background-color: var(--necto-notion-bg-active, ${
|
|
486
|
+
background-color: var(--necto-notion-bg-active, ${Ri});
|
|
487
487
|
}
|
|
488
488
|
|
|
489
489
|
&:focus-visible {
|
|
490
|
-
box-shadow: 0 0 0 3px var(--necto-notion-focus-shadow, ${
|
|
490
|
+
box-shadow: 0 0 0 3px var(--necto-notion-focus-shadow, ${yi});
|
|
491
491
|
}
|
|
492
492
|
|
|
493
493
|
${t=>t.$disabled&&`
|
|
494
494
|
&:hover,
|
|
495
495
|
&:active {
|
|
496
|
-
background-color: var(--necto-notion-bg, ${
|
|
496
|
+
background-color: var(--necto-notion-bg, ${bo});
|
|
497
497
|
}
|
|
498
498
|
`}
|
|
499
|
-
`,
|
|
499
|
+
`,Oo=bi(({as:t,asChild:o,children:r="Continue with Notion",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>go(vi,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,className:ui(`_necto:${Bo}`,a),iconPosition:i,icon:go(Bi,{size:n}),...l,children:r}));Oo.displayName=Bo;import Ei from"clsx";import{forwardRef as _i}from"react";import xi from"@emotion/styled";import{SiOkx as Ci}from"react-icons/si";import{jsx as ho}from"@emotion/react/jsx-runtime";var yo="OKXButton",Ro="#000000",wi="#1a1a1a",Ti="#333333",Li="#ffffff",Si="rgba(0, 0, 0, 0.3)",ki=xi(d)`
|
|
500
500
|
padding: 0 12px 0 12px;
|
|
501
|
-
background-color: var(--necto-okx-bg, ${
|
|
502
|
-
color: var(--necto-okx-text, ${
|
|
501
|
+
background-color: var(--necto-okx-bg, ${Ro});
|
|
502
|
+
color: var(--necto-okx-text, ${Li});
|
|
503
503
|
border: none;
|
|
504
504
|
font-weight: 500;
|
|
505
505
|
font-family: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
506
506
|
|
|
507
507
|
&:hover {
|
|
508
|
-
background-color: var(--necto-okx-bg-hover, ${
|
|
508
|
+
background-color: var(--necto-okx-bg-hover, ${wi});
|
|
509
509
|
}
|
|
510
510
|
|
|
511
511
|
&:active {
|
|
512
|
-
background-color: var(--necto-okx-bg-active, ${
|
|
512
|
+
background-color: var(--necto-okx-bg-active, ${Ti});
|
|
513
513
|
}
|
|
514
514
|
|
|
515
515
|
&:focus-visible {
|
|
516
|
-
box-shadow: 0 0 0 3px var(--necto-okx-focus-shadow, ${
|
|
516
|
+
box-shadow: 0 0 0 3px var(--necto-okx-focus-shadow, ${Si});
|
|
517
517
|
}
|
|
518
518
|
|
|
519
519
|
${t=>t.$disabled&&`
|
|
520
520
|
&:hover,
|
|
521
521
|
&:active {
|
|
522
|
-
background-color: var(--necto-okx-bg, ${
|
|
522
|
+
background-color: var(--necto-okx-bg, ${Ro});
|
|
523
523
|
}
|
|
524
524
|
`}
|
|
525
|
-
`,
|
|
525
|
+
`,vo=_i(({as:t,asChild:o,children:r="Continue with OKX",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>ho(ki,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,className:Ei(`_necto:${yo}`,a),iconPosition:i,icon:ho(Ci,{size:n}),...l,children:r}));vo.displayName=yo;import $i from"clsx";import{forwardRef as Ai}from"react";import Fi from"@emotion/styled";import{FaSalesforce as Pi}from"react-icons/fa";import{jsx as _o}from"@emotion/react/jsx-runtime";var xo="SalesforceButton",Eo="#00a1e0",Hi="#0074a8",Mi="#005c85",Ii="#ffffff",Ni="rgba(0, 161, 224, 0.3)",Gi=Fi(d)`
|
|
526
526
|
padding: 0 12px;
|
|
527
|
-
background-color: var(--necto-salesforce-bg, ${
|
|
528
|
-
color: var(--necto-salesforce-text, ${
|
|
527
|
+
background-color: var(--necto-salesforce-bg, ${Eo});
|
|
528
|
+
color: var(--necto-salesforce-text, ${Ii});
|
|
529
529
|
border: none;
|
|
530
530
|
font-weight: 500;
|
|
531
531
|
font-family: system-ui, -apple-system, sans-serif;
|
|
532
532
|
|
|
533
533
|
&:hover {
|
|
534
|
-
background-color: var(--necto-salesforce-bg-hover, ${
|
|
534
|
+
background-color: var(--necto-salesforce-bg-hover, ${Hi});
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
&:active {
|
|
538
|
-
background-color: var(--necto-salesforce-bg-active, ${
|
|
538
|
+
background-color: var(--necto-salesforce-bg-active, ${Mi});
|
|
539
539
|
}
|
|
540
540
|
|
|
541
541
|
&:focus-visible {
|
|
542
|
-
box-shadow: 0 0 0 3px var(--necto-salesforce-focus-shadow, ${
|
|
542
|
+
box-shadow: 0 0 0 3px var(--necto-salesforce-focus-shadow, ${Ni});
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
${t=>t.$disabled&&`
|
|
546
546
|
&:hover,
|
|
547
547
|
&:active {
|
|
548
|
-
background-color: var(--necto-salesforce-bg, ${
|
|
548
|
+
background-color: var(--necto-salesforce-bg, ${Eo});
|
|
549
549
|
}
|
|
550
550
|
`}
|
|
551
|
-
`,
|
|
551
|
+
`,Co=Ai(({as:t,asChild:o,children:r="Continue with Salesforce",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>_o(Gi,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,className:$i(`_necto:${xo}`,a),iconPosition:i,icon:_o(Pi,{size:n}),...l,children:r}));Co.displayName=xo;import Di from"clsx";import{forwardRef as Ui}from"react";import Vi from"@emotion/styled";import{FaSlack as zi}from"react-icons/fa";import{jsx as To}from"@emotion/react/jsx-runtime";var Lo="SlackButton",wo="#4a154b",Xi="#3f1240",Ki="#350f36",Wi="#ffffff",Yi="rgba(74, 21, 75, 0.3)",Zi=Vi(d)`
|
|
552
552
|
padding: 0 12px 0 12px;
|
|
553
|
-
background-color: var(--necto-slack-bg, ${
|
|
554
|
-
color: var(--necto-slack-text, ${
|
|
553
|
+
background-color: var(--necto-slack-bg, ${wo});
|
|
554
|
+
color: var(--necto-slack-text, ${Wi});
|
|
555
555
|
border: none;
|
|
556
556
|
font-weight: 500;
|
|
557
557
|
font-family: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
558
558
|
|
|
559
559
|
&:hover {
|
|
560
|
-
background-color: var(--necto-slack-bg-hover, ${
|
|
560
|
+
background-color: var(--necto-slack-bg-hover, ${Xi});
|
|
561
561
|
}
|
|
562
562
|
|
|
563
563
|
&:active {
|
|
564
|
-
background-color: var(--necto-slack-bg-active, ${
|
|
564
|
+
background-color: var(--necto-slack-bg-active, ${Ki});
|
|
565
565
|
}
|
|
566
566
|
|
|
567
567
|
&:focus-visible {
|
|
568
|
-
box-shadow: 0 0 0 3px var(--necto-slack-focus-shadow, ${
|
|
568
|
+
box-shadow: 0 0 0 3px var(--necto-slack-focus-shadow, ${Yi});
|
|
569
569
|
}
|
|
570
570
|
|
|
571
571
|
${t=>t.$disabled&&`
|
|
572
572
|
&:hover,
|
|
573
573
|
&:active {
|
|
574
|
-
background-color: var(--necto-slack-bg, ${
|
|
574
|
+
background-color: var(--necto-slack-bg, ${wo});
|
|
575
575
|
}
|
|
576
576
|
`}
|
|
577
|
-
`,
|
|
577
|
+
`,So=Ui(({as:t,asChild:o,children:r="Continue with Slack",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>To(Zi,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,className:Di(`_necto:${Lo}`,a),iconPosition:i,icon:To(zi,{size:n}),...l,children:r}));So.displayName=Lo;import qi from"clsx";import{forwardRef as Ji}from"react";import Qi from"@emotion/styled";import{jsx as A,jsxs as ko}from"@emotion/react/jsx-runtime";var $o=({size:t,color:o})=>{let r=o==null;return ko("svg",{width:t,height:t,viewBox:"0 0 500 500",xmlns:"http://www.w3.org/2000/svg",children:[A("title",{children:"Snapchat Icon"}),ko("g",{children:[A("path",{fill:r?"white":o??void 0,d:"M417.93,340.71c-60.61-29.34-70.27-74.64-70.7-78-.52-4.07-1.11-7.27,3.38-11.41,4.33-4,23.54-15.89,28.87-19.61,8.81-6.16,12.69-12.31,9.83-19.87-2-5.23-6.87-7.2-12-7.2a22.3,22.3,0,0,0-4.81.54c-9.68,2.1-19.08,6.95-24.52,8.26a8.56,8.56,0,0,1-2,.27c-2.9,0-4-1.29-3.72-4.78.68-10.58,2.12-31.23.45-50.52-2.29-26.54-10.85-39.69-21-51.32C316.8,101.43,294,77.2,250,77.2S183.23,101.43,178.35,107c-10.18,11.63-18.73,24.78-21,51.32-1.67,19.29-.17,39.93.45,50.52.2,3.32-.82,4.78-3.72,4.78a8.64,8.64,0,0,1-2-.27c-5.43-1.31-14.83-6.16-24.51-8.26a22.3,22.3,0,0,0-4.81-.54c-5.15,0-10,2-12,7.2-2.86,7.56,1,13.71,9.84,19.87,5.33,3.72,24.54,15.6,28.87,19.61,4.48,4.14,3.9,7.34,3.38,11.41-.43,3.41-10.1,48.71-70.7,78-3.55,1.72-9.59,5.36,1.06,11.24,16.72,9.24,27.85,8.25,36.5,13.82,7.34,4.73,3,14.93,8.34,18.61,6.56,4.53,25.95-.32,51,7.95,21,6.92,33.76,26.47,71,26.47s50.37-19.64,71-26.47c25-8.27,44.43-3.42,51-7.95,5.33-3.68,1-13.88,8.34-18.61,8.65-5.57,19.77-4.58,36.5-13.82C427.52,346.07,421.48,342.43,417.93,340.71Z"}),A("path",{fill:r?"black":o??void 0,d:"M444.3,337.26c-2.72-7.4-7.9-11.36-13.8-14.64-1.11-.65-2.13-1.17-3-1.57-1.76-.91-3.56-1.79-5.35-2.72-18.39-9.75-32.75-22.05-42.71-36.63a83.06,83.06,0,0,1-7.33-13c-.85-2.43-.81-3.81-.2-5.07a8.25,8.25,0,0,1,2.35-2.45c3.16-2.09,6.42-4.21,8.63-5.64,3.94-2.55,7.06-4.57,9.07-6,7.55-5.28,12.83-10.89,16.13-17.16A34.17,34.17,0,0,0,409.78,204c-5-13.16-17.43-21.33-32.49-21.33a44.75,44.75,0,0,0-9.45,1c-.83.18-1.66.37-2.47.58.14-9-.06-18.5-.86-27.85-2.84-32.87-14.35-50.1-26.35-63.84A105,105,0,0,0,311.37,71C293.16,60.6,272.51,55.32,250,55.32S206.94,60.6,188.71,71a104.62,104.62,0,0,0-26.84,21.6c-12,13.74-23.51,31-26.35,63.84-.8,9.35-1,18.9-.87,27.85-.81-.21-1.63-.4-2.46-.58a44.75,44.75,0,0,0-9.45-1c-15.07,0-27.52,8.17-32.5,21.33a34.21,34.21,0,0,0,1.65,28.41c3.31,6.27,8.59,11.88,16.14,17.16,2,1.4,5.13,3.42,9.07,6,2.13,1.38,5.24,3.4,8.29,5.42a8.9,8.9,0,0,1,2.66,2.67c.64,1.31.66,2.72-.29,5.32a82.29,82.29,0,0,1-7.21,12.73c-9.74,14.25-23.68,26.33-41.48,36-9.43,5-19.23,8.34-23.37,19.59-3.12,8.49-1.08,18.15,6.85,26.29h0a39.63,39.63,0,0,0,10,7.57,108.35,108.35,0,0,0,24.47,9.79,16.16,16.16,0,0,1,4.94,2.21c2.89,2.53,2.48,6.34,6.33,11.92a27.8,27.8,0,0,0,7.24,7.36c8.08,5.58,17.16,5.93,26.78,6.3,8.69.33,18.54.71,29.79,4.42,4.66,1.54,9.5,4.52,15.11,8,13.47,8.28,31.91,19.61,62.77,19.61s49.43-11.39,63-19.7c5.57-3.42,10.38-6.37,14.91-7.87,11.25-3.72,21.1-4.09,29.79-4.42,9.62-.37,18.7-.72,26.78-6.3a27.89,27.89,0,0,0,8.24-9c2.77-4.71,2.7-8,5.3-10.3a15.32,15.32,0,0,1,4.64-2.12,108.76,108.76,0,0,0,24.8-9.88A39,39,0,0,0,437.94,363l.1-.12C445.48,354.92,447.35,345.54,444.3,337.26ZM416.87,352c-16.73,9.24-27.85,8.25-36.5,13.82-7.35,4.73-3,14.93-8.34,18.61-6.56,4.53-25.95-.32-51,7.95-20.66,6.83-33.84,26.47-71,26.47S200,399.25,179,392.33c-25-8.27-44.43-3.42-51-7.95-5.33-3.68-1-13.88-8.34-18.61C111,360.2,99.88,361.19,83.16,352c-10.65-5.88-4.61-9.52-1.06-11.24,60.6-29.34,70.27-74.64,70.7-78,.52-4.07,1.1-7.27-3.38-11.41-4.33-4-23.54-15.89-28.87-19.61-8.82-6.16-12.7-12.31-9.84-19.87,2-5.23,6.88-7.2,12-7.2a22.3,22.3,0,0,1,4.81.54c9.68,2.1,19.08,6.95,24.51,8.26a8.64,8.64,0,0,0,2,.27c2.9,0,3.92-1.46,3.72-4.78-.62-10.59-2.12-31.23-.45-50.52,2.29-26.54,10.84-39.69,21-51.32,4.88-5.59,27.81-29.82,71.66-29.82S316.8,101.43,321.68,107c10.17,11.63,18.73,24.78,21,51.32,1.67,19.29.23,39.94-.45,50.52-.23,3.49.82,4.78,3.72,4.78a8.56,8.56,0,0,0,2-.27c5.44-1.31,14.84-6.16,24.52-8.26a22.3,22.3,0,0,1,4.81-.54c5.15,0,10,2,12,7.2,2.86,7.56-1,13.71-9.83,19.87-5.33,3.72-24.54,15.6-28.87,19.61-4.49,4.14-3.9,7.34-3.38,11.41.43,3.41,10.09,48.71,70.7,78C421.48,342.43,427.52,346.07,416.87,352Z"})]})]})};import{jsx as Fo}from"@emotion/react/jsx-runtime";var Po="SnapchatButton",Ao="#FFFC00",ji="#F7EC09",ts="#E8DD08",os="#000000",es="rgba(255, 252, 0, 0.3)",rs=Qi(d)`
|
|
578
578
|
padding: 0 18px;
|
|
579
|
-
background-color: var(--necto-snapchat-bg, ${
|
|
580
|
-
color: var(--necto-snapchat-text, ${
|
|
579
|
+
background-color: var(--necto-snapchat-bg, ${Ao});
|
|
580
|
+
color: var(--necto-snapchat-text, ${os});
|
|
581
581
|
border: none;
|
|
582
582
|
font-weight: 500;
|
|
583
583
|
font-family: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
584
584
|
|
|
585
585
|
&:hover {
|
|
586
|
-
background-color: var(--necto-snapchat-bg-hover, ${
|
|
586
|
+
background-color: var(--necto-snapchat-bg-hover, ${ji});
|
|
587
587
|
}
|
|
588
588
|
|
|
589
589
|
&:active {
|
|
590
|
-
background-color: var(--necto-snapchat-bg-active, ${
|
|
590
|
+
background-color: var(--necto-snapchat-bg-active, ${ts});
|
|
591
591
|
}
|
|
592
592
|
|
|
593
593
|
&:focus-visible {
|
|
594
|
-
box-shadow: 0 0 0 3px var(--necto-snapchat-focus-shadow, ${
|
|
594
|
+
box-shadow: 0 0 0 3px var(--necto-snapchat-focus-shadow, ${es});
|
|
595
595
|
}
|
|
596
596
|
|
|
597
597
|
${t=>t.$disabled&&`
|
|
598
598
|
&:hover,
|
|
599
599
|
&:active {
|
|
600
|
-
background-color: var(--necto-snapchat-bg, ${
|
|
600
|
+
background-color: var(--necto-snapchat-bg, ${Ao});
|
|
601
601
|
}
|
|
602
602
|
`}
|
|
603
|
-
`,
|
|
603
|
+
`,Ho=Ji(({as:t,asChild:o,iconColor:r=null,children:i="Continue with Snapchat",iconPosition:s="left",showIcon:n=!0,iconSize:e=20,disabled:a,className:l,...c},p)=>Fo(rs,{as:t,ref:p,asChild:o,showIcon:n,disabled:a,$disabled:a,iconPosition:s,icon:Fo($o,{size:e,color:r}),className:qi(`_necto:${Po}`,l),...c,children:i}));Ho.displayName=Po;import ns from"clsx";import{forwardRef as is}from"react";import ss from"@emotion/styled";import{FaSpotify as as}from"react-icons/fa";import{jsx as Io}from"@emotion/react/jsx-runtime";var No="SpotifyButton",Mo="#1db954",cs="#1aa64b",ls="#179443",ds="#ffffff",ps="rgba(29, 185, 84, 0.3)",fs=ss(d)`
|
|
604
604
|
padding: 0 12px 0 12px;
|
|
605
|
-
background-color: var(--necto-spotify-bg, ${
|
|
606
|
-
color: var(--necto-spotify-text, ${
|
|
605
|
+
background-color: var(--necto-spotify-bg, ${Mo});
|
|
606
|
+
color: var(--necto-spotify-text, ${ds});
|
|
607
607
|
border: none;
|
|
608
608
|
font-weight: 500;
|
|
609
609
|
font-family: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
610
610
|
|
|
611
611
|
&:hover {
|
|
612
|
-
background-color: var(--necto-spotify-bg-hover, ${
|
|
612
|
+
background-color: var(--necto-spotify-bg-hover, ${cs});
|
|
613
613
|
}
|
|
614
614
|
|
|
615
615
|
&:active {
|
|
616
|
-
background-color: var(--necto-spotify-bg-active, ${
|
|
616
|
+
background-color: var(--necto-spotify-bg-active, ${ls});
|
|
617
617
|
}
|
|
618
618
|
|
|
619
619
|
&:focus-visible {
|
|
620
|
-
box-shadow: 0 0 0 3px var(--necto-spotify-focus-shadow, ${
|
|
620
|
+
box-shadow: 0 0 0 3px var(--necto-spotify-focus-shadow, ${ps});
|
|
621
621
|
}
|
|
622
622
|
|
|
623
623
|
${t=>t.$disabled&&`
|
|
624
624
|
&:hover,
|
|
625
625
|
&:active {
|
|
626
|
-
background-color: var(--necto-spotify-bg, ${
|
|
626
|
+
background-color: var(--necto-spotify-bg, ${Mo});
|
|
627
627
|
}
|
|
628
628
|
`}
|
|
629
|
-
`,
|
|
629
|
+
`,Go=is(({as:t,asChild:o,children:r="Continue with Spotify",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>Io(fs,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,className:ns(`_necto:${No}`,a),iconPosition:i,icon:Io(as,{size:n}),...l,children:r}));Go.displayName=No;import ms from"clsx";import{forwardRef as us}from"react";import bs from"@emotion/styled";import{jsx as T,jsxs as Do}from"@emotion/react/jsx-runtime";var Uo=({size:t})=>Do("svg",{width:t,height:t,viewBox:"0 0 256 290",xmlns:"http://www.w3.org/2000/svg",children:[T("title",{children:"TikTok Icon"}),Do("g",{children:[T("path",{fill:"#FF004F",d:"M189.72 104.421c18.678 13.345 41.56 21.197 66.273 21.197v-47.53a67 67 0 0 1-13.918-1.456v37.413c-24.711 0-47.59-7.851-66.272-21.195v96.996c0 48.523-39.356 87.855-87.9 87.855c-18.113 0-34.949-5.473-48.934-14.86c15.962 16.313 38.222 26.432 62.848 26.432c48.548 0 87.905-39.332 87.905-87.857v-96.995zm17.17-47.952c-9.546-10.423-15.814-23.893-17.17-38.785v-6.113h-13.189c3.32 18.927 14.644 35.097 30.358 44.898M69.673 225.607a40 40 0 0 1-8.203-24.33c0-22.192 18.001-40.186 40.21-40.186a40.3 40.3 0 0 1 12.197 1.883v-48.593c-4.61-.631-9.262-.9-13.912-.801v37.822a40.3 40.3 0 0 0-12.203-1.882c-22.208 0-40.208 17.992-40.208 40.187c0 15.694 8.997 29.281 22.119 35.9"}),T("path",{fill:"#000000",d:"M175.803 92.849c18.683 13.344 41.56 21.195 66.272 21.195V76.631c-13.794-2.937-26.005-10.141-35.186-20.162c-15.715-9.802-27.038-25.972-30.358-44.898h-34.643v189.843c-.079 22.132-18.049 40.052-40.21 40.052c-13.058 0-24.66-6.221-32.007-15.86c-13.12-6.618-22.118-20.206-22.118-35.898c0-22.193 18-40.187 40.208-40.187c4.255 0 8.356.662 12.203 1.882v-37.822c-47.692.985-86.047 39.933-86.047 87.834c0 23.912 9.551 45.589 25.053 61.428c13.985 9.385 30.82 14.86 48.934 14.86c48.545 0 87.9-39.335 87.9-87.857z"}),T("path",{fill:"#00F2EA",d:"M242.075 76.63V66.516a66.3 66.3 0 0 1-35.186-10.047a66.47 66.47 0 0 0 35.186 20.163M176.53 11.57a68 68 0 0 1-.728-5.457V0h-47.834v189.845c-.076 22.13-18.046 40.05-40.208 40.05a40.06 40.06 0 0 1-18.09-4.287c7.347 9.637 18.949 15.857 32.007 15.857c22.16 0 40.132-17.918 40.21-40.05V11.571zM99.966 113.58v-10.769a89 89 0 0 0-12.061-.818C39.355 101.993 0 141.327 0 189.845c0 30.419 15.467 57.227 38.971 72.996c-15.502-15.838-25.053-37.516-25.053-61.427c0-47.9 38.354-86.848 86.048-87.833"})]})]});import{FaTiktok as gs}from"react-icons/fa";import{jsx as F}from"@emotion/react/jsx-runtime";var zo="TikTokButton",Vo="#000000",Bs="#1a1a1a",Os="#333333",Rs="#ffffff",hs="rgba(0, 0, 0, 0.3)",ys=bs(d)`
|
|
630
630
|
padding: 0 12px 0 12px;
|
|
631
|
-
background-color: var(--necto-tiktok-bg, ${
|
|
632
|
-
color: var(--necto-tiktok-text, ${
|
|
631
|
+
background-color: var(--necto-tiktok-bg, ${Vo});
|
|
632
|
+
color: var(--necto-tiktok-text, ${Rs});
|
|
633
633
|
border: none;
|
|
634
634
|
font-weight: 500;
|
|
635
635
|
font-family: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
636
636
|
|
|
637
637
|
&:hover {
|
|
638
|
-
background-color: var(--necto-tiktok-bg-hover, ${
|
|
638
|
+
background-color: var(--necto-tiktok-bg-hover, ${Bs});
|
|
639
639
|
}
|
|
640
640
|
|
|
641
641
|
&:active {
|
|
642
|
-
background-color: var(--necto-tiktok-bg-active, ${
|
|
642
|
+
background-color: var(--necto-tiktok-bg-active, ${Os});
|
|
643
643
|
}
|
|
644
644
|
|
|
645
645
|
&:focus-visible {
|
|
646
|
-
box-shadow: 0 0 0 3px var(--necto-tiktok-focus-shadow, ${
|
|
646
|
+
box-shadow: 0 0 0 3px var(--necto-tiktok-focus-shadow, ${hs});
|
|
647
647
|
}
|
|
648
648
|
|
|
649
649
|
${t=>t.$disabled&&`
|
|
650
650
|
&:hover,
|
|
651
651
|
&:active {
|
|
652
|
-
background-color: var(--necto-tiktok-bg, ${
|
|
652
|
+
background-color: var(--necto-tiktok-bg, ${Vo});
|
|
653
653
|
}
|
|
654
654
|
`}
|
|
655
|
-
`,
|
|
655
|
+
`,Xo=us(({as:t,asChild:o,iconColor:r=null,children:i="Continue with TikTok",iconPosition:s="left",showIcon:n=!0,iconSize:e=20,disabled:a,className:l,...c},p)=>F(ys,{as:t,ref:p,asChild:o,showIcon:n,disabled:a,$disabled:a,className:ms(`_necto:${zo}`,l),iconPosition:s,icon:r?F(gs,{size:e,color:r}):F(Uo,{size:e}),...c,children:i}));Xo.displayName=zo;import vs from"clsx";import{forwardRef as Es}from"react";import _s from"@emotion/styled";import{FaTwitch as xs}from"react-icons/fa";import{jsx as Wo}from"@emotion/react/jsx-runtime";var Yo="TwitchButton",Ko="#9146ff",Cs="#823ee6",ws="#7337cc",Ts="#ffffff",Ls="rgba(145, 70, 255, 0.3)",Ss=_s(d)`
|
|
656
656
|
padding: 0 12px 0 12px;
|
|
657
|
-
background-color: var(--necto-twitch-bg, ${
|
|
658
|
-
color: var(--necto-twitch-text, ${
|
|
657
|
+
background-color: var(--necto-twitch-bg, ${Ko});
|
|
658
|
+
color: var(--necto-twitch-text, ${Ts});
|
|
659
659
|
border: none;
|
|
660
660
|
font-weight: 500;
|
|
661
661
|
font-family: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
662
662
|
|
|
663
663
|
&:hover {
|
|
664
|
-
background-color: var(--necto-twitch-bg-hover, ${
|
|
664
|
+
background-color: var(--necto-twitch-bg-hover, ${Cs});
|
|
665
665
|
}
|
|
666
666
|
|
|
667
667
|
&:active {
|
|
668
|
-
background-color: var(--necto-twitch-bg-active, ${
|
|
668
|
+
background-color: var(--necto-twitch-bg-active, ${ws});
|
|
669
669
|
}
|
|
670
670
|
|
|
671
671
|
&:focus-visible {
|
|
672
|
-
box-shadow: 0 0 0 3px var(--necto-twitch-focus-shadow, ${
|
|
672
|
+
box-shadow: 0 0 0 3px var(--necto-twitch-focus-shadow, ${Ls});
|
|
673
673
|
}
|
|
674
674
|
|
|
675
675
|
${t=>t.$disabled&&`
|
|
676
676
|
&:hover,
|
|
677
677
|
&:active {
|
|
678
|
-
background-color: var(--necto-twitch-bg, ${
|
|
678
|
+
background-color: var(--necto-twitch-bg, ${Ko});
|
|
679
679
|
}
|
|
680
680
|
`}
|
|
681
|
-
`,
|
|
681
|
+
`,Zo=Es(({as:t,asChild:o,children:r="Continue with Twitch",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>Wo(Ss,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,className:vs(`_necto:${Yo}`,a),iconPosition:i,icon:Wo(xs,{size:n}),...l,children:r}));Zo.displayName=Yo;import ks from"clsx";import{forwardRef as $s}from"react";import As from"@emotion/styled";import{FaXTwitter as Fs}from"react-icons/fa6";import{jsx as Jo}from"@emotion/react/jsx-runtime";var Qo="XButton",qo="#000000",Ps="#1a1a1a",Hs="#333333",Ms="#ffffff",Is="rgba(0, 0, 0, 0.3)",Ns=As(d)`
|
|
682
682
|
padding: 0 12px 0 12px;
|
|
683
|
-
background-color: var(--necto-x-bg, ${
|
|
684
|
-
color: var(--necto-x-text, ${
|
|
683
|
+
background-color: var(--necto-x-bg, ${qo});
|
|
684
|
+
color: var(--necto-x-text, ${Ms});
|
|
685
685
|
border: none;
|
|
686
686
|
font-weight: 500;
|
|
687
687
|
font-family: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
688
688
|
|
|
689
689
|
&:hover {
|
|
690
|
-
background-color: var(--necto-x-bg-hover, ${
|
|
690
|
+
background-color: var(--necto-x-bg-hover, ${Ps});
|
|
691
691
|
}
|
|
692
692
|
|
|
693
693
|
&:active {
|
|
694
|
-
background-color: var(--necto-x-bg-active, ${
|
|
694
|
+
background-color: var(--necto-x-bg-active, ${Hs});
|
|
695
695
|
}
|
|
696
696
|
|
|
697
697
|
&:focus-visible {
|
|
698
|
-
box-shadow: 0 0 0 3px var(--necto-x-focus-shadow, ${
|
|
698
|
+
box-shadow: 0 0 0 3px var(--necto-x-focus-shadow, ${Is});
|
|
699
699
|
}
|
|
700
700
|
|
|
701
701
|
${t=>t.$disabled&&`
|
|
702
702
|
&:hover,
|
|
703
703
|
&:active {
|
|
704
|
-
background-color: var(--necto-x-bg, ${
|
|
704
|
+
background-color: var(--necto-x-bg, ${qo});
|
|
705
705
|
}
|
|
706
706
|
`}
|
|
707
|
-
`,
|
|
707
|
+
`,jo=$s(({as:t,asChild:o,children:r="Continue with X",iconPosition:i="left",showIcon:s=!0,iconSize:n=20,disabled:e,className:a,...l},c)=>Jo(Ns,{as:t,ref:c,asChild:o,showIcon:s,disabled:e,$disabled:e,className:ks(`_necto:${Qo}`,a),iconPosition:i,icon:Jo(Fs,{size:n}),...l,children:r}));jo.displayName=Qo;export{dt as AppleButton,ut as AtlassianButton,ht as BitbucketButton,Ce as Box,_t as DiscordButton,Tt as DropboxButton,$t as FacebookButton,Ht as GitHubButton,Dt as GitLabButton,Xt as GoogleButton,Zt as HubSpotButton,jt as HuggingFaceButton,ro as LinkedInButton,co as MetaMaskButton,uo as MicrosoftButton,Oo as NotionButton,vo as OKXButton,f as Primitive,Co as SalesforceButton,ot as ShadowBevel,So as SlackButton,Ho as SnapchatButton,Go as SpotifyButton,Xo as TikTokButton,Zo as TwitchButton,it as VisuallyHidden,jo as XButton};
|
|
708
708
|
//# sourceMappingURL=index.js.map
|