Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"super-sitemap": "^1.0.5",
"svelte": "^5.43.10",
"svelte-check": "^4.3.4",
"svelte-doc-llm": "^0.5.1",
"svelte-doc-llm": "^0.6.0",
"svelte-lib-helpers": "^0.4.31",
"svelte-meta-tags": "^4.5.0",
"svelte-rune-highlight": "^0.11.1",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions src/routes/docs/components/alert.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,15 +156,6 @@ When using alerts, consider these guidelines:

The component has the following props, type, and default values. See [types page](/docs/pages/typescript) for type information.

### Key Props

- `color`: Set the alert color variant (info, danger, success, warning, dark)
- `dismissable`: Enable close button for dismissing the alert
- `border`: Add border styling
- `rounded`: Control border radius
- `transition`: Custom Svelte transition function (default: fade)
- `params`: Parameters for the transition (duration, easing, etc.)

<CompoAttributesViewer {dirName}/>

## References
Expand Down
9 changes: 0 additions & 9 deletions src/routes/docs/components/avatar.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,15 +208,6 @@ When implementing avatars, consider these guidelines:

The component has the following props, type, and default values. See [types page](/docs/pages/typescript) for type information.

### Key Props

- `src`: URL of the avatar image
- `size`: Preset size (xs, sm, md, lg, xl) or custom classes
- `rounded`: Enable rounded corners (default: true for circle)
- `border`: Add border around avatar
- `alt`: Alternative text for the image (important for accessibility)
- `dot`: Status indicator configuration

<CompoAttributesViewer {dirName}/>

## References
Expand Down
10 changes: 0 additions & 10 deletions src/routes/docs/components/badge.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,16 +233,6 @@ When using badges, consider these guidelines:

The component has the following props, type, and default values. See [types page](/docs/pages/typescript) for type information.

### Key Props

- `color`: Set the badge color variant (default, dark, red, green, yellow, etc.)
- `large`: Enable larger badge size
- `border`: Add border styling
- `rounded`: Enable pill-shaped rounded corners
- `href`: Make badge a clickable link
- `dismissable`: Add close button for dismissing badge
- `icon`: Custom icon snippet

<CompoAttributesViewer {dirName}/>

## References
Expand Down
9 changes: 0 additions & 9 deletions src/routes/docs/components/banner.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,15 +190,6 @@ When implementing sticky banners, consider these guidelines:

The component has the following props, type, and default values. See [types page](/docs/pages/typescript) for type information.

### Key Props

- `position`: Position banner at top or bottom of viewport (default: 'top')
- `dismissable`: Enable close button for dismissing banner (default: true)
- `transition`: Custom Svelte transition function for appear/disappear effects
- `params`: Parameters for the transition (duration, easing, etc.)
- `bannerType`: Style variant for different banner types
- `divClass`: Custom classes for the banner container

<CompoAttributesViewer {dirName}/>

## References
Expand Down
14 changes: 0 additions & 14 deletions src/routes/docs/components/bottom-navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,20 +194,6 @@ When implementing bottom navigation, consider these guidelines:

The component has the following props, type, and default values. See [types page](/docs/pages/typescript) for type information.

### Key Props

**BottomNav:**
- `activeUrl`: Current page URL for highlighting active items
- `position`: Position of the navigation (default: 'fixed')
- `navType`: Style variant for the navigation bar
- `outerClass`: Custom classes for the outer container
- `innerClass`: Custom classes for the inner container

**BottomNavItem:**
- `href`: Link destination for navigation items when it's only available via ...restProps
- `activeClass`: Custom classes for active state
- `btnName`: Accessible label for the button/link

<CompoAttributesViewer {dirName}/>

## References
Expand Down
17 changes: 1 addition & 16 deletions src/routes/docs/components/breadcrumb.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ thumnailSize: w-64
'/docs/components/navbar',
'/docs/components/sidebar',
'/docs/components/pagination',
'docs/typography/heading'
'/docs/typography/heading'
];
</script>

Expand Down Expand Up @@ -178,21 +178,6 @@ For mobile devices, consider these patterns:

The component has the following props, type, and default values. See [types page](/docs/pages/typescript) for type information.

### Key Props

**Breadcrumb:**
- `solid`: Enable solid background style
- `navClass`: Custom classes for the nav element
- `olClass`: Custom classes for the ordered list
- `ariaLabel`: ARIA label for the navigation (default: 'breadcrumb')

**BreadcrumbItem:**
- `home`: Mark this item as the home/root item
- `href`: Link destination (omit for current page)
- `linkClass`: Custom classes for the link element
- `spanClass`: Custom classes for the span (non-linked current page)
- `homeClass`: Custom classes specifically for home item

