@arc-ui/components 11.15.0 → 11.16.0
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/Breadcrumbs/Breadcrumbs.cjs.js +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.esm.js +1 -1
- package/dist/Checkbox/Checkbox.cjs.js +2 -2
- package/dist/Checkbox/Checkbox.esm.js +2 -2
- package/dist/FormControl/FormControl.cjs.js +1 -1
- package/dist/FormControl/FormControl.esm.js +1 -1
- package/dist/InformationCard/InformationCard.cjs.js +25 -43
- package/dist/InformationCard/InformationCard.esm.js +24 -42
- package/dist/Modal/Modal.cjs.js +16 -40
- package/dist/Modal/Modal.esm.js +6 -30
- package/dist/PaginationSimple/PaginationSimple.cjs.js +19 -16
- package/dist/PaginationSimple/PaginationSimple.esm.js +19 -16
- package/dist/RadioGroup/RadioGroup.cjs.js +2 -2
- package/dist/RadioGroup/RadioGroup.esm.js +2 -2
- package/dist/Select/Select.cjs.js +2736 -619
- package/dist/Select/Select.esm.js +2535 -418
- package/dist/Switch/Switch.cjs.js +335 -11
- package/dist/Switch/Switch.esm.js +328 -4
- package/dist/Tabs/Tabs.cjs.js +7 -4
- package/dist/Tabs/Tabs.esm.js +7 -4
- package/dist/TextArea/TextArea.cjs.js +16 -11
- package/dist/TextArea/TextArea.esm.js +16 -11
- package/dist/TextInput/TextInput.cjs.js +2 -2
- package/dist/TextInput/TextInput.esm.js +2 -2
- package/dist/Toast/Toast.cjs.js +7 -4
- package/dist/Toast/Toast.esm.js +7 -4
- package/dist/TypographyCard/TypographyCard.cjs.js +93 -0
- package/dist/TypographyCard/TypographyCard.esm.js +85 -0
- package/dist/TypographyCard/package.json +7 -0
- package/dist/_shared/cjs/{Breadcrumbs-ed70e75a.js → Breadcrumbs-ef659d2b.js} +5 -5
- package/dist/_shared/cjs/BtIconArrowRight.esm-8e8ac316.js +30 -0
- package/dist/_shared/cjs/BtIconArrowRightFill.esm-435cf4bd.js +26 -0
- package/dist/_shared/cjs/{Checkbox-b126194e.js → Checkbox-904ad028.js} +1 -1
- package/dist/_shared/cjs/{FormControl-7daf8110.js → FormControl-166e0957.js} +5 -1
- package/dist/_shared/cjs/{RadioGroup-56e3b0e5.js → RadioGroup-1eddf86f.js} +1 -1
- package/dist/_shared/cjs/{Tabs-2d2a517d.js → Tabs-cc77dabb.js} +17 -37
- package/dist/_shared/cjs/{TextInput-bf1fe052.js → TextInput-fd9c756f.js} +10 -4
- package/dist/_shared/cjs/{Toast-69108261.js → Toast-91e96744.js} +36 -54
- package/dist/_shared/cjs/index-1641d0b4.js +27 -0
- package/dist/_shared/cjs/{index-43458549.js → index-3d69ea00.js} +28 -1
- package/dist/_shared/cjs/index-49c72a87.js +131 -0
- package/dist/_shared/cjs/{index-6b2a9ac3.js → index-4ecad2dd.js} +6 -22
- package/dist/_shared/cjs/{index.module-dd1d7d0b.js → index-56a040f4.js} +87 -104
- package/dist/_shared/cjs/index-6542b467.js +23 -0
- package/dist/_shared/cjs/{index-adbb63da.js → index-84e6a68f.js} +1 -1
- package/dist/_shared/cjs/{index-b2fd6338.js → index-d31f2b65.js} +1 -1
- package/dist/_shared/cjs/index-dcfdd5da.js +11 -0
- package/dist/_shared/esm/{Breadcrumbs-87e2bd46.js → Breadcrumbs-36edfb3d.js} +5 -5
- package/dist/_shared/esm/BtIconArrowRight.esm-267916a4.js +24 -0
- package/dist/_shared/esm/BtIconArrowRightFill.esm-99019d1a.js +20 -0
- package/dist/_shared/esm/{Checkbox-d6ec5024.js → Checkbox-8a5bb9a1.js} +1 -1
- package/dist/_shared/esm/{FormControl-351e5f1b.js → FormControl-9d4ddfec.js} +5 -1
- package/dist/_shared/esm/{RadioGroup-c838764c.js → RadioGroup-238db88d.js} +1 -1
- package/dist/_shared/esm/{Tabs-f903187a.js → Tabs-8719d952.js} +7 -27
- package/dist/_shared/esm/{TextInput-991804b6.js → TextInput-c1e2a1dd.js} +10 -4
- package/dist/_shared/esm/{Toast-37549e68.js → Toast-7cb1e544.js} +6 -24
- package/dist/_shared/esm/{index.module-44714d3f.js → index-12f3a407.js} +89 -105
- package/dist/_shared/esm/index-246b4f18.js +21 -0
- package/dist/_shared/esm/{index-a1d2d9b3.js → index-39019a9b.js} +1 -1
- package/dist/_shared/esm/{index-41d7af2b.js → index-3e2bc99d.js} +29 -3
- package/dist/_shared/esm/index-6b7b075c.js +25 -0
- package/dist/_shared/esm/{index-efd9ef1c.js → index-936b5179.js} +1 -1
- package/dist/_shared/esm/index-a624de47.js +9 -0
- package/dist/_shared/esm/{index-3797d77e.js → index-d0307140.js} +5 -21
- package/dist/_shared/esm/index-db47e95a.js +129 -0
- package/dist/index.es.js +3058 -863
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +3058 -862
- package/dist/index.js.map +1 -1
- package/dist/styles.css +5 -5
- package/dist/types/components/MediaCard/MediaCard.d.ts +24 -30
- package/dist/types/components/Select/Select.d.ts +49 -0
- package/dist/types/components/TextInput/TextInput.d.ts +12 -1
- package/dist/types/components/TypographyCard/TypographyCard.d.ts +48 -0
- package/dist/types/components/TypographyCard/index.d.ts +1 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/internal-components/ConditionalWrapper/ConditionalWrapper.d.ts +6 -0
- package/dist/types/internal-components/ConditionalWrapper/index.d.ts +1 -0
- package/dist/types/internal-components/index.d.ts +1 -0
- package/dist/types/styles.d.ts +2 -1
- package/package.json +2 -2
- package/dist/_shared/cjs/index-c575a255.js +0 -490
- package/dist/_shared/esm/index-13d575cc.js +0 -479
- package/dist/types/components/MediaCard/MediaCard.stories-wip.d.ts +0 -15
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Breadcrumbs = require('../_shared/cjs/Breadcrumbs-
|
|
5
|
+
var Breadcrumbs = require('../_shared/cjs/Breadcrumbs-ef659d2b.js');
|
|
6
6
|
require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
|
|
7
7
|
require('react');
|
|
8
8
|
require('../_shared/cjs/debounce-123468fb.js');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as Breadcrumbs } from '../_shared/esm/Breadcrumbs-
|
|
1
|
+
export { B as Breadcrumbs } from '../_shared/esm/Breadcrumbs-36edfb3d.js';
|
|
2
2
|
import '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../_shared/esm/debounce-6fed6b84.js';
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Checkbox = require('../_shared/cjs/Checkbox-
|
|
5
|
+
var Checkbox = require('../_shared/cjs/Checkbox-904ad028.js');
|
|
6
6
|
require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
|
|
7
7
|
require('react');
|
|
8
8
|
require('../_shared/cjs/BtIconTickAlt2Px.esm-57c89acc.js');
|
|
9
9
|
require('../_shared/cjs/BtIconAlert.esm-1a0ff9f0.js');
|
|
10
10
|
require('../_shared/cjs/index-9947ac13.js');
|
|
11
|
-
require('../_shared/cjs/FormControl-
|
|
11
|
+
require('../_shared/cjs/FormControl-166e0957.js');
|
|
12
12
|
require('../_shared/cjs/Surface-038db6e1.js');
|
|
13
13
|
require('../_shared/cjs/DisclosureMini-d0eeb6bb.js');
|
|
14
14
|
require('../_shared/cjs/BtIconChevronDown2Px.esm-39030ee0.js');
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { C as Checkbox } from '../_shared/esm/Checkbox-
|
|
1
|
+
export { C as Checkbox } from '../_shared/esm/Checkbox-8a5bb9a1.js';
|
|
2
2
|
import '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../_shared/esm/BtIconTickAlt2Px.esm-0bc2ded0.js';
|
|
5
5
|
import '../_shared/esm/BtIconAlert.esm-a4608d47.js';
|
|
6
6
|
import '../_shared/esm/index-2e73c2e9.js';
|
|
7
|
-
import '../_shared/esm/FormControl-
|
|
7
|
+
import '../_shared/esm/FormControl-9d4ddfec.js';
|
|
8
8
|
import '../_shared/esm/Surface-0ca6817d.js';
|
|
9
9
|
import '../_shared/esm/DisclosureMini-ec17b008.js';
|
|
10
10
|
import '../_shared/esm/BtIconChevronDown2Px.esm-217276c2.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var FormControl = require('../_shared/cjs/FormControl-
|
|
5
|
+
var FormControl = require('../_shared/cjs/FormControl-166e0957.js');
|
|
6
6
|
require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
|
|
7
7
|
require('../_shared/cjs/index-9947ac13.js');
|
|
8
8
|
require('react');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { F as FormControl, C as FormControlContext } from '../_shared/esm/FormControl-
|
|
1
|
+
export { F as FormControl, C as FormControlContext } from '../_shared/esm/FormControl-9d4ddfec.js';
|
|
2
2
|
import '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
|
|
3
3
|
import '../_shared/esm/index-2e73c2e9.js';
|
|
4
4
|
import 'react';
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var index_es = require('../_shared/cjs/index.es-26dd8c5d.js');
|
|
8
|
+
var BtIconArrowRight_esm = require('../_shared/cjs/BtIconArrowRight.esm-8e8ac316.js');
|
|
8
9
|
var Icon = require('../_shared/cjs/Icon-a9801f05.js');
|
|
9
10
|
var Tag = require('../_shared/cjs/Tag-42ddca45.js');
|
|
10
11
|
var Image = require('../_shared/cjs/Image-e873b8fc.js');
|
|
@@ -21,27 +22,6 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
21
22
|
|
|
22
23
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
23
24
|
|
|
24
|
-
const BtIconArrowRight = (props) =>
|
|
25
|
-
/*#__PURE__*/ React__default["default"].createElement(
|
|
26
|
-
"svg",
|
|
27
|
-
Object.assign(
|
|
28
|
-
{
|
|
29
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
-
viewBox: "0 0 32 32",
|
|
31
|
-
},
|
|
32
|
-
props,
|
|
33
|
-
),
|
|
34
|
-
/*#__PURE__*/ React__default["default"].createElement("defs", null),
|
|
35
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
36
|
-
d: "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,27A13,13,0,1,1,29,16,13.01474,13.01474,0,0,1,16,29Z",
|
|
37
|
-
fill: "currentColor",
|
|
38
|
-
}),
|
|
39
|
-
/*#__PURE__*/ React__default["default"].createElement("path", {
|
|
40
|
-
d: "M18.14648,11.64648a.49983.49983,0,0,0,0,.707L21.293,15.5H9.5a.5.5,0,0,0,0,1H21.293l-3.14649,3.14648a.5.5,0,1,0,.707.707L23.207,16l-4.35351-4.35352A.49983.49983,0,0,0,18.14648,11.64648Z",
|
|
41
|
-
fill: "currentColor",
|
|
42
|
-
}),
|
|
43
|
-
);
|
|
44
|
-
|
|
45
25
|
var InformationCard = function (_a) {
|
|
46
26
|
var cardUrl = _a.cardUrl, onClick = _a.onClick, heading = _a.heading, text = _a.text, label = _a.label, footerLogo = _a.footerLogo, button = _a.button, image = _a.image, tags = _a.tags, icon = _a.icon, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, props = filterDataAttrs.__rest(_a, ["cardUrl", "onClick", "heading", "text", "label", "footerLogo", "button", "image", "tags", "icon", "headingLevel"]);
|
|
47
27
|
var isMinWidthArcBreakpointS = index_es.useMediaQuery("(min-width: ".concat(index_es.ArcBreakpointS, "px)"));
|
|
@@ -54,30 +34,32 @@ var InformationCard = function (_a) {
|
|
|
54
34
|
"arc-InformationCard--interactive": cardUrl
|
|
55
35
|
}) }, filterDataAttrs.filterDataAttrs(props)),
|
|
56
36
|
React__default["default"].createElement(Surface.Surface, { growVertically: true, padding: containerSpacing, background: "white" },
|
|
57
|
-
|
|
58
|
-
React__default["default"].createElement(
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
React__default["default"].createElement(
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
React__default["default"].createElement("
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
React__default["default"].createElement(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
37
|
+
React__default["default"].createElement("div", null,
|
|
38
|
+
image && (React__default["default"].createElement("div", { className: "arc-InformationCard-img" },
|
|
39
|
+
React__default["default"].createElement(Image.Image, filterDataAttrs.__assign({}, image)),
|
|
40
|
+
React__default["default"].createElement(VerticalSpace.VerticalSpace, { size: assetSpacing }))),
|
|
41
|
+
icon && (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
42
|
+
React__default["default"].createElement(Icon.Icon, { testId: "information-card-icon", icon: icon, size: 96 }),
|
|
43
|
+
React__default["default"].createElement(VerticalSpace.VerticalSpace, { size: assetSpacing }))),
|
|
44
|
+
label && (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
45
|
+
React__default["default"].createElement("span", { className: "arc-InformationCard-label" }, label),
|
|
46
|
+
React__default["default"].createElement(VerticalSpace.VerticalSpace, { size: headingSpacing }))),
|
|
47
|
+
React__default["default"].createElement(HeadingElement, { className: "arc-InformationCard-heading" }, cardUrl ? (React__default["default"].createElement("a", { className: "arc-InformationCard-headingLink", href: cardUrl, onClick: onClick }, heading)) : (heading))),
|
|
48
|
+
React__default["default"].createElement("div", { className: "arc-InformationCard-contentContainer" },
|
|
49
|
+
text && (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
50
|
+
React__default["default"].createElement(VerticalSpace.VerticalSpace, { size: headingSpacing }),
|
|
51
|
+
React__default["default"].createElement(Text.Text, null, text),
|
|
52
|
+
(button || tags || footerLogo) && React__default["default"].createElement(VerticalSpace.VerticalSpace, { size: "24" }))),
|
|
53
|
+
tags && (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
54
|
+
React__default["default"].createElement("div", { className: "arc-InformationCard-tagContainer" }, tags.map(function (_a, i) {
|
|
55
|
+
var text = _a.text, tagProps = filterDataAttrs.__rest(_a, ["text"]);
|
|
56
|
+
return (React__default["default"].createElement("div", { className: "arc-InformationCard-tag", key: "information-card-tag-".concat(i) },
|
|
57
|
+
React__default["default"].createElement(Tag.Tag, filterDataAttrs.__assign({}, tagProps), text)));
|
|
58
|
+
})),
|
|
59
|
+
(button || footerLogo) && React__default["default"].createElement(VerticalSpace.VerticalSpace, { size: "24" })))),
|
|
78
60
|
React__default["default"].createElement("div", { className: "arc-InformationCard-footer" },
|
|
79
61
|
button && !cardUrl && (React__default["default"].createElement("div", { className: "arc-InformationCard-footerButtonContainer" },
|
|
80
|
-
React__default["default"].createElement(Button.Button, filterDataAttrs.__assign({}, button, { iconPosition: "beforeText", fill: "flat", icon: BtIconArrowRight })))),
|
|
62
|
+
React__default["default"].createElement(Button.Button, filterDataAttrs.__assign({}, button, { iconPosition: "beforeText", fill: "flat", icon: BtIconArrowRight_esm.BtIconArrowRight })))),
|
|
81
63
|
footerLogo && (React__default["default"].createElement("div", { className: "arc-InformationCard-footerLogoContainer" },
|
|
82
64
|
React__default["default"].createElement(Image.Image, filterDataAttrs.__assign({}, footerLogo))))))));
|
|
83
65
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { u as useMediaQuery, A as ArcBreakpointS, a as ArcBreakpointM } from '../_shared/esm/index.es-c552c0ea.js';
|
|
4
|
+
import { B as BtIconArrowRight } from '../_shared/esm/BtIconArrowRight.esm-267916a4.js';
|
|
4
5
|
import { I as Icon } from '../_shared/esm/Icon-abd0d990.js';
|
|
5
6
|
import { T as Tag } from '../_shared/esm/Tag-92c088a9.js';
|
|
6
7
|
import { I as Image } from '../_shared/esm/Image-12fbd327.js';
|
|
@@ -13,27 +14,6 @@ import '../_shared/esm/suffix-modifier-3d548e45.js';
|
|
|
13
14
|
import '../_shared/esm/BtIconChevronLeftMid.esm-1ed8330b.js';
|
|
14
15
|
import '../_shared/esm/BtIconChevronRightMid.esm-32268f1a.js';
|
|
15
16
|
|
|
16
|
-
const BtIconArrowRight = (props) =>
|
|
17
|
-
/*#__PURE__*/ React__default.createElement(
|
|
18
|
-
"svg",
|
|
19
|
-
Object.assign(
|
|
20
|
-
{
|
|
21
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
-
viewBox: "0 0 32 32",
|
|
23
|
-
},
|
|
24
|
-
props,
|
|
25
|
-
),
|
|
26
|
-
/*#__PURE__*/ React__default.createElement("defs", null),
|
|
27
|
-
/*#__PURE__*/ React__default.createElement("path", {
|
|
28
|
-
d: "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,27A13,13,0,1,1,29,16,13.01474,13.01474,0,0,1,16,29Z",
|
|
29
|
-
fill: "currentColor",
|
|
30
|
-
}),
|
|
31
|
-
/*#__PURE__*/ React__default.createElement("path", {
|
|
32
|
-
d: "M18.14648,11.64648a.49983.49983,0,0,0,0,.707L21.293,15.5H9.5a.5.5,0,0,0,0,1H21.293l-3.14649,3.14648a.5.5,0,1,0,.707.707L23.207,16l-4.35351-4.35352A.49983.49983,0,0,0,18.14648,11.64648Z",
|
|
33
|
-
fill: "currentColor",
|
|
34
|
-
}),
|
|
35
|
-
);
|
|
36
|
-
|
|
37
17
|
var InformationCard = function (_a) {
|
|
38
18
|
var cardUrl = _a.cardUrl, onClick = _a.onClick, heading = _a.heading, text = _a.text, label = _a.label, footerLogo = _a.footerLogo, button = _a.button, image = _a.image, tags = _a.tags, icon = _a.icon, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, props = __rest(_a, ["cardUrl", "onClick", "heading", "text", "label", "footerLogo", "button", "image", "tags", "icon", "headingLevel"]);
|
|
39
19
|
var isMinWidthArcBreakpointS = useMediaQuery("(min-width: ".concat(ArcBreakpointS, "px)"));
|
|
@@ -46,27 +26,29 @@ var InformationCard = function (_a) {
|
|
|
46
26
|
"arc-InformationCard--interactive": cardUrl
|
|
47
27
|
}) }, filterDataAttrs(props)),
|
|
48
28
|
React__default.createElement(Surface, { growVertically: true, padding: containerSpacing, background: "white" },
|
|
49
|
-
|
|
50
|
-
React__default.createElement(
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
React__default.createElement(
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
React__default.createElement(
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
React__default.createElement(
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
29
|
+
React__default.createElement("div", null,
|
|
30
|
+
image && (React__default.createElement("div", { className: "arc-InformationCard-img" },
|
|
31
|
+
React__default.createElement(Image, __assign({}, image)),
|
|
32
|
+
React__default.createElement(VerticalSpace, { size: assetSpacing }))),
|
|
33
|
+
icon && (React__default.createElement(React__default.Fragment, null,
|
|
34
|
+
React__default.createElement(Icon, { testId: "information-card-icon", icon: icon, size: 96 }),
|
|
35
|
+
React__default.createElement(VerticalSpace, { size: assetSpacing }))),
|
|
36
|
+
label && (React__default.createElement(React__default.Fragment, null,
|
|
37
|
+
React__default.createElement("span", { className: "arc-InformationCard-label" }, label),
|
|
38
|
+
React__default.createElement(VerticalSpace, { size: headingSpacing }))),
|
|
39
|
+
React__default.createElement(HeadingElement, { className: "arc-InformationCard-heading" }, cardUrl ? (React__default.createElement("a", { className: "arc-InformationCard-headingLink", href: cardUrl, onClick: onClick }, heading)) : (heading))),
|
|
40
|
+
React__default.createElement("div", { className: "arc-InformationCard-contentContainer" },
|
|
41
|
+
text && (React__default.createElement(React__default.Fragment, null,
|
|
42
|
+
React__default.createElement(VerticalSpace, { size: headingSpacing }),
|
|
43
|
+
React__default.createElement(Text, null, text),
|
|
44
|
+
(button || tags || footerLogo) && React__default.createElement(VerticalSpace, { size: "24" }))),
|
|
45
|
+
tags && (React__default.createElement(React__default.Fragment, null,
|
|
46
|
+
React__default.createElement("div", { className: "arc-InformationCard-tagContainer" }, tags.map(function (_a, i) {
|
|
47
|
+
var text = _a.text, tagProps = __rest(_a, ["text"]);
|
|
48
|
+
return (React__default.createElement("div", { className: "arc-InformationCard-tag", key: "information-card-tag-".concat(i) },
|
|
49
|
+
React__default.createElement(Tag, __assign({}, tagProps), text)));
|
|
50
|
+
})),
|
|
51
|
+
(button || footerLogo) && React__default.createElement(VerticalSpace, { size: "24" })))),
|
|
70
52
|
React__default.createElement("div", { className: "arc-InformationCard-footer" },
|
|
71
53
|
button && !cardUrl && (React__default.createElement("div", { className: "arc-InformationCard-footerButtonContainer" },
|
|
72
54
|
React__default.createElement(Button, __assign({}, button, { iconPosition: "beforeText", fill: "flat", icon: BtIconArrowRight })))),
|
package/dist/Modal/Modal.cjs.js
CHANGED
|
@@ -4,13 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
var index$
|
|
7
|
+
var index$5 = require('../_shared/cjs/index-9947ac13.js');
|
|
8
8
|
var BtIconCrossAlt2Px_esm = require('../_shared/cjs/BtIconCrossAlt2Px.esm-1452b14b.js');
|
|
9
9
|
var _extends = require('../_shared/cjs/extends-8c5e4b48.js');
|
|
10
|
-
var index = require('../_shared/cjs/index-
|
|
11
|
-
var index$1 = require('../_shared/cjs/index-
|
|
12
|
-
var index$
|
|
13
|
-
var index$
|
|
10
|
+
var index = require('../_shared/cjs/index-56a040f4.js');
|
|
11
|
+
var index$1 = require('../_shared/cjs/index-84e6a68f.js');
|
|
12
|
+
var index$3 = require('../_shared/cjs/index-4ecad2dd.js');
|
|
13
|
+
var index$2 = require('../_shared/cjs/index-49c72a87.js');
|
|
14
|
+
var index$4 = require('../_shared/cjs/index-3d69ea00.js');
|
|
14
15
|
var Icon = require('../_shared/cjs/Icon-a9801f05.js');
|
|
15
16
|
var Base = require('../_shared/cjs/Base-f5a86eed.js');
|
|
16
17
|
var Heading = require('../_shared/cjs/Heading-27cba320.js');
|
|
@@ -18,6 +19,7 @@ var Button = require('../_shared/cjs/Button-4fed080a.js');
|
|
|
18
19
|
var Text = require('../_shared/cjs/Text-606ca3a2.js');
|
|
19
20
|
var VerticalSpace = require('../_shared/cjs/VerticalSpace-dc53bb70.js');
|
|
20
21
|
require('react-dom');
|
|
22
|
+
require('../_shared/cjs/index-6542b467.js');
|
|
21
23
|
require('../_shared/cjs/suffix-modifier-64dcd338.js');
|
|
22
24
|
require('../_shared/cjs/Surface-038db6e1.js');
|
|
23
25
|
require('../_shared/cjs/BtIconChevronLeftMid.esm-0aaa6770.js');
|
|
@@ -299,32 +301,6 @@ function $d3863c46a17e8a28$var$removeLinks(items) {
|
|
|
299
301
|
);
|
|
300
302
|
}
|
|
301
303
|
|
|
302
|
-
/** Number of components which have requested interest to have focus guards */ let $3db38b7d1fb3fe6a$var$count = 0;
|
|
303
|
-
/**
|
|
304
|
-
* Injects a pair of focus guards at the edges of the whole DOM tree
|
|
305
|
-
* to ensure `focusin` & `focusout` events can be caught consistently.
|
|
306
|
-
*/ function $3db38b7d1fb3fe6a$export$b7ece24a22aeda8c() {
|
|
307
|
-
React.useEffect(()=>{
|
|
308
|
-
var _edgeGuards$, _edgeGuards$2;
|
|
309
|
-
const edgeGuards = document.querySelectorAll('[data-radix-focus-guard]');
|
|
310
|
-
document.body.insertAdjacentElement('afterbegin', (_edgeGuards$ = edgeGuards[0]) !== null && _edgeGuards$ !== void 0 ? _edgeGuards$ : $3db38b7d1fb3fe6a$var$createFocusGuard());
|
|
311
|
-
document.body.insertAdjacentElement('beforeend', (_edgeGuards$2 = edgeGuards[1]) !== null && _edgeGuards$2 !== void 0 ? _edgeGuards$2 : $3db38b7d1fb3fe6a$var$createFocusGuard());
|
|
312
|
-
$3db38b7d1fb3fe6a$var$count++;
|
|
313
|
-
return ()=>{
|
|
314
|
-
if ($3db38b7d1fb3fe6a$var$count === 1) document.querySelectorAll('[data-radix-focus-guard]').forEach((node)=>node.remove()
|
|
315
|
-
);
|
|
316
|
-
$3db38b7d1fb3fe6a$var$count--;
|
|
317
|
-
};
|
|
318
|
-
}, []);
|
|
319
|
-
}
|
|
320
|
-
function $3db38b7d1fb3fe6a$var$createFocusGuard() {
|
|
321
|
-
const element = document.createElement('span');
|
|
322
|
-
element.setAttribute('data-radix-focus-guard', '');
|
|
323
|
-
element.tabIndex = 0;
|
|
324
|
-
element.style.cssText = 'outline: none; opacity: 0; position: fixed; pointer-events: none';
|
|
325
|
-
return element;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
304
|
/* -------------------------------------------------------------------------------------------------
|
|
329
305
|
* Dialog
|
|
330
306
|
* -----------------------------------------------------------------------------------------------*/ const $5d3850c4d0b4e6c7$var$DIALOG_NAME = 'Dialog';
|
|
@@ -368,9 +344,9 @@ const $5d3850c4d0b4e6c7$export$dad7c95542bacce0 = (props)=>{
|
|
|
368
344
|
return /*#__PURE__*/ React.createElement($5d3850c4d0b4e6c7$var$PortalProvider, {
|
|
369
345
|
scope: __scopeDialog,
|
|
370
346
|
forceMount: forceMount
|
|
371
|
-
}, React.Children.map(children, (child)=>/*#__PURE__*/ React.createElement(index.$921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
347
|
+
}, React.Children.map(children, (child)=>/*#__PURE__*/ React.createElement(index$2.$921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
372
348
|
present: forceMount || context.open
|
|
373
|
-
}, /*#__PURE__*/ React.createElement(index$
|
|
349
|
+
}, /*#__PURE__*/ React.createElement(index$3.$f1701beae083dbae$export$602eac185826482c, {
|
|
374
350
|
asChild: true,
|
|
375
351
|
container: container
|
|
376
352
|
}, child))
|
|
@@ -383,7 +359,7 @@ const $5d3850c4d0b4e6c7$export$bd1d06c79be19e17 = /*#__PURE__*/ React.forwardRef
|
|
|
383
359
|
const portalContext = $5d3850c4d0b4e6c7$var$usePortalContext($5d3850c4d0b4e6c7$var$OVERLAY_NAME, props.__scopeDialog);
|
|
384
360
|
const { forceMount: forceMount = portalContext.forceMount , ...overlayProps } = props;
|
|
385
361
|
const context = $5d3850c4d0b4e6c7$var$useDialogContext($5d3850c4d0b4e6c7$var$OVERLAY_NAME, props.__scopeDialog);
|
|
386
|
-
return context.modal ? /*#__PURE__*/ React.createElement(index.$921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
362
|
+
return context.modal ? /*#__PURE__*/ React.createElement(index$2.$921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
387
363
|
present: forceMount || context.open
|
|
388
364
|
}, /*#__PURE__*/ React.createElement($5d3850c4d0b4e6c7$var$DialogOverlayImpl, _extends._extends({}, overlayProps, {
|
|
389
365
|
ref: forwardedRef
|
|
@@ -394,7 +370,7 @@ const $5d3850c4d0b4e6c7$var$DialogOverlayImpl = /*#__PURE__*/ React.forwardRef((
|
|
|
394
370
|
const context = $5d3850c4d0b4e6c7$var$useDialogContext($5d3850c4d0b4e6c7$var$OVERLAY_NAME, __scopeDialog);
|
|
395
371
|
return(/*#__PURE__*/ // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
396
372
|
// ie. when `Overlay` and `Content` are siblings
|
|
397
|
-
React.createElement(index$
|
|
373
|
+
React.createElement(index$4.$01b9c$RemoveScroll, {
|
|
398
374
|
as: index.$5e63c961fc1ce211$export$8c6ed5c666ac1360,
|
|
399
375
|
allowPinchZoom: true,
|
|
400
376
|
shards: [
|
|
@@ -418,7 +394,7 @@ const $5d3850c4d0b4e6c7$export$b6d9565de1e068cf = /*#__PURE__*/ React.forwardRef
|
|
|
418
394
|
const portalContext = $5d3850c4d0b4e6c7$var$usePortalContext($5d3850c4d0b4e6c7$var$CONTENT_NAME, props.__scopeDialog);
|
|
419
395
|
const { forceMount: forceMount = portalContext.forceMount , ...contentProps } = props;
|
|
420
396
|
const context = $5d3850c4d0b4e6c7$var$useDialogContext($5d3850c4d0b4e6c7$var$CONTENT_NAME, props.__scopeDialog);
|
|
421
|
-
return /*#__PURE__*/ React.createElement(index.$921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
397
|
+
return /*#__PURE__*/ React.createElement(index$2.$921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
422
398
|
present: forceMount || context.open
|
|
423
399
|
}, context.modal ? /*#__PURE__*/ React.createElement($5d3850c4d0b4e6c7$var$DialogContentModal, _extends._extends({}, contentProps, {
|
|
424
400
|
ref: forwardedRef
|
|
@@ -432,7 +408,7 @@ const $5d3850c4d0b4e6c7$export$b6d9565de1e068cf = /*#__PURE__*/ React.forwardRef
|
|
|
432
408
|
const composedRefs = index.$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, context.contentRef, contentRef); // aria-hide everything except the content (better supported equivalent to setting aria-modal)
|
|
433
409
|
React.useEffect(()=>{
|
|
434
410
|
const content = contentRef.current;
|
|
435
|
-
if (content) return index$
|
|
411
|
+
if (content) return index$4.hideOthers(content);
|
|
436
412
|
}, []);
|
|
437
413
|
return /*#__PURE__*/ React.createElement($5d3850c4d0b4e6c7$var$DialogContentImpl, _extends._extends({}, props, {
|
|
438
414
|
ref: composedRefs // we make sure focus isn't trapped once `DialogContent` has been closed
|
|
@@ -500,14 +476,14 @@ const $5d3850c4d0b4e6c7$export$b6d9565de1e068cf = /*#__PURE__*/ React.forwardRef
|
|
|
500
476
|
const contentRef = React.useRef(null);
|
|
501
477
|
const composedRefs = index.$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, contentRef); // Make sure the whole tree has focus guards as our `Dialog` will be
|
|
502
478
|
// the last element in the DOM (beacuse of the `Portal`)
|
|
503
|
-
$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c();
|
|
479
|
+
index$4.$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c();
|
|
504
480
|
return /*#__PURE__*/ React.createElement(React.Fragment, null, /*#__PURE__*/ React.createElement($d3863c46a17e8a28$export$20e40289641fbbb6, {
|
|
505
481
|
asChild: true,
|
|
506
482
|
loop: true,
|
|
507
483
|
trapped: trapFocus,
|
|
508
484
|
onMountAutoFocus: onOpenAutoFocus,
|
|
509
485
|
onUnmountAutoFocus: onCloseAutoFocus
|
|
510
|
-
}, /*#__PURE__*/ React.createElement(index$
|
|
486
|
+
}, /*#__PURE__*/ React.createElement(index$3.$5cb92bef7577960e$export$177fb62ff3ec1f22, _extends._extends({
|
|
511
487
|
role: "dialog",
|
|
512
488
|
id: context.contentId,
|
|
513
489
|
"aria-describedby": context.descriptionId,
|
|
@@ -577,7 +553,7 @@ var Modal = function (_a) {
|
|
|
577
553
|
return (React__default["default"].createElement($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9, { open: isOpen },
|
|
578
554
|
React__default["default"].createElement($5d3850c4d0b4e6c7$export$602eac185826482c, { container: arcRootElement || undefined },
|
|
579
555
|
React__default["default"].createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff, { className: "arc-Modal-overlay" },
|
|
580
|
-
React__default["default"].createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2, filterDataAttrs.__assign({}, ariaProps, { role: role, onOpenAutoFocus: setTriggerElement, onCloseAutoFocus: focusTriggerElement, onEscapeKeyDown: closeModal, onInteractOutside: closeModal, className: index$
|
|
556
|
+
React__default["default"].createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2, filterDataAttrs.__assign({}, ariaProps, { role: role, onOpenAutoFocus: setTriggerElement, onCloseAutoFocus: focusTriggerElement, onEscapeKeyDown: closeModal, onInteractOutside: closeModal, className: index$5.classNames("arc-Modal-dialog", "arc-Modal-dialog--".concat(size), {
|
|
581
557
|
"arc-Modal-dialog--maxHeightWindow": isContentScrollable
|
|
582
558
|
}) }, filterDataAttrs.filterDataAttrs(props)),
|
|
583
559
|
React__default["default"].createElement("div", { className: "arc-Modal-section" },
|
package/dist/Modal/Modal.esm.js
CHANGED
|
@@ -3,10 +3,11 @@ import React__default, { forwardRef, useState, useRef, useEffect, useCallback, c
|
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-2e73c2e9.js';
|
|
4
4
|
import { B as BtIconCrossAlt2Px } from '../_shared/esm/BtIconCrossAlt2Px.esm-7165ab1a.js';
|
|
5
5
|
import { _ as _extends } from '../_shared/esm/extends-8cc61aad.js';
|
|
6
|
-
import { $ as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, a as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, b as $8927f6f2acc4f386$export$250ffa63cdc0d034, c as $c512c27ab02ef895$export$50c7b4e9d9f19c1, d as $71cd76cc60e0454e$export$6f32135080cb4c3, e as $
|
|
7
|
-
import { $ as $1746a345f3d73bb7$export$f680877a34711e37 } from '../_shared/esm/index-
|
|
8
|
-
import { $ as $f1701beae083dbae$export$602eac185826482c, a as $5cb92bef7577960e$export$177fb62ff3ec1f22 } from '../_shared/esm/index-
|
|
9
|
-
import { $ as $
|
|
6
|
+
import { $ as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a, a as $6ed0406888f73fc4$export$c7b2cbe3552a0d05, b as $8927f6f2acc4f386$export$250ffa63cdc0d034, c as $c512c27ab02ef895$export$50c7b4e9d9f19c1, d as $71cd76cc60e0454e$export$6f32135080cb4c3, e as $5e63c961fc1ce211$export$8c6ed5c666ac1360, f as $e42e1063c40fb3ef$export$b9ecd428b558ff10 } from '../_shared/esm/index-12f3a407.js';
|
|
7
|
+
import { $ as $1746a345f3d73bb7$export$f680877a34711e37 } from '../_shared/esm/index-936b5179.js';
|
|
8
|
+
import { $ as $f1701beae083dbae$export$602eac185826482c, a as $5cb92bef7577960e$export$177fb62ff3ec1f22 } from '../_shared/esm/index-d0307140.js';
|
|
9
|
+
import { $ as $921a889cee6df7e8$export$99c2b779aa4e8b8b } from '../_shared/esm/index-db47e95a.js';
|
|
10
|
+
import { $ as $01b9c$RemoveScroll, h as hideOthers, a as $3db38b7d1fb3fe6a$export$b7ece24a22aeda8c } from '../_shared/esm/index-3e2bc99d.js';
|
|
10
11
|
import { I as Icon } from '../_shared/esm/Icon-abd0d990.js';
|
|
11
12
|
import { A as ArcRootElementContext } from '../_shared/esm/Base-f200653c.js';
|
|
12
13
|
import { H as Heading } from '../_shared/esm/Heading-d16e0e53.js';
|
|
@@ -14,6 +15,7 @@ import { B as Button } from '../_shared/esm/Button-a453e8e4.js';
|
|
|
14
15
|
import { T as Text } from '../_shared/esm/Text-14f586ac.js';
|
|
15
16
|
import { V as VerticalSpace } from '../_shared/esm/VerticalSpace-43cd9138.js';
|
|
16
17
|
import 'react-dom';
|
|
18
|
+
import '../_shared/esm/index-246b4f18.js';
|
|
17
19
|
import '../_shared/esm/suffix-modifier-3d548e45.js';
|
|
18
20
|
import '../_shared/esm/Surface-0ca6817d.js';
|
|
19
21
|
import '../_shared/esm/BtIconChevronLeftMid.esm-1ed8330b.js';
|
|
@@ -291,32 +293,6 @@ function $d3863c46a17e8a28$var$removeLinks(items) {
|
|
|
291
293
|
);
|
|
292
294
|
}
|
|
293
295
|
|
|
294
|
-
/** Number of components which have requested interest to have focus guards */ let $3db38b7d1fb3fe6a$var$count = 0;
|
|
295
|
-
/**
|
|
296
|
-
* Injects a pair of focus guards at the edges of the whole DOM tree
|
|
297
|
-
* to ensure `focusin` & `focusout` events can be caught consistently.
|
|
298
|
-
*/ function $3db38b7d1fb3fe6a$export$b7ece24a22aeda8c() {
|
|
299
|
-
useEffect(()=>{
|
|
300
|
-
var _edgeGuards$, _edgeGuards$2;
|
|
301
|
-
const edgeGuards = document.querySelectorAll('[data-radix-focus-guard]');
|
|
302
|
-
document.body.insertAdjacentElement('afterbegin', (_edgeGuards$ = edgeGuards[0]) !== null && _edgeGuards$ !== void 0 ? _edgeGuards$ : $3db38b7d1fb3fe6a$var$createFocusGuard());
|
|
303
|
-
document.body.insertAdjacentElement('beforeend', (_edgeGuards$2 = edgeGuards[1]) !== null && _edgeGuards$2 !== void 0 ? _edgeGuards$2 : $3db38b7d1fb3fe6a$var$createFocusGuard());
|
|
304
|
-
$3db38b7d1fb3fe6a$var$count++;
|
|
305
|
-
return ()=>{
|
|
306
|
-
if ($3db38b7d1fb3fe6a$var$count === 1) document.querySelectorAll('[data-radix-focus-guard]').forEach((node)=>node.remove()
|
|
307
|
-
);
|
|
308
|
-
$3db38b7d1fb3fe6a$var$count--;
|
|
309
|
-
};
|
|
310
|
-
}, []);
|
|
311
|
-
}
|
|
312
|
-
function $3db38b7d1fb3fe6a$var$createFocusGuard() {
|
|
313
|
-
const element = document.createElement('span');
|
|
314
|
-
element.setAttribute('data-radix-focus-guard', '');
|
|
315
|
-
element.tabIndex = 0;
|
|
316
|
-
element.style.cssText = 'outline: none; opacity: 0; position: fixed; pointer-events: none';
|
|
317
|
-
return element;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
296
|
/* -------------------------------------------------------------------------------------------------
|
|
321
297
|
* Dialog
|
|
322
298
|
* -----------------------------------------------------------------------------------------------*/ const $5d3850c4d0b4e6c7$var$DIALOG_NAME = 'Dialog';
|
|
@@ -26,22 +26,25 @@ var PaginationSimple = function (_a) {
|
|
|
26
26
|
"arc-PaginationSimple--fluid": isFluid,
|
|
27
27
|
"arc-PaginationSimple--centered": !isFluid
|
|
28
28
|
}) }, filterDataAttrs.filterDataAttrs(props)),
|
|
29
|
-
React__default["default"].createElement("
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
29
|
+
React__default["default"].createElement("ul", { className: "arc-PaginationSimple-list" },
|
|
30
|
+
React__default["default"].createElement("li", { className: "arc-PaginationSimple-listItem" },
|
|
31
|
+
React__default["default"].createElement("button", { className: index.classNames("arc-PaginationSimple-navigationButton", {
|
|
32
|
+
"arc-PaginationSimple-navigationButton--hidden": hidePrev
|
|
33
|
+
}), onClick: function () {
|
|
34
|
+
onPrevPage();
|
|
35
|
+
} },
|
|
36
|
+
React__default["default"].createElement("div", { className: "arc-PaginationSimple-iconContainer arc-PaginationSimple-iconContainer--left" },
|
|
37
|
+
React__default["default"].createElement(Icon.Icon, { color: "brand", size: 32, icon: BtIconChevronLeftMid_esm.BtIconChevronLeftMid })),
|
|
38
|
+
React__default["default"].createElement("span", { className: "arc-PaginationSimple-prevText" }, "Prev"))),
|
|
39
|
+
React__default["default"].createElement("li", { className: "arc-PaginationSimple-listItem" },
|
|
40
|
+
React__default["default"].createElement("button", { className: index.classNames("arc-PaginationSimple-navigationButton", {
|
|
41
|
+
"arc-PaginationSimple-navigationButton--hidden": hideNext
|
|
42
|
+
}), onClick: function () {
|
|
43
|
+
onNextPage();
|
|
44
|
+
} },
|
|
45
|
+
React__default["default"].createElement("span", { className: "arc-PaginationSimple-nextText" }, "Next"),
|
|
46
|
+
React__default["default"].createElement("div", { className: "arc-PaginationSimple-iconContainer arc-PaginationSimple-iconContainer--right" },
|
|
47
|
+
React__default["default"].createElement(Icon.Icon, { color: "brand", size: 32, icon: BtIconChevronRightMid_esm.BtIconChevronRightMid })))))));
|
|
45
48
|
};
|
|
46
49
|
|
|
47
50
|
exports.PaginationSimple = PaginationSimple;
|
|
@@ -18,22 +18,25 @@ var PaginationSimple = function (_a) {
|
|
|
18
18
|
"arc-PaginationSimple--fluid": isFluid,
|
|
19
19
|
"arc-PaginationSimple--centered": !isFluid
|
|
20
20
|
}) }, filterDataAttrs(props)),
|
|
21
|
-
React__default.createElement("
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
21
|
+
React__default.createElement("ul", { className: "arc-PaginationSimple-list" },
|
|
22
|
+
React__default.createElement("li", { className: "arc-PaginationSimple-listItem" },
|
|
23
|
+
React__default.createElement("button", { className: classNames("arc-PaginationSimple-navigationButton", {
|
|
24
|
+
"arc-PaginationSimple-navigationButton--hidden": hidePrev
|
|
25
|
+
}), onClick: function () {
|
|
26
|
+
onPrevPage();
|
|
27
|
+
} },
|
|
28
|
+
React__default.createElement("div", { className: "arc-PaginationSimple-iconContainer arc-PaginationSimple-iconContainer--left" },
|
|
29
|
+
React__default.createElement(Icon, { color: "brand", size: 32, icon: BtIconChevronLeftMid })),
|
|
30
|
+
React__default.createElement("span", { className: "arc-PaginationSimple-prevText" }, "Prev"))),
|
|
31
|
+
React__default.createElement("li", { className: "arc-PaginationSimple-listItem" },
|
|
32
|
+
React__default.createElement("button", { className: classNames("arc-PaginationSimple-navigationButton", {
|
|
33
|
+
"arc-PaginationSimple-navigationButton--hidden": hideNext
|
|
34
|
+
}), onClick: function () {
|
|
35
|
+
onNextPage();
|
|
36
|
+
} },
|
|
37
|
+
React__default.createElement("span", { className: "arc-PaginationSimple-nextText" }, "Next"),
|
|
38
|
+
React__default.createElement("div", { className: "arc-PaginationSimple-iconContainer arc-PaginationSimple-iconContainer--right" },
|
|
39
|
+
React__default.createElement(Icon, { color: "brand", size: 32, icon: BtIconChevronRightMid })))))));
|
|
37
40
|
};
|
|
38
41
|
|
|
39
42
|
export { PaginationSimple };
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var RadioGroup = require('../_shared/cjs/RadioGroup-
|
|
5
|
+
var RadioGroup = require('../_shared/cjs/RadioGroup-1eddf86f.js');
|
|
6
6
|
require('../_shared/cjs/filter-data-attrs-1c9a530c.js');
|
|
7
7
|
require('react');
|
|
8
|
-
require('../_shared/cjs/FormControl-
|
|
8
|
+
require('../_shared/cjs/FormControl-166e0957.js');
|
|
9
9
|
require('../_shared/cjs/index-9947ac13.js');
|
|
10
10
|
require('../_shared/cjs/BtIconAlert.esm-1a0ff9f0.js');
|
|
11
11
|
require('../_shared/cjs/Surface-038db6e1.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { R as RadioGroup } from '../_shared/esm/RadioGroup-
|
|
1
|
+
export { R as RadioGroup } from '../_shared/esm/RadioGroup-238db88d.js';
|
|
2
2
|
import '../_shared/esm/filter-data-attrs-ea8f4ed4.js';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../_shared/esm/FormControl-
|
|
4
|
+
import '../_shared/esm/FormControl-9d4ddfec.js';
|
|
5
5
|
import '../_shared/esm/index-2e73c2e9.js';
|
|
6
6
|
import '../_shared/esm/BtIconAlert.esm-a4608d47.js';
|
|
7
7
|
import '../_shared/esm/Surface-0ca6817d.js';
|