@ingamigo/ui 1.0.5 → 1.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 (42) hide show
  1. package/dist/components/button/button.d.ts +2 -2
  2. package/dist/components/button/button.d.ts.map +1 -0
  3. package/dist/components/button/button.js +7 -0
  4. package/dist/components/button/button.js.map +1 -0
  5. package/dist/components/button/button.styles.d.ts +10 -0
  6. package/dist/components/button/button.styles.d.ts.map +1 -0
  7. package/dist/components/button/button.styles.js +104 -0
  8. package/dist/components/button/button.styles.js.map +1 -0
  9. package/dist/components/input/input.d.ts +2 -2
  10. package/dist/components/input/input.d.ts.map +1 -0
  11. package/dist/components/input/input.js +7 -0
  12. package/dist/components/input/input.js.map +1 -0
  13. package/dist/components/input/input.styles.d.ts +9 -0
  14. package/dist/components/input/input.styles.d.ts.map +1 -0
  15. package/dist/components/input/input.styles.js +83 -0
  16. package/dist/components/input/input.styles.js.map +1 -0
  17. package/dist/components/typography/typography.d.ts +2 -2
  18. package/dist/components/typography/typography.d.ts.map +1 -0
  19. package/dist/components/typography/typography.js +17 -0
  20. package/dist/components/typography/typography.js.map +1 -0
  21. package/dist/components/typography/typography.styles.d.ts +5 -0
  22. package/dist/components/typography/typography.styles.d.ts.map +1 -0
  23. package/dist/components/typography/typography.styles.js +63 -0
  24. package/dist/components/typography/typography.styles.js.map +1 -0
  25. package/dist/index.d.ts +8 -6
  26. package/dist/index.d.ts.map +1 -0
  27. package/dist/index.js +7 -2
  28. package/dist/index.js.map +1 -0
  29. package/dist/theme/ThemeProvider.d.ts +6 -0
  30. package/dist/theme/ThemeProvider.d.ts.map +1 -0
  31. package/dist/theme/ThemeProvider.js +8 -0
  32. package/dist/theme/ThemeProvider.js.map +1 -0
  33. package/dist/theme/index.d.ts +4 -0
  34. package/dist/theme/index.d.ts.map +1 -0
  35. package/dist/theme/index.js +3 -0
  36. package/dist/theme/index.js.map +1 -0
  37. package/dist/theme/theme.d.ts +458 -0
  38. package/dist/theme/theme.d.ts.map +1 -0
  39. package/dist/theme/theme.js +210 -0
  40. package/dist/theme/theme.js.map +1 -0
  41. package/package.json +15 -3
  42. package/dist/index.js.LICENSE.txt +0 -9
@@ -1,8 +1,8 @@
1
1
  import type { ButtonHTMLAttributes } from "react";
2
- import "./button.style.css";
3
2
  export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
4
3
  variant?: "primary" | "secondary";
5
4
  size?: "small" | "medium" | "large";
6
5
  }
7
- declare const Button: ({ variant, size, className, children, ...props }: ButtonProps) => import("react").JSX.Element;
6
+ declare const Button: ({ variant, size, children, ...props }: ButtonProps) => import("react").JSX.Element;
8
7
  export default Button;
8
+ //# sourceMappingURL=button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAIlD,MAAM,WAAW,WACf,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC/C,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAClC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC;AAED,QAAA,MAAM,MAAM,GAAI,uCAKb,WAAW,gCAUb,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { StyledButton } from "./button.styles";
3
+ const Button = ({ variant = "primary", size = "medium", children, ...props }) => {
4
+ return (_jsx(StyledButton, { variant: variant, size: size, ...props, children: children }));
5
+ };
6
+ export default Button;
7
+ //# sourceMappingURL=button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.js","sourceRoot":"","sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAQ/C,MAAM,MAAM,GAAG,CAAC,EACd,OAAO,GAAG,SAAS,EACnB,IAAI,GAAG,QAAQ,EACf,QAAQ,EACR,GAAG,KAAK,EACI,EAAE,EAAE;IAChB,OAAO,CACL,KAAC,YAAY,IACX,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,KACN,KAAK,YAER,QAAQ,GACI,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,10 @@
1
+ interface StyledButtonProps {
2
+ variant: "primary" | "secondary";
3
+ size: "small" | "medium" | "large";
4
+ }
5
+ export declare const StyledButton: import("@emotion/styled").StyledComponent<{
6
+ theme?: import("@emotion/react").Theme;
7
+ as?: React.ElementType;
8
+ } & StyledButtonProps, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
9
+ export {};
10
+ //# sourceMappingURL=button.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.styles.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.styles.ts"],"names":[],"mappings":"AAEA,UAAU,iBAAiB;IACzB,OAAO,EAAE,SAAS,GAAG,WAAW,CAAC;IACjC,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACpC;AAED,eAAO,MAAM,YAAY;;;yIA0GxB,CAAC"}
@@ -0,0 +1,104 @@
1
+ import styled from "@emotion/styled";
2
+ export const StyledButton = styled.button `
3
+ display: inline-flex;
4
+ align-items: center;
5
+ justify-content: center;
6
+
7
+ border: 1px solid transparent;
8
+ border-radius: ${({ theme }) => theme.radius.md};
9
+
10
+ font-family:
11
+ Inter,
12
+ system-ui,
13
+ -apple-system,
14
+ BlinkMacSystemFont,
15
+ "Segoe UI",
16
+ Roboto,
17
+ Helvetica,
18
+ Arial,
19
+ sans-serif;
20
+ font-size: ${({ theme }) => theme.typography.fontSize.md};
21
+ font-weight: ${({ theme }) => theme.typography.fontWeight.medium};
22
+ line-height: 1;
23
+
24
+ cursor: pointer;
25
+ user-select: none;
26
+
27
+ transition:
28
+ background-color ${({ theme }) => theme.motion.duration.normal}
29
+ ${({ theme }) => theme.motion.ease.standard},
30
+ color ${({ theme }) => theme.motion.duration.normal}
31
+ ${({ theme }) => theme.motion.ease.standard},
32
+ border-color ${({ theme }) => theme.motion.duration.normal}
33
+ ${({ theme }) => theme.motion.ease.standard},
34
+ box-shadow ${({ theme }) => theme.motion.duration.normal}
35
+ ${({ theme }) => theme.motion.ease.standard},
36
+ transform ${({ theme }) => theme.motion.duration.normal}
37
+ ${({ theme }) => theme.motion.ease.standard};
38
+
39
+ ${({ theme, variant }) => variant === "primary" &&
40
+ `
41
+ background: ${theme.action.primary};
42
+ color: ${theme.text.inverse};
43
+ box-shadow: ${theme.shadows.sm};
44
+
45
+ &:hover:not(:disabled) {
46
+ background: ${theme.action.primaryHover};
47
+ box-shadow: ${theme.shadows.md};
48
+ }
49
+
50
+ &:active:not(:disabled) {
51
+ transform: translateY(1px);
52
+ box-shadow: ${theme.shadows.sm};
53
+ }
54
+ `}
55
+
56
+ ${({ theme, variant }) => variant === "secondary" &&
57
+ `
58
+ background: ${theme.surface.secondary};
59
+ color: ${theme.text.primary};
60
+ border-color: ${theme.border.default};
61
+
62
+ &:hover:not(:disabled) {
63
+ background: ${theme.surface.tertiary};
64
+ border-color: ${theme.border.strong};
65
+ }
66
+
67
+ &:active:not(:disabled) {
68
+ transform: translateY(1px);
69
+ }
70
+ `}
71
+
72
+ &:focus-visible {
73
+ outline: 2px solid ${({ theme }) => theme.border.focus};
74
+ outline-offset: 2px;
75
+ }
76
+
77
+ &:disabled {
78
+ cursor: not-allowed;
79
+ opacity: 0.5;
80
+ box-shadow: none;
81
+ }
82
+
83
+ ${({ theme, size }) => size === "small" &&
84
+ `
85
+ min-height: 32px;
86
+ padding: 0 ${theme.spacing[3]};
87
+ font-size: ${theme.typography.fontSize.sm};
88
+ `}
89
+
90
+ ${({ theme, size }) => size === "medium" &&
91
+ `
92
+ min-height: 40px;
93
+ padding: 0 ${theme.spacing[4]};
94
+ font-size: ${theme.typography.fontSize.md};
95
+ `}
96
+
97
+ ${({ theme, size }) => size === "large" &&
98
+ `
99
+ min-height: 48px;
100
+ padding: 0 ${theme.spacing[6]};
101
+ font-size: ${theme.typography.fontSize.lg};
102
+ `}
103
+ `;
104
+ //# sourceMappingURL=button.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.styles.js","sourceRoot":"","sources":["../../../src/components/button/button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAOrC,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAmB;;;;;;mBAMzC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;;;;;;;;;;;;eAYlC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;iBACzC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,MAAM;;;;;;;uBAO3C,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM;QAC1D,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ;YACrC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM;QAC/C,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ;mBAC9B,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM;QACtD,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,K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C,CAAC,CAAC;mBAChB,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;KAC1C;;IAED,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CACpB,IAAI,KAAK,QAAQ;IACjB;;mBAEe,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;mBAChB,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;KAC1C;;IAED,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CACpB,IAAI,KAAK,OAAO;IAChB;;mBAEe,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;mBAChB,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;KAC1C;CACJ,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { InputHTMLAttributes } from "react";
2
- import "./input.style.css";
3
2
  export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
