@bwp-web/components 1.9.7 → 1.10.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/README.md +155 -38
- package/dist/BiampCheckboxListPopover/BiampCheckboxListPopover.d.ts +33 -0
- package/dist/BiampCheckboxListPopover/BiampCheckboxListPopover.d.ts.map +1 -0
- package/dist/BiampCheckboxListPopover/index.d.ts +2 -0
- package/dist/BiampCheckboxListPopover/index.d.ts.map +1 -0
- package/dist/BiampListPopover/BiampListPopover.d.ts +20 -0
- package/dist/BiampListPopover/BiampListPopover.d.ts.map +1 -0
- package/dist/BiampListPopover/index.d.ts +2 -0
- package/dist/BiampListPopover/index.d.ts.map +1 -0
- package/dist/BiampNotificationPopover/BiampNotificationPopover.d.ts +20 -0
- package/dist/BiampNotificationPopover/BiampNotificationPopover.d.ts.map +1 -0
- package/dist/BiampNotificationPopover/index.d.ts +2 -0
- package/dist/BiampNotificationPopover/index.d.ts.map +1 -0
- package/dist/BiampTable/BiampTableColumnVisibility.d.ts.map +1 -1
- package/dist/index.cjs +473 -308
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +435 -275
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,44 +22,51 @@ For `BiampTable` only:
|
|
|
22
22
|
|
|
23
23
|
## Components
|
|
24
24
|
|
|
25
|
-
| Component
|
|
26
|
-
|
|
|
27
|
-
| `BiampLayout`
|
|
28
|
-
| `BiampWrapper`
|
|
29
|
-
| `BiampSidebar`
|
|
30
|
-
| `BiampSidebarIconList`
|
|
31
|
-
| `BiampSidebarIcon`
|
|
32
|
-
| `BiampSidebarComponent`
|
|
33
|
-
| `BiampHeader`
|
|
34
|
-
| `BiampHeaderTitle`
|
|
35
|
-
| `BiampHeaderSearch`
|
|
36
|
-
| `BiampHeaderActions`
|
|
37
|
-
| `BiampHeaderButtonList`
|
|
38
|
-
| `BiampHeaderButton`
|
|
39
|
-
| `BiampHeaderMenuButton`
|
|
40
|
-
| `BiampHeaderProfile`
|
|
41
|
-
| `BiampAppPopover`
|
|
42
|
-
| `
|
|
43
|
-
| `
|
|
44
|
-
| `
|
|
45
|
-
| `
|
|
46
|
-
| `
|
|
47
|
-
| `
|
|
48
|
-
| `
|
|
49
|
-
| `
|
|
50
|
-
| `
|
|
51
|
-
| `
|
|
52
|
-
| `
|
|
53
|
-
| `
|
|
54
|
-
| `
|
|
55
|
-
| `
|
|
56
|
-
| `
|
|
57
|
-
| `
|
|
58
|
-
| `
|
|
59
|
-
| `
|
|
60
|
-
| `
|
|
61
|
-
| `
|
|
62
|
-
| `
|
|
25
|
+
| Component | Description |
|
|
26
|
+
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
27
|
+
| `BiampLayout` | Full-page layout shell with optional header and sidebar slots |
|
|
28
|
+
| `BiampWrapper` | Full-page content wrapper with padding, rounded corners, scrollable overflow, an optional debounced loading bar, and an optional sticky top slot |
|
|
29
|
+
| `BiampSidebar` | Expandable vertical sidebar (48px ↔ 240px) with animated toggle and copyright caption |
|
|
30
|
+
| `BiampSidebarIconList` | Scrollable vertical list with 4px gaps for sidebar items; suppresses overscroll bounce |
|
|
31
|
+
| `BiampSidebarIcon` | Selectable 48px-tall icon button for sidebar navigation, with optional `name` label |
|
|
32
|
+
| `BiampSidebarComponent` | 48×48px rounded box for arbitrary sidebar content |
|
|
33
|
+
| `BiampHeader` | Horizontal header container with padding |
|
|
34
|
+
| `BiampHeaderTitle` | Title section with icon, optional title, and optional subtitle |
|
|
35
|
+
| `BiampHeaderSearch` | Search input with leading search icon |
|
|
36
|
+
| `BiampHeaderActions` | Flex container for grouping action buttons and profile |
|
|
37
|
+
| `BiampHeaderButtonList` | Horizontal list with 4px gaps for header buttons |
|
|
38
|
+
| `BiampHeaderButton` | Selectable 40×40px icon button for header actions |
|
|
39
|
+
| `BiampHeaderMenuButton` | Self-hiding hamburger toggle for the `BiampLayout` responsive drawer — renders only when the layout is in drawer mode |
|
|
40
|
+
| `BiampHeaderProfile` | Profile button with image or custom children (e.g. `UserInitialsIcon`) |
|
|
41
|
+
| `BiampAppPopover` | Styled popover for the app-launcher content |
|
|
42
|
+
| `BiampNotificationPopover` | Popover shell (flex column, capped `maxHeight`, `overflow: hidden`) whose children decide what stays fixed and what scrolls |
|
|
43
|
+
| `BiampNotificationPopoverHeader` | Fixed (non-scrolling) region at the top of a `BiampNotificationPopover` |
|
|
44
|
+
| `BiampNotificationPopoverBody` | Scrollable region of a `BiampNotificationPopover`; fills remaining height and scrolls its overflow |
|
|
45
|
+
| `BiampListPopover` | Popover styled as a compact, bordered list container; wraps children in a dense, unpadded `List` |
|
|
46
|
+
| `BiampListPopoverItem` | Clickable, hoverable dense row for use inside `BiampListPopover` |
|
|
47
|
+
| `BiampListPopoverScrollArea` | Overflow-scrolling region for a long list of `BiampListPopoverItem`s (default `maxHeight` 340) |
|
|
48
|
+
| `BiampCheckboxListPopover` | Checkbox-list popover with an optional "select all" row (the column-visibility menu styling, decoupled from any data source) |
|
|
49
|
+
| `BiampBuildAppContent` | 2-column grid container for "Configure & Build" app tiles |
|
|
50
|
+
| `BiampBuildAppContentItem` | App tile with image, name, description, and optional action button |
|
|
51
|
+
| `BiampEndUserAppContent` | Responsive container for end-user app items: stack for one child, 2-column grid for many |
|
|
52
|
+
| `BiampEndUserAppContentItem` | Row-style app item with image, name, description, and external link; supports `href` |
|
|
53
|
+
| `BiampAppListContent` | Bordered flat-list container with rounded corners and dividers between items; use with `BiampAppListItem` |
|
|
54
|
+
| `BiampAppListItem` | Horizontal row with a 40×40 icon, app name, and an optional inline `[Open \| ↗]` action group |
|
|
55
|
+
| `BiampBanner` | Full-width animated notification banner |
|
|
56
|
+
| `BiampBannerIcon` | Leading icon slot for `BiampBanner` |
|
|
57
|
+
| `BiampBannerContent` | Center message slot for `BiampBanner` |
|
|
58
|
+
| `BiampBannerActions` | Trailing actions slot for `BiampBanner` |
|
|
59
|
+
| `BiampGlobalSearch` | Searchable autocomplete with icons, subtitles, chips, and keyboard hints |
|
|
60
|
+
| `OrganizationSelector` | Styled outer container for an organization-switcher list (used inline or inside `OrganizationSelectorPopover`); `loading` shows a centered spinner |
|
|
61
|
+
| `OrganizationItemList` | Bordered list grouping that auto-renders dividers between children; optional `label` divider below and `maxHeight` for sticky-footer scroll |
|
|
62
|
+
| `OrganizationItem` | Single clickable row (logo, primary/secondary text, optional `meta` badge, chevron) built on `ListItemButton`; `isCurrent` hides chevron + adds ring |
|
|
63
|
+
| `OrganizationSelectorButton` | Minimal `ButtonBase` trigger with an `icon` (20×20 enforced), `name`, and a trailing chevron that flips on `open` |
|
|
64
|
+
| `OrganizationSelectorPopover` | `Popover` pre-positioned bottom-right of the anchor, wrapping an `OrganizationSelector` (8px vertical offset from the trigger) |
|
|
65
|
+
| `SegmentedButtonGroup` | Horizontal container for grouping segmented toggle buttons |
|
|
66
|
+
| `SegmentedButton` | Individual toggle button for use inside `SegmentedButtonGroup` |
|
|
67
|
+
| `BiampTable` | Composable data table with sorting, selection, pagination, and more |
|
|
68
|
+
| `UserInitialsIcon` | Avatar-style icon showing a user's initials with a deterministic color |
|
|
69
|
+
| `DynamicSvgIcon` | Renders a remotely-fetched SVG with a skeleton loader and required fallback |
|
|
63
70
|
|
|
64
71
|
## Usage
|
|
65
72
|
|
|
@@ -457,6 +464,116 @@ Extends `PopoverProps`. Defaults: `anchorOrigin: { vertical: 'bottom', horizonta
|
|
|
457
464
|
| `children` | `React.ReactNode` | — | Items rendered inside the wrapped `OrganizationSelector` |
|
|
458
465
|
| `loading` | `boolean` | `false` | Forwarded to the inner `OrganizationSelector`'s `loading` |
|
|
459
466
|
|
|
467
|
+
### BiampCheckboxListPopover
|
|
468
|
+
|
|
469
|
+
A batteries-included checkbox-list popover with an optional "select all" row — the same styling used by the table column-visibility menu, but driven by a plain data model instead of a table. It is **controlled**: it renders from `items` and reports toggles via callbacks, so it works with `useState`, URL params, a form library, or a table.
|
|
470
|
+
|
|
471
|
+
```tsx
|
|
472
|
+
import { useRef, useState } from 'react';
|
|
473
|
+
import { Button } from '@mui/material';
|
|
474
|
+
import { BiampCheckboxListPopover } from '@bwp-web/components';
|
|
475
|
+
|
|
476
|
+
function ColumnPicker() {
|
|
477
|
+
const anchorRef = useRef<HTMLButtonElement>(null);
|
|
478
|
+
const [open, setOpen] = useState(false);
|
|
479
|
+
const [checked, setChecked] = useState<Record<string, boolean>>({
|
|
480
|
+
Name: true,
|
|
481
|
+
Status: true,
|
|
482
|
+
Location: false,
|
|
483
|
+
});
|
|
484
|
+
|
|
485
|
+
return (
|
|
486
|
+
<>
|
|
487
|
+
<Button ref={anchorRef} onClick={() => setOpen(true)}>
|
|
488
|
+
Columns
|
|
489
|
+
</Button>
|
|
490
|
+
<BiampCheckboxListPopover
|
|
491
|
+
anchorEl={anchorRef.current}
|
|
492
|
+
open={open}
|
|
493
|
+
onClose={() => setOpen(false)}
|
|
494
|
+
items={Object.keys(checked).map((id) => ({
|
|
495
|
+
id,
|
|
496
|
+
label: id,
|
|
497
|
+
checked: checked[id],
|
|
498
|
+
}))}
|
|
499
|
+
onToggleItem={(id) => setChecked((p) => ({ ...p, [id]: !p[id] }))}
|
|
500
|
+
onToggleAll={(next) =>
|
|
501
|
+
setChecked(
|
|
502
|
+
Object.fromEntries(Object.keys(checked).map((k) => [k, next])),
|
|
503
|
+
)
|
|
504
|
+
}
|
|
505
|
+
/>
|
|
506
|
+
</>
|
|
507
|
+
);
|
|
508
|
+
}
|
|
509
|
+
```
|
|
510
|
+
|
|
511
|
+
#### BiampCheckboxListPopover Props
|
|
512
|
+
|
|
513
|
+
Extends `PopoverProps` (`open`, `anchorEl`, `onClose`, `anchorOrigin`, …), minus `children`.
|
|
514
|
+
|
|
515
|
+
| Prop | Type | Default | Description |
|
|
516
|
+
| ---------------- | ---------------------------- | ------------ | --------------------------------------------------------------- |
|
|
517
|
+
| `items` | `BiampCheckboxListItem[]` | **required** | Checkbox rows: `{ id, label, checked, ariaLabel? }` |
|
|
518
|
+
| `onToggleItem` | `(id: string) => void` | **required** | Called with the item's `id` when its row is toggled |
|
|
519
|
+
| `showSelectAll` | `boolean` | `true` | Whether to render the fixed "select all" row above the list |
|
|
520
|
+
| `selectAllLabel` | `string` | `'Show all'` | Label for the "select all" row |
|
|
521
|
+
| `onToggleAll` | `(checked: boolean) => void` | — | Called with the desired next state when "select all" is toggled |
|
|
522
|
+
| `maxHeight` | `number \| string` | `340` | Height cap before the item list scrolls |
|
|
523
|
+
|
|
524
|
+
### BiampListPopover
|
|
525
|
+
|
|
526
|
+
The lower-level primitives `BiampCheckboxListPopover` is built on, for custom (non-checkbox) list popovers. `BiampListPopover` is the bordered container (6px radius, subtle shadow, 150px min-width) that wraps its children in a dense `List`; compose it with `BiampListPopoverItem` (clickable hover rows) and `BiampListPopoverScrollArea` (a capped, overflow-scrolling section).
|
|
527
|
+
|
|
528
|
+
```tsx
|
|
529
|
+
import { Typography } from '@mui/material';
|
|
530
|
+
import {
|
|
531
|
+
BiampListPopover,
|
|
532
|
+
BiampListPopoverItem,
|
|
533
|
+
BiampListPopoverScrollArea,
|
|
534
|
+
} from '@bwp-web/components';
|
|
535
|
+
|
|
536
|
+
<BiampListPopover anchorEl={anchorEl} open={open} onClose={onClose}>
|
|
537
|
+
<BiampListPopoverScrollArea>
|
|
538
|
+
{actions.map((action) => (
|
|
539
|
+
<BiampListPopoverItem
|
|
540
|
+
key={action}
|
|
541
|
+
sx={{ px: 1.5 }}
|
|
542
|
+
onClick={() => run(action)}
|
|
543
|
+
>
|
|
544
|
+
<Typography variant="caption">{action}</Typography>
|
|
545
|
+
</BiampListPopoverItem>
|
|
546
|
+
))}
|
|
547
|
+
</BiampListPopoverScrollArea>
|
|
548
|
+
</BiampListPopover>;
|
|
549
|
+
```
|
|
550
|
+
|
|
551
|
+
`BiampListPopoverScrollArea` accepts a `maxHeight` prop (default `340`); all three components forward standard MUI props (`PopoverProps`, `ListItemProps`, `BoxProps`) including `sx`.
|
|
552
|
+
|
|
553
|
+
### BiampNotificationPopover
|
|
554
|
+
|
|
555
|
+
A popover shell for a fixed header over a scrolling body. The Paper is a flex column capped at `maxHeight: 650px` with `overflow: hidden`, so its children decide what stays put and what scrolls: pair `BiampNotificationPopoverHeader` (fixed) with `BiampNotificationPopoverBody` (scrollable). The body suppresses overscroll bounce and hides its scrollbar while remaining scrollable.
|
|
556
|
+
|
|
557
|
+
```tsx
|
|
558
|
+
import { Typography } from '@mui/material';
|
|
559
|
+
import {
|
|
560
|
+
BiampNotificationPopover,
|
|
561
|
+
BiampNotificationPopoverHeader,
|
|
562
|
+
BiampNotificationPopoverBody,
|
|
563
|
+
} from '@bwp-web/components';
|
|
564
|
+
|
|
565
|
+
<BiampNotificationPopover anchorEl={anchorEl} open={open} onClose={onClose}>
|
|
566
|
+
<BiampNotificationPopoverHeader>
|
|
567
|
+
<Typography variant="h4">Notifications</Typography>
|
|
568
|
+
</BiampNotificationPopoverHeader>
|
|
569
|
+
<BiampNotificationPopoverBody>
|
|
570
|
+
{/* scrollable list */}
|
|
571
|
+
</BiampNotificationPopoverBody>
|
|
572
|
+
</BiampNotificationPopover>;
|
|
573
|
+
```
|
|
574
|
+
|
|
575
|
+
All three components extend their MUI base props (`PopoverProps`, `StackProps`, `BoxProps`).
|
|
576
|
+
|
|
460
577
|
### BiampTable
|
|
461
578
|
|
|
462
579
|
A composable data table built on TanStack React Table v8 with support for sorting, row selection, pagination, column visibility, global search, column filters, CSV export, and per-slot prop overrides for restyling internal MUI elements.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { PopoverProps } from '@mui/material';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
export type BiampCheckboxListItem = {
|
|
4
|
+
/** Stable identifier passed back to `onToggleItem`. */
|
|
5
|
+
id: string;
|
|
6
|
+
/** Row label. */
|
|
7
|
+
label: ReactNode;
|
|
8
|
+
/** Whether the row's checkbox is checked. */
|
|
9
|
+
checked: boolean;
|
|
10
|
+
/** Accessible label for the checkbox. Falls back to `label` when it's a string. */
|
|
11
|
+
ariaLabel?: string;
|
|
12
|
+
};
|
|
13
|
+
export type BiampCheckboxListPopoverProps = Omit<PopoverProps, 'children'> & {
|
|
14
|
+
/** Checkbox rows to render. */
|
|
15
|
+
items: BiampCheckboxListItem[];
|
|
16
|
+
/** Called with the item's `id` when its row is toggled. */
|
|
17
|
+
onToggleItem: (id: string) => void;
|
|
18
|
+
/** Show the fixed "select all" row above the list. @default true */
|
|
19
|
+
showSelectAll?: boolean;
|
|
20
|
+
/** Label for the "select all" row. @default 'Show all' */
|
|
21
|
+
selectAllLabel?: string;
|
|
22
|
+
/** Called with the desired next state when the "select all" row is toggled. */
|
|
23
|
+
onToggleAll?: (checked: boolean) => void;
|
|
24
|
+
/** Height cap before the item list scrolls. @default 340 */
|
|
25
|
+
maxHeight?: number | string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Checkbox list popover with an optional "select all" toggle — the styling used
|
|
29
|
+
* by the table column-visibility menu, decoupled from any data source. Drive it
|
|
30
|
+
* with a plain `items` array and the `onToggle*` callbacks.
|
|
31
|
+
*/
|
|
32
|
+
export declare function BiampCheckboxListPopover({ items, onToggleItem, showSelectAll, selectAllLabel, onToggleAll, maxHeight, ...popoverProps }: BiampCheckboxListPopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
//# sourceMappingURL=BiampCheckboxListPopover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BiampCheckboxListPopover.d.ts","sourceRoot":"","sources":["../../src/BiampCheckboxListPopover/BiampCheckboxListPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,YAAY,EAAc,MAAM,eAAe,CAAC;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,MAAM,MAAM,qBAAqB,GAAG;IAClC,uDAAuD;IACvD,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB;IACjB,KAAK,EAAE,SAAS,CAAC;IACjB,6CAA6C;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,mFAAmF;IACnF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAAC,YAAY,EAAE,UAAU,CAAC,GAAG;IAC3E,+BAA+B;IAC/B,KAAK,EAAE,qBAAqB,EAAE,CAAC;IAC/B,2DAA2D;IAC3D,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,oEAAoE;IACpE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,0DAA0D;IAC1D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC7B,CAAC;AAOF;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,EACvC,KAAK,EACL,YAAY,EACZ,aAAoB,EACpB,cAA2B,EAC3B,WAAW,EACX,SAAS,EACT,GAAG,YAAY,EAChB,EAAE,6BAA6B,2CAwC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/BiampCheckboxListPopover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,GAC3B,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BoxProps, ListItemProps, PopoverProps } from '@mui/material';
|
|
2
|
+
export type BiampListPopoverProps = PopoverProps & {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Popover styled as a compact, bordered list container. Wraps its children in a
|
|
7
|
+
* dense, unpadded `List`; pair with `BiampListPopoverItem` for clickable rows
|
|
8
|
+
* and `BiampListPopoverScrollArea` for an overflow-scrolling section.
|
|
9
|
+
*/
|
|
10
|
+
export declare function BiampListPopover({ children, slotProps, ...props }: BiampListPopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export type BiampListPopoverItemProps = ListItemProps;
|
|
12
|
+
/** Clickable, hoverable dense row for use inside `BiampListPopover`. */
|
|
13
|
+
export declare function BiampListPopoverItem({ sx, ...props }: BiampListPopoverItemProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export type BiampListPopoverScrollAreaProps = BoxProps & {
|
|
15
|
+
/** Height cap before the region starts scrolling. @default 340 */
|
|
16
|
+
maxHeight?: number | string;
|
|
17
|
+
};
|
|
18
|
+
/** Overflow-scrolling region for a long list of `BiampListPopoverItem`s. */
|
|
19
|
+
export declare function BiampListPopoverScrollArea({ maxHeight, sx, ...props }: BiampListPopoverScrollAreaProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=BiampListPopover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BiampListPopover.d.ts","sourceRoot":"","sources":["../../src/BiampListPopover/BiampListPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,QAAQ,EAGR,aAAa,EAEb,YAAY,EAGb,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG;IACjD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,qBAAqB,2CAuBvB;AAcD,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;AAEtD,wEAAwE;AACxE,wBAAgB,oBAAoB,CAAC,EACnC,EAAE,EACF,GAAG,KAAK,EACT,EAAE,yBAAyB,2CAQ3B;AAED,MAAM,MAAM,+BAA+B,GAAG,QAAQ,GAAG;IACvD,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC7B,CAAC;AAEF,4EAA4E;AAC5E,wBAAgB,0BAA0B,CAAC,EACzC,SAAe,EACf,EAAE,EACF,GAAG,KAAK,EACT,EAAE,+BAA+B,2CAOjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/BiampListPopover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,0BAA0B,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,GACrC,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BoxProps, PopoverProps, StackProps } from '@mui/material';
|
|
2
|
+
export type BiampNotificationPopoverProps = PopoverProps & {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Notification popover shell. Lays its children out as a vertical flex column
|
|
7
|
+
* capped at `maxHeight` with `overflow: hidden`, so the children decide what
|
|
8
|
+
* stays fixed and what scrolls.
|
|
9
|
+
*/
|
|
10
|
+
export declare function BiampNotificationPopover({ children, open, sx, ...props }: BiampNotificationPopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export type BiampNotificationPopoverHeaderProps = StackProps;
|
|
12
|
+
/** Fixed (non-scrolling) region at the top of the popover. */
|
|
13
|
+
export declare function BiampNotificationPopoverHeader({ sx, ...props }: BiampNotificationPopoverHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export type BiampNotificationPopoverBodyProps = BoxProps;
|
|
15
|
+
/**
|
|
16
|
+
* Scrollable region of the popover. Grows to fill the space below any fixed
|
|
17
|
+
* regions and scrolls its own overflow.
|
|
18
|
+
*/
|
|
19
|
+
export declare function BiampNotificationPopoverBody({ sx, ...props }: BiampNotificationPopoverBodyProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=BiampNotificationPopover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BiampNotificationPopover.d.ts","sourceRoot":"","sources":["../../src/BiampNotificationPopover/BiampNotificationPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,QAAQ,EAER,YAAY,EAEZ,UAAU,EACX,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,6BAA6B,GAAG,YAAY,GAAG;IACzD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAIF;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,EACvC,QAAQ,EACR,IAAI,EACJ,EAAE,EACF,GAAG,KAAK,EACT,EAAE,6BAA6B,2CAkC/B;AAED,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAAC;AAE7D,8DAA8D;AAC9D,wBAAgB,8BAA8B,CAAC,EAC7C,EAAE,EACF,GAAG,KAAK,EACT,EAAE,mCAAmC,2CAgBrC;AAED,MAAM,MAAM,iCAAiC,GAAG,QAAQ,CAAC;AAEzD;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,EAC3C,EAAE,EACF,GAAG,KAAK,EACT,EAAE,iCAAiC,2CAenC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { BiampNotificationPopover, BiampNotificationPopoverHeader, BiampNotificationPopoverBody, type BiampNotificationPopoverProps, type BiampNotificationPopoverHeaderProps, type BiampNotificationPopoverBodyProps, } from './BiampNotificationPopover';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/BiampNotificationPopover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,8BAA8B,EAC9B,4BAA4B,EAC5B,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EACxC,KAAK,iCAAiC,GACvC,MAAM,4BAA4B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BiampTableColumnVisibility.d.ts","sourceRoot":"","sources":["../../src/BiampTable/BiampTableColumnVisibility.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"BiampTableColumnVisibility.d.ts","sourceRoot":"","sources":["../../src/BiampTable/BiampTableColumnVisibility.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAKpE,OAAO,iBAAiB,CAAC;AAEzB;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAEhE;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,gBAAgB,GAC3B,eAAe,CAEjB;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAC9C,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,GAClB,gBAAgB,CAOlB;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EACjD,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,EACnB,iBAAiB,CAAC,EAAE,gBAAgB,GACnC,MAAM,CAUR;AAED,MAAM,MAAM,+BAA+B,CAAC,KAAK,IAAI,IAAI,CACvD,YAAY,EACZ,MAAM,CACP,GAAG;IACF,6CAA6C;IAC7C,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACpB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,EAChD,KAAK,EACL,YAAyB,EACzB,QAAQ,EACR,YAA0D,EAC1D,eAA0D,EAC1D,SAAS,EACT,GAAG,YAAY,EAChB,EAAE,+BAA+B,CAAC,KAAK,CAAC,2CAiDxC"}
|