@eleventheye/asui 1.5.0 → 1.6.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.
- package/.storybook/main.ts +19 -0
- package/.storybook/preview.ts +14 -0
- package/asui.code-workspace +8 -0
- package/package.json +1 -7
- package/storybook-static/161.9b349264.iframe.bundle.js +2 -0
- package/storybook-static/161.9b349264.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/167.2dacd501.iframe.bundle.js +1 -0
- package/storybook-static/294.9683c227.iframe.bundle.js +1 -0
- package/storybook-static/364.929da4fc.iframe.bundle.js +1 -0
- package/storybook-static/730.eecebd5e.iframe.bundle.js +405 -0
- package/storybook-static/730.eecebd5e.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/730.eecebd5e.iframe.bundle.js.map +1 -0
- package/storybook-static/735.97d1536b.iframe.bundle.js +2 -0
- package/storybook-static/735.97d1536b.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/844.3b6aa0c9.iframe.bundle.js +95 -0
- package/storybook-static/844.3b6aa0c9.iframe.bundle.js.LICENSE.txt +19 -0
- package/storybook-static/844.3b6aa0c9.iframe.bundle.js.map +1 -0
- package/storybook-static/929.416ba461.iframe.bundle.js +2 -0
- package/storybook-static/929.416ba461.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/936.a49c8b4b.iframe.bundle.js +1 -0
- package/storybook-static/954.0c960d16.iframe.bundle.js +2 -0
- package/storybook-static/954.0c960d16.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/961.12e539bf.iframe.bundle.js +2 -0
- package/storybook-static/961.12e539bf.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/favicon.svg +1 -0
- package/storybook-static/iframe.html +511 -0
- package/storybook-static/index.html +177 -0
- package/storybook-static/index.json +1 -0
- package/storybook-static/main.b309b411.iframe.bundle.js +1 -0
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/runtime~main.d00757b4.iframe.bundle.js +1 -0
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js +12 -0
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +402 -0
- package/storybook-static/sb-addons/essentials-docs-3/manager-bundle.js +242 -0
- package/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/interactions-10/manager-bundle.js +222 -0
- package/storybook-static/sb-addons/onboarding-9/manager-bundle.js +127 -0
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
- package/storybook-static/sb-common-assets/favicon.svg +1 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-module-info.js +1051 -0
- package/storybook-static/sb-manager/globals-runtime.js +41591 -0
- package/storybook-static/sb-manager/globals.js +48 -0
- package/storybook-static/sb-manager/runtime.js +12048 -0
- package/storybook-static/sb-preview/globals.js +33 -0
- package/storybook-static/sb-preview/runtime.js +7745 -0
- package/storybook-static/stories-Button-stories.b38a90e0.iframe.bundle.js +2 -0
- package/storybook-static/stories-Button-stories.b38a90e0.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/stories-Configure-mdx.db355e6b.iframe.bundle.js +1 -0
- package/storybook-static/stories-Header-stories.0e583eb8.iframe.bundle.js +1 -0
- package/storybook-static/stories-Icons-stories.934f2ebc.iframe.bundle.js +8 -0
- package/storybook-static/stories-Icons-stories.934f2ebc.iframe.bundle.js.map +1 -0
- package/storybook-static/stories-Page-stories.1f5ff8f9.iframe.bundle.js +1 -0
- package/tsconfig.json +117 -0
- package/src/apptypes/ASUI.types.ts +0 -5
- package/src/icons/AddItemIcon.tsx +0 -36
- package/src/icons/AddUserIcon.tsx +0 -36
- package/src/icons/CheckIcon.tsx +0 -37
- package/src/icons/CloseIcon.tsx +0 -34
- package/src/icons/DeleteIcon.tsx +0 -36
- package/src/icons/EleventheyeIcon.tsx +0 -35
- package/src/icons/EyeIcon.tsx +0 -36
- package/src/icons/EyeSlashIcon.tsx +0 -43
- package/src/icons/FootballIcon.tsx +0 -35
- package/src/icons/GamesIcon.tsx +0 -36
- package/src/icons/GearUserIcon.tsx +0 -40
- package/src/icons/HexagonIcon.tsx +0 -38
- package/src/icons/HomeIcon.tsx +0 -36
- package/src/icons/Icons.types.tsx +0 -12
- package/src/icons/LockIcon.tsx +0 -38
- package/src/icons/PenIcon.tsx +0 -36
- package/src/icons/RulerIcon.tsx +0 -36
- package/src/icons/SaveIcon.tsx +0 -45
- package/src/icons/TimeLapseIcon.tsx +0 -36
- package/src/icons/UnlockIcon.tsx +0 -38
- package/src/icons/UserSettingsIcon.tsx +0 -34
- package/src/icons/index.ts +0 -63
- package/src/icons/styles.tsx +0 -9
- package/src/index.ts +0 -22
- package/src/stories/Button.stories.ts +0 -53
- package/src/stories/Button.tsx +0 -37
- package/src/stories/Configure.mdx +0 -364
- package/src/stories/Header.stories.ts +0 -33
- package/src/stories/Header.tsx +0 -56
- package/src/stories/Icons.stories.ts +0 -55
- package/src/stories/Icons.tsx +0 -182
- package/src/stories/Page.stories.ts +0 -32
- package/src/stories/Page.tsx +0 -73
- package/src/stories/assets/accessibility.svg +0 -1
- package/src/stories/assets/avif-test-image.avif +0 -0
- package/src/stories/button.css +0 -30
- package/src/stories/header.css +0 -32
- package/src/stories/icons.css +0 -44
- package/src/stories/page.css +0 -68
- /package/{src/stories/assets/accessibility.png → storybook-static/static/media/accessibility.2dbc6973.png} +0 -0
- /package/{src/stories/assets/addon-library.png → storybook-static/static/media/addon-library.7a58d2cb.png} +0 -0
- /package/{src/stories/assets/assets.png → storybook-static/static/media/assets.e6440a95.png} +0 -0
- /package/{src/stories/assets/context.png → storybook-static/static/media/context.645728c6.png} +0 -0
- /package/{src/stories/assets/discord.svg → storybook-static/static/media/discord.d85804c7.svg} +0 -0
- /package/{src/stories/assets/docs.png → storybook-static/static/media/docs.f7d8b9a8.png} +0 -0
- /package/{src/stories/assets/figma-plugin.png → storybook-static/static/media/figma-plugin.9335a1a9.png} +0 -0
- /package/{src/stories/assets/github.svg → storybook-static/static/media/github.e4e8df82.svg} +0 -0
- /package/{src/stories/assets/share.png → storybook-static/static/media/share.161528bb.png} +0 -0
- /package/{src/stories/assets/styling.png → storybook-static/static/media/styling.38cab73b.png} +0 -0
- /package/{src/stories/assets/testing.png → storybook-static/static/media/testing.c720ced2.png} +0 -0
- /package/{src/stories/assets/theming.png → storybook-static/static/media/theming.e93de094.png} +0 -0
- /package/{src/stories/assets/tutorials.svg → storybook-static/static/media/tutorials.fde6e46f.svg} +0 -0
- /package/{src/stories/assets/youtube.svg → storybook-static/static/media/youtube.fd046a09.svg} +0 -0
package/src/stories/Icons.tsx
DELETED
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
AddItemIcon,
|
|
4
|
-
AddUserIcon,
|
|
5
|
-
CheckIcon,
|
|
6
|
-
DeleteIcon,
|
|
7
|
-
EleventheyeIcon,
|
|
8
|
-
EyeIcon,
|
|
9
|
-
EyeSlashIcon,
|
|
10
|
-
FootballIcon,
|
|
11
|
-
GamesIcon,
|
|
12
|
-
GearUserIcon,
|
|
13
|
-
HexagonIcon,
|
|
14
|
-
HomeIcon,
|
|
15
|
-
LockIcon,
|
|
16
|
-
PenIcon,
|
|
17
|
-
RulerIcon,
|
|
18
|
-
SaveIcon,
|
|
19
|
-
TimeLapseIcon,
|
|
20
|
-
UnlockIcon,
|
|
21
|
-
UserSettingsIcon,
|
|
22
|
-
} from '../icons';
|
|
23
|
-
import './icons.css';
|
|
24
|
-
|
|
25
|
-
export interface IconsProps {
|
|
26
|
-
/** What color to use */
|
|
27
|
-
color?: string;
|
|
28
|
-
/** How large should the icon be? */
|
|
29
|
-
size?: number;
|
|
30
|
-
/** What color to fill the icon */
|
|
31
|
-
fillColor?: string;
|
|
32
|
-
/** Opacity of the fill color */
|
|
33
|
-
fillOpacity: number;
|
|
34
|
-
/** Circle around the icon color */
|
|
35
|
-
circleStrokeColor?: string;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/** Primary UI component for user interaction */
|
|
39
|
-
export const Icons = ({
|
|
40
|
-
color = '#000000',
|
|
41
|
-
size = 24,
|
|
42
|
-
fillColor = 'transparent',
|
|
43
|
-
fillOpacity = 1,
|
|
44
|
-
circleStrokeColor = 'transparent',
|
|
45
|
-
}: IconsProps) => {
|
|
46
|
-
return (
|
|
47
|
-
<div className="icon-wrapper">
|
|
48
|
-
<AddItemIcon
|
|
49
|
-
size={size}
|
|
50
|
-
color={color}
|
|
51
|
-
fillColor={fillColor}
|
|
52
|
-
fillOpacity={fillOpacity}
|
|
53
|
-
circleStrokeColor={circleStrokeColor}
|
|
54
|
-
/>
|
|
55
|
-
<AddUserIcon
|
|
56
|
-
size={size}
|
|
57
|
-
color={color}
|
|
58
|
-
fillColor={fillColor}
|
|
59
|
-
fillOpacity={fillOpacity}
|
|
60
|
-
circleStrokeColor={circleStrokeColor}
|
|
61
|
-
/>
|
|
62
|
-
<CheckIcon
|
|
63
|
-
size={size}
|
|
64
|
-
color={color}
|
|
65
|
-
fillColor={fillColor}
|
|
66
|
-
fillOpacity={fillOpacity}
|
|
67
|
-
circleStrokeColor={circleStrokeColor}
|
|
68
|
-
/>
|
|
69
|
-
<DeleteIcon
|
|
70
|
-
size={size}
|
|
71
|
-
color={color}
|
|
72
|
-
fillColor={fillColor}
|
|
73
|
-
fillOpacity={fillOpacity}
|
|
74
|
-
circleStrokeColor={circleStrokeColor}
|
|
75
|
-
/>
|
|
76
|
-
<EleventheyeIcon
|
|
77
|
-
size={size}
|
|
78
|
-
fillColor={fillColor}
|
|
79
|
-
fillOpacity={fillOpacity}
|
|
80
|
-
circleStrokeColor={circleStrokeColor}
|
|
81
|
-
/>
|
|
82
|
-
<EyeIcon
|
|
83
|
-
size={size}
|
|
84
|
-
color={color}
|
|
85
|
-
fillColor={fillColor}
|
|
86
|
-
fillOpacity={fillOpacity}
|
|
87
|
-
circleStrokeColor={circleStrokeColor}
|
|
88
|
-
/>
|
|
89
|
-
<EyeSlashIcon
|
|
90
|
-
size={size}
|
|
91
|
-
color={color}
|
|
92
|
-
fillColor={fillColor}
|
|
93
|
-
fillOpacity={fillOpacity}
|
|
94
|
-
circleStrokeColor={circleStrokeColor}
|
|
95
|
-
/>
|
|
96
|
-
<FootballIcon
|
|
97
|
-
size={size}
|
|
98
|
-
color={color}
|
|
99
|
-
fillColor={fillColor}
|
|
100
|
-
fillOpacity={fillOpacity}
|
|
101
|
-
circleStrokeColor={circleStrokeColor}
|
|
102
|
-
/>
|
|
103
|
-
<GamesIcon
|
|
104
|
-
size={size}
|
|
105
|
-
color={color}
|
|
106
|
-
fillColor={fillColor}
|
|
107
|
-
fillOpacity={fillOpacity}
|
|
108
|
-
circleStrokeColor={circleStrokeColor}
|
|
109
|
-
/>
|
|
110
|
-
<GearUserIcon
|
|
111
|
-
size={size}
|
|
112
|
-
color={color}
|
|
113
|
-
fillColor={fillColor}
|
|
114
|
-
fillOpacity={fillOpacity}
|
|
115
|
-
circleStrokeColor={circleStrokeColor}
|
|
116
|
-
/>
|
|
117
|
-
<HexagonIcon
|
|
118
|
-
size={size}
|
|
119
|
-
color={color}
|
|
120
|
-
fillColor={fillColor}
|
|
121
|
-
fillOpacity={fillOpacity}
|
|
122
|
-
circleStrokeColor={circleStrokeColor}
|
|
123
|
-
/>
|
|
124
|
-
<HomeIcon
|
|
125
|
-
size={size}
|
|
126
|
-
color={color}
|
|
127
|
-
fillColor={fillColor}
|
|
128
|
-
fillOpacity={fillOpacity}
|
|
129
|
-
circleStrokeColor={circleStrokeColor}
|
|
130
|
-
/>
|
|
131
|
-
<LockIcon
|
|
132
|
-
size={size}
|
|
133
|
-
color={color}
|
|
134
|
-
fillColor={fillColor}
|
|
135
|
-
fillOpacity={fillOpacity}
|
|
136
|
-
circleStrokeColor={circleStrokeColor}
|
|
137
|
-
/>
|
|
138
|
-
<PenIcon
|
|
139
|
-
size={size}
|
|
140
|
-
color={color}
|
|
141
|
-
fillColor={fillColor}
|
|
142
|
-
fillOpacity={fillOpacity}
|
|
143
|
-
circleStrokeColor={circleStrokeColor}
|
|
144
|
-
/>
|
|
145
|
-
<RulerIcon
|
|
146
|
-
size={size}
|
|
147
|
-
color={color}
|
|
148
|
-
fillColor={fillColor}
|
|
149
|
-
fillOpacity={fillOpacity}
|
|
150
|
-
circleStrokeColor={circleStrokeColor}
|
|
151
|
-
/>
|
|
152
|
-
<SaveIcon
|
|
153
|
-
size={size}
|
|
154
|
-
color={color}
|
|
155
|
-
fillColor={fillColor}
|
|
156
|
-
fillOpacity={fillOpacity}
|
|
157
|
-
circleStrokeColor={circleStrokeColor}
|
|
158
|
-
/>
|
|
159
|
-
<TimeLapseIcon
|
|
160
|
-
size={size}
|
|
161
|
-
color={color}
|
|
162
|
-
fillColor={fillColor}
|
|
163
|
-
fillOpacity={fillOpacity}
|
|
164
|
-
circleStrokeColor={circleStrokeColor}
|
|
165
|
-
/>
|
|
166
|
-
<UnlockIcon
|
|
167
|
-
size={size}
|
|
168
|
-
color={color}
|
|
169
|
-
fillColor={fillColor}
|
|
170
|
-
fillOpacity={fillOpacity}
|
|
171
|
-
circleStrokeColor={circleStrokeColor}
|
|
172
|
-
/>
|
|
173
|
-
<UserSettingsIcon
|
|
174
|
-
size={size}
|
|
175
|
-
color={color}
|
|
176
|
-
fillColor={fillColor}
|
|
177
|
-
fillOpacity={fillOpacity}
|
|
178
|
-
circleStrokeColor={circleStrokeColor}
|
|
179
|
-
/>
|
|
180
|
-
</div>
|
|
181
|
-
);
|
|
182
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { expect, userEvent, within } from '@storybook/test';
|
|
3
|
-
|
|
4
|
-
import { Page } from './Page';
|
|
5
|
-
|
|
6
|
-
const meta = {
|
|
7
|
-
title: 'Example/Page',
|
|
8
|
-
component: Page,
|
|
9
|
-
parameters: {
|
|
10
|
-
// More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
|
|
11
|
-
layout: 'fullscreen',
|
|
12
|
-
},
|
|
13
|
-
} satisfies Meta<typeof Page>;
|
|
14
|
-
|
|
15
|
-
export default meta;
|
|
16
|
-
type Story = StoryObj<typeof meta>;
|
|
17
|
-
|
|
18
|
-
export const LoggedOut: Story = {};
|
|
19
|
-
|
|
20
|
-
// More on component testing: https://storybook.js.org/docs/writing-tests/component-testing
|
|
21
|
-
export const LoggedIn: Story = {
|
|
22
|
-
play: async ({ canvasElement }) => {
|
|
23
|
-
const canvas = within(canvasElement);
|
|
24
|
-
const loginButton = canvas.getByRole('button', { name: /Log in/i });
|
|
25
|
-
await expect(loginButton).toBeInTheDocument();
|
|
26
|
-
await userEvent.click(loginButton);
|
|
27
|
-
await expect(loginButton).not.toBeInTheDocument();
|
|
28
|
-
|
|
29
|
-
const logoutButton = canvas.getByRole('button', { name: /Log out/i });
|
|
30
|
-
await expect(logoutButton).toBeInTheDocument();
|
|
31
|
-
},
|
|
32
|
-
};
|
package/src/stories/Page.tsx
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
import { Header } from './Header';
|
|
4
|
-
import './page.css';
|
|
5
|
-
|
|
6
|
-
type User = {
|
|
7
|
-
name: string;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export const Page: React.FC = () => {
|
|
11
|
-
const [user, setUser] = React.useState<User>();
|
|
12
|
-
|
|
13
|
-
return (
|
|
14
|
-
<article>
|
|
15
|
-
<Header
|
|
16
|
-
user={user}
|
|
17
|
-
onLogin={() => setUser({ name: 'Jane Doe' })}
|
|
18
|
-
onLogout={() => setUser(undefined)}
|
|
19
|
-
onCreateAccount={() => setUser({ name: 'Jane Doe' })}
|
|
20
|
-
/>
|
|
21
|
-
|
|
22
|
-
<section className="storybook-page">
|
|
23
|
-
<h2>Pages in Storybook</h2>
|
|
24
|
-
<p>
|
|
25
|
-
We recommend building UIs with a{' '}
|
|
26
|
-
<a href="https://componentdriven.org" target="_blank" rel="noopener noreferrer">
|
|
27
|
-
<strong>component-driven</strong>
|
|
28
|
-
</a>{' '}
|
|
29
|
-
process starting with atomic components and ending with pages.
|
|
30
|
-
</p>
|
|
31
|
-
<p>
|
|
32
|
-
Render pages with mock data. This makes it easy to build and review page states without
|
|
33
|
-
needing to navigate to them in your app. Here are some handy patterns for managing page
|
|
34
|
-
data in Storybook:
|
|
35
|
-
</p>
|
|
36
|
-
<ul>
|
|
37
|
-
<li>
|
|
38
|
-
Use a higher-level connected component. Storybook helps you compose such data from the
|
|
39
|
-
"args" of child component stories
|
|
40
|
-
</li>
|
|
41
|
-
<li>
|
|
42
|
-
Assemble data in the page component from your services. You can mock these services out
|
|
43
|
-
using Storybook.
|
|
44
|
-
</li>
|
|
45
|
-
</ul>
|
|
46
|
-
<p>
|
|
47
|
-
Get a guided tutorial on component-driven development at{' '}
|
|
48
|
-
<a href="https://storybook.js.org/tutorials/" target="_blank" rel="noopener noreferrer">
|
|
49
|
-
Storybook tutorials
|
|
50
|
-
</a>
|
|
51
|
-
. Read more in the{' '}
|
|
52
|
-
<a href="https://storybook.js.org/docs" target="_blank" rel="noopener noreferrer">
|
|
53
|
-
docs
|
|
54
|
-
</a>
|
|
55
|
-
.
|
|
56
|
-
</p>
|
|
57
|
-
<div className="tip-wrapper">
|
|
58
|
-
<span className="tip">Tip</span> Adjust the width of the canvas with the{' '}
|
|
59
|
-
<svg width="10" height="10" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
|
60
|
-
<g fill="none" fillRule="evenodd">
|
|
61
|
-
<path
|
|
62
|
-
d="M1.5 5.2h4.8c.3 0 .5.2.5.4v5.1c-.1.2-.3.3-.4.3H1.4a.5.5 0 01-.5-.4V5.7c0-.3.2-.5.5-.5zm0-2.1h6.9c.3 0 .5.2.5.4v7a.5.5 0 01-1 0V4H1.5a.5.5 0 010-1zm0-2.1h9c.3 0 .5.2.5.4v9.1a.5.5 0 01-1 0V2H1.5a.5.5 0 010-1zm4.3 5.2H2V10h3.8V6.2z"
|
|
63
|
-
id="a"
|
|
64
|
-
fill="#999"
|
|
65
|
-
/>
|
|
66
|
-
</g>
|
|
67
|
-
</svg>
|
|
68
|
-
Viewports addon in the toolbar
|
|
69
|
-
</div>
|
|
70
|
-
</section>
|
|
71
|
-
</article>
|
|
72
|
-
);
|
|
73
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none" viewBox="0 0 48 48"><title>Accessibility</title><circle cx="24.334" cy="24" r="24" fill="#A849FF" fill-opacity=".3"/><path fill="#A470D5" fill-rule="evenodd" d="M27.8609 11.585C27.8609 9.59506 26.2497 7.99023 24.2519 7.99023C22.254 7.99023 20.6429 9.65925 20.6429 11.585C20.6429 13.575 22.254 15.1799 24.2519 15.1799C26.2497 15.1799 27.8609 13.575 27.8609 11.585ZM21.8922 22.6473C21.8467 23.9096 21.7901 25.4788 21.5897 26.2771C20.9853 29.0462 17.7348 36.3314 17.3325 37.2275C17.1891 37.4923 17.1077 37.7955 17.1077 38.1178C17.1077 39.1519 17.946 39.9902 18.9802 39.9902C19.6587 39.9902 20.253 39.6293 20.5814 39.0889L20.6429 38.9874L24.2841 31.22C24.2841 31.22 27.5529 37.9214 27.9238 38.6591C28.2948 39.3967 28.8709 39.9902 29.7168 39.9902C30.751 39.9902 31.5893 39.1519 31.5893 38.1178C31.5893 37.7951 31.3639 37.2265 31.3639 37.2265C30.9581 36.3258 27.698 29.0452 27.0938 26.2771C26.8975 25.4948 26.847 23.9722 26.8056 22.7236C26.7927 22.333 26.7806 21.9693 26.7653 21.6634C26.7008 21.214 27.0231 20.8289 27.4097 20.7005L35.3366 18.3253C36.3033 18.0685 36.8834 16.9773 36.6256 16.0144C36.3678 15.0515 35.2722 14.4737 34.3055 14.7305C34.3055 14.7305 26.8619 17.1057 24.2841 17.1057C21.7062 17.1057 14.456 14.7947 14.456 14.7947C13.4893 14.5379 12.3937 14.9873 12.0715 15.9502C11.7493 16.9131 12.3293 18.0044 13.3604 18.3253L21.2873 20.7005C21.674 20.8289 21.9318 21.214 21.9318 21.6634C21.9174 21.9493 21.9053 22.2857 21.8922 22.6473Z" clip-rule="evenodd"/></svg>
|
|
Binary file
|
package/src/stories/button.css
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
.storybook-button {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
cursor: pointer;
|
|
4
|
-
border: 0;
|
|
5
|
-
border-radius: 3em;
|
|
6
|
-
font-weight: 700;
|
|
7
|
-
line-height: 1;
|
|
8
|
-
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
9
|
-
}
|
|
10
|
-
.storybook-button--primary {
|
|
11
|
-
background-color: #555ab9;
|
|
12
|
-
color: white;
|
|
13
|
-
}
|
|
14
|
-
.storybook-button--secondary {
|
|
15
|
-
box-shadow: rgba(0, 0, 0, 0.15) 0 0 0 1px inset;
|
|
16
|
-
background-color: transparent;
|
|
17
|
-
color: #333;
|
|
18
|
-
}
|
|
19
|
-
.storybook-button--small {
|
|
20
|
-
padding: 10px 16px;
|
|
21
|
-
font-size: 12px;
|
|
22
|
-
}
|
|
23
|
-
.storybook-button--medium {
|
|
24
|
-
padding: 11px 20px;
|
|
25
|
-
font-size: 14px;
|
|
26
|
-
}
|
|
27
|
-
.storybook-button--large {
|
|
28
|
-
padding: 12px 24px;
|
|
29
|
-
font-size: 16px;
|
|
30
|
-
}
|
package/src/stories/header.css
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
.storybook-header {
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: space-between;
|
|
4
|
-
align-items: center;
|
|
5
|
-
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
6
|
-
padding: 15px 20px;
|
|
7
|
-
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.storybook-header svg {
|
|
11
|
-
display: inline-block;
|
|
12
|
-
vertical-align: top;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.storybook-header h1 {
|
|
16
|
-
display: inline-block;
|
|
17
|
-
vertical-align: top;
|
|
18
|
-
margin: 6px 0 6px 10px;
|
|
19
|
-
font-weight: 700;
|
|
20
|
-
font-size: 20px;
|
|
21
|
-
line-height: 1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.storybook-header button + button {
|
|
25
|
-
margin-left: 10px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.storybook-header .welcome {
|
|
29
|
-
margin-right: 10px;
|
|
30
|
-
color: #333;
|
|
31
|
-
font-size: 14px;
|
|
32
|
-
}
|
package/src/stories/icons.css
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
.storybook-button {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
cursor: pointer;
|
|
4
|
-
border: 0;
|
|
5
|
-
border-radius: 3em;
|
|
6
|
-
font-weight: 700;
|
|
7
|
-
line-height: 1;
|
|
8
|
-
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.icon-wrapper {
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
gap: 8px;
|
|
16
|
-
flex-wrap: wrap;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
.storybook-button--primary {
|
|
21
|
-
background-color: #555ab9;
|
|
22
|
-
color: white;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.storybook-button--secondary {
|
|
26
|
-
box-shadow: rgba(0, 0, 0, 0.15) 0 0 0 1px inset;
|
|
27
|
-
background-color: transparent;
|
|
28
|
-
color: #333;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.storybook-button--small {
|
|
32
|
-
padding: 10px 16px;
|
|
33
|
-
font-size: 12px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.storybook-button--medium {
|
|
37
|
-
padding: 11px 20px;
|
|
38
|
-
font-size: 14px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.storybook-button--large {
|
|
42
|
-
padding: 12px 24px;
|
|
43
|
-
font-size: 16px;
|
|
44
|
-
}
|
package/src/stories/page.css
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
.storybook-page {
|
|
2
|
-
margin: 0 auto;
|
|
3
|
-
padding: 48px 20px;
|
|
4
|
-
max-width: 600px;
|
|
5
|
-
color: #333;
|
|
6
|
-
font-size: 14px;
|
|
7
|
-
line-height: 24px;
|
|
8
|
-
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.storybook-page h2 {
|
|
12
|
-
display: inline-block;
|
|
13
|
-
vertical-align: top;
|
|
14
|
-
margin: 0 0 4px;
|
|
15
|
-
font-weight: 700;
|
|
16
|
-
font-size: 32px;
|
|
17
|
-
line-height: 1;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.storybook-page p {
|
|
21
|
-
margin: 1em 0;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.storybook-page a {
|
|
25
|
-
color: inherit;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.storybook-page ul {
|
|
29
|
-
margin: 1em 0;
|
|
30
|
-
padding-left: 30px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.storybook-page li {
|
|
34
|
-
margin-bottom: 8px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.storybook-page .tip {
|
|
38
|
-
display: inline-block;
|
|
39
|
-
vertical-align: top;
|
|
40
|
-
margin-right: 10px;
|
|
41
|
-
border-radius: 1em;
|
|
42
|
-
background: #e7fdd8;
|
|
43
|
-
padding: 4px 12px;
|
|
44
|
-
color: #357a14;
|
|
45
|
-
font-weight: 700;
|
|
46
|
-
font-size: 11px;
|
|
47
|
-
line-height: 12px;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.storybook-page .tip-wrapper {
|
|
51
|
-
margin-top: 40px;
|
|
52
|
-
margin-bottom: 40px;
|
|
53
|
-
font-size: 13px;
|
|
54
|
-
line-height: 20px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.storybook-page .tip-wrapper svg {
|
|
58
|
-
display: inline-block;
|
|
59
|
-
vertical-align: top;
|
|
60
|
-
margin-top: 3px;
|
|
61
|
-
margin-right: 4px;
|
|
62
|
-
width: 12px;
|
|
63
|
-
height: 12px;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.storybook-page .tip-wrapper svg path {
|
|
67
|
-
fill: #1ea7fd;
|
|
68
|
-
}
|
|
File without changes
|
|
File without changes
|
/package/{src/stories/assets/assets.png → storybook-static/static/media/assets.e6440a95.png}
RENAMED
|
File without changes
|
/package/{src/stories/assets/context.png → storybook-static/static/media/context.645728c6.png}
RENAMED
|
File without changes
|
/package/{src/stories/assets/discord.svg → storybook-static/static/media/discord.d85804c7.svg}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{src/stories/assets/github.svg → storybook-static/static/media/github.e4e8df82.svg}
RENAMED
|
File without changes
|
|
File without changes
|
/package/{src/stories/assets/styling.png → storybook-static/static/media/styling.38cab73b.png}
RENAMED
|
File without changes
|
/package/{src/stories/assets/testing.png → storybook-static/static/media/testing.c720ced2.png}
RENAMED
|
File without changes
|
/package/{src/stories/assets/theming.png → storybook-static/static/media/theming.e93de094.png}
RENAMED
|
File without changes
|
/package/{src/stories/assets/tutorials.svg → storybook-static/static/media/tutorials.fde6e46f.svg}
RENAMED
|
File without changes
|
/package/{src/stories/assets/youtube.svg → storybook-static/static/media/youtube.fd046a09.svg}
RENAMED
|
File without changes
|