@softistx/pulsarix-widget 0.7.0 → 0.7.2
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/README.md +2 -2
- package/dist/index.js +351 -333
- package/docs/integration.md +7 -3
- package/package.json +3 -3
package/docs/integration.md
CHANGED
|
@@ -477,9 +477,13 @@ The edge tab that opens the dialog. Two options shape it; each has script-tag at
|
|
|
477
477
|
|
|
478
478
|
### Look: `launcher`
|
|
479
479
|
|
|
480
|
-
The launcher is an icon button, 44 x 44 px
|
|
481
|
-
rounded on the content side only.
|
|
482
|
-
|
|
480
|
+
The launcher is an icon button, 44 x 44 px on wide screens, docked flush to the viewport edge and
|
|
481
|
+
rounded on the content side only. On phones (viewport 600 px or less) it is 24 x 44 px: the mark shrinks
|
|
482
|
+
to 16 px, there is no peek, and the hit area is exactly the visible tab.
|
|
483
|
+
To avoid any overlap, reserve `padding-inline-end` (`-start` for a left tab) of 24 px on phones and
|
|
484
|
+
44-48 px on wide screens.
|
|
485
|
+
It wears the pulsarix mark and the unread badge. On wide screens it peeks 6 px less at rest; it slides
|
|
486
|
+
fully in on hover, focus and while dragged. Its label is a tooltip only
|
|
483
487
|
("Report a problem", with "Drag to move" on a second line): shown on hover or keyboard focus after a short
|
|
484
488
|
delay, hidden while dragging and on screens with no hover. The `launcher` option no longer changes its
|
|
485
489
|
look: `"auto"`, `"pill"` and `"icon"` are still read so existing embeds keep working, and `false` removes it
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softistx/pulsarix-widget",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Embeddable client-issue intake widget for pulsarix, rendered in a Shadow DOM",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@graphql-codegen/typescript": "^7.0.1",
|
|
19
19
|
"@graphql-codegen/typescript-operations": "^7.0.1",
|
|
20
20
|
"@happy-dom/global-registrator": "^21.0.4",
|
|
21
|
-
"@softistx/material": "^3.281.
|
|
21
|
+
"@softistx/material": "^3.281.1",
|
|
22
22
|
"@softistx/material-core": "^0.96.1",
|
|
23
23
|
"@tailwindcss/cli": "^4.3.3",
|
|
24
24
|
"@testing-library/dom": "^10.4.2",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"generate:check": "bun scripts/generate.ts --check",
|
|
48
48
|
"schema:sync": "bun scripts/schema-sync.ts",
|
|
49
49
|
"schema:check": "bun scripts/schema-sync.ts --check",
|
|
50
|
-
"test:browser": "bun scripts/leak-test.ts && bun scripts/screenshot-test.ts && bun scripts/files-test.ts && bun scripts/thread-test.ts && bun scripts/privacy-test.ts && bun scripts/contrast-test.ts",
|
|
50
|
+
"test:browser": "bun scripts/leak-test.ts && bun scripts/screenshot-test.ts && bun scripts/files-test.ts && bun scripts/thread-test.ts && bun scripts/wheel-test.ts && bun scripts/privacy-test.ts && bun scripts/contrast-test.ts",
|
|
51
51
|
"fixture": "bun scripts/serve-fixture.ts",
|
|
52
52
|
"verify": "bun run lint && bun run schema:check && bun run generate:check && bun run build && bun run typecheck && bun run test && bun run check:deps && bun run size",
|
|
53
53
|
"release": "bun scripts/publish.ts",
|