<CompoAttributesViewer {dirName}/>

## References
Expand Down
17 changes: 3 additions & 14 deletions src/routes/docs/components/button-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ description: Button groups are a Tailwind CSS powered set of buttons sticked tog
import { Badge, P, A } from '$lib'
const dirName = 'buttongroup'
const relatedLinks = [
'docs/extend/button-toggle',
'/docs/extend/button-toggle',
'/docs/components/buttons',
'/docs/components/list-group',
'docs/forms/radio#radiobutton',
'docs/forms/checkbox#checkboxbutton'
'/docs/forms/radio#radiobutton',
'/docs/forms/checkbox#checkboxbutton'
];
</script>

Expand Down Expand Up @@ -229,17 +229,6 @@ When implementing button groups, consider these guidelines:

The component has the following props, type, and default values. See [types page](/docs/pages/typescript) for type information.

### Key Props

**ButtonGroup:**
- `size`: Set size for all buttons in group (xs, sm, md, lg, xl)
- `divClass`: Custom classes for the container div
- `class`: Additional CSS classes for the wrapper

**Individual Buttons:**
- All standard Button props apply to buttons within the group
- Styling is automatically adjusted to create seamless group appearance

<CompoAttributesViewer {dirName}/>

## References
Expand Down
19 changes: 3 additions & 16 deletions src/routes/docs/components/buttons.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ thumnailSize: w-24

const relatedLinks = [
'/docs/components/button-group',
'docs/utilities/close-button',
'docs/forms/radio#radiobutton',
'docs/forms/checkbox#checkboxbutton',
'/docs/utilities/close-button',
'/docs/forms/radio#radiobutton',
'/docs/forms/checkbox#checkboxbutton',
'/docs/components/badge'
];
</script>
Expand Down Expand Up @@ -335,19 +335,6 @@ Establish clear visual hierarchy with different button types:

The component has the following props, type, and default values. See [types page](/docs/pages/typescript) for type information.

### Key Props

- `color`: Button color variant (primary, alternative, dark, red, green, etc.)
- `size`: Button size (xs, sm, md, lg, xl)
- `href`: Creates a link button (uses `<a>` tag)
- `pill`: Enable fully rounded pill style
- `outline`: Use outline style instead of filled
- `gradient`: Enable gradient styling (monochrome or duotone)
- `shadow`: Add colored shadow effect
- `disabled`: Disable the button
- `loading`: Show loading spinner and disable button
- `type`: Button type attribute (button, submit, reset)

<CompoAttributesViewer {dirName}/>

## References
Expand Down
10 changes: 0 additions & 10 deletions src/routes/docs/components/card.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,16 +323,6 @@ When implementing cards, consider these guidelines:

The component has the following props, type, and default values. See [types page](/docs/pages/typescript) for type information.

### Key Props

- `href`: Makes entire card clickable link
- `horizontal`: Enable horizontal layout
- `reverse`: Reverse order of image and content
- `img`: Image source URL
- `padding`: Control internal padding (none, sm, md, lg, xl)
- `size`: Control card width constraints
- `class`: Custom classes for styling

<CompoAttributesViewer {dirName}/>

## References
Expand Down
24 changes: 0 additions & 24 deletions src/routes/docs/components/carousel.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,30 +350,6 @@ Alternatives to consider:

The component has the following props, type, and default values. See [types page](/docs/pages/typescript) for type information.

### Key Props

**Carousel:**
- `images`: Array of image objects with src, alt, and optional title
- `duration`: Auto-advance interval in milliseconds (0 = manual only)
- `index`: Current slide index (bindable for external control)
- `showControls`: Show/hide previous/next buttons
- `showIndicators`: Show/hide position indicators
- `showThumbnails`: Show/hide thumbnail navigation
- `transition`: Custom transition function
- `transitionParams`: Parameters for transition (duration, easing)

**Controls:**
- `class`: Custom classes for control buttons
- Position customization through slots

**Indicators:**
- `class`: Custom classes for indicator dots
- Active state styling

**Thumbnails:**
- `class`: Custom classes for thumbnail container
- Active thumbnail highlighting

<CompoAttributesViewer {dirName}/>

## References
Expand Down
2 changes: 1 addition & 1 deletion src/routes/docs/extend/tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description: A customizable tag input component that allows users to enter multi
import { P, A } from '$lib'
const components = 'Tags'
const dirName = "forms/tags"
const relatedLinks = ['/docs/forms/input-field','/docs/forms/floating-label', '/docs/extend/tags' ]
const relatedLinks = ['/docs/forms/input-field','/docs/forms/floating-label' ]
</script>

