@redocly/theme 0.17.0 → 0.17.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/lib/components/CodeBlock/CodeBlock.d.ts +29 -1
- package/lib/components/CodeBlock/CodeBlock.js +56 -94
- package/lib/components/CodeBlock/CodeBlockContainer.d.ts +3 -0
- package/lib/components/CodeBlock/CodeBlockContainer.js +120 -0
- package/lib/components/CodeBlock/CodeBlockControlButton.d.ts +5 -0
- package/lib/components/CodeBlock/CodeBlockControlButton.js +63 -0
- package/lib/components/CodeBlock/CodeBlockControls.d.ts +33 -0
- package/lib/components/CodeBlock/CodeBlockControls.js +56 -0
- package/lib/components/CodeBlock/index.d.ts +3 -0
- package/lib/components/CodeBlock/index.js +3 -0
- package/lib/components/CopyButton/CopyButton.d.ts +12 -3
- package/lib/components/CopyButton/CopyButton.js +30 -26
- package/lib/components/CopyButton/index.d.ts +0 -1
- package/lib/components/CopyButton/index.js +0 -1
- package/lib/components/Feedback/useReportDialog.d.ts +12 -6
- package/lib/components/Feedback/useReportDialog.js +13 -5
- package/lib/components/JsonViewer/JsonViewer.d.ts +0 -1
- package/lib/components/JsonViewer/JsonViewer.js +100 -119
- package/lib/components/Markdown/MarkdownWrapper.d.ts +5 -1
- package/lib/components/Markdown/MarkdownWrapper.js +59 -53
- package/lib/components/Menu/MobileMenu.js +2 -2
- package/lib/components/Menu/MobileMenuGroup.js +1 -1
- package/lib/components/Panel/PanelHeader.js +0 -1
- package/lib/components/Tooltip/Tooltip.js +2 -0
- package/lib/components/index.d.ts +0 -3
- package/lib/components/index.js +0 -3
- package/lib/config.d.ts +30 -23
- package/lib/config.js +16 -3
- package/lib/globalStyle.js +50 -7
- package/lib/icons/ArrowIcon/ArrowIcon.d.ts +3 -3
- package/lib/icons/ArrowIcon/ArrowIcon.js +33 -6
- package/lib/icons/CollapseIcon/CollapseIcon.d.ts +7 -0
- package/lib/icons/CollapseIcon/CollapseIcon.js +22 -0
- package/lib/icons/CollapseIcon/index.d.ts +1 -0
- package/lib/{components/SourceCode → icons/CollapseIcon}/index.js +1 -1
- package/lib/icons/CopyIcon/CopyIcon.d.ts +7 -0
- package/lib/icons/CopyIcon/CopyIcon.js +17 -0
- package/lib/icons/CopyIcon/index.d.ts +1 -0
- package/lib/{components/CodeSample → icons/CopyIcon}/index.js +1 -1
- package/lib/icons/DeselectIcon/DeselectIcon.d.ts +7 -0
- package/lib/icons/DeselectIcon/DeselectIcon.js +19 -0
- package/lib/icons/DeselectIcon/index.d.ts +1 -0
- package/lib/{components/SamplesPanelControls → icons/DeselectIcon}/index.js +1 -1
- package/lib/icons/ExpandIcon/ExpandIcon.d.ts +5 -6
- package/lib/icons/ExpandIcon/ExpandIcon.js +10 -19
- package/lib/icons/FileIcon/FileIcon.d.ts +7 -0
- package/lib/icons/FileIcon/FileIcon.js +17 -0
- package/lib/icons/FileIcon/index.d.ts +1 -0
- package/lib/icons/FileIcon/index.js +18 -0
- package/lib/icons/ReportIcon/ReportIcon.d.ts +7 -0
- package/lib/icons/ReportIcon/ReportIcon.js +19 -0
- package/lib/icons/ReportIcon/index.d.ts +1 -0
- package/lib/icons/ReportIcon/index.js +18 -0
- package/lib/icons/SelectIcon/SelectIcon.d.ts +7 -0
- package/lib/icons/SelectIcon/SelectIcon.js +19 -0
- package/lib/icons/SelectIcon/index.d.ts +1 -0
- package/lib/icons/SelectIcon/index.js +18 -0
- package/lib/icons/index.d.ts +7 -1
- package/lib/icons/index.js +7 -1
- package/lib/layouts/Forbidden.js +2 -2
- package/lib/utils/highlight.d.ts +1 -0
- package/lib/utils/highlight.js +1 -0
- package/package.json +1 -1
- package/src/components/CodeBlock/CodeBlock.tsx +100 -0
- package/src/components/CodeBlock/{CodeBlock.ts → CodeBlockContainer.tsx} +23 -6
- package/src/components/CodeBlock/CodeBlockControlButton.tsx +38 -0
- package/src/components/CodeBlock/CodeBlockControls.tsx +182 -0
- package/src/components/CodeBlock/index.ts +3 -0
- package/src/components/CopyButton/CopyButton.tsx +71 -19
- package/src/components/CopyButton/index.ts +0 -1
- package/src/components/Feedback/useReportDialog.ts +24 -14
- package/src/components/JsonViewer/JsonViewer.tsx +112 -142
- package/src/components/Markdown/MarkdownWrapper.tsx +65 -54
- package/src/components/Menu/MobileMenu.tsx +3 -3
- package/src/components/Menu/MobileMenuGroup.tsx +4 -2
- package/src/components/Panel/PanelHeader.ts +0 -1
- package/src/components/Tooltip/Tooltip.tsx +2 -0
- package/src/components/index.ts +0 -3
- package/src/config.ts +18 -7
- package/src/globalStyle.ts +50 -7
- package/src/icons/ArrowIcon/ArrowIcon.tsx +37 -14
- package/src/icons/CollapseIcon/CollapseIcon.tsx +40 -0
- package/src/icons/CollapseIcon/index.tsx +1 -0
- package/src/icons/CopyIcon/CopyIcon.tsx +26 -0
- package/src/icons/CopyIcon/index.ts +1 -0
- package/src/icons/DeselectIcon/DeselectIcon.tsx +28 -0
- package/src/icons/DeselectIcon/index.ts +1 -0
- package/src/icons/ExpandIcon/ExpandIcon.tsx +28 -34
- package/src/icons/FileIcon/FileIcon.tsx +29 -0
- package/src/icons/FileIcon/index.ts +1 -0
- package/src/icons/ReportIcon/ReportIcon.tsx +36 -0
- package/src/icons/ReportIcon/index.ts +1 -0
- package/src/icons/SelectIcon/SelectIcon.tsx +31 -0
- package/src/icons/SelectIcon/index.ts +1 -0
- package/src/icons/index.ts +7 -1
- package/src/layouts/Forbidden.tsx +1 -1
- package/src/utils/highlight.ts +1 -0
- package/lib/components/CodeSample/CodeSample.d.ts +0 -10
- package/lib/components/CodeSample/CodeSample.js +0 -226
- package/lib/components/CodeSample/index.d.ts +0 -1
- package/lib/components/CopyButton/CopyButtonWrapper.d.ts +0 -11
- package/lib/components/CopyButton/CopyButtonWrapper.js +0 -53
- package/lib/components/SamplesPanelControls/SamplesPanelControls.d.ts +0 -4
- package/lib/components/SamplesPanelControls/SamplesPanelControls.js +0 -76
- package/lib/components/SamplesPanelControls/index.d.ts +0 -1
- package/lib/components/SourceCode/SourceCode.d.ts +0 -33
- package/lib/components/SourceCode/SourceCode.js +0 -60
- package/lib/components/SourceCode/index.d.ts +0 -1
- package/src/components/CodeSample/CodeSample.tsx +0 -257
- package/src/components/CodeSample/index.ts +0 -1
- package/src/components/CopyButton/CopyButtonWrapper.tsx +0 -55
- package/src/components/SamplesPanelControls/SamplesPanelControls.ts +0 -76
- package/src/components/SamplesPanelControls/index.ts +0 -1
- package/src/components/SourceCode/SourceCode.tsx +0 -128
- package/src/components/SourceCode/index.ts +0 -1
package/lib/globalStyle.js
CHANGED
|
@@ -869,6 +869,41 @@ const apiReferencePanels = (0, styled_components_1.css) `
|
|
|
869
869
|
--panel-samples-heading-background-color: #323f4b; // @presenter Color
|
|
870
870
|
--panel-samples-heading-border: unset; // @presenter Border
|
|
871
871
|
|
|
872
|
+
/**
|
|
873
|
+
* @tokens Panel samples default
|
|
874
|
+
*/
|
|
875
|
+
.panel-samples-default {
|
|
876
|
+
--text-color: var(--panel-samples-text-color);
|
|
877
|
+
--panel-text-color: var(--panel-samples-text-color); // @presenter Color
|
|
878
|
+
--panel-font-family-local: var(--panel-samples-font-family);
|
|
879
|
+
--panel-font-size-local: var(--panel-samples-font-size);
|
|
880
|
+
--panel-font-weight-local: var(--panel-samples-font-weight);
|
|
881
|
+
--panel-background-color: var(--panel-samples-background-color); // @presenter Color
|
|
882
|
+
--panel-border-local: var(--panel-samples-border);
|
|
883
|
+
--panel-border-radius-local: calc(1px + var(--panel-border-radius));
|
|
884
|
+
--panel-chevron-icon-color: var(--panel-samples-chevron-icon-color); // @presenter Color
|
|
885
|
+
|
|
886
|
+
--panel-body-text-color: var(--panel-samples-body-text-color); // @presenter Color
|
|
887
|
+
--panel-body-background-color: var(--panel-samples-body-background-color); // @presenter Color
|
|
888
|
+
|
|
889
|
+
--panel-body-font-family-local: var(--panel-samples-body-font-family);
|
|
890
|
+
--panel-body-font-size-local: var(--panel-samples-body-font-size);
|
|
891
|
+
--panel-body-font-weight-local: var(--panel-samples-body-font-weight);
|
|
892
|
+
--panel-body-padding-local: 0;
|
|
893
|
+
--panel-body-border-local: var(--panel-samples-body-border);
|
|
894
|
+
|
|
895
|
+
--panel-heading-text-color: var(--panel-samples-heading-text-color); // @presenter Color
|
|
896
|
+
--panel-heading-background-color: var(--panel-samples-heading-background-color); // @presenter Color
|
|
897
|
+
|
|
898
|
+
--panel-heading-font-family-local: var(--panel-samples-heading-font-family);
|
|
899
|
+
--panel-heading-font-size-local: var(--panel-samples-heading-font-size);
|
|
900
|
+
--panel-heading-font-weight-local: var(--panel-samples-heading-font-weight);
|
|
901
|
+
--panel-heading-line-height-local: var(--panel-samples-heading-line-height);
|
|
902
|
+
--panel-heading-padding-local: var(--panel-samples-heading-padding);
|
|
903
|
+
|
|
904
|
+
--panel-heading-border: var(--panel-samples-heading-border); // @presenter Border
|
|
905
|
+
}
|
|
906
|
+
|
|
872
907
|
/**
|
|
873
908
|
* @tokens Panel try-it, request-samples, response-samples, callback samples
|
|
874
909
|
*/
|
|
@@ -898,7 +933,7 @@ const apiReferencePanels = (0, styled_components_1.css) `
|
|
|
898
933
|
--panel-body-border-local: var(--panel-samples-body-border);
|
|
899
934
|
|
|
900
935
|
--panel-heading-text-color: var(--panel-samples-heading-text-color); // @presenter Color
|
|
901
|
-
--panel-heading-background-color: var(
|
|
936
|
+
--panel-heading-background-color: var(--panel-samples-heading-background-color); // @presenter Color
|
|
902
937
|
|
|
903
938
|
--panel-heading-font-family-local: var(--panel-samples-heading-font-family);
|
|
904
939
|
--panel-heading-font-size-local: var(--panel-samples-heading-font-size);
|
|
@@ -1113,9 +1148,14 @@ const apiReferencePanels = (0, styled_components_1.css) `
|
|
|
1113
1148
|
* @tokens Panel samples other styles
|
|
1114
1149
|
*/
|
|
1115
1150
|
|
|
1116
|
-
--panel-samples-controls-background-color: var(--panel-samples-heading-background-color);
|
|
1117
|
-
|
|
1151
|
+
--panel-samples-controls-background-color: var(--panel-samples-heading-background-color);
|
|
1152
|
+
|
|
1153
|
+
--panel-samples-icon-controls-background-color: var(--panel-samples-heading-background-color); // @presenter Color
|
|
1154
|
+
--panel-samples-text-controls-background-color: var(--color-secondary-900); // @presenter Color
|
|
1155
|
+
|
|
1156
|
+
--panel-samples-controls-hover-background-color: #606e7b; // @presenter Color
|
|
1118
1157
|
--panel-samples-controls-text-color: var(--text-color-inverse); // @presenter Color
|
|
1158
|
+
--panel-samples-controls-border: 1px solid var(--color-secondary-900); // @presenter Color
|
|
1119
1159
|
|
|
1120
1160
|
--panel-samples-dropdown-background-color: var(--panel-samples-heading-background-color); // @presenter Color
|
|
1121
1161
|
--panel-samples-dropdown-color: var(--text-color-inverse); // @presenter Color
|
|
@@ -1175,6 +1215,7 @@ const code = (0, styled_components_1.css) `
|
|
|
1175
1215
|
--code-font-size: 13px; // @presenter FontSize
|
|
1176
1216
|
--code-font-family: var(--font-family-monospaced); // @presenter FontFamily
|
|
1177
1217
|
--code-font-weight: 400; // @presenter FontWeight
|
|
1218
|
+
--code-line-height: 18px; // @presenter LineHeight
|
|
1178
1219
|
--code-wrap: pre;
|
|
1179
1220
|
--code-word-break: break-word;
|
|
1180
1221
|
|
|
@@ -1196,7 +1237,9 @@ const code = (0, styled_components_1.css) `
|
|
|
1196
1237
|
--code-block-text-color: #fff; // @presenter Color
|
|
1197
1238
|
--code-block-background-color: #323f4b; // @presenter Color
|
|
1198
1239
|
--code-block-border-color: var(--border-color); // @presenter Color
|
|
1199
|
-
--code-block-border-radius: var(--border-radius
|
|
1240
|
+
--code-block-border-radius: var(--border-radius); // @presenter BorderRadius
|
|
1241
|
+
--code-block-padding: calc(var(--spacing-unit) * 2);
|
|
1242
|
+
--code-block-margin: 0;
|
|
1200
1243
|
--code-block-max-height: 50vh;
|
|
1201
1244
|
--code-block-word-break: initial;
|
|
1202
1245
|
|
|
@@ -1633,7 +1676,7 @@ const mobileMenu = (0, styled_components_1.css) `
|
|
|
1633
1676
|
--mobile-menu-item-text-color: #525252;// @presenter Color
|
|
1634
1677
|
--mobile-menu-item-active-color: #FAFAFA; // @presenter Color
|
|
1635
1678
|
--mobile-menu-item-active-text-color: #161616; // @presenter Color
|
|
1636
|
-
|
|
1679
|
+
|
|
1637
1680
|
/**
|
|
1638
1681
|
* @tokens Mobile Menu control button
|
|
1639
1682
|
* */
|
|
@@ -1842,7 +1885,7 @@ const markdown = (0, styled_components_1.css) `
|
|
|
1842
1885
|
/**
|
|
1843
1886
|
* @tokens Markdown Checkbox List
|
|
1844
1887
|
*/
|
|
1845
|
-
|
|
1888
|
+
|
|
1846
1889
|
--md-checkbox-list-item-style: none;
|
|
1847
1890
|
|
|
1848
1891
|
/**
|
|
@@ -2150,7 +2193,7 @@ exports.styles = (0, styled_components_1.css) `
|
|
|
2150
2193
|
:root.notransition * {
|
|
2151
2194
|
transition: none !important;
|
|
2152
2195
|
}
|
|
2153
|
-
|
|
2196
|
+
|
|
2154
2197
|
@media screen and (max-width: ${media_css_1.breakpoints.medium}) {
|
|
2155
2198
|
body.overflow-hidden {
|
|
2156
2199
|
overflow: hidden;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export interface ArrowIconProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
weight?: 'regular' | 'thin';
|
|
3
5
|
direction?: 'up' | 'right' | 'left' | 'down';
|
|
4
6
|
visibility?: 'visible' | 'hidden';
|
|
5
7
|
}
|
|
6
|
-
export declare const ArrowIcon: import("styled-components").StyledComponent<({ className }:
|
|
7
|
-
className?: string | undefined;
|
|
8
|
-
}) => JSX.Element, any, ArrowIconProps, never>;
|
|
8
|
+
export declare const ArrowIcon: import("styled-components").StyledComponent<({ className, weight }: ArrowIconProps) => JSX.Element, any, Pick<ArrowIconProps, "weight">, never>;
|
|
@@ -1,11 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
2
25
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
27
|
};
|
|
5
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
29
|
exports.ArrowIcon = void 0;
|
|
7
30
|
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const styled_components_1 =
|
|
31
|
+
const styled_components_1 = __importStar(require("styled-components"));
|
|
9
32
|
function directionToTransform({ direction }) {
|
|
10
33
|
switch (direction) {
|
|
11
34
|
case 'up':
|
|
@@ -18,12 +41,16 @@ function directionToTransform({ direction }) {
|
|
|
18
41
|
return 0;
|
|
19
42
|
}
|
|
20
43
|
}
|
|
21
|
-
const Icon = ({ className }) => (react_1.default.createElement("span", { "data-component-name": "icons/ArrowIcon/ArrowIcon" },
|
|
22
|
-
react_1.default.createElement("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 7 5", className: className },
|
|
23
|
-
|
|
44
|
+
const Icon = ({ className, weight }) => (react_1.default.createElement("span", { "data-component-name": "icons/ArrowIcon/ArrowIcon" }, weight === 'thin' ? (react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className },
|
|
45
|
+
react_1.default.createElement("path", { d: "M8 11L3 5.99999L3.7 5.29999L8 9.59999L12.3 5.29999L13 5.99999L8 11Z", fill: "inherit" }))) : (react_1.default.createElement("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 7 5", className: className },
|
|
46
|
+
react_1.default.createElement("path", { d: "M3.5 2.51L5.806.205a.7.7 0 01.99.99l-2.8 2.8a.698.698 0 01-.99 0l-2.8-2.8a.7.7 0 11.99-.99L3.5 2.51z" })))));
|
|
24
47
|
exports.ArrowIcon = (0, styled_components_1.default)(Icon) `
|
|
25
|
-
|
|
26
|
-
|
|
48
|
+
${({ weight }) => weight !== 'thin' &&
|
|
49
|
+
(0, styled_components_1.css) `
|
|
50
|
+
width: var(--sidebar-group-item-chevron-size);
|
|
51
|
+
height: var(--sidebar-group-item-chevron-size);
|
|
52
|
+
`}
|
|
53
|
+
|
|
27
54
|
fill: var(--sidebar-group-item-chevron-color);
|
|
28
55
|
transform: rotate(${directionToTransform}deg);
|
|
29
56
|
visibility: ${({ visibility = 'visible' }) => visibility};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CollapseIcon = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const Icon = ({ className, color = 'white' }) => (react_1.default.createElement("svg", { "data-component-name": "icons/CollapseIcon", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className },
|
|
10
|
+
react_1.default.createElement("g", { clipPath: "url(#clip0_906_12165)" },
|
|
11
|
+
react_1.default.createElement("rect", { width: "14", height: "14", fill: "none", style: { mixBlendMode: 'multiply' } }),
|
|
12
|
+
react_1.default.createElement("path", { d: "M1.75 7.875V8.75H4.63138L0.875 12.5046L1.49363 13.125L5.25 9.36862V12.25H6.125V7.875H1.75Z", fill: color }),
|
|
13
|
+
react_1.default.createElement("path", { d: "M13.125 1.4945L12.509 0.875L8.75 4.63138V1.75H7.875V6.125H12.25V5.25H9.36862L13.125 1.4945Z", fill: color })),
|
|
14
|
+
react_1.default.createElement("defs", null,
|
|
15
|
+
react_1.default.createElement("clipPath", { id: "clip0_906_12165" },
|
|
16
|
+
react_1.default.createElement("rect", { width: "14", height: "14", fill: "white" })))));
|
|
17
|
+
exports.CollapseIcon = (0, styled_components_1.default)(Icon) `
|
|
18
|
+
width: 1.3em;
|
|
19
|
+
height: 1.3em;
|
|
20
|
+
vertical-align: middle;
|
|
21
|
+
`;
|
|
22
|
+
//# sourceMappingURL=CollapseIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../icons/CollapseIcon/CollapseIcon';
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../
|
|
17
|
+
__exportStar(require("../../icons/CollapseIcon/CollapseIcon"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CopyIcon = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const Icon = ({ className, color = 'white' }) => (react_1.default.createElement("span", { "data-component-name": "icons/CopyIcon" },
|
|
10
|
+
react_1.default.createElement("svg", { viewBox: "0 0 11 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className },
|
|
11
|
+
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.52083 1.33333C3.52083 1.25279 3.58613 1.1875 3.66667 1.1875H9.5C9.58054 1.1875 9.64583 1.25279 9.64583 1.33333V8.33333C9.64583 8.41387 9.58054 8.47917 9.5 8.47917H7.75H3.66667C3.58613 8.47917 3.52083 8.41387 3.52083 8.33333V3.08333V1.33333ZM2.64583 2.64583V1.33333C2.64583 0.769543 3.10288 0.3125 3.66667 0.3125H9.5C10.0638 0.3125 10.5208 0.769543 10.5208 1.33333V8.33333C10.5208 8.89712 10.0638 9.35417 9.5 9.35417H8.1875V10.6667C8.1875 10.9374 8.07995 11.1971 7.8885 11.3885C7.69706 11.5799 7.43741 11.6875 7.16667 11.6875H1.33333C1.06259 11.6875 0.802939 11.5799 0.611495 11.3885C0.420051 11.1971 0.3125 10.9374 0.3125 10.6667V3.66667C0.3125 3.39592 0.420052 3.13627 0.611495 2.94483C0.802938 2.75339 1.06259 2.64583 1.33333 2.64583H2.64583ZM7.3125 9.35417V10.6667C7.3125 10.7053 7.29713 10.7424 7.26979 10.7698C7.24244 10.7971 7.20534 10.8125 7.16667 10.8125H1.33333C1.29466 10.8125 1.25756 10.7971 1.23021 10.7698C1.20286 10.7424 1.1875 10.7053 1.1875 10.6667V3.66667C1.1875 3.62799 1.20286 3.5909 1.23021 3.56355C1.25756 3.5362 1.29466 3.52083 1.33333 3.52083H2.64583V8.33333C2.64583 8.89712 3.10288 9.35417 3.66667 9.35417H7.3125Z", fill: color }))));
|
|
12
|
+
exports.CopyIcon = (0, styled_components_1.default)(Icon) `
|
|
13
|
+
width: 1.3em;
|
|
14
|
+
height: 1.3em;
|
|
15
|
+
vertical-align: middle;
|
|
16
|
+
`;
|
|
17
|
+
//# sourceMappingURL=CopyIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../icons/CopyIcon/CopyIcon';
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../
|
|
17
|
+
__exportStar(require("../../icons/CopyIcon/CopyIcon"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.DeselectIcon = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const Icon = ({ className, color = 'white' }) => (react_1.default.createElement("svg", { "data-component-name": "icons/DeselectIcon", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className },
|
|
10
|
+
react_1.default.createElement("path", { d: "M14.4966 10.5H9.49658V11.5H14.4966V10.5Z", fill: color }),
|
|
11
|
+
react_1.default.createElement("path", { d: "M10.5 3.64746H1.5V4.64746H10.5V3.64746Z", fill: color }),
|
|
12
|
+
react_1.default.createElement("path", { d: "M10.5 6.64746H1.5V7.64746H10.5V6.64746Z", fill: color }),
|
|
13
|
+
react_1.default.createElement("path", { d: "M7.5 9.64746H1.5V10.6475H7.5V9.64746Z", fill: color })));
|
|
14
|
+
exports.DeselectIcon = (0, styled_components_1.default)(Icon) `
|
|
15
|
+
width: 1.3em;
|
|
16
|
+
height: 1.3em;
|
|
17
|
+
vertical-align: middle;
|
|
18
|
+
`;
|
|
19
|
+
//# sourceMappingURL=DeselectIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../icons/DeselectIcon/DeselectIcon';
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../
|
|
17
|
+
__exportStar(require("../../icons/DeselectIcon/DeselectIcon"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
interface IconProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
color?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const ExpandIcon: import("styled-components").StyledComponent<({ className }: {
|
|
7
|
-
|
|
8
|
-
}) => JSX.Element, any, ArrowIconProps, never>;
|
|
6
|
+
export declare const ExpandIcon: import("styled-components").StyledComponent<({ className, color }: IconProps) => JSX.Element, any, {}, never>;
|
|
7
|
+
export {};
|
|
@@ -6,26 +6,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.ExpandIcon = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
default:
|
|
18
|
-
return 0;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
const Icon = ({ className }) => (react_1.default.createElement("span", { "data-component-name": "icons/ExpandIcon/ExpandIcon" },
|
|
22
|
-
react_1.default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className },
|
|
23
|
-
react_1.default.createElement("path", { d: "M8 11L3 5.99999L3.7 5.29999L8 9.59999L12.3 5.29999L13 5.99999L8 11Z", fill: "inherit" }))));
|
|
9
|
+
const Icon = ({ className, color = 'white' }) => (react_1.default.createElement("svg", { "data-component-name": "icons/ExpandIcon", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className },
|
|
10
|
+
react_1.default.createElement("g", { clipPath: "url(#clip0_906_12129)" },
|
|
11
|
+
react_1.default.createElement("rect", { width: "14", height: "14", fill: "none", style: { mixBlendMode: 'multiply' } }),
|
|
12
|
+
react_1.default.createElement("path", { d: "M8.75 0.875V1.75H11.6314L7.875 5.50462L8.49362 6.125L12.25 2.36863V5.25H13.125V0.875H8.75Z", fill: color }),
|
|
13
|
+
react_1.default.createElement("path", { d: "M6.125 8.4945L5.509 7.875L1.75 11.6314V8.75H0.875V13.125H5.25V12.25H2.36863L6.125 8.4945Z", fill: color })),
|
|
14
|
+
react_1.default.createElement("defs", null,
|
|
15
|
+
react_1.default.createElement("clipPath", { id: "clip0_906_12129" },
|
|
16
|
+
react_1.default.createElement("rect", { width: "14", height: "14", fill: "white" })))));
|
|
24
17
|
exports.ExpandIcon = (0, styled_components_1.default)(Icon) `
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
visibility: ${({ visibility = 'visible' }) => visibility};
|
|
28
|
-
|
|
18
|
+
width: 1.3em;
|
|
19
|
+
height: 1.3em;
|
|
29
20
|
vertical-align: middle;
|
|
30
21
|
`;
|
|
31
22
|
//# sourceMappingURL=ExpandIcon.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.FileIcon = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const Icon = ({ className, color = 'white' }) => (react_1.default.createElement("svg", { "data-component-name": "icons/FileIcon", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className },
|
|
10
|
+
react_1.default.createElement("rect", { width: "14", height: "14", fill: "none", style: { mixBlendMode: 'multiply' } }),
|
|
11
|
+
react_1.default.createElement("path", { d: "M12.85 4.65018L9.35 1.15018C9.30601 1.10132 9.25192 1.0626 9.19149 1.0367C9.13106 1.0108 9.06572 0.998339 9 1.00018H4C3.73502 1.00096 3.48112 1.10656 3.29375 1.29393C3.10638 1.4813 3.00078 1.7352 3 2.00018V14.0002C3.00078 14.2652 3.10638 14.5191 3.29375 14.7064C3.48112 14.8938 3.73502 14.9994 4 15.0002H12C12.265 14.9994 12.5189 14.8938 12.7062 14.7064C12.8936 14.5191 12.9992 14.2652 13 14.0002V5.00018C13.0018 4.93446 12.9894 4.86912 12.9635 4.80869C12.9376 4.74826 12.8989 4.69417 12.85 4.65018ZM9 2.20018L11.8 5.00018H9V2.20018ZM12 14.0002H4V2.00018H8V5.00018C8.00078 5.26515 8.10638 5.51906 8.29375 5.70642C8.48112 5.89379 8.73502 5.9994 9 6.00018H12V14.0002Z", fill: color })));
|
|
12
|
+
exports.FileIcon = (0, styled_components_1.default)(Icon) `
|
|
13
|
+
width: 1.3em;
|
|
14
|
+
height: 1.3em;
|
|
15
|
+
vertical-align: middle;
|
|
16
|
+
`;
|
|
17
|
+
//# sourceMappingURL=FileIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../icons/FileIcon/FileIcon';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("../../icons/FileIcon/FileIcon"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ReportIcon = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const Icon = ({ className, color = 'white' }) => (react_1.default.createElement("svg", { "data-component-name": "icons/ReportIcon", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className },
|
|
10
|
+
react_1.default.createElement("rect", { width: "14", height: "14", fill: "none", style: { mixBlendMode: 'multiply' } }),
|
|
11
|
+
react_1.default.createElement("path", { d: "M7 8.75C6.87021 8.75 6.74333 8.78849 6.63541 8.8606C6.52749 8.93271 6.44337 9.0352 6.3937 9.15511C6.34403 9.27503 6.33104 9.40698 6.35636 9.53428C6.38168 9.66158 6.44418 9.77851 6.53596 9.87029C6.62774 9.96207 6.74467 10.0246 6.87197 10.0499C6.99927 10.0752 7.13122 10.0622 7.25114 10.0125C7.37105 9.96288 7.47354 9.87876 7.54565 9.77084C7.61776 9.66292 7.65625 9.53604 7.65625 9.40625C7.65625 9.2322 7.58711 9.06528 7.46404 8.94221C7.34097 8.81914 7.17405 8.75 7 8.75Z", fill: color, fillOpacity: "1" }),
|
|
12
|
+
react_1.default.createElement("path", { d: "M7.4375 3.9375H6.5625V7.875H7.4375V3.9375Z", fill: "white", fillOpacity: "1" }),
|
|
13
|
+
react_1.default.createElement("path", { d: "M11.375 12.25H2.625C2.39302 12.2497 2.17061 12.1575 2.00658 11.9934C1.84254 11.8294 1.75027 11.607 1.75 11.375V2.625C1.75027 2.39302 1.84254 2.17061 2.00658 2.00658C2.17061 1.84254 2.39302 1.75027 2.625 1.75H11.375C11.607 1.75027 11.8294 1.84254 11.9934 2.00658C12.1575 2.17061 12.2497 2.39302 12.25 2.625V11.375C12.2497 11.607 12.1575 11.8294 11.9934 11.9934C11.8294 12.1575 11.607 12.2497 11.375 12.25ZM2.625 2.625V11.375H11.3755L11.375 2.625H2.625Z", fill: color, fillOpacity: "1" })));
|
|
14
|
+
exports.ReportIcon = (0, styled_components_1.default)(Icon) `
|
|
15
|
+
width: 1.3em;
|
|
16
|
+
height: 1.3em;
|
|
17
|
+
vertical-align: middle;
|
|
18
|
+
`;
|
|
19
|
+
//# sourceMappingURL=ReportIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../icons/ReportIcon/ReportIcon';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("../../icons/ReportIcon/ReportIcon"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SelectIcon = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const Icon = ({ className, color = 'white' }) => (react_1.default.createElement("svg", { "data-component-name": "icons/SelectIcon", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className },
|
|
10
|
+
react_1.default.createElement("path", { d: "M10.5 3.64746H1.5V4.64746H10.5V3.64746Z", fill: color }),
|
|
11
|
+
react_1.default.createElement("path", { d: "M10.5 6.64746H1.5V7.64746H10.5V6.64746Z", fill: color }),
|
|
12
|
+
react_1.default.createElement("path", { d: "M7.5 9.64746H1.5V10.6475H7.5V9.64746Z", fill: color }),
|
|
13
|
+
react_1.default.createElement("path", { d: "M10.5 10.9425L9.205 9.64746L8.5 10.3525L10.5 12.3525L14.5 8.35246L13.795 7.64746L10.5 10.9425Z", fill: color })));
|
|
14
|
+
exports.SelectIcon = (0, styled_components_1.default)(Icon) `
|
|
15
|
+
width: 1.3em;
|
|
16
|
+
height: 1.3em;
|
|
17
|
+
vertical-align: middle;
|
|
18
|
+
`;
|
|
19
|
+
//# sourceMappingURL=SelectIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../icons/SelectIcon/SelectIcon';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("../../icons/SelectIcon/SelectIcon"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
package/lib/icons/index.d.ts
CHANGED
|
@@ -5,7 +5,13 @@ export * from '../icons/ColorModeIcon';
|
|
|
5
5
|
export * from '../icons/AnchorIcon';
|
|
6
6
|
export * from '../icons/ExternalIcon';
|
|
7
7
|
export * from '../icons/SpinnerIcon';
|
|
8
|
+
export * from '../icons/CollapseIcon';
|
|
9
|
+
export * from '../icons/CopyIcon';
|
|
10
|
+
export * from '../icons/DeselectIcon';
|
|
11
|
+
export * from '../icons/ExpandIcon';
|
|
12
|
+
export * from '../icons/FileIcon';
|
|
13
|
+
export * from '../icons/ReportIcon';
|
|
14
|
+
export * from '../icons/SelectIcon';
|
|
8
15
|
export * from '../icons/BurgerIcon';
|
|
9
16
|
export * from '../icons/CloseIcon';
|
|
10
17
|
export * from '../icons/LogoutIcon';
|
|
11
|
-
export * from '../icons/ExpandIcon';
|
package/lib/icons/index.js
CHANGED
|
@@ -21,8 +21,14 @@ __exportStar(require("../icons/ColorModeIcon"), exports);
|
|
|
21
21
|
__exportStar(require("../icons/AnchorIcon"), exports);
|
|
22
22
|
__exportStar(require("../icons/ExternalIcon"), exports);
|
|
23
23
|
__exportStar(require("../icons/SpinnerIcon"), exports);
|
|
24
|
+
__exportStar(require("../icons/CollapseIcon"), exports);
|
|
25
|
+
__exportStar(require("../icons/CopyIcon"), exports);
|
|
26
|
+
__exportStar(require("../icons/DeselectIcon"), exports);
|
|
27
|
+
__exportStar(require("../icons/ExpandIcon"), exports);
|
|
28
|
+
__exportStar(require("../icons/FileIcon"), exports);
|
|
29
|
+
__exportStar(require("../icons/ReportIcon"), exports);
|
|
30
|
+
__exportStar(require("../icons/SelectIcon"), exports);
|
|
24
31
|
__exportStar(require("../icons/BurgerIcon"), exports);
|
|
25
32
|
__exportStar(require("../icons/CloseIcon"), exports);
|
|
26
33
|
__exportStar(require("../icons/LogoutIcon"), exports);
|
|
27
|
-
__exportStar(require("../icons/ExpandIcon"), exports);
|
|
28
34
|
//# sourceMappingURL=index.js.map
|
package/lib/layouts/Forbidden.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.Forbidden = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
-
const
|
|
9
|
+
const Button_1 = require("../components/Button");
|
|
10
10
|
const hooks_1 = require("../mocks/hooks");
|
|
11
11
|
function Forbidden() {
|
|
12
12
|
const { translate } = (0, hooks_1.useTranslate)();
|
|
@@ -39,7 +39,7 @@ const Description = styled_components_1.default.div `
|
|
|
39
39
|
line-height: var(--page-403-description-line-height);
|
|
40
40
|
font-weight: var(--page-403-description-font-weight);
|
|
41
41
|
`;
|
|
42
|
-
const HomeButton = (0, styled_components_1.default)(
|
|
42
|
+
const HomeButton = (0, styled_components_1.default)(Button_1.Button) `
|
|
43
43
|
margin-top: var(--page-403-button-margin);
|
|
44
44
|
`;
|
|
45
45
|
//# sourceMappingURL=Forbidden.js.map
|
package/lib/utils/highlight.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import 'prismjs/components/prism-go.js';
|
|
|
8
8
|
import 'prismjs/components/prism-http.js';
|
|
9
9
|
import 'prismjs/components/prism-java.js';
|
|
10
10
|
import 'prismjs/components/prism-lua.js';
|
|
11
|
+
import 'prismjs/components/prism-markdown.js';
|
|
11
12
|
import 'prismjs/components/prism-markup-templating.js';
|
|
12
13
|
import 'prismjs/components/prism-markup.js';
|
|
13
14
|
import 'prismjs/components/prism-objectivec.js';
|
package/lib/utils/highlight.js
CHANGED
|
@@ -35,6 +35,7 @@ require("prismjs/components/prism-go.js");
|
|
|
35
35
|
require("prismjs/components/prism-http.js");
|
|
36
36
|
require("prismjs/components/prism-java.js");
|
|
37
37
|
require("prismjs/components/prism-lua.js");
|
|
38
|
+
require("prismjs/components/prism-markdown.js");
|
|
38
39
|
require("prismjs/components/prism-markup-templating.js"); // dep of php
|
|
39
40
|
require("prismjs/components/prism-markup.js"); // xml
|
|
40
41
|
require("prismjs/components/prism-objectivec.js");
|