@duro-app/ui 0.1.2 → 0.5.1

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 (30) hide show
  1. package/dist/components/Checkbox/Checkbox.d.ts +13 -0
  2. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
  3. package/dist/components/Checkbox/styles.css.d.ts +51 -0
  4. package/dist/components/Checkbox/styles.css.d.ts.map +1 -0
  5. package/dist/components/EmptyState/EmptyState.d.ts +9 -0
  6. package/dist/components/EmptyState/EmptyState.d.ts.map +1 -0
  7. package/dist/components/EmptyState/styles.css.d.ts +22 -0
  8. package/dist/components/EmptyState/styles.css.d.ts.map +1 -0
  9. package/dist/components/LinkButton/LinkButton.d.ts +15 -0
  10. package/dist/components/LinkButton/LinkButton.d.ts.map +1 -0
  11. package/dist/components/LinkButton/styles.css.d.ts +47 -0
  12. package/dist/components/LinkButton/styles.css.d.ts.map +1 -0
  13. package/dist/components/SideNav/SideNav.d.ts.map +1 -1
  14. package/dist/components/Spinner/Spinner.d.ts +8 -0
  15. package/dist/components/Spinner/Spinner.d.ts.map +1 -0
  16. package/dist/components/Spinner/styles.css.d.ts +41 -0
  17. package/dist/components/Spinner/styles.css.d.ts.map +1 -0
  18. package/dist/components/StatusIcon/StatusIcon.d.ts +10 -0
  19. package/dist/components/StatusIcon/StatusIcon.d.ts.map +1 -0
  20. package/dist/components/StatusIcon/styles.css.d.ts +22 -0
  21. package/dist/components/StatusIcon/styles.css.d.ts.map +1 -0
  22. package/dist/components/Textarea/Textarea.d.ts +15 -0
  23. package/dist/components/Textarea/Textarea.d.ts.map +1 -0
  24. package/dist/components/Textarea/styles.css.d.ts +33 -0
  25. package/dist/components/Textarea/styles.css.d.ts.map +1 -0
  26. package/dist/index.d.ts +6 -0
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +867 -525
  29. package/dist/index.js.map +1 -1
  30. package/package.json +4 -1
