@situaction/traquiste-mobile 1.0.0-next.2 → 1.0.0-next.4
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/package.json +4 -1
- package/.eslintrc.js +0 -5
- package/.releaserc +0 -12
- package/CLAUDE.md +0 -25
- package/app.json +0 -5
- package/bitbucket-pipelines.yml +0 -81
- package/build/components/Button/Button.stories.d.ts +0 -19
- package/build/components/Button/Button.stories.d.ts.map +0 -1
- package/build/components/Button/Button.stories.js +0 -95
- package/build/components/Button/Button.stories.js.map +0 -1
- package/build/components/ButtonAction/ButtonAction.stories.d.ts +0 -13
- package/build/components/ButtonAction/ButtonAction.stories.d.ts.map +0 -1
- package/build/components/ButtonAction/ButtonAction.stories.js +0 -51
- package/build/components/ButtonAction/ButtonAction.stories.js.map +0 -1
- package/build/components/ButtonMap/ButtonMap.stories.d.ts +0 -12
- package/build/components/ButtonMap/ButtonMap.stories.d.ts.map +0 -1
- package/build/components/ButtonMap/ButtonMap.stories.js +0 -36
- package/build/components/ButtonMap/ButtonMap.stories.js.map +0 -1
- package/build/components/ButtonMenu/ButtonMenu.stories.d.ts +0 -15
- package/build/components/ButtonMenu/ButtonMenu.stories.d.ts.map +0 -1
- package/build/components/ButtonMenu/ButtonMenu.stories.js +0 -52
- package/build/components/ButtonMenu/ButtonMenu.stories.js.map +0 -1
- package/build/components/FilterChip/FilterChip.stories.d.ts +0 -15
- package/build/components/FilterChip/FilterChip.stories.d.ts.map +0 -1
- package/build/components/FilterChip/FilterChip.stories.js +0 -55
- package/build/components/FilterChip/FilterChip.stories.js.map +0 -1
- package/docs/README.md +0 -73
- package/docs/eslint.config.js +0 -22
- package/docs/index.html +0 -16
- package/docs/package-lock.json +0 -5578
- package/docs/package.json +0 -37
- package/docs/public/favicon.svg +0 -1
- package/docs/public/icons.svg +0 -24
- package/docs/src/App.css +0 -184
- package/docs/src/App.tsx +0 -38
- package/docs/src/assets/hero.png +0 -0
- package/docs/src/assets/react.svg +0 -1
- package/docs/src/assets/vite.svg +0 -1
- package/docs/src/components/Layout.tsx +0 -108
- package/docs/src/components/LiveEditor.tsx +0 -294
- package/docs/src/components/PropsTable.tsx +0 -101
- package/docs/src/components/Sidebar.tsx +0 -103
- package/docs/src/components/TableOfContents.tsx +0 -75
- package/docs/src/context/ColorModeContext.tsx +0 -34
- package/docs/src/index.css +0 -76
- package/docs/src/lib/createComponentPage.tsx +0 -270
- package/docs/src/main.tsx +0 -13
- package/docs/src/pages/Examples.tsx +0 -273
- package/docs/src/pages/Home.tsx +0 -70
- package/docs/src/pages/components/button-action.ts +0 -88
- package/docs/src/pages/components/button-map.ts +0 -67
- package/docs/src/pages/components/button-menu.ts +0 -90
- package/docs/src/pages/components/button.ts +0 -158
- package/docs/src/pages/components/filter-chip.ts +0 -109
- package/docs/tsconfig.app.json +0 -32
- package/docs/tsconfig.json +0 -7
- package/docs/tsconfig.node.json +0 -24
- package/docs/vite.config.ts +0 -18
- package/ios/.xcode.env +0 -11
- package/ios/Podfile +0 -63
- package/ios/Podfile.properties.json +0 -4
- package/ios/situactiontraquistemobile/AppDelegate.swift +0 -69
- package/ios/situactiontraquistemobile/Images.xcassets/AppIcon.appiconset/Contents.json +0 -13
- package/ios/situactiontraquistemobile/Images.xcassets/Contents.json +0 -6
- package/ios/situactiontraquistemobile/Images.xcassets/SplashScreenLegacy.imageset/Contents.json +0 -21
- package/ios/situactiontraquistemobile/Images.xcassets/SplashScreenLegacy.imageset/SplashScreenLegacy.png +0 -0
- package/ios/situactiontraquistemobile/Info.plist +0 -53
- package/ios/situactiontraquistemobile/SplashScreen.storyboard +0 -47
- package/ios/situactiontraquistemobile/Supporting/Expo.plist +0 -6
- package/ios/situactiontraquistemobile/situactiontraquistemobile-Bridging-Header.h +0 -3
- package/ios/situactiontraquistemobile.xcodeproj/project.pbxproj +0 -432
- package/ios/situactiontraquistemobile.xcodeproj/xcshareddata/xcschemes/situactiontraquistemobile.xcscheme +0 -88
- package/jest.config.js +0 -197
- package/src/components/.gitkeep +0 -0
- package/src/components/Button/Button.stories.tsx +0 -123
- package/src/components/Button/Button.tsx +0 -128
- package/src/components/Button/index.ts +0 -2
- package/src/components/ButtonAction/ButtonAction.stories.tsx +0 -67
- package/src/components/ButtonAction/ButtonAction.tsx +0 -67
- package/src/components/ButtonAction/index.ts +0 -2
- package/src/components/ButtonMap/ButtonMap.stories.tsx +0 -49
- package/src/components/ButtonMap/ButtonMap.tsx +0 -40
- package/src/components/ButtonMap/index.ts +0 -2
- package/src/components/ButtonMenu/ButtonMenu.stories.tsx +0 -68
- package/src/components/ButtonMenu/ButtonMenu.tsx +0 -97
- package/src/components/ButtonMenu/index.ts +0 -2
- package/src/components/FilterChip/FilterChip.stories.tsx +0 -71
- package/src/components/FilterChip/FilterChip.tsx +0 -124
- package/src/components/FilterChip/index.ts +0 -2
- package/src/constants/colors.ts +0 -2
- package/src/context/ThemeContext.tsx +0 -84
- package/src/index.ts +0 -23
- package/src/theme/index.ts +0 -20
- package/src/theme/tokens/dark.ts +0 -160
- package/src/theme/tokens/light.ts +0 -166
- package/src/theme/type.ts +0 -122
- package/src/types/.gitkeep +0 -0
- package/src/utils/.gitkeep +0 -0
- package/tsconfig.json +0 -9
package/src/theme/tokens/dark.ts
DELETED
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Base dark tokens.
|
|
3
|
-
* These are the default dark values — themes override what they need.
|
|
4
|
-
* Tim: add new component tokens at the bottom when creating a new component.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import type { ColorSchemeTokens } from '../type';
|
|
8
|
-
|
|
9
|
-
export const darkTokens: ColorSchemeTokens = {
|
|
10
|
-
// -------------------------------------------------------------------------
|
|
11
|
-
// Globals
|
|
12
|
-
// -------------------------------------------------------------------------
|
|
13
|
-
|
|
14
|
-
background: {
|
|
15
|
-
primary: '#28242e',
|
|
16
|
-
secondary: '#2f2b37',
|
|
17
|
-
tertiary: '#3e3f4e',
|
|
18
|
-
overlay: '#0f0f0f99',
|
|
19
|
-
menu: '#2f2b37',
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
text: {
|
|
23
|
-
primary: '#ffffff',
|
|
24
|
-
secondary: '#d7d7e0',
|
|
25
|
-
tertiary: '#8b8da5',
|
|
26
|
-
disabled: '#ffffff4d',
|
|
27
|
-
onColor: '#ffffff',
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
border: {
|
|
31
|
-
default: '#ffffff33',
|
|
32
|
-
strong: '#ffffff4d',
|
|
33
|
-
disabled: '#ffffff1a',
|
|
34
|
-
window: '#ffffff33',
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
shadow: {
|
|
38
|
-
minimal: '#0f0f0f1a',
|
|
39
|
-
lowest: '#0f0f0f33',
|
|
40
|
-
},
|
|
41
|
-
|
|
42
|
-
// -------------------------------------------------------------------------
|
|
43
|
-
// Status
|
|
44
|
-
// -------------------------------------------------------------------------
|
|
45
|
-
|
|
46
|
-
error: {
|
|
47
|
-
default: '#ff6464',
|
|
48
|
-
light: '#4b0404',
|
|
49
|
-
dark: '#ff9d9d',
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
success: {
|
|
53
|
-
default: '#45c85a',
|
|
54
|
-
light: '#092a10',
|
|
55
|
-
dark: '#91e49e',
|
|
56
|
-
},
|
|
57
|
-
|
|
58
|
-
warning: {
|
|
59
|
-
default: '#eeb721',
|
|
60
|
-
light: '#3f1c09',
|
|
61
|
-
dark: '#f4cf50',
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
info: {
|
|
65
|
-
default: '#d7d7e0',
|
|
66
|
-
light: '#3e3f4e',
|
|
67
|
-
dark: '#f7f7f8',
|
|
68
|
-
},
|
|
69
|
-
|
|
70
|
-
// -------------------------------------------------------------------------
|
|
71
|
-
// Button
|
|
72
|
-
// -------------------------------------------------------------------------
|
|
73
|
-
|
|
74
|
-
button: {
|
|
75
|
-
primary: {
|
|
76
|
-
default: {
|
|
77
|
-
background: '#ffffff',
|
|
78
|
-
text: '#28242e',
|
|
79
|
-
icon: '#28242e',
|
|
80
|
-
border: 'transparent',
|
|
81
|
-
},
|
|
82
|
-
pressed: {
|
|
83
|
-
background: '#d1d1d1',
|
|
84
|
-
text: '#28242e',
|
|
85
|
-
icon: '#28242e',
|
|
86
|
-
border: 'transparent',
|
|
87
|
-
},
|
|
88
|
-
disabled: {
|
|
89
|
-
background: '#ffffff1a',
|
|
90
|
-
text: '#ffffff4d',
|
|
91
|
-
icon: '#ffffff4d',
|
|
92
|
-
border: 'transparent',
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
tertiary: {
|
|
96
|
-
default: {
|
|
97
|
-
background: 'transparent',
|
|
98
|
-
text: '#ffffff',
|
|
99
|
-
icon: '#ffffff',
|
|
100
|
-
border: '#ffffff33',
|
|
101
|
-
},
|
|
102
|
-
pressed: {
|
|
103
|
-
background: '#ffffff1a',
|
|
104
|
-
text: '#ffffff',
|
|
105
|
-
icon: '#ffffff',
|
|
106
|
-
border: '#ffffff33',
|
|
107
|
-
},
|
|
108
|
-
disabled: {
|
|
109
|
-
background: '#ffffff0d',
|
|
110
|
-
text: '#ffffff4d',
|
|
111
|
-
icon: '#ffffff4d',
|
|
112
|
-
border: '#ffffff1a',
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
|
-
ghost: {
|
|
116
|
-
default: {
|
|
117
|
-
background: 'transparent',
|
|
118
|
-
text: '#ffffff',
|
|
119
|
-
icon: '#ffffff',
|
|
120
|
-
border: 'transparent',
|
|
121
|
-
},
|
|
122
|
-
pressed: {
|
|
123
|
-
background: '#ffffff1a',
|
|
124
|
-
text: '#ffffff',
|
|
125
|
-
icon: '#ffffff',
|
|
126
|
-
border: 'transparent',
|
|
127
|
-
},
|
|
128
|
-
disabled: {
|
|
129
|
-
background: 'transparent',
|
|
130
|
-
text: '#ffffff4d',
|
|
131
|
-
icon: '#ffffff4d',
|
|
132
|
-
border: 'transparent',
|
|
133
|
-
},
|
|
134
|
-
},
|
|
135
|
-
destructive: {
|
|
136
|
-
default: {
|
|
137
|
-
background: '#ff4747',
|
|
138
|
-
text: '#ffffff',
|
|
139
|
-
icon: '#ffffff',
|
|
140
|
-
border: 'transparent',
|
|
141
|
-
},
|
|
142
|
-
pressed: {
|
|
143
|
-
background: '#c80d0d',
|
|
144
|
-
text: '#ffffff',
|
|
145
|
-
icon: '#ffffff',
|
|
146
|
-
border: 'transparent',
|
|
147
|
-
},
|
|
148
|
-
disabled: {
|
|
149
|
-
background: '#ffffff0d',
|
|
150
|
-
text: '#ffffff4d',
|
|
151
|
-
icon: '#ffffff4d',
|
|
152
|
-
border: 'transparent',
|
|
153
|
-
},
|
|
154
|
-
},
|
|
155
|
-
},
|
|
156
|
-
|
|
157
|
-
// -------------------------------------------------------------------------
|
|
158
|
-
// Add new component tokens below
|
|
159
|
-
// -------------------------------------------------------------------------
|
|
160
|
-
};
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Base light tokens.
|
|
3
|
-
* These are the default light values — themes override what they need.
|
|
4
|
-
* Tim: add new component tokens at the bottom when creating a new component.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import type { ColorSchemeTokens } from '../type';
|
|
8
|
-
|
|
9
|
-
export const lightTokens: ColorSchemeTokens = {
|
|
10
|
-
// -------------------------------------------------------------------------
|
|
11
|
-
// Globals
|
|
12
|
-
// -------------------------------------------------------------------------
|
|
13
|
-
|
|
14
|
-
background: {
|
|
15
|
-
primary: '#ffffff',
|
|
16
|
-
secondary: '#f8f6f0',
|
|
17
|
-
tertiary: '#e8e4da',
|
|
18
|
-
overlay: '#0f0f0f80',
|
|
19
|
-
menu: '#f8f6f0',
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
text: {
|
|
23
|
-
primary: '#28242e',
|
|
24
|
-
secondary: '#47475d',
|
|
25
|
-
tertiary: '#6d6f8a',
|
|
26
|
-
disabled: '#0f0f0f99',
|
|
27
|
-
onColor: '#ffffff',
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
border: {
|
|
31
|
-
default: '#afafad80',
|
|
32
|
-
strong: '#afafadcc',
|
|
33
|
-
disabled: '#0f0f0f1a',
|
|
34
|
-
window: '#afafad80',
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
shadow: {
|
|
38
|
-
minimal: '#0f0f0f0d',
|
|
39
|
-
lowest: '#0f0f0f1a',
|
|
40
|
-
},
|
|
41
|
-
|
|
42
|
-
// -------------------------------------------------------------------------
|
|
43
|
-
// Status
|
|
44
|
-
// -------------------------------------------------------------------------
|
|
45
|
-
|
|
46
|
-
error: {
|
|
47
|
-
default: '#ff4747',
|
|
48
|
-
light: '#fff1f1',
|
|
49
|
-
dark: '#c80d0d',
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
success: {
|
|
53
|
-
default: '#33b449',
|
|
54
|
-
light: '#f1fcf3',
|
|
55
|
-
dark: '#20752f',
|
|
56
|
-
},
|
|
57
|
-
|
|
58
|
-
warning: {
|
|
59
|
-
default: '#de9f14',
|
|
60
|
-
light: '#fdfae9',
|
|
61
|
-
dark: '#99570f',
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
info: {
|
|
65
|
-
default: '#28242e',
|
|
66
|
-
light: '#f7f7f8',
|
|
67
|
-
dark: '#1a1720',
|
|
68
|
-
},
|
|
69
|
-
|
|
70
|
-
// -------------------------------------------------------------------------
|
|
71
|
-
// Button
|
|
72
|
-
// -------------------------------------------------------------------------
|
|
73
|
-
|
|
74
|
-
button: {
|
|
75
|
-
primary: {
|
|
76
|
-
default: {
|
|
77
|
-
background: '#28242e',
|
|
78
|
-
text: '#ffffff',
|
|
79
|
-
icon: '#ffffff',
|
|
80
|
-
border: 'transparent',
|
|
81
|
-
},
|
|
82
|
-
pressed: {
|
|
83
|
-
background: '#3e3f4e',
|
|
84
|
-
text: '#ffffff',
|
|
85
|
-
icon: '#ffffff',
|
|
86
|
-
border: 'transparent',
|
|
87
|
-
},
|
|
88
|
-
disabled: {
|
|
89
|
-
background: '#0f0f0f0d',
|
|
90
|
-
text: '#0f0f0f99',
|
|
91
|
-
icon: '#0f0f0f99',
|
|
92
|
-
border: 'transparent',
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
tertiary: {
|
|
96
|
-
default: {
|
|
97
|
-
background: 'transparent',
|
|
98
|
-
text: '#28242e',
|
|
99
|
-
icon: '#28242e',
|
|
100
|
-
border: '#afafad80',
|
|
101
|
-
},
|
|
102
|
-
pressed: {
|
|
103
|
-
background: '#d1c3a066',
|
|
104
|
-
text: '#28242e',
|
|
105
|
-
icon: '#28242e',
|
|
106
|
-
border: '#afafad80',
|
|
107
|
-
},
|
|
108
|
-
disabled: {
|
|
109
|
-
background: '#0f0f0f0d',
|
|
110
|
-
text: '#0f0f0f99',
|
|
111
|
-
icon: '#0f0f0f99',
|
|
112
|
-
border: '#0f0f0f1a',
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
|
-
ghost: {
|
|
116
|
-
default: {
|
|
117
|
-
background: 'transparent',
|
|
118
|
-
text: '#28242e',
|
|
119
|
-
icon: '#28242e',
|
|
120
|
-
border: 'transparent',
|
|
121
|
-
},
|
|
122
|
-
pressed: {
|
|
123
|
-
background: '#d1c3a066',
|
|
124
|
-
text: '#28242e',
|
|
125
|
-
icon: '#28242e',
|
|
126
|
-
border: 'transparent',
|
|
127
|
-
},
|
|
128
|
-
disabled: {
|
|
129
|
-
background: 'transparent',
|
|
130
|
-
text: '#0f0f0f66',
|
|
131
|
-
icon: '#0f0f0f66',
|
|
132
|
-
border: 'transparent',
|
|
133
|
-
},
|
|
134
|
-
},
|
|
135
|
-
destructive: {
|
|
136
|
-
default: {
|
|
137
|
-
background: '#ff4747',
|
|
138
|
-
text: '#ffffff',
|
|
139
|
-
icon: '#ffffff',
|
|
140
|
-
border: 'transparent',
|
|
141
|
-
},
|
|
142
|
-
pressed: {
|
|
143
|
-
background: '#c80d0d',
|
|
144
|
-
text: '#ffffff',
|
|
145
|
-
icon: '#ffffff',
|
|
146
|
-
border: 'transparent',
|
|
147
|
-
},
|
|
148
|
-
disabled: {
|
|
149
|
-
background: '#0f0f0f0d',
|
|
150
|
-
text: '#0f0f0f99',
|
|
151
|
-
icon: '#0f0f0f99',
|
|
152
|
-
border: 'transparent',
|
|
153
|
-
},
|
|
154
|
-
},
|
|
155
|
-
},
|
|
156
|
-
|
|
157
|
-
// -------------------------------------------------------------------------
|
|
158
|
-
// Add new component tokens below
|
|
159
|
-
// Example:
|
|
160
|
-
// checkbox: {
|
|
161
|
-
// default: { background: '...', border: '...', icon: '...' },
|
|
162
|
-
// checked: { background: '...', border: '...', icon: '...' },
|
|
163
|
-
// disabled: { background: '...', border: '...', icon: '...' },
|
|
164
|
-
// },
|
|
165
|
-
// -------------------------------------------------------------------------
|
|
166
|
-
};
|
package/src/theme/type.ts
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Color theme contract for Traq[UI]ste Mobile.
|
|
3
|
-
* Every theme must implement this interface.
|
|
4
|
-
* Add a new section here when Tim creates a new component.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
// ---------------------------------------------------------------------------
|
|
8
|
-
// Color mode
|
|
9
|
-
// ---------------------------------------------------------------------------
|
|
10
|
-
|
|
11
|
-
export type ColorMode = 'light' | 'dark';
|
|
12
|
-
|
|
13
|
-
// ---------------------------------------------------------------------------
|
|
14
|
-
// Shared primitives
|
|
15
|
-
// ---------------------------------------------------------------------------
|
|
16
|
-
|
|
17
|
-
export interface InteractiveStateTokens {
|
|
18
|
-
/** Container background */
|
|
19
|
-
background: string;
|
|
20
|
-
/** Label / text color */
|
|
21
|
-
text: string;
|
|
22
|
-
/** Icon tint */
|
|
23
|
-
icon: string;
|
|
24
|
-
/** Border — use 'transparent' when no border */
|
|
25
|
-
border: string;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface InteractiveVariantTokens {
|
|
29
|
-
default: InteractiveStateTokens;
|
|
30
|
-
pressed: InteractiveStateTokens;
|
|
31
|
-
disabled: InteractiveStateTokens;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export interface StatusTokens {
|
|
35
|
-
/** Primary status color */
|
|
36
|
-
default: string;
|
|
37
|
-
/** Light tint — backgrounds */
|
|
38
|
-
light: string;
|
|
39
|
-
/** Dark variant — text on light bg */
|
|
40
|
-
dark: string;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// ---------------------------------------------------------------------------
|
|
44
|
-
// Global tokens
|
|
45
|
-
// ---------------------------------------------------------------------------
|
|
46
|
-
|
|
47
|
-
export interface BackgroundTokens {
|
|
48
|
-
primary: string;
|
|
49
|
-
secondary: string;
|
|
50
|
-
tertiary: string;
|
|
51
|
-
overlay: string;
|
|
52
|
-
menu: string;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export interface TextTokens {
|
|
56
|
-
primary: string;
|
|
57
|
-
secondary: string;
|
|
58
|
-
tertiary: string;
|
|
59
|
-
disabled: string;
|
|
60
|
-
onColor: string;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export interface BorderTokens {
|
|
64
|
-
default: string;
|
|
65
|
-
strong: string;
|
|
66
|
-
disabled: string;
|
|
67
|
-
window: string;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export interface ShadowTokens {
|
|
71
|
-
minimal: string;
|
|
72
|
-
lowest: string;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
// ---------------------------------------------------------------------------
|
|
76
|
-
// Component tokens
|
|
77
|
-
// Add a new interface below when Tim creates a new component
|
|
78
|
-
// ---------------------------------------------------------------------------
|
|
79
|
-
|
|
80
|
-
export interface ButtonTokens {
|
|
81
|
-
primary: InteractiveVariantTokens;
|
|
82
|
-
tertiary: InteractiveVariantTokens;
|
|
83
|
-
ghost: InteractiveVariantTokens;
|
|
84
|
-
destructive: InteractiveVariantTokens;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
// export interface CheckboxTokens { ... } ← next component goes here
|
|
88
|
-
// export interface InputTokens { ... }
|
|
89
|
-
// export interface TagTokens { ... }
|
|
90
|
-
|
|
91
|
-
// ---------------------------------------------------------------------------
|
|
92
|
-
// Full scheme (light or dark)
|
|
93
|
-
// ---------------------------------------------------------------------------
|
|
94
|
-
|
|
95
|
-
export interface ColorSchemeTokens {
|
|
96
|
-
// globals
|
|
97
|
-
background: BackgroundTokens;
|
|
98
|
-
text: TextTokens;
|
|
99
|
-
border: BorderTokens;
|
|
100
|
-
shadow: ShadowTokens;
|
|
101
|
-
|
|
102
|
-
// status
|
|
103
|
-
error: StatusTokens;
|
|
104
|
-
success: StatusTokens;
|
|
105
|
-
warning: StatusTokens;
|
|
106
|
-
info: StatusTokens;
|
|
107
|
-
|
|
108
|
-
// components — add new ones here when Tim creates them
|
|
109
|
-
button: ButtonTokens;
|
|
110
|
-
// checkbox: CheckboxTokens;
|
|
111
|
-
// input: InputTokens;
|
|
112
|
-
// tag: TagTokens;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
// ---------------------------------------------------------------------------
|
|
116
|
-
// Theme (light + dark)
|
|
117
|
-
// ---------------------------------------------------------------------------
|
|
118
|
-
|
|
119
|
-
export interface ColorTheme {
|
|
120
|
-
light: ColorSchemeTokens;
|
|
121
|
-
dark: ColorSchemeTokens;
|
|
122
|
-
}
|
package/src/types/.gitkeep
DELETED
|
File without changes
|
package/src/utils/.gitkeep
DELETED
|
File without changes
|
package/tsconfig.json
DELETED