@arc-ui/components 10.7.0 → 10.8.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/dist/Align/{index.d.ts → Align.cjs.d.ts} +0 -0
- package/dist/Align/Align.cjs.js +33 -0
- package/dist/Align/Align.esm.d.ts +25 -0
- package/dist/Align/{index.js → Align.esm.js} +3 -3
- package/dist/Align/package.json +7 -0
- package/dist/Base/{index.d.ts → Base.cjs.d.ts} +0 -0
- package/dist/Base/Base.cjs.js +23 -0
- package/dist/Base/Base.esm.d.ts +16 -0
- package/dist/Base/{index.js → Base.esm.js} +1 -1
- package/dist/Base/package.json +7 -0
- package/dist/BrandLogo/BrandLogo.cjs.d.ts +1 -0
- package/dist/BrandLogo/BrandLogo.cjs.js +14 -0
- package/dist/BrandLogo/BrandLogo.esm.d.ts +1 -0
- package/dist/BrandLogo/BrandLogo.esm.js +6 -0
- package/dist/BrandLogo/package.json +7 -0
- package/dist/Breadcrumbs/{index.d.ts → Breadcrumbs.cjs.d.ts} +0 -0
- package/dist/Breadcrumbs/Breadcrumbs.cjs.js +650 -0
- package/dist/Breadcrumbs/Breadcrumbs.esm.d.ts +61 -0
- package/dist/Breadcrumbs/{index.js → Breadcrumbs.esm.js} +7 -7
- package/dist/Breadcrumbs/package.json +7 -0
- package/dist/Button/Button.cjs.d.ts +1 -0
- package/dist/Button/Button.cjs.js +16 -0
- package/dist/Button/Button.esm.d.ts +1 -0
- package/dist/Button/Button.esm.js +8 -0
- package/dist/Button/package.json +7 -0
- package/dist/Card/{index.d.ts → Card.cjs.d.ts} +0 -0
- package/dist/Card/Card.cjs.js +126 -0
- package/dist/Card/Card.esm.d.ts +130 -0
- package/dist/Card/{index.js → Card.esm.js} +9 -9
- package/dist/Card/package.json +7 -0
- package/dist/Checkbox/{index.d.ts → Checkbox.cjs.d.ts} +0 -0
- package/dist/Checkbox/Checkbox.cjs.js +54 -0
- package/dist/Checkbox/Checkbox.esm.d.ts +59 -0
- package/dist/Checkbox/{index.js → Checkbox.esm.js} +4 -4
- package/dist/Checkbox/package.json +7 -0
- package/dist/Clock/{index.d.ts → Clock.cjs.d.ts} +0 -0
- package/dist/Clock/Clock.cjs.js +43 -0
- package/dist/Clock/Clock.esm.d.ts +15 -0
- package/dist/Clock/{index.js → Clock.esm.js} +1 -1
- package/dist/Clock/package.json +7 -0
- package/dist/Columns/{index.d.ts → Columns.cjs.d.ts} +0 -0
- package/dist/Columns/Columns.cjs.js +59 -0
- package/dist/Columns/Columns.esm.d.ts +76 -0
- package/dist/Columns/{index.js → Columns.esm.js} +3 -3
- package/dist/Columns/package.json +7 -0
- package/dist/Curve/Curve.cjs.d.ts +1 -0
- package/dist/Curve/Curve.cjs.js +13 -0
- package/dist/Curve/Curve.esm.d.ts +1 -0
- package/dist/Curve/Curve.esm.js +5 -0
- package/dist/Curve/package.json +7 -0
- package/dist/Disclosure/{index.d.ts → Disclosure.cjs.d.ts} +1 -1
- package/dist/Disclosure/Disclosure.cjs.js +33 -0
- package/dist/Disclosure/Disclosure.esm.d.ts +31 -0
- package/dist/Disclosure/{index.js → Disclosure.esm.js} +5 -5
- package/dist/Disclosure/package.json +7 -0
- package/dist/Elevation/{index.d.ts → Elevation.cjs.d.ts} +0 -0
- package/dist/Elevation/Elevation.cjs.js +25 -0
- package/dist/Elevation/Elevation.esm.d.ts +16 -0
- package/dist/Elevation/{index.js → Elevation.esm.js} +2 -2
- package/dist/Elevation/package.json +7 -0
- package/dist/FormControl/FormControl.cjs.d.ts +1 -0
- package/dist/FormControl/FormControl.cjs.js +14 -0
- package/dist/FormControl/FormControl.esm.d.ts +1 -0
- package/dist/FormControl/FormControl.esm.js +5 -0
- package/dist/FormControl/package.json +7 -0
- package/dist/Group/{index.d.ts → Group.cjs.d.ts} +0 -0
- package/dist/Group/Group.cjs.js +50 -0
- package/dist/Group/Group.esm.d.ts +46 -0
- package/dist/Group/{index.js → Group.esm.js} +3 -3
- package/dist/Group/package.json +7 -0
- package/dist/Heading/Heading.cjs.d.ts +1 -0
- package/dist/Heading/Heading.cjs.js +14 -0
- package/dist/Heading/Heading.esm.d.ts +1 -0
- package/dist/Heading/Heading.esm.js +6 -0
- package/dist/Heading/package.json +7 -0
- package/dist/Icon/Icon.cjs.d.ts +1 -0
- package/dist/Icon/Icon.cjs.js +15 -0
- package/dist/Icon/Icon.esm.d.ts +1 -0
- package/dist/Icon/Icon.esm.js +7 -0
- package/dist/Icon/package.json +7 -0
- package/dist/Image/Image.cjs.d.ts +1 -0
- package/dist/Image/Image.cjs.js +13 -0
- package/dist/Image/Image.esm.d.ts +1 -0
- package/dist/Image/Image.esm.js +5 -0
- package/dist/Image/package.json +7 -0
- package/dist/Markup/{index.d.ts → Markup.cjs.d.ts} +0 -0
- package/dist/Markup/Markup.cjs.js +27 -0
- package/dist/Markup/Markup.esm.d.ts +16 -0
- package/dist/Markup/{index.js → Markup.esm.js} +3 -3
- package/dist/Markup/package.json +7 -0
- package/dist/Poster/{index.d.ts → Poster.cjs.d.ts} +2 -2
- package/dist/Poster/Poster.cjs.js +52 -0
- package/dist/Poster/Poster.esm.d.ts +81 -0
- package/dist/Poster/{index.js → Poster.esm.js} +5 -5
- package/dist/Poster/package.json +7 -0
- package/dist/RadioGroup/{index.d.ts → RadioGroup.cjs.d.ts} +1 -1
- package/dist/RadioGroup/RadioGroup.cjs.js +72 -0
- package/dist/RadioGroup/RadioGroup.esm.d.ts +85 -0
- package/dist/RadioGroup/{index.js → RadioGroup.esm.js} +4 -4
- package/dist/RadioGroup/package.json +7 -0
- package/dist/Rule/{index.d.ts → Rule.cjs.d.ts} +0 -0
- package/dist/Rule/Rule.cjs.js +25 -0
- package/dist/Rule/Rule.esm.d.ts +8 -0
- package/dist/Rule/{index.js → Rule.esm.js} +3 -3
- package/dist/Rule/package.json +7 -0
- package/dist/Section/Section.cjs.d.ts +1 -0
- package/dist/Section/Section.cjs.js +12 -0
- package/dist/Section/Section.esm.d.ts +1 -0
- package/dist/Section/Section.esm.js +4 -0
- package/dist/Section/package.json +7 -0
- package/dist/SiteFooter/{index.d.ts → SiteFooter.cjs.d.ts} +0 -0
- package/dist/SiteFooter/SiteFooter.cjs.js +97 -0
- package/dist/SiteFooter/SiteFooter.esm.d.ts +64 -0
- package/dist/SiteFooter/{index.js → SiteFooter.esm.js} +10 -10
- package/dist/SiteFooter/package.json +7 -0
- package/dist/SiteHeader/{index.d.ts → SiteHeader.cjs.d.ts} +1 -1
- package/dist/SiteHeader/SiteHeader.cjs.js +647 -0
- package/dist/SiteHeader/SiteHeader.esm.d.ts +252 -0
- package/dist/SiteHeader/{index.js → SiteHeader.esm.js} +11 -11
- package/dist/SiteHeader/package.json +7 -0
- package/dist/Surface/{index.d.ts → Surface.cjs.d.ts} +1 -1
- package/dist/Surface/Surface.cjs.js +15 -0
- package/dist/Surface/Surface.esm.d.ts +1 -0
- package/dist/Surface/Surface.esm.js +4 -0
- package/dist/Surface/package.json +7 -0
- package/dist/Text/Text.cjs.d.ts +1 -0
- package/dist/Text/Text.cjs.js +14 -0
- package/dist/Text/Text.esm.d.ts +1 -0
- package/dist/Text/Text.esm.js +6 -0
- package/dist/Text/package.json +7 -0
- package/dist/TextInput/{index.d.ts → TextInput.cjs.d.ts} +1 -1
- package/dist/TextInput/TextInput.cjs.js +64 -0
- package/dist/TextInput/TextInput.esm.d.ts +71 -0
- package/dist/TextInput/{index.js → TextInput.esm.js} +4 -4
- package/dist/TextInput/package.json +7 -0
- package/dist/UniversalHeader/{index.d.ts → UniversalHeader.cjs.d.ts} +0 -0
- package/dist/UniversalHeader/UniversalHeader.cjs.js +38 -0
- package/dist/UniversalHeader/UniversalHeader.esm.d.ts +26 -0
- package/dist/UniversalHeader/{index.js → UniversalHeader.esm.js} +3 -3
- package/dist/UniversalHeader/package.json +7 -0
- package/dist/VerticalSpace/{index.d.ts → VerticalSpace.cjs.d.ts} +0 -0
- package/dist/VerticalSpace/VerticalSpace.cjs.js +27 -0
- package/dist/VerticalSpace/VerticalSpace.esm.d.ts +18 -0
- package/dist/VerticalSpace/{index.js → VerticalSpace.esm.js} +2 -2
- package/dist/VerticalSpace/package.json +7 -0
- package/dist/VisuallyHidden/{index.d.ts → VisuallyHidden.cjs.d.ts} +0 -0
- package/dist/VisuallyHidden/VisuallyHidden.cjs.js +19 -0
- package/dist/VisuallyHidden/VisuallyHidden.esm.d.ts +12 -0
- package/dist/VisuallyHidden/{index.js → VisuallyHidden.esm.js} +0 -0
- package/dist/VisuallyHidden/package.json +7 -0
- package/dist/_shared/{BrandLogo-6cc8202e.d.ts → cjs/BrandLogo-3c6102ef.d.ts} +0 -0
- package/dist/_shared/cjs/BrandLogo-3c6102ef.js +31 -0
- package/dist/_shared/{Button-2fcbd4ed.d.ts → cjs/Button-1743b3ec.d.ts} +0 -0
- package/dist/_shared/cjs/Button-1743b3ec.js +57 -0
- package/dist/_shared/{Curve-5f476d0b.d.ts → cjs/Curve-e72ce25b.d.ts} +1 -1
- package/dist/_shared/cjs/Curve-e72ce25b.js +30 -0
- package/dist/_shared/{FormControl-9dc9ecc3.d.ts → cjs/FormControl-7d8e10fa.d.ts} +0 -0
- package/dist/_shared/cjs/FormControl-7d8e10fa.js +82 -0
- package/dist/_shared/{Heading-8c640dd1.d.ts → cjs/Heading-cc38c3ec.d.ts} +0 -0
- package/dist/_shared/cjs/Heading-cc38c3ec.js +41 -0
- package/dist/_shared/{Icon-b053f03d.d.ts → cjs/Icon-bb5a5fd1.d.ts} +0 -0
- package/dist/_shared/cjs/Icon-bb5a5fd1.js +33 -0
- package/dist/_shared/{Image-a3225049.d.ts → cjs/Image-fe760a06.d.ts} +0 -0
- package/dist/_shared/cjs/Image-fe760a06.js +45 -0
- package/dist/_shared/{Section-927988cb.d.ts → cjs/Section-780f2377.d.ts} +0 -0
- package/dist/_shared/cjs/Section-780f2377.js +23 -0
- package/dist/_shared/{Surface-3fe44a2a.d.ts → cjs/Surface-d6b8010e.d.ts} +0 -0
- package/dist/_shared/cjs/Surface-d6b8010e.js +58 -0
- package/dist/_shared/{Text-1c43d82b.d.ts → cjs/Text-1d3844be.d.ts} +0 -0
- package/dist/_shared/cjs/Text-1d3844be.js +32 -0
- package/dist/_shared/{handle-link-click-35e09d0c.d.ts → cjs/handle-link-click-17a44cf4.d.ts} +0 -0
- package/dist/_shared/cjs/handle-link-click-17a44cf4.js +15 -0
- package/dist/_shared/cjs/index-45bfb67b.js +63 -0
- package/dist/_shared/{index-e3c83626.d.ts → cjs/index-78b35bc1.d.ts} +0 -0
- package/dist/_shared/cjs/index-78b35bc1.js +215 -0
- package/dist/_shared/{index-9483ad5f.d.ts → cjs/index-9483ad5f.d.ts} +2 -2
- package/dist/_shared/cjs/index-c81c9401.d.ts +4 -0
- package/dist/_shared/cjs/index.es-f590caaf.js +290 -0
- package/dist/_shared/{suffix-modifier-2a93822c.d.ts → cjs/suffix-modifier-edf7851e.d.ts} +0 -0
- package/dist/_shared/cjs/suffix-modifier-edf7851e.js +19 -0
- package/dist/_shared/{use-media-query-f11805d4.d.ts → cjs/use-media-query-75d1bbae.d.ts} +0 -0
- package/dist/_shared/cjs/use-media-query-75d1bbae.js +41 -0
- package/dist/_shared/esm/BrandLogo-ea3dd0e6.d.ts +26 -0
- package/dist/_shared/{BrandLogo-6cc8202e.js → esm/BrandLogo-ea3dd0e6.js} +4 -4
- package/dist/_shared/esm/Button-d59c31a2.d.ts +98 -0
- package/dist/_shared/{Button-2fcbd4ed.js → esm/Button-d59c31a2.js} +5 -5
- package/dist/_shared/esm/Curve-cfdca379.d.ts +32 -0
- package/dist/_shared/{Curve-5f476d0b.js → esm/Curve-cfdca379.js} +3 -3
- package/dist/_shared/esm/FormControl-33194106.d.ts +70 -0
- package/dist/_shared/{FormControl-9dc9ecc3.js → esm/FormControl-33194106.js} +3 -3
- package/dist/_shared/esm/Heading-183be76c.d.ts +46 -0
- package/dist/_shared/{Heading-8c640dd1.js → esm/Heading-183be76c.js} +4 -4
- package/dist/_shared/esm/Icon-2fd92daa.d.ts +34 -0
- package/dist/_shared/{Icon-b053f03d.js → esm/Icon-2fd92daa.js} +5 -5
- package/dist/_shared/esm/Image-7e4948f6.d.ts +94 -0
- package/dist/_shared/{Image-a3225049.js → esm/Image-7e4948f6.js} +3 -3
- package/dist/_shared/esm/Section-f1256c87.d.ts +21 -0
- package/dist/_shared/{Section-927988cb.js → esm/Section-f1256c87.js} +2 -2
- package/dist/_shared/esm/Surface-d515d212.d.ts +50 -0
- package/dist/_shared/{Surface-3fe44a2a.js → esm/Surface-d515d212.js} +2 -2
- package/dist/_shared/esm/Text-d8988620.d.ts +34 -0
- package/dist/_shared/{Text-1c43d82b.js → esm/Text-d8988620.js} +4 -4
- package/dist/_shared/esm/handle-link-click-f64f55a2.d.ts +7 -0
- package/dist/_shared/{handle-link-click-35e09d0c.js → esm/handle-link-click-f64f55a2.js} +0 -0
- package/dist/_shared/esm/index-229fc864.d.ts +2 -0
- package/dist/_shared/{index-e3c83626.js → esm/index-229fc864.js} +0 -0
- package/dist/_shared/{index-56d9df62.js → esm/index-2ae58626.js} +0 -0
- package/dist/_shared/esm/index-9483ad5f.d.ts +14 -0
- package/dist/_shared/esm/index-c81c9401.d.ts +4 -0
- package/dist/_shared/{index.es-ff960629.js → esm/index.es-42f84e2d.js} +0 -0
- package/dist/_shared/esm/suffix-modifier-f5e28822.d.ts +10 -0
- package/dist/_shared/{suffix-modifier-2a93822c.js → esm/suffix-modifier-f5e28822.js} +1 -1
- package/dist/_shared/esm/use-media-query-38faed7f.d.ts +19 -0
- package/dist/_shared/{use-media-query-f11805d4.js → esm/use-media-query-38faed7f.js} +0 -0
- package/package.json +3 -3
- package/dist/BrandLogo/index.d.ts +0 -1
- package/dist/BrandLogo/index.js +0 -6
- package/dist/Button/index.d.ts +0 -1
- package/dist/Button/index.js +0 -8
- package/dist/Curve/index.d.ts +0 -1
- package/dist/Curve/index.js +0 -5
- package/dist/FormControl/index.d.ts +0 -1
- package/dist/FormControl/index.js +0 -5
- package/dist/Heading/index.d.ts +0 -1
- package/dist/Heading/index.js +0 -6
- package/dist/Icon/index.d.ts +0 -1
- package/dist/Icon/index.js +0 -7
- package/dist/Image/index.d.ts +0 -1
- package/dist/Image/index.js +0 -5
- package/dist/Section/index.d.ts +0 -1
- package/dist/Section/index.js +0 -4
- package/dist/Surface/index.js +0 -4
- package/dist/Text/index.d.ts +0 -1
- package/dist/Text/index.js +0 -6
- package/dist/_shared/index-c81c9401.d.ts +0 -4
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Use `Columns` to compose layouts on a 12-column grid.
|
|
4
|
+
*/
|
|
5
|
+
declare const Columns: FC<ColumnsProps> & {
|
|
6
|
+
Col: typeof Col;
|
|
7
|
+
};
|
|
8
|
+
declare const Col: FC<ColProps>;
|
|
9
|
+
type Span = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
10
|
+
type Offset = "0" | "24" | "48" | "72" | "96" | "120" | "144" | "168" | "192" | "216" | "240" | "264" | "288" | "312" | "336" | "360" | "384";
|
|
11
|
+
interface ColProps {
|
|
12
|
+
/**
|
|
13
|
+
* Vertically align the Column.
|
|
14
|
+
*/
|
|
15
|
+
align?: "top" | "center" | "bottom";
|
|
16
|
+
/**
|
|
17
|
+
* Content to display in the Column.
|
|
18
|
+
*/
|
|
19
|
+
children?: ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* Should the Column be visible for debugging and documentation
|
|
22
|
+
* purposes?
|
|
23
|
+
*/
|
|
24
|
+
isDebugVisible?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Overlay the column over the previous content on the default breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
|
|
27
|
+
*/
|
|
28
|
+
offset?: Offset;
|
|
29
|
+
/**
|
|
30
|
+
* Overlay the column over the previous content on the S breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
|
|
31
|
+
*/
|
|
32
|
+
offsetS?: Offset;
|
|
33
|
+
/**
|
|
34
|
+
* Overlay the column over the previous content on the M breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
|
|
35
|
+
*/
|
|
36
|
+
offsetM?: Offset;
|
|
37
|
+
/**
|
|
38
|
+
* Overlay the column over the previous content on the L breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
|
|
39
|
+
*/
|
|
40
|
+
offsetL?: Offset;
|
|
41
|
+
/**
|
|
42
|
+
* Overlay the column over the previous content on the XL breakpoint and above. Multiples of 24 up to 384. Use with caution, and ensure to check responsive behaviour.
|
|
43
|
+
*/
|
|
44
|
+
offsetXL?: Offset;
|
|
45
|
+
/**
|
|
46
|
+
* The number of columns to span on the default breakpoint and above, from 1 to 12.
|
|
47
|
+
*/
|
|
48
|
+
span?: Span;
|
|
49
|
+
/**
|
|
50
|
+
* The number of columns to span on the S breakpoint and above, from 1 to 12.
|
|
51
|
+
*/
|
|
52
|
+
spanS?: Span;
|
|
53
|
+
/**
|
|
54
|
+
* The number of columns to span on the M breakpoint and above, from 1 to 12.
|
|
55
|
+
*/
|
|
56
|
+
spanM?: Span;
|
|
57
|
+
/**
|
|
58
|
+
* The number of columns to span on the L breakpoint and above, from 1 to 12.
|
|
59
|
+
*/
|
|
60
|
+
spanL?: Span;
|
|
61
|
+
/**
|
|
62
|
+
* The number of columns to span on the XL breakpoint and above, from 1 to 12.
|
|
63
|
+
*/
|
|
64
|
+
spanXL?: Span;
|
|
65
|
+
}
|
|
66
|
+
interface ColumnsProps {
|
|
67
|
+
/**
|
|
68
|
+
* Contents of the Columns. Should only contain `Columns.Col`.
|
|
69
|
+
*/
|
|
70
|
+
children: ReactNode;
|
|
71
|
+
/**
|
|
72
|
+
* Should the Columns be gutterless?
|
|
73
|
+
*/
|
|
74
|
+
isGutterless?: boolean;
|
|
75
|
+
}
|
|
76
|
+
export { Columns };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/index-
|
|
2
|
-
import { c as classNames } from '../_shared/index-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/index-229fc864.js';
|
|
2
|
+
import { c as classNames } from '../_shared/esm/index-2ae58626.js';
|
|
3
3
|
import React, { useEffect } from 'react';
|
|
4
|
-
import { s as suffixModifier } from '../_shared/suffix-modifier-
|
|
4
|
+
import { s as suffixModifier } from '../_shared/esm/suffix-modifier-f5e28822.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Use `Columns` to compose layouts on a 12-column grid.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Curve } from "../_shared/cjs/Curve-e72ce25b";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var Curve = require('../_shared/cjs/Curve-e72ce25b.js');
|
|
6
|
+
require('../_shared/cjs/index-78b35bc1.js');
|
|
7
|
+
require('../_shared/cjs/index-45bfb67b.js');
|
|
8
|
+
require('react');
|
|
9
|
+
require('../_shared/cjs/suffix-modifier-edf7851e.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
exports.Curve = Curve.Curve;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Curve } from "../_shared/esm/Curve-cfdca379";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, ReactNode } from "react";
|
|
2
|
-
import { HeadingLevel } from "../_shared/Heading-
|
|
2
|
+
import { HeadingLevel } from "../_shared/cjs/Heading-cc38c3ec";
|
|
3
3
|
/**
|
|
4
4
|
* Use `Disclosure` to display content that is only visible when toggled into
|
|
5
5
|
* an "open" state.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var index = require('../_shared/cjs/index-78b35bc1.js');
|
|
6
|
+
var index$1 = require('../_shared/cjs/index-45bfb67b.js');
|
|
7
|
+
var React = require('react');
|
|
8
|
+
var Heading = require('../_shared/cjs/Heading-cc38c3ec.js');
|
|
9
|
+
var Surface = require('../_shared/cjs/Surface-d6b8010e.js');
|
|
10
|
+
require('../_shared/cjs/suffix-modifier-edf7851e.js');
|
|
11
|
+
|
|
12
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13
|
+
|
|
14
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Use `Disclosure` to display content that is only visible when toggled into
|
|
18
|
+
* an "open" state.
|
|
19
|
+
*/
|
|
20
|
+
var Disclosure = function (_a) {
|
|
21
|
+
var children = _a.children, headingLevel = _a.headingLevel, _b = _a.indentDetails, indentDetails = _b === void 0 ? false : _b, _c = _a.isOpen, isOpen = _c === void 0 ? false : _c, summary = _a.summary, props = index.__rest(_a, ["children", "headingLevel", "indentDetails", "isOpen", "summary"]);
|
|
22
|
+
var surface = React.useContext(Surface.Context).surface;
|
|
23
|
+
return (React__default["default"].createElement("details", index.__assign({ className: index$1.classNames({
|
|
24
|
+
"arc-Disclosure": true,
|
|
25
|
+
"arc-Disclosure--indentDetails": indentDetails,
|
|
26
|
+
"arc-Disclosure--onDarkSurface": surface === "dark"
|
|
27
|
+
}), open: isOpen }, index.filterDataAttrs(props)),
|
|
28
|
+
React__default["default"].createElement("summary", { className: "arc-Disclosure-summary" },
|
|
29
|
+
React__default["default"].createElement(Heading.Heading, { level: headingLevel, size: "s" }, summary)),
|
|
30
|
+
React__default["default"].createElement("div", { className: "arc-Disclosure-details" }, children)));
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
exports.Disclosure = Disclosure;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
import { HeadingLevel } from "../_shared/esm/Heading-183be76c";
|
|
3
|
+
/**
|
|
4
|
+
* Use `Disclosure` to display content that is only visible when toggled into
|
|
5
|
+
* an "open" state.
|
|
6
|
+
*/
|
|
7
|
+
declare const Disclosure: FC<DisclosureProps>;
|
|
8
|
+
interface DisclosureProps {
|
|
9
|
+
/**
|
|
10
|
+
* Content to display in the Disclosure.
|
|
11
|
+
*/
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* HTML section heading level of the Disclosure summary. If not provided, will
|
|
15
|
+
* render as a span.
|
|
16
|
+
*/
|
|
17
|
+
headingLevel?: HeadingLevel;
|
|
18
|
+
/**
|
|
19
|
+
* Should Disclosure details be indented to line-up with summary text?
|
|
20
|
+
*/
|
|
21
|
+
indentDetails?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Should the Disclosure content be open by default?
|
|
24
|
+
*/
|
|
25
|
+
isOpen?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* The Disclosure summary text.
|
|
28
|
+
*/
|
|
29
|
+
summary: string;
|
|
30
|
+
}
|
|
31
|
+
export { Disclosure };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/index-
|
|
2
|
-
import { c as classNames } from '../_shared/index-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/index-229fc864.js';
|
|
2
|
+
import { c as classNames } from '../_shared/esm/index-2ae58626.js';
|
|
3
3
|
import React, { useContext } from 'react';
|
|
4
|
-
import { H as Heading } from '../_shared/Heading-
|
|
5
|
-
import { C as Context } from '../_shared/Surface-
|
|
6
|
-
import '../_shared/suffix-modifier-
|
|
4
|
+
import { H as Heading } from '../_shared/esm/Heading-183be76c.js';
|
|
5
|
+
import { C as Context } from '../_shared/esm/Surface-d515d212.js';
|
|
6
|
+
import '../_shared/esm/suffix-modifier-f5e28822.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Use `Disclosure` to display content that is only visible when toggled into
|
|
File without changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var index = require('../_shared/cjs/index-78b35bc1.js');
|
|
6
|
+
var index$1 = require('../_shared/cjs/index-45bfb67b.js');
|
|
7
|
+
var React = require('react');
|
|
8
|
+
|
|
9
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
|
+
|
|
11
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Use `Elevation` to elevate what matters.
|
|
15
|
+
*/
|
|
16
|
+
var Elevation = function (_a) {
|
|
17
|
+
var _b;
|
|
18
|
+
var children = _a.children, _c = _a.isFullWidth, isFullWidth = _c === void 0 ? false : _c, props = index.__rest(_a, ["children", "isFullWidth"]);
|
|
19
|
+
return (React__default["default"].createElement("div", index.__assign({ className: index$1.classNames((_b = {},
|
|
20
|
+
_b["arc-Elevation"] = true,
|
|
21
|
+
_b["arc-Elevation--fullWidth"] = isFullWidth,
|
|
22
|
+
_b)) }, index.filterDataAttrs(props)), children));
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
exports.Elevation = Elevation;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Use `Elevation` to elevate what matters.
|
|
4
|
+
*/
|
|
5
|
+
declare const Elevation: FC<ElevationProps>;
|
|
6
|
+
interface ElevationProps {
|
|
7
|
+
/**
|
|
8
|
+
* Contents to Elevate.
|
|
9
|
+
*/
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Should the Elevation be full width?
|
|
13
|
+
*/
|
|
14
|
+
isFullWidth?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export { Elevation };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/index-
|
|
2
|
-
import { c as classNames } from '../_shared/index-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/index-229fc864.js';
|
|
2
|
+
import { c as classNames } from '../_shared/esm/index-2ae58626.js';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FormControl, FormControlContext } from "../_shared/cjs/FormControl-7d8e10fa";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var FormControl = require('../_shared/cjs/FormControl-7d8e10fa.js');
|
|
6
|
+
require('../_shared/cjs/index-78b35bc1.js');
|
|
7
|
+
require('../_shared/cjs/index-45bfb67b.js');
|
|
8
|
+
require('react');
|
|
9
|
+
require('../_shared/cjs/Surface-d6b8010e.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
exports.FormControl = FormControl.FormControl;
|
|
14
|
+
exports.FormControlContext = FormControl.Context;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FormControl, FormControlContext } from "../_shared/esm/FormControl-33194106";
|
|
File without changes
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var index = require('../_shared/cjs/index-78b35bc1.js');
|
|
6
|
+
var index$1 = require('../_shared/cjs/index-45bfb67b.js');
|
|
7
|
+
var React = require('react');
|
|
8
|
+
var Surface = require('../_shared/cjs/Surface-d6b8010e.js');
|
|
9
|
+
|
|
10
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
|
+
|
|
12
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Use `Group` to arrange flexible items in a row.
|
|
16
|
+
*/
|
|
17
|
+
var Group = function (_a) {
|
|
18
|
+
var _b;
|
|
19
|
+
var children = _a.children, _c = _a.grow, grow = _c === void 0 ? false : _c, _d = _a.growEqual, growEqual = _d === void 0 ? false : _d, _e = _a.gutterBorder, gutterBorder = _e === void 0 ? false : _e, _f = _a.noWrap, noWrap = _f === void 0 ? false : _f, props = index.__rest(_a, ["children", "grow", "growEqual", "gutterBorder", "noWrap"]);
|
|
20
|
+
var surface = React.useContext(Surface.Context).surface;
|
|
21
|
+
React.useEffect(function () {
|
|
22
|
+
React__default["default"].Children.map(children, function (item) {
|
|
23
|
+
if (item && item.type !== GroupItem) {
|
|
24
|
+
throw new Error("Illegal child passed to <Group />. Ensure to only use <Group.Item />.");
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
}, [children]);
|
|
28
|
+
return (React__default["default"].createElement("div", index.__assign({ className: index$1.classNames((_b = {},
|
|
29
|
+
_b["arc-Group"] = true,
|
|
30
|
+
_b["arc-Group--grow"] = grow,
|
|
31
|
+
_b["arc-Group--growEqual"] = growEqual,
|
|
32
|
+
_b["arc-Group--gutterBorder"] = gutterBorder,
|
|
33
|
+
_b["arc-Group--noWrap"] = noWrap,
|
|
34
|
+
_b["arc-Group--onDarkSurface"] = surface === "dark",
|
|
35
|
+
_b)) }, index.filterDataAttrs(props)),
|
|
36
|
+
React__default["default"].createElement("div", { className: "arc-Group-inner" }, children)));
|
|
37
|
+
};
|
|
38
|
+
var GroupItem = function (_a) {
|
|
39
|
+
var _b;
|
|
40
|
+
var children = _a.children, _c = _a.grow, grow = _c === void 0 ? false : _c, _d = _a.isDebugVisible, isDebugVisible = _d === void 0 ? false : _d, props = index.__rest(_a, ["children", "grow", "isDebugVisible"]);
|
|
41
|
+
return (React__default["default"].createElement("div", index.__assign({ className: index$1.classNames((_b = {},
|
|
42
|
+
_b["arc-Group-item"] = true,
|
|
43
|
+
_b["arc-Group-item--grow"] = grow,
|
|
44
|
+
_b["arc-Group-item--debugVisible"] = isDebugVisible,
|
|
45
|
+
_b)) }, index.filterDataAttrs(props)), children));
|
|
46
|
+
};
|
|
47
|
+
GroupItem.displayName = "Group.Item";
|
|
48
|
+
Group.Item = GroupItem;
|
|
49
|
+
|
|
50
|
+
exports.Group = Group;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Use `Group` to arrange flexible items in a row.
|
|
4
|
+
*/
|
|
5
|
+
declare const Group: FC<GroupProps> & {
|
|
6
|
+
Item: typeof GroupItem;
|
|
7
|
+
};
|
|
8
|
+
declare const GroupItem: FC<ItemProps>;
|
|
9
|
+
interface ItemProps {
|
|
10
|
+
/**
|
|
11
|
+
* Content to display in the Group.Item.
|
|
12
|
+
*/
|
|
13
|
+
children?: ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* Should the Group.Item be visible for debugging and documentation
|
|
16
|
+
* purposes?
|
|
17
|
+
*/
|
|
18
|
+
isDebugVisible?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Should the Group.Item stretch to fill the available space?
|
|
21
|
+
*/
|
|
22
|
+
grow?: boolean;
|
|
23
|
+
}
|
|
24
|
+
interface GroupProps {
|
|
25
|
+
/**
|
|
26
|
+
* Contents of the Group. Should only contain `Group.Item`.
|
|
27
|
+
*/
|
|
28
|
+
children: ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* Should all Group.Items in the Group stretch to fill the available space?
|
|
31
|
+
*/
|
|
32
|
+
grow?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Should all Group.Items in the Group stretch to fill the available space with equal widths?
|
|
35
|
+
*/
|
|
36
|
+
growEqual?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Should a border be shown between Group.Items? **Warning: Sets CSS property `overflow:hidden`.**
|
|
39
|
+
*/
|
|
40
|
+
gutterBorder?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Should wrapping of Group.Items in the Group be disabled?
|
|
43
|
+
*/
|
|
44
|
+
noWrap?: boolean;
|
|
45
|
+
}
|
|
46
|
+
export { Group };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/index-
|
|
2
|
-
import { c as classNames } from '../_shared/index-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/index-229fc864.js';
|
|
2
|
+
import { c as classNames } from '../_shared/esm/index-2ae58626.js';
|
|
3
3
|
import React, { useContext, useEffect } from 'react';
|
|
4
|
-
import { C as Context } from '../_shared/Surface-
|
|
4
|
+
import { C as Context } from '../_shared/esm/Surface-d515d212.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Use `Group` to arrange flexible items in a row.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Heading } from "../_shared/cjs/Heading-cc38c3ec";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var Heading = require('../_shared/cjs/Heading-cc38c3ec.js');
|
|
6
|
+
require('../_shared/cjs/index-78b35bc1.js');
|
|
7
|
+
require('../_shared/cjs/index-45bfb67b.js');
|
|
8
|
+
require('react');
|
|
9
|
+
require('../_shared/cjs/suffix-modifier-edf7851e.js');
|
|
10
|
+
require('../_shared/cjs/Surface-d6b8010e.js');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
exports.Heading = Heading.Heading;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Heading } from "../_shared/esm/Heading-183be76c";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { H as Heading } from '../_shared/esm/Heading-183be76c.js';
|
|
2
|
+
import '../_shared/esm/index-229fc864.js';
|
|
3
|
+
import '../_shared/esm/index-2ae58626.js';
|
|
4
|
+
import 'react';
|
|
5
|
+
import '../_shared/esm/suffix-modifier-f5e28822.js';
|
|
6
|
+
import '../_shared/esm/Surface-d515d212.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Icon } from "../_shared/cjs/Icon-bb5a5fd1";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var Icon = require('../_shared/cjs/Icon-bb5a5fd1.js');
|
|
6
|
+
require('../_shared/cjs/index-78b35bc1.js');
|
|
7
|
+
require('../_shared/cjs/index.es-f590caaf.js');
|
|
8
|
+
require('../_shared/cjs/index-45bfb67b.js');
|
|
9
|
+
require('react');
|
|
10
|
+
require('../_shared/cjs/suffix-modifier-edf7851e.js');
|
|
11
|
+
require('../_shared/cjs/Surface-d6b8010e.js');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
exports.Icon = Icon.Icon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Icon } from "../_shared/esm/Icon-2fd92daa";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { I as Icon } from '../_shared/esm/Icon-2fd92daa.js';
|
|
2
|
+
import '../_shared/esm/index-229fc864.js';
|
|
3
|
+
import '../_shared/esm/index.es-42f84e2d.js';
|
|
4
|
+
import '../_shared/esm/index-2ae58626.js';
|
|
5
|
+
import 'react';
|
|
6
|
+
import '../_shared/esm/suffix-modifier-f5e28822.js';
|
|
7
|
+
import '../_shared/esm/Surface-d515d212.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Image } from "../_shared/cjs/Image-fe760a06";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var Image = require('../_shared/cjs/Image-fe760a06.js');
|
|
6
|
+
require('../_shared/cjs/index-78b35bc1.js');
|
|
7
|
+
require('../_shared/cjs/index-45bfb67b.js');
|
|
8
|
+
require('react');
|
|
9
|
+
require('../_shared/cjs/suffix-modifier-edf7851e.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
exports.Image = Image.Image;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Image } from "../_shared/esm/Image-7e4948f6";
|
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var index = require('../_shared/cjs/index-78b35bc1.js');
|
|
6
|
+
var index$1 = require('../_shared/cjs/index-45bfb67b.js');
|
|
7
|
+
var React = require('react');
|
|
8
|
+
var Surface = require('../_shared/cjs/Surface-d6b8010e.js');
|
|
9
|
+
|
|
10
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
|
+
|
|
12
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Use `Markup` to display HTML-formatted text.
|
|
16
|
+
*/
|
|
17
|
+
var Markup = function (_a) {
|
|
18
|
+
var children = _a.children, _b = _a.isMeasured, isMeasured = _b === void 0 ? false : _b, props = index.__rest(_a, ["children", "isMeasured"]);
|
|
19
|
+
var surface = React.useContext(Surface.Context).surface;
|
|
20
|
+
return (React__default["default"].createElement("div", index.__assign({ className: index$1.classNames({
|
|
21
|
+
"arc-Markup": true,
|
|
22
|
+
"arc-Markup--measured": isMeasured,
|
|
23
|
+
"arc-Markup--onDarkSurface": surface === "dark"
|
|
24
|
+
}) }, index.filterDataAttrs(props)), children));
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
exports.Markup = Markup;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Use `Markup` to display HTML-formatted text.
|
|
4
|
+
*/
|
|
5
|
+
declare const Markup: FC<MarkupProps>;
|
|
6
|
+
interface MarkupProps {
|
|
7
|
+
/**
|
|
8
|
+
* HTML-formatted text to display in Markup.
|
|
9
|
+
*/
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Should the Markup width be constrained to a typographic measure?
|
|
13
|
+
*/
|
|
14
|
+
isMeasured?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export { Markup };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/index-
|
|
2
|
-
import { c as classNames } from '../_shared/index-
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/index-229fc864.js';
|
|
2
|
+
import { c as classNames } from '../_shared/esm/index-2ae58626.js';
|
|
3
3
|
import React, { useContext } from 'react';
|
|
4
|
-
import { C as Context } from '../_shared/Surface-
|
|
4
|
+
import { C as Context } from '../_shared/esm/Surface-d515d212.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Use `Markup` to display HTML-formatted text.
|