@dxos/brand 0.8.4-main.ae835ea → 0.8.4-main.bc674ce
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/dist/lib/browser/index.mjs +5 -5
- package/dist/lib/browser/index.mjs.map +2 -2
- package/dist/lib/browser/meta.json +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +18 -14
- package/src/Icons.stories.tsx +3 -3
- package/src/Logotypes.stories.tsx +8 -8
- package/src/components/ComposerLogo/ComposerLogo.stories.tsx +7 -7
- package/src/components/ComposerLogo/ComposerLogo.tsx +2 -2
- package/src/components/rive.stories.tsx +5 -5
- package/src/logotypes/DXOSHorizontalType.tsx +1 -1
- package/src/logotypes/DXOSType.tsx +1 -1
- package/src/logotypes/DXOSVerticalType.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/brand",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.bc674ce",
|
|
4
4
|
"description": "DXOS brand assets.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/dxos/dxos"
|
|
10
|
+
},
|
|
7
11
|
"license": "MIT",
|
|
8
12
|
"author": "DXOS.org",
|
|
9
|
-
"sideEffects":
|
|
13
|
+
"sideEffects": false,
|
|
10
14
|
"type": "module",
|
|
11
15
|
"exports": {
|
|
12
16
|
".": {
|
|
@@ -29,21 +33,21 @@
|
|
|
29
33
|
},
|
|
30
34
|
"devDependencies": {
|
|
31
35
|
"@fontsource/k2d": "^5.0.18",
|
|
32
|
-
"@phosphor-icons/react": "
|
|
36
|
+
"@phosphor-icons/react": "2.1.10",
|
|
33
37
|
"@rive-app/react-canvas": "^4.14.0",
|
|
34
38
|
"@types/d3": "^7.4.3",
|
|
35
|
-
"react": "~19.2.
|
|
36
|
-
"react-dom": "~19.2.
|
|
37
|
-
"@dxos/log": "0.8.4-main.
|
|
38
|
-
"@dxos/react-ui
|
|
39
|
-
"@dxos/
|
|
40
|
-
"@dxos/storybook-utils": "0.8.4-main.
|
|
39
|
+
"react": "~19.2.3",
|
|
40
|
+
"react-dom": "~19.2.3",
|
|
41
|
+
"@dxos/log": "0.8.4-main.bc674ce",
|
|
42
|
+
"@dxos/react-ui": "0.8.4-main.bc674ce",
|
|
43
|
+
"@dxos/ui-theme": "0.8.4-main.bc674ce",
|
|
44
|
+
"@dxos/storybook-utils": "0.8.4-main.bc674ce"
|
|
41
45
|
},
|
|
42
46
|
"peerDependencies": {
|
|
43
|
-
"@phosphor-icons/react": "
|
|
44
|
-
"react": "
|
|
45
|
-
"react-dom": "
|
|
46
|
-
"@dxos/react-ui": "0.8.4-main.
|
|
47
|
-
"@dxos/
|
|
47
|
+
"@phosphor-icons/react": "2.1.10",
|
|
48
|
+
"react": "~19.2.3",
|
|
49
|
+
"react-dom": "~19.2.3",
|
|
50
|
+
"@dxos/react-ui": "0.8.4-main.bc674ce",
|
|
51
|
+
"@dxos/ui-theme": "0.8.4-main.bc674ce"
|
|
48
52
|
}
|
|
49
53
|
}
|
package/src/Icons.stories.tsx
CHANGED
|
@@ -6,7 +6,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';
|
|
|
6
6
|
import React from 'react';
|
|
7
7
|
|
|
8
8
|
import { withTheme } from '@dxos/react-ui/testing';
|
|
9
|
-
import { mx } from '@dxos/
|
|
9
|
+
import { mx } from '@dxos/ui-theme';
|
|
10
10
|
|
|
11
11
|
import { Composer, DXNS, DXOS, ECHO, HALO, KUBE, MESH } from './icons';
|
|
12
12
|
|
|
@@ -24,9 +24,9 @@ type Story = StoryObj<typeof meta>;
|
|
|
24
24
|
|
|
25
25
|
export const Default: Story = {
|
|
26
26
|
render: () => {
|
|
27
|
-
const size = '
|
|
27
|
+
const size = 'is-[128px] bs-[128px]';
|
|
28
28
|
return (
|
|
29
|
-
<div className='absolute flex
|
|
29
|
+
<div className='absolute flex is-full bs-full items-center justify-center'>
|
|
30
30
|
<div className='grid grid-cols-3 gap-16'>
|
|
31
31
|
<>
|
|
32
32
|
<div />
|
|
@@ -6,7 +6,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';
|
|
|
6
6
|
import React, { type FC, type ReactNode } from 'react';
|
|
7
7
|
|
|
8
8
|
import { withTheme } from '@dxos/react-ui/testing';
|
|
9
|
-
import { mx } from '@dxos/
|
|
9
|
+
import { mx } from '@dxos/ui-theme';
|
|
10
10
|
|
|
11
11
|
import { DXOSHorizontalType, DXOSType, DXOSVerticalType } from './logotypes';
|
|
12
12
|
|
|
@@ -31,27 +31,27 @@ const Cell: FC<{ children: ReactNode; dark?: boolean }> = ({ children, dark }) =
|
|
|
31
31
|
export const Default: Story = {
|
|
32
32
|
render: () => {
|
|
33
33
|
return (
|
|
34
|
-
<div className='absolute flex
|
|
34
|
+
<div className='absolute flex is-full bs-full items-center justify-center'>
|
|
35
35
|
<div className='flex grid grid-cols-2 gap-16'>
|
|
36
36
|
<Cell>
|
|
37
|
-
<DXOSType className='
|
|
37
|
+
<DXOSType className='is-[256px]' />
|
|
38
38
|
</Cell>
|
|
39
39
|
<Cell dark>
|
|
40
|
-
<DXOSType className='
|
|
40
|
+
<DXOSType className='is-[128px]' />
|
|
41
41
|
</Cell>
|
|
42
42
|
|
|
43
43
|
<Cell>
|
|
44
|
-
<DXOSHorizontalType className='
|
|
44
|
+
<DXOSHorizontalType className='is-[256px]' />
|
|
45
45
|
</Cell>
|
|
46
46
|
<Cell dark>
|
|
47
|
-
<DXOSHorizontalType className='
|
|
47
|
+
<DXOSHorizontalType className='is-[128px]' />
|
|
48
48
|
</Cell>
|
|
49
49
|
|
|
50
50
|
<Cell>
|
|
51
|
-
<DXOSVerticalType className='
|
|
51
|
+
<DXOSVerticalType className='is-[256px]' />
|
|
52
52
|
</Cell>
|
|
53
53
|
<Cell dark>
|
|
54
|
-
<DXOSVerticalType className='
|
|
54
|
+
<DXOSVerticalType className='is-[128px]' />
|
|
55
55
|
</Cell>
|
|
56
56
|
</div>
|
|
57
57
|
</div>
|
|
@@ -9,7 +9,7 @@ import React, { useRef, useState } from 'react';
|
|
|
9
9
|
|
|
10
10
|
import { Button, Icon } from '@dxos/react-ui';
|
|
11
11
|
import { withTheme } from '@dxos/react-ui/testing';
|
|
12
|
-
import { mx } from '@dxos/
|
|
12
|
+
import { mx } from '@dxos/ui-theme';
|
|
13
13
|
|
|
14
14
|
import { DXOS } from '../../icons';
|
|
15
15
|
|
|
@@ -68,7 +68,7 @@ export const Default: Story = {
|
|
|
68
68
|
<div className={mx('flex items-center -mt-[20px] text-neutral-700')}>
|
|
69
69
|
<span className='ml-[210px] mt-[2px] mr-2'>Powered by DXOS</span>
|
|
70
70
|
<div>
|
|
71
|
-
<DXOS className='
|
|
71
|
+
<DXOS className='is-[32px] bs-[32px]' />
|
|
72
72
|
</div>
|
|
73
73
|
</div>
|
|
74
74
|
</div>
|
|
@@ -95,7 +95,7 @@ export const Colors: Story = {
|
|
|
95
95
|
|
|
96
96
|
return (
|
|
97
97
|
<div className='absolute inset-0 flex justify-center items-center'>
|
|
98
|
-
<div className='grid grid-cols-3 gap-20
|
|
98
|
+
<div className='grid grid-cols-3 gap-20 is-[800px]'>
|
|
99
99
|
{colors.map((classNames, i) => (
|
|
100
100
|
<div key={i} className='flex justify-center items-center'>
|
|
101
101
|
<ComposerLogo animate={false} size={160} classNames={classNames} />
|
|
@@ -115,13 +115,13 @@ export const Pacman: Story = {
|
|
|
115
115
|
<div className='flex items-center p-4'>
|
|
116
116
|
<div className='flex ml-8 mr-[100px]'>
|
|
117
117
|
<div>
|
|
118
|
-
<Icon icon='ph--ghost--duotone' classNames='
|
|
118
|
+
<Icon icon='ph--ghost--duotone' classNames='is-[180px] bs-[180px] text-blue-500' />
|
|
119
119
|
</div>
|
|
120
120
|
<div>
|
|
121
|
-
<Icon icon='ph--ghost--duotone' classNames='
|
|
121
|
+
<Icon icon='ph--ghost--duotone' classNames='is-[180px] bs-[180px] text-purple-500' />
|
|
122
122
|
</div>
|
|
123
123
|
<div>
|
|
124
|
-
<Icon icon='ph--ghost--duotone' classNames='
|
|
124
|
+
<Icon icon='ph--ghost--duotone' classNames='is-[180px] bs-[180px] text-red-500' />
|
|
125
125
|
</div>
|
|
126
126
|
</div>
|
|
127
127
|
|
|
@@ -130,7 +130,7 @@ export const Pacman: Story = {
|
|
|
130
130
|
<div className='flex -ml-10'>
|
|
131
131
|
{Array.from({ length: 6 }).map((_, i) => (
|
|
132
132
|
<div key={i} className='p-4'>
|
|
133
|
-
<Icon icon='ph--square--duotone' classNames='
|
|
133
|
+
<Icon icon='ph--square--duotone' classNames='is-6 bs-6 text-yellow-200' />
|
|
134
134
|
</div>
|
|
135
135
|
))}
|
|
136
136
|
</div>
|
|
@@ -17,7 +17,7 @@ import React, {
|
|
|
17
17
|
useState,
|
|
18
18
|
} from 'react';
|
|
19
19
|
|
|
20
|
-
import { mx } from '@dxos/
|
|
20
|
+
import { mx } from '@dxos/ui-theme';
|
|
21
21
|
|
|
22
22
|
const weights = new Map<IconWeight, ReactElement>([
|
|
23
23
|
[
|
|
@@ -117,7 +117,7 @@ export const ComposerLogo = forwardRef<AnimationController, ComposerLogoProps>(
|
|
|
117
117
|
>
|
|
118
118
|
{layers.map(({ inset, spin, style, className }, i) => (
|
|
119
119
|
<div key={i} className='absolute' style={{ inset: `${inset}px` }}>
|
|
120
|
-
<Composer className={mx('
|
|
120
|
+
<Composer className={mx('is-full bs-full', animate && spin, className)} style={style} />
|
|
121
121
|
</div>
|
|
122
122
|
))}
|
|
123
123
|
</div>
|
|
@@ -9,8 +9,8 @@ import React, { useEffect } from 'react';
|
|
|
9
9
|
import { log } from '@dxos/log';
|
|
10
10
|
import { useAsyncState } from '@dxos/react-ui';
|
|
11
11
|
import { withTheme } from '@dxos/react-ui/testing';
|
|
12
|
-
import { mx } from '@dxos/react-ui-theme';
|
|
13
12
|
import { render } from '@dxos/storybook-utils';
|
|
13
|
+
import { mx } from '@dxos/ui-theme';
|
|
14
14
|
|
|
15
15
|
const useFlash = (rive: Rive | null, name: string, delay: number, period: number) => {
|
|
16
16
|
useEffect(() => {
|
|
@@ -62,17 +62,17 @@ const DefaultStory = () => {
|
|
|
62
62
|
return (
|
|
63
63
|
<>
|
|
64
64
|
<Component buffer={buffer} />
|
|
65
|
-
<div className='flex absolute left-0 right-0 top-[120px]
|
|
65
|
+
<div className='flex absolute left-0 right-0 top-[120px] bs-[320px] align-center'>
|
|
66
66
|
<div
|
|
67
|
-
className='z-1 absolute inset-0
|
|
67
|
+
className='z-1 absolute inset-0 is-[800px] m-auto'
|
|
68
68
|
style={{
|
|
69
69
|
background: 'radial-gradient(ellipse 200% 100% at center, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 50%)',
|
|
70
70
|
}}
|
|
71
71
|
/>
|
|
72
72
|
<div
|
|
73
73
|
className={mx(
|
|
74
|
-
'z-2 absolute inset-0 flex items-center
|
|
75
|
-
'text-white text-[60px] leading-tight text-center font-thin
|
|
74
|
+
'z-2 absolute inset-0 flex items-center is-[720px] m-auto p-2',
|
|
75
|
+
'text-white text-[60px] leading-tight text-center font-thin',
|
|
76
76
|
)}
|
|
77
77
|
>
|
|
78
78
|
The new standard for building collaborative local-first software.
|