tinymce-solid 0.0.1

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.
@@ -0,0 +1,31 @@
1
+ name: "🐛 Bug report"
2
+ description: Create a report to help us improve
3
+ body:
4
+ - type: markdown
5
+ attributes:
6
+ value: |
7
+ Thank you for reporting an issue :pray:.
8
+
9
+ The more information you fill in, the better the community can help you.
10
+ - type: textarea
11
+ id: description
12
+ attributes:
13
+ label: Describe the bug
14
+ description: Provide a clear and concise description of the challenge you are running into.
15
+ validations:
16
+ required: true
17
+ - type: input
18
+ id: link
19
+ attributes:
20
+ label: Minimal Reproduction Link
21
+ description: |
22
+ Please provide a link to a minimal reproduction of the bug you are running into.
23
+ It makes the process of verifying and fixing the bug much easier.
24
+ Note:
25
+ - Your bug will may get fixed much faster if we can run your code and it doesn't have dependencies other than the solid-js and solid-primitives.
26
+ - To create a shareable code example you can use [Stackblitz](https://stackblitz.com/) (https://solid.new). Please no localhost URLs.
27
+ - Please read these tips for providing a minimal example: https://stackoverflow.com/help/mcve.
28
+ placeholder: |
29
+ e.g. https://stackblitz.com/edit/...... OR Github Repo
30
+ validations:
31
+ required: true
@@ -0,0 +1,27 @@
1
+ name: "Feature Request"
2
+ description: For feature/enhancement requests. Please search for existing issues first.
3
+ body:
4
+ - type: markdown
5
+ attributes:
6
+ value: |
7
+ Thank you for bringing your ideas here :pray:.
8
+
9
+ The more information you fill in, the better the community can understand your idea.
10
+ - type: textarea
11
+ id: problem
12
+ attributes:
13
+ label: Describe The Problem To Be Solved
14
+ description: Provide a clear and concise description of the challenge you are running into.
15
+ validations:
16
+ required: true
17
+ - type: textarea
18
+ id: solution
19
+ attributes:
20
+ label: Suggest A Solution
21
+ description: |
22
+ A concise description of your preferred solution. Things to address include:
23
+ - Details of the technical implementation
24
+ - Tradeoffs made in design decisions
25
+ - Caveats and considerations for the future
26
+ validations:
27
+ required: true
@@ -0,0 +1,2 @@
1
+ paths:
2
+ - src
@@ -0,0 +1,30 @@
1
+ name: Badges
2
+ on:
3
+ push:
4
+ # [push, pull_request]
5
+ # update README badge only if the README file changes
6
+ # or if the package.json file changes, or this file changes
7
+ branches:
8
+ - main
9
+ paths:
10
+ - README.md
11
+ - package.json
12
+ - .github/workflows/badges.yml
13
+
14
+ jobs:
15
+ badges:
16
+ name: Badges
17
+ runs-on: ubuntu-20.04
18
+ steps:
19
+ - name: Checkout 🛎
20
+ uses: actions/checkout@v3
21
+
22
+ - name: Update version badges 🏷
23
+ run: npx -p dependency-version-badge update-badge solid-js tinymce typescript prettier vite
24
+
25
+ - name: Commit any changed files 💾
26
+ uses: stefanzweifel/git-auto-commit-action@v4
27
+ with:
28
+ commit_message: Updated badges
29
+ branch: main
30
+ file_pattern: README.md
@@ -0,0 +1,47 @@
1
+ name: CI & Test
2
+
3
+ on: [push]
4
+
5
+ jobs:
6
+ build:
7
+ runs-on: ${{ matrix.operating-system }}
8
+
9
+ strategy:
10
+ matrix:
11
+ node-version: [18.x]
12
+ operating-system: [ubuntu-latest]
13
+
14
+ steps:
15
+ - name: Checkout repo
16
+ uses: actions/checkout@v2
17
+ with:
18
+ fetch-depth: 2
19
+
20
+ - uses: pnpm/action-setup@v2.2.2
21
+
22
+ - name: Setup Node.js environment ${{ matrix.node-version }}
23
+ uses: actions/setup-node@v3
24
+ with:
25
+ node-version: ${{ matrix.node-version }}
26
+ cache: pnpm
27
+
28
+ - name: Install dependencies
29
+ run: pnpm install --no-frozen-lockfile
30
+
31
+ - name: Typecheck & ESLint
32
+ run: pnpm lint
33
+
34
+ - name: Build
35
+ run: pnpm build
36
+
37
+ - name: Build Docs
38
+ run: pnpm build:docs
39
+ # env:
40
+ # BASE_PATH: '/tinymce-solid'
41
+
42
+ - name: Deploy pages
43
+ uses: JamesIves/github-pages-deploy-action@v4.4.1
44
+ with:
45
+ branch: gh-pages
46
+ node-version: 18.x
47
+ folder: docs
@@ -0,0 +1,75 @@
1
+ # For most projects, this workflow file will not need changing; you simply need
2
+ # to commit it to your repository.
3
+ #
4
+ # You may wish to alter this file to override the set of languages analyzed,
5
+ # or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
12
+ name: "CodeQL"
13
+
14
+ on:
15
+ push:
16
+ branches: [ master ]
17
+ pull_request:
18
+ # The branches below must be a subset of the branches above
19
+ branches: [ master ]
20
+
21
+ jobs:
22
+ analyze:
23
+ name: Analyze
24
+ runs-on: ubuntu-latest
25
+ permissions:
26
+ actions: read
27
+ contents: read
28
+ security-events: write
29
+
30
+ strategy:
31
+ fail-fast: false
32
+ matrix:
33
+ language: [ 'typescript' ]
34
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
35
+ # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
36
+
37
+ steps:
38
+ - name: Checkout repository
39
+ uses: actions/checkout@v3
40
+
41
+ - name: Install dependencies
42
+ run: npm install
43
+
44
+ - name: Build
45
+ run: npm run build
46
+
47
+ # Initializes the CodeQL tools for scanning.
48
+ - name: Initialize CodeQL
49
+ uses: github/codeql-action/init@v2
50
+ with:
51
+ languages: ${{ matrix.language }}
52
+ # If you wish to specify custom queries, you can do so here or in a config file.
53
+ # By default, queries listed here will override any specified in a config file.
54
+ # Prefix the list here with "+" to use these queries and those in the config file.
55
+ # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
56
+ # queries: security-extended,security-and-quality
57
+ config-file: ./.github/codeql/codeql-config.yml
58
+
59
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
60
+ # If this step fails, then you should remove it and run the build manually (see below)
61
+ - name: Autobuild
62
+ uses: github/codeql-action/autobuild@v2
63
+
64
+ # ℹ️ Command-line programs to run using the OS shell.
65
+ # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
66
+
67
+ # If the Autobuild fails above, remove it and uncomment the following three lines.
68
+ # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
69
+
70
+ # - run: |
71
+ # echo "Run, Build Application using script"
72
+ # ./location_of_script_within_repo/buildscript.sh
73
+
74
+ - name: Perform CodeQL Analysis
75
+ uses: github/codeql-action/analyze@v2
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 thednp
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 ADDED
@@ -0,0 +1,135 @@
1
+ # TinyMCE Component for SolidJS
2
+
3
+ [<img width="100%" src="banner.svg" alt="TinyMCE Component for SolidJS">](https://thednp.github.io/tinymce-solid)
4
+
5
+ [![ci](https://github.com/thednp/tinymce-solid/actions/workflows/ci.yml/badge.svg)](https://github.com/thednp/tinymce-solid/actions/workflows/ci.yml)
6
+ [![Npm Version](https://img.shields.io/npm/v/tinymce-solid)](https://www.npmjs.com/package/tinymce-solid)
7
+ [![solid-js version](https://img.shields.io/badge/solid--js-1.8.17-brightgreen)](https://solidjs.com/)
8
+ [![tinymce version](https://img.shields.io/badge/tinymce-7.1.1-brightgreen)](https://www.tiny.cloud/)
9
+ [![typescript version](https://img.shields.io/badge/typescript-5.4.5-brightgreen)](https://www.typescriptlang.org/)
10
+ [![prettier version](https://img.shields.io/badge/prettier-3.3.0-brightgreen)](https://prettier.io/)
11
+ [![vite version](https://img.shields.io/badge/vite-5.2.12-brightgreen)](https://github.com/vitejs)
12
+
13
+ ## About
14
+
15
+ This package is a wrapper around [TinyMCE](https://github.com/tinymce/tinymce) to make it easier to use in a Solid application.
16
+
17
+ - If you need detailed documentation on TinyMCE, see: [TinyMCE Documentation](https://www.tiny.cloud/docs/tinymce/7/).
18
+ - This is a community developed package forked from the TinyMCE React, see: [Official TinyMCE React](https://github.com/tinymce/tinymce-react) for more information.
19
+ - For our quick demos, check out the [demo](https://thednp.github.io/tinymce-solid/).
20
+
21
+ ## Quick Start Guide
22
+
23
+ ### Installation
24
+
25
+ **npm**
26
+
27
+ ```
28
+ npm install tinymce-solid
29
+ ```
30
+
31
+ **pnpm**
32
+
33
+ ```
34
+ pnpm install tinymce-solid
35
+ ```
36
+
37
+ **yarn**
38
+
39
+ ```
40
+ yarn add tinymce-solid
41
+ ```
42
+
43
+ ### Basic Usage
44
+
45
+ #### SPA Mode
46
+
47
+ In your usual SolidJS SPA you can use **tinymce-solid** component like this.
48
+
49
+ ```tsx
50
+ import { createSignal } from "solid-js";
51
+ import { TinyMCE, Editor } from "tinymce";
52
+ import { SolidEditor } from "tinymce-solid";
53
+
54
+ export default function App() {
55
+ let editorRef!: Editor;
56
+ const [content, setContent] = createSignal("");
57
+
58
+ return (
59
+ <main>
60
+ <SolidEditor
61
+ apiKey="your-api-key"
62
+ value={content()}
63
+ onInit={(_content: string, editor: Editor) => (editorRef = editor)}
64
+ init={{
65
+ menubar: false,
66
+ placeholder: "Write an epic story here...",
67
+ plugins:
68
+ "advlist advlist autolink lists link image charmap preview anchor searchreplace visualblocks code fullscreen insertdatetime media table code help wordcount",
69
+ toolbar:
70
+ "undo redo | blocks | bold italic forecolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image code | removeformat | help",
71
+ }}
72
+ onEditorChange={(content: string, editor: Editor) => {
73
+ // you can also access the editor's content via its own accessor
74
+ // const newContent = editor.getContent();
75
+ setContent(content);
76
+ }}
77
+ />
78
+ </main>
79
+ );
80
+ }
81
+ ```
82
+
83
+ #### SSR Mode
84
+
85
+ When using SolidStart in SSR mode, you may want to bring the `clientOnly` loader, since the TinyMCE editor uses mainly the DOM API.
86
+
87
+ ```tsx
88
+ import { clientOnly } from "@solidjs/start";
89
+ import { Component, createSignal } from "solid-js";
90
+ import { TinyMCE, Editor } from "tinymce";
91
+ import { type IAllProps } from "tinymce-solid";
92
+
93
+ const SolidEditor = clientOnly<Component<IAllProps>>(() => import("tinymce-solid"));
94
+
95
+ export default function App() {
96
+ const [content, setContent] = createSignal("");
97
+
98
+ return (
99
+ <main>
100
+ <SolidEditor
101
+ apiKey="your-api-key"
102
+ value={content()}
103
+ init={{
104
+ menubar: false,
105
+ placeholder: "Write an epic story here...",
106
+ plugins:
107
+ "advlist advlist autolink lists link image charmap preview anchor searchreplace visualblocks code fullscreen insertdatetime media table code help wordcount",
108
+ toolbar:
109
+ "undo redo | blocks | bold italic forecolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image code | removeformat | help",
110
+ }}
111
+ onEditorChange={(newContent: string, editor: Editor) => {
112
+ setContent(newContent);
113
+ // hook into the editor instance for additional functionality
114
+ }}
115
+ />
116
+ </main>
117
+ );
118
+ }
119
+ ```
120
+
121
+ ### Some notes
122
+
123
+ - This package will automatically load the tinymce library and its dependencies by the use of the `tinymceScriptSrc` property
124
+ - You can make use of the dark mode via TinyMCE skins:<br />`<SolidEditor skin="oxide-dark" contentCss="dark" {...props} />`, this very demo is configured to make use of them
125
+ - The component, like the original, allows you to hook into the TinyMCE instance via an `editorRef` reference.
126
+
127
+ ## Issues
128
+
129
+ Have you found an issue with tinymce-solid or do you have a feature request? Open up an [issue](https://github.com/thednp/tinymce-solid/issues) and let us know or submit a [pull request](https://github.com/thednp/tinymce-solid/pulls).
130
+
131
+ _Note: For issues concerning TinyMCE please visit the [TinyMCE repository](https://github.com/tinymce/tinymce)._
132
+
133
+ ## License
134
+
135
+ **tinymce-solid** is released under the [MIT License](https://github.com/thednp/tinymce-solid/blob/master/LICENSE).
package/banner.svg ADDED
@@ -0,0 +1,179 @@
1
+ <svg width="1000" height="200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 500 100"><mask id="crop"><path d="M0,0 h500 v72 q0,28 -28,28 h-472 z" fill="white"/></mask><defs><filter y="-5" height="52" id="blur" color-interpolation-filters="sRGB"><feDropShadow dx="0" dy="2" stdDeviation="12" flood-color="#148CC0" flood-opacity="0.5"/></filter></defs><g mask="url(#crop)" ><svg x="0" y="0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 500 100">
2
+ <defs>
3
+ <path id="reuse-0" fill="url(#c)" d="M0 30.76 57.6 0l57.6 30.76v70.984l-57.6 31.943L0 101.744Z" />
4
+ <path id="reuse-1" fill="url(#d)" d="M0 30.76 57.6 0l57.6 30.76v70.984l-57.6 31.943L0 101.744Z" />
5
+ <path id="reuse-2" fill="url(#e)" d="M0 31.943 57.6 0v70.984L0 102.927Z" />
6
+ <path id="reuse-3" fill="url(#f)" d="m0 0 57.6 39.041L0 70.984Z" />
7
+ <path id="reuse-4" fill="url(#g)" d="M0 31.943-57.6 0v70.984L0 102.927Z" />
8
+ <path id="reuse-5" fill="url(#g)" d="m0 0-57.6 39.041L0 70.984Z" />
9
+ <path id="reuse-6" fill="url(#c)" d="M0 30.421 56.751 0 113.5 30.421v70.2l-56.749 31.592L0 100.622Z" />
10
+ <path id="reuse-7" fill="url(#d)" d="M0 30.421 56.751 0 113.5 30.421v70.2l-56.749 31.592L0 100.622Z" />
11
+ <path id="reuse-8" fill="url(#e)" d="M0 31.591 56.751 0v70.2L0 101.792Z" />
12
+ <path id="reuse-9" fill="url(#f)" d="m0 0 56.751 38.611L0 70.2Z" />
13
+ <path id="reuse-10" fill="url(#g)" d="M0 31.591-56.751 0v70.2L0 101.792Z" />
14
+ <path id="reuse-11" fill="url(#g)" d="m0 0-56.751 38.611L0 70.2Z" />
15
+ </defs>
16
+ <defs>
17
+ <linearGradient id="c" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox">
18
+ <stop offset="0" stop-color="#fff" />
19
+ <stop offset="1" stop-color="#f7fbff" />
20
+ </linearGradient>
21
+ <linearGradient id="d" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox">
22
+ <stop offset="0" stop-color="#d0deea" />
23
+ <stop offset="1" stop-color="#dae1e8" />
24
+ </linearGradient>
25
+ <linearGradient id="e" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox">
26
+ <stop offset="0" stop-color="#bdc2c8" />
27
+ <stop offset="1" stop-color="#dcedef" />
28
+ </linearGradient>
29
+ <linearGradient id="f" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox">
30
+ <stop offset="0" stop-color="#adbbca" stop-opacity=".702" />
31
+ <stop offset="1" stop-color="#e4e8e9" stop-opacity="0" />
32
+ </linearGradient>
33
+ <linearGradient id="g" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox">
34
+ <stop offset="0" stop-color="#7692ae" />
35
+ <stop offset="1" stop-color="#93b0ce" />
36
+ </linearGradient>
37
+ <radialGradient id="b" cx="-.061" cy="-.082" r="1.895" gradientUnits="objectBoundingBox">
38
+ <stop offset="0" stop-color="#002c69" />
39
+ <stop offset=".748" stop-color="#20569a" />
40
+ <stop offset="1" stop-color="#28abd8" />
41
+ </radialGradient>
42
+ <clipPath id="a">
43
+ <path d="M0 0h500v100H0z" />
44
+ </clipPath>
45
+ </defs>
46
+ <g clip-path="url(#a)">
47
+ <path fill="url(#b)" d="M0 0h502v150H0z" transform="translate(0 -3)" />
48
+ <g opacity=".3" style="mix-blend-mode: color-burn; isolation: isolate">
49
+ <g>
50
+ <g>
51
+ <use xlink:href="#reuse-0" transform="translate(115.645 -71.225)" />
52
+ <g opacity=".237">
53
+ <g>
54
+ <use xlink:href="#reuse-1" transform="translate(115.645 -71.225)" />
55
+ <use xlink:href="#reuse-2" transform="translate(173.246 -40.465)" />
56
+ <use xlink:href="#reuse-2" transform="translate(173.246 -40.465)" />
57
+ <use xlink:href="#reuse-3" transform="translate(173.246 -8.522)" />
58
+ <use xlink:href="#reuse-4" transform="translate(173.246 -40.465)" />
59
+ <use xlink:href="#reuse-5" transform="translate(173.246 -8.522)" />
60
+ </g>
61
+ </g>
62
+ </g>
63
+ <g>
64
+ <use xlink:href="#reuse-0" transform="translate(170.686 -40.374)" />
65
+ <g opacity=".237">
66
+ <g>
67
+ <use xlink:href="#reuse-1" transform="translate(170.686 -40.374)" />
68
+ <use xlink:href="#reuse-2" transform="translate(228.287 -9.614)" />
69
+ <use xlink:href="#reuse-2" transform="translate(228.287 -9.614)" />
70
+ <use xlink:href="#reuse-3" transform="translate(228.287 22.329)" />
71
+ <use xlink:href="#reuse-4" transform="translate(228.287 -9.614)" />
72
+ <use xlink:href="#reuse-5" transform="translate(228.287 22.329)" />
73
+ </g>
74
+ </g>
75
+ </g>
76
+ <g>
77
+ <use xlink:href="#reuse-0" transform="translate(228.287 -8.517)" />
78
+ <g opacity=".237">
79
+ <g>
80
+ <use xlink:href="#reuse-1" transform="translate(228.287 -8.517)" />
81
+ <use xlink:href="#reuse-2" transform="translate(285.888 22.243)" />
82
+ <use xlink:href="#reuse-2" transform="translate(285.888 22.243)" />
83
+ <use xlink:href="#reuse-3" transform="translate(285.888 54.186)" />
84
+ <use xlink:href="#reuse-4" transform="translate(285.888 22.243)" />
85
+ <use xlink:href="#reuse-5" transform="translate(285.888 54.186)" />
86
+ </g>
87
+ </g>
88
+ </g>
89
+ <g>
90
+ <use xlink:href="#reuse-0" transform="translate(170.686 93.313)" />
91
+ <g opacity=".237">
92
+ <g>
93
+ <use xlink:href="#reuse-1" transform="translate(170.686 93.313)" />
94
+ <use xlink:href="#reuse-2" transform="translate(228.287 124.073)" />
95
+ <use xlink:href="#reuse-2" transform="translate(228.287 124.073)" />
96
+ <use xlink:href="#reuse-3" transform="translate(228.287 156.016)" />
97
+ <use xlink:href="#reuse-4" transform="translate(228.287 124.073)" />
98
+ <use xlink:href="#reuse-5" transform="translate(228.287 156.016)" />
99
+ </g>
100
+ </g>
101
+ </g>
102
+ <g>
103
+ <use xlink:href="#reuse-0" transform="translate(0 -.822)" />
104
+ <g opacity=".237">
105
+ <g>
106
+ <use xlink:href="#reuse-1" transform="translate(0 -.822)" />
107
+ <use xlink:href="#reuse-2" transform="translate(57.601 29.938)" />
108
+ <use xlink:href="#reuse-2" transform="translate(57.601 29.938)" />
109
+ <use xlink:href="#reuse-3" transform="translate(57.601 61.881)" />
110
+ <use xlink:href="#reuse-4" transform="translate(57.601 29.938)" />
111
+ <use xlink:href="#reuse-5" transform="translate(57.601 61.881)" />
112
+ </g>
113
+ </g>
114
+ </g>
115
+ </g>
116
+ <g>
117
+ <use xlink:href="#reuse-6" transform="translate(341.499 -9.592)" />
118
+ <g opacity=".237">
119
+ <g>
120
+ <use xlink:href="#reuse-7" transform="translate(341.499 -9.592)" />
121
+ <use xlink:href="#reuse-8" transform="translate(398.25 20.829)" />
122
+ <use xlink:href="#reuse-8" transform="translate(398.25 20.829)" />
123
+ <use xlink:href="#reuse-9" transform="translate(398.25 52.419)" />
124
+ <use xlink:href="#reuse-10" transform="translate(398.25 20.829)" />
125
+ <use xlink:href="#reuse-11" transform="translate(398.25 52.419)" />
126
+ </g>
127
+ </g>
128
+ </g>
129
+ <g>
130
+ <use xlink:href="#reuse-6" transform="translate(284.748 -109)" />
131
+ <g opacity=".237">
132
+ <g>
133
+ <use xlink:href="#reuse-7" transform="translate(284.748 -109)" />
134
+ <use xlink:href="#reuse-8" transform="translate(341.499 -78.579)" />
135
+ <use xlink:href="#reuse-8" transform="translate(341.499 -78.579)" />
136
+ <use xlink:href="#reuse-9" transform="translate(341.499 -46.989)" />
137
+ <use xlink:href="#reuse-10" transform="translate(341.499 -78.579)" />
138
+ <use xlink:href="#reuse-11" transform="translate(341.499 -46.989)" />
139
+ </g>
140
+ </g>
141
+ </g>
142
+ </g>
143
+ </g>
144
+ </svg><svg width="182.53" height="41.12" x="48.5" y="29.44" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 182.53 41.12">
145
+ <defs>
146
+ <linearGradient id="logo-a" x1="-.061" x2=".914" y1="2.499" y2="1.52" gradientUnits="objectBoundingBox">
147
+ <stop offset=".1" stop-color="#76b3e1" />
148
+ <stop offset=".3" stop-color="#dcf2fd" />
149
+ <stop offset="1" stop-color="#76b3e1" />
150
+ </linearGradient>
151
+ <linearGradient id="logo-b" x1=".571" x2=".381" y1="1.757" y2=".412" gradientUnits="objectBoundingBox">
152
+ <stop offset="0" stop-color="#76b3e1" />
153
+ <stop offset=".5" stop-color="#4377bb" />
154
+ <stop offset="1" stop-color="#1f3b77" />
155
+ </linearGradient>
156
+ <linearGradient id="logo-c" x1=".107" x2="1.045" y1=".443" y2="-.683" gradientUnits="objectBoundingBox">
157
+ <stop offset="0" stop-color="#315aa9" />
158
+ <stop offset=".5" stop-color="#518ac8" />
159
+ <stop offset="1" stop-color="#315aa9" />
160
+ </linearGradient>
161
+ <linearGradient id="logo-d" x1=".621" x2=".178" y1="-.213" y2="-3.668" gradientUnits="objectBoundingBox">
162
+ <stop offset="0" stop-color="#4377bb" />
163
+ <stop offset=".5" stop-color="#1a336b" />
164
+ <stop offset="1" stop-color="#1a336b" />
165
+ </linearGradient>
166
+ </defs>
167
+ <path fill="#76b3e1" d="M44.082 8.847S29.47-2.187 18.131.39l-1 .275a7.233 7.233 0 0 0-3.854 2.706 6.547 6.547 0 0 0-.416.691l-4.182 7.116 7.233 1.411a12.884 12.884 0 0 0 10.313 2.026l12.884 2.519Z" />
168
+ <path fill="url(#logo-a)" d="M50.763 9.091S36.151-1.943 24.812.634l-1 .275a7.233 7.233 0 0 0-3.854 2.706 6.547 6.547 0 0 0-.416.691l-4.182 7.116 7.233 1.411a12.884 12.884 0 0 0 10.313 2.026l12.884 2.519Z" opacity=".3" style="isolation:isolate" transform="translate(-6.681 -.244)" />
169
+ <path fill="#518ac8" d="m13.154 8.706-1 .281c-4.627 1.493-6.208 5.821-3.549 9.616a12.369 12.369 0 0 0 13.2 4.158l17.288-5.628S24.51 6.13 13.154 8.706Z" />
170
+ <path fill="url(#logo-b)" d="m18.868 14.833-1 .281c-4.627 1.493-6.208 5.821-3.549 9.616a12.369 12.369 0 0 0 13.2 4.158l17.288-5.628s-14.583-11.003-25.939-8.427Z" opacity=".3" style="isolation:isolate" transform="translate(-5.714 -6.127)" />
171
+ <path fill="url(#logo-c)" d="M36.47 33.094a12.363 12.363 0 0 0-13.224-4.187l-17.271 5.6L.54 44.181l30.94 5.271 5.546-9.868a5.867 5.867 0 0 0-.556-6.49Z" transform="translate(-.54 -11.908)" />
172
+ <path fill="url(#logo-d)" d="M31.035 49.621a12.381 12.381 0 0 0-13.195-4.187l-17.3 5.6s14.641 11.034 25.95 8.457l1-.275c4.632-1.47 6.214-5.8 3.549-9.593Z" transform="translate(-.54 -18.76)" />
173
+ <g fill="#fff">
174
+ <!-- <text font-family="Gordita-Regular, Gordita" font-size="12" letter-spacing=".03em" transform="translate(57.665 37.12)">
175
+ <tspan x="0" y="0">$CONTEXT</tspan>
176
+ </text> -->
177
+ <path d="M58.782 16.494a6.18 6.18 0 0 0 4.168 1.751c1.751 0 3.193-1.03 3.193-2.781 0-4.017-7.982-3.038-7.982-7.982 0-2.317 2.06-4.274 5-4.274a6.18 6.18 0 0 1 4.274 1.545l-.778 1.339a5.346 5.346 0 0 0-3.5-1.39 3.116 3.116 0 0 0-3.4 2.729c0 3.811 7.982 2.729 7.982 7.982 0 2.369-1.854 4.326-4.841 4.326a6.88 6.88 0 0 1-5.047-2.06ZM84.068 3.31a8.1 8.1 0 0 1 8.137 8.188 8.24 8.24 0 0 1-8.137 8.343h-.051a8.24 8.24 0 0 1-8.137-8.343v-.051a8.1 8.1 0 0 1 8.188-8.137Zm-.051 15.089a6.7 6.7 0 0 0 6.54-6.844v-.057a6.517 6.517 0 1 0-13.029-.051 6.7 6.7 0 0 0 6.488 6.952Zm17.458-14.78h1.545l-.052 14.574h7.416v1.39h-9.012Zm17.458.051h1.545l-.052 16.016h-1.546Zm11.948 0h5.15c4.789 0 8.034 2.935 8.034 8.034s-3.244 7.982-8.034 7.982h-5.15Zm4.944 14.625c3.914 0 6.54-2.317 6.592-6.592s-2.626-6.592-6.54-6.592h-3.45l-.051 13.183Zm21.717 1.39a5.289 5.289 0 0 0 3.636-1.3 4.635 4.635 0 0 0 1.473-3.656V3.861h-3.221v10.635a2.163 2.163 0 0 1-.515 1.545 1.859 1.859 0 0 1-1.426.551 2.343 2.343 0 0 1-2.209-1.777l-2.73 1.519a4.937 4.937 0 0 0 4.985 3.353Zm19.291.036a6.105 6.105 0 0 0 4.192-1.334 4.434 4.434 0 0 0 1.5-3.5 3.651 3.651 0 0 0-1.287-2.92 11.266 11.266 0 0 0-4.156-1.926 6.056 6.056 0 0 1-1.936-.809 1.323 1.323 0 0 1-.567-1.107 1.39 1.39 0 0 1 .567-1.159 2.369 2.369 0 0 1 1.5-.438 2.92 2.92 0 0 1 2.941 1.916l2.662-1.457a5.175 5.175 0 0 0-2.1-2.493 6.267 6.267 0 0 0-3.363-.881 5.721 5.721 0 0 0-3.836 1.345 4.177 4.177 0 0 0-1.591 3.373 3.863 3.863 0 0 0 1.195 2.889 9.13 9.13 0 0 0 3.8 1.9 8.5 8.5 0 0 1 2.328.937 1.2 1.2 0 0 1 .613 1.076 1.411 1.411 0 0 1-.664 1.19 2.9 2.9 0 0 1-1.7.469 3.6 3.6 0 0 1-3.4-2.178l-2.781 1.437a5.588 5.588 0 0 0 2.312 2.693 7.076 7.076 0 0 0 3.769.979Z" />
178
+ </g>
179
+ </svg><path d="M110.12 67L108.96 67L108.96 57.12L105.29 57.12L105.29 56.04L113.78 56.04L113.78 57.12L110.12 57.12L110.12 67ZM115.74 56.85L115.74 56.85Q115.74 56.50 115.98 56.26Q116.21 56.02 116.55 56.02L116.55 56.02Q116.90 56.02 117.14 56.26Q117.38 56.50 117.38 56.85L117.38 56.85Q117.38 57.19 117.14 57.42Q116.90 57.66 116.55 57.66L116.55 57.66Q116.21 57.66 115.98 57.42Q115.74 57.19 115.74 56.85ZM116.00 59.52L117.11 59.52L117.11 67L116.00 67L116.00 59.52ZM126.76 62.38L126.76 67L125.66 67L125.66 62.65Q125.66 61.61 125.13 60.99Q124.60 60.38 123.59 60.38L123.59 60.38Q122.63 60.38 122.00 61.06L122.00 61.06Q121.37 61.74 121.37 62.74L121.37 62.74L121.37 67L120.27 67L120.27 59.52L121.35 59.52L121.35 60.90Q122.23 59.38 123.93 59.38L123.93 59.38Q125.27 59.38 126.01 60.21Q126.76 61.04 126.76 62.38L126.76 62.38ZM130.35 70.68L132.29 66.50L128.88 59.52L130.14 59.52L132.89 65.31L135.48 59.52L136.65 59.52L131.53 70.68L130.35 70.68ZM150.57 56.04L150.57 67L149.44 67L149.44 57.61L149.42 57.61L145.35 67L144.31 67L140.27 57.68L140.27 67L139.13 67L139.13 56.04L140.76 56.04L144.86 65.43L148.92 56.04L150.57 56.04ZM159.01 67.11L159.01 67.11Q156.70 67.11 155.12 65.56L155.12 65.56Q153.55 63.99 153.55 61.55L153.55 61.55Q153.55 59.09 155.16 57.52L155.16 57.52Q156.79 55.93 159.07 55.93L159.07 55.93Q160.94 55.93 162.23 56.92L162.23 56.92Q163.52 57.91 163.95 59.29L163.95 59.29L162.92 59.76Q162.51 58.59 161.56 57.82L161.56 57.82Q160.62 57.02 159.04 57.02L159.04 57.02Q157.26 57.02 156.00 58.28L156.00 58.28Q154.76 59.55 154.76 61.48L154.76 61.48Q154.76 63.44 155.97 64.73L155.97 64.73Q157.19 66.02 159.05 66.02L159.05 66.02Q160.51 66.02 161.48 65.28Q162.46 64.54 162.93 63.25L162.93 63.25L163.97 63.74Q163.49 65.14 162.18 66.13L162.18 66.13Q160.90 67.11 159.01 67.11ZM166.74 56.04L173.60 56.04L173.60 57.10L167.89 57.10L167.89 60.90L173.11 60.90L173.11 61.96L167.89 61.96L167.89 65.94L173.66 65.94L173.66 67L166.74 67L166.74 56.04ZM186.03 67.11L186.03 67.11Q183.72 67.11 182.14 65.56L182.14 65.56Q180.57 63.99 180.57 61.55L180.57 61.55Q180.57 59.09 182.18 57.52L182.18 57.52Q183.81 55.93 186.09 55.93L186.09 55.93Q187.96 55.93 189.25 56.92L189.25 56.92Q190.54 57.91 190.97 59.29L190.97 59.29L189.94 59.76Q189.53 58.59 188.58 57.82L188.58 57.82Q187.64 57.02 186.06 57.02L186.06 57.02Q184.28 57.02 183.02 58.28L183.02 58.28Q181.78 59.55 181.78 61.48L181.78 61.48Q181.78 63.44 182.99 64.73L182.99 64.73Q184.21 66.02 186.07 66.02L186.07 66.02Q187.53 66.02 188.50 65.28Q189.48 64.54 189.95 63.25L189.95 63.25L190.99 63.74Q190.51 65.14 189.20 66.13L189.20 66.13Q187.92 67.11 186.03 67.11ZM196.77 67.13L196.77 67.13Q195.15 67.13 194.03 66.01L194.03 66.01Q192.92 64.90 192.92 63.29L192.92 63.29Q192.92 61.62 194.03 60.52L194.03 60.52Q195.15 59.40 196.80 59.40L196.80 59.40Q198.41 59.40 199.53 60.52L199.53 60.52Q200.65 61.64 200.65 63.23L200.65 63.23Q200.65 64.89 199.53 66.01L199.53 66.01Q198.41 67.13 196.77 67.13ZM196.80 66.16L196.80 66.16Q197.97 66.16 198.74 65.32L198.74 65.32Q199.53 64.47 199.53 63.29L199.53 63.29Q199.53 62.09 198.74 61.22L198.74 61.22Q197.96 60.35 196.77 60.35L196.77 60.35Q195.59 60.35 194.81 61.19L194.81 61.19Q194.04 62.02 194.04 63.23L194.04 63.23Q194.04 64.45 194.81 65.31L194.81 65.31Q195.58 66.16 196.80 66.16ZM209.44 62.70L209.44 67L208.36 67L208.36 62.62Q208.36 61.64 207.88 61.01Q207.40 60.38 206.43 60.38L206.43 60.38Q205.49 60.38 204.92 61.08L204.92 61.08Q204.36 61.76 204.36 62.74L204.36 62.74L204.36 67L203.27 67L203.27 59.52L204.34 59.52L204.34 60.83Q204.82 60.10 205.39 59.74Q205.95 59.38 206.75 59.38L206.75 59.38Q208.45 59.38 209.15 60.88L209.15 60.88Q210.11 59.40 211.78 59.40L211.78 59.40Q213.09 59.40 213.81 60.22Q214.54 61.04 214.54 62.38L214.54 62.38L214.54 67L213.44 67L213.44 62.65Q213.44 61.64 212.97 61.02Q212.49 60.39 211.51 60.39L211.51 60.39Q210.57 60.39 210.00 61.06L210.00 61.06Q209.44 61.71 209.44 62.70L209.44 62.70ZM225.11 63.25L225.11 63.25Q225.11 64.80 224.11 65.96L224.11 65.96Q223.13 67.11 221.59 67.11L221.59 67.11Q219.76 67.11 218.71 65.46L218.71 65.46L218.71 70.68L217.62 70.68L217.62 59.52L218.69 59.52L218.69 61.15Q219.81 59.40 221.59 59.40L221.59 59.40Q223.12 59.40 224.11 60.56L224.11 60.56Q225.11 61.72 225.11 63.25ZM221.37 66.15L221.37 66.15Q222.59 66.15 223.27 65.33L223.27 65.33Q223.99 64.51 223.99 63.28L223.99 63.28Q223.99 62.06 223.27 61.22L223.27 61.22Q222.56 60.36 221.37 60.36L221.37 60.36Q220.25 60.36 219.46 61.23L219.46 61.23Q218.69 62.09 218.69 63.23L218.69 63.23Q218.69 64.42 219.45 65.29L219.45 65.29Q220.21 66.15 221.37 66.15ZM231.04 67.13L231.04 67.13Q229.42 67.13 228.30 66.01L228.30 66.01Q227.19 64.90 227.19 63.29L227.19 63.29Q227.19 61.62 228.30 60.52L228.30 60.52Q229.42 59.40 231.07 59.40L231.07 59.40Q232.68 59.40 233.80 60.52L233.80 60.52Q234.92 61.64 234.92 63.23L234.92 63.23Q234.92 64.89 233.80 66.01L233.80 66.01Q232.68 67.13 231.04 67.13ZM231.07 66.16L231.07 66.16Q232.25 66.16 233.02 65.32L233.02 65.32Q233.80 64.47 233.80 63.29L233.80 63.29Q233.80 62.09 233.02 61.22L233.02 61.22Q232.23 60.35 231.04 60.35L231.04 60.35Q229.87 60.35 229.08 61.19L229.08 61.19Q228.31 62.02 228.31 63.23L228.31 63.23Q228.31 64.45 229.08 65.31L229.08 65.31Q229.85 66.16 231.07 66.16ZM244.02 62.38L244.02 67L242.93 67L242.93 62.65Q242.93 61.61 242.40 60.99Q241.86 60.38 240.86 60.38L240.86 60.38Q239.89 60.38 239.26 61.06L239.26 61.06Q238.63 61.74 238.63 62.74L238.63 62.74L238.63 67L237.54 67L237.54 59.52L238.62 59.52L238.62 60.90Q239.50 59.38 241.19 59.38L241.19 59.38Q242.54 59.38 243.28 60.21Q244.02 61.04 244.02 62.38L244.02 62.38ZM253.69 63.60L253.69 63.60L247.65 63.60Q247.72 64.69 248.47 65.43L248.47 65.43Q249.21 66.16 250.32 66.16L250.32 66.16Q251.10 66.16 251.73 65.75Q252.36 65.33 252.69 64.66L252.69 64.66L253.50 65.19Q253.02 66.12 252.18 66.62Q251.34 67.13 250.33 67.13L250.33 67.13Q248.72 67.13 247.63 66.01L247.63 66.01Q246.54 64.87 246.54 63.25L246.54 63.25Q246.54 61.69 247.59 60.55L247.59 60.55Q248.64 59.40 250.18 59.40L250.18 59.40Q251.86 59.40 252.78 60.48L252.78 60.48Q253.71 61.54 253.71 63.23L253.71 63.23Q253.71 63.36 253.71 63.45Q253.71 63.54 253.69 63.60ZM247.66 62.67L247.66 62.67L252.60 62.67Q252.49 61.62 251.86 60.99Q251.23 60.35 250.18 60.35L250.18 60.35Q249.21 60.35 248.51 61.04L248.51 61.04Q247.81 61.69 247.66 62.67ZM262.77 62.38L262.77 67L261.67 67L261.67 62.65Q261.67 61.61 261.14 60.99Q260.61 60.38 259.60 60.38L259.60 60.38Q258.64 60.38 258.01 61.06L258.01 61.06Q257.38 61.74 257.38 62.74L257.38 62.74L257.38 67L256.28 67L256.28 59.52L257.36 59.52L257.36 60.90Q258.24 59.38 259.94 59.38L259.94 59.38Q261.28 59.38 262.02 60.21Q262.77 61.04 262.77 62.38L262.77 62.38ZM268.45 67.06L268.45 67.06Q266.34 67.06 266.34 65.07L266.34 65.07L266.34 60.49L264.95 60.49L264.95 59.52L266.34 59.52L266.34 57.37L267.41 57.37L267.41 59.52L269.30 59.52L269.30 60.49L267.41 60.49L267.41 65.04Q267.41 66.09 268.63 66.09L268.63 66.09Q269.09 66.09 269.30 66.03L269.30 66.03L269.30 66.94Q268.93 67.06 268.45 67.06Z" fill="#fff"/><path d="M373.09999999999997,72 h126.90000000000002 v28 h-126.90000000000002 q0,-28 28,-28 z" fill="#0E478C" filter="url(#blur)" /><path d="M397.53 86.09L397.53 86.09Q397.53 84.40 398.71 83.23L398.71 83.23Q399.89 82.05 401.59 82.05L401.59 82.05Q402.78 82.05 403.76 82.67L403.76 82.67Q404.75 83.28 405.14 84.36L405.14 84.36L403.66 85.04Q403.41 84.39 402.86 84.01Q402.31 83.63 401.58 83.63L401.58 83.63Q400.57 83.63 399.89 84.34L399.89 84.34Q399.21 85.05 399.21 86.07L399.21 86.07Q399.21 87.12 399.88 87.83L399.88 87.83Q400.56 88.54 401.58 88.54L401.58 88.54Q402.30 88.54 402.86 88.14Q403.42 87.74 403.68 87.09L403.68 87.09L405.17 87.78Q404.78 88.86 403.76 89.49L403.76 89.49Q402.75 90.11 401.56 90.11L401.56 90.11Q399.84 90.11 398.69 88.96L398.69 88.96Q397.53 87.80 397.53 86.09ZM406.35 86.09L406.35 86.09Q406.35 84.41 407.55 83.23L407.55 83.23Q408.74 82.05 410.44 82.05L410.44 82.05Q412.12 82.05 413.30 83.21L413.30 83.21Q414.48 84.36 414.48 86.05L414.48 86.05Q414.48 87.75 413.28 88.94L413.28 88.94Q412.10 90.12 410.40 90.12L410.40 90.12Q408.72 90.12 407.53 88.95L407.53 88.95Q406.35 87.78 406.35 86.09ZM408.71 84.34L408.71 84.34Q408.01 85.05 408.01 86.08L408.01 86.08Q408.01 87.10 408.71 87.83L408.71 87.83Q409.42 88.55 410.42 88.55L410.42 88.55Q411.43 88.55 412.13 87.83L412.13 87.83Q412.83 87.10 412.83 86.08L412.83 86.08Q412.83 85.05 412.13 84.34L412.13 84.34Q411.43 83.62 410.42 83.62L410.42 83.62Q409.42 83.62 408.71 84.34ZM423.36 84.83L423.35 84.83L421.17 90L420.09 90L417.92 84.87L417.91 84.87L417.91 90L416.32 90L416.32 82.17L418.41 82.17L420.63 87.42L422.81 82.17L424.96 82.17L424.96 90L423.36 90L423.36 84.83ZM432.99 84.68L432.99 84.68Q432.99 85.93 432.20 86.59L432.20 86.59Q431.41 87.24 430.13 87.24L430.13 87.24L428.90 87.24L428.90 90L427.28 90L427.28 82.17L430.19 82.17Q431.42 82.17 432.20 82.83L432.20 82.83Q432.99 83.47 432.99 84.68ZM431.36 84.72L431.36 84.72Q431.36 84.19 430.98 83.94Q430.61 83.70 430.05 83.70L430.05 83.70L428.90 83.70L428.90 85.73L430.06 85.73Q430.60 85.73 430.98 85.48Q431.36 85.23 431.36 84.72ZM434.22 86.09L434.22 86.09Q434.22 84.41 435.42 83.23L435.42 83.23Q436.61 82.05 438.31 82.05L438.31 82.05Q439.99 82.05 441.17 83.21L441.17 83.21Q442.35 84.36 442.35 86.05L442.35 86.05Q442.35 87.75 441.15 88.94L441.15 88.94Q439.97 90.12 438.27 90.12L438.27 90.12Q436.59 90.12 435.40 88.95L435.40 88.95Q434.22 87.78 434.22 86.09ZM436.58 84.34L436.58 84.34Q435.88 85.05 435.88 86.08L435.88 86.08Q435.88 87.10 436.58 87.83L436.58 87.83Q437.29 88.55 438.29 88.55L438.29 88.55Q439.30 88.55 440.00 87.83L440.00 87.83Q440.70 87.10 440.70 86.08L440.70 86.08Q440.70 85.05 440.00 84.34L440.00 84.34Q439.30 83.62 438.29 83.62L438.29 83.62Q437.29 83.62 436.58 84.34ZM449.39 90L445.79 84.60L445.79 90L444.19 90L444.19 82.17L446.04 82.17L449.44 87.28L449.44 82.17L451.04 82.17L451.04 90L449.39 90ZM453.37 90L453.37 82.17L458.50 82.17L458.50 83.69L454.97 83.69L454.97 85.28L458.13 85.28L458.13 86.80L454.97 86.80L454.97 88.49L458.52 88.49L458.52 90L453.37 90ZM465.70 90L462.10 84.60L462.10 90L460.50 90L460.50 82.17L462.35 82.17L465.75 87.28L465.75 82.17L467.35 82.17L467.35 90L465.70 90ZM472.94 90L471.33 90L471.33 83.74L468.98 83.74L468.98 82.17L475.29 82.17L475.29 83.74L472.94 83.74L472.94 90Z" fill="#fff"/></g></svg>
@@ -0,0 +1,16 @@
1
+ {
2
+ "$schema": "https://shadcn-solid.com/schema.json",
3
+ "tailwind": {
4
+ "config": "tailwind.config.js",
5
+ "css": {
6
+ "path": "demo/src/app.css",
7
+ "variable": true
8
+ },
9
+ "color": "slate",
10
+ "prefix": ""
11
+ },
12
+ "alias": {
13
+ "component": "@/demo/src/components",
14
+ "cn": "@/demo/src/libs/cn"
15
+ }
16
+ }