@orianatech/pire 2.0.0 → 2.1.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.
Files changed (60) hide show
  1. package/dist/components/core/Button.d.cts +12 -0
  2. package/dist/components/core/Button.d.ts +12 -0
  3. package/dist/components/core/Button.d.ts.map +1 -1
  4. package/dist/components/core/ComingSoonMark.d.cts +39 -0
  5. package/dist/components/core/ComingSoonMark.d.ts +40 -0
  6. package/dist/components/core/ComingSoonMark.d.ts.map +1 -0
  7. package/dist/components/data/DataTable.d.cts +43 -3
  8. package/dist/components/data/DataTable.d.ts +43 -3
  9. package/dist/components/data/DataTable.d.ts.map +1 -1
  10. package/dist/components/data/Timeline.d.cts +1 -1
  11. package/dist/components/data/Timeline.d.ts +1 -1
  12. package/dist/components/data/Timeline.d.ts.map +1 -1
  13. package/dist/components/feedback/Toast.d.ts.map +1 -1
  14. package/dist/components/forms/ComboBox.d.ts.map +1 -1
  15. package/dist/components/forms/FileUpload.d.cts +7 -1
  16. package/dist/components/forms/FileUpload.d.ts +7 -1
  17. package/dist/components/forms/FileUpload.d.ts.map +1 -1
  18. package/dist/components/forms/FormField.d.ts.map +1 -1
  19. package/dist/components/forms/MultiComboBox.d.ts.map +1 -1
  20. package/dist/components/forms/TextArea.d.cts +1 -3
  21. package/dist/components/forms/TextArea.d.ts +1 -3
  22. package/dist/components/forms/TextArea.d.ts.map +1 -1
  23. package/dist/components/layout/SelectionBar.d.cts +31 -4
  24. package/dist/components/layout/SelectionBar.d.ts +31 -4
  25. package/dist/components/layout/SelectionBar.d.ts.map +1 -1
  26. package/dist/components/navigation/Breadcrumb.d.cts +12 -2
  27. package/dist/components/navigation/Breadcrumb.d.ts +12 -2
  28. package/dist/components/navigation/Breadcrumb.d.ts.map +1 -1
  29. package/dist/components/navigation/Pagination.d.ts.map +1 -1
  30. package/dist/components/navigation/Ribbon.d.cts +27 -0
  31. package/dist/components/navigation/Ribbon.d.ts +27 -0
  32. package/dist/components/navigation/Ribbon.d.ts.map +1 -1
  33. package/dist/components/navigation/ShellBar.d.cts +21 -6
  34. package/dist/components/navigation/ShellBar.d.ts +21 -6
  35. package/dist/components/navigation/ShellBar.d.ts.map +1 -1
  36. package/dist/components/navigation/Tabs.d.ts.map +1 -1
  37. package/dist/components/patterns/AppLauncher.d.ts.map +1 -1
  38. package/dist/components/patterns/ConfirmDialog.d.ts.map +1 -1
  39. package/dist/components/patterns/FileDropZone.d.ts.map +1 -1
  40. package/dist/components/patterns/SidePanel.d.cts +17 -3
  41. package/dist/components/patterns/SidePanel.d.ts +17 -3
  42. package/dist/components/patterns/SidePanel.d.ts.map +1 -1
  43. package/dist/components/patterns/ValueHelpDialog.d.ts.map +1 -1
  44. package/dist/components/utils/useLoadMoreOnScroll.d.cts +11 -0
  45. package/dist/components/utils/useLoadMoreOnScroll.d.ts +12 -0
  46. package/dist/components/utils/useLoadMoreOnScroll.d.ts.map +1 -0
  47. package/dist/components.css +219 -4
  48. package/dist/i18n/messages.d.cts +42 -0
  49. package/dist/i18n/messages.d.ts +42 -0
  50. package/dist/i18n/messages.d.ts.map +1 -1
  51. package/dist/index.cjs +1752 -1181
  52. package/dist/index.cjs.map +1 -1
  53. package/dist/index.d.cts +1 -1
  54. package/dist/index.d.ts +1 -1
  55. package/dist/index.d.ts.map +1 -1
  56. package/dist/index.js +1773 -1194
  57. package/dist/index.js.map +1 -1
  58. package/dist/tokens/colors.css +1 -0
  59. package/dist/tokens/themes.css +1 -0
  60. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0EAA0E;IAC1E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAQ,EACR,QAAa,EACb,KAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,SAAyB,EACzB,SAAS,EACT,KAAK,GACN,EAAE,eAAe,qBA6CjB"}
