1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

Merge branch 'dev' of https://github.com/tabler/tabler into dev-colors

This commit is contained in:
codecalm
2025-02-03 23:15:56 +01:00
2322 changed files with 16601 additions and 20894 deletions

View File

@@ -1,11 +1,6 @@
>= 1% >= 1%
last 1 major version last 2 versions
Firefox ESR
not dead not dead
Chrome >= 60 safari >= 15.4
Firefox >= 60 iOS >= 15.4
Edge >= 15.15063
Explorer 11
iOS >= 10
Safari >= 10
Android >= 6
not ExplorerMobile <= 11

View File

@@ -1,58 +0,0 @@
#!/usr/bin/env node
'use strict'
const YAML = require('yaml')
const fs = require('node:fs')
const path = require('node:path')
const request = require('request')
const filePath = path.join(__dirname, '../src/pages/_data/photos.yml')
const photos = YAML.parse(fs.readFileSync(filePath, 'utf8'))
const urlTitle = (str) => {
str = str
.toLowerCase()
.replaceAll('&', 'and')
.replace(/[^[a-z0-9-]/g, '-')
.replace(/-+/g, '-')
return str
}
const download = function(uri, filename, callback, error) {
request.head(uri, function(err, res, body) {
request(uri).pipe(fs.createWriteStream(filename))
.on('close', callback)
.on('error', error)
})
}
async function downloadPhotos() {
for (const key in photos) {
const photo = photos[key]
let filename, i = 1;
do {
filename = `${urlTitle(photo['title'])}${i > 1 ? `-${i}` : ''}.jpg`
i++
} while (fs.existsSync(path.join(__dirname, `../src/static/photos/${filename}`)))
await new Promise((resolve, reject) => {
download(photo['path'], path.join(__dirname, `../src/static/photos/${filename}`), function(){
resolve()
}, function() {
reject()
});
})
photos[key]['file'] = filename
photos[key]['horizontal'] = photo['width'] > photo['height']
}
fs.writeFileSync(filePath, YAML.stringify(photos))
}
downloadPhotos();

View File

@@ -1,37 +0,0 @@
#!/usr/bin/env node
'use strict'
const fs = require('fs'),
path = require('path');
const iconsTags = require('../node_modules/@tabler/icons/icons.json'),
iconsPkg = require('../node_modules/@tabler/icons/package.json');
const prepareSvgFile = (svg) => {
return svg.replace(/\n/g, '').replace(/>\s+</g, '><').replace(/\s+/g, ' ')
}
let svgList = {}
for (let iconName in iconsTags) {
let iconData = iconsTags[iconName]
svgList[iconName] = {
name: iconName,
svg: {
outline: iconData.styles.outline ? prepareSvgFile(fs.readFileSync(path.join(__dirname, `../node_modules/@tabler/icons/icons/outline/${iconName}.svg`), 'utf8')) : null,
filled: iconData.styles.filled ? prepareSvgFile(fs.readFileSync(path.join(__dirname, `../node_modules/@tabler/icons/icons/filled/${iconName}.svg`), 'utf8')) : null,
}
}
}
fs.writeFileSync(
path.join(__dirname, `../src/pages/_data/icons-info.json`),
JSON.stringify({
version: iconsPkg.version,
count: Object.values(svgList).reduce((acc, icon) => {
return acc + (icon.svg.outline ? 1 : 0) + (icon.svg.filled ? 1 : 0)
}, 0)
})
)
fs.writeFileSync(path.join(__dirname, `../src/pages/_data/icons.json`), JSON.stringify(svgList))

View File

@@ -1,18 +0,0 @@
#!/usr/bin/env node
'use strict'
const fs = require('fs'),
path = require('path'),
glob = require('glob');
const illustrations = glob
.sync(path.join(__dirname, `../src/static/illustrations/light/*.png`))
.map((file) => {
return path.basename(file, '.png')
})
fs.writeFileSync(
path.join(__dirname, `../src/pages/_data/illustrations.json`),
JSON.stringify(illustrations)
)

View File

@@ -1,36 +0,0 @@
#!/usr/bin/env node
'use strict'
const fs = require('fs'),
path = require('path'),
glob = require('glob'),
beautifyHtml = require('js-beautify').html;
const docs = glob
.sync(path.join(__dirname, `../docs/**/*.mdx`))
docs.forEach((file, i) => {
const oldContent = fs.readFileSync(file, 'utf8')
// get codeblocks from markdown
const content = oldContent.replace(/(```([a-z0-9]+).*?\n)(.*?)(```)/gs, (m, m1, m2, m3, m4) => {
if (m2 === 'html') {
let m3m = beautifyHtml(m3, {
"indent_size": 2,
"indent_char": " ",
}).trim();
// remove empty lines
m3m = m3m.replace(/^\s*[\r\n]/gm, '');
return m1 + m3m + "\n" + m4;
}
return m
})
if (content !== oldContent) {
fs.writeFileSync(file, content, 'utf8')
console.log(`Reformatted ${file}`)
}
})

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Change Twitter to X brand

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Updated link to icons documentation

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Dependencies update

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Order menu items alphabetically

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Automatically retrieve and display the changelog from the CHANGELOG.md file.

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Initialize Visual Studio Code config

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Make horizontal rule direction aware

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": minor
---
Add new `Tag` component

View File

@@ -4,8 +4,7 @@
"commit": false, "commit": false,
"fixed": [], "fixed": [],
"linked": [], "linked": [],
"access": "restricted", "access": "public",
"baseBranch": "main", "baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": [] "ignore": []
} }

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": minor
---
Add customizable Star Ratings component using `star-rating.js` library

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Dependencies update

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update TinyMCE to v7.0

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Fix text color in dark version of navbar

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Remove invalid `z-index` setting for dropdowns

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update Tabler Icons to version 2.21 with 18 new icons added

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update Tabler Emails to v2.0

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Init changelog script

