@xyd-js/storybook 0.0.0-build
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/.storybook/main.ts +40 -0
- package/.storybook/manager-head.html +6 -0
- package/.storybook/manager.ts +18 -0
- package/.storybook/preview.ts +40 -0
- package/.storybook/styles.css +5 -0
- package/.storybook/theme.ts +34 -0
- package/CHANGELOG.md +16 -0
- package/LICENSE +21 -0
- package/README.md +50 -0
- package/eslint.config.js +28 -0
- package/package.json +61 -0
- package/public/logo.svg +10 -0
- package/src/__fixtures__/Icons.tsx +83 -0
- package/src/__fixtures__/atlas-index/package-index.mdx +194 -0
- package/src/__fixtures__/atlas-index/wip1.mdx +131 -0
- package/src/__fixtures__/atlas-index.mdx +53 -0
- package/src/__fixtures__/code-sample.mdx +15 -0
- package/src/__fixtures__/example-source-uniform.ts +41 -0
- package/src/__fixtures__/hello-world.mdx +116 -0
- package/src/components/DemoDocs.tsx +235 -0
- package/src/components/logo.tsx +37 -0
- package/src/decorators/DocsTemplate.tsx +101 -0
- package/src/docs/atlas/Atlas.stories.tsx +51 -0
- package/src/docs/atlas/todo-app.uniform.json +625 -0
- package/src/docs/atlas/uniform-to-references.ts +101 -0
- package/src/docs/components/coder/CodeSample.stories.tsx +29 -0
- package/src/docs/components/pages/PageBlogHome.stories.tsx +52 -0
- package/src/docs/components/pages/PageFirstSlide.stories.tsx +124 -0
- package/src/docs/components/pages/PageHome.stories.tsx +127 -0
- package/src/docs/components/system/Baseline.stories.tsx +126 -0
- package/src/docs/components/writer/Badge.stories.tsx +132 -0
- package/src/docs/components/writer/Banner.stories.tsx +394 -0
- package/src/docs/components/writer/Blockquote.stories.tsx +415 -0
- package/src/docs/components/writer/Breadcrumbs.stories.tsx +282 -0
- package/src/docs/components/writer/Button.stories.tsx +405 -0
- package/src/docs/components/writer/Callout.stories.tsx +183 -0
- package/src/docs/components/writer/Card.stories.tsx +457 -0
- package/src/docs/components/writer/ColorSchemeButton.stories.tsx +322 -0
- package/src/docs/components/writer/Details.stories.tsx +333 -0
- package/src/docs/components/writer/GuideCard.stories.tsx +384 -0
- package/src/docs/components/writer/Heading.stories.tsx +379 -0
- package/src/docs/components/writer/Hr.stories.tsx +325 -0
- package/src/docs/components/writer/IconSocial.stories.tsx +591 -0
- package/src/docs/components/writer/Image.stories.tsx +430 -0
- package/src/docs/components/writer/List.stories.tsx +479 -0
- package/src/docs/components/writer/NavLinks.stories.tsx +380 -0
- package/src/docs/components/writer/Pre.stories.tsx +23 -0
- package/src/docs/components/writer/Steps.stories.tsx +914 -0
- package/src/docs/components/writer/Table.stories.tsx +608 -0
- package/src/docs/components/writer/Tabs.stories.tsx +760 -0
- package/src/docs/components/writer/TocCard.stories.tsx +407 -0
- package/src/docs/components/writer/Update.stories.tsx +457 -0
- package/src/docs/components/writer/VideoGuide.stories.tsx +17 -0
- package/src/docs/templates/CodeSample.stories.tsx +15 -0
- package/src/docs/themes/TODO.md +1 -0
- package/src/docs/themes/logo.tsx +37 -0
- package/src/docs/themes/themes.stories.tsx +269 -0
- package/src/docs/ui/Nav.stories.tsx +58 -0
- package/src/docs/ui/Sidebar.stories.tsx +167 -0
- package/src/docs/ui/SubNav.stories.tsx +29 -0
- package/src/utils/mdx.ts +31 -0
- package/tsconfig.json +39 -0
- package/vite.config.ts +8 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { join, dirname } from "path";
|
|
2
|
+
|
|
3
|
+
import React from "react";
|
|
4
|
+
import type { StorybookConfig } from "@storybook/react-vite";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* This function is used to resolve the absolute path of a package.
|
|
8
|
+
* It is needed in projects that use Yarn PnP or are set up within a monorepo.
|
|
9
|
+
*/
|
|
10
|
+
function getAbsolutePath(value: string): any {
|
|
11
|
+
return dirname(require.resolve(join(value, "package.json")));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
const config: StorybookConfig = {
|
|
16
|
+
stories: ["../src/docs/**/*.mdx", "../src/docs/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
|
|
17
|
+
addons: [
|
|
18
|
+
getAbsolutePath("@storybook/addon-essentials"),
|
|
19
|
+
getAbsolutePath("@storybook/addon-storysource"),
|
|
20
|
+
{
|
|
21
|
+
name: '@storybook/addon-docs',
|
|
22
|
+
options: {
|
|
23
|
+
mdxPluginOptions: {
|
|
24
|
+
mdxCompileOptions: {
|
|
25
|
+
remarkPlugins: [
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
framework: {
|
|
33
|
+
name: getAbsolutePath("@storybook/react-vite"),
|
|
34
|
+
options: {},
|
|
35
|
+
},
|
|
36
|
+
features: {
|
|
37
|
+
experimentalRSC: true,
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
export default config;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// .storybook/manager.ts
|
|
2
|
+
import { addons } from '@storybook/manager-api';
|
|
3
|
+
import theme from './theme';
|
|
4
|
+
|
|
5
|
+
addons.setConfig({
|
|
6
|
+
// where to show the addon panel: 'bottom' (default) or 'right'
|
|
7
|
+
panelPosition: 'right',
|
|
8
|
+
// you can also tweak its size if you like:
|
|
9
|
+
bottomPanelHeight: 200, // height in px when bottom
|
|
10
|
+
rightPanelWidth: 300, // width in px when right
|
|
11
|
+
// (and any other UI settings you need)
|
|
12
|
+
|
|
13
|
+
selectedPanel: 'storybookjs/storysource/panel',
|
|
14
|
+
navSize: 230,
|
|
15
|
+
|
|
16
|
+
// Apply custom theme
|
|
17
|
+
theme,
|
|
18
|
+
});
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type {Preview} from "@storybook/react";
|
|
2
|
+
|
|
3
|
+
// import "@xyd-js/theme-poetry/index.css" // TODO: in the future configurable themes via UI?
|
|
4
|
+
// import "@xyd-js/theme-gusto/index.css" // TODO: in the future configurable themes via UI?
|
|
5
|
+
// import "@xyd-js/theme-opener/index.css" // TODO: in the future configurable themes via UI?
|
|
6
|
+
import "@xyd-js/theme-solar/index.css" // TODO: in the future configurable themes via UI?
|
|
7
|
+
|
|
8
|
+
import './styles.css'
|
|
9
|
+
|
|
10
|
+
const preview: Preview = {
|
|
11
|
+
parameters: {
|
|
12
|
+
options: {
|
|
13
|
+
storySort: {
|
|
14
|
+
order: [
|
|
15
|
+
'Components', ['Writer', 'Coder'],
|
|
16
|
+
'Atlas',
|
|
17
|
+
'UI',
|
|
18
|
+
'Layouts',
|
|
19
|
+
'Themes', ['Default', 'Design System'],
|
|
20
|
+
], // TODO: nested sorting
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
controls: {
|
|
24
|
+
matchers: {
|
|
25
|
+
color: /(background|color)$/i,
|
|
26
|
+
date: /Date$/i,
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
// Source addon configuration
|
|
30
|
+
docs: {
|
|
31
|
+
source: {
|
|
32
|
+
state: 'open', // 'open' | 'closed' | 'none'
|
|
33
|
+
type: 'auto', // 'auto' | 'code' | 'dynamic'
|
|
34
|
+
excludeDecorators: true,
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export default preview;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { create } from '@storybook/theming/create';
|
|
2
|
+
|
|
3
|
+
export default create({
|
|
4
|
+
base: 'light',
|
|
5
|
+
brandTitle: 'XYD Storybook',
|
|
6
|
+
brandUrl: 'https://github.com/xyd-js/xyd',
|
|
7
|
+
brandImage: '/logo.svg',
|
|
8
|
+
brandTarget: '_self',
|
|
9
|
+
|
|
10
|
+
// Color palette
|
|
11
|
+
// colorPrimary: '#3f51b5',
|
|
12
|
+
// colorSecondary: '#f50057',
|
|
13
|
+
|
|
14
|
+
// UI
|
|
15
|
+
// appBg: '#1a1a1a',
|
|
16
|
+
// appContentBg: '#2a2a2a',
|
|
17
|
+
// appBorderColor: '#404040',
|
|
18
|
+
// appBorderRadius: 4,
|
|
19
|
+
|
|
20
|
+
// Text colors
|
|
21
|
+
// textColor: '#ffffff',
|
|
22
|
+
// textInverseColor: '#000000',
|
|
23
|
+
|
|
24
|
+
// Toolbar default and active colors
|
|
25
|
+
// barTextColor: '#ffffff',
|
|
26
|
+
// barSelectedColor: '#3f51b5',
|
|
27
|
+
// barBg: '#2a2a2a',
|
|
28
|
+
|
|
29
|
+
// Form colors
|
|
30
|
+
// inputBg: '#3a3a3a',
|
|
31
|
+
// inputBorder: '#404040',
|
|
32
|
+
// inputTextColor: '#ffffff',
|
|
33
|
+
// inputBorderRadius: 4,
|
|
34
|
+
});
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# @xyd-js/storybook
|
|
2
|
+
|
|
3
|
+
## 0.0.0-build+6952c2c-20250813013245
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- update all packages
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @xyd-js/atlas@0.0.0-build+6952c2c-20250813013245
|
|
10
|
+
- @xyd-js/components@0.0.0-build+6952c2c-20250813013245
|
|
11
|
+
- @xyd-js/content@0.0.0-build+6952c2c-20250813013245
|
|
12
|
+
- @xyd-js/theme-cosmo@0.0.0-build+6952c2c-20250813013245
|
|
13
|
+
- @xyd-js/theme-opener@0.0.0-build+6952c2c-20250813013245
|
|
14
|
+
- @xyd-js/theme-picasso@0.0.0-build+6952c2c-20250813013245
|
|
15
|
+
- @xyd-js/theme-poetry@0.0.0-build+6952c2c-20250813013245
|
|
16
|
+
- @xyd-js/ui@0.0.0-build+6952c2c-20250813013245
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 xyd
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# React + TypeScript + Vite
|
|
2
|
+
|
|
3
|
+
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
|
4
|
+
|
|
5
|
+
Currently, two official plugins are available:
|
|
6
|
+
|
|
7
|
+
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
|
|
8
|
+
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
|
9
|
+
|
|
10
|
+
## Expanding the ESLint configuration
|
|
11
|
+
|
|
12
|
+
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
|
|
13
|
+
|
|
14
|
+
- Configure the top-level `parserOptions` property like this:
|
|
15
|
+
|
|
16
|
+
```js
|
|
17
|
+
export default tseslint.config({
|
|
18
|
+
languageOptions: {
|
|
19
|
+
// other options...
|
|
20
|
+
parserOptions: {
|
|
21
|
+
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
22
|
+
tsconfigRootDir: import.meta.dirname,
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
})
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
- Replace `tseslint.configs.recommended` to `tseslint.configs.recommendedTypeChecked` or `tseslint.configs.strictTypeChecked`
|
|
29
|
+
- Optionally add `...tseslint.configs.stylisticTypeChecked`
|
|
30
|
+
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and update the config:
|
|
31
|
+
|
|
32
|
+
```js
|
|
33
|
+
// eslint.config.js
|
|
34
|
+
import react from 'eslint-plugin-react'
|
|
35
|
+
|
|
36
|
+
export default tseslint.config({
|
|
37
|
+
// Set the react version
|
|
38
|
+
settings: { react: { version: '18.3' } },
|
|
39
|
+
plugins: {
|
|
40
|
+
// Add the react plugin
|
|
41
|
+
react,
|
|
42
|
+
},
|
|
43
|
+
rules: {
|
|
44
|
+
// other rules...
|
|
45
|
+
// Enable its recommended rules
|
|
46
|
+
...react.configs.recommended.rules,
|
|
47
|
+
...react.configs['jsx-runtime'].rules,
|
|
48
|
+
},
|
|
49
|
+
})
|
|
50
|
+
```
|
package/eslint.config.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import js from '@eslint/js'
|
|
2
|
+
import globals from 'globals'
|
|
3
|
+
import reactHooks from 'eslint-plugin-react-hooks'
|
|
4
|
+
import reactRefresh from 'eslint-plugin-react-refresh'
|
|
5
|
+
import tseslint from 'typescript-eslint'
|
|
6
|
+
|
|
7
|
+
export default tseslint.config(
|
|
8
|
+
{ ignores: ['dist'] },
|
|
9
|
+
{
|
|
10
|
+
extends: [js.configs.recommended, ...tseslint.configs.recommended],
|
|
11
|
+
files: ['**/*.{ts,tsx}'],
|
|
12
|
+
languageOptions: {
|
|
13
|
+
ecmaVersion: 2020,
|
|
14
|
+
globals: globals.browser,
|
|
15
|
+
},
|
|
16
|
+
plugins: {
|
|
17
|
+
'react-hooks': reactHooks,
|
|
18
|
+
'react-refresh': reactRefresh,
|
|
19
|
+
},
|
|
20
|
+
rules: {
|
|
21
|
+
...reactHooks.configs.recommended.rules,
|
|
22
|
+
'react-refresh/only-export-components': [
|
|
23
|
+
'warn',
|
|
24
|
+
{ allowConstantExport: true },
|
|
25
|
+
],
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
)
|
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@xyd-js/storybook",
|
|
3
|
+
"version": "0.0.0-build+6952c2c-20250813013245",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"dependencies": {
|
|
6
|
+
"@storybook/addon-storysource": "^8.6.14",
|
|
7
|
+
"downloadjs": "^1.4.7",
|
|
8
|
+
"html-to-image": "^1.11.13",
|
|
9
|
+
"lucide-react": "^0.447.0",
|
|
10
|
+
"react": "^19.1.0",
|
|
11
|
+
"react-dom": "^19.1.0",
|
|
12
|
+
"@xyd-js/atlas": "0.0.0-build+6952c2c-20250813013245",
|
|
13
|
+
"@xyd-js/components": "0.0.0-build+6952c2c-20250813013245",
|
|
14
|
+
"@xyd-js/content": "0.0.0-build+6952c2c-20250813013245",
|
|
15
|
+
"@xyd-js/theme-cosmo": "0.0.0-build+6952c2c-20250813013245",
|
|
16
|
+
"@xyd-js/theme-opener": "0.0.0-build+6952c2c-20250813013245",
|
|
17
|
+
"@xyd-js/theme-picasso": "0.0.0-build+6952c2c-20250813013245",
|
|
18
|
+
"@xyd-js/theme-poetry": "0.0.0-build+6952c2c-20250813013245",
|
|
19
|
+
"@xyd-js/ui": "0.0.0-build+6952c2c-20250813013245"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@chromatic-com/storybook": "^1.9.0",
|
|
23
|
+
"@eslint/js": "^9.11.1",
|
|
24
|
+
"@mdx-js/react": "^3.0.1",
|
|
25
|
+
"@mdx-js/rollup": "^3.0.1",
|
|
26
|
+
"@storybook/addon-essentials": "^8.3.5",
|
|
27
|
+
"@storybook/addon-interactions": "^8.3.5",
|
|
28
|
+
"@storybook/addon-links": "^8.3.5",
|
|
29
|
+
"@storybook/addon-onboarding": "^8.3.5",
|
|
30
|
+
"@storybook/blocks": "^8.3.5",
|
|
31
|
+
"@storybook/react": "^8.3.5",
|
|
32
|
+
"@storybook/react-vite": "^8.3.5",
|
|
33
|
+
"@storybook/test": "^8.3.5",
|
|
34
|
+
"@types/react": "^19.1.0",
|
|
35
|
+
"@types/react-dom": "^19.1.0",
|
|
36
|
+
"@vitejs/plugin-react": "^4.3.2",
|
|
37
|
+
"acorn": "^8.14.1",
|
|
38
|
+
"acorn-jsx": "^5.3.2",
|
|
39
|
+
"eslint": "^9.11.1",
|
|
40
|
+
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
|
|
41
|
+
"eslint-plugin-react-refresh": "^0.4.12",
|
|
42
|
+
"eslint-plugin-storybook": "^0.9.0",
|
|
43
|
+
"globals": "^15.9.0",
|
|
44
|
+
"rehype-stringify": "^10.0.1",
|
|
45
|
+
"remark-gfm": "^4.0.0",
|
|
46
|
+
"storybook": "^8.3.5",
|
|
47
|
+
"typescript": "^5.5.3",
|
|
48
|
+
"typescript-eslint": "^8.7.0",
|
|
49
|
+
"vite": "^7.0.0"
|
|
50
|
+
},
|
|
51
|
+
"eslintConfig": {
|
|
52
|
+
"extends": [
|
|
53
|
+
"plugin:storybook/recommended"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"scripts": {
|
|
57
|
+
"dev": "storybook dev -p 6006",
|
|
58
|
+
"build:storybook": "storybook build",
|
|
59
|
+
"lint": "eslint ."
|
|
60
|
+
}
|
|
61
|
+
}
|
package/public/logo.svg
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg width="64" height="18" viewBox="0 0 64 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_3_18)">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.9447 14.7921H10.6636L14.2428 9.73069L10.8861 4.9901H13.1857L14.9846 7.69901C15.0712 7.84158 15.1577 7.99307 15.2443 8.15347C15.2649 8.1918 15.2854 8.23023 15.3057 8.26877C15.3598 8.37166 15.4048 8.46149 15.4407 8.53824C15.4432 8.54364 15.4458 8.54904 15.4483 8.55446C15.4611 8.51802 15.4751 8.482 15.4904 8.44646C15.5265 8.36139 15.5743 8.26372 15.6337 8.15347C15.7203 7.99307 15.8068 7.84158 15.8934 7.69901L17.6923 4.9901H19.9919L16.6352 9.74852L20.1959 14.7921H17.8963L15.9119 11.8515C15.8254 11.7089 15.7388 11.5485 15.6523 11.3703C15.6317 11.328 15.6113 11.2857 15.5909 11.2434C15.551 11.1606 15.516 11.0873 15.4861 11.0237C15.4734 10.9967 15.4608 10.9696 15.4483 10.9426C15.3988 11.0495 15.3277 11.1921 15.235 11.3703C15.1851 11.4666 15.1319 11.5613 15.0755 11.6542C15.0349 11.7212 14.9922 11.7869 14.9476 11.8515L12.9447 14.7921ZM26.2973 18H24.1831L25.6482 14.2218L21.8464 4.9901H24.0533L26.186 10.5149C26.2523 10.6968 26.3186 10.9065 26.3848 11.1441C26.4058 11.2194 26.426 11.2947 26.4457 11.3703C26.5322 11.703 26.6064 11.9762 26.6682 12.1901C26.7125 11.9988 26.7716 11.76 26.8455 11.4737C26.8544 11.4392 26.8633 11.4047 26.8722 11.3703C26.9588 11.0376 27.0453 10.7525 27.1318 10.5149L29.1347 4.9901H31.2675L26.2973 18ZM33.5671 11.2812V8.51881C33.5671 8.5099 33.5671 8.50099 33.5671 8.49208C33.5713 7.51129 33.8055 6.70741 34.2698 6.08044C34.3394 5.98635 34.4144 5.89603 34.4943 5.8099C35.1125 5.14455 35.9347 4.81188 36.9609 4.81188C37.2432 4.80978 37.5248 4.83873 37.8002 4.89814C38.2353 4.98873 38.637 5.18972 38.9638 5.4802C39.4583 5.92574 39.7056 6.53465 39.7056 7.30693L39.279 6.86139H39.7427L39.687 4.5802V1.78218H41.6899V14.7921H39.7056V12.9208H39.279L39.7056 12.4752C39.7079 12.7346 39.6757 12.9931 39.6097 13.2446C39.5048 13.6495 39.2805 14.0166 38.9638 14.302C38.637 14.5925 38.2353 14.7935 37.8002 14.884C37.5248 14.9435 37.2432 14.9724 36.9609 14.9703C36.5745 14.9741 36.19 14.9196 35.8213 14.8087C35.3085 14.6502 34.8499 14.3611 34.4943 13.9723C33.8762 13.3069 33.5671 12.4099 33.5671 11.2812ZM2.07708 16.7525H0L6.52796 0H8.60504L2.07708 16.7525ZM64 9.92673L55.8771 13.7228V11.905L61.4222 9.35644C61.5629 9.29538 61.7054 9.23815 61.8495 9.18481C61.9412 9.15093 62.0337 9.11902 62.1269 9.08911C62.3475 9.01842 62.5134 8.97113 62.6247 8.94725C62.6257 8.94701 62.6267 8.94677 62.6276 8.94653C62.5884 8.93886 62.5495 8.93007 62.5108 8.92016C62.4265 8.89877 62.3263 8.86931 62.2102 8.83176C62.1731 8.81976 62.136 8.80752 62.0991 8.79505C61.8704 8.71782 61.6447 8.62574 61.4222 8.51881L55.8771 5.9703V4.11683L64 7.91287V9.92673ZM39.687 11.1743V8.60792C39.6886 8.39594 39.6672 8.18438 39.6231 7.97667C39.5654 7.71481 39.4687 7.48414 39.3328 7.28465C39.2758 7.20072 39.2112 7.12171 39.14 7.04852C38.8659 6.76894 38.503 6.58461 38.1083 6.52438C37.956 6.49891 37.8016 6.48645 37.6471 6.48713C37.4323 6.48547 37.218 6.50802 37.0087 6.55432C36.6672 6.62705 36.3545 6.79238 36.1078 7.03069C35.9021 7.23549 35.7516 7.48556 35.6696 7.75907C35.6117 7.94145 35.5751 8.14248 35.5598 8.36216C35.5541 8.44397 35.5514 8.52593 35.5514 8.60792V11.1743C35.55 11.3795 35.5691 11.5844 35.6086 11.7861C35.6563 12.0212 35.734 12.2299 35.8419 12.4122C35.9147 12.5359 36.0041 12.65 36.1078 12.7515C36.3578 12.9928 36.6752 13.1594 37.0217 13.2309C37.2269 13.2751 37.4367 13.2966 37.6471 13.2951C37.8632 13.2969 38.0786 13.2714 38.2878 13.2193C38.6141 13.1386 38.9098 12.9701 39.14 12.7337C39.4759 12.389 39.6571 11.9209 39.6837 11.3295C39.686 11.2778 39.6871 11.226 39.687 11.1743Z" fill="black" stroke="black" stroke-width="0.944882" stroke-linecap="round"/>
|
|
4
|
+
</g>
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="clip0_3_18">
|
|
7
|
+
<rect width="64" height="18" fill="white"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
export function IconSessionReplay() {
|
|
4
|
+
return <svg
|
|
5
|
+
width={24}
|
|
6
|
+
height={24}
|
|
7
|
+
viewBox="0 0 24 24"
|
|
8
|
+
fill="none"
|
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
+
>
|
|
11
|
+
<path
|
|
12
|
+
d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"
|
|
13
|
+
stroke="black"
|
|
14
|
+
strokeWidth={2}
|
|
15
|
+
strokeLinecap="round"
|
|
16
|
+
strokeLinejoin="round"
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
d="M10 8L16 12L10 16V8Z"
|
|
20
|
+
stroke="black"
|
|
21
|
+
strokeWidth={2}
|
|
22
|
+
strokeLinecap="round"
|
|
23
|
+
strokeLinejoin="round"
|
|
24
|
+
/>
|
|
25
|
+
</svg>
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export function IconMetrics() {
|
|
29
|
+
return <svg
|
|
30
|
+
width={24}
|
|
31
|
+
height={24}
|
|
32
|
+
viewBox="0 0 24 24"
|
|
33
|
+
fill="none"
|
|
34
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
35
|
+
>
|
|
36
|
+
<path
|
|
37
|
+
d="M21 7L13.2273 14.9167L9.13636 10.75L3 17"
|
|
38
|
+
stroke="black"
|
|
39
|
+
strokeWidth={2}
|
|
40
|
+
strokeLinecap="round"
|
|
41
|
+
strokeLinejoin="round"
|
|
42
|
+
/>
|
|
43
|
+
<path
|
|
44
|
+
d="M16 7H21V12"
|
|
45
|
+
stroke="black"
|
|
46
|
+
strokeWidth={2}
|
|
47
|
+
strokeLinecap="round"
|
|
48
|
+
strokeLinejoin="round"
|
|
49
|
+
/>
|
|
50
|
+
</svg>
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function IconFunnels() {
|
|
54
|
+
return <svg
|
|
55
|
+
width={24}
|
|
56
|
+
height={24}
|
|
57
|
+
viewBox="0 0 24 24"
|
|
58
|
+
fill="none"
|
|
59
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
60
|
+
>
|
|
61
|
+
<path
|
|
62
|
+
d="M12 20L12 10"
|
|
63
|
+
stroke="black"
|
|
64
|
+
strokeWidth={2}
|
|
65
|
+
strokeLinecap="round"
|
|
66
|
+
strokeLinejoin="round"
|
|
67
|
+
/>
|
|
68
|
+
<path
|
|
69
|
+
d="M6 20L6 4"
|
|
70
|
+
stroke="black"
|
|
71
|
+
strokeWidth={2}
|
|
72
|
+
strokeLinecap="round"
|
|
73
|
+
strokeLinejoin="round"
|
|
74
|
+
/>
|
|
75
|
+
<path
|
|
76
|
+
d="M18 20L18 16"
|
|
77
|
+
stroke="black"
|
|
78
|
+
strokeWidth={2}
|
|
79
|
+
strokeLinecap="round"
|
|
80
|
+
strokeLinejoin="round"
|
|
81
|
+
/>
|
|
82
|
+
</svg>
|
|
83
|
+
}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
# Package Index
|
|
2
|
+
|
|
3
|
+
These are all the API packages. See all [API symbols](#).
|
|
4
|
+
|
|
5
|
+
<Table>
|
|
6
|
+
<Table.Head>
|
|
7
|
+
<Table.Tr>
|
|
8
|
+
<Table.Th>Package</Table.Th>
|
|
9
|
+
<Table.Th numeric>Description</Table.Th>
|
|
10
|
+
</Table.Tr>
|
|
11
|
+
</Table.Head>
|
|
12
|
+
<Table.Body>
|
|
13
|
+
<Table.Tr>
|
|
14
|
+
<Table.Td>
|
|
15
|
+
<Table.ModelCell>
|
|
16
|
+
[`@xyd-js/atlas`](#)
|
|
17
|
+
</Table.ModelCell>
|
|
18
|
+
</Table.Td>
|
|
19
|
+
<Table.Td numeric muted>
|
|
20
|
+
<Table.Cell>
|
|
21
|
+
API Reference template
|
|
22
|
+
</Table.Cell>
|
|
23
|
+
</Table.Td>
|
|
24
|
+
</Table.Tr>
|
|
25
|
+
<Table.Tr>
|
|
26
|
+
<Table.Td>
|
|
27
|
+
<Table.ModelCell>
|
|
28
|
+
[`@xyd-js/cli`](#)
|
|
29
|
+
</Table.ModelCell>
|
|
30
|
+
</Table.Td>
|
|
31
|
+
<Table.Td numeric muted>
|
|
32
|
+
<Table.Cell>
|
|
33
|
+
Command line interface tools
|
|
34
|
+
</Table.Cell>
|
|
35
|
+
</Table.Td>
|
|
36
|
+
</Table.Tr>
|
|
37
|
+
<Table.Tr>
|
|
38
|
+
<Table.Td>
|
|
39
|
+
<Table.ModelCell>
|
|
40
|
+
[`@xyd-js/components`](#)
|
|
41
|
+
</Table.ModelCell>
|
|
42
|
+
</Table.Td>
|
|
43
|
+
<Table.Td numeric muted>
|
|
44
|
+
<Table.Cell>
|
|
45
|
+
Shared React components library
|
|
46
|
+
</Table.Cell>
|
|
47
|
+
</Table.Td>
|
|
48
|
+
</Table.Tr>
|
|
49
|
+
<Table.Tr>
|
|
50
|
+
<Table.Td>
|
|
51
|
+
<Table.ModelCell>
|
|
52
|
+
[`@xyd-js/content`](#)
|
|
53
|
+
</Table.ModelCell>
|
|
54
|
+
</Table.Td>
|
|
55
|
+
<Table.Td numeric muted>
|
|
56
|
+
<Table.Cell>
|
|
57
|
+
Content management and MDX utilities
|
|
58
|
+
</Table.Cell>
|
|
59
|
+
</Table.Td>
|
|
60
|
+
</Table.Tr>
|
|
61
|
+
<Table.Tr>
|
|
62
|
+
<Table.Td>
|
|
63
|
+
<Table.ModelCell>
|
|
64
|
+
[`@xyd-js/core`](#)
|
|
65
|
+
</Table.ModelCell>
|
|
66
|
+
</Table.Td>
|
|
67
|
+
<Table.Td numeric muted>
|
|
68
|
+
<Table.Cell>
|
|
69
|
+
Core utilities and shared functionality
|
|
70
|
+
</Table.Cell>
|
|
71
|
+
</Table.Td>
|
|
72
|
+
</Table.Tr>
|
|
73
|
+
<Table.Tr>
|
|
74
|
+
<Table.Td>
|
|
75
|
+
<Table.ModelCell>
|
|
76
|
+
[`@xyd-js/documan`](#)
|
|
77
|
+
</Table.ModelCell>
|
|
78
|
+
</Table.Td>
|
|
79
|
+
<Table.Td numeric muted>
|
|
80
|
+
<Table.Cell>
|
|
81
|
+
Documentation sever runner
|
|
82
|
+
</Table.Cell>
|
|
83
|
+
</Table.Td>
|
|
84
|
+
</Table.Tr>
|
|
85
|
+
<Table.Tr>
|
|
86
|
+
<Table.Td>
|
|
87
|
+
<Table.ModelCell>
|
|
88
|
+
[`@xyd-js/framework`](#)
|
|
89
|
+
</Table.ModelCell>
|
|
90
|
+
</Table.Td>
|
|
91
|
+
<Table.Td numeric muted>
|
|
92
|
+
<Table.Cell>
|
|
93
|
+
Bridge between core logic and ui
|
|
94
|
+
</Table.Cell>
|
|
95
|
+
</Table.Td>
|
|
96
|
+
</Table.Tr>
|
|
97
|
+
<Table.Tr>
|
|
98
|
+
<Table.Td>
|
|
99
|
+
<Table.ModelCell>
|
|
100
|
+
[`@xyd-js/gql`](#)
|
|
101
|
+
</Table.ModelCell>
|
|
102
|
+
</Table.Td>
|
|
103
|
+
<Table.Td numeric muted>
|
|
104
|
+
<Table.Cell>
|
|
105
|
+
GraphQL utilities and tools
|
|
106
|
+
</Table.Cell>
|
|
107
|
+
</Table.Td>
|
|
108
|
+
</Table.Tr>
|
|
109
|
+
<Table.Tr>
|
|
110
|
+
<Table.Td>
|
|
111
|
+
<Table.ModelCell>
|
|
112
|
+
[`@xyd-js/openapi`](#)
|
|
113
|
+
</Table.ModelCell>
|
|
114
|
+
</Table.Td>
|
|
115
|
+
<Table.Td numeric muted>
|
|
116
|
+
<Table.Cell>
|
|
117
|
+
OpenAPI specification tools
|
|
118
|
+
</Table.Cell>
|
|
119
|
+
</Table.Td>
|
|
120
|
+
</Table.Tr>
|
|
121
|
+
<Table.Tr>
|
|
122
|
+
<Table.Td>
|
|
123
|
+
<Table.ModelCell>
|
|
124
|
+
[`@xyd-js/plugin-docs`](#)
|
|
125
|
+
</Table.ModelCell>
|
|
126
|
+
</Table.Td>
|
|
127
|
+
<Table.Td numeric muted>
|
|
128
|
+
<Table.Cell>
|
|
129
|
+
Core documentation plugin
|
|
130
|
+
</Table.Cell>
|
|
131
|
+
</Table.Td>
|
|
132
|
+
</Table.Tr>
|
|
133
|
+
<Table.Tr>
|
|
134
|
+
<Table.Td>
|
|
135
|
+
<Table.ModelCell>
|
|
136
|
+
[`@xyd-js/storybook`](#)
|
|
137
|
+
</Table.ModelCell>
|
|
138
|
+
</Table.Td>
|
|
139
|
+
<Table.Td numeric muted>
|
|
140
|
+
<Table.Cell>
|
|
141
|
+
Component documentation and testing
|
|
142
|
+
</Table.Cell>
|
|
143
|
+
</Table.Td>
|
|
144
|
+
</Table.Tr>
|
|
145
|
+
<Table.Tr>
|
|
146
|
+
<Table.Td>
|
|
147
|
+
<Table.ModelCell>
|
|
148
|
+
[`@xyd-js/theme-poetry`](#)
|
|
149
|
+
</Table.ModelCell>
|
|
150
|
+
</Table.Td>
|
|
151
|
+
<Table.Td numeric muted>
|
|
152
|
+
<Table.Cell>
|
|
153
|
+
On of the default themes
|
|
154
|
+
</Table.Cell>
|
|
155
|
+
</Table.Td>
|
|
156
|
+
</Table.Tr>
|
|
157
|
+
<Table.Tr>
|
|
158
|
+
<Table.Td>
|
|
159
|
+
<Table.ModelCell>
|
|
160
|
+
[`@xyd-js/ui`](#)
|
|
161
|
+
</Table.ModelCell>
|
|
162
|
+
</Table.Td>
|
|
163
|
+
<Table.Td numeric muted>
|
|
164
|
+
<Table.Cell>
|
|
165
|
+
Core documentations ui elements
|
|
166
|
+
</Table.Cell>
|
|
167
|
+
</Table.Td>
|
|
168
|
+
</Table.Tr>
|
|
169
|
+
<Table.Tr>
|
|
170
|
+
<Table.Td>
|
|
171
|
+
<Table.ModelCell>
|
|
172
|
+
[`@xyd-js/uniform`](#)
|
|
173
|
+
</Table.ModelCell>
|
|
174
|
+
</Table.Td>
|
|
175
|
+
<Table.Td numeric muted>
|
|
176
|
+
<Table.Cell>
|
|
177
|
+
Unified formatting for API references
|
|
178
|
+
</Table.Cell>
|
|
179
|
+
</Table.Td>
|
|
180
|
+
</Table.Tr>
|
|
181
|
+
<Table.Tr>
|
|
182
|
+
<Table.Td>
|
|
183
|
+
<Table.ModelCell>
|
|
184
|
+
[`@xyd-js/xtokens`](#)
|
|
185
|
+
</Table.ModelCell>
|
|
186
|
+
</Table.Td>
|
|
187
|
+
<Table.Td numeric muted>
|
|
188
|
+
<Table.Cell>
|
|
189
|
+
Design tokens and theming system
|
|
190
|
+
</Table.Cell>
|
|
191
|
+
</Table.Td>
|
|
192
|
+
</Table.Tr>
|
|
193
|
+
</Table.Body>
|
|
194
|
+
</Table>
|