4
3
  inputSize?: "small" | "medium" | "large";
5
4
  }
6
- declare const Input: ({ inputSize, className, ...props }: InputProps) => import("react").JSX.Element;
5
+ declare const Input: ({ inputSize, ...props }: InputProps) => import("react").JSX.Element;
7
6
  export default Input;
7
+ //# sourceMappingURL=input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/components/input/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAIjD,MAAM,WAAW,UACf,SAAQ,mBAAmB,CAAC,gBAAgB,CAAC;IAC7C,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CAC1C;AAED,QAAA,MAAM,KAAK,GAAI,yBAGZ,UAAU,gCAOZ,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { StyledInput } from "./input.styles";
3
+ const Input = ({ inputSize = "medium", ...props }) => {
4
+ return (_jsx(StyledInput, { inputSize: inputSize, ...props }));
5
+ };
6
+ export default Input;
7
+ //# sourceMappingURL=input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/components/input/input.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAO7C,MAAM,KAAK,GAAG,CAAC,EACb,SAAS,GAAG,QAAQ,EACpB,GAAG,KAAK,EACG,EAAE,EAAE;IACf,OAAO,CACL,KAAC,WAAW,IACV,SAAS,EAAE,SAAS,KAChB,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -0,0 +1,9 @@
1
+ interface StyledInputProps {
2
+ inputSize: "small" | "medium" | "large";
3
+ }
4
+ export declare const StyledInput: import("@emotion/styled").StyledComponent<{
5
+ theme?: import("@emotion/react").Theme;
6
+ as?: React.ElementType;
7
+ } & StyledInputProps, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
8
+ export {};
9
+ //# sourceMappingURL=input.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.styles.d.ts","sourceRoot":"","sources":["../../../src/components/input/input.styles.ts"],"names":[],"mappings":"AAEA,UAAU,gBAAgB;IACxB,SAAS,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACzC;AAED,eAAO,MAAM,WAAW;;;qIAmFvB,CAAC"}
@@ -0,0 +1,83 @@
1
+ import styled from "@emotion/styled";
2
+ export const StyledInput = styled.input `
3
+ display: block;
4
+ width: 100%;
5
+
6
+ border: 1px solid ${({ theme }) => theme.border.default};
7
+ border-radius: ${({ theme }) => theme.radius.md};
8
+
9
+ background: ${({ theme }) => theme.surface.primary};
10
+ color: ${({ theme }) => theme.text.primary};
11
+
12
+ font-family:
13
+ Inter,
14
+ system-ui,
15
+ -apple-system,
16
+ BlinkMacSystemFont,
17
+ "Segoe UI",
18
+ Roboto,
19
+ Helvetica,
20
+ Arial,
21
+ sans-serif;
22
+ font-weight: ${({ theme }) => theme.typography.fontWeight.regular};
23
+ line-height: 1;
24
+
25
+ outline: none;
26
+
27
+ transition:
28
+ background-color ${({ theme }) => theme.motion.duration.normal}
29
+ ${({ theme }) => theme.motion.ease.standard},
30
+ border-color ${({ theme }) => theme.motion.duration.normal}
31
+ ${({ theme }) => theme.motion.ease.standard},
32
+ box-shadow ${({ theme }) => theme.motion.duration.normal}
33
+ ${({ theme }) => theme.motion.ease.standard},
34
+ color ${({ theme }) => theme.motion.duration.normal}
35
+ ${({ theme }) => theme.motion.ease.standard};
36
+
37
+ &::placeholder {
38
+ color: ${({ theme }) => theme.text.tertiary};
39
+ }
40
+
41
+ &:hover:not(:disabled) {
42
+ border-color: ${({ theme }) => theme.border.strong};
43
+ }
44
+
45
+ &:focus {
46
+ border-color: ${({ theme }) => theme.border.focus};
47
+
48
+ box-shadow: 0 0 0 3px
49
+ color-mix(
50
+ in srgb,
51
+ ${({ theme }) => theme.border.focus} 18%,
52
+ transparent
53
+ );
54
+ }
55
+
56
+ &:disabled {
57
+ cursor: not-allowed;
58
+ opacity: 0.5;
59
+ background: ${({ theme }) => theme.surface.secondary};
60
+ }
61
+
62
+ ${({ theme, inputSize }) => inputSize === "small" &&
63
+ `
64
+ min-height: 32px;
65
+ padding: 0 ${theme.spacing[3]};
66
+ font-size: ${theme.typography.fontSize.sm};
67
+ `}
68
+
69
+ ${({ theme, inputSize }) => inputSize === "medium" &&
70
+ `
71
+ min-height: 40px;
72
+ padding: 0 ${theme.spacing[4]};
73
+ font-size: ${theme.typography.fontSize.md};
74
+ `}
75
+
76
+ ${({ theme, inputSize }) => inputSize === "large" &&
77
+ `
78
+ min-height: 48px;
79
+ padding: 0 ${theme.spacing[4]};
80
+ font-size: ${theme.typography.fontSize.lg};
81
+ `}
82
+ `;
83
+ //# sourceMappingURL=input.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input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C,MAAM;QAC/C,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ;;;aAGpC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ;;;;oBAI3B,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM;;;;oBAIlC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK;;;;;UAK3C,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK;;;;;;;;kBAQzB,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS;;;IAGpD,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,CACzB,SAAS,KAAK,OAAO;IACrB;;mBAEe,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;mBAChB,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;KAC1C;;IAED,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,CACzB,SAAS,KAAK,QAAQ;IACtB;;mBAEe,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;mBAChB,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;KAC1C;;IAED,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,CACzB,SAAS,KAAK,OAAO;IACrB;;mBAEe,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;mBAChB,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;KAC1C;CACJ,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import type { HTMLAttributes, ReactNode } from "react";
2
- import "./typography.style.css";
3
2
  export type TypographyVariant = "heading-1" | "heading-2" | "heading-3" | "body-lg" | "body" | "body-sm" | "label";
4
3
  export interface TypographyProps extends HTMLAttributes<HTMLElement> {
5
4
  variant?: TypographyVariant;
6
5
  children: ReactNode;
7
6
  }
8
- declare const Typography: ({ variant, className, children, ...props }: TypographyProps) => import("react").JSX.Element;
7
+ declare const Typography: ({ variant, children, ...props }: TypographyProps) => import("react").JSX.Element;
9
8
  export default Typography;
