Skip to content

Commit 972ab50

Browse files
chore: version packages (#15)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e8479f1 commit 972ab50

6 files changed

Lines changed: 50 additions & 19 deletions

File tree

.changeset/auto-resolve-sso-icons.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/fix-strict-mode-double-exchange.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/wrap-button-overflow.md

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# @onkernel/managed-auth-react
2+
3+
## 0.3.0
4+
5+
### Minor Changes
6+
7+
- [#13](https://github.com/kernel/managed-auth-react/pull/13) [`fc77370`](https://github.com/kernel/managed-auth-react/commit/fc773706772e29932ed971c3d3fbeab6833c4bb8) Thanks [@masnwilliams](https://github.com/masnwilliams)! - Auto-resolve SSO provider icons via the Simple Icons CDN. `getSSOProviderInfo` now slugifies any provider key and renders its brand icon from `https://cdn.simpleicons.org/<slug>`, with a circular letter-avatar fallback when the icon fails to load. Removes the hardcoded `GoogleMark` / `GitHubMark` / `GitLabMark` / `MicrosoftMark` / `FacebookMark` / `AppleMark` SVGs in favor of the generic resolver, so new providers render out of the box without library changes. Non-brand keys (`passkey`, `sso`, `saml`) keep their built-in icons.
8+
9+
### Patch Changes
10+
11+
- [#10](https://github.com/kernel/managed-auth-react/pull/10) [`74f27bc`](https://github.com/kernel/managed-auth-react/commit/74f27bcd366fda00c42b1cba3cd2a42ff9d5e217) Thanks [@Tom-Achache](https://github.com/Tom-Achache)! - Guard the bootstrap effect in `useManagedAuthSession` against React 18+ Strict Mode's mount → cleanup → mount double-invocation. Without the guard, the second mount re-fires `exchangeHandoffCode` with a now-consumed handoff code and the component lands in the error state ("Failed to start session") even when auth would have worked. Tracked per `(sessionId, handoffCode)` so a genuine prop change still triggers a fresh exchange.
12+
13+
- [#13](https://github.com/kernel/managed-auth-react/pull/13) [`fc77370`](https://github.com/kernel/managed-auth-react/commit/fc773706772e29932ed971c3d3fbeab6833c4bb8) Thanks [@masnwilliams](https://github.com/masnwilliams)! - Wrap button and option text when content overflows. `.kma-button` previously used `white-space: nowrap` and a fixed `height`, so long MFA / SSO / sign-in option labels clipped past the card on narrower viewports. Switched to `min-height` plus `overflow-wrap: anywhere` so labels wrap and the row grows to fit, and added `padding` + `min-width: 0` on `.kma-sso-button` so its label can shrink.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Kernel Technologies, Inc.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

packages/managed-auth-react/package.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@onkernel/managed-auth-react",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"description": "React component library for Kernel managed auth — one-component drop-in with a Clerk-style appearance API",
55
"license": "MIT",
66
"author": "Kernel Technologies, Inc.",
@@ -13,9 +13,17 @@
1313
"bugs": {
1414
"url": "https://github.com/kernel/managed-auth-react/issues"
1515
},
16-
"keywords": ["kernel", "auth", "react", "managed-auth", "authentication"],
16+
"keywords": [
17+
"kernel",
18+
"auth",
19+
"react",
20+
"managed-auth",
21+
"authentication"
22+
],
1723
"type": "module",
18-
"sideEffects": ["**/*.css"],
24+
"sideEffects": [
25+
"**/*.css"
26+
],
1927
"main": "./dist/index.cjs",
2028
"module": "./dist/index.js",
2129
"types": "./dist/index.d.ts",
@@ -28,7 +36,11 @@
2836
"./styles.css": "./dist/styles.css",
2937
"./package.json": "./package.json"
3038
},
31-
"files": ["dist", "README.md", "LICENSE"],
39+
"files": [
40+
"dist",
41+
"README.md",
42+
"LICENSE"
43+
],
3244
"scripts": {
3345
"build": "tsup",
3446
"dev": "tsup --watch",

0 commit comments

Comments
 (0)