@addiscorp/kit 0.3.0 → 0.3.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/dist/kit.css +5 -1
  2. package/package.json +1 -1
package/dist/kit.css CHANGED
@@ -51,6 +51,10 @@
51
51
  .ak-top-center { position: relative; }
52
52
  .ak-anchor { position: relative; }
53
53
  .ak-topbar :focus-visible, .ak-help :focus-visible { outline: 2px solid var(--ak-accent); outline-offset: 3px; }
54
+ /* Text fields never draw a focus ring (Sami, 14 Nov): the caret shows where you are typing.
55
+ Zero specificity, so a site can still style its own fields on purpose. */
56
+ :where(input, textarea, select):focus, :where(input, textarea, select):focus-visible,
57
+ .ak-topbar :is(input, textarea, select):focus-visible, .ak-help :is(input, textarea, select):focus-visible { outline: none; box-shadow: none; }
54
58
 
55
59
  .ak-profile-btn, .ak-icon-btn, .ak-launcher { border: 0; color: var(--ak-ink); cursor: pointer; background: transparent; font: inherit; }
56
60
  .ak-profile-btn, .ak-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; padding: 0; }
@@ -77,7 +81,7 @@
77
81
  .ak-popover.ak-end { left: auto; right: 0; }
78
82
  .ak-popover p { margin: 0; }
79
83
 
80
- .ak-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--ak-accent); border-radius: 10px; padding: 0 10px; background: var(--ak-ground); color: var(--ak-soft); }
84
+ .ak-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--ak-edge); border-radius: 10px; padding: 0 10px; background: var(--ak-ground); color: var(--ak-soft); }
81
85
  .ak-search input { flex: 1; min-width: 0; height: 40px; border: 0; outline: none; background: transparent; color: var(--ak-ink); font: inherit; }
82
86
  .ak-search input::placeholder { color: var(--ak-soft); }
83
87
  .ak-group-label { margin: 14px 4px 8px; font-size: 11px; color: color-mix(in srgb, var(--ak-soft) 72%, var(--ak-ground)); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@addiscorp/kit",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "The header, footer, theme and tool-site layout every Addis site shares, in each project's own brand colours.",
5
5
  "license": "MIT",
6
6
  "type": "module",