1
+ {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0EAA0E;IAC1E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAQ,EACR,QAAa,EACb,KAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,SAAyB,EACzB,SAAS,EACT,KAAK,GACN,EAAE,eAAe,qBAgDjB"}
@@ -13,6 +13,33 @@ export interface RibbonCommandProps {
13
13
  /** Disables the command while nothing is selected. Use it for anything that acts *on rows* —
14
14
  * a command that fires against an empty selection is the bug this prevents. */
15
15
  requiresSelection?: boolean;
16
+ /**
17
+ * An action the product will have but does not have yet: drawn in the tertiary ink with a "Soon"
18
+ * mark, in the band and in the collapsed bar, focusable with `aria-disabled="true"`, and never
19
+ * pressed. See `Button`'s `isComingSoon` for why this is not `isDisabled`.
20
+ *
21
+ * `requiresSelection` never brings it to life — an action that does not exist does not start
22
+ * existing because rows were selected.
23
+ */
24
+ isComingSoon?: boolean;
25
+ /**
26
+ * The screen's main action — "Nuevo presupuesto", "Facturar", "Aprobar". Declared once and drawn
27
+ * in the primary fill in both modes: as the first large tile of its group while the ribbon is
28
+ * open (it is always `lg`, whatever `size` says), and at the very front of the collapsed bar,
29
+ * before `leading`, without needing `inBar`.
30
+ *
31
+ * One per ribbon. It is what `leading` was being borrowed for, and `leading` keeps its own job:
32
+ * row context such as the saved-view chip, not an action. Ignored on a contextual tab's commands,
33
+ * which never reach the bar.
34
+ */
35
+ isPrimary?: boolean;
36
+ /**
37
+ * Explanation shown on hover and on keyboard focus. Commands are configuration elements, so a
38
+ * `Tooltip` cannot be wrapped around one from outside; this is the slot instead. Its natural
39
+ * partner is `isComingSoon` — "Sends the order PDF to the customer's WhatsApp" — but any command
40
+ * can carry one.
41
+ */
42
+ tooltip?: React.ReactNode;
16
43
  /** Also shows the command in the collapsed bar. Reserve it for the handful a user reaches for
17
44
  * without opening the ribbon; a bar that carries everything is the ribbon again, in one row. */
18
45
  inBar?: boolean;
@@ -13,6 +13,33 @@ export interface RibbonCommandProps {
13
13
  /** Disables the command while nothing is selected. Use it for anything that acts *on rows* —
14
14
  * a command that fires against an empty selection is the bug this prevents. */
15
15
  requiresSelection?: boolean;
16
+ /**
17
+ * An action the product will have but does not have yet: drawn in the tertiary ink with a "Soon"
18
+ * mark, in the band and in the collapsed bar, focusable with `aria-disabled="true"`, and never
19
+ * pressed. See `Button`'s `isComingSoon` for why this is not `isDisabled`.
20
+ *
21
+ * `requiresSelection` never brings it to life — an action that does not exist does not start
22
+ * existing because rows were selected.
23
+ */
24
+ isComingSoon?: boolean;
25
+ /**
26
+ * The screen's main action — "Nuevo presupuesto", "Facturar", "Aprobar". Declared once and drawn
27
+ * in the primary fill in both modes: as the first large tile of its group while the ribbon is
28
+ * open (it is always `lg`, whatever `size` says), and at the very front of the collapsed bar,
29
+ * before `leading`, without needing `inBar`.
30
+ *
31
+ * One per ribbon. It is what `leading` was being borrowed for, and `leading` keeps its own job:
32
+ * row context such as the saved-view chip, not an action. Ignored on a contextual tab's commands,
33
+ * which never reach the bar.
34
+ */
35
+ isPrimary?: boolean;
36
+ /**
37
+ * Explanation shown on hover and on keyboard focus. Commands are configuration elements, so a
38
+ * `Tooltip` cannot be wrapped around one from outside; this is the slot instead. Its natural
39
+ * partner is `isComingSoon` — "Sends the order PDF to the customer's WhatsApp" — but any command
40
+ * can carry one.
41
+ */
42
+ tooltip?: React.ReactNode;
16
43
  /** Also shows the command in the collapsed bar. Reserve it for the handful a user reaches for
17
44
  * without opening the ribbon; a bar that carries everything is the ribbon again, in one row. */
18
45
  inBar?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Ribbon.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Ribbon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,kBAAkB;IACjC;6FACyF;IACzF,KAAK,EAAE,MAAM,CAAC;IACd,qFAAqF;IACrF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;kGAC8F;IAC9F,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;oFACgF;IAChF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;qGACiG;IACjG,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B;yEACqE;IACrE,OAAO,EAAE,MAAM,CAAC;IAChB,QA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wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,OAAO,EACP,OAAO,EACP,cAAc,EACd,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EAAE,WAAW,qBA+Kb;yBA5Le,MAAM;aA8LT,SAAS;aACP,WAAW;aACT,aAAa"}
1
+ {"version":3,"file":"Ribbon.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Ribbon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,kBAAkB;IACjC;6FACyF;IACzF,KAAK,EAAE,MAAM,CAAC;IACd,qFAAqF;IACrF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;kGAC8F;IAC9F,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;oFACgF;IAChF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;qGACiG;IACjG,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B;yEACqE;IACrE,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd;wFACoF;IACpF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AA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"}
@@ -1,4 +1,5 @@
1
1
  import type * as React from 'react';
2
+ import { type BreadcrumbItem } from './Breadcrumb.cjs';
2
3
  export interface ShellBarProps extends Omit<React.HTMLAttributes<HTMLElement>, 'title'> {
3
4
  /** Wordmark at far left, uppercase micro-caps. */
4
5
  product?: string;
@@ -6,6 +7,23 @@ export interface ShellBarProps extends Omit<React.HTMLAttributes<HTMLElement>, '
6
7
  monogram?: string;
7
8
  /** Current app or object title. */
8
9
  title?: React.ReactNode;
10
+ /**
11
+ * Where the user is — "Ventas › Órdenes de venta › OV-000128" — drawn after `product`, behind a
12
+ * separator, in the bar's own colours. Current step last; it is marked `aria-current="page"` and
13
+ * is never a link. `href`s navigate through `RouterProvider`, like every other Pire link.
14
+ *
15
+ * The trail is the part of the bar that gives way: it takes the room the actions leave, folds its
16
+ * middle steps into a "…" menu when it does not fit, and then truncates the current step with an
17
+ * ellipsis. A screen that draws its own `Breadcrumb` above the page can drop it — the bar keeps
18
+ * the trail in one place on every screen without costing a row of height.
19
+ *
20
+ * Prefer this to putting a `Breadcrumb` in `title`, which sets it in bold, on the page's link
21
+ * colours, and with no width management.
22
+ */
23
+ breadcrumb?: BreadcrumbItem[];
24
+ /** Called with a step's `id` (or its `label` when it has none) when it is pressed — for a step
25
+ * without an `href`, or to observe navigation. Same contract as `Breadcrumb`'s `onNavigate`. */
26
+ onBreadcrumbNavigate?: (id: string) => void;
9
27
  /**
10
28
  * The leftmost cell of the bar — pass an `AppLauncher`.
11
29
  *
@@ -16,12 +34,9 @@ export interface ShellBarProps extends Omit<React.HTMLAttributes<HTMLElement>, '
16
34
  launcher?: React.ReactNode;
17
35
  onMenu?: () => void;
18
36
  onSearch?: () => void;
19
- /** Accessible name for the menu button. Defaults to English, and the bar has no access to the app's
20
- * catalogue — a Spanish product must pass its own or ship an English screen-reader label. */
37
+ /** Accessible name for the menu button. Defaults to the dictionary's `shellBarMenu`. */
21
38
  menuLabel?: string;
22
- /** Accessible name for the search button, for the same reason as {@link ShellBarProps.menuLabel}.
23
- * Until this existed the only way to localise it was to drop `onSearch` and re-render the icon by
24
- * hand, which is how a shell ends up with two search icons. */
39
+ /** Accessible name for the search button. Defaults to the dictionary's `shellBarSearch`. */
25
40
  searchLabel?: string;
26
41
  /** IconButtons with variant="inverse". */
27
42
  actions?: React.ReactNode;
@@ -41,4 +56,4 @@ export interface ShellBarProps extends Omit<React.HTMLAttributes<HTMLElement>, '
41
56
  userMenuLabel?: string;
42
57
  }
43
58
  /** Fixed 48px application chrome. One per page, always the first landmark. */
44
- export declare function ShellBar({ launcher, product, monogram, title, onMenu, onSearch, menuLabel, searchLabel, actions, user, userMenu, userMenuLabel, className, ...rest }: ShellBarProps): React.JSX.Element;
59
+ export declare function ShellBar({ launcher, product, monogram, title, breadcrumb, onBreadcrumbNavigate, onMenu, onSearch, menuLabel, searchLabel, actions, user, userMenu, userMenuLabel, className, ...rest }: ShellBarProps): React.JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import type * as React from 'react';
2
+ import { type BreadcrumbItem } from './Breadcrumb.js';
2
3
  export interface ShellBarProps extends Omit<React.HTMLAttributes<HTMLElement>, 'title'> {
3
4
  /** Wordmark at far left, uppercase micro-caps. */
4
5
  product?: string;
@@ -6,6 +7,23 @@ export interface ShellBarProps extends Omit<React.HTMLAttributes<HTMLElement>, '
6
7
  monogram?: string;
7
8
  /** Current app or object title. */
8
9
  title?: React.ReactNode;
10
+ /**
11
+ * Where the user is — "Ventas › Órdenes de venta › OV-000128" — drawn after `product`, behind a
12
+ * separator, in the bar's own colours. Current step last; it is marked `aria-current="page"` and
13
+ * is never a link. `href`s navigate through `RouterProvider`, like every other Pire link.
14
+ *
15
+ * The trail is the part of the bar that gives way: it takes the room the actions leave, folds its
16
+ * middle steps into a "…" menu when it does not fit, and then truncates the current step with an
17
+ * ellipsis. A screen that draws its own `Breadcrumb` above the page can drop it — the bar keeps
18
+ * the trail in one place on every screen without costing a row of height.
19
+ *
20
+ * Prefer this to putting a `Breadcrumb` in `title`, which sets it in bold, on the page's link
21
+ * colours, and with no width management.
22
+ */
23
+ breadcrumb?: BreadcrumbItem[];
24
+ /** Called with a step's `id` (or its `label` when it has none) when it is pressed — for a step
25
+ * without an `href`, or to observe navigation. Same contract as `Breadcrumb`'s `onNavigate`. */
26
+ onBreadcrumbNavigate?: (id: string) => void;
9
27
  /**
10
28
  * The leftmost cell of the bar — pass an `AppLauncher`.
11
29
  *
@@ -16,12 +34,9 @@ export interface ShellBarProps extends Omit<React.HTMLAttributes<HTMLElement>, '
16
34
  launcher?: React.ReactNode;
17
35
  onMenu?: () => void;
18
36
  onSearch?: () => void;
19
- /** Accessible name for the menu button. Defaults to English, and the bar has no access to the app's
20
- * catalogue — a Spanish product must pass its own or ship an English screen-reader label. */
37
+ /** Accessible name for the menu button. Defaults to the dictionary's `shellBarMenu`. */
21
38
  menuLabel?: string;
22
- /** Accessible name for the search button, for the same reason as {@link ShellBarProps.menuLabel}.
23
- * Until this existed the only way to localise it was to drop `onSearch` and re-render the icon by
24
- * hand, which is how a shell ends up with two search icons. */
39
+ /** Accessible name for the search button. Defaults to the dictionary's `shellBarSearch`. */
25
40
  searchLabel?: string;
26
41
  /** IconButtons with variant="inverse". */
27
42
  actions?: React.ReactNode;
@@ -41,5 +56,5 @@ export interface ShellBarProps extends Omit<React.HTMLAttributes<HTMLElement>, '
41
56
  userMenuLabel?: string;
42
57
  }
43
58
  /** Fixed 48px application chrome. One per page, always the first landmark. */
44
- export declare function ShellBar({ launcher, product, monogram, title, onMenu, onSearch, menuLabel, searchLabel, actions, user, userMenu, userMenuLabel, className, ...rest }: ShellBarProps): React.JSX.Element;
59
+ export declare function ShellBar({ launcher, product, monogram, title, breadcrumb, onBreadcrumbNavigate, onMenu, onSearch, menuLabel, searchLabel, actions, user, userMenu, userMenuLabel, className, ...rest }: ShellBarProps): React.JSX.Element;
45
60
  //# sourceMappingURL=ShellBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ShellBar.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/ShellBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IACrF,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mFAAmF;IACnF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mCAAmC;IACnC,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;kGAC8F;IAC9F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;oEAEgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0CAA0C;IAC1C,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,mDAAmD;IACnD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;mGAC+F;IAC/F,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAWD,8EAA8E;AAC9E,wBAAgB,QAAQ,CAAC,EACvB,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,KAAK,EACL,MAAM,EACN,QAAQ,EACR,SAA6B,EAC7B,WAAsB,EACtB,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,SAAS,EACT,GAAG,IAAI,EACR,EAAE,aAAa,qBAwCf"}
1
+ {"version":3,"file":"ShellBar.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/ShellBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AA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1 @@
1
- {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC;;qCAEiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IACzC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,8FAA8F;AAC9F,wBAAgB,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,SAAS,qBAgC1G"}
1
+ {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,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kDAAkD;IAClD,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,sEAAsE;IACtE,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,yEAAyE;IACzE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iFAAiF;IACjF,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,kFAAkF;IAClF,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,gFAAgF;IAChF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC;;;;;;;OAOG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,mFAAmF;IACnF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,qDAAqD;IACrD,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,iGAAiG;IACjG,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,uGAAuG;IACvG,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yFAAyF;IACzF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAOD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,KAAK,EACL,IAAI,EACJ,YAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,YAAY,EAAE,SAAS,EACvB,IAAiB,EACjB,SAAS,GACV,EAAE,gBAAgB,qBA6HlB"}
1
+ {"version":3,"file":"AppLauncher.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/AppLauncher.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,MAAM,WAAW,eAAe;IAC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EACL,WAAW,EACX,QAAQ,EACR,YAAwB,EACxB,WAAsB,EACtB,IAAgB,EAChB,MAAM,EACN,SAAS,EACT,QAAQ,GACT,EAAE,kBAAkB,qBA0CpB"}
1
+ {"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/ConfirmDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGvD,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,8DAA8D;IAC9D,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;;;OAIG;IACH,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;IACrB,iFAAiF;IACjF,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yEAAyE;IACzE,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B,uEAAuE;IACvE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,gGAAgG;AAChG,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EACN,KAAK,EACL,QAAQ,EACR,KAAK,EACL,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,IAAgB,EAChB,MAAM,EACN,SAAS,EACT,QAAQ,GACT,EAAE,kBAAkB,qBA0CpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FileDropZone.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/FileDropZone.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAA+B,KAAK,eAAe,EAAiB,MAAM,qBAAqB,CAAC;AAIvG,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,eAAe,EAAE,aAAa,CAAC;IAC7E,oFAAoF;IACpF,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,sFAAsF;IACtF,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC/B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAID;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,iBAAiB,EACjB,cAAc,EACd,OAAO,EACP,OAAO,EACP,WAAkB,EAClB,cAAc,EACd,WAAW,EACX,MAAkB,EAClB,WAAW,EACX,YAAY,EACZ,SAAS,EACT,UAAU,EACV,UAAU,EACV,UAAU,EACV,SAAgB,EAChB,SAAS,EACT,KAAK,EACL,YAAY,EAAE,SAAS,EACvB,GAAG,IAAI,EACR,EAAE,iBAAiB,qBAsGnB"}
1
+ {"version":3,"file":"FileDropZone.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/FileDropZone.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAIL,KAAK,eAAe,EAErB,MAAM,qBAAqB,CAAC;AAI7B,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,eAAe,EAAE,aAAa,CAAC;IAC7E,oFAAoF;IACpF,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,sFAAsF;IACtF,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC/B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAID;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,iBAAiB,EACjB,cAAc,EACd,OAAO,EACP,OAAO,EACP,WAAkB,EAClB,cAAc,EACd,WAAW,EACX,MAAkB,EAClB,WAAW,EACX,YAAY,EACZ,SAAS,EACT,UAAU,EACV,UAAU,EACV,UAAU,EACV,SAAgB,EAChB,SAAS,EACT,KAAK,EACL,YAAY,EAAE,SAAS,EACvB,GAAG,IAAI,EACR,EAAE,iBAAiB,qBA+GnB"}
@@ -1,14 +1,28 @@
1
- import type * as React from 'react';
1
+ import * as React from 'react';
2
2
  export interface SidePanelProps {
3
3
  isOpen?: boolean;
4
4
  title?: React.ReactNode;
5
5
  subtitle?: React.ReactNode;
6
6
  /** Panel width in px. 400 default; 560 for editable forms. */
7
7
  width?: number;
8
+ /**
9
+ * `modal` (default) overlays the page: a scrim, a focus trap, the list behind it inert. Right for
10
+ * a detail that interrupts.
11
+ *
12
+ * `docked` puts the panel *in the flow* — place it beside the table in a flex row — with no scrim
13
+ * and no trap, so the list stays usable and choosing another row switches the record being
14
+ * edited. Right for a 4–8 field master (categories, cost centres, cash boxes) that has no page of
15
+ * its own. `Escape` inside the panel still calls `onClose`.
16
+ *
17
+ * Opening a docked panel does not move focus: it opens because the user picked a row, and pulling
18
+ * them out of the table each time they pick another would make the list unusable from the
19
+ * keyboard. At a phone's width (600px or less) the panel falls back to the modal presentation.
20
+ */
21
+ presentation?: 'modal' | 'docked';
8
22
  children?: React.ReactNode;
9
23
  footer?: React.ReactNode;
10
24
  onClose?: () => void;
11
25
  className?: string;
12
26
  }
13
- /** Right-hand overlay for details and edits that must keep the list in view. */
14
- export declare function SidePanel({ isOpen, title, subtitle, width, children, footer, onClose, className, }: SidePanelProps): React.JSX.Element;
27
+ /** Right-hand panel for details and edits that must keep the list in view. */
28
+ export declare function SidePanel({ isOpen, title, subtitle, width, presentation, children, footer, onClose, className, }: SidePanelProps): React.JSX.Element | null;
@@ -1,15 +1,29 @@
1
- import type * as React from 'react';
1
+ import * as React from 'react';
2
2
  export interface SidePanelProps {
3
3
  isOpen?: boolean;
4
4
  title?: React.ReactNode;
5
5
  subtitle?: React.ReactNode;
6
6
  /** Panel width in px. 400 default; 560 for editable forms. */
7
7
  width?: number;
8
+ /**
9
+ * `modal` (default) overlays the page: a scrim, a focus trap, the list behind it inert. Right for
10
+ * a detail that interrupts.
11
+ *
12
+ * `docked` puts the panel *in the flow* — place it beside the table in a flex row — with no scrim
13
+ * and no trap, so the list stays usable and choosing another row switches the record being
14
+ * edited. Right for a 4–8 field master (categories, cost centres, cash boxes) that has no page of
15
+ * its own. `Escape` inside the panel still calls `onClose`.
16
+ *
17
+ * Opening a docked panel does not move focus: it opens because the user picked a row, and pulling
18
+ * them out of the table each time they pick another would make the list unusable from the
19
+ * keyboard. At a phone's width (600px or less) the panel falls back to the modal presentation.
20
+ */
21
+ presentation?: 'modal' | 'docked';
8
22
  children?: React.ReactNode;
9
23
  footer?: React.ReactNode;
10
24
  onClose?: () => void;
11
25
  className?: string;
12
26
  }
13
- /** Right-hand overlay for details and edits that must keep the list in view. */
14
- export declare function SidePanel({ isOpen, title, subtitle, width, children, footer, onClose, className, }: SidePanelProps): React.JSX.Element;
27
+ /** Right-hand panel for details and edits that must keep the list in view. */
28
+ export declare function SidePanel({ isOpen, title, subtitle, width, presentation, children, footer, onClose, className, }: SidePanelProps): React.JSX.Element | null;
15
29
  //# sourceMappingURL=SidePanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SidePanel.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/SidePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,gFAAgF;AAChF,wBAAgB,SAAS,CAAC,EACxB,MAAM,EACN,KAAK,EACL,QAAQ,EACR,KAAW,EACX,QAAQ,EACR,MAAM,EACN,OAAO,EACP,SAAS,GACV,EAAE,cAAc,qBAkChB"}
1
+ {"version":3,"file":"SidePanel.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/SidePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAClC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAYD,8EAA8E;AAC9E,wBAAgB,SAAS,CAAC,EACxB,MAAM,EACN,KAAK,EACL,QAAQ,EACR,KAAW,EACX,YAAsB,EACtB,QAAQ,EACR,MAAM,EACN,OAAO,EACP,SAAS,GACV,EAAE,cAAc,4BAyEhB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ValueHelpDialog.d.ts","sourceRoot":"","sources":["../../../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BAA+B;IAC/B,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;IACtC;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACtC;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,IAAI,CAAC;IAC3D,iGAAiG;IACjG,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,IAAI,CAAC;CACpD;AAED,2FAA2F;AAC3F,wBAAgB,eAAe,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,EAAE,EACjE,MAAM,EACN,KAAK,EACL,OAAY,EACZ,IAAS,EACT,iBAAiB,EACjB,UAAU,EACV,QAAQ,EACR,oBAAoB,EACpB,SAAS,EACT,UAAU,EACV,QAAQ,EACR,OAAO,EACP,aAAwB,EACxB,YAAY,EACZ,iBAAiB,EACjB,SAAS,GACV,EAAE,oBAAoB,CAAC,CAAC,CAAC,qBA4GzB"}
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ /**
3
+ * The `onScroll` handler for a list that pages from the server: asks for the next page once per
4
+ * arrival at the end, not on every scroll event inside the zone. Scroll handlers rather than an
5
+ * intersection observer, so nothing is appended below the virtual focus while the user is still
6
+ * moving through the list.
7
+ *
8
+ * Re-arms when the list grows (the page arrived) or when `isLoading` settles to false, so a
9
+ * failed request can be retried by scrolling again. Returns `undefined` without `onLoadMore`.
10
+ */
11
+ export declare function useLoadMoreOnScroll(onLoadMore: (() => void) | undefined, isLoading: boolean | undefined): React.UIEventHandler<HTMLElement> | undefined;
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ /**
3
+ * The `onScroll` handler for a list that pages from the server: asks for the next page once per
4
+ * arrival at the end, not on every scroll event inside the zone. Scroll handlers rather than an
5
+ * intersection observer, so nothing is appended below the virtual focus while the user is still
6
+ * moving through the list.
7
+ *
8
+ * Re-arms when the list grows (the page arrived) or when `isLoading` settles to false, so a
9
+ * failed request can be retried by scrolling again. Returns `undefined` without `onLoadMore`.
10
+ */
11
+ export declare function useLoadMoreOnScroll(onLoadMore: (() => void) | undefined, isLoading: boolean | undefined): React.UIEventHandler<HTMLElement> | undefined;
12
+ //# sourceMappingURL=useLoadMoreOnScroll.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLoadMoreOnScroll.d.ts","sourceRoot":"","sources":["../../../src/components/utils/useLoadMoreOnScroll.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,EACpC,SAAS,EAAE,OAAO,GAAG,SAAS,GAC7B,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAgB/C"}
@@ -126,7 +126,7 @@
126
126
  background: var(--accent-subtle-bg);
127
127
  }
128
128
  .pire-btn[data-variant="secondary"][data-pressed] {
129
- background: var(--blue-20);
129
+ background: var(--accent-subtle-bg-active);
130
130
  }
131
131
  .pire-btn[data-variant="tertiary"] {
132
132
  background: transparent;
@@ -165,6 +165,37 @@
165
165
  border-color: var(--border-subtle);
166
166
  cursor: not-allowed;
167
167
  }
168
+ /* Coming soon: "not yet", which must not read as disabled ("not now"). The tertiary ink clears
169
+ 4.5:1 on every content surface, so unlike disabled text it stays readable — it is a promise, not
170
+ an inactive control. Every variant collapses to the same quiet shape, because a primary-blue fill
171
+ on an action that does nothing is the loudest possible way to say nothing. The state attributes
172
+ React Aria still sets on press and hover are flattened too: nothing happens, so nothing moves. */
173
+ .pire-btn[data-coming-soon],
174
+ .pire-btn[data-coming-soon][data-hovered],
175
+ .pire-btn[data-coming-soon][data-pressed] {
176
+ background: var(--surface-card);
177
+ color: var(--text-tertiary);
178
+ border-color: var(--border-subtle);
179
+ cursor: default;
180
+ }
181
+ .pire-btn[data-variant="tertiary"][data-coming-soon] {
182
+ background: transparent;
183
+ border-color: transparent;
184
+ }
185
+
186
+ /* The "Soon" mark beside a coming-soon Button or Ribbon command. Dashed, because a solid outline
187
+ is a Tag — and a Tag is data, while this is a statement about the control it sits in. */
188
+ .pire-soon-mark {
189
+ display: inline-flex;
190
+ align-items: center;
191
+ flex: 0 0 auto;
192
+ padding: 0 var(--sp-1);
193
+ border: 1px dashed var(--border-strong);
194
+ border-radius: var(--radius-1);
195
+ font: var(--type-micro);
196
+ color: var(--text-tertiary);
197
+ white-space: nowrap;
198
+ }
168
199
 
169
200
  /* ---- IconButton ------------------------------------------------------ */
170
201
  .pire-iconbtn {
@@ -1011,6 +1042,23 @@
1011
1042
  outline: var(--focus-w) solid var(--focus-color);
1012
1043
  outline-offset: calc(var(--focus-offset) * -1);
1013
1044
  }
1045
+ /* The screen's main action, in the primary button's fill. Its focus ring stays inset like every
1046
+ other command's — outside, the scroller clips it, since the bar's scroller is exactly as tall as
1047
+ its commands — but in the fill's own ink, because the usual blue ring vanishes on a blue tile.
1048
+ Disabled and coming-soon, both below, override the fill. */
1049
+ .pire-ribbon-command[data-primary] {
1050
+ background: var(--accent-bg);
1051
+ color: var(--accent-fg);
1052
+ }
1053
+ .pire-ribbon-command[data-primary][data-hovered] {
1054
+ background: var(--accent-bg-hover);
1055
+ }
1056
+ .pire-ribbon-command[data-primary][data-pressed] {
1057
+ background: var(--accent-bg-active);
1058
+ }
1059
+ .pire-ribbon-command[data-primary][data-focus-visible] {
1060
+ outline-color: var(--accent-fg);
1061
+ }
1014
1062
  /* Disabled stays at --text-disabled and below 4.5:1 on purpose: WCAG 1.4.3 exempts an inactive
1015
1063
  control, and darkening it deletes the cue that the command needs a selection first. */
1016
1064
  .pire-ribbon-command[data-disabled] {
@@ -1018,6 +1066,20 @@
1018
1066
  cursor: default;
1019
1067
  background: transparent;
1020
1068
  }
1069
+ .pire-ribbon-command[data-coming-soon],
1070
+ .pire-ribbon-command[data-coming-soon][data-hovered],
1071
+ .pire-ribbon-command[data-coming-soon][data-pressed] {
1072
+ color: var(--text-tertiary);
1073
+ background: transparent;
1074
+ cursor: default;
1075
+ }
1076
+ /* The 78x68 tile has no room for a third line under a two-line caption, so the mark sits beside the
1077
+ icon on the tile's top row (see `Command` in Ribbon.tsx). */
1078
+ .pire-ribbon-command-head {
1079
+ display: inline-flex;
1080
+ align-items: center;
1081
+ gap: var(--sp-1);
1082
+ }
1021
1083
  .pire-ribbon-command[data-size="lg"] {
1022
1084
  flex-direction: column;
1023
1085
  justify-content: center;
@@ -1130,14 +1192,81 @@
1130
1192
  .pire-breadcrumb[data-current] {
1131
1193
  color: var(--text-primary);
1132
1194
  }
1133
- .pire-breadcrumb a {
1195
+ .pire-breadcrumb a,
1196
+ .pire-breadcrumb-link[href] {
1134
1197
  color: var(--text-link);
1135
1198
  text-decoration: none;
1136
1199
  cursor: pointer;
1137
1200
  }
1138
- .pire-breadcrumb a[data-hovered] {
1201
+ .pire-breadcrumb a[data-hovered],
1202
+ .pire-breadcrumb-link[href][data-hovered] {
1139
1203
  text-decoration: underline;
1140
1204
  }
1205
+ .pire-breadcrumb-sep {
1206
+ flex: 0 0 auto;
1207
+ color: var(--text-tertiary);
1208
+ }
1209
+ /* Collapsible: one line, always. The box is what is measured against — it takes whatever width its
1210
+ parent gives it — and the trail inside it shrinks from the current step, which truncates. */
1211
+ .pire-breadcrumbs-fit {
1212
+ position: relative;
1213
+ min-width: 0;
1214
+ }
1215
+ .pire-breadcrumbs[data-collapsible] {
1216
+ flex-wrap: nowrap;
1217
+ min-width: 0;
1218
+ }
1219
+ .pire-breadcrumbs[data-collapsible] .pire-breadcrumb {
1220
+ flex: 0 0 auto;
1221
+ white-space: nowrap;
1222
+ }
1223
+ .pire-breadcrumbs[data-collapsible] .pire-breadcrumb[data-last] {
1224
+ flex: 0 1 auto;
1225
+ min-width: 0;
1226
+ }
1227
+ /* `.pire-breadcrumb-link` exists only in collapsible mode, so it needs no `[data-collapsible]` scope. */
1228
+ .pire-breadcrumb[data-last] .pire-breadcrumb-link {
1229
+ display: block;
1230
+ min-width: 0;
1231
+ overflow: hidden;
1232
+ text-overflow: ellipsis;
1233
+ white-space: nowrap;
1234
+ }
1235
+ /* The measuring copy: laid out at its natural width so it can be read, never painted. Its box
1236
+ clips, because an absolutely positioned trail wider than the bar still counts towards every
1237
+ ancestor's scroll width — the bar would scroll sideways by exactly the width it gave up. */
1238
+ .pire-breadcrumbs-measure {
1239
+ position: absolute;
1240
+ inset: 0;
1241
+ overflow: hidden;
1242
+ visibility: hidden;
1243
+ pointer-events: none;
1244
+ }
1245
+ .pire-breadcrumbs[data-measure] {
1246
+ flex-wrap: nowrap;
1247
+ width: max-content;
1248
+ white-space: nowrap;
1249
+ }
1250
+ .pire-breadcrumb-more {
1251
+ display: inline-flex;
1252
+ align-items: center;
1253
+ justify-content: center;
1254
+ height: var(--sp-6);
1255
+ padding: 0 var(--sp-1);
1256
+ border: 0;
1257
+ border-radius: var(--radius-1);
1258
+ background: transparent;
1259
+ color: var(--text-link);
1260
+ cursor: pointer;
1261
+ outline: none;
1262
+ }
1263
+ .pire-breadcrumb-more[data-hovered] {
1264
+ background: var(--surface-hover);
1265
+ }
1266
+ .pire-breadcrumb-more[data-focus-visible] {
1267
+ outline: var(--focus-w) solid var(--focus-color);
1268
+ outline-offset: var(--focus-offset);
1269
+ }
1141
1270
  .pire-pagination {
1142
1271
  display: flex;
1143
1272
  align-items: center;
@@ -1184,6 +1313,51 @@
1184
1313
  .pire-shellbar-spacer {
1185
1314
  flex: 1;
1186
1315
  }
1316
+ /* The breadcrumb slot is the bar's one flexible item: it takes what the actions leave and gives it
1317
+ back first. Muted steps and separators, the current step in the bar's full ink and weight — the
1318
+ page's link blue would be unreadable on the shell, and is the wrong signal there anyway. */
1319
+ .pire-shellbar-crumbs {
1320
+ display: flex;
1321
+ align-items: center;
1322
+ gap: var(--sp-3);
1323
+ flex: 1 1 auto;
1324
+ min-width: 0;
1325
+ }
1326
+ .pire-shellbar-sep {
1327
+ flex: 0 0 auto;
1328
+ width: 1px;
1329
+ height: var(--sp-5);
1330
+ background: var(--text-inverse-secondary);
1331
+ }
1332
+ .pire-shellbar-crumbs .pire-breadcrumbs-fit {
1333
+ flex: 1 1 auto;
1334
+ }
1335
+ .pire-shellbar-crumbs .pire-breadcrumbs {
1336
+ font: var(--type-body);
1337
+ }
1338
+ .pire-shellbar-crumbs .pire-breadcrumb,
1339
+ .pire-shellbar-crumbs .pire-breadcrumb-sep,
1340
+ .pire-shellbar-crumbs .pire-breadcrumb .pire-breadcrumb-link,
1341
+ .pire-shellbar-crumbs .pire-breadcrumb-more {
1342
+ color: var(--text-inverse-secondary);
1343
+ }
1344
+ .pire-shellbar-crumbs .pire-breadcrumb[data-last] .pire-breadcrumb-link {
1345
+ font: var(--type-body-strong);
1346
+ color: var(--text-inverse);
1347
+ cursor: default;
1348
+ }
1349
+ .pire-shellbar-crumbs .pire-breadcrumb-more[data-hovered] {
1350
+ background: var(--surface-shell-hover);
1351
+ color: var(--text-inverse);
1352
+ }
1353
+ .pire-shellbar-crumbs .pire-breadcrumb-link[data-hovered] {
1354
+ color: var(--text-inverse);
1355
+ }
1356
+ .pire-shellbar-crumbs .pire-breadcrumb-more[data-focus-visible],
1357
+ .pire-shellbar-crumbs .pire-breadcrumb-link[data-focus-visible] {
1358
+ outline: var(--focus-w) solid var(--text-inverse);
1359
+ outline-offset: var(--focus-offset);
1360
+ }
1187
1361
  .pire-avatar {
1188
1362
  display: inline-flex;
1189
1363
  align-items: center;
@@ -1665,6 +1839,27 @@
1665
1839
  box-shadow: var(--shadow-3);
1666
1840
  outline: none;
1667
1841
  }
1842
+ /* Docked: in the flow beside the list, not over it. No scrim, no shadow — it is a column of the
1843
+ screen, so it is separated by a rule like any other column. It takes the height of its container
1844
+ and scrolls its body, so the header and footer stay put however long the form is. `max-width`
1845
+ keeps a fixed `width` from pushing the table off a container narrower than the panel. */
1846
+ .pire-sidepanel[data-presentation="docked"] {
1847
+ flex: 0 0 auto;
1848
+ align-self: stretch;
1849
+ height: auto;
1850
+ min-height: 0;
1851
+ max-width: 100%;
1852
+ background: var(--surface-card);
1853
+ border-left: 1px solid var(--border-subtle);
1854
+ box-shadow: none;
1855
+ }
1856
+ .pire-sidepanel[data-presentation="docked"] .pire-dialog-body {
1857
+ flex: 1;
1858
+ min-height: 0;
1859
+ }
1860
+ .pire-sidepanel[data-presentation="docked"] .pire-dialog-foot {
1861
+ border-radius: 0;
1862
+ }
1668
1863
  .pire-sidepanel[data-entering] {
1669
1864
  animation: pire-panel-in var(--dur-moderate) var(--ease-entrance);
1670
1865
  }
@@ -2008,6 +2203,18 @@
2008
2203
  .pire-tr[data-disabled][data-hovered] {
2009
2204
  background: transparent;
2010
2205
  }
2206
+ /* A row being edited in place. The fields fill their cells, and the row is tinted so it reads as the
2207
+ one place on the grid where typing goes somewhere. The cell's own padding stays — a field flush
2208
+ against the column rule looks like the grid cut it off. */
2209
+ .pire-tr[data-editing] > .pire-td {
2210
+ background: var(--surface-selected);
2211
+ }
2212
+ /* A grid so the one field inside stretches to the cell without a child selector reaching into it. */
2213
+ .pire-td-edit {
2214
+ display: grid;
2215
+ min-width: 0;
2216
+ }
2217
+
2011
2218
  /* Detail rows sit under their record and read as part of it: sunken, no bottom rule between the
2012
2219
  two, and free of the fixed row height since the content decides how tall they are. */
2013
2220
  .pire-tr-expanded {
@@ -2568,6 +2775,10 @@
2568
2775
  font: var(--type-body-strong);
2569
2776
  color: var(--accent-subtle-fg);
2570
2777
  }
2778
+ .pire-selectionbar-note {
2779
+ font: var(--type-caption);
2780
+ color: var(--text-secondary);
2781
+ }
2571
2782
  .pire-selectionbar-actions {
2572
2783
  margin-left: auto;
2573
2784
  display: flex;
@@ -4118,11 +4329,15 @@
4118
4329
 
4119
4330
  /* ---- Reduced motion --------------------------------------------------- */
4120
4331
  @media (prefers-reduced-motion: reduce) {
4332
+ /* Same selectors as the animated rules: a media query adds no specificity, so a bare
4333
+ `.pire-sidepanel` here would lose to `.pire-sidepanel[data-entering]`. */
4121
4334
  .pire-modal,
4335
+ .pire-modal-overlay,
4122
4336
  .pire-toast,
4123
4337
  .pire-popover,
4338
+ .pire-launcher-popover,
4124
4339
  .pire-tooltip,
4125
- .pire-sidepanel,
4340
+ .pire-sidepanel[data-entering],
4126
4341
  .pire-cp-overlay,
4127
4342
  .pire-cp-modal {
4128
4343
  animation: none;