@ingamigo/ui 1.0.8 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/button/button.d.ts +4 -4
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/button/button.js +7 -0
- package/dist/components/button/button.js.map +1 -0
- package/dist/components/button/button.styles.d.ts +8 -0
- package/dist/components/button/button.styles.d.ts.map +1 -0
- package/dist/components/button/button.styles.js +117 -0
- package/dist/components/button/button.styles.js.map +1 -0
- package/dist/components/input/input.d.ts +2 -2
- package/dist/components/input/input.d.ts.map +1 -0
- package/dist/components/input/input.js +7 -0
- package/dist/components/input/input.js.map +1 -0
- package/dist/components/input/input.styles.d.ts +9 -0
- package/dist/components/input/input.styles.d.ts.map +1 -0
- package/dist/components/input/input.styles.js +83 -0
- package/dist/components/input/input.styles.js.map +1 -0
- package/dist/components/segmented-control/segmented-control.d.ts +16 -0
- package/dist/components/segmented-control/segmented-control.d.ts.map +1 -0
- package/dist/components/segmented-control/segmented-control.js +50 -0
- package/dist/components/segmented-control/segmented-control.js.map +1 -0
- package/dist/components/segmented-control/segmented-control.stories .d.ts +25 -0
- package/dist/components/segmented-control/segmented-control.stories .d.ts.map +1 -0
- package/dist/components/segmented-control/segmented-control.stories .js +91 -0
- package/dist/components/segmented-control/segmented-control.stories .js.map +1 -0
- package/dist/components/segmented-control/segmented-control.styles.d.ts +11 -0
- package/dist/components/segmented-control/segmented-control.styles.d.ts.map +1 -0
- package/dist/components/segmented-control/segmented-control.styles.js +83 -0
- package/dist/components/segmented-control/segmented-control.styles.js.map +1 -0
- package/dist/components/typography/typography.d.ts +2 -2
- package/dist/components/typography/typography.d.ts.map +1 -0
- package/dist/components/typography/typography.js +17 -0
- package/dist/components/typography/typography.js.map +1 -0
- package/dist/components/typography/typography.styles.d.ts +5 -0
- package/dist/components/typography/typography.styles.d.ts.map +1 -0
- package/dist/components/typography/typography.styles.js +63 -0
- package/dist/components/typography/typography.styles.js.map +1 -0
- package/dist/index.d.ts +8 -6
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -0
- package/dist/theme/ThemeProvider.d.ts +6 -0
- package/dist/theme/ThemeProvider.d.ts.map +1 -0
- package/dist/theme/ThemeProvider.js +8 -0
- package/dist/theme/ThemeProvider.js.map +1 -0
- package/dist/theme/index.d.ts +4 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/index.js +3 -0
- package/dist/theme/index.js.map +1 -0
- package/dist/theme/theme.d.ts +458 -0
- package/dist/theme/theme.d.ts.map +1 -0
- package/dist/theme/theme.js +210 -0
- package/dist/theme/theme.js.map +1 -0
- package/package.json +11 -8
- package/dist/index.js.LICENSE.txt +0 -9
|
@@ -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,K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AAO;QAClC,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM;KACjC;IAED,kBAAkB,EAAE,aAAa,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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ingamigo/ui",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "UI component library and design system for IngAmigo",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"url": "https://github.com/workshop-ideas/ingamigo-ui/issues"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
|
-
"build": "
|
|
23
|
+
"build": "tsc",
|
|
24
24
|
"storybook": "storybook dev -p 6006",
|
|
25
25
|
"build-storybook": "storybook build",
|
|
26
26
|
"lint": "eslint .",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"@eslint/js": "^10.0.1",
|
|
48
48
|
"@storybook/addon-a11y": "^10.6.0",
|
|
49
49
|
"@storybook/addon-docs": "^10.6.0",
|
|
50
|
-
"@storybook/
|
|
51
|
-
"@storybook/react-webpack5": "^10.6.0",
|
|
50
|
+
"@storybook/react-vite": "^10.6.0",
|
|
52
51
|
"@testing-library/jest-dom": "^7.0.1",
|
|
53
52
|
"@testing-library/react": "^16.3.3",
|
|
53
|
+
"@testing-library/user-event": "^14.6.7",
|
|
54
54
|
"@types/react": "^19.3.0",
|
|
55
55
|
"@types/react-dom": "^19.3.0",
|
|
56
56
|
"css-loader": "^7.1.5",
|
|
@@ -66,9 +66,8 @@
|
|
|
66
66
|
"ts-loader": "^9.6.2",
|
|
67
67
|
"typescript": "^6.0.3",
|
|
68
68
|
"typescript-eslint": "^8.70.0",
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"webpack-cli": "^7.2.3"
|
|
69
|
+
"vite": "^8.3.0",
|
|
70
|
+
"vitest": "^5.0.1"
|
|
72
71
|
},
|
|
73
72
|
"peerDependencies": {
|
|
74
73
|
"react": "*",
|
|
@@ -76,5 +75,9 @@
|
|
|
76
75
|
},
|
|
77
76
|
"files": [
|
|
78
77
|
"dist"
|
|
79
|
-
]
|
|
78
|
+
],
|
|
79
|
+
"dependencies": {
|
|
80
|
+
"@emotion/react": "^11.14.0",
|
|
81
|
+
"@emotion/styled": "^11.14.1"
|
|
82
|
+
}
|
|
80
83
|
}
|