@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,28 @@
|
|
|
1
|
+
import type { LucideProps } from "lucide-react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import * as LucideIcons from "lucide-react";
|
|
4
|
+
export type NamedSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
5
|
+
export type IconName = keyof typeof LucideIcons;
|
|
6
|
+
export interface LucideIconProps extends Omit<LucideProps, "size"> {
|
|
7
|
+
name: IconName;
|
|
8
|
+
size?: number | string | NamedSize;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* LucideIcon component that renders a Lucide icon by name
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* // Basic usage
|
|
15
|
+
* <LucideIcon name="Settings" />
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* // With named size
|
|
19
|
+
* <LucideIcon name="User" size="md" />
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* // With custom color
|
|
23
|
+
* <LucideIcon name="Heart" className="text-red" />
|
|
24
|
+
*/
|
|
25
|
+
/** @component */
|
|
26
|
+
export declare const LucideIcon: React.FC<LucideIconProps>;
|
|
27
|
+
export default LucideIcon;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Icons/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,WAAW,MAAM,cAAc,CAAC;AAE5C,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACzD,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,WAAW,CAAC;AAEhD,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC;IAChE,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CACpC;AAkCD;;;;;;;;;;;;;;GAcG;AACH,iBAAiB;AACjB,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAyDhD,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,KAAK,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { TWithBasicElementOffsets, TFullWidth } from '@md/styles';
|
|
3
|
+
export type TInputProps = {
|
|
4
|
+
name?: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
value?: unknown;
|
|
8
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
9
|
+
} & TWithBasicElementOffsets & TFullWidth;
|
|
10
|
+
/**
|
|
11
|
+
* The text-input surface. Every value comes from the theme contract, so the
|
|
12
|
+
* control paints itself identically under every theme: the surface is the
|
|
13
|
+
* overlay layer, the muted outline is derived from `sectionContent` (there is
|
|
14
|
+
* no legacy disabled colour in the contract, README §4.3/§5.1), and the
|
|
15
|
+
* silhouette, texture, shadow and focus reaction are theme data.
|
|
16
|
+
*/
|
|
17
|
+
export declare const StyledInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
|
|
18
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
19
|
+
}, TInputProps>> & string;
|
|
20
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Input/styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGvE,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CACjE,GAAG,wBAAwB,GAC1B,UAAU,CAAC;AAEb;;;;;;GAMG;AACH,eAAO,MAAM,WAAW;;yBAyDvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Link/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,IAAI,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A navigation link. Glyphs must read the section CONTENT token at rest
|
|
3
|
+
* (proper-naming, README §3.1); the accent is legal only in the hover STATE
|
|
4
|
+
* (README §4.3), where the theme also supplies its content shadow — viking's
|
|
5
|
+
* accent glow. The master viking styles painted the link accent at rest; that
|
|
6
|
+
* cannot be expressed legally, so only the hover keeps the accent (documented
|
|
7
|
+
* deviation). The viking rune after-decoration has no contract field and is
|
|
8
|
+
* omitted rather than hardcoded.
|
|
9
|
+
*/
|
|
10
|
+
export declare const LinkStyled: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, keyof {
|
|
11
|
+
href: string | import("url").UrlObject;
|
|
12
|
+
as?: string | import("url").UrlObject;
|
|
13
|
+
replace?: boolean;
|
|
14
|
+
scroll?: boolean;
|
|
15
|
+
shallow?: boolean;
|
|
16
|
+
passHref?: boolean;
|
|
17
|
+
prefetch?: boolean | null;
|
|
18
|
+
locale?: string | false;
|
|
19
|
+
legacyBehavior?: boolean;
|
|
20
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
21
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
22
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
23
|
+
}> & {
|
|
24
|
+
href: string | import("url").UrlObject;
|
|
25
|
+
as?: string | import("url").UrlObject;
|
|
26
|
+
replace?: boolean;
|
|
27
|
+
scroll?: boolean;
|
|
28
|
+
shallow?: boolean;
|
|
29
|
+
passHref?: boolean;
|
|
30
|
+
prefetch?: boolean | null;
|
|
31
|
+
locale?: string | false;
|
|
32
|
+
legacyBehavior?: boolean;
|
|
33
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
34
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
35
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
36
|
+
} & {
|
|
37
|
+
children?: React.ReactNode;
|
|
38
|
+
} & import("react").RefAttributes<HTMLAnchorElement>, "style"> & {
|
|
39
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
40
|
+
}> & string & Omit<import("react").ForwardRefExoticComponent<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, keyof {
|
|
41
|
+
href: string | import("url").UrlObject;
|
|
42
|
+
as?: string | import("url").UrlObject;
|
|
43
|
+
replace?: boolean;
|
|
44
|
+
scroll?: boolean;
|
|
45
|
+
shallow?: boolean;
|
|
46
|
+
passHref?: boolean;
|
|
47
|
+
prefetch?: boolean | null;
|
|
48
|
+
locale?: string | false;
|
|
49
|
+
legacyBehavior?: boolean;
|
|
50
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
51
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
52
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
53
|
+
}> & {
|
|
54
|
+
href: string | import("url").UrlObject;
|
|
55
|
+
as?: string | import("url").UrlObject;
|
|
56
|
+
replace?: boolean;
|
|
57
|
+
scroll?: boolean;
|
|
58
|
+
shallow?: boolean;
|
|
59
|
+
passHref?: boolean;
|
|
60
|
+
prefetch?: boolean | null;
|
|
61
|
+
locale?: string | false;
|
|
62
|
+
legacyBehavior?: boolean;
|
|
63
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
64
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
65
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
66
|
+
} & {
|
|
67
|
+
children?: React.ReactNode;
|
|
68
|
+
} & import("react").RefAttributes<HTMLAnchorElement>>, keyof import("react").Component<any, {}, any>>;
|
|
69
|
+
/**
|
|
70
|
+
* The link used inline inside forms. It shares the section pair at rest and
|
|
71
|
+
* the accent only on hover (proper-naming), and keeps the smaller typographic
|
|
72
|
+
* size the form controls use.
|
|
73
|
+
*/
|
|
74
|
+
export declare const LinkInForm: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, keyof {
|
|
75
|
+
href: string | import("url").UrlObject;
|
|
76
|
+
as?: string | import("url").UrlObject;
|
|
77
|
+
replace?: boolean;
|
|
78
|
+
scroll?: boolean;
|
|
79
|
+
shallow?: boolean;
|
|
80
|
+
passHref?: boolean;
|
|
81
|
+
prefetch?: boolean | null;
|
|
82
|
+
locale?: string | false;
|
|
83
|
+
legacyBehavior?: boolean;
|
|
84
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
85
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
86
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
87
|
+
}> & {
|
|
88
|
+
href: string | import("url").UrlObject;
|
|
89
|
+
as?: string | import("url").UrlObject;
|
|
90
|
+
replace?: boolean;
|
|
91
|
+
scroll?: boolean;
|
|
92
|
+
shallow?: boolean;
|
|
93
|
+
passHref?: boolean;
|
|
94
|
+
prefetch?: boolean | null;
|
|
95
|
+
locale?: string | false;
|
|
96
|
+
legacyBehavior?: boolean;
|
|
97
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
98
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
99
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
100
|
+
} & {
|
|
101
|
+
children?: React.ReactNode;
|
|
102
|
+
} & import("react").RefAttributes<HTMLAnchorElement>, "style"> & {
|
|
103
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
104
|
+
}> & string & Omit<import("react").ForwardRefExoticComponent<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, keyof {
|
|
105
|
+
href: string | import("url").UrlObject;
|
|
106
|
+
as?: string | import("url").UrlObject;
|
|
107
|
+
replace?: boolean;
|
|
108
|
+
scroll?: boolean;
|
|
109
|
+
shallow?: boolean;
|
|
110
|
+
passHref?: boolean;
|
|
111
|
+
prefetch?: boolean | null;
|
|
112
|
+
locale?: string | false;
|
|
113
|
+
legacyBehavior?: boolean;
|
|
114
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
115
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
116
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
117
|
+
}> & {
|
|
118
|
+
href: string | import("url").UrlObject;
|
|
119
|
+
as?: string | import("url").UrlObject;
|
|
120
|
+
replace?: boolean;
|
|
121
|
+
scroll?: boolean;
|
|
122
|
+
shallow?: boolean;
|
|
123
|
+
passHref?: boolean;
|
|
124
|
+
prefetch?: boolean | null;
|
|
125
|
+
locale?: string | false;
|
|
126
|
+
legacyBehavior?: boolean;
|
|
127
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
128
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
129
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
130
|
+
} & {
|
|
131
|
+
children?: React.ReactNode;
|
|
132
|
+
} & import("react").RefAttributes<HTMLAnchorElement>>, keyof import("react").Component<any, {}, any>>;
|
|
133
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Link/styles.ts"],"names":[],"mappings":"AAeA;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;mBAmCioC,MAAO,iBAAiB;mBAA+G,MAAO,iBAAiB;cAA0G,MAAO,iBAAiB;;;;;;;;;;;yBAA1R,iBAAiB;yBAAsH,iBAAiB;oBAAiH,iBAAiB;;eAAopB,MAAO,SAAS;;;;;;;;;;;;;yBAA97B,iBAAiB;yBAAsH,iBAAiB;oBAAiH,iBAAiB;;;;;;;;;;;yBAA1R,iBAAiB;yBAAsH,iBAAiB;oBAAiH,iBAAiB;;qBAA2pB,SAAS;qGAnB5lE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;yBAYwoC,iBAAiB;yBAAsH,iBAAiB;oBAAiH,iBAAiB;;;;;;;;;;;yBAA1R,iBAAiB;yBAAsH,iBAAiB;oBAAiH,iBAAiB;;qBAA2pB,SAAS;;;;;;;;;;;;;yBAA97B,iBAAiB;yBAAsH,iBAAiB;oBAAiH,iBAAiB;;;;;;;;;;;yBAA1R,iBAAiB;yBAAsH,iBAAiB;oBAAiH,iBAAiB;;qBAA2pB,SAAS;qGAD5lE,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface LoaderProps {
|
|
3
|
+
$size?: 'small' | 'medium' | 'large';
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* The spinner box: renders the ouroboros image at the requested size step
|
|
8
|
+
* (`$size`, default `medium`). Pass `className` to style the box.
|
|
9
|
+
*/
|
|
10
|
+
export declare const Loader: React.FC<LoaderProps>;
|
|
11
|
+
export declare const LoaderImage: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("next-image-export-optimizer").ExportedImageProps & React.RefAttributes<HTMLImageElement | null>> & string & Omit<React.ForwardRefExoticComponent<import("next-image-export-optimizer").ExportedImageProps & React.RefAttributes<HTMLImageElement | null>>, keyof React.Component<any, {}, any>>;
|
|
12
|
+
interface LoadingProps {
|
|
13
|
+
hidden: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The loading overlay: fills its positioned parent with the overlay layer and
|
|
17
|
+
* the spinner, fading away (and becoming inert) when `hidden` is true.
|
|
18
|
+
*/
|
|
19
|
+
export declare const Loading: React.FC<LoadingProps>;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Loading/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAMxC,CAAC;AAEF,eAAO,MAAM,WAAW,+WAAoB,CAAC;AAE7C,UAAU,YAAY;IACpB,MAAM,EAAE,OAAO,CAAC;CACjB;AAED;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAI1C,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const fadeInAnimation: import("styled-components").RuleSet<object>;
|
|
2
|
+
export declare const fadeOutAnimation: import("styled-components").RuleSet<object>;
|
|
3
|
+
/**
|
|
4
|
+
* The loading overlay: the contract's overlay layer over the whole loading
|
|
5
|
+
* area, above animated content, fading in and out with the theme's motion
|
|
6
|
+
* rhythm. Visibility is the component's own anatomy, not a theme state.
|
|
7
|
+
*/
|
|
8
|
+
export declare const LoadingWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
9
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
$hidden: boolean;
|
|
12
|
+
}>> & string;
|
|
13
|
+
/**
|
|
14
|
+
* The spinner box: sized from the shared icon element (with the large step on
|
|
15
|
+
* the same element), and painting the spinner in the accent — a drop-shadow
|
|
16
|
+
* derived from `colors.highlighted` (README §5.3: a glow is derived from the
|
|
17
|
+
* accent, never a stored scale). Rotation is the spinner's own animation; its
|
|
18
|
+
* duration is the theme's pulse rhythm.
|
|
19
|
+
*/
|
|
20
|
+
export declare const LoaderContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
21
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
$size?: "small" | "medium" | "large";
|
|
24
|
+
}>> & string;
|
|
25
|
+
/**
|
|
26
|
+
* The spinner image itself: it fills the spinner box; the box owns the motion.
|
|
27
|
+
*/
|
|
28
|
+
export declare const StyledLoaderImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("next-image-export-optimizer").ExportedImageProps & import("react").RefAttributes<HTMLImageElement | null>> & string & Omit<import("react").ForwardRefExoticComponent<import("next-image-export-optimizer").ExportedImageProps & import("react").RefAttributes<HTMLImageElement | null>>, keyof import("react").Component<any, {}, any>>;
|
|
29
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Loading/styles.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,eAAe,6CAE3B,CAAC;AAKF,eAAO,MAAM,gBAAgB,6CAE5B,CAAC;AAiBF;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;aAAyB,OAAO;YAW1D,CAAC;AA0BF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;;YAAwB,OAAO,GAAG,QAAQ,GAAG,OAAO;YA0B/E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,oZAG7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Logo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,wBAAgB,IAAI,sBAGnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Pagination/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,UAAU,eAAe;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAuGzC,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pagination row: a centred flex line of page buttons and arrow controls.
|
|
3
|
+
* It is pure layout, so it owns no paint of its own.
|
|
4
|
+
*/
|
|
5
|
+
export declare const PaginationContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
6
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
7
|
+
}> & string;
|
|
8
|
+
/**
|
|
9
|
+
* A page button. The active page is the `highlighted` pair (surface + content,
|
|
10
|
+
* README §3.3); resting buttons sit on the `overlay` layer with the content colour of
|
|
11
|
+
* the section pair on them. The explicit border keeps the browser's native
|
|
12
|
+
* `2px outset` from leaking — its colour is a 25% mix of the content colour,
|
|
13
|
+
* the muted rule Phase 4a established (README §5.1 has no disabled grey).
|
|
14
|
+
* Silhouette, texture and radius are theme data; the texture reaches both
|
|
15
|
+
* `background-image` (viking noise) and `backdrop-filter` (glass blur), each
|
|
16
|
+
* property keeping the value it understands (README §4.1, §5.3).
|
|
17
|
+
*/
|
|
18
|
+
export declare const PageNumber: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
19
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
$active: boolean;
|
|
22
|
+
}>> & string;
|
|
23
|
+
/**
|
|
24
|
+
* The prev/next arrow buttons. Their glyph is the section content at rest and
|
|
25
|
+
* the accent only in hover/disabled states (proper-naming, README §3.1); the
|
|
26
|
+
* typographic role comes from the theme, so viking keeps its carved uppercase.
|
|
27
|
+
*/
|
|
28
|
+
export declare const ArrowButton: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
29
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
30
|
+
}> & string;
|
|
31
|
+
/**
|
|
32
|
+
* The ellipsis between distant page ranges; it inherits the row colour and only
|
|
33
|
+
* adds the rhythm gap.
|
|
34
|
+
*/
|
|
35
|
+
export declare const Dots: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
36
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
37
|
+
}> & string;
|
|
38
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Pagination/styles.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;WAO/B,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,UAAU;;;aAA4B,OAAO;YAqCzD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW;;WAwBvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,IAAI;;WAGhB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TWithBasicElementOffsets, TFullWidth } from '@md/styles';
|
|
3
|
+
type TProgressBarProps = {
|
|
4
|
+
percentage: number;
|
|
5
|
+
} & TWithBasicElementOffsets & TFullWidth;
|
|
6
|
+
/**
|
|
7
|
+
* A determinate progress bar: renders a track with an accent fill whose width
|
|
8
|
+
* is `percentage` (0–100). Optional `$offsetBottom`, `$offsetRight` and
|
|
9
|
+
* `$fullWidth` adjust the surrounding rhythm and width.
|
|
10
|
+
*/
|
|
11
|
+
declare const ProgressBar: ({ percentage, $offsetBottom, $offsetRight, $fullWidth, ...props }: TProgressBarProps) => React.JSX.Element;
|
|
12
|
+
export { ProgressBar };
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/ProgressBar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AA+BvE,KAAK,iBAAiB,GAAG;IACvB,UAAU,EAAE,MAAM,CAAC;CACpB,GAAG,wBAAwB,GAC1B,UAAU,CAAC;AAEb;;;;GAIG;AACH,QAAA,MAAM,WAAW,sEAAuE,iBAAiB,sBAMxG,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TWithBasicElementOffsets, TFullWidth } from '@md/styles';
|
|
3
|
+
type TRadioProps = {
|
|
4
|
+
name: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
value: string | number;
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
9
|
+
} & TWithBasicElementOffsets & TFullWidth;
|
|
10
|
+
declare const Radio: ({ name, id, value, checked, onChange, $offsetBottom, $offsetRight, $fullWidth, ...props }: TRadioProps) => React.JSX.Element;
|
|
11
|
+
export { Radio };
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Radio/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGvE,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CACjE,GAAG,wBAAwB,GAC1B,UAAU,CAAC;AAqEb,QAAA,MAAM,KAAK,8FAA+F,WAAW,sBAcpH,CAAC;AAEF,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A horizontal rule between sections: one complete border-size tall, painted in
|
|
3
|
+
* a muted 25% mix of the section content colour (the Phase 4a muted rule — the
|
|
4
|
+
* legacy `disabled` grey and `overlayActive` layer are gone, README §5.1) and
|
|
5
|
+
* spaced by the section rhythm. The baseline's viking gradient plus diamond
|
|
6
|
+
* decoration had no contract field (it was a per-theme fragment), so the rule
|
|
7
|
+
* is now one shared muted line for every theme (documented deviation).
|
|
8
|
+
*/
|
|
9
|
+
export declare const Separator: 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
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Separator/index.tsx"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS;;WAMrB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TWithBasicElementOffsets, TFullWidth } from '@md/styles';
|
|
3
|
+
type TSubmitProps = {
|
|
4
|
+
name: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
value: string | number;
|
|
7
|
+
} & TWithBasicElementOffsets & TFullWidth;
|
|
8
|
+
declare const Submit: ({ $offsetBottom, $offsetRight, $fullWidth, ...props }: TSubmitProps) => React.JSX.Element;
|
|
9
|
+
export { Submit };
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Submit/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGvE,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB,GAAG,wBAAwB,GAC1B,UAAU,CAAC;AAuDb,QAAA,MAAM,MAAM,0DAA2D,YAAY,sBAQlF,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface SwitchProps {
|
|
3
|
+
checked: boolean;
|
|
4
|
+
onChange: (checked: boolean) => void;
|
|
5
|
+
leftLabel?: string;
|
|
6
|
+
rightLabel?: string;
|
|
7
|
+
size?: "small" | "default";
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const Switch: React.FC<SwitchProps>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Switch/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,WAAW;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAuBxC,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The switch track. It is an overlay surface with the theme's silhouette,
|
|
3
|
+
* texture and muted outline; all paint comes from contract fields, so the
|
|
4
|
+
* control never inspects the active theme's name.
|
|
5
|
+
*/
|
|
6
|
+
export declare const SwitchLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "style"> & {
|
|
7
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
$size?: "small" | "default";
|
|
10
|
+
}>> & string;
|
|
11
|
+
/** The native checkbox stays hidden; its state drives the slider via CSS. */
|
|
12
|
+
export declare const SwitchInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
|
|
13
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
$size?: "small" | "default";
|
|
16
|
+
}>> & string;
|
|
17
|
+
/** The moving knob; its circle is the control's own shape, not a theme value. */
|
|
18
|
+
export declare const Slider: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
19
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
$size?: "small" | "default";
|
|
22
|
+
}>> & string;
|
|
23
|
+
/** Lays the optional labels out beside the track; owns no paint. */
|
|
24
|
+
export declare const SwitchContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
25
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
26
|
+
}> & string;
|
|
27
|
+
/** Side label text sits on the section surface, so it reads sectionContent. */
|
|
28
|
+
export declare const Label: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
29
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
30
|
+
}> & string;
|
|
31
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Switch/styles.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;YAA0B,OAAO,GAAG,SAAS;YA6BpE,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,WAAW;;;YAA0B,OAAO,GAAG,SAAS;YAkBpE,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,MAAM;;;YAAyB,OAAO,GAAG,SAAS;YAmB9D,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,eAAe;;WAI3B,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,KAAK;;WAIjB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface TabItem {
|
|
3
|
+
label: string | React.ReactNode;
|
|
4
|
+
content: React.ReactNode;
|
|
5
|
+
id?: string;
|
|
6
|
+
}
|
|
7
|
+
interface TabsProps {
|
|
8
|
+
tabs: TabItem[];
|
|
9
|
+
orientation?: 'horizontal' | 'vertical';
|
|
10
|
+
defaultActiveTab?: number;
|
|
11
|
+
onTabChange?: (tabNumber: number) => void;
|
|
12
|
+
containerStyle?: React.CSSProperties;
|
|
13
|
+
className?: string;
|
|
14
|
+
expanded?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare const Tabs: React.FC<TabsProps>;
|
|
17
|
+
export { Tabs };
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/Tabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAChC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,UAAU,SAAS;IACjB,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA6E7B,CAAC;AAEF,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The tab shell. Horizontal mode is a plain column; vertical mode is the grid
|
|
3
|
+
* shell above. Structure only beyond what the shell constants carry.
|
|
4
|
+
*/
|
|
5
|
+
export declare const TabsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
6
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
7
|
+
}, {
|
|
8
|
+
$orientation: "horizontal" | "vertical";
|
|
9
|
+
$expanded?: boolean;
|
|
10
|
+
}>> & string;
|
|
11
|
+
/**
|
|
12
|
+
* The list of tab buttons: a row or column that carries the separator rule and,
|
|
13
|
+
* in vertical mode, the overlay surface and its own scroll.
|
|
14
|
+
*/
|
|
15
|
+
export declare const TabList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
16
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
$orientation: "horizontal" | "vertical";
|
|
19
|
+
}>> & string;
|
|
20
|
+
/**
|
|
21
|
+
* A tab button. Resting glyphs read the section content colour (proper-naming,
|
|
22
|
+
* README §3.1); the accent appears in the hover state and, for the selected
|
|
23
|
+
* tab, only as a border. Typographic role, radius and motion rhythm are theme
|
|
24
|
+
* data, so viking keeps its carved uppercase and glass its calm sentence case.
|
|
25
|
+
*/
|
|
26
|
+
export declare const TabButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
27
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
$active: boolean;
|
|
30
|
+
$orientation: "horizontal" | "vertical";
|
|
31
|
+
}>> & string;
|
|
32
|
+
/**
|
|
33
|
+
* The panel below/beside the list: padding and scroll only, no paint of its own.
|
|
34
|
+
*/
|
|
35
|
+
export declare const TabPanel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
36
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
$orientation: "horizontal" | "vertical";
|
|
39
|
+
}>> & string;
|
|
40
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../atoms/Tabs/styles.ts"],"names":[],"mappings":"AA0GA;;;GAGG;AACH,eAAO,MAAM,aAAa;;;kBACV,YAAY,GAAG,UAAU;gBAC3B,OAAO;YAMpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,OAAO;;;kBAA8B,YAAY,GAAG,UAAU;YAK1E,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,SAAS;;;aAA4B,OAAO;kBAAgB,YAAY,GAAG,UAAU;YA8BjG,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ;;;kBAA8B,YAAY,GAAG,UAAU;YAK3E,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TWithBasicElementOffsets, TFullWidth } from '@md/styles';
|
|
2
|
+
type TTextCheckboxProps = {
|
|
3
|
+
name: string;
|
|
4
|
+
id: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
} & TWithBasicElementOffsets & TFullWidth & React.InputHTMLAttributes<HTMLInputElement>;
|
|
7
|
+
declare const TextCheckbox: ({ name, id, label, $offsetBottom, $offsetRight, $fullWidth, ...props }: TTextCheckboxProps) => import("react").JSX.Element;
|
|
8
|
+
export { TextCheckbox };
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../atoms/TextCheckbox/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGvE,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,wBAAwB,GAC1B,UAAU,GACV,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAyD9C,QAAA,MAAM,YAAY,2EAA4E,kBAAkB,gCAK/G,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { TWithBasicElementOffsets, TFullWidth } from '@md/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,YAAY,CAAC;AAGvE,KAAK,cAAc,GAAG;IACpB,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;CACpE,GAAG,wBAAwB,GAC1B,UAAU,CAAC;AAEb;;;;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;IACnB,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;CACpB;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA4BjC,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,eAAe,MAAM,CAAC;AAEtB,eAAO,MAAM,SAAS,0BAGnB;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,sBAIA,CAAC"}
|