@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.
- package/CHANGELOG.md +15 -0
- package/README.md +57 -0
- package/dist/cjs/links/useLinkAddressPreview.js +17 -7
- package/dist/cjs/location/GeographicLocationField.js +49 -0
- package/dist/cjs/location/GoogleMapsAttribution.js +12 -0
- package/dist/cjs/location/MetadataValueField.js +23 -0
- package/dist/cjs/location/SearchInputAction.js +15 -0
- package/dist/cjs/location/VenueSearchDialog.js +99 -0
- package/dist/cjs/location/index.js +12 -0
- package/dist/cjs/pending/PendingChangesDialogView.js +43 -29
- package/dist/cjs/pricing/PricingTable.js +58 -0
- package/dist/cjs/pricing/index.js +6 -0
- package/dist/esm/links/useLinkAddressPreview.js +17 -7
- package/dist/esm/location/GeographicLocationField.js +43 -0
- package/dist/esm/location/GoogleMapsAttribution.js +9 -0
- package/dist/esm/location/MetadataValueField.js +20 -0
- package/dist/esm/location/SearchInputAction.js +9 -0
- package/dist/esm/location/VenueSearchDialog.js +96 -0
- package/dist/esm/location/index.js +5 -0
- package/dist/esm/pending/PendingChangesDialogView.js +43 -29
- package/dist/esm/pricing/PricingTable.js +52 -0
- package/dist/esm/pricing/index.js +2 -0
- package/dist/types/links/useLinkAddressPreview.d.ts +3 -1
- package/dist/types/location/GeographicLocationField.d.ts +26 -0
- package/dist/types/location/GoogleMapsAttribution.d.ts +1 -0
- package/dist/types/location/MetadataValueField.d.ts +7 -0
- package/dist/types/location/SearchInputAction.d.ts +8 -0
- package/dist/types/location/VenueSearchDialog.d.ts +32 -0
- package/dist/types/location/index.d.ts +4 -0
- package/dist/types/pending/PendingChangesDialogView.d.ts +1 -1
- package/dist/types/pending/types.d.ts +7 -0
- package/dist/types/pricing/PricingTable.d.ts +25 -0
- package/dist/types/pricing/index.d.ts +2 -0
- package/docs/pending-contract.md +11 -0
- 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,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.
|
|
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": [
|