@pathscale/ui 0.0.13 → 0.0.15

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 (174) hide show
  1. package/README.md +44 -39
  2. package/dist/index.js +7170 -29
  3. package/package.json +42 -48
  4. package/dist/Autocomplete-gLkjMHrc.d.ts +0 -28
  5. package/dist/Avatar-Dkd_kPlV.d.ts +0 -40
  6. package/dist/CollapseTitle-BNxog3is.d.ts +0 -12
  7. package/dist/Field-DI2PA30N.d.ts +0 -49
  8. package/dist/Mask-CPb596Mg.d.ts +0 -16
  9. package/dist/Menu-DgO4SHmA.d.ts +0 -45
  10. package/dist/Progress-ChF4ior8.d.ts +0 -64
  11. package/dist/Steps-Dk-UPL6r.d.ts +0 -38
  12. package/dist/Table-CGa6Nop3.d.ts +0 -39
  13. package/dist/Tabs-WiUU0xsM.d.ts +0 -42
  14. package/dist/Timeline-Bd4SxHMT.d.ts +0 -14
  15. package/dist/chunk/2OJYONJ3.js +0 -40
  16. package/dist/chunk/2VQ2762Z.js +0 -80
  17. package/dist/chunk/2XPPNBYK.js +0 -164
  18. package/dist/chunk/3FBDYV4P.js +0 -143
  19. package/dist/chunk/3I23P4TJ.js +0 -33
  20. package/dist/chunk/55B7Q4NT.jsx +0 -258
  21. package/dist/chunk/5HG7XWVC.jsx +0 -2956
  22. package/dist/chunk/5IJ7WEIF.js +0 -43
  23. package/dist/chunk/5O6WC3OB.jsx +0 -67
  24. package/dist/chunk/64ESNXN4.js +0 -1
  25. package/dist/chunk/6P5JIKPF.jsx +0 -51
  26. package/dist/chunk/BHLLVOVR.js +0 -46
  27. package/dist/chunk/C4YO33NN.jsx +0 -179
  28. package/dist/chunk/DJI5XKAV.js +0 -31
  29. package/dist/chunk/DN3P54J2.jsx +0 -43
  30. package/dist/chunk/DSTUGZW6.jsx +0 -81
  31. package/dist/chunk/DVFQAAZR.js +0 -43
  32. package/dist/chunk/EDDBK4J6.js +0 -42
  33. package/dist/chunk/FKSQPGOD.jsx +0 -170
  34. package/dist/chunk/FZRQDGPD.jsx +0 -54
  35. package/dist/chunk/G5UEZ2VC.js +0 -49
  36. package/dist/chunk/GL7JG772.js +0 -114
  37. package/dist/chunk/GMIXRYN3.js +0 -138
  38. package/dist/chunk/H2Q3L5KM.js +0 -48
  39. package/dist/chunk/HEOKGP5U.js +0 -55
  40. package/dist/chunk/HKS7ET6T.js +0 -56
  41. package/dist/chunk/HUHXQCKK.js +0 -16
  42. package/dist/chunk/HWAGW5N4.jsx +0 -118
  43. package/dist/chunk/I36LHZUY.jsx +0 -31
  44. package/dist/chunk/IG323YKF.jsx +0 -50
  45. package/dist/chunk/JQ4HSRDP.js +0 -142
  46. package/dist/chunk/JSQBKK7L.jsx +0 -50
  47. package/dist/chunk/JWRGKHDO.js +0 -172
  48. package/dist/chunk/K3WO7SRD.js +0 -1
  49. package/dist/chunk/KQ3RAWCE.jsx +0 -57
  50. package/dist/chunk/KV6LTJHI.jsx +0 -175
  51. package/dist/chunk/KXJZKDJX.jsx +0 -0
  52. package/dist/chunk/L4A67X7S.js +0 -7
  53. package/dist/chunk/LGDDR242.jsx +0 -159
  54. package/dist/chunk/MAX47D6F.js +0 -99
  55. package/dist/chunk/MM2DZQL3.js +0 -46
  56. package/dist/chunk/MYERRMTM.js +0 -200
  57. package/dist/chunk/O7LDJCQS.jsx +0 -18
  58. package/dist/chunk/OJRG4ZAB.jsx +0 -143
  59. package/dist/chunk/P653OZ5D.js +0 -224
  60. package/dist/chunk/P7WPLZNA.jsx +0 -59
  61. package/dist/chunk/PFB27MP3.jsx +0 -0
  62. package/dist/chunk/Q4442PU4.js +0 -42
  63. package/dist/chunk/QYEMOKUG.js +0 -125
  64. package/dist/chunk/R5G3PODL.jsx +0 -11
  65. package/dist/chunk/R6ZBT7CY.jsx +0 -55
  66. package/dist/chunk/RHEFVSMJ.jsx +0 -52
  67. package/dist/chunk/SPEY5RMB.js +0 -84
  68. package/dist/chunk/STFCLC5R.js +0 -2954
  69. package/dist/chunk/STKRVQR6.jsx +0 -130
  70. package/dist/chunk/SVJIYMYJ.jsx +0 -156
  71. package/dist/chunk/SYWB4UN3.jsx +0 -64
  72. package/dist/chunk/T2LDLYWV.jsx +0 -101
  73. package/dist/chunk/T324HUIT.jsx +0 -57
  74. package/dist/chunk/T5LDPSFV.jsx +0 -122
  75. package/dist/chunk/UNKDNDT3.js +0 -62
  76. package/dist/chunk/VN5BKHA2.jsx +0 -97
  77. package/dist/chunk/WOT36Q7O.js +0 -166
  78. package/dist/chunk/WUZETUQR.js +0 -92
  79. package/dist/chunk/XM3KF5LV.jsx +0 -179
  80. package/dist/chunk/YWIT2MRI.jsx +0 -43
  81. package/dist/chunk/ZH7DKMMN.js +0 -109
  82. package/dist/chunk/ZYEP35R3.jsx +0 -60
  83. package/dist/classes-B_S9K-9I.d.ts +0 -13
  84. package/dist/components/Progress/index.d.ts +0 -7
  85. package/dist/components/Progress/index.js +0 -1
  86. package/dist/components/Progress/index.jsx +0 -7
  87. package/dist/components/accordion/index.d.ts +0 -20
  88. package/dist/components/accordion/index.js +0 -1
  89. package/dist/components/accordion/index.jsx +0 -9
  90. package/dist/components/autocomplete/index.d.ts +0 -8
  91. package/dist/components/autocomplete/index.js +0 -1
  92. package/dist/components/autocomplete/index.jsx +0 -7
  93. package/dist/components/avatar/index.d.ts +0 -8
  94. package/dist/components/avatar/index.js +0 -1
  95. package/dist/components/avatar/index.jsx +0 -8
  96. package/dist/components/badge/index.d.ts +0 -17
  97. package/dist/components/badge/index.js +0 -1
  98. package/dist/components/badge/index.jsx +0 -8
  99. package/dist/components/breadcrumbs/index.d.ts +0 -9
  100. package/dist/components/breadcrumbs/index.js +0 -1
  101. package/dist/components/breadcrumbs/index.jsx +0 -7
  102. package/dist/components/button/index.d.ts +0 -31
  103. package/dist/components/button/index.js +0 -1
  104. package/dist/components/button/index.jsx +0 -9
  105. package/dist/components/checkbox/index.d.ts +0 -16
  106. package/dist/components/checkbox/index.js +0 -1
  107. package/dist/components/checkbox/index.jsx +0 -8
  108. package/dist/components/collapse/index.d.ts +0 -15
  109. package/dist/components/collapse/index.js +0 -1
  110. package/dist/components/collapse/index.jsx +0 -14
  111. package/dist/components/dropdown/index.d.ts +0 -27
  112. package/dist/components/dropdown/index.js +0 -1
  113. package/dist/components/dropdown/index.jsx +0 -13
  114. package/dist/components/field/index.d.ts +0 -7
  115. package/dist/components/field/index.js +0 -1
  116. package/dist/components/field/index.jsx +0 -7
  117. package/dist/components/fileinput/index.d.ts +0 -16
  118. package/dist/components/fileinput/index.js +0 -1
  119. package/dist/components/fileinput/index.jsx +0 -8
  120. package/dist/components/input/index.d.ts +0 -15
  121. package/dist/components/input/index.js +0 -1
  122. package/dist/components/input/index.jsx +0 -8
  123. package/dist/components/join/index.d.ts +0 -11
  124. package/dist/components/join/index.js +0 -1
  125. package/dist/components/join/index.jsx +0 -9
  126. package/dist/components/loading/index.d.ts +0 -11
  127. package/dist/components/loading/index.js +0 -1
  128. package/dist/components/loading/index.jsx +0 -9
  129. package/dist/components/mask/index.d.ts +0 -7
  130. package/dist/components/mask/index.js +0 -1
  131. package/dist/components/mask/index.jsx +0 -8
  132. package/dist/components/menu/index.d.ts +0 -8
  133. package/dist/components/menu/index.js +0 -1
  134. package/dist/components/menu/index.jsx +0 -8
  135. package/dist/components/navbar/index.d.ts +0 -36
  136. package/dist/components/navbar/index.js +0 -1
  137. package/dist/components/navbar/index.jsx +0 -11
  138. package/dist/components/pagination/index.d.ts +0 -8
  139. package/dist/components/pagination/index.js +0 -1
  140. package/dist/components/pagination/index.jsx +0 -9
  141. package/dist/components/polymorphic/index.d.ts +0 -34
  142. package/dist/components/polymorphic/index.js +0 -1
  143. package/dist/components/polymorphic/index.jsx +0 -8
  144. package/dist/components/select/index.d.ts +0 -15
  145. package/dist/components/select/index.js +0 -1
  146. package/dist/components/select/index.jsx +0 -8
  147. package/dist/components/steps/index.d.ts +0 -7
  148. package/dist/components/steps/index.js +0 -1
  149. package/dist/components/steps/index.jsx +0 -8
  150. package/dist/components/table/index.d.ts +0 -8
  151. package/dist/components/table/index.js +0 -1
  152. package/dist/components/table/index.jsx +0 -7
  153. package/dist/components/tabs/index.d.ts +0 -8
  154. package/dist/components/tabs/index.js +0 -1
  155. package/dist/components/tabs/index.jsx +0 -7
  156. package/dist/components/textarea/index.d.ts +0 -15
  157. package/dist/components/textarea/index.js +0 -1
  158. package/dist/components/textarea/index.jsx +0 -8
  159. package/dist/components/timeline/index.d.ts +0 -7
  160. package/dist/components/timeline/index.js +0 -1
  161. package/dist/components/timeline/index.jsx +0 -7
  162. package/dist/components/toast/index.d.ts +0 -24
  163. package/dist/components/toast/index.js +0 -1
  164. package/dist/components/toast/index.jsx +0 -11
  165. package/dist/components/toggle/index.d.ts +0 -15
  166. package/dist/components/toggle/index.js +0 -1
  167. package/dist/components/toggle/index.jsx +0 -8
  168. package/dist/components/tooltip/index.d.ts +0 -17
  169. package/dist/components/tooltip/index.js +0 -1
  170. package/dist/components/tooltip/index.jsx +0 -8
  171. package/dist/index.css +0 -73
  172. package/dist/index.d.ts +0 -33
  173. package/dist/index.jsx +0 -143
  174. package/dist/types-CUG9pToa.d.ts +0 -15
