@dxos/app-framework 0.3.9-main.eb5df3b → 0.3.9-main.ec541d7

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/app-framework",
3
- "version": "0.3.9-main.eb5df3b",
3
+ "version": "0.3.9-main.ec541d7",
4
4
  "description": "A framework for building applications from composible plugins.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -16,12 +16,12 @@
16
16
  "@preact/signals-react": "^1.3.6",
17
17
  "deepsignal": "1.4.0-shallow.0",
18
18
  "zod": "^3.22.4",
19
- "@dxos/async": "0.3.9-main.eb5df3b",
20
- "@dxos/invariant": "0.3.9-main.eb5df3b",
21
- "@dxos/debug": "0.3.9-main.eb5df3b",
22
- "@dxos/local-storage": "0.3.9-main.eb5df3b",
23
- "@dxos/log": "0.3.9-main.eb5df3b",
24
- "@dxos/app-graph": "0.3.9-main.eb5df3b"
19
+ "@dxos/app-graph": "0.3.9-main.ec541d7",
20
+ "@dxos/invariant": "0.3.9-main.ec541d7",
21
+ "@dxos/async": "0.3.9-main.ec541d7",
22
+ "@dxos/local-storage": "0.3.9-main.ec541d7",
23
+ "@dxos/debug": "0.3.9-main.ec541d7",
24
+ "@dxos/log": "0.3.9-main.ec541d7"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/react": "^18.0.21",
package/project.json CHANGED
@@ -11,17 +11,6 @@
11
11
  }
12
12
  },
13
13
  "lint": {},
14
- "storybook": {
15
- "configurations": {
16
- "ci": {
17
- "quiet": true
18
- }
19
- },
20
- "executor": "@nx/storybook:storybook",
21
- "options": {
22
- "configDir": "packages/sdk/app-framework/.storybook"
23
- }
24
- },
25
14
  "test": {
26
15
  "options": {
27
16
  "ciEnvironments": [
@@ -1,36 +0,0 @@
1
- //
2
- // Copyright 2023 DXOS.org
3
- //
4
-
5
- const { mergeConfig } = require('vite');
6
- const { resolve } = require('path');
7
-
8
- const { ThemePlugin } = require('@dxos/react-ui-theme/plugin');
9
-
10
- module.exports = {
11
- stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
12
- addons: [
13
- '@storybook/addon-links',
14
- '@storybook/addon-essentials',
15
- '@storybook/addon-interactions'
16
- ],
17
- framework: {
18
- name: '@storybook/react-vite',
19
- options: {
20
- // TODO(wittjosiah): Enable strict mode.
21
- strictMode: false
22
- }
23
- },
24
- viteFinal: async (config) =>
25
- mergeConfig(config, {
26
- plugins: [
27
- ThemePlugin({
28
- root: __dirname,
29
- content: [
30
- resolve(__dirname, '../src') + '/**/*.{ts,tsx,js,jsx}',
31
- resolve(__dirname, '../node_modules/@dxos/kai-frames/dist/**/*.mjs')
32
- ]
33
- })
34
- ]
35
- })
36
- };
@@ -1,4 +0,0 @@
1
- <script>
2
- window.global = window;
3
- window.process = {version: '', env: {}}
4
- </script>
@@ -1,45 +0,0 @@
1
- //
2
- // Copyright 2022 DXOS.org
3
- //
4
-
5
- // import React, { createElement, useEffect } from 'react';
6
- // import { ThemeProvider } from '@dxos/react-appkit';
7
-
8
- export const parameters = {
9
- actions: { argTypesRegex: '^on[A-Z].*' },
10
- controls: {
11
- matchers: {
12
- color: /(background|color)$/i,
13
- date: /Date$/
14
- }
15
- }
16
- };
17
-
18
- export const globalTypes = {
19
- theme: {
20
- name: 'Theme',
21
- description: 'Global theme for components',
22
- defaultValue: 'light',
23
- toolbar: {
24
- // The icon for the toolbar item
25
- icon: 'circlehollow',
26
- // Array of options
27
- items: [
28
- { value: 'light', icon: 'circlehollow', title: 'light' },
29
- { value: 'dark', icon: 'circle', title: 'dark' },
30
- ],
31
- // Property that specifies if the name of the item will be displayed
32
- showName: true,
33
- },
34
- },
35
- }
36
-
37
- // const withTheme = (StoryFn, context) => {
38
- // const theme = context?.parameters?.theme || context?.globals?.theme;
39
- // useEffect(() => {
40
- // document.documentElement.classList[theme === 'dark' ? 'add' : 'remove']('dark')
41
- // }, [theme])
42
- // return createElement(ThemeProvider, {children: createElement(StoryFn)})
43
- // }
44
-
45
- // export const decorators = [withTheme];