@bitrise/bitkit 9.5.2 → 9.5.3-alpha-src.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.
Files changed (105) hide show
  1. package/package.json +4 -1
  2. package/src/tsconfig.tsbuildinfo +1 -0
  3. package/.browserslistrc +0 -2
  4. package/.editorconfig +0 -4
  5. package/.eslint-tsconfig.json +0 -7
  6. package/.eslintrc.js +0 -28
  7. package/.husky/commit-msg +0 -4
  8. package/.nvmrc +0 -1
  9. package/.storybook/main.js +0 -35
  10. package/.storybook/manager.js +0 -6
  11. package/.storybook/preview.tsx +0 -20
  12. package/.storybook/theme.js +0 -7
  13. package/.stylelintignore +0 -2
  14. package/.stylelintrc +0 -287
  15. package/.svgrrc.js +0 -52
  16. package/.tool-versions +0 -1
  17. package/@types/@bitrise/bitkit.ts +0 -1
  18. package/@types/react-docgen.ts +0 -119
  19. package/CHANGELOG.md +0 -996
  20. package/CONTRIBUTING.md +0 -79
  21. package/FAQ.md +0 -19
  22. package/bitrise.yml +0 -66
  23. package/commitlint.config.js +0 -10
  24. package/jest.setup.js +0 -36
  25. package/netlify.toml +0 -42
  26. package/postcss.config.js +0 -16
  27. package/release.config.js +0 -32
  28. package/renovate.json +0 -6
  29. package/scripts/build-docs-watch.ts +0 -7
  30. package/scripts/build-docs.ts +0 -59
  31. package/site/assets/fonts/TT_Norms_Pro_Bold.woff +0 -0
  32. package/site/assets/fonts/TT_Norms_Pro_Normal.woff +0 -0
  33. package/site/assets/icons/favicon-32x32.png +0 -0
  34. package/site/assets/images/app_icon.jpg +0 -0
  35. package/site/assets/images/status-checks.png +0 -0
  36. package/site/components/CodeBlock/CodeBlock.css +0 -87
  37. package/site/components/CodeBlock/CodeBlock.tsx +0 -35
  38. package/site/components/Documentation/ComponentDocumentationPage.tsx +0 -150
  39. package/site/components/Documentation/Components/SectionAddonBeam.tsx +0 -47
  40. package/site/components/Documentation/Components/SectionAddonBeamSandbox.tsx +0 -32
  41. package/site/components/Documentation/Components/SectionAddonFooter.tsx +0 -22
  42. package/site/components/Documentation/Components/SectionAppear.tsx +0 -59
  43. package/site/components/Documentation/Components/SectionAvatar.tsx +0 -50
  44. package/site/components/Documentation/Components/SectionBadge.tsx +0 -38
  45. package/site/components/Documentation/Components/SectionBase.tsx +0 -17
  46. package/site/components/Documentation/Components/SectionButtons.tsx +0 -361
  47. package/site/components/Documentation/Components/SectionCards.tsx +0 -276
  48. package/site/components/Documentation/Components/SectionCheckbox.tsx +0 -38
  49. package/site/components/Documentation/Components/SectionDatePicker.tsx +0 -82
  50. package/site/components/Documentation/Components/SectionDivider.tsx +0 -31
  51. package/site/components/Documentation/Components/SectionDot.tsx +0 -27
  52. package/site/components/Documentation/Components/SectionDropdowns.tsx +0 -388
  53. package/site/components/Documentation/Components/SectionExpand.tsx +0 -143
  54. package/site/components/Documentation/Components/SectionFlex.tsx +0 -33
  55. package/site/components/Documentation/Components/SectionFormElements.tsx +0 -187
  56. package/site/components/Documentation/Components/SectionGrid.tsx +0 -125
  57. package/site/components/Documentation/Components/SectionHamburger.tsx +0 -34
  58. package/site/components/Documentation/Components/SectionIcons.tsx +0 -30
  59. package/site/components/Documentation/Components/SectionInputs.tsx +0 -89
  60. package/site/components/Documentation/Components/SectionList.tsx +0 -26
  61. package/site/components/Documentation/Components/SectionModals.tsx +0 -224
  62. package/site/components/Documentation/Components/SectionNotification.tsx +0 -38
  63. package/site/components/Documentation/Components/SectionPlacement.tsx +0 -167
  64. package/site/components/Documentation/Components/SectionProgress.tsx +0 -149
  65. package/site/components/Documentation/Components/SectionRadioButton.tsx +0 -38
  66. package/site/components/Documentation/Components/SectionRibbon.tsx +0 -33
  67. package/site/components/Documentation/Components/SectionRibbonSandbox.tsx +0 -17
  68. package/site/components/Documentation/Components/SectionSidebar.tsx +0 -125
  69. package/site/components/Documentation/Components/SectionSkeleton.tsx +0 -99
  70. package/site/components/Documentation/Components/SectionStatus.tsx +0 -53
  71. package/site/components/Documentation/Components/SectionStatusSandbox404.tsx +0 -42
  72. package/site/components/Documentation/Components/SectionStatusSandbox500.tsx +0 -13
  73. package/site/components/Documentation/Components/SectionTable.tsx +0 -83
  74. package/site/components/Documentation/Components/SectionTabs.tsx +0 -25
  75. package/site/components/Documentation/Components/SectionText.tsx +0 -34
  76. package/site/components/Documentation/Components/SectionTextarea.tsx +0 -43
  77. package/site/components/Documentation/Components/SectionToggle.tsx +0 -50
  78. package/site/components/Documentation/Components/SectionTooltips.tsx +0 -50
  79. package/site/components/Documentation/Documentation.tsx +0 -302
  80. package/site/components/Documentation/Materials/SectionColors.css +0 -33
  81. package/site/components/Documentation/Materials/SectionColors.tsx +0 -197
  82. package/site/components/Documentation/Materials/SectionIcons.tsx +0 -106
  83. package/site/components/Documentation/Materials/SectionTypography.tsx +0 -143
  84. package/site/components/Page/Page.tsx +0 -8
  85. package/site/components/Page/PageTitle.tsx +0 -8
  86. package/site/components/PropsTable/PropsTable.tsx +0 -35
  87. package/site/components/PropsTable/PropsTableCellUnion.tsx +0 -29
  88. package/site/components/PropsTable/PropsTableRow.tsx +0 -55
  89. package/site/components/Root/Root.tsx +0 -89
  90. package/site/components/Root/index.tsx +0 -4
  91. package/site/components/Sandbox/Sandbox.tsx +0 -19
  92. package/site/components/Sandbox/SandboxFrame.css +0 -20
  93. package/site/components/Sandbox/SandboxFrame.tsx +0 -77
  94. package/site/components/Section/Section.tsx +0 -8
  95. package/site/components/Section/SectionSubTitle.tsx +0 -8
  96. package/site/components/Section/SectionTitle.tsx +0 -8
  97. package/site/components/SideMenu/SideMenu.css +0 -39
  98. package/site/components/SideMenu/SideMenu.tsx +0 -53
  99. package/site/components/SideMenu/SideMenuItem.tsx +0 -34
  100. package/site/components/Window/Window.tsx +0 -62
  101. package/site/index.css +0 -11
  102. package/site/index.html +0 -16
  103. package/site/index.tsx +0 -16
  104. package/superstatic.json +0 -13
  105. package/tsconfig.json +0 -25
@@ -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
@@ -1,13 +0,0 @@
1
- {
2
- "headers": [{
3
- "source": "**/*.html",
4
- "headers": [{
5
- "key": "Cache-Control",
6
- "value": "no-cache, no-store, must-revalidate"
7
- }]
8
- }],
9
- "rewrites": [{
10
- "source": "/**",
11
- "destination": "/index.html"
12
- }]
13
- }
package/tsconfig.json DELETED
@@ -1,25 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "allowSyntheticDefaultImports": true,
4
- "baseUrl": "./",
5
- "composite": true,
6
- "declaration": true,
7
- "declarationMap": true,
8
- "esModuleInterop": true,
9
- "forceConsistentCasingInFileNames": true,
10
- "jsx": "react-jsx",
11
- "module": "commonjs",
12
- "moduleResolution": "node",
13
- "paths": {
14
- "*": ["@types/*"],
15
- "@bitrise/bitkit": ["src"],
16
- "@/*": ["src/*"]
17
- },
18
- "resolveJsonModule": true,
19
- // https://github.com/chakra-ui/chakra-ui/issues/2955
20
- "skipLibCheck": true,
21
- "sourceMap": true,
22
- "strict": true,
23
- "target": "es5"
24
- }
25
- }