@sigx/lynx-daisyui 0.1.0
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/LICENSE +21 -0
- package/README.md +47 -0
- package/dist/buttons/Button.d.ts +7 -0
- package/dist/data/Avatar.d.ts +4 -0
- package/dist/feedback/Alert.d.ts +6 -0
- package/dist/feedback/Badge.d.ts +7 -0
- package/dist/feedback/Loading.d.ts +6 -0
- package/dist/feedback/Modal.d.ts +48 -0
- package/dist/feedback/Progress.d.ts +4 -0
- package/dist/feedback/Skeleton.d.ts +3 -0
- package/dist/feedback/Steps.d.ts +37 -0
- package/dist/forms/Checkbox.d.ts +5 -0
- package/dist/forms/FormField.d.ts +5 -0
- package/dist/forms/Input.d.ts +6 -0
- package/dist/forms/Radio.d.ts +48 -0
- package/dist/forms/Select.d.ts +10 -0
- package/dist/forms/Textarea.d.ts +6 -0
- package/dist/forms/Toggle.d.ts +5 -0
- package/dist/index.d.ts +52 -0
- package/dist/index.js +552 -0
- package/dist/index.js.map +1 -0
- package/dist/layout/Card.d.ts +51 -0
- package/dist/layout/Center.d.ts +5 -0
- package/dist/layout/Col.d.ts +6 -0
- package/dist/layout/Divider.d.ts +3 -0
- package/dist/layout/Row.d.ts +6 -0
- package/dist/layout/ScrollView.d.ts +5 -0
- package/dist/layout/Spacer.d.ts +3 -0
- package/dist/navigation/Tabs.d.ts +39 -0
- package/dist/preset/index.d.ts +2 -0
- package/dist/preset/index.js +26 -0
- package/dist/preset/index.js.map +1 -0
- package/dist/shared/styles.d.ts +19 -0
- package/dist/styles/base.css +6 -0
- package/dist/styles/components/alert.css +17 -0
- package/dist/styles/components/avatar.css +16 -0
- package/dist/styles/components/badge.css +44 -0
- package/dist/styles/components/button.css +79 -0
- package/dist/styles/components/card.css +39 -0
- package/dist/styles/components/checkbox.css +44 -0
- package/dist/styles/components/divider.css +14 -0
- package/dist/styles/components/form-field.css +25 -0
- package/dist/styles/components/input.css +31 -0
- package/dist/styles/components/loading.css +33 -0
- package/dist/styles/components/modal.css +41 -0
- package/dist/styles/components/progress.css +24 -0
- package/dist/styles/components/radio.css +50 -0
- package/dist/styles/components/select.css +56 -0
- package/dist/styles/components/skeleton.css +6 -0
- package/dist/styles/components/steps.css +40 -0
- package/dist/styles/components/tabs.css +23 -0
- package/dist/styles/components/textarea.css +31 -0
- package/dist/styles/components/toggle.css +46 -0
- package/dist/styles/components/typography.css +32 -0
- package/dist/styles/index.css +31 -0
- package/dist/styles/themes/dark.css +95 -0
- package/dist/styles/themes/light.css +95 -0
- package/dist/styles/themes/shapes.css +20 -0
- package/dist/typography/Heading.d.ts +6 -0
- package/dist/typography/Text.d.ts +8 -0
- package/package.json +65 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* Shape variants — override roundness tokens */
|
|
2
|
+
/* Combine with a color theme: class="daisy-light daisy-rounded" */
|
|
3
|
+
|
|
4
|
+
.daisy-flat {
|
|
5
|
+
--rounded-box: 0px;
|
|
6
|
+
--rounded-btn: 0px;
|
|
7
|
+
--rounded-badge: 0px;
|
|
8
|
+
--rounded-tab: 0px;
|
|
9
|
+
--rounded-selector: 0px;
|
|
10
|
+
--rounded-toggle: 0px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.daisy-rounded {
|
|
14
|
+
--rounded-box: 24px;
|
|
15
|
+
--rounded-btn: 9999px;
|
|
16
|
+
--rounded-badge: 9999px;
|
|
17
|
+
--rounded-tab: 9999px;
|
|
18
|
+
--rounded-selector: 9999px;
|
|
19
|
+
--rounded-toggle: 9999px;
|
|
20
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type Define } from '@sigx/lynx';
|
|
2
|
+
export type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
3
|
+
export type HeadingProps = Define.Prop<'level', HeadingLevel, false> & Define.Prop<'class', string, false> & Define.Slot<'default'>;
|
|
4
|
+
export declare const Heading: import("@sigx/runtime-core").ComponentFactory<HeadingProps, void, {
|
|
5
|
+
default: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
6
|
+
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type Define } from '@sigx/lynx';
|
|
2
|
+
export type TextSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
3
|
+
export type TextWeight = 'light' | 'normal' | 'medium' | 'semibold' | 'bold';
|
|
4
|
+
export type TextColor = 'base-content' | 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error';
|
|
5
|
+
export type TextProps = Define.Prop<'size', TextSize, false> & Define.Prop<'weight', TextWeight, false> & Define.Prop<'color', TextColor, false> & Define.Prop<'class', string, false> & Define.Slot<'default'>;
|
|
6
|
+
export declare const Text: import("@sigx/runtime-core").ComponentFactory<TextProps, void, {
|
|
7
|
+
default: () => import("@sigx/runtime-core").JSXElement | import("@sigx/runtime-core").JSXElement[] | null;
|
|
8
|
+
}>;
|
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sigx/lynx-daisyui",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "DaisyUI integration for sigx-lynx",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./preset": {
|
|
13
|
+
"types": "./dist/preset/index.d.ts",
|
|
14
|
+
"import": "./dist/preset/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./styles": "./dist/styles/index.css",
|
|
17
|
+
"./package.json": "./package.json"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/signalxjs/lynx.git",
|
|
22
|
+
"directory": "packages/lynx-daisyui"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://github.com/signalxjs/lynx/tree/main/packages/lynx-daisyui",
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/signalxjs/lynx/issues"
|
|
27
|
+
},
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"files": [
|
|
30
|
+
"dist",
|
|
31
|
+
"README.md",
|
|
32
|
+
"LICENSE"
|
|
33
|
+
],
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@sigx/lynx": "^0.1.2"
|
|
36
|
+
},
|
|
37
|
+
"peerDependencies": {
|
|
38
|
+
"tailwindcss": "^3.0.0 || ^4.0.0"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@sigx/vite": "^0.4.3",
|
|
42
|
+
"@typescript/native-preview": "7.0.0-dev.20260511.1",
|
|
43
|
+
"tailwindcss": "^4.0.0",
|
|
44
|
+
"typescript": "^6.0.3",
|
|
45
|
+
"vite": "^8.0.12"
|
|
46
|
+
},
|
|
47
|
+
"publishConfig": {
|
|
48
|
+
"access": "public"
|
|
49
|
+
},
|
|
50
|
+
"keywords": [
|
|
51
|
+
"signalx",
|
|
52
|
+
"sigx",
|
|
53
|
+
"lynx",
|
|
54
|
+
"daisyui",
|
|
55
|
+
"components",
|
|
56
|
+
"ui"
|
|
57
|
+
],
|
|
58
|
+
"author": "Andreas Ekdahl",
|
|
59
|
+
"license": "MIT",
|
|
60
|
+
"scripts": {
|
|
61
|
+
"build": "vite build && tsgo --emitDeclarationOnly && node ../../scripts/copy-assets.mjs src/styles dist/styles",
|
|
62
|
+
"dev": "vite build --watch",
|
|
63
|
+
"clean": "rm -rf dist .turbo *.tsbuildinfo"
|
|
64
|
+
}
|
|
65
|
+
}
|