@shapeshiftoss/swap-widget 0.0.2 → 0.2.0
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/LICENSE.md +21 -0
- package/README.md +18 -11
- package/package.json +77 -28
- package/Dockerfile +0 -87
- package/dist/assets/PhArrowCircleDown-B305t-Sh.js +0 -14
- package/dist/assets/PhArrowClockwise-CJPxQhr_.js +0 -14
- package/dist/assets/PhArrowDown-C4hT9BVu.js +0 -14
- package/dist/assets/PhArrowLeft-Way4Cu-r.js +0 -14
- package/dist/assets/PhArrowRight-Cp5ZME0F.js +0 -14
- package/dist/assets/PhArrowSquareOut-NnrK69c5.js +0 -14
- package/dist/assets/PhArrowUp-Dph6j8rm.js +0 -14
- package/dist/assets/PhArrowUpRight-BpJjRRRh.js +0 -14
- package/dist/assets/PhArrowsClockwise-CFUT8X7R.js +0 -14
- package/dist/assets/PhArrowsDownUp-BjBI4ckC.js +0 -14
- package/dist/assets/PhArrowsLeftRight-CuLpbKRk.js +0 -14
- package/dist/assets/PhBank-Dchr4XQJ.js +0 -14
- package/dist/assets/PhBrowser-dUu2TrC1.js +0 -14
- package/dist/assets/PhCaretDown-78IuKU3V.js +0 -14
- package/dist/assets/PhCaretLeft-_aiyH7n1.js +0 -14
- package/dist/assets/PhCaretRight-8zJQEuDX.js +0 -14
- package/dist/assets/PhCaretUp-CiCxKWwN.js +0 -14
- package/dist/assets/PhCheck-CcADx8br.js +0 -14
- package/dist/assets/PhCircleHalf-BYzSzd2h.js +0 -14
- package/dist/assets/PhClock-UItiXeJq.js +0 -14
- package/dist/assets/PhCompass-CUy3uA7t.js +0 -14
- package/dist/assets/PhCopy-C-PDgSlZ.js +0 -14
- package/dist/assets/PhCreditCard-CWRaUT6F.js +0 -14
- package/dist/assets/PhCurrencyDollar-Cqla3AXT.js +0 -14
- package/dist/assets/PhDesktop-BBIPrYLl.js +0 -14
- package/dist/assets/PhDeviceMobile-BdsPaATg.js +0 -14
- package/dist/assets/PhDotsThree-BMXCQl-0.js +0 -14
- package/dist/assets/PhEnvelope-yUsis6yU.js +0 -14
- package/dist/assets/PhFunnelSimple-Ba7BbWTp.js +0 -14
- package/dist/assets/PhGlobe-DgLxBk5U.js +0 -14
- package/dist/assets/PhIdentificationCard-Czjmq9Z3.js +0 -14
- package/dist/assets/PhImage-BAJ_erz6.js +0 -14
- package/dist/assets/PhInfo-Cr4DhVUE.js +0 -14
- package/dist/assets/PhLightbulb-BX_7duTr.js +0 -14
- package/dist/assets/PhMagnifyingGlass-Mygfryvz.js +0 -14
- package/dist/assets/PhPaperPlaneRight-BeuCA660.js +0 -14
- package/dist/assets/PhPlus-BMjcHjsT.js +0 -14
- package/dist/assets/PhPower-CGffGmdb.js +0 -14
- package/dist/assets/PhPuzzlePiece-wm_GpVSi.js +0 -14
- package/dist/assets/PhQrCode-DRwRzXCH.js +0 -14
- package/dist/assets/PhQuestion-M09j2U0T.js +0 -14
- package/dist/assets/PhQuestionMark-BP9EMB6h.js +0 -14
- package/dist/assets/PhSealCheck-BfG80yKn.js +0 -14
- package/dist/assets/PhSignOut-C5YOWlPT.js +0 -14
- package/dist/assets/PhSpinner-BXooDYzU.js +0 -14
- package/dist/assets/PhTrash-Biq6rmmL.js +0 -14
- package/dist/assets/PhUser-CAgZSpGe.js +0 -14
- package/dist/assets/PhVault-l2PHF38a.js +0 -14
- package/dist/assets/PhWallet-w25D16It.js +0 -14
- package/dist/assets/PhWarning-DPEydIPw.js +0 -14
- package/dist/assets/PhWarningCircle-BqjT745H.js +0 -14
- package/dist/assets/PhX-s-SmVExa.js +0 -14
- package/dist/assets/SwapController-If0bFrNc.js +0 -1
- package/dist/assets/ccip-BBB7uCdL.js +0 -1
- package/dist/assets/ccip-CkkdfKKI.js +0 -1
- package/dist/assets/data-capture-D4gAy-Yc.js +0 -242
- package/dist/assets/email-B1AJehis.js +0 -90
- package/dist/assets/embedded-wallet-Q6DQopDk.js +0 -410
- package/dist/assets/features-B6JAPAFb.js +0 -5
- package/dist/assets/index-5jd8RPN9.js +0 -7428
- package/dist/assets/index-B4kNtSTk.js +0 -1080
- package/dist/assets/index-B753eAob.js +0 -1
- package/dist/assets/index-BZoLTv77.js +0 -3
- package/dist/assets/index-Bcw9UURX.js +0 -3
- package/dist/assets/index-BkrV-ahK.js +0 -2
- package/dist/assets/index-CRQzQ_up.js +0 -9
- package/dist/assets/index-CSW0Gt5y.js +0 -132
- package/dist/assets/index-CZ4jTIsk.js +0 -138
- package/dist/assets/index-Cwa8SB3h.js +0 -61
- package/dist/assets/index-DEwQgT4r.js +0 -78
- package/dist/assets/index-DVfQiQ1d.js +0 -1
- package/dist/assets/index-cV3UdaMs.css +0 -1
- package/dist/assets/index-hAmu622O.js +0 -43
- package/dist/assets/onramp-XcPNCLRU.js +0 -422
- package/dist/assets/pay-with-exchange-BeHt4OF4.js +0 -280
- package/dist/assets/property-C9JG5tag.js +0 -27
- package/dist/assets/receive-7ff4he2S.js +0 -131
- package/dist/assets/send-CkMBIRXT.js +0 -554
- package/dist/assets/socials-DmmxuLrP.js +0 -250
- package/dist/assets/swaps-IHAYRQ0x.js +0 -1050
- package/dist/assets/transactions-9Cxdk7o9.js +0 -16
- package/dist/assets/v4-BOvFkHkt.js +0 -1
- package/dist/assets/w3m-modal-kJzFnBfB.js +0 -891
- package/dist/assets/wallet-standard-Dv8LMoUB.js +0 -1
- package/dist/favicon.png +0 -0
- package/dist/favicon.svg +0 -11
- package/dist/icon-192x192.png +0 -0
- package/dist/icon-512x512.png +0 -0
- package/dist/index.html +0 -33
- package/index.html +0 -32
- package/public/favicon.png +0 -0
- package/public/favicon.svg +0 -11
- package/public/icon-192x192.png +0 -0
- package/public/icon-512x512.png +0 -0
- package/railway.toml +0 -10
- package/src/api/client.ts +0 -95
- package/src/components/AddressInputModal.css +0 -173
- package/src/components/AddressInputModal.tsx +0 -250
- package/src/components/ApprovalStep.tsx +0 -92
- package/src/components/ExecutionStep.tsx +0 -27
- package/src/components/InputStep.tsx +0 -431
- package/src/components/QuoteSelector.css +0 -146
- package/src/components/QuoteSelector.tsx +0 -137
- package/src/components/QuotesModal.css +0 -250
- package/src/components/QuotesModal.tsx +0 -182
- package/src/components/SettingsModal.css +0 -145
- package/src/components/SettingsModal.tsx +0 -180
- package/src/components/StatusStep.tsx +0 -139
- package/src/components/SwapWidget.css +0 -713
- package/src/components/SwapWidget.tsx +0 -607
- package/src/components/TokenSelectModal.css +0 -438
- package/src/components/TokenSelectModal.tsx +0 -487
- package/src/components/WalletProvider.tsx +0 -92
- package/src/config/appkit.ts +0 -104
- package/src/config/wagmi.ts +0 -27
- package/src/constants/chains.ts +0 -72
- package/src/constants/defaults.ts +0 -28
- package/src/constants/swappers.ts +0 -48
- package/src/constants/viemChains.ts +0 -69
- package/src/contexts/SwapWalletContext.tsx +0 -25
- package/src/demo/App.css +0 -458
- package/src/demo/App.tsx +0 -481
- package/src/demo/main.tsx +0 -25
- package/src/hooks/useAssets.ts +0 -180
- package/src/hooks/useBalances.ts +0 -822
- package/src/hooks/useBitcoinSigning.ts +0 -276
- package/src/hooks/useMarketData.ts +0 -169
- package/src/hooks/useSolanaSigning.ts +0 -275
- package/src/hooks/useStatusPolling.ts +0 -137
- package/src/hooks/useSwapApproval.ts +0 -106
- package/src/hooks/useSwapDisplayValues.ts +0 -157
- package/src/hooks/useSwapExecution.ts +0 -199
- package/src/hooks/useSwapHandlers.ts +0 -119
- package/src/hooks/useSwapQuote.ts +0 -71
- package/src/hooks/useSwapQuoting.ts +0 -102
- package/src/hooks/useSwapRates.ts +0 -61
- package/src/index.ts +0 -43
- package/src/machines/SwapMachineContext.ts +0 -5
- package/src/machines/__tests__/guards.test.ts +0 -228
- package/src/machines/__tests__/setup.test.ts +0 -7
- package/src/machines/__tests__/swapMachine.test.ts +0 -544
- package/src/machines/__tests__/types.test.ts +0 -124
- package/src/machines/guards.ts +0 -33
- package/src/machines/swapMachine.ts +0 -288
- package/src/machines/types.ts +0 -54
- package/src/services/transactionStatus.ts +0 -322
- package/src/types/index.ts +0 -361
- package/src/utils/addressValidation.ts +0 -201
- package/src/utils/redirect.ts +0 -45
- package/src/vite-env.d.ts +0 -10
- package/tsconfig.json +0 -23
- package/tsconfig.node.json +0 -10
- package/vite.config.ts +0 -101
- package/vitest.config.ts +0 -18
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 ShapeShift
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ An embeddable React widget that enables multi-chain token swaps using ShapeShift
|
|
|
18
18
|
## Installation
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
|
|
21
|
+
pnpm add @shapeshiftoss/swap-widget
|
|
22
22
|
# or
|
|
23
23
|
npm install @shapeshiftoss/swap-widget
|
|
24
24
|
```
|
|
@@ -44,7 +44,7 @@ import { SwapWidget } from "@shapeshiftoss/swap-widget";
|
|
|
44
44
|
function App() {
|
|
45
45
|
return (
|
|
46
46
|
<SwapWidget
|
|
47
|
-
|
|
47
|
+
partnerCode="your-partner-code"
|
|
48
48
|
theme="dark"
|
|
49
49
|
onSwapSuccess={(txHash) => console.log("Success:", txHash)}
|
|
50
50
|
onSwapError={(error) => console.error("Error:", error)}
|
|
@@ -59,7 +59,7 @@ function App() {
|
|
|
59
59
|
|
|
60
60
|
| Prop | Type | Default | Description |
|
|
61
61
|
| ------------------------ | ----------------------------------------------- | ---------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
62
|
-
| `
|
|
62
|
+
| `partnerCode` | `string` | - | Your registered partner code for affiliate fee attribution. Register at the affiliate dashboard. |
|
|
63
63
|
| `apiBaseUrl` | `string` | - | Custom API base URL. Useful for testing or custom deployments. |
|
|
64
64
|
| `defaultSellAsset` | `Asset` | ETH on Ethereum | Initial asset to sell. |
|
|
65
65
|
| `defaultBuyAsset` | `Asset` | USDC on Ethereum | Initial asset to buy. |
|
|
@@ -132,7 +132,7 @@ function App() {
|
|
|
132
132
|
import { SwapWidget } from "@shapeshiftoss/swap-widget";
|
|
133
133
|
|
|
134
134
|
function App() {
|
|
135
|
-
return <SwapWidget
|
|
135
|
+
return <SwapWidget partnerCode="your-partner-code" theme="dark" />;
|
|
136
136
|
}
|
|
137
137
|
```
|
|
138
138
|
|
|
@@ -149,7 +149,7 @@ function App() {
|
|
|
149
149
|
|
|
150
150
|
return (
|
|
151
151
|
<SwapWidget
|
|
152
|
-
|
|
152
|
+
partnerCode="your-partner-code"
|
|
153
153
|
walletClient={walletClient}
|
|
154
154
|
onConnectWallet={() => {
|
|
155
155
|
// Your custom wallet connection logic
|
|
@@ -198,7 +198,7 @@ const defaultBuyAsset: Asset = {
|
|
|
198
198
|
function App() {
|
|
199
199
|
return (
|
|
200
200
|
<SwapWidget
|
|
201
|
-
|
|
201
|
+
partnerCode="your-partner-code"
|
|
202
202
|
defaultSellAsset={defaultSellAsset}
|
|
203
203
|
defaultBuyAsset={defaultBuyAsset}
|
|
204
204
|
theme="dark"
|
|
@@ -217,7 +217,7 @@ import { SwapWidget, EVM_CHAIN_IDS } from "@shapeshiftoss/swap-widget";
|
|
|
217
217
|
function App() {
|
|
218
218
|
return (
|
|
219
219
|
<SwapWidget
|
|
220
|
-
|
|
220
|
+
partnerCode="your-partner-code"
|
|
221
221
|
allowedChainIds={[
|
|
222
222
|
EVM_CHAIN_IDS.ethereum,
|
|
223
223
|
EVM_CHAIN_IDS.polygon,
|
|
@@ -242,7 +242,7 @@ import { SwapWidget } from "@shapeshiftoss/swap-widget";
|
|
|
242
242
|
function App() {
|
|
243
243
|
return (
|
|
244
244
|
<SwapWidget
|
|
245
|
-
|
|
245
|
+
partnerCode="your-partner-code"
|
|
246
246
|
enableWalletConnection={true}
|
|
247
247
|
walletConnectProjectId="your-walletconnect-project-id"
|
|
248
248
|
theme="dark"
|
|
@@ -267,7 +267,7 @@ import { SwapWidget } from "@shapeshiftoss/swap-widget";
|
|
|
267
267
|
function App() {
|
|
268
268
|
return (
|
|
269
269
|
<SwapWidget
|
|
270
|
-
|
|
270
|
+
partnerCode="your-partner-code"
|
|
271
271
|
defaultReceiveAddress="0x1234567890abcdef1234567890abcdef12345678"
|
|
272
272
|
theme="dark"
|
|
273
273
|
/>
|
|
@@ -481,9 +481,16 @@ The widget supports swaps across multiple blockchain types:
|
|
|
481
481
|
- **Solana swaps** - Solana transactions can be signed via Phantom, Solflare, or other Solana wallets when using the built-in wallet connection.
|
|
482
482
|
- **Unsupported chains** - Swaps involving chains without wallet support will redirect to [app.shapeshift.com](https://app.shapeshift.com) to complete the transaction.
|
|
483
483
|
|
|
484
|
-
###
|
|
484
|
+
### Partner Codes
|
|
485
485
|
|
|
486
|
-
|
|
486
|
+
Register an affiliate account at the affiliate dashboard and claim a partner code (e.g. `vultisig`, `venice`). Pass it via the `partnerCode` prop on the widget, or the `X-Partner-Code` header when using the REST API directly:
|
|
487
|
+
|
|
488
|
+
```
|
|
489
|
+
GET /v1/swap/rates?...
|
|
490
|
+
X-Partner-Code: your-partner-code
|
|
491
|
+
```
|
|
492
|
+
|
|
493
|
+
The API resolves the partner code to the registered affiliate address and BPS automatically.
|
|
487
494
|
|
|
488
495
|
### Internal QueryClient
|
|
489
496
|
|
package/package.json
CHANGED
|
@@ -1,59 +1,108 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapeshiftoss/swap-widget",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"private": false,
|
|
3
|
+
"version": "0.2.0",
|
|
5
4
|
"description": "Embeddable swap widget using ShapeShift API",
|
|
5
|
+
"repository": "https://github.com/shapeshift/web",
|
|
6
|
+
"license": "MIT",
|
|
6
7
|
"type": "module",
|
|
7
|
-
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
"test:watch": "vitest"
|
|
9
|
+
"style": "dist/index.css",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./style.css": "./dist/index.css"
|
|
18
17
|
},
|
|
18
|
+
"sideEffects": [
|
|
19
|
+
"*.css"
|
|
20
|
+
],
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"README.md"
|
|
24
|
+
],
|
|
19
25
|
"dependencies": {
|
|
26
|
+
"@xstate/react": "5.0.5",
|
|
27
|
+
"bech32": "^2.0.0",
|
|
28
|
+
"bs58check": "^4.0.0",
|
|
29
|
+
"cashaddrjs": "^0.3.12",
|
|
30
|
+
"p-queue": "^8.0.1",
|
|
31
|
+
"react-virtuoso": "^4.7.11",
|
|
32
|
+
"xstate": "5.28.0",
|
|
33
|
+
"@shapeshiftoss/caip": "^8.16.7",
|
|
34
|
+
"@shapeshiftoss/utils": "^1.0.5",
|
|
35
|
+
"@shapeshiftoss/types": "^8.6.7"
|
|
36
|
+
},
|
|
37
|
+
"peerDependencies": {
|
|
38
|
+
"@wagmi/core": "^2.0.0",
|
|
20
39
|
"@reown/appkit": "^1.8.17",
|
|
21
40
|
"@reown/appkit-adapter-bitcoin": "^1.8.17",
|
|
22
41
|
"@reown/appkit-adapter-solana": "^1.8.17",
|
|
23
42
|
"@reown/appkit-adapter-wagmi": "^1.8.17",
|
|
24
|
-
"@shapeshiftoss/caip": "^8.16.7",
|
|
25
|
-
"@shapeshiftoss/types": "^8.6.7",
|
|
26
|
-
"@shapeshiftoss/utils": "^1.0.6",
|
|
27
43
|
"@solana/wallet-adapter-wallets": "^0.19.32",
|
|
28
|
-
"@solana/web3.js": "1.98.0",
|
|
44
|
+
"@solana/web3.js": "^1.98.0",
|
|
29
45
|
"@tanstack/react-query": "^5.69.0",
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
46
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
47
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
48
|
+
"viem": "^2.43.5",
|
|
49
|
+
"wagmi": "^3.3.0"
|
|
50
|
+
},
|
|
51
|
+
"peerDependenciesMeta": {
|
|
52
|
+
"@reown/appkit": {
|
|
53
|
+
"optional": true
|
|
54
|
+
},
|
|
55
|
+
"@reown/appkit-adapter-bitcoin": {
|
|
56
|
+
"optional": true
|
|
57
|
+
},
|
|
58
|
+
"@reown/appkit-adapter-solana": {
|
|
59
|
+
"optional": true
|
|
60
|
+
},
|
|
61
|
+
"@reown/appkit-adapter-wagmi": {
|
|
62
|
+
"optional": true
|
|
63
|
+
},
|
|
64
|
+
"@solana/wallet-adapter-wallets": {
|
|
65
|
+
"optional": true
|
|
66
|
+
},
|
|
67
|
+
"@solana/web3.js": {
|
|
68
|
+
"optional": true
|
|
69
|
+
}
|
|
37
70
|
},
|
|
38
71
|
"devDependencies": {
|
|
72
|
+
"@wagmi/core": "^2.0.0",
|
|
73
|
+
"@reown/appkit": "^1.8.17",
|
|
74
|
+
"@reown/appkit-adapter-bitcoin": "^1.8.17",
|
|
75
|
+
"@reown/appkit-adapter-solana": "^1.8.17",
|
|
76
|
+
"@reown/appkit-adapter-wagmi": "^1.8.17",
|
|
77
|
+
"@solana/wallet-adapter-wallets": "^0.19.32",
|
|
78
|
+
"@solana/web3.js": "1.98.0",
|
|
79
|
+
"@tanstack/react-query": "^5.69.0",
|
|
39
80
|
"@testing-library/jest-dom": "6.9.1",
|
|
40
81
|
"@testing-library/react": "16.3.2",
|
|
82
|
+
"@types/node": "^22.0.0",
|
|
41
83
|
"@types/react": "^19.0.0",
|
|
42
84
|
"@types/react-dom": "^19.0.0",
|
|
43
85
|
"@vitejs/plugin-react": "^4.2.0",
|
|
44
86
|
"jsdom": "28.0.0",
|
|
45
87
|
"react": "^19.0.0",
|
|
46
88
|
"react-dom": "^19.0.0",
|
|
89
|
+
"tsup": "^8.5.1",
|
|
47
90
|
"typescript": "~5.2.2",
|
|
91
|
+
"viem": "2.43.5",
|
|
48
92
|
"vite": "^5.0.0",
|
|
49
93
|
"vite-plugin-node-polyfills": "0.23.0",
|
|
50
|
-
"vitest": "4.0.18"
|
|
51
|
-
|
|
52
|
-
"peerDependencies": {
|
|
53
|
-
"react": ">=18.0.0",
|
|
54
|
-
"react-dom": ">=18.0.0"
|
|
94
|
+
"vitest": "4.0.18",
|
|
95
|
+
"wagmi": "3.3.2"
|
|
55
96
|
},
|
|
56
97
|
"publishConfig": {
|
|
57
98
|
"access": "public"
|
|
99
|
+
},
|
|
100
|
+
"scripts": {
|
|
101
|
+
"clean": "rm -rf dist node_modules",
|
|
102
|
+
"build": "rm -rf dist && tsc && tsup",
|
|
103
|
+
"build:demo": "rm -rf dist && vite build",
|
|
104
|
+
"dev": "vite",
|
|
105
|
+
"preview": "vite preview",
|
|
106
|
+
"test": "vitest run"
|
|
58
107
|
}
|
|
59
108
|
}
|
package/Dockerfile
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
# syntax=docker/dockerfile:1
|
|
2
|
-
|
|
3
|
-
# Build stage
|
|
4
|
-
FROM node:22-alpine AS builder
|
|
5
|
-
|
|
6
|
-
WORKDIR /app
|
|
7
|
-
|
|
8
|
-
# Install build dependencies (including Java for unchained-client code generation)
|
|
9
|
-
RUN apk add --no-cache python3 make g++ openjdk17-jre
|
|
10
|
-
|
|
11
|
-
# Copy workspace files
|
|
12
|
-
COPY package.json yarn.lock .yarnrc.yml ./
|
|
13
|
-
COPY .yarn ./.yarn
|
|
14
|
-
|
|
15
|
-
# Copy all workspace package.json files for resolution (yarn requires all workspaces present)
|
|
16
|
-
COPY packages/caip/package.json ./packages/caip/
|
|
17
|
-
COPY packages/chain-adapters/package.json ./packages/chain-adapters/
|
|
18
|
-
COPY packages/contracts/package.json ./packages/contracts/
|
|
19
|
-
COPY packages/errors/package.json ./packages/errors/
|
|
20
|
-
COPY packages/hdwallet-coinbase/package.json ./packages/hdwallet-coinbase/
|
|
21
|
-
COPY packages/hdwallet-core/package.json ./packages/hdwallet-core/
|
|
22
|
-
COPY packages/hdwallet-gridplus/package.json ./packages/hdwallet-gridplus/
|
|
23
|
-
COPY packages/hdwallet-integration/package.json ./packages/hdwallet-integration/
|
|
24
|
-
COPY packages/hdwallet-keepkey/package.json ./packages/hdwallet-keepkey/
|
|
25
|
-
COPY packages/hdwallet-keepkey-electron/package.json ./packages/hdwallet-keepkey-electron/
|
|
26
|
-
COPY packages/hdwallet-keepkey-nodehid/package.json ./packages/hdwallet-keepkey-nodehid/
|
|
27
|
-
COPY packages/hdwallet-keepkey-nodewebusb/package.json ./packages/hdwallet-keepkey-nodewebusb/
|
|
28
|
-
COPY packages/hdwallet-keepkey-tcp/package.json ./packages/hdwallet-keepkey-tcp/
|
|
29
|
-
COPY packages/hdwallet-keepkey-webusb/package.json ./packages/hdwallet-keepkey-webusb/
|
|
30
|
-
COPY packages/hdwallet-keplr/package.json ./packages/hdwallet-keplr/
|
|
31
|
-
COPY packages/hdwallet-ledger/package.json ./packages/hdwallet-ledger/
|
|
32
|
-
COPY packages/hdwallet-ledger-webhid/package.json ./packages/hdwallet-ledger-webhid/
|
|
33
|
-
COPY packages/hdwallet-ledger-webusb/package.json ./packages/hdwallet-ledger-webusb/
|
|
34
|
-
COPY packages/hdwallet-metamask-multichain/package.json ./packages/hdwallet-metamask-multichain/
|
|
35
|
-
COPY packages/hdwallet-native/package.json ./packages/hdwallet-native/
|
|
36
|
-
COPY packages/hdwallet-native-vault/package.json ./packages/hdwallet-native-vault/
|
|
37
|
-
COPY packages/hdwallet-phantom/package.json ./packages/hdwallet-phantom/
|
|
38
|
-
COPY packages/hdwallet-sandbox/package.json ./packages/hdwallet-sandbox/
|
|
39
|
-
COPY packages/hdwallet-trezor/package.json ./packages/hdwallet-trezor/
|
|
40
|
-
COPY packages/hdwallet-trezor-connect/package.json ./packages/hdwallet-trezor-connect/
|
|
41
|
-
COPY packages/hdwallet-vultisig/package.json ./packages/hdwallet-vultisig/
|
|
42
|
-
COPY packages/hdwallet-walletconnectv2/package.json ./packages/hdwallet-walletconnectv2/
|
|
43
|
-
COPY packages/hdwallet-seeker/package.json ./packages/hdwallet-seeker/
|
|
44
|
-
COPY packages/public-api/package.json ./packages/public-api/
|
|
45
|
-
COPY packages/swapper/package.json ./packages/swapper/
|
|
46
|
-
COPY packages/swap-widget/package.json ./packages/swap-widget/
|
|
47
|
-
COPY packages/types/package.json ./packages/types/
|
|
48
|
-
COPY packages/unchained-client/package.json ./packages/unchained-client/
|
|
49
|
-
COPY packages/utils/package.json ./packages/utils/
|
|
50
|
-
|
|
51
|
-
# Install dependencies (skip build/postinstall scripts that require git/cypress/etc)
|
|
52
|
-
RUN --mount=type=cache,id=s/4cafb297-3349-46e2-bfef-8210504e0583-/root/.yarn/berry/cache,target=/root/.yarn/berry/cache \
|
|
53
|
-
yarn install --immutable --mode skip-build
|
|
54
|
-
|
|
55
|
-
# Copy unchained-client config and generator files FIRST (rarely changes, enables layer caching)
|
|
56
|
-
COPY packages/unchained-client/openapitools.json ./packages/unchained-client/
|
|
57
|
-
COPY packages/unchained-client/generator/ ./packages/unchained-client/generator/
|
|
58
|
-
|
|
59
|
-
# Generate unchained-client code (required by tsc --build for workspace packages)
|
|
60
|
-
RUN --mount=type=cache,id=s/4cafb297-3349-46e2-bfef-8210504e0583-/root/.openapitools,target=/root/.openapitools \
|
|
61
|
-
yarn workspace @shapeshiftoss/unchained-client generate
|
|
62
|
-
|
|
63
|
-
# Copy remaining source files
|
|
64
|
-
COPY packages/ ./packages/
|
|
65
|
-
COPY public/generated/generatedAssetData.json ./public/generated/
|
|
66
|
-
COPY tsconfig.json tsconfig.packages.json ./
|
|
67
|
-
|
|
68
|
-
# Build all packages using parallel tsc with project references
|
|
69
|
-
RUN yarn run -T tsc --build tsconfig.packages.json && yarn postbuild:packages
|
|
70
|
-
|
|
71
|
-
# Build the swap-widget
|
|
72
|
-
WORKDIR /app/packages/swap-widget
|
|
73
|
-
RUN yarn build
|
|
74
|
-
|
|
75
|
-
# Production stage
|
|
76
|
-
FROM node:22-alpine AS runner
|
|
77
|
-
|
|
78
|
-
RUN npm install -g serve
|
|
79
|
-
|
|
80
|
-
WORKDIR /app
|
|
81
|
-
|
|
82
|
-
# Copy only the built static files (node_modules not needed - vite bundles everything)
|
|
83
|
-
COPY --from=builder /app/packages/swap-widget/dist ./dist
|
|
84
|
-
|
|
85
|
-
EXPOSE 3000
|
|
86
|
-
|
|
87
|
-
CMD ["serve", "-s", "dist", "-l", "3000"]
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{n as g,Y as c,t as r,p as d,O as s,s as A}from"./property-C9JG5tag.js";var m=Object.defineProperty,w=Object.getOwnPropertyDescriptor,l=(a,o,p,i)=>{for(var e=i>1?void 0:i?w(o,p):o,h=a.length-1,n;h>=0;h--)(n=a[h])&&(e=(i?n(o,p,e):n(e))||e);return i&&e&&m(o,p,e),e};let t=class extends g{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var a;return c`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${t.weightsMap.get((a=this.weight)!=null?a:"regular")}
|
|
10
|
-
</svg>`}};t.weightsMap=new Map([["thin",r`<path d="M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm34.83-86.83a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66,0l-32-32a4,4,0,0,1,5.66-5.66L124,158.34V88a4,4,0,0,1,8,0v70.34l25.17-25.17A4,4,0,0,1,162.83,133.17Z"/>`],["light",r`<path d="M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm36.24-86.24a6,6,0,0,1,0,8.48l-32,32a6,6,0,0,1-8.48,0l-32-32a6,6,0,0,1,8.48-8.48L122,153.51V88a6,6,0,0,1,12,0v65.51l21.76-21.75A6,6,0,0,1,164.24,131.76Z"/>`],["regular",r`<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm37.66-85.66a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L120,148.69V88a8,8,0,0,1,16,0v60.69l18.34-18.35A8,8,0,0,1,165.66,130.34Z"/>`],["bold",r`<path d="M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm40.49-84.49a12,12,0,0,1,0,17l-32,32a12,12,0,0,1-17,0l-32-32a12,12,0,1,1,17-17L116,139V88a12,12,0,0,1,24,0v51l11.51-11.52A12,12,0,0,1,168.49,127.51Z"/>`],["fill",r`<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,117.66-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L120,148.69V88a8,8,0,0,1,16,0v60.69l18.34-18.35a8,8,0,0,1,11.32,11.32Z"/>`],["duotone",r`<path d="M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z" opacity="0.2"/><path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm37.66-85.66a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L120,148.69V88a8,8,0,0,1,16,0v60.69l18.34-18.35A8,8,0,0,1,165.66,130.34Z"/>`]]);t.styles=d`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;l([s({type:String,reflect:!0})],t.prototype,"size",2);l([s({type:String,reflect:!0})],t.prototype,"weight",2);l([s({type:String,reflect:!0})],t.prototype,"color",2);l([s({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=l([A("ph-arrow-circle-down")],t);export{t as PhArrowCircleDown};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{n as g,Y as c,t as r,p as d,O as i,s as w}from"./property-C9JG5tag.js";var u=Object.defineProperty,A=Object.getOwnPropertyDescriptor,o=(a,l,s,h)=>{for(var e=h>1?void 0:h?A(l,s):l,p=a.length-1,n;p>=0;p--)(n=a[p])&&(e=(h?n(l,s,e):n(e))||e);return h&&e&&u(l,s,e),e};let t=class extends g{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var a;return c`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${t.weightsMap.get((a=this.weight)!=null?a:"regular")}
|
|
10
|
-
</svg>`}};t.weightsMap=new Map([["thin",r`<path d="M236,56v48a4,4,0,0,1-4,4H184a4,4,0,0,1,0-8h37.7L187.53,68.69l-.13-.12a84,84,0,1,0-1.75,120.51,4,4,0,0,1,5.5,5.82A91.43,91.43,0,0,1,128,220h-1.26A92,92,0,1,1,193,62.84l35,32.05V56a4,4,0,1,1,8,0Z"/>`],["light",r`<path d="M238,56v48a6,6,0,0,1-6,6H184a6,6,0,0,1,0-12h32.55l-30.38-27.8c-.06-.06-.12-.13-.19-.19a82,82,0,1,0-1.7,117.65,6,6,0,0,1,8.24,8.73A93.46,93.46,0,0,1,128,222h-1.28A94,94,0,1,1,194.37,61.4L226,90.35V56a6,6,0,1,1,12,0Z"/>`],["regular",r`<path d="M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"/>`],["bold",r`<path d="M244,56v48a12,12,0,0,1-12,12H184a12,12,0,1,1,0-24H201.1l-19-17.38c-.13-.12-.26-.24-.38-.37A76,76,0,1,0,127,204h1a75.53,75.53,0,0,0,52.15-20.72,12,12,0,0,1,16.49,17.45A99.45,99.45,0,0,1,128,228h-1.37A100,100,0,1,1,198.51,57.06L220,76.72V56a12,12,0,0,1,24,0Z"/>`],["fill",r`<path d="M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1-5.66-13.66l17-17-10.55-9.65-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,1,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60l10.93,10L226.34,50.3A8,8,0,0,1,240,56Z"/>`],["duotone",r`<path d="M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z" opacity="0.2"/><path d="M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"/>`]]);t.styles=d`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;o([i({type:String,reflect:!0})],t.prototype,"size",2);o([i({type:String,reflect:!0})],t.prototype,"weight",2);o([i({type:String,reflect:!0})],t.prototype,"color",2);o([i({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=o([w("ph-arrow-clockwise")],t);export{t as PhArrowClockwise};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{n as g,Y as d,t as r,p as w,O as s,s as c}from"./property-C9JG5tag.js";var u=Object.defineProperty,y=Object.getOwnPropertyDescriptor,l=(a,o,h,i)=>{for(var e=i>1?void 0:i?y(o,h):o,p=a.length-1,n;p>=0;p--)(n=a[p])&&(e=(i?n(o,h,e):n(e))||e);return i&&e&&u(o,h,e),e};let t=class extends g{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var a;return d`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${t.weightsMap.get((a=this.weight)!=null?a:"regular")}
|
|
10
|
-
</svg>`}};t.weightsMap=new Map([["thin",r`<path d="M202.83,146.83l-72,72a4,4,0,0,1-5.66,0l-72-72a4,4,0,0,1,5.66-5.66L124,206.34V40a4,4,0,0,1,8,0V206.34l65.17-65.17a4,4,0,0,1,5.66,5.66Z"/>`],["light",r`<path d="M204.24,148.24l-72,72a6,6,0,0,1-8.48,0l-72-72a6,6,0,0,1,8.48-8.48L122,201.51V40a6,6,0,0,1,12,0V201.51l61.76-61.75a6,6,0,0,1,8.48,8.48Z"/>`],["regular",r`<path d="M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72a8,8,0,0,1,11.32-11.32L120,196.69V40a8,8,0,0,1,16,0V196.69l58.34-58.35a8,8,0,0,1,11.32,11.32Z"/>`],["bold",r`<path d="M208.49,152.49l-72,72a12,12,0,0,1-17,0l-72-72a12,12,0,0,1,17-17L116,187V40a12,12,0,0,1,24,0V187l51.51-51.52a12,12,0,0,1,17,17Z"/>`],["fill",r`<path d="M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72A8,8,0,0,1,56,136h64V40a8,8,0,0,1,16,0v96h64a8,8,0,0,1,5.66,13.66Z"/>`],["duotone",r`<path d="M200,144l-72,72L56,144Z" opacity="0.2"/><path d="M207.39,140.94A8,8,0,0,0,200,136H136V40a8,8,0,0,0-16,0v96H56a8,8,0,0,0-5.66,13.66l72,72a8,8,0,0,0,11.32,0l72-72A8,8,0,0,0,207.39,140.94ZM128,204.69,75.31,152H180.69Z"/>`]]);t.styles=w`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;l([s({type:String,reflect:!0})],t.prototype,"size",2);l([s({type:String,reflect:!0})],t.prototype,"weight",2);l([s({type:String,reflect:!0})],t.prototype,"color",2);l([s({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=l([c("ph-arrow-down")],t);export{t as PhArrowDown};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{n as g,Y as d,t as r,p as c,O as s,s as u}from"./property-C9JG5tag.js";var w=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l=(a,o,h,i)=>{for(var e=i>1?void 0:i?f(o,h):o,p=a.length-1,n;p>=0;p--)(n=a[p])&&(e=(i?n(o,h,e):n(e))||e);return i&&e&&w(o,h,e),e};let t=class extends g{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var a;return d`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${t.weightsMap.get((a=this.weight)!=null?a:"regular")}
|
|
10
|
-
</svg>`}};t.weightsMap=new Map([["thin",r`<path d="M220,128a4,4,0,0,1-4,4H49.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,0,1,5.66,5.66L49.66,124H216A4,4,0,0,1,220,128Z"/>`],["light",r`<path d="M222,128a6,6,0,0,1-6,6H54.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L54.49,122H216A6,6,0,0,1,222,128Z"/>`],["regular",r`<path d="M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z"/>`],["bold",r`<path d="M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z"/>`],["fill",r`<path d="M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z"/>`],["duotone",r`<path d="M112,56V200L40,128Z" opacity="0.2"/><path d="M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z"/>`]]);t.styles=c`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;l([s({type:String,reflect:!0})],t.prototype,"size",2);l([s({type:String,reflect:!0})],t.prototype,"weight",2);l([s({type:String,reflect:!0})],t.prototype,"color",2);l([s({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=l([u("ph-arrow-left")],t);export{t as PhArrowLeft};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{n,Y as d,t as r,p as c,O as i,s as u}from"./property-C9JG5tag.js";var w=Object.defineProperty,y=Object.getOwnPropertyDescriptor,a=(o,l,h,s)=>{for(var e=s>1?void 0:s?y(l,h):l,p=o.length-1,g;p>=0;p--)(g=o[p])&&(e=(s?g(l,h,e):g(e))||e);return s&&e&&w(l,h,e),e};let t=class extends n{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var o;return d`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${t.weightsMap.get((o=this.weight)!=null?o:"regular")}
|
|
10
|
-
</svg>`}};t.weightsMap=new Map([["thin",r`<path d="M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z"/>`],["light",r`<path d="M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z"/>`],["regular",r`<path d="M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"/>`],["bold",r`<path d="M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"/>`],["fill",r`<path d="M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z"/>`],["duotone",r`<path d="M216,128l-72,72V56Z" opacity="0.2"/><path d="M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z"/>`]]);t.styles=c`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;a([i({type:String,reflect:!0})],t.prototype,"size",2);a([i({type:String,reflect:!0})],t.prototype,"weight",2);a([i({type:String,reflect:!0})],t.prototype,"color",2);a([i({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=a([u("ph-arrow-right")],t);export{t as PhArrowRight};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{n as V,Y as n,t as e,p as g,O as l,s as u}from"./property-C9JG5tag.js";var c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,o=(r,h,s,i)=>{for(var t=i>1?void 0:i?d(h,s):h,p=r.length-1,H;p>=0;p--)(H=r[p])&&(t=(i?H(h,s,t):H(t))||t);return i&&t&&c(h,s,t),t};let a=class extends V{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var r;return n`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${a.weightsMap.get((r=this.weight)!=null?r:"regular")}
|
|
10
|
-
</svg>`}};a.weightsMap=new Map([["thin",e`<path d="M220,104a4,4,0,0,1-8,0V49.66l-73.16,73.17a4,4,0,0,1-5.66-5.66L206.34,44H152a4,4,0,0,1,0-8h64a4,4,0,0,1,4,4Zm-36,28a4,4,0,0,0-4,4v72a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4h72a4,4,0,0,0,0-8H48A12,12,0,0,0,36,80V208a12,12,0,0,0,12,12H176a12,12,0,0,0,12-12V136A4,4,0,0,0,184,132Z"/>`],["light",e`<path d="M222,104a6,6,0,0,1-12,0V54.49l-69.75,69.75a6,6,0,0,1-8.48-8.48L201.51,46H152a6,6,0,0,1,0-12h64a6,6,0,0,1,6,6Zm-38,26a6,6,0,0,0-6,6v72a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V80a2,2,0,0,1,2-2h72a6,6,0,0,0,0-12H48A14,14,0,0,0,34,80V208a14,14,0,0,0,14,14H176a14,14,0,0,0,14-14V136A6,6,0,0,0,184,130Z"/>`],["regular",e`<path d="M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"/>`],["bold",e`<path d="M228,104a12,12,0,0,1-24,0V69l-59.51,59.51a12,12,0,0,1-17-17L187,52H152a12,12,0,0,1,0-24h64a12,12,0,0,1,12,12Zm-44,24a12,12,0,0,0-12,12v64H52V84h64a12,12,0,0,0,0-24H48A20,20,0,0,0,28,80V208a20,20,0,0,0,20,20H176a20,20,0,0,0,20-20V140A12,12,0,0,0,184,128Z"/>`],["fill",e`<path d="M192,136v72a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V80A16,16,0,0,1,48,64h72a8,8,0,0,1,0,16H48V208H176V136a8,8,0,0,1,16,0Zm32-96a8,8,0,0,0-8-8H152a8,8,0,0,0-5.66,13.66L172.69,72l-42.35,42.34a8,8,0,0,0,11.32,11.32L184,83.31l26.34,26.35A8,8,0,0,0,224,104Z"/>`],["duotone",e`<path d="M184,80V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H176A8,8,0,0,1,184,80Z" opacity="0.2"/><path d="M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"/>`]]);a.styles=g`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;o([l({type:String,reflect:!0})],a.prototype,"size",2);o([l({type:String,reflect:!0})],a.prototype,"weight",2);o([l({type:String,reflect:!0})],a.prototype,"color",2);o([l({type:Boolean,reflect:!0})],a.prototype,"mirrored",2);a=o([u("ph-arrow-square-out")],a);export{a as PhArrowSquareOut};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{n as g,Y as d,t as r,p as u,O as p,s as c}from"./property-C9JG5tag.js";var w=Object.defineProperty,y=Object.getOwnPropertyDescriptor,o=(a,l,s,i)=>{for(var e=i>1?void 0:i?y(l,s):l,h=a.length-1,n;h>=0;h--)(n=a[h])&&(e=(i?n(l,s,e):n(e))||e);return i&&e&&w(l,s,e),e};let t=class extends g{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var a;return d`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${t.weightsMap.get((a=this.weight)!=null?a:"regular")}
|
|
10
|
-
</svg>`}};t.weightsMap=new Map([["thin",r`<path d="M202.83,114.83a4,4,0,0,1-5.66,0L132,49.66V216a4,4,0,0,1-8,0V49.66L58.83,114.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0l72,72A4,4,0,0,1,202.83,114.83Z"/>`],["light",r`<path d="M204.24,116.24a6,6,0,0,1-8.48,0L134,54.49V216a6,6,0,0,1-12,0V54.49L60.24,116.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0l72,72A6,6,0,0,1,204.24,116.24Z"/>`],["regular",r`<path d="M205.66,117.66a8,8,0,0,1-11.32,0L136,59.31V216a8,8,0,0,1-16,0V59.31L61.66,117.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,117.66Z"/>`],["bold",r`<path d="M208.49,120.49a12,12,0,0,1-17,0L140,69V216a12,12,0,0,1-24,0V69L64.49,120.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0l72,72A12,12,0,0,1,208.49,120.49Z"/>`],["fill",r`<path d="M207.39,115.06A8,8,0,0,1,200,120H136v96a8,8,0,0,1-16,0V120H56a8,8,0,0,1-5.66-13.66l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,207.39,115.06Z"/>`],["duotone",r`<path d="M200,112H56l72-72Z" opacity="0.2"/><path d="M205.66,106.34l-72-72a8,8,0,0,0-11.32,0l-72,72A8,8,0,0,0,56,120h64v96a8,8,0,0,0,16,0V120h64a8,8,0,0,0,5.66-13.66ZM75.31,104,128,51.31,180.69,104Z"/>`]]);t.styles=u`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;o([p({type:String,reflect:!0})],t.prototype,"size",2);o([p({type:String,reflect:!0})],t.prototype,"weight",2);o([p({type:String,reflect:!0})],t.prototype,"color",2);o([p({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=o([c("ph-arrow-up")],t);export{t as PhArrowUp};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{n as g,Y as d,t as r,p as u,O as p,s as c}from"./property-C9JG5tag.js";var w=Object.defineProperty,L=Object.getOwnPropertyDescriptor,a=(o,s,h,i)=>{for(var e=i>1?void 0:i?L(s,h):s,l=o.length-1,n;l>=0;l--)(n=o[l])&&(e=(i?n(s,h,e):n(e))||e);return i&&e&&w(s,h,e),e};let t=class extends g{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var o;return d`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${t.weightsMap.get((o=this.weight)!=null?o:"regular")}
|
|
10
|
-
</svg>`}};t.weightsMap=new Map([["thin",r`<path d="M196,64V168a4,4,0,0,1-8,0V73.66L66.83,194.83a4,4,0,0,1-5.66-5.66L182.34,68H88a4,4,0,0,1,0-8H192A4,4,0,0,1,196,64Z"/>`],["light",r`<path d="M198,64V168a6,6,0,0,1-12,0V78.48L68.24,196.24a6,6,0,0,1-8.48-8.48L177.52,70H88a6,6,0,0,1,0-12H192A6,6,0,0,1,198,64Z"/>`],["regular",r`<path d="M200,64V168a8,8,0,0,1-16,0V83.31L69.66,197.66a8,8,0,0,1-11.32-11.32L172.69,72H88a8,8,0,0,1,0-16H192A8,8,0,0,1,200,64Z"/>`],["bold",r`<path d="M204,64V168a12,12,0,0,1-24,0V93L72.49,200.49a12,12,0,0,1-17-17L163,76H88a12,12,0,0,1,0-24H192A12,12,0,0,1,204,64Z"/>`],["fill",r`<path d="M200,64V168a8,8,0,0,1-13.66,5.66L140,127.31,69.66,197.66a8,8,0,0,1-11.32-11.32L128.69,116,82.34,69.66A8,8,0,0,1,88,56H192A8,8,0,0,1,200,64Z"/>`],["duotone",r`<path d="M192,64V168L88,64Z" opacity="0.2"/><path d="M192,56H88a8,8,0,0,0-5.66,13.66L128.69,116,58.34,186.34a8,8,0,0,0,11.32,11.32L140,127.31l46.34,46.35A8,8,0,0,0,200,168V64A8,8,0,0,0,192,56Zm-8,92.69-38.34-38.34h0L107.31,72H184Z"/>`]]);t.styles=u`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;a([p({type:String,reflect:!0})],t.prototype,"size",2);a([p({type:String,reflect:!0})],t.prototype,"weight",2);a([p({type:String,reflect:!0})],t.prototype,"color",2);a([p({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=a([c("ph-arrow-up-right")],t);export{t as PhArrowUpRight};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{n as g,Y as c,t as e,p as H,O as s,s as d}from"./property-C9JG5tag.js";var w=Object.defineProperty,A=Object.getOwnPropertyDescriptor,h=(r,o,i,l)=>{for(var t=l>1?void 0:l?A(o,i):o,p=r.length-1,n;p>=0;p--)(n=r[p])&&(t=(l?n(o,i,t):n(t))||t);return l&&t&&w(o,i,t),t};let a=class extends g{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var r;return c`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${a.weightsMap.get((r=this.weight)!=null?r:"regular")}
|
|
10
|
-
</svg>`}};a.weightsMap=new Map([["thin",e`<path d="M220,48V96a4,4,0,0,1-4,4H168a4,4,0,0,1,0-8h38.34L184.89,70.54A84,84,0,0,0,66.8,69.85a4,4,0,1,1-5.6-5.72,92,92,0,0,1,129.34.76L212,86.34V48a4,4,0,0,1,8,0ZM189.2,186.15a83.44,83.44,0,0,1-58.68,23.91h-.47a83.52,83.52,0,0,1-58.94-24.6L49.66,164H88a4,4,0,0,0,0-8H40a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V169.66l21.46,21.45A91.43,91.43,0,0,0,130,218.06h.51a91.45,91.45,0,0,0,64.28-26.19,4,4,0,1,0-5.6-5.72Z"/>`],["light",e`<path d="M222,48V96a6,6,0,0,1-6,6H168a6,6,0,0,1,0-12h33.52L183.47,72a81.51,81.51,0,0,0-57.53-24h-.46A81.5,81.5,0,0,0,68.19,71.28a6,6,0,1,1-8.38-8.58,93.38,93.38,0,0,1,65.67-26.76H126a93.45,93.45,0,0,1,66,27.53l18,18V48a6,6,0,0,1,12,0ZM187.81,184.72a81.5,81.5,0,0,1-57.29,23.34h-.46a81.51,81.51,0,0,1-57.53-24L54.48,166H88a6,6,0,0,0,0-12H40a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V174.48l18,18.05a93.45,93.45,0,0,0,66,27.53h.52a93.38,93.38,0,0,0,65.67-26.76,6,6,0,1,0-8.38-8.58Z"/>`],["regular",e`<path d="M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"/>`],["bold",e`<path d="M228,48V96a12,12,0,0,1-12,12H168a12,12,0,0,1,0-24h19l-7.8-7.8a75.55,75.55,0,0,0-53.32-22.26h-.43A75.49,75.49,0,0,0,72.39,75.57,12,12,0,1,1,55.61,58.41a99.38,99.38,0,0,1,69.87-28.47H126A99.42,99.42,0,0,1,196.2,59.23L204,67V48a12,12,0,0,1,24,0ZM183.61,180.43a75.49,75.49,0,0,1-53.09,21.63h-.43A75.55,75.55,0,0,1,76.77,179.8L69,172H88a12,12,0,0,0,0-24H40a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V189l7.8,7.8A99.42,99.42,0,0,0,130,226.06h.56a99.38,99.38,0,0,0,69.87-28.47,12,12,0,0,0-16.78-17.16Z"/>`],["fill",e`<path d="M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1-5.66-13.66L180.65,72a79.48,79.48,0,0,0-54.72-22.09h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27,96,96,0,0,1,192,60.7l18.36-18.36A8,8,0,0,1,224,48ZM186.41,183.29A80,80,0,0,1,75.35,184l18.31-18.31A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66L64,195.3a95.42,95.42,0,0,0,66,26.76h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"/>`],["duotone",e`<path d="M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z" opacity="0.2"/><path d="M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"/>`]]);a.styles=H`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;h([s({type:String,reflect:!0})],a.prototype,"size",2);h([s({type:String,reflect:!0})],a.prototype,"weight",2);h([s({type:String,reflect:!0})],a.prototype,"color",2);h([s({type:Boolean,reflect:!0})],a.prototype,"mirrored",2);a=h([d("ph-arrows-clockwise")],a);export{a as PhArrowsClockwise};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{n as V,Y as g,t as e,p as d,O as i,s as u}from"./property-C9JG5tag.js";var c=Object.defineProperty,w=Object.getOwnPropertyDescriptor,l=(r,o,p,s)=>{for(var a=s>1?void 0:s?w(o,p):o,h=r.length-1,n;h>=0;h--)(n=r[h])&&(a=(s?n(o,p,a):n(a))||a);return s&&a&&c(o,p,a),a};let t=class extends V{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var r;return g`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${t.weightsMap.get((r=this.weight)!=null?r:"regular")}
|
|
10
|
-
</svg>`}};t.weightsMap=new Map([["thin",e`<path d="M114.83,173.17a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66,0l-32-32a4,4,0,0,1,5.66-5.66L76,198.34V48a4,4,0,0,1,8,0V198.34l25.17-25.17A4,4,0,0,1,114.83,173.17Zm96-96-32-32a4,4,0,0,0-5.66,0l-32,32a4,4,0,0,0,5.66,5.66L172,57.66V208a4,4,0,0,0,8,0V57.66l25.17,25.17a4,4,0,1,0,5.66-5.66Z"/>`],["light",e`<path d="M116.24,171.76a6,6,0,0,1,0,8.48l-32,32a6,6,0,0,1-8.48,0l-32-32a6,6,0,0,1,8.48-8.48L74,193.51V48a6,6,0,0,1,12,0V193.51l21.76-21.75A6,6,0,0,1,116.24,171.76Zm96-96-32-32a6,6,0,0,0-8.48,0l-32,32a6,6,0,0,0,8.48,8.48L170,62.49V208a6,6,0,0,0,12,0V62.49l21.76,21.75a6,6,0,0,0,8.48-8.48Z"/>`],["regular",e`<path d="M117.66,170.34a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L72,188.69V48a8,8,0,0,1,16,0V188.69l18.34-18.35A8,8,0,0,1,117.66,170.34Zm96-96-32-32a8,8,0,0,0-11.32,0l-32,32a8,8,0,0,0,11.32,11.32L168,67.31V208a8,8,0,0,0,16,0V67.31l18.34,18.35a8,8,0,0,0,11.32-11.32Z"/>`],["bold",e`<path d="M120.49,167.51a12,12,0,0,1,0,17l-32,32a12,12,0,0,1-17,0l-32-32a12,12,0,1,1,17-17L68,179V48a12,12,0,0,1,24,0V179l11.51-11.52A12,12,0,0,1,120.49,167.51Zm96-96-32-32a12,12,0,0,0-17,0l-32,32a12,12,0,0,0,17,17L164,77V208a12,12,0,0,0,24,0V77l11.51,11.52a12,12,0,0,0,17-17Z"/>`],["fill",e`<path d="M119.39,172.94a8,8,0,0,1-1.73,8.72l-32,32a8,8,0,0,1-11.32,0l-32-32A8,8,0,0,1,48,168H72V48a8,8,0,0,1,16,0V168h24A8,8,0,0,1,119.39,172.94Zm94.27-98.6-32-32a8,8,0,0,0-11.32,0l-32,32A8,8,0,0,0,144,88h24V208a8,8,0,0,0,16,0V88h24a8,8,0,0,0,5.66-13.66Z"/>`],["duotone",e`<path d="M176,48V208H80V48Z" opacity="0.2"/><path d="M117.66,170.34a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L72,188.69V48a8,8,0,0,1,16,0V188.69l18.34-18.35A8,8,0,0,1,117.66,170.34Zm96-96-32-32a8,8,0,0,0-11.32,0l-32,32a8,8,0,0,0,11.32,11.32L168,67.31V208a8,8,0,0,0,16,0V67.31l18.34,18.35a8,8,0,0,0,11.32-11.32Z"/>`]]);t.styles=d`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;l([i({type:String,reflect:!0})],t.prototype,"size",2);l([i({type:String,reflect:!0})],t.prototype,"weight",2);l([i({type:String,reflect:!0})],t.prototype,"color",2);l([i({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=l([u("ph-arrows-down-up")],t);export{t as PhArrowsDownUp};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{n,Y as g,t as a,p as c,O as s,s as d}from"./property-C9JG5tag.js";var u=Object.defineProperty,L=Object.getOwnPropertyDescriptor,l=(r,i,h,o)=>{for(var e=o>1?void 0:o?L(i,h):i,p=r.length-1,H;p>=0;p--)(H=r[p])&&(e=(o?H(i,h,e):H(e))||e);return o&&e&&u(i,h,e),e};let t=class extends n{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var r;return g`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${t.weightsMap.get((r=this.weight)!=null?r:"regular")}
|
|
10
|
-
</svg>`}};t.weightsMap=new Map([["thin",a`<path d="M210.83,173.17a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66-5.66L198.34,180H48a4,4,0,0,1,0-8H198.34l-25.17-25.17a4,4,0,0,1,5.66-5.66ZM77.17,114.83a4,4,0,0,0,5.66-5.66L57.66,84H208a4,4,0,0,0,0-8H57.66L82.83,50.83a4,4,0,0,0-5.66-5.66l-32,32a4,4,0,0,0,0,5.66Z"/>`],["light",a`<path d="M212.24,171.76a6,6,0,0,1,0,8.48l-32,32a6,6,0,0,1-8.48-8.48L193.51,182H48a6,6,0,0,1,0-12H193.51l-21.75-21.76a6,6,0,0,1,8.48-8.48ZM75.76,116.24a6,6,0,0,0,8.48-8.48L62.49,86H208a6,6,0,0,0,0-12H62.49L84.24,52.24a6,6,0,0,0-8.48-8.48l-32,32a6,6,0,0,0,0,8.48Z"/>`],["regular",a`<path d="M213.66,181.66l-32,32a8,8,0,0,1-11.32-11.32L188.69,184H48a8,8,0,0,1,0-16H188.69l-18.35-18.34a8,8,0,0,1,11.32-11.32l32,32A8,8,0,0,1,213.66,181.66Zm-139.32-64a8,8,0,0,0,11.32-11.32L67.31,88H208a8,8,0,0,0,0-16H67.31L85.66,53.66A8,8,0,0,0,74.34,42.34l-32,32a8,8,0,0,0,0,11.32Z"/>`],["bold",a`<path d="M216.49,184.49l-32,32a12,12,0,0,1-17-17L179,188H48a12,12,0,0,1,0-24H179l-11.52-11.51a12,12,0,0,1,17-17l32,32A12,12,0,0,1,216.49,184.49Zm-145-64a12,12,0,0,0,17-17L77,92H208a12,12,0,0,0,0-24H77L88.49,56.49a12,12,0,0,0-17-17l-32,32a12,12,0,0,0,0,17Z"/>`],["fill",a`<path d="M42.34,85.66a8,8,0,0,1,0-11.32l32-32A8,8,0,0,1,88,48V72H208a8,8,0,0,1,0,16H88v24a8,8,0,0,1-13.66,5.66Zm171.32,84.68-32-32A8,8,0,0,0,168,144v24H48a8,8,0,0,0,0,16H168v24a8,8,0,0,0,13.66,5.66l32-32A8,8,0,0,0,213.66,170.34Z"/>`],["duotone",a`<path d="M208,80v96H48V80Z" opacity="0.2"/><path d="M213.66,181.66l-32,32a8,8,0,0,1-11.32-11.32L188.69,184H48a8,8,0,0,1,0-16H188.69l-18.35-18.34a8,8,0,0,1,11.32-11.32l32,32A8,8,0,0,1,213.66,181.66Zm-139.32-64a8,8,0,0,0,11.32-11.32L67.31,88H208a8,8,0,0,0,0-16H67.31L85.66,53.66A8,8,0,0,0,74.34,42.34l-32,32a8,8,0,0,0,0,11.32Z"/>`]]);t.styles=c`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;l([s({type:String,reflect:!0})],t.prototype,"size",2);l([s({type:String,reflect:!0})],t.prototype,"weight",2);l([s({type:String,reflect:!0})],t.prototype,"color",2);l([s({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=l([d("ph-arrows-left-right")],t);export{t as PhArrowsLeftRight};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{n as p,Y as n,t as a,p as m,O as o,s as v}from"./property-C9JG5tag.js";var M=Object.defineProperty,g=Object.getOwnPropertyDescriptor,H=(r,l,i,h)=>{for(var e=h>1?void 0:h?g(l,i):l,Z=r.length-1,s;Z>=0;Z--)(s=r[Z])&&(e=(h?s(l,i,e):s(e))||e);return h&&e&&M(l,i,e),e};let t=class extends p{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var r;return n`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${t.weightsMap.get((r=this.weight)!=null?r:"regular")}
|
|
10
|
-
</svg>`}};t.weightsMap=new Map([["thin",a`<path d="M24,100H52v72H32a4,4,0,0,0,0,8H224a4,4,0,0,0,0-8H204V100h28a4,4,0,0,0,2.1-7.41l-104-64a4,4,0,0,0-4.2,0l-104,64A4,4,0,0,0,24,100Zm36,0h40v72H60Zm88,0v72H108V100Zm48,72H156V100h40ZM128,36.7,217.87,92H38.13ZM244,208a4,4,0,0,1-4,4H16a4,4,0,0,1,0-8H240A4,4,0,0,1,244,208Z"/>`],["light",a`<path d="M24,102H50v68H32a6,6,0,0,0,0,12H224a6,6,0,0,0,0-12H206V102h26a6,6,0,0,0,3.14-11.11l-104-64a6,6,0,0,0-6.28,0l-104,64A6,6,0,0,0,24,102Zm38,0H98v68H62Zm84,0v68H110V102Zm48,68H158V102h36ZM128,39l82.8,51H45.2ZM246,208a6,6,0,0,1-6,6H16a6,6,0,0,1,0-12H240A6,6,0,0,1,246,208Z"/>`],["regular",a`<path d="M24,104H48v64H32a8,8,0,0,0,0,16H224a8,8,0,0,0,0-16H208V104h24a8,8,0,0,0,4.19-14.81l-104-64a8,8,0,0,0-8.38,0l-104,64A8,8,0,0,0,24,104Zm40,0H96v64H64Zm80,0v64H112V104Zm48,64H160V104h32ZM128,41.39,203.74,88H52.26ZM248,208a8,8,0,0,1-8,8H16a8,8,0,0,1,0-16H240A8,8,0,0,1,248,208Z"/>`],["bold",a`<path d="M24,108H44v48H32a12,12,0,0,0,0,24H224a12,12,0,0,0,0-24H212V108h20a12,12,0,0,0,6.29-22.22l-104-64a12,12,0,0,0-12.58,0l-104,64A12,12,0,0,0,24,108Zm44,0H92v48H68Zm72,0v48H116V108Zm48,48H164V108h24ZM128,46.09,189.6,84H66.4ZM252,208a12,12,0,0,1-12,12H16a12,12,0,0,1,0-24H240A12,12,0,0,1,252,208Z"/>`],["fill",a`<path d="M248,208a8,8,0,0,1-8,8H16a8,8,0,0,1,0-16H240A8,8,0,0,1,248,208ZM16.3,98.18a8,8,0,0,1,3.51-9l104-64a8,8,0,0,1,8.38,0l104,64A8,8,0,0,1,232,104H208v64h16a8,8,0,0,1,0,16H32a8,8,0,0,1,0-16H48V104H24A8,8,0,0,1,16.3,98.18ZM144,160a8,8,0,0,0,16,0V112a8,8,0,0,0-16,0Zm-48,0a8,8,0,0,0,16,0V112a8,8,0,0,0-16,0Z"/>`],["duotone",a`<path d="M232,96H24L128,32Z" opacity="0.2"/><path d="M24,104H48v64H32a8,8,0,0,0,0,16H224a8,8,0,0,0,0-16H208V104h24a8,8,0,0,0,4.19-14.81l-104-64a8,8,0,0,0-8.38,0l-104,64A8,8,0,0,0,24,104Zm40,0H96v64H64Zm80,0v64H112V104Zm48,64H160V104h32ZM128,41.39,203.74,88H52.26ZM248,208a8,8,0,0,1-8,8H16a8,8,0,0,1,0-16H240A8,8,0,0,1,248,208Z"/>`]]);t.styles=m`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;H([o({type:String,reflect:!0})],t.prototype,"size",2);H([o({type:String,reflect:!0})],t.prototype,"weight",2);H([o({type:String,reflect:!0})],t.prototype,"color",2);H([o({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=H([v("ph-bank")],t);export{t as PhBank};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{n as l,Y as n,t as r,p as g,O as p,s as c}from"./property-C9JG5tag.js";var d=Object.defineProperty,Z=Object.getOwnPropertyDescriptor,s=(o,a,H,i)=>{for(var e=i>1?void 0:i?Z(a,H):a,V=o.length-1,h;V>=0;V--)(h=o[V])&&(e=(i?h(a,H,e):h(e))||e);return i&&e&&d(a,H,e),e};let t=class extends l{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var o;return n`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${t.weightsMap.get((o=this.weight)!=null?o:"regular")}
|
|
10
|
-
</svg>`}};t.weightsMap=new Map([["thin",r`<path d="M216,44H40A12,12,0,0,0,28,56V200a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM40,52H216a4,4,0,0,1,4,4V92H36V56A4,4,0,0,1,40,52ZM216,204H40a4,4,0,0,1-4-4V100H220V200A4,4,0,0,1,216,204Z"/>`],["light",r`<path d="M216,42H40A14,14,0,0,0,26,56V200a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM40,54H216a2,2,0,0,1,2,2V90H38V56A2,2,0,0,1,40,54ZM216,202H40a2,2,0,0,1-2-2V102H218v98A2,2,0,0,1,216,202Z"/>`],["regular",r`<path d="M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V88H40V56Zm0,144H40V104H216v96Z"/>`],["bold",r`<path d="M216,36H40A20,20,0,0,0,20,56V200a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36Zm-4,24V84H44V60ZM44,196V108H212v88Z"/>`],["fill",r`<path d="M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V88H40V56Z"/>`],["duotone",r`<path d="M224,56V96H32V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z" opacity="0.2"/><path d="M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V88H40V56Zm0,144H40V104H216v96Z"/>`]]);t.styles=g`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;s([p({type:String,reflect:!0})],t.prototype,"size",2);s([p({type:String,reflect:!0})],t.prototype,"weight",2);s([p({type:String,reflect:!0})],t.prototype,"color",2);s([p({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=s([c("ph-browser")],t);export{t as PhBrowser};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{n as g,Y as d,t as r,p as c,O as s,s as u}from"./property-C9JG5tag.js";var w=Object.defineProperty,y=Object.getOwnPropertyDescriptor,o=(l,a,p,i)=>{for(var e=i>1?void 0:i?y(a,p):a,h=l.length-1,n;h>=0;h--)(n=l[h])&&(e=(i?n(a,p,e):n(e))||e);return i&&e&&w(a,p,e),e};let t=class extends g{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var l;return d`<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
width="${this.size}"
|
|
4
|
-
height="${this.size}"
|
|
5
|
-
fill="${this.color}"
|
|
6
|
-
viewBox="0 0 256 256"
|
|
7
|
-
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
-
>
|
|
9
|
-
${t.weightsMap.get((l=this.weight)!=null?l:"regular")}
|
|
10
|
-
</svg>`}};t.weightsMap=new Map([["thin",r`<path d="M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"/>`],["light",r`<path d="M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"/>`],["regular",r`<path d="M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"/>`],["bold",r`<path d="M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"/>`],["fill",r`<path d="M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"/>`],["duotone",r`<path d="M208,96l-80,80L48,96Z" opacity="0.2"/><path d="M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"/>`]]);t.styles=c`
|
|
11
|
-
:host {
|
|
12
|
-
display: contents;
|
|
13
|
-
}
|
|
14
|
-
`;o([s({type:String,reflect:!0})],t.prototype,"size",2);o([s({type:String,reflect:!0})],t.prototype,"weight",2);o([s({type:String,reflect:!0})],t.prototype,"color",2);o([s({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=o([u("ph-caret-down")],t);export{t as PhCaretDown};
|