Skip to content

Commit faa905a

Browse files
committed
update docs
1 parent 12caaa9 commit faa905a

File tree

8 files changed

+271
-271
lines changed

8 files changed

+271
-271
lines changed

docs/api/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="keywords" content="bootstrap tag, tag input, bootstrap input">
66
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
77
<title>use-bootstrap-tag | Tag input for Bootstrap 5</title>
8-
<script type="module" crossorigin="" src="/assets/index-65e135c7.js"></script>
8+
<script type="module" crossorigin="" src="/assets/index-d07bd47f.js"></script>
99
<link rel="stylesheet" href="/assets/index-088aae3b.css">
1010
</head>
1111

docs/assets/index-65e135c7.js

Lines changed: 0 additions & 258 deletions
This file was deleted.

docs/assets/index-d07bd47f.js

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

docs/customize/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="keywords" content="bootstrap tag, tag input, bootstrap input">
66
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
77
<title>use-bootstrap-tag | Tag input for Bootstrap 5</title>
8-
<script type="module" crossorigin="" src="/assets/index-65e135c7.js"></script>
8+
<script type="module" crossorigin="" src="/assets/index-d07bd47f.js"></script>
99
<link rel="stylesheet" href="/assets/index-088aae3b.css">
1010
</head>
1111

@@ -65,10 +65,10 @@
6565
// 8. Include use-bootstrap-tag
6666
<span class="token atrule"><span class="token rule">@import</span> <span class="token string">"../node_modules/use-bootstrap-tag/scss/use-bootstrap-tag"</span><span class="token punctuation">;</span></span>
6767

68-
// 9. Add additional custom code here</code></pre> <p>By default, use-bootstrap-tag inherits its style from default bootstrap
69-
style, so anything you change in bootstrap automatically changes
70-
use-bootstrap-tag style as well. Read more about customize bootstrap styles
71-
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>.</p> <div class="d-flex justify-content-between gap-3 mt-4"><a href="/api" class="btn btn-link link-body-emphasis text-decoration-none border d-inline-flex flex-column align-items-start w-50"><span class="text-body-secondary small">Previous page</span>
68+
// 9. Add additional custom code here</code></pre> <p>By default, use-bootstrap-tag inherits its style from default bootstrap style, so anything
69+
you change in bootstrap automatically changes
70+
use-bootstrap-tag style as well. Read more about customize bootstrap styles at
71+
<a class="text-break" href="https://getbootstrap.com/docs/5.3/customize/sass/" target="_blank">https://getbootstrap.com/docs/5.3/customize/sass/</a>.</p> <div class="d-flex justify-content-between gap-3 mt-4"><a href="/api" class="btn btn-link link-body-emphasis text-decoration-none border d-inline-flex flex-column align-items-start w-50"><span class="text-body-secondary small">Previous page</span>
7272
API</a></div></div></div></div></div>
7373

7474

docs/demo/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="keywords" content="bootstrap tag, tag input, bootstrap input">
66
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
77
<title>use-bootstrap-tag | Tag input for Bootstrap 5</title>
8-
<script type="module" crossorigin="" src="/assets/index-65e135c7.js"></script>
8+
<script type="module" crossorigin="" src="/assets/index-d07bd47f.js"></script>
99
<link rel="stylesheet" href="/assets/index-088aae3b.css">
1010
</head>
1111

