@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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Pagination/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,UAAU,eAAe;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA6EzC,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pagination row: a centred flex line of page buttons and arrow controls.
|
|
3
|
+
* It is pure layout, so it owns no paint of its own.
|
|
4
|
+
*/
|
|
5
|
+
export declare const PaginationContainer: 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
|
+
/**
|
|
9
|
+
* A page button. The active page is the `highlighted` pair (surface + content,
|
|
10
|
+
* README §3.3); resting buttons sit on the `overlay` layer with the content colour of
|
|
11
|
+
* the section pair on them. The explicit border keeps the browser's native
|
|
12
|
+
* `2px outset` from leaking — its colour is a 25% mix of the content colour,
|
|
13
|
+
* the muted rule Phase 4a established (README §5.1 has no disabled grey).
|
|
14
|
+
* Silhouette, texture and radius are theme data; the texture reaches both
|
|
15
|
+
* `background-image` (viking noise) and `backdrop-filter` (glass blur), each
|
|
16
|
+
* property keeping the value it understands (README §4.1, §5.3).
|
|
17
|
+
*/
|
|
18
|
+
export declare const PageNumber: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
19
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
$active: boolean;
|
|
22
|
+
}>> & string;
|
|
23
|
+
/**
|
|
24
|
+
* The prev/next arrow buttons. Their glyph is the section content at rest and
|
|
25
|
+
* the accent only in hover/disabled states (proper-naming, README §3.1); the
|
|
26
|
+
* typographic role comes from the theme, so viking keeps its carved uppercase.
|
|
27
|
+
*/
|
|
28
|
+
export declare const ArrowButton: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
29
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
30
|
+
}> & string;
|
|
31
|
+
/**
|
|
32
|
+
* The ellipsis between distant page ranges; it inherits the row colour and only
|
|
33
|
+
* adds the rhythm gap.
|
|
34
|
+
*/
|
|
35
|
+
export declare const Dots: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
36
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
37
|
+
}> & string;
|
|
38
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Pagination/styles.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;WAO/B,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,UAAU;;;aAA4B,OAAO;YAmCzD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW;;WAwBvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,IAAI;;WAGhB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { TWithBasicElementOffsets, TFullWidth } from "@md-code/styles";
|
|
3
|
+
type TProgressBarProps = {
|
|
4
|
+
percentage: number;
|
|
5
|
+
} & TWithBasicElementOffsets & TFullWidth;
|
|
6
|
+
/**
|
|
7
|
+
* A determinate progress bar: renders a track with an accent fill whose width
|
|
8
|
+
* is `percentage` (0–100). Optional `$offsetBottom`, `$offsetRight` and
|
|
9
|
+
* `$fullWidth` adjust the surrounding rhythm and width.
|
|
10
|
+
*/
|
|
11
|
+
declare const ProgressBar: ({ percentage, $offsetBottom, $offsetRight, $fullWidth, ...props }: TProgressBarProps) => React.JSX.Element;
|
|
12
|
+
export { ProgressBar };
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/ProgressBar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AA+B5E,KAAK,iBAAiB,GAAG;IACxB,UAAU,EAAE,MAAM,CAAC;CACnB,GAAG,wBAAwB,GAC3B,UAAU,CAAC;AAEZ;;;;GAIG;AACH,QAAA,MAAM,WAAW,GAAI,mEAAmE,iBAAiB,sBAMxG,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { TWithBasicElementOffsets, TFullWidth } from "@md-code/styles";
|
|
3
|
+
type TRadioProps = {
|
|
4
|
+
name: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
value: string | number;
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
9
|
+
} & TWithBasicElementOffsets & TFullWidth;
|
|
10
|
+
declare const Radio: ({ name, id, value, checked, onChange, $offsetBottom, $offsetRight, $fullWidth, ...props }: TRadioProps) => React.JSX.Element;
|
|
11
|
+
export { Radio };
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Radio/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG5E,KAAK,WAAW,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAChE,GAAG,wBAAwB,GAC3B,UAAU,CAAC;AAsEZ,QAAA,MAAM,KAAK,GAAI,2FAUZ,WAAW,sBAOb,CAAC;AAEF,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* A horizontal row of labels, badges or small facts on one baseline, wrapping
|
|
4
|
+
* when it narrows. Pure layout (README §4.4): the gap is the inner element
|
|
5
|
+
* rhythm, so a row of chips reads as one group.
|
|
6
|
+
*/
|
|
7
|
+
export declare const Row: ({ children, ...rest }: React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Row/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B;;;;GAIG;AACH,eAAO,MAAM,GAAG,GAAI,uBAAuB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,sBAE9E,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The row's structure: flex, baseline-aligned (a badge and a title sit on the
|
|
3
|
+
* same line of type), wrapping so a narrow panel stacks instead of overflowing,
|
|
4
|
+
* and the element gap between the items.
|
|
5
|
+
*/
|
|
6
|
+
export declare const RowBox: 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/Row/styles.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,MAAM;;WAMlB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface SeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/** A key of the nearest zone's `colors.status` — the rule's ink, else the muted content mix. */
|
|
4
|
+
$status?: string;
|
|
5
|
+
/**
|
|
6
|
+
* The hairline that closes each entry of one list rather than the break
|
|
7
|
+
* between sections: dashed, and spaced by the inner element rhythm.
|
|
8
|
+
*/
|
|
9
|
+
$dashed?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* A horizontal rule: one complete border-size tall, spaced by the section
|
|
13
|
+
* rhythm and painted in a muted 25% mix of the section content colour (the
|
|
14
|
+
* Phase 4a muted rule — the legacy `disabled` grey and `overlayActive` layer are
|
|
15
|
+
* gone, README §5.1).
|
|
16
|
+
*
|
|
17
|
+
* The baseline's viking gradient plus diamond decoration had no contract field
|
|
18
|
+
* (it was a per-theme fragment), so the rule is one shared muted line for every
|
|
19
|
+
* theme (documented deviation). A caller that knows the meaning of the block it
|
|
20
|
+
* separates names a status key instead, and `$dashed` turns the rule into the
|
|
21
|
+
* hairline between the entries of a list.
|
|
22
|
+
*/
|
|
23
|
+
export declare const Separator: ({ $status, $dashed, ...rest }: SeparatorProps) => React.JSX.Element;
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Separator/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E,gGAAgG;IAChG,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,SAAS,GAAI,+BAA+B,cAAc,sBAEtE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The rule itself. Its ink is the muted 25% mix of the section content colour
|
|
3
|
+
* (see the component's JSDoc) unless the caller names a status key, in which
|
|
4
|
+
* case it reads that pair's `content` channel — the same ink the block it
|
|
5
|
+
* separates is painted with. The spacing follows the rule's job: the section
|
|
6
|
+
* rhythm between blocks, the inner element rhythm around a list hairline.
|
|
7
|
+
*/
|
|
8
|
+
export declare const SeparatorRule: 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
|
+
$status?: string;
|
|
12
|
+
$dashed?: boolean;
|
|
13
|
+
}>> & string;
|
|
14
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Separator/styles.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,aAAa;;;cAA0B,MAAM;cAAY,OAAO;YAU5E,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface StackProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* Let the stack take the spare width of the row it sits in (`flex: 1 1 auto`)
|
|
5
|
+
* and break a long word instead of pushing its neighbours out.
|
|
6
|
+
*/
|
|
7
|
+
$grow?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* A vertical stack: the page's standard gap between blocks
|
|
11
|
+
* (`offsets.betweenElements`). Pure layout — it paints nothing and owns no
|
|
12
|
+
* colour (README §4.4), so every screen can lay its sections out with the same
|
|
13
|
+
* rhythm instead of inventing gaps. With `$grow` it also takes the spare width
|
|
14
|
+
* of the row it sits in.
|
|
15
|
+
*/
|
|
16
|
+
export declare const Stack: ({ $grow, children, ...rest }: StackProps) => React.JSX.Element;
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Stack/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACvE;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,KAAK,GAAI,8BAA8B,UAAU,sBAI7D,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The stack's own structure: a column with the page's between-elements gap.
|
|
3
|
+
* `min-width: 0` lets a wide child (a diff board, a long path) shrink instead of
|
|
4
|
+
* pushing the page sideways. `$grow` makes the stack the flexible item of a
|
|
5
|
+
* row: it takes the spare width and breaks a long word rather than widening.
|
|
6
|
+
*/
|
|
7
|
+
export declare const StackBox: 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
|
+
$grow?: boolean;
|
|
11
|
+
}>> & string;
|
|
12
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Stack/styles.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,QAAQ;;;YAAwB,OAAO;YAUnD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface StatProps {
|
|
3
|
+
/** What the number counts — drawn by `Caption`. */
|
|
4
|
+
label: React.ReactNode;
|
|
5
|
+
/** The number (or any short node) itself. */
|
|
6
|
+
value: React.ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* A key of the zone's `colors.status` map that paints the number; the legal
|
|
9
|
+
* keys belong to the zone theme, not to this component (README §3.4).
|
|
10
|
+
*/
|
|
11
|
+
$status?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* One labelled number of a summary strip: the number itself big and bold, its
|
|
15
|
+
* caption underneath. `$status` names a key of the zone's `colors.status` map
|
|
16
|
+
* and paints the number with that pair's content ink (a count of failures is a
|
|
17
|
+
* status, not a colour — README §3.4); without it the number reads in the
|
|
18
|
+
* section content ink.
|
|
19
|
+
*
|
|
20
|
+
* The cell sits on the zone's `overlay` layer so a row of numbers reads as
|
|
21
|
+
* separate facts rather than one sentence.
|
|
22
|
+
*/
|
|
23
|
+
export declare const Stat: ({ label, value, $status }: StatProps) => React.JSX.Element;
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Stat/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,SAAS;IACzB,mDAAmD;IACnD,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,6CAA6C;IAC7C,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,IAAI,GAAI,2BAA2B,SAAS,sBAKxD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The stat tile: the zone's overlay layer as its own surface, a hairline in the
|
|
3
|
+
* zone's edge chrome key, the contract radius and the inner padding. It is one
|
|
4
|
+
* grid cell, so it owns no width.
|
|
5
|
+
*/
|
|
6
|
+
export declare const StatCell: 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
|
+
/**
|
|
10
|
+
* The number itself: the zone's large size plus the inner inset less the two
|
|
11
|
+
* hairlines (computed from the scale), heavy, on a tight line height, in the
|
|
12
|
+
* status's content ink or the section content when no status is named.
|
|
13
|
+
*/
|
|
14
|
+
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"> & {
|
|
15
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
$status?: string;
|
|
18
|
+
}>> & string;
|
|
19
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Stat/styles.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;WAMpB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;cAA0B,MAAM;YASrD,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface StatusTextProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
3
|
+
/** A key of the nearest zone's `colors.status` — the ink of the text, else the section's content. */
|
|
4
|
+
$status?: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* A word the page paints by meaning: the title weight over the ink of the status
|
|
8
|
+
* the caller names, so a name and the mark it explains share one colour
|
|
9
|
+
* (README §3.4). The ink is the pair's `content` channel; without a status the
|
|
10
|
+
* text reads as the section's own content.
|
|
11
|
+
*
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <StatusText $status="warn">Structure</StatusText>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare const StatusText: ({ $status, children, ...rest }: StatusTextProps) => React.JSX.Element;
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/StatusText/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IAC7E,qGAAqG;IACrG,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,UAAU,GAAI,gCAAgC,eAAe,sBAIzE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The text itself: the title weight at the inherited type step, painted in the
|
|
3
|
+
* ink of the status the caller names — the pair's `content` channel, which is
|
|
4
|
+
* the same ink the swatch, the chip and the diff mark read (README §3.4). With
|
|
5
|
+
* no status the text falls back to the zone's section content colour, so an
|
|
6
|
+
* unkeyed word still reads as body text.
|
|
7
|
+
*/
|
|
8
|
+
export declare const StatusBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
9
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
$status?: string;
|
|
12
|
+
}>> & string;
|
|
13
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/StatusText/styles.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,SAAS;;;cAA2B,MAAM;YAItD,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { TWithBasicElementOffsets, TFullWidth } from "@md-code/styles";
|
|
3
|
+
type TSubmitProps = {
|
|
4
|
+
name: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
value: string | number;
|
|
7
|
+
} & TWithBasicElementOffsets & TFullWidth;
|
|
8
|
+
declare const Submit: ({ $offsetBottom, $offsetRight, $fullWidth, ...props }: TSubmitProps) => React.JSX.Element;
|
|
9
|
+
export { Submit };
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Submit/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG5E,KAAK,YAAY,GAAG;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB,GAAG,wBAAwB,GAC3B,UAAU,CAAC;AAuDZ,QAAA,MAAM,MAAM,GAAI,uDAAuD,YAAY,sBAQlF,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface SubtleTextProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
3
|
+
/**
|
|
4
|
+
* Let the aside take the spare width of a row (`flex: 1 1 auto`) and break a
|
|
5
|
+
* long word instead of pushing its neighbours out — the flexible middle of a
|
|
6
|
+
* line whose other items keep their size.
|
|
7
|
+
*/
|
|
8
|
+
$grow?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* A quiet aside beside a heading or under a number — a count, a hint, a
|
|
12
|
+
* threshold. It is smaller than body text and drawn in the zone's faint chrome
|
|
13
|
+
* ink, so it never competes with the fact it annotates. With `$grow` it also
|
|
14
|
+
* takes the spare width of the row it sits in.
|
|
15
|
+
*/
|
|
16
|
+
export declare const SubtleText: ({ $grow, children, ...rest }: SubtleTextProps) => React.JSX.Element;
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/SubtleText/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IAC7E;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,8BAA8B,eAAe,sBAIvE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The aside itself: the zone's small step in its faint chrome ink. No surface
|
|
3
|
+
* of its own — it sits on whatever the caller owns. `$grow` makes it the
|
|
4
|
+
* flexible item of a row: it takes the spare width and breaks a long word
|
|
5
|
+
* instead of pushing the items after it out of the line.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SubtleBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
8
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
$grow?: boolean;
|
|
11
|
+
}>> & string;
|
|
12
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/SubtleText/styles.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,SAAS;;;YAAyB,OAAO;YASrD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { ThemeInterface } from "@md-code/styles";
|
|
2
|
+
import React from "react";
|
|
3
|
+
export interface SurfaceProps {
|
|
4
|
+
/** The surface's heading, drawn in the zone's title role. */
|
|
5
|
+
heading?: React.ReactNode;
|
|
6
|
+
/** Anything that shares the heading's baseline: counts, badges, controls. */
|
|
7
|
+
actions?: React.ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* A key of the zone's `colors.status` map painting the left stripe; the legal
|
|
10
|
+
* keys belong to the zone theme, not to this component (README §3.4).
|
|
11
|
+
*/
|
|
12
|
+
$status?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The zone theme nested around this surface's own box. A caller that wants the
|
|
15
|
+
* card one step above the page passes the zone whose `colors.section` is the
|
|
16
|
+
* card's colour; the page around it keeps its own theme (README §6).
|
|
17
|
+
*/
|
|
18
|
+
theme?: ThemeInterface;
|
|
19
|
+
children?: React.ReactNode;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A raised surface: a card, one step above the page. `heading` and `actions`
|
|
23
|
+
* share one baseline above the content; `$status` names a key of the zone's
|
|
24
|
+
* `colors.status` map and paints the left accent stripe with that pair's content
|
|
25
|
+
* ink.
|
|
26
|
+
*
|
|
27
|
+
* The atom owns no palette: it paints itself with the theme it is already inside.
|
|
28
|
+
* A caller that needs the card on a different surface value nests that zone
|
|
29
|
+
* theme through `theme`, and the atom wraps its own box in the provider — the
|
|
30
|
+
* markup is the same, with or without it (README §6: a different design
|
|
31
|
+
* situation is a zone theme, not a variant of the component).
|
|
32
|
+
*/
|
|
33
|
+
export declare const Surface: ({ heading, actions, $status, theme, children }: SurfaceProps) => React.JSX.Element;
|
|
34
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Surface/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,YAAY;IAC5B,6DAA6D;IAC7D,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,6EAA6E;IAC7E,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,OAAO,GAAI,gDAAgD,YAAY,sBAcnF,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The card surface: the zone's `section` colour, a hairline drawn in the zone's
|
|
3
|
+
* `edge` chrome key (the theme ships no border colour — README §4.1 lets a
|
|
4
|
+
* border read a pair colour), the contract radius, and the section padding.
|
|
5
|
+
* `max-width`/`min-width` keep a card inside its column, not the page.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SurfaceSection: 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
|
+
$status?: string;
|
|
11
|
+
}>> & string;
|
|
12
|
+
/**
|
|
13
|
+
* The heading line: the title takes the remaining width so a trailing control
|
|
14
|
+
* stays right, and everything wraps on one baseline when the card narrows.
|
|
15
|
+
*/
|
|
16
|
+
export declare const Head: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
17
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
18
|
+
}> & string;
|
|
19
|
+
/**
|
|
20
|
+
* The card heading in the zone's `title` role: the large step of the zone's
|
|
21
|
+
* scale, the title weight, and the zone's tracking (a value the zone carries,
|
|
22
|
+
* README §4.2).
|
|
23
|
+
*/
|
|
24
|
+
export declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "style"> & {
|
|
25
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
26
|
+
}> & string;
|
|
27
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Surface/styles.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;;cAA8B,MAAM;YAY9D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,IAAI;;WAOhB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,KAAK;;WAQjB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface SwitchProps {
|
|
3
|
+
checked: boolean;
|
|
4
|
+
onChange: (checked: boolean) => void;
|
|
5
|
+
leftLabel?: string;
|
|
6
|
+
rightLabel?: string;
|
|
7
|
+
size?: "small" | "default";
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const Switch: React.FC<SwitchProps>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Switch/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,WAAW;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAkBxC,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The switch track. It is an overlay surface with the theme's silhouette,
|
|
3
|
+
* texture and muted outline; all paint comes from contract fields, so the
|
|
4
|
+
* control never inspects the active theme's name.
|
|
5
|
+
*/
|
|
6
|
+
export declare const SwitchLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "style"> & {
|
|
7
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
$size?: "small" | "default";
|
|
10
|
+
}>> & string;
|
|
11
|
+
/** The native checkbox stays hidden; its state drives the slider via CSS. */
|
|
12
|
+
export declare const SwitchInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
|
|
13
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
$size?: "small" | "default";
|
|
16
|
+
}>> & string;
|
|
17
|
+
/** The moving knob; its circle is the control's own shape, not a theme value. */
|
|
18
|
+
export declare const Slider: 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
|
+
$size?: "small" | "default";
|
|
22
|
+
}>> & string;
|
|
23
|
+
/** Lays the optional labels out beside the track; owns no paint. */
|
|
24
|
+
export declare const SwitchContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
25
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
26
|
+
}> & string;
|
|
27
|
+
/** Side label text sits on the section surface, so it reads sectionContent. */
|
|
28
|
+
export declare const Label: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "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/Switch/styles.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;YAA0B,OAAO,GAAG,SAAS;YA+BpE,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,WAAW;;;YAA0B,OAAO,GAAG,SAAS;YAgBpE,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,MAAM;;;YAAyB,OAAO,GAAG,SAAS;YAoB9D,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,eAAe;;WAI3B,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,KAAK;;WAIjB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface TabItem {
|
|
3
|
+
label: string | React.ReactNode;
|
|
4
|
+
content: React.ReactNode;
|
|
5
|
+
id?: string;
|
|
6
|
+
}
|
|
7
|
+
interface TabsProps {
|
|
8
|
+
tabs: TabItem[];
|
|
9
|
+
orientation?: "horizontal" | "vertical";
|
|
10
|
+
defaultActiveTab?: number;
|
|
11
|
+
onTabChange?: (tabNumber: number) => void;
|
|
12
|
+
containerStyle?: React.CSSProperties;
|
|
13
|
+
className?: string;
|
|
14
|
+
expanded?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare const Tabs: React.FC<TabsProps>;
|
|
17
|
+
export { Tabs };
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Tabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,OAAO;IACvB,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAChC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;CACZ;AAED,UAAU,SAAS;IAClB,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAwE7B,CAAC;AAEF,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The tab shell. Horizontal mode is a plain column; vertical mode is the grid
|
|
3
|
+
* shell above. Structure only beyond what the shell constants carry.
|
|
4
|
+
*/
|
|
5
|
+
export declare const TabsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
6
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
7
|
+
}, {
|
|
8
|
+
$orientation: "horizontal" | "vertical";
|
|
9
|
+
$expanded?: boolean;
|
|
10
|
+
}>> & string;
|
|
11
|
+
/**
|
|
12
|
+
* The list of tab buttons: a row or column that carries the separator rule and,
|
|
13
|
+
* in vertical mode, the overlay surface and its own scroll.
|
|
14
|
+
*/
|
|
15
|
+
export declare const TabList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
16
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
$orientation: "horizontal" | "vertical";
|
|
19
|
+
}>> & string;
|
|
20
|
+
/**
|
|
21
|
+
* A tab button. Resting glyphs read the section content colour (proper-naming,
|
|
22
|
+
* README §3.1); the accent appears in the hover state and, for the selected
|
|
23
|
+
* tab, only as a border. Typographic role, radius and motion rhythm are theme
|
|
24
|
+
* data, so viking keeps its carved uppercase and glass its calm sentence case.
|
|
25
|
+
*/
|
|
26
|
+
export declare const TabButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
27
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
$active: boolean;
|
|
30
|
+
$orientation: "horizontal" | "vertical";
|
|
31
|
+
}>> & string;
|
|
32
|
+
/**
|
|
33
|
+
* The panel below/beside the list: padding and scroll only, no paint of its own.
|
|
34
|
+
*/
|
|
35
|
+
export declare const TabPanel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
36
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
$orientation: "horizontal" | "vertical";
|
|
39
|
+
}>> & string;
|
|
40
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Tabs/styles.ts"],"names":[],"mappings":"AA2GA;;;GAGG;AACH,eAAO,MAAM,aAAa;;;kBACX,YAAY,GAAG,UAAU;gBAC3B,OAAO;YAMnB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,OAAO;;;kBAA8B,YAAY,GAAG,UAAU;YAK1E,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,SAAS;;;aAA4B,OAAO;kBAAgB,YAAY,GAAG,UAAU;YA8BjG,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ;;;kBAA8B,YAAY,GAAG,UAAU;YAK3E,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TWithBasicElementOffsets, TFullWidth } from "@md-code/styles";
|
|
2
|
+
type TTextCheckboxProps = {
|
|
3
|
+
name: string;
|
|
4
|
+
id: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
} & TWithBasicElementOffsets & TFullWidth & React.InputHTMLAttributes<HTMLInputElement>;
|
|
7
|
+
declare const TextCheckbox: ({ name, id, label, $offsetBottom, $offsetRight, $fullWidth, ...props }: TTextCheckboxProps) => import("react").JSX.Element;
|
|
8
|
+
export { TextCheckbox };
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/TextCheckbox/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG5E,KAAK,kBAAkB,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,wBAAwB,GAC3B,UAAU,GACV,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAyD7C,QAAA,MAAM,YAAY,GAAI,wEAAwE,kBAAkB,gCAK/G,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface TextLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
3
|
+
/** A key of the nearest zone's `colors.status` — the ink of the link, else the section's. */
|
|
4
|
+
$status?: string;
|
|
5
|
+
/**
|
|
6
|
+
* Whether the link is underlined at rest (default `true`). A link that sits in
|
|
7
|
+
* a block already read as a link — a list of names, a panel action — passes
|
|
8
|
+
* `false` and keeps only the hover of its zone.
|
|
9
|
+
*/
|
|
10
|
+
$underline?: boolean;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* An inline link on any surface: a plain anchor the browser follows, with no
|
|
14
|
+
* router behind it. Use it wherever a link leaves a report, a list or a table.
|
|
15
|
+
* For a link inside a Next.js application use the Next-bound `atoms/Link`.
|
|
16
|
+
*
|
|
17
|
+
* ```tsx
|
|
18
|
+
* <TextLink href="#/pair?id=f1" $status="accent">open diff →</TextLink>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare const TextLink: ({ $status, $underline, children, ...rest }: TextLinkProps) => React.JSX.Element;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/TextLink/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACnF,6FAA6F;IAC7F,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,QAAQ,GAAI,4CAAmD,aAAa,sBAMxF,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A link's ink at rest is the section CONTENT colour, or the status the caller
|
|
3
|
+
* names — never the accent: README §4.3 allows the accent only in a hover or
|
|
4
|
+
* other state, so the hover fragment of the theme carries whatever change the
|
|
5
|
+
* zone wants (`effects.interaction.hover`), and the underline alone says "link".
|
|
6
|
+
* A caller whose block already reads as a list of links turns the underline off
|
|
7
|
+
* (`$underline={false}`) and keeps the hover.
|
|
8
|
+
*/
|
|
9
|
+
export declare const LinkAnchor: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "style"> & {
|
|
10
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
$status?: string;
|
|
13
|
+
$underline?: boolean;
|
|
14
|
+
}>> & string;
|
|
15
|
+
//# sourceMappingURL=styles.d.ts.map
|