Comparing version 0.0.0-insiders.5.0.0-alpha.11-2 to 0.0.0-insiders.5.0.0-alpha.11-3
114
index.js
@@ -42,54 +42,66 @@ import rootColor from './base/root-color/index.js'; | ||
export default ({ addBase, addComponents, addUtilities }) => { | ||
addBase({ | ||
...rootColor, | ||
...properties, | ||
...scrollbar, | ||
}) | ||
addComponents({ | ||
...kbd, | ||
...dropdown, | ||
...navbar, | ||
...footer, | ||
...tooltip, | ||
...rating, | ||
...radio, | ||
...card, | ||
...loading, | ||
...progress, | ||
...chat, | ||
...countdown, | ||
...input, | ||
...alert, | ||
...skeleton, | ||
...swap, | ||
...checkbox, | ||
...collapse, | ||
...status, | ||
...tab, | ||
...toggle, | ||
...mask, | ||
...button, | ||
...steps, | ||
...link, | ||
...table, | ||
...radialProgress, | ||
...divider, | ||
...menu, | ||
...avatar, | ||
...select, | ||
...stack, | ||
...hero, | ||
...range, | ||
...timeline, | ||
...badge, | ||
}) | ||
addUtilities({ ...join, }), | ||
{ | ||
theme: { | ||
colors: { | ||
x: 'red', | ||
}, | ||
}, | ||
const plugin = (handler, config) => { | ||
return { handler: handler, config: config } | ||
} | ||
plugin.withOptions = (handlerFn, configFn = () => ({})) => { | ||
const optionsFunction = (options) => { | ||
return { handler: handlerFn(options), config: configFn(options) } | ||
} | ||
return (optionsFunction.__isOptionsFunction = true), optionsFunction | ||
} | ||
export default { | ||
theme: { | ||
colors: { | ||
test: 'red', | ||
}, | ||
}, | ||
plugins: [ | ||
plugin(({ addBase, addComponents, addUtilities }) => { | ||
addBase({ | ||
...rootColor, | ||
...properties, | ||
...scrollbar, | ||
}) | ||
addComponents({ | ||
...kbd, | ||
...dropdown, | ||
...navbar, | ||
...footer, | ||
...tooltip, | ||
...rating, | ||
...radio, | ||
...card, | ||
...loading, | ||
...progress, | ||
...chat, | ||
...countdown, | ||
...input, | ||
...alert, | ||
...skeleton, | ||
...swap, | ||
...checkbox, | ||
...collapse, | ||
...status, | ||
...tab, | ||
...toggle, | ||
...mask, | ||
...button, | ||
...steps, | ||
...link, | ||
...table, | ||
...radialProgress, | ||
...divider, | ||
...menu, | ||
...avatar, | ||
...select, | ||
...stack, | ||
...hero, | ||
...range, | ||
...timeline, | ||
...badge, | ||
}) | ||
addUtilities({ ...join, }) | ||
}) | ||
], | ||
} |
{ | ||
"type": "module", | ||
"name": "daisyui", | ||
"version": "0.0.0-insiders.5.0.0-alpha.11-2", | ||
"version": "0.0.0-insiders.5.0.0-alpha.11-3", | ||
"description": "daisyUI - Tailwind CSS Components", | ||
@@ -6,0 +6,0 @@ "author": "Pouya Saadeghi", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
762496
911