@scattered-light/loomiere-mojave 0.24.1 → 0.41.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/dist/exports/AGENTS.md +1 -1
- package/dist/exports/base-ui.css +5574 -0
- package/dist/exports/base-ui.md +535 -0
- package/dist/exports/catalog.json +34 -0
- package/dist/exports/design-system/README.md +1 -1
- package/dist/exports/design-system/components/Badge/README.md +2 -1
- package/dist/exports/design-system/components/Badge/preview.html +457 -1
- package/dist/exports/design-system/components/ChecklistNotice/README.md +53 -0
- package/dist/exports/design-system/components/ChecklistNotice/preview.html +475 -0
- package/dist/exports/design-system/components/ChipPicker/README.md +43 -0
- package/dist/exports/design-system/components/ChipPicker/preview.html +475 -0
- package/dist/exports/design-system/components/DataTable/README.md +9 -2
- package/dist/exports/design-system/components/DataTable/preview.html +202 -202
- package/dist/exports/design-system/components/EmptyState/README.md +17 -3
- package/dist/exports/design-system/components/EmptyState/preview.html +170 -170
- package/dist/exports/design-system/components/FileDropZone/README.md +38 -0
- package/dist/exports/design-system/components/FileDropZone/preview.html +19 -0
- package/dist/exports/design-system/components/LineItemGrid/README.md +53 -0
- package/dist/exports/design-system/components/LineItemGrid/preview.html +475 -0
- package/dist/exports/design-system/components/MultiSelect/README.md +8 -2
- package/dist/exports/design-system/components/MultiSelect/preview.html +2 -2
- package/dist/exports/design-system/components/Notice/README.md +6 -2
- package/dist/exports/design-system/components/Notice/preview.html +2 -2
- package/dist/exports/design-system/components/ParameterBar/README.md +68 -0
- package/dist/exports/design-system/components/ParameterBar/preview.html +475 -0
- package/dist/exports/design-system/components/RadioCard/README.md +43 -0
- package/dist/exports/design-system/components/RadioCard/preview.html +19 -0
- package/dist/exports/design-system/components/Shortcuts/README.md +80 -0
- package/dist/exports/design-system/components/Shortcuts/preview.html +19 -0
- package/dist/exports/design-system/components/SourcePreview/README.md +45 -0
- package/dist/exports/design-system/components/SourcePreview/preview.html +19 -0
- package/dist/exports/design-system/components/SplitButton/README.md +2 -1
- package/dist/exports/design-system/components/SplitButton/preview.html +2 -2
- package/dist/exports/design-system/components/StatBand/README.md +34 -0
- package/dist/exports/design-system/components/StatBand/preview.html +475 -0
- package/dist/exports/design-system/components/Stepper/README.md +34 -0
- package/dist/exports/design-system/components/Stepper/preview.html +19 -0
- package/dist/exports/design-system/components/SummaryStrip/README.md +36 -0
- package/dist/exports/design-system/components/SummaryStrip/preview.html +19 -0
- package/dist/exports/design-system/components/Table/README.md +2 -1
- package/dist/exports/design-system/components/Tabs/README.md +2 -1
- package/dist/exports/design-system/components/Tabs/preview.html +1 -1
- package/dist/exports/design-system/components/Text/README.md +29 -0
- package/dist/exports/design-system/components/Text/preview.html +19 -0
- package/dist/exports/design-system/components/bundle.css +2851 -433
- package/dist/exports/design-system/components/bundle.js +7 -7
- package/dist/exports/design-system/components/index.d.ts +7 -24
- package/package.json +2 -2
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# ChecklistNotice
|
|
2
|
+
|
|
3
|
+
The Base UI ChecklistNotice styled by the theme. A Notice with a list of pass/fail rows. The title is subtitle-condense; each row is a mark (check or close) and the label in body-condense, with an optional detail line in the secondary color. Rows are split by a hairline. A passed row's mark is the success color, a failed one's the error color, so the two differ in lightness as well as hue in every theme; the visually hidden "Done" / "Not done" carries the state for assistive tech. look="sheet" (data-look) is the working-paper version, for a check list in a drawer or panel: the sheet surface (sheet.background, sheet.border, sheet.rule on top) with no status tint, the tag and title as a header row over a hairline, 15px rows split by a faint rule, and each mark a 22px filled circle: success-dark with a check, accent-dark with "!". An item's content (the form that resolves it) sits under its row in a box with the accent edge on the tray. The footer is the last row: a dashed info circle and the note in the secondary color.
|
|
4
|
+
|
|
5
|
+
Use `Loomiere.ChecklistNotice` (`import { ChecklistNotice } from '@base-ui/react/checklist-notice'` in an app) and give each part the class below; the styles target those classes, not Base UI's own markup.
|
|
6
|
+
|
|
7
|
+
Base UI docs: https://base-ui.com/react/components/checklist-notice
|
|
8
|
+
|
|
9
|
+
## Classes
|
|
10
|
+
|
|
11
|
+
| Class | Data attributes it answers to |
|
|
12
|
+
|---|---|
|
|
13
|
+
| `ChecklistNotice` | `data-look`: `sheet` |
|
|
14
|
+
| `ChecklistNoticeTitle` | `data-tagged` |
|
|
15
|
+
| `ChecklistNoticeList` | |
|
|
16
|
+
| `ChecklistNoticeItem` | `data-passed` |
|
|
17
|
+
| `ChecklistNoticeRow` | |
|
|
18
|
+
| `ChecklistNoticeContent` | |
|
|
19
|
+
| `ChecklistNoticeMark` | |
|
|
20
|
+
| `ChecklistNoticeText` | |
|
|
21
|
+
| `ChecklistNoticeDetail` | |
|
|
22
|
+
| `ChecklistNoticeFooter` | |
|
|
23
|
+
| `ChecklistNoticeFooterMark` | |
|
|
24
|
+
| `ChecklistNoticeControl` | |
|
|
25
|
+
|
|
26
|
+
Base UI sets the state attributes (`data-checked`, `data-open`, `data-disabled`...) itself. Set `data-size`, `data-emphasis`, `data-variant` and `data-color` yourself; `data-color` takes any palette name (`primary`, `secondary`, `error`...) and repaints the part in it.
|
|
27
|
+
|
|
28
|
+
## Example
|
|
29
|
+
|
|
30
|
+
From the ChecklistNotice stories (`Default`):
|
|
31
|
+
|
|
32
|
+
```tsx
|
|
33
|
+
export const Default: Story = {
|
|
34
|
+
args: {
|
|
35
|
+
title: 'Not ready to post yet',
|
|
36
|
+
items: [
|
|
37
|
+
{ id: 'balanced', label: 'Debits equal credits', passed: true },
|
|
38
|
+
{ id: 'period', label: 'Oct 31, 2026 is in an open period', passed: true },
|
|
39
|
+
{
|
|
40
|
+
id: 'reconciled',
|
|
41
|
+
label: 'Fictional Checking is reconciled through Oct 31',
|
|
42
|
+
passed: false,
|
|
43
|
+
detail: 'It is reconciled through Jul 31. Remove the bank line or reconcile Aug–Oct first.',
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
},
|
|
47
|
+
render: (args) => <ChecklistNotice {...args} style={{ maxWidth: 460 }} />,
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/** Every check passes, so the notice turns success. The footer holds the action the checks unlock. */
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
The preview also shows `Ready`, `Live`, `WithTag`.
|