@codecademy/brand 1.18.0 → 1.18.1-alpha.5166022f04.0
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.
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { Logo } from '@codecademy/gamut';
|
|
2
1
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Logo } from '../../../index';
|
|
3
3
|
declare const meta: Meta<typeof Logo>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof Logo>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Pro: Story;
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
8
|
+
export declare const ProAlt: Story;
|
|
9
|
+
export declare const ProLockup: Story;
|
|
10
|
+
export declare const Program: Story;
|
|
11
|
+
export declare const ProMono: Story;
|
|
12
|
+
export declare const Premium: Story;
|
|
13
|
+
export declare const Teams: Story;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Logo } from '
|
|
1
|
+
import { Logo } from '../../../index';
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
const meta = {
|
|
4
4
|
component: Logo
|
|
@@ -10,7 +10,7 @@ export const Default = {
|
|
|
10
10
|
}),
|
|
11
11
|
name: 'Default',
|
|
12
12
|
args: {
|
|
13
|
-
|
|
13
|
+
type: 'default'
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
export const Pro = {
|
|
@@ -19,25 +19,60 @@ export const Pro = {
|
|
|
19
19
|
}),
|
|
20
20
|
name: 'Pro',
|
|
21
21
|
args: {
|
|
22
|
-
|
|
22
|
+
type: 'pro'
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
export const
|
|
25
|
+
export const ProAlt = {
|
|
26
26
|
render: args => /*#__PURE__*/_jsx(Logo, {
|
|
27
27
|
...args
|
|
28
28
|
}),
|
|
29
|
-
name: '
|
|
29
|
+
name: 'Pro Alt',
|
|
30
30
|
args: {
|
|
31
|
-
|
|
31
|
+
type: 'proAlt'
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
|
-
export const
|
|
34
|
+
export const ProLockup = {
|
|
35
35
|
render: args => /*#__PURE__*/_jsx(Logo, {
|
|
36
36
|
...args
|
|
37
37
|
}),
|
|
38
|
-
name: '
|
|
38
|
+
name: 'Pro Lockup',
|
|
39
39
|
args: {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
type: 'proLockup'
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
export const Program = {
|
|
44
|
+
render: args => /*#__PURE__*/_jsx(Logo, {
|
|
45
|
+
...args
|
|
46
|
+
}),
|
|
47
|
+
name: 'Program',
|
|
48
|
+
args: {
|
|
49
|
+
type: 'program'
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
export const ProMono = {
|
|
53
|
+
render: args => /*#__PURE__*/_jsx(Logo, {
|
|
54
|
+
...args
|
|
55
|
+
}),
|
|
56
|
+
name: 'Pro Mono',
|
|
57
|
+
args: {
|
|
58
|
+
type: 'proMono'
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
export const Premium = {
|
|
62
|
+
render: args => /*#__PURE__*/_jsx(Logo, {
|
|
63
|
+
...args
|
|
64
|
+
}),
|
|
65
|
+
name: 'Premium',
|
|
66
|
+
args: {
|
|
67
|
+
type: 'premium'
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
export const Teams = {
|
|
71
|
+
render: args => /*#__PURE__*/_jsx(Logo, {
|
|
72
|
+
...args
|
|
73
|
+
}),
|
|
74
|
+
name: 'Teams',
|
|
75
|
+
args: {
|
|
76
|
+
type: 'teams'
|
|
42
77
|
}
|
|
43
78
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/brand",
|
|
3
3
|
"description": "Brand component library for Codecademy",
|
|
4
|
-
"version": "1.18.0",
|
|
4
|
+
"version": "1.18.1-alpha.5166022f04.0",
|
|
5
5
|
"author": "Codecademy Engineering <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@emotion/is-prop-valid": "^1.2.1",
|