@@ -0,0 +1,13 @@
1
+ import { ReactNode } from 'react';
2
+ interface CheckboxProps {
3
+ name?: string;
4
+ value?: string;
5
+ checked?: boolean;
6
+ defaultChecked?: boolean;
7
+ disabled?: boolean;
8
+ onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
9
+ children?: ReactNode;
10
+ }
11
+ export declare function Checkbox({ name, value, checked: controlledChecked, defaultChecked, disabled, onChange, children, }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
12
+ export {};
13
+ //# sourceMappingURL=Checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,SAAS,EAAwB,MAAM,OAAO,CAAA;AAK3D,UAAU,aAAa;IACrB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IAC3D,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,KAAK,EACL,OAAO,EAAE,iBAAiB,EAC1B,cAAsB,EACtB,QAAgB,EAChB,QAAQ,EACR,QAAQ,GACT,EAAE,aAAa,2CA8Cf"}
@@ -0,0 +1,51 @@
1
+ import { css } from 'react-strict-dom';
2
+ export declare const styles: Readonly<{
3
+ readonly root: Readonly<{
4
+ readonly display: css.StyleXClassNameFor<"display", "inline-flex">;
5
+ readonly alignItems: css.StyleXClassNameFor<"alignItems", "center">;
6
+ readonly gap: css.StyleXClassNameFor<"gap", string>;
7
+ readonly cursor: css.StyleXClassNameFor<"cursor", "pointer">;
8
+ readonly fontSize: css.StyleXClassNameFor<"fontSize", string>;
9
+ readonly color: css.StyleXClassNameFor<"color", string>;
10
+ readonly lineHeight: css.StyleXClassNameFor<"lineHeight", string>;
11
+ }>;
12
+ readonly rootDisabled: Readonly<{
13
+ readonly opacity: css.StyleXClassNameFor<"opacity", 0.5>;
14
+ readonly cursor: css.StyleXClassNameFor<"cursor", "not-allowed">;
15
+ }>;
16
+ readonly box: Readonly<{
17
+ readonly width: css.StyleXClassNameFor<"width", 18>;
18
+ readonly height: css.StyleXClassNameFor<"height", 18>;
19
+ readonly borderWidth: css.StyleXClassNameFor<"borderWidth", 1>;
20
+ readonly borderStyle: css.StyleXClassNameFor<"borderStyle", "solid">;
21
+ readonly borderRadius: css.StyleXClassNameFor<"borderRadius", string>;
22
+ readonly display: css.StyleXClassNameFor<"display", "inline-flex">;
23
+ readonly alignItems: css.StyleXClassNameFor<"alignItems", "center">;
24
+ readonly justifyContent: css.StyleXClassNameFor<"justifyContent", "center">;
25
+ readonly flexShrink: css.StyleXClassNameFor<"flexShrink", 0>;
26
+ readonly transitionProperty: css.StyleXClassNameFor<"transitionProperty", "background-color, border-color">;
27
+ readonly transitionDuration: css.StyleXClassNameFor<"transitionDuration", "150ms">;
28
+ readonly transitionTimingFunction: css.StyleXClassNameFor<"transitionTimingFunction", "ease">;
29
+ }>;
30
+ readonly boxUnchecked: Readonly<{
31
+ readonly backgroundColor: css.StyleXClassNameFor<"backgroundColor", string>;
32
+ readonly borderColor: css.StyleXClassNameFor<"borderColor", string>;
33
+ }>;
34
+ readonly boxChecked: Readonly<{
35
+ readonly backgroundColor: css.StyleXClassNameFor<"backgroundColor", string>;
36
+ readonly borderColor: css.StyleXClassNameFor<"borderColor", string>;
37
+ }>;
38
+ readonly check: Readonly<{
39
+ readonly width: css.StyleXClassNameFor<"width", 12>;
40
+ readonly height: css.StyleXClassNameFor<"height", 12>;
41
+ readonly color: css.StyleXClassNameFor<"color", string>;
42
+ }>;
43
+ readonly input: Readonly<{
44
+ readonly position: css.StyleXClassNameFor<"position", "absolute">;
45
+ readonly width: css.StyleXClassNameFor<"width", 1>;
46
+ readonly height: css.StyleXClassNameFor<"height", 1>;
47
+ readonly opacity: css.StyleXClassNameFor<"opacity", 0>;
48
+ readonly overflow: css.StyleXClassNameFor<"overflow", "hidden">;
49
+ }>;
50
+ }>;
51
+ //# sourceMappingURL=styles.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAGpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDjB,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { ReactNode } from 'react';
2
+ interface EmptyStateProps {
3
+ message: string;
4
+ icon?: ReactNode;
5
+ action?: ReactNode;
6
+ }
7
+ export declare function EmptyState({ message, icon, action }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=EmptyState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyState/EmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,OAAO,CAAA;AAIpC,UAAU,eAAe;IACvB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,MAAM,CAAC,EAAE,SAAS,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,EAAC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAC,EAAE,eAAe,2CAQlE"}
@@ -0,0 +1,22 @@
1
+ import { css } from 'react-strict-dom';
2
+ export declare const styles: Readonly<{
3
+ readonly root: Readonly<{
4
+ readonly display: css.StyleXClassNameFor<"display", "flex">;
5
+ readonly flexDirection: css.StyleXClassNameFor<"flexDirection", "column">;
6
+ readonly alignItems: css.StyleXClassNameFor<"alignItems", "center">;
7
+ readonly justifyContent: css.StyleXClassNameFor<"justifyContent", "center">;
8
+ readonly gap: css.StyleXClassNameFor<"gap", string>;
9
+ readonly paddingTop: css.StyleXClassNameFor<"paddingTop", string>;
10
+ readonly paddingBottom: css.StyleXClassNameFor<"paddingBottom", string>;
11
+ readonly textAlign: css.StyleXClassNameFor<"textAlign", "center">;
12
+ }>;
13
+ readonly message: Readonly<{
14
+ readonly fontSize: css.StyleXClassNameFor<"fontSize", string>;
15
+ readonly color: css.StyleXClassNameFor<"color", string>;
16
+ readonly lineHeight: css.StyleXClassNameFor<"lineHeight", string>;
17
+ }>;
18
+ readonly action: Readonly<{
19
+ readonly marginTop: css.StyleXClassNameFor<"marginTop", string>;
20
+ }>;
21
+ }>;
22
+ //# sourceMappingURL=styles.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyState/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAGpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;EAmBjB,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { ReactNode } from 'react';
2
+ export type LinkButtonVariant = 'primary' | 'secondary';
3
+ export type LinkButtonSize = 'default' | 'small';
4
+ interface LinkButtonProps {
5
+ href: string;
6
+ variant?: LinkButtonVariant;
7
+ size?: LinkButtonSize;
8
+ fullWidth?: boolean;
9
+ target?: '_blank' | '_self';
10
+ rel?: string;
11
+ children: ReactNode;
12
+ }
13
+ export declare function LinkButton({ href, variant, size, fullWidth, target, rel, children, }: LinkButtonProps): import("react/jsx-runtime").JSX.Element;
14
+ export {};
15
+ //# sourceMappingURL=LinkButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinkButton.d.ts","sourceRoot":"","sources":["../../../src/components/LinkButton/LinkButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,OAAO,CAAA;AAIpC,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,CAAA;AACvD,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,OAAO,CAAA;AAEhD,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,iBAAiB,CAAA;IAC3B,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,SAAS,CAAA;CACpB;AAOD,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,OAAmB,EACnB,IAAgB,EAChB,SAAiB,EACjB,MAAM,EACN,GAAG,EACH,QAAQ,GACT,EAAE,eAAe,2CAWjB"}
@@ -0,0 +1,47 @@
1
+ import { css } from 'react-strict-dom';
2
+ export declare const styles: Readonly<{
3
+ readonly base: Readonly<{
4
+ readonly display: css.StyleXClassNameFor<"display", "inline-flex">;
5
+ readonly alignItems: css.StyleXClassNameFor<"alignItems", "center">;
6
+ readonly justifyContent: css.StyleXClassNameFor<"justifyContent", "center">;
7
+ readonly gap: css.StyleXClassNameFor<"gap", string>;
8
+ readonly fontFamily: css.StyleXClassNameFor<"fontFamily", string>;
9
+ readonly fontSize: css.StyleXClassNameFor<"fontSize", string>;
10
+ readonly fontWeight: css.StyleXClassNameFor<"fontWeight", string>;
11
+ readonly lineHeight: css.StyleXClassNameFor<"lineHeight", string>;
12
+ readonly borderRadius: css.StyleXClassNameFor<"borderRadius", string>;
13
+ readonly cursor: css.StyleXClassNameFor<"cursor", "pointer">;
14
+ readonly textDecoration: css.StyleXClassNameFor<"textDecoration", "none">;
15
+ readonly transitionProperty: css.StyleXClassNameFor<"transitionProperty", "background-color, border-color, color">;
16
+ readonly transitionDuration: css.StyleXClassNameFor<"transitionDuration", "150ms">;
17
+ readonly transitionTimingFunction: css.StyleXClassNameFor<"transitionTimingFunction", "ease">;
18
+ }>;
19
+ readonly sizeDefault: Readonly<{
20
+ readonly paddingTop: css.StyleXClassNameFor<"paddingTop", string>;
21
+ readonly paddingBottom: css.StyleXClassNameFor<"paddingBottom", string>;
22
+ readonly paddingLeft: css.StyleXClassNameFor<"paddingLeft", string>;
23
+ readonly paddingRight: css.StyleXClassNameFor<"paddingRight", string>;
24
+ }>;
25
+ readonly sizeSmall: Readonly<{
26
+ readonly paddingTop: css.StyleXClassNameFor<"paddingTop", string>;
27
+ readonly paddingBottom: css.StyleXClassNameFor<"paddingBottom", string>;
28
+ readonly paddingLeft: css.StyleXClassNameFor<"paddingLeft", string>;
29
+ readonly paddingRight: css.StyleXClassNameFor<"paddingRight", string>;
30
+ readonly fontSize: css.StyleXClassNameFor<"fontSize", string>;
31
+ }>;
32
+ readonly primary: Readonly<{
33
+ readonly backgroundColor: css.StyleXClassNameFor<"backgroundColor", string>;
34
+ readonly color: css.StyleXClassNameFor<"color", string>;
35
+ }>;
36
+ readonly secondary: Readonly<{
37
+ readonly backgroundColor: css.StyleXClassNameFor<"backgroundColor", string>;
38
+ readonly borderWidth: css.StyleXClassNameFor<"borderWidth", 1>;
39
+ readonly borderStyle: css.StyleXClassNameFor<"borderStyle", "solid">;
40
+ readonly borderColor: css.StyleXClassNameFor<"borderColor", string>;
41
+ readonly color: css.StyleXClassNameFor<"color", string>;
42
+ }>;
43
+ readonly fullWidth: Readonly<{
44
+ readonly width: css.StyleXClassNameFor<"width", "100%">;
45
+ }>;
46
+ }>;
47
+ //# sourceMappingURL=styles.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/LinkButton/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAGpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkDjB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"SideNav.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNav.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,SAAS,EAA2C,MAAM,OAAO,CAAA;AAQ9E,UAAU,SAAS;IACjB,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACxC;AAED,iBAAS,IAAI,CAAC,EAAC,QAAQ,EAAE,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,aAAa,EAAC,EAAE,SAAS,2CAqDvF;AAID,UAAU,UAAU;IAClB,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,iBAAS,KAAK,CAAC,EAAC,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAC,EAAE,UAAU,2CA2DtE;AAID,UAAU,SAAS;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,iBAAS,IAAI,CAAC,EAAC,KAAK,EAAE,QAAQ,EAAC,EAAE,SAAS,2CAmBzC;AAED,eAAO,MAAM,OAAO;;;;CAInB,CAAA"}
1
+ {"version":3,"file":"SideNav.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNav.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,SAAS,EAA2C,MAAM,OAAO,CAAA;AAS9E,UAAU,SAAS;IACjB,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACxC;AAED,iBAAS,IAAI,CAAC,EAAC,QAAQ,EAAE,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,aAAa,EAAC,EAAE,SAAS,2CAqDvF;AAID,UAAU,UAAU;IAClB,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,iBAAS,KAAK,CAAC,EAAC,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAC,EAAE,UAAU,2CA0DtE;AAID,UAAU,SAAS;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,iBAAS,IAAI,CAAC,EAAC,KAAK,EAAE,QAAQ,EAAC,EAAE,SAAS,2CAmBzC;AAED,eAAO,MAAM,OAAO;;;;CAInB,CAAA"}
@@ -0,0 +1,8 @@
1
+ export type SpinnerSize = 'sm' | 'md' | 'lg';
2
+ interface SpinnerProps {
3
+ size?: SpinnerSize;
4
+ label?: string;
5
+ }
6
+ export declare function Spinner({ size, label }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=Spinner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/Spinner.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE5C,UAAU,YAAY;IACpB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAQD,wBAAgB,OAAO,CAAC,EAAC,IAAW,EAAE,KAAiB,EAAC,EAAE,YAAY,2CAOrE"}
@@ -0,0 +1,41 @@
1
+ import { css } from 'react-strict-dom';
2
+ export declare const styles: Readonly<{
3
+ readonly root: Readonly<{
4
+ readonly display: css.StyleXClassNameFor<"display", "inline-flex">;
5
+ readonly alignItems: css.StyleXClassNameFor<"alignItems", "center">;
6
+ readonly justifyContent: css.StyleXClassNameFor<"justifyContent", "center">;
7
+ }>;
8
+ readonly spinner: Readonly<{
9
+ readonly borderRadius: css.StyleXClassNameFor<"borderRadius", "50%">;
10
+ readonly borderStyle: css.StyleXClassNameFor<"borderStyle", "solid">;
11
+ readonly borderColor: css.StyleXClassNameFor<"borderColor", string>;
12
+ readonly borderTopColor: css.StyleXClassNameFor<"borderTopColor", string>;
13
+ readonly animationName: css.StyleXClassNameFor<"animationName", string>;
14
+ readonly animationDuration: css.StyleXClassNameFor<"animationDuration", "0.6s">;
15
+ readonly animationTimingFunction: css.StyleXClassNameFor<"animationTimingFunction", "linear">;
16
+ readonly animationIterationCount: css.StyleXClassNameFor<"animationIterationCount", "infinite">;
17
+ }>;
18
+ readonly sm: Readonly<{
19
+ readonly width: css.StyleXClassNameFor<"width", 16>;
20
+ readonly height: css.StyleXClassNameFor<"height", 16>;
21
+ readonly borderWidth: css.StyleXClassNameFor<"borderWidth", 2>;
22
+ }>;
23
+ readonly md: Readonly<{
24
+ readonly width: css.StyleXClassNameFor<"width", 24>;
25
+ readonly height: css.StyleXClassNameFor<"height", 24>;
26
+ readonly borderWidth: css.StyleXClassNameFor<"borderWidth", 2>;
27
+ }>;
28
+ readonly lg: Readonly<{
29
+ readonly width: css.StyleXClassNameFor<"width", 40>;
30
+ readonly height: css.StyleXClassNameFor<"height", 40>;
31
+ readonly borderWidth: css.StyleXClassNameFor<"borderWidth", 3>;
32
+ }>;
33
+ readonly srOnly: Readonly<{
34
+ readonly position: css.StyleXClassNameFor<"position", "absolute">;
35
+ readonly width: css.StyleXClassNameFor<"width", 1>;
36
+ readonly height: css.StyleXClassNameFor<"height", 1>;
37
+ readonly overflow: css.StyleXClassNameFor<"overflow", "hidden">;
38
+ readonly clip: css.StyleXClassNameFor<"clip", "rect(0, 0, 0, 0)">;
39
+ }>;
40
+ }>;
41
+ //# sourceMappingURL=styles.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAQpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsCjB,CAAA"}
@@ -0,0 +1,10 @@
1
+ export type StatusIconName = 'x-circle' | 'check-circle' | 'check-done' | 'clock' | 'forbidden';
2
+ export type StatusIconVariant = 'error' | 'success' | 'warning' | 'muted';
3
+ interface StatusIconProps {
4
+ name: StatusIconName;
5
+ size?: number;
6
+ variant?: StatusIconVariant;
7
+ }
8
+ export declare function StatusIcon({ name, size, variant }: StatusIconProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=StatusIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusIcon.d.ts","sourceRoot":"","sources":["../../../src/components/StatusIcon/StatusIcon.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,cAAc,GAAG,YAAY,GAAG,OAAO,GAAG,WAAW,CAAA;AAC/F,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;AAoCzE,UAAU,eAAe;IACvB,IAAI,EAAE,cAAc,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,iBAAiB,CAAA;CAC5B;AAED,wBAAgB,UAAU,CAAC,EAAC,IAAI,EAAE,IAAS,EAAE,OAAiB,EAAC,EAAE,eAAe,2CAiB/E"}
@@ -0,0 +1,22 @@
1
+ import { css } from 'react-strict-dom';
2
+ export declare const styles: Readonly<{
3
+ readonly root: Readonly<{
4
+ readonly display: css.StyleXClassNameFor<"display", "inline-flex">;
5
+ readonly alignItems: css.StyleXClassNameFor<"alignItems", "center">;
6
+ readonly justifyContent: css.StyleXClassNameFor<"justifyContent", "center">;
7
+ readonly marginBottom: css.StyleXClassNameFor<"marginBottom", string>;
8
+ }>;
9
+ readonly error: Readonly<{
10
+ readonly color: css.StyleXClassNameFor<"color", string>;
11
+ }>;
12
+ readonly success: Readonly<{
13
+ readonly color: css.StyleXClassNameFor<"color", string>;
14
+ }>;
15
+ readonly warning: Readonly<{
16
+ readonly color: css.StyleXClassNameFor<"color", string>;
17
+ }>;
18
+ readonly muted: Readonly<{
19
+ readonly color: css.StyleXClassNameFor<"color", string>;
20
+ }>;
21
+ }>;
22
+ //# sourceMappingURL=styles.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/StatusIcon/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAGpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;EAmBjB,CAAA"}
@@ -0,0 +1,15 @@
1
+ export type TextareaVariant = 'default' | 'error';
2
+ interface TextareaProps {
3
+ variant?: TextareaVariant;
4
+ name?: string;
5
+ placeholder?: string;
6
+ required?: boolean;
7
+ rows?: number;
8
+ value?: string;
9
+ defaultValue?: string;
10
+ disabled?: boolean;
11
+ onChange?: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
12
+ }
13
+ export declare function Textarea({ variant, name, placeholder, required, rows, value, defaultValue, disabled, onChange, }: TextareaProps): import("react/jsx-runtime").JSX.Element;
14
+ export {};
15
+ //# sourceMappingURL=Textarea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/Textarea.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,OAAO,CAAA;AAEjD,UAAU,aAAa;IACrB,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAA;CAC/D;AAED,wBAAgB,QAAQ,CAAC,EACvB,OAAmB,EACnB,IAAI,EACJ,WAAW,EACX,QAAQ,EACR,IAAQ,EACR,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,QAAQ,GACT,EAAE,aAAa,2CAqBf"}
@@ -0,0 +1,33 @@
1
+ import { css } from 'react-strict-dom';
2
+ export declare const styles: Readonly<{
3
+ readonly base: Readonly<{
4
+ readonly width: css.StyleXClassNameFor<"width", "100%">;
5
+ readonly paddingTop: css.StyleXClassNameFor<"paddingTop", string>;
6
+ readonly paddingBottom: css.StyleXClassNameFor<"paddingBottom", string>;
7
+ readonly paddingLeft: css.StyleXClassNameFor<"paddingLeft", string>;
8
+ readonly paddingRight: css.StyleXClassNameFor<"paddingRight", string>;
9
+ readonly fontFamily: css.StyleXClassNameFor<"fontFamily", string>;
10
+ readonly fontSize: css.StyleXClassNameFor<"fontSize", string>;
11
+ readonly lineHeight: css.StyleXClassNameFor<"lineHeight", string>;
12
+ readonly color: css.StyleXClassNameFor<"color", string>;
13
+ readonly backgroundColor: css.StyleXClassNameFor<"backgroundColor", string>;
14
+ readonly borderWidth: css.StyleXClassNameFor<"borderWidth", 1>;
15
+ readonly borderStyle: css.StyleXClassNameFor<"borderStyle", "solid">;
16
+ readonly borderRadius: css.StyleXClassNameFor<"borderRadius", string>;
17
+ readonly resize: css.StyleXClassNameFor<"resize", "vertical">;
18
+ readonly transitionProperty: css.StyleXClassNameFor<"transitionProperty", "border-color">;
19
+ readonly transitionDuration: css.StyleXClassNameFor<"transitionDuration", "150ms">;
20
+ readonly transitionTimingFunction: css.StyleXClassNameFor<"transitionTimingFunction", "ease">;
21
+ readonly outlineWidth: css.StyleXClassNameFor<"outlineWidth", 0 | 2>;
22
+ readonly outlineStyle: css.StyleXClassNameFor<"outlineStyle", "none" | "solid">;
23
+ readonly outlineColor: css.StyleXClassNameFor<"outlineColor", string>;
24
+ readonly outlineOffset: css.StyleXClassNameFor<"outlineOffset", 0 | 1>;
25
+ }>;
26
+ readonly default: Readonly<{
27
+ readonly borderColor: css.StyleXClassNameFor<"borderColor", string>;
28
+ }>;
29
+ readonly error: Readonly<{
30
+ readonly borderColor: css.StyleXClassNameFor<"borderColor", string>;
31
+ }>;
32
+ }>;
33
+ //# sourceMappingURL=styles.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAGpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiDjB,CAAA"}
package/dist/index.d.ts CHANGED
@@ -2,14 +2,20 @@ export { Alert, type AlertVariant } from './components/Alert/Alert';
2
2
  export { Badge, type BadgeVariant, type BadgeSize } from './components/Badge/Badge';
3
3
  export { Button, type ButtonVariant, type ButtonSize } from './components/Button/Button';
4
4
  export { Card, type CardVariant, type CardSize } from './components/Card/Card';
5
+ export { Checkbox } from './components/Checkbox/Checkbox';
6
+ export { EmptyState } from './components/EmptyState/EmptyState';
5
7
  export { Field } from './components/Field/Field';
6
8
  export { Input, type InputVariant } from './components/Input/Input';
9
+ export { LinkButton, type LinkButtonVariant, type LinkButtonSize, } from './components/LinkButton/LinkButton';
7
10
  export { Menu } from './components/Menu/Menu';
8
11
  export { ScrollArea } from './components/ScrollArea/ScrollArea';
9
12
  export { Select } from './components/Select/Select';
10
13
  export { SideNav } from './components/SideNav/SideNav';
14
+ export { Spinner, type SpinnerSize } from './components/Spinner/Spinner';
15
+ export { StatusIcon, type StatusIconName, type StatusIconVariant, } from './components/StatusIcon/StatusIcon';
11
16
  export { Table, type TableVariant, type TableSize } from './components/Table/Table';
12
17
  export { Tabs } from './components/Tabs/Tabs';
18
+ export { Textarea, type TextareaVariant } from './components/Textarea/Textarea';
13
19
  export { ThemeProvider, type ThemeName } from './components/ThemeProvider/ThemeProvider';
14
20
  export { Tooltip } from './components/Tooltip/Tooltip';
15
21
  export { colors, spacing, radii, typography, shadows } from '../../tokens/dist/index.d.ts';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAA;AAGrB,OAAO,EAAC,KAAK,EAAE,KAAK,YAAY,EAAC,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAC,KAAK,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAC,MAAM,0BAA0B,CAAA;AACjF,OAAO,EAAC,MAAM,EAAE,KAAK,aAAa,EAAE,KAAK,UAAU,EAAC,MAAM,4BAA4B,CAAA;AACtF,OAAO,EAAC,IAAI,EAAE,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAC,MAAM,wBAAwB,CAAA;AAC5E,OAAO,EAAC,KAAK,EAAC,MAAM,0BAA0B,CAAA;AAC9C,OAAO,EAAC,KAAK,EAAE,KAAK,YAAY,EAAC,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAC,IAAI,EAAC,MAAM,wBAAwB,CAAA;AAC3C,OAAO,EAAC,UAAU,EAAC,MAAM,oCAAoC,CAAA;AAC7D,OAAO,EAAC,MAAM,EAAC,MAAM,4BAA4B,CAAA;AACjD,OAAO,EAAC,OAAO,EAAC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