@shuriken-ui/tailwind 3.1.2 → 4.0.0-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. package/package.json +30 -80
  2. package/src/css/accordion.css +175 -0
  3. package/src/css/autocomplete.css +511 -0
  4. package/src/css/avatar-group.css +138 -0
  5. package/src/css/avatar.css +738 -0
  6. package/src/css/breadcrumb.css +63 -0
  7. package/src/css/button-action.css +108 -0
  8. package/src/css/button-close.css +117 -0
  9. package/src/css/button-group.css +236 -0
  10. package/src/css/button-icon.css +97 -0
  11. package/src/css/button.css +565 -0
  12. package/src/css/card.css +69 -0
  13. package/src/css/checkbox.css +99 -0
  14. package/src/css/dropdown-divider.css +6 -0
  15. package/src/css/dropdown-item.css +62 -0
  16. package/src/css/dropdown.css +102 -0
  17. package/src/css/focus.css +12 -0
  18. package/src/css/fullscreen-dropfile.css +63 -0
  19. package/src/css/heading.css +78 -0
  20. package/src/css/icon-box.css +305 -0
  21. package/src/css/input-file-regular.css +255 -0
  22. package/src/css/input-file.css +224 -0
  23. package/src/css/input-help-text.css +7 -0
  24. package/src/css/input-number.css +469 -0
  25. package/src/css/input.css +402 -0
  26. package/src/css/kbd.css +94 -0
  27. package/src/css/label.css +6 -0
  28. package/src/css/link.css +8 -0
  29. package/src/css/list.css +23 -0
  30. package/src/css/listbox.css +511 -0
  31. package/src/css/mark.css +7 -0
  32. package/src/css/mask.css +23 -0
  33. package/src/css/message-text.css +72 -0
  34. package/src/css/message.css +245 -0
  35. package/src/css/modal.css +51 -0
  36. package/src/css/pagination.css +93 -0
  37. package/src/css/paragraph.css +78 -0
  38. package/src/css/placeholder-page.css +44 -0
  39. package/src/css/placeload.css +13 -0
  40. package/src/css/progress-circle.css +18 -0
  41. package/src/css/progress.css +90 -0
  42. package/src/css/prose.css +22 -0
  43. package/src/css/radio.css +73 -0
  44. package/src/css/select.css +404 -0
  45. package/src/css/slimscroll.css +32 -0
  46. package/src/css/snack.css +101 -0
  47. package/src/css/switch-ball.css +94 -0
  48. package/src/css/switch-thin.css +76 -0
  49. package/src/css/tab-slider.css +190 -0
  50. package/src/css/tabs.css +175 -0
  51. package/src/css/tag.css +312 -0
  52. package/src/css/text.css +78 -0
  53. package/src/css/textarea.css +228 -0
  54. package/src/css/theme-switch.css +65 -0
  55. package/src/css/theme-toggle.css +62 -0
  56. package/src/css/toast.css +132 -0
  57. package/src/css/tooltip.css +99 -0
  58. package/src/index.css +57 -0
  59. package/dist/colors.cjs +0 -2
  60. package/dist/colors.d.cts +0 -2
  61. package/dist/colors.d.mts +0 -2
  62. package/dist/colors.d.ts +0 -2
  63. package/dist/colors.mjs +0 -1
  64. package/dist/config.cjs +0 -18
  65. package/dist/config.d.cts +0 -6
  66. package/dist/config.d.mts +0 -6
  67. package/dist/config.d.ts +0 -6
  68. package/dist/config.mjs +0 -16
  69. package/dist/index.cjs +0 -25
  70. package/dist/index.d.cts +0 -11
  71. package/dist/index.d.mts +0 -11
  72. package/dist/index.d.ts +0 -11
  73. package/dist/index.mjs +0 -21
  74. package/dist/plugins/index.cjs +0 -21074
  75. package/dist/plugins/index.d.cts +0 -308
  76. package/dist/plugins/index.d.mts +0 -308
  77. package/dist/plugins/index.d.ts +0 -308
  78. package/dist/plugins/index.mjs +0 -21008
  79. package/dist/preset.cjs +0 -53
  80. package/dist/preset.d.cts +0 -3
  81. package/dist/preset.d.mts +0 -3
  82. package/dist/preset.d.ts +0 -3
  83. package/dist/preset.mjs +0 -44
  84. package/dist/shared/tailwind.6e316a50.d.cts +0 -49966
  85. package/dist/shared/tailwind.6e316a50.d.mts +0 -49966
  86. package/dist/shared/tailwind.6e316a50.d.ts +0 -49966
  87. package/dist/themes.cjs +0 -119
  88. package/dist/themes.d.cts +0 -187
  89. package/dist/themes.d.mts +0 -187
  90. package/dist/themes.d.ts +0 -187
  91. 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
@@ -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 };