View File

@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---
Enable `scrollSpy` in `countup` module

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": minor
---
Add `flags.html` page with list of all flags

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Adding Two-Step Verification Pages

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Replace `.page-center` with `.my-auto` in single page layouts

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Fix icon display issues in the Star Ratings component

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": minor
---
Update CSS class from `text-muted` to `text-secondary` for better Bootstrap compatibility

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Bump pnpm/action-setup from 2 to 3

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Add social icons plugin

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
`Dockerfile` fix

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update Tabler Icons to version 2.20 with 37 new icons added

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Add Tabler Illustrations

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": minor
---
Adding `alerts.html` page with example of alerts.

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update illustrations and enhance SVG handling in HTML

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Fix ids of custom size star ratings

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Unify size of avatar, flag and payment components

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update icons to v2.42.0

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update Bootstrap to v5.3.0

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Set `font-size` of an `i` element with `icon` class in a `button` element

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Dependencies update

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Fix `rgba` color values in `_variables.scss`

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Fix description of alerts with a description

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Resolve map page issues

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Improve base font family loading

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Introduce Docker Compose Config to build and run Ttabler locally

View File

@@ -0,0 +1,4 @@
---
---
Refactor bundlewatch workflow to use Turbo

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Fix `@charset` CSS declaration in bundle.

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update `_navbar.scss` with disabled dropdown menu items color

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update Tabler Icons to v3.17.0

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update `@tabler/icons` to v3.0

View File

@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---
Fix size of `apexcharts` tooltip marker

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Increase `z-index` of `ts-dropdown` to prevent overlapping by buttons

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Adding punctuation to `SECURITY.md`

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Fix form controls bugs in dark mode

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Fix padding in code blocks

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": minor
---
Change primary color value to new Tabler branding

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Unified Box Shadows with Bootstrap Compatibility

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Remove duplicated setting of color in `th` element

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Fix layout of search results for small and medium screens

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Remove `text-decoration` on hovering `a` element with class having `icon` class

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": minor
---
Unify dark mode with latest Bootstrap API and improve dark mode elements

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Bump `pnpm/action-setup` from 3 to 4

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update dependencies

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update Tabler Icons to version 2.22 with 18 new icons added

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Add All Contributions package to project for easy contribution tracking

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Set value of `$font-family-monospace` as default

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Resolved light dropdown issue on dark theme

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": minor
---
New Chat component

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Enhance documentation

View File

@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---
Refactored the project into a monorepo, removed Gulp, and introduced a new, more efficient build process.

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update Tabler Icons to version 2.19 with 18 new icons added

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": minor
---
Adjusting form element sizes for enhanced mobile devices compatibility

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Fix cells with inline icons

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Fix the `z-index` value of the `nav-tab` inside `card-tab` #1933

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Switch from `npm` to `pnpm` for faster package installation

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Increase contrast of active `dropdown-item` in vertical layout

View File

@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---
Fix vertical alignment in single page and error layouts

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update documentation for Tabler components

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Add variable to configure `avatar-list` spacing

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Do not display empty `fieldset` element

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Add Tabler Illustrations

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update required Node.js version to 18 and add `.nvmrc` file

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Fix table default background color

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Avoid SCSS color dependency on `:focus`

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update Tabler Icons to v3.26.0

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Updated Tabler Icons to v3.24.0

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update Tabler Icons to version 2.18 with 18 new icons added

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update Tabler Icons to v3.14.0

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Add Prettier to project for consistent code formatting

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Upgrade Node.js from version 18 to version 20 for improved performance, security, and feature updates.

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update Tabler Icons to version 2.25 with 48 new icons added

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": minor
---
Add new color picker component using `coloris.js` library

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Fix responsiveness issue in Settings menu

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Add new Filled section to Icons page

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Update `bootstrap` to v5.3.1

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": minor
---
Update Tabler Icons to version 2.23 with 18 new icons added

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": minor
---
New page with payment providers: `payment-providers.html`

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": minor
---
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

View File

@@ -1,5 +0,0 @@
---
"@tabler/core": patch
---
Fix link to webfont version of Tabler Icons

Some files were not shown because too many files have changed in this diff Show More