@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,87 @@
|
|
|
1
|
+
import type { TFullWidth, TWithBasicElementOffsets } from "@md-code/styles";
|
|
2
|
+
export type ContainerProps = {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
};
|
|
7
|
+
export type TSectionProps = {
|
|
8
|
+
$noHeightLimit?: boolean;
|
|
9
|
+
} & ContainerProps;
|
|
10
|
+
import type { ThemeInterface } from "@md-code/styles";
|
|
11
|
+
/**
|
|
12
|
+
* The basic page section: a section surface with the theme padding rhythm, the
|
|
13
|
+
* resting shadow and a muted 25% content outline on its horizontal edges (the
|
|
14
|
+
* Phase 4a muted rule; the legacy `disabled` grey is gone, README §5.1). The
|
|
15
|
+
* texture is dual-attached: one theme string reaches `background-image` (noise
|
|
16
|
+
* url()) and `backdrop-filter` (glass blur()), each keeping only its own value
|
|
17
|
+
* (README §4.1, §5.3); heights come from the shared screen/header elements.
|
|
18
|
+
*/
|
|
19
|
+
export declare const BasicSection: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
20
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
$noHeightLimit?: boolean;
|
|
23
|
+
} & ContainerProps & {
|
|
24
|
+
theme: ThemeInterface;
|
|
25
|
+
}>> & string;
|
|
26
|
+
/** The whole-page container: the section surface, header height reserved. */
|
|
27
|
+
export declare const PageContainer: 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
|
+
/** A heading wrapper: full width, optional rhythm offsets. Pure layout. */
|
|
31
|
+
export declare const HeadingContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
32
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
33
|
+
}, TWithBasicElementOffsets & TFullWidth>> & string;
|
|
34
|
+
/** A vertical stack: pure layout, no paint. */
|
|
35
|
+
export declare const Column: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
36
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
37
|
+
}> & string;
|
|
38
|
+
export interface ColumnsContainerProps {
|
|
39
|
+
$colsRatio?: string[];
|
|
40
|
+
}
|
|
41
|
+
/** A column grid with the theme gap and optional rhythm offsets. */
|
|
42
|
+
export declare const ColumnsContainer: 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
|
+
}, ColumnsContainerProps & TWithBasicElementOffsets>> & string;
|
|
45
|
+
/** A wrapping row of dashboard cards with the theme gap and section padding. */
|
|
46
|
+
export declare const DashboardCardsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
47
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
48
|
+
}> & string;
|
|
49
|
+
/**
|
|
50
|
+
* A hover-affordance wrapper: the hovered child takes the accent pair and
|
|
51
|
+
* outline. `:hover` is a state selector, so the accent is legal there
|
|
52
|
+
* (README §4.3); the outline uses the theme's complete border size (README
|
|
53
|
+
* §5.4 — no `px` suffix).
|
|
54
|
+
*/
|
|
55
|
+
export declare const FocusedContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
56
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
57
|
+
}> & string;
|
|
58
|
+
/** A single-line row: centred items at the theme gap and a caller width. */
|
|
59
|
+
export declare const OneLineContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
60
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
61
|
+
}, {
|
|
62
|
+
$width?: "1/2" | "1/3";
|
|
63
|
+
}>> & string;
|
|
64
|
+
/**
|
|
65
|
+
* A clickable links block. Its text reads the section content colour (the
|
|
66
|
+
* baseline used an undeclared `--action-color` CSS variable no theme provides).
|
|
67
|
+
*/
|
|
68
|
+
export declare const LinksContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
69
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
70
|
+
}> & string;
|
|
71
|
+
/** A menu item row: the theme gap plus optional rhythm offsets. Pure layout. */
|
|
72
|
+
export declare const MenuItemContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
73
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
74
|
+
}, TWithBasicElementOffsets>> & string;
|
|
75
|
+
export type TSection = {
|
|
76
|
+
$direction: "horizontal" | "horizontal-reversed" | "vertical" | "top";
|
|
77
|
+
$sectionSize: "full" | "medium" | "half" | "dot-section" | "footsteps";
|
|
78
|
+
};
|
|
79
|
+
/** A responsive section shell: direction and viewport height are caller layout. */
|
|
80
|
+
export declare const Section: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
81
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
82
|
+
}, TSection>> & string;
|
|
83
|
+
/** A centred text column: half the viewport wide (an environment size). */
|
|
84
|
+
export declare const TextContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
85
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
86
|
+
}> & string;
|
|
87
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Containers/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAG5E,MAAM,MAAM,cAAc,GAAG;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC5B,CAAC;AAcF,MAAM,MAAM,aAAa,GAAG;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB,GAAG,cAAc,CAAC;AAEnB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY;;;qBAbP,OAAO;;WAauC,cAAc;YAqB7E,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,aAAa;;WAKzB,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,gBAAgB;;mDAM5B,CAAC;AAEF,+CAA+C;AAC/C,eAAO,MAAM,MAAM;;WAGlB,CAAC;AAEF,MAAM,WAAW,qBAAqB;IACrC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,oEAAoE;AACpE,eAAO,MAAM,gBAAgB;;8DAO5B,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,uBAAuB;;WAKnC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;WAQ5B,CAAC;AAEF,4EAA4E;AAC5E,eAAO,MAAM,gBAAgB;;;aAAyB,KAAK,GAAG,KAAK;YAclE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc;;WAO1B,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,iBAAiB;;sCAK7B,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACtB,UAAU,EAAE,YAAY,GAAG,qBAAqB,GAAG,UAAU,GAAG,KAAK,CAAC;IACtE,YAAY,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,aAAa,GAAG,WAAW,CAAC;CACvE,CAAC;AAUF,mFAAmF;AACnF,eAAO,MAAM,OAAO;;sBAwBnB,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,aAAa;;WAQzB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ChangeEvent, CSSProperties, KeyboardEvent } from "react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
interface InputFieldProps {
|
|
4
|
+
value?: string | string[];
|
|
5
|
+
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
+
onKeyDown?: (e: KeyboardEvent<HTMLDivElement>) => void;
|
|
7
|
+
id?: string;
|
|
8
|
+
type?: "text" | "password";
|
|
9
|
+
autoFocus?: boolean;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
autoComplete?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
className?: string;
|
|
14
|
+
readOnly?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare const InputField: React.FC<InputFieldProps>;
|
|
17
|
+
export { InputField as DivInput };
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/DivInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,KAAsC,MAAM,OAAO,CAAC;AAgF3D,UAAU,eAAe;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACtD,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACvD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA8DzC,CAAC;AAEF,OAAO,EAAE,UAAU,IAAI,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* The placeholder a list or a filtered table shows instead of rows: one quiet
|
|
4
|
+
* line in the zone's faint chrome ink. It carries no state and no control — the
|
|
5
|
+
* caller says what is missing.
|
|
6
|
+
*/
|
|
7
|
+
export declare const Empty: ({ children }: {
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
}) => React.JSX.Element;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Empty/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B;;;;GAIG;AACH,eAAO,MAAM,KAAK,GAAI,cAAc;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,sBAAoC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The empty state's box: vertical breathing room of a section plus the
|
|
3
|
+
* between-elements gap (computed, never a new number — README §1), one element
|
|
4
|
+
* gap at the sides, centred text in the zone's faint chrome ink.
|
|
5
|
+
*/
|
|
6
|
+
export declare const EmptyBox: 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":["../../../../atoms/Empty/styles.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;WAMpB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { FormEventHandler } from "react";
|
|
2
|
+
import type { TWithBasicElementOffsets, TFullWidth } from "@md-code/styles";
|
|
3
|
+
type TFormProps = {
|
|
4
|
+
onSubmit: FormEventHandler<HTMLFormElement>;
|
|
5
|
+
} & TWithBasicElementOffsets & TFullWidth;
|
|
6
|
+
/**
|
|
7
|
+
* The form element owns only layout and offsets; every control inside it
|
|
8
|
+
* paints itself from the theme contract.
|
|
9
|
+
*/
|
|
10
|
+
declare const Form: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "style"> & {
|
|
11
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
12
|
+
}, TFormProps>> & string;
|
|
13
|
+
/** @component */
|
|
14
|
+
export default Form;
|
|
15
|
+
//# sourceMappingURL=Form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../atoms/Form/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAG9C,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG5E,KAAK,UAAU,GAAG;IACjB,QAAQ,EAAE,gBAAgB,CAAC,eAAe,CAAC,CAAC;CAC5C,GAAG,wBAAwB,GAC3B,UAAU,CAAC;AAEZ;;;GAGG;AACH,QAAA,MAAM,IAAI;;wBAIT,CAAC;AACF,iBAAiB;AACjB,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import Form from "./Form.js";
|
|
2
|
+
import { FormLabel } from "@md-code/components/form-label";
|
|
3
|
+
import { Input } from "@md-code/components/input";
|
|
4
|
+
import { Radio } from "@md-code/components/radio";
|
|
5
|
+
import { SearchInput } from "@md-code/components/search-input";
|
|
6
|
+
import { Select } from "@md-code/components/select";
|
|
7
|
+
import { Submit } from "@md-code/components/submit";
|
|
8
|
+
import { Textarea } from "@md-code/components/textarea";
|
|
9
|
+
import { TextCheckbox } from "@md-code/components/text-checkbox";
|
|
10
|
+
export { Form, Input, SearchInput, FormLabel, TextCheckbox, Select, Radio, Submit, Textarea };
|
|
11
|
+
export default Form;
|
|
12
|
+
export type { TOption } from "@md-code/components/select";
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Form/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,kBAAe;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAEjE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;AAE9F,eAAe,IAAI,CAAC;AAGpB,YAAY,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { TWithBasicElementOffsets, TFullWidth } from "@md-code/styles";
|
|
2
|
+
type TFormLabelProps = {
|
|
3
|
+
htmlFor: string;
|
|
4
|
+
} & TWithBasicElementOffsets & TFullWidth;
|
|
5
|
+
/**
|
|
6
|
+
* A form label paints on the section surface, so its text reads
|
|
7
|
+
* `sectionContent`; the offsets and full-width behaviour are component props.
|
|
8
|
+
*/
|
|
9
|
+
declare const FormLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "style"> & {
|
|
10
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
11
|
+
}, TFormLabelProps>> & string;
|
|
12
|
+
export { FormLabel };
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/FormLabel/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG5E,KAAK,eAAe,GAAG;IACtB,OAAO,EAAE,MAAM,CAAC;CAChB,GAAG,wBAAwB,GAC3B,UAAU,CAAC;AAEZ;;;GAGG;AACH,QAAA,MAAM,SAAS;;6BAcd,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/FullScreenModal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAYxC,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EA4BnC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,oBAAiB;AAClD,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { DefaultTheme } from "styled-components";
|
|
2
|
+
/** A named layer from the theme's `zIndex` map. */
|
|
3
|
+
type ZIndexName = keyof DefaultTheme["zIndex"];
|
|
4
|
+
/**
|
|
5
|
+
* The page header is a section surface pinned to the top: the section pair
|
|
6
|
+
* paints it, an explicit bottom rule in the content colour closes it (a border
|
|
7
|
+
* is the zone's outline, README §4.1), and the height comes from the shared
|
|
8
|
+
* header element so media queries stay in one place. The texture reaches both
|
|
9
|
+
* `background-image` (viking noise) and `backdrop-filter` (glass blur), each
|
|
10
|
+
* property keeping the value it understands (README §4.1, §5.3).
|
|
11
|
+
*/
|
|
12
|
+
export declare const StyledHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
13
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
$zIndex?: ZIndexName;
|
|
16
|
+
}>> & string;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Header/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,mDAAmD;AACnD,KAAK,UAAU,GAAG,MAAM,YAAY,CAAC,QAAQ,CAAC,CAAC;AAE/C;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY;;;cAA6B,UAAU;YAe/D,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { ComponentType } from "react";
|
|
2
|
+
import type { LucideProps } from "lucide-react";
|
|
3
|
+
import React from "react";
|
|
4
|
+
export type NamedSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
5
|
+
/**
|
|
6
|
+
* The icons this package ships: exactly the ones its own atoms and molecules
|
|
7
|
+
* render (see `name="…"` literals in the tree). The table is the only place
|
|
8
|
+
* that imports `lucide-react`, so a consumer bundle carries these seven icons
|
|
9
|
+
* and nothing else. An icon outside the table goes through the `icon` prop.
|
|
10
|
+
*/
|
|
11
|
+
export declare const ICONS: {
|
|
12
|
+
readonly ChevronDown: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
13
|
+
readonly ChevronRight: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
14
|
+
readonly ChevronUp: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
15
|
+
readonly Copy: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
16
|
+
readonly Home: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
17
|
+
readonly Minimize2: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
18
|
+
readonly X: React.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
19
|
+
};
|
|
20
|
+
export type IconName = keyof typeof ICONS;
|
|
21
|
+
export interface LucideIconProps extends Omit<LucideProps, "size"> {
|
|
22
|
+
/** Name from {@link ICONS}. Ignored when `icon` is given. */
|
|
23
|
+
name?: IconName;
|
|
24
|
+
/**
|
|
25
|
+
* Escape hatch: any icon component (lucide or not) rendered instead of the
|
|
26
|
+
* named one, so a consumer can draw an icon the table does not map.
|
|
27
|
+
*/
|
|
28
|
+
icon?: ComponentType<LucideProps>;
|
|
29
|
+
size?: number | string | NamedSize;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Renders a mapped Lucide icon by name, or any icon component via `icon`.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* // Basic usage
|
|
36
|
+
* <LucideIcon name="ChevronDown" />
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* // With named size
|
|
40
|
+
* <LucideIcon name="Copy" size="md" />
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* // Escape hatch: an icon the table does not map
|
|
44
|
+
* <LucideIcon icon={Settings} size="sm" />
|
|
45
|
+
*/
|
|
46
|
+
/** @component */
|
|
47
|
+
export declare const LucideIcon: React.FC<LucideIconProps>;
|
|
48
|
+
export default LucideIcon;
|
|
49
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Icons/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEzD;;;;;GAKG;AACH,eAAO,MAAM,KAAK;;;;;;;;CAQR,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,KAAK,CAAC;AAE1C,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC;IACjE,6DAA6D;IAC7D,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;;OAGG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IAClC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CACnC;AAgCD;;;;;;;;;;;;;;GAcG;AACH,iBAAiB;AACjB,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmBhD,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,KAAK,EAAE,oBAAiB;AAChD,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { TWithBasicElementOffsets, TFullWidth } from "@md-code/styles";
|
|
3
|
+
export type TInputProps = {
|
|
4
|
+
name?: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
value?: unknown;
|
|
8
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
9
|
+
} & TWithBasicElementOffsets & TFullWidth;
|
|
10
|
+
/**
|
|
11
|
+
* The text-input surface. Every value comes from the theme contract, so the
|
|
12
|
+
* control paints itself identically under every theme: the surface is the
|
|
13
|
+
* overlay layer, the muted outline is derived from `sectionContent` (there is
|
|
14
|
+
* no legacy disabled colour in the contract, README §4.3/§5.1), and the
|
|
15
|
+
* silhouette, texture, shadow and focus reaction are theme data.
|
|
16
|
+
*/
|
|
17
|
+
export declare const StyledInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
|
|
18
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
19
|
+
}, TInputProps>> & string;
|
|
20
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Input/styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG5E,MAAM,MAAM,WAAW,GAAG;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAChE,GAAG,wBAAwB,GAC3B,UAAU,CAAC;AAEZ;;;;;;GAMG;AACH,eAAO,MAAM,WAAW;;yBAyDvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Link/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,IAAI,EAAE,UAAU,EAAE,oBAAiB;AAC1D,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A navigation link. Glyphs must read the section CONTENT token at rest
|
|
3
|
+
* (proper-naming, README §3.1); the accent is legal only in the hover STATE
|
|
4
|
+
* (README §4.3), where the theme also supplies its content shadow — viking's
|
|
5
|
+
* accent glow. The master viking styles painted the link accent at rest; that
|
|
6
|
+
* cannot be expressed legally, so only the hover keeps the accent (documented
|
|
7
|
+
* deviation). The viking rune after-decoration has no contract field and is
|
|
8
|
+
* omitted rather than hardcoded.
|
|
9
|
+
*/
|
|
10
|
+
export declare const LinkStyled: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, keyof {
|
|
11
|
+
href: string | import("url").UrlObject;
|
|
12
|
+
as?: string | import("url").UrlObject;
|
|
13
|
+
replace?: boolean;
|
|
14
|
+
scroll?: boolean;
|
|
15
|
+
shallow?: boolean;
|
|
16
|
+
passHref?: boolean;
|
|
17
|
+
prefetch?: boolean | null;
|
|
18
|
+
locale?: string | false;
|
|
19
|
+
legacyBehavior?: boolean;
|
|
20
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
21
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
22
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
23
|
+
}> & {
|
|
24
|
+
href: string | import("url").UrlObject;
|
|
25
|
+
as?: string | import("url").UrlObject;
|
|
26
|
+
replace?: boolean;
|
|
27
|
+
scroll?: boolean;
|
|
28
|
+
shallow?: boolean;
|
|
29
|
+
passHref?: boolean;
|
|
30
|
+
prefetch?: boolean | null;
|
|
31
|
+
locale?: string | false;
|
|
32
|
+
legacyBehavior?: boolean;
|
|
33
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
34
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
35
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
36
|
+
} & {
|
|
37
|
+
children?: React.ReactNode;
|
|
38
|
+
} & import("react").RefAttributes<HTMLAnchorElement>, "style"> & {
|
|
39
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
40
|
+
}> & string & Omit<import("react").ForwardRefExoticComponent<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, keyof {
|
|
41
|
+
href: string | import("url").UrlObject;
|
|
42
|
+
as?: string | import("url").UrlObject;
|
|
43
|
+
replace?: boolean;
|
|
44
|
+
scroll?: boolean;
|
|
45
|
+
shallow?: boolean;
|
|
46
|
+
passHref?: boolean;
|
|
47
|
+
prefetch?: boolean | null;
|
|
48
|
+
locale?: string | false;
|
|
49
|
+
legacyBehavior?: boolean;
|
|
50
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
51
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
52
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
53
|
+
}> & {
|
|
54
|
+
href: string | import("url").UrlObject;
|
|
55
|
+
as?: string | import("url").UrlObject;
|
|
56
|
+
replace?: boolean;
|
|
57
|
+
scroll?: boolean;
|
|
58
|
+
shallow?: boolean;
|
|
59
|
+
passHref?: boolean;
|
|
60
|
+
prefetch?: boolean | null;
|
|
61
|
+
locale?: string | false;
|
|
62
|
+
legacyBehavior?: boolean;
|
|
63
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
64
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
65
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
66
|
+
} & {
|
|
67
|
+
children?: React.ReactNode;
|
|
68
|
+
} & import("react").RefAttributes<HTMLAnchorElement>>, keyof import("react").Component<any, {}, any>>;
|
|
69
|
+
/**
|
|
70
|
+
* The link used inline inside forms. It shares the section pair at rest and
|
|
71
|
+
* the accent only on hover (proper-naming), and keeps the smaller typographic
|
|
72
|
+
* size the form controls use.
|
|
73
|
+
*/
|
|
74
|
+
export declare const LinkInForm: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, keyof {
|
|
75
|
+
href: string | import("url").UrlObject;
|
|
76
|
+
as?: string | import("url").UrlObject;
|
|
77
|
+
replace?: boolean;
|
|
78
|
+
scroll?: boolean;
|
|
79
|
+
shallow?: boolean;
|
|
80
|
+
passHref?: boolean;
|
|
81
|
+
prefetch?: boolean | null;
|
|
82
|
+
locale?: string | false;
|
|
83
|
+
legacyBehavior?: boolean;
|
|
84
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
85
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
86
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
87
|
+
}> & {
|
|
88
|
+
href: string | import("url").UrlObject;
|
|
89
|
+
as?: string | import("url").UrlObject;
|
|
90
|
+
replace?: boolean;
|
|
91
|
+
scroll?: boolean;
|
|
92
|
+
shallow?: boolean;
|
|
93
|
+
passHref?: boolean;
|
|
94
|
+
prefetch?: boolean | null;
|
|
95
|
+
locale?: string | false;
|
|
96
|
+
legacyBehavior?: boolean;
|
|
97
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
98
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
99
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
100
|
+
} & {
|
|
101
|
+
children?: React.ReactNode;
|
|
102
|
+
} & import("react").RefAttributes<HTMLAnchorElement>, "style"> & {
|
|
103
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
104
|
+
}> & string & Omit<import("react").ForwardRefExoticComponent<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, keyof {
|
|
105
|
+
href: string | import("url").UrlObject;
|
|
106
|
+
as?: string | import("url").UrlObject;
|
|
107
|
+
replace?: boolean;
|
|
108
|
+
scroll?: boolean;
|
|
109
|
+
shallow?: boolean;
|
|
110
|
+
passHref?: boolean;
|
|
111
|
+
prefetch?: boolean | null;
|
|
112
|
+
locale?: string | false;
|
|
113
|
+
legacyBehavior?: boolean;
|
|
114
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
115
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
116
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
117
|
+
}> & {
|
|
118
|
+
href: string | import("url").UrlObject;
|
|
119
|
+
as?: string | import("url").UrlObject;
|
|
120
|
+
replace?: boolean;
|
|
121
|
+
scroll?: boolean;
|
|
122
|
+
shallow?: boolean;
|
|
123
|
+
passHref?: boolean;
|
|
124
|
+
prefetch?: boolean | null;
|
|
125
|
+
locale?: string | false;
|
|
126
|
+
legacyBehavior?: boolean;
|
|
127
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
128
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
129
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
130
|
+
} & {
|
|
131
|
+
children?: React.ReactNode;
|
|
132
|
+
} & import("react").RefAttributes<HTMLAnchorElement>>, keyof import("react").Component<any, {}, any>>;
|
|
133
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Link/styles.ts"],"names":[],"mappings":"AAeA;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qGAgBtB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qGAWtB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface LoaderProps {
|
|
3
|
+
$size?: "small" | "medium" | "large";
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* The spinner box: draws the ouroboros at the requested size step
|
|
8
|
+
* (`$size`, default `medium`). Pass `className` to style the box.
|
|
9
|
+
*
|
|
10
|
+
* The glyph is drawn inline (`viewBox` 690.76 × 746.56) instead of being loaded
|
|
11
|
+
* from a static image URL, so the atom needs no image loader and no asset
|
|
12
|
+
* request: the shapes are the ones of `ouroboros.svg` in this folder (kept as
|
|
13
|
+
* the drawing's source), with that file's `.cls-1`/`.cls-2` stroke-width and
|
|
14
|
+
* transparent fill written as element attributes instead of an embedded
|
|
15
|
+
* `<style>` block.
|
|
16
|
+
*/
|
|
17
|
+
export declare const Loader: React.FC<LoaderProps>;
|
|
18
|
+
interface LoadingProps {
|
|
19
|
+
hidden: boolean;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The loading overlay: fills its positioned parent with the overlay layer and
|
|
23
|
+
* the spinner, fading away (and becoming inert) when `hidden` is true.
|
|
24
|
+
*/
|
|
25
|
+
export declare const Loading: React.FC<LoadingProps>;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Loading/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,WAAW;IACpB,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAuCxC,CAAC;AAEF,UAAU,YAAY;IACrB,MAAM,EAAE,OAAO,CAAC;CAChB;AAED;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAI1C,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const fadeInAnimation: import("styled-components").RuleSet<object>;
|
|
2
|
+
export declare const fadeOutAnimation: import("styled-components").RuleSet<object>;
|
|
3
|
+
/**
|
|
4
|
+
* The loading overlay: the contract's overlay layer over the whole loading
|
|
5
|
+
* area, above animated content, fading in and out with the theme's motion
|
|
6
|
+
* rhythm. Visibility is the component's own anatomy, not a theme state.
|
|
7
|
+
*/
|
|
8
|
+
export declare const LoadingWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
9
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
$hidden: boolean;
|
|
12
|
+
}>> & string;
|
|
13
|
+
/**
|
|
14
|
+
* The spinner box: sized from the shared icon element (with the large step on
|
|
15
|
+
* the same element), and painting the spinner in the accent — a drop-shadow
|
|
16
|
+
* derived from `colors.highlighted` (README §5.3: a glow is derived from the
|
|
17
|
+
* accent, never a stored scale). Rotation is the spinner's own animation; its
|
|
18
|
+
* duration is the theme's pulse rhythm.
|
|
19
|
+
*/
|
|
20
|
+
export declare const LoaderContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
21
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
$size?: "small" | "medium" | "large";
|
|
24
|
+
}>> & string;
|
|
25
|
+
/**
|
|
26
|
+
* The spinner drawing itself: it fills the spinner box; the box owns the motion.
|
|
27
|
+
*/
|
|
28
|
+
export declare const StyledLoaderPicture: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").SVGProps<SVGSVGElement>, "style"> & {
|
|
29
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
30
|
+
}> & string;
|
|
31
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Loading/styles.ts"],"names":[],"mappings":"AA8BA,eAAO,MAAM,eAAe,6CAG3B,CAAC;AAKF,eAAO,MAAM,gBAAgB,6CAG5B,CAAC;AAiBF;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;aAAyB,OAAO;YAW1D,CAAC;AA0BF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;;YAAwB,OAAO,GAAG,QAAQ,GAAG,OAAO;YA4B/E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB;;WAG/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Logo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,wBAAgB,IAAI,sBAMnB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface MonoTextProps extends React.HTMLAttributes<HTMLElement> {
|
|
3
|
+
/**
|
|
4
|
+
* `default` is the section ink; `dim` and `faint` are the zone's two chrome
|
|
5
|
+
* inks for a secondary fragment — `dim` for an untouched value, `faint` for
|
|
6
|
+
* the quietest one (the path under a name).
|
|
7
|
+
*/
|
|
8
|
+
$tone?: "default" | "dim" | "faint";
|
|
9
|
+
/**
|
|
10
|
+
* The type step: `regular` is the zone's body step; `small` is the dense step
|
|
11
|
+
* a table row uses for the fragment under a name.
|
|
12
|
+
*/
|
|
13
|
+
$size?: "regular" | "small";
|
|
14
|
+
/** The element the fragment is printed as (default `code`); `p` for a paragraph of source text. */
|
|
15
|
+
as?: React.ElementType;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A path, an id or a fragment printed so it reads as source, not prose: the
|
|
19
|
+
* zone's `text` role is monospace (README §4.2 — there is no separate `code`
|
|
20
|
+
* family), and long ids wrap instead of stretching the card.
|
|
21
|
+
*/
|
|
22
|
+
export declare const MonoText: ({ $tone, $size, children, ...rest }: MonoTextProps) => React.JSX.Element;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/MonoText/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACvE;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,KAAK,GAAG,OAAO,CAAC;IACpC;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAC5B,mGAAmG;IACnG,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CACvB;AAED;;;;GAIG;AACH,eAAO,MAAM,QAAQ,GAAI,qCAA6D,aAAa,sBAIlG,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The mono fragment: the zone's text family and its regular step, in the
|
|
3
|
+
* section content ink (it sits ON the section surface, README §3.1) or in one of
|
|
4
|
+
* the zone's two chrome inks for a secondary fragment; wrapping anywhere so a
|
|
5
|
+
* long path breaks instead of overflowing.
|
|
6
|
+
*/
|
|
7
|
+
export declare const MonoBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
8
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
$tone?: "default" | "dim" | "faint";
|
|
11
|
+
$size?: "regular" | "small";
|
|
12
|
+
}>> & string;
|
|
13
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/MonoText/styles.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,OAAO;;;YAAyB,SAAS,GAAG,KAAK,GAAG,OAAO;YAAU,SAAS,GAAG,OAAO;YAUpG,CAAC"}
|