@agorapulse/ui-theme 22.0.13 → 22.0.15

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.
Binary file
@@ -1,4 +1,7 @@
1
- a {
1
+ // `a` for a link that navigates. `.ap-link` for a <button> that acts — a control that emits rather
2
+ // than goes somewhere — and should read as a link all the same.
3
+ a,
4
+ .ap-link {
2
5
  display: inline-flex;
3
6
  gap: var(--comp-link-spacing);
4
7
  font-family: var(--comp-link-text-font-family);
@@ -68,3 +71,12 @@ a {
68
71
  max-height: var(--comp-link-icon-size);
69
72
  }
70
73
  }
74
+
75
+ // Everything a <button> brings and a link does not, as in `_select.scss` and `_input.scss`. `appearance`
76
+ // earns its place: the only computed style still telling the two apart, and WebKit has drawn more from it.
77
+ .ap-link {
78
+ appearance: none;
79
+ padding: 0;
80
+ background: none;
81
+ border: none;
82
+ }
@@ -218,6 +218,14 @@
218
218
  .ng-clear-wrapper {
219
219
  padding-right: 0;
220
220
  width: auto;
221
+
222
+ // ng-select's Tab handler focuses this on the way out of a closed select: it is the only
223
+ // keyboard way to empty a single select, whose list carries no "none" entry.
224
+ &:focus-visible {
225
+ outline: 2px solid var(--ref-color-electric-blue-100);
226
+ outline-offset: 1px;
227
+ border-radius: var(--ref-border-radius-sm);
228
+ }
221
229
  }
222
230
 
223
231
  &.with-error {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agorapulse/ui-theme",
3
- "version": "22.0.13",
3
+ "version": "22.0.15",
4
4
  "description": "Agorapulse UI Theme Library",
5
5
  "repository": {
6
6
  "type": "git",
Binary file