prime-ui-kit 0.21.0 → 0.21.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.
Files changed (46) hide show
  1. package/dist/chunks/{chunk-S27VR4ON.js → chunk-7JYPFRZ3.js} +77 -23
  2. package/dist/chunks/{chunk-S4H2ZKWJ.js → chunk-ME4VEAQ5.js} +40 -13
  3. package/dist/chunks/{chunk-IVS3J7AS.js → chunk-SQGPQOUO.js} +1 -1
  4. package/dist/chunks/{chunk-QFHE5GKW.js → chunk-T7IEJSTH.js} +569 -556
  5. package/dist/chunks/{chunk-6L7VWEY6.js → chunk-VQ3UCVDV.js} +2 -2
  6. package/dist/color-picker.js +3 -3
  7. package/dist/components/message/Message.d.ts +2 -2
  8. package/dist/components/scroll-container/ScrollContainer.d.ts +1 -1
  9. package/dist/icon-set.d.ts +1 -0
  10. package/dist/icon-set.js +4 -2
  11. package/dist/icons/glyphs/app-window.d.ts +2 -0
  12. package/dist/icons/registry.d.ts +2 -0
  13. package/dist/index.css +1 -1
  14. package/dist/index.js +3 -3
  15. package/dist/internal/overlay/DialogParts.d.ts +1 -1
  16. package/dist/internal/selectionIndicator.d.ts +9 -3
  17. package/dist/layout/page/Page.d.ts +1 -1
  18. package/dist/skill/api-contract.md +1 -1
  19. package/dist/skill/checklist.md +1 -0
  20. package/dist/skill/choosing.md +3 -2
  21. package/dist/skill/composition.md +58 -1
  22. package/dist/skill/layouts.md +1 -0
  23. package/dist/skill/reference/components/data-table/COMPONENT.md +1 -0
  24. package/dist/skill/reference/components/message/COMPONENT.md +6 -5
  25. package/dist/skill/reference/components/message/examples/bot-actions.tsx +6 -2
  26. package/dist/skill/reference/components/scroll-container/COMPONENT.md +5 -5
  27. package/dist/skill/reference/components/scroll-container/examples/overscroll.tsx +2 -2
  28. package/dist/skill/reference/components/tabs/COMPONENT.md +1 -1
  29. package/dist/skill/reference/icon-set.ts +1 -0
  30. package/dist/skill/reference/layout/app-shell/COMPONENT.md +1 -1
  31. package/dist/skill/reference/layout/page/COMPONENT.md +9 -6
  32. package/dist/skill/reference/layout/page/examples/router.tsx +124 -0
  33. package/dist/skill/reference/layout/page/examples/tools.tsx +12 -22
  34. package/dist/skill/reference/layout/sidebar/COMPONENT.md +4 -1
  35. package/package.json +1 -1
  36. package/src/components/data-table/COMPONENT.md +1 -0
  37. package/src/components/message/COMPONENT.md +6 -5
  38. package/src/components/message/examples/bot-actions.tsx +6 -2
  39. package/src/components/scroll-container/COMPONENT.md +5 -5
  40. package/src/components/scroll-container/examples/overscroll.tsx +2 -2
  41. package/src/components/tabs/COMPONENT.md +1 -1
  42. package/src/layout/app-shell/COMPONENT.md +1 -1
  43. package/src/layout/page/COMPONENT.md +9 -6
  44. package/src/layout/page/examples/router.tsx +124 -0
  45. package/src/layout/page/examples/tools.tsx +12 -22
  46. package/src/layout/sidebar/COMPONENT.md +4 -1
@@ -23,11 +23,11 @@ import {
23
23
  useInheritedDisabled,
24
24
  useLabels,
25
25
  useOpenState
26
- } from "./chunk-S27VR4ON.js";
26
+ } from "./chunk-7JYPFRZ3.js";
27
27
  import {
28
28
  cx,
29
29
  useHostTier
30
- } from "./chunk-QFHE5GKW.js";
30
+ } from "./chunk-T7IEJSTH.js";
31
31
 
32
32
  // src/components/color-field/ColorField.tsx
33
33
  import * as React3 from "react";