@@ -15,12 +15,12 @@
1515
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>script</span><span class="token punctuation">&gt;</span></span><span class="token script"><span class="token language-javascript">
1616
<span class="token function">UseBootstrapTag</span><span class="token punctuation">(</span>document<span class="token punctuation">.</span><span class="token function">getElementById</span><span class="token punctuation">(</span><span class="token string">'example-basic'</span><span class="token punctuation">)</span><span class="token punctuation">)</span>
1717
</span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>script</span><span class="token punctuation">&gt;</span></span>
18-
</code></pre></div></div></div></div></div> <div class="col-12 col-lg-6 col-xxl-4"><div class="card h-100"><div class="card-header"><ul class="nav nav-tabs card-header-tabs" role="tablist"><li class="nav-item" role="presentation"><button class="nav-link active" id="placeholder-preview-tab" data-bs-toggle="tab" data-bs-target="#placeholder-preview-tab-pane" type="button" role="tab" aria-controls="placeholder-preview-tab-pane" aria-selected="true">Preview</button></li> <li class="nav-item" role="presentation"><button class="nav-link" id="placeholder-code-tab" data-bs-toggle="tab" data-bs-target="#placeholder-code-tab-pane" type="button" role="tab" aria-controls="placeholder-code-tab-pane" aria-selected="false" tabindex="-1">Code</button></li></ul></div> <div class="card-body"><h5 class="card-title">Placeholder</h5> <div class="tab-content"><div class="tab-pane show active" id="placeholder-preview-tab-pane" role="tabpanel" aria-labelledby="placeholder-preview-tab"><input type="text" class="form-control use-bootstrap-tag-target" placeholder="Add a color then press comma" tabindex="-1"><div class="ub-wrapper"><div class="use-bootstrap-tag d-flex flex-wrap align-items-center gap-1 form-control use-bootstrap-tag-target" role="none"> <input type="text" placeholder="Add a color then press comma" style="width: 180.756px;"></div></div></div> <div class="tab-pane" id="placeholder-code-tab-pane" role="tabpanel" aria-labelledby="placeholder-code-tab"><pre class="language-html" tabindex="0"><code class="language-html"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>input</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>text<span class="token punctuation">"</span></span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>form-control<span class="token punctuation">"</span></span> <span class="token attr-name">placeholder</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>Add a color then press comma<span class="token punctuation">"</span></span> <span class="token attr-name">id</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>example-placeholder<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
18+
</code></pre></div></div></div></div></div> <div class="col-12 col-lg-6 col-xxl-4"><div class="card h-100"><div class="card-header"><ul class="nav nav-tabs card-header-tabs" role="tablist"><li class="nav-item" role="presentation"><button class="nav-link active" id="placeholder-preview-tab" data-bs-toggle="tab" data-bs-target="#placeholder-preview-tab-pane" type="button" role="tab" aria-controls="placeholder-preview-tab-pane" aria-selected="true">Preview</button></li> <li class="nav-item" role="presentation"><button class="nav-link" id="placeholder-code-tab" data-bs-toggle="tab" data-bs-target="#placeholder-code-tab-pane" type="button" role="tab" aria-controls="placeholder-code-tab-pane" aria-selected="false" tabindex="-1">Code</button></li></ul></div> <div class="card-body"><h5 class="card-title">Placeholder</h5> <div class="tab-content"><div class="tab-pane show active" id="placeholder-preview-tab-pane" role="tabpanel" aria-labelledby="placeholder-preview-tab"><input type="text" class="form-control use-bootstrap-tag-target" placeholder="Add a tag then press comma" tabindex="-1"><div class="ub-wrapper"><div class="use-bootstrap-tag d-flex flex-wrap align-items-center gap-1 form-control use-bootstrap-tag-target" role="none"> <input type="text" placeholder="Add a tag then press comma" style="width: 170.396px;"></div></div></div> <div class="tab-pane" id="placeholder-code-tab-pane" role="tabpanel" aria-labelledby="placeholder-code-tab"><pre class="language-html" tabindex="0"><code class="language-html"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>input</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>text<span class="token punctuation">"</span></span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>form-control<span class="token punctuation">"</span></span> <span class="token attr-name">placeholder</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>Add a color then press comma<span class="token punctuation">"</span></span> <span class="token attr-name">id</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>example-placeholder<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
1919

