diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b2c1c8f47..9cbf14c14 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,34 +12,18 @@ jobs: name: Run svelte-check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: - fetch-depth: 0 - - - uses: pnpm/action-setup@v2 - with: - version: 8 - - - uses: actions/setup-node@v3 - with: - node-version: 18 - - # PNPM Store cache setup - - name: Get pnpm store directory - id: pnpm-cache - run: | - echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - - name: Setup pnpm cache - uses: actions/cache@v3 + fetch-depth: 0 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 with: - path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- + node-version: 20 + cache: pnpm - name: Install dependencies run: pnpm install - + - name: Run svelte-check run: pnpm check @@ -47,64 +31,30 @@ jobs: runs-on: ubuntu-latest name: Lint steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Install Node.JS - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 with: - node-version: 18 - - - uses: pnpm/action-setup@v2 - name: Install pnpm - id: pnpm-install + fetch-depth: 0 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 with: - version: 8 + node-version: 20 + cache: pnpm - # PNPM Store cache setup - - name: Get pnpm store directory - id: pnpm-cache - run: | - echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - - - name: Setup pnpm cache - uses: actions/cache@v3 - with: - path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - name: Install dependencies run: pnpm install - + - run: pnpm lint - + cli-test: name: CLI-Tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 - with: - version: 8 - - uses: actions/setup-node@v3 - with: - node-version: 18 - - # PNPM Store cache setup - - name: Get pnpm store directory - id: pnpm-cache - run: | - echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - - name: Setup pnpm cache - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 with: - path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- + node-version: 20 + cache: pnpm - name: Install dependencies run: pnpm install diff --git a/.github/workflows/docs-preview.yml b/.github/workflows/docs-preview.yml index b3042340a..61d212fe7 100644 --- a/.github/workflows/docs-preview.yml +++ b/.github/workflows/docs-preview.yml @@ -17,7 +17,7 @@ name: Docs - Preview Deployment on: pull_request_target: paths: - - apps/www/** + - sites/docs/** # cancel in-progress runs on new commits to same PR (github.event.number) concurrency: @@ -33,29 +33,12 @@ jobs: runs-on: ubuntu-latest name: Deploy Preview to Cloudflare Pages steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.ref }} - repository: ${{ github.event.pull_request.head.repo.full_name }} - - uses: pnpm/action-setup@v2 - with: - version: 8 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 with: node-version: 20 - - # PNPM Store cache setup - - name: Get pnpm store directory - id: pnpm-cache - run: | - echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - - name: Setup pnpm cache - uses: actions/cache@v3 - with: - path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- + cache: pnpm # Image cache setup - name: Setup Image cache @@ -79,5 +62,5 @@ jobs: githubToken: ${{ secrets.GITHUB_TOKEN }} projectName: shadcn-svelte directory: ./.svelte-kit/cloudflare - workingDirectory: apps/www + workingDirectory: sites/docs deploymentName: Preview diff --git a/.github/workflows/docs-production.yml b/.github/workflows/docs-production.yml index b0958d61c..1e04e3906 100644 --- a/.github/workflows/docs-production.yml +++ b/.github/workflows/docs-production.yml @@ -4,7 +4,7 @@ on: branches: - main paths: - - apps/www/** + - sites/docs/** concurrency: ${{ github.workflow }}-${{ github.ref }} @@ -16,26 +16,12 @@ jobs: deployments: write name: Publish to Cloudflare Pages steps: - - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 - with: - version: 8 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 with: node-version: 20 - - # PNPM Store cache setup - - name: Get pnpm store directory - id: pnpm-cache - run: | - echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - - name: Setup pnpm cache - uses: actions/cache@v3 - with: - path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- + cache: pnpm # Image cache setup - name: Setup Image cache @@ -43,7 +29,7 @@ jobs: with: path: '**/node_modules/.cache/imagetools' key: ${{ runner.os }}-image-cache-${{ hashFiles('**/src/lib/img') }} - + - name: Install dependencies run: pnpm install @@ -58,5 +44,5 @@ jobs: githubToken: ${{ secrets.GITHUB_TOKEN }} projectName: shadcn-svelte directory: ./.svelte-kit/cloudflare - workingDirectory: apps/www + workingDirectory: sites/docs deploymentName: Production diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ea561575a..5b5179182 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,34 +13,14 @@ jobs: if: github.repository == 'huntabyte/shadcn-svelte' runs-on: ubuntu-latest steps: - - name: Checkout Repo - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - - name: Use PNPM v8 - uses: pnpm/action-setup@v2 - with: - version: 8 - - - name: Use Node v18 - uses: actions/setup-node@v3 - with: - node-version: 18 - cache: pnpm - - # PNPM Store cache setup - - name: Get pnpm store directory - id: pnpm-cache - run: | - echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT - - name: Setup pnpm cache - uses: actions/cache@v3 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 with: - path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- + node-version: 20 + cache: pnpm - name: Install dependencies run: pnpm install diff --git a/.nvmrc b/.nvmrc index b1215e876..78a949591 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18.16.0 \ No newline at end of file +v20.15.1 \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index 6c83b5f98..4d81273b0 100644 --- a/.prettierignore +++ b/.prettierignore @@ -19,7 +19,7 @@ CHANGELOG.md # docs site specific -apps/www/src/__registry__/* -apps/www/other/themes/dark.json -apps/www/other/themes/light.json -apps/www/static +sites/docs/src/__registry__/* +sites/docs/other/themes/dark.json +sites/docs/other/themes/light.json +sites/docs/static diff --git a/.prettierrc b/.prettierrc index dce3a8087..2690a3545 100644 --- a/.prettierrc +++ b/.prettierrc @@ -21,6 +21,5 @@ } } ], - "tailwindConfig": "./apps/www/tailwind.config.js", "tailwindFunctions": ["clsx", "cn", "tv"] } diff --git a/README.md b/README.md index 3f1f77a48..3337ffe43 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- +

shadcn-svelte

@@ -13,7 +13,7 @@ Accessible and customizable components that you can copy and paste into your apps. Free. Open Source. **Use this to build your own component library**. -![hero](apps/www/static/og.png) +![hero](sites/docs/static/og.png) ## Documentation diff --git a/apps/www/other/themes/dark.json b/apps/www/other/themes/dark.json deleted file mode 100644 index d3f658827..000000000 --- a/apps/www/other/themes/dark.json +++ /dev/null @@ -1,409 +0,0 @@ -{ - "name": "Lambda Studio — Blackout", - "semanticHighlighting": true, - "colors": { - "editorLink.activeForeground": "#ca8a0488", - "foreground": "#fff8", - "button.background": "#fff", - "button.foreground": "#000", - "button.hoverBackground": "#fffb", - "list.highlightForeground": "#fff", - "textLink.foreground": "#fff", - "scrollbar.shadow": "#000", - "textLink.activeForeground": "#fff8", - "editor.lineHighlightBackground": "#8881", - "editor.lineHighlightBorder": "#8882", - "editorCursor.foreground": "#fff", - "editor.findMatchBackground": "#fff8", - "editor.findMatchHighlightBackground": "#fff2", - "list.activeSelectionForeground": "#fff", - "list.focusForeground": "#fff", - "list.hoverForeground": "#fff", - "list.inactiveSelectionForeground": "#fff", - "list.inactiveSelectionBackground": "#000", - "list.focusBackground": "#000", - "list.focusAndSelectionOutline": "#000", - "list.focusHighlightForeground": "#fff", - "list.hoverBackground": "#000", - "list.focusOutline": "#000", - "list.activeSelectionBackground": "#000", - "editorIndentGuide.background": "#fff2", - "editor.background": "#000", - "editor.foreground": "#fff", - "editor.foldBackground": "#000", - "editor.hoverHighlightBackground": "#000", - "editor.selectionBackground": "#8888", - "editor.inactiveSelectionBackground": "#8882", - "gitDecoration.modifiedResourceForeground": "#fff", - "gitDecoration.untrackedResourceForeground": "#a7cb7b", - "gitDecoration.conflictingResourceForeground": "#ca8a04", - "gitDecoration.deletedResourceForeground": "#c97b89", - "listFilterWidget.background": "#000", - "input.background": "#fff1", - "titleBar.activeForeground": "#fff", - "editorWidget.background": "#000", - "editorGutter.background": "#000", - "debugToolBar.background": "#000", - "commandCenter.background": "#000", - "sideBarSectionHeader.background": "#000", - "focusBorder": "#fff8", - "titleBar.activeBackground": "#000", - "titleBar.inactiveBackground": "#000", - "breadcrumb.background": "#000", - "activityBar.background": "#000", - "activityBar.foreground": "#fff8", - "panel.background": "#000", - "sideBar.background": "#000", - "sideBarTitle.foreground": "#fff8", - "tab.hoverBackground": "#000", - "terminal.background": "#000", - "statusBar.background": "#000", - "statusBar.foreground": "#fff8", - "selection.background": "#fff2", - "editorPane.background": "#000", - "badge.background": "#000", - "banner.background": "#000", - "menu.background": "#000", - "activityBarBadge.background": "#000", - "activityBarBadge.foreground": "#fff8", - "editorLineNumber.foreground": "#fff2", - "editorLineNumber.activeForeground": "#fff8", - "statusBarItem.errorBackground": "#f43f5e" - }, - "semanticTokenColors": { - "comment": { - "foreground": "#fff4" - }, - "keyword": { - "foreground": "#fff8" - }, - "string": { - "foreground": "#fff8" - }, - "selfKeyword": { - "foreground": "#fff", - "bold": true - }, - "method.declaration": { - "foreground": "#fff", - "bold": true - }, - "method.definition": { - "foreground": "#fff", - "bold": true - }, - "method": { - "foreground": "#fff", - "bold": false - }, - "function.declaration": { - "foreground": "#fff", - "bold": true - }, - "function.definition": { - "foreground": "#fff", - "bold": true - }, - "function": { - "foreground": "#fff", - "bold": false - }, - "property": { - "foreground": "#fff" - }, - "enumMember": { - "foreground": "#fff8", - "bold": false - }, - "enum": { - "foreground": "#fff", - "bold": true - }, - "boolean": { - "foreground": "#fff8" - }, - "number": { - "foreground": "#fff8" - }, - "type": { - "foreground": "#fff", - "bold": true - }, - "typeAlias": { - "foreground": "#fff", - "bold": true - }, - "class": { - "foreground": "#fff", - "bold": true - }, - "selfTypeKeyword": { - "foreground": "#fff", - "bold": true - }, - "builtinType": { - "foreground": "#fff", - "bold": true - }, - "interface": { - "foreground": "#fff8", - "bold": false - }, - "typeParameter": { - "foreground": "#fff", - "bold": true - }, - "lifetime": { - "foreground": "#fff8", - "italic": false, - "bold": false - }, - "namespace": { - "foreground": "#fff" - }, - "macro": { - "foreground": "#fff", - "bold": false - }, - "decorator": { - "foreground": "#fff", - "bold": false - }, - "builtinAttribute": { - "foreground": "#fff", - "bold": false - }, - "generic.attribute": { - "foreground": "#fff" - }, - "derive": { - "foreground": "#fff" - }, - "operator": { - "foreground": "#fff8" - }, - "variable": { - "foreground": "#fff" - }, - "variable.readonly": { - "foreground": "#fff8" - }, - "parameter": { - "foreground": "#fff" - }, - "variable.mutable": { - "underline": true - }, - "parameter.mutable": { - "underline": true - }, - "selfKeyword.mutable": { - "underline": true - }, - "variable.constant": { - "foreground": "#fff8" - }, - "struct": { - "foreground": "#fff", - "bold": true - } - }, - "tokenColors": [ - { - "name": "Fallback Operator", - "scope": [ - "keyword.operator" - ], - "settings": { - "foreground": "#fff8" - } - }, - { - "name": "Fallback keywords", - "scope": [ - "storage.type.ts", - "keyword", - "keyword.other", - "keyword.control", - "storage.type", - "storage.modifier" - ], - "settings": { - "foreground": "#fff8" - } - }, - { - "name": "Fallback strings", - "scope": [ - "string" - ], - "settings": { - "foreground": "#fff8" - } - }, - { - "name": "Fallback JSON Properties", - "scope": [ - "support.type.property-name.json" - ], - "settings": { - "foreground": "#fff" - } - }, - { - "name": "Fallback string variables", - "scope": [ - "string variable", - "string meta.interpolation" - ], - "settings": { - "foreground": "#fff" - } - }, - { - "name": "Fallback comments", - "scope": [ - "comment" - ], - "settings": { - "foreground": "#fff4" - } - }, - { - "name": "Fallback constants", - "scope": [ - "constant" - ], - "settings": { - "foreground": "#fff8" - } - }, - { - "name": "Fallback self/this", - "scope": [ - "variable.language.this" - ], - "settings": { - "foreground": "#fff" - } - }, - { - "name": "Fallback types", - "scope": [ - "entity.other.alias", - "source.php support.class", - "entity.name.type", - "meta.function-call support.class", - "keyword.other.type", - "entity.other.inherited-class" - ], - "settings": { - "foreground": "#fff", - "fontStyle": "bold" - } - }, - { - "name": "Fallback method calls", - "scope": [ - "meta.method-call entity.name.function" - ], - "settings": { - "foreground": "#fff", - "fontStyle": "" - } - }, - { - "name": "Fallback function calls", - "scope": [ - "meta.function-call entity.name.function", - "meta.function-call support.function", - "meta.function.call entity.name.function" - ], - "settings": { - "foreground": "#fff", - "fontStyle": "" - } - }, - { - "name": "Fallback enums & constants", - "scope": [ - "constant.enum", - "constant.other" - ], - "settings": { - "foreground": "#fff8" - } - }, - { - "name": "Fallback Properties & func arguments", - "scope": [ - "variable.other.property", - "entity.name.goto-label", - "entity.name.variable.parameter" - ], - "settings": { - "foreground": "#fff" - } - }, - { - "name": "Fallback functions & methods declarations", - "scope": [ - "entity.name.function", - "support.function", - "support.function.constructor", - "entity.name.function meta.function-call meta.method-call" - ], - "settings": { - "foreground": "#fff", - "fontStyle": "bold" - } - }, - { - "name": "HTML Tags", - "scope": [ - "meta.tag entity.name.tag.html", - "entity.name.tag.template.html" - ], - "settings": { - "foreground": "#fff" - } - }, - { - "name": "HTML Attributes", - "scope": [ - "entity.other.attribute-name.html" - ], - "settings": { - "foreground": "#fff8" - } - }, - { - "name": "HTML Custom Tag", - "scope": [ - "meta.tag.other.unrecognized.html entity.name.tag.html" - ], - "settings": { - "foreground": "#fff" - } - }, - { - "name": "HTML Keywords", - "scope": [ - "text.html keyword" - ], - "settings": { - "foreground": "#fff" - } - }, - { - "name": "Punctuations", - "scope": [ - "punctuation", - "meta.brace" - ], - "settings": { - "foreground": "#fff8" - } - } - ] -} \ No newline at end of file diff --git a/apps/www/other/themes/light.json b/apps/www/other/themes/light.json deleted file mode 100644 index ee9485a09..000000000 --- a/apps/www/other/themes/light.json +++ /dev/null @@ -1,409 +0,0 @@ -{ - "name": "Lambda Studio — Whiteout", - "semanticHighlighting": true, - "colors": { - "editorLink.activeForeground": "#ca8a0488", - "foreground": "#0008", - "button.background": "#000", - "button.foreground": "#fff", - "button.hoverBackground": "#000b", - "list.highlightForeground": "#000", - "textLink.foreground": "#000", - "scrollbar.shadow": "#fff", - "textLink.activeForeground": "#0008", - "editor.lineHighlightBackground": "#8881", - "editor.lineHighlightBorder": "#8882", - "editorCursor.foreground": "#000", - "editor.findMatchBackground": "#0008", - "editor.findMatchHighlightBackground": "#0002", - "list.activeSelectionForeground": "#000", - "list.focusForeground": "#000", - "list.hoverForeground": "#000", - "list.inactiveSelectionForeground": "#000", - "list.inactiveSelectionBackground": "#fff", - "list.focusBackground": "#fff", - "list.focusAndSelectionOutline": "#fff", - "list.focusHighlightForeground": "#000", - "list.hoverBackground": "#fff", - "list.focusOutline": "#fff", - "list.activeSelectionBackground": "#fff", - "editorIndentGuide.background": "#0002", - "editor.background": "#fff", - "editor.foreground": "#000", - "editor.foldBackground": "#fff", - "editor.hoverHighlightBackground": "#fff", - "editor.selectionBackground": "#8888", - "editor.inactiveSelectionBackground": "#8882", - "gitDecoration.modifiedResourceForeground": "#000", - "gitDecoration.untrackedResourceForeground": "#a7cb7b", - "gitDecoration.conflictingResourceForeground": "#ca8a04", - "gitDecoration.deletedResourceForeground": "#c97b89", - "listFilterWidget.background": "#fff", - "input.background": "#0001", - "titleBar.activeForeground": "#000", - "editorWidget.background": "#fff", - "editorGutter.background": "#fff", - "debugToolBar.background": "#fff", - "commandCenter.background": "#fff", - "sideBarSectionHeader.background": "#fff", - "focusBorder": "#0008", - "titleBar.activeBackground": "#fff", - "titleBar.inactiveBackground": "#fff", - "breadcrumb.background": "#fff", - "activityBar.background": "#fff", - "activityBar.foreground": "#0008", - "panel.background": "#fff", - "sideBar.background": "#fff", - "sideBarTitle.foreground": "#0008", - "tab.hoverBackground": "#fff", - "terminal.background": "#fff", - "statusBar.background": "#fff", - "statusBar.foreground": "#0008", - "selection.background": "#0002", - "editorPane.background": "#fff", - "badge.background": "#fff", - "banner.background": "#fff", - "menu.background": "#fff", - "activityBarBadge.background": "#fff", - "activityBarBadge.foreground": "#0008", - "editorLineNumber.foreground": "#0002", - "editorLineNumber.activeForeground": "#0008", - "statusBarItem.errorBackground": "#f43f5e" - }, - "semanticTokenColors": { - "comment": { - "foreground": "#0004" - }, - "keyword": { - "foreground": "#0008" - }, - "string": { - "foreground": "#0008" - }, - "selfKeyword": { - "foreground": "#000", - "bold": true - }, - "method.declaration": { - "foreground": "#000", - "bold": true - }, - "method.definition": { - "foreground": "#000", - "bold": true - }, - "method": { - "foreground": "#000", - "bold": false - }, - "function.declaration": { - "foreground": "#000", - "bold": true - }, - "function.definition": { - "foreground": "#000", - "bold": true - }, - "function": { - "foreground": "#000", - "bold": false - }, - "property": { - "foreground": "#000" - }, - "enumMember": { - "foreground": "#0008", - "bold": false - }, - "enum": { - "foreground": "#000", - "bold": true - }, - "boolean": { - "foreground": "#0008" - }, - "number": { - "foreground": "#0008" - }, - "type": { - "foreground": "#000", - "bold": true - }, - "typeAlias": { - "foreground": "#000", - "bold": true - }, - "class": { - "foreground": "#000", - "bold": true - }, - "selfTypeKeyword": { - "foreground": "#000", - "bold": true - }, - "builtinType": { - "foreground": "#000", - "bold": true - }, - "interface": { - "foreground": "#0008", - "bold": false - }, - "typeParameter": { - "foreground": "#000", - "bold": true - }, - "lifetime": { - "foreground": "#0008", - "italic": false, - "bold": false - }, - "namespace": { - "foreground": "#000" - }, - "macro": { - "foreground": "#000", - "bold": false - }, - "decorator": { - "foreground": "#000", - "bold": false - }, - "builtinAttribute": { - "foreground": "#000", - "bold": false - }, - "generic.attribute": { - "foreground": "#000" - }, - "derive": { - "foreground": "#000" - }, - "operator": { - "foreground": "#0008" - }, - "variable": { - "foreground": "#000" - }, - "variable.readonly": { - "foreground": "#0008" - }, - "parameter": { - "foreground": "#000" - }, - "variable.mutable": { - "underline": true - }, - "parameter.mutable": { - "underline": true - }, - "selfKeyword.mutable": { - "underline": true - }, - "variable.constant": { - "foreground": "#0008" - }, - "struct": { - "foreground": "#000", - "bold": true - } - }, - "tokenColors": [ - { - "name": "Fallback Operator", - "scope": [ - "keyword.operator" - ], - "settings": { - "foreground": "#0008" - } - }, - { - "name": "Fallback keywords", - "scope": [ - "storage.type.ts", - "keyword", - "keyword.other", - "keyword.control", - "storage.type", - "storage.modifier" - ], - "settings": { - "foreground": "#0008" - } - }, - { - "name": "Fallback strings", - "scope": [ - "string" - ], - "settings": { - "foreground": "#0008" - } - }, - { - "name": "Fallback JSON Properties", - "scope": [ - "support.type.property-name.json" - ], - "settings": { - "foreground": "#000" - } - }, - { - "name": "Fallback string variables", - "scope": [ - "string variable", - "string meta.interpolation" - ], - "settings": { - "foreground": "#000" - } - }, - { - "name": "Fallback comments", - "scope": [ - "comment" - ], - "settings": { - "foreground": "#0004" - } - }, - { - "name": "Fallback constants", - "scope": [ - "constant" - ], - "settings": { - "foreground": "#0008" - } - }, - { - "name": "Fallback self/this", - "scope": [ - "variable.language.this" - ], - "settings": { - "foreground": "#000" - } - }, - { - "name": "Fallback types", - "scope": [ - "entity.other.alias", - "source.php support.class", - "entity.name.type", - "meta.function-call support.class", - "keyword.other.type", - "entity.other.inherited-class" - ], - "settings": { - "foreground": "#000", - "fontStyle": "bold" - } - }, - { - "name": "Fallback method calls", - "scope": [ - "meta.method-call entity.name.function" - ], - "settings": { - "foreground": "#000", - "fontStyle": "" - } - }, - { - "name": "Fallback function calls", - "scope": [ - "meta.function-call entity.name.function", - "meta.function-call support.function", - "meta.function.call entity.name.function" - ], - "settings": { - "foreground": "#000", - "fontStyle": "" - } - }, - { - "name": "Fallback enums & constants", - "scope": [ - "constant.enum", - "constant.other" - ], - "settings": { - "foreground": "#0008" - } - }, - { - "name": "Fallback Properties & func arguments", - "scope": [ - "variable.other.property", - "entity.name.goto-label", - "entity.name.variable.parameter" - ], - "settings": { - "foreground": "#000" - } - }, - { - "name": "Fallback functions & methods declarations", - "scope": [ - "entity.name.function", - "support.function", - "support.function.constructor", - "entity.name.function meta.function-call meta.method-call" - ], - "settings": { - "foreground": "#000", - "fontStyle": "bold" - } - }, - { - "name": "HTML Tags", - "scope": [ - "meta.tag entity.name.tag.html", - "entity.name.tag.template.html" - ], - "settings": { - "foreground": "#000" - } - }, - { - "name": "HTML Attributes", - "scope": [ - "entity.other.attribute-name.html" - ], - "settings": { - "foreground": "#0008" - } - }, - { - "name": "HTML Custom Tag", - "scope": [ - "meta.tag.other.unrecognized.html entity.name.tag.html" - ], - "settings": { - "foreground": "#000" - } - }, - { - "name": "HTML Keywords", - "scope": [ - "text.html keyword" - ], - "settings": { - "foreground": "#000" - } - }, - { - "name": "Punctuations", - "scope": [ - "punctuation", - "meta.brace" - ], - "settings": { - "foreground": "#0008" - } - } - ] -} \ No newline at end of file diff --git a/apps/www/src/__registry__/blocks.js b/apps/www/src/__registry__/blocks.js deleted file mode 100644 index ec50319db..000000000 --- a/apps/www/src/__registry__/blocks.js +++ /dev/null @@ -1,162 +0,0 @@ - -// This file is autogenerated by scripts/build-registry.ts -// Do not edit this file directly. -export const Blocks = { - "default": { - "authentication-01": { - name: "authentication-01", - type: "components:block", - chunks: [], - component: () => import("../lib/registry/default/block/authentication-01.svelte").then((m) => m.default), - raw: () => import("../lib/registry/default/block/authentication-01.svelte?raw").then((m) => m.default), - }, - "authentication-02": { - name: "authentication-02", - type: "components:block", - chunks: [], - component: () => import("../lib/registry/default/block/authentication-02.svelte").then((m) => m.default), - raw: () => import("../lib/registry/default/block/authentication-02.svelte?raw").then((m) => m.default), - }, - "authentication-03": { - name: "authentication-03", - type: "components:block", - chunks: [], - component: () => import("../lib/registry/default/block/authentication-03.svelte").then((m) => m.default), - raw: () => import("../lib/registry/default/block/authentication-03.svelte?raw").then((m) => m.default), - }, - "authentication-04": { - name: "authentication-04", - type: "components:block", - chunks: [], - component: () => import("../lib/registry/default/block/authentication-04.svelte").then((m) => m.default), - raw: () => import("../lib/registry/default/block/authentication-04.svelte?raw").then((m) => m.default), - }, - "dashboard-01": { - name: "dashboard-01", - type: "components:block", - chunks: [ { name: "dashboard-01-chunk-0", description: "A card showing the total revenue in USD and the percentage difference from last month.", container: { className: "" }, raw: () => import("./chunks/default/dashboard-01-chunk-0.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-01-chunk-0.svelte").then((m) => m.default) }, { name: "dashboard-01-chunk-1", description: "A card showing the total subscriptions and the percentage difference from last month.", container: { className: "" }, raw: () => import("./chunks/default/dashboard-01-chunk-1.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-01-chunk-1.svelte").then((m) => m.default) }, { name: "dashboard-01-chunk-2", description: "A card showing the total sales and the percentage difference from last month.", container: { className: "" }, raw: () => import("./chunks/default/dashboard-01-chunk-2.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-01-chunk-2.svelte").then((m) => m.default) }, { name: "dashboard-01-chunk-3", description: "A card showing the total active users and the percentage difference from last hour.", container: { className: "" }, raw: () => import("./chunks/default/dashboard-01-chunk-3.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-01-chunk-3.svelte").then((m) => m.default) }, { name: "dashboard-01-chunk-4", description: "A card showing a table of recent transactions with a link to view all transactions.", container: { className: "" }, raw: () => import("./chunks/default/dashboard-01-chunk-4.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-01-chunk-4.svelte").then((m) => m.default) }, { name: "dashboard-01-chunk-5", description: "A card showing a list of recent sales with customer names and email addresses.", container: { className: "" }, raw: () => import("./chunks/default/dashboard-01-chunk-5.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-01-chunk-5.svelte").then((m) => m.default) }], - component: () => import("../lib/registry/default/block/dashboard-01.svelte").then((m) => m.default), - raw: () => import("../lib/registry/default/block/dashboard-01.svelte?raw").then((m) => m.default), - }, - "dashboard-02": { - name: "dashboard-02", - type: "components:block", - chunks: [ { name: "dashboard-02-chunk-0", description: "A card with a call to action", container: { className: "" }, raw: () => import("./chunks/default/dashboard-02-chunk-0.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-02-chunk-0.svelte").then((m) => m.default) }, { name: "dashboard-02-chunk-1", description: "An empty state showing no products with a heading, description and a call to action to add a product.", container: { className: "" }, raw: () => import("./chunks/default/dashboard-02-chunk-1.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-02-chunk-1.svelte").then((m) => m.default) }], - component: () => import("../lib/registry/default/block/dashboard-02.svelte").then((m) => m.default), - raw: () => import("../lib/registry/default/block/dashboard-02.svelte?raw").then((m) => m.default), - }, - "dashboard-03": { - name: "dashboard-03", - type: "components:block", - chunks: [ { name: "dashboard-03-chunk-0", description: "A settings form a configuring an AI model and messages.", container: { className: "" }, raw: () => import("./chunks/default/dashboard-03-chunk-0.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-03-chunk-0.svelte").then((m) => m.default) }, { name: "dashboard-03-chunk-1", description: "A form for sending a message to an AI chatbot. The form has a textarea and buttons to upload files and record audio.", container: { className: "" }, raw: () => import("./chunks/default/dashboard-03-chunk-1.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-03-chunk-1.svelte").then((m) => m.default) }], - component: () => import("../lib/registry/default/block/dashboard-03.svelte").then((m) => m.default), - raw: () => import("../lib/registry/default/block/dashboard-03.svelte?raw").then((m) => m.default), - }, - "dashboard-04": { - name: "dashboard-04", - type: "components:block", - chunks: [ { name: "dashboard-04-chunk-0", description: "A sidebar navigation with links to general, security, integrations, support, organizations, and advanced settings.", container: { className: "chunk-container after:right-0" }, raw: () => import("./chunks/default/dashboard-04-chunk-0.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-04-chunk-0.svelte").then((m) => m.default) }, { name: "dashboard-04-chunk-1", description: "A form to update the store name.", container: { className: "" }, raw: () => import("./chunks/default/dashboard-04-chunk-1.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-04-chunk-1.svelte").then((m) => m.default) }, { name: "dashboard-04-chunk-2", description: "A form to update the plugins directory with a checkbox to allow administrators to change the directory.", container: { className: "" }, raw: () => import("./chunks/default/dashboard-04-chunk-2.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-04-chunk-2.svelte").then((m) => m.default) }], - component: () => import("../lib/registry/default/block/dashboard-04.svelte").then((m) => m.default), - raw: () => import("../lib/registry/default/block/dashboard-04.svelte?raw").then((m) => m.default), - }, - "dashboard-05": { - name: "dashboard-05", - type: "components:block", - chunks: [ { name: "dashboard-05-chunk-0", description: "A card for an orders dashboard with a description and a button to create a new order.", container: { className: "" }, raw: () => import("./chunks/default/dashboard-05-chunk-0.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-05-chunk-0.svelte").then((m) => m.default) }, { name: "dashboard-05-chunk-1", description: "A stats card showing this week's total sales in USD, the percentage difference from last week, and a progress bar.", container: { className: "" }, raw: () => import("./chunks/default/dashboard-05-chunk-1.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-05-chunk-1.svelte").then((m) => m.default) }, { name: "dashboard-05-chunk-2", description: "A stats card showing this month's total sales in USD, the percentage difference from last month, and a progress bar.", container: { className: "" }, raw: () => import("./chunks/default/dashboard-05-chunk-2.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-05-chunk-2.svelte").then((m) => m.default) }, { name: "dashboard-05-chunk-3", description: "A table of recent orders showing the following columns: Customer, Type, Status, Date, and Amount.", container: { className: "" }, raw: () => import("./chunks/default/dashboard-05-chunk-3.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-05-chunk-3.svelte").then((m) => m.default) }, { name: "dashboard-05-chunk-4", description: "An order details card with order details, shipping information, customer information and payment information.", container: { className: "" }, raw: () => import("./chunks/default/dashboard-05-chunk-4.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-05-chunk-4.svelte").then((m) => m.default) }], - component: () => import("../lib/registry/default/block/dashboard-05.svelte").then((m) => m.default), - raw: () => import("../lib/registry/default/block/dashboard-05.svelte?raw").then((m) => m.default), - }, - "dashboard-06": { - name: "dashboard-06", - type: "components:block", - chunks: [ { name: "dashboard-06-chunk-0", description: "A list of products in a table with actions. Each row has an image, name, status, price, total sales, created at and actions.", container: { className: "" }, raw: () => import("./chunks/default/dashboard-06-chunk-0.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-06-chunk-0.svelte").then((m) => m.default) }], - component: () => import("../lib/registry/default/block/dashboard-06.svelte").then((m) => m.default), - raw: () => import("../lib/registry/default/block/dashboard-06.svelte?raw").then((m) => m.default), - }, - "dashboard-07": { - name: "dashboard-07", - type: "components:block", - chunks: [ { name: "dashboard-07-chunk-0", description: "A card with a form to edit the product details", container: { className: "" }, raw: () => import("./chunks/default/dashboard-07-chunk-0.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-07-chunk-0.svelte").then((m) => m.default) }, { name: "dashboard-07-chunk-1", description: "A card with a form to edit the product stock and variants", container: { className: "" }, raw: () => import("./chunks/default/dashboard-07-chunk-1.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-07-chunk-1.svelte").then((m) => m.default) }, { name: "dashboard-07-chunk-2", description: "A card with a form to edit the product category and subcategory", container: { className: "" }, raw: () => import("./chunks/default/dashboard-07-chunk-2.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-07-chunk-2.svelte").then((m) => m.default) }, { name: "dashboard-07-chunk-3", description: "A card with a form to edit the product status", container: { className: "" }, raw: () => import("./chunks/default/dashboard-07-chunk-3.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-07-chunk-3.svelte").then((m) => m.default) }, { name: "dashboard-07-chunk-4", description: "A card with a form to upload product images", container: { className: "" }, raw: () => import("./chunks/default/dashboard-07-chunk-4.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-07-chunk-4.svelte").then((m) => m.default) }, { name: "dashboard-07-chunk-5", description: "A card with a call to action to archive the product", container: { className: "" }, raw: () => import("./chunks/default/dashboard-07-chunk-5.svelte?raw").then((m) => m.default), component: () => import("./chunks/default/dashboard-07-chunk-5.svelte").then((m) => m.default) }], - component: () => import("../lib/registry/default/block/dashboard-07.svelte").then((m) => m.default), - raw: () => import("../lib/registry/default/block/dashboard-07.svelte?raw").then((m) => m.default), - }, - }, "new-york": { - "authentication-01": { - name: "authentication-01", - type: "components:block", - chunks: [], - component: () => import("../lib/registry/new-york/block/authentication-01.svelte").then((m) => m.default), - raw: () => import("../lib/registry/new-york/block/authentication-01.svelte?raw").then((m) => m.default), - }, - "authentication-02": { - name: "authentication-02", - type: "components:block", - chunks: [], - component: () => import("../lib/registry/new-york/block/authentication-02.svelte").then((m) => m.default), - raw: () => import("../lib/registry/new-york/block/authentication-02.svelte?raw").then((m) => m.default), - }, - "authentication-03": { - name: "authentication-03", - type: "components:block", - chunks: [], - component: () => import("../lib/registry/new-york/block/authentication-03.svelte").then((m) => m.default), - raw: () => import("../lib/registry/new-york/block/authentication-03.svelte?raw").then((m) => m.default), - }, - "authentication-04": { - name: "authentication-04", - type: "components:block", - chunks: [], - component: () => import("../lib/registry/new-york/block/authentication-04.svelte").then((m) => m.default), - raw: () => import("../lib/registry/new-york/block/authentication-04.svelte?raw").then((m) => m.default), - }, - "dashboard-01": { - name: "dashboard-01", - type: "components:block", - chunks: [ { name: "dashboard-01-chunk-0", description: "A card showing the total revenue in USD and the percentage difference from last month.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-01-chunk-0.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-01-chunk-0.svelte").then((m) => m.default) }, { name: "dashboard-01-chunk-1", description: "A card showing the total subscriptions and the percentage difference from last month.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-01-chunk-1.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-01-chunk-1.svelte").then((m) => m.default) }, { name: "dashboard-01-chunk-2", description: "A card showing the total sales and the percentage difference from last month.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-01-chunk-2.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-01-chunk-2.svelte").then((m) => m.default) }, { name: "dashboard-01-chunk-3", description: "A card showing the total active users and the percentage difference from last hour.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-01-chunk-3.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-01-chunk-3.svelte").then((m) => m.default) }, { name: "dashboard-01-chunk-4", description: "A card showing a table of recent transactions with a link to view all transactions.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-01-chunk-4.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-01-chunk-4.svelte").then((m) => m.default) }, { name: "dashboard-01-chunk-5", description: "A card showing a list of recent sales with customer names and email addresses.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-01-chunk-5.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-01-chunk-5.svelte").then((m) => m.default) }], - component: () => import("../lib/registry/new-york/block/dashboard-01.svelte").then((m) => m.default), - raw: () => import("../lib/registry/new-york/block/dashboard-01.svelte?raw").then((m) => m.default), - }, - "dashboard-02": { - name: "dashboard-02", - type: "components:block", - chunks: [ { name: "dashboard-02-chunk-0", description: "A card with a call to action", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-02-chunk-0.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-02-chunk-0.svelte").then((m) => m.default) }, { name: "dashboard-02-chunk-1", description: "An empty state showing no products with a heading, description and a call to action to add a product.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-02-chunk-1.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-02-chunk-1.svelte").then((m) => m.default) }], - component: () => import("../lib/registry/new-york/block/dashboard-02.svelte").then((m) => m.default), - raw: () => import("../lib/registry/new-york/block/dashboard-02.svelte?raw").then((m) => m.default), - }, - "dashboard-03": { - name: "dashboard-03", - type: "components:block", - chunks: [ { name: "dashboard-03-chunk-0", description: "A settings form a configuring an AI model and messages.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-03-chunk-0.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-03-chunk-0.svelte").then((m) => m.default) }, { name: "dashboard-03-chunk-1", description: "A form for sending a message to an AI chatbot. The form has a textarea and buttons to upload files and record audio.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-03-chunk-1.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-03-chunk-1.svelte").then((m) => m.default) }], - component: () => import("../lib/registry/new-york/block/dashboard-03.svelte").then((m) => m.default), - raw: () => import("../lib/registry/new-york/block/dashboard-03.svelte?raw").then((m) => m.default), - }, - "dashboard-04": { - name: "dashboard-04", - type: "components:block", - chunks: [ { name: "dashboard-04-chunk-0", description: "A sidebar navigation with links to general, security, integrations, support, organizations, and advanced settings.", container: { className: "chunk-container after:right-0" }, raw: () => import("./chunks/new-york/dashboard-04-chunk-0.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-04-chunk-0.svelte").then((m) => m.default) }, { name: "dashboard-04-chunk-1", description: "A form to update the store name.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-04-chunk-1.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-04-chunk-1.svelte").then((m) => m.default) }, { name: "dashboard-04-chunk-2", description: "A form to update the plugins directory with a checkbox to allow administrators to change the directory.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-04-chunk-2.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-04-chunk-2.svelte").then((m) => m.default) }], - component: () => import("../lib/registry/new-york/block/dashboard-04.svelte").then((m) => m.default), - raw: () => import("../lib/registry/new-york/block/dashboard-04.svelte?raw").then((m) => m.default), - }, - "dashboard-05": { - name: "dashboard-05", - type: "components:block", - chunks: [ { name: "dashboard-05-chunk-0", description: "A card for an orders dashboard with a description and a button to create a new order.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-05-chunk-0.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-05-chunk-0.svelte").then((m) => m.default) }, { name: "dashboard-05-chunk-1", description: "A stats card showing this week's total sales in USD, the percentage difference from last week, and a progress bar.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-05-chunk-1.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-05-chunk-1.svelte").then((m) => m.default) }, { name: "dashboard-05-chunk-2", description: "A stats card showing this month's total sales in USD, the percentage difference from last month, and a progress bar.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-05-chunk-2.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-05-chunk-2.svelte").then((m) => m.default) }, { name: "dashboard-05-chunk-3", description: "A table of recent orders showing the following columns: Customer, Type, Status, Date, and Amount.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-05-chunk-3.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-05-chunk-3.svelte").then((m) => m.default) }, { name: "dashboard-05-chunk-4", description: "An order details card with order details, shipping information, customer information and payment information.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-05-chunk-4.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-05-chunk-4.svelte").then((m) => m.default) }], - component: () => import("../lib/registry/new-york/block/dashboard-05.svelte").then((m) => m.default), - raw: () => import("../lib/registry/new-york/block/dashboard-05.svelte?raw").then((m) => m.default), - }, - "dashboard-06": { - name: "dashboard-06", - type: "components:block", - chunks: [ { name: "dashboard-06-chunk-0", description: "A breadcrumb with two links and a page indicator.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-06-chunk-0.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-06-chunk-0.svelte").then((m) => m.default) }, { name: "dashboard-06-chunk-1", description: "A list of products in a table with actions. Each row has an image, name, status, price, total sales, created at and actions.", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-06-chunk-1.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-06-chunk-1.svelte").then((m) => m.default) }], - component: () => import("../lib/registry/new-york/block/dashboard-06.svelte").then((m) => m.default), - raw: () => import("../lib/registry/new-york/block/dashboard-06.svelte?raw").then((m) => m.default), - }, - "dashboard-07": { - name: "dashboard-07", - type: "components:block", - chunks: [ { name: "dashboard-07-chunk-0", description: "A card with a form to edit the product details", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-07-chunk-0.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-07-chunk-0.svelte").then((m) => m.default) }, { name: "dashboard-07-chunk-1", description: "A card with a form to edit the product stock and variants", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-07-chunk-1.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-07-chunk-1.svelte").then((m) => m.default) }, { name: "dashboard-07-chunk-2", description: "A card with a form to edit the product category and subcategory", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-07-chunk-2.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-07-chunk-2.svelte").then((m) => m.default) }, { name: "dashboard-07-chunk-3", description: "A card with a form to edit the product status", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-07-chunk-3.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-07-chunk-3.svelte").then((m) => m.default) }, { name: "dashboard-07-chunk-4", description: "A card with a form to upload product images", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-07-chunk-4.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-07-chunk-4.svelte").then((m) => m.default) }, { name: "dashboard-07-chunk-5", description: "A card with a call to action to archive the product", container: { className: "" }, raw: () => import("./chunks/new-york/dashboard-07-chunk-5.svelte?raw").then((m) => m.default), component: () => import("./chunks/new-york/dashboard-07-chunk-5.svelte").then((m) => m.default) }], - component: () => import("../lib/registry/new-york/block/dashboard-07.svelte").then((m) => m.default), - raw: () => import("../lib/registry/new-york/block/dashboard-07.svelte?raw").then((m) => m.default), - }, - }, -}; diff --git a/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-0.svelte b/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-0.svelte deleted file mode 100644 index 01b021781..000000000 --- a/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-0.svelte +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Total Revenue - - - -
$45,231.89
-

+20.1% from last month

-
-
diff --git a/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-1.svelte b/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-1.svelte deleted file mode 100644 index e89516839..000000000 --- a/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-1.svelte +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Subscriptions - - - -
+2350
-

+180.1% from last month

-
-
diff --git a/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-2.svelte b/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-2.svelte deleted file mode 100644 index 08c47f992..000000000 --- a/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-2.svelte +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Sales - - - -
+12,234
-

+19% from last month

-
-
diff --git a/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-3.svelte b/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-3.svelte deleted file mode 100644 index 8a10625d8..000000000 --- a/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-3.svelte +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Active Now - - - -
+573
-

+201 since last hour

-
-
diff --git a/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-4.svelte b/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-4.svelte deleted file mode 100644 index dc14c7b05..000000000 --- a/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-4.svelte +++ /dev/null @@ -1,119 +0,0 @@ - - - - -
- Transactions - Recent transactions from your store. -
- -
- - - - - Customer - - - - Amount - - - - - -
Liam Johnson
- -
- - - - $250.00 -
- - -
Olivia Smith
- -
- - - - $150.00 -
- - -
Noah Williams
- -
- - - - $350.00 -
- - -
Emma Brown
- -
- - - - $450.00 -
- - -
Liam Johnson
- -
- - - - $550.00 -
-
-
-
-
diff --git a/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-5.svelte b/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-5.svelte deleted file mode 100644 index dec56fb72..000000000 --- a/apps/www/src/__registry__/chunks/default/dashboard-01-chunk-5.svelte +++ /dev/null @@ -1,70 +0,0 @@ - - - - - Recent Sales - - -
- -
-

Olivia Martin

-

olivia.martin@email.com

-
-
+$1,999.00
-
-
- -
-

Jackson Lee

-

jackson.lee@email.com

-
-
+$39.00
-
-
- -
-

Isabella Nguyen

-

isabella.nguyen@email.com

-
-
+$299.00
-
-
- -
-

William Kim

-

will@email.com

-
-
+$99.00
-
-
- -
-

Sofia Davis

-

sofia.davis@email.com

-
-
+$39.00
-
-
-
diff --git a/apps/www/src/__registry__/chunks/default/dashboard-02-chunk-1.svelte b/apps/www/src/__registry__/chunks/default/dashboard-02-chunk-1.svelte deleted file mode 100644 index a304976c3..000000000 --- a/apps/www/src/__registry__/chunks/default/dashboard-02-chunk-1.svelte +++ /dev/null @@ -1,17 +0,0 @@ - - -
-
-

You have no products

-

- You can start selling as soon as you add a product. -

- -
-
diff --git a/apps/www/src/__registry__/chunks/default/dashboard-03-chunk-0.svelte b/apps/www/src/__registry__/chunks/default/dashboard-03-chunk-0.svelte deleted file mode 100644 index 365916209..000000000 --- a/apps/www/src/__registry__/chunks/default/dashboard-03-chunk-0.svelte +++ /dev/null @@ -1,114 +0,0 @@ - - -\n" - }, - { - "name": "range-calendar-next-button.svelte", - "content": "\n\n\n\t\n\t\t\n\t\n\n" - }, - { - "name": "range-calendar-prev-button.svelte", - "content": "\n\n\n\t\n\t\t\n\t\n\n" - }, - { - "name": "range-calendar.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\n\t\t\n\t\n\t\n\t\t{#each months as month}\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{#each weekdays as weekday}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{weekday.slice(0, 2)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t{/each}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{#each month.weeks as weekDates}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{#each weekDates as date}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{/each}\n\t\t\t\t\t\t\n\t\t\t\t\t{/each}\n\t\t\t\t\n\t\t\t\n\t\t{/each}\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/default/resizable.json b/apps/www/static/registry/styles/default/resizable.json deleted file mode 100644 index 4454209b4..000000000 --- a/apps/www/static/registry/styles/default/resizable.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "resizable", - "dependencies": [ - "lucide-svelte", - "paneforge" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import { Pane } from \"paneforge\";\nimport Handle from \"./resizable-handle.svelte\";\nimport PaneGroup from \"./resizable-pane-group.svelte\";\n\nexport {\n\tPaneGroup,\n\tPane,\n\tHandle,\n\t//\n\tPaneGroup as ResizablePaneGroup,\n\tPane as ResizablePane,\n\tHandle as ResizableHandle,\n};\n" - }, - { - "name": "resizable-handle.svelte", - "content": "\n\ndiv]:rotate-90\",\n\t\tclassName\n\t)}\n>\n\t{#if withHandle}\n\t\t
\n\t\t\t\n\t\t
\n\t{/if}\n\n" - }, - { - "name": "resizable-pane-group.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/default/scroll-area.json b/apps/www/static/registry/styles/default/scroll-area.json deleted file mode 100644 index 43ab2ecfa..000000000 --- a/apps/www/static/registry/styles/default/scroll-area.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "scroll-area", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import Scrollbar from \"./scroll-area-scrollbar.svelte\";\nimport Root from \"./scroll-area.svelte\";\n\nexport {\n\tRoot,\n\tScrollbar,\n\t//,\n\tRoot as ScrollArea,\n\tScrollbar as ScrollAreaScrollbar,\n};\n" - }, - { - "name": "scroll-area-scrollbar.svelte", - "content": "\n\n\n\t\n\t\n\n" - }, - { - "name": "scroll-area.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t{#if orientation === \"vertical\" || orientation === \"both\"}\n\t\t\n\t{/if}\n\t{#if orientation === \"horizontal\" || orientation === \"both\"}\n\t\t\n\t{/if}\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/default/select.json b/apps/www/static/registry/styles/default/select.json deleted file mode 100644 index 459425365..000000000 --- a/apps/www/static/registry/styles/default/select.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "select", - "dependencies": [ - "bits-ui", - "lucide-svelte" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import { Select as SelectPrimitive } from \"bits-ui\";\n\nimport Label from \"./select-label.svelte\";\nimport Item from \"./select-item.svelte\";\nimport Content from \"./select-content.svelte\";\nimport Trigger from \"./select-trigger.svelte\";\nimport Separator from \"./select-separator.svelte\";\n\nconst Root = SelectPrimitive.Root;\nconst Group = SelectPrimitive.Group;\nconst Input = SelectPrimitive.Input;\nconst Value = SelectPrimitive.Value;\n\nexport {\n\tRoot,\n\tGroup,\n\tInput,\n\tLabel,\n\tItem,\n\tValue,\n\tContent,\n\tTrigger,\n\tSeparator,\n\t//\n\tRoot as Select,\n\tGroup as SelectGroup,\n\tInput as SelectInput,\n\tLabel as SelectLabel,\n\tItem as SelectItem,\n\tValue as SelectValue,\n\tContent as SelectContent,\n\tTrigger as SelectTrigger,\n\tSeparator as SelectSeparator,\n};\n" - }, - { - "name": "select-content.svelte", - "content": "\n\n\n\t
\n\t\t\n\t
\n\n" - }, - { - "name": "select-item.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\t\t{label || value}\n\t\n\n" - }, - { - "name": "select-label.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "select-separator.svelte", - "content": "\n\n\n" - }, - { - "name": "select-trigger.svelte", - "content": "\n\nspan]:line-clamp-1\",\n\t\tclassName\n\t)}\n\t{...$$restProps}\n\tlet:builder\n\ton:click\n\ton:keydown\n>\n\t\n\t
\n\t\t\n\t
\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/default/separator.json b/apps/www/static/registry/styles/default/separator.json deleted file mode 100644 index 1922cbcca..000000000 --- a/apps/www/static/registry/styles/default/separator.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "separator", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import Root from \"./separator.svelte\";\n\nexport {\n\tRoot,\n\t//\n\tRoot as Separator,\n};\n" - }, - { - "name": "separator.svelte", - "content": "\n\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/default/sheet.json b/apps/www/static/registry/styles/default/sheet.json deleted file mode 100644 index a54d4e862..000000000 --- a/apps/www/static/registry/styles/default/sheet.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "sheet", - "dependencies": [ - "bits-ui", - "lucide-svelte" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import { Dialog as SheetPrimitive } from \"bits-ui\";\nimport { type VariantProps, tv } from \"tailwind-variants\";\n\nimport Portal from \"./sheet-portal.svelte\";\nimport Overlay from \"./sheet-overlay.svelte\";\nimport Content from \"./sheet-content.svelte\";\nimport Header from \"./sheet-header.svelte\";\nimport Footer from \"./sheet-footer.svelte\";\nimport Title from \"./sheet-title.svelte\";\nimport Description from \"./sheet-description.svelte\";\n\nconst Root = SheetPrimitive.Root;\nconst Close = SheetPrimitive.Close;\nconst Trigger = SheetPrimitive.Trigger;\n\nexport {\n\tRoot,\n\tClose,\n\tTrigger,\n\tPortal,\n\tOverlay,\n\tContent,\n\tHeader,\n\tFooter,\n\tTitle,\n\tDescription,\n\t//\n\tRoot as Sheet,\n\tClose as SheetClose,\n\tTrigger as SheetTrigger,\n\tPortal as SheetPortal,\n\tOverlay as SheetOverlay,\n\tContent as SheetContent,\n\tHeader as SheetHeader,\n\tFooter as SheetFooter,\n\tTitle as SheetTitle,\n\tDescription as SheetDescription,\n};\n\nexport const sheetVariants = tv({\n\tbase: \"fixed z-50 gap-4 bg-background p-6 shadow-lg\",\n\tvariants: {\n\t\tside: {\n\t\t\ttop: \"inset-x-0 top-0 border-b\",\n\t\t\tbottom: \"inset-x-0 bottom-0 border-t\",\n\t\t\tleft: \"inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm\",\n\t\t\tright: \"inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tside: \"right\",\n\t},\n});\n\nexport const sheetTransitions = {\n\ttop: {\n\t\tin: {\n\t\t\ty: \"-100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\ty: \"-100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n\tbottom: {\n\t\tin: {\n\t\t\ty: \"100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\ty: \"100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n\tleft: {\n\t\tin: {\n\t\t\tx: \"-100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\tx: \"-100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n\tright: {\n\t\tin: {\n\t\t\tx: \"100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\tx: \"100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n};\n\nexport type Side = VariantProps[\"side\"];\n" - }, - { - "name": "sheet-content.svelte", - "content": "\n\n\n\t\n\t\n\t\t\n\t\t\n\t\t\t\n\t\t\tClose\n\t\t\n\t\n\n" - }, - { - "name": "sheet-description.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "sheet-footer.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "sheet-header.svelte", - "content": "\n\n
\n\t\n
\n" - }, - { - "name": "sheet-overlay.svelte", - "content": "\n\n\n" - }, - { - "name": "sheet-portal.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "sheet-title.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/default/skeleton.json b/apps/www/static/registry/styles/default/skeleton.json deleted file mode 100644 index 49a66f39e..000000000 --- a/apps/www/static/registry/styles/default/skeleton.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "skeleton", - "dependencies": [], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import Root from \"./skeleton.svelte\";\n\nexport {\n\tRoot,\n\t//\n\tRoot as Skeleton,\n};\n" - }, - { - "name": "skeleton.svelte", - "content": "\n\n
\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/default/slider.json b/apps/www/static/registry/styles/default/slider.json deleted file mode 100644 index 46573466f..000000000 --- a/apps/www/static/registry/styles/default/slider.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "slider", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import Root from \"./slider.svelte\";\n\nexport {\n\tRoot,\n\t//\n\tRoot as Slider,\n};\n" - }, - { - "name": "slider.svelte", - "content": "\n\n\n\t\n\t\t\n\t\n\t{#each thumbs as thumb}\n\t\t\n\t{/each}\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/default/sonner.json b/apps/www/static/registry/styles/default/sonner.json deleted file mode 100644 index 1fe97bcdd..000000000 --- a/apps/www/static/registry/styles/default/sonner.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "sonner", - "dependencies": [ - "svelte-sonner", - "mode-watcher" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "export { default as Toaster } from \"./sonner.svelte\";\n" - }, - { - "name": "sonner.svelte", - "content": "\n\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/default/switch.json b/apps/www/static/registry/styles/default/switch.json deleted file mode 100644 index 4f0b76bdb..000000000 --- a/apps/www/static/registry/styles/default/switch.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "switch", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import Root from \"./switch.svelte\";\n\nexport {\n\tRoot,\n\t//\n\tRoot as Switch,\n};\n" - }, - { - "name": "switch.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/default/table.json b/apps/www/static/registry/styles/default/table.json deleted file mode 100644 index 74268978b..000000000 --- a/apps/www/static/registry/styles/default/table.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "table", - "dependencies": [], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import Root from \"./table.svelte\";\nimport Body from \"./table-body.svelte\";\nimport Caption from \"./table-caption.svelte\";\nimport Cell from \"./table-cell.svelte\";\nimport Footer from \"./table-footer.svelte\";\nimport Head from \"./table-head.svelte\";\nimport Header from \"./table-header.svelte\";\nimport Row from \"./table-row.svelte\";\n\nexport {\n\tRoot,\n\tBody,\n\tCaption,\n\tCell,\n\tFooter,\n\tHead,\n\tHeader,\n\tRow,\n\t//\n\tRoot as Table,\n\tBody as TableBody,\n\tCaption as TableCaption,\n\tCell as TableCell,\n\tFooter as TableFooter,\n\tHead as TableHead,\n\tHeader as TableHeader,\n\tRow as TableRow,\n};\n" - }, - { - "name": "table-body.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "table-caption.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "table-cell.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "table-footer.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "table-head.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "table-header.svelte", - "content": "\n\n\n\n\t\n\n" - }, - { - "name": "table-row.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "table.svelte", - "content": "\n\n
\n\t\n\t\t\n\t
\n
\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/default/tabs.json b/apps/www/static/registry/styles/default/tabs.json deleted file mode 100644 index e912fb9c1..000000000 --- a/apps/www/static/registry/styles/default/tabs.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "tabs", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import { Tabs as TabsPrimitive } from \"bits-ui\";\nimport Content from \"./tabs-content.svelte\";\nimport List from \"./tabs-list.svelte\";\nimport Trigger from \"./tabs-trigger.svelte\";\n\nconst Root = TabsPrimitive.Root;\n\nexport {\n\tRoot,\n\tContent,\n\tList,\n\tTrigger,\n\t//\n\tRoot as Tabs,\n\tContent as TabsContent,\n\tList as TabsList,\n\tTrigger as TabsTrigger,\n};\n" - }, - { - "name": "tabs-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "tabs-list.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "tabs-trigger.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/default/textarea.json b/apps/www/static/registry/styles/default/textarea.json deleted file mode 100644 index 94bc25a42..000000000 --- a/apps/www/static/registry/styles/default/textarea.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "textarea", - "dependencies": [], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import Root from \"./textarea.svelte\";\n\ntype FormTextareaEvent = T & {\n\tcurrentTarget: EventTarget & HTMLTextAreaElement;\n};\n\ntype TextareaEvents = {\n\tblur: FormTextareaEvent;\n\tchange: FormTextareaEvent;\n\tclick: FormTextareaEvent;\n\tfocus: FormTextareaEvent;\n\tkeydown: FormTextareaEvent;\n\tkeypress: FormTextareaEvent;\n\tkeyup: FormTextareaEvent;\n\tmouseover: FormTextareaEvent;\n\tmouseenter: FormTextareaEvent;\n\tmouseleave: FormTextareaEvent;\n\tpaste: FormTextareaEvent;\n\tinput: FormTextareaEvent;\n};\n\nexport {\n\tRoot,\n\t//\n\tRoot as Textarea,\n\ttype TextareaEvents,\n\ttype FormTextareaEvent,\n};\n" - }, - { - "name": "textarea.svelte", - "content": "\n\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/default/toggle-group.json b/apps/www/static/registry/styles/default/toggle-group.json deleted file mode 100644 index 4f2d5d9b3..000000000 --- a/apps/www/static/registry/styles/default/toggle-group.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "toggle-group", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [ - "toggle" - ], - "files": [ - { - "name": "index.ts", - "content": "import type { VariantProps } from \"tailwind-variants\";\nimport { getContext, setContext } from \"svelte\";\nimport Root from \"./toggle-group.svelte\";\nimport Item from \"./toggle-group-item.svelte\";\nimport type { toggleVariants } from \"$lib/registry/default/ui/toggle/index.js\";\n\nexport type ToggleVariants = VariantProps;\n\nexport function setToggleGroupCtx(props: ToggleVariants) {\n\tsetContext(\"toggleGroup\", props);\n}\n\nexport function getToggleGroupCtx() {\n\treturn getContext(\"toggleGroup\");\n}\n\nexport {\n\tRoot,\n\tItem,\n\t//\n\tRoot as ToggleGroup,\n\tItem as ToggleGroupItem,\n};\n" - }, - { - "name": "toggle-group-item.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "toggle-group.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/default/toggle.json b/apps/www/static/registry/styles/default/toggle.json deleted file mode 100644 index af4fceb54..000000000 --- a/apps/www/static/registry/styles/default/toggle.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "toggle", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import { type VariantProps, tv } from \"tailwind-variants\";\nimport Root from \"./toggle.svelte\";\n\nexport const toggleVariants = tv({\n\tbase: \"inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground\",\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: \"bg-transparent\",\n\t\t\toutline:\n\t\t\t\t\"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground\",\n\t\t},\n\t\tsize: {\n\t\t\tdefault: \"h-10 px-3\",\n\t\t\tsm: \"h-9 px-2.5\",\n\t\t\tlg: \"h-11 px-5\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"default\",\n\t\tsize: \"default\",\n\t},\n});\n\nexport type Variant = VariantProps[\"variant\"];\nexport type Size = VariantProps[\"size\"];\n\nexport {\n\tRoot,\n\t//\n\tRoot as Toggle,\n};\n" - }, - { - "name": "toggle.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/default/tooltip.json b/apps/www/static/registry/styles/default/tooltip.json deleted file mode 100644 index 8c654cd73..000000000 --- a/apps/www/static/registry/styles/default/tooltip.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "tooltip", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import { Tooltip as TooltipPrimitive } from \"bits-ui\";\nimport Content from \"./tooltip-content.svelte\";\n\nconst Root = TooltipPrimitive.Root;\nconst Trigger = TooltipPrimitive.Trigger;\n\nexport {\n\tRoot,\n\tTrigger,\n\tContent,\n\t//\n\tRoot as Tooltip,\n\tContent as TooltipContent,\n\tTrigger as TooltipTrigger,\n};\n" - }, - { - "name": "tooltip-content.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/index.json b/apps/www/static/registry/styles/index.json deleted file mode 100644 index 45caf8256..000000000 --- a/apps/www/static/registry/styles/index.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "name": "default", - "label": "Default" - }, - { - "name": "new-york", - "label": "New York" - } -] \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/accordion.json b/apps/www/static/registry/styles/new-york-js/accordion.json deleted file mode 100644 index b532a074f..000000000 --- a/apps/www/static/registry/styles/new-york-js/accordion.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "accordion", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "accordion-content.svelte", - "content": "\n\n\n\t
\n\t\t\n\t
\n\n" - }, - { - "name": "accordion-item.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "accordion-trigger.svelte", - "content": "\n\n\n\tsvg]:rotate-180\",\n\t\t\tclassName\n\t\t)}\n\t\t{...$$restProps}\n\t\ton:click\n\t>\n\t\t\n\t\t\n\t\n\n" - }, - { - "name": "index.js", - "content": "import { Accordion as AccordionPrimitive } from \"bits-ui\";\nimport Content from \"./accordion-content.svelte\";\nimport Item from \"./accordion-item.svelte\";\nimport Trigger from \"./accordion-trigger.svelte\";\nconst Root = AccordionPrimitive.Root;\nexport {\n\tRoot,\n\tContent,\n\tItem,\n\tTrigger,\n\t//\n\tRoot as Accordion,\n\tContent as AccordionContent,\n\tItem as AccordionItem,\n\tTrigger as AccordionTrigger,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/alert-dialog.json b/apps/www/static/registry/styles/new-york-js/alert-dialog.json deleted file mode 100644 index 758e33f01..000000000 --- a/apps/www/static/registry/styles/new-york-js/alert-dialog.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "name": "alert-dialog", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [ - "button" - ], - "files": [ - { - "name": "alert-dialog-action.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "alert-dialog-cancel.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "alert-dialog-content.svelte", - "content": "\n\n\n\t\n\t\n\t\t\n\t\n\n" - }, - { - "name": "alert-dialog-description.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "alert-dialog-footer.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "alert-dialog-header.svelte", - "content": "\n\n
\n\t\n
\n" - }, - { - "name": "alert-dialog-overlay.svelte", - "content": "\n\n\n" - }, - { - "name": "alert-dialog-portal.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "alert-dialog-title.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.js", - "content": "import { AlertDialog as AlertDialogPrimitive } from \"bits-ui\";\nimport Title from \"./alert-dialog-title.svelte\";\nimport Action from \"./alert-dialog-action.svelte\";\nimport Cancel from \"./alert-dialog-cancel.svelte\";\nimport Portal from \"./alert-dialog-portal.svelte\";\nimport Footer from \"./alert-dialog-footer.svelte\";\nimport Header from \"./alert-dialog-header.svelte\";\nimport Overlay from \"./alert-dialog-overlay.svelte\";\nimport Content from \"./alert-dialog-content.svelte\";\nimport Description from \"./alert-dialog-description.svelte\";\nconst Root = AlertDialogPrimitive.Root;\nconst Trigger = AlertDialogPrimitive.Trigger;\nexport {\n\tRoot,\n\tTitle,\n\tAction,\n\tCancel,\n\tPortal,\n\tFooter,\n\tHeader,\n\tTrigger,\n\tOverlay,\n\tContent,\n\tDescription,\n\t//\n\tRoot as AlertDialog,\n\tTitle as AlertDialogTitle,\n\tAction as AlertDialogAction,\n\tCancel as AlertDialogCancel,\n\tPortal as AlertDialogPortal,\n\tFooter as AlertDialogFooter,\n\tHeader as AlertDialogHeader,\n\tTrigger as AlertDialogTrigger,\n\tOverlay as AlertDialogOverlay,\n\tContent as AlertDialogContent,\n\tDescription as AlertDialogDescription,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/alert.json b/apps/www/static/registry/styles/new-york-js/alert.json deleted file mode 100644 index bdb100182..000000000 --- a/apps/www/static/registry/styles/new-york-js/alert.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "alert", - "dependencies": [], - "registryDependencies": [], - "files": [ - { - "name": "alert-description.svelte", - "content": "\n\n
\n\t\n
\n" - }, - { - "name": "alert-title.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "alert.svelte", - "content": "\n\n
\n\t\n
\n" - }, - { - "name": "index.js", - "content": "import { tv } from \"tailwind-variants\";\nimport Root from \"./alert.svelte\";\nimport Description from \"./alert-description.svelte\";\nimport Title from \"./alert-title.svelte\";\nexport const alertVariants = tv({\n\tbase: \"relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7\",\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: \"bg-background text-foreground\",\n\t\t\tdestructive:\n\t\t\t\t\"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"default\",\n\t},\n});\nexport {\n\tRoot,\n\tDescription,\n\tTitle,\n\t//\n\tRoot as Alert,\n\tDescription as AlertDescription,\n\tTitle as AlertTitle,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/aspect-ratio.json b/apps/www/static/registry/styles/new-york-js/aspect-ratio.json deleted file mode 100644 index ef44902a3..000000000 --- a/apps/www/static/registry/styles/new-york-js/aspect-ratio.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "aspect-ratio", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "aspect-ratio.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.js", - "content": "import Root from \"./aspect-ratio.svelte\";\nexport { Root, Root as AspectRatio };\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/avatar.json b/apps/www/static/registry/styles/new-york-js/avatar.json deleted file mode 100644 index a71aa3667..000000000 --- a/apps/www/static/registry/styles/new-york-js/avatar.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "avatar", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "avatar-fallback.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "avatar-image.svelte", - "content": "\n\n\n" - }, - { - "name": "avatar.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.js", - "content": "import Root from \"./avatar.svelte\";\nimport Image from \"./avatar-image.svelte\";\nimport Fallback from \"./avatar-fallback.svelte\";\nexport {\n\tRoot,\n\tImage,\n\tFallback,\n\t//\n\tRoot as Avatar,\n\tImage as AvatarImage,\n\tFallback as AvatarFallback,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/badge.json b/apps/www/static/registry/styles/new-york-js/badge.json deleted file mode 100644 index b40a5c327..000000000 --- a/apps/www/static/registry/styles/new-york-js/badge.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "badge", - "dependencies": [], - "registryDependencies": [], - "files": [ - { - "name": "badge.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.js", - "content": "import { tv } from \"tailwind-variants\";\nexport { default as Badge } from \"./badge.svelte\";\nexport const badgeVariants = tv({\n\tbase: \"inline-flex select-none items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\",\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault:\n\t\t\t\t\"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80\",\n\t\t\tsecondary:\n\t\t\t\t\"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80\",\n\t\t\tdestructive:\n\t\t\t\t\"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80\",\n\t\t\toutline: \"text-foreground\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"default\",\n\t},\n});\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/breadcrumb.json b/apps/www/static/registry/styles/new-york-js/breadcrumb.json deleted file mode 100644 index b3b189214..000000000 --- a/apps/www/static/registry/styles/new-york-js/breadcrumb.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "breadcrumb", - "dependencies": [ - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "breadcrumb-ellipsis.svelte", - "content": "\n\n\n\t\n\tMore\n\n" - }, - { - "name": "breadcrumb-item.svelte", - "content": "\n\n
  • \n\t\n
  • \n" - }, - { - "name": "breadcrumb-link.svelte", - "content": "\n\n{#if asChild}\n\t\n{:else}\n\t\n\t\t\n\t\n{/if}\n" - }, - { - "name": "breadcrumb-list.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "breadcrumb-page.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "breadcrumb-separator.svelte", - "content": "\n\nsvg]:size-3.5\", className)}\n\tbind:this={el}\n\t{...$$restProps}\n>\n\t\n\t\t\n\t\n\n" - }, - { - "name": "breadcrumb.svelte", - "content": "\n\n\n" - }, - { - "name": "index.js", - "content": "import Root from \"./breadcrumb.svelte\";\nimport Ellipsis from \"./breadcrumb-ellipsis.svelte\";\nimport Item from \"./breadcrumb-item.svelte\";\nimport Separator from \"./breadcrumb-separator.svelte\";\nimport Link from \"./breadcrumb-link.svelte\";\nimport List from \"./breadcrumb-list.svelte\";\nimport Page from \"./breadcrumb-page.svelte\";\nexport {\n\tRoot,\n\tEllipsis,\n\tItem,\n\tSeparator,\n\tLink,\n\tList,\n\tPage,\n\t//\n\tRoot as Breadcrumb,\n\tEllipsis as BreadcrumbEllipsis,\n\tItem as BreadcrumbItem,\n\tSeparator as BreadcrumbSeparator,\n\tLink as BreadcrumbLink,\n\tList as BreadcrumbList,\n\tPage as BreadcrumbPage,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/button.json b/apps/www/static/registry/styles/new-york-js/button.json deleted file mode 100644 index e5f5032ed..000000000 --- a/apps/www/static/registry/styles/new-york-js/button.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "button", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "button.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.js", - "content": "import { tv } from \"tailwind-variants\";\nimport Root from \"./button.svelte\";\nconst buttonVariants = tv({\n\tbase: \"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50\",\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: \"bg-primary text-primary-foreground shadow hover:bg-primary/90\",\n\t\t\tdestructive:\n\t\t\t\t\"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90\",\n\t\t\toutline:\n\t\t\t\t\"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground\",\n\t\t\tsecondary: \"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80\",\n\t\t\tghost: \"hover:bg-accent hover:text-accent-foreground\",\n\t\t\tlink: \"text-primary underline-offset-4 hover:underline\",\n\t\t},\n\t\tsize: {\n\t\t\tdefault: \"h-9 px-4 py-2\",\n\t\t\tsm: \"h-8 rounded-md px-3 text-xs\",\n\t\t\tlg: \"h-10 rounded-md px-8\",\n\t\t\ticon: \"h-9 w-9\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"default\",\n\t\tsize: \"default\",\n\t},\n});\nexport {\n\tRoot,\n\t//\n\tRoot as Button,\n\tbuttonVariants,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/calendar.json b/apps/www/static/registry/styles/new-york-js/calendar.json deleted file mode 100644 index 7a8f05039..000000000 --- a/apps/www/static/registry/styles/new-york-js/calendar.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "name": "calendar", - "dependencies": [ - "bits-ui", - "@internationalized/date", - "svelte-radix" - ], - "registryDependencies": [ - "button" - ], - "files": [ - { - "name": "calendar-cell.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "calendar-day.svelte", - "content": "\n\n\n\t\n\t\t{date.day}\n\t\n\n" - }, - { - "name": "calendar-grid-body.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "calendar-grid-head.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "calendar-grid-row.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "calendar-grid.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "calendar-head-cell.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "calendar-header.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "calendar-heading.svelte", - "content": "\n\n\n\t\n\t\t{headingValue}\n\t\n\n" - }, - { - "name": "calendar-months.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "calendar-next-button.svelte", - "content": "\n\n\n\t\n\t\t\n\t\n\n" - }, - { - "name": "calendar-prev-button.svelte", - "content": "\n\n\n\t\n\t\t\n\t\n\n" - }, - { - "name": "calendar.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\n\t\t\n\t\n\t\n\t\t{#each months as month}\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{#each weekdays as weekday}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{weekday.slice(0, 2)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t{/each}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{#each month.weeks as weekDates}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{#each weekDates as date}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{/each}\n\t\t\t\t\t\t\n\t\t\t\t\t{/each}\n\t\t\t\t\n\t\t\t\n\t\t{/each}\n\t\n\n" - }, - { - "name": "index.js", - "content": "import Root from \"./calendar.svelte\";\nimport Cell from \"./calendar-cell.svelte\";\nimport Day from \"./calendar-day.svelte\";\nimport Grid from \"./calendar-grid.svelte\";\nimport Header from \"./calendar-header.svelte\";\nimport Months from \"./calendar-months.svelte\";\nimport GridRow from \"./calendar-grid-row.svelte\";\nimport Heading from \"./calendar-heading.svelte\";\nimport GridBody from \"./calendar-grid-body.svelte\";\nimport GridHead from \"./calendar-grid-head.svelte\";\nimport HeadCell from \"./calendar-head-cell.svelte\";\nimport NextButton from \"./calendar-next-button.svelte\";\nimport PrevButton from \"./calendar-prev-button.svelte\";\nexport {\n\tDay,\n\tCell,\n\tGrid,\n\tHeader,\n\tMonths,\n\tGridRow,\n\tHeading,\n\tGridBody,\n\tGridHead,\n\tHeadCell,\n\tNextButton,\n\tPrevButton,\n\t//\n\tRoot as Calendar,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/card.json b/apps/www/static/registry/styles/new-york-js/card.json deleted file mode 100644 index 88b044bde..000000000 --- a/apps/www/static/registry/styles/new-york-js/card.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "card", - "dependencies": [], - "registryDependencies": [], - "files": [ - { - "name": "card-content.svelte", - "content": "\n\n
    \n\t\n
    \n" - }, - { - "name": "card-description.svelte", - "content": "\n\n

    \n\t\n

    \n" - }, - { - "name": "card-footer.svelte", - "content": "\n\n
    \n\t\n
    \n" - }, - { - "name": "card-header.svelte", - "content": "\n\n
    \n\t\n
    \n" - }, - { - "name": "card-title.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "card.svelte", - "content": "\n\n\n\n\t\n\n" - }, - { - "name": "index.js", - "content": "import Root from \"./card.svelte\";\nimport Content from \"./card-content.svelte\";\nimport Description from \"./card-description.svelte\";\nimport Footer from \"./card-footer.svelte\";\nimport Header from \"./card-header.svelte\";\nimport Title from \"./card-title.svelte\";\nexport {\n\tRoot,\n\tContent,\n\tDescription,\n\tFooter,\n\tHeader,\n\tTitle,\n\t//\n\tRoot as Card,\n\tContent as CardContent,\n\tDescription as CardDescription,\n\tFooter as CardFooter,\n\tHeader as CardHeader,\n\tTitle as CardTitle,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/carousel.json b/apps/www/static/registry/styles/new-york-js/carousel.json deleted file mode 100644 index 55ba32922..000000000 --- a/apps/www/static/registry/styles/new-york-js/carousel.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "carousel", - "dependencies": [ - "embla-carousel-svelte", - "svelte-radix" - ], - "registryDependencies": [ - "button" - ], - "files": [ - { - "name": "carousel-content.svelte", - "content": "\n\n\n\t\n\t\t\n\t\n\n" - }, - { - "name": "carousel-item.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "carousel-next.svelte", - "content": "\n\n\n\t\n\tNext slide\n\n" - }, - { - "name": "carousel-previous.svelte", - "content": "\n\n\n\t\n\tPrevious slide\n\n" - }, - { - "name": "carousel.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "context.js", - "content": "import { getContext, hasContext, setContext } from \"svelte\";\nconst EMBLA_CAROUSEL_CONTEXT = Symbol(\"EMBLA_CAROUSEL_CONTEXT\");\nexport function setEmblaContext(config) {\n\tsetContext(EMBLA_CAROUSEL_CONTEXT, config);\n\treturn config;\n}\nexport function getEmblaContext(name = \"This component\") {\n\tif (!hasContext(EMBLA_CAROUSEL_CONTEXT)) {\n\t\tthrow new Error(`${name} must be used within a component`);\n\t}\n\treturn getContext(EMBLA_CAROUSEL_CONTEXT);\n}\n" - }, - { - "name": "index.js", - "content": "export { default as Root } from \"./carousel.svelte\";\nexport { default as Content } from \"./carousel-content.svelte\";\nexport { default as Item } from \"./carousel-item.svelte\";\nexport { default as Previous } from \"./carousel-previous.svelte\";\nexport { default as Next } from \"./carousel-next.svelte\";\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/checkbox.json b/apps/www/static/registry/styles/new-york-js/checkbox.json deleted file mode 100644 index 728d6a7ec..000000000 --- a/apps/www/static/registry/styles/new-york-js/checkbox.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "checkbox", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "checkbox.svelte", - "content": "\n\n\n\t\n\t\t{#if isIndeterminate}\n\t\t\t\n\t\t{:else}\n\t\t\t\n\t\t{/if}\n\t\n\n" - }, - { - "name": "index.js", - "content": "import Root from \"./checkbox.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Checkbox,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/collapsible.json b/apps/www/static/registry/styles/new-york-js/collapsible.json deleted file mode 100644 index fab6f5d2e..000000000 --- a/apps/www/static/registry/styles/new-york-js/collapsible.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "collapsible", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "collapsible-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.js", - "content": "import { Collapsible as CollapsiblePrimitive } from \"bits-ui\";\nimport Content from \"./collapsible-content.svelte\";\nconst Root = CollapsiblePrimitive.Root;\nconst Trigger = CollapsiblePrimitive.Trigger;\nexport {\n\tRoot,\n\tContent,\n\tTrigger,\n\t//\n\tRoot as Collapsible,\n\tContent as CollapsibleContent,\n\tTrigger as CollapsibleTrigger,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/command.json b/apps/www/static/registry/styles/new-york-js/command.json deleted file mode 100644 index 5403ff103..000000000 --- a/apps/www/static/registry/styles/new-york-js/command.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "command", - "dependencies": [ - "cmdk-sv", - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [ - "dialog" - ], - "files": [ - { - "name": "command-dialog.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\n" - }, - { - "name": "command-empty.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "command-group.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "command-input.svelte", - "content": "\n\n
    \n\t\n\t\n
    \n" - }, - { - "name": "command-item.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "command-list.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "command-separator.svelte", - "content": "\n\n\n" - }, - { - "name": "command-shortcut.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "command.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.js", - "content": "import { Command as CommandPrimitive } from \"cmdk-sv\";\nimport Root from \"./command.svelte\";\nimport Dialog from \"./command-dialog.svelte\";\nimport Empty from \"./command-empty.svelte\";\nimport Group from \"./command-group.svelte\";\nimport Item from \"./command-item.svelte\";\nimport Input from \"./command-input.svelte\";\nimport List from \"./command-list.svelte\";\nimport Separator from \"./command-separator.svelte\";\nimport Shortcut from \"./command-shortcut.svelte\";\nconst Loading = CommandPrimitive.Loading;\nexport {\n\tRoot,\n\tDialog,\n\tEmpty,\n\tGroup,\n\tItem,\n\tInput,\n\tList,\n\tSeparator,\n\tShortcut,\n\tLoading,\n\t//\n\tRoot as Command,\n\tDialog as CommandDialog,\n\tEmpty as CommandEmpty,\n\tGroup as CommandGroup,\n\tItem as CommandItem,\n\tInput as CommandInput,\n\tList as CommandList,\n\tSeparator as CommandSeparator,\n\tShortcut as CommandShortcut,\n\tLoading as CommandLoading,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/context-menu.json b/apps/www/static/registry/styles/new-york-js/context-menu.json deleted file mode 100644 index 0641241a1..000000000 --- a/apps/www/static/registry/styles/new-york-js/context-menu.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "context-menu", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "context-menu-checkbox-item.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" - }, - { - "name": "context-menu-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "context-menu-item.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "context-menu-label.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "context-menu-radio-group.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "context-menu-radio-item.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" - }, - { - "name": "context-menu-separator.svelte", - "content": "\n\n\n" - }, - { - "name": "context-menu-shortcut.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "context-menu-sub-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "context-menu-sub-trigger.svelte", - "content": "\n\n\n\t\n\t\n\n" - }, - { - "name": "index.js", - "content": "import { ContextMenu as ContextMenuPrimitive } from \"bits-ui\";\nimport Item from \"./context-menu-item.svelte\";\nimport Label from \"./context-menu-label.svelte\";\nimport Content from \"./context-menu-content.svelte\";\nimport Shortcut from \"./context-menu-shortcut.svelte\";\nimport RadioItem from \"./context-menu-radio-item.svelte\";\nimport Separator from \"./context-menu-separator.svelte\";\nimport RadioGroup from \"./context-menu-radio-group.svelte\";\nimport SubContent from \"./context-menu-sub-content.svelte\";\nimport SubTrigger from \"./context-menu-sub-trigger.svelte\";\nimport CheckboxItem from \"./context-menu-checkbox-item.svelte\";\nconst Sub = ContextMenuPrimitive.Sub;\nconst Root = ContextMenuPrimitive.Root;\nconst Trigger = ContextMenuPrimitive.Trigger;\nconst Group = ContextMenuPrimitive.Group;\nexport {\n\tSub,\n\tRoot,\n\tItem,\n\tLabel,\n\tGroup,\n\tTrigger,\n\tContent,\n\tShortcut,\n\tSeparator,\n\tRadioItem,\n\tSubContent,\n\tSubTrigger,\n\tRadioGroup,\n\tCheckboxItem,\n\t//\n\tRoot as ContextMenu,\n\tSub as ContextMenuSub,\n\tItem as ContextMenuItem,\n\tLabel as ContextMenuLabel,\n\tGroup as ContextMenuGroup,\n\tContent as ContextMenuContent,\n\tTrigger as ContextMenuTrigger,\n\tShortcut as ContextMenuShortcut,\n\tRadioItem as ContextMenuRadioItem,\n\tSeparator as ContextMenuSeparator,\n\tRadioGroup as ContextMenuRadioGroup,\n\tSubContent as ContextMenuSubContent,\n\tSubTrigger as ContextMenuSubTrigger,\n\tCheckboxItem as ContextMenuCheckboxItem,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/dialog.json b/apps/www/static/registry/styles/new-york-js/dialog.json deleted file mode 100644 index bad3cfac4..000000000 --- a/apps/www/static/registry/styles/new-york-js/dialog.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "dialog", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "dialog-content.svelte", - "content": "\n\n\n\t\n\t\n\t\t\n\t\t\n\t\t\t\n\t\t\tClose\n\t\t\n\t\n\n" - }, - { - "name": "dialog-description.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dialog-footer.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dialog-header.svelte", - "content": "\n\n
    \n\t\n
    \n" - }, - { - "name": "dialog-overlay.svelte", - "content": "\n\n\n" - }, - { - "name": "dialog-portal.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dialog-title.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.js", - "content": "import { Dialog as DialogPrimitive } from \"bits-ui\";\nimport Title from \"./dialog-title.svelte\";\nimport Portal from \"./dialog-portal.svelte\";\nimport Footer from \"./dialog-footer.svelte\";\nimport Header from \"./dialog-header.svelte\";\nimport Overlay from \"./dialog-overlay.svelte\";\nimport Content from \"./dialog-content.svelte\";\nimport Description from \"./dialog-description.svelte\";\nconst Root = DialogPrimitive.Root;\nconst Trigger = DialogPrimitive.Trigger;\nconst Close = DialogPrimitive.Close;\nexport {\n\tRoot,\n\tTitle,\n\tPortal,\n\tFooter,\n\tHeader,\n\tTrigger,\n\tOverlay,\n\tContent,\n\tDescription,\n\tClose,\n\t//\n\tRoot as Dialog,\n\tTitle as DialogTitle,\n\tPortal as DialogPortal,\n\tFooter as DialogFooter,\n\tHeader as DialogHeader,\n\tTrigger as DialogTrigger,\n\tOverlay as DialogOverlay,\n\tContent as DialogContent,\n\tDescription as DialogDescription,\n\tClose as DialogClose,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/drawer.json b/apps/www/static/registry/styles/new-york-js/drawer.json deleted file mode 100644 index d2b5a6838..000000000 --- a/apps/www/static/registry/styles/new-york-js/drawer.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "drawer", - "dependencies": [ - "vaul-svelte" - ], - "registryDependencies": [], - "files": [ - { - "name": "drawer-content.svelte", - "content": "\n\n\n\t\n\t\n\t\t
    \n\t\t\n\t\n
    \n" - }, - { - "name": "drawer-description.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "drawer-footer.svelte", - "content": "\n\n
    \n\t\n
    \n" - }, - { - "name": "drawer-header.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "drawer-nested.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "drawer-overlay.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "drawer-title.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "drawer.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.js", - "content": "import { Drawer as DrawerPrimitive } from \"vaul-svelte\";\nimport Root from \"./drawer.svelte\";\nimport Content from \"./drawer-content.svelte\";\nimport Description from \"./drawer-description.svelte\";\nimport Overlay from \"./drawer-overlay.svelte\";\nimport Footer from \"./drawer-footer.svelte\";\nimport Header from \"./drawer-header.svelte\";\nimport Title from \"./drawer-title.svelte\";\nimport NestedRoot from \"./drawer-nested.svelte\";\nconst Trigger = DrawerPrimitive.Trigger;\nconst Portal = DrawerPrimitive.Portal;\nconst Close = DrawerPrimitive.Close;\nexport {\n\tRoot,\n\tNestedRoot,\n\tContent,\n\tDescription,\n\tOverlay,\n\tFooter,\n\tHeader,\n\tTitle,\n\tTrigger,\n\tPortal,\n\tClose,\n\t//\n\tRoot as Drawer,\n\tNestedRoot as DrawerNestedRoot,\n\tContent as DrawerContent,\n\tDescription as DrawerDescription,\n\tOverlay as DrawerOverlay,\n\tFooter as DrawerFooter,\n\tHeader as DrawerHeader,\n\tTitle as DrawerTitle,\n\tTrigger as DrawerTrigger,\n\tPortal as DrawerPortal,\n\tClose as DrawerClose,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/dropdown-menu.json b/apps/www/static/registry/styles/new-york-js/dropdown-menu.json deleted file mode 100644 index b851ac771..000000000 --- a/apps/www/static/registry/styles/new-york-js/dropdown-menu.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "dropdown-menu", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "dropdown-menu-checkbox-item.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" - }, - { - "name": "dropdown-menu-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dropdown-menu-item.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dropdown-menu-label.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dropdown-menu-radio-group.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dropdown-menu-radio-item.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" - }, - { - "name": "dropdown-menu-separator.svelte", - "content": "\n\n\n" - }, - { - "name": "dropdown-menu-shortcut.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dropdown-menu-sub-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dropdown-menu-sub-trigger.svelte", - "content": "\n\n\n\t\n\t\n\n" - }, - { - "name": "index.js", - "content": "import { DropdownMenu as DropdownMenuPrimitive } from \"bits-ui\";\nimport Item from \"./dropdown-menu-item.svelte\";\nimport Label from \"./dropdown-menu-label.svelte\";\nimport Content from \"./dropdown-menu-content.svelte\";\nimport Shortcut from \"./dropdown-menu-shortcut.svelte\";\nimport RadioItem from \"./dropdown-menu-radio-item.svelte\";\nimport Separator from \"./dropdown-menu-separator.svelte\";\nimport RadioGroup from \"./dropdown-menu-radio-group.svelte\";\nimport SubContent from \"./dropdown-menu-sub-content.svelte\";\nimport SubTrigger from \"./dropdown-menu-sub-trigger.svelte\";\nimport CheckboxItem from \"./dropdown-menu-checkbox-item.svelte\";\nconst Sub = DropdownMenuPrimitive.Sub;\nconst Root = DropdownMenuPrimitive.Root;\nconst Trigger = DropdownMenuPrimitive.Trigger;\nconst Group = DropdownMenuPrimitive.Group;\nexport {\n\tSub,\n\tRoot,\n\tItem,\n\tLabel,\n\tGroup,\n\tTrigger,\n\tContent,\n\tShortcut,\n\tSeparator,\n\tRadioItem,\n\tSubContent,\n\tSubTrigger,\n\tRadioGroup,\n\tCheckboxItem,\n\t//\n\tRoot as DropdownMenu,\n\tSub as DropdownMenuSub,\n\tItem as DropdownMenuItem,\n\tLabel as DropdownMenuLabel,\n\tGroup as DropdownMenuGroup,\n\tContent as DropdownMenuContent,\n\tTrigger as DropdownMenuTrigger,\n\tShortcut as DropdownMenuShortcut,\n\tRadioItem as DropdownMenuRadioItem,\n\tSeparator as DropdownMenuSeparator,\n\tRadioGroup as DropdownMenuRadioGroup,\n\tSubContent as DropdownMenuSubContent,\n\tSubTrigger as DropdownMenuSubTrigger,\n\tCheckboxItem as DropdownMenuCheckboxItem,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/form.json b/apps/www/static/registry/styles/new-york-js/form.json deleted file mode 100644 index f3c67aad4..000000000 --- a/apps/www/static/registry/styles/new-york-js/form.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "name": "form", - "dependencies": [ - "formsnap", - "zod", - "sveltekit-superforms" - ], - "registryDependencies": [ - "button", - "label" - ], - "files": [ - { - "name": "form-button.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "form-description.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "form-element-field.svelte", - "content": "\n\n\n\n\n\t
    \n\t\t\n\t
    \n
    \n" - }, - { - "name": "form-field-errors.svelte", - "content": "\n\n\n\t\n\t\t{#each errors as error}\n\t\t\t
    {error}
    \n\t\t{/each}\n\t
    \n\n" - }, - { - "name": "form-field.svelte", - "content": "\n\n\n\n\n\t
    \n\t\t\n\t
    \n
    \n" - }, - { - "name": "form-fieldset.svelte", - "content": "\n\n\n\n\n\t\n\n" - }, - { - "name": "form-label.svelte", - "content": "\n\n\n" - }, - { - "name": "form-legend.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.js", - "content": "import * as FormPrimitive from \"formsnap\";\nimport Description from \"./form-description.svelte\";\nimport Label from \"./form-label.svelte\";\nimport FieldErrors from \"./form-field-errors.svelte\";\nimport Field from \"./form-field.svelte\";\nimport Button from \"./form-button.svelte\";\nimport Fieldset from \"./form-fieldset.svelte\";\nimport Legend from \"./form-legend.svelte\";\nimport ElementField from \"./form-element-field.svelte\";\nconst Control = FormPrimitive.Control;\nexport {\n\tField,\n\tControl,\n\tLabel,\n\tFieldErrors,\n\tDescription,\n\tFieldset,\n\tLegend,\n\tElementField,\n\tButton,\n\t//\n\tField as FormField,\n\tControl as FormControl,\n\tDescription as FormDescription,\n\tLabel as FormLabel,\n\tFieldErrors as FormFieldErrors,\n\tFieldset as FormFieldset,\n\tLegend as FormLegend,\n\tElementField as FormElementField,\n\tButton as FormButton,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/hover-card.json b/apps/www/static/registry/styles/new-york-js/hover-card.json deleted file mode 100644 index 37c005d57..000000000 --- a/apps/www/static/registry/styles/new-york-js/hover-card.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "hover-card", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "hover-card-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.js", - "content": "import { LinkPreview as HoverCardPrimitive } from \"bits-ui\";\nimport Content from \"./hover-card-content.svelte\";\nconst Root = HoverCardPrimitive.Root;\nconst Trigger = HoverCardPrimitive.Trigger;\nexport {\n\tRoot,\n\tContent,\n\tTrigger,\n\tRoot as HoverCard,\n\tContent as HoverCardContent,\n\tTrigger as HoverCardTrigger,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/input.json b/apps/www/static/registry/styles/new-york-js/input.json deleted file mode 100644 index 792882378..000000000 --- a/apps/www/static/registry/styles/new-york-js/input.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "input", - "dependencies": [], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import Root from \"./input.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Input,\n};\n" - }, - { - "name": "input.svelte", - "content": "\n\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/label.json b/apps/www/static/registry/styles/new-york-js/label.json deleted file mode 100644 index 58e053d2d..000000000 --- a/apps/www/static/registry/styles/new-york-js/label.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "label", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import Root from \"./label.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Label,\n};\n" - }, - { - "name": "label.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/menubar.json b/apps/www/static/registry/styles/new-york-js/menubar.json deleted file mode 100644 index d2ed7ac92..000000000 --- a/apps/www/static/registry/styles/new-york-js/menubar.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "name": "menubar", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import { Menubar as MenubarPrimitive } from \"bits-ui\";\nimport Root from \"./menubar.svelte\";\nimport CheckboxItem from \"./menubar-checkbox-item.svelte\";\nimport Content from \"./menubar-content.svelte\";\nimport Item from \"./menubar-item.svelte\";\nimport Label from \"./menubar-label.svelte\";\nimport RadioItem from \"./menubar-radio-item.svelte\";\nimport Separator from \"./menubar-separator.svelte\";\nimport Shortcut from \"./menubar-shortcut.svelte\";\nimport SubContent from \"./menubar-sub-content.svelte\";\nimport SubTrigger from \"./menubar-sub-trigger.svelte\";\nimport Trigger from \"./menubar-trigger.svelte\";\nconst Menu = MenubarPrimitive.Menu;\nconst Group = MenubarPrimitive.Group;\nconst Sub = MenubarPrimitive.Sub;\nconst RadioGroup = MenubarPrimitive.RadioGroup;\nexport {\n\tRoot,\n\tCheckboxItem,\n\tContent,\n\tItem,\n\tLabel,\n\tRadioItem,\n\tSeparator,\n\tShortcut,\n\tSubContent,\n\tSubTrigger,\n\tTrigger,\n\tMenu,\n\tGroup,\n\tSub,\n\tRadioGroup,\n\t//\n\tRoot as Menubar,\n\tCheckboxItem as MenubarCheckboxItem,\n\tContent as MenubarContent,\n\tItem as MenubarItem,\n\tLabel as MenubarLabel,\n\tRadioItem as MenubarRadioItem,\n\tSeparator as MenubarSeparator,\n\tShortcut as MenubarShortcut,\n\tSubContent as MenubarSubContent,\n\tSubTrigger as MenubarSubTrigger,\n\tTrigger as MenubarTrigger,\n\tMenu as MenubarMenu,\n\tGroup as MenubarGroup,\n\tSub as MenubarSub,\n\tRadioGroup as MenubarRadioGroup,\n};\n" - }, - { - "name": "menubar-checkbox-item.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" - }, - { - "name": "menubar-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "menubar-item.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "menubar-label.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "menubar-radio-item.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" - }, - { - "name": "menubar-separator.svelte", - "content": "\n\n\n" - }, - { - "name": "menubar-shortcut.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "menubar-sub-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "menubar-sub-trigger.svelte", - "content": "\n\n\n\t\n\t\n\n" - }, - { - "name": "menubar-trigger.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "menubar.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/pagination.json b/apps/www/static/registry/styles/new-york-js/pagination.json deleted file mode 100644 index ac3c6b9a2..000000000 --- a/apps/www/static/registry/styles/new-york-js/pagination.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "name": "pagination", - "dependencies": [ - "svelte-radix", - "bits-ui" - ], - "registryDependencies": [ - "button" - ], - "files": [ - { - "name": "index.js", - "content": "import Root from \"./pagination.svelte\";\nimport Content from \"./pagination-content.svelte\";\nimport Item from \"./pagination-item.svelte\";\nimport Link from \"./pagination-link.svelte\";\nimport PrevButton from \"./pagination-prev-button.svelte\";\nimport NextButton from \"./pagination-next-button.svelte\";\nimport Ellipsis from \"./pagination-ellipsis.svelte\";\nexport {\n\tRoot,\n\tContent,\n\tItem,\n\tLink,\n\tPrevButton,\n\tNextButton,\n\tEllipsis,\n\t//\n\tRoot as Pagination,\n\tContent as PaginationContent,\n\tItem as PaginationItem,\n\tLink as PaginationLink,\n\tPrevButton as PaginationPrevButton,\n\tNextButton as PaginationNextButton,\n\tEllipsis as PaginationEllipsis,\n};\n" - }, - { - "name": "pagination-content.svelte", - "content": "\n\n
      \n\t\n
    \n" - }, - { - "name": "pagination-ellipsis.svelte", - "content": "\n\n\n\t\n\tMore pages\n\n" - }, - { - "name": "pagination-item.svelte", - "content": "\n\n
  • \n\t\n
  • \n" - }, - { - "name": "pagination-link.svelte", - "content": "\n\n\n\t{page.value}\n\n" - }, - { - "name": "pagination-next-button.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\tNext\n\t\t\t\n\t\t\n\t\n\n" - }, - { - "name": "pagination-prev-button.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\tPrevious\n\t\t\n\t\n\n" - }, - { - "name": "pagination.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/popover.json b/apps/www/static/registry/styles/new-york-js/popover.json deleted file mode 100644 index c5e80e29d..000000000 --- a/apps/www/static/registry/styles/new-york-js/popover.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "popover", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import { Popover as PopoverPrimitive } from \"bits-ui\";\nimport Content from \"./popover-content.svelte\";\nconst Root = PopoverPrimitive.Root;\nconst Trigger = PopoverPrimitive.Trigger;\nconst Close = PopoverPrimitive.Close;\nexport {\n\tRoot,\n\tContent,\n\tTrigger,\n\tClose,\n\t//\n\tRoot as Popover,\n\tContent as PopoverContent,\n\tTrigger as PopoverTrigger,\n\tClose as PopoverClose,\n};\n" - }, - { - "name": "popover-content.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/progress.json b/apps/www/static/registry/styles/new-york-js/progress.json deleted file mode 100644 index 3af9b88dd..000000000 --- a/apps/www/static/registry/styles/new-york-js/progress.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "progress", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import Root from \"./progress.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Progress,\n};\n" - }, - { - "name": "progress.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/radio-group.json b/apps/www/static/registry/styles/new-york-js/radio-group.json deleted file mode 100644 index 09ed9db2f..000000000 --- a/apps/www/static/registry/styles/new-york-js/radio-group.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "radio-group", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import { RadioGroup as RadioGroupPrimitive } from \"bits-ui\";\nimport Root from \"./radio-group.svelte\";\nimport Item from \"./radio-group-item.svelte\";\nconst Input = RadioGroupPrimitive.Input;\nexport {\n\tRoot,\n\tInput,\n\tItem,\n\t//\n\tRoot as RadioGroup,\n\tInput as RadioGroupInput,\n\tItem as RadioGroupItem,\n};\n" - }, - { - "name": "radio-group-item.svelte", - "content": "\n\n\n\t
    \n\t\t\n\t\t\t\n\t\t\n\t
    \n\n" - }, - { - "name": "radio-group.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/range-calendar.json b/apps/www/static/registry/styles/new-york-js/range-calendar.json deleted file mode 100644 index 2a4226440..000000000 --- a/apps/www/static/registry/styles/new-york-js/range-calendar.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "name": "range-calendar", - "dependencies": [ - "bits-ui", - "@internationalized/date", - "svelte-radix" - ], - "registryDependencies": [ - "button" - ], - "files": [ - { - "name": "index.js", - "content": "import Root from \"./range-calendar.svelte\";\nimport Cell from \"./range-calendar-cell.svelte\";\nimport Day from \"./range-calendar-day.svelte\";\nimport Grid from \"./range-calendar-grid.svelte\";\nimport Header from \"./range-calendar-header.svelte\";\nimport Months from \"./range-calendar-months.svelte\";\nimport GridRow from \"./range-calendar-grid-row.svelte\";\nimport Heading from \"./range-calendar-heading.svelte\";\nimport GridBody from \"./range-calendar-grid-body.svelte\";\nimport GridHead from \"./range-calendar-grid-head.svelte\";\nimport HeadCell from \"./range-calendar-head-cell.svelte\";\nimport NextButton from \"./range-calendar-next-button.svelte\";\nimport PrevButton from \"./range-calendar-prev-button.svelte\";\nexport {\n\tDay,\n\tCell,\n\tGrid,\n\tHeader,\n\tMonths,\n\tGridRow,\n\tHeading,\n\tGridBody,\n\tGridHead,\n\tHeadCell,\n\tNextButton,\n\tPrevButton,\n\t//\n\tRoot as RangeCalendar,\n};\n" - }, - { - "name": "range-calendar-cell.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "range-calendar-day.svelte", - "content": "\n\n\n\t\n\t\t{date.day}\n\t\n\n" - }, - { - "name": "range-calendar-grid-body.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "range-calendar-grid-head.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "range-calendar-grid-row.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "range-calendar-grid.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "range-calendar-head-cell.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "range-calendar-header.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "range-calendar-heading.svelte", - "content": "\n\n\n\t\n\t\t{headingValue}\n\t\n\n" - }, - { - "name": "range-calendar-months.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "range-calendar-next-button.svelte", - "content": "\n\n\n\t\n\t\t\n\t\n\n" - }, - { - "name": "range-calendar-prev-button.svelte", - "content": "\n\n\n\t\n\t\t\n\t\n\n" - }, - { - "name": "range-calendar.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\n\t\t\n\t\n\t\n\t\t{#each months as month}\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{#each weekdays as weekday}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{weekday.slice(0, 2)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t{/each}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{#each month.weeks as weekDates}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{#each weekDates as date}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{/each}\n\t\t\t\t\t\t\n\t\t\t\t\t{/each}\n\t\t\t\t\n\t\t\t\n\t\t{/each}\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/resizable.json b/apps/www/static/registry/styles/new-york-js/resizable.json deleted file mode 100644 index 3ee620978..000000000 --- a/apps/www/static/registry/styles/new-york-js/resizable.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "resizable", - "dependencies": [ - "svelte-radix", - "paneforge" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import { Pane } from \"paneforge\";\nimport Handle from \"./resizable-handle.svelte\";\nimport PaneGroup from \"./resizable-pane-group.svelte\";\nexport {\n\tPaneGroup,\n\tPane,\n\tHandle,\n\t//\n\tPaneGroup as ResizablePaneGroup,\n\tPane as ResizablePane,\n\tHandle as ResizableHandle,\n};\n" - }, - { - "name": "resizable-handle.svelte", - "content": "\n\ndiv]:rotate-90\",\n\t\tclassName\n\t)}\n>\n\t{#if withHandle}\n\t\t
    \n\t\t\t\n\t\t
    \n\t{/if}\n\n" - }, - { - "name": "resizable-pane-group.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/scroll-area.json b/apps/www/static/registry/styles/new-york-js/scroll-area.json deleted file mode 100644 index e40e91d86..000000000 --- a/apps/www/static/registry/styles/new-york-js/scroll-area.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "scroll-area", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import Scrollbar from \"./scroll-area-scrollbar.svelte\";\nimport Root from \"./scroll-area.svelte\";\nexport {\n\tRoot,\n\tScrollbar,\n\t//,\n\tRoot as ScrollArea,\n\tScrollbar as ScrollAreaScrollbar,\n};\n" - }, - { - "name": "scroll-area-scrollbar.svelte", - "content": "\n\n\n\t\n\t\n\n" - }, - { - "name": "scroll-area.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t{#if orientation === \"vertical\" || orientation === \"both\"}\n\t\t\n\t{/if}\n\t{#if orientation === \"horizontal\" || orientation === \"both\"}\n\t\t\n\t{/if}\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/select.json b/apps/www/static/registry/styles/new-york-js/select.json deleted file mode 100644 index e58c2aea4..000000000 --- a/apps/www/static/registry/styles/new-york-js/select.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "select", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import { Select as SelectPrimitive } from \"bits-ui\";\nimport Label from \"./select-label.svelte\";\nimport Item from \"./select-item.svelte\";\nimport Content from \"./select-content.svelte\";\nimport Trigger from \"./select-trigger.svelte\";\nimport Separator from \"./select-separator.svelte\";\nconst Root = SelectPrimitive.Root;\nconst Group = SelectPrimitive.Group;\nconst Input = SelectPrimitive.Input;\nconst Value = SelectPrimitive.Value;\nexport {\n\tRoot,\n\tItem,\n\tGroup,\n\tInput,\n\tLabel,\n\tValue,\n\tContent,\n\tTrigger,\n\tSeparator,\n\t//\n\tRoot as Select,\n\tItem as SelectItem,\n\tGroup as SelectGroup,\n\tInput as SelectInput,\n\tLabel as SelectLabel,\n\tValue as SelectValue,\n\tContent as SelectContent,\n\tTrigger as SelectTrigger,\n\tSeparator as SelectSeparator,\n};\n" - }, - { - "name": "select-content.svelte", - "content": "\n\n\n\t
    \n\t\t\n\t
    \n\n" - }, - { - "name": "select-item.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\t\t{label || value}\n\t\n\n" - }, - { - "name": "select-label.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "select-separator.svelte", - "content": "\n\n\n" - }, - { - "name": "select-trigger.svelte", - "content": "\n\nspan]:line-clamp-1\",\n\t\tclassName\n\t)}\n\t{...$$restProps}\n>\n\t\n\t
    \n\t\t\n\t
    \n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/separator.json b/apps/www/static/registry/styles/new-york-js/separator.json deleted file mode 100644 index daba14e09..000000000 --- a/apps/www/static/registry/styles/new-york-js/separator.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "separator", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import Root from \"./separator.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Separator,\n};\n" - }, - { - "name": "separator.svelte", - "content": "\n\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/sheet.json b/apps/www/static/registry/styles/new-york-js/sheet.json deleted file mode 100644 index 20b57f56d..000000000 --- a/apps/www/static/registry/styles/new-york-js/sheet.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "sheet", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import { Dialog as SheetPrimitive } from \"bits-ui\";\nimport { tv } from \"tailwind-variants\";\nimport Portal from \"./sheet-portal.svelte\";\nimport Overlay from \"./sheet-overlay.svelte\";\nimport Content from \"./sheet-content.svelte\";\nimport Header from \"./sheet-header.svelte\";\nimport Footer from \"./sheet-footer.svelte\";\nimport Title from \"./sheet-title.svelte\";\nimport Description from \"./sheet-description.svelte\";\nconst Root = SheetPrimitive.Root;\nconst Close = SheetPrimitive.Close;\nconst Trigger = SheetPrimitive.Trigger;\nexport {\n\tRoot,\n\tClose,\n\tTrigger,\n\tPortal,\n\tOverlay,\n\tContent,\n\tHeader,\n\tFooter,\n\tTitle,\n\tDescription,\n\t//\n\tRoot as Sheet,\n\tClose as SheetClose,\n\tTrigger as SheetTrigger,\n\tPortal as SheetPortal,\n\tOverlay as SheetOverlay,\n\tContent as SheetContent,\n\tHeader as SheetHeader,\n\tFooter as SheetFooter,\n\tTitle as SheetTitle,\n\tDescription as SheetDescription,\n};\nexport const sheetVariants = tv({\n\tbase: \"fixed z-50 gap-4 bg-background p-6 shadow-lg\",\n\tvariants: {\n\t\tside: {\n\t\t\ttop: \"inset-x-0 top-0 border-b \",\n\t\t\tbottom: \"inset-x-0 bottom-0 border-t\",\n\t\t\tleft: \"inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm\",\n\t\t\tright: \"inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tside: \"right\",\n\t},\n});\nexport const sheetTransitions = {\n\ttop: {\n\t\tin: {\n\t\t\ty: \"-100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\ty: \"-100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n\tbottom: {\n\t\tin: {\n\t\t\ty: \"100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\ty: \"100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n\tleft: {\n\t\tin: {\n\t\t\tx: \"-100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\tx: \"-100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n\tright: {\n\t\tin: {\n\t\t\tx: \"100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\tx: \"100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n};\n" - }, - { - "name": "sheet-content.svelte", - "content": "\n\n\n\t\n\t\n\t\t\n\t\t\n\t\t\t\n\t\t\tClose\n\t\t\n\t\n\n" - }, - { - "name": "sheet-description.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "sheet-footer.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "sheet-header.svelte", - "content": "\n\n
    \n\t\n
    \n" - }, - { - "name": "sheet-overlay.svelte", - "content": "\n\n\n" - }, - { - "name": "sheet-portal.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "sheet-title.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/skeleton.json b/apps/www/static/registry/styles/new-york-js/skeleton.json deleted file mode 100644 index e92b00d58..000000000 --- a/apps/www/static/registry/styles/new-york-js/skeleton.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "skeleton", - "dependencies": [], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import Root from \"./skeleton.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Skeleton,\n};\n" - }, - { - "name": "skeleton.svelte", - "content": "\n\n
    \n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/slider.json b/apps/www/static/registry/styles/new-york-js/slider.json deleted file mode 100644 index 7e4ebea3e..000000000 --- a/apps/www/static/registry/styles/new-york-js/slider.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "slider", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import Root from \"./slider.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Slider,\n};\n" - }, - { - "name": "slider.svelte", - "content": "\n\n\n\t\n\t\t\n\t\n\t{#each thumbs as thumb}\n\t\t\n\t{/each}\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/sonner.json b/apps/www/static/registry/styles/new-york-js/sonner.json deleted file mode 100644 index 20affc34e..000000000 --- a/apps/www/static/registry/styles/new-york-js/sonner.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "sonner", - "dependencies": [ - "svelte-sonner", - "mode-watcher" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "export { default as Toaster } from \"./sonner.svelte\";\n" - }, - { - "name": "sonner.svelte", - "content": "\n\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/switch.json b/apps/www/static/registry/styles/new-york-js/switch.json deleted file mode 100644 index 1ec3dbb9a..000000000 --- a/apps/www/static/registry/styles/new-york-js/switch.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "switch", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import Root from \"./switch.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Switch,\n};\n" - }, - { - "name": "switch.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/table.json b/apps/www/static/registry/styles/new-york-js/table.json deleted file mode 100644 index d3d3752a9..000000000 --- a/apps/www/static/registry/styles/new-york-js/table.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "table", - "dependencies": [], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import Root from \"./table.svelte\";\nimport Body from \"./table-body.svelte\";\nimport Caption from \"./table-caption.svelte\";\nimport Cell from \"./table-cell.svelte\";\nimport Footer from \"./table-footer.svelte\";\nimport Head from \"./table-head.svelte\";\nimport Header from \"./table-header.svelte\";\nimport Row from \"./table-row.svelte\";\nexport {\n\tRoot,\n\tBody,\n\tCaption,\n\tCell,\n\tFooter,\n\tHead,\n\tHeader,\n\tRow,\n\t//\n\tRoot as Table,\n\tBody as TableBody,\n\tCaption as TableCaption,\n\tCell as TableCell,\n\tFooter as TableFooter,\n\tHead as TableHead,\n\tHeader as TableHeader,\n\tRow as TableRow,\n};\n" - }, - { - "name": "table-body.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "table-caption.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "table-cell.svelte", - "content": "\n\n[role=checkbox]]:translate-y-[2px]\",\n\t\tclassName\n\t)}\n\t{...$$restProps}\n\ton:click\n\ton:keydown\n>\n\t\n\n" - }, - { - "name": "table-footer.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "table-head.svelte", - "content": "\n\n[role=checkbox]]:translate-y-[2px]\",\n\t\tclassName\n\t)}\n\t{...$$restProps}\n>\n\t\n\n" - }, - { - "name": "table-header.svelte", - "content": "\n\n\n\n\t\n\n" - }, - { - "name": "table-row.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "table.svelte", - "content": "\n\n
    \n\t\n\t\t\n\t
    \n
    \n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/tabs.json b/apps/www/static/registry/styles/new-york-js/tabs.json deleted file mode 100644 index be9a4b55a..000000000 --- a/apps/www/static/registry/styles/new-york-js/tabs.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "tabs", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import { Tabs as TabsPrimitive } from \"bits-ui\";\nimport Content from \"./tabs-content.svelte\";\nimport List from \"./tabs-list.svelte\";\nimport Trigger from \"./tabs-trigger.svelte\";\nconst Root = TabsPrimitive.Root;\nexport {\n\tRoot,\n\tContent,\n\tList,\n\tTrigger,\n\t//\n\tRoot as Tabs,\n\tContent as TabsContent,\n\tList as TabsList,\n\tTrigger as TabsTrigger,\n};\n" - }, - { - "name": "tabs-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "tabs-list.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "tabs-trigger.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/textarea.json b/apps/www/static/registry/styles/new-york-js/textarea.json deleted file mode 100644 index 069f23ba2..000000000 --- a/apps/www/static/registry/styles/new-york-js/textarea.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "textarea", - "dependencies": [], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import Root from \"./textarea.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Textarea,\n};\n" - }, - { - "name": "textarea.svelte", - "content": "\n\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/toggle-group.json b/apps/www/static/registry/styles/new-york-js/toggle-group.json deleted file mode 100644 index daa5393d0..000000000 --- a/apps/www/static/registry/styles/new-york-js/toggle-group.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "toggle-group", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [ - "toggle" - ], - "files": [ - { - "name": "index.js", - "content": "import { getContext, setContext } from \"svelte\";\nimport Root from \"./toggle-group.svelte\";\nimport Item from \"./toggle-group-item.svelte\";\nexport function setToggleGroupCtx(props) {\n\tsetContext(\"toggleGroup\", props);\n}\nexport function getToggleGroupCtx() {\n\treturn getContext(\"toggleGroup\");\n}\nexport {\n\tRoot,\n\tItem,\n\t//\n\tRoot as ToggleGroup,\n\tItem as ToggleGroupItem,\n};\n" - }, - { - "name": "toggle-group-item.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "toggle-group.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/toggle.json b/apps/www/static/registry/styles/new-york-js/toggle.json deleted file mode 100644 index 9f18e58eb..000000000 --- a/apps/www/static/registry/styles/new-york-js/toggle.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "toggle", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import { tv } from \"tailwind-variants\";\nimport Root from \"./toggle.svelte\";\nexport const toggleVariants = tv({\n\tbase: \"inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground\",\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: \"bg-transparent\",\n\t\t\toutline:\n\t\t\t\t\"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground\",\n\t\t},\n\t\tsize: {\n\t\t\tdefault: \"h-9 px-3\",\n\t\t\tsm: \"h-8 px-2\",\n\t\t\tlg: \"h-10 px-3\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"default\",\n\t\tsize: \"default\",\n\t},\n});\nexport {\n\tRoot,\n\t//\n\tRoot as Toggle,\n};\n" - }, - { - "name": "toggle.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york-js/tooltip.json b/apps/www/static/registry/styles/new-york-js/tooltip.json deleted file mode 100644 index 24f997122..000000000 --- a/apps/www/static/registry/styles/new-york-js/tooltip.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "tooltip", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.js", - "content": "import { Tooltip as TooltipPrimitive } from \"bits-ui\";\nimport Content from \"./tooltip-content.svelte\";\nconst Root = TooltipPrimitive.Root;\nconst Trigger = TooltipPrimitive.Trigger;\nexport {\n\tRoot,\n\tTrigger,\n\tContent,\n\t//\n\tRoot as Tooltip,\n\tContent as TooltipContent,\n\tTrigger as TooltipTrigger,\n};\n" - }, - { - "name": "tooltip-content.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/accordion.json b/apps/www/static/registry/styles/new-york/accordion.json deleted file mode 100644 index b0b70c869..000000000 --- a/apps/www/static/registry/styles/new-york/accordion.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "accordion", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "accordion-content.svelte", - "content": "\n\n\n\t
    \n\t\t\n\t
    \n\n" - }, - { - "name": "accordion-item.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "accordion-trigger.svelte", - "content": "\n\n\n\tsvg]:rotate-180\",\n\t\t\tclassName\n\t\t)}\n\t\t{...$$restProps}\n\t\ton:click\n\t>\n\t\t\n\t\t\n\t\n\n" - }, - { - "name": "index.ts", - "content": "import { Accordion as AccordionPrimitive } from \"bits-ui\";\nimport Content from \"./accordion-content.svelte\";\nimport Item from \"./accordion-item.svelte\";\nimport Trigger from \"./accordion-trigger.svelte\";\n\nconst Root = AccordionPrimitive.Root;\nexport {\n\tRoot,\n\tContent,\n\tItem,\n\tTrigger,\n\t//\n\tRoot as Accordion,\n\tContent as AccordionContent,\n\tItem as AccordionItem,\n\tTrigger as AccordionTrigger,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/alert-dialog.json b/apps/www/static/registry/styles/new-york/alert-dialog.json deleted file mode 100644 index ec95cb14c..000000000 --- a/apps/www/static/registry/styles/new-york/alert-dialog.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "name": "alert-dialog", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [ - "button" - ], - "files": [ - { - "name": "alert-dialog-action.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "alert-dialog-cancel.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "alert-dialog-content.svelte", - "content": "\n\n\n\t\n\t\n\t\t\n\t\n\n" - }, - { - "name": "alert-dialog-description.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "alert-dialog-footer.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "alert-dialog-header.svelte", - "content": "\n\n
    \n\t\n
    \n" - }, - { - "name": "alert-dialog-overlay.svelte", - "content": "\n\n\n" - }, - { - "name": "alert-dialog-portal.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "alert-dialog-title.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.ts", - "content": "import { AlertDialog as AlertDialogPrimitive } from \"bits-ui\";\n\nimport Title from \"./alert-dialog-title.svelte\";\nimport Action from \"./alert-dialog-action.svelte\";\nimport Cancel from \"./alert-dialog-cancel.svelte\";\nimport Portal from \"./alert-dialog-portal.svelte\";\nimport Footer from \"./alert-dialog-footer.svelte\";\nimport Header from \"./alert-dialog-header.svelte\";\nimport Overlay from \"./alert-dialog-overlay.svelte\";\nimport Content from \"./alert-dialog-content.svelte\";\nimport Description from \"./alert-dialog-description.svelte\";\n\nconst Root = AlertDialogPrimitive.Root;\nconst Trigger = AlertDialogPrimitive.Trigger;\n\nexport {\n\tRoot,\n\tTitle,\n\tAction,\n\tCancel,\n\tPortal,\n\tFooter,\n\tHeader,\n\tTrigger,\n\tOverlay,\n\tContent,\n\tDescription,\n\t//\n\tRoot as AlertDialog,\n\tTitle as AlertDialogTitle,\n\tAction as AlertDialogAction,\n\tCancel as AlertDialogCancel,\n\tPortal as AlertDialogPortal,\n\tFooter as AlertDialogFooter,\n\tHeader as AlertDialogHeader,\n\tTrigger as AlertDialogTrigger,\n\tOverlay as AlertDialogOverlay,\n\tContent as AlertDialogContent,\n\tDescription as AlertDialogDescription,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/alert.json b/apps/www/static/registry/styles/new-york/alert.json deleted file mode 100644 index 56db1ce8a..000000000 --- a/apps/www/static/registry/styles/new-york/alert.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "alert", - "dependencies": [], - "registryDependencies": [], - "files": [ - { - "name": "alert-description.svelte", - "content": "\n\n
    \n\t\n
    \n" - }, - { - "name": "alert-title.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "alert.svelte", - "content": "\n\n
    \n\t\n
    \n" - }, - { - "name": "index.ts", - "content": "import { type VariantProps, tv } from \"tailwind-variants\";\n\nimport Root from \"./alert.svelte\";\nimport Description from \"./alert-description.svelte\";\nimport Title from \"./alert-title.svelte\";\n\nexport const alertVariants = tv({\n\tbase: \"relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7\",\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: \"bg-background text-foreground\",\n\t\t\tdestructive:\n\t\t\t\t\"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"default\",\n\t},\n});\n\nexport type Variant = VariantProps[\"variant\"];\nexport type HeadingLevel = \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n\nexport {\n\tRoot,\n\tDescription,\n\tTitle,\n\t//\n\tRoot as Alert,\n\tDescription as AlertDescription,\n\tTitle as AlertTitle,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/aspect-ratio.json b/apps/www/static/registry/styles/new-york/aspect-ratio.json deleted file mode 100644 index 0656fe1e3..000000000 --- a/apps/www/static/registry/styles/new-york/aspect-ratio.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "aspect-ratio", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "aspect-ratio.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.ts", - "content": "import Root from \"./aspect-ratio.svelte\";\n\nexport { Root, Root as AspectRatio };\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/avatar.json b/apps/www/static/registry/styles/new-york/avatar.json deleted file mode 100644 index 829fd0bff..000000000 --- a/apps/www/static/registry/styles/new-york/avatar.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "avatar", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "avatar-fallback.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "avatar-image.svelte", - "content": "\n\n\n" - }, - { - "name": "avatar.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.ts", - "content": "import Root from \"./avatar.svelte\";\nimport Image from \"./avatar-image.svelte\";\nimport Fallback from \"./avatar-fallback.svelte\";\n\nexport {\n\tRoot,\n\tImage,\n\tFallback,\n\t//\n\tRoot as Avatar,\n\tImage as AvatarImage,\n\tFallback as AvatarFallback,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/badge.json b/apps/www/static/registry/styles/new-york/badge.json deleted file mode 100644 index 6a36903fd..000000000 --- a/apps/www/static/registry/styles/new-york/badge.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "badge", - "dependencies": [], - "registryDependencies": [], - "files": [ - { - "name": "badge.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.ts", - "content": "import { type VariantProps, tv } from \"tailwind-variants\";\n\nexport { default as Badge } from \"./badge.svelte\";\nexport const badgeVariants = tv({\n\tbase: \"inline-flex select-none items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\",\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault:\n\t\t\t\t\"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80\",\n\t\t\tsecondary:\n\t\t\t\t\"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80\",\n\t\t\tdestructive:\n\t\t\t\t\"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80\",\n\t\t\toutline: \"text-foreground\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"default\",\n\t},\n});\n\nexport type Variant = VariantProps[\"variant\"];\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/breadcrumb.json b/apps/www/static/registry/styles/new-york/breadcrumb.json deleted file mode 100644 index f65b18a8a..000000000 --- a/apps/www/static/registry/styles/new-york/breadcrumb.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "breadcrumb", - "dependencies": [ - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "breadcrumb-ellipsis.svelte", - "content": "\n\n\n\t\n\tMore\n\n" - }, - { - "name": "breadcrumb-item.svelte", - "content": "\n\n
  • \n\t\n
  • \n" - }, - { - "name": "breadcrumb-link.svelte", - "content": "\n\n{#if asChild}\n\t\n{:else}\n\t\n\t\t\n\t\n{/if}\n" - }, - { - "name": "breadcrumb-list.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "breadcrumb-page.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "breadcrumb-separator.svelte", - "content": "\n\nsvg]:size-3.5\", className)}\n\tbind:this={el}\n\t{...$$restProps}\n>\n\t\n\t\t\n\t\n\n" - }, - { - "name": "breadcrumb.svelte", - "content": "\n\n\n" - }, - { - "name": "index.ts", - "content": "import Root from \"./breadcrumb.svelte\";\nimport Ellipsis from \"./breadcrumb-ellipsis.svelte\";\nimport Item from \"./breadcrumb-item.svelte\";\nimport Separator from \"./breadcrumb-separator.svelte\";\nimport Link from \"./breadcrumb-link.svelte\";\nimport List from \"./breadcrumb-list.svelte\";\nimport Page from \"./breadcrumb-page.svelte\";\n\nexport {\n\tRoot,\n\tEllipsis,\n\tItem,\n\tSeparator,\n\tLink,\n\tList,\n\tPage,\n\t//\n\tRoot as Breadcrumb,\n\tEllipsis as BreadcrumbEllipsis,\n\tItem as BreadcrumbItem,\n\tSeparator as BreadcrumbSeparator,\n\tLink as BreadcrumbLink,\n\tList as BreadcrumbList,\n\tPage as BreadcrumbPage,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/button.json b/apps/www/static/registry/styles/new-york/button.json deleted file mode 100644 index 87bda17a8..000000000 --- a/apps/www/static/registry/styles/new-york/button.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "button", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "button.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.ts", - "content": "import type { Button as ButtonPrimitive } from \"bits-ui\";\nimport { type VariantProps, tv } from \"tailwind-variants\";\nimport Root from \"./button.svelte\";\n\nconst buttonVariants = tv({\n\tbase: \"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50\",\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: \"bg-primary text-primary-foreground shadow hover:bg-primary/90\",\n\t\t\tdestructive:\n\t\t\t\t\"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90\",\n\t\t\toutline:\n\t\t\t\t\"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground\",\n\t\t\tsecondary: \"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80\",\n\t\t\tghost: \"hover:bg-accent hover:text-accent-foreground\",\n\t\t\tlink: \"text-primary underline-offset-4 hover:underline\",\n\t\t},\n\t\tsize: {\n\t\t\tdefault: \"h-9 px-4 py-2\",\n\t\t\tsm: \"h-8 rounded-md px-3 text-xs\",\n\t\t\tlg: \"h-10 rounded-md px-8\",\n\t\t\ticon: \"h-9 w-9\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"default\",\n\t\tsize: \"default\",\n\t},\n});\n\ntype Variant = VariantProps[\"variant\"];\ntype Size = VariantProps[\"size\"];\n\ntype Props = ButtonPrimitive.Props & {\n\tvariant?: Variant;\n\tsize?: Size;\n};\n\ntype Events = ButtonPrimitive.Events;\n\nexport {\n\tRoot,\n\ttype Props,\n\ttype Events,\n\t//\n\tRoot as Button,\n\ttype Props as ButtonProps,\n\ttype Events as ButtonEvents,\n\tbuttonVariants,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/calendar.json b/apps/www/static/registry/styles/new-york/calendar.json deleted file mode 100644 index 750134cb0..000000000 --- a/apps/www/static/registry/styles/new-york/calendar.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "name": "calendar", - "dependencies": [ - "bits-ui", - "@internationalized/date", - "svelte-radix" - ], - "registryDependencies": [ - "button" - ], - "files": [ - { - "name": "calendar-cell.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "calendar-day.svelte", - "content": "\n\n\n\t\n\t\t{date.day}\n\t\n\n" - }, - { - "name": "calendar-grid-body.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "calendar-grid-head.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "calendar-grid-row.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "calendar-grid.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "calendar-head-cell.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "calendar-header.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "calendar-heading.svelte", - "content": "\n\n\n\t\n\t\t{headingValue}\n\t\n\n" - }, - { - "name": "calendar-months.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "calendar-next-button.svelte", - "content": "\n\n\n\t\n\t\t\n\t\n\n" - }, - { - "name": "calendar-prev-button.svelte", - "content": "\n\n\n\t\n\t\t\n\t\n\n" - }, - { - "name": "calendar.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\n\t\t\n\t\n\t\n\t\t{#each months as month}\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{#each weekdays as weekday}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{weekday.slice(0, 2)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t{/each}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{#each month.weeks as weekDates}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{#each weekDates as date}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{/each}\n\t\t\t\t\t\t\n\t\t\t\t\t{/each}\n\t\t\t\t\n\t\t\t\n\t\t{/each}\n\t\n\n" - }, - { - "name": "index.ts", - "content": "import Root from \"./calendar.svelte\";\nimport Cell from \"./calendar-cell.svelte\";\nimport Day from \"./calendar-day.svelte\";\nimport Grid from \"./calendar-grid.svelte\";\nimport Header from \"./calendar-header.svelte\";\nimport Months from \"./calendar-months.svelte\";\nimport GridRow from \"./calendar-grid-row.svelte\";\nimport Heading from \"./calendar-heading.svelte\";\nimport GridBody from \"./calendar-grid-body.svelte\";\nimport GridHead from \"./calendar-grid-head.svelte\";\nimport HeadCell from \"./calendar-head-cell.svelte\";\nimport NextButton from \"./calendar-next-button.svelte\";\nimport PrevButton from \"./calendar-prev-button.svelte\";\n\nexport {\n\tDay,\n\tCell,\n\tGrid,\n\tHeader,\n\tMonths,\n\tGridRow,\n\tHeading,\n\tGridBody,\n\tGridHead,\n\tHeadCell,\n\tNextButton,\n\tPrevButton,\n\t//\n\tRoot as Calendar,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/card.json b/apps/www/static/registry/styles/new-york/card.json deleted file mode 100644 index 82c179f35..000000000 --- a/apps/www/static/registry/styles/new-york/card.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "card", - "dependencies": [], - "registryDependencies": [], - "files": [ - { - "name": "card-content.svelte", - "content": "\n\n
    \n\t\n
    \n" - }, - { - "name": "card-description.svelte", - "content": "\n\n

    \n\t\n

    \n" - }, - { - "name": "card-footer.svelte", - "content": "\n\n
    \n\t\n
    \n" - }, - { - "name": "card-header.svelte", - "content": "\n\n
    \n\t\n
    \n" - }, - { - "name": "card-title.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "card.svelte", - "content": "\n\n\n\n\t\n\n" - }, - { - "name": "index.ts", - "content": "import Root from \"./card.svelte\";\nimport Content from \"./card-content.svelte\";\nimport Description from \"./card-description.svelte\";\nimport Footer from \"./card-footer.svelte\";\nimport Header from \"./card-header.svelte\";\nimport Title from \"./card-title.svelte\";\n\nexport {\n\tRoot,\n\tContent,\n\tDescription,\n\tFooter,\n\tHeader,\n\tTitle,\n\t//\n\tRoot as Card,\n\tContent as CardContent,\n\tDescription as CardDescription,\n\tFooter as CardFooter,\n\tHeader as CardHeader,\n\tTitle as CardTitle,\n};\n\nexport type HeadingLevel = \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/carousel.json b/apps/www/static/registry/styles/new-york/carousel.json deleted file mode 100644 index 7a93f6c99..000000000 --- a/apps/www/static/registry/styles/new-york/carousel.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "carousel", - "dependencies": [ - "embla-carousel-svelte", - "svelte-radix" - ], - "registryDependencies": [ - "button" - ], - "files": [ - { - "name": "carousel-content.svelte", - "content": "\n\n\n\t\n\t\t\n\t\n\n" - }, - { - "name": "carousel-item.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "carousel-next.svelte", - "content": "\n\n\n\t\n\tNext slide\n\n" - }, - { - "name": "carousel-previous.svelte", - "content": "\n\n\n\t\n\tPrevious slide\n\n" - }, - { - "name": "carousel.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "context.ts", - "content": "import type { EmblaCarouselSvelteType } from \"embla-carousel-svelte\";\nimport type emblaCarouselSvelte from \"embla-carousel-svelte\";\nimport { getContext, hasContext, setContext } from \"svelte\";\nimport type { HTMLAttributes } from \"svelte/elements\";\nimport type { Readable, Writable } from \"svelte/store\";\n\nexport type CarouselAPI =\n\tNonNullable[\"on:emblaInit\"]> extends (\n\t\tevt: CustomEvent\n\t) => void\n\t\t? CarouselAPI\n\t\t: never;\n\ntype EmblaCarouselConfig = NonNullable[1]>;\n\nexport type CarouselOptions = EmblaCarouselConfig[\"options\"];\nexport type CarouselPlugins = EmblaCarouselConfig[\"plugins\"];\n\n////\n\nexport type CarouselProps = {\n\topts?: CarouselOptions;\n\tplugins?: CarouselPlugins;\n\tapi?: CarouselAPI;\n\torientation?: \"horizontal\" | \"vertical\";\n} & HTMLAttributes;\n\nconst EMBLA_CAROUSEL_CONTEXT = Symbol(\"EMBLA_CAROUSEL_CONTEXT\");\n\ntype EmblaContext = {\n\tapi: Writable;\n\torientation: Writable<\"horizontal\" | \"vertical\">;\n\tscrollNext: () => void;\n\tscrollPrev: () => void;\n\tcanScrollNext: Readable;\n\tcanScrollPrev: Readable;\n\thandleKeyDown: (e: KeyboardEvent) => void;\n\toptions: Writable;\n\tplugins: Writable;\n\tonInit: (e: CustomEvent) => void;\n\tscrollTo: (index: number, jump?: boolean) => void;\n\tscrollSnaps: Readable;\n\tselectedIndex: Readable;\n};\n\nexport function setEmblaContext(config: EmblaContext): EmblaContext {\n\tsetContext(EMBLA_CAROUSEL_CONTEXT, config);\n\treturn config;\n}\n\nexport function getEmblaContext(name = \"This component\") {\n\tif (!hasContext(EMBLA_CAROUSEL_CONTEXT)) {\n\t\tthrow new Error(`${name} must be used within a component`);\n\t}\n\treturn getContext>(EMBLA_CAROUSEL_CONTEXT);\n}\n" - }, - { - "name": "index.ts", - "content": "export { default as Root } from \"./carousel.svelte\";\nexport { default as Content } from \"./carousel-content.svelte\";\nexport { default as Item } from \"./carousel-item.svelte\";\nexport { default as Previous } from \"./carousel-previous.svelte\";\nexport { default as Next } from \"./carousel-next.svelte\";\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/checkbox.json b/apps/www/static/registry/styles/new-york/checkbox.json deleted file mode 100644 index b2e8bf3b1..000000000 --- a/apps/www/static/registry/styles/new-york/checkbox.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "checkbox", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "checkbox.svelte", - "content": "\n\n\n\t\n\t\t{#if isIndeterminate}\n\t\t\t\n\t\t{:else}\n\t\t\t\n\t\t{/if}\n\t\n\n" - }, - { - "name": "index.ts", - "content": "import Root from \"./checkbox.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Checkbox,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/collapsible.json b/apps/www/static/registry/styles/new-york/collapsible.json deleted file mode 100644 index 42d1fbec9..000000000 --- a/apps/www/static/registry/styles/new-york/collapsible.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "collapsible", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "collapsible-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.ts", - "content": "import { Collapsible as CollapsiblePrimitive } from \"bits-ui\";\nimport Content from \"./collapsible-content.svelte\";\n\nconst Root = CollapsiblePrimitive.Root;\nconst Trigger = CollapsiblePrimitive.Trigger;\n\nexport {\n\tRoot,\n\tContent,\n\tTrigger,\n\t//\n\tRoot as Collapsible,\n\tContent as CollapsibleContent,\n\tTrigger as CollapsibleTrigger,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/command.json b/apps/www/static/registry/styles/new-york/command.json deleted file mode 100644 index 2878189c2..000000000 --- a/apps/www/static/registry/styles/new-york/command.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "command", - "dependencies": [ - "cmdk-sv", - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [ - "dialog" - ], - "files": [ - { - "name": "command-dialog.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\n" - }, - { - "name": "command-empty.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "command-group.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "command-input.svelte", - "content": "\n\n
    \n\t\n\t\n
    \n" - }, - { - "name": "command-item.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "command-list.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "command-separator.svelte", - "content": "\n\n\n" - }, - { - "name": "command-shortcut.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "command.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.ts", - "content": "import { Command as CommandPrimitive } from \"cmdk-sv\";\n\nimport Root from \"./command.svelte\";\nimport Dialog from \"./command-dialog.svelte\";\nimport Empty from \"./command-empty.svelte\";\nimport Group from \"./command-group.svelte\";\nimport Item from \"./command-item.svelte\";\nimport Input from \"./command-input.svelte\";\nimport List from \"./command-list.svelte\";\nimport Separator from \"./command-separator.svelte\";\nimport Shortcut from \"./command-shortcut.svelte\";\n\nconst Loading = CommandPrimitive.Loading;\n\nexport {\n\tRoot,\n\tDialog,\n\tEmpty,\n\tGroup,\n\tItem,\n\tInput,\n\tList,\n\tSeparator,\n\tShortcut,\n\tLoading,\n\t//\n\tRoot as Command,\n\tDialog as CommandDialog,\n\tEmpty as CommandEmpty,\n\tGroup as CommandGroup,\n\tItem as CommandItem,\n\tInput as CommandInput,\n\tList as CommandList,\n\tSeparator as CommandSeparator,\n\tShortcut as CommandShortcut,\n\tLoading as CommandLoading,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/context-menu.json b/apps/www/static/registry/styles/new-york/context-menu.json deleted file mode 100644 index d3e64895d..000000000 --- a/apps/www/static/registry/styles/new-york/context-menu.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "context-menu", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "context-menu-checkbox-item.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" - }, - { - "name": "context-menu-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "context-menu-item.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "context-menu-label.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "context-menu-radio-group.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "context-menu-radio-item.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" - }, - { - "name": "context-menu-separator.svelte", - "content": "\n\n\n" - }, - { - "name": "context-menu-shortcut.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "context-menu-sub-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "context-menu-sub-trigger.svelte", - "content": "\n\n\n\t\n\t\n\n" - }, - { - "name": "index.ts", - "content": "import { ContextMenu as ContextMenuPrimitive } from \"bits-ui\";\n\nimport Item from \"./context-menu-item.svelte\";\nimport Label from \"./context-menu-label.svelte\";\nimport Content from \"./context-menu-content.svelte\";\nimport Shortcut from \"./context-menu-shortcut.svelte\";\nimport RadioItem from \"./context-menu-radio-item.svelte\";\nimport Separator from \"./context-menu-separator.svelte\";\nimport RadioGroup from \"./context-menu-radio-group.svelte\";\nimport SubContent from \"./context-menu-sub-content.svelte\";\nimport SubTrigger from \"./context-menu-sub-trigger.svelte\";\nimport CheckboxItem from \"./context-menu-checkbox-item.svelte\";\n\nconst Sub = ContextMenuPrimitive.Sub;\nconst Root = ContextMenuPrimitive.Root;\nconst Trigger = ContextMenuPrimitive.Trigger;\nconst Group = ContextMenuPrimitive.Group;\n\nexport {\n\tSub,\n\tRoot,\n\tItem,\n\tLabel,\n\tGroup,\n\tTrigger,\n\tContent,\n\tShortcut,\n\tSeparator,\n\tRadioItem,\n\tSubContent,\n\tSubTrigger,\n\tRadioGroup,\n\tCheckboxItem,\n\t//\n\tRoot as ContextMenu,\n\tSub as ContextMenuSub,\n\tItem as ContextMenuItem,\n\tLabel as ContextMenuLabel,\n\tGroup as ContextMenuGroup,\n\tContent as ContextMenuContent,\n\tTrigger as ContextMenuTrigger,\n\tShortcut as ContextMenuShortcut,\n\tRadioItem as ContextMenuRadioItem,\n\tSeparator as ContextMenuSeparator,\n\tRadioGroup as ContextMenuRadioGroup,\n\tSubContent as ContextMenuSubContent,\n\tSubTrigger as ContextMenuSubTrigger,\n\tCheckboxItem as ContextMenuCheckboxItem,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/dialog.json b/apps/www/static/registry/styles/new-york/dialog.json deleted file mode 100644 index 33f3ae3dd..000000000 --- a/apps/www/static/registry/styles/new-york/dialog.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "dialog", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "dialog-content.svelte", - "content": "\n\n\n\t\n\t\n\t\t\n\t\t\n\t\t\t\n\t\t\tClose\n\t\t\n\t\n\n" - }, - { - "name": "dialog-description.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dialog-footer.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dialog-header.svelte", - "content": "\n\n
    \n\t\n
    \n" - }, - { - "name": "dialog-overlay.svelte", - "content": "\n\n\n" - }, - { - "name": "dialog-portal.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dialog-title.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.ts", - "content": "import { Dialog as DialogPrimitive } from \"bits-ui\";\n\nimport Title from \"./dialog-title.svelte\";\nimport Portal from \"./dialog-portal.svelte\";\nimport Footer from \"./dialog-footer.svelte\";\nimport Header from \"./dialog-header.svelte\";\nimport Overlay from \"./dialog-overlay.svelte\";\nimport Content from \"./dialog-content.svelte\";\nimport Description from \"./dialog-description.svelte\";\n\nconst Root = DialogPrimitive.Root;\nconst Trigger = DialogPrimitive.Trigger;\nconst Close = DialogPrimitive.Close;\n\nexport {\n\tRoot,\n\tTitle,\n\tPortal,\n\tFooter,\n\tHeader,\n\tTrigger,\n\tOverlay,\n\tContent,\n\tDescription,\n\tClose,\n\t//\n\tRoot as Dialog,\n\tTitle as DialogTitle,\n\tPortal as DialogPortal,\n\tFooter as DialogFooter,\n\tHeader as DialogHeader,\n\tTrigger as DialogTrigger,\n\tOverlay as DialogOverlay,\n\tContent as DialogContent,\n\tDescription as DialogDescription,\n\tClose as DialogClose,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/drawer.json b/apps/www/static/registry/styles/new-york/drawer.json deleted file mode 100644 index 41cbff3dd..000000000 --- a/apps/www/static/registry/styles/new-york/drawer.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "drawer", - "dependencies": [ - "vaul-svelte" - ], - "registryDependencies": [], - "files": [ - { - "name": "drawer-content.svelte", - "content": "\n\n\n\t\n\t\n\t\t
    \n\t\t\n\t\n
    \n" - }, - { - "name": "drawer-description.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "drawer-footer.svelte", - "content": "\n\n
    \n\t\n
    \n" - }, - { - "name": "drawer-header.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "drawer-nested.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "drawer-overlay.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "drawer-title.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "drawer.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.ts", - "content": "import { Drawer as DrawerPrimitive } from \"vaul-svelte\";\n\nimport Root from \"./drawer.svelte\";\nimport Content from \"./drawer-content.svelte\";\nimport Description from \"./drawer-description.svelte\";\nimport Overlay from \"./drawer-overlay.svelte\";\nimport Footer from \"./drawer-footer.svelte\";\nimport Header from \"./drawer-header.svelte\";\nimport Title from \"./drawer-title.svelte\";\nimport NestedRoot from \"./drawer-nested.svelte\";\n\nconst Trigger = DrawerPrimitive.Trigger;\nconst Portal = DrawerPrimitive.Portal;\nconst Close = DrawerPrimitive.Close;\n\nexport {\n\tRoot,\n\tNestedRoot,\n\tContent,\n\tDescription,\n\tOverlay,\n\tFooter,\n\tHeader,\n\tTitle,\n\tTrigger,\n\tPortal,\n\tClose,\n\t//\n\tRoot as Drawer,\n\tNestedRoot as DrawerNestedRoot,\n\tContent as DrawerContent,\n\tDescription as DrawerDescription,\n\tOverlay as DrawerOverlay,\n\tFooter as DrawerFooter,\n\tHeader as DrawerHeader,\n\tTitle as DrawerTitle,\n\tTrigger as DrawerTrigger,\n\tPortal as DrawerPortal,\n\tClose as DrawerClose,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/dropdown-menu.json b/apps/www/static/registry/styles/new-york/dropdown-menu.json deleted file mode 100644 index 862f0341e..000000000 --- a/apps/www/static/registry/styles/new-york/dropdown-menu.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "dropdown-menu", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "dropdown-menu-checkbox-item.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" - }, - { - "name": "dropdown-menu-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dropdown-menu-item.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dropdown-menu-label.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dropdown-menu-radio-group.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dropdown-menu-radio-item.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" - }, - { - "name": "dropdown-menu-separator.svelte", - "content": "\n\n\n" - }, - { - "name": "dropdown-menu-shortcut.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dropdown-menu-sub-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "dropdown-menu-sub-trigger.svelte", - "content": "\n\n\n\t\n\t\n\n" - }, - { - "name": "index.ts", - "content": "import { DropdownMenu as DropdownMenuPrimitive } from \"bits-ui\";\nimport Item from \"./dropdown-menu-item.svelte\";\nimport Label from \"./dropdown-menu-label.svelte\";\nimport Content from \"./dropdown-menu-content.svelte\";\nimport Shortcut from \"./dropdown-menu-shortcut.svelte\";\nimport RadioItem from \"./dropdown-menu-radio-item.svelte\";\nimport Separator from \"./dropdown-menu-separator.svelte\";\nimport RadioGroup from \"./dropdown-menu-radio-group.svelte\";\nimport SubContent from \"./dropdown-menu-sub-content.svelte\";\nimport SubTrigger from \"./dropdown-menu-sub-trigger.svelte\";\nimport CheckboxItem from \"./dropdown-menu-checkbox-item.svelte\";\n\nconst Sub = DropdownMenuPrimitive.Sub;\nconst Root = DropdownMenuPrimitive.Root;\nconst Trigger = DropdownMenuPrimitive.Trigger;\nconst Group = DropdownMenuPrimitive.Group;\n\nexport {\n\tSub,\n\tRoot,\n\tItem,\n\tLabel,\n\tGroup,\n\tTrigger,\n\tContent,\n\tShortcut,\n\tSeparator,\n\tRadioItem,\n\tSubContent,\n\tSubTrigger,\n\tRadioGroup,\n\tCheckboxItem,\n\t//\n\tRoot as DropdownMenu,\n\tSub as DropdownMenuSub,\n\tItem as DropdownMenuItem,\n\tLabel as DropdownMenuLabel,\n\tGroup as DropdownMenuGroup,\n\tContent as DropdownMenuContent,\n\tTrigger as DropdownMenuTrigger,\n\tShortcut as DropdownMenuShortcut,\n\tRadioItem as DropdownMenuRadioItem,\n\tSeparator as DropdownMenuSeparator,\n\tRadioGroup as DropdownMenuRadioGroup,\n\tSubContent as DropdownMenuSubContent,\n\tSubTrigger as DropdownMenuSubTrigger,\n\tCheckboxItem as DropdownMenuCheckboxItem,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/form.json b/apps/www/static/registry/styles/new-york/form.json deleted file mode 100644 index f76706d50..000000000 --- a/apps/www/static/registry/styles/new-york/form.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "name": "form", - "dependencies": [ - "formsnap", - "zod", - "sveltekit-superforms" - ], - "registryDependencies": [ - "button", - "label" - ], - "files": [ - { - "name": "form-button.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "form-description.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "form-element-field.svelte", - "content": "\n\n\n\n\n\t
    \n\t\t\n\t
    \n
    \n" - }, - { - "name": "form-field-errors.svelte", - "content": "\n\n\n\t\n\t\t{#each errors as error}\n\t\t\t
    {error}
    \n\t\t{/each}\n\t
    \n\n" - }, - { - "name": "form-field.svelte", - "content": "\n\n\n\n\n\t
    \n\t\t\n\t
    \n
    \n" - }, - { - "name": "form-fieldset.svelte", - "content": "\n\n\n\n\n\t\n\n" - }, - { - "name": "form-label.svelte", - "content": "\n\n\n" - }, - { - "name": "form-legend.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.ts", - "content": "import * as FormPrimitive from \"formsnap\";\nimport Description from \"./form-description.svelte\";\nimport Label from \"./form-label.svelte\";\nimport FieldErrors from \"./form-field-errors.svelte\";\nimport Field from \"./form-field.svelte\";\nimport Button from \"./form-button.svelte\";\nimport Fieldset from \"./form-fieldset.svelte\";\nimport Legend from \"./form-legend.svelte\";\nimport ElementField from \"./form-element-field.svelte\";\n\nconst Control = FormPrimitive.Control;\n\nexport {\n\tField,\n\tControl,\n\tLabel,\n\tFieldErrors,\n\tDescription,\n\tFieldset,\n\tLegend,\n\tElementField,\n\tButton,\n\t//\n\tField as FormField,\n\tControl as FormControl,\n\tDescription as FormDescription,\n\tLabel as FormLabel,\n\tFieldErrors as FormFieldErrors,\n\tFieldset as FormFieldset,\n\tLegend as FormLegend,\n\tElementField as FormElementField,\n\tButton as FormButton,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/hover-card.json b/apps/www/static/registry/styles/new-york/hover-card.json deleted file mode 100644 index b6d09caca..000000000 --- a/apps/www/static/registry/styles/new-york/hover-card.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "hover-card", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "hover-card-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "index.ts", - "content": "import { LinkPreview as HoverCardPrimitive } from \"bits-ui\";\n\nimport Content from \"./hover-card-content.svelte\";\nconst Root = HoverCardPrimitive.Root;\nconst Trigger = HoverCardPrimitive.Trigger;\n\nexport {\n\tRoot,\n\tContent,\n\tTrigger,\n\tRoot as HoverCard,\n\tContent as HoverCardContent,\n\tTrigger as HoverCardTrigger,\n};\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/input.json b/apps/www/static/registry/styles/new-york/input.json deleted file mode 100644 index 03b9ddf11..000000000 --- a/apps/www/static/registry/styles/new-york/input.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "input", - "dependencies": [], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import Root from \"./input.svelte\";\n\nexport type FormInputEvent = T & {\n\tcurrentTarget: EventTarget & HTMLInputElement;\n};\nexport type InputEvents = {\n\tblur: FormInputEvent;\n\tchange: FormInputEvent;\n\tclick: FormInputEvent;\n\tfocus: FormInputEvent;\n\tfocusin: FormInputEvent;\n\tfocusout: FormInputEvent;\n\tkeydown: FormInputEvent;\n\tkeypress: FormInputEvent;\n\tkeyup: FormInputEvent;\n\tmouseover: FormInputEvent;\n\tmouseenter: FormInputEvent;\n\tmouseleave: FormInputEvent;\n\tpaste: FormInputEvent;\n\tinput: FormInputEvent;\n\twheel: FormInputEvent;\n};\n\nexport {\n\tRoot,\n\t//\n\tRoot as Input,\n};\n" - }, - { - "name": "input.svelte", - "content": "\n\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/label.json b/apps/www/static/registry/styles/new-york/label.json deleted file mode 100644 index 96847c210..000000000 --- a/apps/www/static/registry/styles/new-york/label.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "label", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import Root from \"./label.svelte\";\n\nexport {\n\tRoot,\n\t//\n\tRoot as Label,\n};\n" - }, - { - "name": "label.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/menubar.json b/apps/www/static/registry/styles/new-york/menubar.json deleted file mode 100644 index 4bb6b1690..000000000 --- a/apps/www/static/registry/styles/new-york/menubar.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "name": "menubar", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import { Menubar as MenubarPrimitive } from \"bits-ui\";\n\nimport Root from \"./menubar.svelte\";\nimport CheckboxItem from \"./menubar-checkbox-item.svelte\";\nimport Content from \"./menubar-content.svelte\";\nimport Item from \"./menubar-item.svelte\";\nimport Label from \"./menubar-label.svelte\";\nimport RadioItem from \"./menubar-radio-item.svelte\";\nimport Separator from \"./menubar-separator.svelte\";\nimport Shortcut from \"./menubar-shortcut.svelte\";\nimport SubContent from \"./menubar-sub-content.svelte\";\nimport SubTrigger from \"./menubar-sub-trigger.svelte\";\nimport Trigger from \"./menubar-trigger.svelte\";\n\nconst Menu = MenubarPrimitive.Menu;\nconst Group = MenubarPrimitive.Group;\nconst Sub = MenubarPrimitive.Sub;\nconst RadioGroup = MenubarPrimitive.RadioGroup;\n\nexport {\n\tRoot,\n\tCheckboxItem,\n\tContent,\n\tItem,\n\tLabel,\n\tRadioItem,\n\tSeparator,\n\tShortcut,\n\tSubContent,\n\tSubTrigger,\n\tTrigger,\n\tMenu,\n\tGroup,\n\tSub,\n\tRadioGroup,\n\t//\n\tRoot as Menubar,\n\tCheckboxItem as MenubarCheckboxItem,\n\tContent as MenubarContent,\n\tItem as MenubarItem,\n\tLabel as MenubarLabel,\n\tRadioItem as MenubarRadioItem,\n\tSeparator as MenubarSeparator,\n\tShortcut as MenubarShortcut,\n\tSubContent as MenubarSubContent,\n\tSubTrigger as MenubarSubTrigger,\n\tTrigger as MenubarTrigger,\n\tMenu as MenubarMenu,\n\tGroup as MenubarGroup,\n\tSub as MenubarSub,\n\tRadioGroup as MenubarRadioGroup,\n};\n" - }, - { - "name": "menubar-checkbox-item.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" - }, - { - "name": "menubar-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "menubar-item.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "menubar-label.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "menubar-radio-item.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" - }, - { - "name": "menubar-separator.svelte", - "content": "\n\n\n" - }, - { - "name": "menubar-shortcut.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "menubar-sub-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "menubar-sub-trigger.svelte", - "content": "\n\n\n\t\n\t\n\n" - }, - { - "name": "menubar-trigger.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "menubar.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/pagination.json b/apps/www/static/registry/styles/new-york/pagination.json deleted file mode 100644 index e1bae0096..000000000 --- a/apps/www/static/registry/styles/new-york/pagination.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "name": "pagination", - "dependencies": [ - "svelte-radix", - "bits-ui" - ], - "registryDependencies": [ - "button" - ], - "files": [ - { - "name": "index.ts", - "content": "import Root from \"./pagination.svelte\";\nimport Content from \"./pagination-content.svelte\";\nimport Item from \"./pagination-item.svelte\";\nimport Link from \"./pagination-link.svelte\";\nimport PrevButton from \"./pagination-prev-button.svelte\";\nimport NextButton from \"./pagination-next-button.svelte\";\nimport Ellipsis from \"./pagination-ellipsis.svelte\";\nexport {\n\tRoot,\n\tContent,\n\tItem,\n\tLink,\n\tPrevButton,\n\tNextButton,\n\tEllipsis,\n\t//\n\tRoot as Pagination,\n\tContent as PaginationContent,\n\tItem as PaginationItem,\n\tLink as PaginationLink,\n\tPrevButton as PaginationPrevButton,\n\tNextButton as PaginationNextButton,\n\tEllipsis as PaginationEllipsis,\n};\n" - }, - { - "name": "pagination-content.svelte", - "content": "\n\n
      \n\t\n
    \n" - }, - { - "name": "pagination-ellipsis.svelte", - "content": "\n\n\n\t\n\tMore pages\n\n" - }, - { - "name": "pagination-item.svelte", - "content": "\n\n
  • \n\t\n
  • \n" - }, - { - "name": "pagination-link.svelte", - "content": "\n\n\n\t{page.value}\n\n" - }, - { - "name": "pagination-next-button.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\tNext\n\t\t\t\n\t\t\n\t\n\n" - }, - { - "name": "pagination-prev-button.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\tPrevious\n\t\t\n\t\n\n" - }, - { - "name": "pagination.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/popover.json b/apps/www/static/registry/styles/new-york/popover.json deleted file mode 100644 index 4783955da..000000000 --- a/apps/www/static/registry/styles/new-york/popover.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "popover", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import { Popover as PopoverPrimitive } from \"bits-ui\";\nimport Content from \"./popover-content.svelte\";\nconst Root = PopoverPrimitive.Root;\nconst Trigger = PopoverPrimitive.Trigger;\nconst Close = PopoverPrimitive.Close;\n\nexport {\n\tRoot,\n\tContent,\n\tTrigger,\n\tClose,\n\t//\n\tRoot as Popover,\n\tContent as PopoverContent,\n\tTrigger as PopoverTrigger,\n\tClose as PopoverClose,\n};\n" - }, - { - "name": "popover-content.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/progress.json b/apps/www/static/registry/styles/new-york/progress.json deleted file mode 100644 index 63e960dd3..000000000 --- a/apps/www/static/registry/styles/new-york/progress.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "progress", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import Root from \"./progress.svelte\";\n\nexport {\n\tRoot,\n\t//\n\tRoot as Progress,\n};\n" - }, - { - "name": "progress.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/radio-group.json b/apps/www/static/registry/styles/new-york/radio-group.json deleted file mode 100644 index 17ef44165..000000000 --- a/apps/www/static/registry/styles/new-york/radio-group.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "radio-group", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import { RadioGroup as RadioGroupPrimitive } from \"bits-ui\";\n\nimport Root from \"./radio-group.svelte\";\nimport Item from \"./radio-group-item.svelte\";\nconst Input = RadioGroupPrimitive.Input;\n\nexport {\n\tRoot,\n\tInput,\n\tItem,\n\t//\n\tRoot as RadioGroup,\n\tInput as RadioGroupInput,\n\tItem as RadioGroupItem,\n};\n" - }, - { - "name": "radio-group-item.svelte", - "content": "\n\n\n\t
    \n\t\t\n\t\t\t\n\t\t\n\t
    \n\n" - }, - { - "name": "radio-group.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/range-calendar.json b/apps/www/static/registry/styles/new-york/range-calendar.json deleted file mode 100644 index bd29629a8..000000000 --- a/apps/www/static/registry/styles/new-york/range-calendar.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "name": "range-calendar", - "dependencies": [ - "bits-ui", - "@internationalized/date", - "svelte-radix" - ], - "registryDependencies": [ - "button" - ], - "files": [ - { - "name": "index.ts", - "content": "import Root from \"./range-calendar.svelte\";\nimport Cell from \"./range-calendar-cell.svelte\";\nimport Day from \"./range-calendar-day.svelte\";\nimport Grid from \"./range-calendar-grid.svelte\";\nimport Header from \"./range-calendar-header.svelte\";\nimport Months from \"./range-calendar-months.svelte\";\nimport GridRow from \"./range-calendar-grid-row.svelte\";\nimport Heading from \"./range-calendar-heading.svelte\";\nimport GridBody from \"./range-calendar-grid-body.svelte\";\nimport GridHead from \"./range-calendar-grid-head.svelte\";\nimport HeadCell from \"./range-calendar-head-cell.svelte\";\nimport NextButton from \"./range-calendar-next-button.svelte\";\nimport PrevButton from \"./range-calendar-prev-button.svelte\";\n\nexport {\n\tDay,\n\tCell,\n\tGrid,\n\tHeader,\n\tMonths,\n\tGridRow,\n\tHeading,\n\tGridBody,\n\tGridHead,\n\tHeadCell,\n\tNextButton,\n\tPrevButton,\n\t//\n\tRoot as RangeCalendar,\n};\n" - }, - { - "name": "range-calendar-cell.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "range-calendar-day.svelte", - "content": "\n\n\n\t\n\t\t{date.day}\n\t\n\n" - }, - { - "name": "range-calendar-grid-body.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "range-calendar-grid-head.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "range-calendar-grid-row.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "range-calendar-grid.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "range-calendar-head-cell.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "range-calendar-header.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "range-calendar-heading.svelte", - "content": "\n\n\n\t\n\t\t{headingValue}\n\t\n\n" - }, - { - "name": "range-calendar-months.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "range-calendar-next-button.svelte", - "content": "\n\n\n\t\n\t\t\n\t\n\n" - }, - { - "name": "range-calendar-prev-button.svelte", - "content": "\n\n\n\t\n\t\t\n\t\n\n" - }, - { - "name": "range-calendar.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\n\t\t\n\t\n\t\n\t\t{#each months as month}\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{#each weekdays as weekday}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{weekday.slice(0, 2)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t{/each}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{#each month.weeks as weekDates}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{#each weekDates as date}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{/each}\n\t\t\t\t\t\t\n\t\t\t\t\t{/each}\n\t\t\t\t\n\t\t\t\n\t\t{/each}\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/resizable.json b/apps/www/static/registry/styles/new-york/resizable.json deleted file mode 100644 index 2520c43a3..000000000 --- a/apps/www/static/registry/styles/new-york/resizable.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "resizable", - "dependencies": [ - "svelte-radix", - "paneforge" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import { Pane } from \"paneforge\";\nimport Handle from \"./resizable-handle.svelte\";\nimport PaneGroup from \"./resizable-pane-group.svelte\";\n\nexport {\n\tPaneGroup,\n\tPane,\n\tHandle,\n\t//\n\tPaneGroup as ResizablePaneGroup,\n\tPane as ResizablePane,\n\tHandle as ResizableHandle,\n};\n" - }, - { - "name": "resizable-handle.svelte", - "content": "\n\ndiv]:rotate-90\",\n\t\tclassName\n\t)}\n>\n\t{#if withHandle}\n\t\t
    \n\t\t\t\n\t\t
    \n\t{/if}\n\n" - }, - { - "name": "resizable-pane-group.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/scroll-area.json b/apps/www/static/registry/styles/new-york/scroll-area.json deleted file mode 100644 index 43ab2ecfa..000000000 --- a/apps/www/static/registry/styles/new-york/scroll-area.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "scroll-area", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import Scrollbar from \"./scroll-area-scrollbar.svelte\";\nimport Root from \"./scroll-area.svelte\";\n\nexport {\n\tRoot,\n\tScrollbar,\n\t//,\n\tRoot as ScrollArea,\n\tScrollbar as ScrollAreaScrollbar,\n};\n" - }, - { - "name": "scroll-area-scrollbar.svelte", - "content": "\n\n\n\t\n\t\n\n" - }, - { - "name": "scroll-area.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t{#if orientation === \"vertical\" || orientation === \"both\"}\n\t\t\n\t{/if}\n\t{#if orientation === \"horizontal\" || orientation === \"both\"}\n\t\t\n\t{/if}\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/select.json b/apps/www/static/registry/styles/new-york/select.json deleted file mode 100644 index b65516942..000000000 --- a/apps/www/static/registry/styles/new-york/select.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "select", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import { Select as SelectPrimitive } from \"bits-ui\";\n\nimport Label from \"./select-label.svelte\";\nimport Item from \"./select-item.svelte\";\nimport Content from \"./select-content.svelte\";\nimport Trigger from \"./select-trigger.svelte\";\nimport Separator from \"./select-separator.svelte\";\n\nconst Root = SelectPrimitive.Root;\nconst Group = SelectPrimitive.Group;\nconst Input = SelectPrimitive.Input;\nconst Value = SelectPrimitive.Value;\n\nexport {\n\tRoot,\n\tItem,\n\tGroup,\n\tInput,\n\tLabel,\n\tValue,\n\tContent,\n\tTrigger,\n\tSeparator,\n\t//\n\tRoot as Select,\n\tItem as SelectItem,\n\tGroup as SelectGroup,\n\tInput as SelectInput,\n\tLabel as SelectLabel,\n\tValue as SelectValue,\n\tContent as SelectContent,\n\tTrigger as SelectTrigger,\n\tSeparator as SelectSeparator,\n};\n" - }, - { - "name": "select-content.svelte", - "content": "\n\n\n\t
    \n\t\t\n\t
    \n\n" - }, - { - "name": "select-item.svelte", - "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\t\t{label || value}\n\t\n\n" - }, - { - "name": "select-label.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "select-separator.svelte", - "content": "\n\n\n" - }, - { - "name": "select-trigger.svelte", - "content": "\n\nspan]:line-clamp-1\",\n\t\tclassName\n\t)}\n\t{...$$restProps}\n>\n\t\n\t
    \n\t\t\n\t
    \n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/separator.json b/apps/www/static/registry/styles/new-york/separator.json deleted file mode 100644 index 1922cbcca..000000000 --- a/apps/www/static/registry/styles/new-york/separator.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "separator", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import Root from \"./separator.svelte\";\n\nexport {\n\tRoot,\n\t//\n\tRoot as Separator,\n};\n" - }, - { - "name": "separator.svelte", - "content": "\n\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/sheet.json b/apps/www/static/registry/styles/new-york/sheet.json deleted file mode 100644 index 0ae73988d..000000000 --- a/apps/www/static/registry/styles/new-york/sheet.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "sheet", - "dependencies": [ - "bits-ui", - "svelte-radix" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import { Dialog as SheetPrimitive } from \"bits-ui\";\nimport { type VariantProps, tv } from \"tailwind-variants\";\n\nimport Portal from \"./sheet-portal.svelte\";\nimport Overlay from \"./sheet-overlay.svelte\";\nimport Content from \"./sheet-content.svelte\";\nimport Header from \"./sheet-header.svelte\";\nimport Footer from \"./sheet-footer.svelte\";\nimport Title from \"./sheet-title.svelte\";\nimport Description from \"./sheet-description.svelte\";\n\nconst Root = SheetPrimitive.Root;\nconst Close = SheetPrimitive.Close;\nconst Trigger = SheetPrimitive.Trigger;\n\nexport {\n\tRoot,\n\tClose,\n\tTrigger,\n\tPortal,\n\tOverlay,\n\tContent,\n\tHeader,\n\tFooter,\n\tTitle,\n\tDescription,\n\t//\n\tRoot as Sheet,\n\tClose as SheetClose,\n\tTrigger as SheetTrigger,\n\tPortal as SheetPortal,\n\tOverlay as SheetOverlay,\n\tContent as SheetContent,\n\tHeader as SheetHeader,\n\tFooter as SheetFooter,\n\tTitle as SheetTitle,\n\tDescription as SheetDescription,\n};\n\nexport const sheetVariants = tv({\n\tbase: \"fixed z-50 gap-4 bg-background p-6 shadow-lg\",\n\tvariants: {\n\t\tside: {\n\t\t\ttop: \"inset-x-0 top-0 border-b \",\n\t\t\tbottom: \"inset-x-0 bottom-0 border-t\",\n\t\t\tleft: \"inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm\",\n\t\t\tright: \"inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tside: \"right\",\n\t},\n});\n\nexport const sheetTransitions = {\n\ttop: {\n\t\tin: {\n\t\t\ty: \"-100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\ty: \"-100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n\tbottom: {\n\t\tin: {\n\t\t\ty: \"100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\ty: \"100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n\tleft: {\n\t\tin: {\n\t\t\tx: \"-100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\tx: \"-100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n\tright: {\n\t\tin: {\n\t\t\tx: \"100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\tx: \"100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n};\n\nexport type Side = VariantProps[\"side\"];\n" - }, - { - "name": "sheet-content.svelte", - "content": "\n\n\n\t\n\t\n\t\t\n\t\t\n\t\t\t\n\t\t\tClose\n\t\t\n\t\n\n" - }, - { - "name": "sheet-description.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "sheet-footer.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "sheet-header.svelte", - "content": "\n\n
    \n\t\n
    \n" - }, - { - "name": "sheet-overlay.svelte", - "content": "\n\n\n" - }, - { - "name": "sheet-portal.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "sheet-title.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/skeleton.json b/apps/www/static/registry/styles/new-york/skeleton.json deleted file mode 100644 index 71cc871c1..000000000 --- a/apps/www/static/registry/styles/new-york/skeleton.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "skeleton", - "dependencies": [], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import Root from \"./skeleton.svelte\";\n\nexport {\n\tRoot,\n\t//\n\tRoot as Skeleton,\n};\n" - }, - { - "name": "skeleton.svelte", - "content": "\n\n
    \n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/slider.json b/apps/www/static/registry/styles/new-york/slider.json deleted file mode 100644 index ee9c6d383..000000000 --- a/apps/www/static/registry/styles/new-york/slider.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "slider", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import Root from \"./slider.svelte\";\n\nexport {\n\tRoot,\n\t//\n\tRoot as Slider,\n};\n" - }, - { - "name": "slider.svelte", - "content": "\n\n\n\t\n\t\t\n\t\n\t{#each thumbs as thumb}\n\t\t\n\t{/each}\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/sonner.json b/apps/www/static/registry/styles/new-york/sonner.json deleted file mode 100644 index 1fe97bcdd..000000000 --- a/apps/www/static/registry/styles/new-york/sonner.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "sonner", - "dependencies": [ - "svelte-sonner", - "mode-watcher" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "export { default as Toaster } from \"./sonner.svelte\";\n" - }, - { - "name": "sonner.svelte", - "content": "\n\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/switch.json b/apps/www/static/registry/styles/new-york/switch.json deleted file mode 100644 index 075412aad..000000000 --- a/apps/www/static/registry/styles/new-york/switch.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "switch", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import Root from \"./switch.svelte\";\n\nexport {\n\tRoot,\n\t//\n\tRoot as Switch,\n};\n" - }, - { - "name": "switch.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/table.json b/apps/www/static/registry/styles/new-york/table.json deleted file mode 100644 index d63c38fcb..000000000 --- a/apps/www/static/registry/styles/new-york/table.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "table", - "dependencies": [], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import Root from \"./table.svelte\";\nimport Body from \"./table-body.svelte\";\nimport Caption from \"./table-caption.svelte\";\nimport Cell from \"./table-cell.svelte\";\nimport Footer from \"./table-footer.svelte\";\nimport Head from \"./table-head.svelte\";\nimport Header from \"./table-header.svelte\";\nimport Row from \"./table-row.svelte\";\n\nexport {\n\tRoot,\n\tBody,\n\tCaption,\n\tCell,\n\tFooter,\n\tHead,\n\tHeader,\n\tRow,\n\t//\n\tRoot as Table,\n\tBody as TableBody,\n\tCaption as TableCaption,\n\tCell as TableCell,\n\tFooter as TableFooter,\n\tHead as TableHead,\n\tHeader as TableHeader,\n\tRow as TableRow,\n};\n" - }, - { - "name": "table-body.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "table-caption.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "table-cell.svelte", - "content": "\n\n[role=checkbox]]:translate-y-[2px]\",\n\t\tclassName\n\t)}\n\t{...$$restProps}\n\ton:click\n\ton:keydown\n>\n\t\n\n" - }, - { - "name": "table-footer.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "table-head.svelte", - "content": "\n\n[role=checkbox]]:translate-y-[2px]\",\n\t\tclassName\n\t)}\n\t{...$$restProps}\n>\n\t\n\n" - }, - { - "name": "table-header.svelte", - "content": "\n\n\n\n\t\n\n" - }, - { - "name": "table-row.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "table.svelte", - "content": "\n\n
    \n\t\n\t\t\n\t
    \n
    \n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/tabs.json b/apps/www/static/registry/styles/new-york/tabs.json deleted file mode 100644 index 46ca01ef3..000000000 --- a/apps/www/static/registry/styles/new-york/tabs.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "tabs", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import { Tabs as TabsPrimitive } from \"bits-ui\";\nimport Content from \"./tabs-content.svelte\";\nimport List from \"./tabs-list.svelte\";\nimport Trigger from \"./tabs-trigger.svelte\";\n\nconst Root = TabsPrimitive.Root;\n\nexport {\n\tRoot,\n\tContent,\n\tList,\n\tTrigger,\n\t//\n\tRoot as Tabs,\n\tContent as TabsContent,\n\tList as TabsList,\n\tTrigger as TabsTrigger,\n};\n" - }, - { - "name": "tabs-content.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "tabs-list.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "tabs-trigger.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/textarea.json b/apps/www/static/registry/styles/new-york/textarea.json deleted file mode 100644 index 3b4e0e1b1..000000000 --- a/apps/www/static/registry/styles/new-york/textarea.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "textarea", - "dependencies": [], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import Root from \"./textarea.svelte\";\n\ntype FormTextareaEvent = T & {\n\tcurrentTarget: EventTarget & HTMLTextAreaElement;\n};\n\ntype TextareaEvents = {\n\tblur: FormTextareaEvent;\n\tchange: FormTextareaEvent;\n\tclick: FormTextareaEvent;\n\tfocus: FormTextareaEvent;\n\tkeydown: FormTextareaEvent;\n\tkeypress: FormTextareaEvent;\n\tkeyup: FormTextareaEvent;\n\tmouseover: FormTextareaEvent;\n\tmouseenter: FormTextareaEvent;\n\tmouseleave: FormTextareaEvent;\n\tpaste: FormTextareaEvent;\n\tinput: FormTextareaEvent;\n};\n\nexport {\n\tRoot,\n\t//\n\tRoot as Textarea,\n\ttype TextareaEvents,\n\ttype FormTextareaEvent,\n};\n" - }, - { - "name": "textarea.svelte", - "content": "\n\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/toggle-group.json b/apps/www/static/registry/styles/new-york/toggle-group.json deleted file mode 100644 index 3d371f395..000000000 --- a/apps/www/static/registry/styles/new-york/toggle-group.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "toggle-group", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [ - "toggle" - ], - "files": [ - { - "name": "index.ts", - "content": "import type { VariantProps } from \"tailwind-variants\";\nimport { getContext, setContext } from \"svelte\";\nimport Root from \"./toggle-group.svelte\";\nimport Item from \"./toggle-group-item.svelte\";\nimport type { toggleVariants } from \"$lib/registry/new-york/ui/toggle/index.js\";\n\nexport type ToggleVariants = VariantProps;\n\nexport function setToggleGroupCtx(props: ToggleVariants) {\n\tsetContext(\"toggleGroup\", props);\n}\n\nexport function getToggleGroupCtx() {\n\treturn getContext(\"toggleGroup\");\n}\n\nexport {\n\tRoot,\n\tItem,\n\t//\n\tRoot as ToggleGroup,\n\tItem as ToggleGroupItem,\n};\n" - }, - { - "name": "toggle-group-item.svelte", - "content": "\n\n\n\t\n\n" - }, - { - "name": "toggle-group.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/toggle.json b/apps/www/static/registry/styles/new-york/toggle.json deleted file mode 100644 index d175248e1..000000000 --- a/apps/www/static/registry/styles/new-york/toggle.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "toggle", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import { type VariantProps, tv } from \"tailwind-variants\";\nimport Root from \"./toggle.svelte\";\n\nexport const toggleVariants = tv({\n\tbase: \"inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground\",\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: \"bg-transparent\",\n\t\t\toutline:\n\t\t\t\t\"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground\",\n\t\t},\n\t\tsize: {\n\t\t\tdefault: \"h-9 px-3\",\n\t\t\tsm: \"h-8 px-2\",\n\t\t\tlg: \"h-10 px-3\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"default\",\n\t\tsize: \"default\",\n\t},\n});\n\nexport type Variant = VariantProps[\"variant\"];\nexport type Size = VariantProps[\"size\"];\n\nexport {\n\tRoot,\n\t//\n\tRoot as Toggle,\n};\n" - }, - { - "name": "toggle.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/styles/new-york/tooltip.json b/apps/www/static/registry/styles/new-york/tooltip.json deleted file mode 100644 index 27e1edc78..000000000 --- a/apps/www/static/registry/styles/new-york/tooltip.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "tooltip", - "dependencies": [ - "bits-ui" - ], - "registryDependencies": [], - "files": [ - { - "name": "index.ts", - "content": "import { Tooltip as TooltipPrimitive } from \"bits-ui\";\nimport Content from \"./tooltip-content.svelte\";\n\nconst Root = TooltipPrimitive.Root;\nconst Trigger = TooltipPrimitive.Trigger;\n\nexport {\n\tRoot,\n\tTrigger,\n\tContent,\n\t//\n\tRoot as Tooltip,\n\tContent as TooltipContent,\n\tTrigger as TooltipTrigger,\n};\n" - }, - { - "name": "tooltip-content.svelte", - "content": "\n\n\n\t\n\n" - } - ], - "type": "components:ui" -} \ No newline at end of file diff --git a/apps/www/static/registry/themes.css b/apps/www/static/registry/themes.css deleted file mode 100644 index b0e1ee04a..000000000 --- a/apps/www/static/registry/themes.css +++ /dev/null @@ -1,768 +0,0 @@ - - .theme-zinc { - --background: 0 0% 100%; - --foreground: 240 10% 3.9%; - - --muted: 240 4.8% 95.9%; - --muted-foreground: 240 3.8% 46.1%; - - --popover: 0 0% 100%;; - --popover-foreground: 240 10% 3.9%; - - --card: 0 0% 100%; - --card-foreground: 240 10% 3.9%; - - --border: 240 5.9% 90%; - --input: 240 5.9% 90%; - - --primary: 240 5.9% 10%; - --primary-foreground: 0 0% 98%; - - --secondary: 240 4.8% 95.9%; - --secondary-foreground: 240 5.9% 10%; - - --accent: 240 4.8% 95.9%; - --accent-foreground: 240 5.9% 10%; - - --destructive: 0 72.22% 50.59%; - --destructive-foreground: 0 0% 98%; - - --ring: 240 5.9% 10%; - - --radius: 0.5rem; - } - - .dark .theme-zinc { - --background: 240 10% 3.9%; - --foreground: 0 0% 98%; - - --muted: 240 3.7% 15.9%; - --muted-foreground: 240 5% 64.9%; - - --popover: 240 10% 3.9%; - --popover-foreground: 0 0% 98%; - - --card: 240 10% 3.9%; - --card-foreground: 0 0% 98%; - - --border: 240 3.7% 15.9%; - --input: 240 3.7% 15.9%; - - --primary: 0 0% 98%; - --primary-foreground: 240 5.9% 10%; - - --secondary: 240 3.7% 15.9%; - --secondary-foreground: 0 0% 98%; - - --accent: 240 3.7% 15.9%; - --accent-foreground: 0 0% 98%; - - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 0 0% 98%; - - --ring: 240 4.9% 83.9%; - } - - .theme-slate { - --background: 0 0% 100%; - --foreground: 222.2 84% 4.9%; - - --muted: 210 40% 96.1%; - --muted-foreground: 215.4 16.3% 46.9%; - - --popover: 0 0% 100%; - --popover-foreground: 222.2 84% 4.9%; - - --card: 0 0% 100%; - --card-foreground: 222.2 84% 4.9%; - - --border: 214.3 31.8% 91.4%; - --input: 214.3 31.8% 91.4%; - - --primary: 222.2 47.4% 11.2%; - --primary-foreground: 210 40% 98%; - - --secondary: 210 40% 96.1%; - --secondary-foreground: 222.2 47.4% 11.2%; - - --accent: 210 40% 96.1%; - --accent-foreground: 222.2 47.4% 11.2%; - - --destructive: 0 72.22% 50.59%; - --destructive-foreground: 210 40% 98%; - - --ring: 222.2 84% 4.9%; - - --radius: 0.5rem; - } - - .dark .theme-slate { - --background: 222.2 84% 4.9%; - --foreground: 210 40% 98%; - - --muted: 217.2 32.6% 17.5%; - --muted-foreground: 215 20.2% 65.1%; - - --popover: 222.2 84% 4.9%; - --popover-foreground: 210 40% 98%; - - --card: 222.2 84% 4.9%; - --card-foreground: 210 40% 98%; - - --border: 217.2 32.6% 17.5%; - --input: 217.2 32.6% 17.5%; - - --primary: 210 40% 98%; - --primary-foreground: 222.2 47.4% 11.2%; - - --secondary: 217.2 32.6% 17.5%; - --secondary-foreground: 210 40% 98%; - - --accent: 217.2 32.6% 17.5%; - --accent-foreground: 210 40% 98%; - - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 210 40% 98%; - - --ring: 212.7 26.8% 83.9%; - } - - .theme-stone { - --background: 0 0% 100%; - --foreground: 20 14.3% 4.1%; - - --muted: 60 4.8% 95.9%; - --muted-foreground: 25 5.3% 44.7%; - - --popover: 0 0% 100%; - --popover-foreground: 20 14.3% 4.1%; - - --card: 0 0% 100%; - --card-foreground: 20 14.3% 4.1%; - - --border: 20 5.9% 90%; - --input: 20 5.9% 90%; - - --primary: 24 9.8% 10%; - --primary-foreground: 60 9.1% 97.8%; - - --secondary: 60 4.8% 95.9%; - --secondary-foreground: 24 9.8% 10%; - - --accent: 60 4.8% 95.9%; - --accent-foreground: 24 9.8% 10%; - - --destructive: 0 72.22% 50.59%; - --destructive-foreground: 60 9.1% 97.8%; - - --ring: 20 14.3% 4.1%; - - --radius: 0.5rem; - } - - .dark .theme-stone { - --background: 20 14.3% 4.1%; - --foreground: 60 9.1% 97.8%; - - --muted: 12 6.5% 15.1%; - --muted-foreground: 24 5.4% 63.9%; - - --popover: 20 14.3% 4.1%; - --popover-foreground: 60 9.1% 97.8%; - - --card: 20 14.3% 4.1%; - --card-foreground: 60 9.1% 97.8%; - - --border: 12 6.5% 15.1%; - --input: 12 6.5% 15.1%; - - --primary: 60 9.1% 97.8%; - --primary-foreground: 24 9.8% 10%; - - --secondary: 12 6.5% 15.1%; - --secondary-foreground: 60 9.1% 97.8%; - - --accent: 12 6.5% 15.1%; - --accent-foreground: 60 9.1% 97.8%; - - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 60 9.1% 97.8%; - - --ring: 24 5.7% 82.9%; - } - - .theme-gray { - --background: 0 0% 100%; - --foreground: 224 71.4% 4.1%; - - --muted: 220 14.3% 95.9%; - --muted-foreground: 220 8.9% 46.1%; - - --popover: 0 0% 100%; - --popover-foreground: 224 71.4% 4.1%; - - --card: 0 0% 100%; - --card-foreground: 224 71.4% 4.1%; - - --border: 220 13% 91%; - --input: 220 13% 91%; - - --primary: 220.9 39.3% 11%; - --primary-foreground: 210 20% 98%; - - --secondary: 220 14.3% 95.9%; - --secondary-foreground: 220.9 39.3% 11%; - - --accent: 220 14.3% 95.9%; - --accent-foreground: 220.9 39.3% 11%; - - --destructive: 0 72.22% 50.59%; - --destructive-foreground: 210 20% 98%; - - --ring: 224 71.4% 4.1%; - - --radius: 0.5rem; - } - - .dark .theme-gray { - --background: 224 71.4% 4.1%; - --foreground: 210 20% 98%; - - --muted: 215 27.9% 16.9%; - --muted-foreground: 217.9 10.6% 64.9%; - - --popover: 224 71.4% 4.1%; - --popover-foreground: 210 20% 98%; - - --card: 224 71.4% 4.1%; - --card-foreground: 210 20% 98%; - - --border: 215 27.9% 16.9%; - --input: 215 27.9% 16.9%; - - --primary: 210 20% 98%; - --primary-foreground: 220.9 39.3% 11%; - - --secondary: 215 27.9% 16.9%; - --secondary-foreground: 210 20% 98%; - - --accent: 215 27.9% 16.9%; - --accent-foreground: 210 20% 98%; - - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 210 20% 98%; - - --ring: 216 12.2% 83.9%; - } - - .theme-neutral { - --background: 0 0% 100%; - --foreground: 0 0% 3.9%; - - --muted: 0 0% 96.1%; - --muted-foreground: 0 0% 45.1%; - - --popover: 0 0% 100%; - --popover-foreground: 0 0% 3.9%; - - --card: 0 0% 100%; - --card-foreground: 0 0% 3.9%; - - --border: 0 0% 89.8%; - --input: 0 0% 89.8%; - - --primary: 0 0% 9%; - --primary-foreground: 0 0% 98%; - - --secondary: 0 0% 96.1%; - --secondary-foreground: 0 0% 9%; - - --accent: 0 0% 96.1%; - --accent-foreground: 0 0% 9%; - - --destructive: 0 72.22% 50.59%; - --destructive-foreground: 0 0% 98%; - - --ring: 0 0% 3.9%; - - --radius: 0.5rem; - } - - .dark .theme-neutral { - --background: 0 0% 3.9%; - --foreground: 0 0% 98%; - - --muted: 0 0% 14.9%; - --muted-foreground: 0 0% 63.9%; - - --popover: 0 0% 3.9%; - --popover-foreground: 0 0% 98%; - - --card: 0 0% 3.9%; - --card-foreground: 0 0% 98%; - - --border: 0 0% 14.9%; - --input: 0 0% 14.9%; - - --primary: 0 0% 98%; - --primary-foreground: 0 0% 9%; - - --secondary: 0 0% 14.9%; - --secondary-foreground: 0 0% 98%; - - --accent: 0 0% 14.9%; - --accent-foreground: 0 0% 98%; - - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 0 0% 98%; - - --ring: 0 0% 83.1%; - } - - .theme-red { - --background: 0 0% 100%; - --foreground: 0 0% 3.9%; - - --muted: 0 0% 96.1%; - --muted-foreground: 0 0% 45.1%; - - --popover: 0 0% 100%; - --popover-foreground: 0 0% 3.9%; - - --card: 0 0% 100%; - --card-foreground: 0 0% 3.9%; - - --border: 0 0% 89.8%; - --input: 0 0% 89.8%; - - --primary: 0 72.2% 50.6%; - --primary-foreground: 0 85.7% 97.3%; - - --secondary: 0 0% 96.1%; - --secondary-foreground: 0 0% 9%; - - --accent: 0 0% 96.1%; - --accent-foreground: 0 0% 9%; - - --destructive: 0 72.22% 50.59%; - --destructive-foreground: 0 0% 98%; - - --ring: 0 72.2% 50.6%; - - --radius: 0.5rem; - } - - .dark .theme-red { - --background: 0 0% 3.9%; - --foreground: 0 0% 98%; - - --muted: 0 0% 14.9%; - --muted-foreground: 0 0% 63.9%; - - --popover: 0 0% 3.9%; - --popover-foreground: 0 0% 98%; - - --card: 0 0% 3.9%; - --card-foreground: 0 0% 98%; - - --border: 0 0% 14.9%; - --input: 0 0% 14.9%; - - --primary: 0 72.2% 50.6%; - --primary-foreground: 0 85.7% 97.3%; - - --secondary: 0 0% 14.9%; - --secondary-foreground: 0 0% 98%; - - --accent: 0 0% 14.9%; - --accent-foreground: 0 0% 98%; - - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 0 0% 98%; - - --ring: 0 72.2% 50.6%; - } - - .theme-rose { - --background: 0 0% 100%; - --foreground: 240 10% 3.9%; - - --muted: 240 4.8% 95.9%; - --muted-foreground: 240 3.8% 46.1%; - - --popover: 0 0% 100%; - --popover-foreground: 240 10% 3.9%; - - --card: 0 0% 100%; - --card-foreground: 240 10% 3.9%; - - --border: 240 5.9% 90%; - --input: 240 5.9% 90%; - - --primary: 346.8 77.2% 49.8%; - --primary-foreground: 355.7 100% 97.3%; - - --secondary: 240 4.8% 95.9%; - --secondary-foreground: 240 5.9% 10%; - - --accent: 240 4.8% 95.9%; - --accent-foreground: 240 5.9% 10%; - - --destructive: 0 72.22% 50.59%; - --destructive-foreground: 0 0% 98%; - - --ring: 346.8 77.2% 49.8%; - - --radius: 0.5rem; - } - - .dark .theme-rose { - --background: 20 14.3% 4.1%; - --foreground: 0 0% 95%; - - --muted: 0 0% 15%; - --muted-foreground: 240 5% 64.9%; - - --popover: 0 0% 9%; - --popover-foreground: 0 0% 95%; - - --card: 24 9.8% 10%; - --card-foreground: 0 0% 95%; - - --border: 240 3.7% 15.9%; - --input: 240 3.7% 15.9%; - - --primary: 346.8 77.2% 49.8%; - --primary-foreground: 355.7 100% 97.3%; - - --secondary: 240 3.7% 15.9%; - --secondary-foreground: 0 0% 98%; - - --accent: 12 6.5% 15.1%; - --accent-foreground: 0 0% 98%; - - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 0 85.7% 97.3%; - - --ring: 346.8 77.2% 49.8%; - } - - .theme-orange { - --background: 0 0% 100%; - --foreground: 20 14.3% 4.1%; - - --muted: 60 4.8% 95.9%; - --muted-foreground: 25 5.3% 44.7%; - - --popover: 0 0% 100%; - --popover-foreground: 20 14.3% 4.1%; - - --card: 0 0% 100%; - --card-foreground: 20 14.3% 4.1%; - - --border: 20 5.9% 90%; - --input: 20 5.9% 90%; - - --primary: 24.6 95% 53.1%; - --primary-foreground: 60 9.1% 97.8%; - - --secondary: 60 4.8% 95.9%; - --secondary-foreground: 24 9.8% 10%; - - --accent: 60 4.8% 95.9%; - --accent-foreground: 24 9.8% 10%; - - --destructive: 0 72.22% 50.59%; - --destructive-foreground: 60 9.1% 97.8%; - - --ring: 24.6 95% 53.1%; - - --radius: 0.5rem; - } - - .dark .theme-orange { - --background: 20 14.3% 4.1%; - --foreground: 60 9.1% 97.8%; - - --muted: 12 6.5% 15.1%; - --muted-foreground: 24 5.4% 63.9%; - - --popover: 20 14.3% 4.1%; - --popover-foreground: 60 9.1% 97.8%; - - --card: 20 14.3% 4.1%; - --card-foreground: 60 9.1% 97.8%; - - --border: 12 6.5% 15.1%; - --input: 12 6.5% 15.1%; - - --primary: 20.5 90.2% 48.2%; - --primary-foreground: 60 9.1% 97.8%; - - --secondary: 12 6.5% 15.1%; - --secondary-foreground: 60 9.1% 97.8%; - - --accent: 12 6.5% 15.1%; - --accent-foreground: 60 9.1% 97.8%; - - --destructive: 0 72.2% 50.6%; - --destructive-foreground: 60 9.1% 97.8%; - - --ring: 20.5 90.2% 48.2%; - } - - .theme-green { - --background: 0 0% 100%; - --foreground: 240 10% 3.9%; - - --muted: 240 4.8% 95.9%; - --muted-foreground: 240 3.8% 46.1%; - - --popover: 0 0% 100%; - --popover-foreground: 240 10% 3.9%; - - --card: 0 0% 100%; - --card-foreground: 240 10% 3.9%; - - --border: 240 5.9% 90%; - --input: 240 5.9% 90%; - - --primary: 142.1 76.2% 36.3%; - --primary-foreground: 355.7 100% 97.3%; - - --secondary: 240 4.8% 95.9%; - --secondary-foreground: 240 5.9% 10%; - - --accent: 240 4.8% 95.9%; - --accent-foreground: 240 5.9% 10%; - - --destructive: 0 72.22% 50.59%; - --destructive-foreground: 0 0% 98%; - - --ring: 142.1 76.2% 36.3%; - - --radius: 0.5rem; - } - - .dark .theme-green { - --background: 20 14.3% 4.1%; - --foreground: 0 0% 95%; - - --muted: 0 0% 15%; - --muted-foreground: 240 5% 64.9%; - - --popover: 0 0% 9%; - --popover-foreground: 0 0% 95%; - - --card: 24 9.8% 10%; - --card-foreground: 0 0% 95%; - - --border: 240 3.7% 15.9%; - --input: 240 3.7% 15.9%; - - --primary: 142.1 70.6% 45.3%; - --primary-foreground: 144.9 80.4% 10%; - - --secondary: 240 3.7% 15.9%; - --secondary-foreground: 0 0% 98%; - - --accent: 12 6.5% 15.1%; - --accent-foreground: 0 0% 98%; - - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 0 85.7% 97.3%; - - --ring: 142.4 71.8% 29.2%; - } - - .theme-blue { - --background: 0 0% 100%; - --foreground: 222.2 84% 4.9%; - - --muted: 210 40% 96.1%; - --muted-foreground: 215.4 16.3% 46.9%; - - --popover: 0 0% 100%; - --popover-foreground: 222.2 84% 4.9%; - - --card: 0 0% 100%; - --card-foreground: 222.2 84% 4.9%; - - --border: 214.3 31.8% 91.4%; - --input: 214.3 31.8% 91.4%; - - --primary: 221.2 83.2% 53.3%; - --primary-foreground: 210 40% 98%; - - --secondary: 210 40% 96.1%; - --secondary-foreground: 222.2 47.4% 11.2%; - - --accent: 210 40% 96.1%; - --accent-foreground: 222.2 47.4% 11.2%; - - --destructive: 0 72.22% 50.59%; - --destructive-foreground: 210 40% 98%; - - --ring: 221.2 83.2% 53.3%; - - --radius: 0.5rem; - } - - .dark .theme-blue { - --background: 222.2 84% 4.9%; - --foreground: 210 40% 98%; - - --muted: 217.2 32.6% 17.5%; - --muted-foreground: 215 20.2% 65.1%; - - --popover: 222.2 84% 4.9%; - --popover-foreground: 210 40% 98%; - - --card: 222.2 84% 4.9%; - --card-foreground: 210 40% 98%; - - --border: 217.2 32.6% 17.5%; - --input: 217.2 32.6% 17.5%; - - --primary: 217.2 91.2% 59.8%; - --primary-foreground: 222.2 47.4% 11.2%; - - --secondary: 217.2 32.6% 17.5%; - --secondary-foreground: 210 40% 98%; - - --accent: 217.2 32.6% 17.5%; - --accent-foreground: 210 40% 98%; - - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 210 40% 98%; - - --ring: 224.3 76.3% 48%; - } - - .theme-yellow { - --background: 0 0% 100%; - --foreground: 20 14.3% 4.1%; - - --muted: 60 4.8% 95.9%; - --muted-foreground: 25 5.3% 44.7%; - - --popover: 0 0% 100%; - --popover-foreground: 20 14.3% 4.1%; - - --card: 0 0% 100%; - --card-foreground: 20 14.3% 4.1%; - - --border: 20 5.9% 90%; - --input: 20 5.9% 90%; - - --primary: 47.9 95.8% 53.1%; - --primary-foreground: 26 83.3% 14.1%; - - --secondary: 60 4.8% 95.9%; - --secondary-foreground: 24 9.8% 10%; - - --accent: 60 4.8% 95.9%; - --accent-foreground: 24 9.8% 10%; - - --destructive: 0 72.22% 50.59%; - --destructive-foreground: 60 9.1% 97.8%; - - --ring: 20 14.3% 4.1%; - - --radius: 0.5rem; - } - - .dark .theme-yellow { - --background: 20 14.3% 4.1%; - --foreground: 60 9.1% 97.8%; - - --muted: 12 6.5% 15.1%; - --muted-foreground: 24 5.4% 63.9%; - - --popover: 20 14.3% 4.1%; - --popover-foreground: 60 9.1% 97.8%; - - --card: 20 14.3% 4.1%; - --card-foreground: 60 9.1% 97.8%; - - --border: 12 6.5% 15.1%; - --input: 12 6.5% 15.1%; - - --primary: 47.9 95.8% 53.1%; - --primary-foreground: 26 83.3% 14.1%; - - --secondary: 12 6.5% 15.1%; - --secondary-foreground: 60 9.1% 97.8%; - - --accent: 12 6.5% 15.1%; - --accent-foreground: 60 9.1% 97.8%; - - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 60 9.1% 97.8%; - - --ring: 35.5 91.7% 32.9%; - } - - .theme-violet { - --background: 0 0% 100%; - --foreground: 224 71.4% 4.1%; - - --muted: 220 14.3% 95.9%; - --muted-foreground: 220 8.9% 46.1%; - - --popover: 0 0% 100%; - --popover-foreground: 224 71.4% 4.1%; - - --card: 0 0% 100%; - --card-foreground: 224 71.4% 4.1%; - - --border: 220 13% 91%; - --input: 220 13% 91%; - - --primary: 262.1 83.3% 57.8%; - --primary-foreground: 210 20% 98%; - - --secondary: 220 14.3% 95.9%; - --secondary-foreground: 220.9 39.3% 11%; - - --accent: 220 14.3% 95.9%; - --accent-foreground: 220.9 39.3% 11%; - - --destructive: 0 72.22% 50.59%; - --destructive-foreground: 210 20% 98%; - - --ring: 262.1 83.3% 57.8%; - - --radius: 0.5rem; - } - - .dark .theme-violet { - --background: 224 71.4% 4.1%; - --foreground: 210 20% 98%; - - --muted: 215 27.9% 16.9%; - --muted-foreground: 217.9 10.6% 64.9%; - - --popover: 224 71.4% 4.1%; - --popover-foreground: 210 20% 98%; - - --card: 224 71.4% 4.1%; - --card-foreground: 210 20% 98%; - - --border: 215 27.9% 16.9%; - --input: 215 27.9% 16.9%; - - --primary: 263.4 70% 50.4%; - --primary-foreground: 210 20% 98%; - - --secondary: 215 27.9% 16.9%; - --secondary-foreground: 210 20% 98%; - - --accent: 215 27.9% 16.9%; - --accent-foreground: 210 20% 98%; - - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 210 20% 98%; - - --ring: 263.4 70% 50.4%; - } \ No newline at end of file diff --git a/apps/www/static/registry/themes/gray.json b/apps/www/static/registry/themes/gray.json deleted file mode 100644 index 81742502a..000000000 --- a/apps/www/static/registry/themes/gray.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "gray", - "label": "Gray", - "cssVars": { - "light": { - "background": "0 0% 100%", - "foreground": "224 71.4% 4.1%", - "card": "0 0% 100%", - "card-foreground": "224 71.4% 4.1%", - "popover": "0 0% 100%", - "popover-foreground": "224 71.4% 4.1%", - "primary": "220.9 39.3% 11%", - "primary-foreground": "210 20% 98%", - "secondary": "220 14.3% 95.9%", - "secondary-foreground": "220.9 39.3% 11%", - "muted": "220 14.3% 95.9%", - "muted-foreground": "220 8.9% 46.1%", - "accent": "220 14.3% 95.9%", - "accent-foreground": "220.9 39.3% 11%", - "destructive": "0 84.2% 60.2%", - "destructive-foreground": "210 20% 98%", - "border": "220 13% 91%", - "input": "220 13% 91%", - "ring": "224 71.4% 4.1%" - }, - "dark": { - "background": "224 71.4% 4.1%", - "foreground": "210 20% 98%", - "card": "224 71.4% 4.1%", - "card-foreground": "210 20% 98%", - "popover": "224 71.4% 4.1%", - "popover-foreground": "210 20% 98%", - "primary": "210 20% 98%", - "primary-foreground": "220.9 39.3% 11%", - "secondary": "215 27.9% 16.9%", - "secondary-foreground": "210 20% 98%", - "muted": "215 27.9% 16.9%", - "muted-foreground": "217.9 10.6% 64.9%", - "accent": "215 27.9% 16.9%", - "accent-foreground": "210 20% 98%", - "destructive": "0 62.8% 30.6%", - "destructive-foreground": "210 20% 98%", - "border": "215 27.9% 16.9%", - "input": "215 27.9% 16.9%", - "ring": "216 12.2% 83.9%" - } - } -} \ No newline at end of file diff --git a/apps/www/static/registry/themes/neutral.json b/apps/www/static/registry/themes/neutral.json deleted file mode 100644 index e00dec7f4..000000000 --- a/apps/www/static/registry/themes/neutral.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "neutral", - "label": "Neutral", - "cssVars": { - "light": { - "background": "0 0% 100%", - "foreground": "0 0% 3.9%", - "card": "0 0% 100%", - "card-foreground": "0 0% 3.9%", - "popover": "0 0% 100%", - "popover-foreground": "0 0% 3.9%", - "primary": "0 0% 9%", - "primary-foreground": "0 0% 98%", - "secondary": "0 0% 96.1%", - "secondary-foreground": "0 0% 9%", - "muted": "0 0% 96.1%", - "muted-foreground": "0 0% 45.1%", - "accent": "0 0% 96.1%", - "accent-foreground": "0 0% 9%", - "destructive": "0 84.2% 60.2%", - "destructive-foreground": "0 0% 98%", - "border": "0 0% 89.8%", - "input": "0 0% 89.8%", - "ring": "0 0% 3.9%" - }, - "dark": { - "background": "0 0% 3.9%", - "foreground": "0 0% 98%", - "card": "0 0% 3.9%", - "card-foreground": "0 0% 98%", - "popover": "0 0% 3.9%", - "popover-foreground": "0 0% 98%", - "primary": "0 0% 98%", - "primary-foreground": "0 0% 9%", - "secondary": "0 0% 14.9%", - "secondary-foreground": "0 0% 98%", - "muted": "0 0% 14.9%", - "muted-foreground": "0 0% 63.9%", - "accent": "0 0% 14.9%", - "accent-foreground": "0 0% 98%", - "destructive": "0 62.8% 30.6%", - "destructive-foreground": "0 0% 98%", - "border": "0 0% 14.9%", - "input": "0 0% 14.9%", - "ring": "0 0% 83.1%" - } - } -} \ No newline at end of file diff --git a/apps/www/static/registry/themes/slate.json b/apps/www/static/registry/themes/slate.json deleted file mode 100644 index 7c72a9d6d..000000000 --- a/apps/www/static/registry/themes/slate.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "slate", - "label": "Slate", - "cssVars": { - "light": { - "background": "0 0% 100%", - "foreground": "222.2 84% 4.9%", - "card": "0 0% 100%", - "card-foreground": "222.2 84% 4.9%", - "popover": "0 0% 100%", - "popover-foreground": "222.2 84% 4.9%", - "primary": "222.2 47.4% 11.2%", - "primary-foreground": "210 40% 98%", - "secondary": "210 40% 96.1%", - "secondary-foreground": "222.2 47.4% 11.2%", - "muted": "210 40% 96.1%", - "muted-foreground": "215.4 16.3% 46.9%", - "accent": "210 40% 96.1%", - "accent-foreground": "222.2 47.4% 11.2%", - "destructive": "0 84.2% 60.2%", - "destructive-foreground": "210 40% 98%", - "border": "214.3 31.8% 91.4%", - "input": "214.3 31.8% 91.4%", - "ring": "222.2 84% 4.9%" - }, - "dark": { - "background": "222.2 84% 4.9%", - "foreground": "210 40% 98%", - "card": "222.2 84% 4.9%", - "card-foreground": "210 40% 98%", - "popover": "222.2 84% 4.9%", - "popover-foreground": "210 40% 98%", - "primary": "210 40% 98%", - "primary-foreground": "222.2 47.4% 11.2%", - "secondary": "217.2 32.6% 17.5%", - "secondary-foreground": "210 40% 98%", - "muted": "217.2 32.6% 17.5%", - "muted-foreground": "215 20.2% 65.1%", - "accent": "217.2 32.6% 17.5%", - "accent-foreground": "210 40% 98%", - "destructive": "0 62.8% 30.6%", - "destructive-foreground": "210 40% 98%", - "border": "217.2 32.6% 17.5%", - "input": "217.2 32.6% 17.5%", - "ring": "212.7 26.8% 83.9%" - } - } -} \ No newline at end of file diff --git a/apps/www/static/registry/themes/stone.json b/apps/www/static/registry/themes/stone.json deleted file mode 100644 index 8ff9ab5ca..000000000 --- a/apps/www/static/registry/themes/stone.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "stone", - "label": "Stone", - "cssVars": { - "light": { - "background": "0 0% 100%", - "foreground": "20 14.3% 4.1%", - "card": "0 0% 100%", - "card-foreground": "20 14.3% 4.1%", - "popover": "0 0% 100%", - "popover-foreground": "20 14.3% 4.1%", - "primary": "24 9.8% 10%", - "primary-foreground": "60 9.1% 97.8%", - "secondary": "60 4.8% 95.9%", - "secondary-foreground": "24 9.8% 10%", - "muted": "60 4.8% 95.9%", - "muted-foreground": "25 5.3% 44.7%", - "accent": "60 4.8% 95.9%", - "accent-foreground": "24 9.8% 10%", - "destructive": "0 84.2% 60.2%", - "destructive-foreground": "60 9.1% 97.8%", - "border": "20 5.9% 90%", - "input": "20 5.9% 90%", - "ring": "20 14.3% 4.1%" - }, - "dark": { - "background": "20 14.3% 4.1%", - "foreground": "60 9.1% 97.8%", - "card": "20 14.3% 4.1%", - "card-foreground": "60 9.1% 97.8%", - "popover": "20 14.3% 4.1%", - "popover-foreground": "60 9.1% 97.8%", - "primary": "60 9.1% 97.8%", - "primary-foreground": "24 9.8% 10%", - "secondary": "12 6.5% 15.1%", - "secondary-foreground": "60 9.1% 97.8%", - "muted": "12 6.5% 15.1%", - "muted-foreground": "24 5.4% 63.9%", - "accent": "12 6.5% 15.1%", - "accent-foreground": "60 9.1% 97.8%", - "destructive": "0 62.8% 30.6%", - "destructive-foreground": "60 9.1% 97.8%", - "border": "12 6.5% 15.1%", - "input": "12 6.5% 15.1%", - "ring": "24 5.7% 82.9%" - } - } -} \ No newline at end of file diff --git a/apps/www/static/registry/themes/zinc.json b/apps/www/static/registry/themes/zinc.json deleted file mode 100644 index b69bd3628..000000000 --- a/apps/www/static/registry/themes/zinc.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "zinc", - "label": "Zinc", - "cssVars": { - "light": { - "background": "0 0% 100%", - "foreground": "240 10% 3.9%", - "card": "0 0% 100%", - "card-foreground": "240 10% 3.9%", - "popover": "0 0% 100%", - "popover-foreground": "240 10% 3.9%", - "primary": "240 5.9% 10%", - "primary-foreground": "0 0% 98%", - "secondary": "240 4.8% 95.9%", - "secondary-foreground": "240 5.9% 10%", - "muted": "240 4.8% 95.9%", - "muted-foreground": "240 3.8% 46.1%", - "accent": "240 4.8% 95.9%", - "accent-foreground": "240 5.9% 10%", - "destructive": "0 84.2% 60.2%", - "destructive-foreground": "0 0% 98%", - "border": "240 5.9% 90%", - "input": "240 5.9% 90%", - "ring": "240 10% 3.9%" - }, - "dark": { - "background": "240 10% 3.9%", - "foreground": "0 0% 98%", - "card": "240 10% 3.9%", - "card-foreground": "0 0% 98%", - "popover": "240 10% 3.9%", - "popover-foreground": "0 0% 98%", - "primary": "0 0% 98%", - "primary-foreground": "240 5.9% 10%", - "secondary": "240 3.7% 15.9%", - "secondary-foreground": "0 0% 98%", - "muted": "240 3.7% 15.9%", - "muted-foreground": "240 5% 64.9%", - "accent": "240 3.7% 15.9%", - "accent-foreground": "0 0% 98%", - "destructive": "0 62.8% 30.6%", - "destructive-foreground": "0 0% 98%", - "border": "240 3.7% 15.9%", - "input": "240 3.7% 15.9%", - "ring": "240 4.9% 83.9%" - } - } -} \ No newline at end of file diff --git a/apps/www/static/schema.json b/apps/www/static/schema.json deleted file mode 100644 index 08b773f3a..000000000 --- a/apps/www/static/schema.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "type": "object", - "properties": { - "style": { - "type": "string", - "enum": [ - "default", - "new-york" - ] - }, - "tailwind": { - "type": "object", - "properties": { - "config": { - "type": "string" - }, - "css": { - "type": "string" - }, - "baseColor": { - "type": "string" - } - }, - "required": [ - "config", - "css", - "baseColor" - ] - }, - "aliases": { - "type": "object", - "properties": { - "utils": { - "type": "string" - }, - "components": { - "type": "string" - } - }, - "required": [ - "utils", - "components" - ] - } - }, - "required": [ - "style", - "tailwind", - "aliases" - ] -} diff --git a/package.json b/package.json index 44248597c..f3a60e821 100644 --- a/package.json +++ b/package.json @@ -10,15 +10,15 @@ "scripts": { "build": "pnpm build:registry && pnpm build:site", "build:cli": "pnpm -F shadcn-svelte build", - "build:registry": "pnpm -F www build:registry", - "build:site": "pnpm -F www build", - "dev": "pnpm build:registry && pnpm -F www dev", + "build:registry": "pnpm -F docs build:registry", + "build:site": "pnpm -F docs build", + "dev": "pnpm build:registry && pnpm -F docs dev", "dev:cli": "pnpm -F shadcn-svelte dev", - "preview": "pnpm -F www preview", - "test": "pnpm -F www test", - "check": "pnpm -F www check", - "check:watch": "pnpm -F www check:watch", - "test:unit": "pnpm -F www test:unit", + "preview": "pnpm -F docs preview", + "test": "pnpm -F docs test", + "check": "pnpm -F docs check", + "check:watch": "pnpm -F docs check:watch", + "test:unit": "pnpm -F docs test:unit", "lint": "prettier --check . && eslint .", "format:check": "pnpm -r format:check", "format": "prettier --write .", @@ -32,6 +32,7 @@ "pnpm": ">=8", "node": ">=18" }, + "packageManager": "pnpm@8.15.8", "repository": { "type": "git", "url": "https://github.com/huntabyte/shadcn-svelte.git" diff --git a/apps/playground-js/.gitignore b/playgrounds/playground-js/.gitignore similarity index 100% rename from apps/playground-js/.gitignore rename to playgrounds/playground-js/.gitignore diff --git a/apps/playground-js/.npmrc b/playgrounds/playground-js/.npmrc similarity index 100% rename from apps/playground-js/.npmrc rename to playgrounds/playground-js/.npmrc diff --git a/apps/playground-js/.prettierignore b/playgrounds/playground-js/.prettierignore similarity index 100% rename from apps/playground-js/.prettierignore rename to playgrounds/playground-js/.prettierignore diff --git a/apps/playground-js/.prettierrc b/playgrounds/playground-js/.prettierrc similarity index 100% rename from apps/playground-js/.prettierrc rename to playgrounds/playground-js/.prettierrc diff --git a/apps/playground-js/CHANGELOG.md b/playgrounds/playground-js/CHANGELOG.md similarity index 100% rename from apps/playground-js/CHANGELOG.md rename to playgrounds/playground-js/CHANGELOG.md diff --git a/apps/playground-js/README.md b/playgrounds/playground-js/README.md similarity index 100% rename from apps/playground-js/README.md rename to playgrounds/playground-js/README.md diff --git a/apps/playground-js/jsconfig.json b/playgrounds/playground-js/jsconfig.json similarity index 100% rename from apps/playground-js/jsconfig.json rename to playgrounds/playground-js/jsconfig.json diff --git a/apps/playground-js/package.json b/playgrounds/playground-js/package.json similarity index 100% rename from apps/playground-js/package.json rename to playgrounds/playground-js/package.json diff --git a/apps/playground-js/postcss.config.cjs b/playgrounds/playground-js/postcss.config.cjs similarity index 100% rename from apps/playground-js/postcss.config.cjs rename to playgrounds/playground-js/postcss.config.cjs diff --git a/apps/playground-js/reset.js b/playgrounds/playground-js/reset.js similarity index 100% rename from apps/playground-js/reset.js rename to playgrounds/playground-js/reset.js diff --git a/apps/playground-js/src/app.html b/playgrounds/playground-js/src/app.html similarity index 100% rename from apps/playground-js/src/app.html rename to playgrounds/playground-js/src/app.html diff --git a/apps/playground-js/src/app.pcss b/playgrounds/playground-js/src/app.pcss similarity index 100% rename from apps/playground-js/src/app.pcss rename to playgrounds/playground-js/src/app.pcss diff --git a/apps/playground-js/src/lib/index.js b/playgrounds/playground-js/src/lib/index.js similarity index 100% rename from apps/playground-js/src/lib/index.js rename to playgrounds/playground-js/src/lib/index.js diff --git a/apps/playground-js/src/routes/+layout.svelte b/playgrounds/playground-js/src/routes/+layout.svelte similarity index 100% rename from apps/playground-js/src/routes/+layout.svelte rename to playgrounds/playground-js/src/routes/+layout.svelte diff --git a/apps/playground-js/src/routes/+page.svelte b/playgrounds/playground-js/src/routes/+page.svelte similarity index 100% rename from apps/playground-js/src/routes/+page.svelte rename to playgrounds/playground-js/src/routes/+page.svelte diff --git a/apps/playground-js/static/favicon.png b/playgrounds/playground-js/static/favicon.png similarity index 100% rename from apps/playground-js/static/favicon.png rename to playgrounds/playground-js/static/favicon.png diff --git a/apps/playground-js/svelte.config.js b/playgrounds/playground-js/svelte.config.js similarity index 100% rename from apps/playground-js/svelte.config.js rename to playgrounds/playground-js/svelte.config.js diff --git a/apps/playground-js/tailwind.config.cjs b/playgrounds/playground-js/tailwind.config.cjs similarity index 100% rename from apps/playground-js/tailwind.config.cjs rename to playgrounds/playground-js/tailwind.config.cjs diff --git a/apps/playground-js/vite.config.js b/playgrounds/playground-js/vite.config.js similarity index 100% rename from apps/playground-js/vite.config.js rename to playgrounds/playground-js/vite.config.js diff --git a/apps/playground-ts/.gitignore b/playgrounds/playground-ts/.gitignore similarity index 100% rename from apps/playground-ts/.gitignore rename to playgrounds/playground-ts/.gitignore diff --git a/apps/playground-ts/.npmrc b/playgrounds/playground-ts/.npmrc similarity index 100% rename from apps/playground-ts/.npmrc rename to playgrounds/playground-ts/.npmrc diff --git a/apps/playground-ts/.prettierignore b/playgrounds/playground-ts/.prettierignore similarity index 100% rename from apps/playground-ts/.prettierignore rename to playgrounds/playground-ts/.prettierignore diff --git a/apps/playground-ts/.prettierrc b/playgrounds/playground-ts/.prettierrc similarity index 100% rename from apps/playground-ts/.prettierrc rename to playgrounds/playground-ts/.prettierrc diff --git a/apps/playground-ts/README.md b/playgrounds/playground-ts/README.md similarity index 100% rename from apps/playground-ts/README.md rename to playgrounds/playground-ts/README.md diff --git a/apps/playground-ts/package.json b/playgrounds/playground-ts/package.json similarity index 100% rename from apps/playground-ts/package.json rename to playgrounds/playground-ts/package.json diff --git a/apps/playground-ts/postcss.config.cjs b/playgrounds/playground-ts/postcss.config.cjs similarity index 100% rename from apps/playground-ts/postcss.config.cjs rename to playgrounds/playground-ts/postcss.config.cjs diff --git a/apps/playground-ts/reset.js b/playgrounds/playground-ts/reset.js similarity index 100% rename from apps/playground-ts/reset.js rename to playgrounds/playground-ts/reset.js diff --git a/apps/playground-ts/src/app.d.ts b/playgrounds/playground-ts/src/app.d.ts similarity index 100% rename from apps/playground-ts/src/app.d.ts rename to playgrounds/playground-ts/src/app.d.ts diff --git a/apps/playground-ts/src/app.html b/playgrounds/playground-ts/src/app.html similarity index 100% rename from apps/playground-ts/src/app.html rename to playgrounds/playground-ts/src/app.html diff --git a/apps/playground-ts/src/app.pcss b/playgrounds/playground-ts/src/app.pcss similarity index 100% rename from apps/playground-ts/src/app.pcss rename to playgrounds/playground-ts/src/app.pcss diff --git a/apps/playground-ts/src/index.test.ts b/playgrounds/playground-ts/src/index.test.ts similarity index 100% rename from apps/playground-ts/src/index.test.ts rename to playgrounds/playground-ts/src/index.test.ts diff --git a/apps/playground-ts/src/lib/index.ts b/playgrounds/playground-ts/src/lib/index.ts similarity index 100% rename from apps/playground-ts/src/lib/index.ts rename to playgrounds/playground-ts/src/lib/index.ts diff --git a/apps/playground-ts/src/routes/+layout.svelte b/playgrounds/playground-ts/src/routes/+layout.svelte similarity index 100% rename from apps/playground-ts/src/routes/+layout.svelte rename to playgrounds/playground-ts/src/routes/+layout.svelte diff --git a/apps/playground-ts/src/routes/+page.svelte b/playgrounds/playground-ts/src/routes/+page.svelte similarity index 100% rename from apps/playground-ts/src/routes/+page.svelte rename to playgrounds/playground-ts/src/routes/+page.svelte diff --git a/apps/playground-ts/static/favicon.png b/playgrounds/playground-ts/static/favicon.png similarity index 100% rename from apps/playground-ts/static/favicon.png rename to playgrounds/playground-ts/static/favicon.png diff --git a/apps/playground-ts/svelte.config.js b/playgrounds/playground-ts/svelte.config.js similarity index 100% rename from apps/playground-ts/svelte.config.js rename to playgrounds/playground-ts/svelte.config.js diff --git a/apps/playground-ts/tailwind.config.cjs b/playgrounds/playground-ts/tailwind.config.cjs similarity index 100% rename from apps/playground-ts/tailwind.config.cjs rename to playgrounds/playground-ts/tailwind.config.cjs diff --git a/apps/playground-ts/tsconfig.json b/playgrounds/playground-ts/tsconfig.json similarity index 100% rename from apps/playground-ts/tsconfig.json rename to playgrounds/playground-ts/tsconfig.json diff --git a/apps/playground-ts/vite.config.ts b/playgrounds/playground-ts/vite.config.ts similarity index 100% rename from apps/playground-ts/vite.config.ts rename to playgrounds/playground-ts/vite.config.ts diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cfd9c6c21..5e2d21d94 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,7 +48,62 @@ importers: specifier: ^0.33.1 version: 0.33.1(svelte@4.2.12) - apps/playground-js: + packages/cli: + dependencies: + '@clack/core': + specifier: ^0.3.4 + version: 0.3.4 + chalk: + specifier: 5.2.0 + version: 5.2.0 + commander: + specifier: ^10.0.1 + version: 10.0.1 + execa: + specifier: ^7.2.0 + version: 7.2.0 + find-up: + specifier: ^7.0.0 + version: 7.0.0 + is-unicode-supported: + specifier: ^2.0.0 + version: 2.0.0 + node-fetch-native: + specifier: ^1.6.4 + version: 1.6.4 + devDependencies: + '@types/node': + specifier: ^18.19.22 + version: 18.19.22 + cross-env: + specifier: ^7.0.3 + version: 7.0.3 + get-tsconfig: + specifier: ^4.7.3 + version: 4.7.3 + ignore: + specifier: ^5.3.1 + version: 5.3.1 + sisteransi: + specifier: ^1.0.5 + version: 1.0.5 + tsup: + specifier: ^8.0.0 + version: 8.0.2(postcss@8.4.38)(typescript@5.3.3) + type-fest: + specifier: ^3.13.1 + version: 3.13.1 + typescript: + specifier: ^5.0.0 + version: 5.3.3 + valibot: + specifier: ^0.36.0 + version: 0.36.0 + vitest: + specifier: ^0.34.6 + version: 0.34.6 + + playgrounds/playground-js: dependencies: clsx: specifier: ^2.1.0 @@ -89,16 +144,16 @@ importers: version: 3.0.2(svelte@4.2.12)(vite@5.1.7) autoprefixer: specifier: ^10.4.18 - version: 10.4.18(postcss@8.4.35) + version: 10.4.18(postcss@8.4.38) cross-env: specifier: ^7.0.3 version: 7.0.3 postcss: specifier: ^8.4.35 - version: 8.4.35 + version: 8.4.38 postcss-load-config: specifier: ^5.0.3 - version: 5.0.3(postcss@8.4.35) + version: 5.0.3(postcss@8.4.38) svelte: specifier: ^4.2.12 version: 4.2.12 @@ -109,7 +164,7 @@ importers: specifier: ^5.1.7 version: 5.1.7(@types/node@18.19.22) - apps/playground-ts: + playgrounds/playground-ts: dependencies: shadcn-svelte: specifier: workspace:^ @@ -126,22 +181,22 @@ importers: version: 3.0.2(svelte@4.2.12)(vite@5.1.7) autoprefixer: specifier: ^10.4.18 - version: 10.4.18(postcss@8.4.35) + version: 10.4.18(postcss@8.4.38) cross-env: specifier: ^7.0.3 version: 7.0.3 postcss: specifier: ^8.4.35 - version: 8.4.35 + version: 8.4.38 postcss-load-config: specifier: ^5.0.3 - version: 5.0.3(postcss@8.4.35) + version: 5.0.3(postcss@8.4.38) svelte: specifier: ^4.2.12 version: 4.2.12 svelte-check: specifier: ^3.6.6 - version: 3.6.6(postcss-load-config@5.0.3)(postcss@8.4.35)(svelte@4.2.12) + version: 3.6.6(postcss-load-config@5.0.3)(postcss@8.4.38)(svelte@4.2.12) tailwindcss: specifier: ^3.4.1 version: 3.4.1 @@ -158,7 +213,7 @@ importers: specifier: ^1.3.1 version: 1.3.1(@types/node@18.19.22) - apps/www: + sites/docs: dependencies: '@internationalized/date': specifier: ^3.5.2 @@ -262,7 +317,7 @@ importers: version: 18.19.22 autoprefixer: specifier: ^10.4.18 - version: 10.4.18(postcss@8.4.35) + version: 10.4.18(postcss@8.4.38) hast-util-to-html: specifier: ^8.0.4 version: 8.0.4 @@ -274,10 +329,10 @@ importers: version: 0.0.5(svelte@4.2.12) postcss: specifier: ^8.4.35 - version: 8.4.35 + version: 8.4.38 postcss-load-config: specifier: ^4.0.2 - version: 4.0.2(postcss@8.4.35) + version: 4.0.2(postcss@8.4.38) rehype-pretty-code: specifier: ^0.13.0 version: 0.13.0(shiki@1.2.1) @@ -301,7 +356,7 @@ importers: version: 4.2.12 svelte-check: specifier: ^3.6.6 - version: 3.6.6(postcss-load-config@4.0.2)(postcss@8.4.35)(svelte@4.2.12) + version: 3.6.6(postcss-load-config@4.0.2)(postcss@8.4.38)(svelte@4.2.12) tailwind-merge: specifier: ^2.2.1 version: 2.2.1 @@ -336,61 +391,6 @@ importers: specifier: ^1.3.1 version: 1.3.1(@types/node@18.19.22) - packages/cli: - dependencies: - '@clack/core': - specifier: ^0.3.4 - version: 0.3.4 - chalk: - specifier: 5.2.0 - version: 5.2.0 - commander: - specifier: ^10.0.1 - version: 10.0.1 - execa: - specifier: ^7.2.0 - version: 7.2.0 - find-up: - specifier: ^7.0.0 - version: 7.0.0 - is-unicode-supported: - specifier: ^2.0.0 - version: 2.0.0 - node-fetch-native: - specifier: ^1.6.4 - version: 1.6.4 - devDependencies: - '@types/node': - specifier: ^18.19.22 - version: 18.19.22 - cross-env: - specifier: ^7.0.3 - version: 7.0.3 - get-tsconfig: - specifier: ^4.7.3 - version: 4.7.3 - ignore: - specifier: ^5.3.1 - version: 5.3.1 - sisteransi: - specifier: ^1.0.5 - version: 1.0.5 - tsup: - specifier: ^8.0.0 - version: 8.0.2(postcss@8.4.35)(typescript@5.3.3) - type-fest: - specifier: ^3.13.1 - version: 3.13.1 - typescript: - specifier: ^5.0.0 - version: 5.3.3 - valibot: - specifier: ^0.36.0 - version: 0.36.0 - vitest: - specifier: ^0.34.6 - version: 0.34.6 - packages: /@aashutoshrathi/word-wrap@1.2.6: @@ -2271,7 +2271,7 @@ packages: debug: 4.3.4 deepmerge: 4.3.1 kleur: 4.1.5 - magic-string: 0.30.8 + magic-string: 0.30.9 svelte: 4.2.12 svelte-hmr: 0.15.3(svelte@4.2.12) vite: 5.1.7(@types/node@18.19.22) @@ -3066,7 +3066,7 @@ packages: /@vitest/snapshot@1.3.1: resolution: {integrity: sha512-EF++BZbt6RZmOlE3SuTPu/NfwBF6q4ABS37HHXzs2LUVPBLx2QoY/K0fKpRChSo8eLiuxcbCVfqKgx/dplCDuQ==} dependencies: - magic-string: 0.30.8 + magic-string: 0.30.9 pathe: 1.1.2 pretty-format: 29.7.0 dev: true @@ -3288,7 +3288,7 @@ packages: resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} dev: true - /autoprefixer@10.4.18(postcss@8.4.35): + /autoprefixer@10.4.18(postcss@8.4.38): resolution: {integrity: sha512-1DKbDfsr6KUElM6wg+0zRNkB/Q7WcKYAaK+pzXn+Xqmszm/5Xa9coeNdtP88Vi+dPzZnMjhge8GIV49ZQkDa+g==} engines: {node: ^10 || ^12 || >=14} hasBin: true @@ -3300,7 +3300,7 @@ packages: fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.0.0 - postcss: 8.4.35 + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true @@ -4723,9 +4723,9 @@ packages: eslint-compat-utils: 0.5.0(eslint@8.57.0) esutils: 2.0.3 known-css-properties: 0.30.0 - postcss: 8.4.35 - postcss-load-config: 3.1.4(postcss@8.4.35) - postcss-safe-parser: 6.0.0(postcss@8.4.35) + postcss: 8.4.38 + postcss-load-config: 3.1.4(postcss@8.4.38) + postcss-safe-parser: 6.0.0(postcss@8.4.38) postcss-selector-parser: 6.0.15 semver: 7.6.0 svelte: 4.2.12 @@ -5318,6 +5318,7 @@ packages: /glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported dependencies: fs.realpath: 1.0.0 inflight: 1.0.6 @@ -6238,6 +6239,7 @@ packages: engines: {node: '>=12'} dependencies: '@jridgewell/sourcemap-codec': 1.4.15 + dev: true /magic-string@0.30.9: resolution: {integrity: sha512-S1+hd+dIrC8EZqKyT9DstTH/0Z+f76kmmvZnkfQVmOpDEF9iVgdYif3Q/pIWHmCoo59bQVGW0kVL3e2nl+9+Sw==} @@ -6452,7 +6454,7 @@ packages: dependencies: esrap: 1.2.1 hast-util-to-html: 9.0.0 - magic-string: 0.30.8 + magic-string: 0.30.9 mdast-util-to-markdown: 2.1.0 rehype-stringify: 10.0.0 remark-parse: 11.0.0 @@ -7267,27 +7269,27 @@ packages: engines: {node: '>= 0.4'} dev: true - /postcss-import@15.1.0(postcss@8.4.35): + /postcss-import@15.1.0(postcss@8.4.38): resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==} engines: {node: '>=14.0.0'} peerDependencies: postcss: ^8.0.0 dependencies: - postcss: 8.4.35 + postcss: 8.4.38 postcss-value-parser: 4.2.0 read-cache: 1.0.0 resolve: 1.22.8 - /postcss-js@4.0.1(postcss@8.4.35): + /postcss-js@4.0.1(postcss@8.4.38): resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==} engines: {node: ^12 || ^14 || >= 16} peerDependencies: postcss: ^8.4.21 dependencies: camelcase-css: 2.0.1 - postcss: 8.4.35 + postcss: 8.4.38 - /postcss-load-config@3.1.4(postcss@8.4.35): + /postcss-load-config@3.1.4(postcss@8.4.38): resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==} engines: {node: '>= 10'} peerDependencies: @@ -7300,11 +7302,11 @@ packages: optional: true dependencies: lilconfig: 2.1.0 - postcss: 8.4.35 + postcss: 8.4.38 yaml: 1.10.2 dev: true - /postcss-load-config@4.0.2(postcss@8.4.35): + /postcss-load-config@4.0.2(postcss@8.4.38): resolution: {integrity: sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==} engines: {node: '>= 14'} peerDependencies: @@ -7317,10 +7319,10 @@ packages: optional: true dependencies: lilconfig: 3.1.1 - postcss: 8.4.35 + postcss: 8.4.38 yaml: 2.4.1 - /postcss-load-config@5.0.3(postcss@8.4.35): + /postcss-load-config@5.0.3(postcss@8.4.38): resolution: {integrity: sha512-90pBBI5apUVruIEdCxZic93Wm+i9fTrp7TXbgdUCH+/L+2WnfpITSpq5dFU/IPvbv7aNiMlQISpUkAm3fEcvgQ==} engines: {node: '>= 18'} peerDependencies: @@ -7333,35 +7335,35 @@ packages: optional: true dependencies: lilconfig: 3.1.1 - postcss: 8.4.35 + postcss: 8.4.38 yaml: 2.4.1 dev: true - /postcss-nested@6.0.1(postcss@8.4.35): + /postcss-nested@6.0.1(postcss@8.4.38): resolution: {integrity: sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==} engines: {node: '>=12.0'} peerDependencies: postcss: ^8.2.14 dependencies: - postcss: 8.4.35 + postcss: 8.4.38 postcss-selector-parser: 6.0.15 - /postcss-safe-parser@6.0.0(postcss@8.4.35): + /postcss-safe-parser@6.0.0(postcss@8.4.38): resolution: {integrity: sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==} engines: {node: '>=12.0'} peerDependencies: postcss: ^8.3.3 dependencies: - postcss: 8.4.35 + postcss: 8.4.38 dev: true - /postcss-scss@4.0.9(postcss@8.4.35): + /postcss-scss@4.0.9(postcss@8.4.38): resolution: {integrity: sha512-AjKOeiwAitL/MXxQW2DliT28EKukvvbEWx3LBmJIRN8KfBGZbRTxNYW0kSqi1COiTZ57nZ9NW06S6ux//N1c9A==} engines: {node: '>=12.0'} peerDependencies: postcss: ^8.4.29 dependencies: - postcss: 8.4.35 + postcss: 8.4.38 dev: true /postcss-selector-parser@6.0.15: @@ -7374,14 +7376,6 @@ packages: /postcss-value-parser@4.2.0: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} - /postcss@8.4.35: - resolution: {integrity: sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA==} - engines: {node: ^10 || ^12 || >=14} - dependencies: - nanoid: 3.3.7 - picocolors: 1.0.0 - source-map-js: 1.0.2 - /postcss@8.4.38: resolution: {integrity: sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==} engines: {node: ^10 || ^12 || >=14} @@ -7389,7 +7383,6 @@ packages: nanoid: 3.3.7 picocolors: 1.0.0 source-map-js: 1.2.0 - dev: true /potpack@1.0.2: resolution: {integrity: sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ==} @@ -7774,6 +7767,7 @@ packages: /rimraf@2.7.1: resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==} + deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true dependencies: glob: 7.2.3 @@ -7781,6 +7775,7 @@ packages: /rimraf@3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} + deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true dependencies: glob: 7.2.3 @@ -8045,7 +8040,6 @@ packages: /source-map-js@1.2.0: resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} engines: {node: '>=0.10.0'} - dev: true /source-map-support@0.5.21: resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} @@ -8283,7 +8277,7 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - /svelte-check@3.6.6(postcss-load-config@4.0.2)(postcss@8.4.35)(svelte@4.2.12): + /svelte-check@3.6.6(postcss-load-config@4.0.2)(postcss@8.4.38)(svelte@4.2.12): resolution: {integrity: sha512-b9q9rOHOMYF3U8XllK7LmXTq1LeWQ98waGfEJzrFutViadkNl1tgdEtxIQ8yuPx+VQ4l7YrknYol+0lfZocaZw==} hasBin: true peerDependencies: @@ -8296,7 +8290,7 @@ packages: picocolors: 1.0.0 sade: 1.8.1 svelte: 4.2.12 - svelte-preprocess: 5.1.3(postcss-load-config@4.0.2)(postcss@8.4.35)(svelte@4.2.12)(typescript@5.3.3) + svelte-preprocess: 5.1.3(postcss-load-config@4.0.2)(postcss@8.4.38)(svelte@4.2.12)(typescript@5.3.3) typescript: 5.3.3 transitivePeerDependencies: - '@babel/core' @@ -8310,7 +8304,7 @@ packages: - sugarss dev: true - /svelte-check@3.6.6(postcss-load-config@5.0.3)(postcss@8.4.35)(svelte@4.2.12): + /svelte-check@3.6.6(postcss-load-config@5.0.3)(postcss@8.4.38)(svelte@4.2.12): resolution: {integrity: sha512-b9q9rOHOMYF3U8XllK7LmXTq1LeWQ98waGfEJzrFutViadkNl1tgdEtxIQ8yuPx+VQ4l7YrknYol+0lfZocaZw==} hasBin: true peerDependencies: @@ -8323,7 +8317,7 @@ packages: picocolors: 1.0.0 sade: 1.8.1 svelte: 4.2.12 - svelte-preprocess: 5.1.3(postcss-load-config@5.0.3)(postcss@8.4.35)(svelte@4.2.12)(typescript@5.3.3) + svelte-preprocess: 5.1.3(postcss-load-config@5.0.3)(postcss@8.4.38)(svelte@4.2.12)(typescript@5.3.3) typescript: 5.3.3 transitivePeerDependencies: - '@babel/core' @@ -8349,8 +8343,8 @@ packages: eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 espree: 9.6.1 - postcss: 8.4.35 - postcss-scss: 4.0.9(postcss@8.4.35) + postcss: 8.4.38 + postcss-scss: 4.0.9(postcss@8.4.38) svelte: 4.2.12 dev: true @@ -8366,8 +8360,8 @@ packages: eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 espree: 9.6.1 - postcss: 8.4.35 - postcss-scss: 4.0.9(postcss@8.4.35) + postcss: 8.4.38 + postcss-scss: 4.0.9(postcss@8.4.38) svelte: 4.2.12 dev: true @@ -8409,6 +8403,14 @@ packages: svelte: 4.2.12 dev: false + /svelte-parse-markup@0.1.2(svelte@4.2.12): + resolution: {integrity: sha512-DycY7DJr7VqofiJ63ut1/NEG92HrWWL56VWITn/cJCu+LlZhMoBkBXT4opUitPEEwbq1nMQbv4vTKUfbOqIW1g==} + peerDependencies: + svelte: ^3.0.0 || ^4.0.0 + dependencies: + svelte: 4.2.12 + dev: true + /svelte-persisted-store@0.11.0(svelte@4.2.12): resolution: {integrity: sha512-9RgJ5DrawGyyfK22A80cfu8Jose3CV8YjEZKz9Tn94rQ0tWyEmYr+XI+wrVF6wjRbW99JMDSVcFRiM3XzVJj/w==} engines: {node: '>=0.14'} @@ -8418,15 +8420,7 @@ packages: svelte: 4.2.12 dev: false - /svelte-parse-markup@0.1.2(svelte@4.2.12): - resolution: {integrity: sha512-DycY7DJr7VqofiJ63ut1/NEG92HrWWL56VWITn/cJCu+LlZhMoBkBXT4opUitPEEwbq1nMQbv4vTKUfbOqIW1g==} - peerDependencies: - svelte: ^3.0.0 || ^4.0.0 - dependencies: - svelte: 4.2.12 - dev: true - - /svelte-preprocess@5.1.3(postcss-load-config@4.0.2)(postcss@8.4.35)(svelte@4.2.12)(typescript@5.3.3): + /svelte-preprocess@5.1.3(postcss-load-config@4.0.2)(postcss@8.4.38)(svelte@4.2.12)(typescript@5.3.3): resolution: {integrity: sha512-xxAkmxGHT+J/GourS5mVJeOXZzne1FR5ljeOUAMXUkfEhkLEllRreXpbl3dIYJlcJRfL1LO1uIAPpBpBfiqGPw==} engines: {node: '>= 16.0.0', pnpm: ^8.0.0} requiresBuild: true @@ -8466,16 +8460,16 @@ packages: dependencies: '@types/pug': 2.0.10 detect-indent: 6.1.0 - magic-string: 0.30.8 - postcss: 8.4.35 - postcss-load-config: 4.0.2(postcss@8.4.35) + magic-string: 0.30.9 + postcss: 8.4.38 + postcss-load-config: 4.0.2(postcss@8.4.38) sorcery: 0.11.0 strip-indent: 3.0.0 svelte: 4.2.12 typescript: 5.3.3 dev: true - /svelte-preprocess@5.1.3(postcss-load-config@5.0.3)(postcss@8.4.35)(svelte@4.2.12)(typescript@5.3.3): + /svelte-preprocess@5.1.3(postcss-load-config@5.0.3)(postcss@8.4.38)(svelte@4.2.12)(typescript@5.3.3): resolution: {integrity: sha512-xxAkmxGHT+J/GourS5mVJeOXZzne1FR5ljeOUAMXUkfEhkLEllRreXpbl3dIYJlcJRfL1LO1uIAPpBpBfiqGPw==} engines: {node: '>= 16.0.0', pnpm: ^8.0.0} requiresBuild: true @@ -8515,9 +8509,9 @@ packages: dependencies: '@types/pug': 2.0.10 detect-indent: 6.1.0 - magic-string: 0.30.8 - postcss: 8.4.35 - postcss-load-config: 5.0.3(postcss@8.4.35) + magic-string: 0.30.9 + postcss: 8.4.38 + postcss-load-config: 5.0.3(postcss@8.4.38) sorcery: 0.11.0 strip-indent: 3.0.0 svelte: 4.2.12 @@ -8573,7 +8567,7 @@ packages: estree-walker: 3.0.3 is-reference: 3.0.2 locate-character: 3.0.0 - magic-string: 0.30.8 + magic-string: 0.30.9 periscopic: 3.1.0 /sveltekit-superforms@2.11.0(@sveltejs/kit@2.5.2)(@types/json-schema@7.0.15)(esbuild-runner@2.2.2)(esbuild@0.20.2)(svelte@4.2.12): @@ -8581,6 +8575,23 @@ packages: peerDependencies: '@sveltejs/kit': 1.x || 2.x svelte: 3.x || 4.x || >=5.0.0-next.51 + peerDependenciesMeta: + '@sinclair/typebox': + optional: true + '@vinejs/vine': + optional: true + arktype: + optional: true + joi: + optional: true + superstruct: + optional: true + valibot: + optional: true + yup: + optional: true + zod: + optional: true dependencies: '@sveltejs/kit': 2.5.2(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.12)(vite@5.1.7) devalue: 4.3.2 @@ -8654,11 +8665,11 @@ packages: normalize-path: 3.0.0 object-hash: 3.0.0 picocolors: 1.0.0 - postcss: 8.4.35 - postcss-import: 15.1.0(postcss@8.4.35) - postcss-js: 4.0.1(postcss@8.4.35) - postcss-load-config: 4.0.2(postcss@8.4.35) - postcss-nested: 6.0.1(postcss@8.4.35) + postcss: 8.4.38 + postcss-import: 15.1.0(postcss@8.4.38) + postcss-js: 4.0.1(postcss@8.4.38) + postcss-load-config: 4.0.2(postcss@8.4.38) + postcss-nested: 6.0.1(postcss@8.4.38) postcss-selector-parser: 6.0.15 resolve: 1.22.8 sucrase: 3.35.0 @@ -8842,7 +8853,7 @@ packages: /tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} - /tsup@8.0.2(postcss@8.4.35)(typescript@5.3.3): + /tsup@8.0.2(postcss@8.4.38)(typescript@5.3.3): resolution: {integrity: sha512-NY8xtQXdH7hDUAZwcQdY/Vzlw9johQsaqf7iwZ6g1DOUlFYQ5/AtVAjTvihhEyeRlGo4dLRVHtrRaL35M1daqQ==} engines: {node: '>=18'} hasBin: true @@ -8869,8 +8880,8 @@ packages: execa: 5.1.1 globby: 11.1.0 joycon: 3.1.1 - postcss: 8.4.35 - postcss-load-config: 4.0.2(postcss@8.4.35) + postcss: 8.4.38 + postcss-load-config: 4.0.2(postcss@8.4.38) resolve-from: 5.0.0 rollup: 4.12.1 source-map: 0.8.0-beta.0 @@ -9323,7 +9334,7 @@ packages: dependencies: '@types/node': 18.19.22 esbuild: 0.19.12 - postcss: 8.4.35 + postcss: 8.4.38 rollup: 4.12.1 optionalDependencies: fsevents: 2.3.3 @@ -9439,7 +9450,7 @@ packages: debug: 4.3.4 execa: 8.0.1 local-pkg: 0.5.0 - magic-string: 0.30.8 + magic-string: 0.30.9 pathe: 1.1.2 picocolors: 1.0.0 std-env: 3.7.0 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 4af31626f..018812a58 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,4 @@ packages: - - "apps/*" + - "sites/*" - "packages/*" + - "playgrounds/*" diff --git a/apps/www/.env.example b/sites/docs/.env.example similarity index 100% rename from apps/www/.env.example rename to sites/docs/.env.example diff --git a/apps/www/.gitignore b/sites/docs/.gitignore similarity index 100% rename from apps/www/.gitignore rename to sites/docs/.gitignore diff --git a/apps/www/.prettierignore b/sites/docs/.prettierignore similarity index 85% rename from apps/www/.prettierignore rename to sites/docs/.prettierignore index 0b525f7ae..9b755bb64 100644 --- a/apps/www/.prettierignore +++ b/sites/docs/.prettierignore @@ -12,7 +12,7 @@ pnpm-lock.yaml package-lock.json yarn.lock -apps/www/src/routes/api/components/components.json +sites/docs/src/routes/api/components/components.json src/routes/api/components/components.json static/site.webmanifest .vercel diff --git a/apps/www/CHANGELOG.md b/sites/docs/CHANGELOG.md similarity index 100% rename from apps/www/CHANGELOG.md rename to sites/docs/CHANGELOG.md diff --git a/apps/www/README.md b/sites/docs/README.md similarity index 100% rename from apps/www/README.md rename to sites/docs/README.md diff --git a/apps/www/mdsx.config.js b/sites/docs/mdsx.config.js similarity index 100% rename from apps/www/mdsx.config.js rename to sites/docs/mdsx.config.js diff --git a/apps/www/other/code-block-prettier.js b/sites/docs/other/code-block-prettier.js similarity index 100% rename from apps/www/other/code-block-prettier.js rename to sites/docs/other/code-block-prettier.js diff --git a/sites/docs/other/themes/dark.json b/sites/docs/other/themes/dark.json new file mode 100644 index 000000000..be5092236 --- /dev/null +++ b/sites/docs/other/themes/dark.json @@ -0,0 +1,377 @@ +{ + "name": "Lambda Studio — Blackout", + "semanticHighlighting": true, + "colors": { + "editorLink.activeForeground": "#ca8a0488", + "foreground": "#fff8", + "button.background": "#fff", + "button.foreground": "#000", + "button.hoverBackground": "#fffb", + "list.highlightForeground": "#fff", + "textLink.foreground": "#fff", + "scrollbar.shadow": "#000", + "textLink.activeForeground": "#fff8", + "editor.lineHighlightBackground": "#8881", + "editor.lineHighlightBorder": "#8882", + "editorCursor.foreground": "#fff", + "editor.findMatchBackground": "#fff8", + "editor.findMatchHighlightBackground": "#fff2", + "list.activeSelectionForeground": "#fff", + "list.focusForeground": "#fff", + "list.hoverForeground": "#fff", + "list.inactiveSelectionForeground": "#fff", + "list.inactiveSelectionBackground": "#000", + "list.focusBackground": "#000", + "list.focusAndSelectionOutline": "#000", + "list.focusHighlightForeground": "#fff", + "list.hoverBackground": "#000", + "list.focusOutline": "#000", + "list.activeSelectionBackground": "#000", + "editorIndentGuide.background": "#fff2", + "editor.background": "#000", + "editor.foreground": "#fff", + "editor.foldBackground": "#000", + "editor.hoverHighlightBackground": "#000", + "editor.selectionBackground": "#8888", + "editor.inactiveSelectionBackground": "#8882", + "gitDecoration.modifiedResourceForeground": "#fff", + "gitDecoration.untrackedResourceForeground": "#a7cb7b", + "gitDecoration.conflictingResourceForeground": "#ca8a04", + "gitDecoration.deletedResourceForeground": "#c97b89", + "listFilterWidget.background": "#000", + "input.background": "#fff1", + "titleBar.activeForeground": "#fff", + "editorWidget.background": "#000", + "editorGutter.background": "#000", + "debugToolBar.background": "#000", + "commandCenter.background": "#000", + "sideBarSectionHeader.background": "#000", + "focusBorder": "#fff8", + "titleBar.activeBackground": "#000", + "titleBar.inactiveBackground": "#000", + "breadcrumb.background": "#000", + "activityBar.background": "#000", + "activityBar.foreground": "#fff8", + "panel.background": "#000", + "sideBar.background": "#000", + "sideBarTitle.foreground": "#fff8", + "tab.hoverBackground": "#000", + "terminal.background": "#000", + "statusBar.background": "#000", + "statusBar.foreground": "#fff8", + "selection.background": "#fff2", + "editorPane.background": "#000", + "badge.background": "#000", + "banner.background": "#000", + "menu.background": "#000", + "activityBarBadge.background": "#000", + "activityBarBadge.foreground": "#fff8", + "editorLineNumber.foreground": "#fff2", + "editorLineNumber.activeForeground": "#fff8", + "statusBarItem.errorBackground": "#f43f5e" + }, + "semanticTokenColors": { + "comment": { + "foreground": "#fff4" + }, + "keyword": { + "foreground": "#fff8" + }, + "string": { + "foreground": "#fff8" + }, + "selfKeyword": { + "foreground": "#fff", + "bold": true + }, + "method.declaration": { + "foreground": "#fff", + "bold": true + }, + "method.definition": { + "foreground": "#fff", + "bold": true + }, + "method": { + "foreground": "#fff", + "bold": false + }, + "function.declaration": { + "foreground": "#fff", + "bold": true + }, + "function.definition": { + "foreground": "#fff", + "bold": true + }, + "function": { + "foreground": "#fff", + "bold": false + }, + "property": { + "foreground": "#fff" + }, + "enumMember": { + "foreground": "#fff8", + "bold": false + }, + "enum": { + "foreground": "#fff", + "bold": true + }, + "boolean": { + "foreground": "#fff8" + }, + "number": { + "foreground": "#fff8" + }, + "type": { + "foreground": "#fff", + "bold": true + }, + "typeAlias": { + "foreground": "#fff", + "bold": true + }, + "class": { + "foreground": "#fff", + "bold": true + }, + "selfTypeKeyword": { + "foreground": "#fff", + "bold": true + }, + "builtinType": { + "foreground": "#fff", + "bold": true + }, + "interface": { + "foreground": "#fff8", + "bold": false + }, + "typeParameter": { + "foreground": "#fff", + "bold": true + }, + "lifetime": { + "foreground": "#fff8", + "italic": false, + "bold": false + }, + "namespace": { + "foreground": "#fff" + }, + "macro": { + "foreground": "#fff", + "bold": false + }, + "decorator": { + "foreground": "#fff", + "bold": false + }, + "builtinAttribute": { + "foreground": "#fff", + "bold": false + }, + "generic.attribute": { + "foreground": "#fff" + }, + "derive": { + "foreground": "#fff" + }, + "operator": { + "foreground": "#fff8" + }, + "variable": { + "foreground": "#fff" + }, + "variable.readonly": { + "foreground": "#fff8" + }, + "parameter": { + "foreground": "#fff" + }, + "variable.mutable": { + "underline": true + }, + "parameter.mutable": { + "underline": true + }, + "selfKeyword.mutable": { + "underline": true + }, + "variable.constant": { + "foreground": "#fff8" + }, + "struct": { + "foreground": "#fff", + "bold": true + } + }, + "tokenColors": [ + { + "name": "Fallback Operator", + "scope": ["keyword.operator"], + "settings": { + "foreground": "#fff8" + } + }, + { + "name": "Fallback keywords", + "scope": [ + "storage.type.ts", + "keyword", + "keyword.other", + "keyword.control", + "storage.type", + "storage.modifier" + ], + "settings": { + "foreground": "#fff8" + } + }, + { + "name": "Fallback strings", + "scope": ["string"], + "settings": { + "foreground": "#fff8" + } + }, + { + "name": "Fallback JSON Properties", + "scope": ["support.type.property-name.json"], + "settings": { + "foreground": "#fff" + } + }, + { + "name": "Fallback string variables", + "scope": ["string variable", "string meta.interpolation"], + "settings": { + "foreground": "#fff" + } + }, + { + "name": "Fallback comments", + "scope": ["comment"], + "settings": { + "foreground": "#fff4" + } + }, + { + "name": "Fallback constants", + "scope": ["constant"], + "settings": { + "foreground": "#fff8" + } + }, + { + "name": "Fallback self/this", + "scope": ["variable.language.this"], + "settings": { + "foreground": "#fff" + } + }, + { + "name": "Fallback types", + "scope": [ + "entity.other.alias", + "source.php support.class", + "entity.name.type", + "meta.function-call support.class", + "keyword.other.type", + "entity.other.inherited-class" + ], + "settings": { + "foreground": "#fff", + "fontStyle": "bold" + } + }, + { + "name": "Fallback method calls", + "scope": ["meta.method-call entity.name.function"], + "settings": { + "foreground": "#fff", + "fontStyle": "" + } + }, + { + "name": "Fallback function calls", + "scope": [ + "meta.function-call entity.name.function", + "meta.function-call support.function", + "meta.function.call entity.name.function" + ], + "settings": { + "foreground": "#fff", + "fontStyle": "" + } + }, + { + "name": "Fallback enums & constants", + "scope": ["constant.enum", "constant.other"], + "settings": { + "foreground": "#fff8" + } + }, + { + "name": "Fallback Properties & func arguments", + "scope": [ + "variable.other.property", + "entity.name.goto-label", + "entity.name.variable.parameter" + ], + "settings": { + "foreground": "#fff" + } + }, + { + "name": "Fallback functions & methods declarations", + "scope": [ + "entity.name.function", + "support.function", + "support.function.constructor", + "entity.name.function meta.function-call meta.method-call" + ], + "settings": { + "foreground": "#fff", + "fontStyle": "bold" + } + }, + { + "name": "HTML Tags", + "scope": ["meta.tag entity.name.tag.html", "entity.name.tag.template.html"], + "settings": { + "foreground": "#fff" + } + }, + { + "name": "HTML Attributes", + "scope": ["entity.other.attribute-name.html"], + "settings": { + "foreground": "#fff8" + } + }, + { + "name": "HTML Custom Tag", + "scope": ["meta.tag.other.unrecognized.html entity.name.tag.html"], + "settings": { + "foreground": "#fff" + } + }, + { + "name": "HTML Keywords", + "scope": ["text.html keyword"], + "settings": { + "foreground": "#fff" + } + }, + { + "name": "Punctuations", + "scope": ["punctuation", "meta.brace"], + "settings": { + "foreground": "#fff8" + } + } + ] +} diff --git a/sites/docs/other/themes/light.json b/sites/docs/other/themes/light.json new file mode 100644 index 000000000..244b708d8 --- /dev/null +++ b/sites/docs/other/themes/light.json @@ -0,0 +1,377 @@ +{ + "name": "Lambda Studio — Whiteout", + "semanticHighlighting": true, + "colors": { + "editorLink.activeForeground": "#ca8a0488", + "foreground": "#0008", + "button.background": "#000", + "button.foreground": "#fff", + "button.hoverBackground": "#000b", + "list.highlightForeground": "#000", + "textLink.foreground": "#000", + "scrollbar.shadow": "#fff", + "textLink.activeForeground": "#0008", + "editor.lineHighlightBackground": "#8881", + "editor.lineHighlightBorder": "#8882", + "editorCursor.foreground": "#000", + "editor.findMatchBackground": "#0008", + "editor.findMatchHighlightBackground": "#0002", + "list.activeSelectionForeground": "#000", + "list.focusForeground": "#000", + "list.hoverForeground": "#000", + "list.inactiveSelectionForeground": "#000", + "list.inactiveSelectionBackground": "#fff", + "list.focusBackground": "#fff", + "list.focusAndSelectionOutline": "#fff", + "list.focusHighlightForeground": "#000", + "list.hoverBackground": "#fff", + "list.focusOutline": "#fff", + "list.activeSelectionBackground": "#fff", + "editorIndentGuide.background": "#0002", + "editor.background": "#fff", + "editor.foreground": "#000", + "editor.foldBackground": "#fff", + "editor.hoverHighlightBackground": "#fff", + "editor.selectionBackground": "#8888", + "editor.inactiveSelectionBackground": "#8882", + "gitDecoration.modifiedResourceForeground": "#000", + "gitDecoration.untrackedResourceForeground": "#a7cb7b", + "gitDecoration.conflictingResourceForeground": "#ca8a04", + "gitDecoration.deletedResourceForeground": "#c97b89", + "listFilterWidget.background": "#fff", + "input.background": "#0001", + "titleBar.activeForeground": "#000", + "editorWidget.background": "#fff", + "editorGutter.background": "#fff", + "debugToolBar.background": "#fff", + "commandCenter.background": "#fff", + "sideBarSectionHeader.background": "#fff", + "focusBorder": "#0008", + "titleBar.activeBackground": "#fff", + "titleBar.inactiveBackground": "#fff", + "breadcrumb.background": "#fff", + "activityBar.background": "#fff", + "activityBar.foreground": "#0008", + "panel.background": "#fff", + "sideBar.background": "#fff", + "sideBarTitle.foreground": "#0008", + "tab.hoverBackground": "#fff", + "terminal.background": "#fff", + "statusBar.background": "#fff", + "statusBar.foreground": "#0008", + "selection.background": "#0002", + "editorPane.background": "#fff", + "badge.background": "#fff", + "banner.background": "#fff", + "menu.background": "#fff", + "activityBarBadge.background": "#fff", + "activityBarBadge.foreground": "#0008", + "editorLineNumber.foreground": "#0002", + "editorLineNumber.activeForeground": "#0008", + "statusBarItem.errorBackground": "#f43f5e" + }, + "semanticTokenColors": { + "comment": { + "foreground": "#0004" + }, + "keyword": { + "foreground": "#0008" + }, + "string": { + "foreground": "#0008" + }, + "selfKeyword": { + "foreground": "#000", + "bold": true + }, + "method.declaration": { + "foreground": "#000", + "bold": true + }, + "method.definition": { + "foreground": "#000", + "bold": true + }, + "method": { + "foreground": "#000", + "bold": false + }, + "function.declaration": { + "foreground": "#000", + "bold": true + }, + "function.definition": { + "foreground": "#000", + "bold": true + }, + "function": { + "foreground": "#000", + "bold": false + }, + "property": { + "foreground": "#000" + }, + "enumMember": { + "foreground": "#0008", + "bold": false + }, + "enum": { + "foreground": "#000", + "bold": true + }, + "boolean": { + "foreground": "#0008" + }, + "number": { + "foreground": "#0008" + }, + "type": { + "foreground": "#000", + "bold": true + }, + "typeAlias": { + "foreground": "#000", + "bold": true + }, + "class": { + "foreground": "#000", + "bold": true + }, + "selfTypeKeyword": { + "foreground": "#000", + "bold": true + }, + "builtinType": { + "foreground": "#000", + "bold": true + }, + "interface": { + "foreground": "#0008", + "bold": false + }, + "typeParameter": { + "foreground": "#000", + "bold": true + }, + "lifetime": { + "foreground": "#0008", + "italic": false, + "bold": false + }, + "namespace": { + "foreground": "#000" + }, + "macro": { + "foreground": "#000", + "bold": false + }, + "decorator": { + "foreground": "#000", + "bold": false + }, + "builtinAttribute": { + "foreground": "#000", + "bold": false + }, + "generic.attribute": { + "foreground": "#000" + }, + "derive": { + "foreground": "#000" + }, + "operator": { + "foreground": "#0008" + }, + "variable": { + "foreground": "#000" + }, + "variable.readonly": { + "foreground": "#0008" + }, + "parameter": { + "foreground": "#000" + }, + "variable.mutable": { + "underline": true + }, + "parameter.mutable": { + "underline": true + }, + "selfKeyword.mutable": { + "underline": true + }, + "variable.constant": { + "foreground": "#0008" + }, + "struct": { + "foreground": "#000", + "bold": true + } + }, + "tokenColors": [ + { + "name": "Fallback Operator", + "scope": ["keyword.operator"], + "settings": { + "foreground": "#0008" + } + }, + { + "name": "Fallback keywords", + "scope": [ + "storage.type.ts", + "keyword", + "keyword.other", + "keyword.control", + "storage.type", + "storage.modifier" + ], + "settings": { + "foreground": "#0008" + } + }, + { + "name": "Fallback strings", + "scope": ["string"], + "settings": { + "foreground": "#0008" + } + }, + { + "name": "Fallback JSON Properties", + "scope": ["support.type.property-name.json"], + "settings": { + "foreground": "#000" + } + }, + { + "name": "Fallback string variables", + "scope": ["string variable", "string meta.interpolation"], + "settings": { + "foreground": "#000" + } + }, + { + "name": "Fallback comments", + "scope": ["comment"], + "settings": { + "foreground": "#0004" + } + }, + { + "name": "Fallback constants", + "scope": ["constant"], + "settings": { + "foreground": "#0008" + } + }, + { + "name": "Fallback self/this", + "scope": ["variable.language.this"], + "settings": { + "foreground": "#000" + } + }, + { + "name": "Fallback types", + "scope": [ + "entity.other.alias", + "source.php support.class", + "entity.name.type", + "meta.function-call support.class", + "keyword.other.type", + "entity.other.inherited-class" + ], + "settings": { + "foreground": "#000", + "fontStyle": "bold" + } + }, + { + "name": "Fallback method calls", + "scope": ["meta.method-call entity.name.function"], + "settings": { + "foreground": "#000", + "fontStyle": "" + } + }, + { + "name": "Fallback function calls", + "scope": [ + "meta.function-call entity.name.function", + "meta.function-call support.function", + "meta.function.call entity.name.function" + ], + "settings": { + "foreground": "#000", + "fontStyle": "" + } + }, + { + "name": "Fallback enums & constants", + "scope": ["constant.enum", "constant.other"], + "settings": { + "foreground": "#0008" + } + }, + { + "name": "Fallback Properties & func arguments", + "scope": [ + "variable.other.property", + "entity.name.goto-label", + "entity.name.variable.parameter" + ], + "settings": { + "foreground": "#000" + } + }, + { + "name": "Fallback functions & methods declarations", + "scope": [ + "entity.name.function", + "support.function", + "support.function.constructor", + "entity.name.function meta.function-call meta.method-call" + ], + "settings": { + "foreground": "#000", + "fontStyle": "bold" + } + }, + { + "name": "HTML Tags", + "scope": ["meta.tag entity.name.tag.html", "entity.name.tag.template.html"], + "settings": { + "foreground": "#000" + } + }, + { + "name": "HTML Attributes", + "scope": ["entity.other.attribute-name.html"], + "settings": { + "foreground": "#0008" + } + }, + { + "name": "HTML Custom Tag", + "scope": ["meta.tag.other.unrecognized.html entity.name.tag.html"], + "settings": { + "foreground": "#000" + } + }, + { + "name": "HTML Keywords", + "scope": ["text.html keyword"], + "settings": { + "foreground": "#000" + } + }, + { + "name": "Punctuations", + "scope": ["punctuation", "meta.brace"], + "settings": { + "foreground": "#0008" + } + } + ] +} diff --git a/apps/www/package.json b/sites/docs/package.json similarity index 98% rename from apps/www/package.json rename to sites/docs/package.json index d6d5ed11e..dd9ac54e3 100644 --- a/apps/www/package.json +++ b/sites/docs/package.json @@ -1,5 +1,5 @@ { - "name": "www", + "name": "docs", "version": "0.1.0", "author": { "name": "huntabyte", @@ -8,7 +8,7 @@ "repository": { "type": "git", "url": "https://github.com/huntabyte/shadcn-svelte.git", - "directory": "apps/www" + "directory": "sites/docs" }, "private": true, "scripts": { diff --git a/apps/www/playwright.config.ts b/sites/docs/playwright.config.ts similarity index 100% rename from apps/www/playwright.config.ts rename to sites/docs/playwright.config.ts diff --git a/apps/www/postcss.config.cjs b/sites/docs/postcss.config.cjs similarity index 100% rename from apps/www/postcss.config.cjs rename to sites/docs/postcss.config.cjs diff --git a/apps/www/scripts/build-registry.ts b/sites/docs/scripts/build-registry.ts similarity index 100% rename from apps/www/scripts/build-registry.ts rename to sites/docs/scripts/build-registry.ts diff --git a/apps/www/scripts/registry.ts b/sites/docs/scripts/registry.ts similarity index 100% rename from apps/www/scripts/registry.ts rename to sites/docs/scripts/registry.ts diff --git a/apps/www/scripts/templates.ts b/sites/docs/scripts/templates.ts similarity index 100% rename from apps/www/scripts/templates.ts rename to sites/docs/scripts/templates.ts diff --git a/apps/www/scripts/transform-chunks.ts b/sites/docs/scripts/transform-chunks.ts similarity index 100% rename from apps/www/scripts/transform-chunks.ts rename to sites/docs/scripts/transform-chunks.ts diff --git a/apps/www/scripts/transformers.ts b/sites/docs/scripts/transformers.ts similarity index 100% rename from apps/www/scripts/transformers.ts rename to sites/docs/scripts/transformers.ts diff --git a/apps/www/scripts/tsconfig.json b/sites/docs/scripts/tsconfig.json similarity index 100% rename from apps/www/scripts/tsconfig.json rename to sites/docs/scripts/tsconfig.json diff --git a/sites/docs/src/__registry__/blocks.js b/sites/docs/src/__registry__/blocks.js new file mode 100644 index 000000000..2fd381792 --- /dev/null +++ b/sites/docs/src/__registry__/blocks.js @@ -0,0 +1,975 @@ +// This file is autogenerated by scripts/build-registry.ts +// Do not edit this file directly. +export const Blocks = { + default: { + "authentication-01": { + name: "authentication-01", + type: "components:block", + chunks: [], + component: () => + import("../lib/registry/default/block/authentication-01.svelte").then( + (m) => m.default + ), + raw: () => + import("../lib/registry/default/block/authentication-01.svelte?raw").then( + (m) => m.default + ), + }, + "authentication-02": { + name: "authentication-02", + type: "components:block", + chunks: [], + component: () => + import("../lib/registry/default/block/authentication-02.svelte").then( + (m) => m.default + ), + raw: () => + import("../lib/registry/default/block/authentication-02.svelte?raw").then( + (m) => m.default + ), + }, + "authentication-03": { + name: "authentication-03", + type: "components:block", + chunks: [], + component: () => + import("../lib/registry/default/block/authentication-03.svelte").then( + (m) => m.default + ), + raw: () => + import("../lib/registry/default/block/authentication-03.svelte?raw").then( + (m) => m.default + ), + }, + "authentication-04": { + name: "authentication-04", + type: "components:block", + chunks: [], + component: () => + import("../lib/registry/default/block/authentication-04.svelte").then( + (m) => m.default + ), + raw: () => + import("../lib/registry/default/block/authentication-04.svelte?raw").then( + (m) => m.default + ), + }, + "dashboard-01": { + name: "dashboard-01", + type: "components:block", + chunks: [ + { + name: "dashboard-01-chunk-0", + description: + "A card showing the total revenue in USD and the percentage difference from last month.", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-01-chunk-0.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-01-chunk-0.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-01-chunk-1", + description: + "A card showing the total subscriptions and the percentage difference from last month.", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-01-chunk-1.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-01-chunk-1.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-01-chunk-2", + description: + "A card showing the total sales and the percentage difference from last month.", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-01-chunk-2.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-01-chunk-2.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-01-chunk-3", + description: + "A card showing the total active users and the percentage difference from last hour.", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-01-chunk-3.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-01-chunk-3.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-01-chunk-4", + description: + "A card showing a table of recent transactions with a link to view all transactions.", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-01-chunk-4.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-01-chunk-4.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-01-chunk-5", + description: + "A card showing a list of recent sales with customer names and email addresses.", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-01-chunk-5.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-01-chunk-5.svelte").then( + (m) => m.default + ), + }, + ], + component: () => + import("../lib/registry/default/block/dashboard-01.svelte").then((m) => m.default), + raw: () => + import("../lib/registry/default/block/dashboard-01.svelte?raw").then( + (m) => m.default + ), + }, + "dashboard-02": { + name: "dashboard-02", + type: "components:block", + chunks: [ + { + name: "dashboard-02-chunk-0", + description: "A card with a call to action", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-02-chunk-0.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-02-chunk-0.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-02-chunk-1", + description: + "An empty state showing no products with a heading, description and a call to action to add a product.", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-02-chunk-1.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-02-chunk-1.svelte").then( + (m) => m.default + ), + }, + ], + component: () => + import("../lib/registry/default/block/dashboard-02.svelte").then((m) => m.default), + raw: () => + import("../lib/registry/default/block/dashboard-02.svelte?raw").then( + (m) => m.default + ), + }, + "dashboard-03": { + name: "dashboard-03", + type: "components:block", + chunks: [ + { + name: "dashboard-03-chunk-0", + description: "A settings form a configuring an AI model and messages.", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-03-chunk-0.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-03-chunk-0.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-03-chunk-1", + description: + "A form for sending a message to an AI chatbot. The form has a textarea and buttons to upload files and record audio.", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-03-chunk-1.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-03-chunk-1.svelte").then( + (m) => m.default + ), + }, + ], + component: () => + import("../lib/registry/default/block/dashboard-03.svelte").then((m) => m.default), + raw: () => + import("../lib/registry/default/block/dashboard-03.svelte?raw").then( + (m) => m.default + ), + }, + "dashboard-04": { + name: "dashboard-04", + type: "components:block", + chunks: [ + { + name: "dashboard-04-chunk-0", + description: + "A sidebar navigation with links to general, security, integrations, support, organizations, and advanced settings.", + container: { className: "chunk-container after:right-0" }, + raw: () => + import("./chunks/default/dashboard-04-chunk-0.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-04-chunk-0.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-04-chunk-1", + description: "A form to update the store name.", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-04-chunk-1.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-04-chunk-1.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-04-chunk-2", + description: + "A form to update the plugins directory with a checkbox to allow administrators to change the directory.", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-04-chunk-2.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-04-chunk-2.svelte").then( + (m) => m.default + ), + }, + ], + component: () => + import("../lib/registry/default/block/dashboard-04.svelte").then((m) => m.default), + raw: () => + import("../lib/registry/default/block/dashboard-04.svelte?raw").then( + (m) => m.default + ), + }, + "dashboard-05": { + name: "dashboard-05", + type: "components:block", + chunks: [ + { + name: "dashboard-05-chunk-0", + description: + "A card for an orders dashboard with a description and a button to create a new order.", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-05-chunk-0.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-05-chunk-0.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-05-chunk-1", + description: + "A stats card showing this week's total sales in USD, the percentage difference from last week, and a progress bar.", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-05-chunk-1.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-05-chunk-1.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-05-chunk-2", + description: + "A stats card showing this month's total sales in USD, the percentage difference from last month, and a progress bar.", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-05-chunk-2.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-05-chunk-2.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-05-chunk-3", + description: + "A table of recent orders showing the following columns: Customer, Type, Status, Date, and Amount.", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-05-chunk-3.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-05-chunk-3.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-05-chunk-4", + description: + "An order details card with order details, shipping information, customer information and payment information.", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-05-chunk-4.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-05-chunk-4.svelte").then( + (m) => m.default + ), + }, + ], + component: () => + import("../lib/registry/default/block/dashboard-05.svelte").then((m) => m.default), + raw: () => + import("../lib/registry/default/block/dashboard-05.svelte?raw").then( + (m) => m.default + ), + }, + "dashboard-06": { + name: "dashboard-06", + type: "components:block", + chunks: [ + { + name: "dashboard-06-chunk-0", + description: + "A list of products in a table with actions. Each row has an image, name, status, price, total sales, created at and actions.", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-06-chunk-0.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-06-chunk-0.svelte").then( + (m) => m.default + ), + }, + ], + component: () => + import("../lib/registry/default/block/dashboard-06.svelte").then((m) => m.default), + raw: () => + import("../lib/registry/default/block/dashboard-06.svelte?raw").then( + (m) => m.default + ), + }, + "dashboard-07": { + name: "dashboard-07", + type: "components:block", + chunks: [ + { + name: "dashboard-07-chunk-0", + description: "A card with a form to edit the product details", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-07-chunk-0.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-07-chunk-0.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-07-chunk-1", + description: "A card with a form to edit the product stock and variants", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-07-chunk-1.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-07-chunk-1.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-07-chunk-2", + description: "A card with a form to edit the product category and subcategory", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-07-chunk-2.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-07-chunk-2.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-07-chunk-3", + description: "A card with a form to edit the product status", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-07-chunk-3.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-07-chunk-3.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-07-chunk-4", + description: "A card with a form to upload product images", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-07-chunk-4.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-07-chunk-4.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-07-chunk-5", + description: "A card with a call to action to archive the product", + container: { className: "" }, + raw: () => + import("./chunks/default/dashboard-07-chunk-5.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/default/dashboard-07-chunk-5.svelte").then( + (m) => m.default + ), + }, + ], + component: () => + import("../lib/registry/default/block/dashboard-07.svelte").then((m) => m.default), + raw: () => + import("../lib/registry/default/block/dashboard-07.svelte?raw").then( + (m) => m.default + ), + }, + }, + "new-york": { + "authentication-01": { + name: "authentication-01", + type: "components:block", + chunks: [], + component: () => + import("../lib/registry/new-york/block/authentication-01.svelte").then( + (m) => m.default + ), + raw: () => + import("../lib/registry/new-york/block/authentication-01.svelte?raw").then( + (m) => m.default + ), + }, + "authentication-02": { + name: "authentication-02", + type: "components:block", + chunks: [], + component: () => + import("../lib/registry/new-york/block/authentication-02.svelte").then( + (m) => m.default + ), + raw: () => + import("../lib/registry/new-york/block/authentication-02.svelte?raw").then( + (m) => m.default + ), + }, + "authentication-03": { + name: "authentication-03", + type: "components:block", + chunks: [], + component: () => + import("../lib/registry/new-york/block/authentication-03.svelte").then( + (m) => m.default + ), + raw: () => + import("../lib/registry/new-york/block/authentication-03.svelte?raw").then( + (m) => m.default + ), + }, + "authentication-04": { + name: "authentication-04", + type: "components:block", + chunks: [], + component: () => + import("../lib/registry/new-york/block/authentication-04.svelte").then( + (m) => m.default + ), + raw: () => + import("../lib/registry/new-york/block/authentication-04.svelte?raw").then( + (m) => m.default + ), + }, + "dashboard-01": { + name: "dashboard-01", + type: "components:block", + chunks: [ + { + name: "dashboard-01-chunk-0", + description: + "A card showing the total revenue in USD and the percentage difference from last month.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-01-chunk-0.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-01-chunk-0.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-01-chunk-1", + description: + "A card showing the total subscriptions and the percentage difference from last month.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-01-chunk-1.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-01-chunk-1.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-01-chunk-2", + description: + "A card showing the total sales and the percentage difference from last month.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-01-chunk-2.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-01-chunk-2.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-01-chunk-3", + description: + "A card showing the total active users and the percentage difference from last hour.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-01-chunk-3.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-01-chunk-3.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-01-chunk-4", + description: + "A card showing a table of recent transactions with a link to view all transactions.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-01-chunk-4.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-01-chunk-4.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-01-chunk-5", + description: + "A card showing a list of recent sales with customer names and email addresses.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-01-chunk-5.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-01-chunk-5.svelte").then( + (m) => m.default + ), + }, + ], + component: () => + import("../lib/registry/new-york/block/dashboard-01.svelte").then((m) => m.default), + raw: () => + import("../lib/registry/new-york/block/dashboard-01.svelte?raw").then( + (m) => m.default + ), + }, + "dashboard-02": { + name: "dashboard-02", + type: "components:block", + chunks: [ + { + name: "dashboard-02-chunk-0", + description: "A card with a call to action", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-02-chunk-0.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-02-chunk-0.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-02-chunk-1", + description: + "An empty state showing no products with a heading, description and a call to action to add a product.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-02-chunk-1.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-02-chunk-1.svelte").then( + (m) => m.default + ), + }, + ], + component: () => + import("../lib/registry/new-york/block/dashboard-02.svelte").then((m) => m.default), + raw: () => + import("../lib/registry/new-york/block/dashboard-02.svelte?raw").then( + (m) => m.default + ), + }, + "dashboard-03": { + name: "dashboard-03", + type: "components:block", + chunks: [ + { + name: "dashboard-03-chunk-0", + description: "A settings form a configuring an AI model and messages.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-03-chunk-0.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-03-chunk-0.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-03-chunk-1", + description: + "A form for sending a message to an AI chatbot. The form has a textarea and buttons to upload files and record audio.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-03-chunk-1.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-03-chunk-1.svelte").then( + (m) => m.default + ), + }, + ], + component: () => + import("../lib/registry/new-york/block/dashboard-03.svelte").then((m) => m.default), + raw: () => + import("../lib/registry/new-york/block/dashboard-03.svelte?raw").then( + (m) => m.default + ), + }, + "dashboard-04": { + name: "dashboard-04", + type: "components:block", + chunks: [ + { + name: "dashboard-04-chunk-0", + description: + "A sidebar navigation with links to general, security, integrations, support, organizations, and advanced settings.", + container: { className: "chunk-container after:right-0" }, + raw: () => + import("./chunks/new-york/dashboard-04-chunk-0.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-04-chunk-0.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-04-chunk-1", + description: "A form to update the store name.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-04-chunk-1.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-04-chunk-1.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-04-chunk-2", + description: + "A form to update the plugins directory with a checkbox to allow administrators to change the directory.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-04-chunk-2.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-04-chunk-2.svelte").then( + (m) => m.default + ), + }, + ], + component: () => + import("../lib/registry/new-york/block/dashboard-04.svelte").then((m) => m.default), + raw: () => + import("../lib/registry/new-york/block/dashboard-04.svelte?raw").then( + (m) => m.default + ), + }, + "dashboard-05": { + name: "dashboard-05", + type: "components:block", + chunks: [ + { + name: "dashboard-05-chunk-0", + description: + "A card for an orders dashboard with a description and a button to create a new order.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-05-chunk-0.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-05-chunk-0.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-05-chunk-1", + description: + "A stats card showing this week's total sales in USD, the percentage difference from last week, and a progress bar.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-05-chunk-1.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-05-chunk-1.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-05-chunk-2", + description: + "A stats card showing this month's total sales in USD, the percentage difference from last month, and a progress bar.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-05-chunk-2.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-05-chunk-2.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-05-chunk-3", + description: + "A table of recent orders showing the following columns: Customer, Type, Status, Date, and Amount.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-05-chunk-3.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-05-chunk-3.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-05-chunk-4", + description: + "An order details card with order details, shipping information, customer information and payment information.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-05-chunk-4.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-05-chunk-4.svelte").then( + (m) => m.default + ), + }, + ], + component: () => + import("../lib/registry/new-york/block/dashboard-05.svelte").then((m) => m.default), + raw: () => + import("../lib/registry/new-york/block/dashboard-05.svelte?raw").then( + (m) => m.default + ), + }, + "dashboard-06": { + name: "dashboard-06", + type: "components:block", + chunks: [ + { + name: "dashboard-06-chunk-0", + description: "A breadcrumb with two links and a page indicator.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-06-chunk-0.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-06-chunk-0.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-06-chunk-1", + description: + "A list of products in a table with actions. Each row has an image, name, status, price, total sales, created at and actions.", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-06-chunk-1.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-06-chunk-1.svelte").then( + (m) => m.default + ), + }, + ], + component: () => + import("../lib/registry/new-york/block/dashboard-06.svelte").then((m) => m.default), + raw: () => + import("../lib/registry/new-york/block/dashboard-06.svelte?raw").then( + (m) => m.default + ), + }, + "dashboard-07": { + name: "dashboard-07", + type: "components:block", + chunks: [ + { + name: "dashboard-07-chunk-0", + description: "A card with a form to edit the product details", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-07-chunk-0.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-07-chunk-0.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-07-chunk-1", + description: "A card with a form to edit the product stock and variants", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-07-chunk-1.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-07-chunk-1.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-07-chunk-2", + description: "A card with a form to edit the product category and subcategory", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-07-chunk-2.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-07-chunk-2.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-07-chunk-3", + description: "A card with a form to edit the product status", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-07-chunk-3.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-07-chunk-3.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-07-chunk-4", + description: "A card with a form to upload product images", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-07-chunk-4.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-07-chunk-4.svelte").then( + (m) => m.default + ), + }, + { + name: "dashboard-07-chunk-5", + description: "A card with a call to action to archive the product", + container: { className: "" }, + raw: () => + import("./chunks/new-york/dashboard-07-chunk-5.svelte?raw").then( + (m) => m.default + ), + component: () => + import("./chunks/new-york/dashboard-07-chunk-5.svelte").then( + (m) => m.default + ), + }, + ], + component: () => + import("../lib/registry/new-york/block/dashboard-07.svelte").then((m) => m.default), + raw: () => + import("../lib/registry/new-york/block/dashboard-07.svelte?raw").then( + (m) => m.default + ), + }, + }, +}; diff --git a/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-0.svelte b/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-0.svelte new file mode 100644 index 000000000..c681d2695 --- /dev/null +++ b/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-0.svelte @@ -0,0 +1,18 @@ + + + + + Total Revenue + + + +
    $45,231.89
    +

    +20.1% from last month

    +
    +
    diff --git a/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-1.svelte b/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-1.svelte new file mode 100644 index 000000000..9e7343434 --- /dev/null +++ b/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-1.svelte @@ -0,0 +1,18 @@ + + + + + Subscriptions + + + +
    +2350
    +

    +180.1% from last month

    +
    +
    diff --git a/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-2.svelte b/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-2.svelte new file mode 100644 index 000000000..4e71d022d --- /dev/null +++ b/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-2.svelte @@ -0,0 +1,18 @@ + + + + + Sales + + + +
    +12,234
    +

    +19% from last month

    +
    +
    diff --git a/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-3.svelte b/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-3.svelte new file mode 100644 index 000000000..bd751099b --- /dev/null +++ b/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-3.svelte @@ -0,0 +1,18 @@ + + + + + Active Now + + + +
    +573
    +

    +201 since last hour

    +
    +
    diff --git a/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-4.svelte b/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-4.svelte new file mode 100644 index 000000000..42af90068 --- /dev/null +++ b/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-4.svelte @@ -0,0 +1,119 @@ + + + + +
    + Transactions + Recent transactions from your store. +
    + +
    + + + + + Customer + + + + Amount + + + + + +
    Liam Johnson
    + +
    + + + + $250.00 +
    + + +
    Olivia Smith
    + +
    + + + + $150.00 +
    + + +
    Noah Williams
    + +
    + + + + $350.00 +
    + + +
    Emma Brown
    + +
    + + + + $450.00 +
    + + +
    Liam Johnson
    + +
    + + + + $550.00 +
    +
    +
    +
    +
    diff --git a/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-5.svelte b/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-5.svelte new file mode 100644 index 000000000..c2bcfffd4 --- /dev/null +++ b/sites/docs/src/__registry__/chunks/default/dashboard-01-chunk-5.svelte @@ -0,0 +1,70 @@ + + + + + Recent Sales + + +
    + +
    +

    Olivia Martin

    +

    olivia.martin@email.com

    +
    +
    +$1,999.00
    +
    +
    + +
    +

    Jackson Lee

    +

    jackson.lee@email.com

    +
    +
    +$39.00
    +
    +
    + +
    +

    Isabella Nguyen

    +

    isabella.nguyen@email.com

    +
    +
    +$299.00
    +
    +
    + +
    +

    William Kim

    +

    will@email.com

    +
    +
    +$99.00
    +
    +
    + +
    +

    Sofia Davis

    +

    sofia.davis@email.com

    +
    +
    +$39.00
    +
    +
    +
    diff --git a/apps/www/src/__registry__/chunks/default/dashboard-02-chunk-0.svelte b/sites/docs/src/__registry__/chunks/default/dashboard-02-chunk-0.svelte similarity index 100% rename from apps/www/src/__registry__/chunks/default/dashboard-02-chunk-0.svelte rename to sites/docs/src/__registry__/chunks/default/dashboard-02-chunk-0.svelte diff --git a/sites/docs/src/__registry__/chunks/default/dashboard-02-chunk-1.svelte b/sites/docs/src/__registry__/chunks/default/dashboard-02-chunk-1.svelte new file mode 100644 index 000000000..0fc026c6a --- /dev/null +++ b/sites/docs/src/__registry__/chunks/default/dashboard-02-chunk-1.svelte @@ -0,0 +1,17 @@ + + +
    +
    +

    You have no products

    +

    + You can start selling as soon as you add a product. +

    + +
    +
    diff --git a/sites/docs/src/__registry__/chunks/default/dashboard-03-chunk-0.svelte b/sites/docs/src/__registry__/chunks/default/dashboard-03-chunk-0.svelte new file mode 100644 index 000000000..dec3f1827 --- /dev/null +++ b/sites/docs/src/__registry__/chunks/default/dashboard-03-chunk-0.svelte @@ -0,0 +1,107 @@ + + +\n" + }, + { + "name": "carousel-next.svelte", + "content": "\n\n\n\t\n\tNext slide\n\n" + }, + { + "name": "carousel-previous.svelte", + "content": "\n\n\n\t\n\tPrevious slide\n\n" + }, + { + "name": "carousel.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "context.js", + "content": "import { getContext, hasContext, setContext } from \"svelte\";\nconst EMBLA_CAROUSEL_CONTEXT = Symbol(\"EMBLA_CAROUSEL_CONTEXT\");\nexport function setEmblaContext(config) {\n\tsetContext(EMBLA_CAROUSEL_CONTEXT, config);\n\treturn config;\n}\nexport function getEmblaContext(name = \"This component\") {\n\tif (!hasContext(EMBLA_CAROUSEL_CONTEXT)) {\n\t\tthrow new Error(`${name} must be used within a component`);\n\t}\n\treturn getContext(EMBLA_CAROUSEL_CONTEXT);\n}\n" + }, + { + "name": "index.js", + "content": "export { default as Root } from \"./carousel.svelte\";\nexport { default as Content } from \"./carousel-content.svelte\";\nexport { default as Item } from \"./carousel-item.svelte\";\nexport { default as Previous } from \"./carousel-previous.svelte\";\nexport { default as Next } from \"./carousel-next.svelte\";\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/checkbox.json b/sites/docs/static/registry/styles/new-york-js/checkbox.json new file mode 100644 index 000000000..f2fc74d1b --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/checkbox.json @@ -0,0 +1,16 @@ +{ + "name": "checkbox", + "dependencies": ["bits-ui", "svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "checkbox.svelte", + "content": "\n\n\n\t\n\t\t{#if isIndeterminate}\n\t\t\t\n\t\t{:else}\n\t\t\t\n\t\t{/if}\n\t\n\n" + }, + { + "name": "index.js", + "content": "import Root from \"./checkbox.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Checkbox,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/collapsible.json b/sites/docs/static/registry/styles/new-york-js/collapsible.json new file mode 100644 index 000000000..88fe5944b --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/collapsible.json @@ -0,0 +1,16 @@ +{ + "name": "collapsible", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "collapsible-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "index.js", + "content": "import { Collapsible as CollapsiblePrimitive } from \"bits-ui\";\nimport Content from \"./collapsible-content.svelte\";\nconst Root = CollapsiblePrimitive.Root;\nconst Trigger = CollapsiblePrimitive.Trigger;\nexport {\n\tRoot,\n\tContent,\n\tTrigger,\n\t//\n\tRoot as Collapsible,\n\tContent as CollapsibleContent,\n\tTrigger as CollapsibleTrigger,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/command.json b/sites/docs/static/registry/styles/new-york-js/command.json new file mode 100644 index 000000000..e5041f1b6 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/command.json @@ -0,0 +1,48 @@ +{ + "name": "command", + "dependencies": ["cmdk-sv", "bits-ui", "svelte-radix"], + "registryDependencies": ["dialog"], + "files": [ + { + "name": "command-dialog.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\n" + }, + { + "name": "command-empty.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "command-group.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "command-input.svelte", + "content": "\n\n
    \n\t\n\t\n
    \n" + }, + { + "name": "command-item.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "command-list.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "command-separator.svelte", + "content": "\n\n\n" + }, + { + "name": "command-shortcut.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "command.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "index.js", + "content": "import { Command as CommandPrimitive } from \"cmdk-sv\";\nimport Root from \"./command.svelte\";\nimport Dialog from \"./command-dialog.svelte\";\nimport Empty from \"./command-empty.svelte\";\nimport Group from \"./command-group.svelte\";\nimport Item from \"./command-item.svelte\";\nimport Input from \"./command-input.svelte\";\nimport List from \"./command-list.svelte\";\nimport Separator from \"./command-separator.svelte\";\nimport Shortcut from \"./command-shortcut.svelte\";\nconst Loading = CommandPrimitive.Loading;\nexport {\n\tRoot,\n\tDialog,\n\tEmpty,\n\tGroup,\n\tItem,\n\tInput,\n\tList,\n\tSeparator,\n\tShortcut,\n\tLoading,\n\t//\n\tRoot as Command,\n\tDialog as CommandDialog,\n\tEmpty as CommandEmpty,\n\tGroup as CommandGroup,\n\tItem as CommandItem,\n\tInput as CommandInput,\n\tList as CommandList,\n\tSeparator as CommandSeparator,\n\tShortcut as CommandShortcut,\n\tLoading as CommandLoading,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/context-menu.json b/sites/docs/static/registry/styles/new-york-js/context-menu.json new file mode 100644 index 000000000..1fac41aa1 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/context-menu.json @@ -0,0 +1,52 @@ +{ + "name": "context-menu", + "dependencies": ["bits-ui", "svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "context-menu-checkbox-item.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" + }, + { + "name": "context-menu-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "context-menu-item.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "context-menu-label.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "context-menu-radio-group.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "context-menu-radio-item.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" + }, + { + "name": "context-menu-separator.svelte", + "content": "\n\n\n" + }, + { + "name": "context-menu-shortcut.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "context-menu-sub-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "context-menu-sub-trigger.svelte", + "content": "\n\n\n\t\n\t\n\n" + }, + { + "name": "index.js", + "content": "import { ContextMenu as ContextMenuPrimitive } from \"bits-ui\";\nimport Item from \"./context-menu-item.svelte\";\nimport Label from \"./context-menu-label.svelte\";\nimport Content from \"./context-menu-content.svelte\";\nimport Shortcut from \"./context-menu-shortcut.svelte\";\nimport RadioItem from \"./context-menu-radio-item.svelte\";\nimport Separator from \"./context-menu-separator.svelte\";\nimport RadioGroup from \"./context-menu-radio-group.svelte\";\nimport SubContent from \"./context-menu-sub-content.svelte\";\nimport SubTrigger from \"./context-menu-sub-trigger.svelte\";\nimport CheckboxItem from \"./context-menu-checkbox-item.svelte\";\nconst Sub = ContextMenuPrimitive.Sub;\nconst Root = ContextMenuPrimitive.Root;\nconst Trigger = ContextMenuPrimitive.Trigger;\nconst Group = ContextMenuPrimitive.Group;\nexport {\n\tSub,\n\tRoot,\n\tItem,\n\tLabel,\n\tGroup,\n\tTrigger,\n\tContent,\n\tShortcut,\n\tSeparator,\n\tRadioItem,\n\tSubContent,\n\tSubTrigger,\n\tRadioGroup,\n\tCheckboxItem,\n\t//\n\tRoot as ContextMenu,\n\tSub as ContextMenuSub,\n\tItem as ContextMenuItem,\n\tLabel as ContextMenuLabel,\n\tGroup as ContextMenuGroup,\n\tContent as ContextMenuContent,\n\tTrigger as ContextMenuTrigger,\n\tShortcut as ContextMenuShortcut,\n\tRadioItem as ContextMenuRadioItem,\n\tSeparator as ContextMenuSeparator,\n\tRadioGroup as ContextMenuRadioGroup,\n\tSubContent as ContextMenuSubContent,\n\tSubTrigger as ContextMenuSubTrigger,\n\tCheckboxItem as ContextMenuCheckboxItem,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/dialog.json b/sites/docs/static/registry/styles/new-york-js/dialog.json new file mode 100644 index 000000000..ce1a56dbb --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/dialog.json @@ -0,0 +1,40 @@ +{ + "name": "dialog", + "dependencies": ["bits-ui", "svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "dialog-content.svelte", + "content": "\n\n\n\t\n\t\n\t\t\n\t\t\n\t\t\t\n\t\t\tClose\n\t\t\n\t\n\n" + }, + { + "name": "dialog-description.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dialog-footer.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dialog-header.svelte", + "content": "\n\n
    \n\t\n
    \n" + }, + { + "name": "dialog-overlay.svelte", + "content": "\n\n\n" + }, + { + "name": "dialog-portal.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dialog-title.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "index.js", + "content": "import { Dialog as DialogPrimitive } from \"bits-ui\";\nimport Title from \"./dialog-title.svelte\";\nimport Portal from \"./dialog-portal.svelte\";\nimport Footer from \"./dialog-footer.svelte\";\nimport Header from \"./dialog-header.svelte\";\nimport Overlay from \"./dialog-overlay.svelte\";\nimport Content from \"./dialog-content.svelte\";\nimport Description from \"./dialog-description.svelte\";\nconst Root = DialogPrimitive.Root;\nconst Trigger = DialogPrimitive.Trigger;\nconst Close = DialogPrimitive.Close;\nexport {\n\tRoot,\n\tTitle,\n\tPortal,\n\tFooter,\n\tHeader,\n\tTrigger,\n\tOverlay,\n\tContent,\n\tDescription,\n\tClose,\n\t//\n\tRoot as Dialog,\n\tTitle as DialogTitle,\n\tPortal as DialogPortal,\n\tFooter as DialogFooter,\n\tHeader as DialogHeader,\n\tTrigger as DialogTrigger,\n\tOverlay as DialogOverlay,\n\tContent as DialogContent,\n\tDescription as DialogDescription,\n\tClose as DialogClose,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/drawer.json b/sites/docs/static/registry/styles/new-york-js/drawer.json new file mode 100644 index 000000000..bd110f440 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/drawer.json @@ -0,0 +1,44 @@ +{ + "name": "drawer", + "dependencies": ["vaul-svelte"], + "registryDependencies": [], + "files": [ + { + "name": "drawer-content.svelte", + "content": "\n\n\n\t\n\t\n\t\t
    \n\t\t\n\t\n
    \n" + }, + { + "name": "drawer-description.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "drawer-footer.svelte", + "content": "\n\n
    \n\t\n
    \n" + }, + { + "name": "drawer-header.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "drawer-nested.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "drawer-overlay.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "drawer-title.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "drawer.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "index.js", + "content": "import { Drawer as DrawerPrimitive } from \"vaul-svelte\";\nimport Root from \"./drawer.svelte\";\nimport Content from \"./drawer-content.svelte\";\nimport Description from \"./drawer-description.svelte\";\nimport Overlay from \"./drawer-overlay.svelte\";\nimport Footer from \"./drawer-footer.svelte\";\nimport Header from \"./drawer-header.svelte\";\nimport Title from \"./drawer-title.svelte\";\nimport NestedRoot from \"./drawer-nested.svelte\";\nconst Trigger = DrawerPrimitive.Trigger;\nconst Portal = DrawerPrimitive.Portal;\nconst Close = DrawerPrimitive.Close;\nexport {\n\tRoot,\n\tNestedRoot,\n\tContent,\n\tDescription,\n\tOverlay,\n\tFooter,\n\tHeader,\n\tTitle,\n\tTrigger,\n\tPortal,\n\tClose,\n\t//\n\tRoot as Drawer,\n\tNestedRoot as DrawerNestedRoot,\n\tContent as DrawerContent,\n\tDescription as DrawerDescription,\n\tOverlay as DrawerOverlay,\n\tFooter as DrawerFooter,\n\tHeader as DrawerHeader,\n\tTitle as DrawerTitle,\n\tTrigger as DrawerTrigger,\n\tPortal as DrawerPortal,\n\tClose as DrawerClose,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/dropdown-menu.json b/sites/docs/static/registry/styles/new-york-js/dropdown-menu.json new file mode 100644 index 000000000..1ce3241eb --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/dropdown-menu.json @@ -0,0 +1,52 @@ +{ + "name": "dropdown-menu", + "dependencies": ["bits-ui", "svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "dropdown-menu-checkbox-item.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" + }, + { + "name": "dropdown-menu-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dropdown-menu-item.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dropdown-menu-label.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dropdown-menu-radio-group.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dropdown-menu-radio-item.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" + }, + { + "name": "dropdown-menu-separator.svelte", + "content": "\n\n\n" + }, + { + "name": "dropdown-menu-shortcut.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dropdown-menu-sub-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dropdown-menu-sub-trigger.svelte", + "content": "\n\n\n\t\n\t\n\n" + }, + { + "name": "index.js", + "content": "import { DropdownMenu as DropdownMenuPrimitive } from \"bits-ui\";\nimport Item from \"./dropdown-menu-item.svelte\";\nimport Label from \"./dropdown-menu-label.svelte\";\nimport Content from \"./dropdown-menu-content.svelte\";\nimport Shortcut from \"./dropdown-menu-shortcut.svelte\";\nimport RadioItem from \"./dropdown-menu-radio-item.svelte\";\nimport Separator from \"./dropdown-menu-separator.svelte\";\nimport RadioGroup from \"./dropdown-menu-radio-group.svelte\";\nimport SubContent from \"./dropdown-menu-sub-content.svelte\";\nimport SubTrigger from \"./dropdown-menu-sub-trigger.svelte\";\nimport CheckboxItem from \"./dropdown-menu-checkbox-item.svelte\";\nconst Sub = DropdownMenuPrimitive.Sub;\nconst Root = DropdownMenuPrimitive.Root;\nconst Trigger = DropdownMenuPrimitive.Trigger;\nconst Group = DropdownMenuPrimitive.Group;\nexport {\n\tSub,\n\tRoot,\n\tItem,\n\tLabel,\n\tGroup,\n\tTrigger,\n\tContent,\n\tShortcut,\n\tSeparator,\n\tRadioItem,\n\tSubContent,\n\tSubTrigger,\n\tRadioGroup,\n\tCheckboxItem,\n\t//\n\tRoot as DropdownMenu,\n\tSub as DropdownMenuSub,\n\tItem as DropdownMenuItem,\n\tLabel as DropdownMenuLabel,\n\tGroup as DropdownMenuGroup,\n\tContent as DropdownMenuContent,\n\tTrigger as DropdownMenuTrigger,\n\tShortcut as DropdownMenuShortcut,\n\tRadioItem as DropdownMenuRadioItem,\n\tSeparator as DropdownMenuSeparator,\n\tRadioGroup as DropdownMenuRadioGroup,\n\tSubContent as DropdownMenuSubContent,\n\tSubTrigger as DropdownMenuSubTrigger,\n\tCheckboxItem as DropdownMenuCheckboxItem,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/form.json b/sites/docs/static/registry/styles/new-york-js/form.json new file mode 100644 index 000000000..fdc8b0b76 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/form.json @@ -0,0 +1,44 @@ +{ + "name": "form", + "dependencies": ["formsnap", "zod", "sveltekit-superforms"], + "registryDependencies": ["button", "label"], + "files": [ + { + "name": "form-button.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "form-description.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "form-element-field.svelte", + "content": "\n\n\n\n\n\t
    \n\t\t\n\t
    \n
    \n" + }, + { + "name": "form-field-errors.svelte", + "content": "\n\n\n\t\n\t\t{#each errors as error}\n\t\t\t
    {error}
    \n\t\t{/each}\n\t
    \n\n" + }, + { + "name": "form-field.svelte", + "content": "\n\n\n\n\n\t
    \n\t\t\n\t
    \n
    \n" + }, + { + "name": "form-fieldset.svelte", + "content": "\n\n\n\n\n\t\n\n" + }, + { + "name": "form-label.svelte", + "content": "\n\n\n" + }, + { + "name": "form-legend.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "index.js", + "content": "import * as FormPrimitive from \"formsnap\";\nimport Description from \"./form-description.svelte\";\nimport Label from \"./form-label.svelte\";\nimport FieldErrors from \"./form-field-errors.svelte\";\nimport Field from \"./form-field.svelte\";\nimport Button from \"./form-button.svelte\";\nimport Fieldset from \"./form-fieldset.svelte\";\nimport Legend from \"./form-legend.svelte\";\nimport ElementField from \"./form-element-field.svelte\";\nconst Control = FormPrimitive.Control;\nexport {\n\tField,\n\tControl,\n\tLabel,\n\tFieldErrors,\n\tDescription,\n\tFieldset,\n\tLegend,\n\tElementField,\n\tButton,\n\t//\n\tField as FormField,\n\tControl as FormControl,\n\tDescription as FormDescription,\n\tLabel as FormLabel,\n\tFieldErrors as FormFieldErrors,\n\tFieldset as FormFieldset,\n\tLegend as FormLegend,\n\tElementField as FormElementField,\n\tButton as FormButton,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/hover-card.json b/sites/docs/static/registry/styles/new-york-js/hover-card.json new file mode 100644 index 000000000..681421dcb --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/hover-card.json @@ -0,0 +1,16 @@ +{ + "name": "hover-card", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "hover-card-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "index.js", + "content": "import { LinkPreview as HoverCardPrimitive } from \"bits-ui\";\nimport Content from \"./hover-card-content.svelte\";\nconst Root = HoverCardPrimitive.Root;\nconst Trigger = HoverCardPrimitive.Trigger;\nexport {\n\tRoot,\n\tContent,\n\tTrigger,\n\tRoot as HoverCard,\n\tContent as HoverCardContent,\n\tTrigger as HoverCardTrigger,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/input.json b/sites/docs/static/registry/styles/new-york-js/input.json new file mode 100644 index 000000000..25d980ccb --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/input.json @@ -0,0 +1,16 @@ +{ + "name": "input", + "dependencies": [], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import Root from \"./input.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Input,\n};\n" + }, + { + "name": "input.svelte", + "content": "\n\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/label.json b/sites/docs/static/registry/styles/new-york-js/label.json new file mode 100644 index 000000000..2956af9ed --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/label.json @@ -0,0 +1,16 @@ +{ + "name": "label", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import Root from \"./label.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Label,\n};\n" + }, + { + "name": "label.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/menubar.json b/sites/docs/static/registry/styles/new-york-js/menubar.json new file mode 100644 index 000000000..5f6bcde4b --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/menubar.json @@ -0,0 +1,56 @@ +{ + "name": "menubar", + "dependencies": ["bits-ui", "svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import { Menubar as MenubarPrimitive } from \"bits-ui\";\nimport Root from \"./menubar.svelte\";\nimport CheckboxItem from \"./menubar-checkbox-item.svelte\";\nimport Content from \"./menubar-content.svelte\";\nimport Item from \"./menubar-item.svelte\";\nimport Label from \"./menubar-label.svelte\";\nimport RadioItem from \"./menubar-radio-item.svelte\";\nimport Separator from \"./menubar-separator.svelte\";\nimport Shortcut from \"./menubar-shortcut.svelte\";\nimport SubContent from \"./menubar-sub-content.svelte\";\nimport SubTrigger from \"./menubar-sub-trigger.svelte\";\nimport Trigger from \"./menubar-trigger.svelte\";\nconst Menu = MenubarPrimitive.Menu;\nconst Group = MenubarPrimitive.Group;\nconst Sub = MenubarPrimitive.Sub;\nconst RadioGroup = MenubarPrimitive.RadioGroup;\nexport {\n\tRoot,\n\tCheckboxItem,\n\tContent,\n\tItem,\n\tLabel,\n\tRadioItem,\n\tSeparator,\n\tShortcut,\n\tSubContent,\n\tSubTrigger,\n\tTrigger,\n\tMenu,\n\tGroup,\n\tSub,\n\tRadioGroup,\n\t//\n\tRoot as Menubar,\n\tCheckboxItem as MenubarCheckboxItem,\n\tContent as MenubarContent,\n\tItem as MenubarItem,\n\tLabel as MenubarLabel,\n\tRadioItem as MenubarRadioItem,\n\tSeparator as MenubarSeparator,\n\tShortcut as MenubarShortcut,\n\tSubContent as MenubarSubContent,\n\tSubTrigger as MenubarSubTrigger,\n\tTrigger as MenubarTrigger,\n\tMenu as MenubarMenu,\n\tGroup as MenubarGroup,\n\tSub as MenubarSub,\n\tRadioGroup as MenubarRadioGroup,\n};\n" + }, + { + "name": "menubar-checkbox-item.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" + }, + { + "name": "menubar-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "menubar-item.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "menubar-label.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "menubar-radio-item.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" + }, + { + "name": "menubar-separator.svelte", + "content": "\n\n\n" + }, + { + "name": "menubar-shortcut.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "menubar-sub-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "menubar-sub-trigger.svelte", + "content": "\n\n\n\t\n\t\n\n" + }, + { + "name": "menubar-trigger.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "menubar.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/pagination.json b/sites/docs/static/registry/styles/new-york-js/pagination.json new file mode 100644 index 000000000..ffa55bea4 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/pagination.json @@ -0,0 +1,40 @@ +{ + "name": "pagination", + "dependencies": ["svelte-radix", "bits-ui"], + "registryDependencies": ["button"], + "files": [ + { + "name": "index.js", + "content": "import Root from \"./pagination.svelte\";\nimport Content from \"./pagination-content.svelte\";\nimport Item from \"./pagination-item.svelte\";\nimport Link from \"./pagination-link.svelte\";\nimport PrevButton from \"./pagination-prev-button.svelte\";\nimport NextButton from \"./pagination-next-button.svelte\";\nimport Ellipsis from \"./pagination-ellipsis.svelte\";\nexport {\n\tRoot,\n\tContent,\n\tItem,\n\tLink,\n\tPrevButton,\n\tNextButton,\n\tEllipsis,\n\t//\n\tRoot as Pagination,\n\tContent as PaginationContent,\n\tItem as PaginationItem,\n\tLink as PaginationLink,\n\tPrevButton as PaginationPrevButton,\n\tNextButton as PaginationNextButton,\n\tEllipsis as PaginationEllipsis,\n};\n" + }, + { + "name": "pagination-content.svelte", + "content": "\n\n
      \n\t\n
    \n" + }, + { + "name": "pagination-ellipsis.svelte", + "content": "\n\n\n\t\n\tMore pages\n\n" + }, + { + "name": "pagination-item.svelte", + "content": "\n\n
  • \n\t\n
  • \n" + }, + { + "name": "pagination-link.svelte", + "content": "\n\n\n\t{page.value}\n\n" + }, + { + "name": "pagination-next-button.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\tNext\n\t\t\t\n\t\t\n\t\n\n" + }, + { + "name": "pagination-prev-button.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\tPrevious\n\t\t\n\t\n\n" + }, + { + "name": "pagination.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/popover.json b/sites/docs/static/registry/styles/new-york-js/popover.json new file mode 100644 index 000000000..b4f30158f --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/popover.json @@ -0,0 +1,16 @@ +{ + "name": "popover", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import { Popover as PopoverPrimitive } from \"bits-ui\";\nimport Content from \"./popover-content.svelte\";\nconst Root = PopoverPrimitive.Root;\nconst Trigger = PopoverPrimitive.Trigger;\nconst Close = PopoverPrimitive.Close;\nexport {\n\tRoot,\n\tContent,\n\tTrigger,\n\tClose,\n\t//\n\tRoot as Popover,\n\tContent as PopoverContent,\n\tTrigger as PopoverTrigger,\n\tClose as PopoverClose,\n};\n" + }, + { + "name": "popover-content.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/progress.json b/sites/docs/static/registry/styles/new-york-js/progress.json new file mode 100644 index 000000000..a7df26a20 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/progress.json @@ -0,0 +1,16 @@ +{ + "name": "progress", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import Root from \"./progress.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Progress,\n};\n" + }, + { + "name": "progress.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/radio-group.json b/sites/docs/static/registry/styles/new-york-js/radio-group.json new file mode 100644 index 000000000..de0aa2f54 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/radio-group.json @@ -0,0 +1,20 @@ +{ + "name": "radio-group", + "dependencies": ["bits-ui", "svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import { RadioGroup as RadioGroupPrimitive } from \"bits-ui\";\nimport Root from \"./radio-group.svelte\";\nimport Item from \"./radio-group-item.svelte\";\nconst Input = RadioGroupPrimitive.Input;\nexport {\n\tRoot,\n\tInput,\n\tItem,\n\t//\n\tRoot as RadioGroup,\n\tInput as RadioGroupInput,\n\tItem as RadioGroupItem,\n};\n" + }, + { + "name": "radio-group-item.svelte", + "content": "\n\n\n\t
    \n\t\t\n\t\t\t\n\t\t\n\t
    \n\n" + }, + { + "name": "radio-group.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/range-calendar.json b/sites/docs/static/registry/styles/new-york-js/range-calendar.json new file mode 100644 index 000000000..433fb7530 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/range-calendar.json @@ -0,0 +1,64 @@ +{ + "name": "range-calendar", + "dependencies": ["bits-ui", "@internationalized/date", "svelte-radix"], + "registryDependencies": ["button"], + "files": [ + { + "name": "index.js", + "content": "import Root from \"./range-calendar.svelte\";\nimport Cell from \"./range-calendar-cell.svelte\";\nimport Day from \"./range-calendar-day.svelte\";\nimport Grid from \"./range-calendar-grid.svelte\";\nimport Header from \"./range-calendar-header.svelte\";\nimport Months from \"./range-calendar-months.svelte\";\nimport GridRow from \"./range-calendar-grid-row.svelte\";\nimport Heading from \"./range-calendar-heading.svelte\";\nimport GridBody from \"./range-calendar-grid-body.svelte\";\nimport GridHead from \"./range-calendar-grid-head.svelte\";\nimport HeadCell from \"./range-calendar-head-cell.svelte\";\nimport NextButton from \"./range-calendar-next-button.svelte\";\nimport PrevButton from \"./range-calendar-prev-button.svelte\";\nexport {\n\tDay,\n\tCell,\n\tGrid,\n\tHeader,\n\tMonths,\n\tGridRow,\n\tHeading,\n\tGridBody,\n\tGridHead,\n\tHeadCell,\n\tNextButton,\n\tPrevButton,\n\t//\n\tRoot as RangeCalendar,\n};\n" + }, + { + "name": "range-calendar-cell.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "range-calendar-day.svelte", + "content": "\n\n\n\t\n\t\t{date.day}\n\t\n\n" + }, + { + "name": "range-calendar-grid-body.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "range-calendar-grid-head.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "range-calendar-grid-row.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "range-calendar-grid.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "range-calendar-head-cell.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "range-calendar-header.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "range-calendar-heading.svelte", + "content": "\n\n\n\t\n\t\t{headingValue}\n\t\n\n" + }, + { + "name": "range-calendar-months.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "range-calendar-next-button.svelte", + "content": "\n\n\n\t\n\t\t\n\t\n\n" + }, + { + "name": "range-calendar-prev-button.svelte", + "content": "\n\n\n\t\n\t\t\n\t\n\n" + }, + { + "name": "range-calendar.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\n\t\t\n\t\n\t\n\t\t{#each months as month}\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{#each weekdays as weekday}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{weekday.slice(0, 2)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t{/each}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{#each month.weeks as weekDates}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{#each weekDates as date}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{/each}\n\t\t\t\t\t\t\n\t\t\t\t\t{/each}\n\t\t\t\t\n\t\t\t\n\t\t{/each}\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/resizable.json b/sites/docs/static/registry/styles/new-york-js/resizable.json new file mode 100644 index 000000000..169df6252 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/resizable.json @@ -0,0 +1,20 @@ +{ + "name": "resizable", + "dependencies": ["svelte-radix", "paneforge"], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import { Pane } from \"paneforge\";\nimport Handle from \"./resizable-handle.svelte\";\nimport PaneGroup from \"./resizable-pane-group.svelte\";\nexport {\n\tPaneGroup,\n\tPane,\n\tHandle,\n\t//\n\tPaneGroup as ResizablePaneGroup,\n\tPane as ResizablePane,\n\tHandle as ResizableHandle,\n};\n" + }, + { + "name": "resizable-handle.svelte", + "content": "\n\ndiv]:rotate-90\",\n\t\tclassName\n\t)}\n>\n\t{#if withHandle}\n\t\t
    \n\t\t\t\n\t\t
    \n\t{/if}\n\n" + }, + { + "name": "resizable-pane-group.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/scroll-area.json b/sites/docs/static/registry/styles/new-york-js/scroll-area.json new file mode 100644 index 000000000..cc7f75e50 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/scroll-area.json @@ -0,0 +1,20 @@ +{ + "name": "scroll-area", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import Scrollbar from \"./scroll-area-scrollbar.svelte\";\nimport Root from \"./scroll-area.svelte\";\nexport {\n\tRoot,\n\tScrollbar,\n\t//,\n\tRoot as ScrollArea,\n\tScrollbar as ScrollAreaScrollbar,\n};\n" + }, + { + "name": "scroll-area-scrollbar.svelte", + "content": "\n\n\n\t\n\t\n\n" + }, + { + "name": "scroll-area.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t{#if orientation === \"vertical\" || orientation === \"both\"}\n\t\t\n\t{/if}\n\t{#if orientation === \"horizontal\" || orientation === \"both\"}\n\t\t\n\t{/if}\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/select.json b/sites/docs/static/registry/styles/new-york-js/select.json new file mode 100644 index 000000000..7a914aab8 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/select.json @@ -0,0 +1,32 @@ +{ + "name": "select", + "dependencies": ["bits-ui", "svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import { Select as SelectPrimitive } from \"bits-ui\";\nimport Label from \"./select-label.svelte\";\nimport Item from \"./select-item.svelte\";\nimport Content from \"./select-content.svelte\";\nimport Trigger from \"./select-trigger.svelte\";\nimport Separator from \"./select-separator.svelte\";\nconst Root = SelectPrimitive.Root;\nconst Group = SelectPrimitive.Group;\nconst Input = SelectPrimitive.Input;\nconst Value = SelectPrimitive.Value;\nexport {\n\tRoot,\n\tItem,\n\tGroup,\n\tInput,\n\tLabel,\n\tValue,\n\tContent,\n\tTrigger,\n\tSeparator,\n\t//\n\tRoot as Select,\n\tItem as SelectItem,\n\tGroup as SelectGroup,\n\tInput as SelectInput,\n\tLabel as SelectLabel,\n\tValue as SelectValue,\n\tContent as SelectContent,\n\tTrigger as SelectTrigger,\n\tSeparator as SelectSeparator,\n};\n" + }, + { + "name": "select-content.svelte", + "content": "\n\n\n\t
    \n\t\t\n\t
    \n\n" + }, + { + "name": "select-item.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\t\t{label || value}\n\t\n\n" + }, + { + "name": "select-label.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "select-separator.svelte", + "content": "\n\n\n" + }, + { + "name": "select-trigger.svelte", + "content": "\n\nspan]:line-clamp-1 data-[placeholder]:[&>span]:text-muted-foreground\",\n\t\tclassName\n\t)}\n\t{...$$restProps}\n>\n\t\n\t
    \n\t\t\n\t
    \n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/separator.json b/sites/docs/static/registry/styles/new-york-js/separator.json new file mode 100644 index 000000000..22db30cb1 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/separator.json @@ -0,0 +1,16 @@ +{ + "name": "separator", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import Root from \"./separator.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Separator,\n};\n" + }, + { + "name": "separator.svelte", + "content": "\n\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/sheet.json b/sites/docs/static/registry/styles/new-york-js/sheet.json new file mode 100644 index 000000000..6b7f50a29 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/sheet.json @@ -0,0 +1,40 @@ +{ + "name": "sheet", + "dependencies": ["bits-ui", "svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import { Dialog as SheetPrimitive } from \"bits-ui\";\nimport { tv } from \"tailwind-variants\";\nimport Portal from \"./sheet-portal.svelte\";\nimport Overlay from \"./sheet-overlay.svelte\";\nimport Content from \"./sheet-content.svelte\";\nimport Header from \"./sheet-header.svelte\";\nimport Footer from \"./sheet-footer.svelte\";\nimport Title from \"./sheet-title.svelte\";\nimport Description from \"./sheet-description.svelte\";\nconst Root = SheetPrimitive.Root;\nconst Close = SheetPrimitive.Close;\nconst Trigger = SheetPrimitive.Trigger;\nexport {\n\tRoot,\n\tClose,\n\tTrigger,\n\tPortal,\n\tOverlay,\n\tContent,\n\tHeader,\n\tFooter,\n\tTitle,\n\tDescription,\n\t//\n\tRoot as Sheet,\n\tClose as SheetClose,\n\tTrigger as SheetTrigger,\n\tPortal as SheetPortal,\n\tOverlay as SheetOverlay,\n\tContent as SheetContent,\n\tHeader as SheetHeader,\n\tFooter as SheetFooter,\n\tTitle as SheetTitle,\n\tDescription as SheetDescription,\n};\nexport const sheetVariants = tv({\n\tbase: \"fixed z-50 gap-4 bg-background p-6 shadow-lg\",\n\tvariants: {\n\t\tside: {\n\t\t\ttop: \"inset-x-0 top-0 border-b \",\n\t\t\tbottom: \"inset-x-0 bottom-0 border-t\",\n\t\t\tleft: \"inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm\",\n\t\t\tright: \"inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tside: \"right\",\n\t},\n});\nexport const sheetTransitions = {\n\ttop: {\n\t\tin: {\n\t\t\ty: \"-100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\ty: \"-100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n\tbottom: {\n\t\tin: {\n\t\t\ty: \"100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\ty: \"100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n\tleft: {\n\t\tin: {\n\t\t\tx: \"-100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\tx: \"-100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n\tright: {\n\t\tin: {\n\t\t\tx: \"100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\tx: \"100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n};\n" + }, + { + "name": "sheet-content.svelte", + "content": "\n\n\n\t\n\t\n\t\t\n\t\t\n\t\t\t\n\t\t\tClose\n\t\t\n\t\n\n" + }, + { + "name": "sheet-description.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "sheet-footer.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "sheet-header.svelte", + "content": "\n\n
    \n\t\n
    \n" + }, + { + "name": "sheet-overlay.svelte", + "content": "\n\n\n" + }, + { + "name": "sheet-portal.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "sheet-title.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/skeleton.json b/sites/docs/static/registry/styles/new-york-js/skeleton.json new file mode 100644 index 000000000..4afc7d78a --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/skeleton.json @@ -0,0 +1,16 @@ +{ + "name": "skeleton", + "dependencies": [], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import Root from \"./skeleton.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Skeleton,\n};\n" + }, + { + "name": "skeleton.svelte", + "content": "\n\n
    \n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/slider.json b/sites/docs/static/registry/styles/new-york-js/slider.json new file mode 100644 index 000000000..470865e9f --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/slider.json @@ -0,0 +1,16 @@ +{ + "name": "slider", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import Root from \"./slider.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Slider,\n};\n" + }, + { + "name": "slider.svelte", + "content": "\n\n\n\t\n\t\t\n\t\n\t{#each thumbs as thumb}\n\t\t\n\t{/each}\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/sonner.json b/sites/docs/static/registry/styles/new-york-js/sonner.json new file mode 100644 index 000000000..37ddd20ef --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/sonner.json @@ -0,0 +1,16 @@ +{ + "name": "sonner", + "dependencies": ["svelte-sonner", "mode-watcher"], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "export { default as Toaster } from \"./sonner.svelte\";\n" + }, + { + "name": "sonner.svelte", + "content": "\n\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/switch.json b/sites/docs/static/registry/styles/new-york-js/switch.json new file mode 100644 index 000000000..b3f4f9a99 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/switch.json @@ -0,0 +1,16 @@ +{ + "name": "switch", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import Root from \"./switch.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Switch,\n};\n" + }, + { + "name": "switch.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/table.json b/sites/docs/static/registry/styles/new-york-js/table.json new file mode 100644 index 000000000..120a15c3a --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/table.json @@ -0,0 +1,44 @@ +{ + "name": "table", + "dependencies": [], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import Root from \"./table.svelte\";\nimport Body from \"./table-body.svelte\";\nimport Caption from \"./table-caption.svelte\";\nimport Cell from \"./table-cell.svelte\";\nimport Footer from \"./table-footer.svelte\";\nimport Head from \"./table-head.svelte\";\nimport Header from \"./table-header.svelte\";\nimport Row from \"./table-row.svelte\";\nexport {\n\tRoot,\n\tBody,\n\tCaption,\n\tCell,\n\tFooter,\n\tHead,\n\tHeader,\n\tRow,\n\t//\n\tRoot as Table,\n\tBody as TableBody,\n\tCaption as TableCaption,\n\tCell as TableCell,\n\tFooter as TableFooter,\n\tHead as TableHead,\n\tHeader as TableHeader,\n\tRow as TableRow,\n};\n" + }, + { + "name": "table-body.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "table-caption.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "table-cell.svelte", + "content": "\n\n[role=checkbox]]:translate-y-[2px]\",\n\t\tclassName\n\t)}\n\t{...$$restProps}\n\ton:click\n\ton:keydown\n>\n\t\n\n" + }, + { + "name": "table-footer.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "table-head.svelte", + "content": "\n\n[role=checkbox]]:translate-y-[2px]\",\n\t\tclassName\n\t)}\n\t{...$$restProps}\n>\n\t\n\n" + }, + { + "name": "table-header.svelte", + "content": "\n\n\n\n\t\n\n" + }, + { + "name": "table-row.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "table.svelte", + "content": "\n\n
    \n\t\n\t\t\n\t
    \n
    \n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/tabs.json b/sites/docs/static/registry/styles/new-york-js/tabs.json new file mode 100644 index 000000000..7769bf051 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/tabs.json @@ -0,0 +1,24 @@ +{ + "name": "tabs", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import { Tabs as TabsPrimitive } from \"bits-ui\";\nimport Content from \"./tabs-content.svelte\";\nimport List from \"./tabs-list.svelte\";\nimport Trigger from \"./tabs-trigger.svelte\";\nconst Root = TabsPrimitive.Root;\nexport {\n\tRoot,\n\tContent,\n\tList,\n\tTrigger,\n\t//\n\tRoot as Tabs,\n\tContent as TabsContent,\n\tList as TabsList,\n\tTrigger as TabsTrigger,\n};\n" + }, + { + "name": "tabs-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "tabs-list.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "tabs-trigger.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/textarea.json b/sites/docs/static/registry/styles/new-york-js/textarea.json new file mode 100644 index 000000000..2a9040869 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/textarea.json @@ -0,0 +1,16 @@ +{ + "name": "textarea", + "dependencies": [], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import Root from \"./textarea.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Textarea,\n};\n" + }, + { + "name": "textarea.svelte", + "content": "\n\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/toggle-group.json b/sites/docs/static/registry/styles/new-york-js/toggle-group.json new file mode 100644 index 000000000..2b55283e3 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/toggle-group.json @@ -0,0 +1,20 @@ +{ + "name": "toggle-group", + "dependencies": ["bits-ui"], + "registryDependencies": ["toggle"], + "files": [ + { + "name": "index.js", + "content": "import { getContext, setContext } from \"svelte\";\nimport Root from \"./toggle-group.svelte\";\nimport Item from \"./toggle-group-item.svelte\";\nexport function setToggleGroupCtx(props) {\n\tsetContext(\"toggleGroup\", props);\n}\nexport function getToggleGroupCtx() {\n\treturn getContext(\"toggleGroup\");\n}\nexport {\n\tRoot,\n\tItem,\n\t//\n\tRoot as ToggleGroup,\n\tItem as ToggleGroupItem,\n};\n" + }, + { + "name": "toggle-group-item.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "toggle-group.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/toggle.json b/sites/docs/static/registry/styles/new-york-js/toggle.json new file mode 100644 index 000000000..f748d0d96 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/toggle.json @@ -0,0 +1,16 @@ +{ + "name": "toggle", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import { tv } from \"tailwind-variants\";\nimport Root from \"./toggle.svelte\";\nexport const toggleVariants = tv({\n\tbase: \"inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground\",\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: \"bg-transparent\",\n\t\t\toutline:\n\t\t\t\t\"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground\",\n\t\t},\n\t\tsize: {\n\t\t\tdefault: \"h-9 px-3\",\n\t\t\tsm: \"h-8 px-2\",\n\t\t\tlg: \"h-10 px-3\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"default\",\n\t\tsize: \"default\",\n\t},\n});\nexport {\n\tRoot,\n\t//\n\tRoot as Toggle,\n};\n" + }, + { + "name": "toggle.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york-js/tooltip.json b/sites/docs/static/registry/styles/new-york-js/tooltip.json new file mode 100644 index 000000000..0f628ccf0 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york-js/tooltip.json @@ -0,0 +1,16 @@ +{ + "name": "tooltip", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.js", + "content": "import { Tooltip as TooltipPrimitive } from \"bits-ui\";\nimport Content from \"./tooltip-content.svelte\";\nconst Root = TooltipPrimitive.Root;\nconst Trigger = TooltipPrimitive.Trigger;\nexport {\n\tRoot,\n\tTrigger,\n\tContent,\n\t//\n\tRoot as Tooltip,\n\tContent as TooltipContent,\n\tTrigger as TooltipTrigger,\n};\n" + }, + { + "name": "tooltip-content.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/accordion.json b/sites/docs/static/registry/styles/new-york/accordion.json new file mode 100644 index 000000000..279feb8c5 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/accordion.json @@ -0,0 +1,24 @@ +{ + "name": "accordion", + "dependencies": ["bits-ui", "svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "accordion-content.svelte", + "content": "\n\n\n\t
    \n\t\t\n\t
    \n\n" + }, + { + "name": "accordion-item.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "accordion-trigger.svelte", + "content": "\n\n\n\tsvg]:rotate-180\",\n\t\t\tclassName\n\t\t)}\n\t\t{...$$restProps}\n\t\ton:click\n\t>\n\t\t\n\t\t\n\t\n\n" + }, + { + "name": "index.ts", + "content": "import { Accordion as AccordionPrimitive } from \"bits-ui\";\nimport Content from \"./accordion-content.svelte\";\nimport Item from \"./accordion-item.svelte\";\nimport Trigger from \"./accordion-trigger.svelte\";\n\nconst Root = AccordionPrimitive.Root;\nexport {\n\tRoot,\n\tContent,\n\tItem,\n\tTrigger,\n\t//\n\tRoot as Accordion,\n\tContent as AccordionContent,\n\tItem as AccordionItem,\n\tTrigger as AccordionTrigger,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/alert-dialog.json b/sites/docs/static/registry/styles/new-york/alert-dialog.json new file mode 100644 index 000000000..e9af25877 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/alert-dialog.json @@ -0,0 +1,48 @@ +{ + "name": "alert-dialog", + "dependencies": ["bits-ui"], + "registryDependencies": ["button"], + "files": [ + { + "name": "alert-dialog-action.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "alert-dialog-cancel.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "alert-dialog-content.svelte", + "content": "\n\n\n\t\n\t\n\t\t\n\t\n\n" + }, + { + "name": "alert-dialog-description.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "alert-dialog-footer.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "alert-dialog-header.svelte", + "content": "\n\n
    \n\t\n
    \n" + }, + { + "name": "alert-dialog-overlay.svelte", + "content": "\n\n\n" + }, + { + "name": "alert-dialog-portal.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "alert-dialog-title.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "index.ts", + "content": "import { AlertDialog as AlertDialogPrimitive } from \"bits-ui\";\n\nimport Title from \"./alert-dialog-title.svelte\";\nimport Action from \"./alert-dialog-action.svelte\";\nimport Cancel from \"./alert-dialog-cancel.svelte\";\nimport Portal from \"./alert-dialog-portal.svelte\";\nimport Footer from \"./alert-dialog-footer.svelte\";\nimport Header from \"./alert-dialog-header.svelte\";\nimport Overlay from \"./alert-dialog-overlay.svelte\";\nimport Content from \"./alert-dialog-content.svelte\";\nimport Description from \"./alert-dialog-description.svelte\";\n\nconst Root = AlertDialogPrimitive.Root;\nconst Trigger = AlertDialogPrimitive.Trigger;\n\nexport {\n\tRoot,\n\tTitle,\n\tAction,\n\tCancel,\n\tPortal,\n\tFooter,\n\tHeader,\n\tTrigger,\n\tOverlay,\n\tContent,\n\tDescription,\n\t//\n\tRoot as AlertDialog,\n\tTitle as AlertDialogTitle,\n\tAction as AlertDialogAction,\n\tCancel as AlertDialogCancel,\n\tPortal as AlertDialogPortal,\n\tFooter as AlertDialogFooter,\n\tHeader as AlertDialogHeader,\n\tTrigger as AlertDialogTrigger,\n\tOverlay as AlertDialogOverlay,\n\tContent as AlertDialogContent,\n\tDescription as AlertDialogDescription,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/alert.json b/sites/docs/static/registry/styles/new-york/alert.json new file mode 100644 index 000000000..7ccd112d2 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/alert.json @@ -0,0 +1,24 @@ +{ + "name": "alert", + "dependencies": [], + "registryDependencies": [], + "files": [ + { + "name": "alert-description.svelte", + "content": "\n\n
    \n\t\n
    \n" + }, + { + "name": "alert-title.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "alert.svelte", + "content": "\n\n
    \n\t\n
    \n" + }, + { + "name": "index.ts", + "content": "import { type VariantProps, tv } from \"tailwind-variants\";\n\nimport Root from \"./alert.svelte\";\nimport Description from \"./alert-description.svelte\";\nimport Title from \"./alert-title.svelte\";\n\nexport const alertVariants = tv({\n\tbase: \"relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7\",\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: \"bg-background text-foreground\",\n\t\t\tdestructive:\n\t\t\t\t\"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"default\",\n\t},\n});\n\nexport type Variant = VariantProps[\"variant\"];\nexport type HeadingLevel = \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n\nexport {\n\tRoot,\n\tDescription,\n\tTitle,\n\t//\n\tRoot as Alert,\n\tDescription as AlertDescription,\n\tTitle as AlertTitle,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/aspect-ratio.json b/sites/docs/static/registry/styles/new-york/aspect-ratio.json new file mode 100644 index 000000000..b89b0466d --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/aspect-ratio.json @@ -0,0 +1,16 @@ +{ + "name": "aspect-ratio", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "aspect-ratio.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "index.ts", + "content": "import Root from \"./aspect-ratio.svelte\";\n\nexport { Root, Root as AspectRatio };\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/avatar.json b/sites/docs/static/registry/styles/new-york/avatar.json new file mode 100644 index 000000000..f36ace372 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/avatar.json @@ -0,0 +1,24 @@ +{ + "name": "avatar", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "avatar-fallback.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "avatar-image.svelte", + "content": "\n\n\n" + }, + { + "name": "avatar.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "index.ts", + "content": "import Root from \"./avatar.svelte\";\nimport Image from \"./avatar-image.svelte\";\nimport Fallback from \"./avatar-fallback.svelte\";\n\nexport {\n\tRoot,\n\tImage,\n\tFallback,\n\t//\n\tRoot as Avatar,\n\tImage as AvatarImage,\n\tFallback as AvatarFallback,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/badge.json b/sites/docs/static/registry/styles/new-york/badge.json new file mode 100644 index 000000000..0b1fe8776 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/badge.json @@ -0,0 +1,16 @@ +{ + "name": "badge", + "dependencies": [], + "registryDependencies": [], + "files": [ + { + "name": "badge.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "index.ts", + "content": "import { type VariantProps, tv } from \"tailwind-variants\";\n\nexport { default as Badge } from \"./badge.svelte\";\nexport const badgeVariants = tv({\n\tbase: \"inline-flex select-none items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\",\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault:\n\t\t\t\t\"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80\",\n\t\t\tsecondary:\n\t\t\t\t\"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80\",\n\t\t\tdestructive:\n\t\t\t\t\"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80\",\n\t\t\toutline: \"text-foreground\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"default\",\n\t},\n});\n\nexport type Variant = VariantProps[\"variant\"];\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/breadcrumb.json b/sites/docs/static/registry/styles/new-york/breadcrumb.json new file mode 100644 index 000000000..0e2abbe80 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/breadcrumb.json @@ -0,0 +1,40 @@ +{ + "name": "breadcrumb", + "dependencies": ["svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "breadcrumb-ellipsis.svelte", + "content": "\n\n\n\t\n\tMore\n\n" + }, + { + "name": "breadcrumb-item.svelte", + "content": "\n\n
  • \n\t\n
  • \n" + }, + { + "name": "breadcrumb-link.svelte", + "content": "\n\n{#if asChild}\n\t\n{:else}\n\t\n\t\t\n\t\n{/if}\n" + }, + { + "name": "breadcrumb-list.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "breadcrumb-page.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "breadcrumb-separator.svelte", + "content": "\n\nsvg]:size-3.5\", className)}\n\tbind:this={el}\n\t{...$$restProps}\n>\n\t\n\t\t\n\t\n\n" + }, + { + "name": "breadcrumb.svelte", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "import Root from \"./breadcrumb.svelte\";\nimport Ellipsis from \"./breadcrumb-ellipsis.svelte\";\nimport Item from \"./breadcrumb-item.svelte\";\nimport Separator from \"./breadcrumb-separator.svelte\";\nimport Link from \"./breadcrumb-link.svelte\";\nimport List from \"./breadcrumb-list.svelte\";\nimport Page from \"./breadcrumb-page.svelte\";\n\nexport {\n\tRoot,\n\tEllipsis,\n\tItem,\n\tSeparator,\n\tLink,\n\tList,\n\tPage,\n\t//\n\tRoot as Breadcrumb,\n\tEllipsis as BreadcrumbEllipsis,\n\tItem as BreadcrumbItem,\n\tSeparator as BreadcrumbSeparator,\n\tLink as BreadcrumbLink,\n\tList as BreadcrumbList,\n\tPage as BreadcrumbPage,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/button.json b/sites/docs/static/registry/styles/new-york/button.json new file mode 100644 index 000000000..ff203973b --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/button.json @@ -0,0 +1,16 @@ +{ + "name": "button", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "button.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "index.ts", + "content": "import type { Button as ButtonPrimitive } from \"bits-ui\";\nimport { type VariantProps, tv } from \"tailwind-variants\";\nimport Root from \"./button.svelte\";\n\nconst buttonVariants = tv({\n\tbase: \"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50\",\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: \"bg-primary text-primary-foreground shadow hover:bg-primary/90\",\n\t\t\tdestructive:\n\t\t\t\t\"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90\",\n\t\t\toutline:\n\t\t\t\t\"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground\",\n\t\t\tsecondary: \"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80\",\n\t\t\tghost: \"hover:bg-accent hover:text-accent-foreground\",\n\t\t\tlink: \"text-primary underline-offset-4 hover:underline\",\n\t\t},\n\t\tsize: {\n\t\t\tdefault: \"h-9 px-4 py-2\",\n\t\t\tsm: \"h-8 rounded-md px-3 text-xs\",\n\t\t\tlg: \"h-10 rounded-md px-8\",\n\t\t\ticon: \"h-9 w-9\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"default\",\n\t\tsize: \"default\",\n\t},\n});\n\ntype Variant = VariantProps[\"variant\"];\ntype Size = VariantProps[\"size\"];\n\ntype Props = ButtonPrimitive.Props & {\n\tvariant?: Variant;\n\tsize?: Size;\n};\n\ntype Events = ButtonPrimitive.Events;\n\nexport {\n\tRoot,\n\ttype Props,\n\ttype Events,\n\t//\n\tRoot as Button,\n\ttype Props as ButtonProps,\n\ttype Events as ButtonEvents,\n\tbuttonVariants,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/calendar.json b/sites/docs/static/registry/styles/new-york/calendar.json new file mode 100644 index 000000000..18a15fd20 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/calendar.json @@ -0,0 +1,64 @@ +{ + "name": "calendar", + "dependencies": ["bits-ui", "@internationalized/date", "svelte-radix"], + "registryDependencies": ["button"], + "files": [ + { + "name": "calendar-cell.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "calendar-day.svelte", + "content": "\n\n\n\t\n\t\t{date.day}\n\t\n\n" + }, + { + "name": "calendar-grid-body.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "calendar-grid-head.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "calendar-grid-row.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "calendar-grid.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "calendar-head-cell.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "calendar-header.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "calendar-heading.svelte", + "content": "\n\n\n\t\n\t\t{headingValue}\n\t\n\n" + }, + { + "name": "calendar-months.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "calendar-next-button.svelte", + "content": "\n\n\n\t\n\t\t\n\t\n\n" + }, + { + "name": "calendar-prev-button.svelte", + "content": "\n\n\n\t\n\t\t\n\t\n\n" + }, + { + "name": "calendar.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\n\t\t\n\t\n\t\n\t\t{#each months as month}\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{#each weekdays as weekday}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{weekday.slice(0, 2)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t{/each}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{#each month.weeks as weekDates}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{#each weekDates as date}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{/each}\n\t\t\t\t\t\t\n\t\t\t\t\t{/each}\n\t\t\t\t\n\t\t\t\n\t\t{/each}\n\t\n\n" + }, + { + "name": "index.ts", + "content": "import Root from \"./calendar.svelte\";\nimport Cell from \"./calendar-cell.svelte\";\nimport Day from \"./calendar-day.svelte\";\nimport Grid from \"./calendar-grid.svelte\";\nimport Header from \"./calendar-header.svelte\";\nimport Months from \"./calendar-months.svelte\";\nimport GridRow from \"./calendar-grid-row.svelte\";\nimport Heading from \"./calendar-heading.svelte\";\nimport GridBody from \"./calendar-grid-body.svelte\";\nimport GridHead from \"./calendar-grid-head.svelte\";\nimport HeadCell from \"./calendar-head-cell.svelte\";\nimport NextButton from \"./calendar-next-button.svelte\";\nimport PrevButton from \"./calendar-prev-button.svelte\";\n\nexport {\n\tDay,\n\tCell,\n\tGrid,\n\tHeader,\n\tMonths,\n\tGridRow,\n\tHeading,\n\tGridBody,\n\tGridHead,\n\tHeadCell,\n\tNextButton,\n\tPrevButton,\n\t//\n\tRoot as Calendar,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/card.json b/sites/docs/static/registry/styles/new-york/card.json new file mode 100644 index 000000000..d8eba5a3d --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/card.json @@ -0,0 +1,36 @@ +{ + "name": "card", + "dependencies": [], + "registryDependencies": [], + "files": [ + { + "name": "card-content.svelte", + "content": "\n\n
    \n\t\n
    \n" + }, + { + "name": "card-description.svelte", + "content": "\n\n

    \n\t\n

    \n" + }, + { + "name": "card-footer.svelte", + "content": "\n\n
    \n\t\n
    \n" + }, + { + "name": "card-header.svelte", + "content": "\n\n
    \n\t\n
    \n" + }, + { + "name": "card-title.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "card.svelte", + "content": "\n\n\n\n\t\n\n" + }, + { + "name": "index.ts", + "content": "import Root from \"./card.svelte\";\nimport Content from \"./card-content.svelte\";\nimport Description from \"./card-description.svelte\";\nimport Footer from \"./card-footer.svelte\";\nimport Header from \"./card-header.svelte\";\nimport Title from \"./card-title.svelte\";\n\nexport {\n\tRoot,\n\tContent,\n\tDescription,\n\tFooter,\n\tHeader,\n\tTitle,\n\t//\n\tRoot as Card,\n\tContent as CardContent,\n\tDescription as CardDescription,\n\tFooter as CardFooter,\n\tHeader as CardHeader,\n\tTitle as CardTitle,\n};\n\nexport type HeadingLevel = \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/carousel.json b/sites/docs/static/registry/styles/new-york/carousel.json new file mode 100644 index 000000000..c9b9d1a92 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/carousel.json @@ -0,0 +1,36 @@ +{ + "name": "carousel", + "dependencies": ["embla-carousel-svelte", "svelte-radix"], + "registryDependencies": ["button"], + "files": [ + { + "name": "carousel-content.svelte", + "content": "\n\n\n\t\n\t\t\n\t\n\n" + }, + { + "name": "carousel-item.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "carousel-next.svelte", + "content": "\n\n\n\t\n\tNext slide\n\n" + }, + { + "name": "carousel-previous.svelte", + "content": "\n\n\n\t\n\tPrevious slide\n\n" + }, + { + "name": "carousel.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "context.ts", + "content": "import type { EmblaCarouselSvelteType } from \"embla-carousel-svelte\";\nimport type emblaCarouselSvelte from \"embla-carousel-svelte\";\nimport { getContext, hasContext, setContext } from \"svelte\";\nimport type { HTMLAttributes } from \"svelte/elements\";\nimport type { Readable, Writable } from \"svelte/store\";\n\nexport type CarouselAPI =\n\tNonNullable[\"on:emblaInit\"]> extends (\n\t\tevt: CustomEvent\n\t) => void\n\t\t? CarouselAPI\n\t\t: never;\n\ntype EmblaCarouselConfig = NonNullable[1]>;\n\nexport type CarouselOptions = EmblaCarouselConfig[\"options\"];\nexport type CarouselPlugins = EmblaCarouselConfig[\"plugins\"];\n\n////\n\nexport type CarouselProps = {\n\topts?: CarouselOptions;\n\tplugins?: CarouselPlugins;\n\tapi?: CarouselAPI;\n\torientation?: \"horizontal\" | \"vertical\";\n} & HTMLAttributes;\n\nconst EMBLA_CAROUSEL_CONTEXT = Symbol(\"EMBLA_CAROUSEL_CONTEXT\");\n\ntype EmblaContext = {\n\tapi: Writable;\n\torientation: Writable<\"horizontal\" | \"vertical\">;\n\tscrollNext: () => void;\n\tscrollPrev: () => void;\n\tcanScrollNext: Readable;\n\tcanScrollPrev: Readable;\n\thandleKeyDown: (e: KeyboardEvent) => void;\n\toptions: Writable;\n\tplugins: Writable;\n\tonInit: (e: CustomEvent) => void;\n\tscrollTo: (index: number, jump?: boolean) => void;\n\tscrollSnaps: Readable;\n\tselectedIndex: Readable;\n};\n\nexport function setEmblaContext(config: EmblaContext): EmblaContext {\n\tsetContext(EMBLA_CAROUSEL_CONTEXT, config);\n\treturn config;\n}\n\nexport function getEmblaContext(name = \"This component\") {\n\tif (!hasContext(EMBLA_CAROUSEL_CONTEXT)) {\n\t\tthrow new Error(`${name} must be used within a component`);\n\t}\n\treturn getContext>(EMBLA_CAROUSEL_CONTEXT);\n}\n" + }, + { + "name": "index.ts", + "content": "export { default as Root } from \"./carousel.svelte\";\nexport { default as Content } from \"./carousel-content.svelte\";\nexport { default as Item } from \"./carousel-item.svelte\";\nexport { default as Previous } from \"./carousel-previous.svelte\";\nexport { default as Next } from \"./carousel-next.svelte\";\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/checkbox.json b/sites/docs/static/registry/styles/new-york/checkbox.json new file mode 100644 index 000000000..4531666ec --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/checkbox.json @@ -0,0 +1,16 @@ +{ + "name": "checkbox", + "dependencies": ["bits-ui", "svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "checkbox.svelte", + "content": "\n\n\n\t\n\t\t{#if isIndeterminate}\n\t\t\t\n\t\t{:else}\n\t\t\t\n\t\t{/if}\n\t\n\n" + }, + { + "name": "index.ts", + "content": "import Root from \"./checkbox.svelte\";\nexport {\n\tRoot,\n\t//\n\tRoot as Checkbox,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/collapsible.json b/sites/docs/static/registry/styles/new-york/collapsible.json new file mode 100644 index 000000000..21d5853f7 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/collapsible.json @@ -0,0 +1,16 @@ +{ + "name": "collapsible", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "collapsible-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "index.ts", + "content": "import { Collapsible as CollapsiblePrimitive } from \"bits-ui\";\nimport Content from \"./collapsible-content.svelte\";\n\nconst Root = CollapsiblePrimitive.Root;\nconst Trigger = CollapsiblePrimitive.Trigger;\n\nexport {\n\tRoot,\n\tContent,\n\tTrigger,\n\t//\n\tRoot as Collapsible,\n\tContent as CollapsibleContent,\n\tTrigger as CollapsibleTrigger,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/command.json b/sites/docs/static/registry/styles/new-york/command.json new file mode 100644 index 000000000..348892cb4 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/command.json @@ -0,0 +1,48 @@ +{ + "name": "command", + "dependencies": ["cmdk-sv", "bits-ui", "svelte-radix"], + "registryDependencies": ["dialog"], + "files": [ + { + "name": "command-dialog.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\n" + }, + { + "name": "command-empty.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "command-group.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "command-input.svelte", + "content": "\n\n
    \n\t\n\t\n
    \n" + }, + { + "name": "command-item.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "command-list.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "command-separator.svelte", + "content": "\n\n\n" + }, + { + "name": "command-shortcut.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "command.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "index.ts", + "content": "import { Command as CommandPrimitive } from \"cmdk-sv\";\n\nimport Root from \"./command.svelte\";\nimport Dialog from \"./command-dialog.svelte\";\nimport Empty from \"./command-empty.svelte\";\nimport Group from \"./command-group.svelte\";\nimport Item from \"./command-item.svelte\";\nimport Input from \"./command-input.svelte\";\nimport List from \"./command-list.svelte\";\nimport Separator from \"./command-separator.svelte\";\nimport Shortcut from \"./command-shortcut.svelte\";\n\nconst Loading = CommandPrimitive.Loading;\n\nexport {\n\tRoot,\n\tDialog,\n\tEmpty,\n\tGroup,\n\tItem,\n\tInput,\n\tList,\n\tSeparator,\n\tShortcut,\n\tLoading,\n\t//\n\tRoot as Command,\n\tDialog as CommandDialog,\n\tEmpty as CommandEmpty,\n\tGroup as CommandGroup,\n\tItem as CommandItem,\n\tInput as CommandInput,\n\tList as CommandList,\n\tSeparator as CommandSeparator,\n\tShortcut as CommandShortcut,\n\tLoading as CommandLoading,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/context-menu.json b/sites/docs/static/registry/styles/new-york/context-menu.json new file mode 100644 index 000000000..452ce7283 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/context-menu.json @@ -0,0 +1,52 @@ +{ + "name": "context-menu", + "dependencies": ["bits-ui", "svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "context-menu-checkbox-item.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" + }, + { + "name": "context-menu-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "context-menu-item.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "context-menu-label.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "context-menu-radio-group.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "context-menu-radio-item.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" + }, + { + "name": "context-menu-separator.svelte", + "content": "\n\n\n" + }, + { + "name": "context-menu-shortcut.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "context-menu-sub-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "context-menu-sub-trigger.svelte", + "content": "\n\n\n\t\n\t\n\n" + }, + { + "name": "index.ts", + "content": "import { ContextMenu as ContextMenuPrimitive } from \"bits-ui\";\n\nimport Item from \"./context-menu-item.svelte\";\nimport Label from \"./context-menu-label.svelte\";\nimport Content from \"./context-menu-content.svelte\";\nimport Shortcut from \"./context-menu-shortcut.svelte\";\nimport RadioItem from \"./context-menu-radio-item.svelte\";\nimport Separator from \"./context-menu-separator.svelte\";\nimport RadioGroup from \"./context-menu-radio-group.svelte\";\nimport SubContent from \"./context-menu-sub-content.svelte\";\nimport SubTrigger from \"./context-menu-sub-trigger.svelte\";\nimport CheckboxItem from \"./context-menu-checkbox-item.svelte\";\n\nconst Sub = ContextMenuPrimitive.Sub;\nconst Root = ContextMenuPrimitive.Root;\nconst Trigger = ContextMenuPrimitive.Trigger;\nconst Group = ContextMenuPrimitive.Group;\n\nexport {\n\tSub,\n\tRoot,\n\tItem,\n\tLabel,\n\tGroup,\n\tTrigger,\n\tContent,\n\tShortcut,\n\tSeparator,\n\tRadioItem,\n\tSubContent,\n\tSubTrigger,\n\tRadioGroup,\n\tCheckboxItem,\n\t//\n\tRoot as ContextMenu,\n\tSub as ContextMenuSub,\n\tItem as ContextMenuItem,\n\tLabel as ContextMenuLabel,\n\tGroup as ContextMenuGroup,\n\tContent as ContextMenuContent,\n\tTrigger as ContextMenuTrigger,\n\tShortcut as ContextMenuShortcut,\n\tRadioItem as ContextMenuRadioItem,\n\tSeparator as ContextMenuSeparator,\n\tRadioGroup as ContextMenuRadioGroup,\n\tSubContent as ContextMenuSubContent,\n\tSubTrigger as ContextMenuSubTrigger,\n\tCheckboxItem as ContextMenuCheckboxItem,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/dialog.json b/sites/docs/static/registry/styles/new-york/dialog.json new file mode 100644 index 000000000..1f459acc2 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/dialog.json @@ -0,0 +1,40 @@ +{ + "name": "dialog", + "dependencies": ["bits-ui", "svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "dialog-content.svelte", + "content": "\n\n\n\t\n\t\n\t\t\n\t\t\n\t\t\t\n\t\t\tClose\n\t\t\n\t\n\n" + }, + { + "name": "dialog-description.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dialog-footer.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dialog-header.svelte", + "content": "\n\n
    \n\t\n
    \n" + }, + { + "name": "dialog-overlay.svelte", + "content": "\n\n\n" + }, + { + "name": "dialog-portal.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dialog-title.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "index.ts", + "content": "import { Dialog as DialogPrimitive } from \"bits-ui\";\n\nimport Title from \"./dialog-title.svelte\";\nimport Portal from \"./dialog-portal.svelte\";\nimport Footer from \"./dialog-footer.svelte\";\nimport Header from \"./dialog-header.svelte\";\nimport Overlay from \"./dialog-overlay.svelte\";\nimport Content from \"./dialog-content.svelte\";\nimport Description from \"./dialog-description.svelte\";\n\nconst Root = DialogPrimitive.Root;\nconst Trigger = DialogPrimitive.Trigger;\nconst Close = DialogPrimitive.Close;\n\nexport {\n\tRoot,\n\tTitle,\n\tPortal,\n\tFooter,\n\tHeader,\n\tTrigger,\n\tOverlay,\n\tContent,\n\tDescription,\n\tClose,\n\t//\n\tRoot as Dialog,\n\tTitle as DialogTitle,\n\tPortal as DialogPortal,\n\tFooter as DialogFooter,\n\tHeader as DialogHeader,\n\tTrigger as DialogTrigger,\n\tOverlay as DialogOverlay,\n\tContent as DialogContent,\n\tDescription as DialogDescription,\n\tClose as DialogClose,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/drawer.json b/sites/docs/static/registry/styles/new-york/drawer.json new file mode 100644 index 000000000..eaa40045c --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/drawer.json @@ -0,0 +1,44 @@ +{ + "name": "drawer", + "dependencies": ["vaul-svelte"], + "registryDependencies": [], + "files": [ + { + "name": "drawer-content.svelte", + "content": "\n\n\n\t\n\t\n\t\t
    \n\t\t\n\t\n
    \n" + }, + { + "name": "drawer-description.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "drawer-footer.svelte", + "content": "\n\n
    \n\t\n
    \n" + }, + { + "name": "drawer-header.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "drawer-nested.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "drawer-overlay.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "drawer-title.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "drawer.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "index.ts", + "content": "import { Drawer as DrawerPrimitive } from \"vaul-svelte\";\n\nimport Root from \"./drawer.svelte\";\nimport Content from \"./drawer-content.svelte\";\nimport Description from \"./drawer-description.svelte\";\nimport Overlay from \"./drawer-overlay.svelte\";\nimport Footer from \"./drawer-footer.svelte\";\nimport Header from \"./drawer-header.svelte\";\nimport Title from \"./drawer-title.svelte\";\nimport NestedRoot from \"./drawer-nested.svelte\";\n\nconst Trigger = DrawerPrimitive.Trigger;\nconst Portal = DrawerPrimitive.Portal;\nconst Close = DrawerPrimitive.Close;\n\nexport {\n\tRoot,\n\tNestedRoot,\n\tContent,\n\tDescription,\n\tOverlay,\n\tFooter,\n\tHeader,\n\tTitle,\n\tTrigger,\n\tPortal,\n\tClose,\n\t//\n\tRoot as Drawer,\n\tNestedRoot as DrawerNestedRoot,\n\tContent as DrawerContent,\n\tDescription as DrawerDescription,\n\tOverlay as DrawerOverlay,\n\tFooter as DrawerFooter,\n\tHeader as DrawerHeader,\n\tTitle as DrawerTitle,\n\tTrigger as DrawerTrigger,\n\tPortal as DrawerPortal,\n\tClose as DrawerClose,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/dropdown-menu.json b/sites/docs/static/registry/styles/new-york/dropdown-menu.json new file mode 100644 index 000000000..bc25bbb1c --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/dropdown-menu.json @@ -0,0 +1,52 @@ +{ + "name": "dropdown-menu", + "dependencies": ["bits-ui", "svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "dropdown-menu-checkbox-item.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" + }, + { + "name": "dropdown-menu-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dropdown-menu-item.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dropdown-menu-label.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dropdown-menu-radio-group.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dropdown-menu-radio-item.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" + }, + { + "name": "dropdown-menu-separator.svelte", + "content": "\n\n\n" + }, + { + "name": "dropdown-menu-shortcut.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dropdown-menu-sub-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "dropdown-menu-sub-trigger.svelte", + "content": "\n\n\n\t\n\t\n\n" + }, + { + "name": "index.ts", + "content": "import { DropdownMenu as DropdownMenuPrimitive } from \"bits-ui\";\nimport Item from \"./dropdown-menu-item.svelte\";\nimport Label from \"./dropdown-menu-label.svelte\";\nimport Content from \"./dropdown-menu-content.svelte\";\nimport Shortcut from \"./dropdown-menu-shortcut.svelte\";\nimport RadioItem from \"./dropdown-menu-radio-item.svelte\";\nimport Separator from \"./dropdown-menu-separator.svelte\";\nimport RadioGroup from \"./dropdown-menu-radio-group.svelte\";\nimport SubContent from \"./dropdown-menu-sub-content.svelte\";\nimport SubTrigger from \"./dropdown-menu-sub-trigger.svelte\";\nimport CheckboxItem from \"./dropdown-menu-checkbox-item.svelte\";\n\nconst Sub = DropdownMenuPrimitive.Sub;\nconst Root = DropdownMenuPrimitive.Root;\nconst Trigger = DropdownMenuPrimitive.Trigger;\nconst Group = DropdownMenuPrimitive.Group;\n\nexport {\n\tSub,\n\tRoot,\n\tItem,\n\tLabel,\n\tGroup,\n\tTrigger,\n\tContent,\n\tShortcut,\n\tSeparator,\n\tRadioItem,\n\tSubContent,\n\tSubTrigger,\n\tRadioGroup,\n\tCheckboxItem,\n\t//\n\tRoot as DropdownMenu,\n\tSub as DropdownMenuSub,\n\tItem as DropdownMenuItem,\n\tLabel as DropdownMenuLabel,\n\tGroup as DropdownMenuGroup,\n\tContent as DropdownMenuContent,\n\tTrigger as DropdownMenuTrigger,\n\tShortcut as DropdownMenuShortcut,\n\tRadioItem as DropdownMenuRadioItem,\n\tSeparator as DropdownMenuSeparator,\n\tRadioGroup as DropdownMenuRadioGroup,\n\tSubContent as DropdownMenuSubContent,\n\tSubTrigger as DropdownMenuSubTrigger,\n\tCheckboxItem as DropdownMenuCheckboxItem,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/form.json b/sites/docs/static/registry/styles/new-york/form.json new file mode 100644 index 000000000..d3e2fe036 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/form.json @@ -0,0 +1,44 @@ +{ + "name": "form", + "dependencies": ["formsnap", "zod", "sveltekit-superforms"], + "registryDependencies": ["button", "label"], + "files": [ + { + "name": "form-button.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "form-description.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "form-element-field.svelte", + "content": "\n\n\n\n\n\t
    \n\t\t\n\t
    \n
    \n" + }, + { + "name": "form-field-errors.svelte", + "content": "\n\n\n\t\n\t\t{#each errors as error}\n\t\t\t
    {error}
    \n\t\t{/each}\n\t
    \n\n" + }, + { + "name": "form-field.svelte", + "content": "\n\n\n\n\n\t
    \n\t\t\n\t
    \n
    \n" + }, + { + "name": "form-fieldset.svelte", + "content": "\n\n\n\n\n\t\n\n" + }, + { + "name": "form-label.svelte", + "content": "\n\n\n" + }, + { + "name": "form-legend.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "index.ts", + "content": "import * as FormPrimitive from \"formsnap\";\nimport Description from \"./form-description.svelte\";\nimport Label from \"./form-label.svelte\";\nimport FieldErrors from \"./form-field-errors.svelte\";\nimport Field from \"./form-field.svelte\";\nimport Button from \"./form-button.svelte\";\nimport Fieldset from \"./form-fieldset.svelte\";\nimport Legend from \"./form-legend.svelte\";\nimport ElementField from \"./form-element-field.svelte\";\n\nconst Control = FormPrimitive.Control;\n\nexport {\n\tField,\n\tControl,\n\tLabel,\n\tFieldErrors,\n\tDescription,\n\tFieldset,\n\tLegend,\n\tElementField,\n\tButton,\n\t//\n\tField as FormField,\n\tControl as FormControl,\n\tDescription as FormDescription,\n\tLabel as FormLabel,\n\tFieldErrors as FormFieldErrors,\n\tFieldset as FormFieldset,\n\tLegend as FormLegend,\n\tElementField as FormElementField,\n\tButton as FormButton,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/hover-card.json b/sites/docs/static/registry/styles/new-york/hover-card.json new file mode 100644 index 000000000..7a8d9994e --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/hover-card.json @@ -0,0 +1,16 @@ +{ + "name": "hover-card", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "hover-card-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "index.ts", + "content": "import { LinkPreview as HoverCardPrimitive } from \"bits-ui\";\n\nimport Content from \"./hover-card-content.svelte\";\nconst Root = HoverCardPrimitive.Root;\nconst Trigger = HoverCardPrimitive.Trigger;\n\nexport {\n\tRoot,\n\tContent,\n\tTrigger,\n\tRoot as HoverCard,\n\tContent as HoverCardContent,\n\tTrigger as HoverCardTrigger,\n};\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/input.json b/sites/docs/static/registry/styles/new-york/input.json new file mode 100644 index 000000000..cf533efe6 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/input.json @@ -0,0 +1,16 @@ +{ + "name": "input", + "dependencies": [], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import Root from \"./input.svelte\";\n\nexport type FormInputEvent = T & {\n\tcurrentTarget: EventTarget & HTMLInputElement;\n};\nexport type InputEvents = {\n\tblur: FormInputEvent;\n\tchange: FormInputEvent;\n\tclick: FormInputEvent;\n\tfocus: FormInputEvent;\n\tfocusin: FormInputEvent;\n\tfocusout: FormInputEvent;\n\tkeydown: FormInputEvent;\n\tkeypress: FormInputEvent;\n\tkeyup: FormInputEvent;\n\tmouseover: FormInputEvent;\n\tmouseenter: FormInputEvent;\n\tmouseleave: FormInputEvent;\n\tmousemove: FormInputEvent;\n\tpaste: FormInputEvent;\n\tinput: FormInputEvent;\n\twheel: FormInputEvent;\n};\n\nexport {\n\tRoot,\n\t//\n\tRoot as Input,\n};\n" + }, + { + "name": "input.svelte", + "content": "\n\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/label.json b/sites/docs/static/registry/styles/new-york/label.json new file mode 100644 index 000000000..c56b0c2d9 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/label.json @@ -0,0 +1,16 @@ +{ + "name": "label", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import Root from \"./label.svelte\";\n\nexport {\n\tRoot,\n\t//\n\tRoot as Label,\n};\n" + }, + { + "name": "label.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/menubar.json b/sites/docs/static/registry/styles/new-york/menubar.json new file mode 100644 index 000000000..6884d6710 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/menubar.json @@ -0,0 +1,56 @@ +{ + "name": "menubar", + "dependencies": ["bits-ui", "svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import { Menubar as MenubarPrimitive } from \"bits-ui\";\n\nimport Root from \"./menubar.svelte\";\nimport CheckboxItem from \"./menubar-checkbox-item.svelte\";\nimport Content from \"./menubar-content.svelte\";\nimport Item from \"./menubar-item.svelte\";\nimport Label from \"./menubar-label.svelte\";\nimport RadioItem from \"./menubar-radio-item.svelte\";\nimport Separator from \"./menubar-separator.svelte\";\nimport Shortcut from \"./menubar-shortcut.svelte\";\nimport SubContent from \"./menubar-sub-content.svelte\";\nimport SubTrigger from \"./menubar-sub-trigger.svelte\";\nimport Trigger from \"./menubar-trigger.svelte\";\n\nconst Menu = MenubarPrimitive.Menu;\nconst Group = MenubarPrimitive.Group;\nconst Sub = MenubarPrimitive.Sub;\nconst RadioGroup = MenubarPrimitive.RadioGroup;\n\nexport {\n\tRoot,\n\tCheckboxItem,\n\tContent,\n\tItem,\n\tLabel,\n\tRadioItem,\n\tSeparator,\n\tShortcut,\n\tSubContent,\n\tSubTrigger,\n\tTrigger,\n\tMenu,\n\tGroup,\n\tSub,\n\tRadioGroup,\n\t//\n\tRoot as Menubar,\n\tCheckboxItem as MenubarCheckboxItem,\n\tContent as MenubarContent,\n\tItem as MenubarItem,\n\tLabel as MenubarLabel,\n\tRadioItem as MenubarRadioItem,\n\tSeparator as MenubarSeparator,\n\tShortcut as MenubarShortcut,\n\tSubContent as MenubarSubContent,\n\tSubTrigger as MenubarSubTrigger,\n\tTrigger as MenubarTrigger,\n\tMenu as MenubarMenu,\n\tGroup as MenubarGroup,\n\tSub as MenubarSub,\n\tRadioGroup as MenubarRadioGroup,\n};\n" + }, + { + "name": "menubar-checkbox-item.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" + }, + { + "name": "menubar-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "menubar-item.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "menubar-label.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "menubar-radio-item.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\n" + }, + { + "name": "menubar-separator.svelte", + "content": "\n\n\n" + }, + { + "name": "menubar-shortcut.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "menubar-sub-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "menubar-sub-trigger.svelte", + "content": "\n\n\n\t\n\t\n\n" + }, + { + "name": "menubar-trigger.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "menubar.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/pagination.json b/sites/docs/static/registry/styles/new-york/pagination.json new file mode 100644 index 000000000..67a81b409 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/pagination.json @@ -0,0 +1,40 @@ +{ + "name": "pagination", + "dependencies": ["svelte-radix", "bits-ui"], + "registryDependencies": ["button"], + "files": [ + { + "name": "index.ts", + "content": "import Root from \"./pagination.svelte\";\nimport Content from \"./pagination-content.svelte\";\nimport Item from \"./pagination-item.svelte\";\nimport Link from \"./pagination-link.svelte\";\nimport PrevButton from \"./pagination-prev-button.svelte\";\nimport NextButton from \"./pagination-next-button.svelte\";\nimport Ellipsis from \"./pagination-ellipsis.svelte\";\nexport {\n\tRoot,\n\tContent,\n\tItem,\n\tLink,\n\tPrevButton,\n\tNextButton,\n\tEllipsis,\n\t//\n\tRoot as Pagination,\n\tContent as PaginationContent,\n\tItem as PaginationItem,\n\tLink as PaginationLink,\n\tPrevButton as PaginationPrevButton,\n\tNextButton as PaginationNextButton,\n\tEllipsis as PaginationEllipsis,\n};\n" + }, + { + "name": "pagination-content.svelte", + "content": "\n\n
      \n\t\n
    \n" + }, + { + "name": "pagination-ellipsis.svelte", + "content": "\n\n\n\t\n\tMore pages\n\n" + }, + { + "name": "pagination-item.svelte", + "content": "\n\n
  • \n\t\n
  • \n" + }, + { + "name": "pagination-link.svelte", + "content": "\n\n\n\t{page.value}\n\n" + }, + { + "name": "pagination-next-button.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\tNext\n\t\t\t\n\t\t\n\t\n\n" + }, + { + "name": "pagination-prev-button.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\tPrevious\n\t\t\n\t\n\n" + }, + { + "name": "pagination.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/popover.json b/sites/docs/static/registry/styles/new-york/popover.json new file mode 100644 index 000000000..328678947 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/popover.json @@ -0,0 +1,16 @@ +{ + "name": "popover", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import { Popover as PopoverPrimitive } from \"bits-ui\";\nimport Content from \"./popover-content.svelte\";\nconst Root = PopoverPrimitive.Root;\nconst Trigger = PopoverPrimitive.Trigger;\nconst Close = PopoverPrimitive.Close;\n\nexport {\n\tRoot,\n\tContent,\n\tTrigger,\n\tClose,\n\t//\n\tRoot as Popover,\n\tContent as PopoverContent,\n\tTrigger as PopoverTrigger,\n\tClose as PopoverClose,\n};\n" + }, + { + "name": "popover-content.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/progress.json b/sites/docs/static/registry/styles/new-york/progress.json new file mode 100644 index 000000000..7e2a20621 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/progress.json @@ -0,0 +1,16 @@ +{ + "name": "progress", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import Root from \"./progress.svelte\";\n\nexport {\n\tRoot,\n\t//\n\tRoot as Progress,\n};\n" + }, + { + "name": "progress.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/radio-group.json b/sites/docs/static/registry/styles/new-york/radio-group.json new file mode 100644 index 000000000..27088739f --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/radio-group.json @@ -0,0 +1,20 @@ +{ + "name": "radio-group", + "dependencies": ["bits-ui", "svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import { RadioGroup as RadioGroupPrimitive } from \"bits-ui\";\n\nimport Root from \"./radio-group.svelte\";\nimport Item from \"./radio-group-item.svelte\";\nconst Input = RadioGroupPrimitive.Input;\n\nexport {\n\tRoot,\n\tInput,\n\tItem,\n\t//\n\tRoot as RadioGroup,\n\tInput as RadioGroupInput,\n\tItem as RadioGroupItem,\n};\n" + }, + { + "name": "radio-group-item.svelte", + "content": "\n\n\n\t
    \n\t\t\n\t\t\t\n\t\t\n\t
    \n\n" + }, + { + "name": "radio-group.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/range-calendar.json b/sites/docs/static/registry/styles/new-york/range-calendar.json new file mode 100644 index 000000000..578f7852d --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/range-calendar.json @@ -0,0 +1,64 @@ +{ + "name": "range-calendar", + "dependencies": ["bits-ui", "@internationalized/date", "svelte-radix"], + "registryDependencies": ["button"], + "files": [ + { + "name": "index.ts", + "content": "import Root from \"./range-calendar.svelte\";\nimport Cell from \"./range-calendar-cell.svelte\";\nimport Day from \"./range-calendar-day.svelte\";\nimport Grid from \"./range-calendar-grid.svelte\";\nimport Header from \"./range-calendar-header.svelte\";\nimport Months from \"./range-calendar-months.svelte\";\nimport GridRow from \"./range-calendar-grid-row.svelte\";\nimport Heading from \"./range-calendar-heading.svelte\";\nimport GridBody from \"./range-calendar-grid-body.svelte\";\nimport GridHead from \"./range-calendar-grid-head.svelte\";\nimport HeadCell from \"./range-calendar-head-cell.svelte\";\nimport NextButton from \"./range-calendar-next-button.svelte\";\nimport PrevButton from \"./range-calendar-prev-button.svelte\";\n\nexport {\n\tDay,\n\tCell,\n\tGrid,\n\tHeader,\n\tMonths,\n\tGridRow,\n\tHeading,\n\tGridBody,\n\tGridHead,\n\tHeadCell,\n\tNextButton,\n\tPrevButton,\n\t//\n\tRoot as RangeCalendar,\n};\n" + }, + { + "name": "range-calendar-cell.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "range-calendar-day.svelte", + "content": "\n\n\n\t\n\t\t{date.day}\n\t\n\n" + }, + { + "name": "range-calendar-grid-body.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "range-calendar-grid-head.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "range-calendar-grid-row.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "range-calendar-grid.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "range-calendar-head-cell.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "range-calendar-header.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "range-calendar-heading.svelte", + "content": "\n\n\n\t\n\t\t{headingValue}\n\t\n\n" + }, + { + "name": "range-calendar-months.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "range-calendar-next-button.svelte", + "content": "\n\n\n\t\n\t\t\n\t\n\n" + }, + { + "name": "range-calendar-prev-button.svelte", + "content": "\n\n\n\t\n\t\t\n\t\n\n" + }, + { + "name": "range-calendar.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\n\t\t\n\t\n\t\n\t\t{#each months as month}\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{#each weekdays as weekday}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{weekday.slice(0, 2)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t{/each}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{#each month.weeks as weekDates}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{#each weekDates as date}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{/each}\n\t\t\t\t\t\t\n\t\t\t\t\t{/each}\n\t\t\t\t\n\t\t\t\n\t\t{/each}\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/resizable.json b/sites/docs/static/registry/styles/new-york/resizable.json new file mode 100644 index 000000000..36a9dddcd --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/resizable.json @@ -0,0 +1,20 @@ +{ + "name": "resizable", + "dependencies": ["svelte-radix", "paneforge"], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import { Pane } from \"paneforge\";\nimport Handle from \"./resizable-handle.svelte\";\nimport PaneGroup from \"./resizable-pane-group.svelte\";\n\nexport {\n\tPaneGroup,\n\tPane,\n\tHandle,\n\t//\n\tPaneGroup as ResizablePaneGroup,\n\tPane as ResizablePane,\n\tHandle as ResizableHandle,\n};\n" + }, + { + "name": "resizable-handle.svelte", + "content": "\n\ndiv]:rotate-90\",\n\t\tclassName\n\t)}\n>\n\t{#if withHandle}\n\t\t
    \n\t\t\t\n\t\t
    \n\t{/if}\n\n" + }, + { + "name": "resizable-pane-group.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/scroll-area.json b/sites/docs/static/registry/styles/new-york/scroll-area.json new file mode 100644 index 000000000..62588a8b3 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/scroll-area.json @@ -0,0 +1,20 @@ +{ + "name": "scroll-area", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import Scrollbar from \"./scroll-area-scrollbar.svelte\";\nimport Root from \"./scroll-area.svelte\";\n\nexport {\n\tRoot,\n\tScrollbar,\n\t//,\n\tRoot as ScrollArea,\n\tScrollbar as ScrollAreaScrollbar,\n};\n" + }, + { + "name": "scroll-area-scrollbar.svelte", + "content": "\n\n\n\t\n\t\n\n" + }, + { + "name": "scroll-area.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t{#if orientation === \"vertical\" || orientation === \"both\"}\n\t\t\n\t{/if}\n\t{#if orientation === \"horizontal\" || orientation === \"both\"}\n\t\t\n\t{/if}\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/select.json b/sites/docs/static/registry/styles/new-york/select.json new file mode 100644 index 000000000..5572951e6 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/select.json @@ -0,0 +1,32 @@ +{ + "name": "select", + "dependencies": ["bits-ui", "svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import { Select as SelectPrimitive } from \"bits-ui\";\n\nimport Label from \"./select-label.svelte\";\nimport Item from \"./select-item.svelte\";\nimport Content from \"./select-content.svelte\";\nimport Trigger from \"./select-trigger.svelte\";\nimport Separator from \"./select-separator.svelte\";\n\nconst Root = SelectPrimitive.Root;\nconst Group = SelectPrimitive.Group;\nconst Input = SelectPrimitive.Input;\nconst Value = SelectPrimitive.Value;\n\nexport {\n\tRoot,\n\tItem,\n\tGroup,\n\tInput,\n\tLabel,\n\tValue,\n\tContent,\n\tTrigger,\n\tSeparator,\n\t//\n\tRoot as Select,\n\tItem as SelectItem,\n\tGroup as SelectGroup,\n\tInput as SelectInput,\n\tLabel as SelectLabel,\n\tValue as SelectValue,\n\tContent as SelectContent,\n\tTrigger as SelectTrigger,\n\tSeparator as SelectSeparator,\n};\n" + }, + { + "name": "select-content.svelte", + "content": "\n\n\n\t
    \n\t\t\n\t
    \n\n" + }, + { + "name": "select-item.svelte", + "content": "\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\t\t{label || value}\n\t\n\n" + }, + { + "name": "select-label.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "select-separator.svelte", + "content": "\n\n\n" + }, + { + "name": "select-trigger.svelte", + "content": "\n\nspan]:line-clamp-1 data-[placeholder]:[&>span]:text-muted-foreground\",\n\t\tclassName\n\t)}\n\t{...$$restProps}\n>\n\t\n\t
    \n\t\t\n\t
    \n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/separator.json b/sites/docs/static/registry/styles/new-york/separator.json new file mode 100644 index 000000000..ca4a015ba --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/separator.json @@ -0,0 +1,16 @@ +{ + "name": "separator", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import Root from \"./separator.svelte\";\n\nexport {\n\tRoot,\n\t//\n\tRoot as Separator,\n};\n" + }, + { + "name": "separator.svelte", + "content": "\n\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/sheet.json b/sites/docs/static/registry/styles/new-york/sheet.json new file mode 100644 index 000000000..baf5f42ac --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/sheet.json @@ -0,0 +1,40 @@ +{ + "name": "sheet", + "dependencies": ["bits-ui", "svelte-radix"], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import { Dialog as SheetPrimitive } from \"bits-ui\";\nimport { type VariantProps, tv } from \"tailwind-variants\";\n\nimport Portal from \"./sheet-portal.svelte\";\nimport Overlay from \"./sheet-overlay.svelte\";\nimport Content from \"./sheet-content.svelte\";\nimport Header from \"./sheet-header.svelte\";\nimport Footer from \"./sheet-footer.svelte\";\nimport Title from \"./sheet-title.svelte\";\nimport Description from \"./sheet-description.svelte\";\n\nconst Root = SheetPrimitive.Root;\nconst Close = SheetPrimitive.Close;\nconst Trigger = SheetPrimitive.Trigger;\n\nexport {\n\tRoot,\n\tClose,\n\tTrigger,\n\tPortal,\n\tOverlay,\n\tContent,\n\tHeader,\n\tFooter,\n\tTitle,\n\tDescription,\n\t//\n\tRoot as Sheet,\n\tClose as SheetClose,\n\tTrigger as SheetTrigger,\n\tPortal as SheetPortal,\n\tOverlay as SheetOverlay,\n\tContent as SheetContent,\n\tHeader as SheetHeader,\n\tFooter as SheetFooter,\n\tTitle as SheetTitle,\n\tDescription as SheetDescription,\n};\n\nexport const sheetVariants = tv({\n\tbase: \"fixed z-50 gap-4 bg-background p-6 shadow-lg\",\n\tvariants: {\n\t\tside: {\n\t\t\ttop: \"inset-x-0 top-0 border-b \",\n\t\t\tbottom: \"inset-x-0 bottom-0 border-t\",\n\t\t\tleft: \"inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm\",\n\t\t\tright: \"inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tside: \"right\",\n\t},\n});\n\nexport const sheetTransitions = {\n\ttop: {\n\t\tin: {\n\t\t\ty: \"-100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\ty: \"-100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n\tbottom: {\n\t\tin: {\n\t\t\ty: \"100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\ty: \"100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n\tleft: {\n\t\tin: {\n\t\t\tx: \"-100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\tx: \"-100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n\tright: {\n\t\tin: {\n\t\t\tx: \"100%\",\n\t\t\tduration: 500,\n\t\t\topacity: 1,\n\t\t},\n\t\tout: {\n\t\t\tx: \"100%\",\n\t\t\tduration: 300,\n\t\t\topacity: 1,\n\t\t},\n\t},\n};\n\nexport type Side = VariantProps[\"side\"];\n" + }, + { + "name": "sheet-content.svelte", + "content": "\n\n\n\t\n\t\n\t\t\n\t\t\n\t\t\t\n\t\t\tClose\n\t\t\n\t\n\n" + }, + { + "name": "sheet-description.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "sheet-footer.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "sheet-header.svelte", + "content": "\n\n
    \n\t\n
    \n" + }, + { + "name": "sheet-overlay.svelte", + "content": "\n\n\n" + }, + { + "name": "sheet-portal.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "sheet-title.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/skeleton.json b/sites/docs/static/registry/styles/new-york/skeleton.json new file mode 100644 index 000000000..f164e012c --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/skeleton.json @@ -0,0 +1,16 @@ +{ + "name": "skeleton", + "dependencies": [], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import Root from \"./skeleton.svelte\";\n\nexport {\n\tRoot,\n\t//\n\tRoot as Skeleton,\n};\n" + }, + { + "name": "skeleton.svelte", + "content": "\n\n
    \n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/slider.json b/sites/docs/static/registry/styles/new-york/slider.json new file mode 100644 index 000000000..7964c2876 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/slider.json @@ -0,0 +1,16 @@ +{ + "name": "slider", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import Root from \"./slider.svelte\";\n\nexport {\n\tRoot,\n\t//\n\tRoot as Slider,\n};\n" + }, + { + "name": "slider.svelte", + "content": "\n\n\n\t\n\t\t\n\t\n\t{#each thumbs as thumb}\n\t\t\n\t{/each}\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/sonner.json b/sites/docs/static/registry/styles/new-york/sonner.json new file mode 100644 index 000000000..38a847e4a --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/sonner.json @@ -0,0 +1,16 @@ +{ + "name": "sonner", + "dependencies": ["svelte-sonner", "mode-watcher"], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "export { default as Toaster } from \"./sonner.svelte\";\n" + }, + { + "name": "sonner.svelte", + "content": "\n\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/switch.json b/sites/docs/static/registry/styles/new-york/switch.json new file mode 100644 index 000000000..0dc9279a5 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/switch.json @@ -0,0 +1,16 @@ +{ + "name": "switch", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import Root from \"./switch.svelte\";\n\nexport {\n\tRoot,\n\t//\n\tRoot as Switch,\n};\n" + }, + { + "name": "switch.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/table.json b/sites/docs/static/registry/styles/new-york/table.json new file mode 100644 index 000000000..1f9636a0d --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/table.json @@ -0,0 +1,44 @@ +{ + "name": "table", + "dependencies": [], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import Root from \"./table.svelte\";\nimport Body from \"./table-body.svelte\";\nimport Caption from \"./table-caption.svelte\";\nimport Cell from \"./table-cell.svelte\";\nimport Footer from \"./table-footer.svelte\";\nimport Head from \"./table-head.svelte\";\nimport Header from \"./table-header.svelte\";\nimport Row from \"./table-row.svelte\";\n\nexport {\n\tRoot,\n\tBody,\n\tCaption,\n\tCell,\n\tFooter,\n\tHead,\n\tHeader,\n\tRow,\n\t//\n\tRoot as Table,\n\tBody as TableBody,\n\tCaption as TableCaption,\n\tCell as TableCell,\n\tFooter as TableFooter,\n\tHead as TableHead,\n\tHeader as TableHeader,\n\tRow as TableRow,\n};\n" + }, + { + "name": "table-body.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "table-caption.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "table-cell.svelte", + "content": "\n\n[role=checkbox]]:translate-y-[2px]\",\n\t\tclassName\n\t)}\n\t{...$$restProps}\n\ton:click\n\ton:keydown\n>\n\t\n\n" + }, + { + "name": "table-footer.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "table-head.svelte", + "content": "\n\n[role=checkbox]]:translate-y-[2px]\",\n\t\tclassName\n\t)}\n\t{...$$restProps}\n>\n\t\n\n" + }, + { + "name": "table-header.svelte", + "content": "\n\n\n\n\t\n\n" + }, + { + "name": "table-row.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "table.svelte", + "content": "\n\n
    \n\t\n\t\t\n\t
    \n
    \n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/tabs.json b/sites/docs/static/registry/styles/new-york/tabs.json new file mode 100644 index 000000000..5fb4c9e8a --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/tabs.json @@ -0,0 +1,24 @@ +{ + "name": "tabs", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import { Tabs as TabsPrimitive } from \"bits-ui\";\nimport Content from \"./tabs-content.svelte\";\nimport List from \"./tabs-list.svelte\";\nimport Trigger from \"./tabs-trigger.svelte\";\n\nconst Root = TabsPrimitive.Root;\n\nexport {\n\tRoot,\n\tContent,\n\tList,\n\tTrigger,\n\t//\n\tRoot as Tabs,\n\tContent as TabsContent,\n\tList as TabsList,\n\tTrigger as TabsTrigger,\n};\n" + }, + { + "name": "tabs-content.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "tabs-list.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "tabs-trigger.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/textarea.json b/sites/docs/static/registry/styles/new-york/textarea.json new file mode 100644 index 000000000..32899ac40 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/textarea.json @@ -0,0 +1,16 @@ +{ + "name": "textarea", + "dependencies": [], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import Root from \"./textarea.svelte\";\n\ntype FormTextareaEvent = T & {\n\tcurrentTarget: EventTarget & HTMLTextAreaElement;\n};\n\ntype TextareaEvents = {\n\tblur: FormTextareaEvent;\n\tchange: FormTextareaEvent;\n\tclick: FormTextareaEvent;\n\tfocus: FormTextareaEvent;\n\tkeydown: FormTextareaEvent;\n\tkeypress: FormTextareaEvent;\n\tkeyup: FormTextareaEvent;\n\tmouseover: FormTextareaEvent;\n\tmouseenter: FormTextareaEvent;\n\tmouseleave: FormTextareaEvent;\n\tpaste: FormTextareaEvent;\n\tinput: FormTextareaEvent;\n};\n\nexport {\n\tRoot,\n\t//\n\tRoot as Textarea,\n\ttype TextareaEvents,\n\ttype FormTextareaEvent,\n};\n" + }, + { + "name": "textarea.svelte", + "content": "\n\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/toggle-group.json b/sites/docs/static/registry/styles/new-york/toggle-group.json new file mode 100644 index 000000000..5e7cf3d2b --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/toggle-group.json @@ -0,0 +1,20 @@ +{ + "name": "toggle-group", + "dependencies": ["bits-ui"], + "registryDependencies": ["toggle"], + "files": [ + { + "name": "index.ts", + "content": "import type { VariantProps } from \"tailwind-variants\";\nimport { getContext, setContext } from \"svelte\";\nimport Root from \"./toggle-group.svelte\";\nimport Item from \"./toggle-group-item.svelte\";\nimport type { toggleVariants } from \"$lib/registry/new-york/ui/toggle/index.js\";\n\nexport type ToggleVariants = VariantProps;\n\nexport function setToggleGroupCtx(props: ToggleVariants) {\n\tsetContext(\"toggleGroup\", props);\n}\n\nexport function getToggleGroupCtx() {\n\treturn getContext(\"toggleGroup\");\n}\n\nexport {\n\tRoot,\n\tItem,\n\t//\n\tRoot as ToggleGroup,\n\tItem as ToggleGroupItem,\n};\n" + }, + { + "name": "toggle-group-item.svelte", + "content": "\n\n\n\t\n\n" + }, + { + "name": "toggle-group.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/toggle.json b/sites/docs/static/registry/styles/new-york/toggle.json new file mode 100644 index 000000000..f3b6fa314 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/toggle.json @@ -0,0 +1,16 @@ +{ + "name": "toggle", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import { type VariantProps, tv } from \"tailwind-variants\";\nimport Root from \"./toggle.svelte\";\n\nexport const toggleVariants = tv({\n\tbase: \"inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground\",\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: \"bg-transparent\",\n\t\t\toutline:\n\t\t\t\t\"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground\",\n\t\t},\n\t\tsize: {\n\t\t\tdefault: \"h-9 px-3\",\n\t\t\tsm: \"h-8 px-2\",\n\t\t\tlg: \"h-10 px-3\",\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"default\",\n\t\tsize: \"default\",\n\t},\n});\n\nexport type Variant = VariantProps[\"variant\"];\nexport type Size = VariantProps[\"size\"];\n\nexport {\n\tRoot,\n\t//\n\tRoot as Toggle,\n};\n" + }, + { + "name": "toggle.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/styles/new-york/tooltip.json b/sites/docs/static/registry/styles/new-york/tooltip.json new file mode 100644 index 000000000..51ad756e6 --- /dev/null +++ b/sites/docs/static/registry/styles/new-york/tooltip.json @@ -0,0 +1,16 @@ +{ + "name": "tooltip", + "dependencies": ["bits-ui"], + "registryDependencies": [], + "files": [ + { + "name": "index.ts", + "content": "import { Tooltip as TooltipPrimitive } from \"bits-ui\";\nimport Content from \"./tooltip-content.svelte\";\n\nconst Root = TooltipPrimitive.Root;\nconst Trigger = TooltipPrimitive.Trigger;\n\nexport {\n\tRoot,\n\tTrigger,\n\tContent,\n\t//\n\tRoot as Tooltip,\n\tContent as TooltipContent,\n\tTrigger as TooltipTrigger,\n};\n" + }, + { + "name": "tooltip-content.svelte", + "content": "\n\n\n\t\n\n" + } + ], + "type": "components:ui" +} diff --git a/sites/docs/static/registry/themes.css b/sites/docs/static/registry/themes.css new file mode 100644 index 000000000..089af856d --- /dev/null +++ b/sites/docs/static/registry/themes.css @@ -0,0 +1,767 @@ +.theme-zinc { + --background: 0 0% 100%; + --foreground: 240 10% 3.9%; + + --muted: 240 4.8% 95.9%; + --muted-foreground: 240 3.8% 46.1%; + + --popover: 0 0% 100%; + --popover-foreground: 240 10% 3.9%; + + --card: 0 0% 100%; + --card-foreground: 240 10% 3.9%; + + --border: 240 5.9% 90%; + --input: 240 5.9% 90%; + + --primary: 240 5.9% 10%; + --primary-foreground: 0 0% 98%; + + --secondary: 240 4.8% 95.9%; + --secondary-foreground: 240 5.9% 10%; + + --accent: 240 4.8% 95.9%; + --accent-foreground: 240 5.9% 10%; + + --destructive: 0 72.22% 50.59%; + --destructive-foreground: 0 0% 98%; + + --ring: 240 5.9% 10%; + + --radius: 0.5rem; +} + +.dark .theme-zinc { + --background: 240 10% 3.9%; + --foreground: 0 0% 98%; + + --muted: 240 3.7% 15.9%; + --muted-foreground: 240 5% 64.9%; + + --popover: 240 10% 3.9%; + --popover-foreground: 0 0% 98%; + + --card: 240 10% 3.9%; + --card-foreground: 0 0% 98%; + + --border: 240 3.7% 15.9%; + --input: 240 3.7% 15.9%; + + --primary: 0 0% 98%; + --primary-foreground: 240 5.9% 10%; + + --secondary: 240 3.7% 15.9%; + --secondary-foreground: 0 0% 98%; + + --accent: 240 3.7% 15.9%; + --accent-foreground: 0 0% 98%; + + --destructive: 0 62.8% 30.6%; + --destructive-foreground: 0 0% 98%; + + --ring: 240 4.9% 83.9%; +} + +.theme-slate { + --background: 0 0% 100%; + --foreground: 222.2 84% 4.9%; + + --muted: 210 40% 96.1%; + --muted-foreground: 215.4 16.3% 46.9%; + + --popover: 0 0% 100%; + --popover-foreground: 222.2 84% 4.9%; + + --card: 0 0% 100%; + --card-foreground: 222.2 84% 4.9%; + + --border: 214.3 31.8% 91.4%; + --input: 214.3 31.8% 91.4%; + + --primary: 222.2 47.4% 11.2%; + --primary-foreground: 210 40% 98%; + + --secondary: 210 40% 96.1%; + --secondary-foreground: 222.2 47.4% 11.2%; + + --accent: 210 40% 96.1%; + --accent-foreground: 222.2 47.4% 11.2%; + + --destructive: 0 72.22% 50.59%; + --destructive-foreground: 210 40% 98%; + + --ring: 222.2 84% 4.9%; + + --radius: 0.5rem; +} + +.dark .theme-slate { + --background: 222.2 84% 4.9%; + --foreground: 210 40% 98%; + + --muted: 217.2 32.6% 17.5%; + --muted-foreground: 215 20.2% 65.1%; + + --popover: 222.2 84% 4.9%; + --popover-foreground: 210 40% 98%; + + --card: 222.2 84% 4.9%; + --card-foreground: 210 40% 98%; + + --border: 217.2 32.6% 17.5%; + --input: 217.2 32.6% 17.5%; + + --primary: 210 40% 98%; + --primary-foreground: 222.2 47.4% 11.2%; + + --secondary: 217.2 32.6% 17.5%; + --secondary-foreground: 210 40% 98%; + + --accent: 217.2 32.6% 17.5%; + --accent-foreground: 210 40% 98%; + + --destructive: 0 62.8% 30.6%; + --destructive-foreground: 210 40% 98%; + + --ring: 212.7 26.8% 83.9%; +} + +.theme-stone { + --background: 0 0% 100%; + --foreground: 20 14.3% 4.1%; + + --muted: 60 4.8% 95.9%; + --muted-foreground: 25 5.3% 44.7%; + + --popover: 0 0% 100%; + --popover-foreground: 20 14.3% 4.1%; + + --card: 0 0% 100%; + --card-foreground: 20 14.3% 4.1%; + + --border: 20 5.9% 90%; + --input: 20 5.9% 90%; + + --primary: 24 9.8% 10%; + --primary-foreground: 60 9.1% 97.8%; + + --secondary: 60 4.8% 95.9%; + --secondary-foreground: 24 9.8% 10%; + + --accent: 60 4.8% 95.9%; + --accent-foreground: 24 9.8% 10%; + + --destructive: 0 72.22% 50.59%; + --destructive-foreground: 60 9.1% 97.8%; + + --ring: 20 14.3% 4.1%; + + --radius: 0.5rem; +} + +.dark .theme-stone { + --background: 20 14.3% 4.1%; + --foreground: 60 9.1% 97.8%; + + --muted: 12 6.5% 15.1%; + --muted-foreground: 24 5.4% 63.9%; + + --popover: 20 14.3% 4.1%; + --popover-foreground: 60 9.1% 97.8%; + + --card: 20 14.3% 4.1%; + --card-foreground: 60 9.1% 97.8%; + + --border: 12 6.5% 15.1%; + --input: 12 6.5% 15.1%; + + --primary: 60 9.1% 97.8%; + --primary-foreground: 24 9.8% 10%; + + --secondary: 12 6.5% 15.1%; + --secondary-foreground: 60 9.1% 97.8%; + + --accent: 12 6.5% 15.1%; + --accent-foreground: 60 9.1% 97.8%; + + --destructive: 0 62.8% 30.6%; + --destructive-foreground: 60 9.1% 97.8%; + + --ring: 24 5.7% 82.9%; +} + +.theme-gray { + --background: 0 0% 100%; + --foreground: 224 71.4% 4.1%; + + --muted: 220 14.3% 95.9%; + --muted-foreground: 220 8.9% 46.1%; + + --popover: 0 0% 100%; + --popover-foreground: 224 71.4% 4.1%; + + --card: 0 0% 100%; + --card-foreground: 224 71.4% 4.1%; + + --border: 220 13% 91%; + --input: 220 13% 91%; + + --primary: 220.9 39.3% 11%; + --primary-foreground: 210 20% 98%; + + --secondary: 220 14.3% 95.9%; + --secondary-foreground: 220.9 39.3% 11%; + + --accent: 220 14.3% 95.9%; + --accent-foreground: 220.9 39.3% 11%; + + --destructive: 0 72.22% 50.59%; + --destructive-foreground: 210 20% 98%; + + --ring: 224 71.4% 4.1%; + + --radius: 0.5rem; +} + +.dark .theme-gray { + --background: 224 71.4% 4.1%; + --foreground: 210 20% 98%; + + --muted: 215 27.9% 16.9%; + --muted-foreground: 217.9 10.6% 64.9%; + + --popover: 224 71.4% 4.1%; + --popover-foreground: 210 20% 98%; + + --card: 224 71.4% 4.1%; + --card-foreground: 210 20% 98%; + + --border: 215 27.9% 16.9%; + --input: 215 27.9% 16.9%; + + --primary: 210 20% 98%; + --primary-foreground: 220.9 39.3% 11%; + + --secondary: 215 27.9% 16.9%; + --secondary-foreground: 210 20% 98%; + + --accent: 215 27.9% 16.9%; + --accent-foreground: 210 20% 98%; + + --destructive: 0 62.8% 30.6%; + --destructive-foreground: 210 20% 98%; + + --ring: 216 12.2% 83.9%; +} + +.theme-neutral { + --background: 0 0% 100%; + --foreground: 0 0% 3.9%; + + --muted: 0 0% 96.1%; + --muted-foreground: 0 0% 45.1%; + + --popover: 0 0% 100%; + --popover-foreground: 0 0% 3.9%; + + --card: 0 0% 100%; + --card-foreground: 0 0% 3.9%; + + --border: 0 0% 89.8%; + --input: 0 0% 89.8%; + + --primary: 0 0% 9%; + --primary-foreground: 0 0% 98%; + + --secondary: 0 0% 96.1%; + --secondary-foreground: 0 0% 9%; + + --accent: 0 0% 96.1%; + --accent-foreground: 0 0% 9%; + + --destructive: 0 72.22% 50.59%; + --destructive-foreground: 0 0% 98%; + + --ring: 0 0% 3.9%; + + --radius: 0.5rem; +} + +.dark .theme-neutral { + --background: 0 0% 3.9%; + --foreground: 0 0% 98%; + + --muted: 0 0% 14.9%; + --muted-foreground: 0 0% 63.9%; + + --popover: 0 0% 3.9%; + --popover-foreground: 0 0% 98%; + + --card: 0 0% 3.9%; + --card-foreground: 0 0% 98%; + + --border: 0 0% 14.9%; + --input: 0 0% 14.9%; + + --primary: 0 0% 98%; + --primary-foreground: 0 0% 9%; + + --secondary: 0 0% 14.9%; + --secondary-foreground: 0 0% 98%; + + --accent: 0 0% 14.9%; + --accent-foreground: 0 0% 98%; + + --destructive: 0 62.8% 30.6%; + --destructive-foreground: 0 0% 98%; + + --ring: 0 0% 83.1%; +} + +.theme-red { + --background: 0 0% 100%; + --foreground: 0 0% 3.9%; + + --muted: 0 0% 96.1%; + --muted-foreground: 0 0% 45.1%; + + --popover: 0 0% 100%; + --popover-foreground: 0 0% 3.9%; + + --card: 0 0% 100%; + --card-foreground: 0 0% 3.9%; + + --border: 0 0% 89.8%; + --input: 0 0% 89.8%; + + --primary: 0 72.2% 50.6%; + --primary-foreground: 0 85.7% 97.3%; + + --secondary: 0 0% 96.1%; + --secondary-foreground: 0 0% 9%; + + --accent: 0 0% 96.1%; + --accent-foreground: 0 0% 9%; + + --destructive: 0 72.22% 50.59%; + --destructive-foreground: 0 0% 98%; + + --ring: 0 72.2% 50.6%; + + --radius: 0.5rem; +} + +.dark .theme-red { + --background: 0 0% 3.9%; + --foreground: 0 0% 98%; + + --muted: 0 0% 14.9%; + --muted-foreground: 0 0% 63.9%; + + --popover: 0 0% 3.9%; + --popover-foreground: 0 0% 98%; + + --card: 0 0% 3.9%; + --card-foreground: 0 0% 98%; + + --border: 0 0% 14.9%; + --input: 0 0% 14.9%; + + --primary: 0 72.2% 50.6%; + --primary-foreground: 0 85.7% 97.3%; + + --secondary: 0 0% 14.9%; + --secondary-foreground: 0 0% 98%; + + --accent: 0 0% 14.9%; + --accent-foreground: 0 0% 98%; + + --destructive: 0 62.8% 30.6%; + --destructive-foreground: 0 0% 98%; + + --ring: 0 72.2% 50.6%; +} + +.theme-rose { + --background: 0 0% 100%; + --foreground: 240 10% 3.9%; + + --muted: 240 4.8% 95.9%; + --muted-foreground: 240 3.8% 46.1%; + + --popover: 0 0% 100%; + --popover-foreground: 240 10% 3.9%; + + --card: 0 0% 100%; + --card-foreground: 240 10% 3.9%; + + --border: 240 5.9% 90%; + --input: 240 5.9% 90%; + + --primary: 346.8 77.2% 49.8%; + --primary-foreground: 355.7 100% 97.3%; + + --secondary: 240 4.8% 95.9%; + --secondary-foreground: 240 5.9% 10%; + + --accent: 240 4.8% 95.9%; + --accent-foreground: 240 5.9% 10%; + + --destructive: 0 72.22% 50.59%; + --destructive-foreground: 0 0% 98%; + + --ring: 346.8 77.2% 49.8%; + + --radius: 0.5rem; +} + +.dark .theme-rose { + --background: 20 14.3% 4.1%; + --foreground: 0 0% 95%; + + --muted: 0 0% 15%; + --muted-foreground: 240 5% 64.9%; + + --popover: 0 0% 9%; + --popover-foreground: 0 0% 95%; + + --card: 24 9.8% 10%; + --card-foreground: 0 0% 95%; + + --border: 240 3.7% 15.9%; + --input: 240 3.7% 15.9%; + + --primary: 346.8 77.2% 49.8%; + --primary-foreground: 355.7 100% 97.3%; + + --secondary: 240 3.7% 15.9%; + --secondary-foreground: 0 0% 98%; + + --accent: 12 6.5% 15.1%; + --accent-foreground: 0 0% 98%; + + --destructive: 0 62.8% 30.6%; + --destructive-foreground: 0 85.7% 97.3%; + + --ring: 346.8 77.2% 49.8%; +} + +.theme-orange { + --background: 0 0% 100%; + --foreground: 20 14.3% 4.1%; + + --muted: 60 4.8% 95.9%; + --muted-foreground: 25 5.3% 44.7%; + + --popover: 0 0% 100%; + --popover-foreground: 20 14.3% 4.1%; + + --card: 0 0% 100%; + --card-foreground: 20 14.3% 4.1%; + + --border: 20 5.9% 90%; + --input: 20 5.9% 90%; + + --primary: 24.6 95% 53.1%; + --primary-foreground: 60 9.1% 97.8%; + + --secondary: 60 4.8% 95.9%; + --secondary-foreground: 24 9.8% 10%; + + --accent: 60 4.8% 95.9%; + --accent-foreground: 24 9.8% 10%; + + --destructive: 0 72.22% 50.59%; + --destructive-foreground: 60 9.1% 97.8%; + + --ring: 24.6 95% 53.1%; + + --radius: 0.5rem; +} + +.dark .theme-orange { + --background: 20 14.3% 4.1%; + --foreground: 60 9.1% 97.8%; + + --muted: 12 6.5% 15.1%; + --muted-foreground: 24 5.4% 63.9%; + + --popover: 20 14.3% 4.1%; + --popover-foreground: 60 9.1% 97.8%; + + --card: 20 14.3% 4.1%; + --card-foreground: 60 9.1% 97.8%; + + --border: 12 6.5% 15.1%; + --input: 12 6.5% 15.1%; + + --primary: 20.5 90.2% 48.2%; + --primary-foreground: 60 9.1% 97.8%; + + --secondary: 12 6.5% 15.1%; + --secondary-foreground: 60 9.1% 97.8%; + + --accent: 12 6.5% 15.1%; + --accent-foreground: 60 9.1% 97.8%; + + --destructive: 0 72.2% 50.6%; + --destructive-foreground: 60 9.1% 97.8%; + + --ring: 20.5 90.2% 48.2%; +} + +.theme-green { + --background: 0 0% 100%; + --foreground: 240 10% 3.9%; + + --muted: 240 4.8% 95.9%; + --muted-foreground: 240 3.8% 46.1%; + + --popover: 0 0% 100%; + --popover-foreground: 240 10% 3.9%; + + --card: 0 0% 100%; + --card-foreground: 240 10% 3.9%; + + --border: 240 5.9% 90%; + --input: 240 5.9% 90%; + + --primary: 142.1 76.2% 36.3%; + --primary-foreground: 355.7 100% 97.3%; + + --secondary: 240 4.8% 95.9%; + --secondary-foreground: 240 5.9% 10%; + + --accent: 240 4.8% 95.9%; + --accent-foreground: 240 5.9% 10%; + + --destructive: 0 72.22% 50.59%; + --destructive-foreground: 0 0% 98%; + + --ring: 142.1 76.2% 36.3%; + + --radius: 0.5rem; +} + +.dark .theme-green { + --background: 20 14.3% 4.1%; + --foreground: 0 0% 95%; + + --muted: 0 0% 15%; + --muted-foreground: 240 5% 64.9%; + + --popover: 0 0% 9%; + --popover-foreground: 0 0% 95%; + + --card: 24 9.8% 10%; + --card-foreground: 0 0% 95%; + + --border: 240 3.7% 15.9%; + --input: 240 3.7% 15.9%; + + --primary: 142.1 70.6% 45.3%; + --primary-foreground: 144.9 80.4% 10%; + + --secondary: 240 3.7% 15.9%; + --secondary-foreground: 0 0% 98%; + + --accent: 12 6.5% 15.1%; + --accent-foreground: 0 0% 98%; + + --destructive: 0 62.8% 30.6%; + --destructive-foreground: 0 85.7% 97.3%; + + --ring: 142.4 71.8% 29.2%; +} + +.theme-blue { + --background: 0 0% 100%; + --foreground: 222.2 84% 4.9%; + + --muted: 210 40% 96.1%; + --muted-foreground: 215.4 16.3% 46.9%; + + --popover: 0 0% 100%; + --popover-foreground: 222.2 84% 4.9%; + + --card: 0 0% 100%; + --card-foreground: 222.2 84% 4.9%; + + --border: 214.3 31.8% 91.4%; + --input: 214.3 31.8% 91.4%; + + --primary: 221.2 83.2% 53.3%; + --primary-foreground: 210 40% 98%; + + --secondary: 210 40% 96.1%; + --secondary-foreground: 222.2 47.4% 11.2%; + + --accent: 210 40% 96.1%; + --accent-foreground: 222.2 47.4% 11.2%; + + --destructive: 0 72.22% 50.59%; + --destructive-foreground: 210 40% 98%; + + --ring: 221.2 83.2% 53.3%; + + --radius: 0.5rem; +} + +.dark .theme-blue { + --background: 222.2 84% 4.9%; + --foreground: 210 40% 98%; + + --muted: 217.2 32.6% 17.5%; + --muted-foreground: 215 20.2% 65.1%; + + --popover: 222.2 84% 4.9%; + --popover-foreground: 210 40% 98%; + + --card: 222.2 84% 4.9%; + --card-foreground: 210 40% 98%; + + --border: 217.2 32.6% 17.5%; + --input: 217.2 32.6% 17.5%; + + --primary: 217.2 91.2% 59.8%; + --primary-foreground: 222.2 47.4% 11.2%; + + --secondary: 217.2 32.6% 17.5%; + --secondary-foreground: 210 40% 98%; + + --accent: 217.2 32.6% 17.5%; + --accent-foreground: 210 40% 98%; + + --destructive: 0 62.8% 30.6%; + --destructive-foreground: 210 40% 98%; + + --ring: 224.3 76.3% 48%; +} + +.theme-yellow { + --background: 0 0% 100%; + --foreground: 20 14.3% 4.1%; + + --muted: 60 4.8% 95.9%; + --muted-foreground: 25 5.3% 44.7%; + + --popover: 0 0% 100%; + --popover-foreground: 20 14.3% 4.1%; + + --card: 0 0% 100%; + --card-foreground: 20 14.3% 4.1%; + + --border: 20 5.9% 90%; + --input: 20 5.9% 90%; + + --primary: 47.9 95.8% 53.1%; + --primary-foreground: 26 83.3% 14.1%; + + --secondary: 60 4.8% 95.9%; + --secondary-foreground: 24 9.8% 10%; + + --accent: 60 4.8% 95.9%; + --accent-foreground: 24 9.8% 10%; + + --destructive: 0 72.22% 50.59%; + --destructive-foreground: 60 9.1% 97.8%; + + --ring: 20 14.3% 4.1%; + + --radius: 0.5rem; +} + +.dark .theme-yellow { + --background: 20 14.3% 4.1%; + --foreground: 60 9.1% 97.8%; + + --muted: 12 6.5% 15.1%; + --muted-foreground: 24 5.4% 63.9%; + + --popover: 20 14.3% 4.1%; + --popover-foreground: 60 9.1% 97.8%; + + --card: 20 14.3% 4.1%; + --card-foreground: 60 9.1% 97.8%; + + --border: 12 6.5% 15.1%; + --input: 12 6.5% 15.1%; + + --primary: 47.9 95.8% 53.1%; + --primary-foreground: 26 83.3% 14.1%; + + --secondary: 12 6.5% 15.1%; + --secondary-foreground: 60 9.1% 97.8%; + + --accent: 12 6.5% 15.1%; + --accent-foreground: 60 9.1% 97.8%; + + --destructive: 0 62.8% 30.6%; + --destructive-foreground: 60 9.1% 97.8%; + + --ring: 35.5 91.7% 32.9%; +} + +.theme-violet { + --background: 0 0% 100%; + --foreground: 224 71.4% 4.1%; + + --muted: 220 14.3% 95.9%; + --muted-foreground: 220 8.9% 46.1%; + + --popover: 0 0% 100%; + --popover-foreground: 224 71.4% 4.1%; + + --card: 0 0% 100%; + --card-foreground: 224 71.4% 4.1%; + + --border: 220 13% 91%; + --input: 220 13% 91%; + + --primary: 262.1 83.3% 57.8%; + --primary-foreground: 210 20% 98%; + + --secondary: 220 14.3% 95.9%; + --secondary-foreground: 220.9 39.3% 11%; + + --accent: 220 14.3% 95.9%; + --accent-foreground: 220.9 39.3% 11%; + + --destructive: 0 72.22% 50.59%; + --destructive-foreground: 210 20% 98%; + + --ring: 262.1 83.3% 57.8%; + + --radius: 0.5rem; +} + +.dark .theme-violet { + --background: 224 71.4% 4.1%; + --foreground: 210 20% 98%; + + --muted: 215 27.9% 16.9%; + --muted-foreground: 217.9 10.6% 64.9%; + + --popover: 224 71.4% 4.1%; + --popover-foreground: 210 20% 98%; + + --card: 224 71.4% 4.1%; + --card-foreground: 210 20% 98%; + + --border: 215 27.9% 16.9%; + --input: 215 27.9% 16.9%; + + --primary: 263.4 70% 50.4%; + --primary-foreground: 210 20% 98%; + + --secondary: 215 27.9% 16.9%; + --secondary-foreground: 210 20% 98%; + + --accent: 215 27.9% 16.9%; + --accent-foreground: 210 20% 98%; + + --destructive: 0 62.8% 30.6%; + --destructive-foreground: 210 20% 98%; + + --ring: 263.4 70% 50.4%; +} diff --git a/sites/docs/static/registry/themes/gray.json b/sites/docs/static/registry/themes/gray.json new file mode 100644 index 000000000..e21798136 --- /dev/null +++ b/sites/docs/static/registry/themes/gray.json @@ -0,0 +1,48 @@ +{ + "name": "gray", + "label": "Gray", + "cssVars": { + "light": { + "background": "0 0% 100%", + "foreground": "224 71.4% 4.1%", + "card": "0 0% 100%", + "card-foreground": "224 71.4% 4.1%", + "popover": "0 0% 100%", + "popover-foreground": "224 71.4% 4.1%", + "primary": "220.9 39.3% 11%", + "primary-foreground": "210 20% 98%", + "secondary": "220 14.3% 95.9%", + "secondary-foreground": "220.9 39.3% 11%", + "muted": "220 14.3% 95.9%", + "muted-foreground": "220 8.9% 46.1%", + "accent": "220 14.3% 95.9%", + "accent-foreground": "220.9 39.3% 11%", + "destructive": "0 84.2% 60.2%", + "destructive-foreground": "210 20% 98%", + "border": "220 13% 91%", + "input": "220 13% 91%", + "ring": "224 71.4% 4.1%" + }, + "dark": { + "background": "224 71.4% 4.1%", + "foreground": "210 20% 98%", + "card": "224 71.4% 4.1%", + "card-foreground": "210 20% 98%", + "popover": "224 71.4% 4.1%", + "popover-foreground": "210 20% 98%", + "primary": "210 20% 98%", + "primary-foreground": "220.9 39.3% 11%", + "secondary": "215 27.9% 16.9%", + "secondary-foreground": "210 20% 98%", + "muted": "215 27.9% 16.9%", + "muted-foreground": "217.9 10.6% 64.9%", + "accent": "215 27.9% 16.9%", + "accent-foreground": "210 20% 98%", + "destructive": "0 62.8% 30.6%", + "destructive-foreground": "210 20% 98%", + "border": "215 27.9% 16.9%", + "input": "215 27.9% 16.9%", + "ring": "216 12.2% 83.9%" + } + } +} diff --git a/sites/docs/static/registry/themes/neutral.json b/sites/docs/static/registry/themes/neutral.json new file mode 100644 index 000000000..49e0c110c --- /dev/null +++ b/sites/docs/static/registry/themes/neutral.json @@ -0,0 +1,48 @@ +{ + "name": "neutral", + "label": "Neutral", + "cssVars": { + "light": { + "background": "0 0% 100%", + "foreground": "0 0% 3.9%", + "card": "0 0% 100%", + "card-foreground": "0 0% 3.9%", + "popover": "0 0% 100%", + "popover-foreground": "0 0% 3.9%", + "primary": "0 0% 9%", + "primary-foreground": "0 0% 98%", + "secondary": "0 0% 96.1%", + "secondary-foreground": "0 0% 9%", + "muted": "0 0% 96.1%", + "muted-foreground": "0 0% 45.1%", + "accent": "0 0% 96.1%", + "accent-foreground": "0 0% 9%", + "destructive": "0 84.2% 60.2%", + "destructive-foreground": "0 0% 98%", + "border": "0 0% 89.8%", + "input": "0 0% 89.8%", + "ring": "0 0% 3.9%" + }, + "dark": { + "background": "0 0% 3.9%", + "foreground": "0 0% 98%", + "card": "0 0% 3.9%", + "card-foreground": "0 0% 98%", + "popover": "0 0% 3.9%", + "popover-foreground": "0 0% 98%", + "primary": "0 0% 98%", + "primary-foreground": "0 0% 9%", + "secondary": "0 0% 14.9%", + "secondary-foreground": "0 0% 98%", + "muted": "0 0% 14.9%", + "muted-foreground": "0 0% 63.9%", + "accent": "0 0% 14.9%", + "accent-foreground": "0 0% 98%", + "destructive": "0 62.8% 30.6%", + "destructive-foreground": "0 0% 98%", + "border": "0 0% 14.9%", + "input": "0 0% 14.9%", + "ring": "0 0% 83.1%" + } + } +} diff --git a/sites/docs/static/registry/themes/slate.json b/sites/docs/static/registry/themes/slate.json new file mode 100644 index 000000000..1b69acc7b --- /dev/null +++ b/sites/docs/static/registry/themes/slate.json @@ -0,0 +1,48 @@ +{ + "name": "slate", + "label": "Slate", + "cssVars": { + "light": { + "background": "0 0% 100%", + "foreground": "222.2 84% 4.9%", + "card": "0 0% 100%", + "card-foreground": "222.2 84% 4.9%", + "popover": "0 0% 100%", + "popover-foreground": "222.2 84% 4.9%", + "primary": "222.2 47.4% 11.2%", + "primary-foreground": "210 40% 98%", + "secondary": "210 40% 96.1%", + "secondary-foreground": "222.2 47.4% 11.2%", + "muted": "210 40% 96.1%", + "muted-foreground": "215.4 16.3% 46.9%", + "accent": "210 40% 96.1%", + "accent-foreground": "222.2 47.4% 11.2%", + "destructive": "0 84.2% 60.2%", + "destructive-foreground": "210 40% 98%", + "border": "214.3 31.8% 91.4%", + "input": "214.3 31.8% 91.4%", + "ring": "222.2 84% 4.9%" + }, + "dark": { + "background": "222.2 84% 4.9%", + "foreground": "210 40% 98%", + "card": "222.2 84% 4.9%", + "card-foreground": "210 40% 98%", + "popover": "222.2 84% 4.9%", + "popover-foreground": "210 40% 98%", + "primary": "210 40% 98%", + "primary-foreground": "222.2 47.4% 11.2%", + "secondary": "217.2 32.6% 17.5%", + "secondary-foreground": "210 40% 98%", + "muted": "217.2 32.6% 17.5%", + "muted-foreground": "215 20.2% 65.1%", + "accent": "217.2 32.6% 17.5%", + "accent-foreground": "210 40% 98%", + "destructive": "0 62.8% 30.6%", + "destructive-foreground": "210 40% 98%", + "border": "217.2 32.6% 17.5%", + "input": "217.2 32.6% 17.5%", + "ring": "212.7 26.8% 83.9%" + } + } +} diff --git a/sites/docs/static/registry/themes/stone.json b/sites/docs/static/registry/themes/stone.json new file mode 100644 index 000000000..60c14cd2c --- /dev/null +++ b/sites/docs/static/registry/themes/stone.json @@ -0,0 +1,48 @@ +{ + "name": "stone", + "label": "Stone", + "cssVars": { + "light": { + "background": "0 0% 100%", + "foreground": "20 14.3% 4.1%", + "card": "0 0% 100%", + "card-foreground": "20 14.3% 4.1%", + "popover": "0 0% 100%", + "popover-foreground": "20 14.3% 4.1%", + "primary": "24 9.8% 10%", + "primary-foreground": "60 9.1% 97.8%", + "secondary": "60 4.8% 95.9%", + "secondary-foreground": "24 9.8% 10%", + "muted": "60 4.8% 95.9%", + "muted-foreground": "25 5.3% 44.7%", + "accent": "60 4.8% 95.9%", + "accent-foreground": "24 9.8% 10%", + "destructive": "0 84.2% 60.2%", + "destructive-foreground": "60 9.1% 97.8%", + "border": "20 5.9% 90%", + "input": "20 5.9% 90%", + "ring": "20 14.3% 4.1%" + }, + "dark": { + "background": "20 14.3% 4.1%", + "foreground": "60 9.1% 97.8%", + "card": "20 14.3% 4.1%", + "card-foreground": "60 9.1% 97.8%", + "popover": "20 14.3% 4.1%", + "popover-foreground": "60 9.1% 97.8%", + "primary": "60 9.1% 97.8%", + "primary-foreground": "24 9.8% 10%", + "secondary": "12 6.5% 15.1%", + "secondary-foreground": "60 9.1% 97.8%", + "muted": "12 6.5% 15.1%", + "muted-foreground": "24 5.4% 63.9%", + "accent": "12 6.5% 15.1%", + "accent-foreground": "60 9.1% 97.8%", + "destructive": "0 62.8% 30.6%", + "destructive-foreground": "60 9.1% 97.8%", + "border": "12 6.5% 15.1%", + "input": "12 6.5% 15.1%", + "ring": "24 5.7% 82.9%" + } + } +} diff --git a/sites/docs/static/registry/themes/zinc.json b/sites/docs/static/registry/themes/zinc.json new file mode 100644 index 000000000..d3d6482a4 --- /dev/null +++ b/sites/docs/static/registry/themes/zinc.json @@ -0,0 +1,48 @@ +{ + "name": "zinc", + "label": "Zinc", + "cssVars": { + "light": { + "background": "0 0% 100%", + "foreground": "240 10% 3.9%", + "card": "0 0% 100%", + "card-foreground": "240 10% 3.9%", + "popover": "0 0% 100%", + "popover-foreground": "240 10% 3.9%", + "primary": "240 5.9% 10%", + "primary-foreground": "0 0% 98%", + "secondary": "240 4.8% 95.9%", + "secondary-foreground": "240 5.9% 10%", + "muted": "240 4.8% 95.9%", + "muted-foreground": "240 3.8% 46.1%", + "accent": "240 4.8% 95.9%", + "accent-foreground": "240 5.9% 10%", + "destructive": "0 84.2% 60.2%", + "destructive-foreground": "0 0% 98%", + "border": "240 5.9% 90%", + "input": "240 5.9% 90%", + "ring": "240 10% 3.9%" + }, + "dark": { + "background": "240 10% 3.9%", + "foreground": "0 0% 98%", + "card": "240 10% 3.9%", + "card-foreground": "0 0% 98%", + "popover": "240 10% 3.9%", + "popover-foreground": "0 0% 98%", + "primary": "0 0% 98%", + "primary-foreground": "240 5.9% 10%", + "secondary": "240 3.7% 15.9%", + "secondary-foreground": "0 0% 98%", + "muted": "240 3.7% 15.9%", + "muted-foreground": "240 5% 64.9%", + "accent": "240 3.7% 15.9%", + "accent-foreground": "0 0% 98%", + "destructive": "0 62.8% 30.6%", + "destructive-foreground": "0 0% 98%", + "border": "240 3.7% 15.9%", + "input": "240 3.7% 15.9%", + "ring": "240 4.9% 83.9%" + } + } +} diff --git a/sites/docs/static/schema.json b/sites/docs/static/schema.json new file mode 100644 index 000000000..dd40ec04b --- /dev/null +++ b/sites/docs/static/schema.json @@ -0,0 +1,38 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "style": { + "type": "string", + "enum": ["default", "new-york"] + }, + "tailwind": { + "type": "object", + "properties": { + "config": { + "type": "string" + }, + "css": { + "type": "string" + }, + "baseColor": { + "type": "string" + } + }, + "required": ["config", "css", "baseColor"] + }, + "aliases": { + "type": "object", + "properties": { + "utils": { + "type": "string" + }, + "components": { + "type": "string" + } + }, + "required": ["utils", "components"] + } + }, + "required": ["style", "tailwind", "aliases"] +} diff --git a/apps/www/static/site.webmanifest b/sites/docs/static/site.webmanifest similarity index 100% rename from apps/www/static/site.webmanifest rename to sites/docs/static/site.webmanifest diff --git a/apps/www/svelte.config.js b/sites/docs/svelte.config.js similarity index 100% rename from apps/www/svelte.config.js rename to sites/docs/svelte.config.js diff --git a/apps/www/tailwind.config.js b/sites/docs/tailwind.config.js similarity index 100% rename from apps/www/tailwind.config.js rename to sites/docs/tailwind.config.js diff --git a/apps/www/tests/test.ts b/sites/docs/tests/test.ts similarity index 100% rename from apps/www/tests/test.ts rename to sites/docs/tests/test.ts diff --git a/apps/www/tsconfig.json b/sites/docs/tsconfig.json similarity index 100% rename from apps/www/tsconfig.json rename to sites/docs/tsconfig.json diff --git a/apps/www/vite.config.ts b/sites/docs/vite.config.ts similarity index 100% rename from apps/www/vite.config.ts rename to sites/docs/vite.config.ts