\ No newline at end of file
+
+
+
diff --git a/packages/studiocms_ui/src/components/Toast/Toaster.css b/packages/studiocms_ui/src/components/Toast/Toaster.css
deleted file mode 100644
index 1a8b72963..000000000
--- a/packages/studiocms_ui/src/components/Toast/Toaster.css
+++ /dev/null
@@ -1,160 +0,0 @@
-#toaster {
- width: 100vw;
- height: 100vh;
- position: fixed;
- top: 0;
- left: 0;
- z-index: 100;
- pointer-events: none;
-}
-
-#toast-drawer {
- max-width: 420px;
- width: 100%;
- height: fit-content;
- position: absolute;
- display: flex;
- flex-direction: column;
-}
-
-#toaster.top-left #toast-drawer,
-#toaster.bottom-left #toast-drawer {
- left: 50%;
- transform: translateX(-50%);
-}
-
-.toast-container {
- pointer-events: all;
- padding: 1rem;
- border-radius: .5rem;
- border: 1px solid hsl(var(--border));
- background-color: hsl(var(--background-base));
- box-shadow: 0px 4px 8px hsl(var(--shadow), 0.5);
- display: flex;
- flex-direction: column;
- gap: .5rem;
- position: relative;
- overflow: hidden;
- margin-bottom: var(--gap);
- animation: toast-pop-in .25s ease forwards;
-}
-
-.toast-header {
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
-}
-
-.toast-header-left-side {
- display: flex;
- flex-direction: row;
- gap: .5rem;
- align-items: center;
- font-weight: 500;
- font-size: 1.125em;
-}
-
-.toast-header-left-side svg {
- color: hsl(var(--primary-base));
-}
-
-.toast-container.success .toast-header-left-side svg {
- color: hsl(var(--success-base));
-}
-
-.toast-container.warning .toast-header-left-side svg {
- color: hsl(var(--warning-base));
-}
-
-.toast-container.danger .toast-header-left-side svg {
- color: hsl(var(--danger-base));
-}
-
-.toast-progress-bar {
- position: absolute;
- height: 4px;
- width: 100%;
- bottom: 0;
- left: 0%;
- background-color: hsl(var(--primary-base));
- animation: toast-progress forwards linear;
-}
-
-.toast-container.success .toast-progress-bar {
- background-color: hsl(var(--success-base));
-}
-
-.toast-container.warning .toast-progress-bar {
- background-color: hsl(var(--warning-base));
-}
-
-.toast-container.danger .toast-progress-bar {
- background-color: hsl(var(--danger-base));
-}
-
-.close-icon-container {
- cursor: pointer;
- height: 1.5rem;
- width: 1.5rem;
- display: flex;
- align-items: center;
- justify-content: center;
- transition: background-color .15s ease;
- border-radius: .25rem;
-}
-
-.close-icon-container:hover {
- background-color: hsl(var(--default-base));
-}
-
-.toast-container.closing {
- animation: toast-closing .25s ease forwards;
-}
-
-@keyframes toast-pop-in {
- 0% {
- opacity: 0;
- scale: 0.75;
- }
- 100% {
- opacity: 1;
- scale: 1;
- }
-}
-
-@keyframes toast-closing {
- 0% {
- opacity: 1;
- scale: 1;
- max-height: 500px;
- margin-bottom: var(--gap);
- padding: 1rem;
- border: 1px solid hsl(var(--border));
- }
- 62.5% {
- scale: 0.75;
- opacity: 0;
- max-height: 500px;
- margin-bottom: var(--gap);
- padding: 1rem;
- border: 1px solid hsl(var(--border));
- }
- 100% {
- scale: 0.75;
- opacity: 0;
- max-height: 0px;
- margin-bottom: 0;
- padding: 0;
- border: 0px solid hsl(var(--border));
- }
-}
-
-@keyframes toast-progress {
- 0% {
- left: 0%;
- }
- 100% {
- left: -100%;
- }
-}
diff --git a/packages/studiocms_ui/src/components/Toast/index.ts b/packages/studiocms_ui/src/components/Toast/index.ts
new file mode 100644
index 000000000..6a452210d
--- /dev/null
+++ b/packages/studiocms_ui/src/components/Toast/index.ts
@@ -0,0 +1,2 @@
+export { default as Toaster } from './Toaster.astro';
+export { toast } from './toast';
diff --git a/packages/studiocms_ui/src/components/Toast/toast.ts b/packages/studiocms_ui/src/components/Toast/toast.ts
index ca20402b3..9d9aaa0bc 100644
--- a/packages/studiocms_ui/src/components/Toast/toast.ts
+++ b/packages/studiocms_ui/src/components/Toast/toast.ts
@@ -1,5 +1,10 @@
import type { ToastProps } from '../../types';
+/**
+ * A function to create toasts with.
+
+ * @param props The props to pass to the toast `test`
+ */
function toast(props: ToastProps) {
const createToast = new CustomEvent('createtoast', {
detail: props,
diff --git a/packages/studiocms_ui/src/components/Toggle.astro b/packages/studiocms_ui/src/components/Toggle.astro
new file mode 100644
index 000000000..959fc0e97
--- /dev/null
+++ b/packages/studiocms_ui/src/components/Toggle.astro
@@ -0,0 +1,146 @@
+---
+import type { StudioCMSColorway } from '../utils/colors';
+import { generateID } from '../utils/generateID';
+
+type Props = {
+ label: string;
+ size?: 'sm' | 'md' | 'lg';
+ color?: StudioCMSColorway;
+ defaultChecked?: boolean;
+ disabled?: boolean;
+ name?: string;
+ isRequired?: boolean;
+};
+
+const {
+ size = 'md',
+ color = 'default',
+ defaultChecked,
+ disabled,
+ name = generateID('checkbox'),
+ label,
+ isRequired,
+} = Astro.props;
+---
+
+
diff --git a/packages/studiocms_ui/src/components/Toggle/Toggle.astro b/packages/studiocms_ui/src/components/Toggle/Toggle.astro
deleted file mode 100644
index 7f9928cb7..000000000
--- a/packages/studiocms_ui/src/components/Toggle/Toggle.astro
+++ /dev/null
@@ -1,51 +0,0 @@
----
-import './Toggle.css';
-
-import type { StudioCMSColorway } from '../../utils/colors';
-import { generateID } from '../../utils/generateID';
-
-type Props = {
- label: string;
- size?: 'sm' | 'md' | 'lg';
- color?: StudioCMSColorway;
- defaultChecked?: boolean;
- disabled?: boolean;
- name?: string;
- isRequired?: boolean;
-};
-
-const {
- size = 'md',
- color = 'default',
- defaultChecked,
- disabled,
- name = generateID('checkbox'),
- label,
- isRequired,
-} = Astro.props;
----
-
\ No newline at end of file
diff --git a/packages/studiocms_ui/src/components/Toggle/Toggle.css b/packages/studiocms_ui/src/components/Toggle/Toggle.css
deleted file mode 100644
index 20b0c0412..000000000
--- a/packages/studiocms_ui/src/components/Toggle/Toggle.css
+++ /dev/null
@@ -1,95 +0,0 @@
-.toggle-label {
- display: flex;
- flex-direction: row;
- align-items: center;
- gap: .5rem;
- position: relative;
- margin: .25rem 0;
-}
-
-.toggle-label.disabled {
- opacity: 0.5;
- pointer-events: none;
- color: hsl(var(--text-muted));
-}
-
-.toggle-label:active .toggle-switch {
- transform: scale(0.85);
-}
-
-.toggle-container {
- --toggle-height: 12px;
- --toggle-width: 40px;
- display: flex;
- align-items: center;
- cursor: pointer;
- transition: all .15s ease;
- background-color: hsl(var(--default-base));
- width: var(--toggle-width);
- height: var(--toggle-height);
- border-radius: var(--toggle-height);
-}
-
-.toggle-switch {
- --switch: calc(var(--toggle-height) * 1.75);
- height: var(--switch);
- width: var(--switch);
- background-color: hsl(var(--text-muted));
- border-radius: var(--toggle-height);
- position: relative;
- left: 0;
- transition: all .15s ease;
- will-change: transform;
-}
-
-.toggle-container:has(.checkbox:checked) .toggle-switch {
- left: calc(100% - var(--switch));
- background-color: hsl(var(--text-normal));
-}
-
-.toggle-label.sm .toggle-container {
- --toggle-height: 10px;
- --toggle-width: 32px;
-}
-
-.toggle-label.sm .toggle-switch {
- --switch: calc(var(--toggle-height) * 1.65);
-}
-
-.toggle-label.lg .toggle-container {
- --toggle-height: 16px;
- --toggle-width: 48px;
-}
-
-.toggle-label.lg .toggle-switch {
- --switch: calc(var(--toggle-height) * 1.65);
-}
-
-.toggle-label.primary .toggle-container:has(.checkbox:checked) {
- background-color: hsl(var(--primary-base));
-}
-
-.toggle-label.success .toggle-container:has(.checkbox:checked) {
- background-color: hsl(var(--success-base));
-}
-
-.toggle-label.warning .toggle-container:has(.checkbox:checked) {
- background-color: hsl(var(--warning-base));
-}
-
-.toggle-label.danger .toggle-container:has(.checkbox:checked) {
- background-color: hsl(var(--danger-base));
-}
-
-.req-star {
- color: hsl(var(--danger-base));
- font-weight: 700;
-}
-
-.checkbox {
- width: 0;
- height: 0;
- visibility: hidden;
- opacity: 0;
- margin: 0;
-}
diff --git a/packages/studiocms_ui/src/components/User.astro b/packages/studiocms_ui/src/components/User.astro
new file mode 100644
index 000000000..8e11fc98b
--- /dev/null
+++ b/packages/studiocms_ui/src/components/User.astro
@@ -0,0 +1,69 @@
+---
+import { Image } from 'astro:assets';
+import Icon from '../utils/Icon.astro';
+
+type Props = {
+ name: string;
+ description: string;
+ avatar?: string;
+ class?: string;
+};
+
+const { name, description, avatar, class: className } = Astro.props;
+---
+
+
+
+ {avatar ? (
+
+ ) : (
+
+ )}
+
+
+ {name}
+ {description}
+
+
+
diff --git a/packages/studiocms_ui/src/components/User/User.astro b/packages/studiocms_ui/src/components/User/User.astro
deleted file mode 100644
index da25c4274..000000000
--- a/packages/studiocms_ui/src/components/User/User.astro
+++ /dev/null
@@ -1,29 +0,0 @@
----
-import './User.css';
-
-import { Image } from 'astro:assets';
-import Icon from '../../utils/Icon.astro';
-
-type Props = {
- name: string;
- description: string;
- avatar?: string;
- class?: string;
-};
-
-const { name, description, avatar, class: className } = Astro.props;
----
-
-
-
- {avatar ? (
-
- ) : (
-
- )}
-
-
- {name}
- {description}
-
-
\ No newline at end of file
diff --git a/packages/studiocms_ui/src/components/User/User.css b/packages/studiocms_ui/src/components/User/User.css
deleted file mode 100644
index ebbe4fa79..000000000
--- a/packages/studiocms_ui/src/components/User/User.css
+++ /dev/null
@@ -1,40 +0,0 @@
-.user-container {
- display: flex;
- flex-direction: row;
- align-items: center;
- gap: 1rem;
-}
-
-.avatar-container {
- width: 3rem;
- height: 3rem;
- background-color: hsl(var(--default-base));
- border-radius: 3rem;
- display: flex;
- align-items: center;
- justify-content: center;
- overflow: hidden;
- border: 1px solid hsl(var(--border));
-}
-
-.avatar-img {
- width: 100%;
- height: auto;
-}
-
-.text-content {
- display: flex;
- flex-direction: column;
- gap: .125rem;
-}
-
-.name {
- font-size: 1em;
- font-weight: 600;
-}
-
-.description {
- font-size: .875em;
- font-weight: 400;
- color: hsl(var(--text-muted));
-}
diff --git a/packages/studiocms_ui/src/components/index.ts b/packages/studiocms_ui/src/components/index.ts
index 30aeb3808..066d20239 100644
--- a/packages/studiocms_ui/src/components/index.ts
+++ b/packages/studiocms_ui/src/components/index.ts
@@ -1,18 +1,18 @@
-export { default as Button } from './Button/Button.astro';
-export { default as Divider } from './Divider/Divider.astro';
-export { default as Input } from './Input/Input.astro';
-export { default as Row } from './Row/Row.astro';
-export { default as Center } from './Center/Center.astro';
-export { default as Textarea } from './Textarea/Textarea.astro';
-export { default as Checkbox } from './Checkbox/Checkbox.astro';
-export { default as Toggle } from './Toggle/Toggle.astro';
-export { default as RadioGroup } from './RadioGroup/RadioGroup.astro';
+export { default as Button } from './Button.astro';
+export { default as Divider } from './Divider.astro';
+export { default as Input } from './Input.astro';
+export { default as Row } from './Row.astro';
+export { default as Center } from './Center.astro';
+export { default as Textarea } from './Textarea.astro';
+export { default as Checkbox } from './Checkbox.astro';
+export { default as Toggle } from './Toggle.astro';
+export { default as RadioGroup } from './RadioGroup.astro';
export { default as Toaster } from './Toast/Toaster.astro';
-export { default as Card } from './Card/Card.astro';
+export { default as Card } from './Card.astro';
export { default as Modal } from './Modal/Modal.astro';
-export { default as Select } from './Select/Select.astro';
+export { default as Select } from './Select.astro';
export { default as Dropdown } from './Dropdown/Dropdown.astro';
-export { default as User } from './User/User.astro';
+export { default as User } from './User.astro';
export { default as Sidebar } from './Sidebar/Single.astro';
export { default as DoubleSidebar } from './Sidebar/Double.astro';
diff --git a/packages/studiocms_ui/src/types/index.ts b/packages/studiocms_ui/src/types/index.ts
index e1c3d53d0..dcfd35488 100644
--- a/packages/studiocms_ui/src/types/index.ts
+++ b/packages/studiocms_ui/src/types/index.ts
@@ -1,16 +1,8 @@
-type PersistentToastProps = {
- persistent: true;
- closeButton: true;
-};
-
-type NormalToastProps = {
- persistent?: false;
- closeButton?: boolean;
-};
-
-export type ToastProps = (PersistentToastProps | NormalToastProps) & {
+export type ToastProps = {
title: string;
description?: string;
type: 'success' | 'warning' | 'danger' | 'info';
duration?: number;
+ persistent?: boolean;
+ closeButton?: boolean;
};
diff --git a/playgrounds/node/astro.config.mts b/playgrounds/node/astro.config.mts
index 7fcc9e5d7..db7f8ae8d 100644
--- a/playgrounds/node/astro.config.mts
+++ b/playgrounds/node/astro.config.mts
@@ -4,7 +4,7 @@ import webvitals from '@astrojs/web-vitals';
import studioCMSBlog from '@studiocms/blog';
import devapps from '@studiocms/devapps';
import { defineConfig } from 'astro/config';
-import studioCMS from 'studiocms';
+import studioCMS from '../../packages/studiocms/src';
import { getCoolifyURL } from '../../www/hostUtils';
// https://astro.build/config
diff --git a/playgrounds/node/studiocms.config.mjs b/playgrounds/node/studiocms.config.mjs
index 08d7fbf88..c78f3e10f 100644
--- a/playgrounds/node/studiocms.config.mjs
+++ b/playgrounds/node/studiocms.config.mjs
@@ -1,4 +1,4 @@
-import { defineStudioCMSConfig } from 'studiocms';
+import { defineStudioCMSConfig } from '../../packages/studiocms/src';
export default defineStudioCMSConfig({
dbStartPage: false,
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d5373295a..683b81207 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -34,8 +34,8 @@ catalogs:
specifier: ^20.14.11
version: 20.14.13
astro:
- specifier: ^4.15.12
- version: 4.15.12
+ specifier: ^4.16
+ version: 4.16.2
astro-integration-kit:
specifier: ^0.16.1
version: 0.16.1
@@ -118,8 +118,8 @@ catalogs:
specifier: '>=0.14'
version: 0.14.0
astro:
- specifier: '>=4.15'
- version: 4.15.1
+ specifier: '>=4.16'
+ version: 4.16.2
studiocms:
'@types/semver':
specifier: ^7.5.8
@@ -288,16 +288,16 @@ importers:
version: 1.19.0
'@inox-tools/runtime-logger':
specifier: catalog:studiocms-shared
- version: 0.3.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.3.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@markdoc/markdoc':
specifier: catalog:studiocms-shared
version: 0.4.0(@types/react@18.3.5)(react@18.3.1)
'@matthiesenxyz/astrolace':
specifier: catalog:studiocms-shared
- version: 0.3.2(@types/react@18.3.5)(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.3.2(@types/react@18.3.5)(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@matthiesenxyz/integration-utils':
specifier: catalog:studiocms-shared
- version: 0.2.0(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.2.0(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@matthiesenxyz/unocss-preset-daisyui':
specifier: catalog:studiocms-shared
version: 0.1.2(daisyui@4.12.10(postcss@8.4.47))(unocss@0.62.3(postcss@8.4.47)(rollup@4.21.0)(vite@5.4.8(@types/node@22.0.0)))
@@ -345,16 +345,16 @@ importers:
version: 0.62.3
'@unpic/astro':
specifier: catalog:studiocms-imagehandler
- version: 0.0.46(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.0.46(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
arctic:
specifier: catalog:studiocms-shared
version: 1.9.2
astro:
specifier: catalog:min
- version: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ version: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
astro-integration-kit:
specifier: 'catalog:'
- version: 0.16.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.16.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
daisyui:
specifier: catalog:studiocms-shared
version: 4.12.10(postcss@8.4.47)
@@ -418,7 +418,7 @@ importers:
dependencies:
astro:
specifier: catalog:min
- version: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ version: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
devDependencies:
typescript:
specifier: 'catalog:'
@@ -434,16 +434,16 @@ importers:
version: 0.14.0(@cloudflare/workers-types@4.20240725.0)(@types/react@18.3.5)(react@18.3.1)
'@inox-tools/runtime-logger':
specifier: catalog:studiocms-shared
- version: 0.3.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.3.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@matthiesenxyz/astrodtsbuilder':
specifier: catalog:studiocms-shared
- version: 0.1.2(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.1.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@matthiesenxyz/astrolace':
specifier: catalog:studiocms-shared
- version: 0.3.2(@types/react@18.3.5)(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.3.2(@types/react@18.3.5)(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@matthiesenxyz/integration-utils':
specifier: catalog:studiocms-shared
- version: 0.2.0(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.2.0(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@noble/hashes':
specifier: catalog:studiocms-shared
version: 1.4.0
@@ -461,10 +461,10 @@ importers:
version: 1.9.2
astro:
specifier: catalog:min
- version: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ version: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
astro-integration-kit:
specifier: 'catalog:'
- version: 0.16.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.16.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
lucia:
specifier: catalog:studiocms-shared
version: 3.2.0
@@ -492,7 +492,7 @@ importers:
version: link:../studiocms_core
astro:
specifier: catalog:min
- version: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ version: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
devDependencies:
typescript:
specifier: 'catalog:'
@@ -514,10 +514,10 @@ importers:
version: link:../studiocms_frontend
astro:
specifier: catalog:min
- version: 4.15.1(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)
+ version: 4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)
astro-theme-provider:
specifier: 'catalog:'
- version: 0.6.1(astro@4.15.1(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.6.1(astro@4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3))
devDependencies:
'@types/node':
specifier: 'catalog:'
@@ -533,13 +533,13 @@ importers:
version: 0.4.0(@types/react@18.3.5)(react@18.3.1)
'@matthiesenxyz/astrodtsbuilder':
specifier: catalog:studiocms-shared
- version: 0.1.2(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.1.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@matthiesenxyz/astrolace':
specifier: catalog:studiocms-shared
- version: 0.3.2(@types/react@18.3.5)(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.3.2(@types/react@18.3.5)(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@matthiesenxyz/integration-utils':
specifier: catalog:studiocms-shared
- version: 0.2.0(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.2.0(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@noble/hashes':
specifier: catalog:studiocms-shared
version: 1.4.0
@@ -548,10 +548,10 @@ importers:
version: link:../studiocms_robotstxt
astro:
specifier: catalog:min
- version: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ version: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
astro-integration-kit:
specifier: 'catalog:'
- version: 0.16.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.16.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
lucia:
specifier: catalog:studiocms-shared
version: 3.2.0
@@ -588,16 +588,16 @@ importers:
dependencies:
'@inox-tools/runtime-logger':
specifier: catalog:studiocms-shared
- version: 0.3.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.3.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@matthiesenxyz/astrodtsbuilder':
specifier: catalog:studiocms-shared
- version: 0.1.2(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.1.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@matthiesenxyz/astrolace':
specifier: catalog:studiocms-shared
- version: 0.3.2(@types/react@18.3.5)(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.3.2(@types/react@18.3.5)(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@matthiesenxyz/integration-utils':
specifier: catalog:studiocms-shared
- version: 0.2.0(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.2.0(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@matthiesenxyz/unocss-preset-daisyui':
specifier: catalog:studiocms-shared
version: 0.1.2(daisyui@4.12.10(postcss@8.4.47))(unocss@0.62.3(postcss@8.4.47)(rollup@4.21.0)(vite@5.4.8(@types/node@22.0.0)))
@@ -624,10 +624,10 @@ importers:
version: 0.62.3
astro:
specifier: catalog:min
- version: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ version: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
astro-integration-kit:
specifier: 'catalog:'
- version: 0.16.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.16.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
daisyui:
specifier: catalog:studiocms-shared
version: 4.12.10(postcss@8.4.47)
@@ -652,10 +652,10 @@ importers:
version: 0.14.0
astro:
specifier: catalog:min
- version: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ version: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
astro-integration-kit:
specifier: 'catalog:'
- version: 0.16.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.16.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
devDependencies:
typescript:
specifier: 'catalog:'
@@ -668,7 +668,7 @@ importers:
dependencies:
'@matthiesenxyz/integration-utils':
specifier: catalog:studiocms-shared
- version: 0.2.0(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.2.0(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@studiocms/core':
specifier: workspace:*
version: link:../studiocms_core
@@ -677,10 +677,10 @@ importers:
version: link:../studiocms_renderers
astro:
specifier: catalog:min
- version: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ version: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
astro-integration-kit:
specifier: 'catalog:'
- version: 0.16.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.16.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
devDependencies:
typescript:
specifier: 'catalog:'
@@ -696,22 +696,22 @@ importers:
version: 1.19.0
'@matthiesenxyz/astrodtsbuilder':
specifier: catalog:studiocms-shared
- version: 0.1.2(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.1.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@matthiesenxyz/integration-utils':
specifier: catalog:studiocms-shared
- version: 0.2.0(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.2.0(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@studiocms/core':
specifier: workspace:*
version: link:../studiocms_core
'@unpic/astro':
specifier: catalog:studiocms-imagehandler
- version: 0.0.46(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.0.46(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
astro:
specifier: catalog:min
- version: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ version: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
astro-integration-kit:
specifier: 'catalog:'
- version: 0.16.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.16.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
unpic:
specifier: catalog:studiocms-shared
version: 3.18.0
@@ -733,16 +733,16 @@ importers:
version: 3.6.2(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vite@5.4.8(@types/node@22.0.0))
'@inox-tools/runtime-logger':
specifier: catalog:studiocms-shared
- version: 0.3.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.3.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@markdoc/markdoc':
specifier: catalog:studiocms-shared
version: 0.4.0(@types/react@18.3.5)(react@18.3.1)
'@matthiesenxyz/astrodtsbuilder':
specifier: catalog:studiocms-shared
- version: 0.1.2(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.1.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@matthiesenxyz/integration-utils':
specifier: catalog:studiocms-shared
- version: 0.2.0(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.2.0(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@mdx-js/mdx':
specifier: catalog:studiocms-renderer
version: 3.0.1
@@ -754,10 +754,10 @@ importers:
version: link:../studiocms_core
astro:
specifier: catalog:min
- version: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ version: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
astro-integration-kit:
specifier: 'catalog:'
- version: 0.16.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.16.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
marked:
specifier: catalog:studiocms-shared
version: 13.0.3
@@ -812,7 +812,7 @@ importers:
dependencies:
astro:
specifier: catalog:min
- version: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ version: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
packages/studiocms_ui:
dependencies:
@@ -821,7 +821,7 @@ importers:
version: 5.1.0
astro:
specifier: catalog:min
- version: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ version: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
devDependencies:
typescript:
specifier: 'catalog:'
@@ -837,7 +837,7 @@ importers:
version: 0.14.2(@cloudflare/workers-types@4.20240725.0)(@types/react@18.3.5)(react@18.3.1)
'@astrojs/node':
specifier: 'catalog:'
- version: 8.3.3(astro@4.15.12(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3))
+ version: 8.3.3(astro@4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3))
'@astrojs/web-vitals':
specifier: 'catalog:'
version: 3.0.0(@astrojs/db@0.14.2(@cloudflare/workers-types@4.20240725.0)(@types/react@18.3.5)(react@18.3.1))
@@ -849,7 +849,7 @@ importers:
version: link:../../packages/studiocms_devapps
astro:
specifier: 'catalog:'
- version: 4.15.12(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)
+ version: 4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)
studiocms:
specifier: workspace:*
version: link:../../packages/studiocms
@@ -865,7 +865,7 @@ importers:
dependencies:
'@astrojs/node':
specifier: 'catalog:'
- version: 8.3.3(astro@4.15.12(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3))
+ version: 8.3.3(astro@4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3))
'@fontsource-variable/onest':
specifier: 5.1.0
version: 5.1.0
@@ -874,7 +874,7 @@ importers:
version: link:../../packages/studiocms_ui
astro:
specifier: 'catalog:'
- version: 4.15.12(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)
+ version: 4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)
devDependencies:
'@types/node':
specifier: 'catalog:'
@@ -896,37 +896,49 @@ importers:
version: 0.14.2(@cloudflare/workers-types@4.20240725.0)(@types/react@18.3.5)(react@18.3.1)
'@astrojs/node':
specifier: 'catalog:'
- version: 8.3.3(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 8.3.3(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@astrojs/starlight':
specifier: 'catalog:'
- version: 0.28.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.28.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@fontsource-variable/onest':
specifier: catalog:studiocms-shared
version: 5.1.0
'@lorenzo_lewis/starlight-utils':
specifier: catalog:docs
- version: 0.2.0(@astrojs/starlight@0.28.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)))(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.2.0(@astrojs/starlight@0.28.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)))(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@shikijs/twoslash':
- specifier: ^1.22.0
- version: 1.22.0(typescript@5.6.3)
+ specifier: 1.16.2
+ version: 1.16.2(typescript@5.6.3)
'@shoelace-style/shoelace':
specifier: catalog:docs
version: 2.16.0(@types/react@18.3.5)
+ '@studiocms/ui':
+ specifier: workspace:*
+ version: link:../../packages/studiocms_ui
'@types/hast':
specifier: catalog:docs
version: 3.0.4
astro:
specifier: 'catalog:'
- version: 4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ version: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
astro-embed:
specifier: catalog:docs
- version: 0.7.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.7.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
hast:
specifier: catalog:docs
version: 1.0.0
hast-util-select:
specifier: catalog:docs
version: 6.0.2
+ mdast-util-from-markdown:
+ specifier: ^2.0.1
+ version: 2.0.1
+ mdast-util-gfm:
+ specifier: ^3.0.0
+ version: 3.0.0
+ mdast-util-to-hast:
+ specifier: ^13.2.0
+ version: 13.2.0
p-retry:
specifier: catalog:docs
version: 6.2.0
@@ -936,12 +948,15 @@ importers:
sharp:
specifier: 'catalog:'
version: 0.33.4
+ shiki:
+ specifier: 1.16.2
+ version: 1.16.2
starlight-package-managers:
specifier: catalog:docs
- version: 0.7.0(@astrojs/starlight@0.28.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)))(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ version: 0.7.0(@astrojs/starlight@0.28.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)))(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
starlight-typedoc:
specifier: catalog:docs
- version: 0.16.0(@astrojs/starlight@0.28.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)))(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))(typedoc-plugin-markdown@4.2.9(typedoc@0.26.8(typescript@5.6.3)))(typedoc@0.26.8(typescript@5.6.3))
+ version: 0.16.0(@astrojs/starlight@0.28.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)))(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))(typedoc-plugin-markdown@4.2.9(typedoc@0.26.8(typescript@5.6.3)))(typedoc@0.26.8(typescript@5.6.3))
studiocms:
specifier: workspace:*
version: link:../../packages/studiocms
@@ -962,7 +977,7 @@ importers:
version: 0.9.3(typescript@5.6.3)
'@astrojs/tailwind':
specifier: 'catalog:'
- version: 5.1.0(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))(tailwindcss@3.4.7)
+ version: 5.1.0(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))(tailwindcss@3.4.7)
'@fontsource-variable/onest':
specifier: catalog:studiocms-shared
version: 5.1.0
@@ -977,7 +992,7 @@ importers:
version: 0.5.15(tailwindcss@3.4.7)
astro:
specifier: 'catalog:'
- version: 4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ version: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
astro-icon:
specifier: catalog:landing
version: 1.1.1
@@ -1091,6 +1106,9 @@ packages:
'@astrojs/markdown-remark@5.2.0':
resolution: {integrity: sha512-vWGM24KZXz11jR3JO+oqYU3T2qpuOi4uGivJ9SQLCAI01+vEkHC60YJMRvHPc+hwd60F7euNs1PeOEixIIiNQw==}
+ '@astrojs/markdown-remark@5.3.0':
+ resolution: {integrity: sha512-r0Ikqr0e6ozPb5bvhup1qdWnSPUvQu6tub4ZLYaKyG50BXZ0ej6FhGz3GpChKpH7kglRFPObJd/bDyf2VM9pkg==}
+
'@astrojs/mdx@3.1.3':
resolution: {integrity: sha512-hOM4dMM4RfJI254d3p/AnOZuk2VyKszRtuY5FBm+Xc4XdhIpGrR56OXMNEcWchtwz4HQyPe/eJSgvBjSROcQIQ==}
engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0}
@@ -2557,9 +2575,6 @@ packages:
resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
engines: {node: '>= 8'}
- '@oslojs/encoding@0.4.1':
- resolution: {integrity: sha512-hkjo6MuIK/kQR5CrGNdAPZhS01ZCXuWDRJ187zh6qqF2+yMHZpD9fAYpX8q2bOO6Ryhl3XpCT6kUX76N8hhm4Q==}
-
'@oslojs/encoding@1.1.0':
resolution: {integrity: sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==}
@@ -2802,15 +2817,12 @@ packages:
'@shikijs/transformers@1.14.1':
resolution: {integrity: sha512-JJqL8QBVCJh3L61jqqEXgFq1cTycwjcGj7aSmqOEsbxnETM9hRlaB74QuXvY/fVJNjbNt8nvWo0VwAXKvMSLRg==}
- '@shikijs/twoslash@1.22.0':
- resolution: {integrity: sha512-r5F/x4GTh18XzhAREehgT9lCDFZlISBSIsOFZQQaqjiOLG81PIqJN1I1D6XY58UN9OJt+3mffuKq19K4FOJKJA==}
+ '@shikijs/twoslash@1.16.2':
+ resolution: {integrity: sha512-WzlCd7KnyfhBvGYb7tAbrxK1a9Rn2tQvAyv36RcggT418O3K5JRygiYAtf11qQjV1Q25TicczaosjPUVStFW0A==}
'@shikijs/types@1.22.0':
resolution: {integrity: sha512-Fw/Nr7FGFhlQqHfxzZY8Cwtwk5E9nKDUgeLjZgt3UuhcM3yJR9xj3ZGNravZZok8XmEZMiYkSMTPlPkULB8nww==}
- '@shikijs/vscode-textmate@9.2.0':
- resolution: {integrity: sha512-5FinaOp6Vdh/dl4/yaOTh0ZeKch+rYS8DUb38V3GMKYVkdqzxw53lViRKUYkVILRiVQT7dcPC7VvAKOR73zVtQ==}
-
'@shikijs/vscode-textmate@9.3.0':
resolution: {integrity: sha512-jn7/7ky30idSkd/O5yDBfAnVt+JJpepofP/POZ1iMOxK59cOfqIgg/Dj0eFsjOTMw+4ycJN0uhZH/Eb0bs/EUA==}
@@ -3219,13 +3231,8 @@ packages:
'@astrojs/db':
optional: true
- astro@4.15.1:
- resolution: {integrity: sha512-XvKZ2GaDbCsMfcJess4o+4D4cCKja45GJ/9o6EJ6n96xaen8HZMRoJn3YKL9TOjIrL2NuU4mBFMG2JivPJ0foA==}
- engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0'}
- hasBin: true
-
- astro@4.15.12:
- resolution: {integrity: sha512-PojmALAzwafLUD//hqKD4/+1Fj03Aa2VQY/rztCg6DUMgHLpo3TFV3ob1++kay91z/MdNWR+IGITcXhxAXhiTg==}
+ astro@4.16.2:
+ resolution: {integrity: sha512-Dfkpyt6sA+nv6LnOJr+7bt+gQF5Qh02yqVgyes4c4SvcPScteq1bLX22/z/XW+VU0vlciJOMiM8GWtcDiF6gUQ==}
engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0'}
hasBin: true
@@ -3283,10 +3290,6 @@ packages:
boolbase@1.0.0:
resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
- boxen@7.1.1:
- resolution: {integrity: sha512-2hCgjEmP8YLWQ130n2FerGv7rYpfBmnmp9Uy2Le1vge6X3gZIfSmEzP5QTDElFxcvVcXlEn8Aq6MU/PZygIOog==}
- engines: {node: '>=14.16'}
-
boxen@8.0.1:
resolution: {integrity: sha512-F3PH5k5juxom4xktynS7MoFY+NUWH5LC4CnH11YB8NPew+HLpmBLCybSAEyb2F+4pRXhuhWqFesoQd6DAyc2hw==}
engines: {node: '>=18'}
@@ -3336,10 +3339,6 @@ packages:
resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==}
engines: {node: '>= 6'}
- camelcase@7.0.1:
- resolution: {integrity: sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==}
- engines: {node: '>=14.16'}
-
camelcase@8.0.0:
resolution: {integrity: sha512-8WB3Jcas3swSvjIeA2yvCJ+Miyz5l1ZmB6HFb9R1317dt9LCQoswg/BGrmAmkWVEszSrrg4RwmO46qIm2OEnSA==}
engines: {node: '>=16'}
@@ -3485,10 +3484,6 @@ packages:
convert-source-map@2.0.0:
resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
- cookie@0.6.0:
- resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==}
- engines: {node: '>= 0.6'}
-
cookie@0.7.2:
resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==}
engines: {node: '>= 0.6'}
@@ -4105,6 +4100,9 @@ packages:
hast-util-from-html@2.0.1:
resolution: {integrity: sha512-RXQBLMl9kjKVNkJTIO6bZyb2n+cUH8LFaSSzo82jiLT6Tfc+Pt7VQCS+/h3YwG4jaNE2TA2sdJisGWR+aJrp0g==}
+ hast-util-from-html@2.0.3:
+ resolution: {integrity: sha512-CUSRHXyKjzHov8yKsQjGOElXy/3EKpyX56ELnkHH34vDVw1N1XSQ1ZcAvTyAPtGqLTuKP/uxM+aLkSPqF/EtMw==}
+
hast-util-from-parse5@8.0.1:
resolution: {integrity: sha512-Er/Iixbc7IEa7r/XLtuG52zoqn/b3Xng/w6aZQ0xGVxzhw5xUFxcRqdPzP6yFi/4HBYRaifaI5fQ1RH8n0ZeOQ==}
@@ -5041,9 +5039,6 @@ packages:
resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==}
engines: {node: '>=16 || 14 >=14.18'}
- path-to-regexp@6.2.2:
- resolution: {integrity: sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==}
-
path-type@4.0.0:
resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
engines: {node: '>=8'}
@@ -5263,6 +5258,9 @@ packages:
rehype-stringify@10.0.0:
resolution: {integrity: sha512-1TX1i048LooI9QoecrXy7nGFFbFSufxVRAfc6Y9YMRAi56l+oB0zP51mLSV312uRuvVLPV1opSlJmslozR1XHQ==}
+ rehype-stringify@10.0.1:
+ resolution: {integrity: sha512-k9ecfXHmIPuFVI61B9DeLPN0qFHfawM6RsuX48hoqlaKSF61RskNjSm1lI8PhBEM0MRdLxVVm4WmTqJQccH9mA==}
+
rehype@13.0.1:
resolution: {integrity: sha512-AcSLS2mItY+0fYu9xKxOu1LhUZeBZZBx8//5HKzF+0XP+eP8+6a5MXn2+DW2kfXR6Dtp1FEXMVrjyKAcvcU8vg==}
@@ -5284,6 +5282,9 @@ packages:
remark-rehype@11.1.0:
resolution: {integrity: sha512-z3tJrAs2kIs1AqIIy6pzHmAHlF1hWQ+OdY4/hv+Wxe35EhyLKcajL33iUEn3ScxtFox9nUvRufR/Zre8Q08H/g==}
+ remark-rehype@11.1.1:
+ resolution: {integrity: sha512-g/osARvjkBXb6Wo0XvAeXQohVta8i84ACbenPpoSsxTOQH/Ae0/RGP4WZgnMH5pMLpsj4FG7OHmcIcXxpza8eQ==}
+
remark-smartypants@3.0.2:
resolution: {integrity: sha512-ILTWeOriIluwEvPjv67v7Blgrcx+LZOkAUVtKI3putuhlZm84FnqDORNXPPm+HY3NdZOMhyDwZ1E+eZB/Df5dA==}
engines: {node: '>=16.0.0'}
@@ -5675,10 +5676,6 @@ packages:
peerDependencies:
typescript: '*'
- type-fest@2.19.0:
- resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==}
- engines: {node: '>=12.20'}
-
type-fest@4.26.1:
resolution: {integrity: sha512-yOGpmOAL7CkKe/91I5O3gPICmJNLJ1G4zFYVAsRHg7M64biSnPtRj0WNQt++bRkjYOqjWXrhnUw1utzmVErAdg==}
engines: {node: '>=16'}
@@ -5839,14 +5836,6 @@ packages:
terser:
optional: true
- vitefu@0.2.5:
- resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==}
- peerDependencies:
- vite: ^3.0.0 || ^4.0.0 || ^5.0.0
- peerDependenciesMeta:
- vite:
- optional: true
-
vitefu@1.0.2:
resolution: {integrity: sha512-0/iAvbXyM3RiPPJ4lyD4w6Mjgtf4ejTK6TPvTNG3H32PLwuT0N/ZjJLiXug7ETE/LWtTeHw9WRv7uX/tIKYyKg==}
peerDependencies:
@@ -6005,10 +5994,6 @@ packages:
engines: {node: '>= 8'}
hasBin: true
- widest-line@4.0.1:
- resolution: {integrity: sha512-o0cyEG0e8GPzT4iGHphIOh0cJOV8fivsXxddQasHPHfoZf1ZexrfeA21w2NaEN1RHE+fXlfISmOE8R9N3u3Qig==}
- engines: {node: '>=12'}
-
widest-line@5.0.0:
resolution: {integrity: sha512-c9bZp7b5YtRj2wOe6dlj32MK+Bx/M/d+9VB2SHM1OtsUHR0aV0tdP6DWh/iMt0kWi1t5g1Iudu6hQRNd1A4PVA==}
engines: {node: '>=18'}
@@ -6135,38 +6120,38 @@ snapshots:
'@antfu/utils@0.7.10': {}
- '@astro-community/astro-embed-integration@0.7.1(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
+ '@astro-community/astro-embed-integration@0.7.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
dependencies:
'@astro-community/astro-embed-link-preview': 0.2.1
- '@astro-community/astro-embed-twitter': 0.5.4(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
- '@astro-community/astro-embed-vimeo': 0.3.7(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
- '@astro-community/astro-embed-youtube': 0.5.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ '@astro-community/astro-embed-twitter': 0.5.4(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ '@astro-community/astro-embed-vimeo': 0.3.7(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ '@astro-community/astro-embed-youtube': 0.5.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@types/unist': 2.0.10
- astro: 4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
- astro-auto-import: 0.4.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro-auto-import: 0.4.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
unist-util-select: 4.0.3
'@astro-community/astro-embed-link-preview@0.2.1':
dependencies:
'@astro-community/astro-embed-utils': 0.1.3
- '@astro-community/astro-embed-twitter@0.5.4(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
+ '@astro-community/astro-embed-twitter@0.5.4(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
dependencies:
'@astro-community/astro-embed-utils': 0.1.3
- astro: 4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
'@astro-community/astro-embed-utils@0.1.3':
dependencies:
linkedom: 0.14.26
- '@astro-community/astro-embed-vimeo@0.3.7(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
+ '@astro-community/astro-embed-vimeo@0.3.7(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
dependencies:
'@astro-community/astro-embed-utils': 0.1.3
- astro: 4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
- '@astro-community/astro-embed-youtube@0.5.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
+ '@astro-community/astro-embed-youtube@0.5.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
dependencies:
- astro: 4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
lite-youtube-embed: 0.3.2
'@astrojs/check@0.9.3(typescript@5.6.3)':
@@ -6325,12 +6310,35 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@astrojs/mdx@3.1.3(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
+ '@astrojs/markdown-remark@5.3.0':
+ dependencies:
+ '@astrojs/prism': 3.1.0
+ github-slugger: 2.0.0
+ hast-util-from-html: 2.0.3
+ hast-util-to-text: 4.0.2
+ import-meta-resolve: 4.1.0
+ mdast-util-definitions: 6.0.0
+ rehype-raw: 7.0.0
+ rehype-stringify: 10.0.1
+ remark-gfm: 4.0.0
+ remark-parse: 11.0.0
+ remark-rehype: 11.1.1
+ remark-smartypants: 3.0.2
+ shiki: 1.22.0
+ unified: 11.0.5
+ unist-util-remove-position: 5.0.0
+ unist-util-visit: 5.0.0
+ unist-util-visit-parents: 6.0.1
+ vfile: 6.0.3
+ transitivePeerDependencies:
+ - supports-color
+
+ '@astrojs/mdx@3.1.3(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
dependencies:
'@astrojs/markdown-remark': 5.2.0
'@mdx-js/mdx': 3.0.1
acorn: 8.12.1
- astro: 4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
es-module-lexer: 1.5.4
estree-util-visit: 2.0.0
github-slugger: 2.0.0
@@ -6346,17 +6354,17 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@astrojs/node@8.3.3(astro@4.15.12(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3))':
+ '@astrojs/node@8.3.3(astro@4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3))':
dependencies:
- astro: 4.15.12(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)
+ astro: 4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)
send: 0.18.0
server-destroy: 1.0.1
transitivePeerDependencies:
- supports-color
- '@astrojs/node@8.3.3(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
+ '@astrojs/node@8.3.3(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
dependencies:
- astro: 4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
send: 0.18.0
server-destroy: 1.0.1
transitivePeerDependencies:
@@ -6389,15 +6397,15 @@ snapshots:
stream-replace-string: 2.0.0
zod: 3.23.8
- '@astrojs/starlight@0.28.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
+ '@astrojs/starlight@0.28.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
dependencies:
- '@astrojs/mdx': 3.1.3(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ '@astrojs/mdx': 3.1.3(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@astrojs/sitemap': 3.1.6
'@pagefind/default-ui': 1.1.0
'@types/hast': 3.0.4
'@types/mdast': 4.0.4
- astro: 4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
- astro-expressive-code: 0.35.6(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro-expressive-code: 0.35.6(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
bcp-47: 2.1.0
hast-util-from-html: 2.0.1
hast-util-select: 6.0.2
@@ -6423,9 +6431,9 @@ snapshots:
kleur: 4.1.5
ora: 8.1.0
- '@astrojs/tailwind@5.1.0(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))(tailwindcss@3.4.7)':
+ '@astrojs/tailwind@5.1.0(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))(tailwindcss@3.4.7)':
dependencies:
- astro: 4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
autoprefixer: 10.4.19(postcss@8.4.47)
postcss: 8.4.47
postcss-load-config: 4.0.2(postcss@8.4.47)
@@ -7204,7 +7212,7 @@ snapshots:
'@expressive-code/plugin-shiki@0.35.6':
dependencies:
'@expressive-code/core': 0.35.6
- shiki: 1.22.0
+ shiki: 1.16.2
'@expressive-code/plugin-text-markers@0.35.6':
dependencies:
@@ -7408,18 +7416,18 @@ snapshots:
'@img/sharp-win32-x64@0.33.5':
optional: true
- '@inox-tools/modular-station@0.3.0(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
+ '@inox-tools/modular-station@0.3.0(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
dependencies:
'@inox-tools/utils': 0.1.3
- astro: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
- astro-integration-kit: 0.16.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro-integration-kit: 0.16.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
- '@inox-tools/runtime-logger@0.3.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
+ '@inox-tools/runtime-logger@0.3.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
dependencies:
- '@inox-tools/modular-station': 0.3.0(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ '@inox-tools/modular-station': 0.3.0(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@inox-tools/utils': 0.1.3
- astro: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
- astro-integration-kit: 0.16.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro-integration-kit: 0.16.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@inox-tools/utils@0.1.3': {}
@@ -7584,11 +7592,11 @@ snapshots:
dependencies:
'@lit-labs/ssr-dom-shim': 1.2.0
- '@lorenzo_lewis/starlight-utils@0.2.0(@astrojs/starlight@0.28.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)))(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
+ '@lorenzo_lewis/starlight-utils@0.2.0(@astrojs/starlight@0.28.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)))(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
dependencies:
- '@astrojs/starlight': 0.28.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
- astro: 4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
- astro-integration-kit: 0.16.1(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ '@astrojs/starlight': 0.28.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro-integration-kit: 0.16.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@manypkg/find-root@1.1.0':
dependencies:
@@ -7612,24 +7620,24 @@ snapshots:
'@types/react': 18.3.5
react: 18.3.1
- '@matthiesenxyz/astrodtsbuilder@0.1.2(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
+ '@matthiesenxyz/astrodtsbuilder@0.1.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
dependencies:
- astro: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
- '@matthiesenxyz/astrolace@0.3.2(@types/react@18.3.5)(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
+ '@matthiesenxyz/astrolace@0.3.2(@types/react@18.3.5)(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
dependencies:
'@shoelace-style/shoelace': 2.16.0(@types/react@18.3.5)
- astro: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
- astro-integration-kit: 0.16.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro-integration-kit: 0.16.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
lit: 3.1.4
zod: 3.23.8
transitivePeerDependencies:
- '@types/react'
- '@matthiesenxyz/integration-utils@0.2.0(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
+ '@matthiesenxyz/integration-utils@0.2.0(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
dependencies:
- astro: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
- astro-integration-kit: 0.16.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro-integration-kit: 0.16.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
package-json: 10.0.1
semver: 7.6.3
@@ -7883,8 +7891,6 @@ snapshots:
'@nodelib/fs.scandir': 2.1.5
fastq: 1.17.1
- '@oslojs/encoding@0.4.1': {}
-
'@oslojs/encoding@1.1.0': {}
'@pagefind/darwin-arm64@1.1.0':
@@ -8069,10 +8075,9 @@ snapshots:
dependencies:
shiki: 1.14.1
- '@shikijs/twoslash@1.22.0(typescript@5.6.3)':
+ '@shikijs/twoslash@1.16.2(typescript@5.6.3)':
dependencies:
- '@shikijs/core': 1.22.0
- '@shikijs/types': 1.22.0
+ '@shikijs/core': 1.16.2
twoslash: 0.2.12(typescript@5.6.3)
transitivePeerDependencies:
- supports-color
@@ -8083,8 +8088,6 @@ snapshots:
'@shikijs/vscode-textmate': 9.3.0
'@types/hast': 3.0.4
- '@shikijs/vscode-textmate@9.2.0': {}
-
'@shikijs/vscode-textmate@9.3.0': {}
'@shoelace-style/animations@1.1.0': {}
@@ -8419,12 +8422,12 @@ snapshots:
- rollup
- supports-color
- '@unpic/astro@0.0.46(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
+ '@unpic/astro@0.0.46(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))':
dependencies:
'@unpic/core': 0.0.49
'@unpic/pixels': 1.2.2
'@unpic/placeholder': 0.1.2
- astro: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
blurhash: 2.0.5
'@unpic/core@0.0.49':
@@ -8566,24 +8569,24 @@ snapshots:
astring@1.8.6: {}
- astro-auto-import@0.4.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)):
+ astro-auto-import@0.4.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)):
dependencies:
'@types/node': 18.19.42
acorn: 8.12.1
- astro: 4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
- astro-embed@0.7.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)):
+ astro-embed@0.7.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)):
dependencies:
- '@astro-community/astro-embed-integration': 0.7.1(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ '@astro-community/astro-embed-integration': 0.7.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
'@astro-community/astro-embed-link-preview': 0.2.1
- '@astro-community/astro-embed-twitter': 0.5.4(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
- '@astro-community/astro-embed-vimeo': 0.3.7(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
- '@astro-community/astro-embed-youtube': 0.5.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
- astro: 4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ '@astro-community/astro-embed-twitter': 0.5.4(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ '@astro-community/astro-embed-vimeo': 0.3.7(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ '@astro-community/astro-embed-youtube': 0.5.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
- astro-expressive-code@0.35.6(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)):
+ astro-expressive-code@0.35.6(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)):
dependencies:
- astro: 4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
rehype-expressive-code: 0.35.6
astro-icon@1.1.1:
@@ -8595,213 +8598,41 @@ snapshots:
- debug
- supports-color
- astro-integration-kit@0.14.0(astro@4.15.1(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)):
- dependencies:
- astro: 4.15.1(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)
- pathe: 1.1.2
- recast: 0.23.9
-
- astro-integration-kit@0.16.1(astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)):
+ astro-integration-kit@0.14.0(astro@4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)):
dependencies:
- astro: 4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro: 4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)
pathe: 1.1.2
recast: 0.23.9
- astro-integration-kit@0.16.1(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)):
+ astro-integration-kit@0.16.1(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)):
dependencies:
- astro: 4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
pathe: 1.1.2
recast: 0.23.9
- astro-pages@0.3.0(astro@4.15.1(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)):
+ astro-pages@0.3.0(astro@4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)):
dependencies:
- astro: 4.15.1(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)
+ astro: 4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)
fast-glob: 3.3.2
- astro-public@0.1.0(astro@4.15.1(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)):
+ astro-public@0.1.0(astro@4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)):
dependencies:
- astro: 4.15.1(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)
+ astro: 4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)
- astro-theme-provider@0.6.1(astro@4.15.1(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)):
+ astro-theme-provider@0.6.1(astro@4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)):
dependencies:
- astro: 4.15.1(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)
- astro-integration-kit: 0.14.0(astro@4.15.1(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3))
- astro-pages: 0.3.0(astro@4.15.1(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3))
- astro-public: 0.1.0(astro@4.15.1(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3))
+ astro: 4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3)
+ astro-integration-kit: 0.14.0(astro@4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3))
+ astro-pages: 0.3.0(astro@4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3))
+ astro-public: 0.1.0(astro@4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3))
callsites: 4.2.0
fast-glob: 3.3.2
- astro@4.15.1(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3):
+ astro@4.16.2(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3):
dependencies:
'@astrojs/compiler': 2.10.3
'@astrojs/internal-helpers': 0.4.1
- '@astrojs/markdown-remark': 5.2.0
- '@astrojs/telemetry': 3.1.0
- '@babel/core': 7.25.7
- '@babel/plugin-transform-react-jsx': 7.25.7(@babel/core@7.25.7)
- '@babel/types': 7.25.7
- '@oslojs/encoding': 0.4.1
- '@rollup/pluginutils': 5.1.2(rollup@4.21.0)
- '@types/babel__core': 7.20.5
- '@types/cookie': 0.6.0
- acorn: 8.12.1
- aria-query: 5.3.2
- axobject-query: 4.1.0
- boxen: 7.1.1
- ci-info: 4.0.0
- clsx: 2.1.1
- common-ancestor-path: 1.0.1
- cookie: 0.6.0
- cssesc: 3.0.0
- debug: 4.3.7
- deterministic-object-hash: 2.0.2
- devalue: 5.1.1
- diff: 5.2.0
- dlv: 1.1.3
- dset: 3.1.4
- es-module-lexer: 1.5.4
- esbuild: 0.21.5
- estree-walker: 3.0.3
- fast-glob: 3.3.2
- fastq: 1.17.1
- flattie: 1.1.1
- github-slugger: 2.0.0
- gray-matter: 4.0.3
- html-escaper: 3.0.3
- http-cache-semantics: 4.1.1
- js-yaml: 4.1.0
- kleur: 4.1.5
- magic-string: 0.30.11
- magicast: 0.3.5
- micromatch: 4.0.8
- mrmime: 2.0.0
- neotraverse: 0.6.18
- ora: 8.1.0
- p-limit: 6.1.0
- p-queue: 8.0.1
- path-to-regexp: 6.2.2
- preferred-pm: 4.0.0
- prompts: 2.4.2
- rehype: 13.0.2
- semver: 7.6.3
- shiki: 1.22.0
- string-width: 7.2.0
- strip-ansi: 7.1.0
- tinyexec: 0.3.0
- tsconfck: 3.1.3(typescript@5.6.3)
- unist-util-visit: 5.0.0
- vfile: 6.0.3
- vite: 5.4.8(@types/node@20.14.13)
- vitefu: 0.2.5(vite@5.4.8(@types/node@20.14.13))
- which-pm: 3.0.0
- xxhash-wasm: 1.0.2
- yargs-parser: 21.1.1
- zod: 3.23.8
- zod-to-json-schema: 3.23.3(zod@3.23.8)
- zod-to-ts: 1.2.0(typescript@5.6.3)(zod@3.23.8)
- optionalDependencies:
- sharp: 0.33.5
- transitivePeerDependencies:
- - '@types/node'
- - less
- - lightningcss
- - rollup
- - sass
- - sass-embedded
- - stylus
- - sugarss
- - supports-color
- - terser
- - typescript
-
- astro@4.15.1(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3):
- dependencies:
- '@astrojs/compiler': 2.10.3
- '@astrojs/internal-helpers': 0.4.1
- '@astrojs/markdown-remark': 5.2.0
- '@astrojs/telemetry': 3.1.0
- '@babel/core': 7.25.7
- '@babel/plugin-transform-react-jsx': 7.25.7(@babel/core@7.25.7)
- '@babel/types': 7.25.7
- '@oslojs/encoding': 0.4.1
- '@rollup/pluginutils': 5.1.2(rollup@4.21.0)
- '@types/babel__core': 7.20.5
- '@types/cookie': 0.6.0
- acorn: 8.12.1
- aria-query: 5.3.2
- axobject-query: 4.1.0
- boxen: 7.1.1
- ci-info: 4.0.0
- clsx: 2.1.1
- common-ancestor-path: 1.0.1
- cookie: 0.6.0
- cssesc: 3.0.0
- debug: 4.3.7
- deterministic-object-hash: 2.0.2
- devalue: 5.1.1
- diff: 5.2.0
- dlv: 1.1.3
- dset: 3.1.4
- es-module-lexer: 1.5.4
- esbuild: 0.21.5
- estree-walker: 3.0.3
- fast-glob: 3.3.2
- fastq: 1.17.1
- flattie: 1.1.1
- github-slugger: 2.0.0
- gray-matter: 4.0.3
- html-escaper: 3.0.3
- http-cache-semantics: 4.1.1
- js-yaml: 4.1.0
- kleur: 4.1.5
- magic-string: 0.30.11
- magicast: 0.3.5
- micromatch: 4.0.8
- mrmime: 2.0.0
- neotraverse: 0.6.18
- ora: 8.1.0
- p-limit: 6.1.0
- p-queue: 8.0.1
- path-to-regexp: 6.2.2
- preferred-pm: 4.0.0
- prompts: 2.4.2
- rehype: 13.0.2
- semver: 7.6.3
- shiki: 1.22.0
- string-width: 7.2.0
- strip-ansi: 7.1.0
- tinyexec: 0.3.0
- tsconfck: 3.1.3(typescript@5.6.3)
- unist-util-visit: 5.0.0
- vfile: 6.0.3
- vite: 5.4.8(@types/node@22.0.0)
- vitefu: 0.2.5(vite@5.4.8(@types/node@22.0.0))
- which-pm: 3.0.0
- xxhash-wasm: 1.0.2
- yargs-parser: 21.1.1
- zod: 3.23.8
- zod-to-json-schema: 3.23.3(zod@3.23.8)
- zod-to-ts: 1.2.0(typescript@5.6.3)(zod@3.23.8)
- optionalDependencies:
- sharp: 0.33.5
- transitivePeerDependencies:
- - '@types/node'
- - less
- - lightningcss
- - rollup
- - sass
- - sass-embedded
- - stylus
- - sugarss
- - supports-color
- - terser
- - typescript
-
- astro@4.15.12(@types/node@20.14.13)(rollup@4.21.0)(typescript@5.6.3):
- dependencies:
- '@astrojs/compiler': 2.10.3
- '@astrojs/internal-helpers': 0.4.1
- '@astrojs/markdown-remark': 5.2.0
+ '@astrojs/markdown-remark': 5.3.0
'@astrojs/telemetry': 3.1.0
'@babel/core': 7.25.7
'@babel/plugin-transform-react-jsx': 7.25.7(@babel/core@7.25.7)
@@ -8829,7 +8660,6 @@ snapshots:
esbuild: 0.21.5
estree-walker: 3.0.3
fast-glob: 3.3.2
- fastq: 1.17.1
flattie: 1.1.1
github-slugger: 2.0.0
gray-matter: 4.0.3
@@ -8850,7 +8680,6 @@ snapshots:
rehype: 13.0.2
semver: 7.6.3
shiki: 1.22.0
- string-width: 7.2.0
tinyexec: 0.3.0
tsconfck: 3.1.3(typescript@5.6.3)
unist-util-visit: 5.0.0
@@ -8878,11 +8707,11 @@ snapshots:
- terser
- typescript
- astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3):
+ astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3):
dependencies:
'@astrojs/compiler': 2.10.3
'@astrojs/internal-helpers': 0.4.1
- '@astrojs/markdown-remark': 5.2.0
+ '@astrojs/markdown-remark': 5.3.0
'@astrojs/telemetry': 3.1.0
'@babel/core': 7.25.7
'@babel/plugin-transform-react-jsx': 7.25.7(@babel/core@7.25.7)
@@ -8910,7 +8739,6 @@ snapshots:
esbuild: 0.21.5
estree-walker: 3.0.3
fast-glob: 3.3.2
- fastq: 1.17.1
flattie: 1.1.1
github-slugger: 2.0.0
gray-matter: 4.0.3
@@ -8931,7 +8759,6 @@ snapshots:
rehype: 13.0.2
semver: 7.6.3
shiki: 1.22.0
- string-width: 7.2.0
tinyexec: 0.3.0
tsconfck: 3.1.3(typescript@5.6.3)
unist-util-visit: 5.0.0
@@ -9009,17 +8836,6 @@ snapshots:
boolbase@1.0.0: {}
- boxen@7.1.1:
- dependencies:
- ansi-align: 3.0.1
- camelcase: 7.0.1
- chalk: 5.3.0
- cli-boxes: 3.0.0
- string-width: 5.1.2
- type-fest: 2.19.0
- widest-line: 4.0.1
- wrap-ansi: 8.1.0
-
boxen@8.0.1:
dependencies:
ansi-align: 3.0.1
@@ -9075,8 +8891,6 @@ snapshots:
camelcase-css@2.0.1: {}
- camelcase@7.0.1: {}
-
camelcase@8.0.0: {}
camelize@1.0.1: {}
@@ -9215,8 +9029,6 @@ snapshots:
convert-source-map@2.0.0: {}
- cookie@0.6.0: {}
-
cookie@0.7.2: {}
cross-spawn@5.1.0:
@@ -9769,6 +9581,15 @@ snapshots:
vfile: 6.0.3
vfile-message: 4.0.2
+ hast-util-from-html@2.0.3:
+ dependencies:
+ '@types/hast': 3.0.4
+ devlop: 1.1.0
+ hast-util-from-parse5: 8.0.1
+ parse5: 7.1.2
+ vfile: 6.0.3
+ vfile-message: 4.0.2
+
hast-util-from-parse5@8.0.1:
dependencies:
'@types/hast': 3.0.4
@@ -10305,7 +10126,7 @@ snapshots:
magicast@0.3.5:
dependencies:
- '@babel/parser': 7.25.4
+ '@babel/parser': 7.25.7
'@babel/types': 7.25.7
source-map-js: 1.2.1
@@ -11115,8 +10936,6 @@ snapshots:
lru-cache: 10.4.3
minipass: 7.1.2
- path-to-regexp@6.2.2: {}
-
path-type@4.0.0: {}
pathe@1.1.2: {}
@@ -11343,6 +11162,12 @@ snapshots:
hast-util-to-html: 9.0.1
unified: 11.0.5
+ rehype-stringify@10.0.1:
+ dependencies:
+ '@types/hast': 3.0.4
+ hast-util-to-html: 9.0.3
+ unified: 11.0.5
+
rehype@13.0.1:
dependencies:
'@types/hast': 3.0.4
@@ -11401,6 +11226,14 @@ snapshots:
unified: 11.0.5
vfile: 6.0.3
+ remark-rehype@11.1.1:
+ dependencies:
+ '@types/hast': 3.0.4
+ '@types/mdast': 4.0.4
+ mdast-util-to-hast: 13.2.0
+ unified: 11.0.5
+ vfile: 6.0.3
+
remark-smartypants@3.0.2:
dependencies:
retext: 9.0.0
@@ -11628,7 +11461,7 @@ snapshots:
shiki@1.16.2:
dependencies:
'@shikijs/core': 1.16.2
- '@shikijs/vscode-textmate': 9.2.0
+ '@shikijs/vscode-textmate': 9.3.0
'@types/hast': 3.0.4
shiki@1.22.0:
@@ -11682,15 +11515,15 @@ snapshots:
sprintf-js@1.0.3: {}
- starlight-package-managers@0.7.0(@astrojs/starlight@0.28.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)))(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)):
+ starlight-package-managers@0.7.0(@astrojs/starlight@0.28.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)))(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)):
dependencies:
- '@astrojs/starlight': 0.28.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
- astro: 4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ '@astrojs/starlight': 0.28.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
- starlight-typedoc@0.16.0(@astrojs/starlight@0.28.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)))(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))(typedoc-plugin-markdown@4.2.9(typedoc@0.26.8(typescript@5.6.3)))(typedoc@0.26.8(typescript@5.6.3)):
+ starlight-typedoc@0.16.0(@astrojs/starlight@0.28.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)))(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))(typedoc-plugin-markdown@4.2.9(typedoc@0.26.8(typescript@5.6.3)))(typedoc@0.26.8(typescript@5.6.3)):
dependencies:
- '@astrojs/starlight': 0.28.2(astro@4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
- astro: 4.15.12(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
+ '@astrojs/starlight': 0.28.2(astro@4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3))
+ astro: 4.16.2(@types/node@22.0.0)(rollup@4.21.0)(typescript@5.6.3)
github-slugger: 2.0.0
typedoc: 0.26.8(typescript@5.6.3)
typedoc-plugin-markdown: 4.2.9(typedoc@0.26.8(typescript@5.6.3))
@@ -11886,8 +11719,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- type-fest@2.19.0: {}
-
type-fest@4.26.1: {}
typedoc-plugin-markdown@4.2.9(typedoc@0.26.8(typescript@5.6.3)):
@@ -11899,7 +11730,7 @@ snapshots:
lunr: 2.3.9
markdown-it: 14.1.0
minimatch: 9.0.5
- shiki: 1.22.0
+ shiki: 1.16.2
typescript: 5.6.3
yaml: 2.5.1
@@ -12081,14 +11912,6 @@ snapshots:
'@types/node': 22.0.0
fsevents: 2.3.3
- vitefu@0.2.5(vite@5.4.8(@types/node@20.14.13)):
- optionalDependencies:
- vite: 5.4.8(@types/node@20.14.13)
-
- vitefu@0.2.5(vite@5.4.8(@types/node@22.0.0)):
- optionalDependencies:
- vite: 5.4.8(@types/node@22.0.0)
-
vitefu@1.0.2(vite@5.4.8(@types/node@20.14.13)):
optionalDependencies:
vite: 5.4.8(@types/node@20.14.13)
@@ -12241,10 +12064,6 @@ snapshots:
dependencies:
isexe: 2.0.0
- widest-line@4.0.1:
- dependencies:
- string-width: 5.1.2
-
widest-line@5.0.0:
dependencies:
string-width: 7.2.0
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index b74e795a5..df684f750 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -8,7 +8,7 @@ catalog:
'@astrojs/web-vitals': ^3.0.0
'@astrojs/node': ^8.3.3
'@types/node': ^20.14.11
- astro: ^4.15.12
+ astro: ^4.16
astro-integration-kit: ^0.16.1
astro-theme-provider: ^0.6.1
sharp: ^0.33.4
@@ -17,7 +17,7 @@ catalog:
catalogs:
min:
- astro: ">=4.15"
+ astro: ">=4.16"
'@astrojs/db': ">=0.14"
astro-integration-kit: ">=0.16"
vite: ^4 || ^5
@@ -97,4 +97,4 @@ catalogs:
packages:
- "packages/*"
- "playgrounds/*"
- - "www/*"
\ No newline at end of file
+ - "www/*"
diff --git a/www/docs/astro.config.mts b/www/docs/astro.config.mts
index 49a202828..ce71106f1 100644
--- a/www/docs/astro.config.mts
+++ b/www/docs/astro.config.mts
@@ -5,20 +5,92 @@ import { defineConfig } from 'astro/config';
import { getCoolifyURL } from '../hostUtils';
import { typeDocPlugins, typeDocSideBarEntry } from './typedoc.config';
+import type { Element, ElementContent } from 'hast';
+import { fromMarkdown } from 'mdast-util-from-markdown';
+import { gfmFromMarkdown } from 'mdast-util-gfm';
+import { defaultHandlers, toHast } from 'mdast-util-to-hast';
+import type { ShikiTransformerContextCommon } from 'shiki';
+
+import JS from 'shiki/langs/javascript.mjs'
+
// Define the Site URL
const site = getCoolifyURL(true) || 'https://docs.studiocms.xyz/';
+function renderMarkdown(this: ShikiTransformerContextCommon, md: string): ElementContent[] {
+ const mdast = fromMarkdown(
+ md.replace(/\{@link ([^}]*)\}/g, '$1'), // replace jsdoc links
+ { mdastExtensions: [gfmFromMarkdown()] },
+ )
+
+ return (toHast(
+ mdast,
+ {
+ handlers: {
+ code: (state, node) => {
+ const lang = node.lang || ''
+ if (lang) {
+ return {
+ type: 'element',
+ tagName: 'code',
+ properties: {},
+ children: this.codeToHast(
+ node.value,
+ {
+ ...this.options,
+ transformers: [],
+ lang,
+ structure: node.value.trim().includes('\n') ? 'classic' : 'inline',
+ },
+ ).children,
+ } as Element
+ }
+ return defaultHandlers.code(state, node)
+ },
+ },
+ },
+ ) as Element).children
+}
+
+function renderMarkdownInline(this: ShikiTransformerContextCommon, md: string, context?: string): ElementContent[] {
+ let betterMD = md;
+ if (context === 'tag:param')
+ betterMD = md.replace(/^([\w$-]+)/, '`$1` ')
+
+ const children = renderMarkdown.call(this, betterMD)
+ if (children.length === 1 && children[0].type === 'element' && children[0].tagName === 'p')
+ return children[0].children
+ return children
+}
+
export default defineConfig({
site,
+ experimental: {
+ directRenderScript: true,
+ },
markdown: {
shikiConfig: {
+ langs: [
+ ...JS,
+ ],
themes: {
- light: 'catppuccin-latte',
+ light: 'light-plus',
dark: 'dark-plus',
},
transformers: [
- // @ts-expect-error - version mismatch
- transformerTwoslash({ renderer: rendererRich() }),
+ // @ts-expect-error - Broken types
+ transformerTwoslash({
+ renderer: rendererRich({
+ renderMarkdown,
+ renderMarkdownInline,
+ }),
+ explicitTrigger: true,
+ twoslashOptions: {
+ compilerOptions: {
+ // Set module resolution to "Bundler"
+ moduleResolution: 100,
+ },
+ },
+ }),
],
wrap: true,
},
@@ -49,6 +121,7 @@ export default defineConfig({
customCss: [
'@fontsource-variable/onest/index.css',
'@shikijs/twoslash/style-rich.css',
+ '@studiocms/ui/css/global.css',
'./src/styles/custom.css',
],
editLink: {
@@ -116,7 +189,16 @@ export default defineConfig({
{
label: '@studiocms/renderers',
autogenerate: { directory: 'customizing/studiocms-renderers' },
+ collapsed: true,
},
+ {
+ label: '@studiocms/ui',
+ items: [
+ { label: 'Getting Started', link: 'customizing/studiocms-ui/' },
+ { label: 'Components', autogenerate: { directory: 'customizing/studiocms-ui/components', collapsed: true } }
+ ],
+ collapsed: true,
+ },
],
},
],
diff --git a/www/docs/package.json b/www/docs/package.json
index eed532768..b0042c242 100644
--- a/www/docs/package.json
+++ b/www/docs/package.json
@@ -17,7 +17,7 @@
"@fontsource-variable/onest": "catalog:studiocms-shared",
"@lorenzo_lewis/starlight-utils": "catalog:docs",
"@shoelace-style/shoelace": "catalog:docs",
- "@shikijs/twoslash": "^1.22.0",
+ "@shikijs/twoslash": "1.16.2",
"@types/hast": "catalog:docs",
"astro": "catalog:",
"astro-embed": "catalog:docs",
@@ -32,8 +32,11 @@
"typescript": "catalog:",
"@astrojs/db": "catalog:",
"@astrojs/node": "catalog:",
- "studiocms": "workspace:*"
- },
- "devDependencies": {
+ "studiocms": "workspace:*",
+ "@studiocms/ui": "workspace:*",
+ "mdast-util-from-markdown": "^2.0.1",
+ "mdast-util-gfm": "^3.0.0",
+ "mdast-util-to-hast": "^13.2.0",
+ "shiki": "1.16.2"
}
}
diff --git a/www/docs/src/assets/avatar.png b/www/docs/src/assets/avatar.png
new file mode 100644
index 000000000..9db62ee70
Binary files /dev/null and b/www/docs/src/assets/avatar.png differ
diff --git a/www/docs/src/components/DropdownScript.astro b/www/docs/src/components/DropdownScript.astro
new file mode 100644
index 000000000..b3a1cb53c
--- /dev/null
+++ b/www/docs/src/components/DropdownScript.astro
@@ -0,0 +1,10 @@
+
diff --git a/www/docs/src/components/ModalScript.astro b/www/docs/src/components/ModalScript.astro
new file mode 100644
index 000000000..d5f77f7d3
--- /dev/null
+++ b/www/docs/src/components/ModalScript.astro
@@ -0,0 +1,10 @@
+
diff --git a/www/docs/src/components/PreviewCard.astro b/www/docs/src/components/PreviewCard.astro
new file mode 100644
index 000000000..0396b6b81
--- /dev/null
+++ b/www/docs/src/components/PreviewCard.astro
@@ -0,0 +1,34 @@
+---
+type Props = {
+ vertical?: boolean;
+ gapSize?: 'sm' | 'md' | 'lg';
+};
+
+const { vertical = false, gapSize = 'md' } = Astro.props;
+---
+
+
+
+
diff --git a/www/docs/src/components/Sponsors.astro b/www/docs/src/components/Sponsors.astro
index 7bd2ba252..b0ed0a122 100644
--- a/www/docs/src/components/Sponsors.astro
+++ b/www/docs/src/components/Sponsors.astro
@@ -2,12 +2,12 @@
---