@themesberg/flowbite
Advanced tools
{ | ||
"name": "@themesberg/flowbite", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Open-source library of Tailwind CSS components and elements.", | ||
@@ -25,3 +25,3 @@ "keywords": [ | ||
"start:webpack": "webpack --mode=development --watch", | ||
"build": "NODE_ENV=production && run-s build:webpack build:hugo", | ||
"build": "NODE_ENV=production && HUGO_ENV=production && run-s build:webpack build:hugo", | ||
"build:hugo": "hugo", | ||
@@ -28,0 +28,0 @@ "build:webpack": "webpack --mode=production", |
@@ -53,2 +53,13 @@ # FlowBite - Tailwind CSS Components Library | ||
The FlowBite components library is open-source under the MIT License. Find out more by [clicking here](https://flowbite.com/docs/getting-started/license/). | ||
The FlowBite components library is open-source under the MIT License. Find out more by [clicking here](https://flowbite.com/docs/getting-started/license/). | ||
## Contributions | ||
Flowbite is an open source library under the MIT license and anyone who would like to contribute to the codebase or design is welcome to do so. | ||
Please reach out to us via the [official Github repository](https://github.com/themesberg/flowbite) and the main development team will get in touch as soon as possible. | ||
### Authors & contributors | ||
- [Zoltan Szogyenyi](https://twitter.com/zoltanszogyenyi) (web developer) | ||
- [Robert Tanislav](https://twitter.com/RobertTanislav) (web designer) | ||
- [Victor Cordos](https://twitter.com/victorcordos) (web developer) |
@@ -12,5 +12,5 @@ import './flowbite.css'; | ||
if (show) { | ||
collapseEl.classList.remove("hidden"); | ||
collapseEl.classList.remove('hidden'); | ||
} else { | ||
collapseEl.classList.add("hidden"); | ||
collapseEl.classList.add('hidden'); | ||
} | ||
@@ -53,4 +53,4 @@ } | ||
// toggle when click on the button | ||
dropdownMenuEl.classList.toggle("hidden"); | ||
dropdownMenuEl.classList.toggle("block"); | ||
dropdownMenuEl.classList.toggle('hidden'); | ||
dropdownMenuEl.classList.toggle('block'); | ||
@@ -60,4 +60,4 @@ function handleDropdownOutsideClick(event) { | ||
if (targetElement !== dropdownMenuEl && targetElement !== dropdownToggleEl && !dropdownToggleEl.contains(targetElement)) { | ||
dropdownMenuEl.classList.add("hidden"); | ||
dropdownMenuEl.classList.remove("block"); | ||
dropdownMenuEl.classList.add('hidden'); | ||
dropdownMenuEl.classList.remove('block'); | ||
document.body.removeEventListener('click', handleDropdownOutsideClick, true); | ||
@@ -114,3 +114,3 @@ } | ||
document.addEventListener("DOMContentLoaded", function () { | ||
document.addEventListener('DOMContentLoaded', function () { | ||
tippy('[data-tippy-content]'); | ||
@@ -117,0 +117,0 @@ }); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
8873972
0.01%64
20.75%