Compare commits
1 Commits
main-rever
...
precommit-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
60e87c71c9 |
@@ -10,7 +10,7 @@ import * as prettier from "prettier";
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url))
|
||||
|
||||
const docs = sync(join(__dirname, '..', 'docs', '**', '*.md'))
|
||||
const docs = sync(join(__dirname, '..', 'docs', '**', '*.mdx'))
|
||||
|
||||
async function formatHTML(htmlString) {
|
||||
try {
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
import AdmZip from 'adm-zip';
|
||||
import path from 'path';
|
||||
import { fileURLToPath } from 'url';
|
||||
import { readFileSync } from 'fs';
|
||||
|
||||
// Get __dirname in ESM
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
||||
|
||||
const pkg = JSON.parse(
|
||||
readFileSync(path.join(__dirname, '../core', 'package.json'), 'utf8')
|
||||
)
|
||||
|
||||
// Create zip instance and add folder
|
||||
const zip = new AdmZip();
|
||||
zip.addLocalFolder(path.join(__dirname, '../preview/dist'), 'dashboard');
|
||||
|
||||
zip.addLocalFile(path.join(__dirname, '../preview/static', 'og.png'), '.', 'preview.png');
|
||||
|
||||
zip.addFile("documentation.url", Buffer.from("[InternetShortcut]\nURL = https://tabler.io/docs"));
|
||||
|
||||
|
||||
// Folder to zip and output path
|
||||
const outputZipPath = path.join(__dirname, '../packages-zip', `tabler-${pkg.version}.zip`);
|
||||
|
||||
// Write the zip file
|
||||
zip.writeZip(outputZipPath);
|
||||
|
||||
console.log(`Zipped folder to ${outputZipPath}`);
|
||||
5
.changeset/aaaa.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tabler/core": minor
|
||||
---
|
||||
|
||||
Add gradient background utilities
|
||||
5
.changeset/chatty-bottles-jam.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tabler/core": patch
|
||||
---
|
||||
|
||||
Rollback accordion component structure
|
||||
@@ -3,18 +3,8 @@
|
||||
"changelog": "@changesets/cli/changelog",
|
||||
"commit": false,
|
||||
"fixed": [],
|
||||
"linked": [
|
||||
[
|
||||
"@tabler/core",
|
||||
"@tabler/preview",
|
||||
"@tabler/docs"
|
||||
]
|
||||
],
|
||||
"linked": [],
|
||||
"access": "public",
|
||||
"baseBranch": "dev",
|
||||
"ignore": [],
|
||||
"privatePackages": {
|
||||
"version": true,
|
||||
"tag": false
|
||||
}
|
||||
"baseBranch": "main",
|
||||
"ignore": []
|
||||
}
|
||||
|
||||
5
.changeset/forty-pots-happen.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tabler/core": patch
|
||||
---
|
||||
|
||||
Add Bootstrap components to Tabler JS
|
||||
4
.changeset/large-elephants-camp.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
---
|
||||
|
||||
Replace HTML `alt` attribute to `aria-title` used on SVG element
|
||||
4
.changeset/lovely-dots-know.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
---
|
||||
|
||||
Update modal examples
|
||||
5
.changeset/pink-bottles-rest.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tabler/core": patch
|
||||
---
|
||||
|
||||
Apply border radius to `tom-select` on focus
|
||||
5
.changeset/popular-geckos-flow.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"preview": patch
|
||||
---
|
||||
|
||||
Add missing `tw` entry in `flags.json`
|
||||
5
.changeset/quick-taxis-impress.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tabler/core": patch
|
||||
---
|
||||
|
||||
Minor spelling and grammar improvements to emails docs
|
||||
5
.changeset/stale-lions-talk.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tabler/core": patch
|
||||
---
|
||||
|
||||
Fix `autosize` and `input mask` plugins to use window scope
|
||||
5
.changeset/twenty-radios-punch.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tabler/core": patch
|
||||
---
|
||||
|
||||
Improve README
|
||||
@@ -1,56 +0,0 @@
|
||||
---
|
||||
description: Tabler Project Rules
|
||||
globs:
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
## Documentation Standards
|
||||
|
||||
- Always write documentation in English (not Polish) for technical content
|
||||
- Use clear, descriptive headings with proper hierarchy (##, ###)
|
||||
- Include practical examples with code snippets
|
||||
- Add explanations for each component's purpose and usage
|
||||
- Use consistent formatting for code blocks and examples
|
||||
|
||||
## CSS/SCSS Guidelines
|
||||
|
||||
- Follow Tabler's CSS custom properties pattern: `--#{$prefix}component-property`
|
||||
- Use semantic class names that describe purpose, not appearance
|
||||
- Maintain consistent spacing and indentation in SCSS files
|
||||
- Group related styles together with clear comments
|
||||
- Use Bootstrap-compatible class naming conventions
|
||||
|
||||
## Component Documentation Structure
|
||||
|
||||
- Start with a brief description of the component's purpose
|
||||
- Show basic usage examples first
|
||||
- Include variations and modifiers
|
||||
- Add accessibility considerations where relevant
|
||||
- Provide code examples that are copy-paste ready
|
||||
|
||||
## File Organization
|
||||
|
||||
- Keep documentation files in `docs/content/ui/components/`
|
||||
- Use consistent naming: lowercase with hyphens
|
||||
- Include frontmatter with title, summary, and description
|
||||
- Link to Bootstrap documentation when relevant
|
||||
|
||||
## Code Examples
|
||||
|
||||
- Use Liquid templating syntax for dynamic examples
|
||||
- Include both HTML and rendered output
|
||||
- Show responsive behavior where applicable
|
||||
- Demonstrate proper accessibility attributes
|
||||
|
||||
## Git Commit Messages
|
||||
|
||||
- Use English for commit messages
|
||||
- Follow conventional commit format when possible
|
||||
- Be descriptive about what was changed and why
|
||||
|
||||
## Project-Specific Conventions
|
||||
|
||||
- Tabler uses Bootstrap 5 as a foundation
|
||||
- Custom components extend Bootstrap functionality
|
||||
- Documentation should be comprehensive but concise
|
||||
- Examples should be practical and immediately usable
|
||||
10
.github/workflows/lockfiles.yaml
vendored
@@ -1,7 +1,6 @@
|
||||
name: Changed lock files
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened, reopened]
|
||||
pull_request: null
|
||||
|
||||
permissions:
|
||||
pull-requests: read
|
||||
@@ -13,9 +12,10 @@ jobs:
|
||||
steps:
|
||||
- name: Clone Tabler
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Prevent lock file change
|
||||
uses: xalvarez/prevent-file-change-action@v2
|
||||
uses: xalvarez/prevent-file-change-action@v1
|
||||
with:
|
||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
pattern: Gemfile.lock|pnpm-lock.json|pnpm-lock.yaml
|
||||
trustedAuthors: codecalm, BG-Software-BG, dependabot
|
||||
pattern: Gemfile.lock|pnpm-lock.json
|
||||
trustedAuthors: codecalm, dependabot
|
||||
|
||||
3
.gitignore
vendored
@@ -35,5 +35,4 @@ package-lock.json
|
||||
|
||||
demo/
|
||||
dist/
|
||||
packages-zip/
|
||||
.env
|
||||
packages-zip/
|
||||
16
.husky/pre-commit
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
if git diff --quiet --cached package.json; then
|
||||
if git diff --quiet --cached pnpm-lock.yaml; then
|
||||
echo "pnpm-lock.yaml not changed, nothing to do."
|
||||
else
|
||||
echo "pnpm-lock.yaml changed, restore..."
|
||||
git restore --staged pnpm-lock.yaml
|
||||
git checkout pnpm-lock.yaml
|
||||
echo "Restored pnpm-lock.yaml."
|
||||
fi
|
||||
else
|
||||
echo "package.json changed, pnpm-lock.yaml change"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"bracketSpacing": true,
|
||||
"jsxSingleQuote": false,
|
||||
"printWidth": 320,
|
||||
"printWidth": 240,
|
||||
"proseWrap": "always",
|
||||
"semi": false,
|
||||
"singleQuote": false,
|
||||
|
||||
520
CHANGELOG.md
Normal file
@@ -0,0 +1,520 @@
|
||||
# Changelog
|
||||
|
||||
## 1.0.0 - 2025-01-28
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- c276a8b: Add new `Tag` component
|
||||
- d380224: Add customizable Star Ratings component using `star-rating.js` library
|
||||
- 47cd6c1: Add `flags.html` page with list of all flags
|
||||
- be67ab6: Update CSS class from `text-muted` to `text-secondary` for better Bootstrap compatibility
|
||||
- 080c746: Adding `alerts.html` page with example of alerts.
|
||||
- b381273: Change primary color value to new Tabler branding
|
||||
- 75619dd: Unify dark mode with latest Bootstrap API and improve dark mode elements
|
||||
- cc82dbf: New Chat component
|
||||
- 5a03643: Adjusting form element sizes for enhanced mobile devices compatibility
|
||||
- be14607: Add new color picker component using `coloris.js` library
|
||||
- d046570: Update Tabler Icons to version 2.23 with 18 new icons added
|
||||
- 5488c50: New page with payment providers: `payment-providers.html`
|
||||
- 5488c50: Add support for new payment providers: 2c2p, Adyen, Affirm, Alipay Plus, Allegro Pay, Amazon Pay, Apple Pay, Autopay, Binance USD, Bkash, Cash App, Chime, EasyPaisa, Ethereum, Google Pay, HubSpot, iDeal, Litecoin, Mercado Pago, MetaMask, MoneyGram, OpenSea, Payconiq, Payka, Payline, PayPo, Paysafe, Poli, Revolut Pay, Samsung Pay, Shop Pay, Solana, Spingo, Stax, Tether, True USD, Venmo, WeChat Pay, Wise, Zelle
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 293d0a4: Change Twitter to X brand
|
||||
- fd0935a: Updated link to icons documentation
|
||||
- 1cf27dc: Dependencies update
|
||||
- 041f4e4: Order menu items alphabetically
|
||||
- 20cad01: Automatically retrieve and display the changelog from the CHANGELOG.md file.
|
||||
- 34f3efc: Initialize Visual Studio Code config
|
||||
- 7ba7717: Make horizontal rule direction aware
|
||||
- 063ef58: Update Tabler Illustrations to v1.5
|
||||
- 5e2c975: Update Tabler Icons to v3.29.0
|
||||
- 9d5f7ca: Remove unused dependencies from `package.json`
|
||||
- be69fd6: Replace Jekyll with Eleventy
|
||||
- 2f5fad6: Dependencies update
|
||||
- dfd7c88: Update TinyMCE to v7.0
|
||||
- 056df18: Fix text color in dark version of navbar
|
||||
- 17327dc: Remove invalid `z-index` setting for dropdowns
|
||||
- 4ff077a: Update Tabler Icons to version 2.21 with 18 new icons added
|
||||
- 867c8dd: Update Tabler Emails to v2.0
|
||||
- d8605f2: Init changelog script
|
||||
- 89c6234: Adding Two-Step Verification Pages
|
||||
- f6e885b: Replace `.page-center` with `.my-auto` in single page layouts
|
||||
- 7aa216f: Add border-opacity variable for improved color utility
|
||||
- 88eb413: Fix icon display issues in the Star Ratings component
|
||||
- 78392b6: Fix `color` of disabled `dropdown-item` in Navbar component
|
||||
- 4deb8f4: Bump pnpm/action-setup from 2 to 3
|
||||
- 9015472: Add social icons plugin
|
||||
- 7fe30a1: `Dockerfile` fix
|
||||
- e53942f: Update Jekyll to version 4.3.4
|
||||
- 72f868b: Update Tabler Icons to version 2.20 with 37 new icons added
|
||||
- e0443c0: Add Tabler Illustrations
|
||||
- 5cca710: Update illustrations and enhance SVG handling in HTML
|
||||
- 3a4f10f: Fix ids of custom size star ratings
|
||||
- 7896562: Unify size of avatar, flag and payment components
|
||||
- 1587905: Update icons to v2.42.0
|
||||
- d9e00b2: Update Bootstrap to v5.3.0
|
||||
- bc1d1a3: Set `font-size` of an `i` element with `icon` class in a `button` element
|
||||
- 0195f9b: Dependencies update
|
||||
- a5bf5d3: Fix icons in `form-elements.html`
|
||||
- 736410c: Update Tabler Icons to v3.28.1
|
||||
- 3f516ea: Fix `rgba` color values in `_variables.scss`
|
||||
- e91884e: Fix description of alerts with a description
|
||||
- 90cc744: Fix colors of disabled `.ts-control`
|
||||
- 1801e41: Center content on error and single page layouts
|
||||
- 45c83ac: Resolve map page issues
|
||||
- faee63c: Improve base font family loading
|
||||
- 5e7e0dd: Introduce Docker Compose Config to build and run Ttabler locally
|
||||
- c293a66: Fix `@charset` CSS declaration in bundle.
|
||||
- cb4a681: Update `_navbar.scss` with disabled dropdown menu items color
|
||||
- af41fb3: Update Tabler Icons to v3.17.0
|
||||
- 6cbe888: Update `@tabler/icons` to v3.0
|
||||
- 0e4bf5f: Refactor data structure by converting YAML files to JSON
|
||||
- 82cf257: Increase `z-index` of `ts-dropdown` to prevent overlapping by buttons
|
||||
- 4b4b4f6: Adding punctuation to `SECURITY.md`
|
||||
- a0a2d52: Fix form controls bugs in dark mode
|
||||
- f45b697: Fix padding in code blocks
|
||||
- 4de166d: Unified Box Shadows with Bootstrap Compatibility
|
||||
- 87bf2f5: Remove duplicated setting of color in `th` element
|
||||
- 5dc45aa: Fix layout of search results for small and medium screens
|
||||
- 4ae0358: Remove `text-decoration` on hovering `a` element with class having `icon` class
|
||||
- e798eb6: Fix small typo in tables docs
|
||||
- 1c1d0c9: Improve documentation for alerts
|
||||
- 371ef84: Bump `pnpm/action-setup` from 3 to 4
|
||||
- 8421fc2: Update dependencies
|
||||
- 0625f5f: Update Tabler Icons to version 2.22 with 18 new icons added
|
||||
- ba65fc3: Update devDependencies
|
||||
- a43ded4: Add All Contributions package to project for easy contribution tracking
|
||||
- 2f622c9: Set value of `$font-family-monospace` as default
|
||||
- 2c7c448: Refactor Dockerfile and package.json
|
||||
- 5ec7f05: Resolved light dropdown issue on dark theme
|
||||
- b0b07b9: Enhance documentation
|
||||
- 0f129b1: Update Tabler Icons to version 2.19 with 18 new icons added
|
||||
- 507df7b: Fix cells with inline icons
|
||||
- 0e5b44a: Fix `color` of disabled `nav-link` in `nav-bordered`
|
||||
- 65c1300: Fix the `z-index` value of the `nav-tab` inside `card-tab` #1933
|
||||
- 8552a46: Switch from `npm` to `pnpm` for faster package installation
|
||||
- 4a9e40d: Increase contrast of active `dropdown-item` in vertical layout
|
||||
- 17ebdf4: Update documentation for Tabler components
|
||||
- 4c88481: Add variable to configure `avatar-list` spacing
|
||||
- df46ee7: Do not display empty `fieldset` element
|
||||
- 875cafa: Refactor SCSS variables to use `color.adjust` for improved color manipulation
|
||||
- eb28546: Add Tabler Illustrations
|
||||
- 650d84c: Update required Node.js version to 18 and add `.nvmrc` file
|
||||
- fb659d4: Fix table default background color
|
||||
- f77c712: Avoid SCSS color dependency on `:focus`
|
||||
- 71c68ce: Update changelog configuration and release scripts
|
||||
- 34d124d: Update Tabler Icons to v3.26.0
|
||||
- 4cd9215: Updated Tabler Icons to v3.24.0
|
||||
- 7bb947b: Update Tabler Icons to version 2.18 with 18 new icons added
|
||||
- c75cf55: Update Node.js engine requirement to allow versions >=20
|
||||
- 1c34e8e: Update Tabler Icons to v3.14.0
|
||||
- 289dd3b: Add Prettier to project for consistent code formatting
|
||||
- f83e36c: Upgrade Node.js from version 18 to version 20 for improved performance, security, and feature updates.
|
||||
- b885852: Update Tabler Icons to version 2.25 with 48 new icons added
|
||||
- 53a5117: Fix responsiveness issue in Settings menu
|
||||
- 38504e5: Added 3 new payments from Nepal: Esewa, FonePay, Khalti and Imepay
|
||||
- 35ee14d: Add new Filled section to Icons page
|
||||
- d32f242: Update `bootstrap` to v5.3.1
|
||||
- d82f94e: Update package dependencies to latest versions
|
||||
- 54c5ad0: Fix link to webfont version of Tabler Icons
|
||||
- 94b83d4: Add support for changeset tool for more efficient and organized code changes
|
||||
- c51ff28: Fix colors in date range datepicker
|
||||
|
||||
## `1.0.0-beta24` - 2025-01-11
|
||||
|
||||
- Enhanced documentation.
|
||||
- Updated illustrations and improved SVG handling in HTML.
|
||||
- Updated copyright year in LICENSE file to 2025.
|
||||
- Added marketing pages plugin.
|
||||
|
||||
## `1.0.0-beta23` - 2025-01-07
|
||||
|
||||
- Documentation improvements.
|
||||
- Added countup functionality and updated documentation example.
|
||||
- Do not display empty `<fieldset>`.
|
||||
- Set font-size of webfont icon inside a button.
|
||||
- Ordered menu items alphabetically.
|
||||
- Marked value of `$font-family-monospace` as `!default`.
|
||||
- Fixed unpkg links to static-files icons.
|
||||
- Fixed description of alerts with a description.
|
||||
- Fixed layout of search results for small and medium screens.
|
||||
- Removed invalid z-index setting for dropdown.
|
||||
- Fixed IDs of custom size star ratings.
|
||||
- Removed text-decoration on hover for elements with child icons.
|
||||
- Fixed link to webfont icons.
|
||||
- Updated color reference links in UI component documentation.
|
||||
- Fixed typo in browser support documentation summary.
|
||||
- Enhanced Figma plugin documentation with detailed usage instructions.
|
||||
- Added documentation for Tabler Illustrations and updated index with a link.
|
||||
- Enhanced documentation for various UI and icon sections.
|
||||
- Added new documentation files for icons and UI components; restructured existing files.
|
||||
- Updated documentation structure and content for icons and UI components.
|
||||
- Removed outdated `menu.json` and added `index.mdx` files for UI documentation structure.
|
||||
- General docs update.
|
||||
- Increased contrast of active dropdown-item in vertical layout.
|
||||
- Removed duplicated color setting in table headers.
|
||||
- Increased `z-index` of `ts-dropdown`.
|
||||
- Added social icons plugin.
|
||||
- Described variables for datagrid in docs.
|
||||
- Fixed multiple documentation issues.
|
||||
- Removed unused config from the code.
|
||||
- Fixed links to Tabler Icons.
|
||||
- Updated dark image.
|
||||
- Updated screenshot.
|
||||
- Fixed icon issues.
|
||||
- Fixed URL in documentation.
|
||||
|
||||
## `1.0.0-beta22` - 2025-01-02
|
||||
|
||||
- Fixed `@charset` CSS declaration in bundle.
|
||||
- Fixed cells with inline icons.
|
||||
- Fixed padding in code blocks.
|
||||
- Fixed colors in date range datepicker.
|
||||
- Fixed icon display issues in the Star Ratings component.
|
||||
- Fixed `z-index` value of the `nav-tab` inside `card-tab`.
|
||||
- Fixed wrong gray colors.
|
||||
- Fixed incorrect CDN URL in `webfont.mdx`.
|
||||
- Ensured border color works in dark mode.
|
||||
- Replaced `.page-center` with `.my-auto` in single-page layouts.
|
||||
- Updated Tabler Emails to v2.0.
|
||||
- Updated Tabler Icons to v3.26.0.
|
||||
- Updated docs structure.
|
||||
- Updated `download.mdx`.
|
||||
- Updated Node.js to version 20.
|
||||
- Improved base font family.
|
||||
- Made horizontal rule direction-aware.
|
||||
- Added new payment providers.
|
||||
- Read changelog from `CHANGELOG.md` file.
|
||||
- Initialized VS Code configuration.
|
||||
|
||||
## `1.0.0-beta21` - 2024-09-8
|
||||
|
||||
- Updated dependencies.
|
||||
- Updated Tabler Icons to v3.14.0 and the import script.
|
||||
- Fixed invisible scrollbar in dark mode when navigating the preview.
|
||||
- Styled `btn-close` specifically for `.modal-header`.
|
||||
- Added proper borders to the ribbon start class.
|
||||
- Changed brand color.
|
||||
- Included `docs` in the `npm` package.
|
||||
- Added Tabler Illustrations.
|
||||
- Fixed use of the secondary color in specific form elements.
|
||||
- Introduced Docker Compose Config for local Tabler builds.
|
||||
- Allowed usage of `tinymce` v7.x as a peer dependency.
|
||||
- Updated TinyMCE to v7.0.
|
||||
- Rebranded Twitter to X.
|
||||
- Replaced undraw illustrations with Tabler Illustrations.
|
||||
- Added punctuation to `SECURITY.md`.
|
||||
- Updated `_navbar.scss` to correct disabled dropdown menu item colors.
|
||||
- Removed unused packages.
|
||||
- Fixed map pages.
|
||||
- Resolved issues with toasts in dark mode.
|
||||
- Fixed alert background prefix.
|
||||
- Corrected a typo in CHANGELOG.md.
|
||||
- Fixed radial chart issue.
|
||||
- Added documentation on running the site locally in Site README.
|
||||
- Updated colors in `colors.mdx`.
|
||||
- Fixed dynamic SCSS prefix in mixins.
|
||||
- Changed `<h1>` to `<div>` in `navbar-logo.html`.
|
||||
- Resolved vertical centering on error pages.
|
||||
- Fixed navbar menu issues.
|
||||
- Added `background-clip: border-box` to `.dropdown-menu` class.
|
||||
- Replaced `href="#"` with `href="javascript:void(0)"`.
|
||||
- Fixed disabled CSS class for links.
|
||||
- Addressed missing variables and minor color adjustments.
|
||||
- Improved heights, scrolls, and layouts in Docs examples.
|
||||
- Fixed flags display in preview.
|
||||
|
||||
## `1.0.0-beta20` - 2023-08-24
|
||||
|
||||
- Update `bootstrap` to v5.3.1
|
||||
- Add new `Chat` component
|
||||
- Add new `Tag` component
|
||||
- Add customizable Star Ratings component using `star-rating.js` library
|
||||
- Add new color picker component using `coloris.js` library
|
||||
- Add `alerts.html` page with example of alerts.
|
||||
- Add `flags.html` page with list of all flags
|
||||
- Add Two-Step Verification Pages
|
||||
- Add variable to configure `avatar-list` spacing
|
||||
- Unify dark mode with latest Bootstrap API and improve dark mode elements
|
||||
- Unify Box Shadows with Bootstrap Compatibility
|
||||
- Avoid SCSS color dependency on `:focus`
|
||||
- Update CSS class from `text-muted` to `text-secondary` for better Bootstrap compatibility
|
||||
- Fix text color in dark version of navbar
|
||||
- Adjusting form element sizes for enhanced mobile devices compatibility
|
||||
- Resolved light dropdown issue on dark theme
|
||||
- Update Tabler Icons to version 2.32 with 48 new icons added
|
||||
- Fix table default background color
|
||||
- Fix responsiveness issue in Settings menu
|
||||
- Update required Node.js version to 18 and add `.nvmrc` file
|
||||
- Add support for changeset tool for more efficient and organized code changes
|
||||
- `Dockerfile` fix
|
||||
- Switch from `npm` to `pnpm` for faster package installation
|
||||
|
||||
## `1.0.0-beta19` - 2023-05-15
|
||||
|
||||
- Add customizable Star Ratings component using `star-rating.js` library (#1571)
|
||||
- Add new "Filled" section to Icons page (#1574)
|
||||
- Fix form controls bugs in dark mode (#1573)
|
||||
- Fix text color in dark version of navbar (#1569)
|
||||
- Changelog update
|
||||
|
||||
## `1.0.0-beta18` - 2023-05-14
|
||||
|
||||
- new page: Cookie banner
|
||||
- Unify dark mode with latest Bootstrap API and improve dark mode elements (#1561)
|
||||
- Update Tabler Icons to version 2.18 with 18 new icons added (#1560)
|
||||
- Switch from `npm` to `pnpm` for faster package installation (#1559)
|
||||
- Add Prettier to project for consistent code formatting (#1558)
|
||||
- Update required Node.js version to 18 and add `.nvmrc` file (#1555)
|
||||
- Add All Contributions package to project for easy contribution tracking (#1556)
|
||||
- Add support for changeset tool for more efficient and organized code changes (#1553)
|
||||
- Fix bug where `border-1`, `border-2`, etc don't work (#1526)
|
||||
- Fix indeterminate input background color (#1536)
|
||||
- Update Bootstrap to `5.3.0-alpha3` (#1543)
|
||||
- `tom-select` dark mode styling fixes
|
||||
- Advanced udage of `tom-select` (#1480)
|
||||
- Fix Dropdown menu in rtl mode (#801)
|
||||
- Fix `tom-select` dropdown will be shaded in table-responsive (#1409)
|
||||
- Remove overflow scroll from body
|
||||
- Fix avatars overlap transparently (#1464)
|
||||
- Fix TinyMCE dropdown icon list transparent (#1426)
|
||||
- Dark mode lite colors improvement
|
||||
- Fix non full width selects (#1392)
|
||||
|
||||
## `1.0.0-beta17` - 2023-01-28
|
||||
|
||||
- update `bootstrap` to v5.3.0
|
||||
- update icons to v2.1.2
|
||||
- add 72 new brands, browsers logos update
|
||||
- new `Trial ended` page
|
||||
- new `Page loader` page
|
||||
- new `Profile` page
|
||||
- headings fix
|
||||
- dropdown background color fix
|
||||
- fix rgba conversion bug
|
||||
- fix autofill text color, not matching in dark mode
|
||||
- update license
|
||||
- header html5 tags
|
||||
- add input with appended `<kbd>`
|
||||
- `bootstrap` import fix
|
||||
- font improvements
|
||||
- change `$body-color` to CSS variable
|
||||
- scrollbars improvements
|
||||
- move `@tabler/icons` to `dev-dependencies`
|
||||
- fix #1370: avatar stacked list is not stacked anymore
|
||||
|
||||
## `1.0.0-beta16` - 2022-11-12
|
||||
|
||||
- new `Photogrid` page
|
||||
- `Steps` component improvements
|
||||
- fix #1348: Make job listing responsive for smaller devices
|
||||
- fix #1357: buttons group not active
|
||||
- fix #1352: fix deprecation warning
|
||||
- fix #1180: number input with `form-control-sm` looks weird
|
||||
- fix #1328: color input should show different color for inner check symbol on white ellipse
|
||||
- fix #1355 - missing font sizes
|
||||
- update icons to v1.111.0
|
||||
- homepage navbar fix
|
||||
- fix #1262 - `.bg-opacity-xx` class is not functioning properly
|
||||
|
||||
## `1.0.0-beta15` - 2022-11-01
|
||||
|
||||
- new `badges` page
|
||||
- `<kbd>` styling
|
||||
- update icons to v1.109.0
|
||||
- `tom-select` border fix
|
||||
- exclude `playgrounds` from build
|
||||
- update jekyll to v4.3.1
|
||||
- fix: facebook color update
|
||||
- navbar aria atributes fixes
|
||||
- fix #808 - `navbar-menu` and `sidebar-menu` has the same `id`
|
||||
- fix #1335 - missing color variables usage in `alert` and `btn-ghost-*`
|
||||
- move border style to CSS variables
|
||||
- add missing forms
|
||||
- `btn-actions` fixes
|
||||
- replace `$text-muted` to css variable
|
||||
|
||||
## `1.0.0-beta14` - 2022-10-21
|
||||
|
||||
- fix active items in dark mode
|
||||
- update Jekyll to newest version
|
||||
|
||||
## `1.0.0-beta13` - 2022-10-18
|
||||
|
||||
- update Bootstrap to 5.2.1, update dependencies
|
||||
- new `tracking` component
|
||||
- new radio button version of `form-imagecheck`
|
||||
- update icons to v1.105.0
|
||||
- dark mode improvements
|
||||
- corrects the spelling of New Zealand (#1318)
|
||||
- remove `$border-color-dark`
|
||||
- fix #1301 - code snippets in docs look bad in dark mode
|
||||
- fix #1305 - different default link color for dark mode
|
||||
- fix popover background in dark mode
|
||||
- fix button default border color
|
||||
- fix `form-imagecheck` bg in dark mode
|
||||
- navbar logo fix
|
||||
- move card ribbons config to variables
|
||||
- navbar border fix
|
||||
- dark mode active fix
|
||||
- using globalThis instead of window (#1315)
|
||||
- fix #1210 - lastmod not generated for pages in `sitemap.xml`
|
||||
- fix card border in dark mode
|
||||
- fix #895 - background color overwrites background image
|
||||
- fix #1302 - wrong card header in dark mode
|
||||
- fix #1303 - wrong color when hovering over `selectgroup` in dark mode
|
||||
- fix #1308 - bad coloring in table in dark mode
|
||||
- fix #1273 - datepicker background color broken
|
||||
- fix `$prefix` hard coded `layout/_dark.scss`
|
||||
- fix #1275 - remove last border-right on progress bar
|
||||
- fix #1261 - broken offcanvas bg
|
||||
|
||||
## `1.0.0-beta12` - 2022-09-19
|
||||
|
||||
- new "Job listing" page
|
||||
- new "Sign in with cover" page
|
||||
- new "Logs" page
|
||||
- new `progressbg` component
|
||||
- add a lot of CSS variables
|
||||
- add Dockerfile with alpine base
|
||||
- add icon pulse/tada/rotate animations
|
||||
- use `:host` in selectors to support Web Components
|
||||
- use dark table variant colors in dark mode (#1200)
|
||||
- update Tabler Icons to v1.96
|
||||
- change `space-y` component
|
||||
- headings, shadows and borders unify
|
||||
- toggle TinyMCE dark mode and skin based on the set Tabler theme
|
||||
- fix `card-footer` background
|
||||
- fix headers weight
|
||||
- fix transparent hover background in pagination
|
||||
- fix dark mode card text color
|
||||
- fix `--#{$prefix}card-bg` is undefined
|
||||
- fix global variable for `.card` and `.btn`
|
||||
- fix code sample in the customize tabler docs
|
||||
- fix form elements demo page radio buttons
|
||||
- replace `gulp-minify` with `gulp-terser`
|
||||
|
||||
## `1.0.0-beta11` - 2022-07-05
|
||||
|
||||
- new `Dropzone` component
|
||||
- new `Lightbox` component
|
||||
- new `TinyMCS` component
|
||||
- new `Inline Player` component
|
||||
- new `Pricing table` component
|
||||
- new `Datagrid` component
|
||||
- new optgroup form examples
|
||||
- new settings page
|
||||
- update Tabler Icons to v1.78
|
||||
- added popover docs page
|
||||
- fix: #1125 incorrect chart display in the mobile version
|
||||
- update Bootstrap to 5.2.0
|
||||
|
||||
## `1.0.0-beta10` - 2022-04-29
|
||||
|
||||
- new `datatable` component
|
||||
- update Tabler Icons to v1.67
|
||||
- fix: #1024 - fix Tom-select in dark mode
|
||||
- new carousel indicators: dots, vertical, thumbs (#1101)
|
||||
- replace !important modifier with more specific selectors (#1100)
|
||||
- new `FAQ` page
|
||||
|
||||
## `1.0.0-beta9` - 2022-02-26
|
||||
|
||||
- fix: #1061 - list group item colors in light and dark modes
|
||||
- new `tasks` dashboard
|
||||
- fix: #1059 - upload button in form element in dark view has problem
|
||||
- fix: #1052 - card background icon is practically invisible
|
||||
- remove Inter font and use default font system stack
|
||||
- fix: #1018 - vector map not working
|
||||
- fix: #1035 - wrong background color of hovered list group items in dark mode
|
||||
- dependencies update
|
||||
- add `font-display: swap;` to improve font loading
|
||||
- new `Boxed` layout
|
||||
|
||||
## `1.0.0-beta8` - 2022-02-05
|
||||
|
||||
- update dependencies
|
||||
- new vector maps demos
|
||||
- fixes update map on resize
|
||||
- docs improvement
|
||||
- replace `badge` with `status-dot` in `navbar-notifications.html`
|
||||
- map tooltip fixes
|
||||
|
||||
## `1.0.0-beta7` - 2022-02-05
|
||||
|
||||
- fix: #1019 - project-overview.html link not working
|
||||
- fix: #1010 - card with bottom tabs has incorrect border radius
|
||||
- uptime monitor mobile fixes
|
||||
- navbar dark button fix
|
||||
- `tabler-icons` link
|
||||
- autoloading webfonts
|
||||
- cards fixes, new cards demos
|
||||
- ruby dependencies update
|
||||
- RTL stylesheet fixes
|
||||
- new card action demos
|
||||
|
||||
## `1.0.0-beta6` - 2022-01-18
|
||||
|
||||
- pricing cards fix
|
||||
- fix bug `fw-...`, `.fs-...` is missed (#987)
|
||||
- avatar class fix
|
||||
- fix bug #903 `litepicker` with date range not having correct border
|
||||
- page wrapper fix
|
||||
- fix #900 `is-invalid-lite` class is not working under `was-validated` form class
|
||||
- update `@tabler/icons` to version 1.48
|
||||
- fix #960 - Badges not honoring font sizes
|
||||
- fix #959 - `node-sass` does not properly compile nested media queries
|
||||
- update package dependencies to newest version
|
||||
|
||||
## `1.0.0-beta5` - 2021-12-07
|
||||
|
||||
**Tabler has finally lived to see dark mode! 🌝🌚**
|
||||
|
||||
- **Dark mode enabled!**
|
||||
- add more cursors (#947)
|
||||
- fix #892 - media queries need to be nested when negating
|
||||
- update `@tabler/icons` to newest version
|
||||
- move optional dependencies to peerDependencies (#924)
|
||||
- move deployment to Github Actions (#934)
|
||||
- table border fixes
|
||||
- antialiased fix
|
||||
- update `@tabler/icons` to version 1.42
|
||||
- change default font to 'Inter'
|
||||
- colors unify
|
||||
- add `tom-select` and remove `choices.js`
|
||||
|
||||
## `1.0.0-beta4` - 2021-10-24
|
||||
|
||||
- upgrade required node.js version to 14
|
||||
- upgrade Bootstrap to 5.1
|
||||
- upgrade dependencies
|
||||
- fix #775 - litepicker not initializing
|
||||
- fix `nouislider` import in dev
|
||||
|
||||
## `1.0.0-beta3` - 2021-05-08
|
||||
|
||||
- upgrade Bootstrap to 5.0
|
||||
- upgrade dependencies
|
||||
- change `$border-radius-pill` variable
|
||||
- badge vertical align fix
|
||||
|
||||
## `1.0.0-beta2` - 2021-03-29
|
||||
|
||||
- update dependencies
|
||||
- `li` marker fix
|
||||
- page wrapper, nav fixes
|
||||
- scripts optimize, remove `capture_once`
|
||||
- `page-body` fixes
|
||||
- layout navbar fix
|
||||
- typography fix
|
||||
- ribbon fix
|
||||
- charts label fixes
|
||||
- charts docs
|
||||
|
||||
## `1.0.0-beta` - 2021-02-17
|
||||
|
||||
**Initial beta release of Tabler v1.0! Lots more coming soon though 😁**
|
||||
|
||||
- update Bootstrap to 5.0.0-beta2
|
||||
- update other dependencies.
|
||||
26
README.md
@@ -1,5 +1,5 @@
|
||||
<p align="center">
|
||||
<a href="https://github.com/tabler/tabler"><img src="https://raw.githubusercontent.com/tabler/tabler/refs/heads/dev/shared/static/logo.svg" alt="A premium and open source dashboard template with a responsive and high-quality UI." width="300"></a><br><br>
|
||||
<a href="https://github.com/tabler/tabler"><img src="https://raw.githubusercontent.com/tabler/tabler/refs/heads/dev/preview/static/logo.svg" alt="A premium and open source dashboard template with a responsive and high-quality UI." width="300"></a><br><br>
|
||||
A premium and open source dashboard template with a responsive and high-quality UI.
|
||||
</p>
|
||||
|
||||
@@ -23,8 +23,24 @@ A premium and open source dashboard template with a responsive and high-quality
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/sponsors/codecalm" target="_blank">
|
||||
<img src="https://raw.githubusercontent.com/tabler/tabler/dev/preview/static/sponsor-banner-homepage.svg" alt="Sponsor Banner">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
## Testing
|
||||
|
||||
<p align="center">Visual testing with:</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://argos-ci.com/" target="_blank">
|
||||
<picture>
|
||||
<img src="https://github.com/user-attachments/assets/7d231a26-eff5-4fc5-8392-b2a679a7c572" alt="Argos-CI" height="164" />
|
||||
</picture>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p align="center">Browser testing via:</p>
|
||||
|
||||
<p align="center">
|
||||
@@ -43,7 +59,7 @@ Tabler is fully responsive and compatible with all modern browsers. Thanks to it
|
||||
|
||||
<p align="center">
|
||||
<a href="https://preview.tabler.io" target="_blank">
|
||||
<img src="https://raw.githubusercontent.com/tabler/tabler/dev/shared/static/tabler-preview.png" alt="Tabler Preview">
|
||||
<img src="https://raw.githubusercontent.com/tabler/tabler/dev/preview/static/tabler-preview.png" alt="Tabler Preview">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@@ -59,7 +75,7 @@ We've created this admin panel for everyone who wants to create templates based
|
||||
|
||||
## 📖 Documentation
|
||||
|
||||
The documentation is available at https://docs.tabler.io/
|
||||
The documentation is available at https://tabler.io/docs/
|
||||
|
||||
## 🪴 Project Activity
|
||||
|
||||
@@ -124,8 +140,8 @@ pnpm install
|
||||
```sh
|
||||
pnpm run start
|
||||
```
|
||||
5. Open [http://localhost:3000](http://localhost:3000) to view the preview website in your browser, or [http://localhost:3010](http://localhost:3010) to view the documentation website - and voilà.
|
||||
Changes to most of the source files of Tabler core, preview and docs will rebuild the application and refresh the page.
|
||||
5. Open [http://localhost:3000](http://localhost:3000) in your browser, and voilà.
|
||||
Any change in the `/src` directory will rebuild the application and refresh the page.
|
||||
|
||||
**Note**:
|
||||
If you wish to perform a one-off build without auto-refresh on any changes, you can run:
|
||||
|
||||
@@ -6,7 +6,7 @@ import { readFileSync, writeFileSync } from 'node:fs';
|
||||
import { join, dirname, basename } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url'
|
||||
import { sync } from 'glob';
|
||||
import banner from '../../shared/banner/index.mjs';
|
||||
import banner from '@repo/banner';
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url))
|
||||
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
'use strict'
|
||||
|
||||
import { existsSync, mkdirSync, lstatSync } from 'fs'
|
||||
import { emptyDirSync, copySync } from 'fs-extra/esm'
|
||||
import libs from '../libs.json' with { type: 'json' }
|
||||
import { fileURLToPath } from 'url'
|
||||
import { join, dirname } from 'node:path';
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url))
|
||||
|
||||
emptyDirSync(join(__dirname, '..', 'dist/libs'))
|
||||
|
||||
for(const name in libs) {
|
||||
const { npm } = libs[name]
|
||||
|
||||
if (npm) {
|
||||
const from = join(__dirname, '..', `node_modules/${npm}`)
|
||||
const to = join(__dirname, '..', `dist/libs/${npm}`)
|
||||
|
||||
// create dir in dist/libs
|
||||
if (!existsSync(to)) {
|
||||
mkdirSync(to, { recursive: true })
|
||||
}
|
||||
|
||||
copySync(from, to, {
|
||||
dereference: true,
|
||||
})
|
||||
|
||||
console.log(`Successfully copied ${npm}`)
|
||||
}
|
||||
}
|
||||
@@ -1,107 +0,0 @@
|
||||
const crypto = require('node:crypto');
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
const sh = require('shelljs');
|
||||
|
||||
sh.config.fatal = true
|
||||
|
||||
const configFile = path.join(__dirname, '../../shared/data/sri.json')
|
||||
|
||||
const files = [
|
||||
{
|
||||
file: 'dist/css/tabler.min.css',
|
||||
configPropertyName: 'css'
|
||||
},
|
||||
{
|
||||
file: 'dist/css/tabler.rtl.min.css',
|
||||
configPropertyName: 'css-rtl'
|
||||
},
|
||||
{
|
||||
file: 'dist/css/tabler-flags.min.css',
|
||||
configPropertyName: 'css-flags'
|
||||
},
|
||||
{
|
||||
file: 'dist/css/tabler-flags.rtl.min.css',
|
||||
configPropertyName: 'css-flags-rtl'
|
||||
},
|
||||
{
|
||||
file: 'dist/css/tabler-marketing.min.css',
|
||||
configPropertyName: 'css-marketing'
|
||||
},
|
||||
{
|
||||
file: 'dist/css/tabler-marketing.rtl.min.css',
|
||||
configPropertyName: 'css-marketing-rtl'
|
||||
},
|
||||
{
|
||||
file: 'dist/css/tabler-payments.min.css',
|
||||
configPropertyName: 'css-payments'
|
||||
},
|
||||
{
|
||||
file: 'dist/css/tabler-payments.rtl.min.css',
|
||||
configPropertyName: 'css-payments-rtl'
|
||||
},
|
||||
{
|
||||
file: 'dist/css/tabler-props.min.css',
|
||||
configPropertyName: 'css-props'
|
||||
},
|
||||
{
|
||||
file: 'dist/css/tabler-props.rtl.min.css',
|
||||
configPropertyName: 'css-props-rtl'
|
||||
},
|
||||
{
|
||||
file: 'dist/css/tabler-themes.min.css',
|
||||
configPropertyName: 'css-themes'
|
||||
},
|
||||
{
|
||||
file: 'dist/css/tabler-themes.rtl.min.css',
|
||||
configPropertyName: 'css-themes-rtl'
|
||||
},
|
||||
{
|
||||
file: 'dist/css/tabler-socials.min.css',
|
||||
configPropertyName: 'css-socials'
|
||||
},
|
||||
{
|
||||
file: 'dist/css/tabler-socials.rtl.min.css',
|
||||
configPropertyName: 'css-socials-rtl'
|
||||
},
|
||||
{
|
||||
file: 'dist/css/tabler-vendors.min.css',
|
||||
configPropertyName: 'css-vendors'
|
||||
},
|
||||
{
|
||||
file: 'dist/css/tabler-vendors.rtl.min.css',
|
||||
configPropertyName: 'css-vendors-rtl'
|
||||
},
|
||||
{
|
||||
file: 'dist/js/tabler.min.js',
|
||||
configPropertyName: 'js'
|
||||
},
|
||||
{
|
||||
file: 'dist/js/tabler-theme.min.js',
|
||||
configPropertyName: 'js-theme'
|
||||
},
|
||||
// {
|
||||
// file: 'dist/preview/css/demo.min.css',
|
||||
// configPropertyName: 'demo-css'
|
||||
// },
|
||||
// {
|
||||
// file: 'dist/preview/js/demo.min.js',
|
||||
// configPropertyName: 'demo-js'
|
||||
// },
|
||||
]
|
||||
|
||||
for (const { file, configPropertyName } of files) {
|
||||
fs.readFile(path.join(__dirname, '..', file), 'utf8', (error, data) => {
|
||||
if (error) {
|
||||
throw error
|
||||
}
|
||||
|
||||
const algorithm = 'sha384'
|
||||
const hash = crypto.createHash(algorithm).update(data, 'utf8').digest('base64')
|
||||
const integrity = `${algorithm}-${hash}`
|
||||
|
||||
console.log(`${configPropertyName}: ${integrity}`)
|
||||
|
||||
sh.sed('-i', new RegExp(`^(\\s+"${configPropertyName}":\\s+["'])\\S*(["'])`), `$1${integrity}$2`, configFile)
|
||||
})
|
||||
}
|
||||
@@ -4,13 +4,13 @@ import { fileURLToPath } from 'node:url'
|
||||
import { babel } from '@rollup/plugin-babel'
|
||||
import { nodeResolve } from '@rollup/plugin-node-resolve'
|
||||
import replace from '@rollup/plugin-replace'
|
||||
import banner from '../../shared/banner/index.mjs'
|
||||
import banner from '@repo/banner'
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
||||
|
||||
const ESM = process.env.ESM === 'true'
|
||||
const THEME = process.env.THEME === 'true'
|
||||
|
||||
let destinationFile = `tabler${ESM ? '.esm' : ''}`
|
||||
const external = []
|
||||
const plugins = [
|
||||
babel({
|
||||
@@ -27,9 +27,8 @@ plugins.push(
|
||||
nodeResolve()
|
||||
)
|
||||
|
||||
const destinationFile = `tabler${THEME ? '-theme' : ''}${ESM ? '.esm' : ''}`
|
||||
const rollupConfig = {
|
||||
input: path.resolve(__dirname, `../js/tabler${THEME ? '-theme' : ''}.js`),
|
||||
input: path.resolve(__dirname, `../js/tabler.${ESM ? 'esm' : 'umd'}.js`),
|
||||
output: {
|
||||
banner: banner(),
|
||||
file: path.resolve(__dirname, `../dist/js/${destinationFile}.js`),
|
||||
@@ -41,7 +40,7 @@ const rollupConfig = {
|
||||
}
|
||||
|
||||
if (!ESM) {
|
||||
rollupConfig.output.name = `tabler${THEME ? '-theme' : ''}`
|
||||
rollupConfig.output.name = 'tabler'
|
||||
}
|
||||
|
||||
export default rollupConfig
|
||||
@@ -1,101 +1,5 @@
|
||||
# @tabler/core
|
||||
|
||||
## 1.4.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 9951fe9: Enhance button and hover animations
|
||||
- a200d30: Improve breadcrumb styles
|
||||
- 49ab9ea: Add new Tabler Illustrations
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 6c4dd36: Update class names from `*-left`, `*-right` to `*-start`, `*-end`
|
||||
- 6fec73a: Fix relative line heights in buttons
|
||||
- db6200a: Remove `license_key` option from HugeRTE init object
|
||||
- e96f055: Add different favicon to development environment
|
||||
- 6c38a48: Update Bootstrap to v5.3.7
|
||||
- 2a12f72: Update CSS calculations to use `calc()`
|
||||
- 666a296: Fix list group item hoverable only with `.list-group-hoverable` class
|
||||
- cfd4cb6: Fix `.pagination-link` hover styles to non-active items
|
||||
|
||||
## 1.3.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 446c34e: Fix README file in core package
|
||||
|
||||
## 1.3.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- a7f73d7: Fix README file in core package
|
||||
|
||||
## 1.3.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- a1af801: Add FullCalendar integration
|
||||
- b9d434d: Add new charts to dashboard pages
|
||||
- 79bd867: Add new form layout page
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- cac5d92: Update illustrations to v1.7
|
||||
- f94b153: Add SRI hashes to scripts and styles
|
||||
- c127d65: Fix colour picker preview page not displaying correctly
|
||||
- b6e9b18: Update icons to v3.31.0
|
||||
- 8850f61: Enhance pagination component with new styles
|
||||
- 9910dd0: Add "text features" menu item
|
||||
- 638f36c: Refactor SCSS variable names for shadows
|
||||
- 0d501e9: Correct `aria-label` of app menu link
|
||||
- 3a02ef9: Fix some marketing site rows overflowing on mobile
|
||||
- fd0fd47: Improve card footer layout and enhance entry display format in invoices
|
||||
- 74e5d26: Fix color badge in navbar menu
|
||||
- 72a1d67: Add clipboard functionality to Tabler documentation
|
||||
- bb617b8: Fix colour swatches on small screens
|
||||
- d73d78e: Add missing `tw` entry in `flags.json`
|
||||
- 19a3d20: Delete missing demo RTL style
|
||||
- b5e2f54: Enhance dropdown components for better accessibility
|
||||
- a41c956: Remove unnecessary `!important` from body padding
|
||||
- e675389: Fix missing border-radius to `.card-header-tabs`
|
||||
- 9007e73: Fix FAQ accordion structure
|
||||
|
||||
## 1.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- c59bc9d: Add gradient background utilities
|
||||
- f9e4da2: Add new apps card with brand icons in navbar
|
||||
- 92a3afe: Replaced TinyMCE with HugeRTE to address license violation
|
||||
- 199f39a: Update Bootstrap to version 5.3.5
|
||||
- 9bbcb99: Add theme settings wizard
|
||||
- b17b488: Add steps light colors
|
||||
- 215eaa4: Add Turbo library integration
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- aea3b0a: Rollback accordion component structure
|
||||
- 3fc7b84: Add space between page numbers in pagination
|
||||
- 2f8a372: Add Bootstrap components to Tabler JS
|
||||
- 9fceadd: Fix tooltip colors in vector maps
|
||||
- 44250db: Update avatar size variable to support list size configuration
|
||||
- be1f3d1: Fix broken shape in South Korea flag
|
||||
- c20d076: Refactor `border-radius` in components to use CSS variables
|
||||
- 042e50f: Update disabled color variables in navbars
|
||||
- 473fa38: Apply border radius to `tom-select` on focus
|
||||
- 8646192: Add avatars page with various demos of avatars
|
||||
- 922bb03: Minor spelling and grammar improvements to emails docs
|
||||
- 44250db: Update avatar size variable to support list size configuration
|
||||
- ddcd3a7: Refactor SCSS for alerts and close button styles
|
||||
- e3d68d6: Fix `autosize` and `input mask` plugins to use window scope
|
||||
- 4846828: Fix scrollbar color mixin to use body color variable
|
||||
- 6b6617a: Improve README
|
||||
- 94bea00: Make scrollbar track transparent
|
||||
- e14e492: Fix scrollbar jumps when content is higher than screen
|
||||
- 6d6d1bd: Add responsive font size for form controls on mobile devices
|
||||
- 6c566cf: Add new advanced table example
|
||||
|
||||
## 1.1.1
|
||||
|
||||
### Patch Changes
|
||||
@@ -133,523 +37,3 @@
|
||||
- b28ce9f: Fix vertical alignment in single page and error layouts
|
||||
- 24b944c: Fix `.avatar-upload` double borders
|
||||
- ca4ba14: Fixes navbar styles with new hover effects and color variables
|
||||
|
||||
## 1.0.0 - 2025-01-28
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- c276a8b: Add new `Tag` component
|
||||
- d380224: Add customizable Star Ratings component using `star-rating.js` library
|
||||
- 47cd6c1: Add `flags.html` page with list of all flags
|
||||
- be67ab6: Update CSS class from `text-muted` to `text-secondary` for better Bootstrap compatibility
|
||||
- 080c746: Adding `alerts.html` page with example of alerts.
|
||||
- b381273: Change primary color value to new Tabler branding
|
||||
- 75619dd: Unify dark mode with latest Bootstrap API and improve dark mode elements
|
||||
- cc82dbf: New Chat component
|
||||
- 5a03643: Adjusting form element sizes for enhanced mobile devices compatibility
|
||||
- be14607: Add new color picker component using `coloris.js` library
|
||||
- d046570: Update Tabler Icons to version 2.23 with 18 new icons added
|
||||
- 5488c50: New page with payment providers: `payment-providers.html`
|
||||
- 5488c50: Add support for new payment providers: 2c2p, Adyen, Affirm, Alipay Plus, Allegro Pay, Amazon Pay, Apple Pay, Autopay, Binance USD, Bkash, Cash App, Chime, EasyPaisa, Ethereum, Google Pay, HubSpot, iDeal, Litecoin, Mercado Pago, MetaMask, MoneyGram, OpenSea, Payconiq, Payka, Payline, PayPo, Paysafe, Poli,
|
||||
Revolut Pay, Samsung Pay, Shop Pay, Solana, Spingo, Stax, Tether, True USD, Venmo, WeChat Pay, Wise, Zelle
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 293d0a4: Change Twitter to X brand
|
||||
- fd0935a: Updated link to icons documentation
|
||||
- 1cf27dc: Dependencies update
|
||||
- 041f4e4: Order menu items alphabetically
|
||||
- 20cad01: Automatically retrieve and display the changelog from the CHANGELOG.md file.
|
||||
- 34f3efc: Initialize Visual Studio Code config
|
||||
- 7ba7717: Make horizontal rule direction aware
|
||||
- 063ef58: Update Tabler Illustrations to v1.5
|
||||
- 5e2c975: Update Tabler Icons to v3.29.0
|
||||
- 9d5f7ca: Remove unused dependencies from `package.json`
|
||||
- be69fd6: Replace Jekyll with Eleventy
|
||||
- 2f5fad6: Dependencies update
|
||||
- dfd7c88: Update TinyMCE to v7.0
|
||||
- 056df18: Fix text color in dark version of navbar
|
||||
- 17327dc: Remove invalid `z-index` setting for dropdowns
|
||||
- 4ff077a: Update Tabler Icons to version 2.21 with 18 new icons added
|
||||
- 867c8dd: Update Tabler Emails to v2.0
|
||||
- d8605f2: Init changelog script
|
||||
- 89c6234: Adding Two-Step Verification Pages
|
||||
- f6e885b: Replace `.page-center` with `.my-auto` in single page layouts
|
||||
- 7aa216f: Add border-opacity variable for improved color utility
|
||||
- 88eb413: Fix icon display issues in the Star Ratings component
|
||||
- 78392b6: Fix `color` of disabled `dropdown-item` in Navbar component
|
||||
- 4deb8f4: Bump pnpm/action-setup from 2 to 3
|
||||
- 9015472: Add social icons plugin
|
||||
- 7fe30a1: `Dockerfile` fix
|
||||
- e53942f: Update Jekyll to version 4.3.4
|
||||
- 72f868b: Update Tabler Icons to version 2.20 with 37 new icons added
|
||||
- e0443c0: Add Tabler Illustrations
|
||||
- 5cca710: Update illustrations and enhance SVG handling in HTML
|
||||
- 3a4f10f: Fix ids of custom size star ratings
|
||||
- 7896562: Unify size of avatar, flag and payment components
|
||||
- 1587905: Update icons to v2.42.0
|
||||
- d9e00b2: Update Bootstrap to v5.3.0
|
||||
- bc1d1a3: Set `font-size` of an `i` element with `icon` class in a `button` element
|
||||
- 0195f9b: Dependencies update
|
||||
- a5bf5d3: Fix icons in `form-elements.html`
|
||||
- 736410c: Update Tabler Icons to v3.28.1
|
||||
- 3f516ea: Fix `rgba` color values in `_variables.scss`
|
||||
- e91884e: Fix description of alerts with a description
|
||||
- 90cc744: Fix colors of disabled `.ts-control`
|
||||
- 1801e41: Center content on error and single page layouts
|
||||
- 45c83ac: Resolve map page issues
|
||||
- faee63c: Improve base font family loading
|
||||
- 5e7e0dd: Introduce Docker Compose Config to build and run Ttabler locally
|
||||
- c293a66: Fix `@charset` CSS declaration in bundle.
|
||||
- cb4a681: Update `_navbar.scss` with disabled dropdown menu items color
|
||||
- af41fb3: Update Tabler Icons to v3.17.0
|
||||
- 6cbe888: Update `@tabler/icons` to v3.0
|
||||
- 0e4bf5f: Refactor data structure by converting YAML files to JSON
|
||||
- 82cf257: Increase `z-index` of `ts-dropdown` to prevent overlapping by buttons
|
||||
- 4b4b4f6: Adding punctuation to `SECURITY.md`
|
||||
- a0a2d52: Fix form controls bugs in dark mode
|
||||
- f45b697: Fix padding in code blocks
|
||||
- 4de166d: Unified Box Shadows with Bootstrap Compatibility
|
||||
- 87bf2f5: Remove duplicated setting of color in `th` element
|
||||
- 5dc45aa: Fix layout of search results for small and medium screens
|
||||
- 4ae0358: Remove `text-decoration` on hovering `a` element with class having `icon` class
|
||||
- e798eb6: Fix small typo in tables docs
|
||||
- 1c1d0c9: Improve documentation for alerts
|
||||
- 371ef84: Bump `pnpm/action-setup` from 3 to 4
|
||||
- 8421fc2: Update dependencies
|
||||
- 0625f5f: Update Tabler Icons to version 2.22 with 18 new icons added
|
||||
- ba65fc3: Update devDependencies
|
||||
- a43ded4: Add All Contributions package to project for easy contribution tracking
|
||||
- 2f622c9: Set value of `$font-family-monospace` as default
|
||||
- 2c7c448: Refactor Dockerfile and package.json
|
||||
- 5ec7f05: Resolved light dropdown issue on dark theme
|
||||
- b0b07b9: Enhance documentation
|
||||
- 0f129b1: Update Tabler Icons to version 2.19 with 18 new icons added
|
||||
- 507df7b: Fix cells with inline icons
|
||||
- 0e5b44a: Fix `color` of disabled `nav-link` in `nav-bordered`
|
||||
- 65c1300: Fix the `z-index` value of the `nav-tab` inside `card-tab` #1933
|
||||
- 8552a46: Switch from `npm` to `pnpm` for faster package installation
|
||||
- 4a9e40d: Increase contrast of active `dropdown-item` in vertical layout
|
||||
- 17ebdf4: Update documentation for Tabler components
|
||||
- 4c88481: Add variable to configure `avatar-list` spacing
|
||||
- df46ee7: Do not display empty `fieldset` element
|
||||
- 875cafa: Refactor SCSS variables to use `color.adjust` for improved color manipulation
|
||||
- eb28546: Add Tabler Illustrations
|
||||
- 650d84c: Update required Node.js version to 18 and add `.nvmrc` file
|
||||
- fb659d4: Fix table default background color
|
||||
- f77c712: Avoid SCSS color dependency on `:focus`
|
||||
- 71c68ce: Update changelog configuration and release scripts
|
||||
- 34d124d: Update Tabler Icons to v3.26.0
|
||||
- 4cd9215: Updated Tabler Icons to v3.24.0
|
||||
- 7bb947b: Update Tabler Icons to version 2.18 with 18 new icons added
|
||||
- c75cf55: Update Node.js engine requirement to allow versions >=20
|
||||
- 1c34e8e: Update Tabler Icons to v3.14.0
|
||||
- 289dd3b: Add Prettier to project for consistent code formatting
|
||||
- f83e36c: Upgrade Node.js from version 18 to version 20 for improved performance, security, and feature updates.
|
||||
- b885852: Update Tabler Icons to version 2.25 with 48 new icons added
|
||||
- 53a5117: Fix responsiveness issue in Settings menu
|
||||
- 38504e5: Added 3 new payments from Nepal: Esewa, FonePay, Khalti and Imepay
|
||||
- 35ee14d: Add new Filled section to Icons page
|
||||
- d32f242: Update `bootstrap` to v5.3.1
|
||||
- d82f94e: Update package dependencies to latest versions
|
||||
- 54c5ad0: Fix link to webfont version of Tabler Icons
|
||||
- 94b83d4: Add support for changeset tool for more efficient and organized code changes
|
||||
- c51ff28: Fix colors in date range datepicker
|
||||
|
||||
## `1.0.0-beta24` - 2025-01-11
|
||||
|
||||
- Enhanced documentation.
|
||||
- Updated illustrations and improved SVG handling in HTML.
|
||||
- Updated copyright year in LICENSE file to 2025.
|
||||
- Added marketing pages plugin.
|
||||
|
||||
## `1.0.0-beta23` - 2025-01-07
|
||||
|
||||
- Documentation improvements.
|
||||
- Added countup functionality and updated documentation example.
|
||||
- Do not display empty `<fieldset>`.
|
||||
- Set font-size of webfont icon inside a button.
|
||||
- Ordered menu items alphabetically.
|
||||
- Marked value of `$font-family-monospace` as `!default`.
|
||||
- Fixed unpkg links to static-files icons.
|
||||
- Fixed description of alerts with a description.
|
||||
- Fixed layout of search results for small and medium screens.
|
||||
- Removed invalid z-index setting for dropdown.
|
||||
- Fixed IDs of custom size star ratings.
|
||||
- Removed text-decoration on hover for elements with child icons.
|
||||
- Fixed link to webfont icons.
|
||||
- Updated color reference links in UI component documentation.
|
||||
- Fixed typo in browser support documentation summary.
|
||||
- Enhanced Figma plugin documentation with detailed usage instructions.
|
||||
- Added documentation for Tabler Illustrations and updated index with a link.
|
||||
- Enhanced documentation for various UI and icon sections.
|
||||
- Added new documentation files for icons and UI components; restructured existing files.
|
||||
- Updated documentation structure and content for icons and UI components.
|
||||
- Removed outdated `menu.json` and added `index.mdx` files for UI documentation structure.
|
||||
- General docs update.
|
||||
- Increased contrast of active dropdown-item in vertical layout.
|
||||
- Removed duplicated color setting in table headers.
|
||||
- Increased `z-index` of `ts-dropdown`.
|
||||
- Added social icons plugin.
|
||||
- Described variables for datagrid in docs.
|
||||
- Fixed multiple documentation issues.
|
||||
- Removed unused config from the code.
|
||||
- Fixed links to Tabler Icons.
|
||||
- Updated dark image.
|
||||
- Updated screenshot.
|
||||
- Fixed icon issues.
|
||||
- Fixed URL in documentation.
|
||||
|
||||
## `1.0.0-beta22` - 2025-01-02
|
||||
|
||||
- Fixed `@charset` CSS declaration in bundle.
|
||||
- Fixed cells with inline icons.
|
||||
- Fixed padding in code blocks.
|
||||
- Fixed colors in date range datepicker.
|
||||
- Fixed icon display issues in the Star Ratings component.
|
||||
- Fixed `z-index` value of the `nav-tab` inside `card-tab`.
|
||||
- Fixed wrong gray colors.
|
||||
- Fixed incorrect CDN URL in `webfont.mdx`.
|
||||
- Ensured border color works in dark mode.
|
||||
- Replaced `.page-center` with `.my-auto` in single-page layouts.
|
||||
- Updated Tabler Emails to v2.0.
|
||||
- Updated Tabler Icons to v3.26.0.
|
||||
- Updated docs structure.
|
||||
- Updated `download.mdx`.
|
||||
- Updated Node.js to version 20.
|
||||
- Improved base font family.
|
||||
- Made horizontal rule direction-aware.
|
||||
- Added new payment providers.
|
||||
- Read changelog from `CHANGELOG.md` file.
|
||||
- Initialized VS Code configuration.
|
||||
|
||||
## `1.0.0-beta21` - 2024-09-8
|
||||
|
||||
- Updated dependencies.
|
||||
- Updated Tabler Icons to v3.14.0 and the import script.
|
||||
- Fixed invisible scrollbar in dark mode when navigating the preview.
|
||||
- Styled `btn-close` specifically for `.modal-header`.
|
||||
- Added proper borders to the ribbon start class.
|
||||
- Changed brand color.
|
||||
- Included `docs` in the `npm` package.
|
||||
- Added Tabler Illustrations.
|
||||
- Fixed use of the secondary color in specific form elements.
|
||||
- Introduced Docker Compose Config for local Tabler builds.
|
||||
- Allowed usage of `tinymce` v7.x as a peer dependency.
|
||||
- Updated TinyMCE to v7.0.
|
||||
- Rebranded Twitter to X.
|
||||
- Replaced undraw illustrations with Tabler Illustrations.
|
||||
- Added punctuation to `SECURITY.md`.
|
||||
- Updated `_navbar.scss` to correct disabled dropdown menu item colors.
|
||||
- Removed unused packages.
|
||||
- Fixed map pages.
|
||||
- Resolved issues with toasts in dark mode.
|
||||
- Fixed alert background prefix.
|
||||
- Corrected a typo in CHANGELOG.md.
|
||||
- Fixed radial chart issue.
|
||||
- Added documentation on running the site locally in Site README.
|
||||
- Updated colors in `colors.mdx`.
|
||||
- Fixed dynamic SCSS prefix in mixins.
|
||||
- Changed `<h1>` to `<div>` in `navbar-logo.html`.
|
||||
- Resolved vertical centering on error pages.
|
||||
- Fixed navbar menu issues.
|
||||
- Added `background-clip: border-box` to `.dropdown-menu` class.
|
||||
- Replaced `href="#"` with `href="javascript:void(0)"`.
|
||||
- Fixed disabled CSS class for links.
|
||||
- Addressed missing variables and minor color adjustments.
|
||||
- Improved heights, scrolls, and layouts in Docs examples.
|
||||
- Fixed flags display in preview.
|
||||
|
||||
## `1.0.0-beta20` - 2023-08-24
|
||||
|
||||
- Update `bootstrap` to v5.3.1
|
||||
- Add new `Chat` component
|
||||
- Add new `Tag` component
|
||||
- Add customizable Star Ratings component using `star-rating.js` library
|
||||
- Add new color picker component using `coloris.js` library
|
||||
- Add `alerts.html` page with example of alerts.
|
||||
- Add `flags.html` page with list of all flags
|
||||
- Add Two-Step Verification Pages
|
||||
- Add variable to configure `avatar-list` spacing
|
||||
- Unify dark mode with latest Bootstrap API and improve dark mode elements
|
||||
- Unify Box Shadows with Bootstrap Compatibility
|
||||
- Avoid SCSS color dependency on `:focus`
|
||||
- Update CSS class from `text-muted` to `text-secondary` for better Bootstrap compatibility
|
||||
- Fix text color in dark version of navbar
|
||||
- Adjusting form element sizes for enhanced mobile devices compatibility
|
||||
- Resolved light dropdown issue on dark theme
|
||||
- Update Tabler Icons to version 2.32 with 48 new icons added
|
||||
- Fix table default background color
|
||||
- Fix responsiveness issue in Settings menu
|
||||
- Update required Node.js version to 18 and add `.nvmrc` file
|
||||
- Add support for changeset tool for more efficient and organized code changes
|
||||
- `Dockerfile` fix
|
||||
- Switch from `npm` to `pnpm` for faster package installation
|
||||
|
||||
## `1.0.0-beta19` - 2023-05-15
|
||||
|
||||
- Add customizable Star Ratings component using `star-rating.js` library (#1571)
|
||||
- Add new "Filled" section to Icons page (#1574)
|
||||
- Fix form controls bugs in dark mode (#1573)
|
||||
- Fix text color in dark version of navbar (#1569)
|
||||
- Changelog update
|
||||
|
||||
## `1.0.0-beta18` - 2023-05-14
|
||||
|
||||
- new page: Cookie banner
|
||||
- Unify dark mode with latest Bootstrap API and improve dark mode elements (#1561)
|
||||
- Update Tabler Icons to version 2.18 with 18 new icons added (#1560)
|
||||
- Switch from `npm` to `pnpm` for faster package installation (#1559)
|
||||
- Add Prettier to project for consistent code formatting (#1558)
|
||||
- Update required Node.js version to 18 and add `.nvmrc` file (#1555)
|
||||
- Add All Contributions package to project for easy contribution tracking (#1556)
|
||||
- Add support for changeset tool for more efficient and organized code changes (#1553)
|
||||
- Fix bug where `border-1`, `border-2`, etc don't work (#1526)
|
||||
- Fix indeterminate input background color (#1536)
|
||||
- Update Bootstrap to `5.3.0-alpha3` (#1543)
|
||||
- `tom-select` dark mode styling fixes
|
||||
- Advanced udage of `tom-select` (#1480)
|
||||
- Fix Dropdown menu in rtl mode (#801)
|
||||
- Fix `tom-select` dropdown will be shaded in table-responsive (#1409)
|
||||
- Remove overflow scroll from body
|
||||
- Fix avatars overlap transparently (#1464)
|
||||
- Fix TinyMCE dropdown icon list transparent (#1426)
|
||||
- Dark mode lite colors improvement
|
||||
- Fix non full width selects (#1392)
|
||||
|
||||
## `1.0.0-beta17` - 2023-01-28
|
||||
|
||||
- update `bootstrap` to v5.3.0
|
||||
- update icons to v2.1.2
|
||||
- add 72 new brands, browsers logos update
|
||||
- new `Trial ended` page
|
||||
- new `Page loader` page
|
||||
- new `Profile` page
|
||||
- headings fix
|
||||
- dropdown background color fix
|
||||
- fix rgba conversion bug
|
||||
- fix autofill text color, not matching in dark mode
|
||||
- update license
|
||||
- header html5 tags
|
||||
- add input with appended `<kbd>`
|
||||
- `bootstrap` import fix
|
||||
- font improvements
|
||||
- change `$body-color` to CSS variable
|
||||
- scrollbars improvements
|
||||
- move `@tabler/icons` to `dev-dependencies`
|
||||
- fix #1370: avatar stacked list is not stacked anymore
|
||||
|
||||
## `1.0.0-beta16` - 2022-11-12
|
||||
|
||||
- new `Photogrid` page
|
||||
- `Steps` component improvements
|
||||
- fix #1348: Make job listing responsive for smaller devices
|
||||
- fix #1357: buttons group not active
|
||||
- fix #1352: fix deprecation warning
|
||||
- fix #1180: number input with `form-control-sm` looks weird
|
||||
- fix #1328: color input should show different color for inner check symbol on white ellipse
|
||||
- fix #1355 - missing font sizes
|
||||
- update icons to v1.111.0
|
||||
- homepage navbar fix
|
||||
- fix #1262 - `.bg-opacity-xx` class is not functioning properly
|
||||
|
||||
## `1.0.0-beta15` - 2022-11-01
|
||||
|
||||
- new `badges` page
|
||||
- `<kbd>` styling
|
||||
- update icons to v1.109.0
|
||||
- `tom-select` border fix
|
||||
- exclude `playgrounds` from build
|
||||
- update jekyll to v4.3.1
|
||||
- fix: facebook color update
|
||||
- navbar aria atributes fixes
|
||||
- fix #808 - `navbar-menu` and `sidebar-menu` has the same `id`
|
||||
- fix #1335 - missing color variables usage in `alert` and `btn-ghost-*`
|
||||
- move border style to CSS variables
|
||||
- add missing forms
|
||||
- `btn-actions` fixes
|
||||
- replace `$text-muted` to css variable
|
||||
|
||||
## `1.0.0-beta14` - 2022-10-21
|
||||
|
||||
- fix active items in dark mode
|
||||
- update Jekyll to newest version
|
||||
|
||||
## `1.0.0-beta13` - 2022-10-18
|
||||
|
||||
- update Bootstrap to 5.2.1, update dependencies
|
||||
- new `tracking` component
|
||||
- new radio button version of `form-imagecheck`
|
||||
- update icons to v1.105.0
|
||||
- dark mode improvements
|
||||
- corrects the spelling of New Zealand (#1318)
|
||||
- remove `$border-color-dark`
|
||||
- fix #1301 - code snippets in docs look bad in dark mode
|
||||
- fix #1305 - different default link color for dark mode
|
||||
- fix popover background in dark mode
|
||||
- fix button default border color
|
||||
- fix `form-imagecheck` bg in dark mode
|
||||
- navbar logo fix
|
||||
- move card ribbons config to variables
|
||||
- navbar border fix
|
||||
- dark mode active fix
|
||||
- using globalThis instead of window (#1315)
|
||||
- fix #1210 - lastmod not generated for pages in `sitemap.xml`
|
||||
- fix card border in dark mode
|
||||
- fix #895 - background color overwrites background image
|
||||
- fix #1302 - wrong card header in dark mode
|
||||
- fix #1303 - wrong color when hovering over `selectgroup` in dark mode
|
||||
- fix #1308 - bad coloring in table in dark mode
|
||||
- fix #1273 - datepicker background color broken
|
||||
- fix `$prefix` hard coded `layout/_dark.scss`
|
||||
- fix #1275 - remove last border-right on progress bar
|
||||
- fix #1261 - broken offcanvas bg
|
||||
|
||||
## `1.0.0-beta12` - 2022-09-19
|
||||
|
||||
- new "Job listing" page
|
||||
- new "Sign in with cover" page
|
||||
- new "Logs" page
|
||||
- new `progressbg` component
|
||||
- add a lot of CSS variables
|
||||
- add Dockerfile with alpine base
|
||||
- add icon pulse/tada/rotate animations
|
||||
- use `:host` in selectors to support Web Components
|
||||
- use dark table variant colors in dark mode (#1200)
|
||||
- update Tabler Icons to v1.96
|
||||
- change `space-y` component
|
||||
- headings, shadows and borders unify
|
||||
- toggle TinyMCE dark mode and skin based on the set Tabler theme
|
||||
- fix `card-footer` background
|
||||
- fix headers weight
|
||||
- fix transparent hover background in pagination
|
||||
- fix dark mode card text color
|
||||
- fix `--#{$prefix}card-bg` is undefined
|
||||
- fix global variable for `.card` and `.btn`
|
||||
- fix code sample in the customize tabler docs
|
||||
- fix form elements demo page radio buttons
|
||||
- replace `gulp-minify` with `gulp-terser`
|
||||
|
||||
## `1.0.0-beta11` - 2022-07-05
|
||||
|
||||
- new `Dropzone` component
|
||||
- new `Lightbox` component
|
||||
- new `TinyMCS` component
|
||||
- new `Inline Player` component
|
||||
- new `Pricing table` component
|
||||
- new `Datagrid` component
|
||||
- new optgroup form examples
|
||||
- new settings page
|
||||
- update Tabler Icons to v1.78
|
||||
- added popover docs page
|
||||
- fix: #1125 incorrect chart display in the mobile version
|
||||
- update Bootstrap to 5.2.0
|
||||
|
||||
## `1.0.0-beta10` - 2022-04-29
|
||||
|
||||
- new `datatable` component
|
||||
- update Tabler Icons to v1.67
|
||||
- fix: #1024 - fix Tom-select in dark mode
|
||||
- new carousel indicators: dots, vertical, thumbs (#1101)
|
||||
- replace !important modifier with more specific selectors (#1100)
|
||||
- new `FAQ` page
|
||||
|
||||
## `1.0.0-beta9` - 2022-02-26
|
||||
|
||||
- fix: #1061 - list group item colors in light and dark modes
|
||||
- new `tasks` dashboard
|
||||
- fix: #1059 - upload button in form element in dark view has problem
|
||||
- fix: #1052 - card background icon is practically invisible
|
||||
- remove Inter font and use default font system stack
|
||||
- fix: #1018 - vector map not working
|
||||
- fix: #1035 - wrong background color of hovered list group items in dark mode
|
||||
- dependencies update
|
||||
- add `font-display: swap;` to improve font loading
|
||||
- new `Boxed` layout
|
||||
|
||||
## `1.0.0-beta8` - 2022-02-05
|
||||
|
||||
- update dependencies
|
||||
- new vector maps demos
|
||||
- fixes update map on resize
|
||||
- docs improvement
|
||||
- replace `badge` with `status-dot` in `navbar-notifications.html`
|
||||
- map tooltip fixes
|
||||
|
||||
## `1.0.0-beta7` - 2022-02-05
|
||||
|
||||
- fix: #1019 - project-overview.html link not working
|
||||
- fix: #1010 - card with bottom tabs has incorrect border radius
|
||||
- uptime monitor mobile fixes
|
||||
- navbar dark button fix
|
||||
- `tabler-icons` link
|
||||
- autoloading webfonts
|
||||
- cards fixes, new cards demos
|
||||
- ruby dependencies update
|
||||
- RTL stylesheet fixes
|
||||
- new card action demos
|
||||
|
||||
## `1.0.0-beta6` - 2022-01-18
|
||||
|
||||
- pricing cards fix
|
||||
- fix bug `fw-...`, `.fs-...` is missed (#987)
|
||||
- avatar class fix
|
||||
- fix bug #903 `litepicker` with date range not having correct border
|
||||
- page wrapper fix
|
||||
- fix #900 `is-invalid-lite` class is not working under `was-validated` form class
|
||||
- update `@tabler/icons` to version 1.48
|
||||
- fix #960 - Badges not honoring font sizes
|
||||
- fix #959 - `node-sass` does not properly compile nested media queries
|
||||
- update package dependencies to newest version
|
||||
|
||||
## `1.0.0-beta5` - 2021-12-07
|
||||
|
||||
**Tabler has finally lived to see dark mode! 🌝🌚**
|
||||
|
||||
- **Dark mode enabled!**
|
||||
- add more cursors (#947)
|
||||
- fix #892 - media queries need to be nested when negating
|
||||
- update `@tabler/icons` to newest version
|
||||
- move optional dependencies to peerDependencies (#924)
|
||||
- move deployment to Github Actions (#934)
|
||||
- table border fixes
|
||||
- antialiased fix
|
||||
- update `@tabler/icons` to version 1.42
|
||||
- change default font to 'Inter'
|
||||
- colors unify
|
||||
- add `tom-select` and remove `choices.js`
|
||||
|
||||
## `1.0.0-beta4` - 2021-10-24
|
||||
|
||||
- upgrade required node.js version to 14
|
||||
- upgrade Bootstrap to 5.1
|
||||
- upgrade dependencies
|
||||
- fix #775 - litepicker not initializing
|
||||
- fix `nouislider` import in dev
|
||||
|
||||
## `1.0.0-beta3` - 2021-05-08
|
||||
|
||||
- upgrade Bootstrap to 5.0
|
||||
- upgrade dependencies
|
||||
- change `$border-radius-pill` variable
|
||||
- badge vertical align fix
|
||||
|
||||
## `1.0.0-beta2` - 2021-03-29
|
||||
|
||||
- update dependencies
|
||||
- `li` marker fix
|
||||
- page wrapper, nav fixes
|
||||
- scripts optimize, remove `capture_once`
|
||||
- `page-body` fixes
|
||||
- layout navbar fix
|
||||
- typography fix
|
||||
- ribbon fix
|
||||
- charts label fixes
|
||||
- charts docs
|
||||
|
||||
## `1.0.0-beta` - 2021-02-17
|
||||
|
||||
**Initial beta release of Tabler v1.0! Lots more coming soon though 😁**
|
||||
|
||||
- update Bootstrap to 5.0.0-beta2
|
||||
- update other dependencies.
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
# Tabler Core
|
||||
|
||||
Tabler Core is a set of components and utilities for building web applications. It provides a collection of pre-designed components, such as buttons, forms, modals, and more, that can be easily customized and integrated into your projects.
|
||||
|
||||
## 🔎 Preview
|
||||
|
||||
Tabler is fully responsive and compatible with all modern browsers. Thanks to its modern and user-friendly design you can create a fully functional interface that users will love! Choose the layouts and components you need and customize them to make your design consistent and eye-catching. Every component has been created with attention to detail to make your interface beautiful!
|
||||
|
||||
<p align="center">
|
||||
<a href="https://preview.tabler.io" target="_blank">
|
||||
<img src="https://raw.githubusercontent.com/tabler/tabler/dev/shared/static/tabler-preview.png" alt="Tabler Preview">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
## Installation
|
||||
|
||||
To install Tabler Core, you can use npm or yarn. Run one of the following commands in your terminal:
|
||||
|
||||
```bash
|
||||
npm install @tabler/core
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```bash
|
||||
pnpm add @tabler/core
|
||||
```
|
||||
|
||||
## Sponsors
|
||||
|
||||
**If you want to support our project and help us grow it, you can [become a sponsor on GitHub](https://github.com/sponsors/codecalm) or just [donate on PayPal](https://paypal.me/codecalm) :)**
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/sponsors/codecalm">
|
||||
<img src="https://cdn.jsdelivr.net/gh/tabler/sponsors@latest/sponsors.svg" alt="Tabler sponsors">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
|
||||
## License
|
||||
|
||||
See the [LICENSE](https://github.com/tabler/tabler/blob/master/LICENSE) file.
|
||||
@@ -43,9 +43,9 @@ tabler-emails/
|
||||
The **Tabler Emails** package is organized into a clear and efficient folder structure to streamline the use of its assets. Below is a breakdown of its key directories:
|
||||
|
||||
### 1. Email Templates: `emails/`
|
||||
This folder contains {{ emailsCount }} email subfolders, each with a specific template. Each email folder contains the following files:
|
||||
* Compiled HTML files for light and dark themes. Read more about their usage in the [Compiled HTML](/emails/introduction/compiled-html) section.
|
||||
* Source HTML files for light and dark themes. Find more information in the [Source HTML](/emails/introduction/source-html) section.
|
||||
This folder contains <EmailsCount /> email subfolders, each with a specific template. Each email folder contains the following files:
|
||||
* Compiled HTML files for light and dark themes. Read more about their usage in the [Compiled HTML](/docs/emails/compiled-html) section.
|
||||
* Source HTML files for light and dark themes. Find more information in the [Source HTML](/docs/emails/source-html) section.
|
||||
* Screenshot images for desktop and mobile views.
|
||||
* Assets folder with images used in the email template and the CSS file with styles.
|
||||
|
||||
@@ -60,6 +60,4 @@ It contains 4 subfolders with images used across the different email templates:
|
||||
This file contains the license information for the Tabler Emails package.
|
||||
|
||||
### 4. Readme: `readme.html`
|
||||
This file contains the main information about the Tabler Emails package, including a brief description and instructions on how to use it.
|
||||
|
||||
Do you like our templates? **Find out more and purchase on [our website]({{ site.homepage }}/emails)**.
|
||||
This file with the main information about the Tabler Emails package. It contains a brief description of the package and instructions on how to use it.
|
||||
@@ -7,7 +7,7 @@ description: Over 5000 pixel-perfect icons for web design and development
|
||||
|
||||
## Browse icons
|
||||
|
||||
Tabler Icons is a comprehensive icon library that features {{ iconsCount }} high-quality icons. These icons are designed with a clean and modern aesthetic, making them suitable for a wide range of applications.
|
||||
Tabler Icons is a comprehensive icon library that features over <IconsCount rounded /> high-quality icons. These icons are designed with a clean and modern aesthetic, making them suitable for a wide range of applications.
|
||||
|
||||
To use Tabler Icons, you can visit their website at https://tabler-icons.io. From there, you can browse the full collection of icons by category or search for a specific icon using the search bar. Once you have found an icon you like, you can download it in various file formats, including SVG, PNG, and Icon Font.
|
||||
|
||||
@@ -4,11 +4,11 @@ description: Tabler Icons library for Preact framework.
|
||||
summary: Tabler Icons for Preact provides an optimized collection of icons specifically designed for use with Preact. These lightweight and scalable icons are easy to integrate into Preact-based projects.
|
||||
---
|
||||
|
||||

|
||||

|
||||
|
||||
## Installation
|
||||
|
||||
{% include "docs/tabs-package.html" name="@tabler/icons-preact" %}
|
||||
<TabsPackage name="@tabler/icons-preact" />
|
||||
|
||||
or just [download from Github](https://github.com/tabler/tabler-icons/releases).
|
||||
|
||||
@@ -4,11 +4,11 @@ description: Tabler Icons library for React framework.
|
||||
summary: Tabler Icons for React offers a robust set of icons tailored for React applications, providing developers with a seamless way to enhance their user interfaces with high-quality, scalable graphics.
|
||||
---
|
||||
|
||||

|
||||

|
||||
|
||||
## Installation
|
||||
|
||||
{% include "docs/tabs-package.html" name="@tabler/icons-react" %}
|
||||
<TabsPackage name="@tabler/icons-react" />
|
||||
|
||||
or just [download from Github](https://github.com/tabler/tabler-icons/releases).
|
||||
|
||||
@@ -4,12 +4,12 @@ description: Tabler Icons library for SolidJS framework.
|
||||
summary: Tabler Icons for SolidJS is a lightweight library offering a vast selection of high-quality icons. It is designed for seamless integration with SolidJS, enabling developers to build visually appealing interfaces.
|
||||
---
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
{% include "docs/tabs-package.html" name="@tabler/icons-solidjs" %}
|
||||
<TabsPackage name="@tabler/icons-solidjs" />
|
||||
|
||||
or just [download from Github](https://github.com/tabler/tabler-icons/releases).
|
||||
|
||||
@@ -4,12 +4,12 @@ description: Tabler Icons library for Svelte framework.
|
||||
summary: Tabler Icons for Svelte provides a clean and efficient way to use Tabler's comprehensive icon set in Svelte applications, helping developers deliver polished, user-friendly designs.
|
||||
---
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
{% include "docs/tabs-package.html" name="@tabler/icons-svelte" %}
|
||||
<TabsPackage name="@tabler/icons-svelte" />
|
||||
|
||||
or just [download from Github](https://github.com/tabler/tabler-icons/releases).
|
||||
|
||||
@@ -17,7 +17,7 @@ or just [download from Github](https://github.com/tabler/tabler-icons/releases).
|
||||
|
||||
It's built with ESmodules so it's completely tree-shakable. Each icon can be imported as a component.
|
||||
|
||||
```html
|
||||
```sveltehtml
|
||||
<script lang="ts">
|
||||
import { IconHeart } from '@tabler/icons-svelte';
|
||||
</script>
|
||||
@@ -29,7 +29,7 @@ import { IconHeart } from '@tabler/icons-svelte';
|
||||
|
||||
You can pass additional props to adjust the icon.
|
||||
|
||||
```html
|
||||
```sveltehtml
|
||||
<IconHeart size={48} stroke={1} />
|
||||
```
|
||||
|
||||
@@ -4,12 +4,12 @@ description: Tabler Icons library for Vue framework.
|
||||
summary: Tabler Icons for Vue offers a collection of customizable and scalable icons designed for use in Vue applications, providing a powerful tool for creating modern and engaging interfaces.
|
||||
---
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
{% include "docs/tabs-package.html" name="@tabler/icons-vue" %}
|
||||
<TabsPackage name="@tabler/icons-vue" />
|
||||
|
||||
or just [download from Github](https://github.com/tabler/tabler-icons/releases).
|
||||
|
||||
@@ -4,12 +4,26 @@ description: Tabler Icons as a webfont.
|
||||
summary: Tabler Icons as a webfont allows you to easily include icons in your projects using simple CSS classes, offering a lightweight and scalable solution for web development.
|
||||
---
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
{% include "docs/tabs-package.html" name="@tabler/icons-webfont" %}
|
||||
```
|
||||
yarn add @tabler/icons-webfont
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```
|
||||
npm install @tabler/icons-webfont
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```
|
||||
pnpm install @tabler/icons-webfont
|
||||
```
|
||||
|
||||
or just [download from Github](https://github.com/tabler/tabler-icons/releases).
|
||||
|
||||
@@ -4,7 +4,7 @@ description: Use Tabler Icons directly in Figma.
|
||||
summary: The Tabler Figma plugin allows designers to seamlessly integrate Tabler Icons into their Figma projects, providing quick access to a vast library of customizable icons that enhance the design workflow.
|
||||
---
|
||||
|
||||

|
||||

|
||||
|
||||
The Tabler Icons Figma plugin is an essential tool for designers looking to enhance their workflow. It provides seamless access to a comprehensive library of high-quality, customizable icons directly within Figma. Whether you're designing dashboards, websites, or mobile apps, this plugin allows you to quickly search, preview, and integrate Tabler Icons into your projects, saving time and ensuring a consistent, modern aesthetic.
|
||||
|
||||
@@ -12,4 +12,4 @@ The Tabler Icons Figma plugin is an essential tool for designers looking to enha
|
||||
|
||||
Using the plugin is simple: install it from the Figma community, launch it within your design file, and search for the desired icon by keyword. Once you’ve found the perfect icon, click to insert it into your design. You can easily customize the icon’s size, color, and stroke weight to fit your specific needs, making it a versatile addition to your design toolkit.
|
||||
|
||||
{% include "docs/download-button.html" href="https://www.figma.com/community/plugin/1169807996149376642/Tabler-Icons" title="Download Plugin" %}
|
||||
<BlogButton href="https://www.figma.com/community/plugin/1169807996149376642/Tabler-Icons">Download Plugin</BlogButton>
|
||||
@@ -3,12 +3,12 @@ title: EPS version
|
||||
description: Download Tabler Icons in EPS format.
|
||||
---
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
{% include "docs/tabs-package.html" name="@tabler/icons-eps" %}
|
||||
<TabsPackage name="@tabler/icons-eps" />
|
||||
|
||||
or just [download from Github](https://github.com/tabler/tabler-icons/releases).
|
||||
|
||||
@@ -3,12 +3,12 @@ title: PDF version
|
||||
description: Download Tabler Icons in PDF format.
|
||||
---
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
{% include "docs/tabs-package.html" name="@tabler/icons-pdf" %}
|
||||
<TabsPackage name="@tabler/icons-pdf" />
|
||||
|
||||
or just [download from Github](https://github.com/tabler/tabler-icons/releases).
|
||||
|
||||
@@ -3,12 +3,12 @@ title: PNG version
|
||||
description: Download Tabler Icons in PNG format.
|
||||
---
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
{% include "docs/tabs-package.html" name="@tabler/icons-png" %}
|
||||
<TabsPackage name="@tabler/icons-png" />
|
||||
|
||||
or just [download from Github](https://github.com/tabler/tabler-icons/releases).
|
||||
|
||||
@@ -3,11 +3,11 @@ title: SVG version
|
||||
description: Download Tabler Icons in SVG format.
|
||||
---
|
||||
|
||||

|
||||

|
||||
|
||||
## Installation
|
||||
|
||||
{% include "docs/tabs-package.html" name="@tabler/icons" %}
|
||||
<TabsPackage name="@tabler/icons" />
|
||||
|
||||
or just [download from Github](https://github.com/tabler/tabler-icons/releases).
|
||||
|
||||
@@ -29,7 +29,20 @@ You can paste the content of the icon file into your HTML code to display it on
|
||||
|
||||
```html
|
||||
<a href="">
|
||||
{% include "ui/icon.html" icon="disabled" %}
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
class="icon icon-tabler icon-tabler-disabled"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="1.25"
|
||||
stroke="currentColor"
|
||||
fill="none"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
...
|
||||
</svg>
|
||||
Click me
|
||||
</a>
|
||||
```
|
||||
@@ -5,4 +5,4 @@ description: Customizable illustrations for modern web and mobile designs.
|
||||
summary: Tabler Illustrations is a collection of customizable SVG illustrations for your web project. Explore our library of illustrations to enhance your web development experience.
|
||||
---
|
||||
|
||||

|
||||

|
||||
@@ -74,6 +74,4 @@ This folder contains SVG files using CSS variables for flexible theming.
|
||||
- `dark/`: Dark-themed illustrations.
|
||||
- `light/`: Light-themed illustrations.
|
||||
|
||||
This structure ensures easy access to various formats and themes, making Tabler Illustrations a versatile tool for developers and designers alike.
|
||||
|
||||
**Find out more and purchase Tabler Illustrations at [our website]({{ site.homepage }}/illustrations)**.
|
||||
This structure ensures easy access to various formats and themes, making Tabler Illustrations a versatile tool for developers and designers alike.
|
||||
@@ -4,7 +4,7 @@ description: Customize the illustrations to match your brand.
|
||||
summary: Learn how to tailor Tabler Illustrations by adjusting colors, sizes, and formats. This section provides insights into seamlessly integrating illustrations to align with your design and branding.
|
||||
---
|
||||
|
||||
{% capture html -%}
|
||||
```html example columns={1} centered vertical height="25rem"
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 800 600">
|
||||
<path
|
||||
d="M165.042 305.17C165.042 347.031 209.306 377.394 228.857 411.189C249.036 446.056 253.885 499.359 288.752 519.524C322.562 539.075 370.673 517.207 412.534 517.207C454.395 517.207 502.506 539.075 536.301 519.524C571.168 499.359 576.017 446.056 596.196 411.189C615.747 377.394 660.011 347.031 660.011 305.17C660.011 263.309 615.747 232.961 596.196 199.166C576.017 164.298 571.168 110.996 536.301 90.8302C502.506 71.2798 454.381 93.1471 412.534 93.1471C370.687 93.1471 322.562 71.2798 288.752 90.8302C253.885 110.996 249.036 164.298 228.857 199.166C209.306 232.961 165.042 263.323 165.042 305.17Z"
|
||||
@@ -157,8 +157,7 @@ summary: Learn how to tailor Tabler Illustrations by adjusting colors, sizes, an
|
||||
opacity="0.1"
|
||||
/>
|
||||
</svg>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
## Color of the illustration
|
||||
|
||||
@@ -178,7 +177,7 @@ body {
|
||||
}
|
||||
```
|
||||
|
||||
{% capture html -%}
|
||||
```html example columns={1} centered vertical height="25rem"
|
||||
<div style="--tblr-illustrations-primary: #cc0000">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 800 600">
|
||||
<path
|
||||
@@ -333,8 +332,7 @@ body {
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
## Color of the skin
|
||||
|
||||
@@ -348,7 +346,7 @@ To change the color of the skin, use the `--tblr-illustrations-skin` CSS variabl
|
||||
|
||||
Look at the example below to see how you can change the color of the skin.
|
||||
|
||||
{% capture html -%}
|
||||
```html example columns={1} centered vertical height="25rem"
|
||||
<div style="--tblr-illustrations-skin: #5a433c">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 800 600">
|
||||
<path
|
||||
@@ -503,15 +501,14 @@ Look at the example below to see how you can change the color of the skin.
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
|
||||
## Application Brand Color
|
||||
|
||||
Tabler Illustrations uses `--tblr-primary` as a fallback color if `--tblr-illustrations-primary` is not set, so if you have a primary color set in your design system, you can use that to ensure consistency across your project.
|
||||
|
||||
{% capture html -%}
|
||||
```html example columns={1} centered vertical separated height="30rem"
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div>
|
||||
@@ -785,14 +782,14 @@ Tabler Illustrations uses `--tblr-primary` as a fallback color if `--tblr-illust
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
|
||||
## Dark version of the illustration
|
||||
|
||||
Each illustration has a dark mode variant. To use it, copy the dark mode SVG code and paste it into your project. The dark mode variant is available for all illustrations.
|
||||
|
||||
{% capture html -%}
|
||||
```html example columns={1} centered vertical separated height="25rem" background="dark"
|
||||
<div>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 800 600">
|
||||
<path
|
||||
@@ -944,8 +941,7 @@ Each illustration has a dark mode variant. To use it, copy the dark mode SVG cod
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
## Autodark mode
|
||||
|
||||
@@ -963,7 +959,7 @@ Illustrations change theme based on the user's system preferences or `data-bs-th
|
||||
|
||||
Look at the example below to see how the illustration changes based on the user's system preferences.
|
||||
|
||||
{% capture html -%}
|
||||
```html example columns={1} centered vertical separated height="25rem"
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 800 600">
|
||||
<style>
|
||||
:where(.theme-dark, [data-bs-theme="dark"]) .tblr-illustrations-boy-girl-a {
|
||||
@@ -1199,5 +1195,4 @@ Look at the example below to see how the illustration changes based on the user'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 866 B After Width: | Height: | Size: 866 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 134 KiB After Width: | Height: | Size: 134 KiB |
|
Before Width: | Height: | Size: 131 KiB After Width: | Height: | Size: 131 KiB |
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 108 KiB |
|
Before Width: | Height: | Size: 168 KiB After Width: | Height: | Size: 168 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
16
core/docs/index.mdx
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
title: Welcome to Tabler Documentation
|
||||
summary: Tabler Docs provides a comprehensive guide to help you get started with the Tabler ecosystem, including its UI components, plugins, and icons. Explore detailed documentation to understand and leverage the full potential of Tabler in your projects.
|
||||
---
|
||||
|
||||
<ResponsiveImage src="/docs/tabler.png" src-dark="/docs/tabler-dark.png" alt="Tabler" width="816" height="620" className="mb-4" />
|
||||
|
||||
Find all the guides and resources you need to develop with Tabler and our other tools. Explore our UI components, icons, illustrations, and email templates to enhance your web development experience. Our tools are designed to be easy to use, customizable, and fully responsive, ensuring that your projects look great on any device.
|
||||
|
||||
<Cards>
|
||||
<Card title="UI Components" href="/docs/ui" icon="paint">Free and open source web application UI kit based on Bootstrap</Card>
|
||||
<Card title="Icons" href="/docs/icons" icon="ghost"><IconsCount /> pixel-perfect icons for web design and development</Card>
|
||||
<Card title="Illustrations" href="/docs/illustrations" icon="brand-figma"><IllustrationsCount /> customizable SVG illustrations for your web project</Card>
|
||||
<Card title="Email Templates" href="/docs/emails" icon="mail"><EmailsCount /> responsive email templates ready to use in your marketing campaigns</Card>
|
||||
<Card title="Avatars" icon="user-circle" disabled badge="Comming soon">Package of over 100 avatars for your next web project</Card>
|
||||
</Cards>
|
||||
83
core/docs/ui/base/colors.mdx
Normal file
@@ -0,0 +1,83 @@
|
||||
---
|
||||
title: Colors
|
||||
summary: The choice of colors for a website or app interface has a big influence on how users interact with the product and what decisions they make. Harmonious colors can contribute to a nice first impression and encourage users to engage with your product, so it's a very important aspect of a successful design, which needs to be well thought out.
|
||||
bootstrapLink: utilities/colors/
|
||||
description: Impact of colors on user interface design.
|
||||
---
|
||||
|
||||
## Base colors
|
||||
|
||||
Choose one of the available colors from the basic color palette and make your design attractive for users. You can use the colors to customize the design of components, indicate different states or suggest actions you want users to take.
|
||||
|
||||
<ColorsTable colors={[
|
||||
{ name: "blue", value: "#066fd1" },
|
||||
{ name: "azure", value: "#4299e1" },
|
||||
{ name: "indigo", value: "#4263eb" },
|
||||
{ name: "purple", value: "#ae3ec9" },
|
||||
{ name: "pink", value: "#d6336c" },
|
||||
{ name: "red", value: "#d63939" },
|
||||
{ name: "orange", value: "#f76707" },
|
||||
{ name: "yellow", value: "#f59f00" },
|
||||
{ name: "lime", value: "#74b816" },
|
||||
{ name: "green", value: "#2fb344" },
|
||||
{ name: "teal", value: "#0ca678" },
|
||||
{ name: "cyan", value: "#17a2b8" },
|
||||
]}/>
|
||||
|
||||
## Light colors
|
||||
|
||||
All available colors can come in pastel shades, which are perfect for more subtle designs and can be easily combined with the basic palette to create eye-catching designs.
|
||||
|
||||
<ColorsTable colors={[
|
||||
{ name: "blue-lt", value: "#e9f0f9" },
|
||||
{ name: "azure-lt", value: "#ecf5fc" },
|
||||
{ name: "indigo-lt", value: "#eceffd" },
|
||||
{ name: "purple-lt", value: "#f7ecfa" },
|
||||
{ name: "pink-lt", value: "#fbebf0" },
|
||||
{ name: "red-lt", value: "#fbebeb" },
|
||||
{ name: "orange-lt", value: "#fef0e6" },
|
||||
{ name: "yellow-lt", value: "#fef5e6" },
|
||||
{ name: "lime-lt", value: "#f1f8e8" },
|
||||
{ name: "green-lt", value: "#eaf7ec" },
|
||||
{ name: "teal-lt", value: "#e7f6f2" },
|
||||
{ name: "cyan-lt", value: "#e8f6f8" }
|
||||
]}/>
|
||||
|
||||
## Gray palette
|
||||
|
||||
The gray palette is a great choice for creating a neutral background for your design. It can be used to create a clean and professional look, and can be combined with other colors to create a harmonious design.
|
||||
|
||||
<ColorsTable colors={[
|
||||
{ name: "gray-50", value: "#f8fafc" },
|
||||
{ name: "gray-100", value: "#f1f5f9" },
|
||||
{ name: "gray-200", value: "#e2e8f0" },
|
||||
{ name: "gray-300", value: "#c8d3e1" },
|
||||
{ name: "gray-400", value: "#9ba9be" },
|
||||
{ name: "gray-500", value: "#6c7a91" },
|
||||
{ name: "gray-600", value: "#49566c" },
|
||||
{ name: "gray-700", value: "#313c52" },
|
||||
{ name: "gray-800", value: "#1d273b" },
|
||||
{ name: "gray-900", value: "#0f172a" }
|
||||
]} />
|
||||
|
||||
## Social colors
|
||||
|
||||
Use the colors of popular social networks to create a recognizable design and make it easier for users to interact with your product.
|
||||
|
||||
<ColorsTable colors={[
|
||||
{ name: "facebook", value: "#1877F2" },
|
||||
{ name: "twitter", value: "#1da1f2" },
|
||||
{ name: "linkedin", value: "#0a66c2" },
|
||||
{ name: "google", value: "#dc4e41" },
|
||||
{ name: "youtube", value: "#ff0000" },
|
||||
{ name: "vimeo", value: "#1ab7ea" },
|
||||
{ name: "dribbble", value: "#ea4c89" },
|
||||
{ name: "github", value: "#181717" },
|
||||
{ name: "instagram", value: "#e4405f" },
|
||||
{ name: "pinterest", value: "#bd081c" },
|
||||
{ name: "vk", value: "#6383a8" },
|
||||
{ name: "rss", value: "#ffa500" },
|
||||
{ name: "flickr", value: "#0063dc" },
|
||||
{ name: "bitbucket", value: "#0052cc" },
|
||||
{ name: "tabler", value: "#066fd1" }
|
||||
]} />
|
||||
@@ -10,17 +10,25 @@ description: Role of typography in interface design.
|
||||
Use HTML headings to organize content on your website and make the structure clear and user-friendly. The `h1` to `h6` tags are used to define HTML headings.
|
||||
The `h1` tag is the highest level and the `h6` tag is the lowest level.
|
||||
|
||||
Below are examples of headings with different levels:
|
||||
|
||||
{% capture html -%}
|
||||
```html
|
||||
<h1>H1 Heading</h1>
|
||||
<h2>H2 Heading</h2>
|
||||
<h3>H3 Heading</h3>
|
||||
<h4>H4 Heading</h4>
|
||||
<h5>H5 Heading</h5>
|
||||
<h6>H6 Heading</h6>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
Below are examples of headings with different levels:
|
||||
|
||||
```html example vertical columns={1}
|
||||
<h1>H1 Heading</h1>
|
||||
<h2>H2 Heading</h2>
|
||||
<h3>H3 Heading</h3>
|
||||
<h4>H4 Heading</h4>
|
||||
<h5>H5 Heading</h5>
|
||||
<h6>H6 Heading</h6>
|
||||
```
|
||||
|
||||
## Paragraphs
|
||||
|
||||
@@ -32,29 +40,47 @@ Organize longer pieces of text into paragraphs using the `p` tag. It is the most
|
||||
|
||||
If you use a second paragraph, it will be separated from the first one by a blank line.
|
||||
|
||||
{% capture html -%}
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt
|
||||
ut labore et dolore magna aliquyam erat, sed diam voluptua.
|
||||
</p>
|
||||
<p>At vero eos et accusam et justo duo dolores et ea rebum.</p>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html vertical %}
|
||||
```html example vertical centered columns={2}
|
||||
<div>
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt
|
||||
ut labore et dolore magna aliquyam erat, sed diam voluptua.
|
||||
</p>
|
||||
<p>At vero eos et accusam et justo duo dolores et ea rebum.</p>
|
||||
</div>
|
||||
```
|
||||
|
||||
|
||||
## Semantic text elements
|
||||
|
||||
Use a variety of semantic text elements, depending on how you want to display particular fragments of content.
|
||||
|
||||
```html
|
||||
<abbr title="Internationalization">I18N</abbr>
|
||||
<strong>Bold</strong>
|
||||
<cite>Citation</cite>
|
||||
<code>Hello World!</code>
|
||||
<del>Deleted</del>
|
||||
<em>Emphasis</em>
|
||||
<i>Italic</i>
|
||||
<ins>Inserted</ins>
|
||||
<kbd>Ctrl + S</kbd>
|
||||
<mark>Highlighted</mark>
|
||||
<s>Strikethrough</s>
|
||||
<samp>Sample</samp>
|
||||
Text <sub>Subscripted</sub> Text <sup>Superscripted</sup>
|
||||
<time>20:00</time>
|
||||
<u>Underline</u>
|
||||
<var>x</var> = <var>y</var> + 2
|
||||
```
|
||||
|
||||
Here are examples of semantic text elements:
|
||||
|
||||
{% capture html -%}
|
||||
```html example vertical separated columns={1}
|
||||
<div>
|
||||
<abbr title="Internationalization">I18N</abbr>
|
||||
</div>
|
||||
<div>
|
||||
<strong>Bold</strong>
|
||||
</div>
|
||||
<div><strong>Bold</strong></div>
|
||||
<div>
|
||||
<cite>Citation</cite>
|
||||
</div>
|
||||
@@ -85,29 +111,24 @@ Here are examples of semantic text elements:
|
||||
<div>
|
||||
<samp>Sample</samp>
|
||||
</div>
|
||||
<div>
|
||||
Text <sub>Subscript</sub>
|
||||
</div>
|
||||
<div>
|
||||
Text <sup>Superscript</sup>
|
||||
</div>
|
||||
<div>Text <sub>Subscripted</sub></div>
|
||||
<div>Text <sup>Superscripted</sup></div>
|
||||
<div>
|
||||
<time>20:00</time>
|
||||
</div>
|
||||
<div>
|
||||
<u>Underline</u>
|
||||
</div>
|
||||
<div>
|
||||
<var>x</var> = <var>y</var> + 2
|
||||
</div>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
<div><var>x</var> = <var>y</var> + 2</div>
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Horizontal rules
|
||||
|
||||
Use the `hr` tag to represent a thematic break between paragraphs within one section.
|
||||
|
||||
{% capture html -%}
|
||||
```html example vertical centered columns={2}
|
||||
<div>
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit. A atque ex excepturi fuga magnam nam
|
||||
@@ -121,14 +142,17 @@ Use the `hr` tag to represent a thematic break between paragraphs within one sec
|
||||
quibusdam veniam?
|
||||
</p>
|
||||
</div>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
```html
|
||||
<hr />
|
||||
```
|
||||
|
||||
## Horizontal rules with label
|
||||
|
||||
You can also add a label to a horizontal rule and align it as you see fit. Centered label is the default.
|
||||
You can also add a label to a horizontal rule and align it as you see fit.
|
||||
|
||||
{% capture html -%}
|
||||
```html example vertical centered columns={2}
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
|
||||
labore et dolore magna aliquyam erat, sed diam voluptua.
|
||||
@@ -147,28 +171,20 @@ You can also add a label to a horizontal rule and align it as you see fit. Cente
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
|
||||
labore et dolore magna aliquyam erat, sed diam voluptua.
|
||||
</p>
|
||||
<div class="hr-text hr-text-start">
|
||||
<div class="hr-text hr-text-end">
|
||||
<span>Rule text</span>
|
||||
</div>
|
||||
<p>
|
||||
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea
|
||||
takimata sanctus est Lorem ipsum dolor sit amet.
|
||||
</p>
|
||||
<div class="hr-text hr-text-end">
|
||||
<span>Rule text</span>
|
||||
</div>
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
|
||||
labore et dolore magna aliquyam erat, sed diam voluptua.
|
||||
</p>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
## Optimized for different alphabets
|
||||
|
||||
Tabler has been optimized to correctly display content in any language. It supports most Asian, African and Middle Eastern languages.
|
||||
|
||||
{% capture html -%}
|
||||
```html example vertical centered columns={2}
|
||||
<p>汉字</p>
|
||||
<p>日本語の表記体系</p>
|
||||
<p>Кириллица</p>
|
||||
@@ -178,36 +194,45 @@ Tabler has been optimized to correctly display content in any language. It suppo
|
||||
<p>الحروف العربية</p>
|
||||
<p>אלפבית עברי</p>
|
||||
<p>อักษรไทย</p>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
## Text transform
|
||||
|
||||
Transform the content of components with text capitalization classes.
|
||||
|
||||
{% capture html -%}
|
||||
```html example vertical centered separated columns={1}
|
||||
<div class="text-lowercase">Lowercased text.</div>
|
||||
<div class="text-uppercase">Uppercased text.</div>
|
||||
<div class="text-capitalize">Capitalized text.</div>
|
||||
```
|
||||
|
||||
```html
|
||||
<p class="text-lowercase">Lowercased text.</p>
|
||||
<p class="text-uppercase">Uppercased text.</p>
|
||||
<p class="text-capitalize">Capitalized text.</p>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
## Letter spacing
|
||||
|
||||
Control the tracking (letter spacing) of an element and make it tight, wide or normal.
|
||||
|
||||
{% capture html -%}
|
||||
```html example vertical centered separated columns={1}
|
||||
<div class="tracking-tight">Lorem ipsum dolor sit amet. Tight letter spacing.</div>
|
||||
<div class="tracking-normal">Lorem ipsum dolor sit amet. Normal letter spacing.</div>
|
||||
<div class="tracking-wide">Lorem ipsum dolor sit amet. Wide letter spacing.</div>
|
||||
```
|
||||
|
||||
```html
|
||||
<p class="tracking-tight">Lorem ipsum dolor sit amet. Tight letter spacing.</p>
|
||||
<p class="tracking-normal">Lorem ipsum dolor sit amet. Normal letter spacing.</p>
|
||||
<p class="tracking-wide">Lorem ipsum dolor sit amet. Wide letter spacing.</p>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
## Line height
|
||||
|
||||
Control the leading (line height) of an element using the `.lh-*` classes. The line height is the vertical space between lines of text.
|
||||
Control the leading (line height) of an element.
|
||||
|
||||
{% capture html -%}
|
||||
```html example vertical centered separated columns={1} height="20rem"
|
||||
<p class="lh-1">
|
||||
This is the long text with line height 1. Lorem ipsum dolor sit amet. Dolor sit amet.
|
||||
</p>
|
||||
@@ -220,8 +245,16 @@ Control the leading (line height) of an element using the `.lh-*` classes. The l
|
||||
<p class="lh-lg">
|
||||
This is the long text with large line height. Lorem ipsum dolor sit amet. Dolor sit amet.
|
||||
</p>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
To control the line height of an element, use the following classes:
|
||||
|
||||
```html
|
||||
<p class="lh-1">...</p>
|
||||
<p class="lh-sm">...</p>
|
||||
<p class="lh-base">...</p>
|
||||
<p class="lh-lg">...</p>
|
||||
```
|
||||
|
||||
## Antialiasing
|
||||
|
||||
@@ -229,26 +262,28 @@ Control the font smoothing of an element.
|
||||
|
||||
Use the `.antialiased` utility to render text using subpixel antialiasing or use the `.subpixel-antialiased` utility to remove antialiasing.
|
||||
|
||||
{% capture html -%}
|
||||
```html example vertical centered separated columns={1}
|
||||
<div class="antialiased">Text with antialiasing</div>
|
||||
<div class="subpixel-antialiased">Text without antialiasing</div>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
## Keyboard input
|
||||
|
||||
Use the `<kbd>` to indicate input that is typically entered via keyboard.
|
||||
|
||||
{% capture html -%}
|
||||
```html example vertical centered
|
||||
<div>To edit settings, press <kbd>ctrl</kbd> + <kbd>,</kbd> or <kbd>ctrl</kbd> + <kbd>C</kbd>.</div>
|
||||
```
|
||||
|
||||
```html
|
||||
To edit settings, press <kbd>ctrl</kbd> + <kbd>,</kbd> or <kbd>ctrl</kbd> + <kbd>C</kbd>.
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
## Markdown elements
|
||||
|
||||
If you can't use the CSS classes you want, or you just want to use HTML tags, use the `.markdown` class in a container. It will apply the default styles for markdown elements.
|
||||
|
||||
{% capture html -%}
|
||||
```html example centered background="white" columns={2} height="30rem"
|
||||
<div class="markdown">
|
||||
<h1>Hello World</h1>
|
||||
<p>
|
||||
@@ -273,5 +308,4 @@ If you can't use the CSS classes you want, or you just want to use HTML tags, us
|
||||
<li>Ut non enim metus.</li>
|
||||
</ul>
|
||||
</div>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
@@ -13,22 +13,34 @@ Combine `alert` class with one of the following: `alert-success`, `alert-info`,
|
||||
|
||||
Alert classes affect the color of all the text inside an alert. Use another class, e.g. `text-secondary` to change the color of the alert's content.
|
||||
|
||||
{% capture html -%}
|
||||
{% include "ui/alert.html" type="success" title="Wow! Everything worked!" description="Your account has been saved!" %}
|
||||
{% include "ui/alert.html" type="info" title="Did you know?" description="Here is something that you might like to know." %}
|
||||
{% include "ui/alert.html" type="warning" title="Uh oh, something went wrong" description="Sorry! There was a problem with your request." %}
|
||||
{% include "ui/alert.html" type="danger" title="I'm so sorry…" description="Your account has been deleted and can't be restored." %}
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```html example vertical background="surface" columns={2} centered separated height="420px"
|
||||
<div class="alert alert-success" role="alert">
|
||||
<h4 class="alert-title">Wow! Everything worked!</h4>
|
||||
<div class="text-secondary">Your account has been saved!</div>
|
||||
</div>
|
||||
<div class="alert alert-info" role="alert">
|
||||
<h4 class="alert-title">Did you know?</h4>
|
||||
<div class="text-secondary">Here is something that you might like to know.</div>
|
||||
</div>
|
||||
<div class="alert alert-warning" role="alert">
|
||||
<h4 class="alert-title">Uh oh, something went wrong</h4>
|
||||
<div class="text-secondary">Sorry! There was a problem with your request.</div>
|
||||
</div>
|
||||
<div class="alert alert-danger" role="alert">
|
||||
<h4 class="alert-title">I'm so sorry…</h4>
|
||||
<div class="text-secondary">Your account has been deleted and can't be restored.</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
## Alert links
|
||||
|
||||
Add a link to your alert message to redirect users to the details they need to complete or additional information they should read. Use `alert-link` class to style the link and match the text color.
|
||||
|
||||
{% capture html -%}
|
||||
{% include "ui/alert.html" type="danger" title="This is a danger alert" link="check it out" %}
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```html example vertical background="surface" columns={2} centered height="120px"
|
||||
<div class="alert alert-danger m-0">
|
||||
This is a danger alert — <a href="#" class="alert-link">check it out</a>!
|
||||
</div>
|
||||
```
|
||||
|
||||
## Dismissible alerts
|
||||
|
||||
@@ -38,10 +50,36 @@ Add the `x` close button to make an alert modal dismissible. Thanks to that, you
|
||||
<a class="btn-close" data-bs-dismiss="alert" aria-label="close"></a>
|
||||
```
|
||||
|
||||
{% capture html -%}
|
||||
{% include "ui/alert.html" type="danger" title="This is a danger alert" show-close %}
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```html example vertical background="surface" columns={2} centered separated height="420px"
|
||||
<div class="alert alert-success alert-dismissible" role="alert">
|
||||
<div>
|
||||
<h4 class="alert-title">Wow! Everything worked!</h4>
|
||||
<div class="text-secondary">Your account has been saved!</div>
|
||||
</div>
|
||||
<a class="btn-close" data-bs-dismiss="alert" aria-label="close"></a>
|
||||
</div>
|
||||
<div class="alert alert-info alert-dismissible" role="alert">
|
||||
<div>
|
||||
<h4 class="alert-title">Did you know?</h4>
|
||||
<div class="text-secondary">Here is something that you might like to know.</div>
|
||||
</div>
|
||||
<a class="btn-close" data-bs-dismiss="alert" aria-label="close"></a>
|
||||
</div>
|
||||
<div class="alert alert-warning alert-dismissible" role="alert">
|
||||
<div>
|
||||
<h4 class="alert-title">Uh oh, something went wrong</h4>
|
||||
<div class="text-secondary">Sorry! There was a problem with your request.</div>
|
||||
</div>
|
||||
<a class="btn-close" data-bs-dismiss="alert" aria-label="close"></a>
|
||||
</div>
|
||||
<div class="alert alert-danger alert-dismissible" role="alert">
|
||||
<div>
|
||||
<h4 class="alert-title">I'm so sorry…</h4>
|
||||
<div class="text-secondary">Your account has been deleted and can't be restored.</div>
|
||||
</div>
|
||||
<a class="btn-close" data-bs-dismiss="alert" aria-label="close"></a>
|
||||
</div>
|
||||
```
|
||||
|
||||
## Alerts with icons
|
||||
|
||||
@@ -49,7 +87,7 @@ Add an icon to your alert modal to make it more user-friendly and help users eas
|
||||
|
||||
Use the `alert-icon` class on an `<svg>` (or on an `<i>` when using the webfont) to provide the proper styling.
|
||||
|
||||
{% capture html -%}
|
||||
```html example vertical background="surface" columns={2} centered separated height="420px"
|
||||
<div class="alert alert-success" role="alert">
|
||||
<div class="d-flex">
|
||||
<div>
|
||||
@@ -157,20 +195,19 @@ Use the `alert-icon` class on an `<svg>` (or on an `<i>` when using the webfont)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
## Alert with avatar
|
||||
|
||||
Add an avatar to your alert modal to make it more personalized.
|
||||
|
||||
{% capture html -%}
|
||||
```html example vertical background="surface" columns={2} centered separated height="420px"
|
||||
<div class="alert alert-success" role="alert">
|
||||
<div class="d-flex">
|
||||
<div>
|
||||
<span
|
||||
class="avatar me-3"
|
||||
style="background-image: url(/static/avatars/039m.jpg)"
|
||||
style="background-image: url(/static/samples/avatars/039m.jpg)"
|
||||
></span>
|
||||
</div>
|
||||
<div>
|
||||
@@ -195,7 +232,7 @@ Add an avatar to your alert modal to make it more personalized.
|
||||
<div>
|
||||
<span
|
||||
class="avatar me-3"
|
||||
style="background-image: url(/static/avatars/035f.jpg)"
|
||||
style="background-image: url(/static/samples/avatars/035f.jpg)"
|
||||
></span>
|
||||
</div>
|
||||
<div>
|
||||
@@ -209,7 +246,7 @@ Add an avatar to your alert modal to make it more personalized.
|
||||
<div>
|
||||
<span
|
||||
class="avatar me-3"
|
||||
style="background-image: url(/static/avatars/056f.jpg)"
|
||||
style="background-image: url(/static/samples/avatars/056f.jpg)"
|
||||
></span>
|
||||
</div>
|
||||
<div>
|
||||
@@ -218,8 +255,7 @@ Add an avatar to your alert modal to make it more personalized.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
## Alert with buttons
|
||||
|
||||
@@ -227,7 +263,7 @@ Add primary and secondary buttons to your alert modals if you want users to take
|
||||
|
||||
Buttons don't inherit the alert's color, so you should set the proper class if you want it to be matched. For example, `btn-success` for `alert-success`.
|
||||
|
||||
{% capture html -%}
|
||||
```html example vertical background="surface" columns={2} centered separated height="740px"
|
||||
<div class="alert alert-success alert-dismissible" role="alert">
|
||||
<h3 class="mb-1">Some Title</h3>
|
||||
<p class="text-secondary">
|
||||
@@ -272,8 +308,7 @@ Buttons don't inherit the alert's color, so you should set the proper class if y
|
||||
</div>
|
||||
<a class="btn-close" data-bs-dismiss="alert" aria-label="close"></a>
|
||||
</div>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
## Important alerts
|
||||
|
||||
@@ -285,7 +320,7 @@ If you want your alert to be really eye-catching, you can add an `alert-importan
|
||||
|
||||
You can also use other elements, like icons and dismissible buttons, with this type of alert.
|
||||
|
||||
{% capture html -%}
|
||||
```html example vertical columns={2} centered separated
|
||||
<div class="alert alert-important alert-success alert-dismissible" role="alert">
|
||||
<div class="d-flex">
|
||||
<div>
|
||||
@@ -334,14 +369,13 @@ You can also use other elements, like icons and dismissible buttons, with this t
|
||||
</div>
|
||||
<a class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="close"></a>
|
||||
</div>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
```
|
||||
|
||||
## Custom alert color
|
||||
|
||||
You're not limited to the 4 default alert colors. You can use any [base or social color](../base/colors) you want.
|
||||
|
||||
{% capture html -%}
|
||||
```html example vertical background="surface" columns={2} centered separated height="420px"
|
||||
<div class="alert alert-lime" role="alert">
|
||||
<h4 class="alert-title">Wow! Everything worked!</h4>
|
||||
<div class="text-secondary">Your account has been saved!</div>
|
||||
@@ -359,7 +393,7 @@ You're not limited to the 4 default alert colors. You can use any [base or socia
|
||||
<div>
|
||||
<span
|
||||
class="avatar me-3"
|
||||
style="background-image: url(/static/avatars/035f.jpg)"
|
||||
style="background-image: url(/static/samples/avatars/035f.jpg)"
|
||||
></span>
|
||||
</div>
|
||||
<div>
|
||||
@@ -369,11 +403,4 @@ You're not limited to the 4 default alert colors. You can use any [base or socia
|
||||
</div>
|
||||
<a class="btn-close" data-bs-dismiss="alert" aria-label="close"></a>
|
||||
</div>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html %}
|
||||
|
||||
## SASS variables
|
||||
|
||||
You can customize the alert colors by changing the SASS variables. The default values are:
|
||||
|
||||
{% scss-docs "alert-variables" "ui/_alerts.scss" %}
|
||||
```
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Autosize
|
||||
summary: The autosize element will automatically adjust the textarea height and make it easier for users to follow as they type.
|
||||
docs-libs: autosize
|
||||
libs: autosize
|
||||
description: Auto-adjusting textarea for better usability.
|
||||
---
|
||||
|
||||
@@ -13,8 +13,13 @@ Add the autosize element to your input to make it automatically adjust to the le
|
||||
|
||||
To create autosize textarea, add the `data-bs-toggle="autosize"` attribute to the textarea element:
|
||||
|
||||
{% capture html -%}
|
||||
```html
|
||||
<textarea class="form-control" data-bs-toggle="autosize" placeholder="Type something…"></textarea>
|
||||
```
|
||||
|
||||
Look at the example below to see how the autosize element works:
|
||||
|
||||
```html example centered columns={1} scrollable height="20rem"
|
||||
<label class="form-label">Autosize example</label>
|
||||
<textarea class="form-control" data-bs-toggle="autosize" placeholder="Type something…"></textarea>
|
||||
{%- endcapture %}
|
||||
{% include "docs/example.html" html=html column vertical %}
|
||||
```
|
||||
227
core/docs/ui/components/avatars.mdx
Normal file
@@ -0,0 +1,227 @@
|
||||
---
|
||||
title: Avatars
|
||||
summary: Avatars help customize various elements of a user interface and make the product experience more personalized. They are often used in communication apps, collaboration tools and social media.
|
||||
description: Personalize UI with user avatars.
|
||||
---
|
||||
|
||||
## Default markup
|
||||
|
||||
Use the `avatar` class to add an avatar to your interface design for greater customization.
|
||||
|
||||
```html example centered separated code
|
||||
<span class="avatar" style="background-image: url(/samples/avatars/002f.jpg)"></span>
|
||||
<span class="avatar">JL</span>
|
||||
<span class="avatar" style="background-image: url(/samples/avatars/004f.jpg)"></span>
|
||||
```
|
||||
|
||||
## Avatar image
|
||||
|
||||
Set an image as the background to make users easy to indentify and create a personalized experience.
|
||||
|
||||
```html example centered separated code
|
||||
<span class="avatar" style="background-image: url(/samples/avatars/016f.jpg)"></span>
|
||||
<span class="avatar" style="background-image: url(/samples/avatars/022m.jpg)"></span>
|
||||
<span class="avatar" style="background-image: url(/samples/avatars/036m.jpg)"></span>
|
||||
```
|
||||
|
||||
## Initials
|
||||
|
||||
You can also use initials instead of pictures.
|
||||
|
||||
```html example centered separated code
|
||||
<span class="avatar">AB</span>
|
||||
<span class="avatar">CD</span>
|
||||
<span class="avatar">EF</span>
|
||||
<span class="avatar">GH</span>
|
||||
<span class="avatar">IJ</span>
|
||||
```
|
||||
|
||||
## Avatar icons
|
||||
|
||||
Besides pictures and initials, you can also use icons to make the avatars more universal.
|
||||
|
||||
```html example centered separated
|
||||
<span class="avatar">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
class="icon avatar-icon"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="2"
|
||||
stroke="currentColor"
|
||||
fill="none"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
||||
<circle cx="12" cy="7" r="4" />
|
||||
<path d="M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />
|
||||
</svg>
|
||||
</span>
|
||||
<span class="avatar">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
class="icon avatar-icon"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="2"
|
||||
stroke="currentColor"
|
||||
fill="none"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
||||
<line x1="12" y1="5" x2="12" y2="19" />
|
||||
<line x1="5" y1="12" x2="19" y2="12" />
|
||||
</svg>
|
||||
</span>
|
||||
<span class="avatar">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
class="icon avatar-icon"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="2"
|
||||
stroke="currentColor"
|
||||
fill="none"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
||||
<circle cx="9" cy="7" r="4" />
|
||||
<path d="M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />
|
||||
<path d="M16 11h6m-3 -3v6" />
|
||||
</svg>
|
||||
</span>
|
||||
```
|
||||
|
||||
```html
|
||||
<span class="avatar">
|
||||
<!-- SVG icon from http://tabler.io/icons/icon/user -->
|
||||
<svg>...</svg>
|
||||
</span>
|
||||
```
|
||||
|
||||
## Avatar initials color
|
||||
|
||||
Customize the color of the avatars' background. You can click [here](/docs/ui/base/colors) to see the list of available colors.
|
||||
|
||||
```html example centered separated code
|
||||
<span class="avatar bg-green-lt">AB</span>
|
||||
<span class="avatar bg-red-lt">CD</span>
|
||||
<span class="avatar bg-yellow-lt">EF</span>
|
||||
<span class="avatar bg-primary-lt">GH</span>
|
||||
<span class="avatar bg-purple-lt">IJ</span>
|
||||
```
|
||||
|
||||
## Avatar size
|
||||
|
||||
Using Bootstrap’s typical naming structure, you can create a standard avatar or scale it up or down to different sizes based on what you need.
|
||||
|
||||
```html example centered separated code
|
||||
<span class="avatar avatar-xl" style="background-image: url(/samples/avatars/000m.jpg)"></span>
|
||||
<span class="avatar avatar-lg" style="background-image: url(/samples/avatars/000m.jpg)"></span>
|
||||
<span class="avatar avatar-md" style="background-image: url(/samples/avatars/000m.jpg)"></span>
|
||||
<span class="avatar" style="background-image: url(/samples/avatars/000m.jpg)"></span>
|
||||
<span class="avatar avatar-sm" style="background-image: url(/samples/avatars/000m.jpg)"></span>
|
||||
<span class="avatar avatar-xs" style="background-image: url(/samples/avatars/000m.jpg)"></span>
|
||||
```
|
||||
|
||||
## Avatar status
|
||||
|
||||
Add a status indicator to your avatar to show, for instance, if a user is online or offline or indicate the number of messages they have received.
|
||||
|
||||
```html example centered separated code
|
||||
<span class="avatar" style="background-image: url(/samples/avatars/018m.jpg)"></span>
|
||||
<span class="avatar" style="background-image: url(/samples/avatars/015m.jpg)">
|
||||
<span class="badge bg-danger"></span>
|
||||
</span>
|
||||
<span class="avatar" style="background-image: url(/samples/avatars/022m.jpg)">
|
||||
<span class="badge bg-success"></span>
|
||||
</span>
|
||||
<span class="avatar"> <span class="badge bg-warning"></span>SA </span>
|
||||
<span class="avatar" style="background-image: url(/samples/avatars/022m.jpg)">
|
||||
<span class="badge bg-info"></span>
|
||||
</span>
|
||||
<span class="avatar" style="background-image: url(/samples/avatars/048m.jpg)">
|
||||
<span class="badge bg-gray">5</span>
|
||||
</span>
|
||||
```
|
||||
|
||||
## Avatar shape
|
||||
|
||||
Change the shape of an avatar with the default Bootstrap image classes. You can make them round or square and change their border radius.
|
||||
|
||||
```html example centered separated
|
||||
<span class="avatar" style="background-image: url(/samples/avatars/019m.jpg)"></span>
|
||||
<span class="avatar rounded" style="background-image: url(/samples/avatars/039f.jpg)"></span>
|
||||
<span class="avatar rounded-circle">AA</span>
|
||||
<span class="avatar rounded-0" style="background-image: url(/samples/avatars/043f.jpg)"></span>
|
||||
<span class="avatar rounded-3" style="background-image: url(/samples/avatars/044f.jpg)"></span>
|
||||
```
|
||||
|
||||
## Avatars list
|
||||
|
||||
Create a list of avatars within one parent container.
|
||||
|
||||
```html example centered separated code
|
||||
<div class="avatar-list">
|
||||
<span class="avatar rounded" style="background-image: url(/samples/avatars/031f.jpg)"></span>
|
||||
<span class="avatar rounded">JL</span>
|
||||
<span class="avatar rounded" style="background-image: url(/samples/avatars/033f.jpg)"></span>
|
||||
<span class="avatar rounded" style="background-image: url(/samples/avatars/017m.jpg)"></span>
|
||||
<span class="avatar rounded" style="background-image: url(/samples/avatars/024m.jpg)"></span>
|
||||
</div>
|
||||
```
|
||||
|
||||
## Stacked list
|
||||
|
||||
Make the list stack once a certain number of avatars is reached to make it look clear and display well regardless of the screen size.
|
||||
|
||||
```html example centered separated code
|
||||
<div class="avatar-list avatar-list-stacked">
|
||||
<span class="avatar">EB</span>
|
||||
<span class="avatar" style="background-image: url(/samples/avatars/026m.jpg)"></span>
|
||||
<span class="avatar" style="background-image: url(/samples/avatars/016f.jpg)"></span>
|
||||
<span class="avatar" style="background-image: url(/samples/avatars/028m.jpg)"></span>
|
||||
<span class="avatar" style="background-image: url(/samples/avatars/030m.jpg)"></span>
|
||||
<span class="avatar">+8</span>
|
||||
</div>
|
||||
```
|
||||
|
||||
```html example centered separated code
|
||||
<div class="avatar-list avatar-list-stacked">
|
||||
<span
|
||||
class="avatar avatar-sm rounded-circle"
|
||||
style="background-image: url(/samples/avatars/035m.jpg)"
|
||||
></span>
|
||||
<span
|
||||
class="avatar avatar-sm rounded-circle"
|
||||
style="background-image: url(/samples/avatars/027f.jpg)"
|
||||
></span>
|
||||
<span
|
||||
class="avatar avatar-sm rounded-circle"
|
||||
style="background-image: url(/samples/avatars/036f.jpg)"
|
||||
></span>
|
||||
<span class="avatar avatar-sm rounded-circle">SA</span>
|
||||
<span
|
||||
class="avatar avatar-sm rounded-circle"
|
||||
style="background-image: url(/samples/avatars/034f.jpg)"
|
||||
></span>
|
||||
<span
|
||||
class="avatar avatar-sm rounded-circle"
|
||||
style="background-image: url(/samples/avatars/043f.jpg)"
|
||||
></span>
|
||||
<span
|
||||
class="avatar avatar-sm rounded-circle"
|
||||
style="background-image: url(/samples/avatars/039f.jpg)"
|
||||
></span>
|
||||
<span
|
||||
class="avatar avatar-sm rounded-circle"
|
||||
style="background-image: url(/samples/avatars/020m.jpg)"
|
||||
></span>
|
||||
</div>
|
||||
```
|
||||