@shuriken-ui/tailwind 3.1.3 → 4.0.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/preset.cjs DELETED
@@ -1,53 +0,0 @@
1
- 'use strict';
2
-
3
- const typography = require('@tailwindcss/typography');
4
- const containerQueries = require('@tailwindcss/container-queries');
5
- const plugins_index = require('./plugins/index.cjs');
6
- const themes = require('./themes.cjs');
7
- require('tailwindcss/plugin');
8
- require('defu');
9
- require('tailwindcss/colors');
10
- require('tailwindcss/defaultTheme');
11
-
12
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
13
-
14
- const typography__default = /*#__PURE__*/_interopDefaultCompat(typography);
15
- const containerQueries__default = /*#__PURE__*/_interopDefaultCompat(containerQueries);
16
-
17
- const ShurikenUISymbol = "__is_shuriken_ui";
18
- function hasPreset(config) {
19
- if (config.presets && Array.isArray(config.presets)) {
20
- return config.presets.some((preset2) => preset2 && ShurikenUISymbol in preset2);
21
- }
22
- return false;
23
- }
24
- function createPreset({
25
- theme = themes.defaultTheme,
26
- plugins = [
27
- // tailwindcss plugins
28
- typography__default,
29
- containerQueries__default,
30
- // shuriken-ui plugins
31
- plugins_index.base,
32
- plugins_index.components,
33
- plugins_index.utilities
34
- ]
35
- } = {}) {
36
- const config = {
37
- darkMode: "class",
38
- content: [],
39
- plugins,
40
- theme
41
- };
42
- Object.defineProperty(config, ShurikenUISymbol, {
43
- value: true,
44
- enumerable: false,
45
- writable: false
46
- });
47
- return config;
48
- }
49
- const preset = createPreset();
50
-
51
- exports.createPreset = createPreset;
52
- exports.hasPreset = hasPreset;
53
- exports.preset = preset;
package/dist/preset.d.cts DELETED
@@ -1,3 +0,0 @@
1
- import 'tailwindcss/types/config';
2
- export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.6e316a50.cjs';
3
- import 'tailwindcss';
package/dist/preset.d.mts DELETED
@@ -1,3 +0,0 @@
1
- import 'tailwindcss/types/config';
2
- export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.6e316a50.mjs';
3
- import 'tailwindcss';
package/dist/preset.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import 'tailwindcss/types/config';
2
- export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.6e316a50.js';
3
- import 'tailwindcss';
package/dist/preset.mjs DELETED
@@ -1,44 +0,0 @@
1
- import typography from '@tailwindcss/typography';
2
- import containerQueries from '@tailwindcss/container-queries';
3
- import { base, components, utilities } from './plugins/index.mjs';
4
- import { defaultTheme } from './themes.mjs';
5
- import 'tailwindcss/plugin';
6
- import 'defu';
7
- import 'tailwindcss/colors';
8
- import 'tailwindcss/defaultTheme';
9
-
10
- const ShurikenUISymbol = "__is_shuriken_ui";
11
- function hasPreset(config) {
12
- if (config.presets && Array.isArray(config.presets)) {
13
- return config.presets.some((preset2) => preset2 && ShurikenUISymbol in preset2);
14
- }
15
- return false;
16
- }
17
- function createPreset({
18
- theme = defaultTheme,
19
- plugins = [
20
- // tailwindcss plugins
21
- typography,
22
- containerQueries,
23
- // shuriken-ui plugins
24
- base,
25
- components,
26
- utilities
27
- ]
28
- } = {}) {
29
- const config = {
30
- darkMode: "class",
31
- content: [],
32
- plugins,
33
- theme
34
- };
35
- Object.defineProperty(config, ShurikenUISymbol, {
36
- value: true,
37
- enumerable: false,
38
- writable: false
39
- });
40
- return config;
41
- }
42
- const preset = createPreset();
43
-
44
- export { createPreset, hasPreset, preset };