@chekinapp/tokens 0.0.8 → 0.0.10

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.8",
3
+ "version": "0.0.10",
4
4
  "description": "Chekin design tokens — CSS variables, JSON, and Tailwind preset",
5
5
  "private": false,
6
6
  "license": "UNLICENSED",
@@ -100,4 +100,66 @@
100
100
  --accordion-content-font-size: 14px;
101
101
  --accordion-content-line-height: 22px;
102
102
  --accordion-content-color: var(--chekin-color-gray-1);
103
+
104
+ /* ── AlertBox ──────────────────────────────────────────────────────── */
105
+ --alert-box-radius: 10px;
106
+ --alert-box-info-bg: #eff6ff;
107
+ --alert-box-info-icon: #2563eb;
108
+ --alert-box-warning-bg: rgba(250, 204, 21, 0.3);
109
+ --alert-box-warning-icon: #ffb700;
110
+ --alert-box-success-bg: #e8fcf7;
111
+ --alert-box-success-icon: #2bc29f;
112
+ --alert-box-success-text: #6b6b95;
113
+ --alert-box-error-bg: #ffe2ed;
114
+ --alert-box-error-icon: #ff2467;
115
+
116
+ /* ── AudioPlayer ─────────────────────────────────────────────────────── */
117
+ --audio-player-button-bg: var(--chekin-color-brand-blue);
118
+ --audio-player-button-hover-bg: var(--chekin-color-brand-blue-hover);
119
+ --audio-player-button-radius: 8px;
120
+ --audio-player-icon-color: var(--chekin-color-white);
121
+ --audio-player-track-bg: var(--chekin-color-gray-3);
122
+ --audio-player-progress-bg: var(--chekin-color-brand-blue);
123
+ --audio-player-time-color: var(--chekin-color-gray-1);
124
+
125
+ /* ── Avatar (dashboard-only, minimal tokens) ─────────────────────────── */
126
+ --avatar-fallback-bg: var(--chekin-color-gray-3);
127
+ --avatar-fallback-text: var(--chekin-color-gray-1);
128
+
129
+ /* ── BetaBadge (dashboard-only, minimal tokens) ──────────────────────── */
130
+ --beta-badge-bg: color-mix(in srgb, var(--chekin-color-gray-1) 15%, transparent);
131
+ --beta-badge-text: var(--chekin-color-gray-1);
132
+ --beta-badge-readonly-bg: color-mix(
133
+ in srgb,
134
+ var(--chekin-color-brand-blue) 10%,
135
+ transparent
136
+ );
137
+ --beta-badge-readonly-text: var(--chekin-color-brand-blue);
138
+
139
+ /* ── BoxOptionSelector (dashboard-only, minimal tokens) ──────────────── */
140
+ --box-option-border: var(--chekin-color-gray-3);
141
+ --box-option-bg: var(--chekin-color-white);
142
+ --box-option-hover-bg: var(--chekin-color-surface-input-empty);
143
+ --box-option-selected-border: var(--chekin-color-brand-blue);
144
+ --box-option-selected-bg: var(--chekin-color-surface-pressed);
145
+
146
+ /* ── Breadcrumbs (dashboard-only, minimal tokens) ───────────────────── */
147
+ --breadcrumbs-link-color: var(--chekin-color-gray-1);
148
+ --breadcrumbs-current-color: var(--chekin-color-brand-navy);
149
+ --breadcrumbs-separator-color: var(--chekin-color-brand-navy);
150
+
151
+ /* ── ButtonGroup (dashboard-only, minimal tokens) ───────────────────── */
152
+ --button-group-text-bg: var(--chekin-color-surface-input-empty);
153
+ --button-group-text-border: var(--chekin-color-gray-3);
154
+ --button-group-text-color: var(--chekin-color-brand-navy);
155
+
156
+ /* ── ButtonsGroupLabel (dashboard-only, minimal tokens) ─────────────── */
157
+ --buttons-group-label-color: var(--chekin-color-gray-1);
158
+
159
+ /* ── Checkbox ──────────────────────────────────────────────────────── */
160
+ --checkbox-border: var(--chekin-color-brand-blue);
161
+ --checkbox-bg: transparent;
162
+ --checkbox-checked-border: var(--chekin-color-brand-blue);
163
+ --checkbox-checked-bg: var(--chekin-color-brand-blue);
164
+ --checkbox-check-color: var(--chekin-color-white);
103
165
  }
@@ -44,4 +44,28 @@
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
71
  }