Skip to content

Commit 4b13c5f

Browse files
committed
fix docs
1 parent 8a9b0ae commit 4b13c5f

File tree

9 files changed

+28
-30
lines changed

9 files changed

+28
-30
lines changed

docs/assets/Configuration-DyKrwiCM.js renamed to docs/assets/Configuration-Bx5ol6HG.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/Customize-CbFhJGSJ.js renamed to docs/assets/Customize-DEECZmds.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import{o as g,i as e,p as s,t as f,b as y}from"./index-JhT5cuwi.js";var $=f(`<div><h2 class="fw-bold mb-4">Customize</h2><p>Assuming you're using a package manager like npm, you’ll have a file structure that looks like this:</p><pre><code class=language-bash></code></pre><p>In your <code>custom.scss</code>, you’ll import Bootstrap’s source Sass files. You have two options: include all of Bootstrap, or pick the parts you need.</p><pre><code class=language-css></code></pre><pre><code class=language-css></code></pre><p>By default, <code></code> inherits its style from default bootstrap style, so anything you change in bootstrap automatically changes <code></code> style as well.</p><p>Read more about customize bootstrap styles at <a class=text-break href=https://getbootstrap.com/docs/5.3/customize/sass/ target=_blank>https://getbootstrap.com/docs/5.3/customize/sass/</a>.`);const v=`your-project/
1+
import{o as g,i as e,p as s,t as f,b as y}from"./index-BxZibAGT.js";var $=f(`<div><h2 class="fw-bold mb-4">Customize</h2><p>Assuming you're using a package manager like npm, you’ll have a file structure that looks like this:</p><pre><code class=language-bash></code></pre><p>In your <code>custom.scss</code>, you’ll import Bootstrap’s source Sass files. You have two options: include all of Bootstrap, or pick the parts you need.</p><pre><code class=language-css></code></pre><pre><code class=language-css></code></pre><p>By default, <code></code> inherits its style from default bootstrap style, so anything you change in bootstrap automatically changes <code></code> style as well.</p><p>Read more about customize bootstrap styles at <a class=text-break href=https://getbootstrap.com/docs/5.3/customize/sass/ target=_blank>https://getbootstrap.com/docs/5.3/customize/sass/</a>.`);const v=`your-project/
22
├── scss/
33
│ └── custom.scss
44
└── node_modules/

docs/assets/Demo-B1FukjoD.js renamed to docs/assets/Demo-DlpLVeUN.js

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/Home-8jGY2ueE.js renamed to docs/assets/Home-Bhptrqix.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/Install-BhLiLKhD.js renamed to docs/assets/Install-9eEXqmBB.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import{o as O,i as t,t as D,p as e,b as G}from"./index-JhT5cuwi.js";var H=D('<div><h2 class="fw-bold mb-4">Install</h2><h5>Install from npm:</h5><ol><li><p>Run the following command in the terminal:</p><pre><code class=language-bash></code></pre></li><li><p>After installation, you can import the library into your project as follows:</p><pre><code class=language-javascript></code></pre></li><li><p>Or, since it also comes with an IIFE bundle, you can insert it directly into your HTML:</p><pre><code class=language-html></code></pre></li></ol><h5>Install from cdn:</h5><ol><li><p>Add the following script in the <code>&lt;head&gt;</code> tag of your HTML:</p><pre><code class=language-html></code></pre><p>Example:</p><pre><code class=language-html>');function L(){const l=`<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/${e.name}@${e.version}/dist/${e.name}.min.css">`,i=`<script src="https://cdn.jsdelivr.net/npm/${e.name}@${e.version}/dist/${e.name}.min.js"><\/script>`,r=`npm install ${e.name}`,c=`import '${e.name}/dist/${e.name}.css'
1+
import{o as O,i as t,t as D,p as e,b as G}from"./index-BxZibAGT.js";var H=D('<div><h2 class="fw-bold mb-4">Install</h2><h5>Install from npm:</h5><ol><li><p>Run the following command in the terminal:</p><pre><code class=language-bash></code></pre></li><li><p>After installation, you can import the library into your project as follows:</p><pre><code class=language-javascript></code></pre></li><li><p>Or, since it also comes with an IIFE bundle, you can insert it directly into your HTML:</p><pre><code class=language-html></code></pre></li></ol><h5>Install from cdn:</h5><ol><li><p>Add the following script in the <code>&lt;head&gt;</code> tag of your HTML:</p><pre><code class=language-html></code></pre><p>Example:</p><pre><code class=language-html>');function L(){const l=`<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/${e.name}@${e.version}/dist/${e.name}.min.css">`,i=`<script src="https://cdn.jsdelivr.net/npm/${e.name}@${e.version}/dist/${e.name}.min.js"><\/script>`,r=`npm install ${e.name}`,c=`import '${e.name}/dist/${e.name}.css'
22
import ${e.libName} from '${e.name}'`,d=`<!doctype html>
33
<html lang="en">
44
<head>

docs/assets/Methods-CGTL0Yqn.js renamed to docs/assets/Methods-DIkEOhaX.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/index-JhT5cuwi.js renamed to docs/assets/index-BxZibAGT.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta name="keywords" content="bootstrap select, bootstrap select2, dropdown select, bootstrap dropdown, bootstrap5" />
99
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
1010
<title>use-bootstrap-select | Create a select element using the native Bootstrap 5 dropdown UI</title>
11-
<script type="module" crossorigin src="/assets/index-JhT5cuwi.js"></script>
11+
<script type="module" crossorigin src="/assets/index-BxZibAGT.js"></script>
1212
<link rel="stylesheet" crossorigin href="/assets/index-BIegt440.css">
1313
</head>
1414

src/docs/pages/Demo.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,6 @@ function LiveDemo() {
272272
<h5>Methods:</h5>
273273
<div class="d-flex flex-wrap gap-3">
274274
<ButtonMethod onclick={() => example.show()}>example.show()</ButtonMethod>
275-
<ButtonMethod onclick={() => example.hide()}>example.hide()</ButtonMethod>
276-
<ButtonMethod onclick={() => example.toggle()}>example.toggle()</ButtonMethod>
277275
<ButtonMethod onclick={() => alert(JSON.stringify(example.getValue()))}>example.getValue()</ButtonMethod>
278276
<Show when={multiple()} fallback={<ButtonMethod onclick={() => example.setValue('banana')}>example.setValue('banana')</ButtonMethod>}>
279277
<ButtonMethod onclick={() => example.setValue(['banana', 'grape'])}>example.setValue(['banana', 'grape'])</ButtonMethod>

0 commit comments

Comments
 (0)