@shuriken-ui/tailwind 3.1.3 → 4.0.0-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +30 -80
- package/src/css/accordion.css +175 -0
- package/src/css/autocomplete.css +511 -0
- package/src/css/avatar-group.css +138 -0
- package/src/css/avatar.css +738 -0
- package/src/css/breadcrumb.css +63 -0
- package/src/css/button-action.css +108 -0
- package/src/css/button-close.css +117 -0
- package/src/css/button-group.css +236 -0
- package/src/css/button-icon.css +97 -0
- package/src/css/button.css +565 -0
- package/src/css/card.css +69 -0
- package/src/css/checkbox.css +99 -0
- package/src/css/dropdown-divider.css +6 -0
- package/src/css/dropdown-item.css +62 -0
- package/src/css/dropdown.css +102 -0
- package/src/css/focus.css +12 -0
- package/src/css/fullscreen-dropfile.css +63 -0
- package/src/css/heading.css +78 -0
- package/src/css/icon-box.css +305 -0
- package/src/css/input-file-regular.css +255 -0
- package/src/css/input-file.css +224 -0
- package/src/css/input-help-text.css +7 -0
- package/src/css/input-number.css +469 -0
- package/src/css/input.css +402 -0
- package/src/css/kbd.css +94 -0
- package/src/css/label.css +6 -0
- package/src/css/link.css +8 -0
- package/src/css/list.css +23 -0
- package/src/css/listbox.css +511 -0
- package/src/css/mark.css +7 -0
- package/src/css/mask.css +23 -0
- package/src/css/message-text.css +72 -0
- package/src/css/message.css +245 -0
- package/src/css/modal.css +51 -0
- package/src/css/pagination.css +93 -0
- package/src/css/paragraph.css +78 -0
- package/src/css/placeholder-page.css +44 -0
- package/src/css/placeload.css +13 -0
- package/src/css/progress-circle.css +18 -0
- package/src/css/progress.css +90 -0
- package/src/css/prose.css +22 -0
- package/src/css/radio.css +73 -0
- package/src/css/select.css +404 -0
- package/src/css/slimscroll.css +32 -0
- package/src/css/snack.css +101 -0
- package/src/css/switch-ball.css +94 -0
- package/src/css/switch-thin.css +76 -0
- package/src/css/tab-slider.css +190 -0
- package/src/css/tabs.css +175 -0
- package/src/css/tag.css +312 -0
- package/src/css/text.css +78 -0
- package/src/css/textarea.css +228 -0
- package/src/css/theme-switch.css +65 -0
- package/src/css/theme-toggle.css +62 -0
- package/src/css/toast.css +132 -0
- package/src/css/tooltip.css +99 -0
- package/src/index.css +57 -0
- 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 };
|