@md-code/components 0.0.1 → 0.0.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/LICENSE +202 -0
- package/README.md +67 -1
- package/dist/avatar.js +3 -3
- package/dist/badge.js +18 -18
- package/dist/breadcrumbs.js +47 -47
- package/dist/button.js +103 -88
- package/dist/calendar.js +63 -62
- package/dist/caption.js +14 -0
- package/dist/card.js +54 -53
- package/dist/carousel.js +87 -72
- package/dist/central-modal.js +22 -1
- package/dist/chip.js +42 -0
- package/dist/circle-image.js +12 -12
- package/dist/code-preview.js +28 -28
- package/dist/code-view-tokenizer.js +35 -0
- package/dist/code-view.js +53 -53
- package/dist/containers.js +87 -87
- package/dist/diff-legend.js +31 -0
- package/dist/div-input.js +48 -46
- package/dist/empty.js +12 -0
- package/dist/filter-bar.js +15 -0
- package/dist/form-label.js +11 -11
- package/dist/form.js +6 -6
- package/dist/full-screen-modal.js +27 -1
- package/dist/header.js +14 -14
- package/dist/html-editor.js +49 -42
- package/dist/icons.js +24 -26
- package/dist/input.js +40 -40
- package/dist/link.js +25 -25
- package/dist/loading.js +161 -66
- package/dist/modals.js +130 -1
- package/dist/mono-text.js +16 -0
- package/dist/nav-tabs.js +33 -0
- package/dist/page-header.js +20 -0
- package/dist/pagination.js +80 -80
- package/dist/progress-bar.js +19 -19
- package/dist/radio.js +58 -57
- package/dist/report-ui.js +150 -72
- package/dist/row.js +15 -0
- package/dist/score-panel.js +125 -0
- package/dist/score-pills.js +25 -0
- package/dist/search-input.js +62 -56
- package/dist/select.js +86 -83
- package/dist/separator.js +15 -9
- package/dist/slider-field.js +34 -0
- package/dist/stack.js +16 -0
- package/dist/stat-grid.js +10 -0
- package/dist/stat.js +24 -0
- package/dist/status-label.js +32 -28
- package/dist/status-text.js +13 -0
- package/dist/submit.js +41 -41
- package/dist/subtle-text.js +14 -0
- package/dist/surface.js +39 -0
- package/dist/switch.js +70 -69
- package/dist/table.js +109 -85
- package/dist/tabs.js +121 -120
- package/dist/text-checkbox.js +48 -48
- package/dist/text-link.js +20 -0
- package/dist/textarea.js +41 -41
- package/dist/textures.js +100 -100
- package/dist/toasts.js +48 -48
- package/dist/toggle.js +46 -46
- package/dist/token-input-field.js +24 -24
- package/dist/tooltip.js +61 -59
- package/dist/types/atoms/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/types/atoms/Breadcrumbs/styles.d.ts.map +1 -1
- package/dist/types/atoms/Calendar/index.d.ts +1 -1
- package/dist/types/atoms/Calendar/index.d.ts.map +1 -1
- package/dist/types/atoms/Calendar/styles.d.ts.map +1 -1
- package/dist/types/atoms/Caption/index.d.ts +9 -0
- package/dist/types/atoms/Caption/index.d.ts.map +1 -0
- package/dist/types/atoms/Caption/styles.d.ts +9 -0
- package/dist/types/atoms/Caption/styles.d.ts.map +1 -0
- package/dist/types/atoms/CentralModal/index.d.ts.map +1 -1
- package/dist/types/atoms/Chip/index.d.ts +39 -0
- package/dist/types/atoms/Chip/index.d.ts.map +1 -0
- package/dist/types/atoms/Chip/styles.d.ts +19 -0
- package/dist/types/atoms/Chip/styles.d.ts.map +1 -0
- package/dist/types/atoms/CircleImage/index.d.ts +2 -2
- package/dist/types/atoms/CircleImage/index.d.ts.map +1 -1
- package/dist/types/atoms/ConditionalWrapper/index.d.ts +1 -1
- package/dist/types/atoms/ConditionalWrapper/index.d.ts.map +1 -1
- package/dist/types/atoms/Containers/index.d.ts.map +1 -1
- package/dist/types/atoms/Containers/styles.d.ts +4 -4
- package/dist/types/atoms/Containers/styles.d.ts.map +1 -1
- package/dist/types/atoms/DivInput/index.d.ts.map +1 -1
- package/dist/types/atoms/Empty/index.d.ts +10 -0
- package/dist/types/atoms/Empty/index.d.ts.map +1 -0
- package/dist/types/atoms/Empty/styles.d.ts +9 -0
- package/dist/types/atoms/Empty/styles.d.ts.map +1 -0
- package/dist/types/atoms/Form/Form.d.ts +2 -2
- package/dist/types/atoms/Form/Form.d.ts.map +1 -1
- package/dist/types/atoms/Form/index.d.ts +10 -10
- package/dist/types/atoms/Form/index.d.ts.map +1 -1
- package/dist/types/atoms/FormLabel/index.d.ts +1 -1
- package/dist/types/atoms/FormLabel/index.d.ts.map +1 -1
- package/dist/types/atoms/FullScreenModal/index.d.ts.map +1 -1
- package/dist/types/atoms/Header/index.d.ts.map +1 -1
- package/dist/types/atoms/Icons/index.d.ts +29 -8
- package/dist/types/atoms/Icons/index.d.ts.map +1 -1
- package/dist/types/atoms/Input/index.d.ts +1 -1
- package/dist/types/atoms/Input/index.d.ts.map +1 -1
- package/dist/types/atoms/Input/styles.d.ts +2 -2
- package/dist/types/atoms/Input/styles.d.ts.map +1 -1
- package/dist/types/atoms/Link/index.d.ts.map +1 -1
- package/dist/types/atoms/Link/styles.d.ts.map +1 -1
- package/dist/types/atoms/Loading/index.d.ts +10 -4
- package/dist/types/atoms/Loading/index.d.ts.map +1 -1
- package/dist/types/atoms/Loading/styles.d.ts +4 -2
- package/dist/types/atoms/Loading/styles.d.ts.map +1 -1
- package/dist/types/atoms/Logo/index.d.ts.map +1 -1
- package/dist/types/atoms/MonoText/index.d.ts +23 -0
- package/dist/types/atoms/MonoText/index.d.ts.map +1 -0
- package/dist/types/atoms/MonoText/styles.d.ts +13 -0
- package/dist/types/atoms/MonoText/styles.d.ts.map +1 -0
- package/dist/types/atoms/Pagination/index.d.ts.map +1 -1
- package/dist/types/atoms/Pagination/styles.d.ts.map +1 -1
- package/dist/types/atoms/ProgressBar/index.d.ts +2 -2
- package/dist/types/atoms/ProgressBar/index.d.ts.map +1 -1
- package/dist/types/atoms/Radio/index.d.ts +2 -2
- package/dist/types/atoms/Radio/index.d.ts.map +1 -1
- package/dist/types/atoms/Row/index.d.ts +8 -0
- package/dist/types/atoms/Row/index.d.ts.map +1 -0
- package/dist/types/atoms/Row/styles.d.ts +9 -0
- package/dist/types/atoms/Row/styles.d.ts.map +1 -0
- package/dist/types/atoms/Separator/index.d.ts +21 -9
- package/dist/types/atoms/Separator/index.d.ts.map +1 -1
- package/dist/types/atoms/Separator/styles.d.ts +14 -0
- package/dist/types/atoms/Separator/styles.d.ts.map +1 -0
- package/dist/types/atoms/Stack/index.d.ts +17 -0
- package/dist/types/atoms/Stack/index.d.ts.map +1 -0
- package/dist/types/atoms/Stack/styles.d.ts +12 -0
- package/dist/types/atoms/Stack/styles.d.ts.map +1 -0
- package/dist/types/atoms/Stat/index.d.ts +24 -0
- package/dist/types/atoms/Stat/index.d.ts.map +1 -0
- package/dist/types/atoms/Stat/styles.d.ts +19 -0
- package/dist/types/atoms/Stat/styles.d.ts.map +1 -0
- package/dist/types/atoms/StatusText/index.d.ts +17 -0
- package/dist/types/atoms/StatusText/index.d.ts.map +1 -0
- package/dist/types/atoms/StatusText/styles.d.ts +13 -0
- package/dist/types/atoms/StatusText/styles.d.ts.map +1 -0
- package/dist/types/atoms/Submit/index.d.ts +2 -2
- package/dist/types/atoms/Submit/index.d.ts.map +1 -1
- package/dist/types/atoms/SubtleText/index.d.ts +17 -0
- package/dist/types/atoms/SubtleText/index.d.ts.map +1 -0
- package/dist/types/atoms/SubtleText/styles.d.ts +12 -0
- package/dist/types/atoms/SubtleText/styles.d.ts.map +1 -0
- package/dist/types/atoms/Surface/index.d.ts +34 -0
- package/dist/types/atoms/Surface/index.d.ts.map +1 -0
- package/dist/types/atoms/Surface/styles.d.ts +27 -0
- package/dist/types/atoms/Surface/styles.d.ts.map +1 -0
- package/dist/types/atoms/Switch/index.d.ts.map +1 -1
- package/dist/types/atoms/Switch/styles.d.ts.map +1 -1
- package/dist/types/atoms/Tabs/index.d.ts +1 -1
- package/dist/types/atoms/Tabs/index.d.ts.map +1 -1
- package/dist/types/atoms/Tabs/styles.d.ts.map +1 -1
- package/dist/types/atoms/TextCheckbox/index.d.ts +1 -1
- package/dist/types/atoms/TextCheckbox/index.d.ts.map +1 -1
- package/dist/types/atoms/TextLink/index.d.ts +22 -0
- package/dist/types/atoms/TextLink/index.d.ts.map +1 -0
- package/dist/types/atoms/TextLink/styles.d.ts +15 -0
- package/dist/types/atoms/TextLink/styles.d.ts.map +1 -0
- package/dist/types/atoms/Textarea/index.d.ts +1 -1
- package/dist/types/atoms/Textarea/index.d.ts.map +1 -1
- package/dist/types/atoms/Toggle/index.d.ts +1 -1
- package/dist/types/atoms/Toggle/index.d.ts.map +1 -1
- package/dist/types/atoms/Tooltip/index.d.ts.map +1 -1
- package/dist/types/atoms/Tooltip/styles.d.ts.map +1 -1
- package/dist/types/atoms/Typography/index.d.ts +1 -1
- package/dist/types/atoms/Typography/index.d.ts.map +1 -1
- package/dist/types/atoms/Typography/styles.d.ts +8 -4
- package/dist/types/atoms/Typography/styles.d.ts.map +1 -1
- package/dist/types/atoms/Validation/index.d.ts.map +1 -1
- package/dist/types/atoms/Validation/styles.d.ts.map +1 -1
- package/dist/types/atoms/WideImage/index.d.ts +4 -4
- package/dist/types/atoms/WideImage/index.d.ts.map +1 -1
- package/dist/types/molecules/Badge/index.d.ts +1 -1
- package/dist/types/molecules/Badge/index.d.ts.map +1 -1
- package/dist/types/molecules/Button/index.d.ts +1 -1
- package/dist/types/molecules/Button/index.d.ts.map +1 -1
- package/dist/types/molecules/Button/styles.d.ts +2 -2
- package/dist/types/molecules/Button/styles.d.ts.map +1 -1
- package/dist/types/molecules/Card/index.d.ts +2 -2
- package/dist/types/molecules/Card/index.d.ts.map +1 -1
- package/dist/types/molecules/Card/styles.d.ts +1 -1
- package/dist/types/molecules/Card/styles.d.ts.map +1 -1
- package/dist/types/molecules/Carousel/index.d.ts +1 -1
- package/dist/types/molecules/Carousel/index.d.ts.map +1 -1
- package/dist/types/molecules/Carousel/styles.d.ts.map +1 -1
- package/dist/types/molecules/Carousel/useIsMobile.d.ts +3 -0
- package/dist/types/molecules/Carousel/useIsMobile.d.ts.map +1 -0
- package/dist/types/molecules/CodeView/highlight.d.ts.map +1 -1
- package/dist/types/molecules/CodeView/index.d.ts +5 -5
- package/dist/types/molecules/CodeView/index.d.ts.map +1 -1
- package/dist/types/molecules/CodeView/styles.d.ts.map +1 -1
- package/dist/types/molecules/CodeView/tokenizer.d.ts +21 -0
- package/dist/types/molecules/CodeView/tokenizer.d.ts.map +1 -0
- package/dist/types/molecules/DiffLegend/index.d.ts +20 -0
- package/dist/types/molecules/DiffLegend/index.d.ts.map +1 -0
- package/dist/types/molecules/DiffLegend/styles.d.ts +19 -0
- package/dist/types/molecules/DiffLegend/styles.d.ts.map +1 -0
- package/dist/types/molecules/FilterBar/index.d.ts +20 -0
- package/dist/types/molecules/FilterBar/index.d.ts.map +1 -0
- package/dist/types/molecules/FilterBar/styles.d.ts +15 -0
- package/dist/types/molecules/FilterBar/styles.d.ts.map +1 -0
- package/dist/types/molecules/HtmlEditor/index.d.ts.map +1 -1
- package/dist/types/molecules/HtmlEditor/styles.d.ts.map +1 -1
- package/dist/types/molecules/NavTabs/index.d.ts +24 -0
- package/dist/types/molecules/NavTabs/index.d.ts.map +1 -0
- package/dist/types/molecules/NavTabs/styles.d.ts +15 -0
- package/dist/types/molecules/NavTabs/styles.d.ts.map +1 -0
- package/dist/types/molecules/PageHeader/index.d.ts +15 -0
- package/dist/types/molecules/PageHeader/index.d.ts.map +1 -0
- package/dist/types/molecules/PageHeader/styles.d.ts +13 -0
- package/dist/types/molecules/PageHeader/styles.d.ts.map +1 -0
- package/dist/types/molecules/ScorePanel/index.d.ts +70 -0
- package/dist/types/molecules/ScorePanel/index.d.ts.map +1 -0
- package/dist/types/molecules/ScorePanel/styles.d.ts +63 -0
- package/dist/types/molecules/ScorePanel/styles.d.ts.map +1 -0
- package/dist/types/molecules/ScorePills/index.d.ts +25 -0
- package/dist/types/molecules/ScorePills/index.d.ts.map +1 -0
- package/dist/types/molecules/ScorePills/styles.d.ts +8 -0
- package/dist/types/molecules/ScorePills/styles.d.ts.map +1 -0
- package/dist/types/molecules/SearchInput/index.d.ts +2 -2
- package/dist/types/molecules/SearchInput/index.d.ts.map +1 -1
- package/dist/types/molecules/SearchInput/styles.d.ts +5 -5
- package/dist/types/molecules/SearchInput/styles.d.ts.map +1 -1
- package/dist/types/molecules/Select/index.d.ts.map +1 -1
- package/dist/types/molecules/Select/styles.d.ts.map +1 -1
- package/dist/types/molecules/SliderField/index.d.ts +26 -0
- package/dist/types/molecules/SliderField/index.d.ts.map +1 -0
- package/dist/types/molecules/SliderField/styles.d.ts +20 -0
- package/dist/types/molecules/SliderField/styles.d.ts.map +1 -0
- package/dist/types/molecules/StatGrid/index.d.ts +12 -0
- package/dist/types/molecules/StatGrid/index.d.ts.map +1 -0
- package/dist/types/molecules/StatGrid/styles.d.ts +9 -0
- package/dist/types/molecules/StatGrid/styles.d.ts.map +1 -0
- package/dist/types/molecules/StatusLabel/index.d.ts +1 -1
- package/dist/types/molecules/StatusLabel/index.d.ts.map +1 -1
- package/dist/types/molecules/StatusLabel/styles.d.ts.map +1 -1
- package/dist/types/molecules/Table/TableCels/BrandCell.d.ts +1 -1
- package/dist/types/molecules/Table/TableCels/BrandCell.d.ts.map +1 -1
- package/dist/types/molecules/Table/TableCels/ContentCell.d.ts +13 -0
- package/dist/types/molecules/Table/TableCels/ContentCell.d.ts.map +1 -0
- package/dist/types/molecules/Table/TableCels/NavigationCell.d.ts +1 -1
- package/dist/types/molecules/Table/TableCels/NavigationCell.d.ts.map +1 -1
- package/dist/types/molecules/Table/TableCels/StatusCell.d.ts +4 -4
- package/dist/types/molecules/Table/TableCels/StatusCell.d.ts.map +1 -1
- package/dist/types/molecules/Table/TableCels/TextCell.d.ts +3 -3
- package/dist/types/molecules/Table/TableCels/TextCell.d.ts.map +1 -1
- package/dist/types/molecules/Table/TableCels/index.d.ts +7 -6
- package/dist/types/molecules/Table/TableCels/index.d.ts.map +1 -1
- package/dist/types/molecules/Table/TableCels/styles.d.ts +25 -2
- package/dist/types/molecules/Table/TableCels/styles.d.ts.map +1 -1
- package/dist/types/molecules/Table/index.d.ts +16 -5
- package/dist/types/molecules/Table/index.d.ts.map +1 -1
- package/dist/types/molecules/Table/styles.d.ts +11 -1
- package/dist/types/molecules/Table/styles.d.ts.map +1 -1
- package/dist/types/molecules/TokenInputField/index.d.ts.map +1 -1
- package/dist/types/shared/modals/index.d.ts +4 -4
- package/dist/types/shared/modals/index.d.ts.map +1 -1
- package/dist/types/shared/modals/styles.d.ts.map +1 -1
- package/dist/types/shared/modals/useModal.d.ts.map +1 -1
- package/dist/types/shared/report-ui/DecisionPanel.d.ts +1 -1
- package/dist/types/shared/report-ui/DecisionPanel.d.ts.map +1 -1
- package/dist/types/shared/report-ui/DecisionPanel.styles.d.ts.map +1 -1
- package/dist/types/shared/report-ui/Pagination.d.ts +13 -0
- package/dist/types/shared/report-ui/Pagination.d.ts.map +1 -0
- package/dist/types/shared/report-ui/Pagination.styles.d.ts +13 -0
- package/dist/types/shared/report-ui/Pagination.styles.d.ts.map +1 -0
- package/dist/types/shared/report-ui/Shell.styles.d.ts.map +1 -1
- package/dist/types/shared/report-ui/index.d.ts +7 -5
- package/dist/types/shared/report-ui/index.d.ts.map +1 -1
- package/dist/types/shared/report-ui/ui.d.ts +1 -1
- package/dist/types/shared/report-ui/ui.d.ts.map +1 -1
- package/dist/types/shared/report-ui/ui.styles.d.ts.map +1 -1
- package/dist/types/shared/toasts/index.d.ts +2 -2
- package/dist/types/shared/toasts/index.d.ts.map +1 -1
- package/dist/types/textures/Cloud/index.d.ts +4 -4
- package/dist/types/textures/Cloud/index.d.ts.map +1 -1
- package/dist/types/textures/Paper/index.d.ts.map +1 -1
- package/dist/types/textures/index.d.ts +3 -3
- package/dist/types/textures/index.d.ts.map +1 -1
- package/dist/typography.js +71 -70
- package/dist/validation.js +15 -15
- package/dist/wide-image.js +39 -36
- package/package.json +2099 -443
- package/dist/CentralModal-ButM9Ggi.js +0 -159
- package/dist/dist-DD9Lv2Ja.js +0 -130
- package/dist/themes-zS3KQYdw-DIqyzjFD.js +0 -184
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One part row: a fixed label column, the weight bar, the contribution number.
|
|
3
|
+
* Fixed at six section offsets / auto / eight large sizes so every row's track
|
|
4
|
+
* lines up whatever the labels say.
|
|
5
|
+
*/
|
|
6
|
+
export declare const PartRow: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
7
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
8
|
+
}> & string;
|
|
9
|
+
/** The bar's groove: a pill-shaped trough on the zone's overlay layer. */
|
|
10
|
+
export declare const Track: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
11
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
12
|
+
}> & string;
|
|
13
|
+
/**
|
|
14
|
+
* The filled share of the bar; `$applied=false` dims it so a gate that did not
|
|
15
|
+
* fire reads differently from one that did (state, not colour — the ink is still
|
|
16
|
+
* the status's content channel).
|
|
17
|
+
*/
|
|
18
|
+
export declare const Fill: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
19
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
$score: number;
|
|
22
|
+
$status?: string;
|
|
23
|
+
$applied?: boolean;
|
|
24
|
+
}>> & string;
|
|
25
|
+
/** The part's name in its status ink, one weight above body text. */
|
|
26
|
+
export declare const PartLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
27
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
$status?: string;
|
|
30
|
+
}>> & string;
|
|
31
|
+
/** A wrapped row of fact chips under a part row. */
|
|
32
|
+
export declare const FactRow: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
33
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
34
|
+
}> & string;
|
|
35
|
+
/**
|
|
36
|
+
* One fact chip: a monospace key/value pair on an overlay surface, so it reads
|
|
37
|
+
* as data rather than prose (the zone's `text` role is already monospace).
|
|
38
|
+
*/
|
|
39
|
+
export declare const Fact: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
40
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
41
|
+
}> & string;
|
|
42
|
+
/** The list of sentences explaining the score, indented like a quotation. */
|
|
43
|
+
export declare const NoteList: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "style"> & {
|
|
44
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
45
|
+
}> & string;
|
|
46
|
+
/**
|
|
47
|
+
* One sentence; with `$status` it takes that status's content ink, so the reason
|
|
48
|
+
* a high score was rejected stands out from ordinary facts.
|
|
49
|
+
*/
|
|
50
|
+
export declare const Note: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "style"> & {
|
|
51
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
52
|
+
}, {
|
|
53
|
+
$status?: string;
|
|
54
|
+
}>> & string;
|
|
55
|
+
/** The leading mark of the action line, painted in the zone's ok ink. */
|
|
56
|
+
export declare const ActionMark: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
57
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
58
|
+
}> & string;
|
|
59
|
+
/** The action line under the notes: one step of rhythm above the list, one size up. */
|
|
60
|
+
export declare const ActionBlock: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
61
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
62
|
+
}> & string;
|
|
63
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/ScorePanel/styles.ts"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,eAAO,MAAM,OAAO;;WAOnB,CAAC;AAEF,0EAA0E;AAC1E,eAAO,MAAM,KAAK;;WAQjB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,IAAI;;;YAAwB,MAAM;cAAY,MAAM;eAAa,OAAO;YAOpF,CAAC;AAEF,qEAAqE;AACrE,eAAO,MAAM,SAAS;;;cAA2B,MAAM;YAItD,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,OAAO;;WAKnB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,IAAI;;WAShB,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,QAAQ;;WAKpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,IAAI;;;cAAyB,MAAM;YAM/C,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,UAAU;;WAEtB,CAAC;AAEF,uFAAuF;AACvF,eAAO,MAAM,WAAW;;WAGvB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/** One part of a score, as the pill list needs it. */
|
|
3
|
+
export interface ScorePill {
|
|
4
|
+
/** Stable key of the part (the payload's own id). */
|
|
5
|
+
key: string;
|
|
6
|
+
/** Short name drawn inside the pill. */
|
|
7
|
+
label: React.ReactNode;
|
|
8
|
+
/** The part's 0..1 value, printed with two decimals. */
|
|
9
|
+
value: number;
|
|
10
|
+
/** A key of the zone's `colors.status` map painting the pill. */
|
|
11
|
+
status?: string;
|
|
12
|
+
/** The sentence a hover shows: what the part measured. */
|
|
13
|
+
title?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface ScorePillsProps {
|
|
16
|
+
items?: readonly ScorePill[];
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The compact form of a score: one pill per part, each showing the part's short
|
|
20
|
+
* name and its value. It is what a table row can afford, while
|
|
21
|
+
* `molecules/ScorePanel` is the full reading (README §3.2: the same control at
|
|
22
|
+
* two depths, one of them a parameter, not a copy).
|
|
23
|
+
*/
|
|
24
|
+
export declare const ScorePills: ({ items }: ScorePillsProps) => React.JSX.Element;
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/ScorePills/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,sDAAsD;AACtD,MAAM,WAAW,SAAS;IACzB,qDAAqD;IACrD,GAAG,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,wDAAwD;IACxD,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC/B,KAAK,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;CAC7B;AAKD;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,WAAgB,eAAe,sBAazD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The row the pills wrap in: a plain flex line with the inner gap, so the pills
|
|
3
|
+
* break between each other and never inside one.
|
|
4
|
+
*/
|
|
5
|
+
export declare const PillsRow: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
6
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
7
|
+
}> & string;
|
|
8
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/ScorePills/styles.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,QAAQ;;WAKpB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import type { TWithBasicElementOffsets, TFullWidth } from
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { TWithBasicElementOffsets, TFullWidth } from "@md-code/styles";
|
|
3
3
|
export type TSearchInputProps = React.InputHTMLAttributes<HTMLInputElement> & {
|
|
4
4
|
name: string;
|
|
5
5
|
id?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/SearchInput/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/SearchInput/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAI5E,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,GAAG;IAC7E,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC,GAAG,wBAAwB,GAC3B,UAAU,CAAC;AAEZ,QAAA,MAAM,WAAW,GAAI,uFASlB,iBAAiB,sBAqCnB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import type { TWithBasicElementOffsets } from
|
|
1
|
+
import type { TWithBasicElementOffsets } from "@md-code/styles";
|
|
2
2
|
/** The search trigger button inherits the Button look without its own border. */
|
|
3
3
|
export declare const ButtonWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("@md-code/components/button").ButtonProps<import("styled-components").DefaultTheme>, "style"> & {
|
|
4
4
|
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
5
5
|
}> & string & Omit<(<TTheme extends import("styled-components").DefaultTheme = import("styled-components").DefaultTheme>({ icon, iconPosition, iconLeft, iconRight, text, isLoading, children, disabled, className, size, tone, weight, $fullWidth, ...props }: import("@md-code/components/button").ButtonProps<TTheme>) => import("react").JSX.Element), keyof import("react").Component<any, {}, any>>;
|
|
6
6
|
/** The magnifier icon, hidden while the field is open (the cross is shown). */
|
|
7
|
-
export declare const SearchIcon: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react-icons").IconBaseProps, "style"> & {
|
|
7
|
+
export declare const SearchIcon: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react-icons/lib").IconBaseProps, "style"> & {
|
|
8
8
|
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
9
|
-
}> & string & Omit<import("react-icons").IconType, keyof import("react").Component<any, {}, any>>;
|
|
9
|
+
}> & string & Omit<import("react-icons/lib").IconType, keyof import("react").Component<any, {}, any>>;
|
|
10
10
|
/** The close icon, shown only while the field is open. */
|
|
11
|
-
export declare const CrossIcon: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react-icons").IconBaseProps, "style"> & {
|
|
11
|
+
export declare const CrossIcon: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react-icons/lib").IconBaseProps, "style"> & {
|
|
12
12
|
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
13
|
-
}> & string & Omit<import("react-icons").IconType, keyof import("react").Component<any, {}, any>>;
|
|
13
|
+
}> & string & Omit<import("react-icons/lib").IconType, keyof import("react").Component<any, {}, any>>;
|
|
14
14
|
/**
|
|
15
15
|
* The search container: a section surface that expands to full width when
|
|
16
16
|
* open. It borrows the theme's texture, silhouette and section shadow; the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/SearchInput/styles.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/SearchInput/styles.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAGhE,iFAAiF;AACjF,eAAO,MAAM,aAAa;;yYAEzB,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,UAAU;;qGAMtB,CAAC;AAEF,0DAA0D;AAC1D,eAAO,MAAM,SAAS;;qGAErB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;aAAoD,OAAO;YA0ChF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/Select/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAgB3D,MAAM,MAAM,OAAO,GAAG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/Select/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAgB3D,MAAM,MAAM,OAAO,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB,CAAC;AAEF,UAAU,WAAW;IACpB,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA+GjC,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/Select/styles.ts"],"names":[],"mappings":"AAEA,mEAAmE;AACnE,eAAO,MAAM,SAAS;;WAErB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;eAA2B,OAAO;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/Select/styles.ts"],"names":[],"mappings":"AAEA,mEAAmE;AACnE,eAAO,MAAM,SAAS;;WAErB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;eAA2B,OAAO;YAuClE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ;;WA4BpB,CAAC;AAEF,oFAAoF;AACpF,eAAO,MAAM,YAAY;;;kBAA6B,OAAO;YAW5D,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,cAAc;;WAK1B,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,SAAS;;WAGrB,CAAC;AAEF,4DAA4D;AAC5D,eAAO,MAAM,WAAW;;;eAA8B,OAAO;YAO5D,CAAC;AAEF;gEACgE;AAChE,eAAO,MAAM,SAAS;;WAMrB,CAAC;AAEF,wDAAwD;AACxD,eAAO,MAAM,WAAW;;WAEvB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface SliderFieldProps {
|
|
3
|
+
/** The id of the range input; the box is its `<label>`, so the caption names it. */
|
|
4
|
+
id: string;
|
|
5
|
+
/** The caption: any node the screen already styles (`SubtleText`, a token label). */
|
|
6
|
+
label: React.ReactNode;
|
|
7
|
+
/** A key of the zone's `colors.status` map; tints the track's accent. */
|
|
8
|
+
status?: string;
|
|
9
|
+
/** The current value, in `[min, max]`. */
|
|
10
|
+
value: number;
|
|
11
|
+
min: number;
|
|
12
|
+
max: number;
|
|
13
|
+
step: number;
|
|
14
|
+
onChange: (value: number) => void;
|
|
15
|
+
/** The printed value; defaults to the number itself. */
|
|
16
|
+
valueLabel?: React.ReactNode;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* One captioned range input: the caption, the track and its printed value in a
|
|
20
|
+
* single line. It owns the wiring a bare `<input type="range">` lacks — the
|
|
21
|
+
* label/input association, the number the track emits and the text that prints
|
|
22
|
+
* it — and nothing else: the caption node and the value text are the caller's
|
|
23
|
+
* atoms, and the track's accent is the status pair of the nearest zone.
|
|
24
|
+
*/
|
|
25
|
+
export declare const SliderField: ({ id, label, status, value, min, max, step, onChange, valueLabel }: SliderFieldProps) => React.JSX.Element;
|
|
26
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/SliderField/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,gBAAgB;IAChC,oFAAoF;IACpF,EAAE,EAAE,MAAM,CAAC;IACX,qFAAqF;IACrF,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,yEAAyE;IACzE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,wDAAwD;IACxD,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,GAAI,oEAAoE,gBAAgB,sBAe/G,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One captioned range input as a line: the caption, the track and its printed
|
|
3
|
+
* value sit on one baseline row and take the zone's element gap between them.
|
|
4
|
+
* The box is a `<label>`, so clicking the caption focuses the track.
|
|
5
|
+
*/
|
|
6
|
+
export declare const FieldBox: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "style"> & {
|
|
7
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
8
|
+
}> & string;
|
|
9
|
+
/**
|
|
10
|
+
* The track itself: it takes the room the caption and the printed value leave
|
|
11
|
+
* over (`flex: 1 1 auto` with `min-width: 0`, so a long caption or a wide number
|
|
12
|
+
* never pushes it out of the row) and accents itself in the status pair's
|
|
13
|
+
* content ink — the zone's highlight when the control carries no status.
|
|
14
|
+
*/
|
|
15
|
+
export declare const RangeInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
|
|
16
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
$status?: string;
|
|
19
|
+
}>> & string;
|
|
20
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/SliderField/styles.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;WAIpB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,UAAU;;;cAA4B,MAAM;YAKxD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface StatGridProps {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* The wrapper that turns a list of `atoms/Stat` cells into one strip: an
|
|
7
|
+
* auto-fitting grid so the same markup reads as four columns on a wide page and
|
|
8
|
+
* as two on a narrow one, without a media query (README §1: breakpoints are
|
|
9
|
+
* `MediaProvider`'s business, not a component's).
|
|
10
|
+
*/
|
|
11
|
+
export declare const StatGrid: ({ children }: StatGridProps) => React.JSX.Element;
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/StatGrid/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,aAAa;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,GAAI,cAAc,aAAa,sBAA0C,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The strip of stat cells: as many columns as fit, each at least seven section
|
|
3
|
+
* offsets wide (a number plus its caption), and never wider than one line of
|
|
4
|
+
* numbers. The gap is the zone's inner gap so the cells read as one block.
|
|
5
|
+
*/
|
|
6
|
+
export declare const StatGridBox: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
7
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
8
|
+
}> & string;
|
|
9
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/StatGrid/styles.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,WAAW;;WAIvB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { StatusKeyOf } from "@md/styles";
|
|
2
|
+
import type { StatusKeyOf } from "@md-code/styles";
|
|
3
3
|
import type { DefaultTheme } from "styled-components";
|
|
4
4
|
/**
|
|
5
5
|
* Legacy `state` vocabulary mapped to the closest contract status key. The key
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/StatusLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/StatusLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGtD;;;;;GAKG;AACH,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;CAMT,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,aAAa,CAAC;AAE1D,MAAM,WAAW,gBAAgB,CAAC,MAAM,SAAS,YAAY,GAAG,YAAY;IAC3E,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,+EAA+E;IAC/E,KAAK,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAAC;CAClC;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,GAAI,MAAM,SAAS,YAAY,GAAG,YAAY,EAAE,uCAKrE,gBAAgB,CAAC,MAAM,CAAC,sBAqB1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/StatusLabel/styles.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;cAA0B,MAAM;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/StatusLabel/styles.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;cAA0B,MAAM;YAe1D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS;;WAgBrB,CAAC"}
|
|
@@ -2,7 +2,7 @@ type TBrandCellProps = {
|
|
|
2
2
|
text: string;
|
|
3
3
|
src: string;
|
|
4
4
|
alt?: string;
|
|
5
|
-
align?:
|
|
5
|
+
align?: "center" | "left" | "right";
|
|
6
6
|
};
|
|
7
7
|
declare const BrandCell: ({ text, src, alt, align }: TBrandCellProps) => import("react").JSX.Element;
|
|
8
8
|
export default BrandCell;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrandCell.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/BrandCell.tsx"],"names":[],"mappings":"AAKA,KAAK,eAAe,GAAG;
|
|
1
|
+
{"version":3,"file":"BrandCell.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/BrandCell.tsx"],"names":[],"mappings":"AAKA,KAAK,eAAe,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;CACpC,CAAC;AAEF,QAAA,MAAM,SAAS,GAAI,2BAA2B,eAAe,gCAO5D,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
interface ContentCellProps {
|
|
4
|
+
/** What the cell shows: an atom, a line of text, a fragment of the design system. */
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
align?: "left" | "center" | "right";
|
|
7
|
+
/** Stretch the cell across every column of the row (a placeholder, a message). */
|
|
8
|
+
$spanAll?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/** A cell of a table row: the caller decides what goes in it. */
|
|
11
|
+
declare const ContentCell: ({ children, align, $spanAll }: ContentCellProps) => React.JSX.Element;
|
|
12
|
+
export default ContentCell;
|
|
13
|
+
//# sourceMappingURL=ContentCell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentCell.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/ContentCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,gBAAgB;IACzB,qFAAqF;IACrF,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,kFAAkF;IAClF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,iEAAiE;AACjE,QAAA,MAAM,WAAW,GAAI,+BAA+B,gBAAgB,sBAMnE,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
type TNavigationCellProps = {
|
|
2
2
|
text: string;
|
|
3
3
|
link: string;
|
|
4
|
-
align?:
|
|
4
|
+
align?: "center" | "left" | "right";
|
|
5
5
|
};
|
|
6
6
|
declare const NavigationCell: ({ text, link, align }: TNavigationCellProps) => import("react").JSX.Element;
|
|
7
7
|
export default NavigationCell;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationCell.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/NavigationCell.tsx"],"names":[],"mappings":"AAIA,KAAK,oBAAoB,GAAG;
|
|
1
|
+
{"version":3,"file":"NavigationCell.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/NavigationCell.tsx"],"names":[],"mappings":"AAIA,KAAK,oBAAoB,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;CACpC,CAAC;AAEF,QAAA,MAAM,cAAc,GAAI,uBAAuB,oBAAoB,gCAQlE,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import type { StatusLabelProps } from
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { StatusLabelProps } from "@md-code/components/status-label";
|
|
3
3
|
interface StatusCellProps extends StatusLabelProps {
|
|
4
|
-
align?:
|
|
5
|
-
status?: StatusLabelProps[
|
|
4
|
+
align?: "center" | "left" | "right";
|
|
5
|
+
status?: StatusLabelProps["state"];
|
|
6
6
|
}
|
|
7
7
|
declare const StatusCell: ({ status, align, ...props }: StatusCellProps) => React.JSX.Element;
|
|
8
8
|
export default StatusCell;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusCell.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/StatusCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAGzE,UAAU,eAAgB,SAAQ,gBAAgB;
|
|
1
|
+
{"version":3,"file":"StatusCell.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/StatusCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAGzE,UAAU,eAAgB,SAAQ,gBAAgB;IACjD,KAAK,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAEpC,MAAM,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;CACnC;AAED,QAAA,MAAM,UAAU,GAAI,6BAA6B,eAAe,sBAS/D,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from "react";
|
|
2
2
|
interface TextCellProps {
|
|
3
3
|
text: string | number | React.ReactNode;
|
|
4
|
-
align?:
|
|
5
|
-
weight?:
|
|
4
|
+
align?: "left" | "center" | "right";
|
|
5
|
+
weight?: "bold" | "regular";
|
|
6
6
|
}
|
|
7
7
|
declare const TextCell: React.FC<TextCellProps>;
|
|
8
8
|
export default TextCell;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextCell.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/TextCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,aAAa;
|
|
1
|
+
{"version":3,"file":"TextCell.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/TextCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,aAAa;IACtB,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAYrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { default as TextCell } from
|
|
2
|
-
export { default as StatusCell } from
|
|
3
|
-
export { default as NavigationCell } from
|
|
4
|
-
export { default as BrandCell } from
|
|
5
|
-
export { default as
|
|
6
|
-
export { default as
|
|
1
|
+
export { default as TextCell } from "./TextCell.js";
|
|
2
|
+
export { default as StatusCell } from "./StatusCell.js";
|
|
3
|
+
export { default as NavigationCell } from "./NavigationCell.js";
|
|
4
|
+
export { default as BrandCell } from "./BrandCell.js";
|
|
5
|
+
export { default as ContentCell } from "./ContentCell.js";
|
|
6
|
+
export { default as BoldTextDisplayCell } from "./TextCell.js";
|
|
7
|
+
export { default as TextDisplayCell } from "./TextCell.js";
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,sBAAmB;AACjD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,wBAAqB;AACrD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,4BAAyB;AAC7D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,uBAAoB;AACnD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,yBAAsB;AAGvD,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,sBAAmB;AAC5D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,sBAAmB"}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A body cell: content on the table's section surface.
|
|
3
|
-
*
|
|
2
|
+
* A body cell: content on the table's section surface. The cell arranges, it
|
|
3
|
+
* does not paint: a link atom inside keeps its own ink (its rule would
|
|
4
|
+
* otherwise lose to this cell's descendant selector), and the underline alone
|
|
5
|
+
* marks it. The cell's type stays the page's own unless the grid is a dense one
|
|
6
|
+
* (the block below), so a table that says nothing about its rhythm reads as body
|
|
7
|
+
* text.
|
|
4
8
|
*/
|
|
5
9
|
export declare const StyledTextCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
6
10
|
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
7
11
|
}, {
|
|
8
12
|
$align?: "left" | "center" | "right";
|
|
13
|
+
$spanAll?: boolean;
|
|
9
14
|
}>> & string;
|
|
10
15
|
/** A header cell: section content, underlined with the section content colour. */
|
|
11
16
|
export declare const StyledHeaderCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "style"> & {
|
|
@@ -13,11 +18,29 @@ export declare const StyledHeaderCell: import("styled-components/dist/types").IS
|
|
|
13
18
|
}, {
|
|
14
19
|
$align?: "left" | "center" | "right";
|
|
15
20
|
}>> & string;
|
|
21
|
+
/**
|
|
22
|
+
* The header cell of a table with `stickyHeader`: it rides with the page scroll.
|
|
23
|
+
* Its layer is the named `overlay` layer — it covers the page content while it
|
|
24
|
+
* is pinned, and stays under the `alert` layer.
|
|
25
|
+
*/
|
|
26
|
+
export declare const StickyHeaderCell: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "style"> & {
|
|
27
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
$align?: "left" | "center" | "right";
|
|
30
|
+
}>, "as" | "forwardedAs"> & {
|
|
31
|
+
as?: import("styled-components").WebTarget | undefined;
|
|
32
|
+
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
33
|
+
}, "style"> & {
|
|
34
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | (import("react").CSSProperties & {
|
|
35
|
+
[key: `--${string}`]: string | number | undefined;
|
|
36
|
+
}) | undefined;
|
|
37
|
+
}> & string;
|
|
16
38
|
/** A text cell that truncates to a single line with an ellipsis. */
|
|
17
39
|
export declare const OneLineCell: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
18
40
|
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
19
41
|
}, {
|
|
20
42
|
$align?: "left" | "center" | "right";
|
|
43
|
+
$spanAll?: boolean;
|
|
21
44
|
}>, "as" | "forwardedAs"> & {
|
|
22
45
|
as?: import("styled-components").WebTarget | undefined;
|
|
23
46
|
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/styles.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc;;;aAAyB,MAAM,GAAG,QAAQ,GAAG,OAAO;eAAa,OAAO;YAuBlG,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,gBAAgB;;;aAAwB,MAAM,GAAG,QAAQ,GAAG,OAAO;YAM/E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;;aAbwB,MAAM,GAAG,QAAQ,GAAG,OAAO;;;;;;;;WAiB/E,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,WAAW;;;aA9C4B,MAAM,GAAG,QAAQ,GAAG,OAAO;eAAa,OAAO;;;;;;;;WAmDlG,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import type { ReactNode } from
|
|
2
|
-
import React from
|
|
3
|
-
import type { TOption } from
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import type { TOption } from "@md-code/components/select";
|
|
4
|
+
/** The cells are the table's own public surface: a row is built from them. */
|
|
5
|
+
export { ContentCell } from "./TableCels/index.js";
|
|
4
6
|
interface HeaderColumn {
|
|
5
7
|
text: string;
|
|
6
|
-
align?:
|
|
8
|
+
align?: "left" | "center" | "right";
|
|
7
9
|
sort?: () => void;
|
|
8
10
|
isSortable?: boolean;
|
|
9
11
|
}
|
|
@@ -20,8 +22,17 @@ type TTableContainerProps = {
|
|
|
20
22
|
};
|
|
21
23
|
headerCols?: HeaderColumn[];
|
|
22
24
|
colsTemplate: string;
|
|
25
|
+
/** Put the grid in its own horizontal scroll box, so a wide table never breaks its panel. */
|
|
26
|
+
scroll?: boolean;
|
|
27
|
+
/** Ride the header at the top of the scroll box while the body scrolls. */
|
|
28
|
+
stickyHeader?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* The row rhythm: `regular` is the page's body size, `small` the dense table
|
|
31
|
+
* a long list uses (tighter cells, the zone's regular type step).
|
|
32
|
+
*/
|
|
33
|
+
size?: "regular" | "small";
|
|
23
34
|
children: ReactNode;
|
|
24
35
|
};
|
|
25
|
-
declare const TableContainer: ({ children, headerCols, colsTemplate, pagination, rowsPerPage }: TTableContainerProps) => React.JSX.Element;
|
|
36
|
+
declare const TableContainer: ({ children, headerCols, colsTemplate, pagination, rowsPerPage, scroll, stickyHeader, size, }: TTableContainerProps) => React.JSX.Element;
|
|
26
37
|
export default TableContainer;
|
|
27
38
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/Table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/Table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAO1D,8EAA8E;AAC9E,OAAO,EAAE,WAAW,EAAE,6BAA0B;AAEhD,UAAU,YAAY;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,KAAK,oBAAoB,GAAG;IAC3B,UAAU,CAAC,EAAE;QACZ,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;KACtC,CAAC;IACF,WAAW,CAAC,EAAE;QACb,OAAO,EAAE,OAAO,EAAE,CAAC;QACnB,OAAO,EAAE,MAAM,CAAC;QAChB,qBAAqB,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;KACzD,CAAC;IACF,UAAU,CAAC,EAAE,YAAY,EAAE,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,6FAA6F;IAC7F,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,2EAA2E;IAC3E,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAC3B,QAAQ,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,cAAc,GAAI,8FASrB,oBAAoB,sBA+CtB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The scroll box a table with `scroll` sits in: a wide grid scrolls sideways
|
|
3
|
+
* instead of breaking its panel.
|
|
4
|
+
*/
|
|
5
|
+
export declare const Scroll: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
6
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
7
|
+
}> & string;
|
|
1
8
|
/**
|
|
2
9
|
* The table grid. Header and rows are all sections of the page, so the header
|
|
3
10
|
* gets no different fill: separation comes from borders drawn in the section's
|
|
4
|
-
* own content colour, not from a raised surface (wave decision В3).
|
|
11
|
+
* own content colour, not from a raised surface (wave decision В3). A dense
|
|
12
|
+
* table renders it with `data-size="small"`: the cells read that attribute to
|
|
13
|
+
* tighten themselves (see TableCels/styles), so the rhythm is declared once by
|
|
14
|
+
* the table and every cell — a component of its own — follows.
|
|
5
15
|
*/
|
|
6
16
|
export declare const Grid: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
7
17
|
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/Table/styles.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/Table/styles.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,MAAM;;WAElB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,IAAI;;;mBAA+B,MAAM;YAiDrD,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,mBAAmB;;WAM/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/TokenInputField/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,UAAU,oBAAoB;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/TokenInputField/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,UAAU,oBAAoB;IAC7B,KAAK,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAmCnD,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -26,8 +26,8 @@ export declare const ModalProvider: React.FC<{
|
|
|
26
26
|
children: React.ReactNode;
|
|
27
27
|
}>;
|
|
28
28
|
export { ModalContext };
|
|
29
|
-
export { CentralModal } from
|
|
30
|
-
export { FullScreenModal } from
|
|
31
|
-
export { useModal } from
|
|
32
|
-
export * from
|
|
29
|
+
export { CentralModal } from "@md-code/components/central-modal";
|
|
30
|
+
export { FullScreenModal } from "@md-code/components/full-screen-modal";
|
|
31
|
+
export { useModal } from "./useModal.js";
|
|
32
|
+
export * from "./styles.js";
|
|
33
33
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../shared/modals/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../shared/modals/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,sBAAmB;AAE1C,MAAM,WAAW,YAAY;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,CAEL,OAAO,CAAC,EAAE,MAAM,OAAO,EACvB,UAAU,CAAC,EAAE,OAAO,KAChB,KAAK,CAAC,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,KAAK,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC;CAChF;AAED,MAAM,MAAM,eAAe,GAAG;IAC7B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB,GAAG,IAAI,CAAC;AAET,MAAM,MAAM,UAAU,GAAG;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB,GAAG,IAAI,CAAC;AAET,MAAM,MAAM,iBAAiB,GAAG;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;CAC9B,GAAG,IAAI,CAAC;AAET,MAAM,WAAW,gBAAgB;IAChC,gBAAgB,EAAE,iBAAiB,CAAC;IACpC,mBAAmB,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACvD,SAAS,EAAE,UAAU,CAAC;IACtB,YAAY,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACzC,cAAc,EAAE,eAAe,CAAC;IAChC,iBAAiB,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;CACnD;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAejE,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,sBAAmB;AACtC,4BAAyB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../shared/modals/styles.ts"],"names":[],"mappings":"AAIA,iFAAiF;AACjF,eAAO,MAAM,MAAM,2DAGlB,CAAC;AAEF,gDAAgD;AAChD,eAAO,MAAM,OAAO,2DAGnB,CAAC;AAEF,8DAA8D;AAC9D,eAAO,MAAM,YAAY,2DAGxB,CAAC;AAEF,8DAA8D;AAC9D,eAAO,MAAM,aAAa,2DAGzB,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,eAAe,2DAI3B,CAAC;AAEF,kEAAkE;AAClE,eAAO,MAAM,iBAAiB,2DAI7B,CAAC;AAkBF;;;;GAIG;AACH,eAAO,MAAM,OAAO;;;gBAA4B,OAAO;YAOtD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;gBAA4B,OAAO;kBAAgB,OAAO;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../shared/modals/styles.ts"],"names":[],"mappings":"AAIA,iFAAiF;AACjF,eAAO,MAAM,MAAM,2DAGlB,CAAC;AAEF,gDAAgD;AAChD,eAAO,MAAM,OAAO,2DAGnB,CAAC;AAEF,8DAA8D;AAC9D,eAAO,MAAM,YAAY,2DAGxB,CAAC;AAEF,8DAA8D;AAC9D,eAAO,MAAM,aAAa,2DAGzB,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,eAAe,2DAI3B,CAAC;AAEF,kEAAkE;AAClE,eAAO,MAAM,iBAAiB,2DAI7B,CAAC;AAkBF;;;;GAIG;AACH,eAAO,MAAM,OAAO;;;gBAA4B,OAAO;YAOtD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;gBAA4B,OAAO;kBAAgB,OAAO;YA4CpF,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,WAAW;;WAOvB,CAAC;AAEF,mEAAmE;AACnE,eAAO,MAAM,qBAAqB;;WAQjC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW;;WAkBvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useModal.d.ts","sourceRoot":"","sources":["../../../../shared/modals/useModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"useModal.d.ts","sourceRoot":"","sources":["../../../../shared/modals/useModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAgB;AAEhD,eAAO,MAAM,YAAY,uDAAyD,CAAC;AAEnF,eAAO,MAAM,QAAQ,wBAMpB,CAAC"}
|
|
@@ -49,5 +49,5 @@ export interface DecisionPanelProps {
|
|
|
49
49
|
accent?: string;
|
|
50
50
|
}
|
|
51
51
|
/** The verdict panel: every signal's score/weight/share, its evidence and why. */
|
|
52
|
-
export declare const DecisionPanel: ({ decision, fix, title, accent
|
|
52
|
+
export declare const DecisionPanel: ({ decision, fix, title, accent }: DecisionPanelProps) => React.JSX.Element | null;
|
|
53
53
|
//# sourceMappingURL=DecisionPanel.d.ts.map
|