@saar-ai/web-widget 0.15.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/brand-mark.d.ts +18 -0
- package/dist/brand-mark.d.ts.map +1 -0
- package/dist/chunks/{chat-CrbRIHVN.js → chat-DUERxmYS.js} +8 -1
- package/dist/chunks/{host-widget-CppBkOCF.js → host-widget-By6uXr9N.js} +144 -46
- package/dist/concierge-shell.css +1 -1
- package/dist/dock/dock.d.ts +2 -0
- package/dist/dock/dock.d.ts.map +1 -1
- package/dist/generated/concierge-shell-css.d.ts.map +1 -1
- package/dist/generated/widget-css.d.ts.map +1 -1
- package/dist/host-widget.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/messages.d.ts +4 -4
- package/dist/messages.d.ts.map +1 -1
- package/dist/next/index.js +1 -1
- package/dist/use-chat-session.d.ts +17 -16
- package/dist/use-chat-session.d.ts.map +1 -1
- package/dist/voice-widget.d.ts.map +1 -1
- package/dist/widget/concierge-shell.d.ts.map +1 -1
- package/dist/widget/shell-renderer.d.ts.map +1 -1
- package/dist/widget.css +1 -1
- package/package.json +3 -3
- package/src/styles/concierge-shell-entry.css +1 -0
- package/src/styles/concierge.css +2 -13
- package/src/styles/cursor.css +45 -0
- package/src/styles/widget-entry.css +1 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The pointer on every actionable element (SAA-450). Tailwind v4's preflight
|
|
3
|
+
* dropped v3's `button { cursor: pointer }`, and neither shadow-DOM sheet loads
|
|
4
|
+
* `@wesence/ui`'s base layer, so both entries import this copy of its rule.
|
|
5
|
+
* Keep the two selector lists identical; `packages/ui`'s pointer-cursor test
|
|
6
|
+
* compares them.
|
|
7
|
+
*
|
|
8
|
+
* `:where()` keeps it at zero specificity in `@layer base`: any component rule
|
|
9
|
+
* or `cursor-*` utility wins. Disabled controls keep the default cursor. The
|
|
10
|
+
* text rule comes first so a checkbox, radio or button input gets the pointer
|
|
11
|
+
* by order.
|
|
12
|
+
*/
|
|
13
|
+
@layer base {
|
|
14
|
+
:where(input, textarea):where(:enabled) {
|
|
15
|
+
cursor: text;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:where(
|
|
19
|
+
button,
|
|
20
|
+
select,
|
|
21
|
+
summary,
|
|
22
|
+
a[href],
|
|
23
|
+
label[for],
|
|
24
|
+
[type='button'],
|
|
25
|
+
[type='checkbox'],
|
|
26
|
+
[type='color'],
|
|
27
|
+
[type='file'],
|
|
28
|
+
[type='image'],
|
|
29
|
+
[type='radio'],
|
|
30
|
+
[type='range'],
|
|
31
|
+
[type='reset'],
|
|
32
|
+
[type='submit'],
|
|
33
|
+
[role='button'],
|
|
34
|
+
[role='checkbox'],
|
|
35
|
+
[role='menuitem'],
|
|
36
|
+
[role='menuitemcheckbox'],
|
|
37
|
+
[role='menuitemradio'],
|
|
38
|
+
[role='option'],
|
|
39
|
+
[role='radio'],
|
|
40
|
+
[role='switch'],
|
|
41
|
+
[role='tab']
|
|
42
|
+
):where(:not(:disabled, [aria-disabled='true'])) {
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
@source not '../**/__tests__/**';
|
|
49
49
|
@source not '../**/*.test.{ts,tsx}';
|
|
50
50
|
@import './tokens.css';
|
|
51
|
+
@import './cursor.css';
|
|
51
52
|
@import './concierge.css';
|
|
52
53
|
/* LAST, after concierge.css — its rules win the cascade by order. See the
|
|
53
54
|
* file's own header and DOCK_SPEC §7.1 rule 1's 2026-09-15 exception. */
|