@starasia/date 5.6.0 → 5.6.1

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/date.es.js CHANGED
@@ -80,7 +80,11 @@ const gn = `@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,w
80
80
  .sa-date-field-label-text {
81
81
  font-size: 14px;
82
82
  font-weight: 500;
83
- color: var(--sa-date-text-primary);
83
+ /* Match Input's label exactly (.sa-tf-label → --sa-text-primary). The
84
+ component token --sa-date-text-primary maps to gray-700 (too light for a
85
+ field label) & is reserved for calendar internals, so use the semantic
86
+ token directly here. */
87
+ color: var(--sa-text-primary, #292a2e);
84
88
  line-height: normal;
85
89
  }
86
90
  /* match Input: xs/sm label drops to 12px */
package/dist/date.umd.js CHANGED
@@ -78,7 +78,11 @@
78
78
  .sa-date-field-label-text {
79
79
  font-size: 14px;
80
80
  font-weight: 500;
81
- color: var(--sa-date-text-primary);
81
+ /* Match Input's label exactly (.sa-tf-label → --sa-text-primary). The
82
+ component token --sa-date-text-primary maps to gray-700 (too light for a
83
+ field label) & is reserved for calendar internals, so use the semantic
84
+ token directly here. */
85
+ color: var(--sa-text-primary, #292a2e);
82
86
  line-height: normal;
83
87
  }
84
88
  /* match Input: xs/sm label drops to 12px */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@starasia/date",
3
- "version": "5.6.0",
3
+ "version": "5.6.1",
4
4
  "description": "date component for starasia UI",
5
5
  "author": "Prawito Hudoro",
6
6
  "main": "dist/date.umd.js",