@chekinapp/tokens 0.0.10 → 0.0.12

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chekinapp/tokens",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "description": "Chekin design tokens — CSS variables, JSON, and Tailwind preset",
5
5
  "private": false,
6
6
  "license": "UNLICENSED",
@@ -162,4 +162,75 @@
162
162
  --checkbox-checked-border: var(--chekin-color-brand-blue);
163
163
  --checkbox-checked-bg: var(--chekin-color-brand-blue);
164
164
  --checkbox-check-color: var(--chekin-color-white);
165
+ --checkbox-label-color: var(--chekin-color-brand-navy);
166
+
167
+ /* ── CopyIcon (dashboard-only, minimal tokens) ───────────────────────── */
168
+ --copy-icon-success-color: #10b981;
169
+
170
+ /* ── DataTable (dashboard-only, minimal tokens) ──────────────────────── */
171
+ --data-table-border: var(--chekin-color-gray-3);
172
+
173
+ /* ── Table (dashboard-only, minimal tokens) ──────────────────────────── */
174
+ --table-border: var(--chekin-color-gray-3);
175
+ --table-head-bg: var(--chekin-color-surface-input-empty);
176
+ --table-head-text: var(--chekin-color-gray-1);
177
+ --table-footer-bg: var(--chekin-color-surface-input-empty);
178
+ --table-row-selected-bg: var(--chekin-color-surface-input-empty);
179
+ --table-row-hover-bg: var(--chekin-color-surface-input-empty);
180
+ --table-caption-text: var(--chekin-color-gray-1);
181
+ --table-loading-overlay-bg: var(--chekin-color-white);
182
+
183
+ /* ── Card (dashboard-only, minimal tokens) ───────────────────────────── */
184
+ --card-bg: var(--chekin-color-white);
185
+ --card-text: var(--chekin-color-brand-navy);
186
+ --card-border: var(--chekin-color-gray-3);
187
+ --card-radius: var(--chekin-radius-card);
188
+ --card-shadow: var(--chekin-shadow-card);
189
+ --card-description-text: var(--chekin-color-gray-1);
190
+
191
+ /* ── ChannelSelector (dashboard-only, minimal tokens) ────────────────── */
192
+ --channel-selector-border: var(--chekin-color-gray-3);
193
+ --channel-selector-border-hover: color-mix(
194
+ in srgb,
195
+ var(--chekin-color-brand-blue) 30%,
196
+ transparent
197
+ );
198
+ --channel-selector-selected-border: var(--chekin-color-brand-blue);
199
+ --channel-selector-selected-bg: color-mix(
200
+ in srgb,
201
+ var(--chekin-color-brand-blue) 10%,
202
+ transparent
203
+ );
204
+ --channel-selector-bg: var(--chekin-color-white);
205
+ --channel-selector-icon-color: var(--chekin-color-brand-navy);
206
+ --channel-selector-check-bg: var(--chekin-color-brand-blue);
207
+ --channel-selector-check-icon: var(--chekin-color-white);
208
+
209
+ /* ── DefaultSelectTrigger (dashboard-only, minimal tokens) ──────────────── */
210
+ --default-select-trigger-height: 40px;
211
+ --default-select-trigger-radius: var(--chekin-radius-input);
212
+ --default-select-trigger-bg: var(--chekin-color-white);
213
+ --default-select-trigger-disabled-opacity: 0.5;
214
+ --default-select-trigger-empty-bg: var(--chekin-color-surface-input-empty);
215
+ --default-select-trigger-empty-text: var(--chekin-color-gray-1);
216
+ --default-select-trigger-width: 100%;
217
+
218
+ /* ── DropdownMenu (dashboard-only, migrated from ui-kit-2) ─────────────── */
219
+ --dropdown-menu-content-bg: var(--chekin-color-white);
220
+ --dropdown-menu-content-text: var(--chekin-color-brand-navy);
221
+ --dropdown-menu-content-border: #e5e7eb;
222
+ --dropdown-menu-content-radius: 8px;
223
+ --dropdown-menu-content-shadow:
224
+ 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
225
+ --dropdown-menu-item-focus-bg: #f9fafb;
226
+ --dropdown-menu-item-focus-text: var(--chekin-color-brand-navy);
227
+ --dropdown-menu-item-active-bg: #f9fafb;
228
+ --dropdown-menu-item-hover-bg: #f9fafb;
229
+ --dropdown-menu-label-text: #9ca3af;
230
+ --dropdown-menu-separator-bg: #f3f4f6;
231
+ --dropdown-menu-item-content-icon: #acacd5;
232
+ --dropdown-menu-item-content-description: #666;
233
+
234
+ /* ── ErrorMessage ───────────────────────────────────────────────────── */
235
+ --error-message-color: var(--chekin-color-brand-red);
165
236
  }
@@ -44,28 +44,5 @@
44
44
  --button-link-text: var(--chekin-color-brand-blue);
45
45
 
46
46
  --circular-loader-color: var(--chekin-color-brand-blue);
47
-
48
- /* Guest checkbox mirrors the legacy Guest App visual box. */
49
- --checkbox-border: #b1b5c4;
50
- --checkbox-bg: #f4f6f9;
51
- --checkbox-checked-border: var(--chekin-color-brand-navy);
52
- --checkbox-checked-bg: var(--chekin-color-white);
53
- --checkbox-check-color: var(--chekin-color-brand-navy);
54
- }
55
-
56
- .checkbox__control {
57
- width: 24px;
58
- height: 24px;
59
- border-width: 2px;
60
- border-radius: 6px;
61
- }
62
-
63
- .checkbox__control:disabled,
64
- .checkbox__control[aria-busy='true'] {
65
- opacity: 0.4;
66
- }
67
-
68
- .checkbox__icon {
69
- width: 24px;
70
- height: 24px;
47
+ --error-message-color: #f84b7a;
71
48
  }