@abgov/jsonforms-components 2.49.0 → 2.49.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.
Files changed (2) hide show
  1. package/index.esm.js +13 -2
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -3561,8 +3561,19 @@ const ensureGoaDatePointerCursor = host => {
3561
3561
  const style = document.createElement('style');
3562
3562
  style.id = 'goa-date-cursor-style';
3563
3563
  style.textContent = `
3564
- input[type="date"] { cursor: pointer !important; }
3565
- input[type="date"]:disabled { cursor: not-allowed !important; }
3564
+ /* keep text cursor in field */
3565
+ input[type="date"] {
3566
+ cursor: text;
3567
+ }
3568
+
3569
+ /* 👇 hand cursor ONLY on calendar icon */
3570
+ input[type="date"]::-webkit-calendar-picker-indicator {
3571
+ cursor: pointer;
3572
+ }
3573
+
3574
+ input[type="date"]:disabled::-webkit-calendar-picker-indicator {
3575
+ cursor: not-allowed;
3576
+ }
3566
3577
  `;
3567
3578
  sr.appendChild(style);
3568
3579
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.49.0",
3
+ "version": "2.49.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Government of Alberta - React renderers for JSON Forms based on the design system.",
6
6
  "repository": "https://github.com/GovAlta/adsp-monorepo",