@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/README.md +20 -74
- package/lib/css/focus.css +4 -0
- package/lib/css/mark.css +4 -0
- package/lib/css/mask.css +20 -0
- package/lib/css/slimscroll.css +32 -0
- package/lib/index.css +18 -0
- package/lib/theme.css +126 -0
- package/package.json +15 -104
- package/LICENSE.md +0 -21
- package/dist/colors.cjs +0 -2
- package/dist/colors.d.cts +0 -2
- package/dist/colors.d.mts +0 -2
- package/dist/colors.d.ts +0 -2
- package/dist/colors.mjs +0 -1
- package/dist/config.cjs +0 -18
- package/dist/config.d.cts +0 -6
- package/dist/config.d.mts +0 -6
- package/dist/config.d.ts +0 -6
- package/dist/config.mjs +0 -16
- package/dist/index.cjs +0 -25
- package/dist/index.d.cts +0 -11
- package/dist/index.d.mts +0 -11
- package/dist/index.d.ts +0 -11
- package/dist/index.mjs +0 -21
- package/dist/plugins/index.cjs +0 -21074
- package/dist/plugins/index.d.cts +0 -308
- package/dist/plugins/index.d.mts +0 -308
- package/dist/plugins/index.d.ts +0 -308
- package/dist/plugins/index.mjs +0 -21008
- package/dist/preset.cjs +0 -53
- package/dist/preset.d.cts +0 -3
- package/dist/preset.d.mts +0 -3
- package/dist/preset.d.ts +0 -3
- package/dist/preset.mjs +0 -44
- package/dist/shared/tailwind.6e316a50.d.cts +0 -49966
- package/dist/shared/tailwind.6e316a50.d.mts +0 -49966
- package/dist/shared/tailwind.6e316a50.d.ts +0 -49966
- package/dist/themes.cjs +0 -119
- package/dist/themes.d.cts +0 -187
- package/dist/themes.d.mts +0 -187
- package/dist/themes.d.ts +0 -187
- package/dist/themes.mjs +0 -113
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
package/dist/preset.d.mts
DELETED
package/dist/preset.d.ts
DELETED
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 };
|