@luminescent/ui 1.0.5 → 1.1.3
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/lib/components/bg.js +36 -0
- package/lib/components/btn.js +9 -0
- package/lib/components/card.js +9 -0
- package/lib/components/input.js +9 -0
- package/lib/components/loading.js +7 -0
- package/lib/components/pad.js +24 -0
- package/lib/index.js +8 -0
- package/lib/index.qwik.cjs +2730 -0
- package/lib/index.qwik.mjs +2730 -0
- package/lib/tsconfig.tsbuildinfo +1 -0
- package/lib-types/components/bg.d.ts +2 -0
- package/lib-types/components/btn.d.ts +3 -0
- package/lib-types/components/card.d.ts +3 -0
- package/lib-types/components/docs/Anchor.d.ts +2 -0
- package/lib-types/components/docs/Blobs.d.ts +2 -0
- package/lib-types/components/docs/Button.d.ts +2 -0
- package/lib-types/components/docs/Card.d.ts +2 -0
- package/lib-types/components/docs/ColorInput.d.ts +2 -0
- package/lib-types/components/docs/ColorPicker.d.ts +2 -0
- package/lib-types/components/docs/Dropdown.d.ts +2 -0
- package/lib-types/components/docs/IconsLogos.d.ts +2 -0
- package/lib-types/components/docs/Nav.d.ts +2 -0
- package/lib-types/components/docs/NumberInput.d.ts +2 -0
- package/lib-types/components/docs/TextArea.d.ts +2 -0
- package/lib-types/components/docs/TextInput.d.ts +2 -0
- package/lib-types/components/docs/Toggle.d.ts +2 -0
- package/lib-types/components/elements/Anchor.d.ts +5 -0
- package/lib-types/components/elements/Blobs.d.ts +36 -0
- package/lib-types/components/elements/Button.d.ts +182 -0
- package/lib-types/components/elements/Card.d.ts +159 -0
- package/lib-types/components/elements/ColorInput.d.ts +12 -0
- package/lib-types/components/elements/ColorPicker.d.ts +15 -0
- package/lib-types/components/elements/Dropdown.d.ts +22 -0
- package/lib-types/components/elements/Header.d.ts +12 -0
- package/lib-types/components/elements/LoadingIcon.d.ts +10 -0
- package/lib-types/components/elements/Nav.d.ts +38 -0
- package/lib-types/components/elements/NumberInput.d.ts +23 -0
- package/lib-types/components/elements/TextArea.d.ts +15 -0
- package/lib-types/components/elements/TextInput.d.ts +43 -0
- package/lib-types/components/elements/Toggle.d.ts +212 -0
- package/lib-types/components/elements.d.ts +13 -0
- package/lib-types/components/input.d.ts +3 -0
- package/lib-types/components/loading.d.ts +2 -0
- package/lib-types/components/logos/Birdflop.d.ts +7 -0
- package/lib-types/components/logos/Discord.d.ts +2 -0
- package/lib-types/components/logos/Fabric.d.ts +2 -0
- package/lib-types/components/logos/Forge.d.ts +2 -0
- package/lib-types/components/logos/IconProps.d.ts +3 -0
- package/lib-types/components/logos/Luminescent.d.ts +3 -0
- package/lib-types/components/logos/Paper.d.ts +2 -0
- package/lib-types/components/logos/Pterodactyl.d.ts +2 -0
- package/lib-types/components/logos/Purpur.d.ts +2 -0
- package/lib-types/components/logos/Velocity.d.ts +2 -0
- package/lib-types/components/logos/Waterfall.d.ts +2 -0
- package/lib-types/components/logos.d.ts +10 -0
- package/lib-types/components/pad.d.ts +2 -0
- package/lib-types/entry.dev.d.ts +2 -0
- package/lib-types/entry.ssr.d.ts +14 -0
- package/lib-types/index.d.ts +5 -0
- package/lib-types/root.d.ts +3 -0
- package/lib-types/svg/ChevronDown.d.ts +2 -0
- package/lib-types/svg/Link.d.ts +2 -0
- package/lib-types/svg/Minus.d.ts +2 -0
- package/lib-types/svg/Plus.d.ts +2 -0
- package/lib-types/svg/Shuffle.d.ts +2 -0
- package/lib-types/utils/color.d.ts +36 -0
- package/package.json +9 -10
- package/src/components/bg.ts +0 -38
- package/src/components/btn.ts +0 -9
- package/src/components/card.ts +0 -9
- package/src/components/input.ts +0 -9
- package/src/components/loading.ts +0 -9
- package/src/components/pad.ts +0 -60
- package/src/index.ts +0 -9
package/src/components/pad.ts
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import type { PluginAPI } from 'tailwindcss/types/config';
|
|
2
|
-
|
|
3
|
-
export default function ({ addComponents }: PluginAPI) {
|
|
4
|
-
addComponents({
|
|
5
|
-
'.lum-pad-xs': {
|
|
6
|
-
'@apply px-2.5 py-1.5': {},
|
|
7
|
-
'&.lum-pad-equal': {
|
|
8
|
-
'@apply p-1.5': {},
|
|
9
|
-
},
|
|
10
|
-
},
|
|
11
|
-
'.lum-pad-sm': {
|
|
12
|
-
'@apply px-3 py-2': {},
|
|
13
|
-
'&.lum-pad-equal': {
|
|
14
|
-
'@apply p-2': {},
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
'.lum-pad-md': {
|
|
18
|
-
'@apply px-4 py-2': {},
|
|
19
|
-
'&.lum-pad-equal': {
|
|
20
|
-
'@apply p-2': {},
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
'.lum-pad-lg': {
|
|
24
|
-
'@apply px-7 py-4': {},
|
|
25
|
-
'&.lum-pad-equal': {
|
|
26
|
-
'@apply p-4': {},
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
'.lum-pad-xl': {
|
|
30
|
-
'@apply px-8 py-4': {},
|
|
31
|
-
'&.lum-pad-equal': {
|
|
32
|
-
'@apply p-4': {},
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
'.lum-pad-2xl': {
|
|
36
|
-
'@apply px-10 py-5': {},
|
|
37
|
-
'&.lum-pad-equal': {
|
|
38
|
-
'@apply p-5': {},
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
'.lum-pad-3xl': {
|
|
42
|
-
'@apply px-12 py-6': {},
|
|
43
|
-
'&.lum-pad-equal': {
|
|
44
|
-
'@apply p-6': {},
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
'.lum-pad-4xl': {
|
|
48
|
-
'@apply px-14 py-7': {},
|
|
49
|
-
'&.lum-pad-equal': {
|
|
50
|
-
'@apply p-7': {},
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
'.lum-pad-5xl': {
|
|
54
|
-
'@apply px-16 py-8': {},
|
|
55
|
-
'&.lum-pad-equal': {
|
|
56
|
-
'@apply p-8': {},
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
});
|
|
60
|
-
}
|
package/src/index.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import plugin from 'tailwindcss/plugin';
|
|
2
|
-
import { readdirSync } from 'fs';
|
|
3
|
-
|
|
4
|
-
export default plugin(function (plugin) {
|
|
5
|
-
const components = readdirSync(__dirname + '/components').map((file: string) => file.split('.')[0]) as string[];
|
|
6
|
-
components.forEach((component) => {
|
|
7
|
-
import(`./components/${component}`).then((module) => module.default(plugin));
|
|
8
|
-
});
|
|
9
|
-
});
|