@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
package/README.md
CHANGED
|
@@ -22,51 +22,59 @@ For `BiampTable` only:
|
|
|
22
22
|
|
|
23
23
|
## Components
|
|
24
24
|
|
|
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
|
-
| `
|
|
66
|
-
| `
|
|
67
|
-
| `
|
|
68
|
-
| `
|
|
69
|
-
| `
|
|
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, `disabled` hides chevron + dims |
|
|
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
|
+
| `OrganizationsPanel` | Landing-page organization picker: optional search field, org row groups, and optional join/create action rows on a content-sized card (441px default); `slotProps` reaches the field, dividers and groups |
|
|
66
|
+
| `OrganizationRow` | Single landing-page row (logo, primary/secondary text, chevron) built on `ListItemButton`; `disabled` marks a provisional membership without greying the whole row |
|
|
67
|
+
| `OrganizationRowGroup` | Bordered grouping carrying the shared outline and auto-dividers between rows; `maxHeight` caps it and scrolls |
|
|
68
|
+
| `OrganizationsEmptyState` | Status message `OrganizationsPanel` renders for `empty`, with overridable icon/title/description |
|
|
69
|
+
| `LandingFormPanel` | The landing-page form card that takes `OrganizationsPanel`'s place while a flow is open (join, create, sign-in): a `<form>` shell on the same card, so Enter submits; owns no field or flow knowledge |
|
|
70
|
+
| `LandingFormField` | Labelled input for a `LandingFormPanel` — a 12px/600 `<label>` over the shared outlined-input treatment; full `TextField` passthrough |
|
|
71
|
+
| `LandingFormActions` | The button row at the foot of a `LandingFormPanel`; layout only |
|
|
72
|
+
| `LandingFormCheckbox` | Checkbox with its label to the right, spaced to the card's rhythm |
|
|
73
|
+
| `SegmentedButtonGroup` | Horizontal container for grouping segmented toggle buttons |
|
|
74
|
+
| `SegmentedButton` | Individual toggle button for use inside `SegmentedButtonGroup` |
|
|
75
|
+
| `BiampTable` | Composable data table with sorting, selection, pagination, and more |
|
|
76
|
+
| `UserInitialsIcon` | Avatar-style icon showing a user's initials with a deterministic color |
|
|
77
|
+
| `DynamicSvgIcon` | Renders a remotely-fetched SVG with a skeleton loader and required fallback |
|
|
70
78
|
|
|
71
79
|
## Usage
|
|
72
80
|
|
|
@@ -361,7 +369,7 @@ A composable organization-switcher built from four exports:
|
|
|
361
369
|
|
|
362
370
|
- **`OrganizationSelector`** — the outer styled container (used inline or via the popover wrapper). Pass `loading` to swap children for a spinner.
|
|
363
371
|
- **`OrganizationItemList`** — bordered list grouping with auto-dividers between children. Optional `label` (renders a labeled divider below the list) and `maxHeight` (caps height + enables list-level scrolling for sticky-footer layouts).
|
|
364
|
-
- **`OrganizationItem`** — a single row (logo, primary/secondary text, optional right-side `meta`). Built on `ListItemButton`, so make it clickable by passing `onClick`, `component={Link} to={...}`, or `component="a" href={...}`. `isCurrent` hides the chevron, rings the logo, and disables interaction without dimming.
|
|
372
|
+
- **`OrganizationItem`** — a single row (logo, primary/secondary text, optional right-side `meta`). Built on `ListItemButton`, so make it clickable by passing `onClick`, `component={Link} to={...}`, or `component="a" href={...}`. `isCurrent` hides the chevron, rings the logo, and disables interaction without dimming. `disabled` also hides the chevron, but dims the row like a standard disabled button.
|
|
365
373
|
- **`OrganizationSelectorButton`** — a minimal trigger button (`icon` + `name`) intended to open `OrganizationSelectorPopover`. The `open` prop flips the trailing chevron between down and up. Most styling is left to the consumer.
|
|
366
374
|
- **`OrganizationSelectorPopover`** — a `Popover` pre-positioned bottom-right of its anchor with an 8px vertical offset; renders the inner `OrganizationSelector` for you.
|
|
367
375
|
|
|
@@ -435,7 +443,7 @@ function OrgSwitcher({ orgs, currentOrgId }) {
|
|
|
435
443
|
|
|
436
444
|
#### OrganizationItem Props
|
|
437
445
|
|
|
438
|
-
Extends `ListItemButtonProps` — `onClick`, `component`, `to`, `href`, `disabled`, `selected` all work natively.
|
|
446
|
+
Extends `ListItemButtonProps` — `onClick`, `component`, `to`, `href`, `disabled`, `selected` all work natively. Passing `disabled` also hides the chevron (like `isCurrent`), but still dims the row.
|
|
439
447
|
|
|
440
448
|
| Prop | Type | Default | Description |
|
|
441
449
|
| --------------- | --------------------------- | ------- | -------------------------------------------------------------------------------------------- |
|
|
@@ -593,6 +601,8 @@ Detailed per-component docs are available in the repository's [`/docs`](../../do
|
|
|
593
601
|
| [biamp-banner.md](../../docs/biamp-banner.md) | `BiampBanner` family — props, examples, design details |
|
|
594
602
|
| [biamp-global-search.md](../../docs/biamp-global-search.md) | `BiampGlobalSearch` — options, filtering, async loading, navigation |
|
|
595
603
|
| [organization-selector.md](../../docs/organization-selector.md) | `OrganizationSelector` family — items, popover, trigger button, list grouping |
|
|
604
|
+
| [organizations-panel.md](../../docs/organizations-panel.md) | `OrganizationsPanel` — rows, groups, search, empty state, action rows |
|
|
605
|
+
| [landing-form-panel.md](../../docs/landing-form-panel.md) | `LandingFormPanel` family — the form primitives, per-flow compositions, migration |
|
|
596
606
|
| [biamp-table.md](../../docs/biamp-table.md) | `BiampTable` — columns, sorting, selection, pagination, filters, export |
|
|
597
607
|
| [user-initials-icon.md](../../docs/user-initials-icon.md) | `UserInitialsIcon` — props, color seeding, sizing, edge cases |
|
|
598
608
|
| [dynamic-svg-icon.md](../../docs/dynamic-svg-icon.md) | `DynamicSvgIcon` — props, hook API, caching, skeleton, fallback |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type BoxProps, type TableBodyProps as MuiTableBodyProps, type TableCellProps as MuiTableCellProps, type TableHeadProps as MuiTableHeadProps, type TableProps as MuiTableProps, type TableRowProps as MuiTableRowProps } from '@mui/material';
|
|
2
2
|
import { type Cell, type Header, type Row, type Table } from '@tanstack/react-table';
|
|
3
3
|
import { type ReactNode } from 'react';
|
|
4
|
-
import { type SlotPropsOrFn } from '
|
|
4
|
+
import { type SlotPropsOrFn } from '../slotProps';
|
|
5
5
|
export type BiampTableSlotProps<TData> = {
|
|
6
6
|
/** Props merged onto the MUI `<Table>`. `sx` composes with defaults. */
|
|
7
7
|
table?: MuiTableProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BiampTable.d.ts","sourceRoot":"","sources":["../../src/BiampTable/BiampTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,QAAQ,EAIb,KAAK,cAAc,IAAI,iBAAiB,EAExC,KAAK,cAAc,IAAI,iBAAiB,EAGxC,KAAK,cAAc,IAAI,iBAAiB,EACxC,KAAK,UAAU,IAAI,aAAa,EAEhC,KAAK,aAAa,IAAI,gBAAgB,EAGvC,MAAM,eAAe,CAAC;AAKvB,OAAO,EAEL,KAAK,IAAI,EACT,KAAK,MAAM,EACX,KAAK,GAAG,EACR,KAAK,KAAK,EACX,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,KAA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,CAAC;IACjD;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;CACxC,CAAC;AA4BJ,wBAAgB,UAAU,CAAC,KAAK,EAAE,EAChC,KAAK,EACL,UAAU,EACV,cAAc,EACd,OAAO,EACP,KAAK,EACL,KAAK,EACL,kBAA0B,EAC1B,eAAuB,EACvB,cAAsB,EACtB,aAAa,EACb,wBAAgC,EAChC,oBAA4B,EAC5B,WAAW,EACX,WAAW,EACX,SAAS,EACT,EAAE,EACF,GAAG,QAAQ,EACZ,EAAE,eAAe,CAAC,KAAK,CAAC,2CAmMxB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type TableCellProps as MuiTableCellProps, type TableRowProps as MuiTableRowProps } from '@mui/material';
|
|
2
2
|
import { type Cell, type Row } from '@tanstack/react-table';
|
|
3
|
-
import { type SlotPropsOrFn } from '
|
|
3
|
+
import { type SlotPropsOrFn } from '../slotProps';
|
|
4
4
|
export type BiampTableRowProps<TData> = {
|
|
5
5
|
row: Row<TData>;
|
|
6
6
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BiampTableRow.d.ts","sourceRoot":"","sources":["../../src/BiampTable/BiampTableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,cAAc,IAAI,iBAAiB,EAExC,KAAK,aAAa,IAAI,gBAAgB,EACvC,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAc,KAAK,IAAI,EAAE,KAAK,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAGxE,OAAO,EAAwB,KAAK,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"BiampTableRow.d.ts","sourceRoot":"","sources":["../../src/BiampTable/BiampTableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,cAAc,IAAI,iBAAiB,EAExC,KAAK,aAAa,IAAI,gBAAgB,EACvC,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAc,K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,kBAAkB,CAAC,KAAK,CAAC,2CA2H3B;AA2BD,eAAO,MAAM,aAAa,EAGrB,OAAO,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { CheckboxProps, FormControlLabelProps, StackProps, TextFieldProps, TypographyProps } from '@mui/material';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* The root is a `<form>`, so every form attribute passes through —
|
|
5
|
+
* `noValidate`, `autoComplete`, `name`, `onReset` — alongside `Stack`'s own
|
|
6
|
+
* props.
|
|
7
|
+
*/
|
|
8
|
+
export type LandingFormPanelProps = Omit<StackProps<'form'>, 'onSubmit'> & {
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* Fires on submit — Enter in any field, or a `type="submit"` control. The
|
|
12
|
+
* panel never inspects the fields: gating a submit is the consumer's job.
|
|
13
|
+
*/
|
|
14
|
+
onSubmit?: () => void;
|
|
15
|
+
/** Card width, capped to the viewport. Default: 441 — the panel's width. */
|
|
16
|
+
width?: number | string;
|
|
17
|
+
/**
|
|
18
|
+
* Native browser validation, off by default: `required` and `type="email"`
|
|
19
|
+
* on a field style the input without the browser blocking submit or showing
|
|
20
|
+
* its own bubble, so errors stay the consumer's to render via
|
|
21
|
+
* `error`/`helperText`. Pass `noValidate={false}` to hand the gating back to
|
|
22
|
+
* the browser.
|
|
23
|
+
*
|
|
24
|
+
* @default true
|
|
25
|
+
*/
|
|
26
|
+
noValidate?: boolean;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The landing-page form card: shell only, no field or flow knowledge. Compose
|
|
30
|
+
* `LandingFormField`, `LandingFormCheckbox`, and `LandingFormActions` inside it.
|
|
31
|
+
*/
|
|
32
|
+
export declare function LandingFormPanel({ children, onSubmit, width, noValidate, sx, ...stackProps }: LandingFormPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
/**
|
|
34
|
+
* `variant` is omitted rather than passed through: the panel's field is always
|
|
35
|
+
* outlined, and dropping the discriminant collapses `TextFieldProps` from a
|
|
36
|
+
* three-way union into one object type.
|
|
37
|
+
*/
|
|
38
|
+
export type LandingFormFieldProps = Omit<TextFieldProps, 'label' | 'variant' | 'slotProps'> & {
|
|
39
|
+
/** Rendered as a 12px/600 `<label>` bound to the input — not MUI's floating label. */
|
|
40
|
+
label: ReactNode;
|
|
41
|
+
/**
|
|
42
|
+
* `container` and `label` are this component's own slots — the two parts it
|
|
43
|
+
* builds around the field. The rest are `TextField`'s, so MUI's `root`
|
|
44
|
+
* (the field itself), `input`, `htmlInput` and `select` all still reach it.
|
|
45
|
+
*/
|
|
46
|
+
slotProps?: TextFieldProps['slotProps'] & {
|
|
47
|
+
/** The `Stack` grouping the `<label>` and the field. */
|
|
48
|
+
container?: StackProps;
|
|
49
|
+
/** The 12px/600 `<label>` above the field. */
|
|
50
|
+
label?: TypographyProps;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* A labelled input inside a `LandingFormPanel`. Everything `TextField` takes
|
|
55
|
+
* passes through, so `select`, `type="password"`, `error`/`helperText`, and
|
|
56
|
+
* `slotProps.input` adornments all work without extra props.
|
|
57
|
+
*/
|
|
58
|
+
export declare function LandingFormField({ label, id, slotProps, sx, ...textFieldProps }: LandingFormFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
59
|
+
export type LandingFormActionsProps = StackProps;
|
|
60
|
+
/**
|
|
61
|
+
* The row of buttons at the foot of a `LandingFormPanel` — layout only. The
|
|
62
|
+
* convention is an outlined button on the left and a contained `type="submit"`
|
|
63
|
+
* on the right, but that is the consumer's to pass.
|
|
64
|
+
*/
|
|
65
|
+
export declare function LandingFormActions(props: LandingFormActionsProps): import("react/jsx-runtime").JSX.Element;
|
|
66
|
+
export type LandingFormCheckboxProps = Omit<FormControlLabelProps, 'control' | 'slotProps'> & {
|
|
67
|
+
/**
|
|
68
|
+
* `checkbox` is this component's own slot; the rest are
|
|
69
|
+
* `FormControlLabel`'s, so `typography` reaches the label's `Typography`.
|
|
70
|
+
*/
|
|
71
|
+
slotProps?: FormControlLabelProps['slotProps'] & {
|
|
72
|
+
/** The `Checkbox` control itself. */
|
|
73
|
+
checkbox?: CheckboxProps;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* A single checkbox with its label to the right, spaced to the card's rhythm.
|
|
78
|
+
* `checked` and `onChange` pass through to the control.
|
|
79
|
+
*/
|
|
80
|
+
export declare function LandingFormCheckbox({ label, slotProps, sx, ...formControlLabelProps }: LandingFormCheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
81
|
+
//# sourceMappingURL=LandingFormPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LandingFormPanel.d.ts","sourceRoot":"","sources":["../../src/LandingPage/LandingFormPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,aAAa,EAEb,qBAAqB,EAErB,UAAU,EAEV,cAAc,EAGd,eAAe,EAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAa,SAAS,EAAS,MAAM,OAAO,CAAC;AAGpD;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,GAAG;IACzE,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,QAAQ,EACR,KAAW,EACX,UAAiB,EACjB,EAAE,EACF,GAAG,UAAU,EACd,EAAE,qBAAqB,2CAiCvB;AAuBD;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,cAAc,EACd,OAAO,GAAG,SAAS,GAAG,WAAW,CAClC,GAAG;IACF,sFAAsF;IACtF,KAAK,EAAE,SAAS,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,GAAG;QACxC,wDAAwD;QACxD,SAAS,CAAC,EAAE,UAAU,CAAC;QACvB,8CAA8C;QAC9C,KAAK,CAAC,EAAE,eAAe,CAAC;KACzB,CAAC;CACH,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,EAAE,EACF,SAAS,EACT,EAAE,EACF,GAAG,cAAc,EAClB,EAAE,qBAAqB,2CAiDvB;AAED,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC;AAEjD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,2CAEhE;AAED,MAAM,MAAM,wBAAwB,GAAG,IAAI,CACzC,qBAAqB,EACrB,SAAS,GAAG,WAAW,CACxB,GAAG;IACF;;;OAGG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAC,WAAW,CAAC,GAAG;QAC/C,qCAAqC;QACrC,QAAQ,CAAC,EAAE,aAAa,CAAC;KAC1B,CAAC;CACH,CAAC;AAEF;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,KAAK,EACL,SAAS,EACT,EAAE,EACF,GAAG,qBAAqB,EACzB,EAAE,wBAAwB,2CA+B1B"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { BoxProps, DividerProps, ListItemButtonProps, StackProps, TextFieldProps } from '@mui/material';
|
|
2
|
+
import { ChangeEvent, type JSX, ReactNode } from 'react';
|
|
3
|
+
export type OrganizationRowProps = Omit<ListItemButtonProps, 'children'> & {
|
|
4
|
+
primaryText: ReactNode;
|
|
5
|
+
secondaryText?: ReactNode;
|
|
6
|
+
logo?: ReactNode | string;
|
|
7
|
+
logoBackground?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
};
|
|
10
|
+
/** A single row inside an `OrganizationRowGroup` — logo, text, chevron. */
|
|
11
|
+
export declare function OrganizationRow({ primaryText, secondaryText, logo, logoBackground, disabled, sx, ...props }: OrganizationRowProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export type OrganizationRowGroupProps = Omit<BoxProps, 'children' | 'maxHeight'> & {
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
/** Caps the group height and enables vertical scrolling. */
|
|
15
|
+
maxHeight?: number | string;
|
|
16
|
+
};
|
|
17
|
+
/** Bordered grouping of `OrganizationRow`s, auto-divided. */
|
|
18
|
+
export declare function OrganizationRowGroup({ children, maxHeight, sx, ...boxProps }: OrganizationRowGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export type OrganizationsEmptyStateProps = StackProps & {
|
|
20
|
+
icon?: JSX.Element;
|
|
21
|
+
title?: ReactNode;
|
|
22
|
+
description?: ReactNode;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Status message shown in place of the `orLabel` divider when a search matches
|
|
26
|
+
* nothing. `OrganizationsPanel` renders this for `empty={true}`; pass an instance
|
|
27
|
+
* with your own copy when the defaults do not fit.
|
|
28
|
+
*/
|
|
29
|
+
export declare function OrganizationsEmptyState({ icon, title, description, ...stackProps }: OrganizationsEmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
type RowGroupSlotProps = Omit<OrganizationRowGroupProps, 'children'>;
|
|
31
|
+
/**
|
|
32
|
+
* The rows are yours — style those at the call site. These are the parts the
|
|
33
|
+
* panel builds itself. Spread after its own props, so they win on conflict;
|
|
34
|
+
* `sx` merges rather than replaces.
|
|
35
|
+
*/
|
|
36
|
+
export type OrganizationsPanelSlotProps = {
|
|
37
|
+
/** The search `TextField`. Rendered only when `search` is passed. */
|
|
38
|
+
search?: TextFieldProps;
|
|
39
|
+
/** The labelled divider above the organizations list. */
|
|
40
|
+
organizationsLabel?: DividerProps;
|
|
41
|
+
/** The labelled divider between the list and the action rows. */
|
|
42
|
+
orLabel?: DividerProps;
|
|
43
|
+
/** The group wrapping `personalOrgItem`. */
|
|
44
|
+
personalOrgGroup?: RowGroupSlotProps;
|
|
45
|
+
/** The scrollable group wrapping `organizationItems`. */
|
|
46
|
+
organizationsGroup?: RowGroupSlotProps;
|
|
47
|
+
/** The column holding the join and create groups. */
|
|
48
|
+
actions?: StackProps;
|
|
49
|
+
/** The group wrapping `joinAction`. */
|
|
50
|
+
joinGroup?: RowGroupSlotProps;
|
|
51
|
+
/** The group wrapping `createAction`. */
|
|
52
|
+
createGroup?: RowGroupSlotProps;
|
|
53
|
+
};
|
|
54
|
+
export type OrganizationsPanelProps = Omit<StackProps, 'children' | 'width'> & {
|
|
55
|
+
/** Controlled search field. Omit to render the panel without one. */
|
|
56
|
+
search?: {
|
|
57
|
+
value: string;
|
|
58
|
+
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
59
|
+
placeholder: string;
|
|
60
|
+
};
|
|
61
|
+
/** The current user's personal organization row (an `OrganizationRow`). */
|
|
62
|
+
personalOrgItem?: ReactNode;
|
|
63
|
+
/** Label for the divider above the organizations list. Omit for no label. */
|
|
64
|
+
organizationsLabel?: ReactNode;
|
|
65
|
+
/** The user's other organizations, as `OrganizationRow`s. */
|
|
66
|
+
organizationItems?: ReactNode;
|
|
67
|
+
/** Label for the divider before the join/create actions. Omit to drop it. */
|
|
68
|
+
orLabel?: ReactNode;
|
|
69
|
+
/**
|
|
70
|
+
* Shown in place of the `orLabel` divider when truthy; the join/create actions
|
|
71
|
+
* stay visible either way. `true` renders the default `OrganizationsEmptyState`.
|
|
72
|
+
*
|
|
73
|
+
* The panel never infers this — only the app holds the query and the
|
|
74
|
+
* unfiltered list: `empty={query !== '' && matches.length === 0}`.
|
|
75
|
+
*/
|
|
76
|
+
empty?: boolean | ReactNode;
|
|
77
|
+
/** `OrganizationRow` for the "Join organization" row. Omit to hide the group. */
|
|
78
|
+
joinAction?: ReactNode;
|
|
79
|
+
/** `OrganizationRow` for the "Create organization" row. Omit to hide the group. */
|
|
80
|
+
createAction?: ReactNode;
|
|
81
|
+
/** Panel width, capped to the viewport. Default: 441. */
|
|
82
|
+
width?: number | string;
|
|
83
|
+
/** Height cap on the scrollable organizations group. Default: three 64px rows. */
|
|
84
|
+
maxListHeight?: number | string;
|
|
85
|
+
slotProps?: OrganizationsPanelSlotProps;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Content-sized card for picking, joining, or creating an organization.
|
|
89
|
+
* Matches the Figma "Welcome / Organizations" design.
|
|
90
|
+
*/
|
|
91
|
+
export declare function OrganizationsPanel({ search, personalOrgItem, organizationsLabel, organizationItems, orLabel, empty, joinAction, createAction, width, maxListHeight, slotProps, sx, ...stackProps }: OrganizationsPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
92
|
+
export {};
|
|
93
|
+
//# sourceMappingURL=OrganizationsPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationsPanel.d.ts","sourceRoot":"","sources":["../../src/LandingPage/OrganizationsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,QAAQ,EAER,YAAY,EAGZ,mBAAmB,EAEnB,UAAU,EAEV,cAAc,EAGf,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,WAAW,EAKX,KAAK,GAAG,EACR,SAAS,EACV,MAAM,OAAO,CAAC;AAIf,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAAG;IACzE,WAAW,EAAE,SAAS,CAAC;IACvB,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,2EAA2E;AAC3E,wBAAgB,eAAe,CAAC,EAC9B,WAAW,EACX,aAAa,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WAAW,CAAC,EAAE,iBAAiB,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG;IAC7E,qEAAqE;IACrE,MAAM,CAAC,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;QACzD,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,2EAA2E;IAC3E,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,6EAA6E;IAC7E,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,6DAA6D;IAC7D,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B,6EAA6E;IAC7E,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,iFAAiF;IACjF,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,mFAAmF;IACnF,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,kFAAkF;IAClF,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,SAAS,CAAC,EAAE,2BAA2B,CAAC;CACzC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,OAAO,EACP,KAAa,EACb,UAAU,EACV,YAAY,EACZ,KAAW,EACX,aAAuC,EACvC,SAAS,EACT,EAAE,EACF,GAAG,UAAU,EACd,EAAE,uBAAuB,2CAiHzB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { LandingFormActions, LandingFormCheckbox, LandingFormField, LandingFormPanel, } from './LandingFormPanel';
|
|
2
|
+
export type { LandingFormActionsProps, LandingFormCheckboxProps, LandingFormFieldProps, LandingFormPanelProps, } from './LandingFormPanel';
|
|
3
|
+
export { OrganizationsEmptyState, OrganizationsPanel, OrganizationRow, OrganizationRowGroup, } from './OrganizationsPanel';
|
|
4
|
+
export type { OrganizationRowGroupProps, OrganizationRowProps, OrganizationsEmptyStateProps, OrganizationsPanelProps, OrganizationsPanelSlotProps, } from './OrganizationsPanel';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/LandingPage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACV,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,uBAAuB,EACvB,kBAAkB,EAClB,eAAe,EACf,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EACV,yBAAyB,EACzB,oBAAoB,EACpB,4BAA4B,EAC5B,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Organization switching from inside an app, sized for `BiampHeader`. For the
|
|
3
|
+
* full-page picker shown before entering an app, see `OrganizationsPanel`.
|
|
4
|
+
*/
|
|
1
5
|
import { ButtonBaseProps, ListItemButtonProps, PopoverProps, StackProps, SxProps, Theme } from '@mui/material';
|
|
2
6
|
import { ReactNode } from 'react';
|
|
3
7
|
type OrganizationSelectorProps = StackProps & {
|
|
@@ -41,7 +45,7 @@ type OrganizationItemProps = Omit<ListItemButtonProps, 'children'> & {
|
|
|
41
45
|
* A single row inside an `OrganizationItemList`. Spread `ListItem` props
|
|
42
46
|
* (e.g. `component={Link} to={...}` or `onClick={...}`) to make it clickable.
|
|
43
47
|
*/
|
|
44
|
-
export declare function OrganizationItem({ primaryText, secondaryText, meta, logo, isCurrent, sx, ...props }: OrganizationItemProps): import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
export declare function OrganizationItem({ primaryText, secondaryText, meta, logo, isCurrent, disabled, sx, ...props }: OrganizationItemProps): import("react/jsx-runtime").JSX.Element;
|
|
45
49
|
type OrganizationSelectorButtonProps = Omit<ButtonBaseProps, 'children'> & {
|
|
46
50
|
/**
|
|
47
51
|
* Leading visual — typically an image element representing the current
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrganizationSelector.d.ts","sourceRoot":"","sources":["../../src/OrganizationSelector/OrganizationSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,eAAe,EAMf,mBAAmB,EAEnB,YAAY,EAEZ,UAAU,EACV,OAAO,EACP,KAAK,EAEN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAsC,SAAS,EAAE,MAAM,OAAO,CAAC;AAOtE,KAAK,yBAAyB,GAAG,UAAU,GAAG;IAC5C,iDAAiD;IACjD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,QAAQ,EACR,EAAE,EACF,GAAG,KAAK,EACT,EAAE,yBAAyB,2CAyB3B;AAED,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,EAAE,SAAS,CAAC;IACpB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,EACR,KAAK,EACL,SAAS,EACT,EAAE,GACH,EAAE,yBAAyB,2CA8B3B;AAED,KAAK,qBAAqB,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAAG;IACnE,2EAA2E;IAC3E,WAAW,EAAE,SAAS,CAAC;IACvB,gDAAgD;IAChD,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,iEAAiE;IACjE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,wDAAwD;IACxD,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAyBF;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,WAAW,EACX,aAAa,EACb,IAAI,EACJ,IAAI,EACJ,SAAiB,EACjB,EAAE,EACF,GAAG,KAAK,EACT,EAAE,qBAAqB,
|
|
1
|
+
{"version":3,"file":"OrganizationSelector.d.ts","sourceRoot":"","sources":["../../src/OrganizationSelector/OrganizationSelector.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAIL,eAAe,EAMf,mBAAmB,EAEnB,YAAY,EAEZ,UAAU,EACV,OAAO,EACP,KAAK,EAEN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAsC,SAAS,EAAE,MAAM,OAAO,CAAC;AAOtE,KAAK,yBAAyB,GAAG,UAAU,GAAG;IAC5C,iDAAiD;IACjD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,QAAQ,EACR,EAAE,EACF,GAAG,KAAK,EACT,EAAE,yBAAyB,2CAyB3B;AAED,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,EAAE,SAAS,CAAC;IACpB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB,CAAC;AAEF;;;GA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