@md-code/components 0.0.0-stage → 0.0.1
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/README.md +11 -2
- package/dist/CentralModal-ButM9Ggi.js +159 -0
- 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 +188 -0
- package/dist/calendar.js +100 -0
- package/dist/card.js +81 -0
- package/dist/carousel.js +110 -0
- package/dist/central-modal.js +1 -0
- package/dist/circle-image.js +22 -0
- package/dist/code-preview.js +38 -0
- package/dist/code-view.js +96 -0
- package/dist/conditional-wrapper.js +5 -0
- package/dist/containers.js +115 -0
- package/dist/dist-DD9Lv2Ja.js +130 -0
- package/dist/div-input.js +101 -0
- package/dist/form-label.js +19 -0
- package/dist/form.js +17 -0
- package/dist/full-screen-modal.js +1 -0
- package/dist/header.js +19 -0
- package/dist/html-editor.js +74 -0
- package/dist/icons.js +44 -0
- package/dist/input.js +62 -0
- package/dist/link.js +35 -0
- package/dist/loading.js +87 -0
- package/dist/logo.js +12 -0
- package/dist/modals.js +1 -0
- package/dist/molecules/Carousel/arrow.svg +5 -0
- package/dist/molecules/Select/arrow_down.svg +3 -0
- package/dist/pagination.js +119 -0
- package/dist/progress-bar.js +26 -0
- package/dist/radio.js +72 -0
- package/dist/report-ui.js +280 -0
- package/dist/search-input.js +78 -0
- package/dist/select.js +161 -0
- package/dist/separator.js +10 -0
- package/dist/status-label.js +59 -0
- package/dist/submit.js +57 -0
- package/dist/switch.js +98 -0
- package/dist/table.js +108 -0
- package/dist/tabs.js +155 -0
- package/dist/text-checkbox.js +64 -0
- package/dist/textarea.js +56 -0
- package/dist/textures/Cloud/clouds.svg +52 -0
- package/dist/textures.js +170 -0
- package/dist/themes-zS3KQYdw-DIqyzjFD.js +184 -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 +93 -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/CentralModal/index.d.ts +3 -0
- package/dist/types/atoms/CentralModal/index.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/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 +28 -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 +21 -0
- package/dist/types/atoms/Loading/index.d.ts.map +1 -0
- package/dist/types/atoms/Loading/styles.d.ts +29 -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/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/Separator/index.d.ts +12 -0
- package/dist/types/atoms/Separator/index.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/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/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 +68 -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/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/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/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/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/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 +7 -0
- package/dist/types/molecules/Table/TableCels/index.d.ts.map +1 -0
- package/dist/types/molecules/Table/TableCels/styles.d.ts +29 -0
- package/dist/types/molecules/Table/TableCels/styles.d.ts.map +1 -0
- package/dist/types/molecules/Table/index.d.ts +27 -0
- package/dist/types/molecules/Table/index.d.ts.map +1 -0
- package/dist/types/molecules/Table/styles.d.ts +15 -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/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 +6 -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 +81 -0
- package/dist/validation.js +20 -0
- package/dist/wide-image.js +94 -0
- package/package.json +443 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useModal.d.ts","sourceRoot":"","sources":["../../../../shared/modals/useModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD,eAAO,MAAM,YAAY,uDAAyD,CAAC;AAEnF,eAAO,MAAM,QAAQ,wBAMpB,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/** One piece of raw evidence shown as a chip under a signal row. */
|
|
3
|
+
export interface SignalEvidence {
|
|
4
|
+
key: string;
|
|
5
|
+
label: React.ReactNode;
|
|
6
|
+
value: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/** One scoring group: its score, weight, contribution and evidence. */
|
|
9
|
+
export interface DecisionSignal {
|
|
10
|
+
key: string;
|
|
11
|
+
label: React.ReactNode;
|
|
12
|
+
short?: React.ReactNode;
|
|
13
|
+
color?: string;
|
|
14
|
+
what?: string;
|
|
15
|
+
score: number;
|
|
16
|
+
weight: number;
|
|
17
|
+
contribution: number;
|
|
18
|
+
applied?: boolean;
|
|
19
|
+
evidence?: SignalEvidence[];
|
|
20
|
+
}
|
|
21
|
+
/** One sentence explaining the verdict; `tone` marks a veto or disagreement. */
|
|
22
|
+
export interface DecisionWhy {
|
|
23
|
+
text: React.ReactNode;
|
|
24
|
+
tone?: string;
|
|
25
|
+
}
|
|
26
|
+
/** The verdict payload produced by the report's `explain()`. */
|
|
27
|
+
export interface Decision {
|
|
28
|
+
confidence: number;
|
|
29
|
+
thresholds: {
|
|
30
|
+
duplicate: number;
|
|
31
|
+
similar: number;
|
|
32
|
+
};
|
|
33
|
+
signals?: DecisionSignal[];
|
|
34
|
+
why?: DecisionWhy[];
|
|
35
|
+
}
|
|
36
|
+
/** The suggested fix for a duplicate. */
|
|
37
|
+
export interface DecisionFix {
|
|
38
|
+
text: React.ReactNode;
|
|
39
|
+
}
|
|
40
|
+
export interface SignalPillsProps {
|
|
41
|
+
decision?: Decision | null;
|
|
42
|
+
}
|
|
43
|
+
/** The compact list of signal pills used where a full panel is too tall. */
|
|
44
|
+
export declare const SignalPills: ({ decision }: SignalPillsProps) => React.JSX.Element;
|
|
45
|
+
export interface DecisionPanelProps {
|
|
46
|
+
decision?: Decision | null;
|
|
47
|
+
fix?: DecisionFix | null;
|
|
48
|
+
title?: string;
|
|
49
|
+
accent?: string;
|
|
50
|
+
}
|
|
51
|
+
/** The verdict panel: every signal's score/weight/share, its evidence and why. */
|
|
52
|
+
export declare const DecisionPanel: ({ decision, fix, title, accent, }: DecisionPanelProps) => React.JSX.Element | null;
|
|
53
|
+
//# sourceMappingURL=DecisionPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DecisionPanel.d.ts","sourceRoot":"","sources":["../../../../shared/report-ui/DecisionPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAoC1B,oEAAoE;AACpE,MAAM,WAAW,cAAc;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;CACvB;AAED,uEAAuE;AACvE,MAAM,WAAW,cAAc;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;CAC5B;AAED,gFAAgF;AAChF,MAAM,WAAW,WAAW;IAC3B,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAED,gEAAgE;AAChE,MAAM,WAAW,QAAQ;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IACnD,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;IAC3B,GAAG,CAAC,EAAE,WAAW,EAAE,CAAC;CACpB;AAED,yCAAyC;AACzC,MAAM,WAAW,WAAW;IAC3B,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAChC,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CAC3B;AAED,4EAA4E;AAC5E,eAAO,MAAM,WAAW,iBAAkB,gBAAgB,sBAazD,CAAC;AAEF,MAAM,WAAW,kBAAkB;IAClC,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC3B,GAAG,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,kFAAkF;AAClF,eAAO,MAAM,aAAa,sCAKvB,kBAAkB,6BA0DpB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const Bar: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
2
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
3
|
+
}> & string;
|
|
4
|
+
export declare const Track: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
5
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
6
|
+
}> & string;
|
|
7
|
+
export declare const Fill: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
8
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
$score: number;
|
|
11
|
+
$color?: string;
|
|
12
|
+
$applied?: boolean;
|
|
13
|
+
}>> & string;
|
|
14
|
+
export declare const ChipRow: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
15
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
16
|
+
}> & string;
|
|
17
|
+
export declare const Chip: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
18
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
19
|
+
}> & string;
|
|
20
|
+
export declare const Why: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "style"> & {
|
|
21
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
22
|
+
}> & string;
|
|
23
|
+
export declare const WhyLine: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "style"> & {
|
|
24
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
$tone?: string;
|
|
27
|
+
}>> & string;
|
|
28
|
+
export declare const FixMark: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
29
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
30
|
+
}> & string;
|
|
31
|
+
//# sourceMappingURL=DecisionPanel.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DecisionPanel.styles.d.ts","sourceRoot":"","sources":["../../../../shared/report-ui/DecisionPanel.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,GAAG;;WAMf,CAAC;AAGF,eAAO,MAAM,KAAK;;WAOjB,CAAC;AAIF,eAAO,MAAM,IAAI;;;YAAwB,MAAM;aAAW,MAAM;eAAa,OAAO;YAMnF,CAAC;AAGF,eAAO,MAAM,OAAO;;WAKnB,CAAC;AAIF,eAAO,MAAM,IAAI;;WAQhB,CAAC;AAGF,eAAO,MAAM,GAAG;;WAKf,CAAC;AAIF,eAAO,MAAM,OAAO;;;YAAuB,MAAM;YAMhD,CAAC;AAGF,eAAO,MAAM,OAAO;;WAEnB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const Frame: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
2
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
3
|
+
}> & string;
|
|
4
|
+
export declare const Head: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
5
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
6
|
+
}> & string;
|
|
7
|
+
export declare const Repo: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "style"> & {
|
|
8
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
9
|
+
}> & string;
|
|
10
|
+
export declare const Tabs: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
11
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
12
|
+
}> & string;
|
|
13
|
+
export declare const TabLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "style"> & {
|
|
14
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
$active?: boolean;
|
|
17
|
+
}>> & string;
|
|
18
|
+
export declare const Legend: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
19
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
20
|
+
}> & string;
|
|
21
|
+
export declare const Swatch: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
22
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
$color?: string;
|
|
25
|
+
}>> & string;
|
|
26
|
+
//# sourceMappingURL=Shell.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Shell.styles.d.ts","sourceRoot":"","sources":["../../../../shared/report-ui/Shell.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,KAAK;;WAIjB,CAAC;AAGF,eAAO,MAAM,IAAI;;WAQhB,CAAC;AAGF,eAAO,MAAM,IAAI;;WAIhB,CAAC;AAGF,eAAO,MAAM,IAAI;;WAKhB,CAAC;AAIF,eAAO,MAAM,OAAO;;;cAAwB,OAAO;YASlD,CAAC;AAGF,eAAO,MAAM,MAAM;;WASlB,CAAC;AAGF,eAAO,MAAM,MAAM;;;aAA0B,MAAM;YAQlD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../shared/report-ui/index.ts"],"names":[],"mappings":"AAGA,cAAc,MAAM,CAAC;AACrB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/** A small colour pill naming a signal, a count or a status; `color` tints it. */
|
|
3
|
+
export type BadgeProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
4
|
+
color?: string;
|
|
5
|
+
nowrap?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const Badge: ({ children, color, nowrap, ...rest }: BadgeProps) => React.JSX.Element;
|
|
8
|
+
/** A centred placeholder shown when a list or search has no rows to draw. */
|
|
9
|
+
export declare const Empty: ({ children }: {
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}) => React.JSX.Element;
|
|
12
|
+
/** The filter box for a screen: calls `onChange` with the typed value. */
|
|
13
|
+
export type SearchBoxProps = {
|
|
14
|
+
value: string;
|
|
15
|
+
onChange: (value: string) => void;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const SearchBox: ({ value, onChange, placeholder, }: SearchBoxProps) => React.JSX.Element;
|
|
19
|
+
/** One labelled number in a stat strip; `color` overrides the default tone. */
|
|
20
|
+
export type StatProps = {
|
|
21
|
+
label: React.ReactNode;
|
|
22
|
+
value: React.ReactNode;
|
|
23
|
+
color?: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const Stat: ({ label, value, color }: StatProps) => React.JSX.Element;
|
|
26
|
+
/** A grid that lays stat cells out across the available width. */
|
|
27
|
+
export declare const Stats: ({ children }: {
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
}) => React.JSX.Element;
|
|
30
|
+
//# sourceMappingURL=ui.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../../../shared/report-ui/ui.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,kFAAkF;AAClF,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,GAAG;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,KAAK,yCAA0C,UAAU,sBAIrE,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,KAAK,iBAAkB;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,sBAEjE,CAAC;AAEF,0EAA0E;AAC1E,MAAM,MAAM,cAAc,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,SAAS,sCAInB,cAAc,sBAOhB,CAAC;AAEF,+EAA+E;AAC/E,MAAM,MAAM,SAAS,GAAG;IACvB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,IAAI,4BAA6B,SAAS,sBAKtD,CAAC;AAEF,kEAAkE;AAClE,eAAO,MAAM,KAAK,iBAAkB;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,sBAEjE,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const Panel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
2
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
3
|
+
}, {
|
|
4
|
+
$accent?: string;
|
|
5
|
+
}>> & string;
|
|
6
|
+
export declare const PanelHead: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
7
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
8
|
+
}> & string;
|
|
9
|
+
export declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "style"> & {
|
|
10
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
11
|
+
}> & string;
|
|
12
|
+
export declare const Subtle: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
13
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
14
|
+
}> & string;
|
|
15
|
+
export declare const Mono: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "style"> & {
|
|
16
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
17
|
+
}> & string;
|
|
18
|
+
export declare const BadgeBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
19
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
$color?: string;
|
|
22
|
+
$nowrap?: boolean;
|
|
23
|
+
}>> & string;
|
|
24
|
+
export declare const SearchInput: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
|
|
25
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
26
|
+
}> & string;
|
|
27
|
+
export declare const StatGrid: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
28
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
29
|
+
}> & string;
|
|
30
|
+
export declare const StatCell: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
31
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
32
|
+
}> & string;
|
|
33
|
+
export declare const Stack: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
34
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
35
|
+
}> & string;
|
|
36
|
+
export declare const Row: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
37
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
38
|
+
}> & string;
|
|
39
|
+
export declare const EmptyBox: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
40
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
41
|
+
}> & string;
|
|
42
|
+
export declare const StatValue: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
43
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
$color?: string;
|
|
46
|
+
}>> & string;
|
|
47
|
+
export declare const StatLabel: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
48
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
49
|
+
}> & string;
|
|
50
|
+
//# sourceMappingURL=ui.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.styles.d.ts","sourceRoot":"","sources":["../../../../shared/report-ui/ui.styles.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,KAAK;;;cAA8B,MAAM;YAQrD,CAAC;AAIF,eAAO,MAAM,SAAS;;WAOrB,CAAC;AAGF,eAAO,MAAM,KAAK;;WAQjB,CAAC;AAGF,eAAO,MAAM,MAAM;;WAGlB,CAAC;AAIF,eAAO,MAAM,IAAI;;WAKhB,CAAC;AAIF,eAAO,MAAM,QAAQ;;;aAA0B,MAAM;cAAY,OAAO;YAcvE,CAAC;AAIF,eAAO,MAAM,WAAW;;WAWvB,CAAC;AAIF,eAAO,MAAM,QAAQ;;WAIpB,CAAC;AAGF,eAAO,MAAM,QAAQ;;WAKpB,CAAC;AAGF,eAAO,MAAM,KAAK;;WAKjB,CAAC;AAGF,eAAO,MAAM,GAAG;;WAMf,CAAC;AAKF,eAAO,MAAM,QAAQ;;WAKpB,CAAC;AAGF,eAAO,MAAM,SAAS;;;aAAyB,MAAM;YAKpD,CAAC;AAGF,eAAO,MAAM,SAAS;;WAKrB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type TToastData = {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
/** A key of the nearest theme's `colors.status` map (README §3.4). */
|
|
7
|
+
tone?: string;
|
|
8
|
+
duration?: number;
|
|
9
|
+
};
|
|
10
|
+
export type ToastsContextType = {
|
|
11
|
+
add: (toast: Omit<TToastData, 'id'>) => void;
|
|
12
|
+
remove: (id: string) => void;
|
|
13
|
+
};
|
|
14
|
+
export declare const ToastsContext: React.Context<ToastsContextType | undefined>;
|
|
15
|
+
export declare const ToastsProvider: React.FC<{
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const useToasts: () => ToastsContextType;
|
|
19
|
+
export declare const useLogger: () => ToastsContextType;
|
|
20
|
+
export declare const LoggerProvider: React.FC<{
|
|
21
|
+
children: React.ReactNode;
|
|
22
|
+
}>;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../shared/toasts/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAGhF,MAAM,MAAM,UAAU,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sEAAsE;IACtE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC5B,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,IAAI,CAAC;IAC7C,MAAM,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,aAAa,8CAA0D,CAAC;AAErF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CA+BlE,CAAC;AAEF,eAAO,MAAM,SAAS,yBAMrB,CAAC;AAEF,eAAO,MAAM,SAAS,yBAAY,CAAC;AACnC,eAAO,MAAM,cAAc;cA1CuB,KAAK,CAAC,SAAS;EA0CrB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** Fixed stack of toasts pinned to the bottom-right alert layer. */
|
|
2
|
+
export declare const ToastContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
3
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
4
|
+
}> & string;
|
|
5
|
+
/**
|
|
6
|
+
* A toast floats ABOVE the page, so it takes the `notification` shadow
|
|
7
|
+
* (README §5.2) and the `section` pair for its surface/content. `$tone` is a
|
|
8
|
+
* key of the nearest theme's `colors.status` map, falling back to that zone
|
|
9
|
+
* when the key is absent (README §3.4) — the toast itself names no status.
|
|
10
|
+
* The prop is an open `string` (the map defaults open, §3.4); an app narrows
|
|
11
|
+
* it through its own `DefaultTheme` augmentation.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ToastItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
14
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
$tone?: string;
|
|
17
|
+
}>> & string;
|
|
18
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../shared/toasts/styles.ts"],"names":[],"mappings":"AAEA,oEAAoE;AACpE,eAAO,MAAM,cAAc;;WAQ1B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS;;;YAAwB,MAAM;YAmCnD,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CloudLayerBaseCSS = "\n position: relative;\n border-radius: 50%;\n";
|
|
3
|
+
export declare const CloudBase: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
4
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
5
|
+
}> & string;
|
|
6
|
+
export declare const CloudBack: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
7
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
8
|
+
}> & string;
|
|
9
|
+
export declare const CloudMid: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
10
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
11
|
+
}> & string;
|
|
12
|
+
export declare const CloudFront: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
13
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
14
|
+
}> & string;
|
|
15
|
+
export type ICloudProps = {
|
|
16
|
+
$size?: 'small' | 'big' | 'medium';
|
|
17
|
+
$position?: ('top' | 'left' | 'bottom' | 'right')[];
|
|
18
|
+
$isinitial?: boolean;
|
|
19
|
+
$top?: number;
|
|
20
|
+
$left?: number;
|
|
21
|
+
$manual?: boolean;
|
|
22
|
+
$direction?: 'left' | 'right';
|
|
23
|
+
};
|
|
24
|
+
export declare const Cloud: {
|
|
25
|
+
({ $size, $position, $isinitial, $top, $left, $manual, $direction }: ICloudProps): React.JSX.Element;
|
|
26
|
+
displayName: string;
|
|
27
|
+
};
|
|
28
|
+
export default Cloud;
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../textures/Cloud/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAsH1B,eAAO,MAAM,iBAAiB,qDAG7B,CAAC;AAEF,eAAO,MAAM,SAAS;;WAMrB,CAAC;AAEF,eAAO,MAAM,SAAS;;WAOrB,CAAC;AAEF,eAAO,MAAM,QAAQ;;WAOpB,CAAC;AAEF,eAAO,MAAM,UAAU;;WAQtB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;IAAC,SAAS,CAAC,EAAE,CAAC,KAAK,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC,EAAE,CAAC;IAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC;AAE7N,eAAO,MAAM,KAAK;yEAAwE,WAAW;;CASpG,CAAC;AAGF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const Paper: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
2
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
3
|
+
}> & string;
|
|
4
|
+
export declare const PaperTexture: () => import("react").JSX.Element;
|
|
5
|
+
export declare const PaperContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
6
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
7
|
+
}> & string;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../textures/Paper/index.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;WAMjB,CAAC;AAEF,eAAO,MAAM,YAAY,mCASxB,CAAC;AAEF,eAAO,MAAM,cAAc;;WAS1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../textures/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACrF,YAAY,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { a as e, i as t, r as n } from "./dist-DD9Lv2Ja.js";
|
|
2
|
+
import r from "styled-components";
|
|
3
|
+
// atoms/Typography/styles.ts
|
|
4
|
+
var i = r.h1`
|
|
5
|
+
margin-right: ${n};
|
|
6
|
+
margin-bottom: ${e};
|
|
7
|
+
color: ${({ theme: e }) => e.colors.sectionContent};
|
|
8
|
+
font: ${t};
|
|
9
|
+
font-weight: ${({ theme: e }) => e.font.weight.title};
|
|
10
|
+
font-size: ${({ theme: e }) => e.font.sizes.large};
|
|
11
|
+
font-family: ${({ theme: e }) => e.font.family.title};
|
|
12
|
+
text-transform: ${({ theme: e }) => e.font.transform.title};
|
|
13
|
+
text-shadow: ${({ theme: e }) => e.shadows.content};
|
|
14
|
+
line-height: 1.2;
|
|
15
|
+
`, a = r.h2`
|
|
16
|
+
margin-right: ${n};
|
|
17
|
+
margin-bottom: ${e};
|
|
18
|
+
color: ${({ theme: e }) => e.colors.sectionContent};
|
|
19
|
+
font: ${t};
|
|
20
|
+
font-size: ${({ theme: e }) => e.font.sizes.large};
|
|
21
|
+
font-family: ${({ theme: e }) => e.font.family.title};
|
|
22
|
+
text-transform: ${({ theme: e }) => e.font.transform.title};
|
|
23
|
+
text-shadow: ${({ theme: e }) => e.shadows.content};
|
|
24
|
+
line-height: 1.3;
|
|
25
|
+
`, o = r.h3`
|
|
26
|
+
margin-right: ${n};
|
|
27
|
+
margin-bottom: ${e};
|
|
28
|
+
color: ${({ theme: e }) => e.colors.sectionContent};
|
|
29
|
+
font: ${t};
|
|
30
|
+
font-weight: ${({ theme: e }) => e.font.weight.title};
|
|
31
|
+
font-size: ${({ theme: e }) => e.font.sizes.regular};
|
|
32
|
+
font-family: ${({ theme: e }) => e.font.family.title};
|
|
33
|
+
text-transform: ${({ theme: e }) => e.font.transform.title};
|
|
34
|
+
text-shadow: ${({ theme: e }) => e.shadows.content};
|
|
35
|
+
line-height: 1.4;
|
|
36
|
+
`, s = r.p`
|
|
37
|
+
margin-right: ${n};
|
|
38
|
+
margin-bottom: ${e};
|
|
39
|
+
color: ${({ theme: e }) => e.colors.sectionContent};
|
|
40
|
+
font: ${t};
|
|
41
|
+
font-size: ${({ theme: e }) => e.font.sizes.regular};
|
|
42
|
+
font-family: ${({ theme: e }) => e.font.family.text};
|
|
43
|
+
font-weight: ${({ theme: e }) => e.font.weight.text};
|
|
44
|
+
text-transform: ${({ theme: e }) => e.font.transform.text};
|
|
45
|
+
line-height: 1.5;
|
|
46
|
+
`, c = r.span`
|
|
47
|
+
color: ${({ theme: e }) => e.colors.sectionContent};
|
|
48
|
+
font-weight: ${({ theme: e }) => e.font.weight.title};
|
|
49
|
+
text-shadow: ${({ theme: e }) => e.shadows.content};
|
|
50
|
+
`, l = r.label`
|
|
51
|
+
display: inline-block;
|
|
52
|
+
padding: ${({ theme: e }) => e.offsets.elementContent};
|
|
53
|
+
color: ${({ theme: e }) => e.colors.sectionContent};
|
|
54
|
+
background-color: ${({ theme: e }) => e.colors.overlay};
|
|
55
|
+
/*
|
|
56
|
+
* effects.texture is one string per theme (README §4.1, §5.3): noise themes
|
|
57
|
+
* supply a url() for background-image, glass themes supply blur() for
|
|
58
|
+
* backdrop-filter. The chip cannot know which theme is active, so it hands
|
|
59
|
+
* the value to BOTH properties; each property keeps only the value it
|
|
60
|
+
* understands and ignores the other (blur() in background-image computes to
|
|
61
|
+
* none, and url() left in backdrop-filter is visually inert — verified in
|
|
62
|
+
* Chromium). Both themes therefore texture the chip without a name check.
|
|
63
|
+
*/
|
|
64
|
+
background-image: ${({ theme: e }) => e.effects.texture};
|
|
65
|
+
backdrop-filter: ${({ theme: e }) => e.effects.texture};
|
|
66
|
+
border: ${({ theme: e }) => e.border.size} solid
|
|
67
|
+
color-mix(in srgb, ${({ theme: e }) => e.colors.sectionContent} 25%, transparent);
|
|
68
|
+
border-radius: ${({ theme: e }) => e.border.radius};
|
|
69
|
+
`, u = r.h3`
|
|
70
|
+
font-weight: ${({ theme: e }) => e.font.weight.text};
|
|
71
|
+
font-size: ${({ theme: e }) => e.font.sizes.small};
|
|
72
|
+
line-height: 1.25;
|
|
73
|
+
`, d = r.h3`
|
|
74
|
+
font-weight: ${({ theme: e }) => e.font.weight.title};
|
|
75
|
+
font-size: ${({ theme: e }) => e.font.sizes.large};
|
|
76
|
+
font-family: ${({ theme: e }) => e.font.family.title};
|
|
77
|
+
text-transform: ${({ theme: e }) => e.font.transform.title};
|
|
78
|
+
text-shadow: ${({ theme: e }) => e.shadows.content};
|
|
79
|
+
color: ${({ theme: e }) => e.colors.sectionContent};
|
|
80
|
+
`;
|
|
81
|
+
export { u as DescriptionText, d as HeaderText, c as Highlighted, l as Label, i as PageTitle, s as PlainText, o as SectionTitle, a as SubTitle, t as basicFont };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import t, { css as n } from "styled-components";
|
|
4
|
+
// atoms/Validation/styles.ts
|
|
5
|
+
var r = t.div`
|
|
6
|
+
color: ${({ theme: e }) => e.colors.status?.failed?.content ?? e.colors.sectionContent};
|
|
7
|
+
font-size: ${({ theme: e }) => e.font.sizes.small};
|
|
8
|
+
font-weight: ${({ theme: e }) => e.font.weight.text};
|
|
9
|
+
margin-top: ${({ theme: e }) => e.offsets.elementContent};
|
|
10
|
+
`, i = n`
|
|
11
|
+
border-bottom-color: ${({ theme: e }) => e.colors.status?.failed?.background ?? e.colors.sectionContent};
|
|
12
|
+
`, a = t.div`
|
|
13
|
+
border-bottom: ${({ theme: e }) => e.border.size} solid transparent;
|
|
14
|
+
|
|
15
|
+
${({ $isError: e }) => e && i}
|
|
16
|
+
`, o = (t) => /* @__PURE__ */ e(r, { ...t }), s = ({ $isError: t, ...n }) => /* @__PURE__ */ e(a, {
|
|
17
|
+
$isError: t,
|
|
18
|
+
...n
|
|
19
|
+
});
|
|
20
|
+
export { s as ErrorValidationContainer, o as ErrorValidationMessage, o as default };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import n, { css as r, keyframes as i } from "styled-components";
|
|
4
|
+
import a from "next-image-export-optimizer";
|
|
5
|
+
// atoms/WideImage/index.tsx
|
|
6
|
+
var o = i`
|
|
7
|
+
0% { opacity: 0; }
|
|
8
|
+
100% { opacity: 1; }
|
|
9
|
+
`, s = i`
|
|
10
|
+
0% {
|
|
11
|
+
opacity: 0;
|
|
12
|
+
filter: blur(${({ theme: e }) => e.offsets.elementContent});
|
|
13
|
+
transform: translate(-50%,-50%) scale(0.9);
|
|
14
|
+
}
|
|
15
|
+
100% {
|
|
16
|
+
opacity: 1;
|
|
17
|
+
filter: blur(0);
|
|
18
|
+
transform: translate(-50%,-50%) scale(1);
|
|
19
|
+
}
|
|
20
|
+
`, c = i`
|
|
21
|
+
0% { opacity: 1; }
|
|
22
|
+
100% { opacity: 0; }
|
|
23
|
+
`, l = i`
|
|
24
|
+
0% { transform: translateX(-50%) scale(3); }
|
|
25
|
+
100% { transform: translateX(-50%) scale(1); }
|
|
26
|
+
`, u = i`
|
|
27
|
+
0% {
|
|
28
|
+
filter: blur(${({ theme: e }) => e.offsets.elementContent});
|
|
29
|
+
transform: translateX(-50%) scale(1.3);
|
|
30
|
+
}
|
|
31
|
+
100% {
|
|
32
|
+
filter: blur(0);
|
|
33
|
+
transform: translateX(-50%) scale(1);
|
|
34
|
+
}
|
|
35
|
+
`, d = r`
|
|
36
|
+
animation: ${o} ${({ theme: e }) => e.animation.speed.fast} ${({ theme: e }) => e.animation.easing.linear} forwards;
|
|
37
|
+
`, f = r`
|
|
38
|
+
animation: ${c} ${({ theme: e }) => e.animation.speed.fast} ${({ theme: e }) => e.animation.easing.linear} forwards;
|
|
39
|
+
`, p = r`
|
|
40
|
+
animation: ${s} ${({ theme: e }) => e.animation.speed.fast} ${({ theme: e }) => e.animation.easing.linear} forwards;
|
|
41
|
+
`, m = r`
|
|
42
|
+
${f}
|
|
43
|
+
animation-duration: 2s;
|
|
44
|
+
animation-fill-mode: forwards;
|
|
45
|
+
`, h = r`
|
|
46
|
+
${p}
|
|
47
|
+
animation-duration: 0.6s;
|
|
48
|
+
animation-delay: 1.4s;
|
|
49
|
+
animation-fill-mode: forwards;
|
|
50
|
+
`, g = r`
|
|
51
|
+
filter: blur(${({ theme: e }) => e.offsets.elementContent});
|
|
52
|
+
transform: translateX(-50%) scale(1.3);
|
|
53
|
+
${d}
|
|
54
|
+
`, _ = {
|
|
55
|
+
top: "top: 0; transform: translateX(-50%); animation: none; opacity: 1;",
|
|
56
|
+
bottom: "top: auto; bottom: 0; transform: translateX(-50%) scaleY(-1); animation: none; opacity: 1;",
|
|
57
|
+
center: "top: 50%; transform: translate(-50%, -50%);"
|
|
58
|
+
}, v = {
|
|
59
|
+
front: `opacity: 1; animation: ${l}; animation-duration: 2s;`,
|
|
60
|
+
back: `opacity: 1; animation: ${u}; animation-duration: 2s;`
|
|
61
|
+
}, y = n(a)`
|
|
62
|
+
position: absolute;
|
|
63
|
+
bottom: 0;
|
|
64
|
+
left: 50%;
|
|
65
|
+
transform: translateX(-50%);
|
|
66
|
+
width: auto;
|
|
67
|
+
height: auto;
|
|
68
|
+
opacity: 0;
|
|
69
|
+
min-height: 100%;
|
|
70
|
+
min-width: 100%;
|
|
71
|
+
object-fit: cover;
|
|
72
|
+
border-radius: ${({ theme: e }) => e.border.radius};
|
|
73
|
+
z-index: ${({ theme: e, $zIndex: t }) => t ? e.zIndex[t] : e.zIndex.animatedElements};
|
|
74
|
+
|
|
75
|
+
${({ hidden: e }) => e ? m : h}
|
|
76
|
+
${({ $blured: e }) => e ? g : ""}
|
|
77
|
+
${({ $alignment: e }) => e ? _[e] : ""}
|
|
78
|
+
${({ $layer: e }) => e ? v[e] : ""}
|
|
79
|
+
`, b = e.forwardRef(({ src: e, alt: n = "huge image of landscape on background", layer: r, hidden: i, width: a = 2040, height: o = 1152, priority: s = !0, zIndex: c, alignment: l, blured: u, onLoad: d }, f) => /* @__PURE__ */ t(y, {
|
|
80
|
+
src: e,
|
|
81
|
+
alt: n,
|
|
82
|
+
width: a,
|
|
83
|
+
height: o,
|
|
84
|
+
priority: s,
|
|
85
|
+
$zIndex: c,
|
|
86
|
+
$alignment: l,
|
|
87
|
+
ref: f,
|
|
88
|
+
hidden: i,
|
|
89
|
+
$blured: u,
|
|
90
|
+
$layer: r,
|
|
91
|
+
onLoad: d
|
|
92
|
+
}));
|
|
93
|
+
b.displayName = "WideImage";
|
|
94
|
+
export { b as default, d as fadeInAnimation, p as fadeInZoomedAnimation, f as fadeOutAnimation };
|