@proyecto-viviana/ui 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.
Files changed (68) hide show
  1. package/dist/alert/index.d.ts +12 -0
  2. package/dist/alert/index.d.ts.map +1 -0
  3. package/dist/avatar/index.d.ts +17 -0
  4. package/dist/avatar/index.d.ts.map +1 -0
  5. package/dist/badge/index.d.ts +12 -0
  6. package/dist/badge/index.d.ts.map +1 -0
  7. package/dist/button/Button.d.ts +19 -0
  8. package/dist/button/Button.d.ts.map +1 -0
  9. package/dist/button/index.d.ts +3 -0
  10. package/dist/button/index.d.ts.map +1 -0
  11. package/dist/button/types.d.ts +23 -0
  12. package/dist/button/types.d.ts.map +1 -0
  13. package/dist/checkbox/index.d.ts +43 -0
  14. package/dist/checkbox/index.d.ts.map +1 -0
  15. package/dist/components.css +975 -0
  16. package/dist/custom/calendar-card/index.d.ts +12 -0
  17. package/dist/custom/calendar-card/index.d.ts.map +1 -0
  18. package/dist/custom/chip/index.d.ts +11 -0
  19. package/dist/custom/chip/index.d.ts.map +1 -0
  20. package/dist/custom/conversation/index.d.ts +32 -0
  21. package/dist/custom/conversation/index.d.ts.map +1 -0
  22. package/dist/custom/event-card/index.d.ts +26 -0
  23. package/dist/custom/event-card/index.d.ts.map +1 -0
  24. package/dist/custom/lateral-nav/index.d.ts +32 -0
  25. package/dist/custom/lateral-nav/index.d.ts.map +1 -0
  26. package/dist/custom/logo/index.d.ts +26 -0
  27. package/dist/custom/logo/index.d.ts.map +1 -0
  28. package/dist/custom/nav-header/index.d.ts +12 -0
  29. package/dist/custom/nav-header/index.d.ts.map +1 -0
  30. package/dist/custom/page-layout/index.d.ts +11 -0
  31. package/dist/custom/page-layout/index.d.ts.map +1 -0
  32. package/dist/custom/profile-card/index.d.ts +12 -0
  33. package/dist/custom/profile-card/index.d.ts.map +1 -0
  34. package/dist/custom/project-card/index.d.ts +24 -0
  35. package/dist/custom/project-card/index.d.ts.map +1 -0
  36. package/dist/custom/timeline-item/index.d.ts +18 -0
  37. package/dist/custom/timeline-item/index.d.ts.map +1 -0
  38. package/dist/dialog/index.d.ts +18 -0
  39. package/dist/dialog/index.d.ts.map +1 -0
  40. package/dist/icon/icons/GitHubIcon.d.ts +7 -0
  41. package/dist/icon/icons/GitHubIcon.d.ts.map +1 -0
  42. package/dist/icon/index.d.ts +28 -0
  43. package/dist/icon/index.d.ts.map +1 -0
  44. package/dist/index.d.ts +51 -0
  45. package/dist/index.d.ts.map +1 -0
  46. package/dist/index.js +1988 -0
  47. package/dist/index.js.map +1 -0
  48. package/dist/link/index.d.ts +39 -0
  49. package/dist/link/index.d.ts.map +1 -0
  50. package/dist/progress-bar/index.d.ts +49 -0
  51. package/dist/progress-bar/index.d.ts.map +1 -0
  52. package/dist/radio/index.d.ts +43 -0
  53. package/dist/radio/index.d.ts.map +1 -0
  54. package/dist/separator/index.d.ts +42 -0
  55. package/dist/separator/index.d.ts.map +1 -0
  56. package/dist/styles.css +450 -0
  57. package/dist/switch/ToggleSwitch.d.ts +28 -0
  58. package/dist/switch/ToggleSwitch.d.ts.map +1 -0
  59. package/dist/switch/index.d.ts +26 -0
  60. package/dist/switch/index.d.ts.map +1 -0
  61. package/dist/test-utils/index.d.ts +44 -0
  62. package/dist/test-utils/index.d.ts.map +1 -0
  63. package/dist/textfield/index.d.ts +31 -0
  64. package/dist/textfield/index.d.ts.map +1 -0
  65. package/dist/theme.css +101 -0
  66. package/dist/tooltip/index.d.ts +17 -0
  67. package/dist/tooltip/index.d.ts.map +1 -0
  68. package/package.json +55 -0
@@ -0,0 +1,17 @@
1
+ import type { JSX } from 'solid-js';
2
+ export interface TooltipProps {
3
+ /** The content to show in the tooltip */
4
+ label: string;
5
+ /** The trigger element */
6
+ children: JSX.Element;
7
+ /** Position of the tooltip */
8
+ position?: 'top' | 'bottom';
9
+ /** Additional CSS class */
10
+ class?: string;
11
+ }
12
+ /**
13
+ * Tooltip component that shows a label on hover.
14
+ * Uses CSS-only hover effect for performance.
15
+ */
16
+ export declare function Tooltip(props: TooltipProps): JSX.Element;
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tooltip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAA;IACb,0BAA0B;IAC1B,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IAC3B,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;GAGG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CAaxD"}
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@proyecto-viviana/ui",
3
+ "version": "0.1.0",
4
+ "description": "Styled UI components for SolidJS - inspired by React Spectrum",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "solid": "./dist/index.js",
12
+ "import": "./dist/index.js",
13
+ "types": "./dist/index.d.ts"
14
+ },
15
+ "./theme.css": "./dist/theme.css",
16
+ "./styles.css": "./dist/styles.css",
17
+ "./components.css": "./dist/components.css"
18
+ },
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "sideEffects": [
23
+ "*.css"
24
+ ],
25
+ "scripts": {
26
+ "build": "rimraf dist tsconfig.build.tsbuildinfo && vite build && tsc -p tsconfig.build.json",
27
+ "dev": "vite build --watch",
28
+ "prepublishOnly": "bun run build"
29
+ },
30
+ "dependencies": {
31
+ "@proyecto-viviana/solidaria": "^0.0.1",
32
+ "@proyecto-viviana/solidaria-components": "^0.0.1"
33
+ },
34
+ "peerDependencies": {
35
+ "solid-js": "^1.9.0"
36
+ },
37
+ "devDependencies": {
38
+ "solid-js": "^1.9.10"
39
+ },
40
+ "keywords": [
41
+ "solid",
42
+ "solidjs",
43
+ "ui",
44
+ "components",
45
+ "design-system"
46
+ ],
47
+ "license": "MIT",
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "https://github.com/proyecto-viviana/proyecto-viviana"
51
+ },
52
+ "publishConfig": {
53
+ "access": "public"
54
+ }
55
+ }