@bitrise/bitkit 9.5.2 → 9.5.4-alpha-chakra.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/package.json +5 -1
- package/src/tsconfig.tsbuildinfo +1 -0
- package/src/variables.css +2 -3
- package/.browserslistrc +0 -2
- package/.editorconfig +0 -4
- package/.eslint-tsconfig.json +0 -7
- package/.eslintrc.js +0 -28
- package/.husky/commit-msg +0 -4
- package/.nvmrc +0 -1
- package/.storybook/main.js +0 -35
- package/.storybook/manager.js +0 -6
- package/.storybook/preview.tsx +0 -20
- package/.storybook/theme.js +0 -7
- package/.stylelintignore +0 -2
- package/.stylelintrc +0 -287
- package/.svgrrc.js +0 -52
- package/.tool-versions +0 -1
- package/@types/@bitrise/bitkit.ts +0 -1
- package/@types/react-docgen.ts +0 -119
- package/CHANGELOG.md +0 -996
- package/CONTRIBUTING.md +0 -79
- package/FAQ.md +0 -19
- package/bitrise.yml +0 -66
- package/commitlint.config.js +0 -10
- package/jest.setup.js +0 -36
- package/netlify.toml +0 -42
- package/postcss.config.js +0 -16
- package/release.config.js +0 -32
- package/renovate.json +0 -6
- package/scripts/build-docs-watch.ts +0 -7
- package/scripts/build-docs.ts +0 -59
- package/site/assets/fonts/TT_Norms_Pro_Bold.woff +0 -0
- package/site/assets/fonts/TT_Norms_Pro_Normal.woff +0 -0
- package/site/assets/icons/favicon-32x32.png +0 -0
- package/site/assets/images/app_icon.jpg +0 -0
- package/site/assets/images/status-checks.png +0 -0
- package/site/components/CodeBlock/CodeBlock.css +0 -87
- package/site/components/CodeBlock/CodeBlock.tsx +0 -35
- package/site/components/Documentation/ComponentDocumentationPage.tsx +0 -150
- package/site/components/Documentation/Components/SectionAddonBeam.tsx +0 -47
- package/site/components/Documentation/Components/SectionAddonBeamSandbox.tsx +0 -32
- package/site/components/Documentation/Components/SectionAddonFooter.tsx +0 -22
- package/site/components/Documentation/Components/SectionAppear.tsx +0 -59
- package/site/components/Documentation/Components/SectionAvatar.tsx +0 -50
- package/site/components/Documentation/Components/SectionBadge.tsx +0 -38
- package/site/components/Documentation/Components/SectionBase.tsx +0 -17
- package/site/components/Documentation/Components/SectionButtons.tsx +0 -361
- package/site/components/Documentation/Components/SectionCards.tsx +0 -276
- package/site/components/Documentation/Components/SectionCheckbox.tsx +0 -38
- package/site/components/Documentation/Components/SectionDatePicker.tsx +0 -82
- package/site/components/Documentation/Components/SectionDivider.tsx +0 -31
- package/site/components/Documentation/Components/SectionDot.tsx +0 -27
- package/site/components/Documentation/Components/SectionDropdowns.tsx +0 -388
- package/site/components/Documentation/Components/SectionExpand.tsx +0 -143
- package/site/components/Documentation/Components/SectionFlex.tsx +0 -33
- package/site/components/Documentation/Components/SectionFormElements.tsx +0 -187
- package/site/components/Documentation/Components/SectionGrid.tsx +0 -125
- package/site/components/Documentation/Components/SectionHamburger.tsx +0 -34
- package/site/components/Documentation/Components/SectionIcons.tsx +0 -30
- package/site/components/Documentation/Components/SectionInputs.tsx +0 -89
- package/site/components/Documentation/Components/SectionList.tsx +0 -26
- package/site/components/Documentation/Components/SectionModals.tsx +0 -224
- package/site/components/Documentation/Components/SectionNotification.tsx +0 -38
- package/site/components/Documentation/Components/SectionPlacement.tsx +0 -167
- package/site/components/Documentation/Components/SectionProgress.tsx +0 -149
- package/site/components/Documentation/Components/SectionRadioButton.tsx +0 -38
- package/site/components/Documentation/Components/SectionRibbon.tsx +0 -33
- package/site/components/Documentation/Components/SectionRibbonSandbox.tsx +0 -17
- package/site/components/Documentation/Components/SectionSidebar.tsx +0 -125
- package/site/components/Documentation/Components/SectionSkeleton.tsx +0 -99
- package/site/components/Documentation/Components/SectionStatus.tsx +0 -53
- package/site/components/Documentation/Components/SectionStatusSandbox404.tsx +0 -42
- package/site/components/Documentation/Components/SectionStatusSandbox500.tsx +0 -13
- package/site/components/Documentation/Components/SectionTable.tsx +0 -83
- package/site/components/Documentation/Components/SectionTabs.tsx +0 -25
- package/site/components/Documentation/Components/SectionText.tsx +0 -34
- package/site/components/Documentation/Components/SectionTextarea.tsx +0 -43
- package/site/components/Documentation/Components/SectionToggle.tsx +0 -50
- package/site/components/Documentation/Components/SectionTooltips.tsx +0 -50
- package/site/components/Documentation/Documentation.tsx +0 -302
- package/site/components/Documentation/Materials/SectionColors.css +0 -33
- package/site/components/Documentation/Materials/SectionColors.tsx +0 -197
- package/site/components/Documentation/Materials/SectionIcons.tsx +0 -106
- package/site/components/Documentation/Materials/SectionTypography.tsx +0 -143
- package/site/components/Page/Page.tsx +0 -8
- package/site/components/Page/PageTitle.tsx +0 -8
- package/site/components/PropsTable/PropsTable.tsx +0 -35
- package/site/components/PropsTable/PropsTableCellUnion.tsx +0 -29
- package/site/components/PropsTable/PropsTableRow.tsx +0 -55
- package/site/components/Root/Root.tsx +0 -89
- package/site/components/Root/index.tsx +0 -4
- package/site/components/Sandbox/Sandbox.tsx +0 -19
- package/site/components/Sandbox/SandboxFrame.css +0 -20
- package/site/components/Sandbox/SandboxFrame.tsx +0 -77
- package/site/components/Section/Section.tsx +0 -8
- package/site/components/Section/SectionSubTitle.tsx +0 -8
- package/site/components/Section/SectionTitle.tsx +0 -8
- package/site/components/SideMenu/SideMenu.css +0 -39
- package/site/components/SideMenu/SideMenu.tsx +0 -53
- package/site/components/SideMenu/SideMenuItem.tsx +0 -34
- package/site/components/Window/Window.tsx +0 -62
- package/site/index.css +0 -11
- package/site/index.html +0 -16
- package/site/index.tsx +0 -16
- package/superstatic.json +0 -13
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import fscreen from 'fscreen';
|
|
3
|
-
import { Divider, Dot, Flex, FlexProps, Icon, Link, Text } from '@bitrise/bitkit';
|
|
4
|
-
|
|
5
|
-
const { useRef } = React;
|
|
6
|
-
|
|
7
|
-
interface Props extends FlexProps {
|
|
8
|
-
title: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
const Window: React.FunctionComponent<Props> = (props: Props) => {
|
|
12
|
-
const { children, title, ...rest } = props;
|
|
13
|
-
const refFullscreen = useRef();
|
|
14
|
-
|
|
15
|
-
const handleOnFullscreen = () => {
|
|
16
|
-
if (fscreen.fullscreenElement) {
|
|
17
|
-
fscreen.exitFullscreen();
|
|
18
|
-
} else {
|
|
19
|
-
fscreen.requestFullscreen(refFullscreen.current);
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
return (
|
|
24
|
-
<Flex {...rest} borderRadius="x2" direction="vertical" innerRef={refFullscreen} overflow="hidden">
|
|
25
|
-
<Flex alignChildrenVertical="middle" direction="horizontal" gap="x4" paddingHorizontal="x4" paddingVertical="x3">
|
|
26
|
-
<Flex alignChildrenVertical="middle" direction="horizontal" gap="x2">
|
|
27
|
-
<Flex>
|
|
28
|
-
<Dot backgroundColor="red-3" size="0.5rem" />
|
|
29
|
-
</Flex>
|
|
30
|
-
|
|
31
|
-
<Flex>
|
|
32
|
-
<Dot backgroundColor="yellow-3" size="0.5rem" />
|
|
33
|
-
</Flex>
|
|
34
|
-
|
|
35
|
-
<Flex>
|
|
36
|
-
<Dot backgroundColor="green-3" size="0.5rem" />
|
|
37
|
-
</Flex>
|
|
38
|
-
</Flex>
|
|
39
|
-
|
|
40
|
-
<Flex grow initial="none">
|
|
41
|
-
<Text ellipsis size="2">
|
|
42
|
-
{title}
|
|
43
|
-
</Text>
|
|
44
|
-
</Flex>
|
|
45
|
-
|
|
46
|
-
<Flex>
|
|
47
|
-
<Link onClick={handleOnFullscreen}>
|
|
48
|
-
<Icon name="Fullscreen" size="1rem" />
|
|
49
|
-
</Link>
|
|
50
|
-
</Flex>
|
|
51
|
-
</Flex>
|
|
52
|
-
|
|
53
|
-
<Divider color="gray-2" direction="horizontal" elevation="x2" width="0.0625rem" />
|
|
54
|
-
|
|
55
|
-
<Flex direction="vertical" grow>
|
|
56
|
-
{children}
|
|
57
|
-
</Flex>
|
|
58
|
-
</Flex>
|
|
59
|
-
);
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
export default Window;
|
package/site/index.css
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: 'TT Norms Pro';
|
|
3
|
-
font-weight: 400; /* Normal */
|
|
4
|
-
src: url('./assets/fonts/TT_Norms_Pro_Normal.woff') format('woff');
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
@font-face {
|
|
8
|
-
font-family: 'TT Norms Pro';
|
|
9
|
-
font-weight: 700; /* Bold */
|
|
10
|
-
src: url('./assets/fonts/TT_Norms_Pro_Bold.woff') format('woff');
|
|
11
|
-
}
|
package/site/index.html
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en-us">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charSet="utf-8" />
|
|
5
|
-
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
|
|
6
|
-
<meta content="width=device-width,initial-scale=1" name="viewport">
|
|
7
|
-
<title>Bitkit legacy</title>
|
|
8
|
-
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,600&display=swap" rel="stylesheet">
|
|
9
|
-
<link rel="shortcut icon" href="./assets/icons/favicon-32x32.png">
|
|
10
|
-
<link rel="icon" type="image/png" href="./assets/icons/favicon-32x32.png">
|
|
11
|
-
</head>
|
|
12
|
-
<body>
|
|
13
|
-
<div id="Root"></div>
|
|
14
|
-
<script src="./index.tsx"></script>
|
|
15
|
-
</body>
|
|
16
|
-
</html>
|
package/site/index.tsx
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { render } from 'react-dom';
|
|
3
|
-
import { BrowserRouter, Route, Switch } from 'react-router-dom';
|
|
4
|
-
import Sandbox from './components/Sandbox/Sandbox';
|
|
5
|
-
import Root from './components/Root';
|
|
6
|
-
import './index.css';
|
|
7
|
-
|
|
8
|
-
render(
|
|
9
|
-
<BrowserRouter>
|
|
10
|
-
<Switch>
|
|
11
|
-
<Route component={Sandbox} path="/sandbox" />
|
|
12
|
-
<Route component={Root} path="/" />
|
|
13
|
-
</Switch>
|
|
14
|
-
</BrowserRouter>,
|
|
15
|
-
document.getElementById('Root'),
|
|
16
|
-
);
|
package/superstatic.json
DELETED