Skip to content

Commit e0eed2e

Browse files
committed
update metadata and more
1 parent 9e34dab commit e0eed2e

19 files changed

+37
-4
lines changed

site/src/content/docs/content/images.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Images
33
description: Documentation and examples for opting images into responsive behavior (so they never become wider than their parent) and add lightweight styles to them—all via classes.
44
toc: true
5+
css_layer: content
56
---
67

78
## Responsive images

site/src/content/docs/content/prose.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Prose
33
description: Use the `.prose` wrapper class to make long form content more easily without the need for specifying Bootstrap classes on every element. Especially useful for converting Markdown or MDX to HTML, or simply for making content heavy pages more readable.
44
toc: true
5+
css_layer: content
56
---
67

78
## How it works

site/src/content/docs/content/reboot.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Reboot
33
description: Reboot, a collection of element-specific CSS changes in a single file, kickstart Bootstrap to provide an elegant, consistent, and simple baseline to build upon.
44
aliases: "/docs/[[config:docs_version]]/content/"
55
toc: true
6+
css_layer: reboot
67
---
78

89
import { getData } from '@libs/data'

site/src/content/docs/content/tables.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Tables
33
description: Documentation and examples for opt-in styling of tables (given their prevalent use in JavaScript plugins) with Bootstrap.
44
toc: true
5+
css_layer: content
56
css_media: viewport
67
---
78

site/src/content/docs/content/typography.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Typography
33
description: Documentation and examples for Bootstrap typography, including global settings, headings, body text, lists, and more.
44
toc: true
5+
css_layer: content
56
---
67

78
## Global settings

site/src/content/docs/forms/checkbox.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: Checkbox
33
description: Highly customizable, native checkbox `<input>` elements for presenting toggleable options.
44
toc: true
5+
css_layer: forms
6+
mdn: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/checkbox
57
---
68

79
import { getData } from '@libs/data'

site/src/content/docs/forms/chip-input.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: Chip input
33
description: Create tag-like inputs for multi-value fields like skills, categories, or email recipients using themed chips.
44
toc: true
5+
css_layer: forms
6+
js: required
57
---
68

79
import { getData } from '@libs/data'
@@ -23,7 +25,7 @@ See examples of all of this in action below.
2325

2426
Use `.chip` for standalone chips. Add `.chip-icon` for a leading icon, `.chip-img` for an image like an avatar, and `.chip-dismiss` for a remove button. Note that we use an inline SVG for the dismiss button icon—you can modify this as needed. JavaScript users can use the `dismissIcon` option for passing a custom SVG.
2527

26-
<Example code={`<span class="chip">Basic chip</span>
28+
<Example class="d-flex flex-wrap gap-2" code={`<span class="chip">Basic chip</span>
2729
2830
<span class="chip">
2931
<img src="https://github.com/mdo.png" class="chip-img" width="16" height="16" alt="">
@@ -50,7 +52,7 @@ Use `.chip` for standalone chips. Add `.chip-icon` for a leading icon, `.chip-im
5052

5153
Apply `.theme-*` classes to color your chips. Chips are subtle by default as this allows for a clear, themed active state.
5254

53-
<Example code={[
55+
<Example class="d-flex flex-wrap gap-2" code={[
5456
`<span class="chip">Default</span>`,
5557
...getData('theme-colors').map((themeColor) => `<span class="chip theme-${themeColor.name}">${themeColor.title}</span>`)
5658
]} />
@@ -59,7 +61,7 @@ Apply `.theme-*` classes to color your chips. Chips are subtle by default as thi
5961

6062
Add `.active` to make chips use the solid appearance (bg/contrast). This is useful for toggle-style chip selections.
6163

62-
<Example code={`<span class="chip theme-primary">Default</span>
64+
<Example class="d-flex flex-wrap gap-2" code={`<span class="chip theme-primary">Default</span>
6365
<span class="chip theme-primary active">Active</span>
6466
<span class="chip theme-success">Default</span>
6567
<span class="chip theme-success active">Active</span>`} />

site/src/content/docs/forms/combobox.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
title: Combobox
33
description: A customizable select-like component built with markup-first HTML, powered by the Menu component for positioning and keyboard navigation.
44
toc: true
5+
css_layer: components
6+
js: required
7+
deps:
8+
- title: Menu
59
---
610

711
## Overview

site/src/content/docs/forms/datepicker.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
title: Datepicker
33
description: A flexible date picker component powered by Vanilla Calendar Pro, with Bootstrap styling and data attribute support.
44
toc: true
5+
css_layer: components
6+
js: required
7+
deps:
8+
- title: Vanilla Calendar Pro
9+
url: https://vanilla-calendar.pro/
510
---
611

712
## Overview
@@ -29,7 +34,7 @@ Note that we're using a width utility of `.w-12` to ensure the input is wide eno
2934
Use the [form adorn component]([[docsref:/forms/form-adorn]]) to add a calendar icon alongside the datepicker input. When the input is inside a `.form-adorn` wrapper, the calendar automatically positions relative to the wrapper instead of the input.
3035

3136
<Example code={`<label for="datepickerIconStart" class="form-label">Select date</label>
32-
<div class="form-adorn w-12">
37+
<div class="form-control form-adorn w-12">
3338
<div class="form-adorn-icon">
3439
<svg class="bi" width="16" height="16"><use href="#calendar-week" /></svg>
3540
</div>

site/src/content/docs/forms/floating-labels.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Floating labels
33
description: Create beautifully simple form labels that float over your input fields.
44
toc: true
5+
css_layer: forms
56
---
67

78
## Example

0 commit comments

Comments
 (0)