The Tags.svelte component is a flexible tag input field that lets users add and manage multiple tags. It supports adding tags with Enter, removing them with Backspace or close buttons, and offers customizable styling options. The component handles keyboard navigation and maintains a reactive array of tag values that can be bound to a parent component.
Expand Down
2 changes: 1 addition & 1 deletion src/routes/docs/forms/input-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description: Get started with a collection of input fields built with Tailwind C
import { A } from '$lib'

const components = 'Input, InputAddon'
const relatedLinks = ['/docs/forms/input-field','/docs/forms/floating-label', '/docs/extend/tags' ]
const relatedLinks = ['/docs/forms/floating-label', '/docs/extend/tags' ]
</script>

The input field is an important part of the form element that can be used to create interactive controls to accept data from the user based on multiple input types, such as text, email, number, password, URL, phone number, and more.
Expand Down
5 changes: 4 additions & 1 deletion static/llm/components/accordion.md
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,10 @@ The Accordion component is built with accessibility in mind:

## See also

<Seealso links={relatedLinks} />
- [Tabs](https://flowbite-svelte.com/llm/components/tabs.md)
- [Dropdown](https://flowbite-svelte.com/llm/components/dropdown.md)
- [Modal](https://flowbite-svelte.com/llm/components/modal.md)


## Component data

Expand Down
17 changes: 5 additions & 12 deletions static/llm/components/alert.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,11 @@ When using alerts, consider these guidelines:

## See also

<Seealso links={relatedLinks} />
- [Toast](https://flowbite-svelte.com/llm/components/toast.md)
- [Modal](https://flowbite-svelte.com/llm/components/modal.md)
- [Banner](https://flowbite-svelte.com/llm/components/banner.md)
- [Badge](https://flowbite-svelte.com/llm/components/badge.md)


## Component data

Expand All @@ -392,17 +396,6 @@ When using alerts, consider these guidelines:
- params


### Key Props

- `color`: Set the alert color variant (info, danger, success, warning, dark)
- `dismissable`: Enable close button for dismissing the alert
- `border`: Add border styling
- `rounded`: Control border radius
- `transition`: Custom Svelte transition function (default: fade)
- `params`: Parameters for the transition (duration, easing, etc.)

<CompoAttributesViewer {dirName}/>

## References

- [Flowbite Alerts](https://flowbite.com/docs/components/alerts/)
17 changes: 5 additions & 12 deletions static/llm/components/avatar.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,11 @@ When implementing avatars, consider these guidelines:

## See also

<Seealso links={relatedLinks} />
- [Badge](https://flowbite-svelte.com/llm/components/badge.md)
- [Dropdown](https://flowbite-svelte.com/llm/components/dropdown.md)
- [Tooltip](https://flowbite-svelte.com/llm/components/tooltip.md)
- [Indicators](https://flowbite-svelte.com/llm/components/indicators.md)


## Component data

Expand All @@ -323,17 +327,6 @@ When implementing avatars, consider these guidelines:
- onclick


### Key Props

- `src`: URL of the avatar image
- `size`: Preset size (xs, sm, md, lg, xl) or custom classes
- `rounded`: Enable rounded corners (default: true for circle)
- `border`: Add border around avatar
- `alt`: Alternative text for the image (important for accessibility)
- `dot`: Status indicator configuration

<CompoAttributesViewer {dirName}/>

## References

- [Flowbite Avatar](https://flowbite.com/docs/components/avatar/)
18 changes: 5 additions & 13 deletions static/llm/components/badge.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,11 @@ When using badges, consider these guidelines:

## See also

<Seealso links={relatedLinks} />
- [Avatar](https://flowbite-svelte.com/llm/components/avatar.md)
- [Buttons](https://flowbite-svelte.com/llm/components/buttons.md)
- [Indicators](https://flowbite-svelte.com/llm/components/indicators.md)
- [Alert](https://flowbite-svelte.com/llm/components/alert.md)


## Component data

Expand Down Expand Up @@ -397,18 +401,6 @@ When using badges, consider these guidelines:
- aClass


### Key Props

- `color`: Set the badge color variant (default, dark, red, green, yellow, etc.)
- `large`: Enable larger badge size
- `border`: Add border styling
- `rounded`: Enable pill-shaped rounded corners
- `href`: Make badge a clickable link
- `dismissable`: Add close button for dismissing badge
- `icon`: Custom icon snippet

<CompoAttributesViewer {dirName}/>

## References

- [Flowbite Badge](https://flowbite.com/docs/components/badge/)
Loading