@authowl/react 0.14.0 → 0.16.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/styles.css CHANGED
@@ -103,8 +103,34 @@
103
103
  .ba-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
104
104
 
105
105
  /* Legal-consent checkbox row (shown on <SignUp/> when the project requires it) */
106
- .ba-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ba-fg); }
106
+ .ba-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: var(--ba-fg); }
107
107
  .ba-consent a { color: var(--ba-accent); }
108
+ .ba-consent-centered { align-items: center; min-height: 20px; }
109
+ .ba-checkbox-control { position: relative; display: inline-grid; width: 16px; height: 16px; flex: 0 0 16px; margin-block-start: 1px; place-items: center; }
110
+ .ba-checkbox { position: absolute; inset: 0; z-index: 1; width: 16px; height: 16px; margin: 0; opacity: 0; cursor: pointer; }
111
+ .ba-checkbox-visual { display: grid; width: 16px; height: 16px; box-sizing: border-box; place-items: center; border: 1px solid var(--ba-border); border-radius: 3px; background: var(--ba-surface); transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease; }
112
+ .ba-checkbox-check { width: 5px; height: 9px; margin-top: -2px; border-right: 2px solid var(--ba-accent-fg); border-bottom: 2px solid var(--ba-accent-fg); opacity: 0; transform: rotate(45deg); }
113
+ .ba-checkbox:checked + .ba-checkbox-visual { border-color: var(--ba-accent-solid); background: var(--ba-accent-solid); }
114
+ .ba-checkbox:checked + .ba-checkbox-visual .ba-checkbox-check { opacity: 1; }
115
+ .ba-checkbox:focus-visible + .ba-checkbox-visual { outline: 2px solid var(--ba-accent); outline-offset: 2px; }
116
+ .ba-checkbox:disabled + .ba-checkbox-visual { opacity: 0.55; }
117
+
118
+ /* Project logo, optional wordmark, and environment identity shared by the
119
+ managed sign-in and sign-up components. */
120
+ .ba-branding { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
121
+ .ba-branding-identity, .ba-branding-link { display: inline-flex; min-width: 0; align-items: center; gap: 10px; }
122
+ .ba-branding-link { color: inherit; text-decoration: none; }
123
+ .ba-branding-link:hover .ba-branding-name { text-decoration: underline; text-underline-offset: 3px; }
124
+ .ba-branding-logo { display: block; width: auto; max-width: 148px; height: 40px; max-height: 40px; flex: 0 0 auto; object-fit: contain; }
125
+ .ba-branding-fallback { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 10px; background: var(--ba-hover); color: var(--ba-fg); font-size: 14px; font-weight: 650; }
126
+ .ba-branding-name { min-width: 0; overflow: hidden; color: var(--ba-fg); font-size: 15px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
127
+ .ba-environment { display: inline-flex; width: fit-content; align-items: center; gap: 6px; border: 1px solid var(--ba-border); border-radius: 999px; padding: 3px 8px; background: var(--ba-hover); color: var(--ba-muted); font-size: 11px; font-weight: 600; line-height: 1.2; }
128
+ .ba-environment-dot { width: 6px; height: 6px; border-radius: 999px; background: #16a34a; }
129
+ .ba-environment-development .ba-environment-dot { background: var(--ba-accent-solid); }
130
+ .ba-branding-align-left { align-items: flex-start; text-align: left; }
131
+ .ba-branding-align-center { align-items: center; text-align: center; }
132
+ .ba-branding-align-right { align-items: flex-end; text-align: right; }
133
+ .ba-profile-heading .ba-branding, .ba-profile-modal-header .ba-branding { margin-bottom: 16px; }
108
134
 
109
135
  /* "Secured by AuthOwl" attribution (free plan; hidden on paid, or forced on
110
136
  via the showBadge prop). A small owl mark + wordmark, like other embeddable
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authowl/react",
3
- "version": "0.14.0",
3
+ "version": "0.16.1",
4
4
  "description": "React provider, hooks, and drop-in components for AuthOwl, the multi-tenant auth SaaS.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -47,7 +47,7 @@
47
47
  "LICENSE"
48
48
  ],
49
49
  "dependencies": {
50
- "@authowl/core": "0.10.0"
50
+ "@authowl/core": "0.12.0"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "react": ">=18",