9
+ //# sourceMappingURL=typography.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/components/typography/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvD,MAAM,MAAM,iBAAiB,GACzB,WAAW,GACX,WAAW,GACX,WAAW,GACX,SAAS,GACT,MAAM,GACN,SAAS,GACT,OAAO,CAAC;AAEZ,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,WAAW,CAAC;IAClE,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAeD,QAAA,MAAM,UAAU,GAAI,iCAIjB,eAAe,gCAYjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { StyledTypography } from "./typography.styles";
3
+ const variantElements = {
4
+ "heading-1": "h1",
5
+ "heading-2": "h2",
6
+ "heading-3": "h3",
7
+ "body-lg": "p",
8
+ body: "p",
9
+ "body-sm": "p",
10
+ label: "span",
11
+ };
12
+ const Typography = ({ variant = "body", children, ...props }) => {
13
+ const Component = variantElements[variant];
14
+ return (_jsx(StyledTypography, { as: Component, "data-variant": variant, ...props, children: children }));
15
+ };
16
+ export default Typography;
17
+ //# sourceMappingURL=typography.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.js","sourceRoot":"","sources":["../../../src/components/typography/typography.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAgBvD,MAAM,eAAe,GAGjB;IACF,WAAW,EAAE,IAAI;IACjB,WAAW,EAAE,IAAI;IACjB,WAAW,EAAE,IAAI;IACjB,SAAS,EAAE,GAAG;IACd,IAAI,EAAE,GAAG;IACT,SAAS,EAAE,GAAG;IACd,KAAK,EAAE,MAAM;CACd,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,EAClB,OAAO,GAAG,MAAM,EAChB,QAAQ,EACR,GAAG,KAAK,EACQ,EAAE,EAAE;IACpB,MAAM,SAAS,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC;IAE3C,OAAO,CACL,KAAC,gBAAgB,IACf,EAAE,EAAE,SAAS,kBACC,OAAO,KACjB,KAAK,YAER,QAAQ,GACQ,CACpB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const StyledTypography: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
5
+ //# sourceMappingURL=typography.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.styles.d.ts","sourceRoot":"","sources":["../../../src/components/typography/typography.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;2GA4D5B,CAAC"}
@@ -0,0 +1,63 @@
1
+ import styled from "@emotion/styled";
2
+ export const StyledTypography = styled.span `
3
+ margin: 0;
4
+
5
+ font-family:
6
+ Inter,
7
+ system-ui,
8
+ -apple-system,
9
+ BlinkMacSystemFont,
10
+ "Segoe UI",
11
+ Roboto,
12
+ Helvetica,
13
+ Arial,
14
+ sans-serif;
15
+
16
+ color: ${({ theme }) => theme.text.primary};
17
+
18
+ &[data-variant="heading-1"] {
19
+ font-size: ${({ theme }) => theme.typography.fontSize["4xl"]};
20
+ font-weight: ${({ theme }) => theme.typography.fontWeight.bold};
21
+ line-height: 1.15;
22
+ letter-spacing: -0.02em;
23
+ }
24
+
25
+ &[data-variant="heading-2"] {
26
+ font-size: ${({ theme }) => theme.typography.fontSize["3xl"]};
27
+ font-weight: ${({ theme }) => theme.typography.fontWeight.bold};
28
+ line-height: 1.15;
29
+ letter-spacing: -0.02em;
30
+ }
31
+
32
+ &[data-variant="heading-3"] {
33
+ font-size: ${({ theme }) => theme.typography.fontSize["2xl"]};
34
+ font-weight: ${({ theme }) => theme.typography.fontWeight.bold};
35
+ line-height: 1.15;
36
+ letter-spacing: -0.015em;
37
+ }
38
+
39
+ &[data-variant="body-lg"] {
40
+ font-size: ${({ theme }) => theme.typography.fontSize.lg};
41
+ font-weight: ${({ theme }) => theme.typography.fontWeight.regular};
42
+ line-height: 1.4;
43
+ }
44
+
45
+ &[data-variant="body"] {
46
+ font-size: ${({ theme }) => theme.typography.fontSize.md};
47
+ font-weight: ${({ theme }) => theme.typography.fontWeight.regular};
48
+ line-height: 1.4;
49
+ }
50
+
51
+ &[data-variant="body-sm"] {
52
+ font-size: ${({ theme }) => theme.typography.fontSize.sm};
53
+ font-weight: ${({ theme }) => theme.typography.fontWeight.regular};
54
+ line-height: 1.4;
55
+ }
56
+
57
+ &[data-variant="label"] {
58
+ font-size: ${({ theme }) => theme.typography.fontSize.sm};
59
+ font-weight: ${({ theme }) => theme.typography.fontWeight.medium};
60
+ line-height: 1.4;
61
+ }
62
+ `;
63
+ //# sourceMappingURL=typography.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.styles.js","sourceRoot":"","sources":["../../../src/components/typography/typography.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAAA;;;;;;;;;;;;;;WAchC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO;;;iBAG3B,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QAAQ,CAAC,EAAE;mBACzC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,MAAM;;;CAGnE,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,8 +1,10 @@
1
- import "./styles/index.css";
2
- import Button from "./components/button/button";
3
- import Input from "./components/input/input";
4
- import Typography from "./components/typography/typography";
5
- export { Button, Input, Typography };
1
+ export { ThemeProvider } from "./theme";
2
+ export { theme } from "./theme";
3
+ export type { IngAmigoTheme } from "./theme";
4
+ export { default as Button } from "./components/button/button";
5
+ export { default as Input } from "./components/input/input";
6
+ export { default as Typography } from "./components/typography/typography";
6
7
  export type { ButtonProps } from "./components/button/button";
7
8
  export type { InputProps } from "./components/input/input";
