@xyd-js/atlas 0.1.0-build.173
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/.babelrc +6 -0
- package/.storybook/index.css +6 -0
- package/.storybook/main.ts +19 -0
- package/.storybook/preview.ts +17 -0
- package/.storybook/public/fonts/fustat-ext-500.woff2 +0 -0
- package/.storybook/public/fonts/fustat-ext-600.woff2 +0 -0
- package/.storybook/public/fonts/fustat-ext-700.woff2 +0 -0
- package/.storybook/public/fonts/fustat-regular.woff2 +0 -0
- package/CHANGELOG.md +1984 -0
- package/LICENSE +21 -0
- package/README.md +3 -0
- package/declarations.d.ts +4 -0
- package/dist/VideoGuide-C0K9fFar-Dk2lkn4r.js +4 -0
- package/dist/VideoGuide-C0K9fFar-Dk2lkn4r.js.map +1 -0
- package/dist/VideoGuide-CJYkuLst-Dk2lkn4r.js +4 -0
- package/dist/VideoGuide-CJYkuLst-Dk2lkn4r.js.map +1 -0
- package/dist/index.css +48 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +104 -0
- package/dist/tokens.css +60 -0
- package/dist/xydPlugin.d.ts +5 -0
- package/dist/xydPlugin.js +2 -0
- package/dist/xydPlugin.js.map +1 -0
- package/index.ts +2 -0
- package/package.json +68 -0
- package/packages/xyd-plugin/SidebarItem.tsx +27 -0
- package/packages/xyd-plugin/index.ts +20 -0
- package/postcss.config.cjs +5 -0
- package/rollup.config.js +120 -0
- package/src/components/ApiRef/ApiRefItem/ApiRefItem.styles.tsx +110 -0
- package/src/components/ApiRef/ApiRefItem/ApiRefItem.tsx +557 -0
- package/src/components/ApiRef/ApiRefItem/index.ts +7 -0
- package/src/components/ApiRef/ApiRefProperties/ApiRefProperties.styles.tsx +202 -0
- package/src/components/ApiRef/ApiRefProperties/ApiRefProperties.tsx +665 -0
- package/src/components/ApiRef/ApiRefProperties/index.ts +7 -0
- package/src/components/ApiRef/ApiRefSamples/ApiRefSamples.styles.tsx +28 -0
- package/src/components/ApiRef/ApiRefSamples/ApiRefSamples.tsx +69 -0
- package/src/components/ApiRef/ApiRefSamples/index.ts +7 -0
- package/src/components/ApiRef/index.ts +5 -0
- package/src/components/Atlas/Atlas.styles.tsx +5 -0
- package/src/components/Atlas/Atlas.tsx +43 -0
- package/src/components/Atlas/AtlasContext.tsx +47 -0
- package/src/components/Atlas/AtlasDecorator.styles.ts +22 -0
- package/src/components/Atlas/AtlasDecorator.tsx +15 -0
- package/src/components/Atlas/AtlasLazy/AtlasLazy.styles.tsx +9 -0
- package/src/components/Atlas/AtlasLazy/AtlasLazy.tsx +42 -0
- package/src/components/Atlas/AtlasLazy/hooks.ts +29 -0
- package/src/components/Atlas/AtlasLazy/index.ts +7 -0
- package/src/components/Atlas/AtlasPrimary.tsx +21 -0
- package/src/components/Atlas/AtlasSecondary.tsx +148 -0
- package/src/components/Atlas/index.ts +7 -0
- package/src/components/Atlas/types.ts +11 -0
- package/src/components/Code/CodeSampleButtons/CodeSampleButtons.styles.tsx +58 -0
- package/src/components/Code/CodeSampleButtons/CodeSampleButtons.tsx +97 -0
- package/src/components/Code/CodeSampleButtons/index.ts +7 -0
- package/src/components/Code/index.ts +2 -0
- package/src/components/Icon/index.tsx +386 -0
- package/src/docs/AtlasExample/AtlasExample.stories.tsx +47 -0
- package/src/docs/AtlasExample/todo-app.uniform.json +625 -0
- package/src/docs/AtlasExample/uniform-to-references.ts +101 -0
- package/src/styles/styles.css +104 -0
- package/src/styles/tokens.css +60 -0
- package/src/utils/mdx.ts +2 -0
- package/tsconfig.json +51 -0
- package/types.d.ts +22 -0
- package/vite.config.ts +25 -0
package/.babelrc
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { StorybookConfig } from '@storybook/react-vite';
|
|
2
|
+
|
|
3
|
+
const config: StorybookConfig = {
|
|
4
|
+
stories: ['../src/**/*.stories.tsx'],
|
|
5
|
+
addons: ['@storybook/addon-essentials', '@chromatic-com/storybook'],
|
|
6
|
+
framework: {
|
|
7
|
+
name: '@storybook/react-vite',
|
|
8
|
+
options: {},
|
|
9
|
+
},
|
|
10
|
+
typescript: {
|
|
11
|
+
reactDocgen: 'react-docgen-typescript',
|
|
12
|
+
},
|
|
13
|
+
core: {
|
|
14
|
+
disableTelemetry: true, // 👈 Disables telemetry
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
// eslint-disable-next-line import/no-default-export
|
|
19
|
+
export default config;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// TODO: import base theme / some theme css
|
|
2
|
+
import './index.css'
|
|
3
|
+
import '../dist/index.css'
|
|
4
|
+
|
|
5
|
+
/** @type { import('@storybook/react').Preview } */
|
|
6
|
+
const preview = {
|
|
7
|
+
parameters: {
|
|
8
|
+
controls: {
|
|
9
|
+
matchers: {
|
|
10
|
+
color: /(background|color)$/i,
|
|
11
|
+
date: /Date$/i,
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export default preview;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|