1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-22 01:44:25 +04:00

Compare commits

..

144 Commits

Author SHA1 Message Date
codecalm
0a285384b7 Update test workflow to run on multiple operating systems 2025-02-03 03:04:30 +01:00
codecalm
f8a7a13f6b Remove unnecessary dependency on bundlewatch in turbo configuration 2025-02-03 03:00:27 +01:00
carlosmintfan
b28ce9f2e8 Fix vertical alignment in single page and error layouts (#2114)
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
Co-authored-by: codecalm <codecalm@gmail.com>
2025-02-03 02:56:29 +01:00
Paweł Kuna
a370919ebe Refactor bundlewatch workflow to use Turbo (#2119) 2025-02-03 02:54:15 +01:00
codecalm
09a7e10ef1 Remove PNPM version specification from workflow files 2025-02-03 02:49:59 +01:00
codecalm
0afaaf2348 Add banner generation to CSS files and update package metadata 2025-02-01 22:50:26 +01:00
codecalm
f04cf51047 Update output paths in build configuration and HTML templates to use 'preview' directory 2025-02-01 22:06:08 +01:00
Paweł Kuna
eaa7f81604 Monorepo structure, remove Gulp, new build process (#2116) 2025-02-01 21:05:00 +01:00
carlosmintfan
ce98145fb2 Make marketing pages fully support dark mode (#2081) 2025-02-01 21:03:09 +01:00
carlosmintfan
d3ae77cf8b Enable scrollSpy in countup module (#2113)
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
2025-02-01 21:01:29 +01:00
carlosmintfan
28131f42df Remove mention of bundler from README (#2076) 2025-02-01 20:56:49 +01:00
BG-Software
06b1dec645 Fix size of apexcharts tooltip marker (#2115) 2025-02-01 11:40:48 +01:00
codecalm
9a46a8fbf9 fix: update payment methods to use 'logo' instead of 'code' 2025-01-30 00:26:06 +01:00
codecalm
9237d12cac chore: remove 'dev' branch from release workflow triggers 2025-01-29 22:57:24 +01:00
codecalm
fd8b11822a chore: update .gitignore and add zip script to package.json 2025-01-28 23:08:25 +01:00
github-actions[bot]
1d73dc92b0 chore: update versions (#2105)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-28 22:14:40 +01:00
codecalm
e563985c3d Remove empty lines from HTML output in Eleventy configuration 2025-01-28 21:33:36 +01:00
codecalm
c0092e5124 Refactor font-family variables in SCSS 2025-01-28 21:30:59 +01:00
codecalm
40750e1cb7 Update footer to display version only in production environment 2025-01-28 21:27:37 +01:00
codecalm
e74d9dc326 Set default limit to Infinity for card icons 2025-01-28 21:20:44 +01:00
Paweł Kuna
71c68ce40a Update changelog configuration and release scripts (#2095) 2025-01-28 21:13:15 +01:00
dependabot[bot]
5ddda4bf5b Bump actions/stale from 8 to 9 (#2098)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 19:49:32 +01:00
Paweł Kuna
ba65fc3694 Update devDependencies (#2094) 2025-01-28 19:07:38 +01:00
ethancrawford
e798eb623d Fix small typo in tables docs (#2090)
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
2025-01-28 18:59:37 +01:00
Prashant Rijal
38504e578a Added 3 new payments from Nepal (#2085)
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
Co-authored-by: codecalm <codecalm@gmail.com>
2025-01-28 18:58:44 +01:00
codecalm
a30ac7d194 Add passthrough copy for favicon and enable incremental watch in Eleventy 2025-01-27 22:52:17 +01:00
BG-Software
90cc74487b Fix colors of disabled tom-select (#2084) 2025-01-27 22:34:05 +01:00
Paweł Kuna
a5bf5d3e2d Fix icons in form-elements.html (#2086) 2025-01-27 22:32:51 +01:00
Paweł Kuna
2c7c448108 Refactor Dockerfile and package.json (#2089) 2025-01-27 22:32:25 +01:00
codecalm
2b42568ce7 Limit the number of icons displayed in the demo icons list 2025-01-27 21:56:24 +01:00
Paweł Kuna
063ef58515 Update Tabler Illustrations to v1.5 (#2075) 2025-01-22 22:22:33 +01:00
Paweł Kuna
5e2c975c99 Update Tabler Icons to v3.29.0 (#2074) 2025-01-22 22:22:19 +01:00
codecalm
782f0f5726 Remove Ruby and Bundler dependencies from workflow and documentation 2025-01-22 22:22:06 +01:00
Paweł Kuna
be69fd6c08 Replace Jekyll with Eleventy (#2071) 2025-01-22 22:13:51 +01:00
BG-Software
c8b263bc2b Get the latest sponsors image 2025-01-21 20:17:42 +01:00
codecalm
26e2fb08f7 Remove duplicate menu entry in lists.html 2025-01-18 15:43:12 +01:00
codecalm
12d5b05bcd Update Node.js version in .nvmrc to 20 2025-01-18 14:56:12 +01:00
Paweł Kuna
9d5f7cacd3 Remove unused dependencies from package.json (#2070)
* Remove unused dependencies from package.json and pnpm-lock.yaml

* Create cool-rules-learn.md
2025-01-18 14:33:27 +01:00
Paweł Kuna
875cafa474 Refactor SCSS variables to use color.adjust for improved color manipulation (#2068)
* Refactor dark mode SCSS variables to use color.adjust for improved color manipulation

* Refactor dark mode SCSS variables to remove unnecessary color space parameter for cleaner code

* Update sass dependency to version 1.78.0

* Create sour-dragons-eat.md
2025-01-18 14:33:14 +01:00
Paweł Kuna
0e4bf5fc73 Refactor data structure by converting YAML files to JSON (#2069) 2025-01-18 14:31:23 +01:00
Paweł Kuna
c75cf55672 Update Node.js engine requirement to allow versions >=20 (#2063) 2025-01-17 22:11:38 +01:00
BG-Software
1c1d0c9d25 Improve documentation for alerts (#2055)
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
2025-01-17 22:11:28 +01:00
Paweł Kuna
7aa216f666 Add border-opacity variable for improved color utility (#2061) 2025-01-17 22:10:22 +01:00
Paweł Kuna
1801e4161a Center content on error and single page layouts (#2060) 2025-01-17 22:10:08 +01:00
BG-Software
78392b6b4b Fix color of disabled dropdown-item (#2052)
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
2025-01-17 22:09:41 +01:00
Paweł Kuna
736410c616 Update Tabler Icons to v3.28.1 (#2067) 2025-01-17 22:07:05 +01:00
Paweł Kuna
e53942f4a6 Update Jekyll to version 4.3.4 (#2066) 2025-01-17 22:03:38 +01:00
Paweł Kuna
d82f94e677 Update package dependencies to latest versions (#2064) 2025-01-17 16:33:26 +01:00
BG-Software
0e5b44af11 Fix color of disabled nav-link in nav-bordered (#2053) 2025-01-17 16:22:27 +01:00
BG-Software
a685abe2b8 Fix link to sponsors image 2025-01-15 20:05:42 +01:00
codecalm
728816a52e Fix SVG logo by resolving merge conflict and updating path attributes 2025-01-15 19:27:39 +01:00
BG-Software
233508195a Use sponsors image from tabler/sponsors 2025-01-15 19:18:08 +01:00
codecalm
9bf0824376 Update code snippets in documentation to remove unnecessary background attributes 2025-01-14 13:42:52 +01:00
codecalm
b9c3223e98 Update CHANGELOG.md for version 1.0.0-beta24 2025-01-11 19:48:13 +01:00
codecalm
7c99f3aad4 Release 1.0.0-beta24 2025-01-11 19:47:15 +01:00
codecalm
06036f91cf Update page-layouts.mdx to correct installation guideline link and enhance layout code snippets 2025-01-11 19:18:53 +01:00
codecalm
093aff1b08 Update CHANGELOG.md for version 1.0.0-beta23 with documentation improvements and various bug fixes 2025-01-10 22:48:37 +01:00
Paweł Kuna
b0b07b94da Enhance documentation (#2048) 2025-01-10 22:31:24 +01:00
Paweł Kuna
5cca710ac6 Update illustrations and enhance SVG handling in HTML (#2051) 2025-01-10 22:31:03 +01:00
codecalm
86cab40faa Update copyright year in LICENSE file to 2025 2025-01-09 22:25:43 +01:00
codecalm
f433d98fbe Merge branch 'dev' of https://github.com/tabler/tabler into dev 2025-01-09 22:25:25 +01:00
Paweł Kuna
844d66f597 Marketing pages plugin (#1332)
* marketing site init

* classname fix

* marketing images

* homepage components

* gradient bg

* Optimised images with calibre/image-actions

* generate utilities for marketing pages, negative utilities, new filters, browser component

* list separate fixes

* marketing pages components

* build fix

* new marketing pages elements

* add typd.js library to animate text

* about page, markdown page

* testimonials, new components, new marketing pages

* unity avatar sizes

* fix shape sizes

* avatars unify

* shape fixes

* real estate page

* Optimised images with calibre/image-actions

* fix small rebase error

* Fix mobile designs of features, faq and testimonials

* Add marketing pages to the extra's menu

* fix hero header design and include as app example design

* Fix buttons nog centering on hero

* Slightly increase bundlewatch size

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Robert-Jan de Dreu <160743+rjd22@users.noreply.github.com>
2025-01-08 15:27:36 +01:00
codecalm
ef3b0b5742 Enhance countup documentation with additional examples and explanations 2025-01-07 23:39:25 +01:00
codecalm
6877a18a3a Release 1.0.0-beta23 2025-01-07 23:16:17 +01:00
Paweł Kuna
c510fdfb9d Documentation improvements (#2042) 2025-01-07 23:14:44 +01:00
codecalm
35da0ff9b8 Merge branch 'dev' of https://github.com/tabler/tabler into dev 2025-01-07 23:14:00 +01:00
codecalm
ebca62fc2d Add countup functionality and update documentation example 2025-01-07 23:13:57 +01:00
BG-Software
df46ee7664 Do not display empty <fieldset> (#2045) 2025-01-07 22:45:07 +01:00
BG-Software
bc1d1a3066 Set font-size of webfont icon inside a button (#2046) 2025-01-07 22:44:36 +01:00
BG-Software
041f4e453f Order menu items alphabetically (#2047) 2025-01-07 22:43:43 +01:00
BG-Software
2f622c986a Mark value of $font-family-monospace !default (#2044) 2025-01-07 21:04:12 +01:00
Bartłomiej Gawęda
5625adc659 Fix unpkg links to static-files icons
Add links for both outline and filled version.
2025-01-06 21:15:52 +01:00
BG-Software
e91884e38c Fix description of alerts with a description (#2039) 2025-01-05 23:05:57 +01:00
BG-Software
5dc45aae1f Fix layout of search results for small and medium screens (#2037) 2025-01-05 23:05:45 +01:00
BG-Software
17327dc8db Remove invalid z-index setting for dropdown (#2036) 2025-01-05 23:05:29 +01:00
BG-Software
3a4f10f936 Fix ids of custom size star ratings (#2038) 2025-01-05 23:05:17 +01:00
BG-Software
4ae0358cf5 Remove text-decoration on hovering a element with child having an icon class (#2041) 2025-01-05 23:04:42 +01:00
BG-Software
54c5ad09cd Fix link to webfont icons (#2040)
* Use unpkg link instead of cdn.statically.io for webfont icons
2025-01-05 18:44:42 +01:00
codecalm
95c1130c5c Update color reference links in UI component documentation to point to the correct base colors section 2025-01-05 06:50:59 +01:00
codecalm
3f651203a7 Fix typo in browser support documentation summary 2025-01-05 06:33:13 +01:00
codecalm
aef54b8b3f Enhance Figma plugin documentation with detailed usage instructions and improved descriptions 2025-01-05 06:30:01 +01:00
codecalm
d4a317b646 Add documentation for Tabler Illustrations and update index to include link 2025-01-05 06:22:17 +01:00
codecalm
c02b6d13ff Enhance documentation with descriptions and summaries for various UI and icon sections 2025-01-05 05:33:53 +01:00
codecalm
96cc4cebb4 Add new documentation files for icons and UI components; restructure existing files 2025-01-05 04:56:14 +01:00
codecalm
630552d171 Update documentation structure and content for icons and UI components 2025-01-05 03:45:14 +01:00
codecalm
a99f2b420a Remove outdated menu.json and add index.mdx files for UI documentation structure 2025-01-05 02:10:25 +01:00
Paweł Kuna
17ebdf4b64 Docs update (#2034) 2025-01-05 00:35:28 +01:00
BG-Software
4a9e40daf1 Increase contrast of active dropdown-item in vertical layout (#2033)
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
2025-01-04 23:46:53 +01:00
BG-Software
87bf2f5745 Remove duplicated setting of color in th (#2032)
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
2025-01-04 23:46:41 +01:00
BG-Software
82cf257a5c Increase z-index of ts-dropdown (#2031)
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
2025-01-04 23:46:30 +01:00
Paweł Kuna
9015472597 Add social icons plugin (#2035) 2025-01-04 23:26:27 +01:00
Bartłomiej Gawęda
3a04567fba Describe variables for datagrid in docs 2025-01-04 12:33:52 +01:00
codecalm
3d186004b2 docs fixes 2025-01-03 03:05:07 +01:00
codecalm
bded6a46e6 docs fixes 2025-01-03 02:58:40 +01:00
codecalm
9be6ea257c remove unused cofig from code 2025-01-03 02:43:09 +01:00
codecalm
7ebb863fbd docs update 2025-01-03 02:38:05 +01:00
codecalm
e6f2f2364f Merge branch 'dev' of https://github.com/tabler/tabler into dev 2025-01-03 01:03:12 +01:00
codecalm
ce3e0168ee docs update 2025-01-03 01:03:11 +01:00
Bartłomiej Gawęda
76708e090d Fix links to Tabler Icons 2025-01-02 20:57:01 +01:00
codecalm
7b056f9feb dark iamge 2025-01-02 20:41:15 +01:00
codecalm
1ef711a3ff update screenshot 2025-01-02 20:35:15 +01:00
codecalm
7d45f50335 icon fix 2025-01-02 20:32:27 +01:00
codecalm
3e25c49827 update docs 2025-01-02 19:53:47 +01:00
codecalm
0377c80c58 url fix 2025-01-02 13:18:32 +01:00
codecalm
74759f4d04 Release 1.0.0-beta22 2025-01-02 12:01:58 +01:00
Paweł Kuna
c293a66e0a Fix @charset CSS declaration in bundle. (#2028) 2025-01-02 11:59:39 +01:00
codecalm
0ac8e337e7 Update docs structure 2025-01-02 11:25:08 +01:00
dependabot[bot]
555f4c14f1 Bump es5-ext from 0.10.62 to 0.10.64 (#2026)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-02 11:11:32 +01:00
dependabot[bot]
b910d3533f Bump nanoid from 3.3.7 to 3.3.8 (#2027)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-02 11:11:25 +01:00
codecalm
b7993ff043 dev dependencies update 2025-01-01 17:30:15 +01:00
BG-Software
507df7b6fc Fix cells with inline icons (#2022)
Co-authored-by: Bartłomiej Gawęda <bgaweda@abis.krakow.pl>
2025-01-01 15:59:35 +01:00
Paweł Kuna
867c8dd520 Update Tabler Emails to v2.0 (#2025) 2025-01-01 15:59:23 +01:00
Paweł Kuna
34d124d016 Update Tabler Icons to v3.26.0 (#2024) 2025-01-01 15:59:12 +01:00
BG-Software
f45b6979cd Fix padding in code blocks (#2023)
Co-authored-by: Bartłomiej Gawęda <bgaweda@abis.krakow.pl>
2025-01-01 13:19:42 +01:00
Paweł Kuna
7ba7717d3f Make horizontal rule direction aware (#2021) 2024-12-31 17:41:05 +01:00
Paweł Kuna
5488c50c47 New payment providers (#2019) 2024-12-31 16:16:05 +01:00
Paweł Kuna
faee63c847 Base font family improvements (#2020) 2024-12-31 16:15:44 +01:00
BG-Software
c51ff28475 Fix colors in date range datepicker (#2018)
Co-authored-by: Bartłomiej Gawęda <bgaweda@abis.krakow.pl>
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
2024-12-31 01:48:20 +01:00
Radosław Kowalewski
f6e885b07e Replace .page-center with .my-auto in single page layouts (#2009)
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
2024-12-30 22:09:31 +01:00
codecalm
b251629a65 update readme 2024-12-09 19:24:32 +01:00
codecalm
1b2f2ecd10 update readme 2024-12-09 19:23:50 +01:00
Paweł Kuna
88eb4137d9 Fix icon display issues in the Star Ratings component (#2007)
* fix #1998: star rating fix

* Create gentle-dingos-joke.md

* Fix typo in changeset description
2024-12-06 10:11:52 +01:00
codecalm
b23a9aee58 build fix 2024-12-03 22:49:22 +01:00
codecalm
f88b1ec901 build fix 2024-12-03 22:48:21 +01:00
codecalm
a951af8c4d remove unused files 2024-12-03 22:46:54 +01:00
Paweł Kuna
20cad01ad6 read changelog from CHANGELOG.md file (#2004)
* read changelog from `changelog.md` file

* Create bright-planes-bathe.md

* build fix
2024-12-03 20:57:24 +01:00
Paweł Kuna
f83e36c735 update node to version 20 (#2005)
* update node to version 20

* Create thick-dryers-push.md
2024-12-03 19:58:03 +01:00
Paweł Kuna
b0ca6fe703 update icons to v3.24.0 (#2003) 2024-12-03 19:15:36 +01:00
codecalm
20cfe0352b Merge branch 'dev' of https://github.com/tabler/tabler into dev 2024-12-03 19:14:23 +01:00
codecalm
4cd9215e03 create changeset 2024-12-03 19:14:22 +01:00
dependabot[bot]
c72b02970a Bump rexml from 3.3.6 to 3.3.9 (#1985)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-03 19:07:32 +01:00
dependabot[bot]
74880788bd Bump google-protobuf from 4.26.1 to 4.27.5 (#1964)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-03 19:07:15 +01:00
dependabot[bot]
4eb8728158 Bump webrick from 1.8.1 to 1.8.2 (#2002)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-03 19:05:11 +01:00
codecalm
7a810d1f06 Merge branch 'dev' of https://github.com/tabler/tabler into dev 2024-12-03 19:00:57 +01:00
codecalm
95ec955678 dependencies update 2024-12-03 19:00:55 +01:00
Sameer Poswal
65c13001ce Fix the z-index value of the nav-tab inside card-tab #1933 (#1953)
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
2024-12-03 18:55:13 +01:00
codecalm
3d37a759ba dependencies update 2024-12-03 18:51:01 +01:00
Patrick Laimbock
2b916dd090 Fix wrong CDN url in webfont.mdx
Adds fix from https://github.com/tabler/tabler/pull/1848 and https://github.com/tabler/tabler/pull/1891 to the 'dev' branch
2024-11-21 13:21:56 +01:00
Lachlan Jones
4e66e548a3 FIX: ensure border color works in dark mode (#1995) 2024-11-21 13:00:10 +01:00
Neri J. Jakubowski Jr.
06584bd54e FIX 1909 - Wrong gray colors (#1957) 2024-11-17 17:27:50 +01:00
Paweł Kuna
34f3efc42a Init VS Code config (#1959)
* feat: init VS Code

* Create chilly-mayflies-ring.md
2024-09-16 19:21:30 +02:00
Paweł Kuna
af41fb30f0 Update icons to v3.17.0 (#1958)
* update icons to v3.17.0

* Create modern-dogs-wonder.md
2024-09-16 18:58:58 +02:00
codecalm
506746c0ba Merge branch 'main' of https://github.com/tabler/tabler into dev 2024-09-16 18:49:43 +02:00
Venoli Gamage
8d984e53cb Update download.mdx (#1914)
To avoid confusions of users that use Webfonts
2024-09-07 13:42:02 +02:00
2781 changed files with 23831 additions and 21867 deletions

View File

@@ -1,89 +0,0 @@
{
"projectName": "tabler",
"projectOwner": "tabler",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"CONTRIBUTORS.md"
],
"imageSize": 100,
"commit": true,
"commitConvention": "angular",
"contributors": [
{
"login": "codecalm",
"name": "Paweł Kuna",
"avatar_url": "https://avatars.githubusercontent.com/u/1282324?v=4",
"profile": "https://tabler.io/",
"contributions": [
"code",
"doc"
]
},
{
"login": "martynaaj",
"name": "Martyna",
"avatar_url": "https://avatars.githubusercontent.com/u/60158888?v=4",
"profile": "https://github.com/martynaaj",
"contributions": [
"doc"
]
},
{
"login": "deralaxo",
"name": "Dawid Harat",
"avatar_url": "https://avatars.githubusercontent.com/u/40028795?v=4",
"profile": "https://github.com/deralaxo",
"contributions": [
"code"
]
},
{
"login": "rjd22",
"name": "Robert-Jan de Dreu",
"avatar_url": "https://avatars.githubusercontent.com/u/160743?v=4",
"profile": "https://codersopinion.com/",
"contributions": [
"code"
]
},
{
"login": "FreexD",
"name": "Michał Wolny",
"avatar_url": "https://avatars.githubusercontent.com/u/7117869?v=4",
"profile": "https://github.com/FreexD",
"contributions": [
"code"
]
},
{
"login": "wangkanai",
"name": "Sarin Na Wangkanai",
"avatar_url": "https://avatars.githubusercontent.com/u/10666633?v=4",
"profile": "https://www.wangkanai.com/",
"contributions": [
"code"
]
},
{
"login": "WinterSilence",
"name": "Anton",
"avatar_url": "https://avatars.githubusercontent.com/u/3521094?v=4",
"profile": "https://ensostudio.ru/",
"contributions": [
"code"
]
},
{
"login": "dheineman",
"name": "Dave Heineman",
"avatar_url": "https://avatars.githubusercontent.com/u/516028?v=4",
"profile": "https://github.com/dheineman",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
"linkToUsage": false
}

View File

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

View File

@@ -1,28 +0,0 @@
#!/usr/bin/env node
'use strict'
const fs = require('fs'),
path = require('path'),
YAML = require('yaml');
const content = YAML.parse(fs.readFileSync(path.join(__dirname, '../src/pages/_data/changelog.yml'), 'utf8')).reverse()
let readme = `# Changelog
All notable changes to this project will be documented in this file.\n`
content.forEach((change) => {
readme += `\n\n## \`${change.version}\` - ${change.date}\n\n`
if (change.description) {
readme += `**${change.description}**\n\n`
}
change.changes.forEach((line) => {
readme += `- ${line}\n`
})
console.log(change.version);
})
fs.writeFileSync(path.join(__dirname, '../CHANGELOG.md'), readme)

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,19 +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,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": minor
---
Add new `Tag` component

View File

@@ -4,8 +4,7 @@
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"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
---
Update Tabler Icons to version 2.21 with 18 new icons added

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": 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
---
`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
---
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
---
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
---
Resolve map page issues

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
---
Update `_navbar.scss` with disabled dropdown menu items color

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
---
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": 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": 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
---
Resolved light dropdown issue on dark theme

View File

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

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
---
Switch from `npm` to `pnpm` for faster package installation

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
---
Add variable to configure `avatar-list` spacing

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 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
---
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": patch
---
Add support for changeset tool for more efficient and organized code changes

View File

@@ -9,7 +9,7 @@ on:
env:
FORCE_COLOR: 2
NODE: 18
NODE: 20
jobs:
bundlewatch:
@@ -19,6 +19,14 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Set up Node.js
uses: actions/setup-node@v4
with:
@@ -26,8 +34,6 @@ jobs:
- name: Install PNPM
uses: pnpm/action-setup@v4
with:
version: 8
- name: Set up Bundler
uses: ruby/setup-ruby@v1
@@ -38,9 +44,6 @@ jobs:
- name: Install pnpm dependencies
run: pnpm install --no-frozen-lockfile
- name: Run build
run: pnpm run build
- name: Run bundlewatch
run: pnpm run bundlewatch
env:

View File

@@ -15,6 +15,10 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # to create release
issues: write # to post issue comments
pull-requests: write # to create pull request
steps:
- name: Checkout Repo
uses: actions/checkout@v4
@@ -22,28 +26,25 @@ jobs:
- name: Setup Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- name: Install PNPM
uses: pnpm/action-setup@v4
with:
version: 8
- name: Install Dependencies
run: pnpm install
- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build
run: pnpm run build
- name: Create Release Pull Request
- name: Create release Pull Request or publish to NPM
uses: changesets/action@v1
with:
publish: pnpm release
version: pnpm run version
publish: pnpm run publish
commit: "chore: update versions"
title: "chore: update versions"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@@ -1,22 +1,29 @@
name: Test build
on:
pull_request:
types: [ opened, reopened ]
pull_request: null
env:
NODE: 18
NODE: 20
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
runs-on: [ubuntu-latest, window-latest, macos-latest]
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Set up Node.js
uses: actions/setup-node@v4
with:
@@ -24,16 +31,7 @@ jobs:
- name: Install PNPM
uses: pnpm/action-setup@v4
with:
version: 8
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- run: ruby --version
- run: node --version
- name: Install pnpm dependencies

6
.gitignore vendored
View File

@@ -12,8 +12,6 @@ node_modules/
/.cache/
.sass-cache/
.vscode/
/_gh_pages/
/site/docs/**/dist/
/site/static/**/dist/
@@ -30,7 +28,9 @@ node_modules/
.yarn
.next
.vercel
.turbo
package-lock.json
demo/
dist/
dist/
packages-zip/

2
.nvmrc
View File

@@ -1 +1 @@
18
20

View File

@@ -1,3 +0,0 @@
version: 1
snapshot:
widths: [1440]

12
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,12 @@
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/.idea/": true
},
"explorerExclude.backup": {}
}

View File

@@ -1,7 +1,230 @@
# Changelog
All notable changes to this project will be documented in this file.
## 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
@@ -29,7 +252,6 @@ All notable changes to this project will be documented in this file.
- `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)
@@ -38,7 +260,6 @@ All notable changes to this project will be documented in this file.
- Fix text color in dark version of navbar (#1569)
- Changelog update
## `1.0.0-beta18` - 2023-05-14
- new page: Cookie banner
@@ -62,7 +283,6 @@ All notable changes to this project will be documented in this file.
- Dark mode lite colors improvement
- Fix non full width selects (#1392)
## `1.0.0-beta17` - 2023-01-28
- update `bootstrap` to v5.3.0
@@ -85,7 +305,6 @@ All notable changes to this project will be documented in this file.
- 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
@@ -100,7 +319,6 @@ All notable changes to this project will be documented in this file.
- homepage navbar fix
- fix #1262 - `.bg-opacity-xx` class is not functioning properly
## `1.0.0-beta15` - 2022-11-01
- new `badges` page
@@ -118,13 +336,11 @@ All notable changes to this project will be documented in this file.
- `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
@@ -155,7 +371,6 @@ All notable changes to this project will be documented in this file.
- 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
@@ -181,7 +396,6 @@ All notable changes to this project will be documented in this file.
- fix form elements demo page radio buttons
- replace `gulp-minify` with `gulp-terser`
## `1.0.0-beta11` - 2022-07-05
- new `Dropzone` component
@@ -197,7 +411,6 @@ All notable changes to this project will be documented in this file.
- 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
@@ -207,7 +420,6 @@ All notable changes to this project will be documented in this file.
- 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
@@ -221,7 +433,6 @@ All notable changes to this project will be documented in this file.
- add `font-display: swap;` to improve font loading
- new `Boxed` layout
## `1.0.0-beta8` - 2022-02-05
- update dependencies
@@ -231,7 +442,6 @@ All notable changes to this project will be documented in this file.
- 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
@@ -245,7 +455,6 @@ All notable changes to this project will be documented in this file.
- RTL stylesheet fixes
- new card action demos
## `1.0.0-beta6` - 2022-01-18
- pricing cards fix
@@ -259,7 +468,6 @@ All notable changes to this project will be documented in this file.
- 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! 🌝🌚**
@@ -277,7 +485,6 @@ All notable changes to this project will be documented in this file.
- colors unify
- add `tom-select` and remove `choices.js`
## `1.0.0-beta4` - 2021-10-24
- upgrade required node.js version to 14
@@ -286,7 +493,6 @@ All notable changes to this project will be documented in this file.
- fix #775 - litepicker not initializing
- fix `nouislider` import in dev
## `1.0.0-beta3` - 2021-05-08
- upgrade Bootstrap to 5.0
@@ -294,7 +500,6 @@ All notable changes to this project will be documented in this file.
- change `$border-radius-pill` variable
- badge vertical align fix
## `1.0.0-beta2` - 2021-03-29
- update dependencies
@@ -308,7 +513,6 @@ All notable changes to this project will be documented in this file.
- charts label fixes
- charts docs
## `1.0.0-beta` - 2021-02-17
**Initial beta release of Tabler v1.0! Lots more coming soon though 😁**

View File

@@ -3,8 +3,6 @@ FROM ruby:3.2-alpine
WORKDIR /app
ADD _config.yml /app/
ADD _config_prod.yml /app/
ADD Gemfile /app/
ADD Gemfile.lock /app/
ADD package.json /app/
ADD pnpm-lock.yaml /app/
ADD gulpfile.js /app/
@@ -13,11 +11,10 @@ RUN apk add --virtual build-dependencies build-base npm
RUN apk upgrade
RUN npm i -g pnpm
RUN pnpm install
RUN bundle config --global silence_root_warning 1 && bundler install --verbose
# website
EXPOSE 3000
# website management (browser auto reload)
EXPOSE 3001
# run tabler
ENTRYPOINT [ "pnpm", "run", "start-plugins" ]
ENTRYPOINT [ "pnpm", "run", "start" ]

14
Gemfile
View File

@@ -1,14 +0,0 @@
source "https://rubygems.org"
gem "jekyll", "4.3.3"
group :jekyll_plugins do
gem "jekyll-random"
gem "jekyll-tidy"
gem "jekyll-timeago"
gem 'jekyll-redirect-from'
end
gem 'wdm', '>= 0.1.1' if Gem.win_platform?

View File

@@ -1,92 +0,0 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
colorator (1.1.0)
concurrent-ruby (1.2.3)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.16.3)
forwardable-extended (2.6.0)
google-protobuf (4.26.1)
rake (>= 13)
htmlbeautifier (1.4.2)
htmlcompressor (0.4.0)
http_parser.rb (0.8.0)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
jekyll (4.3.3)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-random (0.1)
jekyll (>= 3.3, < 5.0)
jekyll-redirect-from (0.16.0)
jekyll (>= 3.3, < 5.0)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-tidy (0.2.2)
htmlbeautifier
htmlcompressor
jekyll
jekyll-timeago (0.15.0)
mini_i18n (>= 0.8.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
mini_i18n (0.9.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.5)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.3.6)
strscan
rouge (4.2.1)
safe_yaml (1.0.5)
sass-embedded (1.75.0)
google-protobuf (>= 3.25, < 5.0)
rake (>= 13.0.0)
strscan (3.1.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.5.0)
webrick (1.8.1)
PLATFORMS
ruby
DEPENDENCIES
jekyll (= 4.3.3)
jekyll-random
jekyll-redirect-from
jekyll-tidy
jekyll-timeago
BUNDLED WITH
2.4.19

View File

@@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2018-2023 The Tabler Authors
Copyright (c) 2018-2025 The Tabler Authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@@ -13,12 +13,29 @@ A premium and open source dashboard template with a responsive and high-quality
<a href="https://github.com/tabler/tabler" target="__blank"><img alt="GitHub stars" src="https://img.shields.io/github/stars/tabler/tabler?style=social"></a>
</p>
## Sponsors
**If you want to support our project and help me 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://raw.githubusercontent.com/tabler/static/main/sponsors.svg'>
<img src="https://cdn.jsdelivr.net/gh/tabler/sponsors@latest/sponsors.svg" alt="Tabler sponsors">
</a>
</p>
## Testing
<p align="center">Browser testing via:</p>
<p align="center">
<a href="https://www.lambdatest.com/" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/user-attachments/assets/14dd2a0a-bafe-436e-a6cb-29636278c781">
<source media="(prefers-color-scheme: light)" srcset="https://github.com/user-attachments/assets/d3dede5a-d702-47c3-bb66-4d887948ed83">
<img src="https://github.com/user-attachments/assets/d3dede5a-d702-47c3-bb66-4d887948ed83" alt="Tabler Icons preview" width="296">
</picture>
</a>
</p>
## 🔎 Preview
@@ -68,51 +85,35 @@ Support this project by becoming a sponsor. Your logo will show up in this READM
<a href="https://opencollective.com/tabler/tiers/sponsor/8/website" target="_blank"><img src="https://opencollective.com/tabler/tiers/sponsor/8/avatar.svg" /></a>
<a href="https://opencollective.com/tabler/tiers/sponsor/9/website" target="_blank"><img src="https://opencollective.com/tabler/tiers/sponsor/9/avatar.svg" /></a>
## 📦 Setup environment
To use our build system and run our documentation locally, you'll need a copy of Tabler's source files. Follow the steps below:
1. [Install Node.js](https://nodejs.org/download/), which we use to manage our dependencies.
2. Navigate to the root `/tabler` directory and run `pnpm install` to install our local dependencies listed in `package.json`.
3. [Install Ruby](https://www.ruby-lang.org/en/documentation/installation/) - the recommended version is [2.7.6](https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.6.tar.gz).
4. [Install Bundler](https://bundler.io) with `gem install bundler` and finally run `bundle install`. It will install all Ruby dependencies, such as [Jekyll and plugins](https://jekyllrb.com).
**OSX users**:
1. NPM ```pnpm install```
2. install Ruby (2.5.* recommended)
```brew install ruby @2.5```
3. install bundler
```gem install bundler```
4. install
```bundle install```
- if bundler get any errors try
```
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
```
5. Run NPM
```npm run start```
```pnpm install```
and then
```npm run start```
**Windows users**:
1. [Install Git](https://git-scm.com/download/win) in `C:\Program Files\git\bin` directory and run `npm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe"` to change the default shell.
2. [Install Ruby+Devkit](https://rubyinstaller.org/downloads/) - the recommended version is [2.7.6](https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.7.6-1/rubyinstaller-devkit-2.7.6-1-x64.exe).
3. [Read guide](https://jekyllrb.com/docs/installation/windows/) to get Jekyll up and running without problems.
[Install Git](https://git-scm.com/download/win) in `C:\Program Files\git\bin` directory and run `npm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe"` to change the default shell.
Once you complete the setup, you'll be able to run the various commands provided from the command line.
## Build locally
You need to have `pnpm` and `bundler` installed.
You need to have `pnpm` installed.
1. From the root `/tabler` directory, run installation in the command line:
- `pnpm install`
- `bundler install`
2. Then execute `pnpm run start-plugins` to start up the application stack.
1. From the root `/tabler` directory, run installation in the command line: `pnpm install`
2. Then execute `pnpm run start` to start up the application stack.
3. Open [http://localhost:3000](http://localhost:3000) in your browser, and voilà.
4. Any change in the `/src` directory will build the application and refresh the page.
@@ -132,7 +133,7 @@ npm install --save @tabler/core
**Plain Docker**
If you don't want to install node/npm/ruby and the dependencies on your local environment, you can use the provided Dockerfile to build a docker image.
If you don't want to install node/npm and the dependencies on your local environment, you can use the provided Dockerfile to build a docker image.
This Dockerfile is provided as an example to spin-up a container running Tabler.
Example of how to use this image:

View File

@@ -1,279 +0,0 @@
source: src/pages
destination: tmp
keep_files:
- css
- js
- img
- dist
- static
- playground.html
use-iconfont: false
rtl: false
title: Tabler
description: Premium and Open Source dashboard template with responsive and high quality UI.
theme-color: "#066fd1"
email: support@tabler.io
homepage: https://tabler.io
github-url: https://github.com/tabler/tabler
github-sponsors-url: https://github.com/sponsors/codecalm
changelog-url: https://github.com/tabler/tabler/releases
sponsor-url: https://github.com/sponsors/codecalm
preview-url: https://tabler.io/demo
docs-url: https://tabler.io/docs
mapbox-key: pk.eyJ1IjoidGFibGVyIiwiYSI6ImNscHh3dnhndjB2M3QycW85bGd0NXRmZ3YifQ.9LfHPsNoEXQH-xzz-81Ffw
google-maps-key: AIzaSyAr5mRB4U1KRkVznIrDWEvZjroYcD202DI
google-maps-dev-key: AIzaSyCL-BY8-sq12m0S9H-S_yMqDmcun3A9znw
npm-package: "@tabler/core"
random-date-from: "2018-01-01"
random-date-to: "2022-01-01"
debug: false
layout-dark: false
plugins:
- jekyll-random
- jekyll-tidy
- jekyll-timeago
- jekyll-redirect-from
tabler-css-plugins:
- tabler-flags
- tabler-payments
- tabler-vendors
exclude:
- .jekyll-cache
- redirects.json
markdown: kramdown
kramdown:
input: GFM
syntax_highlighter: rouge
jekyll_tidy:
compress_html: false
ignore_env: development
collections:
- free-illustrations
defaults:
- scope:
type: "pages"
path: "*.md"
values:
layout: markdown
- scope:
type: "pages"
values:
layout: default
colors:
blue:
class: blue
hex: '#066fd1'
title: Blue
azure:
class: azure
hex: '#45aaf2'
title: Azure
indigo:
class: indigo
hex: '#6574cd'
title: Indigo
purple:
class: purple
hex: '#a55eea'
title: Purple
pink:
class: pink
hex: '#f66d9b'
title: Pink
red:
class: red
hex: '#fa4654'
title: Red
orange:
class: orange
hex: '#fd9644'
title: Orange
yellow:
class: yellow
hex: '#f1c40f'
title: Yellow
lime:
class: lime
hex: '#7bd235'
title: Lime
green:
class: green
hex: '#5eba00'
title: Green
teal:
class: teal
hex: '#2bcbba'
title: Teal
cyan:
class: cyan
hex: '#17a2b8'
title: Cyan
skin-colors:
rose:
hex: '#FFCB9D'
title: Rose
class: rose
yellow:
hex: '#F0BA60'
title: Yellow
class: yellow
skin-1:
hex: '#e2c6a7'
title: Skin 1
class: skin-1
skin-2:
hex: '#c7a786'
title: Skin 2
class: skin-2
skin-3:
hex: '#a68063'
title: Skin 3
class: skin-3
skin-4:
hex: '#926241'
title: Skin 4
class: skin-4
skin-5:
hex: '#654c45'
title: Skin 5
class: skin-5
gray:
hex: '#d5d7dd'
title: Gray
class: gray
colors-extra:
white:
hex: '#ffffff'
title: White
dark:
hex: '#303645'
title: Dark
gray:
hex: '#868e96'
title: Gray
variants:
- name: success
icon: check
- name: info
icon: info-circle
- name: warning
icon: alert-triangle
- name: danger
icon: alert-circle
theme-colors:
primary:
class: primary
title: Primary
secondary:
class: secondary
title: Secondary
success:
class: success
title: Success
warning:
class: warning
title: Warning
danger:
class: danger
title: Danger
info:
class: info
title: Info
dark:
class: dark
title: Dark
light:
class: light
title: Light
button-states:
- class:
title: Normal
- class: active
title: Active state
- class: disabled
title: Disabled
socials:
x:
icon: brand-x
title: X
facebook:
icon: brand-facebook
title: Facebook
twitter:
icon: brand-twitter
title: Twitter
google:
icon: brand-google
title: Google
youtube:
icon: brand-youtube
title: Youtube
vimeo:
icon: brand-vimeo
title: Vimeo
dribbble:
icon: brand-dribbble
title: Dribbble
github:
icon: brand-github
title: Github
instagram:
icon: brand-instagram
title: Instagram
pinterest:
icon: brand-pinterest
title: Pinterest
vk:
icon: brand-vk
title: VK
rss:
icon: rss
title: RSS
flickr:
icon: brand-flickr
title: Flickr
bitbucket:
icon: brand-bitbucket
title: Bitbucket
tabler:
icon: brand-tabler
title: Tabler
months-short: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
months-long: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
icons:
link: https://tabler-icons.io
emails:
price: "$29"
count: 54
buy_link: https://r.tabler.io/buy-emails
illustrations:
price: "$59"
count: 50
buy_link: https://r.tabler.io/buy-illustrations

View File

@@ -1,4 +0,0 @@
exclude:
- redirects.json
- playground.html
- playground-*.html

38
build/reformat-mdx.mjs Normal file
View File

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

46
core/build/add-banner.mjs Normal file
View File

@@ -0,0 +1,46 @@
#!/usr/bin/env node
'use strict'
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 '@repo/banner';
const __dirname = dirname(fileURLToPath(import.meta.url))
const styles = sync(join(__dirname, '..', 'dist', 'css', '*.css'))
const plugins = {
'tabler-flags': 'Flags',
'tabler-flags.rtl': 'Flags RTL',
'tabler-marketing': 'Marketing',
'tabler-marketing.rtl': 'Marketing RTL',
'tabler-payments': 'Payments',
'tabler-payments.rtl': 'Payments RTL',
'tabler-socials': 'Socials',
'tabler-socials.rtl': 'Socials RTL',
'tabler-vendors': 'Vendors',
'tabler-vendors.rtl': 'Vendors RTL',
}
styles.forEach((file, i) => {
const content = readFileSync(file, 'utf8')
const filename = basename(file)
const pluginKey = Object.keys(plugins).find(plugin => filename.includes(plugin))
const plugin = plugins[pluginKey]
const regex = /^(@charset ['"][a-zA-Z0-9-]+['"];?)\n?/i
let newContent = ''
if (content.match(regex)) {
newContent = content.replace(regex, (m, m1) => {
return `${m1}\n${banner(plugin)}\n`
})
} else {
newContent = `${banner(plugin)}\n${content}`
}
writeFileSync(file, newContent, 'utf8')
})

View File

@@ -0,0 +1,15 @@
export default context => {
return {
map: {
inline: false,
annotation: true,
sourcesContent: true
},
plugins: {
autoprefixer: {
cascade: false
},
rtlcss: context.env === 'RTL'
}
}
}

View File

@@ -0,0 +1,46 @@
import path from 'node:path'
import process from 'node:process'
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 '@repo/banner'
const __dirname = path.dirname(fileURLToPath(import.meta.url))
const ESM = process.env.ESM === 'true'
let destinationFile = `tabler${ESM ? '.esm' : ''}`
const external = []
const plugins = [
babel({
exclude: 'node_modules/**',
babelHelpers: 'bundled'
})
]
plugins.push(
replace({
'process.env.NODE_ENV': '"production"',
preventAssignment: true
}),
nodeResolve()
)
const rollupConfig = {
input: path.resolve(__dirname, `../js/tabler.${ESM ? 'esm' : 'umd'}.js`),
output: {
banner: banner(),
file: path.resolve(__dirname, `../dist/js/${destinationFile}.js`),
format: ESM ? 'esm' : 'umd',
generatedCode: 'es2015'
},
external,
plugins
}
if (!ESM) {
rollupConfig.output.name = 'tabler'
}
export default rollupConfig

View File

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

Before

Width:  |  Height:  |  Size: 507 B

After

Width:  |  Height:  |  Size: 507 B

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 877 B

After

Width:  |  Height:  |  Size: 877 B

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

Before

Width:  |  Height:  |  Size: 611 B

After

Width:  |  Height:  |  Size: 611 B

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 584 B

After

Width:  |  Height:  |  Size: 584 B

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