Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flowbite

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flowbite - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

2

package.json
{
"name": "flowbite",
"version": "1.8.0",
"version": "1.8.1",
"description": "The most popular library of interactive components built with Tailwind CSS",

@@ -5,0 +5,0 @@ "keywords": [

@@ -807,22 +807,27 @@ /* eslint-disable @typescript-eslint/no-var-requires */

},
function (options) {
function (options = {}) {
// Enable forms and tooltip by default if not specified in options
const { charts = false, forms = true, tooltips = true } = options;
const safelist = [
'w-64',
'w-1/2',
'rounded-l-lg',
'rounded-r-lg',
'bg-gray-200',
'grid-cols-4',
'grid-cols-7',
'h-6',
'leading-6',
'h-9',
'leading-9',
'shadow-lg',
];
if (charts) {
safelist.push({ pattern: /^apexcharts-.*$/ });
}
return {
safelist: [
// datepicker classes
'w-64',
'w-1/2',
'rounded-l-lg',
'rounded-r-lg',
'bg-gray-200',
'grid-cols-4',
'grid-cols-7',
'h-6',
'leading-6',
'h-9',
'leading-9',
'shadow-lg',
// chart classes
{ pattern: /^apexcharts-.*$/ },
],
safelist: safelist,
darkMode: 'class', // or 'media' or 'class',

@@ -829,0 +834,0 @@ theme: {

@@ -94,3 +94,3 @@ <p>

```html
<link href="https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.8.0/flowbite.min.css" rel="stylesheet" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.8.1/flowbite.min.css" rel="stylesheet" />
```

@@ -101,3 +101,3 @@

```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.8.0/flowbite.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.8.1/flowbite.min.js"></script>
```

@@ -710,3 +710,3 @@

<td width="33.3333%">Device mockups</td>
<td width="33.3333%"></td>
<td width="33.3333%">Charts</td>
</tr>

@@ -724,3 +724,7 @@ <tr>

</td>
<td width="33.3333%"></td>
<td width="33.3333%">
<a href="https://flowbite.com/docs/plugins/charts/">
<img alt="Tailwind CSS Charts" src="https://flowbite.s3.amazonaws.com/github/charts.jpg">
</a>
</td>
</tr>

@@ -727,0 +731,0 @@ </table>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc