@cboxdk/cbox-ui 0.11.1 → 0.12.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 +30 -1
- package/dist/index.d.ts +229 -2
- package/dist/index.js +381 -5
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/tokens/cbox.css +7 -0
- package/tokens/controls.css +289 -0
- package/tokens/shell.css +10 -5
package/README.md
CHANGED
|
@@ -78,6 +78,10 @@ import {
|
|
|
78
78
|
EmptyState,
|
|
79
79
|
StatTile,
|
|
80
80
|
KeyValue,
|
|
81
|
+
Button,
|
|
82
|
+
Field,
|
|
83
|
+
Input,
|
|
84
|
+
Dialog,
|
|
81
85
|
} from '@cboxdk/cbox-ui';
|
|
82
86
|
```
|
|
83
87
|
|
|
@@ -109,6 +113,26 @@ Match id's existing patterns — see id/resources/js/pages/* for examples.
|
|
|
109
113
|
| `KeyValue` / `KeyValueList` | Definition-list style "label → value" for detail panels. |
|
|
110
114
|
| `Heading` | Section heading without the panel chrome. |
|
|
111
115
|
|
|
116
|
+
### Form controls and the dialog
|
|
117
|
+
|
|
118
|
+
Plain CSS in `tokens/controls.css` (`cbx-ui-*` classes in `@layer components`), which the
|
|
119
|
+
`@cboxdk/cbox-ui/tokens` import already brings; `@cboxdk/cbox-ui/controls.css` alone is there for
|
|
120
|
+
an app without the tokens import. In a Tailwind v4 app a utility on `className` (`w-full`,
|
|
121
|
+
`mt-2`) wins over the component's own rule. Light and dark come from the tokens; fields are 16px
|
|
122
|
+
below 768px so iOS does not zoom. The few words the components say themselves ("Close",
|
|
123
|
+
"(required)", "(optional)") go through `CboxLocalizationProvider`; everything else is a prop.
|
|
124
|
+
|
|
125
|
+
| Export | What it does |
|
|
126
|
+
|---|---|
|
|
127
|
+
| `Button` | `variant` primary / secondary / ghost (default) / danger, `size` sm / md / lg, `icon` (a leading glyph, decorative), `loading` (disabled, `aria-busy`, a spinner, the label unchanged). `type` defaults to `button`. `asChild` styles its one child (a router `Link`, an `<a>`) instead, glyph inside; a disabled link stays focusable and goes nowhere. `buttonClassName()` gives the classes for an element Button cannot wrap. |
|
|
128
|
+
| `Field` / `useFieldControl` | A labelled control, wired: the label points at the control, `hint` and `error` describe it, `error` marks it `aria-invalid` and is announced from a live region that is always there. `required` (a spoken "required"), `optional`, `labelAction` (a link on the label row), `id` when something outside refers to the control. `useFieldControl()` is the wiring for a control of your own. |
|
|
129
|
+
| `Input` / `Textarea` | Text fields on the tokens, 36px (`scale="lg"`: 44px). Inside a `Field` they take its id and state; outside one they are bare (give them an `aria-label`). |
|
|
130
|
+
| `Checkbox` | A native checkbox drawn on the tokens with its label (and an optional `hint`) beside it. `checked` may be `'indeterminate'`. 16px box, 24px target. |
|
|
131
|
+
| `RadioGroup` | A labelled group of native radios: arrow keys move, Tab enters at the checked one. Options take a `hint` and `disabled`; `labelHidden` keeps the question for screen readers only. |
|
|
132
|
+
| `Switch` | An immediate on/off (`role="switch"`). Named by its `Field`, or `aria-label`. A setting that waits for Save is a `Checkbox`. |
|
|
133
|
+
| `Dialog` / `DialogClose` / `useDialogClose` | A modal portalled to `<body>`: `title`, `description`, `footer`, `size` sm / md / lg. Focus moves in (to `autoFocus` / `data-autofocus`, else the first field, else Close, never a footer action), Tab stays inside, the page behind is `inert` and does not scroll, Escape / Close / the scrim close it (`dismissible={false}` keeps the scrim from closing it), and focus goes back to the opener. `DialogClose` is a Button that closes the dialog it is in. |
|
|
134
|
+
| `Spinner` | The indeterminate progress ring. Silent by default; `label` makes it a live status. |
|
|
135
|
+
|
|
112
136
|
### Charts
|
|
113
137
|
|
|
114
138
|
Time series and bar charts use ECharts, from the `@cboxdk/cbox-ui/charts` entry so apps without charts never load it. Install `echarts` (^6) next to cbox-ui to use it; ECharts itself is fetched on the first chart's mount.
|
|
@@ -497,7 +521,8 @@ the rest of the sheet. A page's own "New …" button calls `useShellCreate()?.op
|
|
|
497
521
|
`bun run test` runs the unit tests (vitest, Testing Library, happy-dom). `bun run test:visual`
|
|
498
522
|
renders the fixture page in `tests/visual` (the real shell, the fixture `shell` prop and its
|
|
499
523
|
answers) and compares every open state at 1440 and 390, light and dark, against
|
|
500
|
-
`tests/visual/__screenshots__`, and runs axe on every open state.
|
|
524
|
+
`tests/visual/__screenshots__`, and runs axe on every open state. `?controls=1` is the form
|
|
525
|
+
controls in every state and `&dialog=1` the Dialog over them (`tests/visual/controls.spec.ts`). It runs in the pinned
|
|
501
526
|
Playwright container (`scripts/visual.sh`, needs Docker), the same one CI's `visual` job uses,
|
|
502
527
|
so the Linux baselines match pixel for pixel. After an intended change:
|
|
503
528
|
`bun run test:visual:update`, then look at every changed image.
|
|
@@ -514,3 +539,7 @@ Words and icons in a tone use the tone's text token, not its fill: `--success-te
|
|
|
514
539
|
reach 4.5:1 on the tone's soft tint over a card, the canvas or the background, in light and
|
|
515
540
|
dark; the fills (`--success` …) are for dots, squares and solid buttons. `StatusPill` and
|
|
516
541
|
`StatTile` use them. `tests/tokens/contrast.test.ts` checks every pair.
|
|
542
|
+
|
|
543
|
+
`--control-border` (`border-control-border`) is the stroke of a control whose stroke is its only
|
|
544
|
+
boundary (an input, a checkbox, the plain button). It reaches 3:1 on a card, a popover, the canvas
|
|
545
|
+
and the background in both themes (WCAG 2.2 SC 1.4.11), and the same test checks it.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { ReactNode, ComponentType, FormEvent, AnchorHTMLAttributes, ComponentProps } from 'react';
|
|
3
|
+
import { ReactNode, ComponentType, FormEvent, AnchorHTMLAttributes, ComponentProps, ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
4
4
|
import { C as CboxThemeMode, a as CboxKnownApp } from './catalog-BroZWvws.js';
|
|
5
5
|
export { b as CboxAppCatalogState, c as CboxCatalogApp, d as authorizeHref, p as parseAppCatalog, r as readKnownAppCatalog, e as rememberAppCatalog, s as secureIconUrl, f as signInTarget } from './catalog-BroZWvws.js';
|
|
6
6
|
import { LucideIcon } from 'lucide-react';
|
|
@@ -1450,6 +1450,233 @@ type StatusPillProps = {
|
|
|
1450
1450
|
*/
|
|
1451
1451
|
declare function StatusPill({ children, tone, className, dot, }: StatusPillProps): react_jsx_runtime.JSX.Element;
|
|
1452
1452
|
|
|
1453
|
+
type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'danger';
|
|
1454
|
+
type ButtonSize = 'sm' | 'md' | 'lg';
|
|
1455
|
+
type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1456
|
+
/** `primary` for the one main action, `secondary` a step below, `ghost` (default) plain, `danger` destructive. */
|
|
1457
|
+
variant?: ButtonVariant;
|
|
1458
|
+
/** 28px, 32px (default) or 42px. */
|
|
1459
|
+
size?: ButtonSize;
|
|
1460
|
+
/** A leading glyph (a 16px icon). Decorative: the label beside it is the accessible name. */
|
|
1461
|
+
icon?: ReactNode;
|
|
1462
|
+
/**
|
|
1463
|
+
* The action is in flight: the button disables itself, swaps the glyph for a spinner and says
|
|
1464
|
+
* `aria-busy`. The label does not change, so nothing reflows under the cursor.
|
|
1465
|
+
*/
|
|
1466
|
+
loading?: boolean;
|
|
1467
|
+
/**
|
|
1468
|
+
* Style the single child element (a router `Link`, an `<a>`) as this button instead of
|
|
1469
|
+
* rendering a `<button>`. A control that navigates must be a link: it can be middle-clicked,
|
|
1470
|
+
* opened in a new tab and copied. The glyph is put inside the child.
|
|
1471
|
+
*/
|
|
1472
|
+
asChild?: boolean;
|
|
1473
|
+
children?: ReactNode;
|
|
1474
|
+
};
|
|
1475
|
+
/** The class list a button of this variant and size carries, for an element Button cannot wrap. */
|
|
1476
|
+
declare function buttonClassName({ variant, size }?: {
|
|
1477
|
+
variant?: ButtonVariant;
|
|
1478
|
+
size?: ButtonSize;
|
|
1479
|
+
}): string;
|
|
1480
|
+
/**
|
|
1481
|
+
* The Cbox button: four variants, three sizes, a loading state and `asChild` for links.
|
|
1482
|
+
* An unspecified `type` is `button`, so a Cancel inside a form never submits it.
|
|
1483
|
+
*/
|
|
1484
|
+
declare const Button: react.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1485
|
+
/** `primary` for the one main action, `secondary` a step below, `ghost` (default) plain, `danger` destructive. */
|
|
1486
|
+
variant?: ButtonVariant;
|
|
1487
|
+
/** 28px, 32px (default) or 42px. */
|
|
1488
|
+
size?: ButtonSize;
|
|
1489
|
+
/** A leading glyph (a 16px icon). Decorative: the label beside it is the accessible name. */
|
|
1490
|
+
icon?: ReactNode;
|
|
1491
|
+
/**
|
|
1492
|
+
* The action is in flight: the button disables itself, swaps the glyph for a spinner and says
|
|
1493
|
+
* `aria-busy`. The label does not change, so nothing reflows under the cursor.
|
|
1494
|
+
*/
|
|
1495
|
+
loading?: boolean;
|
|
1496
|
+
/**
|
|
1497
|
+
* Style the single child element (a router `Link`, an `<a>`) as this button instead of
|
|
1498
|
+
* rendering a `<button>`. A control that navigates must be a link: it can be middle-clicked,
|
|
1499
|
+
* opened in a new tab and copied. The glyph is put inside the child.
|
|
1500
|
+
*/
|
|
1501
|
+
asChild?: boolean;
|
|
1502
|
+
children?: ReactNode;
|
|
1503
|
+
} & react.RefAttributes<HTMLButtonElement>>;
|
|
1504
|
+
|
|
1505
|
+
type CheckboxProps = {
|
|
1506
|
+
/** `'indeterminate'` draws a dash: some of a group are checked. A click then checks it. */
|
|
1507
|
+
checked: boolean | 'indeterminate';
|
|
1508
|
+
onCheckedChange: (checked: boolean) => void;
|
|
1509
|
+
/** The label beside the box, clickable. A bare box in a row is not offered. */
|
|
1510
|
+
label: ReactNode;
|
|
1511
|
+
/** A line under the label, read as the box's description. */
|
|
1512
|
+
hint?: ReactNode;
|
|
1513
|
+
disabled?: boolean;
|
|
1514
|
+
required?: boolean;
|
|
1515
|
+
name?: string;
|
|
1516
|
+
value?: string;
|
|
1517
|
+
id?: string;
|
|
1518
|
+
className?: string;
|
|
1519
|
+
};
|
|
1520
|
+
/**
|
|
1521
|
+
* A checkbox: a native `<input type="checkbox">` drawn on the tokens, so the keyboard (Space),
|
|
1522
|
+
* form submission and screen readers behave as the platform's own. The box is 16px; its target
|
|
1523
|
+
* is 24px.
|
|
1524
|
+
*/
|
|
1525
|
+
declare function Checkbox({ checked, onCheckedChange, label, hint, disabled, required, name, value, id: statedId, className }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
1526
|
+
|
|
1527
|
+
type DialogSize = 'sm' | 'md' | 'lg';
|
|
1528
|
+
type DialogProps = {
|
|
1529
|
+
open: boolean;
|
|
1530
|
+
onOpenChange: (open: boolean) => void;
|
|
1531
|
+
title: ReactNode;
|
|
1532
|
+
/** One sentence on what the dialog is for. Read out with the title when it opens. */
|
|
1533
|
+
description?: ReactNode;
|
|
1534
|
+
/** The buttons, right-aligned in a footer that stays in view. Cancel first, the action last. */
|
|
1535
|
+
footer?: ReactNode;
|
|
1536
|
+
/** 24rem, 32rem (default) or 48rem wide; always 16px clear of a phone's edges. */
|
|
1537
|
+
size?: DialogSize;
|
|
1538
|
+
/** Clicking the scrim closes the dialog (default). Off for a form that would lose typed work. */
|
|
1539
|
+
dismissible?: boolean;
|
|
1540
|
+
className?: string;
|
|
1541
|
+
children?: ReactNode;
|
|
1542
|
+
};
|
|
1543
|
+
/** Closes the dialog it is inside (for a footer button that should not need the caller's state). */
|
|
1544
|
+
declare function useDialogClose(): () => void;
|
|
1545
|
+
/** A Button that closes the dialog it is inside, then runs its own `onClick`. Defaults to `ghost`. */
|
|
1546
|
+
declare function DialogClose({ onClick, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
1547
|
+
/**
|
|
1548
|
+
* A modal dialog.
|
|
1549
|
+
*
|
|
1550
|
+
* - Focus moves in on open: to an element marked `autoFocus` or `data-autofocus`, else the first
|
|
1551
|
+
* field in the body, else the close button (never a destructive footer action).
|
|
1552
|
+
* - Tab and Shift+Tab stay inside; everything behind is `inert` and hidden from assistive
|
|
1553
|
+
* technology; the page behind does not scroll (iOS included).
|
|
1554
|
+
* - Escape closes it (unless a control inside handled Escape first, an open combobox say), as do
|
|
1555
|
+
* the close button and a click on the scrim.
|
|
1556
|
+
* - On close, focus goes back to whatever opened it, without scrolling, so a dialog opened from a
|
|
1557
|
+
* menu item or a shortcut needs no trigger of its own.
|
|
1558
|
+
*
|
|
1559
|
+
* The close button's name ("Close") goes through the host's translator.
|
|
1560
|
+
*/
|
|
1561
|
+
declare function Dialog({ open, onOpenChange, title, description, footer, size, dismissible, className, children }: DialogProps): react.ReactPortal | null;
|
|
1562
|
+
|
|
1563
|
+
type FieldControlProps = Partial<{
|
|
1564
|
+
id: string;
|
|
1565
|
+
'aria-describedby': string;
|
|
1566
|
+
'aria-invalid': true;
|
|
1567
|
+
required: boolean;
|
|
1568
|
+
}>;
|
|
1569
|
+
/**
|
|
1570
|
+
* The wiring a control needs from its `<Field>`: id, `aria-describedby`, `aria-invalid` and
|
|
1571
|
+
* `required`. A control spreads it; outside a Field it is empty, so `<Input>` works bare (a
|
|
1572
|
+
* search box in a toolbar, with its own `aria-label`).
|
|
1573
|
+
*/
|
|
1574
|
+
declare function useFieldControl(): FieldControlProps;
|
|
1575
|
+
type FieldProps = {
|
|
1576
|
+
/** The visible label. A field cannot be built without one. */
|
|
1577
|
+
label: ReactNode;
|
|
1578
|
+
/** The control's id. Generated when omitted; state one only when something outside refers to it. */
|
|
1579
|
+
id?: string;
|
|
1580
|
+
/** A control on the label's row, right-aligned ("Forgot password?"). */
|
|
1581
|
+
labelAction?: ReactNode;
|
|
1582
|
+
/** Guidance under the control, always shown: not a placeholder, not a tooltip. */
|
|
1583
|
+
hint?: ReactNode;
|
|
1584
|
+
/** The message for this field. Present, the control is invalid and the message is announced. */
|
|
1585
|
+
error?: string | null;
|
|
1586
|
+
/** Marks the label (with a spoken "required") and the control. */
|
|
1587
|
+
required?: boolean;
|
|
1588
|
+
/** Says "optional" on the label, for the one field in a form that can be skipped. */
|
|
1589
|
+
optional?: boolean;
|
|
1590
|
+
className?: string;
|
|
1591
|
+
children: ReactNode;
|
|
1592
|
+
};
|
|
1593
|
+
/**
|
|
1594
|
+
* A labelled form control, wired: the label points at the control, the hint and the error
|
|
1595
|
+
* describe it, and the error is in a live region that exists before it has text (a region
|
|
1596
|
+
* inserted with its text is not announced by NVDA or VoiceOver).
|
|
1597
|
+
*
|
|
1598
|
+
* The words "required" and "optional" go through the host's translator
|
|
1599
|
+
* (`CboxLocalizationProvider`).
|
|
1600
|
+
*/
|
|
1601
|
+
declare function Field({ label, id: statedId, labelAction, hint, error, required, optional, className, children }: FieldProps): react_jsx_runtime.JSX.Element;
|
|
1602
|
+
|
|
1603
|
+
type InputProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
1604
|
+
/** `md` (default) is 36px for dense consoles; `lg` is 44px, for a sign-in or a one-field screen. */
|
|
1605
|
+
scale?: 'md' | 'lg';
|
|
1606
|
+
};
|
|
1607
|
+
/**
|
|
1608
|
+
* A text input on the tokens: 36px, 13px, and 16px below 768px so iOS does not zoom into it.
|
|
1609
|
+
* Inside a `<Field>` it takes its id, description and invalid state from it; props given
|
|
1610
|
+
* here win.
|
|
1611
|
+
*/
|
|
1612
|
+
declare const Input: react.ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & {
|
|
1613
|
+
/** `md` (default) is 36px for dense consoles; `lg` is 44px, for a sign-in or a one-field screen. */
|
|
1614
|
+
scale?: "md" | "lg";
|
|
1615
|
+
} & react.RefAttributes<HTMLInputElement>>;
|
|
1616
|
+
type TextareaProps = TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
1617
|
+
/** A multi-line text field, the same box as `Input`, four rows by default. */
|
|
1618
|
+
declare const Textarea: react.ForwardRefExoticComponent<TextareaProps & react.RefAttributes<HTMLTextAreaElement>>;
|
|
1619
|
+
|
|
1620
|
+
type RadioOption<T extends string = string> = {
|
|
1621
|
+
value: T;
|
|
1622
|
+
label: ReactNode;
|
|
1623
|
+
hint?: ReactNode;
|
|
1624
|
+
disabled?: boolean;
|
|
1625
|
+
};
|
|
1626
|
+
type RadioGroupProps<T extends string = string> = {
|
|
1627
|
+
value: T | null;
|
|
1628
|
+
onValueChange: (value: T) => void;
|
|
1629
|
+
options: RadioOption<T>[];
|
|
1630
|
+
/** The question the options answer. Required: a radio group without one is a list. */
|
|
1631
|
+
label: ReactNode;
|
|
1632
|
+
/** Keep the label for assistive technology only, when a heading beside it already says it. */
|
|
1633
|
+
labelHidden?: boolean;
|
|
1634
|
+
/** The form field name. Generated when omitted (the arrow keys move within one name). */
|
|
1635
|
+
name?: string;
|
|
1636
|
+
disabled?: boolean;
|
|
1637
|
+
required?: boolean;
|
|
1638
|
+
className?: string;
|
|
1639
|
+
};
|
|
1640
|
+
/**
|
|
1641
|
+
* A choice of one where seeing every option at once matters. Native radios on the tokens: the
|
|
1642
|
+
* arrow keys move and select within the group, Tab enters at the checked one and leaves.
|
|
1643
|
+
*/
|
|
1644
|
+
declare function RadioGroup<T extends string = string>({ value, onValueChange, options, label, labelHidden, name, disabled, required, className }: RadioGroupProps<T>): react_jsx_runtime.JSX.Element;
|
|
1645
|
+
|
|
1646
|
+
type SpinnerProps = {
|
|
1647
|
+
className?: string;
|
|
1648
|
+
/**
|
|
1649
|
+
* What is being waited for. Given, the spinner is a live status with that name; omitted, it
|
|
1650
|
+
* is silent, which is right inside a control that already says it is busy (`aria-busy`).
|
|
1651
|
+
*/
|
|
1652
|
+
label?: string;
|
|
1653
|
+
};
|
|
1654
|
+
/**
|
|
1655
|
+
* The one indeterminate progress indicator. It takes the text colour, and under
|
|
1656
|
+
* `prefers-reduced-motion` it slows down rather than stopping: a still ring reads as broken.
|
|
1657
|
+
*/
|
|
1658
|
+
declare function Spinner({ className, label }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
1659
|
+
|
|
1660
|
+
type SwitchProps = {
|
|
1661
|
+
checked: boolean;
|
|
1662
|
+
onCheckedChange: (checked: boolean) => void;
|
|
1663
|
+
disabled?: boolean;
|
|
1664
|
+
/** Submitted as `name=on` while checked, like a checkbox. */
|
|
1665
|
+
name?: string;
|
|
1666
|
+
id?: string;
|
|
1667
|
+
/** Required when the switch has no `<Field>` label. */
|
|
1668
|
+
'aria-label'?: string;
|
|
1669
|
+
'aria-labelledby'?: string;
|
|
1670
|
+
'aria-describedby'?: string;
|
|
1671
|
+
className?: string;
|
|
1672
|
+
};
|
|
1673
|
+
/**
|
|
1674
|
+
* An immediate on/off (`role="switch"`, Space and Enter toggle). A switch means the change
|
|
1675
|
+
* takes effect now; a setting that waits for a Save button is a `Checkbox`. Inside a `<Field>`
|
|
1676
|
+
* the Field's label names it.
|
|
1677
|
+
*/
|
|
1678
|
+
declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1679
|
+
|
|
1453
1680
|
/**
|
|
1454
1681
|
* Cross-app surface contract — the API hosts opt into and that
|
|
1455
1682
|
* cbox-ui's runtime renders. Each `SurfaceId` corresponds to a
|
|
@@ -1695,4 +1922,4 @@ declare function Sparkline({ values, color, width, height }: {
|
|
|
1695
1922
|
height?: number;
|
|
1696
1923
|
}): react_jsx_runtime.JSX.Element | null;
|
|
1697
1924
|
|
|
1698
|
-
export { APP_HUES, AppContent, type AppKey, AppShell, CHART_PALETTE, CboxAppCatalog, type CboxAppCatalogProps, CboxAppIcon, type CboxAppIconProps, type CboxAppKey, type CboxAppLink, CboxBrand, type CboxBrandProps, type CboxIdContextValue, CboxIdProvider, CboxKnownApp, CboxLocalizationProvider, type CboxNotificationPreviewItem, type CboxNotificationsState, type CboxOrganization, CboxServiceMark, type CboxServiceMarkProps, CboxShell, type CboxShellProps, CboxSurfaces, type CboxSurfacesProps, type CboxTranslationValues, type CboxTranslator, type CboxUser, Combobox, type ComboboxAvatar, type ComboboxGroup, type ComboboxOption, type ComboboxProps, type ContextItem, type ContextLevel, type ContextTone, CreateField, CreateForm, CreateRefField, CreateSubmit, DataPanel, EmptyState, Heading, type HelpArticle, type HelpState, type HelpStore, type InboxState, type InferUrlState, KeyValue, KeyValueList, type ListPage, type NavArea, type NavPage, PageHeader, type PageIntent, PageShell, type PageTabSpec, PageTabs, type PageTabsProps, type PageWidth, type PaletteAction, type PaletteRecord, PanelBody, type RealtimeState, type RealtimeStatus, RowLink, type RowLinkProps, SHELL_ICONS, SectionHeader, type Shell, type ShellAccount, type Link as ShellActionLink, type ShellApp, type ShellBanner, type ShellCatalogState, type ShellCreatable, type ShellCreate, type ShellCreateForm, type ShellCreated, type ShellHelp, type ShellHelpArticle, type ShellIcon, type ShellLinkComponent, type ShellNavigate, type ShellNotifications, type ShellOption, type ShellPreferenceChange, type ShellPreferences, type ShellRecordSearch, type ShellRenderCreate, type ShellTheme, Sparkline, StatTile, StatusPill, type SupportUpdate, type SurfaceArgs, type SurfaceConfig, type SurfaceController, type SurfaceId, type SwitchBody, type Transport, type UrlField, type UrlSchema, applyTheme, buildUrlSearch, cn, contextTrail, createHelpStore, defineUrlSchema, environmentFor, groupItems, hueFor, initialsOf, interpolate, isLive, pageIntent, parseListPage, parseShellCatalog, parseUrlSearch, quickEnvironments, settingsHref, switchBody, switchPayload, themeBootScript, urlBoolean, urlEnum, urlNumber, urlString, urlStringArray, useCboxId, useCboxIdOptional, useCboxLocalization, useCboxSurfaces, useCboxSurfacesOptional, useKnownAppCatalog, useShellCreate, useShellHelp, useShellPageTitle, withQuery };
|
|
1925
|
+
export { APP_HUES, AppContent, type AppKey, AppShell, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CHART_PALETTE, CboxAppCatalog, type CboxAppCatalogProps, CboxAppIcon, type CboxAppIconProps, type CboxAppKey, type CboxAppLink, CboxBrand, type CboxBrandProps, type CboxIdContextValue, CboxIdProvider, CboxKnownApp, CboxLocalizationProvider, type CboxNotificationPreviewItem, type CboxNotificationsState, type CboxOrganization, CboxServiceMark, type CboxServiceMarkProps, CboxShell, type CboxShellProps, CboxSurfaces, type CboxSurfacesProps, type CboxTranslationValues, type CboxTranslator, type CboxUser, Checkbox, type CheckboxProps, Combobox, type ComboboxAvatar, type ComboboxGroup, type ComboboxOption, type ComboboxProps, type ContextItem, type ContextLevel, type ContextTone, CreateField, CreateForm, CreateRefField, CreateSubmit, DataPanel, Dialog, DialogClose, type DialogProps, type DialogSize, EmptyState, Field, type FieldControlProps, type FieldProps, Heading, type HelpArticle, type HelpState, type HelpStore, type InboxState, type InferUrlState, Input, type InputProps, KeyValue, KeyValueList, type ListPage, type NavArea, type NavPage, PageHeader, type PageIntent, PageShell, type PageTabSpec, PageTabs, type PageTabsProps, type PageWidth, type PaletteAction, type PaletteRecord, PanelBody, RadioGroup, type RadioGroupProps, type RadioOption, type RealtimeState, type RealtimeStatus, RowLink, type RowLinkProps, SHELL_ICONS, SectionHeader, type Shell, type ShellAccount, type Link as ShellActionLink, type ShellApp, type ShellBanner, type ShellCatalogState, type ShellCreatable, type ShellCreate, type ShellCreateForm, type ShellCreated, type ShellHelp, type ShellHelpArticle, type ShellIcon, type ShellLinkComponent, type ShellNavigate, type ShellNotifications, type ShellOption, type ShellPreferenceChange, type ShellPreferences, type ShellRecordSearch, type ShellRenderCreate, type ShellTheme, Sparkline, Spinner, type SpinnerProps, StatTile, StatusPill, type SupportUpdate, type SurfaceArgs, type SurfaceConfig, type SurfaceController, type SurfaceId, Switch, type SwitchBody, type SwitchProps, Textarea, type TextareaProps, type Transport, type UrlField, type UrlSchema, applyTheme, buildUrlSearch, buttonClassName, cn, contextTrail, createHelpStore, defineUrlSchema, environmentFor, groupItems, hueFor, initialsOf, interpolate, isLive, pageIntent, parseListPage, parseShellCatalog, parseUrlSearch, quickEnvironments, settingsHref, switchBody, switchPayload, themeBootScript, urlBoolean, urlEnum, urlNumber, urlString, urlStringArray, useCboxId, useCboxIdOptional, useCboxLocalization, useCboxSurfaces, useCboxSurfacesOptional, useDialogClose, useFieldControl, useKnownAppCatalog, useShellCreate, useShellHelp, useShellPageTitle, withQuery };
|