@arcadeai/design-system 3.33.2 → 3.35.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/README.md +30 -317
- package/dist/arcade-logo-BVV97-cr.js +33 -0
- package/dist/assets/icons/granola.js +14 -0
- package/dist/assets/images/arcade-grid.d.ts +1 -1
- package/dist/assets/images/arcade-grid.d.ts.map +1 -1
- package/dist/assets/images/arcade-logo.d.ts +1 -1
- package/dist/assets/images/arcade-logo.d.ts.map +1 -1
- package/dist/assets/images/arcade-logo.js +10 -31
- package/dist/components/index.js +597 -567
- package/dist/components/ui/atoms/accordion.d.ts +1 -1
- package/dist/components/ui/atoms/accordion.d.ts.map +1 -1
- package/dist/components/ui/atoms/alert-dialog.d.ts +1 -1
- package/dist/components/ui/atoms/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/atoms/alert.d.ts +1 -1
- package/dist/components/ui/atoms/alert.d.ts.map +1 -1
- package/dist/components/ui/atoms/avatar-notification-badge.d.ts +34 -0
- package/dist/components/ui/atoms/avatar-notification-badge.d.ts.map +1 -0
- package/dist/components/ui/atoms/avatar-notification-badge.js +78 -0
- package/dist/components/ui/atoms/avatar.d.ts +1 -1
- package/dist/components/ui/atoms/avatar.d.ts.map +1 -1
- package/dist/components/ui/atoms/breadcrumb.d.ts +1 -1
- package/dist/components/ui/atoms/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/atoms/card.d.ts +1 -1
- package/dist/components/ui/atoms/card.d.ts.map +1 -1
- package/dist/components/ui/atoms/chart.d.ts +1 -1
- package/dist/components/ui/atoms/chart.d.ts.map +1 -1
- package/dist/components/ui/atoms/chat-container.d.ts +1 -1
- package/dist/components/ui/atoms/chat-container.d.ts.map +1 -1
- package/dist/components/ui/atoms/code-block.d.ts +1 -1
- package/dist/components/ui/atoms/code-block.d.ts.map +1 -1
- package/dist/components/ui/atoms/collapsible.d.ts +1 -1
- package/dist/components/ui/atoms/command.d.ts +1 -1
- package/dist/components/ui/atoms/command.d.ts.map +1 -1
- package/dist/components/ui/atoms/command.js +364 -288
- package/dist/components/ui/atoms/copy-button.d.ts +1 -1
- package/dist/components/ui/atoms/copy-button.d.ts.map +1 -1
- package/dist/components/ui/atoms/dropdown-menu.d.ts +1 -1
- package/dist/components/ui/atoms/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/atoms/form.d.ts +1 -1
- package/dist/components/ui/atoms/form.d.ts.map +1 -1
- package/dist/components/ui/atoms/hover-card.d.ts +1 -1
- package/dist/components/ui/atoms/icons/granola.d.ts +4 -0
- package/dist/components/ui/atoms/icons/granola.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/granola.js +20 -0
- package/dist/components/ui/atoms/icons/index.d.ts +1 -0
- package/dist/components/ui/atoms/icons/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/index.js +156 -154
- package/dist/components/ui/atoms/index.d.ts +3 -0
- package/dist/components/ui/atoms/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/index.js +514 -504
- package/dist/components/ui/atoms/json-highlight.d.ts +60 -0
- package/dist/components/ui/atoms/json-highlight.d.ts.map +1 -0
- package/dist/components/ui/atoms/json-highlight.js +77 -0
- package/dist/components/ui/atoms/loader.d.ts +1 -1
- package/dist/components/ui/atoms/loader.d.ts.map +1 -1
- package/dist/components/ui/atoms/markdown.js +1 -1
- package/dist/components/ui/atoms/popover.d.ts +1 -1
- package/dist/components/ui/atoms/popover.d.ts.map +1 -1
- package/dist/components/ui/atoms/resizable.d.ts +1 -1
- package/dist/components/ui/atoms/resizable.d.ts.map +1 -1
- package/dist/components/ui/atoms/scroll-button.d.ts +1 -1
- package/dist/components/ui/atoms/scroll-button.d.ts.map +1 -1
- package/dist/components/ui/atoms/scroll-button.js +8 -8
- package/dist/components/ui/atoms/sheet.d.ts +1 -1
- package/dist/components/ui/atoms/sheet.d.ts.map +1 -1
- package/dist/components/ui/atoms/table.d.ts +1 -1
- package/dist/components/ui/atoms/table.d.ts.map +1 -1
- package/dist/components/ui/atoms/tabs.d.ts +1 -1
- package/dist/components/ui/atoms/tabs.d.ts.map +1 -1
- package/dist/components/ui/atoms/tooltip.d.ts +4 -2
- package/dist/components/ui/atoms/tooltip.d.ts.map +1 -1
- package/dist/components/ui/atoms/tooltip.js +3 -2
- package/dist/components/ui/atoms/view-tools-control.d.ts +1 -1
- package/dist/components/ui/atoms/view-tools-control.d.ts.map +1 -1
- package/dist/components/ui/atoms/view-tools-control.js +20 -19
- package/dist/components/ui/index.js +597 -567
- package/dist/components/ui/molecules/chat-message-list.d.ts +5 -2
- package/dist/components/ui/molecules/chat-message-list.d.ts.map +1 -1
- package/dist/components/ui/molecules/chat-message-list.js +2 -2
- package/dist/components/ui/molecules/index.d.ts +8 -0
- package/dist/components/ui/molecules/index.d.ts.map +1 -1
- package/dist/components/ui/molecules/index.js +48 -28
- package/dist/components/ui/molecules/message.d.ts +2 -2
- package/dist/components/ui/molecules/message.d.ts.map +1 -1
- package/dist/components/ui/molecules/message.js +1 -1
- package/dist/components/ui/molecules/prompt-input.d.ts +1 -1
- package/dist/components/ui/molecules/prompt-input.d.ts.map +1 -1
- package/dist/components/ui/molecules/prompt-input.js +20 -20
- package/dist/components/ui/molecules/requirement-badges.js +9 -5
- package/dist/components/ui/molecules/switcher.d.ts +83 -0
- package/dist/components/ui/molecules/switcher.d.ts.map +1 -0
- package/dist/components/ui/molecules/switcher.js +164 -0
- package/dist/components/ui/molecules/tool-authorization.d.ts +56 -0
- package/dist/components/ui/molecules/tool-authorization.d.ts.map +1 -0
- package/dist/components/ui/molecules/tool-authorization.js +160 -0
- package/dist/components/ui/molecules/tool-call-accordion.d.ts +36 -0
- package/dist/components/ui/molecules/tool-call-accordion.d.ts.map +1 -0
- package/dist/components/ui/molecules/tool-call-accordion.js +301 -0
- package/dist/components/ui/molecules/toolkit-card.js +1 -1
- package/dist/components/ui/molecules/user-nav.d.ts +65 -0
- package/dist/components/ui/molecules/user-nav.d.ts.map +1 -0
- package/dist/components/ui/molecules/user-nav.js +154 -0
- package/dist/components/ui/pages/chat-page.d.ts +18 -10
- package/dist/components/ui/pages/chat-page.d.ts.map +1 -1
- package/dist/components/ui/pages/chat-page.js +328 -243
- package/dist/components/ui/pages/login-page.js +6 -6
- package/dist/components/ui/templates/chat-template.d.ts +1 -1
- package/dist/components/ui/templates/chat-template.d.ts.map +1 -1
- package/dist/components/ui/templates/chat-template.js +11 -11
- package/dist/{highlighted-body-TPN3WLV5-DyOGcftJ.js → highlighted-body-TPN3WLV5-D6UnKGod.js} +1 -1
- package/dist/lib/utils.js +1 -1
- package/dist/main.js +623 -593
- package/dist/{markdown-9KGBuupR.js → markdown-D0xxRbwP.js} +2597 -2592
- package/dist/mermaid-O7DHMXV3-gUrB-Xs1.js +4 -0
- package/dist/metadata/toolkit-icons.d.ts.map +1 -1
- package/dist/metadata/toolkit-icons.js +130 -128
- package/dist/metadata/toolkits.d.ts.map +1 -1
- package/dist/metadata/toolkits.js +13 -0
- package/dist/{toolkit-card-k8jio69G.js → toolkit-card-B97E7TBA.js} +15 -12
- package/package.json +6 -6
- package/dist/mermaid-O7DHMXV3-CUp9wvRi.js +0 -4
package/README.md
CHANGED
|
@@ -1,354 +1,67 @@
|
|
|
1
1
|
# Arcade Design System
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Published as [`@arcadeai/design-system`](https://www.npmjs.com/package/@arcadeai/design-system) — 100+ accessible React components built on Radix UI with Tailwind CSS.
|
|
4
4
|
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
- **🎨 Modern Design**: Clean, professional components following modern design principles
|
|
8
|
-
- **♿ Accessible**: Built on Radix UI primitives for excellent accessibility out of the box
|
|
9
|
-
- **🎯 TypeScript**: Full TypeScript support for better developer experience
|
|
10
|
-
- **🎨 Customizable**: Easy to customize with Tailwind CSS classes
|
|
11
|
-
- **⚡ Lightweight**: Optimized bundle size with tree-shaking support
|
|
12
|
-
- **🔧 Flexible**: Easy to integrate with any React project
|
|
13
|
-
|
|
14
|
-
## 📦 Installation
|
|
15
|
-
|
|
16
|
-
Install the design system as a dependency in your project:
|
|
5
|
+
## Usage
|
|
17
6
|
|
|
18
7
|
```bash
|
|
19
8
|
npm install @arcadeai/design-system
|
|
20
|
-
# or
|
|
21
|
-
pnpm add @arcadeai/design-system
|
|
22
|
-
# or
|
|
23
|
-
yarn add @arcadeai/design-system
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
### Peer Dependencies
|
|
27
|
-
|
|
28
|
-
Make sure you have the required peer dependencies installed:
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
npm install react react-dom tailwindcss lucide-react
|
|
32
9
|
```
|
|
33
10
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
- React: ^19.1.0
|
|
37
|
-
- React DOM: ^19.1.0
|
|
38
|
-
- Tailwind CSS: ^4.1.10
|
|
39
|
-
- Lucide React: ^0.522.0
|
|
40
|
-
|
|
41
|
-
## 🚀 Quick Start
|
|
42
|
-
|
|
43
|
-
### 1. Import Styles
|
|
44
|
-
|
|
45
|
-
Import the design system styles in your main CSS file or at the root of your application:
|
|
11
|
+
Import styles at your app root:
|
|
46
12
|
|
|
47
13
|
```css
|
|
48
|
-
@import
|
|
14
|
+
@import "@arcadeai/design-system/index.css";
|
|
49
15
|
```
|
|
50
16
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
Ensure your Tailwind CSS configuration is compatible with the design system. The design system uses Tailwind CSS v4 with specific configurations.
|
|
54
|
-
|
|
55
|
-
### 3. Use Components
|
|
56
|
-
|
|
57
|
-
Import and use components in your React application:
|
|
17
|
+
Then use components:
|
|
58
18
|
|
|
59
19
|
```tsx
|
|
60
|
-
import { Button, Card, Input } from
|
|
61
|
-
|
|
62
|
-
function MyApp() {
|
|
63
|
-
return (
|
|
64
|
-
<Card>
|
|
65
|
-
<Input placeholder="Enter your email" />
|
|
66
|
-
<Button>Submit</Button>
|
|
67
|
-
</Card>
|
|
68
|
-
);
|
|
69
|
-
}
|
|
20
|
+
import { Button, Card, Input } from "@arcadeai/design-system";
|
|
70
21
|
```
|
|
71
22
|
|
|
72
23
|
## shadcn Registry
|
|
73
24
|
|
|
74
|
-
The design system is also available as a [shadcn registry](https://ui.shadcn.com/docs/registry)
|
|
75
|
-
|
|
76
|
-
### Setup
|
|
77
|
-
|
|
78
|
-
1. Add the registry to your `components.json`:
|
|
79
|
-
|
|
80
|
-
```json
|
|
81
|
-
{
|
|
82
|
-
"registries": {
|
|
83
|
-
"@arcadeai": "https://ds.arcade.dev/r/{name}.json"
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
2. Install the theme and apply tokens:
|
|
89
|
-
|
|
90
|
-
```bash
|
|
91
|
-
npx shadcn@latest add @arcadeai/arcadeai-theme
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
Then import `tokens.css` in your root component to apply the full Arcade colour palette (works around a known shadcn limitation where `cssVars` won't overwrite existing variables):
|
|
25
|
+
The design system is also available as a [shadcn registry](https://ui.shadcn.com/docs/registry). Add the registry to your `components.json`:
|
|
95
26
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
npx shadcn@latest add @arcadeai/button
|
|
104
|
-
npx shadcn@latest add @arcadeai/card
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
4. Optionally install fonts and icons:
|
|
108
|
-
|
|
109
|
-
```bash
|
|
110
|
-
npx shadcn@latest add @arcadeai/arcadeai-fonts
|
|
111
|
-
npx shadcn@latest add @arcadeai/icons
|
|
112
|
-
```
|
|
27
|
+
```json
|
|
28
|
+
{
|
|
29
|
+
"registries": {
|
|
30
|
+
"@arcadeai": "https://ds.arcade.dev/r/{name}.json"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
```
|
|
113
34
|
|
|
114
|
-
|
|
35
|
+
Then install components:
|
|
115
36
|
|
|
116
37
|
```bash
|
|
117
|
-
npx shadcn@latest add @arcadeai/
|
|
38
|
+
npx shadcn@latest add @arcadeai/arcadeai-theme
|
|
39
|
+
npx shadcn@latest add @arcadeai/button
|
|
118
40
|
```
|
|
119
41
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
To build the registry from source:
|
|
42
|
+
## Development
|
|
123
43
|
|
|
124
44
|
```bash
|
|
125
|
-
|
|
45
|
+
make help # see all available commands
|
|
46
|
+
make install # install dependencies
|
|
47
|
+
make dev # start Storybook dev server (headless)
|
|
48
|
+
make run # start Storybook (opens browser)
|
|
49
|
+
make build # build the library
|
|
50
|
+
make check # lint + type-check
|
|
126
51
|
```
|
|
127
52
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
### Testing Locally
|
|
131
|
-
|
|
132
|
-
To test the registry without publishing:
|
|
133
|
-
|
|
134
|
-
1. Build the registry:
|
|
135
|
-
|
|
136
|
-
```bash
|
|
137
|
-
bun run build:registry
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
2. Serve the registry locally:
|
|
141
|
-
|
|
142
|
-
```bash
|
|
143
|
-
npx serve public -p 3333 --cors
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
3. Create a new Vite + React + TypeScript project and initialize shadcn:
|
|
147
|
-
|
|
148
|
-
```bash
|
|
149
|
-
bun create vite arcade-registry-test --template react-ts
|
|
150
|
-
cd arcade-registry-test
|
|
151
|
-
bun install
|
|
152
|
-
npx shadcn@latest init
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
4. **Important:** Remove Vite's default `index.css` to avoid conflicts with Tailwind CSS. Vite's template includes unlayered button/link styles that override Tailwind utilities:
|
|
156
|
-
|
|
157
|
-
```bash
|
|
158
|
-
rm src/index.css
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
Then remove the `import './index.css'` line from `src/main.tsx`.
|
|
162
|
-
|
|
163
|
-
5. In your test project's `components.json`, point to the local server:
|
|
164
|
-
|
|
165
|
-
```json
|
|
166
|
-
{
|
|
167
|
-
"registries": {
|
|
168
|
-
"@arcadeai": "http://localhost:3333/r/{name}.json"
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
6. Install the theme, a component, and the demo smoke test:
|
|
174
|
-
|
|
175
|
-
```bash
|
|
176
|
-
npx shadcn@latest add @arcadeai/arcadeai-theme
|
|
177
|
-
npx shadcn@latest add @arcadeai/button
|
|
178
|
-
npx shadcn@latest add @arcadeai/demo
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
7. Use the demo in `src/App.tsx` to verify the full setup:
|
|
182
|
-
|
|
183
|
-
```tsx
|
|
184
|
-
import "./App.css";
|
|
185
|
-
import { ArcadeDemo } from "@/components/ui/blocks/demo";
|
|
186
|
-
|
|
187
|
-
function App() {
|
|
188
|
-
return <ArcadeDemo />;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
export default App;
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
### Registry Items
|
|
195
|
-
|
|
196
|
-
The registry includes:
|
|
197
|
-
|
|
198
|
-
- **Theme** (`arcadeai-theme`): Arcade OKLch color tokens for light and dark mode
|
|
199
|
-
- **Fonts** (`arcadeai-fonts`): GT Sectra, GT Cinetype, and GT Cinetype Mono font families
|
|
200
|
-
- **Icons** (`icons`): 100+ brand icons (GitHub, Slack, Google, etc.)
|
|
201
|
-
- **Components**: All atoms (button, badge, card, input, etc.) and molecules
|
|
202
|
-
- **Demo** (`demo`): A verification page that showcases theme, fonts, icons, and components
|
|
203
|
-
|
|
204
|
-
### Registry Dependencies
|
|
205
|
-
|
|
206
|
-
All registry dependencies use the `@arcadeai/` namespace prefix. When adding new items to `registry.json`, make sure `registryDependencies` entries use the fully qualified name (e.g., `@arcadeai/utils` instead of `utils`).
|
|
207
|
-
|
|
208
|
-
### Known Issues
|
|
209
|
-
|
|
210
|
-
- **shadcn `cssVars` don't overwrite existing values**: When the theme is installed as a transitive dependency (e.g., via `@arcadeai/demo`), the `cssVars` may not update existing variables in `App.css`. The `tokens.css` file works around this by providing all Arcade color values in unlayered `:root`/`.dark` blocks that take CSS cascade priority over shadcn's `@layer theme` defaults.
|
|
211
|
-
- **Vite default `index.css` conflicts with Tailwind**: When creating a new Vite project, the default `index.css` includes unlayered `button` styles (e.g., `background-color: #f9f9f9`) that override Tailwind utilities. Remove `index.css` and its import from `main.tsx` before using Tailwind components.
|
|
212
|
-
|
|
213
|
-
## 🛠️ Development
|
|
214
|
-
|
|
215
|
-
### Prerequisites
|
|
216
|
-
|
|
217
|
-
- Node.js (v18 or higher)
|
|
218
|
-
- pnpm (recommended) or npm
|
|
219
|
-
|
|
220
|
-
### Getting Started
|
|
221
|
-
|
|
222
|
-
1. Clone the repository:
|
|
223
|
-
|
|
224
|
-
```bash
|
|
225
|
-
git clone https://github.com/ArcadeAI/Design-System
|
|
226
|
-
cd @arcadeai/design-system
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
2. Install dependencies:
|
|
230
|
-
|
|
231
|
-
```bash
|
|
232
|
-
pnpm install
|
|
233
|
-
```
|
|
234
|
-
|
|
235
|
-
3. View components in Storybook:
|
|
236
|
-
|
|
237
|
-
```bash
|
|
238
|
-
pnpm dev
|
|
239
|
-
```
|
|
240
|
-
|
|
241
|
-
## 🏗️ Technology Stack
|
|
242
|
-
|
|
243
|
-
This design system is built on top of:
|
|
244
|
-
|
|
245
|
-
- **[shadcn/ui](https://ui.shadcn.com/)** - A collection of re-usable components built using Radix UI and Tailwind CSS
|
|
246
|
-
- **[Radix UI](https://www.radix-ui.com/)** - Unstyled, accessible components for building high‑quality design systems
|
|
247
|
-
- **[Tailwind CSS](https://tailwindcss.com/)** - Utility-first CSS framework for rapid UI development
|
|
248
|
-
- **[TypeScript](https://www.typescriptlang.org/)** - Type-safe JavaScript for better developer experience
|
|
249
|
-
- **[Storybook](https://storybook.js.org/)** - Component development and documentation
|
|
250
|
-
|
|
251
|
-
## 🎨 Design Tokens
|
|
252
|
-
|
|
253
|
-
The design system uses Tailwind CSS for consistent spacing, colors, typography, and other design tokens. When adding new components:
|
|
254
|
-
|
|
255
|
-
- Use existing Tailwind classes when possible
|
|
256
|
-
- Follow the established color palette
|
|
257
|
-
- Maintain consistent spacing and typography scales
|
|
258
|
-
|
|
259
|
-
## 🔧 Contributing
|
|
53
|
+
## Contributing
|
|
260
54
|
|
|
261
55
|
### Adding Icons
|
|
262
56
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
```bash
|
|
268
|
-
# Example: adding a new "example" icon
|
|
269
|
-
cp example.svg lib/assets/icons/
|
|
270
|
-
```
|
|
271
|
-
|
|
272
|
-
2. **Generate the React component**: Run the icon generation script
|
|
273
|
-
|
|
274
|
-
```bash
|
|
275
|
-
pnpm generate-icons
|
|
276
|
-
```
|
|
277
|
-
|
|
278
|
-
3. **Use the icon**: The generated React component will be automatically available
|
|
279
|
-
|
|
280
|
-
```tsx
|
|
281
|
-
import { ExampleIcon } from '@arcadeai/design-system/components/ui/atoms/icons';
|
|
282
|
-
```
|
|
57
|
+
1. Place SVG in `lib/assets/icons/`
|
|
58
|
+
2. Run `bun run generate-icons`
|
|
59
|
+
3. Import from `@arcadeai/design-system/components/ui/atoms/icons`
|
|
283
60
|
|
|
284
61
|
### Adding Toolkits
|
|
285
62
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
1. **Navigate to the toolkits metadata**: Open `lib/metadata/toolkits.ts`
|
|
289
|
-
|
|
290
|
-
2. **Add your toolkit entry**: Add a new entry to the `TOOLKITS` array
|
|
291
|
-
|
|
292
|
-
```typescript
|
|
293
|
-
{
|
|
294
|
-
id: 'X',
|
|
295
|
-
label: 'X',
|
|
296
|
-
isBYOC: false,
|
|
297
|
-
isPro: false,
|
|
298
|
-
publicIconUrl: `${PUBLIC_ICON_URL}/x.svg`,
|
|
299
|
-
icon: Icons.X,
|
|
300
|
-
// Other properties...
|
|
301
|
-
}
|
|
302
|
-
```
|
|
63
|
+
Add entries to `lib/metadata/toolkits.ts` — see existing entries for the pattern.
|
|
303
64
|
|
|
304
65
|
### Adding OAuth Providers
|
|
305
66
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
1. **Navigate to OAuth providers metadata**: Open `lib/metadata/oauth-providers.ts`
|
|
309
|
-
|
|
310
|
-
2. **Add OAuth identifiers**: Define your `OAuthId` and `OAuthProviderId`
|
|
311
|
-
|
|
312
|
-
```typescript
|
|
313
|
-
export const OAuthId = {
|
|
314
|
-
Asana: 'arcade-asana',
|
|
315
|
-
Atlassian: 'arcade-atlassian',
|
|
316
|
-
// Add to the respective id
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
export const OAuthProviderId = {
|
|
320
|
-
Asana: 'asana',
|
|
321
|
-
Atlassian: 'atlassian',
|
|
322
|
-
// Add to the respective provider id
|
|
323
|
-
}
|
|
324
|
-
```
|
|
325
|
-
|
|
326
|
-
3. **Choose the appropriate category**:
|
|
327
|
-
- **For prebuilt OAuth providers**: Add a record to `PREBUILT_OAUTH_PROVIDERS`
|
|
328
|
-
- **For custom OAuth providers**: Add it to `OTHER_OAUTH_PROVIDERS`
|
|
329
|
-
|
|
330
|
-
```typescript
|
|
331
|
-
// Example for prebuilt provider
|
|
332
|
-
export const PREBUILT_OAUTH_PROVIDERS: OAuthCatalogue[] = [
|
|
333
|
-
{
|
|
334
|
-
id: OAuthId.Asana,
|
|
335
|
-
provider_id: OAuthProviderId.Asana,
|
|
336
|
-
name: 'Asana',
|
|
337
|
-
description: 'Authorize tools and agents with Asana',
|
|
338
|
-
publicIconUrl: `${PUBLIC_ICON_URL}/asana.svg`,
|
|
339
|
-
icon: Asana,
|
|
340
|
-
docs: '<https://docs.arcade.dev/home/auth-providers/asana>',
|
|
341
|
-
},
|
|
342
|
-
// Add to the respective array
|
|
343
|
-
]
|
|
344
|
-
```
|
|
345
|
-
|
|
346
|
-
### Development Workflow
|
|
347
|
-
|
|
348
|
-
1. Make your changes following the patterns above
|
|
349
|
-
2. Test your changes in Storybook: `pnpm dev`
|
|
350
|
-
3. Run tests: `pnpm test`
|
|
351
|
-
4. Build the project: `pnpm build`
|
|
352
|
-
5. Submit a pull request with your changes
|
|
353
|
-
|
|
354
|
-
Built with ❤️ by the Arcade team
|
|
67
|
+
Add entries to `lib/metadata/oauth-providers.ts` — see existing entries for the pattern.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsxs as r, jsx as L } from "react/jsx-runtime";
|
|
2
|
+
function o(C) {
|
|
3
|
+
return /* @__PURE__ */ r(
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
"aria-label": "Arcade",
|
|
7
|
+
fill: "none",
|
|
8
|
+
role: "img",
|
|
9
|
+
viewBox: "0 0 1129 299",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
...C,
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ L(
|
|
14
|
+
"path",
|
|
15
|
+
{
|
|
16
|
+
d: "M384.521 278.19L343.96 274.507V201.575C344.112 194.44 345.339 186.759 353.34 178.774L353.31 178.713L433.73 97.3619H386.397L340.686 165.668L339.863 99.7412L323.467 100.965L276.337 122.441V140.133L305.023 126.813V274.952L250.297 275.306C249.83 275.306 249.456 274.931 249.456 274.475L249.343 0L248.168 0.526281L216.358 14.7764C216.217 14.8371 216.095 14.9484 216.003 15.0699L42.284 275.022C42.1521 275.225 41.9393 275.357 41.7059 275.386L9.21728 279.839L0 294.15H91.7167L101.847 279.83L68.8104 274.709C68.2222 274.617 67.918 273.949 68.2324 273.444L102.171 218.913C102.263 218.771 102.384 218.659 102.536 218.588L160.203 192.811C165.891 190.271 172.057 188.955 178.283 188.955H206.736L206.705 198.884V198.924L206.502 274.516L179.185 278.524L168.781 294.15H308.693H388.597L384.521 278.2V278.19ZM160.01 175.555L119.51 194.147C118.75 194.491 118.01 193.641 118.466 192.943L207.232 56.049L207.252 80.6119L206.786 148.492L206.745 171.547L178.546 171.517C172.147 171.517 165.81 172.884 159.999 175.555H160.01Z",
|
|
17
|
+
fill: "currentColor"
|
|
18
|
+
}
|
|
19
|
+
),
|
|
20
|
+
/* @__PURE__ */ L(
|
|
21
|
+
"path",
|
|
22
|
+
{
|
|
23
|
+
d: "M1123.86 246.41C1103.07 255.267 1075.98 266.156 1063.73 266.156C1023.57 266.156 1000.2 235.449 1000.2 191.678C1000.2 190.716 1000.22 189.764 1000.24 188.813H1127.71L1108.53 114.769C1095.83 103.728 1075.21 94.3151 1055.94 94.3151C1005.94 106.591 958.798 137.268 958.798 201.494C958.798 220.39 962.289 236.685 968.57 250.267L938.962 263.11C938.962 263.11 931.978 258.434 931.978 242.048V2.84328L911.051 4.48284L862.339 26.7688L865.278 36.8289L892.994 35.3816V105.68C883.551 101.176 866.317 94.6186 858.115 94.6186C798.196 102.816 757.567 139.241 757.567 206.008C757.567 223.264 760.064 238.618 765.006 251.653L735.356 265.498C731.259 258.95 727.873 256.237 727.873 238.648V159.644C727.873 107.695 714.762 94.5984 663.119 94.5984L588.934 128.341V155.687H624.182L631.147 126.095C640.161 122.411 653.689 118.726 664.752 118.726C686.887 118.726 688.935 133.452 688.935 157.995V170.322L596.721 212.162C589.633 221.817 584.838 230.459 583.104 240.874C565.5 250.043 526.41 267.462 512.011 267.462C471.847 267.462 447.166 235.439 447.166 191.667C447.166 147.894 468.48 115.984 496.345 115.984C507.002 115.984 513.147 118.028 520.114 122.532L528.53 155.668H559.872V114.759C547.167 103.717 522.162 94.3054 502.905 94.3054C452.906 106.582 405.763 137.257 405.763 201.484C405.763 265.711 444.297 298.847 497.167 298.847L583.256 259.618C588.042 285.881 611.982 299.352 636.744 298.826L694.675 272.42L701.914 298.3L772.371 266.53C785.328 287.066 806.742 298.836 836.38 298.836L897.892 270.801L905.331 298.816L977.751 265.691C994.073 287.4 1019.74 298.826 1050.2 298.826L1128.09 262.907L1123.86 246.38V246.41ZM1049.38 116.004C1060.04 116.004 1066.19 118.048 1073.15 122.553L1084.25 166.476L1001.91 170.656C1007.48 137.633 1026.14 116.004 1049.38 116.004ZM688.945 251.036C673.35 263.566 656.264 269.303 644.623 269.303C637.475 269.303 621.311 266.177 621.311 245.318C621.311 236.725 623.359 228.547 629.099 222.404L688.935 194.795V251.036H688.945ZM892.994 241.096C877.891 256.834 852.365 264.233 841.277 264.233C816.656 264.233 798.599 240.834 798.599 195.371C798.599 147.034 819.527 115.113 852.365 115.113C869.599 115.113 883.962 121.256 892.994 131.499V241.107V241.096Z",
|
|
24
|
+
fill: "currentColor"
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
o as A
|
|
33
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as c from "react";
|
|
2
|
+
import { forwardRef as r } from "react";
|
|
3
|
+
const n = ({
|
|
4
|
+
title: e,
|
|
5
|
+
titleId: t,
|
|
6
|
+
...a
|
|
7
|
+
}, l) => /* @__PURE__ */ c.createElement("svg", { id: "Granola_marque", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", x: "0px", y: "0px", viewBox: "0 0 1308.2438965 1350", style: {
|
|
8
|
+
enableBackground: "new 0 0 1308.2438965 1350"
|
|
9
|
+
}, xmlSpace: "preserve", ref: l, "aria-labelledby": t, ...a }, e ? /* @__PURE__ */ c.createElement("title", { id: t }, e) : null, /* @__PURE__ */ c.createElement("style", { type: "text/css" }, `
|
|
10
|
+
.st0{fill:#1E1E1E;}
|
|
11
|
+
`), /* @__PURE__ */ c.createElement("path", { className: "st0", d: "M1033.7697754,1021.5519409c-21.5993652,24.2390747-40.1063843,38.9168091-50.3071899,45.9337769 c-4.7957153,3.1881104-7.7962036,7.6500244-11.9937134,11.4755859 c-22.1997681,19.1352539-46.2614746,24.8300781-63.06073,38.2254639 c-22.7993164,17.8594971-107.9772339,39.0952148-132.1790771,46.5419922 c-40.9568481,9.3083496-87.0346069,12.6678467-137.4344482,10.7545166c-10.9053955,0-20.991272-0.0043945-30.2585449-0.7252197 c-3.7649536-0.2927246-7.5383911,0.675293-11.3141479,0.7230225c-0.1495361,0.0021973-0.2905884,0.0021973-0.4226685,0.0021973 c-0.4011841,0-1.0690918-0.2862549-2.0055542-0.8564453c-1.0635376-0.6470947-2.2635498-1.0601807-3.5089722-1.0601807 c-0.3252563,0-0.6525269-0.0292969-0.9745483-0.0726318c-5.079895-0.6959229-7.78125,1.0863037-9.7347412,2.0770264 c-1.4796143,0.7501221-3.0903931,0.12146-4.4910889-0.7674561c-4.4314575-2.8129883-14.3168945-9.1362305-17.6815796-10.1606445 c-3.3172607-1.0081787-3.6425171,0.3685303-5.4051514,0.6785889c-1.1813965,0.2081299-2.4096069-0.2070312-3.2974854-1.0124512 c-0.9940186-0.9008789-2.0576172-2.2006836-4.4989014-3.4992676c-4.4888306-2.3859863-6.8792114,3.0352783-13.5491943-3.0321045 c-0.9690552-0.8812256-1.5383301-2.6135254-2.845459-2.6959229c-0.3275146-0.0206299-0.5649414-0.0401611-0.8869629-0.1030273 c-6.7153931-1.3029785-18.9173584-3.7995605-27.1170044-6.2895508c-9.6000977-2.5517578-6.6083069-4.4597168-10.8088074-6.3730469 c-56.3989868-21.0496826-136.7931519-62.5150146-166.1929932-91.8565674 c-10.7991943-10.8436279-23.3979187-35.7210083-31.1984558-42.1016846 c-6.0003052-5.1036377-18.0027161-15.3076172-21.0029907-20.4100952c-2.3995667-4.46521-0.0043335-12.7537231-4.2025452-18.4946899 c-5.4000549-7.0169678-16.20224-10.8468628-26.4021149-26.7940674 c-11.3994293-17.859436-17.9988098-41.4598999-29.3980103-65.6978149 C201.9965973,854.911499,175.0002289,786.0202026,175,660.3612671c0-84.1989746,38.999939-200.9341125,55.8001099-216.8802185 c10.7962036-10.2072754,9.5955048-32.528595,17.3930664-43.3721619 c89.0116882-123.7463379,244.8043213-214.7861938,430.2043457-224.3546295 c7.5328979-0.3865662,15.072876-0.6276245,22.6151733-0.7156677c45.7410278-0.5339661,91.583374,4.4694061,136.0370483,15.3110352 c44.4141846,10.8320007,86.8728638,27.7349396,128.2607422,46.9507446c0,0,4.9141846,0.3894501,6.2098389,1.025589 c2.1591797,1.0615234,3.0708008,2.9949188,5.2293091,4.0579529c2.1591797,1.0615234,5.2803345,0.1610107,7.638855,0.6438293 c7.774292,1.5916138,9.1699829,6.2081909,10.6022949,8.0475006c1.7391968,2.2333527,3.8304443,3.0867004,7.7841187,4.2215271 c10.3123169,2.9599457,11.6682129,6.3678436,13.0709839,7.9369965c1.119751,1.2547913,1.607605,2.8812866,2.1669922,4.3390503 c0.567688,1.4821777,1.6954956,2.8354187,3.2773438,3.2061462c3.4158325,0.8006287,8.0632935,4.9833679,9.0244751,10.689209 c0.626709,3.7198792,4.6495361,5.3226929,3.550293,12.3006287c-0.3560791,2.2603149,2.0496826,5.6016541-10.5968628,18.0704041 s-39.1845703,20.3282166-55.3406982,14.1350403c-55.8503418-21.4093018-64.1322632-25.5296631-86.5679932-31.6485291 c-40.9569092-11.1700439-75.8527832-18.759491-118.357605-17.9596558 c-67.8004761,1.2758789-121.2071533,7.6550598-185.40625,29.9805298 c-28.1415405,9.9719849-81.2704468,37.1080322-107.9295349,58.2385254 c-26.6590576,21.1304932-65.2558594,50.3164368-81.1852112,77.333252 c-5.5780029,9.4605408-11.855896,18.4968567-25.0551147,33.1670837 c-19.1992798,21.0486755-41.4223938,81.9349976-48.6236267,111.2775879 c-1.8004761,6.378479,2.9920044,13.3964844,0.5931396,19.776062c-2.4002686,7.0158081-13.8008423,10.2126465-15.0008545,15.9525757 c-4.7991028,20.4112549-3.5990906,46.5614014-3.5990906,68.8848267c0,12.1184082,3.6023254,28.7008667,7.8019104,38.2695923 c2.9993286,6.378479,12.6040039,10.8457642,13.8040161,17.2242432c0.5993347,4.4628906-5.393158,9.5643921-5.3984375,13.3910522 c0,3.18927,5.394104,46.5743408,8.3945923,52.9528198c4.2018738,7.6532593,17.4031372,17.21875,21.0031738,26.1479492 c2.3988953,6.378418-4.2071533,12.7611694,0.5928955,19.1396484c2.9995728,3.8277588,12.6074829,3.8223267,16.2075195,8.9248047 c4.7988892,6.3773804,14.9953308,24.8699341,19.7965393,30.6152954c3.6000366,4.46521,10.2007751,6.3861084,13.2003479,8.2993774 c8.997345,6.378479,1.2043762,12.1140747,9.6021729,21.6806641c26.3995667,29.9800415,67.201355,66.9834595,106.2017517,83.5680542 c6.0163574,2.557251,67.7541504,26.1316528,71.3931885,26.1478882 c86.9951172,12.8286133,184.8383179,11.6269531,269.4393921-35.5750732 c19.8032227-10.8468628,131.9692383-88.8079224,150.5701294-181.2953491 c4.199585-18.4979858,9.5991821-63.1557007,7.1991577-81.0162354 c-9.6012573-66.338501-50.4778442-161.756897-125.4051514-197.0944824 c-39.9141846-18.8244629-70.1998291-18.5001221-77.9994507-17.2241821 c-22.7984009,4.4640503-30.5991821-8.9313354-51.5977783-7.019104 c-64.199707,5.1035767-127.1983032,22.9663086-176.3981323,74.6334229 c-45.0004272,47.8394775-54.0087891,109.0753784-31.208313,147.9856567 c2.4000244,5.1025391,1.2000122,11.4831543-3.6000366,14.6723633c-2.0986328,1.2759399-4.0477295,2.8704834-4.9475098,4.5453491 c-1.7897339,3.3290405,3.3853149,5.1079712,6.9530029,6.3568115c24.9576416,8.7318726,33.9572754,50.8421631,66.9963379,49.0578003 h7.197998c0,0,13.8040771-0.0042725,19.2036743-6.3827515c4.4381104-5.2423706,4.4185791-11.3465576,1.2727051-14.0631104 c-1.402771-1.2108765-3.1762085-1.93396-3.5881348-3.7410278c-0.453186-1.9924316-0.6798096-4.6146851-0.6807251-5.7930298 c0-1.2758789,1.8004761-1.9208984,1.8004761-3.1968384c-0.0032349-3.8255615-4.199585-7.0148315-3.6000366-10.840332 c0.3848877-2.0368652,3.2131348-4.854248,5.2076416-6.9572754c1.515625-1.5979004,1.5371704-3.633667,0.5454102-5.6001587 c-0.0357666-0.0704956-0.0715942-0.1419678-0.1064453-0.2146606c-0.9614868-1.973999-1.1403809-4.317688-0.4866943-6.4130859 c0.3761597-1.2044067,0.8314209-2.4910889,0.8325806-3.7767944c0.5995483-5.7399292-1.7919922-8.2928467-2.3924561-12.7558594 c0-1.5761108,8.5443726-5.3193359,11.559082-7.65979c0.8889771-0.6893921,0.9841919-1.8438721,0.6906128-2.9300537 c-0.6234131-2.3154907-1.4516602-3.0331421-1.4516602-7.2695923c0-1.0189209,0.8607788-2.444458,1.8949585-3.7886353 c2.0835571-2.710083,4.000061-5.5979614,4.940918-8.8847656l1.6586914-5.7875977 c0.692688-2.4196167,2.5321655-4.3448486,4.9182129-5.1459351c4.1344604-1.3908081,2.2167358-8.130249,6.1550903-10.0077515 c1.145874-0.5463867,4.0239258,0.1473999,8.6333618-0.8325806c9.5946045-1.913269,2.9984131-5.1036377,4.7956543-10.2050781 c0.8390503-3.1242065,3.4406738-2.8141479,5.9555664-2.5648193c2.0162964,0.2005615,3.9796753-0.4606934,5.4301147-1.8753662 c1.4275513-1.3908081,2.8681641-3.0212402,4.8108521-3.8494263c2.4325562-1.0341187,8.8131714-1.2336426,13.3790283-1.2715454 c1.8786621-0.0162354,3.7443237-0.2851562,5.6099243-0.505127c5.0961304-0.5994873,12.3264771-0.2439575,15.819397-0.7740479 c4.1973267-0.6395874,6.5961914-4.4662476,10.1941528-4.4672852c3.0007324,0,7.2055664,5.102478,10.2051392,5.102478 c2.9995728-0.0021362,5.9989014-2.5517578,8.9984741-2.5517578c1.7995605,0.0010986,2.4000244,3.1859741,5.3984985,3.1870728 h1.1967773c0,0,27.6039429,0.6352539,56.4033203,18.4936523c19.7999878,12.1194458,34.2044678,41.4663086,34.2044678,41.4663086 c13.7987671,23.6005249-1.5100708,47.8635864-1.5100708,69.5507812c0,8.9302368,2.9960938,16.5846558,1.1967773,24.8774414 c-1.2011719,6.3773804-6.0023804,11.4852905-7.8030396,16.5889893c-1.7973022,4.4640503-1.7949829,10.2061157-7.7909546,18.4935913 c-4.8000488,7.0158081-7.2055664,7.0136719-8.4055786,8.2896118c-1.8004761,1.913269-17.3364258,25.4072266-27.5360718,34.338562 c-27,24.2389526-51.9569092,31.3372803-88.5570679,31.9746704c-16.1987915,0.6384277-17.9992676,3.8320923-20.399292,3.8320923 c-8.4012451,0.6373901-46.7924194-1.2727051-58.7957764-3.1860352c0,0-53.3973389-10.2051392-74.4005127-20.4102173 c-11.3996582-5.1035767-86.4050293-60.6016846-103.2052002-91.857666 c-52.200531-98.2316895-40.1960449-202.8430176,13.8040466-273.0081177 c39.0001831-51.0297852,103.1976013-117.3682556,255.5943298-130.1272583 c77.4008179-6.3784485,146.4083862,3.8309326,200.4093628,29.3458252 c76.1978149,35.7210693,131.9972534,98.868103,166.796936,173.498291 C1154.8005371,743.2822266,1151.369751,887.5991211,1033.7697754,1021.5519409z" })), o = r(n);
|
|
12
|
+
export {
|
|
13
|
+
o as default
|
|
14
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type ArcadeGridProps = React.SVGProps<SVGSVGElement>;
|
|
2
2
|
declare function ArcadeGrid(props: ArcadeGridProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export { ArcadeGrid };
|
|
4
3
|
export type { ArcadeGridProps };
|
|
4
|
+
export { ArcadeGrid };
|
|
5
5
|
//# sourceMappingURL=arcade-grid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arcade-grid.d.ts","sourceRoot":"","sources":["../../../lib/assets/images/arcade-grid.tsx"],"names":[],"mappings":"AAAA,KAAK,eAAe,GAAG,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;AAErD,iBAAS,UAAU,CAAC,KAAK,EAAE,eAAe,2CAezC;AAED,
|
|
1
|
+
{"version":3,"file":"arcade-grid.d.ts","sourceRoot":"","sources":["../../../lib/assets/images/arcade-grid.tsx"],"names":[],"mappings":"AAAA,KAAK,eAAe,GAAG,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;AAErD,iBAAS,UAAU,CAAC,KAAK,EAAE,eAAe,2CAezC;AAED,YAAY,EAAE,eAAe,EAAE,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type ArcadeLogoProps = React.SVGProps<SVGSVGElement>;
|
|
2
2
|
declare function ArcadeLogo(props: ArcadeLogoProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export { ArcadeLogo };
|
|
4
3
|
export type { ArcadeLogoProps };
|
|
4
|
+
export { ArcadeLogo };
|
|
5
5
|
//# sourceMappingURL=arcade-logo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arcade-logo.d.ts","sourceRoot":"","sources":["../../../lib/assets/images/arcade-logo.tsx"],"names":[],"mappings":"AAAA,KAAK,eAAe,GAAG,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;AAErD,iBAAS,UAAU,CAAC,KAAK,EAAE,eAAe,2CAoBzC;AAED,
|
|
1
|
+
{"version":3,"file":"arcade-logo.d.ts","sourceRoot":"","sources":["../../../lib/assets/images/arcade-logo.tsx"],"names":[],"mappings":"AAAA,KAAK,eAAe,GAAG,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;AAErD,iBAAS,UAAU,CAAC,KAAK,EAAE,eAAe,2CAoBzC;AAED,YAAY,EAAE,eAAe,EAAE,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1,33 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
-
...C,
|
|
12
|
-
children: [
|
|
13
|
-
/* @__PURE__ */ L(
|
|
14
|
-
"path",
|
|
15
|
-
{
|
|
16
|
-
d: "M384.521 278.19L343.96 274.507V201.575C344.112 194.44 345.339 186.759 353.34 178.774L353.31 178.713L433.73 97.3619H386.397L340.686 165.668L339.863 99.7412L323.467 100.965L276.337 122.441V140.133L305.023 126.813V274.952L250.297 275.306C249.83 275.306 249.456 274.931 249.456 274.475L249.343 0L248.168 0.526281L216.358 14.7764C216.217 14.8371 216.095 14.9484 216.003 15.0699L42.284 275.022C42.1521 275.225 41.9393 275.357 41.7059 275.386L9.21728 279.839L0 294.15H91.7167L101.847 279.83L68.8104 274.709C68.2222 274.617 67.918 273.949 68.2324 273.444L102.171 218.913C102.263 218.771 102.384 218.659 102.536 218.588L160.203 192.811C165.891 190.271 172.057 188.955 178.283 188.955H206.736L206.705 198.884V198.924L206.502 274.516L179.185 278.524L168.781 294.15H308.693H388.597L384.521 278.2V278.19ZM160.01 175.555L119.51 194.147C118.75 194.491 118.01 193.641 118.466 192.943L207.232 56.049L207.252 80.6119L206.786 148.492L206.745 171.547L178.546 171.517C172.147 171.517 165.81 172.884 159.999 175.555H160.01Z",
|
|
17
|
-
fill: "currentColor"
|
|
18
|
-
}
|
|
19
|
-
),
|
|
20
|
-
/* @__PURE__ */ L(
|
|
21
|
-
"path",
|
|
22
|
-
{
|
|
23
|
-
d: "M1123.86 246.41C1103.07 255.267 1075.98 266.156 1063.73 266.156C1023.57 266.156 1000.2 235.449 1000.2 191.678C1000.2 190.716 1000.22 189.764 1000.24 188.813H1127.71L1108.53 114.769C1095.83 103.728 1075.21 94.3151 1055.94 94.3151C1005.94 106.591 958.798 137.268 958.798 201.494C958.798 220.39 962.289 236.685 968.57 250.267L938.962 263.11C938.962 263.11 931.978 258.434 931.978 242.048V2.84328L911.051 4.48284L862.339 26.7688L865.278 36.8289L892.994 35.3816V105.68C883.551 101.176 866.317 94.6186 858.115 94.6186C798.196 102.816 757.567 139.241 757.567 206.008C757.567 223.264 760.064 238.618 765.006 251.653L735.356 265.498C731.259 258.95 727.873 256.237 727.873 238.648V159.644C727.873 107.695 714.762 94.5984 663.119 94.5984L588.934 128.341V155.687H624.182L631.147 126.095C640.161 122.411 653.689 118.726 664.752 118.726C686.887 118.726 688.935 133.452 688.935 157.995V170.322L596.721 212.162C589.633 221.817 584.838 230.459 583.104 240.874C565.5 250.043 526.41 267.462 512.011 267.462C471.847 267.462 447.166 235.439 447.166 191.667C447.166 147.894 468.48 115.984 496.345 115.984C507.002 115.984 513.147 118.028 520.114 122.532L528.53 155.668H559.872V114.759C547.167 103.717 522.162 94.3054 502.905 94.3054C452.906 106.582 405.763 137.257 405.763 201.484C405.763 265.711 444.297 298.847 497.167 298.847L583.256 259.618C588.042 285.881 611.982 299.352 636.744 298.826L694.675 272.42L701.914 298.3L772.371 266.53C785.328 287.066 806.742 298.836 836.38 298.836L897.892 270.801L905.331 298.816L977.751 265.691C994.073 287.4 1019.74 298.826 1050.2 298.826L1128.09 262.907L1123.86 246.38V246.41ZM1049.38 116.004C1060.04 116.004 1066.19 118.048 1073.15 122.553L1084.25 166.476L1001.91 170.656C1007.48 137.633 1026.14 116.004 1049.38 116.004ZM688.945 251.036C673.35 263.566 656.264 269.303 644.623 269.303C637.475 269.303 621.311 266.177 621.311 245.318C621.311 236.725 623.359 228.547 629.099 222.404L688.935 194.795V251.036H688.945ZM892.994 241.096C877.891 256.834 852.365 264.233 841.277 264.233C816.656 264.233 798.599 240.834 798.599 195.371C798.599 147.034 819.527 115.113 852.365 115.113C869.599 115.113 883.962 121.256 892.994 131.499V241.107V241.096Z",
|
|
24
|
-
fill: "currentColor"
|
|
25
|
-
}
|
|
26
|
-
)
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
);
|
|
30
|
-
}
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { forwardRef as a } from "react";
|
|
3
|
+
const i = ({
|
|
4
|
+
title: L,
|
|
5
|
+
titleId: t,
|
|
6
|
+
...C
|
|
7
|
+
}, l) => /* @__PURE__ */ e.createElement("svg", { width: 1129, height: 299, viewBox: "0 0 1129 299", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: l, "aria-labelledby": t, ...C }, L ? /* @__PURE__ */ e.createElement("title", { id: t }, L) : null, /* @__PURE__ */ e.createElement("g", { clipPath: "url(#clip0_1_2)" }, /* @__PURE__ */ e.createElement("mask", { id: "mask0_1_2", style: {
|
|
8
|
+
maskType: "luminance"
|
|
9
|
+
}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 1129, height: 299 }, /* @__PURE__ */ e.createElement("path", { d: "M1129 0H0V299H1129V0Z", fill: "white" })), /* @__PURE__ */ e.createElement("g", { mask: "url(#mask0_1_2)" }, /* @__PURE__ */ e.createElement("path", { d: "M384.521 278.19L343.96 274.507V201.575C344.112 194.44 345.339 186.759 353.34 178.774L353.31 178.713L433.73 97.3619H386.397L340.686 165.668L339.863 99.7412L323.467 100.965L276.337 122.441V140.133L305.023 126.813V274.952L250.297 275.306C249.83 275.306 249.456 274.931 249.456 274.475L249.343 0L248.168 0.526281L216.358 14.7764C216.217 14.8371 216.095 14.9484 216.003 15.0699L42.284 275.022C42.1521 275.225 41.9393 275.357 41.7059 275.386L9.21728 279.839L0 294.15H91.7167L101.847 279.83L68.8104 274.709C68.2222 274.617 67.918 273.949 68.2324 273.444L102.171 218.913C102.263 218.771 102.384 218.659 102.536 218.588L160.203 192.811C165.891 190.271 172.057 188.955 178.283 188.955H206.736L206.705 198.884V198.924L206.502 274.516L179.185 278.524L168.781 294.15H308.693H388.597L384.521 278.2V278.19ZM160.01 175.555L119.51 194.147C118.75 194.491 118.01 193.641 118.466 192.943L207.232 56.049L207.252 80.6119L206.786 148.492L206.745 171.547L178.546 171.517C172.147 171.517 165.81 172.884 159.999 175.555H160.01Z", fill: "white" }), /* @__PURE__ */ e.createElement("path", { d: "M1123.86 246.41C1103.07 255.267 1075.98 266.156 1063.73 266.156C1023.57 266.156 1000.2 235.449 1000.2 191.678C1000.2 190.716 1000.22 189.764 1000.24 188.813H1127.71L1108.53 114.769C1095.83 103.728 1075.21 94.3151 1055.94 94.3151C1005.94 106.591 958.798 137.268 958.798 201.494C958.798 220.39 962.289 236.685 968.57 250.267L938.962 263.11C938.962 263.11 931.978 258.434 931.978 242.048V2.84328L911.051 4.48284L862.339 26.7688L865.278 36.8289L892.994 35.3816V105.68C883.551 101.176 866.317 94.6186 858.115 94.6186C798.196 102.816 757.567 139.241 757.567 206.008C757.567 223.264 760.064 238.618 765.006 251.653L735.356 265.498C731.259 258.95 727.873 256.237 727.873 238.648V159.644C727.873 107.695 714.762 94.5984 663.119 94.5984L588.934 128.341V155.687H624.182L631.147 126.095C640.161 122.411 653.689 118.726 664.752 118.726C686.887 118.726 688.935 133.452 688.935 157.995V170.322L596.721 212.162C589.633 221.817 584.838 230.459 583.104 240.874C565.5 250.043 526.41 267.462 512.011 267.462C471.847 267.462 447.166 235.439 447.166 191.667C447.166 147.894 468.48 115.984 496.345 115.984C507.002 115.984 513.147 118.028 520.114 122.532L528.53 155.668H559.872V114.759C547.167 103.717 522.162 94.3054 502.905 94.3054C452.906 106.582 405.763 137.257 405.763 201.484C405.763 265.711 444.297 298.847 497.167 298.847L583.256 259.618C588.042 285.881 611.982 299.352 636.744 298.826L694.675 272.42L701.914 298.3L772.371 266.53C785.328 287.066 806.742 298.836 836.38 298.836L897.892 270.801L905.331 298.816L977.751 265.691C994.073 287.4 1019.74 298.826 1050.2 298.826L1128.09 262.907L1123.86 246.38V246.41ZM1049.38 116.004C1060.04 116.004 1066.19 118.048 1073.15 122.553L1084.25 166.476L1001.91 170.656C1007.48 137.633 1026.14 116.004 1049.38 116.004ZM688.945 251.036C673.35 263.566 656.264 269.303 644.623 269.303C637.475 269.303 621.311 266.177 621.311 245.318C621.311 236.725 623.359 228.547 629.099 222.404L688.935 194.795V251.036H688.945ZM892.994 241.096C877.891 256.834 852.365 264.233 841.277 264.233C816.656 264.233 798.599 240.834 798.599 195.371C798.599 147.034 819.527 115.113 852.365 115.113C869.599 115.113 883.962 121.256 892.994 131.499V241.107V241.096Z", fill: "white" }))), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_1_2" }, /* @__PURE__ */ e.createElement("rect", { width: 1129, height: 299, fill: "white" })))), m = a(i);
|
|
31
10
|
export {
|
|
32
|
-
|
|
11
|
+
m as default
|
|
33
12
|
};
|