@@ -4,9 +4,9 @@ import {
4
4
  ColorField,
5
5
  ColorPicker,
6
6
  parseColor
7
- } from "./chunks/chunk-6L7VWEY6.js";
8
- import "./chunks/chunk-S27VR4ON.js";
9
- import "./chunks/chunk-QFHE5GKW.js";
7
+ } from "./chunks/chunk-VQ3UCVDV.js";
8
+ import "./chunks/chunk-7JYPFRZ3.js";
9
+ import "./chunks/chunk-T7IEJSTH.js";
10
10
  export {
11
11
  ColorField,
12
12
  ColorPicker,
@@ -29,8 +29,8 @@ export type MessageActionsProps = React.HTMLAttributes<HTMLDivElement> & {
29
29
  * equally on one line (a label too long ellipsizes), at the message's width (the bubble widens to
30
30
  * the keyboard when it is wider). Several make several rows, in the order written; the last row's
31
31
  * outer corners follow the bubble's radius. A key is `soft` `neutral` unless it sets its own
32
- * `variant` / `tone`; a link (`asChild` around an `<a href>`) carries the link mark at its
33
- * top-end corner; an `onClick` that returns a promise keeps its key loading until it settles.
32
+ * `variant` / `tone`; a link key carries its mark at its top-end corner (`linkMarkOf`); an
33
+ * `onClick` that returns a promise keeps its key loading until it settles.
34
34
  */
35
35
  declare function MessageActions({ className, children, ...rest }: MessageActionsProps): import("react/jsx-runtime").JSX.Element;
36
36
  declare namespace MessageActions {
@@ -17,7 +17,7 @@ export type ScrollContainerProps = React.HTMLAttributes<HTMLElement> & {
17
17
  */
18
18
  axis?: ScrollContainerAxis;
19
19
  /**
20
- * CSS `overscroll-behavior` along the region's own axes; `contain` stops scroll chaining into the page, a scroll across them still reaches the region around.
20
+ * At the region's end: `auto` hands the scroll on to the page (sideways it stops); `contain` / `none` hold both axes — an open layer, where the page behind must not move.
21
21
  */
22
22
  overscrollBehavior?: "auto" | "contain" | "none";
23
23
  /**
@@ -20,6 +20,7 @@ export { AlignVerticalSpaceAround as AlignVerticalSpaceAroundIcon } from "./icon
20
20
  export { Ambulance as AmbulanceIcon } from "./icons/glyphs/ambulance";
21
21
  export { Angry as AngryIcon } from "./icons/glyphs/angry";
22
22
  export { Annoyed as AnnoyedIcon } from "./icons/glyphs/annoyed";
23
+ export { AppWindow as AppWindowIcon } from "./icons/glyphs/app-window";
23
24
  export { Archive as ArchiveIcon } from "./icons/glyphs/archive";
24
25
  export { ArrowBigDown as ArrowBigDownIcon } from "./icons/glyphs/arrow-big-down";
25
26
  export { ArrowBigDownDash as ArrowBigDownDashIcon } from "./icons/glyphs/arrow-big-down-dash";
package/dist/icon-set.js CHANGED
@@ -410,9 +410,10 @@ import {
410
410
  Youtube,
411
411
  Zap,
412
412
  ZapOff
413
- } from "./chunks/chunk-IVS3J7AS.js";
413
+ } from "./chunks/chunk-SQGPQOUO.js";
414
414
  import {
415
415
  Activity,
416
+ AppWindow,
416
417
  ArrowDown,
417
418
  ArrowUp,
418
419
  ArrowUpDown,
@@ -527,7 +528,7 @@ import {
527
528
  X,
528
529
  ZoomIn,
529
530
  ZoomOut
530
- } from "./chunks/chunk-QFHE5GKW.js";
531
+ } from "./chunks/chunk-T7IEJSTH.js";
531
532
  export {
532
533
  AArrowDown as AArrowDownIcon,
533
534
  AArrowUp as AArrowUpIcon,
@@ -545,6 +546,7 @@ export {
545
546
  Ambulance as AmbulanceIcon,
546
547
  Angry as AngryIcon,
547
548
  Annoyed as AnnoyedIcon,
549
+ AppWindow as AppWindowIcon,
548
550
  Archive as ArchiveIcon,
549
551
  ArrowBigDownDash as ArrowBigDownDashIcon,
550
552
  ArrowBigDown as ArrowBigDownIcon,
@@ -0,0 +1,2 @@
1
+ /** Lucide `app-window`: the window's title bar lights up, one control after another; the frame stays. */
2
+ export declare const AppWindow: import("../glyph").Glyph;
@@ -38,6 +38,8 @@ export declare const iconRegistry: {
38
38
  readonly "action.login": import("./glyph").Glyph;
39
39
  readonly "action.logout": import("./glyph").Glyph;
40
40
  readonly "action.more": import("./glyph").Glyph;
41
+ /** Open a page of this product (a bot key's web app); `action.externalLink` leaves it. */
42
+ readonly "action.openApp": import("./glyph").Glyph;
41
43
  readonly "action.pause": import("./glyph").Glyph;
42
44
  /** Pin a message or an item to the top. */
43
45
  readonly "action.pin": import("./glyph").Glyph;