8
- export type { TypographyProps } from "./components/typography/typography";
9
+ export type { TypographyProps, TypographyVariant, } from "./components/typography/typography";
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAE3E,YAAY,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D,YAAY,EACV,eAAe,EACf,iBAAiB,GAClB,MAAM,oCAAoC,CAAC"}
package/dist/index.js CHANGED
@@ -1,2 +1,7 @@
1
- /*! For license information please see index.js.LICENSE.txt */
2
- !function(n,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var o=r();for(var t in o)("object"==typeof exports?exports:n)[t]=o[t]}}(self,()=>(()=>{"use strict";var n={784(n,r,o){var t=o(601),e=o.n(t),a=o(314),i=o.n(a)()(e());i.push([n.id,".button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n\n border: 1px solid transparent;\n border-radius: var(--radius-control);\n\n font-family: var(--font-family-base);\n font-size: var(--font-size-body);\n font-weight: var(--font-weight-label);\n line-height: 1;\n\n cursor: pointer;\n user-select: none;\n\n transition:\n background-color var(--motion-interaction) var(--motion-transition),\n color var(--motion-interaction) var(--motion-transition),\n border-color var(--motion-interaction) var(--motion-transition),\n box-shadow var(--motion-interaction) var(--motion-transition),\n transform var(--motion-interaction) var(--motion-transition);\n}\n\n/* =========================\n VARIANTS\n ========================= */\n\n.button-primary {\n background: var(--color-action-primary);\n color: var(--color-text-inverse);\n box-shadow: var(--shadow-sm);\n}\n\n.button-primary:hover:not(:disabled) {\n background: var(--color-action-primary-hover);\n box-shadow: var(--shadow-md);\n}\n\n.button-primary:active:not(:disabled) {\n transform: translateY(1px);\n box-shadow: var(--shadow-sm);\n}\n\n.button-secondary {\n background: var(--color-surface-secondary);\n color: var(--color-text-primary);\n border-color: var(--color-border-default);\n}\n\n.button-secondary:hover:not(:disabled) {\n background: var(--color-surface-tertiary);\n border-color: var(--color-border-strong);\n}\n\n.button-secondary:active:not(:disabled) {\n transform: translateY(1px);\n}\n\n/* =========================\n FOCUS\n ========================= */\n\n.button:focus-visible {\n outline: 2px solid var(--color-border-focus);\n outline-offset: 2px;\n}\n\n/* =========================\n DISABLED\n ========================= */\n\n.button:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n box-shadow: none;\n}\n\n/* =========================\n SIZES\n ========================= */\n\n.button-small {\n min-height: 32px;\n padding: 0 var(--space-3);\n\n font-size: var(--font-size-sm);\n}\n\n.button-medium {\n min-height: 40px;\n padding: 0 var(--space-4);\n\n font-size: var(--font-size-md);\n}\n\n.button-large {\n min-height: 48px;\n padding: 0 var(--space-6);\n\n font-size: var(--font-size-lg);\n}",""]);const l=i;o.d(r,["A",0,l])},666(n,r,o){var t=o(601),e=o.n(t),a=o(314),i=o.n(a)()(e());i.push([n.id,".input {\n display: block;\n width: 100%;\n\n border: 1px solid var(--color-border-default);\n border-radius: var(--radius-control);\n\n background: var(--color-surface-primary);\n color: var(--color-text-primary);\n\n font-family: var(--font-family-base);\n font-weight: var(--font-weight-body);\n line-height: 1;\n\n outline: none;\n\n transition:\n background-color var(--motion-interaction) var(--motion-transition),\n border-color var(--motion-interaction) var(--motion-transition),\n box-shadow var(--motion-interaction) var(--motion-transition),\n color var(--motion-interaction) var(--motion-transition);\n}\n\n.input::placeholder {\n color: var(--color-text-tertiary);\n}\n\n.input:hover:not(:disabled) {\n border-color: var(--color-border-strong);\n}\n\n.input:focus {\n border-color: var(--color-border-focus);\n box-shadow: 0 0 0 3px\n color-mix(in srgb, var(--color-border-focus) 18%, transparent);\n}\n\n.input:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n background: var(--color-surface-secondary);\n}\n\n/* SIZES */\n\n.input-small {\n min-height: 32px;\n padding: 0 var(--space-3);\n\n font-size: var(--font-size-sm);\n}\n\n.input-medium {\n min-height: 40px;\n padding: 0 var(--space-4);\n\n font-size: var(--font-size-md);\n}\n\n.input-large {\n min-height: 48px;\n padding: 0 var(--space-4);\n\n font-size: var(--font-size-lg);\n}",""]);const l=i;o.d(r,["A",0,l])},954(n,r,o){var t=o(601),e=o.n(t),a=o(314),i=o.n(a)()(e());i.push([n.id,".typography {\n margin: 0;\n font-family: var(--font-family-base);\n color: var(--color-text-primary);\n}\n\n/* HEADINGS */\n\n.typography-heading-1 {\n font-size: var(--font-size-heading-1);\n font-weight: var(--font-weight-heading);\n line-height: var(--line-height-tight);\n letter-spacing: -0.02em;\n}\n\n.typography-heading-2 {\n font-size: var(--font-size-heading-2);\n font-weight: var(--font-weight-heading);\n line-height: var(--line-height-tight);\n letter-spacing: -0.02em;\n}\n\n.typography-heading-3 {\n font-size: var(--font-size-heading-3);\n font-weight: var(--font-weight-heading);\n line-height: var(--line-height-tight);\n letter-spacing: -0.015em;\n}\n\n/* BODY */\n\n.typography-body-lg {\n font-size: var(--font-size-body-lg);\n font-weight: var(--font-weight-body);\n line-height: var(--line-height-normal);\n}\n\n.typography-body {\n font-size: var(--font-size-body);\n font-weight: var(--font-weight-body);\n line-height: var(--line-height-normal);\n}\n\n.typography-body-sm {\n font-size: var(--font-size-body-sm);\n font-weight: var(--font-weight-body);\n line-height: var(--line-height-normal);\n}\n\n/* LABEL */\n\n.typography-label {\n font-size: var(--font-size-label);\n font-weight: var(--font-weight-label);\n line-height: var(--line-height-normal);\n}",""]);const l=i;o.d(r,["A",0,l])},208(n,r,o){var t=o(601),e=o.n(t),a=o(314),i=o.n(a),l=o(591),c=o(982),s=o(913),d=o(497),u=i()(e());u.i(l.A),u.i(c.A),u.i(s.A),u.i(d.A),u.push([n.id,"",""]);const f=u;o.d(r,["A",0,f])},497(n,r,o){var t=o(601),e=o.n(t),a=o(314),i=o.n(a)()(e());i.push([n.id,'[data-theme="dark"] {\n color-scheme: dark;\n\n --color-background-primary: var(--color-neutral-950);\n --color-background-secondary: var(--color-neutral-900);\n\n --color-surface-primary: var(--color-neutral-900);\n --color-surface-secondary: var(--color-neutral-800);\n --color-surface-tertiary: var(--color-neutral-700);\n\n --color-text-primary: var(--color-white);\n --color-text-secondary: var(--color-neutral-300);\n --color-text-tertiary: var(--color-neutral-400);\n --color-text-disabled: var(--color-neutral-500);\n --color-text-inverse: var(--color-neutral-950);\n\n --color-border-default: var(--color-neutral-800);\n --color-border-strong: var(--color-neutral-700);\n --color-border-focus: var(--color-brand-400);\n\n --color-action-primary: var(--color-brand-500);\n --color-action-primary-hover: var(--color-brand-600);\n}',""]);const l=i;o.d(r,["A",0,l])},913(n,r,o){var t=o(601),e=o.n(t),a=o(314),i=o.n(a)()(e());i.push([n.id,":root {\n color-scheme: light;\n\n --color-background-primary: var(--color-neutral-50);\n --color-background-secondary: var(--color-white);\n\n --color-surface-primary: var(--color-white);\n --color-surface-secondary: var(--color-neutral-50);\n --color-surface-tertiary: var(--color-neutral-100);\n\n --color-text-primary: var(--color-neutral-950);\n --color-text-secondary: var(--color-neutral-600);\n --color-text-tertiary: var(--color-neutral-500);\n --color-text-disabled: var(--color-neutral-400);\n --color-text-inverse: var(--color-white);\n\n --color-border-default: var(--color-neutral-200);\n --color-border-strong: var(--color-neutral-300);\n --color-border-focus: var(--color-brand-500);\n}",""]);const l=i;o.d(r,["A",0,l])},591(n,r,o){var t=o(601),e=o.n(t),a=o(314),i=o.n(a)()(e());i.push([n.id,':root {\n /* =========================\n COLORS\n ========================= */\n\n --color-white: #ffffff;\n --color-black: #000000;\n\n /* =========================\n NEUTRAL\n ========================= */\n\n --color-neutral-50: #f5f5f5;\n --color-neutral-100: #e9e9ea;\n --color-neutral-200: #d5d5d7;\n --color-neutral-300: #b9b9bd;\n --color-neutral-400: #97979d;\n --color-neutral-500: #7b7b82;\n --color-neutral-600: #5f6066;\n --color-neutral-700: #45464b;\n --color-neutral-800: #2e3035;\n --color-neutral-900: #1d1e20;\n --color-neutral-950: #141414;\n\n /* =========================\n BRAND\n ========================= */\n\n --color-brand-400: #63c69d;\n --color-brand-500: #4db288;\n --color-brand-600: #3d9873;\n\n /* =========================\n STATUS\n ========================= */\n\n --color-success-500: #4db288;\n --color-warning-500: #e7b94c;\n --color-danger-500: #cc5c6f;\n\n /* =========================\n SPACING\n ========================= */\n\n --space-1: 4px;\n --space-2: 8px;\n --space-3: 12px;\n --space-4: 16px;\n --space-5: 20px;\n --space-6: 24px;\n --space-7: 28px;\n --space-8: 32px;\n --space-10: 40px;\n --space-12: 48px;\n --space-16: 64px;\n --space-20: 80px;\n\n /* =========================\n RADIUS\n ========================= */\n\n --radius-none: 0px;\n --radius-xs: 8px;\n --radius-sm: 12px;\n --radius-md: 16px;\n --radius-lg: 20px;\n --radius-xl: 24px;\n --radius-2xl: 28px;\n --radius-full: 9999px;\n\n /* =========================\n TYPOGRAPHY\n ========================= */\n\n --font-family-base:\n Inter,\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n Roboto,\n Helvetica,\n Arial,\n sans-serif;\n\n --font-size-xs: 12px;\n --font-size-sm: 14px;\n --font-size-md: 16px;\n --font-size-lg: 18px;\n --font-size-xl: 20px;\n --font-size-2xl: 24px;\n --font-size-3xl: 32px;\n --font-size-4xl: 36px;\n --font-size-5xl: 40px;\n\n --font-weight-regular: 400;\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n\n --line-height-tight: 1.15;\n --line-height-normal: 1.4;\n --line-height-relaxed: 1.6;\n\n /* =========================\n SHADOWS\n ========================= */\n\n --shadow-sm:\n 0 2px 8px rgb(0 0 0 / 18%);\n\n --shadow-md:\n 0 6px 16px rgb(0 0 0 / 24%);\n\n --shadow-lg:\n 0 12px 32px rgb(0 0 0 / 30%);\n\n --shadow-xl:\n 0 20px 48px rgb(0 0 0 / 36%);\n\n /* =========================\n MOTION\n ========================= */\n\n --motion-duration-fast: 150ms;\n --motion-duration-normal: 200ms;\n --motion-duration-slow: 300ms;\n\n --motion-ease-standard: ease;\n}',""]);const l=i;o.d(r,["A",0,l])},982(n,r,o){var t=o(601),e=o.n(t),a=o(314),i=o.n(a)()(e());i.push([n.id,":root {\n /* =========================\n BACKGROUND\n ========================= */\n\n --color-background-primary: var(--color-neutral-950);\n --color-background-secondary: var(--color-neutral-900);\n\n /* =========================\n SURFACE\n ========================= */\n\n --color-surface-primary: var(--color-neutral-900);\n --color-surface-secondary: var(--color-neutral-800);\n --color-surface-tertiary: var(--color-neutral-700);\n\n /* =========================\n TEXT\n ========================= */\n\n --color-text-primary: var(--color-white);\n --color-text-secondary: var(--color-neutral-400);\n --color-text-tertiary: var(--color-neutral-500);\n --color-text-disabled: var(--color-neutral-600);\n --color-text-inverse: var(--color-neutral-950);\n\n /* =========================\n BORDER\n ========================= */\n\n --color-border-default: var(--color-neutral-800);\n --color-border-strong: var(--color-neutral-700);\n --color-border-focus: var(--color-brand-500);\n\n /* =========================\n ACTION\n ========================= */\n\n --color-action-primary: var(--color-brand-500);\n --color-action-primary-hover: var(--color-brand-600);\n\n /* =========================\n STATUS\n ========================= */\n\n --color-status-success: var(--color-success-500);\n --color-status-warning: var(--color-warning-500);\n --color-status-danger: var(--color-danger-500);\n\n /* =========================\n TYPOGRAPHY\n ========================= */\n\n --font-size-body: var(--font-size-md);\n --font-size-body-sm: var(--font-size-sm);\n --font-size-body-lg: var(--font-size-lg);\n\n --font-size-label: var(--font-size-sm);\n\n --font-size-heading-1: var(--font-size-4xl);\n --font-size-heading-2: var(--font-size-3xl);\n --font-size-heading-3: var(--font-size-2xl);\n\n --font-weight-heading: var(--font-weight-bold);\n --font-weight-body: var(--font-weight-regular);\n --font-weight-label: var(--font-weight-medium);\n\n /* =========================\n RADIUS\n ========================= */\n\n --radius-control: var(--radius-md);\n --radius-card: var(--radius-xl);\n --radius-container: var(--radius-xl);\n\n /* =========================\n ELEVATION\n ========================= */\n\n --shadow-surface: var(--shadow-sm);\n --shadow-floating: var(--shadow-md);\n --shadow-overlay: var(--shadow-lg);\n\n /* =========================\n MOTION\n ========================= */\n\n --motion-interaction: var(--motion-duration-normal);\n --motion-transition: var(--motion-ease-standard);\n}",""]);const l=i;o.d(r,["A",0,l])},314(n){n.exports=function(n){var r=[];return r.toString=function(){return this.map(function(r){var o="",t=void 0!==r[5];return r[4]&&(o+="@supports (".concat(r[4],") {")),r[2]&&(o+="@media ".concat(r[2]," {")),t&&(o+="@layer".concat(r[5].length>0?" ".concat(r[5]):""," {")),o+=n(r),t&&(o+="}"),r[2]&&(o+="}"),r[4]&&(o+="}"),o}).join("")},r.i=function(n,o,t,e,a){"string"==typeof n&&(n=[[null,n,void 0]]);var i={};if(t)for(var l=0;l<this.length;l++){var c=this[l][0];null!=c&&(i[c]=!0)}for(var s=0;s<n.length;s++){var d=[].concat(n[s]);t&&i[d[0]]||(void 0!==a&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),o&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=o):d[2]=o),e&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=e):d[4]="".concat(e)),r.push(d))}},r}},601(n){n.exports=function(n){return n[1]}}};const r={};function o(t){const e=r[t];if(void 0!==e)return e.exports;const a=r[t]={id:t,exports:{}};return n[t](a,a.exports,o),a.exports}o.n=n=>{const r=n&&n.__esModule?()=>n.default:()=>n;return o.d(r,{a:r}),r},o.cw=n=>{var r;return()=>{if(n){var o=n;n=0,r={exports:{}},o.call(r.exports,r,r.exports)}return r.exports}},o.d=(n,r)=>{if(Array.isArray(r))for(var t=0;t<r.length;){var e=r[t++],a=r[t++],i=0===a?{enumerable:!0,value:r[t++]}:{enumerable:!0,get:a};o.o(n,e)||Object.defineProperty(n,e,i)}else for(var e in r)o.o(r,e)&&!o.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:r[e]})},o.o=(n,r)=>Object.prototype.hasOwnProperty.call(n,r),o.r=n=>{Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},o.nc=void 0;let t={};o.r(t),o.d(t,{Button:()=>A,Input:()=>T,Typography:()=>E});var e=o.cw(function(n,r){var o=Symbol.for("react.transitional.element");Symbol.for("react.fragment"),r.jsx=function(n,r,t){var e=null;if(void 0!==t&&(e=""+t),void 0!==r.key&&(e=""+r.key),"key"in r)for(var a in t={},r)"key"!==a&&(t[a]=r[a]);else t=r;return r=t.ref,{$$typeof:o,type:n,key:e,ref:void 0!==r?r:null,props:t}}}),a=o.cw(function(n,r){n.exports=e()}),i=o.cw(function(n,r){var o=[];function t(n){for(var r=-1,t=0;t<o.length;t++)if(o[t].identifier===n){r=t;break}return r}function e(n,r){for(var e={},i=[],l=0;l<n.length;l++){var c=n[l],s=r.base?c[0]+r.base:c[0],d=e[s]||0,u="".concat(s," ").concat(d);e[s]=d+1;var f=t(u),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)o[f].references++,o[f].updater(p);else{var v=a(p,r);r.byIndex=l,o.splice(l,0,{identifier:u,updater:v,references:1})}i.push(u)}return i}function a(n,r){var o=r.domAPI(r);return o.update(n),function(r){if(r){if(r.css===n.css&&r.media===n.media&&r.sourceMap===n.sourceMap&&r.supports===n.supports&&r.layer===n.layer)return;o.update(n=r)}else o.remove()}}n.exports=function(n,r){var a=e(n=n||[],r=r||{});return function(n){n=n||[];for(var i=0;i<a.length;i++){var l=t(a[i]);o[l].references--}for(var c=e(n,r),s=0;s<a.length;s++){var d=t(a[s]);0===o[d].references&&(o[d].updater(),o.splice(d,1))}a=c}}}),l=o.cw(function(n,r){var o={};n.exports=function(n,r){var t=function(n){if(void 0===o[n]){var r=document.querySelector(n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(n){r=null}o[n]=r}return o[n]}(n);if(!t)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");t.appendChild(r)}}),c=o.cw(function(n,r){n.exports=function(n){var r=document.createElement("style");return n.setAttributes(r,n.attributes),n.insert(r,n.options),r}}),s=o.cw(function(n,r){n.exports=function(n){var r=o.nc;r&&n.setAttribute("nonce",r)}}),d=o.cw(function(n,r){n.exports=function(n){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var r=n.insertStyleElement(n);return{update:function(o){!function(n,r,o){var t="";o.supports&&(t+="@supports (".concat(o.supports,") {")),o.media&&(t+="@media ".concat(o.media," {"));var e=void 0!==o.layer;e&&(t+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),t+=o.css,e&&(t+="}"),o.media&&(t+="}"),o.supports&&(t+="}");var a=o.sourceMap;a&&"undefined"!=typeof btoa&&(t+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),r.styleTagTransform(t,n,r.options)}(r,n,o)},remove:function(){!function(n){if(null===n.parentNode)return!1;n.parentNode.removeChild(n)}(r)}}}}),u=o.cw(function(n,r){n.exports=function(n,r){if(r.styleSheet)r.styleSheet.cssText=n;else{for(;r.firstChild;)r.removeChild(r.firstChild);r.appendChild(document.createTextNode(n))}}});function f(){return f.c||(f.c=o.n(i()))}function p(){return p.c||(p.c=o.n(d()))}function v(){return v.c||(v.c=o.n(l()))}function h(){return h.c||(h.c=o.n(s()))}function m(){return m.c||(m.c=o.n(c()))}function b(){return b.c||(b.c=o.n(u()))}i(),d(),l(),s(),c(),u();var g=o(208),y={};y.styleTagTransform=b()(),y.setAttributes=h()(),y.insert=v()().bind(null,"head"),y.domAPI=p()(),y.insertStyleElement=m()(),f()()(g.A,y),g.A&&g.A.locals&&g.A.locals,a();var x=o(784),w={};w.styleTagTransform=b()(),w.setAttributes=h()(),w.insert=v()().bind(null,"head"),w.domAPI=p()(),w.insertStyleElement=m()(),f()()(x.A,w),x.A&&x.A.locals&&x.A.locals;const A=({variant:n="primary",size:r="medium",className:o,children:t,...a})=>{const i=["button",`button-${n}`,`button-${r}`,o].filter(Boolean).join(" ");return(0,e().jsx)("button",{...a,className:i,children:t})};var z=o(666),S={};S.styleTagTransform=b()(),S.setAttributes=h()(),S.insert=v()().bind(null,"head"),S.domAPI=p()(),S.insertStyleElement=m()(),f()()(z.A,S),z.A&&z.A.locals&&z.A.locals;const T=({inputSize:n="medium",className:r,...o})=>{const t=["input",`input-${n}`,r].filter(Boolean).join(" ");return(0,e().jsx)("input",{...o,className:t})};var k=o(954),I={};I.styleTagTransform=b()(),I.setAttributes=h()(),I.insert=v()().bind(null,"head"),I.domAPI=p()(),I.insertStyleElement=m()(),f()()(k.A,I),k.A&&k.A.locals&&k.A.locals;const O={"heading-1":"h1","heading-2":"h2","heading-3":"h3","body-lg":"p",body:"p","body-sm":"p",label:"span"},E=({variant:n="body",className:r,children:o,...t})=>{const a=["typography",`typography-${n}`,r].filter(Boolean).join(" "),i=O[n];return(0,e().jsx)(i,{...t,className:a,children:o})};return t})());
1
+ "use client";
2
+ export { ThemeProvider } from "./theme";
3
+ export { theme } from "./theme";
4
+ export { default as Button } from "./components/button/button";
5
+ export { default as Input } from "./components/input/input";
6
+ export { default as Typography } from "./components/typography/typography";
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oCAAoC,CAAC"}
@@ -0,0 +1,6 @@
1
+ interface ThemeProviderProps {
2
+ children: React.ReactNode;
3
+ }
4
+ export declare function ThemeProvider({ children, }: ThemeProviderProps): import("react").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=ThemeProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../src/theme/ThemeProvider.tsx"],"names":[],"mappings":"AAQA,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,GACT,EAAE,kBAAkB,+BAMpB"}
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { ThemeProvider as EmotionThemeProvider, } from "@emotion/react";
4
+ import { theme } from "./theme";
5
+ export function ThemeProvider({ children, }) {
6
+ return (_jsx(EmotionThemeProvider, { theme: theme, children: children }));
7
+ }
8
+ //# sourceMappingURL=ThemeProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeProvider.js","sourceRoot":"","sources":["../../src/theme/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EACL,aAAa,IAAI,oBAAoB,GACtC,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAMhC,MAAM,UAAU,aAAa,CAAC,EAC5B,QAAQ,GACW;IACnB,OAAO,CACL,KAAC,oBAAoB,IAAC,KAAK,EAAE,KAAK,YAC/B,QAAQ,GACY,CACxB,CAAC;AACJ,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { ThemeProvider } from "./ThemeProvider";
2
+ export { theme } from "./theme";
3
+ export type { IngAmigoTheme } from "./theme";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { ThemeProvider } from "./ThemeProvider";
2
+ export { theme } from "./theme";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,458 @@
1
+ export declare const lightTheme: {
2
+ readonly background: {
3
+ readonly primary: "#f5f5f5";
4
+ readonly secondary: "#ffffff";
5
+ };
6
+ readonly surface: {
7
+ readonly primary: "#ffffff";
8
+ readonly secondary: "#f5f5f5";
9
+ readonly tertiary: "#e9e9ea";
10
+ };
11
+ readonly text: {
12
+ readonly primary: "#141414";
13
+ readonly secondary: "#5f6066";
14
+ readonly tertiary: "#7b7b82";
15
+ readonly disabled: "#97979d";
16
+ readonly inverse: "#ffffff";
17
+ };
18
+ readonly border: {
19
+ readonly default: "#d5d5d7";
20
+ readonly strong: "#b9b9bd";
21
+ readonly focus: "#4db288";
22
+ };
23
+ readonly action: {
24
+ readonly primary: "#4db288";
25
+ readonly primaryHover: "#3d9873";
26
+ };
27
+ readonly status: {
28
+ readonly success: "#4db288";
29
+ readonly warning: "#e7b94c";
30
+ readonly danger: "#cc5c6f";
31
+ };
32
+ readonly semanticTypography: {
33
+ readonly fontSize: {
34
+ readonly body: "16px";
35
+ readonly bodySm: "14px";
36
+ readonly bodyLg: "18px";
37
+ readonly label: "14px";
38
+ readonly heading1: "36px";
39
+ readonly heading2: "32px";
40
+ readonly heading3: "24px";
41
+ };
42
+ readonly fontWeight: {
43
+ readonly heading: 700;
44
+ readonly body: 400;
45
+ readonly label: 500;
46
+ };
47
+ };
48
+ readonly radiusSemantic: {
49
+ readonly control: "16px";
50
+ readonly card: "24px";
51
+ readonly container: "24px";
52
+ };
53
+ readonly elevation: {
54
+ readonly surface: "0 2px 8px rgb(0 0 0 / 18%)";
55
+ readonly floating: "0 6px 16px rgb(0 0 0 / 24%)";
56
+ readonly overlay: "0 12px 32px rgb(0 0 0 / 30%)";
57
+ };
58
+ readonly motionSemantic: {
59
+ readonly interaction: "200ms";
60
+ readonly transition: "ease";
61
+ };
62
+ readonly colors: {
63
+ readonly white: "#ffffff";
64
+ readonly black: "#000000";
65
+ readonly neutral: {
66
+ readonly 50: "#f5f5f5";
67
+ readonly 100: "#e9e9ea";
68
+ readonly 200: "#d5d5d7";
69
+ readonly 300: "#b9b9bd";
70
+ readonly 400: "#97979d";
71
+ readonly 500: "#7b7b82";
72
+ readonly 600: "#5f6066";
73
+ readonly 700: "#45464b";
74
+ readonly 800: "#2e3035";
75
+ readonly 900: "#1d1e20";
76
+ readonly 950: "#141414";
77
+ };
78
+ readonly brand: {
79
+ readonly 400: "#63c69d";
80
+ readonly 500: "#4db288";
81
+ readonly 600: "#3d9873";
82
+ };
83
+ readonly success: "#4db288";
84
+ readonly warning: "#e7b94c";
85
+ readonly danger: "#cc5c6f";
86
+ };
87
+ readonly spacing: {
88
+ readonly 1: "4px";
89
+ readonly 2: "8px";
90
+ readonly 3: "12px";
91
+ readonly 4: "16px";
92
+ readonly 5: "20px";
93
+ readonly 6: "24px";
94
+ readonly 7: "28px";
95
+ readonly 8: "32px";
96
+ readonly 10: "40px";
97
+ readonly 12: "48px";
98
+ readonly 16: "64px";
99
+ readonly 20: "80px";
100
+ };
101
+ readonly radius: {
102
+ readonly none: "0px";
103
+ readonly xs: "8px";
104
+ readonly sm: "12px";
105
+ readonly md: "16px";
106
+ readonly lg: "20px";
107
+ readonly xl: "24px";
108
+ readonly "2xl": "28px";
109
+ readonly full: "9999px";
110
+ };
111
+ readonly typography: {
112
+ readonly fontFamily: "\n Inter,\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n Roboto,\n Helvetica,\n Arial,\n sans-serif\n ";
113
+ readonly fontSize: {
114
+ readonly xs: "12px";
115
+ readonly sm: "14px";
116
+ readonly md: "16px";
117
+ readonly lg: "18px";
118
+ readonly xl: "20px";
119
+ readonly "2xl": "24px";
120
+ readonly "3xl": "32px";
121
+ readonly "4xl": "36px";
122
+ readonly "5xl": "40px";
123
+ };
124
+ readonly fontWeight: {
125
+ readonly regular: 400;
126
+ readonly medium: 500;
127
+ readonly semibold: 600;
128
+ readonly bold: 700;
129
+ };
130
+ readonly lineHeight: {
131
+ readonly tight: 1.15;
132
+ readonly normal: 1.4;
133
+ readonly relaxed: 1.6;
134
+ };
135
+ };
136
+ readonly shadows: {
137
+ readonly sm: "0 2px 8px rgb(0 0 0 / 18%)";
138
+ readonly md: "0 6px 16px rgb(0 0 0 / 24%)";
139
+ readonly lg: "0 12px 32px rgb(0 0 0 / 30%)";
140
+ readonly xl: "0 20px 48px rgb(0 0 0 / 36%)";
141
+ };
142
+ readonly motion: {
143
+ readonly duration: {
144
+ readonly fast: "150ms";
145
+ readonly normal: "200ms";
146
+ readonly slow: "300ms";
147
+ };
148
+ readonly ease: {
149
+ readonly standard: "ease";
150
+ };
151
+ };
152
+ };
153
+ export declare const darkTheme: {
154
+ readonly background: {
155
+ readonly primary: "#141414";
156
+ readonly secondary: "#1d1e20";
157
+ };
158
+ readonly surface: {
159
+ readonly primary: "#1d1e20";
160
+ readonly secondary: "#2e3035";
161
+ readonly tertiary: "#45464b";
162
+ };
163
+ readonly text: {
164
+ readonly primary: "#ffffff";
165
+ readonly secondary: "#b9b9bd";
166
+ readonly tertiary: "#97979d";
167
+ readonly disabled: "#7b7b82";
168
+ readonly inverse: "#141414";
169
+ };
170
+ readonly border: {
171
+ readonly default: "#2e3035";
172
+ readonly strong: "#45464b";
173
+ readonly focus: "#63c69d";
174
+ };
175
+ readonly action: {
176
+ readonly primary: "#4db288";
177
+ readonly primaryHover: "#3d9873";
178
+ };
179
+ readonly status: {
180
+ readonly success: "#4db288";
181
+ readonly warning: "#e7b94c";
182
+ readonly danger: "#cc5c6f";
183
+ };
184
+ readonly semanticTypography: {
185
+ readonly fontSize: {
186
+ readonly body: "16px";
187
+ readonly bodySm: "14px";
188
+ readonly bodyLg: "18px";
189
+ readonly label: "14px";
190
+ readonly heading1: "36px";
191
+ readonly heading2: "32px";
192
+ readonly heading3: "24px";
193
+ };
194
+ readonly fontWeight: {
195
+ readonly heading: 700;
196
+ readonly body: 400;
197
+ readonly label: 500;
198
+ };
199
+ };
200
+ readonly radiusSemantic: {
201
+ readonly control: "16px";
202
+ readonly card: "24px";
203
+ readonly container: "24px";
204
+ };
205
+ readonly elevation: {
206
+ readonly surface: "0 2px 8px rgb(0 0 0 / 18%)";
207
+ readonly floating: "0 6px 16px rgb(0 0 0 / 24%)";
208
+ readonly overlay: "0 12px 32px rgb(0 0 0 / 30%)";
209
+ };
210
+ readonly motionSemantic: {
211
+ readonly interaction: "200ms";
212
+ readonly transition: "ease";
213
+ };
214
+ readonly colors: {
215
+ readonly white: "#ffffff";
216
+ readonly black: "#000000";
217
+ readonly neutral: {
218
+ readonly 50: "#f5f5f5";
219
+ readonly 100: "#e9e9ea";
220
+ readonly 200: "#d5d5d7";
221
+ readonly 300: "#b9b9bd";
222
+ readonly 400: "#97979d";
223
+ readonly 500: "#7b7b82";
224
+ readonly 600: "#5f6066";
225
+ readonly 700: "#45464b";
226
+ readonly 800: "#2e3035";
227
+ readonly 900: "#1d1e20";
228
+ readonly 950: "#141414";
229
+ };
230
+ readonly brand: {
231
+ readonly 400: "#63c69d";
232
+ readonly 500: "#4db288";
233
+ readonly 600: "#3d9873";
234
+ };
235
+ readonly success: "#4db288";
236
+ readonly warning: "#e7b94c";
237
+ readonly danger: "#cc5c6f";
238
+ };
239
+ readonly spacing: {
240
+ readonly 1: "4px";
241
+ readonly 2: "8px";
242
+ readonly 3: "12px";
243
+ readonly 4: "16px";
244
+ readonly 5: "20px";
245
+ readonly 6: "24px";
246
+ readonly 7: "28px";
247
+ readonly 8: "32px";
248
+ readonly 10: "40px";
249
+ readonly 12: "48px";
250
+ readonly 16: "64px";
251
+ readonly 20: "80px";
252
+ };
253
+ readonly radius: {
254
+ readonly none: "0px";
255
+ readonly xs: "8px";
256
+ readonly sm: "12px";
257
+ readonly md: "16px";
258
+ readonly lg: "20px";
259
+ readonly xl: "24px";
260
+ readonly "2xl": "28px";
261
+ readonly full: "9999px";
262
+ };
263
+ readonly typography: {
264
+ readonly fontFamily: "\n Inter,\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n Roboto,\n Helvetica,\n Arial,\n sans-serif\n ";
265
+ readonly fontSize: {
266
+ readonly xs: "12px";
267
+ readonly sm: "14px";
268
+ readonly md: "16px";
269
+ readonly lg: "18px";
270
+ readonly xl: "20px";
271
+ readonly "2xl": "24px";
272
+ readonly "3xl": "32px";
273
+ readonly "4xl": "36px";
274
+ readonly "5xl": "40px";
275
+ };
276
+ readonly fontWeight: {
277
+ readonly regular: 400;
278
+ readonly medium: 500;
279
+ readonly semibold: 600;
280
+ readonly bold: 700;
281
+ };
282
+ readonly lineHeight: {
283
+ readonly tight: 1.15;
284
+ readonly normal: 1.4;
285
+ readonly relaxed: 1.6;
286
+ };
287
+ };
288
+ readonly shadows: {
289
+ readonly sm: "0 2px 8px rgb(0 0 0 / 18%)";
290
+ readonly md: "0 6px 16px rgb(0 0 0 / 24%)";
291
+ readonly lg: "0 12px 32px rgb(0 0 0 / 30%)";
292
+ readonly xl: "0 20px 48px rgb(0 0 0 / 36%)";
293
+ };
294
+ readonly motion: {
295
+ readonly duration: {
296
+ readonly fast: "150ms";
297
+ readonly normal: "200ms";
298
+ readonly slow: "300ms";
299
+ };
300
+ readonly ease: {
301
+ readonly standard: "ease";
302
+ };
303
+ };
304
+ };
305
+ export declare const theme: {
306
+ readonly background: {
307
+ readonly primary: "#f5f5f5";
308
+ readonly secondary: "#ffffff";
309
+ };
310
+ readonly surface: {
311
+ readonly primary: "#ffffff";
312
+ readonly secondary: "#f5f5f5";
313
+ readonly tertiary: "#e9e9ea";
314
+ };
315
+ readonly text: {
316
+ readonly primary: "#141414";
317
+ readonly secondary: "#5f6066";
318
+ readonly tertiary: "#7b7b82";
319
+ readonly disabled: "#97979d";
320
+ readonly inverse: "#ffffff";
321
+ };
322
+ readonly border: {
323
+ readonly default: "#d5d5d7";
324
+ readonly strong: "#b9b9bd";
325
+ readonly focus: "#4db288";
326
+ };
327
+ readonly action: {
328
+ readonly primary: "#4db288";
329
+ readonly primaryHover: "#3d9873";
330
+ };
331
+ readonly status: {
332
+ readonly success: "#4db288";
333
+ readonly warning: "#e7b94c";
334
+ readonly danger: "#cc5c6f";
335
+ };
336
+ readonly semanticTypography: {
337
+ readonly fontSize: {
338
+ readonly body: "16px";
339
+ readonly bodySm: "14px";
340
+ readonly bodyLg: "18px";
341
+ readonly label: "14px";
342
+ readonly heading1: "36px";
343
+ readonly heading2: "32px";
344
+ readonly heading3: "24px";
345
+ };
346
+ readonly fontWeight: {
347
+ readonly heading: 700;
348
+ readonly body: 400;
349
+ readonly label: 500;
350
+ };
351
+ };
352
+ readonly radiusSemantic: {
353
+ readonly control: "16px";
354
+ readonly card: "24px";
355
+ readonly container: "24px";
356
+ };
357
+ readonly elevation: {
358
+ readonly surface: "0 2px 8px rgb(0 0 0 / 18%)";
359
+ readonly floating: "0 6px 16px rgb(0 0 0 / 24%)";
360
+ readonly overlay: "0 12px 32px rgb(0 0 0 / 30%)";
361
+ };
362
+ readonly motionSemantic: {
363
+ readonly interaction: "200ms";
364
+ readonly transition: "ease";
365
+ };
366
+ readonly colors: {
367
+ readonly white: "#ffffff";
368
+ readonly black: "#000000";
369
+ readonly neutral: {
370
+ readonly 50: "#f5f5f5";
371
+ readonly 100: "#e9e9ea";
372
+ readonly 200: "#d5d5d7";
373
+ readonly 300: "#b9b9bd";
374
+ readonly 400: "#97979d";
375
+ readonly 500: "#7b7b82";
376
+ readonly 600: "#5f6066";
377
+ readonly 700: "#45464b";
378
+ readonly 800: "#2e3035";
379
+ readonly 900: "#1d1e20";
380
+ readonly 950: "#141414";
381
+ };
382
+ readonly brand: {
383
+ readonly 400: "#63c69d";
384
+ readonly 500: "#4db288";
385
+ readonly 600: "#3d9873";
386
+ };
387
+ readonly success: "#4db288";
388
+ readonly warning: "#e7b94c";
389
+ readonly danger: "#cc5c6f";
390
+ };
391
+ readonly spacing: {
392
+ readonly 1: "4px";
393
+ readonly 2: "8px";
394
+ readonly 3: "12px";
395
+ readonly 4: "16px";
396
+ readonly 5: "20px";
397
+ readonly 6: "24px";
398
+ readonly 7: "28px";
399
+ readonly 8: "32px";
400
+ readonly 10: "40px";
401
+ readonly 12: "48px";
402
+ readonly 16: "64px";
403
+ readonly 20: "80px";
404
+ };
405
+ readonly radius: {
406
+ readonly none: "0px";
407
+ readonly xs: "8px";
408
+ readonly sm: "12px";
409
+ readonly md: "16px";
410
+ readonly lg: "20px";
411
+ readonly xl: "24px";
412
+ readonly "2xl": "28px";
413
+ readonly full: "9999px";
414
+ };
415
+ readonly typography: {
416
+ readonly fontFamily: "\n Inter,\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n Roboto,\n Helvetica,\n Arial,\n sans-serif\n ";
417
+ readonly fontSize: {
418
+ readonly xs: "12px";
419
+ readonly sm: "14px";
420
+ readonly md: "16px";
421
+ readonly lg: "18px";
422
+ readonly xl: "20px";
423
+ readonly "2xl": "24px";
424
+ readonly "3xl": "32px";
425
+ readonly "4xl": "36px";
426
+ readonly "5xl": "40px";
427
+ };
428
+ readonly fontWeight: {
429
+ readonly regular: 400;
430
+ readonly medium: 500;
431
+ readonly semibold: 600;
432
+ readonly bold: 700;
433
+ };
434
+ readonly lineHeight: {
435
+ readonly tight: 1.15;
436
+ readonly normal: 1.4;
437
+ readonly relaxed: 1.6;
438
+ };
439
+ };
440
+ readonly shadows: {
441
+ readonly sm: "0 2px 8px rgb(0 0 0 / 18%)";
442
+ readonly md: "0 6px 16px rgb(0 0 0 / 24%)";
443
+ readonly lg: "0 12px 32px rgb(0 0 0 / 30%)";
444
+ readonly xl: "0 20px 48px rgb(0 0 0 / 36%)";
445
+ };
446
+ readonly motion: {
447
+ readonly duration: {
448
+ readonly fast: "150ms";
449
+ readonly normal: "200ms";
450
+ readonly slow: "300ms";
451
+ };
452
+ readonly ease: {
453
+ readonly standard: "ease";
454
+ };
455
+ };
456
+ };
457
+ export type IngAmigoTheme = typeof lightTheme;
458
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/theme/theme.ts"],"names":[],"mappings":"AAyOA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGb,CAAC;AAEX,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGZ,CAAC;AAEX,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAa,CAAC;AAEhC,MAAM,MAAM,aAAa,GAAG,OAAO,UAAU,CAAC"}
@@ -0,0 +1,210 @@
1
+ const primitives = {
2
+ colors: {
3
+ white: "#ffffff",
4
+ black: "#000000",
5
+ neutral: {
6
+ 50: "#f5f5f5",
7
+ 100: "#e9e9ea",
8
+ 200: "#d5d5d7",
9
+ 300: "#b9b9bd",
10
+ 400: "#97979d",
11
+ 500: "#7b7b82",
12
+ 600: "#5f6066",
13
+ 700: "#45464b",
14
+ 800: "#2e3035",
15
+ 900: "#1d1e20",
16
+ 950: "#141414",
17
+ },
18
+ brand: {
19
+ 400: "#63c69d",
20
+ 500: "#4db288",
21
+ 600: "#3d9873",
22
+ },
23
+ success: "#4db288",
24
+ warning: "#e7b94c",
25
+ danger: "#cc5c6f",
26
+ },
27
+ spacing: {
28
+ 1: "4px",
29
+ 2: "8px",
30
+ 3: "12px",
31
+ 4: "16px",
32
+ 5: "20px",
33
+ 6: "24px",
34
+ 7: "28px",
35
+ 8: "32px",
36
+ 10: "40px",
37
+ 12: "48px",
38
+ 16: "64px",
39
+ 20: "80px",
40
+ },
41
+ radius: {
42
+ none: "0px",
43
+ xs: "8px",
44
+ sm: "12px",
45
+ md: "16px",
46
+ lg: "20px",
47
+ xl: "24px",
48
+ "2xl": "28px",
49
+ full: "9999px",
50
+ },
51
+ typography: {
52
+ fontFamily: `
53
+ Inter,
54
+ system-ui,
55
+ -apple-system,
56
+ BlinkMacSystemFont,
57
+ "Segoe UI",
58
+ Roboto,
59
+ Helvetica,
60
+ Arial,
61
+ sans-serif
62
+ `,
63
+ fontSize: {
64
+ xs: "12px",
65
+ sm: "14px",
66
+ md: "16px",
67
+ lg: "18px",
68
+ xl: "20px",
69
+ "2xl": "24px",
70
+ "3xl": "32px",
71
+ "4xl": "36px",
72
+ "5xl": "40px",
73
+ },
74
+ fontWeight: {
75
+ regular: 400,
76
+ medium: 500,
77
+ semibold: 600,
78
+ bold: 700,
79
+ },
80
+ lineHeight: {
81
+ tight: 1.15,
82
+ normal: 1.4,
83
+ relaxed: 1.6,
84
+ },
85
+ },
86
+ shadows: {
87
+ sm: "0 2px 8px rgb(0 0 0 / 18%)",
88
+ md: "0 6px 16px rgb(0 0 0 / 24%)",
89
+ lg: "0 12px 32px rgb(0 0 0 / 30%)",
90
+ xl: "0 20px 48px rgb(0 0 0 / 36%)",
91
+ },
92
+ motion: {
93
+ duration: {
94
+ fast: "150ms",
95
+ normal: "200ms",
96
+ slow: "300ms",
97
+ },
98
+ ease: {
99
+ standard: "ease",
100
+ },
101
+ },
102
+ };
103
+ const lightSemantic = {
104
+ background: {
105
+ primary: primitives.colors.neutral[50],
106
+ secondary: primitives.colors.white,
107
+ },
108
+ surface: {
109
+ primary: primitives.colors.white,
110
+ secondary: primitives.colors.neutral[50],
111
+ tertiary: primitives.colors.neutral[100],
112
+ },
113
+ text: {
114
+ primary: primitives.colors.neutral[950],
115
+ secondary: primitives.colors.neutral[600],
116
+ tertiary: primitives.colors.neutral[500],
117
+ disabled: primitives.colors.neutral[400],
118
+ inverse: primitives.colors.white,
119
+ },
120
+ border: {
121
+ default: primitives.colors.neutral[200],
122
+ strong: primitives.colors.neutral[300],
123
+ focus: primitives.colors.brand[500],
124
+ },
125
+ action: {
126
+ primary: primitives.colors.brand[500],
127
+ primaryHover: primitives.colors.brand[600],
128
+ },
129
+ status: {
130
+ success: primitives.colors.success,
131
+ warning: primitives.colors.warning,
132
+ danger: primitives.colors.danger,
133
+ },
134
+ semanticTypography: {
135
+ fontSize: {
136
+ body: primitives.typography.fontSize.md,
137
+ bodySm: primitives.typography.fontSize.sm,
138
+ bodyLg: primitives.typography.fontSize.lg,
139
+ label: primitives.typography.fontSize.sm,
140
+ heading1: primitives.typography.fontSize["4xl"],
141
+ heading2: primitives.typography.fontSize["3xl"],
142
+ heading3: primitives.typography.fontSize["2xl"],
143
+ },
144
+ fontWeight: {
145
+ heading: primitives.typography.fontWeight.bold,
146
+ body: primitives.typography.fontWeight.regular,
147
+ label: primitives.typography.fontWeight.medium,
148
+ },
149
+ },
150
+ radiusSemantic: {
151
+ control: primitives.radius.md,
152
+ card: primitives.radius.xl,
153
+ container: primitives.radius.xl,
154
+ },
155
+ elevation: {
156
+ surface: primitives.shadows.sm,
157
+ floating: primitives.shadows.md,
158
+ overlay: primitives.shadows.lg,
159
+ },
160
+ motionSemantic: {
161
+ interaction: primitives.motion.duration.normal,
162
+ transition: primitives.motion.ease.standard,
163
+ },
164
+ };
165
+ const darkSemantic = {
166
+ background: {
167
+ primary: primitives.colors.neutral[950],
168
+ secondary: primitives.colors.neutral[900],
169
+ },
170
+ surface: {
171
+ primary: primitives.colors.neutral[900],
172
+ secondary: primitives.colors.neutral[800],
173
+ tertiary: primitives.colors.neutral[700],
174
+ },
175
+ text: {
176
+ primary: primitives.colors.white,
177
+ secondary: primitives.colors.neutral[300],
178
+ tertiary: primitives.colors.neutral[400],
179
+ disabled: primitives.colors.neutral[500],
180
+ inverse: primitives.colors.neutral[950],
181
+ },
182
+ border: {
183
+ default: primitives.colors.neutral[800],
184
+ strong: primitives.colors.neutral[700],
185
+ focus: primitives.colors.brand[400],
186
+ },
187
+ action: {
188
+ primary: primitives.colors.brand[500],
189
+ primaryHover: primitives.colors.brand[600],
190
+ },
191
+ status: {
192
+ success: primitives.colors.success,
193
+ warning: primitives.colors.warning,
194
+ danger: primitives.colors.danger,
195
+ },
196
+ semanticTypography: lightSemantic.semanticTypography,
197
+ radiusSemantic: lightSemantic.radiusSemantic,
198
+ elevation: lightSemantic.elevation,
199
+ motionSemantic: lightSemantic.motionSemantic,
200
+ };
201
+ export const lightTheme = {
202
+ ...primitives,
203
+ ...lightSemantic,
204
+ };
205
+ export const darkTheme = {
206
+ ...primitives,
207
+ ...darkSemantic,
208
+ };
209
+ export const theme = lightTheme;
210
+ //# sourceMappingURL=theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.js","sourceRoot":"","sources":["../../src/theme/theme.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,GAAG;IACjB,MAAM,EAAE;QACN,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;QAEhB,OAAO,EAAE;YACP,EAAE,EAAE,SAAS;YACb,GAAG,EAAE,SAAS;YACd,GAAG,EAAE,SAAS;YACd,GAAG,EAAE,SAAS;YACd,GAAG,EAAE,SAAS;YACd,GAAG,EAAE,SAAS;YACd,GAAG,EAAE,SAAS;YACd,GAAG,EAAE,SAAS;YACd,GAAG,EAAE,SAAS;YACd,GAAG,EAAE,SAAS;YACd,GAAG,EAAE,SAAS;SACf;QAED,KAAK,EAAE;YACL,GAAG,EAAE,SAAS;YACd,GAAG,EAAE,SAAS;YACd,GAAG,EAAE,SAAS;SACf;QAED,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,SAAS;KAClB;IAED,OAAO,EAAE;QACP,CAAC,EAAE,KAAK;QACR,CAAC,EAAE,KAAK;QACR,CAAC,EAAE,MAAM;QACT,CAAC,EAAE,MAAM;QACT,CAAC,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CAAC,kBAAkB;IACpD,cAAc,EAAE,aAAa,CAAC,cAAc;IAC5C,SAAS,EAAE,aAAa,CAAC,SAAS;IAClC,cAAc,EAAE,aAAa,CAAC,cAAc;CACpC,CAAC;AAEX,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,GAAG,UAAU;IACb,GAAG,aAAa;CACR,CAAC;AAEX,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,GAAG,UAAU;IACb,GAAG,YAAY;CACP,CAAC;AAEX,MAAM,CAAC,MAAM,KAAK,GAAG,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,8 +1,16 @@
1
1
  {
2
2
  "name": "@ingamigo/ui",
3
- "version": "1.0.5",
3
+ "version": "1.1.0",
4
4
  "description": "UI component library and design system for IngAmigo",
5
5
  "main": "./dist/index.js",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js"
12
+ }
13
+ },
6
14
  "repository": {
7
15
  "type": "git",
8
16
  "url": "git+https://github.com/workshop-ideas/ingamigo-ui.git"
@@ -12,7 +20,7 @@
12
20
  "url": "https://github.com/workshop-ideas/ingamigo-ui/issues"
13
21
  },
14
22
  "scripts": {
15
- "build": "npx webpack && tsc -p tsconfig.build.json",
23
+ "build": "tsc",
16
24
  "storybook": "storybook dev -p 6006",
17
25
  "build-storybook": "storybook build",
18
26
  "lint": "eslint .",
@@ -68,5 +76,9 @@
68
76
  },
69
77
  "files": [
70
78
  "dist"
71
- ]
79
+ ],
80
+ "dependencies": {
81
+ "@emotion/react": "^11.14.0",
82
+ "@emotion/styled": "^11.14.1"
83
+ }
72
84
  }
@@ -1,9 +0,0 @@
1
- /**
2
- * @license React
3
- * react-jsx-runtime.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */