@hopper-ui/tokens 5.1.1 → 5.1.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @hopper-ui/tokens
2
2
 
3
+ ## 5.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 092c1a7: Add Card, Select, and Combobox component tokens for themeable branding:
8
+ - Add `comp-card` tokens for border radius, background color, border color, and box shadow across both variants (main, second-level)
9
+ - Migrate Card CSS from hardcoded semantic values to `--hop-comp-card-*` tokens
10
+ - Add `comp-select` tokens for active and hover states (background, border, text colors)
11
+ - Migrate Select and ComboBox CSS from hardcoded semantic values to `--hop-comp-select-*` and `--hop-comp-input-*` tokens.
12
+
13
+ ## 5.1.2
14
+
15
+ ### Patch Changes
16
+
17
+ - 8dc9376: Add Input component tokens for themeable branding:
18
+ - Add `-comp-field` tokens for background, border, text, icon, placeholder, and prefill colors across all states (default, hover, focus, disabled, error)
19
+ - Migrate Input, InputGroup, TextArea, TextField, SearchField, NumberField, and RemainingCharacterCount CSS from hardcoded semantic values to `--hop-comp-field-*` tokens.
20
+
3
21
  ## 5.1.1
4
22
 
5
23
  ### Patch Changes
@@ -1,9 +1,10 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 10 Feb 2026 16:37:35 GMT
3
+ * Generated on Wed, 11 Feb 2026 19:58:27 GMT
4
4
  */
5
5
 