@@ -1,9 +0,0 @@
1
- import {
2
- Pagination_default
3
- } from "../../chunk/R5G3PODL.jsx";
4
- import "../../chunk/DN3P54J2.jsx";
5
- import "../../chunk/O7LDJCQS.jsx";
6
- import "../../chunk/5HG7XWVC.jsx";
7
- export {
8
- Pagination_default as default
9
- };
@@ -1,34 +0,0 @@
1
- import * as solid_js from 'solid-js';
2
- import { ValidComponent, JSX, ComponentProps, Ref } from 'solid-js';
3
-
4
- type OverrideProps<T, P> = Omit<T, keyof P> & P;
5
-
6
- type PolymorphicAttributes<T extends ValidComponent> = {
7
- /**
8
- * Component to render the polymorphic component as.
9
- * @defaultValue `div`
10
- */
11
- as?: T | keyof JSX.HTMLElementTags;
12
- };
13
- type PolymorphicProps<T extends ValidComponent, P extends object> = OverrideProps<ComponentProps<T>, P & PolymorphicAttributes<T>>;
14
- /**
15
- * Renders as a div by default and can be overridden with the `as` property.
16
- */
17
- declare const Polymorphic: <ElementProps>(props: PolymorphicAttributes<ValidComponent> & ElementProps) => JSX.Element;
18
-
19
- type ElementOf<T> = T extends keyof HTMLElementTagNameMap ? HTMLElementTagNameMap[T] : unknown;
20
-
21
- type PolymorphicButtonSharedProps<T extends ValidComponent = "button"> = {
22
- ref: Ref<ElementOf<T>>;
23
- };
24
- type PolymorphicButtonElementProps = PolymorphicButtonSharedProps & {
25
- role: "button" | undefined;
26
- };
27
- type PolymorphicButtonProps<T extends ValidComponent = "button"> = Partial<PolymorphicButtonSharedProps<T>>;
28
- /**
29
- * An accessible button that sets `type` and `role` properly based on
30
- * if it's a native button.
31
- */
32
- declare const PolymorphicButton: <T extends ValidComponent = "button">(props: PolymorphicProps<T, PolymorphicButtonProps<T>>) => solid_js.JSX.Element;
33
-
34
- export { Polymorphic, type PolymorphicAttributes, PolymorphicButton, type PolymorphicButtonElementProps, type PolymorphicButtonProps, type PolymorphicButtonSharedProps, type PolymorphicProps };
@@ -1 +0,0 @@
1
- export { Polymorphic_default as Polymorphic, PolymorphicButton_default as PolymorphicButton } from '../../chunk/SPEY5RMB.js';
@@ -1,8 +0,0 @@
1
- import {
2
- PolymorphicButton_default,
3
- Polymorphic_default
4
- } from "../../chunk/T2LDLYWV.jsx";
5
- export {
6
- Polymorphic_default as Polymorphic,
7
- PolymorphicButton_default as PolymorphicButton
8
- };
@@ -1,15 +0,0 @@
1
- import { Component, JSX } from 'solid-js';
2
- import { b as ComponentColor, C as ComponentSize, I as IComponentBaseProps } from '../../types-CUG9pToa.js';
3
-
4
- type SelectBaseProps = {
5
- color?: ComponentColor;
6
- size?: ComponentSize;
7
- dataTheme?: string;
8
- class?: string;
9
- className?: string;
10
- style?: JSX.CSSProperties;
11
- };
12
- type SelectProps = SelectBaseProps & IComponentBaseProps & Omit<JSX.SelectHTMLAttributes<HTMLSelectElement>, keyof SelectBaseProps>;
13
- declare const Select: Component<SelectProps>;
14
-
15
- export { Select as default };
@@ -1 +0,0 @@
1
- export { Select_default as default } from '../../chunk/5IJ7WEIF.js';
@@ -1,8 +0,0 @@
1
- import {
2
- Select_default
3
- } from "../../chunk/RHEFVSMJ.jsx";
4
- import "../../chunk/O7LDJCQS.jsx";
5
- import "../../chunk/5HG7XWVC.jsx";
6
- export {
7
- Select_default as default
8
- };
@@ -1,7 +0,0 @@
1
- import { _ as _default } from '../../Steps-Dk-UPL6r.js';
2
- import 'solid-js';
3
- import '../../types-CUG9pToa.js';
4
-
5
-
6
-
7
- export { _default as default };
@@ -1 +0,0 @@
1
- export { steps_default as default } from '../../chunk/GL7JG772.js';
@@ -1,8 +0,0 @@
1
- import {
2
- steps_default
3
- } from "../../chunk/LGDDR242.jsx";
4
- import "../../chunk/O7LDJCQS.jsx";
5
- import "../../chunk/5HG7XWVC.jsx";
6
- export {
7
- steps_default as default
8
- };
@@ -1,8 +0,0 @@
1
- import { T as Table } from '../../Table-CGa6Nop3.js';
2
- export { C as Column, a as TableProps } from '../../Table-CGa6Nop3.js';
3
- import 'solid-js';
4
- import '../../classes-B_S9K-9I.js';
5
-
6
-
7
-
8
- export { Table as default };
@@ -1 +0,0 @@
1
- export { table_default as default } from '../../chunk/QYEMOKUG.js';
@@ -1,7 +0,0 @@
1
- import {
2
- table_default
3
- } from "../../chunk/HWAGW5N4.jsx";
4
- import "../../chunk/P7WPLZNA.jsx";
5
- export {
6
- table_default as default
7
- };
@@ -1,8 +0,0 @@
1
- import { T as Tabs } from '../../Tabs-WiUU0xsM.js';
2
- export { a as TabsProps } from '../../Tabs-WiUU0xsM.js';
3
- import 'solid-js';
4
- import '../../classes-B_S9K-9I.js';
5
-
6
-
7
-
8
- export { Tabs as default };
@@ -1 +0,0 @@
1
- export { tabs_default as default } from '../../chunk/WOT36Q7O.js';
@@ -1,7 +0,0 @@
1
- import {
2
- tabs_default
3
- } from "../../chunk/KV6LTJHI.jsx";
4
- import "../../chunk/P7WPLZNA.jsx";
5
- export {
6
- tabs_default as default
7
- };
@@ -1,15 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- import { b as ComponentColor, C as ComponentSize, I as IComponentBaseProps } from '../../types-CUG9pToa.js';
3
-
4
- type TextareaBaseProps = {
5
- color?: ComponentColor;
6
- size?: ComponentSize;
7
- dataTheme?: string;
8
- class?: string;
9
- className?: string;
10
- style?: JSX.CSSProperties;
11
- };
12
- type TextareaProps = TextareaBaseProps & IComponentBaseProps & Omit<JSX.TextareaHTMLAttributes<HTMLTextAreaElement>, keyof TextareaBaseProps>;
13
- declare const Textarea: (props: TextareaProps) => JSX.Element;
14
-
15
- export { Textarea as default };
@@ -1 +0,0 @@
1
- export { Textarea_default as default } from '../../chunk/Q4442PU4.js';
@@ -1,8 +0,0 @@
1
- import {
2
- Textarea_default
3
- } from "../../chunk/IG323YKF.jsx";
4
- import "../../chunk/O7LDJCQS.jsx";
5
- import "../../chunk/5HG7XWVC.jsx";
6
- export {
7
- Textarea_default as default
8
- };
@@ -1,7 +0,0 @@
1
- import { T as Timeline } from '../../Timeline-Bd4SxHMT.js';
2
- export { a as TimelineProps } from '../../Timeline-Bd4SxHMT.js';
3
- import 'solid-js';
4
-
5
-
6
-
7
- export { Timeline as default };
@@ -1 +0,0 @@
1
- export { timeline_default as default } from '../../chunk/WUZETUQR.js';
@@ -1,7 +0,0 @@
1
- import {
2
- timeline_default
3
- } from "../../chunk/DSTUGZW6.jsx";
4
- import "../../chunk/P7WPLZNA.jsx";
5
- export {
6
- timeline_default as default
7
- };
@@ -1,24 +0,0 @@
1
- import * as solid_js from 'solid-js';
2
-
3
- interface ToastProps {
4
- message: string;
5
- type?: "success" | "error" | "info" | "warning" | "default";
6
- duration?: number | false;
7
- dismissible?: boolean;
8
- onClose?: () => void;
9
- }
10
-
11
- type ToastOptions = Omit<ToastProps, "message">;
12
-
13
- declare const Toaster: () => solid_js.JSX.Element;
14
-
15
- declare const toast: {
16
- show: (message: string, options?: ToastOptions) => `${string}-${string}-${string}-${string}-${string}`;
17
- success: (msg: string, opts?: ToastOptions) => `${string}-${string}-${string}-${string}-${string}`;
18
- error: (msg: string, opts?: ToastOptions) => `${string}-${string}-${string}-${string}-${string}`;
19
- info: (msg: string, opts?: ToastOptions) => `${string}-${string}-${string}-${string}-${string}`;
20
- warning: (msg: string, opts?: ToastOptions) => `${string}-${string}-${string}-${string}-${string}`;
21
- clear: () => void;
22
- };
23
-
24
- export { Toaster, toast as default, toast };
@@ -1 +0,0 @@
1
- export { Toaster_default as Toaster, toast_default as default, toast } from '../../chunk/JWRGKHDO.js';
@@ -1,11 +0,0 @@
1
- import {
2
- Toaster_default,
3
- toast,
4
- toast_default
5
- } from "../../chunk/FKSQPGOD.jsx";
6
- import "../../chunk/P7WPLZNA.jsx";
7
- export {
8
- Toaster_default as Toaster,
9
- toast_default as default,
10
- toast
11
- };
@@ -1,15 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- import { b as ComponentColor, C as ComponentSize, I as IComponentBaseProps } from '../../types-CUG9pToa.js';
3
-
4
- type ToggleBaseProps = {
5
- color?: ComponentColor;
6
- size?: ComponentSize;
7
- dataTheme?: string;
8
- class?: string;
9
- className?: string;
10
- style?: JSX.CSSProperties;
11
- };
12
- type ToggleProps = ToggleBaseProps & IComponentBaseProps & Omit<JSX.InputHTMLAttributes<HTMLInputElement>, keyof ToggleBaseProps>;
13
- declare const Toggle: (props: ToggleProps) => JSX.Element;
14
-
15
- export { Toggle as default };
@@ -1 +0,0 @@
1
- export { Toggle_default as default } from '../../chunk/DVFQAAZR.js';
@@ -1,8 +0,0 @@
1
- import {
2
- Toggle_default
3
- } from "../../chunk/6P5JIKPF.jsx";
4
- import "../../chunk/O7LDJCQS.jsx";
5
- import "../../chunk/5HG7XWVC.jsx";
6
- export {
7
- Toggle_default as default
8
- };
@@ -1,17 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- import { b as ComponentColor, d as ComponentPosition, I as IComponentBaseProps } from '../../types-CUG9pToa.js';
3
-
4
- type TooltipBaseProps = {
5
- message: string;
6
- open?: boolean;
7
- color?: ComponentColor;
8
- position?: ComponentPosition;
9
- dataTheme?: string;
10
- class?: string;
11
- className?: string;
12
- style?: JSX.CSSProperties;
13
- };
14
- type TooltipProps = TooltipBaseProps & IComponentBaseProps & Omit<JSX.HTMLAttributes<HTMLDivElement>, keyof TooltipBaseProps>;
15
- declare const Tooltip: (props: TooltipProps) => JSX.Element;
16
-
17
- export { Tooltip as default };
@@ -1 +0,0 @@
1
- export { Tooltip_default as default } from '../../chunk/MM2DZQL3.js';
@@ -1,8 +0,0 @@
1
- import {
2
- Tooltip_default
3
- } from "../../chunk/R6ZBT7CY.jsx";
4
- import "../../chunk/O7LDJCQS.jsx";
5
- import "../../chunk/5HG7XWVC.jsx";
6
- export {
7
- Tooltip_default as default
8
- };
package/dist/index.css DELETED
@@ -1,73 +0,0 @@
1
- /* src/styles/base/index.css */
2
- @layer base {
3
- html {
4
- scrollbar-color: var(--color-bg-tertiary) transparent;
5
- }
6
- body {
7
- color: var(--color-fg-body);
8
- background: var(--color-bg-body);
9
- overflow-x: clip;
10
- touch-action: manipulation;
11
- }
12
- *::selection {
13
- color: var(--color-fg-inverse);
14
- background: var(--color-bg-accent);
15
- }
16
- }
17
-
18
- /* src/styles/themes/dark.css */
19
- @layer theme {
20
- [data-theme=dark] {
21
- --color-bg-body: var(--color-zinc-900);
22
- --color-bg-inverse: var(--color-zinc-100);
23
- --color-bg-primary: var(--color-zinc-800);
24
- --color-bg-secondary: var(--color-zinc-700);
25
- --color-bg-tertiary: var(--color-zinc-600);
26
- --color-bg-accent: var(--color-sky-600);
27
- --color-bg-positive: var(--color-emerald-700);
28
- --color-bg-destructive: var(--color-rose-800);
29
- --color-fg-body: var(--color-zinc-100);
30
- --color-fg-inverse: var(--color-zinc-900);
31
- --color-fg-primary: var(--color-zinc-200);
32
- --color-fg-secondary: var(--color-zinc-300);
33
- --color-fg-tertiary: var(--color-zinc-400);
34
- --color-fg-accent: var(--color-sky-500);
35
- --color-fg-positive: var(--color-emerald-600);
36
- --color-fg-destructive: var(--color-rose-700);
37
- }
38
- }
39
- @layer base {
40
- [data-theme=dark] {
41
- color-scheme: only dark;
42
- }
43
- }
44
-
45
- /* src/styles/themes/light.css */
46
- @layer theme {
47
- [data-theme=light] {
48
- --color-bg-body: var(--color-zinc-50);
49
- --color-bg-inverse: var(--color-zinc-900);
50
- --color-bg-primary: var(--color-zinc-200);
51
- --color-bg-secondary: var(--color-zinc-300);
52
- --color-bg-tertiary: var(--color-zinc-400);
53
- --color-bg-accent: var(--color-sky-600);
54
- --color-bg-positive: var(--color-emerald-700);
55
- --color-bg-destructive: var(--color-rose-700);
56
- --color-fg-body: var(--color-zinc-900);
57
- --color-fg-inverse: var(--color-zinc-100);
58
- --color-fg-primary: var(--color-zinc-800);
59
- --color-fg-secondary: var(--color-zinc-700);
60
- --color-fg-tertiary: var(--color-zinc-600);
61
- --color-fg-accent: var(--color-sky-700);
62
- --color-fg-positive: var(--color-emerald-800);
63
- --color-fg-destructive: var(--color-rose-800);
64
- }
65
- }
66
- @layer base {
67
- [data-theme=light] {
68
- color-scheme: only light;
69
- }
70
- }
71
-
72
- /* src/index.css */
73
- @theme { --color-light: var(--color-zinc-100); --color-dark: var(--color-zinc-900); --color-bg-body: var(--color-bg-body); --color-bg-inverse: var(--color-bg-inverse); --color-bg-primary: var(--color-bg-primary); --color-bg-secondary: var(--color-bg-secondary); --color-bg-tertiary: var(--color-bg-tertiary); --color-bg-accent: var(--color-bg-accent); --color-bg-positive: var(--color-bg-positive); --color-bg-destructive: var(--color-bg-destructive); --color-fg-body: var(--color-fg-body); --color-fg-inverse: var(--color-fg-inverse); --color-fg-primary: var(--color-fg-primary); --color-fg-secondary: var(--color-fg-secondary); --color-fg-tertiary: var(--color-fg-tertiary); --color-fg-accent: var(--color-fg-accent); --color-fg-positive: var(--color-fg-positive); --color-fg-destructive: var(--color-fg-destructive); }
package/dist/index.d.ts DELETED
@@ -1,33 +0,0 @@
1
- export { _ as Avatar } from './Avatar-Dkd_kPlV.js';
2
- export { default as Button } from './components/button/index.js';
3
- export { default as Input } from './components/input/index.js';
4
- export { default as Textarea } from './components/textarea/index.js';
5
- export { P as Progress } from './Progress-ChF4ior8.js';
6
- export { default as FileInput } from './components/fileinput/index.js';
7
- export { default as Accordion } from './components/accordion/index.js';
8
- export { default as Pagination } from './components/pagination/index.js';
9
- export { T as Tabs } from './Tabs-WiUU0xsM.js';
10
- export { default as Tooltip } from './components/tooltip/index.js';
11
- export { default as Badge } from './components/badge/index.js';
12
- export { default as Select } from './components/select/index.js';
13
- export { default as Toggle } from './components/toggle/index.js';
14
- export { default as Checkbox } from './components/checkbox/index.js';
15
- export { default as Breadcrumbs } from './components/breadcrumbs/index.js';
16
- export { A as Autocomplete } from './Autocomplete-gLkjMHrc.js';
17
- export { Dropdown, DropdownItem, DropdownMenu, DropdownTrigger } from './components/dropdown/index.js';
18
- export { F as Field } from './Field-DI2PA30N.js';
19
- export { _ as Menu } from './Menu-DgO4SHmA.js';
20
- export { Navbar, NavbarDropdown, NavbarItem } from './components/navbar/index.js';
21
- export { Polymorphic, PolymorphicButton } from './components/polymorphic/index.js';
22
- export { _ as Steps } from './Steps-Dk-UPL6r.js';
23
- export { T as Table } from './Table-CGa6Nop3.js';
24
- export { T as Timeline } from './Timeline-Bd4SxHMT.js';
25
- export { Toaster, default as toast } from './components/toast/index.js';
26
- export { M as Mask } from './Mask-CPb596Mg.js';
27
- export { default as Join } from './components/join/index.js';
28
- export { default as Loading } from './components/loading/index.js';
29
- export { C as CollapseContent, a as CollapseTitle, S as Summary } from './CollapseTitle-BNxog3is.js';
30
- export { CollapseDetails } from './components/collapse/index.js';
31
- import 'solid-js';
32
- import './types-CUG9pToa.js';
33
- import './classes-B_S9K-9I.js';
package/dist/index.jsx DELETED
@@ -1,143 +0,0 @@
1
- import {
2
- table_default
3
- } from "./chunk/HWAGW5N4.jsx";
4
- import {
5
- tabs_default
6
- } from "./chunk/KV6LTJHI.jsx";
7
- import {
8
- Textarea_default
9
- } from "./chunk/IG323YKF.jsx";
10
- import {
11
- Toaster_default,
12
- toast_default
13
- } from "./chunk/FKSQPGOD.jsx";
14
- import {
15
- timeline_default
16
- } from "./chunk/DSTUGZW6.jsx";
17
- import {
18
- Toggle_default
19
- } from "./chunk/6P5JIKPF.jsx";
20
- import {
21
- Tooltip_default
22
- } from "./chunk/R6ZBT7CY.jsx";
23
- import {
24
- mask_default
25
- } from "./chunk/5O6WC3OB.jsx";
26
- import {
27
- Menu_default
28
- } from "./chunk/SVJIYMYJ.jsx";
29
- import {
30
- NavbarDropdown_default,
31
- NavbarItem_default,
32
- Navbar_default
33
- } from "./chunk/55B7Q4NT.jsx";
34
- import {
35
- PolymorphicButton_default,
36
- Polymorphic_default
37
- } from "./chunk/T2LDLYWV.jsx";
38
- import {
39
- Pagination_default
40
- } from "./chunk/R5G3PODL.jsx";
41
- import {
42
- progress_default
43
- } from "./chunk/STKRVQR6.jsx";
44
- import {
45
- Select_default
46
- } from "./chunk/RHEFVSMJ.jsx";
47
- import {
48
- steps_default
49
- } from "./chunk/LGDDR242.jsx";
50
- import {
51
- Checkbox_default
52
- } from "./chunk/SYWB4UN3.jsx";
53
- import {
54
- DropdownItem_default,
55
- DropdownMenu_default,
56
- DropdownTrigger_default,
57
- Dropdown_default
58
- } from "./chunk/OJRG4ZAB.jsx";
59
- import {
60
- FileInput_default
61
- } from "./chunk/FZRQDGPD.jsx";
62
- import {
63
- Input_default
64
- } from "./chunk/JSQBKK7L.jsx";
65
- import {
66
- field_default
67
- } from "./chunk/VN5BKHA2.jsx";
68
- import "./chunk/KXJZKDJX.jsx";
69
- import {
70
- Join_default
71
- } from "./chunk/DN3P54J2.jsx";
72
- import "./chunk/PFB27MP3.jsx";
73
- import {
74
- avatar_default
75
- } from "./chunk/XM3KF5LV.jsx";
76
- import {
77
- Badge_default
78
- } from "./chunk/ZYEP35R3.jsx";
79
- import {
80
- Breadcrumbs_default
81
- } from "./chunk/I36LHZUY.jsx";
82
- import {
83
- Accordion_default
84
- } from "./chunk/YWIT2MRI.jsx";
85
- import {
86
- CollapseContent,
87
- CollapseDetails,
88
- CollapseTitle,
89
- Summary
90
- } from "./chunk/KQ3RAWCE.jsx";
91
- import {
92
- autocomplete_default
93
- } from "./chunk/C4YO33NN.jsx";
94
- import "./chunk/P7WPLZNA.jsx";
95
- import {
96
- Button_default
97
- } from "./chunk/T5LDPSFV.jsx";
98
- import {
99
- Loading_default
100
- } from "./chunk/T324HUIT.jsx";
101
- import "./chunk/O7LDJCQS.jsx";
102
- import "./chunk/5HG7XWVC.jsx";
103
- export {
104
- Accordion_default as Accordion,
105
- autocomplete_default as Autocomplete,
106
- avatar_default as Avatar,
107
- Badge_default as Badge,
108
- Breadcrumbs_default as Breadcrumbs,
109
- Button_default as Button,
110
- Checkbox_default as Checkbox,
111
- CollapseContent,
112
- CollapseDetails,
113
- CollapseTitle,
114
- Dropdown_default as Dropdown,
115
- DropdownItem_default as DropdownItem,
116
- DropdownMenu_default as DropdownMenu,
117
- DropdownTrigger_default as DropdownTrigger,
118
- field_default as Field,
119
- FileInput_default as FileInput,
120
- Input_default as Input,
121
- Join_default as Join,
122
- Loading_default as Loading,
123
- mask_default as Mask,
124
- Menu_default as Menu,
125
- Navbar_default as Navbar,
126
- NavbarDropdown_default as NavbarDropdown,
127
- NavbarItem_default as NavbarItem,
128
- Pagination_default as Pagination,
129
- Polymorphic_default as Polymorphic,
130
- PolymorphicButton_default as PolymorphicButton,
131
- progress_default as Progress,
132
- Select_default as Select,
133
- steps_default as Steps,
134
- Summary,
135
- table_default as Table,
136
- tabs_default as Tabs,
137
- Textarea_default as Textarea,
138
- timeline_default as Timeline,
139
- Toaster_default as Toaster,
140
- Toggle_default as Toggle,
141
- Tooltip_default as Tooltip,
142
- toast_default as toast
143
- };
@@ -1,15 +0,0 @@
1
- import { JSX } from 'solid-js';
2
-
3
- interface IComponentBaseProps {
4
- dataTheme?: string;
5
- class?: string;
6
- className?: string;
7
- style?: JSX.CSSProperties;
8
- }
9
- type ComponentSize = "xs" | "sm" | "md" | "lg" | "xl";
10
- type ComponentShape = "circle" | "square" | "rounded";
11
- type ComponentColor = "neutral" | "primary" | "secondary" | "accent" | "info" | "success" | "warning" | "error" | "ghost";
12
- type ComponentVariant = "soft" | "dash" | "outline" | "filled" | "ghost" | "outlined";
13
- type ComponentPosition = "top" | "bottom" | "left" | "right";
14
-
15
- export type { ComponentSize as C, IComponentBaseProps as I, ComponentShape as a, ComponentColor as b, ComponentVariant as c, ComponentPosition as d };