@md-code/components 0.0.0-stage → 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/CHANGELOG.md +12 -0
- package/LICENSE +202 -0
- package/README.md +77 -2
- package/dist/assets/favicon.ico +0 -0
- package/dist/assets/logo.png +0 -0
- package/dist/atoms/Loading/ouroboros.svg +41 -0
- package/dist/atoms/Logo/logo.jpg +0 -0
- package/dist/avatar.js +8 -0
- package/dist/badge.js +25 -0
- package/dist/breadcrumbs.js +60 -0
- package/dist/button.js +203 -0
- package/dist/calendar.js +101 -0
- package/dist/caption.js +14 -0
- package/dist/card.js +82 -0
- package/dist/carousel.js +125 -0
- package/dist/central-modal.js +22 -0
- package/dist/chip.js +42 -0
- package/dist/circle-image.js +22 -0
- package/dist/code-preview.js +38 -0
- package/dist/code-view-tokenizer.js +35 -0
- package/dist/code-view.js +96 -0
- package/dist/conditional-wrapper.js +5 -0
- package/dist/containers.js +115 -0
- package/dist/diff-legend.js +31 -0
- package/dist/div-input.js +103 -0
- package/dist/empty.js +12 -0
- package/dist/filter-bar.js +15 -0
- package/dist/form-label.js +19 -0
- package/dist/form.js +17 -0
- package/dist/full-screen-modal.js +27 -0
- package/dist/header.js +19 -0
- package/dist/html-editor.js +81 -0
- package/dist/icons.js +42 -0
- package/dist/input.js +62 -0
- package/dist/link.js +35 -0
- package/dist/loading.js +182 -0
- package/dist/logo.js +12 -0
- package/dist/modals.js +130 -0
- package/dist/molecules/Carousel/arrow.svg +5 -0
- package/dist/molecules/Select/arrow_down.svg +3 -0
- 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 +119 -0
- package/dist/progress-bar.js +26 -0
- package/dist/radio.js +73 -0
- package/dist/report-ui.js +358 -0
- 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 +84 -0
- package/dist/select.js +164 -0
- package/dist/separator.js +16 -0
- 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 +63 -0
- package/dist/status-text.js +13 -0
- package/dist/submit.js +57 -0
- package/dist/subtle-text.js +14 -0
- package/dist/surface.js +39 -0
- package/dist/switch.js +99 -0
- package/dist/table.js +132 -0
- package/dist/tabs.js +156 -0
- package/dist/text-checkbox.js +64 -0
- package/dist/text-link.js +20 -0
- package/dist/textarea.js +56 -0
- package/dist/textures/Cloud/clouds.svg +52 -0
- package/dist/textures.js +170 -0
- package/dist/toasts.js +79 -0
- package/dist/toggle.js +66 -0
- package/dist/token-input-field.js +56 -0
- package/dist/tooltip.js +95 -0
- package/dist/types/atoms/Avatar/index.d.ts +6 -0
- package/dist/types/atoms/Avatar/index.d.ts.map +1 -0
- package/dist/types/atoms/Breadcrumbs/index.d.ts +10 -0
- package/dist/types/atoms/Breadcrumbs/index.d.ts.map +1 -0
- package/dist/types/atoms/Breadcrumbs/styles.d.ts +95 -0
- package/dist/types/atoms/Breadcrumbs/styles.d.ts.map +1 -0
- package/dist/types/atoms/Calendar/index.d.ts +4 -0
- package/dist/types/atoms/Calendar/index.d.ts.map +1 -0
- package/dist/types/atoms/Calendar/styles.d.ts +12 -0
- package/dist/types/atoms/Calendar/styles.d.ts.map +1 -0
- 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 +3 -0
- package/dist/types/atoms/CentralModal/index.d.ts.map +1 -0
- 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 +13 -0
- package/dist/types/atoms/CircleImage/index.d.ts.map +1 -0
- package/dist/types/atoms/CodePreview/index.d.ts +23 -0
- package/dist/types/atoms/CodePreview/index.d.ts.map +1 -0
- package/dist/types/atoms/ConditionalWrapper/index.d.ts +8 -0
- package/dist/types/atoms/ConditionalWrapper/index.d.ts.map +1 -0
- package/dist/types/atoms/Containers/index.d.ts +3 -0
- package/dist/types/atoms/Containers/index.d.ts.map +1 -0
- package/dist/types/atoms/Containers/styles.d.ts +87 -0
- package/dist/types/atoms/Containers/styles.d.ts.map +1 -0
- package/dist/types/atoms/DivInput/index.d.ts +18 -0
- package/dist/types/atoms/DivInput/index.d.ts.map +1 -0
- 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 +15 -0
- package/dist/types/atoms/Form/Form.d.ts.map +1 -0
- package/dist/types/atoms/Form/index.d.ts +13 -0
- package/dist/types/atoms/Form/index.d.ts.map +1 -0
- package/dist/types/atoms/FormLabel/index.d.ts +13 -0
- package/dist/types/atoms/FormLabel/index.d.ts.map +1 -0
- package/dist/types/atoms/FullScreenModal/index.d.ts +3 -0
- package/dist/types/atoms/FullScreenModal/index.d.ts.map +1 -0
- package/dist/types/atoms/Header/index.d.ts +3 -0
- package/dist/types/atoms/Header/index.d.ts.map +1 -0
- package/dist/types/atoms/Header/styles.d.ts +18 -0
- package/dist/types/atoms/Header/styles.d.ts.map +1 -0
- package/dist/types/atoms/Icons/index.d.ts +49 -0
- package/dist/types/atoms/Icons/index.d.ts.map +1 -0
- package/dist/types/atoms/Input/index.d.ts +3 -0
- package/dist/types/atoms/Input/index.d.ts.map +1 -0
- package/dist/types/atoms/Input/styles.d.ts +20 -0
- package/dist/types/atoms/Input/styles.d.ts.map +1 -0
- package/dist/types/atoms/Link/index.d.ts +3 -0
- package/dist/types/atoms/Link/index.d.ts.map +1 -0
- package/dist/types/atoms/Link/styles.d.ts +133 -0
- package/dist/types/atoms/Link/styles.d.ts.map +1 -0
- package/dist/types/atoms/Loading/index.d.ts +27 -0
- package/dist/types/atoms/Loading/index.d.ts.map +1 -0
- package/dist/types/atoms/Loading/styles.d.ts +31 -0
- package/dist/types/atoms/Loading/styles.d.ts.map +1 -0
- package/dist/types/atoms/Logo/index.d.ts +3 -0
- package/dist/types/atoms/Logo/index.d.ts.map +1 -0
- 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 +9 -0
- package/dist/types/atoms/Pagination/index.d.ts.map +1 -0
- package/dist/types/atoms/Pagination/styles.d.ts +38 -0
- package/dist/types/atoms/Pagination/styles.d.ts.map +1 -0
- package/dist/types/atoms/ProgressBar/index.d.ts +13 -0
- package/dist/types/atoms/ProgressBar/index.d.ts.map +1 -0
- package/dist/types/atoms/Radio/index.d.ts +12 -0
- package/dist/types/atoms/Radio/index.d.ts.map +1 -0
- 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 +24 -0
- package/dist/types/atoms/Separator/index.d.ts.map +1 -0
- 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 +10 -0
- package/dist/types/atoms/Submit/index.d.ts.map +1 -0
- 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 +12 -0
- package/dist/types/atoms/Switch/index.d.ts.map +1 -0
- package/dist/types/atoms/Switch/styles.d.ts +31 -0
- package/dist/types/atoms/Switch/styles.d.ts.map +1 -0
- package/dist/types/atoms/Tabs/index.d.ts +18 -0
- package/dist/types/atoms/Tabs/index.d.ts.map +1 -0
- package/dist/types/atoms/Tabs/styles.d.ts +40 -0
- package/dist/types/atoms/Tabs/styles.d.ts.map +1 -0
- package/dist/types/atoms/TextCheckbox/index.d.ts +9 -0
- package/dist/types/atoms/TextCheckbox/index.d.ts.map +1 -0
- 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 +19 -0
- package/dist/types/atoms/Textarea/index.d.ts.map +1 -0
- package/dist/types/atoms/Toggle/index.d.ts +16 -0
- package/dist/types/atoms/Toggle/index.d.ts.map +1 -0
- package/dist/types/atoms/Toggle/styles.d.ts +32 -0
- package/dist/types/atoms/Toggle/styles.d.ts.map +1 -0
- package/dist/types/atoms/Tooltip/index.d.ts +15 -0
- package/dist/types/atoms/Tooltip/index.d.ts.map +1 -0
- package/dist/types/atoms/Tooltip/styles.d.ts +24 -0
- package/dist/types/atoms/Tooltip/styles.d.ts.map +1 -0
- package/dist/types/atoms/Typography/index.d.ts +3 -0
- package/dist/types/atoms/Typography/index.d.ts.map +1 -0
- package/dist/types/atoms/Typography/styles.d.ts +72 -0
- package/dist/types/atoms/Typography/styles.d.ts.map +1 -0
- package/dist/types/atoms/Validation/index.d.ts +9 -0
- package/dist/types/atoms/Validation/index.d.ts.map +1 -0
- package/dist/types/atoms/Validation/styles.d.ts +23 -0
- package/dist/types/atoms/Validation/styles.d.ts.map +1 -0
- package/dist/types/atoms/WideImage/index.d.ts +26 -0
- package/dist/types/atoms/WideImage/index.d.ts.map +1 -0
- package/dist/types/molecules/Badge/index.d.ts +25 -0
- package/dist/types/molecules/Badge/index.d.ts.map +1 -0
- package/dist/types/molecules/Button/index.d.ts +31 -0
- package/dist/types/molecules/Button/index.d.ts.map +1 -0
- package/dist/types/molecules/Button/styles.d.ts +15 -0
- package/dist/types/molecules/Button/styles.d.ts.map +1 -0
- package/dist/types/molecules/Card/index.d.ts +16 -0
- package/dist/types/molecules/Card/index.d.ts.map +1 -0
- package/dist/types/molecules/Card/styles.d.ts +70 -0
- package/dist/types/molecules/Card/styles.d.ts.map +1 -0
- package/dist/types/molecules/Carousel/index.d.ts +13 -0
- package/dist/types/molecules/Carousel/index.d.ts.map +1 -0
- package/dist/types/molecules/Carousel/styles.d.ts +31 -0
- package/dist/types/molecules/Carousel/styles.d.ts.map +1 -0
- 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 +11 -0
- package/dist/types/molecules/CodeView/highlight.d.ts.map +1 -0
- package/dist/types/molecules/CodeView/index.d.ts +58 -0
- package/dist/types/molecules/CodeView/index.d.ts.map +1 -0
- package/dist/types/molecules/CodeView/styles.d.ts +44 -0
- package/dist/types/molecules/CodeView/styles.d.ts.map +1 -0
- 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 +16 -0
- package/dist/types/molecules/HtmlEditor/index.d.ts.map +1 -0
- package/dist/types/molecules/HtmlEditor/styles.d.ts +12 -0
- package/dist/types/molecules/HtmlEditor/styles.d.ts.map +1 -0
- 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 +11 -0
- package/dist/types/molecules/SearchInput/index.d.ts.map +1 -0
- package/dist/types/molecules/SearchInput/styles.d.ts +24 -0
- package/dist/types/molecules/SearchInput/styles.d.ts.map +1 -0
- package/dist/types/molecules/Select/index.d.ts +18 -0
- package/dist/types/molecules/Select/index.d.ts.map +1 -0
- package/dist/types/molecules/Select/styles.d.ts +51 -0
- package/dist/types/molecules/Select/styles.d.ts.map +1 -0
- 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 +51 -0
- package/dist/types/molecules/StatusLabel/index.d.ts.map +1 -0
- package/dist/types/molecules/StatusLabel/styles.d.ts +18 -0
- package/dist/types/molecules/StatusLabel/styles.d.ts.map +1 -0
- package/dist/types/molecules/Table/TableCels/BrandCell.d.ts +9 -0
- package/dist/types/molecules/Table/TableCels/BrandCell.d.ts.map +1 -0
- 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 +8 -0
- package/dist/types/molecules/Table/TableCels/NavigationCell.d.ts.map +1 -0
- package/dist/types/molecules/Table/TableCels/StatusCell.d.ts +9 -0
- package/dist/types/molecules/Table/TableCels/StatusCell.d.ts.map +1 -0
- package/dist/types/molecules/Table/TableCels/TextCell.d.ts +9 -0
- package/dist/types/molecules/Table/TableCels/TextCell.d.ts.map +1 -0
- package/dist/types/molecules/Table/TableCels/index.d.ts +8 -0
- package/dist/types/molecules/Table/TableCels/index.d.ts.map +1 -0
- package/dist/types/molecules/Table/TableCels/styles.d.ts +52 -0
- package/dist/types/molecules/Table/TableCels/styles.d.ts.map +1 -0
- package/dist/types/molecules/Table/index.d.ts +38 -0
- package/dist/types/molecules/Table/index.d.ts.map +1 -0
- package/dist/types/molecules/Table/styles.d.ts +25 -0
- package/dist/types/molecules/Table/styles.d.ts.map +1 -0
- package/dist/types/molecules/TokenInputField/index.d.ts +15 -0
- package/dist/types/molecules/TokenInputField/index.d.ts.map +1 -0
- package/dist/types/molecules/TokenInputField/styles.d.ts +24 -0
- package/dist/types/molecules/TokenInputField/styles.d.ts.map +1 -0
- package/dist/types/shared/modals/index.d.ts +33 -0
- package/dist/types/shared/modals/index.d.ts.map +1 -0
- package/dist/types/shared/modals/styles.d.ts +52 -0
- package/dist/types/shared/modals/styles.d.ts.map +1 -0
- package/dist/types/shared/modals/useModal.d.ts +4 -0
- package/dist/types/shared/modals/useModal.d.ts.map +1 -0
- package/dist/types/shared/report-ui/DecisionPanel.d.ts +53 -0
- package/dist/types/shared/report-ui/DecisionPanel.d.ts.map +1 -0
- package/dist/types/shared/report-ui/DecisionPanel.styles.d.ts +31 -0
- package/dist/types/shared/report-ui/DecisionPanel.styles.d.ts.map +1 -0
- 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 +26 -0
- package/dist/types/shared/report-ui/Shell.styles.d.ts.map +1 -0
- package/dist/types/shared/report-ui/index.d.ts +8 -0
- package/dist/types/shared/report-ui/index.d.ts.map +1 -0
- package/dist/types/shared/report-ui/ui.d.ts +30 -0
- package/dist/types/shared/report-ui/ui.d.ts.map +1 -0
- package/dist/types/shared/report-ui/ui.styles.d.ts +50 -0
- package/dist/types/shared/report-ui/ui.styles.d.ts.map +1 -0
- package/dist/types/shared/toasts/index.d.ts +23 -0
- package/dist/types/shared/toasts/index.d.ts.map +1 -0
- package/dist/types/shared/toasts/styles.d.ts +18 -0
- package/dist/types/shared/toasts/styles.d.ts.map +1 -0
- package/dist/types/textures/Cloud/index.d.ts +29 -0
- package/dist/types/textures/Cloud/index.d.ts.map +1 -0
- package/dist/types/textures/Paper/index.d.ts +8 -0
- package/dist/types/textures/Paper/index.d.ts.map +1 -0
- package/dist/types/textures/index.d.ts +4 -0
- package/dist/types/textures/index.d.ts.map +1 -0
- package/dist/typography.js +82 -0
- package/dist/validation.js +20 -0
- package/dist/wide-image.js +97 -0
- package/package.json +2100 -5
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/** Backdrop fade-in while the modal opens. Timing is the modal's own anatomy. */
|
|
2
|
+
export declare const fadeIn: import("styled-components/dist/models/Keyframes").default;
|
|
3
|
+
/** Backdrop fade-out while the modal closes. */
|
|
4
|
+
export declare const fadeOut: import("styled-components/dist/models/Keyframes").default;
|
|
5
|
+
/** Centred modal entering: grows from 70% while fading in. */
|
|
6
|
+
export declare const centerZoomIn: import("styled-components/dist/models/Keyframes").default;
|
|
7
|
+
/** Centred modal leaving: shrinks to 70% while fading out. */
|
|
8
|
+
export declare const centerZoomOut: import("styled-components/dist/models/Keyframes").default;
|
|
9
|
+
/** Full-screen modal entering: overshoots at 80% then settles at scale 1. */
|
|
10
|
+
export declare const expandAnimation: import("styled-components/dist/models/Keyframes").default;
|
|
11
|
+
/** Full-screen modal leaving: the mirror of `expandAnimation`. */
|
|
12
|
+
export declare const collapseAnimation: import("styled-components/dist/models/Keyframes").default;
|
|
13
|
+
/**
|
|
14
|
+
* The backdrop that dims the page under a modal. It is the ONE `overlay`
|
|
15
|
+
* entity of the contract (README §3.3): the former `overlayBackground` token
|
|
16
|
+
* was the same zone under a second name and is gone (§5.1).
|
|
17
|
+
*/
|
|
18
|
+
export declare const Overlay: 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
|
+
$isClosing: boolean;
|
|
22
|
+
}>> & string;
|
|
23
|
+
/**
|
|
24
|
+
* The modal surface. It floats ABOVE the page, so it takes the `notification`
|
|
25
|
+
* shadow (README §5.2); the surface/content come from the `section` pair, the
|
|
26
|
+
* outline from the `section` content colour (a border is the zone's outline,
|
|
27
|
+
* §4.1). The silhouette, radius and texture are theme data, so viking keeps
|
|
28
|
+
* its cut corners and glass its blur without a theme-name gate (§6).
|
|
29
|
+
*/
|
|
30
|
+
export declare const ModalContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
31
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
$isClosing: boolean;
|
|
34
|
+
$fullScreen?: boolean;
|
|
35
|
+
}>> & string;
|
|
36
|
+
/** Pure layout shell inside the modal surface: inherits the surface radius. */
|
|
37
|
+
export declare const StyledModal: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
38
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
39
|
+
}> & string;
|
|
40
|
+
/** Scrollable content column of the modal: layout spacing only. */
|
|
41
|
+
export declare const ModalContentContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
42
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
43
|
+
}> & string;
|
|
44
|
+
/**
|
|
45
|
+
* The close control sits on the overlay layer, so it borrows the `overlay`
|
|
46
|
+
* entity; its hover is the theme's interaction state (README §4.3), not a
|
|
47
|
+
* stored `overlayActive` colour. The radius is the theme's icon radius.
|
|
48
|
+
*/
|
|
49
|
+
export declare const CloseButton: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
50
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
51
|
+
}> & string;
|
|
52
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +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;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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/** One piece of raw evidence shown as a chip under a signal row. */
|
|
3
|
+
export interface SignalEvidence {
|
|
4
|
+
key: string;
|
|
5
|
+
label: React.ReactNode;
|
|
6
|
+
value: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/** One scoring group: its score, weight, contribution and evidence. */
|
|
9
|
+
export interface DecisionSignal {
|
|
10
|
+
key: string;
|
|
11
|
+
label: React.ReactNode;
|
|
12
|
+
short?: React.ReactNode;
|
|
13
|
+
color?: string;
|
|
14
|
+
what?: string;
|
|
15
|
+
score: number;
|
|
16
|
+
weight: number;
|
|
17
|
+
contribution: number;
|
|
18
|
+
applied?: boolean;
|
|
19
|
+
evidence?: SignalEvidence[];
|
|
20
|
+
}
|
|
21
|
+
/** One sentence explaining the verdict; `tone` marks a veto or disagreement. */
|
|
22
|
+
export interface DecisionWhy {
|
|
23
|
+
text: React.ReactNode;
|
|
24
|
+
tone?: string;
|
|
25
|
+
}
|
|
26
|
+
/** The verdict payload produced by the report's `explain()`. */
|
|
27
|
+
export interface Decision {
|
|
28
|
+
confidence: number;
|
|
29
|
+
thresholds: {
|
|
30
|
+
duplicate: number;
|
|
31
|
+
similar: number;
|
|
32
|
+
};
|
|
33
|
+
signals?: DecisionSignal[];
|
|
34
|
+
why?: DecisionWhy[];
|
|
35
|
+
}
|
|
36
|
+
/** The suggested fix for a duplicate. */
|
|
37
|
+
export interface DecisionFix {
|
|
38
|
+
text: React.ReactNode;
|
|
39
|
+
}
|
|
40
|
+
export interface SignalPillsProps {
|
|
41
|
+
decision?: Decision | null;
|
|
42
|
+
}
|
|
43
|
+
/** The compact list of signal pills used where a full panel is too tall. */
|
|
44
|
+
export declare const SignalPills: ({ decision }: SignalPillsProps) => React.JSX.Element;
|
|
45
|
+
export interface DecisionPanelProps {
|
|
46
|
+
decision?: Decision | null;
|
|
47
|
+
fix?: DecisionFix | null;
|
|
48
|
+
title?: string;
|
|
49
|
+
accent?: string;
|
|
50
|
+
}
|
|
51
|
+
/** The verdict panel: every signal's score/weight/share, its evidence and why. */
|
|
52
|
+
export declare const DecisionPanel: ({ decision, fix, title, accent }: DecisionPanelProps) => React.JSX.Element | null;
|
|
53
|
+
//# sourceMappingURL=DecisionPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DecisionPanel.d.ts","sourceRoot":"","sources":["../../../../shared/report-ui/DecisionPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAyB1B,oEAAoE;AACpE,MAAM,WAAW,cAAc;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;CACvB;AAED,uEAAuE;AACvE,MAAM,WAAW,cAAc;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;CAC5B;AAED,gFAAgF;AAChF,MAAM,WAAW,WAAW;IAC3B,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAED,gEAAgE;AAChE,MAAM,WAAW,QAAQ;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IACnD,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;IAC3B,GAAG,CAAC,EAAE,WAAW,EAAE,CAAC;CACpB;AAED,yCAAyC;AACzC,MAAM,WAAW,WAAW;IAC3B,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAChC,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CAC3B;AAED,4EAA4E;AAC5E,eAAO,MAAM,WAAW,GAAI,cAAc,gBAAgB,sBAazD,CAAC;AAEF,MAAM,WAAW,kBAAkB;IAClC,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC3B,GAAG,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,kFAAkF;AAClF,eAAO,MAAM,aAAa,GAAI,kCAAuD,kBAAkB,6BAkDtG,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const Bar: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
2
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
3
|
+
}> & string;
|
|
4
|
+
export declare const Track: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
5
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
6
|
+
}> & string;
|
|
7
|
+
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"> & {
|
|
8
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
$score: number;
|
|
11
|
+
$color?: string;
|
|
12
|
+
$applied?: boolean;
|
|
13
|
+
}>> & string;
|
|
14
|
+
export declare const ChipRow: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
15
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
16
|
+
}> & string;
|
|
17
|
+
export declare const Chip: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
18
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
19
|
+
}> & string;
|
|
20
|
+
export declare const Why: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "style"> & {
|
|
21
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
22
|
+
}> & string;
|
|
23
|
+
export declare const WhyLine: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "style"> & {
|
|
24
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
$tone?: string;
|
|
27
|
+
}>> & string;
|
|
28
|
+
export declare const FixMark: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
29
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
30
|
+
}> & string;
|
|
31
|
+
//# sourceMappingURL=DecisionPanel.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DecisionPanel.styles.d.ts","sourceRoot":"","sources":["../../../../shared/report-ui/DecisionPanel.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,GAAG;;WAMf,CAAC;AAGF,eAAO,MAAM,KAAK;;WAQjB,CAAC;AAIF,eAAO,MAAM,IAAI;;;YAAwB,MAAM;aAAW,MAAM;eAAa,OAAO;YAMnF,CAAC;AAGF,eAAO,MAAM,OAAO;;WAKnB,CAAC;AAIF,eAAO,MAAM,IAAI;;WAShB,CAAC;AAGF,eAAO,MAAM,GAAG;;WAKf,CAAC;AAIF,eAAO,MAAM,OAAO;;;YAAuB,MAAM;YAMhD,CAAC;AAGF,eAAO,MAAM,OAAO;;WAEnB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/** Where the reader is in a paginated list, and the page to move to. */
|
|
3
|
+
export type PaginationProps = {
|
|
4
|
+
/** The page on screen, zero-based. */
|
|
5
|
+
page: number;
|
|
6
|
+
/** How many pages the list has (at least 1). */
|
|
7
|
+
pageCount: number;
|
|
8
|
+
/** Called with the zero-based page the reader asked for. */
|
|
9
|
+
onChange: (page: number) => void;
|
|
10
|
+
};
|
|
11
|
+
/** «← prev · page X / Y · next →», with the ends disabled at the boundaries. */
|
|
12
|
+
export declare const Pagination: ({ page, pageCount, onChange }: PaginationProps) => React.JSX.Element;
|
|
13
|
+
//# sourceMappingURL=Pagination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../../shared/report-ui/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,wEAAwE;AACxE,MAAM,MAAM,eAAe,GAAG;IAC7B,sCAAsC;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,gDAAgD;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,4DAA4D;IAC5D,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,UAAU,GAAI,+BAA+B,eAAe,sBAcxE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const PagerRow: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
2
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
3
|
+
}> & string;
|
|
4
|
+
export declare const PageStep: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
5
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
6
|
+
}> & string;
|
|
7
|
+
export declare const PageDot: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
8
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
9
|
+
}> & string;
|
|
10
|
+
export declare const PagePosition: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
11
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
12
|
+
}> & string;
|
|
13
|
+
//# sourceMappingURL=Pagination.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pagination.styles.d.ts","sourceRoot":"","sources":["../../../../shared/report-ui/Pagination.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,QAAQ;;WAMpB,CAAC;AAIF,eAAO,MAAM,QAAQ;;WAkBpB,CAAC;AAIF,eAAO,MAAM,OAAO;;WAGnB,CAAC;AAIF,eAAO,MAAM,YAAY;;WAGxB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const Frame: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
2
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
3
|
+
}> & string;
|
|
4
|
+
export declare const Head: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
5
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
6
|
+
}> & string;
|
|
7
|
+
export declare const Repo: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "style"> & {
|
|
8
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
9
|
+
}> & string;
|
|
10
|
+
export declare const Tabs: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
11
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
12
|
+
}> & string;
|
|
13
|
+
export declare const TabLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "style"> & {
|
|
14
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
$active?: boolean;
|
|
17
|
+
}>> & string;
|
|
18
|
+
export declare const Legend: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
19
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
20
|
+
}> & string;
|
|
21
|
+
export declare const Swatch: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
22
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
$color?: string;
|
|
25
|
+
}>> & string;
|
|
26
|
+
//# sourceMappingURL=Shell.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Shell.styles.d.ts","sourceRoot":"","sources":["../../../../shared/report-ui/Shell.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,KAAK;;WAKjB,CAAC;AAGF,eAAO,MAAM,IAAI;;WAShB,CAAC;AAGF,eAAO,MAAM,IAAI;;WAIhB,CAAC;AAGF,eAAO,MAAM,IAAI;;WAKhB,CAAC;AAIF,eAAO,MAAM,OAAO;;;cAAwB,OAAO;YAclD,CAAC;AAGF,eAAO,MAAM,MAAM;;WAUlB,CAAC;AAGF,eAAO,MAAM,MAAM;;;aAA0B,MAAM;YAQlD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./ui.js";
|
|
2
|
+
export * from "./ui.styles.js";
|
|
3
|
+
export * from "./DecisionPanel.js";
|
|
4
|
+
export * from "./DecisionPanel.styles.js";
|
|
5
|
+
export * from "./Pagination.js";
|
|
6
|
+
export * from "./Pagination.styles.js";
|
|
7
|
+
export * from "./Shell.styles.js";
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../shared/report-ui/index.ts"],"names":[],"mappings":"AAGA,wBAAqB;AACrB,+BAA4B;AAC5B,mCAAgC;AAChC,0CAAuC;AACvC,gCAA6B;AAC7B,uCAAoC;AACpC,kCAA+B"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/** A small colour pill naming a signal, a count or a status; `color` tints it. */
|
|
3
|
+
export type BadgeProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
4
|
+
color?: string;
|
|
5
|
+
nowrap?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const Badge: ({ children, color, nowrap, ...rest }: BadgeProps) => React.JSX.Element;
|
|
8
|
+
/** A centred placeholder shown when a list or search has no rows to draw. */
|
|
9
|
+
export declare const Empty: ({ children }: {
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}) => React.JSX.Element;
|
|
12
|
+
/** The filter box for a screen: calls `onChange` with the typed value. */
|
|
13
|
+
export type SearchBoxProps = {
|
|
14
|
+
value: string;
|
|
15
|
+
onChange: (value: string) => void;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const SearchBox: ({ value, onChange, placeholder }: SearchBoxProps) => React.JSX.Element;
|
|
19
|
+
/** One labelled number in a stat strip; `color` overrides the default tone. */
|
|
20
|
+
export type StatProps = {
|
|
21
|
+
label: React.ReactNode;
|
|
22
|
+
value: React.ReactNode;
|
|
23
|
+
color?: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const Stat: ({ label, value, color }: StatProps) => React.JSX.Element;
|
|
26
|
+
/** A grid that lays stat cells out across the available width. */
|
|
27
|
+
export declare const Stats: ({ children }: {
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
}) => React.JSX.Element;
|
|
30
|
+
//# sourceMappingURL=ui.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../../../shared/report-ui/ui.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,kFAAkF;AAClF,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,GAAG;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,sCAAsC,UAAU,sBAIrE,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,KAAK,GAAI,cAAc;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,sBAAoC,CAAC;AAEvG,0EAA0E;AAC1E,MAAM,MAAM,cAAc,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,kCAA8C,cAAc,sBAOrF,CAAC;AAEF,+EAA+E;AAC/E,MAAM,MAAM,SAAS,GAAG;IACvB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,yBAAyB,SAAS,sBAKtD,CAAC;AAEF,kEAAkE;AAClE,eAAO,MAAM,KAAK,GAAI,cAAc;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,sBAAoC,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const Panel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
2
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
3
|
+
}, {
|
|
4
|
+
$accent?: string;
|
|
5
|
+
}>> & string;
|
|
6
|
+
export declare const PanelHead: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
7
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
8
|
+
}> & string;
|
|
9
|
+
export declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "style"> & {
|
|
10
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
11
|
+
}> & string;
|
|
12
|
+
export declare const Subtle: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
13
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
14
|
+
}> & string;
|
|
15
|
+
export declare const Mono: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
16
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
17
|
+
}> & string;
|
|
18
|
+
export declare const BadgeBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
19
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
$color?: string;
|
|
22
|
+
$nowrap?: boolean;
|
|
23
|
+
}>> & string;
|
|
24
|
+
export declare const SearchInput: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
|
|
25
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
26
|
+
}> & string;
|
|
27
|
+
export declare const StatGrid: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
28
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
29
|
+
}> & string;
|
|
30
|
+
export declare const StatCell: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
31
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
32
|
+
}> & string;
|
|
33
|
+
export declare const Stack: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
34
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
35
|
+
}> & string;
|
|
36
|
+
export declare const Row: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
37
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
38
|
+
}> & string;
|
|
39
|
+
export declare const EmptyBox: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
40
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
41
|
+
}> & string;
|
|
42
|
+
export declare const StatValue: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
43
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
$color?: string;
|
|
46
|
+
}>> & string;
|
|
47
|
+
export declare const StatLabel: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
48
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
49
|
+
}> & string;
|
|
50
|
+
//# sourceMappingURL=ui.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.styles.d.ts","sourceRoot":"","sources":["../../../../shared/report-ui/ui.styles.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,KAAK;;;cAA8B,MAAM;YASrD,CAAC;AAIF,eAAO,MAAM,SAAS;;WAOrB,CAAC;AAGF,eAAO,MAAM,KAAK;;WAQjB,CAAC;AAGF,eAAO,MAAM,MAAM;;WAGlB,CAAC;AAIF,eAAO,MAAM,IAAI;;WAKhB,CAAC;AAIF,eAAO,MAAM,QAAQ;;;aAA0B,MAAM;cAAY,OAAO;YAgBvE,CAAC;AAIF,eAAO,MAAM,WAAW;;WAkBvB,CAAC;AAIF,eAAO,MAAM,QAAQ;;WAIpB,CAAC;AAGF,eAAO,MAAM,QAAQ;;WAMpB,CAAC;AAGF,eAAO,MAAM,KAAK;;WAKjB,CAAC;AAGF,eAAO,MAAM,GAAG;;WAMf,CAAC;AAKF,eAAO,MAAM,QAAQ;;WAMpB,CAAC;AAGF,eAAO,MAAM,SAAS;;;aAAyB,MAAM;YAKpD,CAAC;AAGF,eAAO,MAAM,SAAS;;WAKrB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type TToastData = {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
/** A key of the nearest theme's `colors.status` map (README §3.4). */
|
|
7
|
+
tone?: string;
|
|
8
|
+
duration?: number;
|
|
9
|
+
};
|
|
10
|
+
export type ToastsContextType = {
|
|
11
|
+
add: (toast: Omit<TToastData, "id">) => void;
|
|
12
|
+
remove: (id: string) => void;
|
|
13
|
+
};
|
|
14
|
+
export declare const ToastsContext: React.Context<ToastsContextType | undefined>;
|
|
15
|
+
export declare const ToastsProvider: React.FC<{
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const useToasts: () => ToastsContextType;
|
|
19
|
+
export declare const useLogger: () => ToastsContextType;
|
|
20
|
+
export declare const LoggerProvider: React.FC<{
|
|
21
|
+
children: React.ReactNode;
|
|
22
|
+
}>;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../shared/toasts/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAGhF,MAAM,MAAM,UAAU,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sEAAsE;IACtE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC/B,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,IAAI,CAAC;IAC7C,MAAM,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,aAAa,8CAA0D,CAAC;AAErF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAoClE,CAAC;AAEF,eAAO,MAAM,SAAS,yBAMrB,CAAC;AAEF,eAAO,MAAM,SAAS,yBAAY,CAAC;AACnC,eAAO,MAAM,cAAc;cA/CuB,KAAK,CAAC,SAAS;EA+CrB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** Fixed stack of toasts pinned to the bottom-right alert layer. */
|
|
2
|
+
export declare const ToastContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
3
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
4
|
+
}> & string;
|
|
5
|
+
/**
|
|
6
|
+
* A toast floats ABOVE the page, so it takes the `notification` shadow
|
|
7
|
+
* (README §5.2) and the `section` pair for its surface/content. `$tone` is a
|
|
8
|
+
* key of the nearest theme's `colors.status` map, falling back to that zone
|
|
9
|
+
* when the key is absent (README §3.4) — the toast itself names no status.
|
|
10
|
+
* The prop is an open `string` (the map defaults open, §3.4); an app narrows
|
|
11
|
+
* it through its own `DefaultTheme` augmentation.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ToastItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
14
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
$tone?: string;
|
|
17
|
+
}>> & string;
|
|
18
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../shared/toasts/styles.ts"],"names":[],"mappings":"AAEA,oEAAoE;AACpE,eAAO,MAAM,cAAc;;WAQ1B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS;;;YAAwB,MAAM;YAmCnD,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const CloudLayerBaseCSS = "\n position: relative;\n border-radius: 50%;\n";
|
|
3
|
+
export declare const CloudBase: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
4
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
5
|
+
}> & string;
|
|
6
|
+
export declare const CloudBack: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
7
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
8
|
+
}> & string;
|
|
9
|
+
export declare const CloudMid: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
10
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
11
|
+
}> & string;
|
|
12
|
+
export declare const CloudFront: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
13
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
14
|
+
}> & string;
|
|
15
|
+
export type ICloudProps = {
|
|
16
|
+
$size?: "small" | "big" | "medium";
|
|
17
|
+
$position?: ("top" | "left" | "bottom" | "right")[];
|
|
18
|
+
$isinitial?: boolean;
|
|
19
|
+
$top?: number;
|
|
20
|
+
$left?: number;
|
|
21
|
+
$manual?: boolean;
|
|
22
|
+
$direction?: "left" | "right";
|
|
23
|
+
};
|
|
24
|
+
export declare const Cloud: {
|
|
25
|
+
({ $size, $position, $isinitial, $top, $left, $manual, $direction }: ICloudProps): React.JSX.Element;
|
|
26
|
+
displayName: string;
|
|
27
|
+
};
|
|
28
|
+
export default Cloud;
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../textures/Cloud/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAsI1B,eAAO,MAAM,iBAAiB,qDAG7B,CAAC;AAEF,eAAO,MAAM,SAAS;;WAMrB,CAAC;AAEF,eAAO,MAAM,SAAS;;WAOrB,CAAC;AAEF,eAAO,MAAM,QAAQ;;WAOpB,CAAC;AAEF,eAAO,MAAM,UAAU;;WAQtB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACzB,KAAK,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;IACnC,SAAS,CAAC,EAAE,CAAC,KAAK,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC,EAAE,CAAC;IACpD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,KAAK;yEAAwE,WAAW;;CAiBpG,CAAC;AAGF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const Paper: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
2
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
3
|
+
}> & string;
|
|
4
|
+
export declare const PaperTexture: () => import("react").JSX.Element;
|
|
5
|
+
export declare const PaperContainer: 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=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../textures/Paper/index.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;WAMjB,CAAC;AAEF,eAAO,MAAM,YAAY,mCAexB,CAAC;AAEF,eAAO,MAAM,cAAc;;WAS1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../textures/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,yBAAsB;AAClF,YAAY,EAAE,WAAW,EAAE,yBAAsB;AACjD,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,yBAAsB"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import e from "styled-components";
|
|
2
|
+
import { basicFont as t, withOffsetBottom as n, withOffsetsRight as r } from "@md-code/styles";
|
|
3
|
+
// atoms/Typography/styles.ts
|
|
4
|
+
var i = e.h1`
|
|
5
|
+
margin-right: ${r};
|
|
6
|
+
margin-bottom: ${n};
|
|
7
|
+
color: ${({ theme: e }) => e.colors.sectionContent};
|
|
8
|
+
font: ${t};
|
|
9
|
+
font-weight: ${({ theme: e }) => e.font.weight.title};
|
|
10
|
+
font-size: ${({ theme: e }) => e.font.sizes.large};
|
|
11
|
+
font-family: ${({ theme: e }) => e.font.family.title};
|
|
12
|
+
text-transform: ${({ theme: e }) => e.font.transform.title};
|
|
13
|
+
text-shadow: ${({ theme: e }) => e.shadows.content};
|
|
14
|
+
line-height: 1.2;
|
|
15
|
+
`, a = e.h2`
|
|
16
|
+
margin-right: ${r};
|
|
17
|
+
margin-bottom: ${n};
|
|
18
|
+
color: ${({ theme: e }) => e.colors.sectionContent};
|
|
19
|
+
font: ${t};
|
|
20
|
+
font-size: ${({ theme: e }) => e.font.sizes.large};
|
|
21
|
+
font-family: ${({ theme: e }) => e.font.family.title};
|
|
22
|
+
text-transform: ${({ theme: e }) => e.font.transform.title};
|
|
23
|
+
text-shadow: ${({ theme: e }) => e.shadows.content};
|
|
24
|
+
line-height: 1.3;
|
|
25
|
+
`, o = e.h3`
|
|
26
|
+
margin-right: ${r};
|
|
27
|
+
margin-bottom: ${n};
|
|
28
|
+
color: ${({ theme: e }) => e.colors.sectionContent};
|
|
29
|
+
font: ${t};
|
|
30
|
+
font-weight: ${({ theme: e }) => e.font.weight.title};
|
|
31
|
+
font-size: ${({ theme: e }) => e.font.sizes.regular};
|
|
32
|
+
font-family: ${({ theme: e }) => e.font.family.title};
|
|
33
|
+
text-transform: ${({ theme: e }) => e.font.transform.title};
|
|
34
|
+
text-shadow: ${({ theme: e }) => e.shadows.content};
|
|
35
|
+
line-height: 1.4;
|
|
36
|
+
`, s = e.p`
|
|
37
|
+
margin-right: ${r};
|
|
38
|
+
margin-bottom: ${n};
|
|
39
|
+
color: ${({ $tone: e, theme: t }) => e === "dim" ? t.colors.status?.dim?.content ?? t.colors.sectionContent : t.colors.sectionContent};
|
|
40
|
+
font: ${t};
|
|
41
|
+
font-size: ${({ theme: e }) => e.font.sizes.regular};
|
|
42
|
+
font-family: ${({ theme: e }) => e.font.family.text};
|
|
43
|
+
font-weight: ${({ theme: e }) => e.font.weight.text};
|
|
44
|
+
text-transform: ${({ theme: e }) => e.font.transform.text};
|
|
45
|
+
line-height: 1.5;
|
|
46
|
+
`, c = e.span`
|
|
47
|
+
color: ${({ theme: e }) => e.colors.sectionContent};
|
|
48
|
+
font-weight: ${({ theme: e }) => e.font.weight.title};
|
|
49
|
+
text-shadow: ${({ theme: e }) => e.shadows.content};
|
|
50
|
+
`, l = e.label`
|
|
51
|
+
display: inline-block;
|
|
52
|
+
padding: ${({ theme: e }) => e.offsets.elementContent};
|
|
53
|
+
color: ${({ theme: e }) => e.colors.sectionContent};
|
|
54
|
+
background-color: ${({ theme: e }) => e.colors.overlay};
|
|
55
|
+
|
|
56
|
+
/*
|
|
57
|
+
* effects.texture is one string per theme (README §4.1, §5.3): noise themes
|
|
58
|
+
* supply a url() for background-image, glass themes supply blur() for
|
|
59
|
+
* backdrop-filter. The chip cannot know which theme is active, so it hands
|
|
60
|
+
* the value to BOTH properties; each property keeps only the value it
|
|
61
|
+
* understands and ignores the other (blur() in background-image computes to
|
|
62
|
+
* none, and url() left in backdrop-filter is visually inert — verified in
|
|
63
|
+
* Chromium). Both themes therefore texture the chip without a name check.
|
|
64
|
+
*/
|
|
65
|
+
background-image: ${({ theme: e }) => e.effects.texture};
|
|
66
|
+
backdrop-filter: ${({ theme: e }) => e.effects.texture};
|
|
67
|
+
border: ${({ theme: e }) => e.border.size} solid
|
|
68
|
+
color-mix(in srgb, ${({ theme: e }) => e.colors.sectionContent} 25%, transparent);
|
|
69
|
+
border-radius: ${({ theme: e }) => e.border.radius};
|
|
70
|
+
`, u = e.h3`
|
|
71
|
+
font-weight: ${({ theme: e }) => e.font.weight.text};
|
|
72
|
+
font-size: ${({ theme: e }) => e.font.sizes.small};
|
|
73
|
+
line-height: 1.25;
|
|
74
|
+
`, d = e.h3`
|
|
75
|
+
font-weight: ${({ theme: e }) => e.font.weight.title};
|
|
76
|
+
font-size: ${({ theme: e }) => e.font.sizes.large};
|
|
77
|
+
font-family: ${({ theme: e }) => e.font.family.title};
|
|
78
|
+
text-transform: ${({ theme: e }) => e.font.transform.title};
|
|
79
|
+
text-shadow: ${({ theme: e }) => e.shadows.content};
|
|
80
|
+
color: ${({ theme: e }) => e.colors.sectionContent};
|
|
81
|
+
`;
|
|
82
|
+
export { u as DescriptionText, d as HeaderText, c as Highlighted, l as Label, i as PageTitle, s as PlainText, o as SectionTitle, a as SubTitle, t as basicFont };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
import e, { css as t } from "styled-components";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
// atoms/Validation/styles.ts
|
|
5
|
+
var r = e.div`
|
|
6
|
+
color: ${({ theme: e }) => e.colors.status?.failed?.content ?? e.colors.sectionContent};
|
|
7
|
+
font-size: ${({ theme: e }) => e.font.sizes.small};
|
|
8
|
+
font-weight: ${({ theme: e }) => e.font.weight.text};
|
|
9
|
+
margin-top: ${({ theme: e }) => e.offsets.elementContent};
|
|
10
|
+
`, i = t`
|
|
11
|
+
border-bottom-color: ${({ theme: e }) => e.colors.status?.failed?.background ?? e.colors.sectionContent};
|
|
12
|
+
`, a = e.div`
|
|
13
|
+
border-bottom: ${({ theme: e }) => e.border.size} solid transparent;
|
|
14
|
+
|
|
15
|
+
${({ $isError: e }) => e && i}
|
|
16
|
+
`, o = (e) => /* @__PURE__ */ n(r, { ...e }), s = ({ $isError: e, ...t }) => /* @__PURE__ */ n(a, {
|
|
17
|
+
$isError: e,
|
|
18
|
+
...t
|
|
19
|
+
});
|
|
20
|
+
export { s as ErrorValidationContainer, o as ErrorValidationMessage, o as default };
|