6
6
  :root {
7
+ --hop-comp-card-second-level-box-shadow: 0 12px 12px 0 rgba(0, 0, 0, 0.05);
7
8
  --hop-comp-button-ghost-disabled-border-color: transparent;
8
9
  --hop-comp-button-ghost-disabled-background-color: transparent;
9
10
  --hop-comp-button-ghost-danger-border-color: transparent;
@@ -526,6 +527,8 @@
526
527
  --hop-coastal-75: #bae6ff;
527
528
  --hop-coastal-50: #d9efff;
528
529
  --hop-coastal-25: #f0f8ff;
530
+ --hop-comp-field-border-radius: var(--hop-border-radius-2-5);
531
+ --hop-comp-card-main-box-shadow: var(--hop-shadow-none);
529
532
  --hop-comp-button-danger-box-shadow: var(--hop-shadow-inset-bevel);
530
533
  --hop-comp-button-upsell-box-shadow: var(--hop-shadow-inset-bevel);
531
534
  --hop-comp-button-secondary-box-shadow: var(--hop-shadow-inset-bevel);
@@ -1234,6 +1237,31 @@
1234
1237
  --hop-space-stack-md: var(--hop-space-160);
1235
1238
  --hop-space-stack-sm: var(--hop-space-80);
1236
1239
  --hop-space-stack-xs: var(--hop-space-40);
1240
+ --hop-comp-field-prefill-color: var(--hop-neutral-text-weak);
1241
+ --hop-comp-field-placeholder-color: var(--hop-neutral-text-weakest);
1242
+ --hop-comp-field-icon-color-disabled: var(--hop-neutral-icon-disabled);
1243
+ --hop-comp-field-icon-color-press: var(--hop-neutral-icon-press);
1244
+ --hop-comp-field-icon-color-hover: var(--hop-neutral-icon-hover);
1245
+ --hop-comp-field-icon-color: var(--hop-neutral-icon);
1246
+ --hop-comp-field-text-color-error: var(--hop-danger-text-weak);
1247
+ --hop-comp-field-text-color-disabled: var(--hop-neutral-text-disabled);
1248
+ --hop-comp-field-text-color: var(--hop-neutral-text);
1249
+ --hop-comp-field-border-color-disabled: var(--hop-neutral-border-disabled);
1250
+ --hop-comp-field-border-color-error: var(--hop-danger-border-strong);
1251
+ --hop-comp-field-border-color-focus: var(--hop-primary-border-focus);
1252
+ --hop-comp-field-border-color-hover: var(--hop-neutral-border-hover);
1253
+ --hop-comp-field-border-color: var(--hop-neutral-border-weak);
1254
+ --hop-comp-field-background-color-disabled: var(--hop-neutral-surface);
1255
+ --hop-comp-field-background-color-hover: var(--hop-neutral-surface-weak-hover);
1256
+ --hop-comp-field-background-color: var(--hop-neutral-surface-weak);
1257
+ --hop-comp-select-text-color-hover: var(--hop-neutral-text-press);
1258
+ --hop-comp-select-border-color-active: var(--hop-primary-border);
1259
+ --hop-comp-select-background-color-active: var(--hop-neutral-surface-weak-selected);
1260
+ --hop-comp-card-second-level-border-color: var(--hop-neutral-border-weakest);
1261
+ --hop-comp-card-second-level-background-color: var(--hop-neutral-surface);
1262
+ --hop-comp-card-main-border-color: var(--hop-neutral-surface-weakest);
1263
+ --hop-comp-card-main-background-color: var(--hop-neutral-surface-weakest);
1264
+ --hop-comp-card-border-radius: var(--hop-shape-rounded-lg);
1237
1265
  --hop-comp-button-ghost-disabled-text-color: var(--hop-neutral-text-disabled);
1238
1266
  --hop-comp-button-disabled-border-color: var(--hop-neutral-surface-disabled);
1239
1267
  --hop-comp-button-disabled-background-color: var(--hop-neutral-surface-disabled);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 10 Feb 2026 16:37:35 GMT
3
+ * Generated on Wed, 11 Feb 2026 19:58:27 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -522,6 +522,8 @@
522
522
  --hop-coastal-75: #bae6ff;
523
523
  --hop-coastal-50: #d9efff;
524
524
  --hop-coastal-25: #f0f8ff;
525
+ --hop-comp-card-second-level-box-shadow: var(--hop-shadow-none);
526
+ --hop-comp-card-main-box-shadow: var(--hop-shadow-none);
525
527
  --hop-comp-button-ghost-danger-box-shadow: var(--hop-shadow-none);
526
528
  --hop-comp-button-ghost-secondary-box-shadow: var(--hop-shadow-none);
527
529
  --hop-comp-button-ghost-primary-box-shadow: var(--hop-shadow-none);
@@ -1233,6 +1235,32 @@
1233
1235
  --hop-space-stack-md: var(--hop-space-160);
1234
1236
  --hop-space-stack-sm: var(--hop-space-80);
1235
1237
  --hop-space-stack-xs: var(--hop-space-40);
1238
+ --hop-comp-field-prefill-color: var(--hop-neutral-text-weak);
1239
+ --hop-comp-field-placeholder-color: var(--hop-neutral-text-weakest);
1240
+ --hop-comp-field-icon-color-disabled: var(--hop-neutral-icon-disabled);
1241
+ --hop-comp-field-icon-color-press: var(--hop-neutral-icon-press);
1242
+ --hop-comp-field-icon-color-hover: var(--hop-neutral-icon-hover);
1243
+ --hop-comp-field-icon-color: var(--hop-neutral-icon);
1244
+ --hop-comp-field-text-color-error: var(--hop-danger-text-weak);
1245
+ --hop-comp-field-text-color-disabled: var(--hop-neutral-text-disabled);
1246
+ --hop-comp-field-text-color: var(--hop-neutral-text);
1247
+ --hop-comp-field-border-color-disabled: var(--hop-neutral-border-disabled);
1248
+ --hop-comp-field-border-color-error: var(--hop-danger-border-strong);
1249
+ --hop-comp-field-border-color-focus: var(--hop-primary-border-focus);
1250
+ --hop-comp-field-border-color-hover: var(--hop-neutral-border-hover);
1251
+ --hop-comp-field-border-color: var(--hop-neutral-border);
1252
+ --hop-comp-field-background-color-disabled: var(--hop-neutral-surface-disabled);
1253
+ --hop-comp-field-background-color-hover: var(--hop-neutral-surface-hover);
1254
+ --hop-comp-field-background-color: var(--hop-neutral-surface);
1255
+ --hop-comp-field-border-radius: var(--hop-shape-rounded-md);
1256
+ --hop-comp-select-text-color-hover: var(--hop-neutral-text-hover);
1257
+ --hop-comp-select-border-color-active: var(--hop-neutral-border-selected);
1258
+ --hop-comp-select-background-color-active: var(--hop-neutral-surface);
1259
+ --hop-comp-card-second-level-border-color: var(--hop-neutral-surface-weakest);
1260
+ --hop-comp-card-second-level-background-color: var(--hop-neutral-surface-weakest);
1261
+ --hop-comp-card-main-border-color: var(--hop-neutral-border-weak);
1262
+ --hop-comp-card-main-background-color: var(--hop-neutral-surface);
1263
+ --hop-comp-card-border-radius: var(--hop-shape-rounded-md);
1236
1264
  --hop-comp-button-ghost-disabled-text-color: var(--hop-neutral-text-disabled);
1237
1265
  --hop-comp-button-disabled-border-color: var(--hop-neutral-surface-disabled);
1238
1266
  --hop-comp-button-disabled-background-color: var(--hop-neutral-surface-disabled);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hopper-ui/tokens",
3
3
  "author": "Workleap",
4
- "version": "5.1.1",
4
+ "version": "5.1.3",
5
5
  "description": "The tokens package.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {