@bayonai/mui-design 1.1.0 → 1.3.0

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 (35) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +57 -0
  3. package/dist/cjs/links/useLinkAddressPreview.js +17 -7
  4. package/dist/cjs/location/GeographicLocationField.js +49 -0
  5. package/dist/cjs/location/GoogleMapsAttribution.js +12 -0
  6. package/dist/cjs/location/MetadataValueField.js +23 -0
  7. package/dist/cjs/location/SearchInputAction.js +15 -0
  8. package/dist/cjs/location/VenueSearchDialog.js +99 -0
  9. package/dist/cjs/location/index.js +12 -0
  10. package/dist/cjs/pending/PendingChangesDialogView.js +43 -29
  11. package/dist/cjs/pricing/PricingTable.js +58 -0
  12. package/dist/cjs/pricing/index.js +6 -0
  13. package/dist/esm/links/useLinkAddressPreview.js +17 -7
  14. package/dist/esm/location/GeographicLocationField.js +43 -0
  15. package/dist/esm/location/GoogleMapsAttribution.js +9 -0
  16. package/dist/esm/location/MetadataValueField.js +20 -0
  17. package/dist/esm/location/SearchInputAction.js +9 -0
  18. package/dist/esm/location/VenueSearchDialog.js +96 -0
  19. package/dist/esm/location/index.js +5 -0
  20. package/dist/esm/pending/PendingChangesDialogView.js +43 -29
  21. package/dist/esm/pricing/PricingTable.js +52 -0
  22. package/dist/esm/pricing/index.js +2 -0
  23. package/dist/types/links/useLinkAddressPreview.d.ts +3 -1
  24. package/dist/types/location/GeographicLocationField.d.ts +26 -0
  25. package/dist/types/location/GoogleMapsAttribution.d.ts +1 -0
  26. package/dist/types/location/MetadataValueField.d.ts +7 -0
  27. package/dist/types/location/SearchInputAction.d.ts +8 -0
  28. package/dist/types/location/VenueSearchDialog.d.ts +32 -0
  29. package/dist/types/location/index.d.ts +4 -0
  30. package/dist/types/pending/PendingChangesDialogView.d.ts +1 -1
  31. package/dist/types/pending/types.d.ts +7 -0
  32. package/dist/types/pricing/PricingTable.d.ts +25 -0
  33. package/dist/types/pricing/index.d.ts +2 -0
  34. package/docs/pending-contract.md +11 -0
  35. package/package.json +11 -1
@@ -0,0 +1,25 @@
1
+ import type { ReactNode } from "react";
2
+ export type PricingTablePlan = {
3
+ id: string;
4
+ label: ReactNode;
5
+ description: ReactNode;
6
+ price: ReactNode;
7
+ priceNote: ReactNode;
8
+ features: readonly ReactNode[];
9
+ badge?: ReactNode;
10
+ action?: ReactNode;
11
+ highlighted?: boolean;
12
+ };
13
+ export type PricingTableProps = {
14
+ label: string;
15
+ plans: readonly PricingTablePlan[];
16
+ className?: string;
17
+ interactiveClassName?: string;
18
+ colors: {
19
+ accent: string;
20
+ accentDark: string;
21
+ text: string;
22
+ muted: string;
23
+ };
24
+ };
25
+ export declare function PricingTable({ label, plans, className, interactiveClassName, colors, }: PricingTableProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { PricingTable } from "./PricingTable.js";
2
+ export type { PricingTablePlan, PricingTableProps } from "./PricingTable.js";
@@ -0,0 +1,11 @@
1
+ # Pending inspection contract
2
+
3
+ Each group has a compact title followed by its change rows. The group's optional
4
+ open action aligns with the first visible change and retains its accessible name,
5
+ tooltip, 44px target, and focus behavior. Rows can display host-formatted elapsed
6
+ time in compact secondary text. The host supplies and refreshes this value.
7
+
8
+ When supplied, the discard request appears in the default summary; it delegates
9
+ only the request to the host. The host owns item selection, confirmation, safe
10
+ cancellation, and error handling. A custom summary replaces the default and owns
11
+ its own controls. Inspection never removes, retries, or stores data itself.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bayonai/mui-design",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "description": "Shared Bayon AI Material UI theme, style recipes, and reusable design components.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -62,6 +62,16 @@
62
62
  "types": "./dist/types/uploads/index.d.ts",
63
63
  "import": "./dist/esm/uploads/index.js",
64
64
  "require": "./dist/cjs/uploads/index.js"
65
+ },
66
+ "./pricing": {
67
+ "types": "./dist/types/pricing/index.d.ts",
68
+ "import": "./dist/esm/pricing/index.js",
69
+ "require": "./dist/cjs/pricing/index.js"
70
+ },
71
+ "./location": {
72
+ "types": "./dist/types/location/index.d.ts",
73
+ "import": "./dist/esm/location/index.js",
74
+ "require": "./dist/cjs/location/index.js"
65
75
  }
66
76
  },
67
77
  "files": [