@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":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/TextLink/styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU;;;cAAwB,MAAM;iBAAe,OAAO;YAU1E,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { TWithBasicElementOffsets, TFullWidth } from "@md-code/styles";
|
|
2
|
+
type TTextareaProps = {
|
|
3
|
+
name?: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
rows?: number;
|
|
7
|
+
value?: unknown;
|
|
8
|
+
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
9
|
+
} & TWithBasicElementOffsets & TFullWidth;
|
|
10
|
+
/**
|
|
11
|
+
* The multi-line text surface. It mirrors the input (overlay surface, muted
|
|
12
|
+
* outline derived from `sectionContent`, theme silhouette/texture/shadow) and
|
|
13
|
+
* only adds the vertical resize and a taller resting height.
|
|
14
|
+
*/
|
|
15
|
+
declare const Textarea: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "style"> & {
|
|
16
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
17
|
+
}, TTextareaProps>> & string;
|
|
18
|
+
export { Textarea };
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Textarea/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG5E,KAAK,cAAc,GAAG;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC;CACnE,GAAG,wBAAwB,GAC3B,UAAU,CAAC;AAEZ;;;;GAIG;AACH,QAAA,MAAM,QAAQ;;4BAmDb,CAAC;AAEF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface ToggleProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
title: string | React.JSX.Element;
|
|
5
|
+
defaultState?: boolean;
|
|
6
|
+
setState?: (value: boolean) => void;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const Toggle: React.FC<ToggleProps>;
|
|
10
|
+
export { Toggle };
|
|
11
|
+
export default Toggle;
|
|
12
|
+
export declare const ArrowIcon: ({ rotated, onClick }: {
|
|
13
|
+
rotated: boolean;
|
|
14
|
+
onClick: () => void;
|
|
15
|
+
}) => React.JSX.Element;
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Toggle/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,UAAU,WAAW;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;IAClC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAoBjC,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,eAAe,MAAM,CAAC;AAEtB,eAAO,MAAM,SAAS,GAAI,sBAAsB;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,sBAIxF,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The disclosure row. It is NOT a surface/plate: no background, no texture and
|
|
3
|
+
* no silhouette fill — the section behind it stays visible. Only the carved
|
|
4
|
+
* bottom rule (sectionContent) separates one disclosure from the next; the
|
|
5
|
+
* radius stays theme data so a rounded theme keeps its corners. This mirrors
|
|
6
|
+
* the viking baseline, where the row was transparent and the rule was the only
|
|
7
|
+
* paint.
|
|
8
|
+
*/
|
|
9
|
+
export declare const MainContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
10
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
11
|
+
}> & string;
|
|
12
|
+
/** The clickable header row; typography and hover come from theme roles. */
|
|
13
|
+
export declare const ToggleContent: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
14
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
15
|
+
}> & string;
|
|
16
|
+
/** Rotates the chevron when open; the motion rhythm is the theme's. */
|
|
17
|
+
export declare const ArrowContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
18
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
$rotated: boolean;
|
|
21
|
+
}>> & string;
|
|
22
|
+
/** The header title fills the row so the chevron stays at the far edge. */
|
|
23
|
+
export declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
24
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
25
|
+
}> & string;
|
|
26
|
+
/** Collapsible body: height/opacity animation, no theme paint of its own. */
|
|
27
|
+
export declare const ChildrensContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
28
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
$showContent: boolean;
|
|
31
|
+
}>> & string;
|
|
32
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Toggle/styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa;;WAGzB,CAAC;AAEF,4EAA4E;AAC5E,eAAO,MAAM,aAAa;;WAezB,CAAC;AAEF,uEAAuE;AACvE,eAAO,MAAM,cAAc;;;cAA0B,OAAO;YAQ3D,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,KAAK;;WAEjB,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,kBAAkB;;;kBAA8B,OAAO;YAOnE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface TooltipProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
text?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
$fullWidth?: boolean;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A hover tooltip: wraps an anchor and shows a floating bubble with `text`
|
|
10
|
+
* above or below it depending on the available viewport space. Pass
|
|
11
|
+
* `$fullWidth` to stretch the anchor, `className` to style the wrapper.
|
|
12
|
+
*/
|
|
13
|
+
declare const Tooltip: React.FC<TooltipProps>;
|
|
14
|
+
export { Tooltip };
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Tooltip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,UAAU,YAAY;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;;GAIG;AACH,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA4BnC,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The tooltip anchor: an inline box (or full-width when asked) the bubble is
|
|
3
|
+
* positioned against. Pure layout, so it owns no paint.
|
|
4
|
+
*/
|
|
5
|
+
export declare const ToolTipContainer: 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
|
+
$fullWidth?: boolean;
|
|
9
|
+
}>> & string;
|
|
10
|
+
/**
|
|
11
|
+
* The tooltip bubble. It is a notification surface that floats ABOVE the page,
|
|
12
|
+
* so it takes the `notification` shadow (README §5.2), the `section` pair for
|
|
13
|
+
* its surface and content, the accent as its outline (a border is the zone's
|
|
14
|
+
* outline, README §4.1) and the theme radius. The texture is dual-attached to
|
|
15
|
+
* `background-image` and `backdrop-filter` (README §5.3). The baseline painted
|
|
16
|
+
* the content colour as the surface and vice versa — illegal under
|
|
17
|
+
* proper-naming (README §3.1); the section pair is the closest legal reading.
|
|
18
|
+
*/
|
|
19
|
+
export declare const ToolTipText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
20
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
$position: string;
|
|
23
|
+
}>> & string;
|
|
24
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Tooltip/styles.ts"],"names":[],"mappings":"AA4BA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;iBAA6B,OAAO;YAIhE,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW;;;eAA4B,MAAM;YA4DzD,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { StyledPageTitle as PageTitle, StyledSubTitle as SubTitle, StyledSectionTitle as SectionTitle, StyledPlainText as PlainText, StyledHighlighted as Highlighted, StyledLabel as Label, StyledDescriptionText as DescriptionText, StyledHeaderText as HeaderText, basicFont } from "./styles.js";
|
|
2
|
+
export { PageTitle, SubTitle, SectionTitle, PlainText, Highlighted, Label, DescriptionText, HeaderText, basicFont };
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,eAAe,IAAI,SAAS,EAC5B,cAAc,IAAI,QAAQ,EAC1B,kBAAkB,IAAI,YAAY,EAClC,eAAe,IAAI,SAAS,EAC5B,iBAAiB,IAAI,WAAW,EAChC,WAAW,IAAI,KAAK,EACpB,qBAAqB,IAAI,eAAe,EACxC,gBAAgB,IAAI,UAAU,EAC9B,SAAS,EACT,oBAAiB;AAElB,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { TWithBasicElementOffsets } from "@md-code/styles";
|
|
2
|
+
import { basicFont } from "@md-code/styles";
|
|
3
|
+
export { basicFont };
|
|
4
|
+
/**
|
|
5
|
+
* The page title: the largest title role. It reads the title family, weight
|
|
6
|
+
* and casing from the theme (viking carved uppercase, glass regular
|
|
7
|
+
* sentence-case) and paints the section content colour; the accent survives
|
|
8
|
+
* only as the theme's content shadow (README §4.2, §5.2), never as an accent
|
|
9
|
+
* glyph at rest (proper-naming, README §3.1).
|
|
10
|
+
*/
|
|
11
|
+
export declare const StyledPageTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "style"> & {
|
|
12
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
13
|
+
}, TWithBasicElementOffsets>> & string;
|
|
14
|
+
/**
|
|
15
|
+
* The subtitle: the second heading level. Same title role as the page title,
|
|
16
|
+
* one step less assertive — no explicit weight, so the role's base font (from
|
|
17
|
+
* `basicFont`) stays in charge.
|
|
18
|
+
*/
|
|
19
|
+
export declare const StyledSubTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "style"> & {
|
|
20
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
21
|
+
}, TWithBasicElementOffsets>> & string;
|
|
22
|
+
/**
|
|
23
|
+
* The section heading: the title role at body size, with the theme title
|
|
24
|
+
* weight, casing and content shadow.
|
|
25
|
+
*/
|
|
26
|
+
export declare const StyledSectionTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "style"> & {
|
|
27
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
28
|
+
}, TWithBasicElementOffsets>> & string;
|
|
29
|
+
/**
|
|
30
|
+
* The plain body text: the text role — its family, weight and casing are theme
|
|
31
|
+
* data, so viking's carved uppercase applies without a gate. `$tone="dim"` reads
|
|
32
|
+
* the zone's dim chrome ink instead of the section content colour, for the
|
|
33
|
+
* paragraph that explains a panel rather than stating its fact.
|
|
34
|
+
*/
|
|
35
|
+
export declare const StyledPlainText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "style"> & {
|
|
36
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
37
|
+
}, TWithBasicElementOffsets & {
|
|
38
|
+
$tone?: "default" | "dim";
|
|
39
|
+
}>> & string;
|
|
40
|
+
/**
|
|
41
|
+
* Emphasised inline text. The baseline painted the accent here at rest, which
|
|
42
|
+
* proper-naming forbids for a glyph; the emphasis is now carried by the
|
|
43
|
+
* theme's content shadow and title weight over the section content colour (a
|
|
44
|
+
* documented deviation, same call as the breadcrumb's active crumb).
|
|
45
|
+
*/
|
|
46
|
+
export declare const StyledHighlighted: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
47
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
48
|
+
}, TWithBasicElementOffsets>> & string;
|
|
49
|
+
/**
|
|
50
|
+
* The label chip: a zone surface sitting on the overlay layer with the section
|
|
51
|
+
* content colour on it, the theme radius, a muted 25% content outline (the
|
|
52
|
+
* Phase 4a muted rule — the legacy `labelBackground` pair is gone, README
|
|
53
|
+
* §5.1) and the theme texture dual-attached to `background-image` and
|
|
54
|
+
* `backdrop-filter` (README §5.3).
|
|
55
|
+
*/
|
|
56
|
+
export declare const StyledLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "style"> & {
|
|
57
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
58
|
+
}, TWithBasicElementOffsets>> & string;
|
|
59
|
+
/**
|
|
60
|
+
* The small description text: the text role's weight and the small type step.
|
|
61
|
+
*/
|
|
62
|
+
export declare const StyledDescriptionText: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "style"> & {
|
|
63
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
64
|
+
}> & string;
|
|
65
|
+
/**
|
|
66
|
+
* The header text: a title-role heading at the large type step, with the
|
|
67
|
+
* theme's title casing and content shadow.
|
|
68
|
+
*/
|
|
69
|
+
export declare const StyledHeaderText: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "style"> & {
|
|
70
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
71
|
+
}> & string;
|
|
72
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Typography/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAAsC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEhF,OAAO,EAAE,SAAS,EAAE,CAAC;AAErB;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;sCAW3B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc;;sCAU1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;sCAW9B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;YAAiD,SAAS,GAAG,KAAK;YAW7F,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB;;sCAI7B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,WAAW;;sCAoBvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB;;WAIjC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;WAO5B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/** @component */
|
|
3
|
+
declare const ErrorValidationMessage: React.FC<React.HTMLAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const ErrorValidationContainer: React.FC<React.HTMLAttributes<HTMLDivElement> & {
|
|
5
|
+
$isError: boolean;
|
|
6
|
+
}>;
|
|
7
|
+
export { ErrorValidationMessage, ErrorValidationContainer };
|
|
8
|
+
export default ErrorValidationMessage;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Validation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,iBAAiB;AACjB,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAE1E,CAAC;AAEF,QAAA,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG;IAAE,QAAQ,EAAE,OAAO,CAAA;CAAE,CAG9B,CAAC;AAExE,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,CAAC;AAC5D,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The validation message. Its colour is the consuming theme's own status entry
|
|
3
|
+
* for the `failed` key, falling back to the plain section content colour when
|
|
4
|
+
* that theme declares no such status (README §3.4 — the component knows no
|
|
5
|
+
* status vocabulary, it only names the key the application supplies).
|
|
6
|
+
*/
|
|
7
|
+
export declare const StyledErrorValidationMessage: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
8
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
9
|
+
}> & string;
|
|
10
|
+
/**
|
|
11
|
+
* The field wrapper that marks an invalid input with a bottom rule. At rest the
|
|
12
|
+
* rule is transparent; on error it takes the `failed` status surface colour,
|
|
13
|
+
* falling back to the section content colour when the theme declares none
|
|
14
|
+
* (README §3.4). The baseline's viking-only dashed thicker rule has no
|
|
15
|
+
* contract field, so every theme now uses the shared border size (documented
|
|
16
|
+
* deviation).
|
|
17
|
+
*/
|
|
18
|
+
export declare const StyledErrorValidationContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
19
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
$isError: boolean;
|
|
22
|
+
}>> & string;
|
|
23
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Validation/styles.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B;;WAKxC,CAAC;AAUF;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B;;;cAA0B,OAAO;YAI3E,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ZIndexName } from "@md-code/styles";
|
|
3
|
+
type IWideImageProps = {
|
|
4
|
+
src: string;
|
|
5
|
+
alt?: string;
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
priority?: boolean;
|
|
9
|
+
alignment?: "top" | "bottom" | "center";
|
|
10
|
+
zIndex?: ZIndexName;
|
|
11
|
+
blured?: boolean;
|
|
12
|
+
hidden?: boolean;
|
|
13
|
+
layer?: "front" | "back";
|
|
14
|
+
onLoad?: () => void;
|
|
15
|
+
};
|
|
16
|
+
export declare const fadeInAnimation: import("styled-components").RuleSet<object>;
|
|
17
|
+
export declare const fadeOutAnimation: import("styled-components").RuleSet<object>;
|
|
18
|
+
export declare const fadeInZoomedAnimation: import("styled-components").RuleSet<object>;
|
|
19
|
+
/**
|
|
20
|
+
* A full-bleed cover image with entry/hide animations, optional blur,
|
|
21
|
+
* alignment and stacking layer. Pass `src`, `width` and `height`; the demo
|
|
22
|
+
* defaults match the landing background image.
|
|
23
|
+
*/
|
|
24
|
+
declare const WideImage: React.ForwardRefExoticComponent<IWideImageProps & React.RefAttributes<HTMLImageElement>>;
|
|
25
|
+
export default WideImage;
|
|
26
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/WideImage/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAkB,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElE,KAAK,eAAe,GAAG;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACxC,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAkDF,eAAO,MAAM,eAAe,6CAG3B,CAAC;AAGF,eAAO,MAAM,gBAAgB,6CAG5B,CAAC;AAGF,eAAO,MAAM,qBAAqB,6CAGjC,CAAC;AA+EF;;;;GAIG;AACH,QAAA,MAAM,SAAS,0FAgCd,CAAC;AAGF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { StatusKeyOf } from "@md-code/styles";
|
|
3
|
+
import type { DefaultTheme } from "styled-components";
|
|
4
|
+
export interface BadgeProps<TTheme extends DefaultTheme = DefaultTheme> {
|
|
5
|
+
/**
|
|
6
|
+
* Any key of the current theme's `colors.status` map (README §3.4).
|
|
7
|
+
* The legal keys come from `DefaultTheme`, which the consuming app narrows by
|
|
8
|
+
* augmenting `styled-components`; the library default is the open `string`.
|
|
9
|
+
*/
|
|
10
|
+
$status?: StatusKeyOf<TTheme>;
|
|
11
|
+
isLoading?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The badge surface plus its content: both colours come from the nearest
|
|
15
|
+
* theme's `colors.status` map for `$status`, falling back to the section pair
|
|
16
|
+
* (README §3.4). The radius is a complete CSS length from the contract.
|
|
17
|
+
*/
|
|
18
|
+
export declare const BadgeContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
19
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
20
|
+
}, BadgeProps<DefaultTheme>>> & string;
|
|
21
|
+
/** A status badge; `$status` is a key of the current theme's status map. */
|
|
22
|
+
export declare const Badge: <TTheme extends DefaultTheme = DefaultTheme>({ $status, isLoading, children, }: BadgeProps<TTheme> & {
|
|
23
|
+
children?: React.ReactNode;
|
|
24
|
+
}) => React.JSX.Element;
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/Badge/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,WAAW,UAAU,CAAC,MAAM,SAAS,YAAY,GAAG,YAAY;IACrE;;;;OAIG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;GAIG;AACH,eAAO,MAAM,cAAc;;sCAc1B,CAAC;AAEF,4EAA4E;AAC5E,eAAO,MAAM,KAAK,GAAI,MAAM,SAAS,YAAY,GAAG,YAAY,EAAE,mCAI/D,UAAU,CAAC,MAAM,CAAC,GAAG;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,sBAOrD,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { IconName } from "@md-code/components/icons";
|
|
3
|
+
import type { StatusKeyOf } from "@md-code/styles";
|
|
4
|
+
import type { DefaultTheme } from "styled-components";
|
|
5
|
+
export type ButtonSize = "small" | "medium" | "large" | "icon";
|
|
6
|
+
export type ButtonWeight = "bold" | "hollow" | "outline" | "light" | "none" | "link";
|
|
7
|
+
/**
|
|
8
|
+
* `active` and `passive` are the two contract tones (highlighted / section
|
|
9
|
+
* pairs). Any other value is a key of the current theme's `colors.status` map:
|
|
10
|
+
* the theme defines what `negative` means, the component only looks it up
|
|
11
|
+
* (README §3.4). `TTheme` defaults to the open `DefaultTheme`, so the library
|
|
12
|
+
* compiles standalone; the consuming app narrows it by augmenting
|
|
13
|
+
* `styled-components` `DefaultTheme`.
|
|
14
|
+
*/
|
|
15
|
+
export type ButtonTone<TTheme extends DefaultTheme = DefaultTheme> = "active" | "passive" | StatusKeyOf<TTheme>;
|
|
16
|
+
export interface ButtonProps<TTheme extends DefaultTheme = DefaultTheme> extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
17
|
+
$fullWidth?: boolean;
|
|
18
|
+
icon?: IconName;
|
|
19
|
+
iconPosition?: "left" | "right";
|
|
20
|
+
iconLeft?: IconName;
|
|
21
|
+
iconRight?: IconName;
|
|
22
|
+
text?: string;
|
|
23
|
+
isLoading?: boolean;
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
tone?: ButtonTone<TTheme>;
|
|
26
|
+
weight?: ButtonWeight;
|
|
27
|
+
size?: ButtonSize;
|
|
28
|
+
}
|
|
29
|
+
declare const Button: <TTheme extends DefaultTheme = DefaultTheme>({ icon, iconPosition, iconLeft, iconRight, text, isLoading, children, disabled, className, size, tone, weight, $fullWidth, ...props }: ButtonProps<TTheme>) => React.JSX.Element;
|
|
30
|
+
export { Button };
|
|
31
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAG1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGtD,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAC/D,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AACrF;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,CAAC,MAAM,SAAS,YAAY,GAAG,YAAY,IAAI,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;AAEhH,MAAM,WAAW,WAAW,CAAC,MAAM,SAAS,YAAY,GAAG,YAAY,CACtE,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACrD,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAGhC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,SAAS,CAAC,EAAE,QAAQ,CAAC;IAErB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAC1B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,IAAI,CAAC,EAAE,UAAU,CAAC;CAClB;AAED,QAAA,MAAM,MAAM,GAAI,MAAM,SAAS,YAAY,GAAG,YAAY,EAAE,uIAezD,WAAW,CAAC,MAAM,CAAC,sBAgCrB,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ButtonSize, ButtonTone, ButtonWeight } from "./index.js";
|
|
2
|
+
/**
|
|
3
|
+
* The button surface. Weight picks the colour pair (contract tones or a status
|
|
4
|
+
* key), size picks spacing/typography; the rest is read from the theme
|
|
5
|
+
* contract only, so the button stays theme-agnostic.
|
|
6
|
+
*/
|
|
7
|
+
export declare const StyledButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
8
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
$tone: ButtonTone;
|
|
11
|
+
$weight: ButtonWeight;
|
|
12
|
+
$size: ButtonSize;
|
|
13
|
+
$fullWidth?: boolean;
|
|
14
|
+
}>> & string;
|
|
15
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/Button/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,mBAAgB;AAEpE;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;WACjB,UAAU;aACR,YAAY;WACd,UAAU;iBACJ,OAAO;YA0MpB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { TWithBasicElementOffsets } from "@md-code/styles";
|
|
2
|
+
import React from "react";
|
|
3
|
+
interface ICard extends TWithBasicElementOffsets {
|
|
4
|
+
image?: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
date?: string;
|
|
8
|
+
link: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* A content card: image, title, description and a footer link painted on the
|
|
12
|
+
* current theme's section surface.
|
|
13
|
+
*/
|
|
14
|
+
declare const Card: ({ image, title, description, date, link, ...rest }: ICard) => React.JSX.Element;
|
|
15
|
+
export { Card };
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/Card/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,KAAM,SAAQ,wBAAwB;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACb;AAED;;;GAGG;AACH,QAAA,MAAM,IAAI,GAAI,oDAAoD,KAAK,sBActE,CAAC;AAEF,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { TWithBasicElementOffsets } from "@md-code/styles";
|
|
2
|
+
/**
|
|
3
|
+
* The card surface: a resting section that borrows the theme's section shadow,
|
|
4
|
+
* its surface texture and its silhouette. The hover reaction is the theme's
|
|
5
|
+
* `interaction.hover` fragment — the card owns no motion values of its own.
|
|
6
|
+
*/
|
|
7
|
+
export declare const CardContainer: 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
|
+
}, TWithBasicElementOffsets>> & string;
|
|
10
|
+
/** Full-bleed cover image of the card; layout only. */
|
|
11
|
+
export declare const Image: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "style"> & {
|
|
12
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
13
|
+
}> & string;
|
|
14
|
+
/** Padded body holding the title and description on the section surface. */
|
|
15
|
+
export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
16
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
17
|
+
}> & string;
|
|
18
|
+
/** Card title: section content in the text family and large size. */
|
|
19
|
+
export declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "style"> & {
|
|
20
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
21
|
+
}> & string;
|
|
22
|
+
/** Card description text on the section surface. */
|
|
23
|
+
export declare const Description: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "style"> & {
|
|
24
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
25
|
+
}> & string;
|
|
26
|
+
/** Card footer strip carrying the date and the read-more link. */
|
|
27
|
+
export declare const Footer: 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
|
+
/** The read-more link is an action, so it takes the highlighted accent colour
|
|
31
|
+
* (not section content) and is underlined on hover. */
|
|
32
|
+
export declare const ReadMore: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<Omit<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, keyof {
|
|
33
|
+
href: string | import("url").UrlObject;
|
|
34
|
+
as?: string | import("url").UrlObject;
|
|
35
|
+
replace?: boolean;
|
|
36
|
+
scroll?: boolean;
|
|
37
|
+
shallow?: boolean;
|
|
38
|
+
passHref?: boolean;
|
|
39
|
+
prefetch?: boolean | null;
|
|
40
|
+
locale?: string | false;
|
|
41
|
+
legacyBehavior?: boolean;
|
|
42
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
43
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
44
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
45
|
+
}> & {
|
|
46
|
+
href: string | import("url").UrlObject;
|
|
47
|
+
as?: string | import("url").UrlObject;
|
|
48
|
+
replace?: boolean;
|
|
49
|
+
scroll?: boolean;
|
|
50
|
+
shallow?: boolean;
|
|
51
|
+
passHref?: boolean;
|
|
52
|
+
prefetch?: boolean | null;
|
|
53
|
+
locale?: string | false;
|
|
54
|
+
legacyBehavior?: boolean;
|
|
55
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
56
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
57
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
58
|
+
} & {
|
|
59
|
+
children?: React.ReactNode;
|
|
60
|
+
} & import("react").RefAttributes<HTMLAnchorElement>, "style"> & {
|
|
61
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
62
|
+
}, "as" | "forwardedAs"> & {
|
|
63
|
+
as?: import("styled-components").WebTarget | undefined;
|
|
64
|
+
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
65
|
+
}, "style"> & {
|
|
66
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | (import("react").CSSProperties & {
|
|
67
|
+
[key: `--${string}`]: string | number | undefined;
|
|
68
|
+
}) | undefined;
|
|
69
|
+
}> & string;
|
|
70
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/Card/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAIhE;;;;GAIG;AACH,eAAO,MAAM,aAAa;;sCA4BzB,CAAC;AAEF,uDAAuD;AACvD,eAAO,MAAM,KAAK;;WAIjB,CAAC;AAEF,4EAA4E;AAC5E,eAAO,MAAM,OAAO;;WAEnB,CAAC;AAEF,qEAAqE;AACrE,eAAO,MAAM,KAAK;;WAKjB,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,WAAW;;WAKvB,CAAC;AAEF,kEAAkE;AAClE,eAAO,MAAM,MAAM;;WAOlB,CAAC;AAEF;wDACwD;AACxD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WASpB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { FC, ReactNode } from "react";
|
|
2
|
+
type TCarouselSlide = {
|
|
3
|
+
url: string;
|
|
4
|
+
title: string;
|
|
5
|
+
text: string | ReactNode;
|
|
6
|
+
};
|
|
7
|
+
type TCarouselProps = {
|
|
8
|
+
slides: TCarouselSlide[];
|
|
9
|
+
reversed?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const Carousel: FC<TCarouselProps>;
|
|
12
|
+
export { Carousel };
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/Carousel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAW3C,KAAK,cAAc,GAAG;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;CACzB,CAAC;AAEF,KAAK,cAAc,GAAG;IACrB,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,QAAA,MAAM,QAAQ,EAAE,EAAE,CAAC,cAAc,CA8FhC,CAAC;AAEF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The scroll track: a grid of one full-width column per slide, horizontally
|
|
3
|
+
* scroll-snapped. Layout and scroll mechanics only.
|
|
4
|
+
*/
|
|
5
|
+
export declare const CarouselPage: 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
|
+
$isMobile: boolean | null;
|
|
9
|
+
$slidsCount: number;
|
|
10
|
+
}>> & string;
|
|
11
|
+
/** One slide, a snap target that lays its content out as a row. */
|
|
12
|
+
export declare const Slide: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
13
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
14
|
+
}> & string;
|
|
15
|
+
/** The carousel viewport clipping the overflowing track. */
|
|
16
|
+
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
17
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
18
|
+
}> & string;
|
|
19
|
+
/**
|
|
20
|
+
* A side navigation arrow overlay. The glyph is painted in the section content
|
|
21
|
+
* colour (the section is what sits behind it); the inactive arrow is dimmed
|
|
22
|
+
* structurally, and the stroke thickness is derived from the theme's border
|
|
23
|
+
* size rather than a raw pixel value.
|
|
24
|
+
*/
|
|
25
|
+
export declare const CarouselButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
26
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
$side: "prev" | "next";
|
|
29
|
+
$isActive: boolean;
|
|
30
|
+
}>> & string;
|
|
31
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/Carousel/styles.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,YAAY;;;eAA2B,OAAO,GAAG,IAAI;iBAAe,MAAM;YA6BtF,CAAC;AAEF,mEAAmE;AACnE,eAAO,MAAM,KAAK;;WAGjB,CAAC;AAEF,4DAA4D;AAC5D,eAAO,MAAM,SAAS;;WAKrB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;;WAAuB,MAAM,GAAG,MAAM;eAAa,OAAO;YA4BpF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIsMobile.d.ts","sourceRoot":"","sources":["../../../../molecules/Carousel/useIsMobile.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,WAAW,sBA6BhB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "prismjs/components/prism-javascript.js";
|
|
2
|
+
import "prismjs/components/prism-typescript.js";
|
|
3
|
+
import "prismjs/components/prism-json.js";
|
|
4
|
+
import "prismjs/components/prism-yaml.js";
|
|
5
|
+
/**
|
|
6
|
+
* Highlights `code` as `lang` with Prism, defaulting to TypeScript. Falls back
|
|
7
|
+
* to escaped plain text when the grammar is not registered, so the output is
|
|
8
|
+
* always a valid HTML string.
|
|
9
|
+
*/
|
|
10
|
+
export declare const defaultHighlight: (code: string, lang?: string) => string;
|
|
11
|
+
//# sourceMappingURL=highlight.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"highlight.d.ts","sourceRoot":"","sources":["../../../../molecules/CodeView/highlight.ts"],"names":[],"mappings":"AAWA,OAAO,wCAAwC,CAAC;AAChD,OAAO,wCAAwC,CAAC;AAChD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAY1C;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,EAAE,aAAmB,KAAG,MAKpE,CAAC"}
|