Skip to content

Commit d9cf0ef

Browse files
committed
docs: fix pro examples
1 parent 7878e25 commit d9cf0ef

File tree

4 files changed

+16
-13
lines changed

4 files changed

+16
-13
lines changed

docs/content/forms/password-input.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pro_component: true
1212

1313
Use the `form-password` wrapper to add a visibility toggle button to standard Bootstrap password input fields.
1414

15-
{{< example >}}
15+
{{< example stackblitz_pro="true" >}}
1616
<div class="mb-3">
1717
<label for="examplePasswordInput1" class="form-label">Password</label>
1818
<div class="form-password">
@@ -37,7 +37,7 @@ Use the `form-password` wrapper to add a visibility toggle button to standard Bo
3737

3838
Bootstrap Password Input supports different sizes using Bootstrap's sizing utilities like `.form-control-lg` and `.form-control-sm`.
3939

40-
{{< example >}}
40+
{{< example stackblitz_pro="true" >}}
4141
<div class="form-password">
4242
<input type="password" class="form-control form-control-lg" placeholder="Large password input">
4343
<button type="button" class="form-password-action" data-coreui-toggle="password" aria-label="Toggle password visibility">
@@ -62,7 +62,7 @@ Bootstrap Password Input supports different sizes using Bootstrap's sizing utili
6262

6363
To make a Bootstrap Password Input non-interactive, add the `disabled` attribute to the `<input>` and the toggle `<button>`.
6464

65-
{{< example >}}
65+
{{< example stackblitz_pro="true" >}}
6666
<div class="form-password">
6767
<input type="password" class="form-control" placeholder="Disabled password input" disabled>
6868
<button type="button" class="form-password-action" data-coreui-toggle="password" disabled aria-label="Toggle password visibility">
@@ -81,7 +81,7 @@ To make a Bootstrap Password Input non-interactive, add the `disabled` attribute
8181

8282
Use the `readonly` attribute to make the input non-editable but still selectable. This is useful for displaying values without allowing user changes.
8383

84-
{{< example >}}
84+
{{< example stackblitz_pro="true" >}}
8585
<div class="form-password">
8686
<input type="password" class="form-control" placeholder="Readonly password input" value="Readonly input here..." readonly>
8787
<button type="button" class="form-password-action" data-coreui-toggle="password" aria-label="Toggle password visibility">

docs/content/forms/stepper.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you're looking for a Form Wizard in Bootstrap 5 or a flexible Stepper Compone
1919

2020
A simple multi-step form built with the Bootstrap Stepper. Each step displays form content and controls navigation through buttons (`next`, `prev`, `finish`).
2121

22-
{{< example >}}
22+
{{< example stackblitz_pro="true" >}}
2323
<div class="stepper" data-coreui-toggle="stepper" id="myStepper">
2424
<ol class="stepper-steps">
2525
<li class="stepper-step">
@@ -131,7 +131,7 @@ A simple multi-step form built with the Bootstrap Stepper. Each step displays fo
131131

132132
Display step indicators vertically above labels using the `.vertical` modifier. This provides a compact and stylish layout for narrower screens or vertical designs.
133133

134-
{{< example >}}
134+
{{< example stackblitz_pro="true" >}}
135135
<div class="stepper" data-coreui-toggle="stepper">
136136
<ol class="stepper-steps">
137137
<li class="stepper-step vertical">
@@ -160,7 +160,7 @@ Display step indicators vertically above labels using the `.vertical` modifier.
160160

161161
Use the `.stepper-vertical` class to build a full vertical stepper, where both indicators and step content stack vertically. Ideal for mobile-first designs or top-to-bottom flows.
162162

163-
{{< example >}}
163+
{{< example stackblitz_pro="true" >}}
164164
<div class="stepper stepper-vertical" data-coreui-toggle="stepper">
165165
<ol class="stepper-steps">
166166
<li class="stepper-step">
@@ -283,7 +283,7 @@ Use a Linear Bootstrap Stepper when you need a guided and controlled experience,
283283
- Registration wizards
284284
- Multistep forms with required validation
285285

286-
{{< example >}}
286+
{{< example stackblitz_pro="true" >}}
287287
<div class="stepper" data-coreui-toggle="stepper">
288288
<ol class="stepper-steps">
289289
<li class="stepper-step">
@@ -320,7 +320,7 @@ Use a Non-linear Bootstrap Stepper when users should have full control over navi
320320
- Onboarding flows where some steps are optional
321321
- Complex multi-section forms where order doesn't matter
322322

323-
{{< example >}}
323+
{{< example stackblitz_pro="true" >}}
324324
<div class="stepper" data-coreui-linear="false" data-coreui-toggle="stepper">
325325
<ol class="stepper-steps">
326326
<li class="stepper-step">
@@ -357,7 +357,7 @@ If a form is invalid, the stepper blocks navigation and displays validation mess
357357

358358
This example shows a stepper with native browser validation enabled:
359359

360-
{{< example >}}
360+
{{< example stackblitz_pro="true" >}}
361361
<div class="stepper" data-coreui-toggle="stepper" id="validationStepper">
362362
<ol class="stepper-steps">
363363
<li class="stepper-step">
@@ -421,7 +421,7 @@ This example shows a stepper with native browser validation enabled:
421421

422422
To disable native browser styles validation and turn on custom styles, add the `novalidate` attribute to your forms:
423423

424-
{{< example >}}
424+
{{< example stackblitz_pro="true" >}}
425425
<div class="stepper" data-coreui-toggle="stepper" id="novalidateStepper">
426426
<ol class="stepper-steps">
427427
<li class="stepper-step">
@@ -485,7 +485,7 @@ To disable native browser styles validation and turn on custom styles, add the `
485485

486486
To completely skip form validation and allow free navigation between steps, add `data-coreui-skip-validation="true"` to the stepper:
487487

488-
{{< example >}}
488+
{{< example stackblitz_pro="true" >}}
489489
<div class="stepper" data-coreui-toggle="stepper" data-coreui-skip-validation="true" id="skipValidationStepper">
490490
<ol class="stepper-steps">
491491
<li class="stepper-step">

docs/data/sidebar.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@
7878
color: danger
7979
text: PRO
8080
- title: Multi Select
81+
badge:
82+
color: danger
83+
text: PRO
8184
- title: Password Input
8285
badge:
8386
color: danger

docs/layouts/partials/scripts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
{{- $snippetsFile := resources.Get "js/snippets.js" | js.Build (merge $esbuildOptions (dict "minify" "false")) -}}
3434
{{- $esbuildParams := dict
3535
"cssCdn" .Site.Params.cdn.css
36-
"cssProCdn" .Site.Params.cdn.css_pro
36+
"cssProCdn" .Site.Params.cdn_pro.css_pro
3737
"jsBundleCdn" .Site.Params.cdn.js_bundle
3838
"jsProBundleCdn" .Site.Params.cdn_pro.js_pro_bundle
3939
"docsVersion" .Site.Params.docs_version

0 commit comments

Comments
 (0)