@tabler/core 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/emails/index.mdx +14 -0
- package/docs/emails/introduction/compiled-html.mdx +29 -0
- package/docs/emails/introduction/contents.mdx +63 -0
- package/docs/emails/introduction/index.mdx +9 -0
- package/docs/emails/introduction/source-html.mdx +26 -0
- package/docs/icons/index.mdx +13 -0
- package/docs/icons/libraries/index.mdx +5 -0
- package/docs/icons/libraries/preact.mdx +42 -0
- package/docs/icons/libraries/react.mdx +42 -0
- package/docs/icons/libraries/solidjs.mdx +42 -0
- package/docs/icons/libraries/svelte.mdx +43 -0
- package/docs/icons/libraries/vue.mdx +50 -0
- package/docs/icons/libraries/webfont.mdx +60 -0
- package/docs/icons/plugins/figma.mdx +15 -0
- package/docs/icons/plugins/index.mdx +4 -0
- package/docs/icons/static-files/eps.mdx +15 -0
- package/docs/icons/static-files/index.mdx +5 -0
- package/docs/icons/static-files/pdf.mdx +15 -0
- package/docs/icons/static-files/png.mdx +31 -0
- package/docs/icons/static-files/svg.mdx +85 -0
- package/docs/illustrations/index.mdx +8 -0
- package/docs/illustrations/introduction/contents.mdx +77 -0
- package/docs/illustrations/introduction/customization.mdx +1198 -0
- package/docs/illustrations/introduction/index.mdx +5 -0
- package/docs/illustrations/introduction/license.mdx +90 -0
- package/docs/img/browsers/brave.svg +1 -0
- package/docs/img/browsers/chrome.svg +1 -0
- package/docs/img/browsers/edge.svg +1 -0
- package/docs/img/browsers/electron.svg +1 -0
- package/docs/img/browsers/firefox.svg +1 -0
- package/docs/img/browsers/internet-explorer.svg +1 -0
- package/docs/img/browsers/opera.svg +1 -0
- package/docs/img/browsers/safari.svg +1 -0
- package/docs/img/browsers/vivaldi.svg +1 -0
- package/docs/img/cover-illustrations-dark.png +0 -0
- package/docs/img/cover-illustrations.png +0 -0
- package/docs/img/cover-tabler-dark.png +0 -0
- package/docs/img/cover-tabler.png +0 -0
- package/docs/img/icons/figma-plugin.png +0 -0
- package/docs/img/icons/package-angular-dark.png +0 -0
- package/docs/img/icons/package-angular.png +0 -0
- package/docs/img/icons/package-eps-dark.png +0 -0
- package/docs/img/icons/package-eps.png +0 -0
- package/docs/img/icons/package-js-dark.png +0 -0
- package/docs/img/icons/package-js.png +0 -0
- package/docs/img/icons/package-pdf-dark.png +0 -0
- package/docs/img/icons/package-pdf.png +0 -0
- package/docs/img/icons/package-png-dark.png +0 -0
- package/docs/img/icons/package-png.png +0 -0
- package/docs/img/icons/package-preact-dark.png +0 -0
- package/docs/img/icons/package-preact.png +0 -0
- package/docs/img/icons/package-react-dark.png +0 -0
- package/docs/img/icons/package-react-native-dark.png +0 -0
- package/docs/img/icons/package-react-native.png +0 -0
- package/docs/img/icons/package-react.png +0 -0
- package/docs/img/icons/package-solidjs-dark.png +0 -0
- package/docs/img/icons/package-solidjs.png +0 -0
- package/docs/img/icons/package-sprite-dark.png +0 -0
- package/docs/img/icons/package-sprite.png +0 -0
- package/docs/img/icons/package-svelte-dark.png +0 -0
- package/docs/img/icons/package-svelte.png +0 -0
- package/docs/img/icons/package-svg-dark.png +0 -0
- package/docs/img/icons/package-svg.png +0 -0
- package/docs/img/icons/package-vue-dark.png +0 -0
- package/docs/img/icons/package-vue.png +0 -0
- package/docs/img/icons/package-webfont-dark.png +0 -0
- package/docs/img/icons/package-webfont.png +0 -0
- package/docs/index.mdx +16 -0
- package/docs/ui/base/colors.mdx +83 -0
- package/docs/ui/base/index.mdx +6 -0
- package/docs/ui/base/typography.mdx +311 -0
- package/docs/ui/components/alerts.mdx +406 -0
- package/docs/ui/components/autosize.mdx +25 -0
- package/docs/ui/components/avatars.mdx +227 -0
- package/docs/ui/components/badges.mdx +112 -0
- package/docs/ui/components/breadcrumb.mdx +199 -0
- package/docs/ui/components/buttons.mdx +1213 -0
- package/docs/ui/components/cards.mdx +417 -0
- package/docs/ui/components/carousel.mdx +459 -0
- package/docs/ui/components/charts.mdx +697 -0
- package/docs/ui/components/countup.mdx +165 -0
- package/docs/ui/components/datagrid.mdx +120 -0
- package/docs/ui/components/divider.mdx +68 -0
- package/docs/ui/components/dropdowns.mdx +302 -0
- package/docs/ui/components/dropzone.mdx +88 -0
- package/docs/ui/components/empty.mdx +149 -0
- package/docs/ui/components/icons.mdx +392 -0
- package/docs/ui/components/index.mdx +6 -0
- package/docs/ui/components/inline-player.mdx +58 -0
- package/docs/ui/components/modals.mdx +297 -0
- package/docs/ui/components/offcanvas.mdx +70 -0
- package/docs/ui/components/placeholder.mdx +273 -0
- package/docs/ui/components/popover.mdx +142 -0
- package/docs/ui/components/progress.mdx +241 -0
- package/docs/ui/components/range-slider.mdx +32 -0
- package/docs/ui/components/ribbons.mdx +207 -0
- package/docs/ui/components/segmented-control.mdx +401 -0
- package/docs/ui/components/spinners.mdx +135 -0
- package/docs/ui/components/statuses.mdx +322 -0
- package/docs/ui/components/steps.mdx +174 -0
- package/docs/ui/components/switch-icon.mdx +386 -0
- package/docs/ui/components/tables.mdx +397 -0
- package/docs/ui/components/tabs.mdx +396 -0
- package/docs/ui/components/timelines.mdx +697 -0
- package/docs/ui/components/tinymce.mdx +46 -0
- package/docs/ui/components/toasts.mdx +126 -0
- package/docs/ui/components/tooltips.mdx +65 -0
- package/docs/ui/components/tracking.mdx +548 -0
- package/docs/ui/components/vector-maps.mdx +166 -0
- package/docs/ui/forms/form-color-check.mdx +220 -0
- package/docs/ui/forms/form-elements.mdx +632 -0
- package/docs/ui/forms/form-fieldset.mdx +45 -0
- package/docs/ui/forms/form-helpers.mdx +91 -0
- package/docs/ui/forms/form-image-check.mdx +213 -0
- package/docs/ui/forms/form-input-mask.mdx +61 -0
- package/docs/ui/forms/form-selectboxes.mdx +398 -0
- package/docs/ui/forms/form-validation.mdx +62 -0
- package/docs/ui/forms/index.mdx +6 -0
- package/docs/ui/getting-started/browser-support.mdx +28 -0
- package/docs/ui/getting-started/customize.mdx +28 -0
- package/docs/ui/getting-started/download.mdx +44 -0
- package/docs/ui/getting-started/faq.mdx +30 -0
- package/docs/ui/getting-started/how-to-contribute.mdx +84 -0
- package/docs/ui/getting-started/index.mdx +16 -0
- package/docs/ui/getting-started/installation.mdx +67 -0
- package/docs/ui/getting-started/license.mdx +30 -0
- package/docs/ui/index.mdx +8 -0
- package/docs/ui/layout/index.mdx +6 -0
- package/docs/ui/layout/navbars.mdx +164 -0
- package/docs/ui/layout/navs-tabls.mdx +201 -0
- package/docs/ui/layout/page-headers.mdx +365 -0
- package/docs/ui/layout/page-layouts.mdx +213 -0
- package/docs/ui/plugins/flags.mdx +316 -0
- package/docs/ui/plugins/index.mdx +6 -0
- package/docs/ui/plugins/payments.mdx +152 -0
- package/docs/ui/plugins/social-icons.mdx +135 -0
- package/docs/ui/utilities/borders.mdx +260 -0
- package/docs/ui/utilities/cursors.mdx +63 -0
- package/docs/ui/utilities/index.mdx +5 -0
- package/docs/ui/utilities/interactions.mdx +26 -0
- package/docs/ui/utilities/margins.mdx +234 -0
- package/docs/ui/utilities/vertical-align.mdx +66 -0
- package/docs/ui/utilities/visually-hidden.mdx +12 -0
- package/package.json +6 -6
- package/LICENSE +0 -21
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: TinyMCE
|
|
3
|
+
libs: tinymce
|
|
4
|
+
summary: The WYSIWYG editor that is flexible, customizable, and designed with the user in mind. TinyMCE can handle any challenge, from the most simple implementation through to the most complex use case.
|
|
5
|
+
description: Flexible WYSIWYG editor for content.
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
[TinyMCE](https://www.tiny.cloud/docs/) documentation.
|
|
9
|
+
|
|
10
|
+
## Default text editor
|
|
11
|
+
|
|
12
|
+
Initialize TinyMCE 6 on any element (or elements) on the web page by passing an object containing a selector value to `tinymce.init()`. The selector value can be any valid CSS selector.
|
|
13
|
+
|
|
14
|
+
```html example centered columns={2} height="25rem"
|
|
15
|
+
<form method="post">
|
|
16
|
+
<textarea id="tinymce-default">Hello, <b>Tabler</b>!</textarea>
|
|
17
|
+
</form>
|
|
18
|
+
<script src="$TABLER_CDN/dist/libs/tinymce/tinymce.min.js" defer></script>
|
|
19
|
+
<script>
|
|
20
|
+
document.addEventListener("DOMContentLoaded", function () {
|
|
21
|
+
let options = {
|
|
22
|
+
selector: "#tinymce-default",
|
|
23
|
+
height: 300,
|
|
24
|
+
menubar: false,
|
|
25
|
+
statusbar: false,
|
|
26
|
+
plugins: [
|
|
27
|
+
"advlist autolink lists link image charmap print preview anchor",
|
|
28
|
+
"searchreplace visualblocks code fullscreen",
|
|
29
|
+
"insertdatetime media table paste code help wordcount",
|
|
30
|
+
],
|
|
31
|
+
toolbar:
|
|
32
|
+
"undo redo | formatselect | " +
|
|
33
|
+
"bold italic backcolor | alignleft aligncenter " +
|
|
34
|
+
"alignright alignjustify | bullist numlist outdent indent | " +
|
|
35
|
+
"removeformat",
|
|
36
|
+
content_style:
|
|
37
|
+
"body { font-family: -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }",
|
|
38
|
+
};
|
|
39
|
+
if (localStorage.getItem("tablerTheme") === "dark") {
|
|
40
|
+
options.skin = "oxide-dark";
|
|
41
|
+
options.content_css = "dark";
|
|
42
|
+
}
|
|
43
|
+
tinyMCE.init(options);
|
|
44
|
+
});
|
|
45
|
+
</script>
|
|
46
|
+
```
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Toasts
|
|
3
|
+
summary: Toasts are lightweight alert boxes which display for a few seconds after a user has taken an action, to inform them of the state or outcome. They can be used when a user clicks a button or submits a form and their aim is to provide feedback, rather than encourage to take action.
|
|
4
|
+
bootstrapLink: components/toasts/
|
|
5
|
+
description: Display lightweight alert notifications.
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Default markup
|
|
9
|
+
|
|
10
|
+
Use the default toast message to inform users of the outcome of their action and provide additional information. It contains an `x` close button to make it possible for users to close the toast if they wish.
|
|
11
|
+
|
|
12
|
+
```html example code
|
|
13
|
+
<div
|
|
14
|
+
class="toast show"
|
|
15
|
+
role="alert"
|
|
16
|
+
aria-live="assertive"
|
|
17
|
+
aria-atomic="true"
|
|
18
|
+
data-bs-autohide="false"
|
|
19
|
+
data-bs-toggle="toast"
|
|
20
|
+
>
|
|
21
|
+
<div class="toast-header">
|
|
22
|
+
<span
|
|
23
|
+
class="avatar avatar-xs me-2"
|
|
24
|
+
style="background-image: url(/samples/avatars/018f.jpg)"
|
|
25
|
+
></span>
|
|
26
|
+
<strong class="me-auto">Mallory Hulme</strong>
|
|
27
|
+
<small>11 mins ago</small>
|
|
28
|
+
<button
|
|
29
|
+
type="button"
|
|
30
|
+
class="ms-2 btn-close"
|
|
31
|
+
data-bs-dismiss="toast"
|
|
32
|
+
aria-label="Close"
|
|
33
|
+
></button>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="toast-body">Hello, world! This is a toast message.</div>
|
|
36
|
+
</div>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Translucent
|
|
40
|
+
|
|
41
|
+
Toasts blend over the elements they appear over. If a browser supports the `backdrop-filter` CSS property, the elements under a toast will be blurred.
|
|
42
|
+
|
|
43
|
+
```html example code
|
|
44
|
+
<div
|
|
45
|
+
class="toast show"
|
|
46
|
+
role="alert"
|
|
47
|
+
aria-live="assertive"
|
|
48
|
+
aria-atomic="true"
|
|
49
|
+
data-bs-autohide="false"
|
|
50
|
+
data-bs-toggle="toast"
|
|
51
|
+
>
|
|
52
|
+
<div class="toast-header">
|
|
53
|
+
<span
|
|
54
|
+
class="avatar avatar-xs me-2"
|
|
55
|
+
style="background-image: url(/samples/avatars/029m.jpg)"
|
|
56
|
+
></span>
|
|
57
|
+
<strong class="me-auto">Mallory Hulme</strong>
|
|
58
|
+
<small>11 mins ago</small>
|
|
59
|
+
<button
|
|
60
|
+
type="button"
|
|
61
|
+
class="ms-2 btn-close"
|
|
62
|
+
data-bs-dismiss="toast"
|
|
63
|
+
aria-label="Close"
|
|
64
|
+
></button>
|
|
65
|
+
</div>
|
|
66
|
+
<div class="toast-body">Hello, world! This is a toast message.</div>
|
|
67
|
+
</div>
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Stacking toasts
|
|
71
|
+
|
|
72
|
+
Stack multiple toasts together by putting them within one `.toast-container`.
|
|
73
|
+
|
|
74
|
+
```html example height="260px"
|
|
75
|
+
<div class="toast-container">
|
|
76
|
+
<div
|
|
77
|
+
class="toast show"
|
|
78
|
+
role="alert"
|
|
79
|
+
aria-live="assertive"
|
|
80
|
+
aria-atomic="true"
|
|
81
|
+
data-bs-autohide="false"
|
|
82
|
+
data-bs-toggle="toast"
|
|
83
|
+
>
|
|
84
|
+
<div class="toast-header">
|
|
85
|
+
<span
|
|
86
|
+
class="avatar avatar-xs me-2"
|
|
87
|
+
style="background-image: url(/samples/avatars/008m.jpg)"
|
|
88
|
+
></span>
|
|
89
|
+
<strong class="me-auto">Dunn Slane</strong>
|
|
90
|
+
<small>11 mins ago</small>
|
|
91
|
+
<button
|
|
92
|
+
type="button"
|
|
93
|
+
class="ms-2 btn-close"
|
|
94
|
+
data-bs-dismiss="toast"
|
|
95
|
+
aria-label="Close"
|
|
96
|
+
></button>
|
|
97
|
+
</div>
|
|
98
|
+
<div class="toast-body">Hello, world! This is a toast message.</div>
|
|
99
|
+
</div>
|
|
100
|
+
<div
|
|
101
|
+
class="toast show"
|
|
102
|
+
role="alert"
|
|
103
|
+
aria-live="assertive"
|
|
104
|
+
aria-atomic="true"
|
|
105
|
+
data-bs-autohide="false"
|
|
106
|
+
data-bs-toggle="toast"
|
|
107
|
+
>
|
|
108
|
+
<div class="toast-header">
|
|
109
|
+
<span
|
|
110
|
+
class="avatar avatar-xs me-2"
|
|
111
|
+
style="background-image: url(/samples/avatars/020m.jpg)"
|
|
112
|
+
></span>
|
|
113
|
+
<strong class="me-auto">Mallory Hulme</strong>
|
|
114
|
+
<small>7 mins ago</small>
|
|
115
|
+
<button
|
|
116
|
+
type="button"
|
|
117
|
+
class="ms-2 btn-close"
|
|
118
|
+
data-bs-dismiss="toast"
|
|
119
|
+
aria-label="Close"
|
|
120
|
+
></button>
|
|
121
|
+
</div>
|
|
122
|
+
<div class="toast-body">This is another toast message.</div>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
```
|
|
126
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Tooltips
|
|
3
|
+
summary: Tooltips are text labels which appear when a user hovers over an interface element. They explain the interface elements that may be unclear for users and guide them when they need help. If used properly, tooltips can significantly enhance user experience and add value to your website or software.
|
|
4
|
+
bootstrapLink: components/tooltips/
|
|
5
|
+
description: Guide users with informative tooltips.
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Default markup
|
|
9
|
+
|
|
10
|
+
Use the default markup to create tooltips that will help users understand particular elements of your interface. You can decide where the text label is to be displayed - at the top, bottom or on either side of the element.
|
|
11
|
+
|
|
12
|
+
```html example centered separated
|
|
13
|
+
<button
|
|
14
|
+
type="button"
|
|
15
|
+
class="btn"
|
|
16
|
+
data-bs-toggle="tooltip"
|
|
17
|
+
data-bs-placement="top"
|
|
18
|
+
title="Tooltip on top"
|
|
19
|
+
>
|
|
20
|
+
Tooltip on top
|
|
21
|
+
</button>
|
|
22
|
+
<button
|
|
23
|
+
type="button"
|
|
24
|
+
class="btn"
|
|
25
|
+
data-bs-toggle="tooltip"
|
|
26
|
+
data-bs-placement="right"
|
|
27
|
+
title="Tooltip on right"
|
|
28
|
+
>
|
|
29
|
+
Tooltip on right
|
|
30
|
+
</button>
|
|
31
|
+
<button
|
|
32
|
+
type="button"
|
|
33
|
+
class="btn"
|
|
34
|
+
data-bs-toggle="tooltip"
|
|
35
|
+
data-bs-placement="bottom"
|
|
36
|
+
title="Tooltip on bottom"
|
|
37
|
+
>
|
|
38
|
+
Tooltip on bottom
|
|
39
|
+
</button>
|
|
40
|
+
<button
|
|
41
|
+
type="button"
|
|
42
|
+
class="btn"
|
|
43
|
+
data-bs-toggle="tooltip"
|
|
44
|
+
data-bs-placement="left"
|
|
45
|
+
title="Tooltip on left"
|
|
46
|
+
>
|
|
47
|
+
Tooltip on left
|
|
48
|
+
</button>
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Tooltip with HTML
|
|
52
|
+
|
|
53
|
+
If the default tooltip is not enough, you can add the option to use HTML code in the text to highlight particular bits of information and make the content more attractive.
|
|
54
|
+
|
|
55
|
+
```html example height="7rem"
|
|
56
|
+
<button
|
|
57
|
+
type="button"
|
|
58
|
+
class="btn"
|
|
59
|
+
data-bs-toggle="tooltip"
|
|
60
|
+
data-bs-html="true"
|
|
61
|
+
title="<em>Tooltip</em> <u>with</u> <b>HTML</b>"
|
|
62
|
+
>
|
|
63
|
+
Tooltip with HTML
|
|
64
|
+
</button>
|
|
65
|
+
```
|