@bwp-web/components 1.10.0 → 1.10.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 +57 -47
- package/dist/BiampTable/BiampTable.d.ts +1 -1
- package/dist/BiampTable/BiampTable.d.ts.map +1 -1
- package/dist/BiampTable/BiampTableRow.d.ts +1 -1
- package/dist/BiampTable/BiampTableRow.d.ts.map +1 -1
- package/dist/LandingPage/LandingFormPanel.d.ts +81 -0
- package/dist/LandingPage/LandingFormPanel.d.ts.map +1 -0
- package/dist/LandingPage/OrganizationsPanel.d.ts +93 -0
- package/dist/LandingPage/OrganizationsPanel.d.ts.map +1 -0
- package/dist/LandingPage/index.d.ts +5 -0
- package/dist/LandingPage/index.d.ts.map +1 -0
- package/dist/OrganizationSelector/OrganizationSelector.d.ts +5 -1
- package/dist/OrganizationSelector/OrganizationSelector.d.ts.map +1 -1
- package/dist/index.cjs +468 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +472 -20
- package/dist/index.js.map +1 -1
- package/dist/slotProps.d.ts +11 -0
- package/dist/slotProps.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/BiampTable/slotProps.d.ts +0 -5
- package/dist/BiampTable/slotProps.d.ts.map +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SxProps, Theme } from '@mui/material';
|
|
2
|
+
export type SlotPropsOrFn<TProps, TCtx> = TProps | ((ctx: TCtx) => TProps);
|
|
3
|
+
export declare function resolveSlot<TProps, TCtx>(slot: SlotPropsOrFn<TProps, TCtx> | undefined, ctx: TCtx): TProps | undefined;
|
|
4
|
+
export declare function mergeSx(...inputs: Array<SxProps<Theme> | false | null | undefined>): SxProps<Theme>;
|
|
5
|
+
/**
|
|
6
|
+
* Layers one entry of a MUI `slotProps` bag over a component's own defaults for
|
|
7
|
+
* that slot, per key. MUI types each entry as `props | ((ownerState) => props)`,
|
|
8
|
+
* so a plain spread would silently drop the callback form.
|
|
9
|
+
*/
|
|
10
|
+
export declare function mergeSlotProps<TSlot>(ownProps: Record<string, unknown>, userProps: TSlot | undefined): TSlot;
|
|
11
|
+
//# sourceMappingURL=slotProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotProps.d.ts","sourceRoot":"","sources":["../src/slotProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEpD,MAAM,MAAM,aAAa,CAAC,MAAM,EAAE,IAAI,IAAI,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,IAAI,KAAK,MAAM,CAAC,CAAC;AAE3E,wBAAgB,WAAW,CAAC,MAAM,EAAE,IAAI,EACtC,IAAI,EAAE,aAAa,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,SAAS,EAC7C,GAAG,EAAE,IAAI,GACR,MAAM,GAAG,SAAS,CAGpB;AAED,wBAAgB,OAAO,CACrB,GAAG,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC,GAC1D,OAAO,CAAC,KAAK,CAAC,CAIhB;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAClC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACjC,SAAS,EAAE,KAAK,GAAG,SAAS,GAC3B,KAAK,CASP"}
|
package/package.json
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { SxProps, Theme } from '@mui/material';
|
|
2
|
-
export type SlotPropsOrFn<TProps, TCtx> = TProps | ((ctx: TCtx) => TProps);
|
|
3
|
-
export declare function resolveSlot<TProps, TCtx>(slot: SlotPropsOrFn<TProps, TCtx> | undefined, ctx: TCtx): TProps | undefined;
|
|
4
|
-
export declare function mergeSx(...inputs: Array<SxProps<Theme> | false | null | undefined>): SxProps<Theme>;
|
|
5
|
-
//# sourceMappingURL=slotProps.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slotProps.d.ts","sourceRoot":"","sources":["../../src/BiampTable/slotProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEpD,MAAM,MAAM,aAAa,CAAC,MAAM,EAAE,IAAI,IAAI,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,IAAI,KAAK,MAAM,CAAC,CAAC;AAE3E,wBAAgB,WAAW,CAAC,MAAM,EAAE,IAAI,EACtC,IAAI,EAAE,aAAa,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,SAAS,EAC7C,GAAG,EAAE,IAAI,GACR,MAAM,GAAG,SAAS,CAGpB;AAED,wBAAgB,OAAO,CACrB,GAAG,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC,GAC1D,OAAO,CAAC,KAAK,CAAC,CAIhB"}
|