2020
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>script</span><span class="token punctuation">&gt;</span></span><span class="token script"><span class="token language-javascript">
2121
<span class="token function">UseBootstrapTag</span><span class="token punctuation">(</span>document<span class="token punctuation">.</span><span class="token function">getElementById</span><span class="token punctuation">(</span><span class="token string">'example-placeholder'</span><span class="token punctuation">)</span><span class="token punctuation">)</span>
2222
</span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>script</span><span class="token punctuation">&gt;</span></span>
23-
</code></pre></div></div></div></div></div> <div class="col-12 col-lg-6 col-xxl-4"><div class="card h-100"><div class="card-header"><ul class="nav nav-tabs card-header-tabs" role="tablist"><li class="nav-item" role="presentation"><button class="nav-link active" id="separator-preview-tab" data-bs-toggle="tab" data-bs-target="#separator-preview-tab-pane" type="button" role="tab" aria-controls="separator-preview-tab-pane" aria-selected="true">Preview</button></li> <li class="nav-item" role="presentation"><button class="nav-link" id="separator-code-tab" data-bs-toggle="tab" data-bs-target="#separator-code-tab-pane" type="button" role="tab" aria-controls="separator-code-tab-pane" aria-selected="false" tabindex="-1">Code</button></li></ul></div> <div class="card-body"><h5 class="card-title">Custom separator</h5> <div class="tab-content"><div class="tab-pane show active" id="separator-preview-tab-pane" role="tabpanel" aria-labelledby="separator-preview-tab"><input type="text" class="form-control use-bootstrap-tag-target" placeholder="Add a color then press space" data-ub-tag-separator=" " tabindex="-1"><div class="ub-wrapper"><div class="use-bootstrap-tag d-flex flex-wrap align-items-center gap-1 form-control use-bootstrap-tag-target" role="none"> <input type="text" placeholder="Add a color then press space" style="width: 172.628px;"></div></div></div> <div class="tab-pane" id="separator-code-tab-pane" role="tabpanel" aria-labelledby="separator-code-tab"><pre class="language-html" tabindex="0"><code class="language-html"><span class="token comment">&lt;!-- Using data-ub-tag-separator attribute: --&gt;</span>
23+
</code></pre></div></div></div></div></div> <div class="col-12 col-lg-6 col-xxl-4"><div class="card h-100"><div class="card-header"><ul class="nav nav-tabs card-header-tabs" role="tablist"><li class="nav-item" role="presentation"><button class="nav-link active" id="separator-preview-tab" data-bs-toggle="tab" data-bs-target="#separator-preview-tab-pane" type="button" role="tab" aria-controls="separator-preview-tab-pane" aria-selected="true">Preview</button></li> <li class="nav-item" role="presentation"><button class="nav-link" id="separator-code-tab" data-bs-toggle="tab" data-bs-target="#separator-code-tab-pane" type="button" role="tab" aria-controls="separator-code-tab-pane" aria-selected="false" tabindex="-1">Code</button></li></ul></div> <div class="card-body"><h5 class="card-title">Custom separator</h5> <div class="tab-content"><div class="tab-pane show active" id="separator-preview-tab-pane" role="tabpanel" aria-labelledby="separator-preview-tab"><input type="text" class="form-control use-bootstrap-tag-target" placeholder="Add a tag then press space" data-ub-tag-separator=" " tabindex="-1"><div class="ub-wrapper"><div class="use-bootstrap-tag d-flex flex-wrap align-items-center gap-1 form-control use-bootstrap-tag-target" role="none"> <input type="text" placeholder="Add a tag then press space" style="width: 162.267px;"></div></div></div> <div class="tab-pane" id="separator-code-tab-pane" role="tabpanel" aria-labelledby="separator-code-tab"><pre class="language-html" tabindex="0"><code class="language-html"><span class="token comment">&lt;!-- Using data-ub-tag-separator attribute: --&gt;</span>
2424
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>input</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>text<span class="token punctuation">"</span></span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>form-control<span class="token punctuation">"</span></span> <span class="token attr-name">placeholder</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>Add a color then press space<span class="token punctuation">"</span></span> <span class="token attr-name">data-ub-tag-separator</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span> <span class="token punctuation">"</span></span> <span class="token attr-name">id</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>example-separator<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
2525

2626
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>script</span><span class="token punctuation">&gt;</span></span><span class="token script"><span class="token language-javascript">

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="keywords" content="bootstrap tag, tag input, bootstrap input">
66
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
77
<title>use-bootstrap-tag | Tag input for Bootstrap 5</title>
8-
<script type="module" crossorigin="" src="/assets/index-65e135c7.js"></script>
8+
<script type="module" crossorigin="" src="/assets/index-d07bd47f.js"></script>
99
<link rel="stylesheet" href="/assets/index-088aae3b.css">
1010
</head>
1111

docs/install/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="keywords" content="bootstrap tag, tag input, bootstrap input">
66
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
77
<title>use-bootstrap-tag | Tag input for Bootstrap 5</title>
8-
<script type="module" crossorigin="" src="/assets/index-65e135c7.js"></script>
8+
<script type="module" crossorigin="" src="/assets/index-d07bd47f.js"></script>
99
<link rel="stylesheet" href="/assets/index-088aae3b.css">
1010
</head>
1111

src/docs/pages/Demo.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
<input
161161
type="text"
162162
class="form-control"
163-
placeholder="Add a color then press comma"
163+
placeholder="Add a tag then press comma"
164164
/>
165165
</div>
166166
<div
@@ -217,7 +217,7 @@
217217
<input
218218
type="text"
219219
class="form-control"
220-
placeholder="Add a color then press space"
220+
placeholder="Add a tag then press space"
221221
data-ub-tag-separator=" "
222222
/>
223223
</div>

0 commit comments

Comments
 (0)