@platformatic/ui-components 0.1.5 → 0.1.7
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/assets/{index.e67c83bd.js → index.fcbe6de7.js} +14 -14
- package/dist/index.html +2 -2
- package/dist/platformatic-ui.css +1 -0
- package/index.js +2 -2
- package/package.json +1 -1
- package/src/components/Api/ApiIcon.jsx +28 -0
- package/src/components/Api/ApiIconClosed.jsx +18 -0
- package/src/components/Api/Footer.jsx +2 -2
- package/src/components/ApiDetail.jsx +1 -2
- package/src/components/{Api.jsx → ApiSummary.jsx} +7 -10
- package/src/components/LoginButton.jsx +8 -8
- package/src/components/LoginButton.module.css +6 -2
- package/src/stories/ApiDetail.stories.jsx +43 -0
- package/src/stories/ApiSummary.stories.jsx +43 -0
- package/src/stories/BorderedBox.stories.jsx +1 -1
- package/src/stories/BorderedText.stories.jsx +24 -0
- package/src/stories/Button.stories.jsx +13 -13
- package/src/stories/GHLoginButton.stories.jsx +1 -1
- package/src/stories/LoginButton.stories.jsx +2 -2
- package/tailwind.config.cjs +5 -1
- package/dist/assets/index.2da5d0ca.css +0 -1
- package/src/stories/Header.jsx +0 -57
- package/src/stories/Header.stories.jsx +0 -24
- package/src/stories/Page.jsx +0 -69
- package/src/stories/Page.stories.jsx +0 -25
- package/src/stories/header.css +0 -32
- package/src/stories/page.css +0 -69
- package/storybook-static/0.53758dff751ed2733218.manager.bundle.js +0 -2
- package/storybook-static/0.53758dff751ed2733218.manager.bundle.js.LICENSE.txt +0 -8
- package/storybook-static/1.9d13fd5be5dcb92d80a6.manager.bundle.js +0 -1
- package/storybook-static/5.410945cbec993452eed2.manager.bundle.js +0 -2
- package/storybook-static/5.410945cbec993452eed2.manager.bundle.js.LICENSE.txt +0 -31
- package/storybook-static/6.9ef90ca53c7deb768ec6.manager.bundle.js +0 -1
- package/storybook-static/7.47a294f1c5761295c4cb.manager.bundle.js +0 -1
- package/storybook-static/8.35b89a87599812bb0515.manager.bundle.js +0 -2
- package/storybook-static/8.35b89a87599812bb0515.manager.bundle.js.LICENSE.txt +0 -12
- package/storybook-static/9.d19ea1957ceb9893827c.manager.bundle.js +0 -1
- package/storybook-static/api-icon-closed.svg +0 -6
- package/storybook-static/api-icon.svg +0 -9
- package/storybook-static/assets/BorderedBox.stories.8d7654fe.css +0 -1
- package/storybook-static/assets/BorderedBox.stories.f9bbae3a.js +0 -26
- package/storybook-static/assets/BorderedBox.stories.f9bbae3a.js.map +0 -1
- package/storybook-static/assets/Button.7e305135.js +0 -2
- package/storybook-static/assets/Button.7e305135.js.map +0 -1
- package/storybook-static/assets/Button.bc1a867b.css +0 -1
- package/storybook-static/assets/Button.stories.8d745781.js +0 -42
- package/storybook-static/assets/Button.stories.8d745781.js.map +0 -1
- package/storybook-static/assets/Color-f953d088.a38b7cbd.js +0 -3
- package/storybook-static/assets/Color-f953d088.a38b7cbd.js.map +0 -1
- package/storybook-static/assets/GlobalScrollAreaStyles-8793ce4a.cf1537f5.js +0 -2
- package/storybook-static/assets/GlobalScrollAreaStyles-8793ce4a.cf1537f5.js.map +0 -1
- package/storybook-static/assets/Header.4fc7684b.css +0 -1
- package/storybook-static/assets/Header.cf6306b0.js +0 -2
- package/storybook-static/assets/Header.cf6306b0.js.map +0 -1
- package/storybook-static/assets/Header.stories.17ffb615.js +0 -26
- package/storybook-static/assets/Header.stories.17ffb615.js.map +0 -1
- package/storybook-static/assets/Introduction.stories.bc0afbca.js +0 -105
- package/storybook-static/assets/Introduction.stories.bc0afbca.js.map +0 -1
- package/storybook-static/assets/LoginButton.stories.10ae424d.js +0 -776
- package/storybook-static/assets/LoginButton.stories.10ae424d.js.map +0 -1
- package/storybook-static/assets/LoginButton.stories.edf744f1.css +0 -1
- package/storybook-static/assets/OverlayScrollbars-1355f44c.fce02603.js +0 -18
- package/storybook-static/assets/OverlayScrollbars-1355f44c.fce02603.js.map +0 -1
- package/storybook-static/assets/Page.stories.0913ba40.css +0 -1
- package/storybook-static/assets/Page.stories.76f6205c.js +0 -84
- package/storybook-static/assets/Page.stories.76f6205c.js.map +0 -1
- package/storybook-static/assets/Props.8d39388f.js +0 -187
- package/storybook-static/assets/Props.8d39388f.js.map +0 -1
- package/storybook-static/assets/WithTooltip-167e9982.ebb6fc8d.js +0 -11
- package/storybook-static/assets/WithTooltip-167e9982.ebb6fc8d.js.map +0 -1
- package/storybook-static/assets/client.177c4b3e.js +0 -2
- package/storybook-static/assets/client.177c4b3e.js.map +0 -1
- package/storybook-static/assets/code-brackets.9ef6443e.svg +0 -1
- package/storybook-static/assets/colors.ac9401f3.svg +0 -1
- package/storybook-static/assets/comments.f15a6837.svg +0 -1
- package/storybook-static/assets/config.3c15c657.js +0 -74
- package/storybook-static/assets/config.3c15c657.js.map +0 -1
- package/storybook-static/assets/config.be729574.js +0 -2
- package/storybook-static/assets/config.be729574.js.map +0 -1
- package/storybook-static/assets/direction.94a9917f.svg +0 -1
- package/storybook-static/assets/es.map.constructor.bc2f31bd.js +0 -2
- package/storybook-static/assets/es.map.constructor.bc2f31bd.js.map +0 -1
- package/storybook-static/assets/es.number.to-fixed.db152345.js +0 -2
- package/storybook-static/assets/es.number.to-fixed.db152345.js.map +0 -1
- package/storybook-static/assets/es.regexp.flags.ebae2243.js +0 -2
- package/storybook-static/assets/es.regexp.flags.ebae2243.js.map +0 -1
- package/storybook-static/assets/es.string.from-code-point.e6202842.js +0 -2
- package/storybook-static/assets/es.string.from-code-point.e6202842.js.map +0 -1
- package/storybook-static/assets/flow.275142c6.svg +0 -1
- package/storybook-static/assets/formatter-0d5cb0eb.aebafedb.js +0 -297
- package/storybook-static/assets/formatter-0d5cb0eb.aebafedb.js.map +0 -1
- package/storybook-static/assets/iframe.aab06436.js +0 -153
- package/storybook-static/assets/iframe.aab06436.js.map +0 -1
- package/storybook-static/assets/index.7df59845.js +0 -2
- package/storybook-static/assets/index.7df59845.js.map +0 -1
- package/storybook-static/assets/index.814c1dee.js +0 -9
- package/storybook-static/assets/index.814c1dee.js.map +0 -1
- package/storybook-static/assets/index.c7ae27b6.js +0 -25
- package/storybook-static/assets/index.c7ae27b6.js.map +0 -1
- package/storybook-static/assets/index.f76a1af3.js +0 -2
- package/storybook-static/assets/index.f76a1af3.js.map +0 -1
- package/storybook-static/assets/instrumenter.3eab649e.js +0 -4
- package/storybook-static/assets/instrumenter.3eab649e.js.map +0 -1
- package/storybook-static/assets/jsx-runtime.e2ea81d7.js +0 -18
- package/storybook-static/assets/jsx-runtime.e2ea81d7.js.map +0 -1
- package/storybook-static/assets/make-decorator.7fb2aeb9.js +0 -3
- package/storybook-static/assets/make-decorator.7fb2aeb9.js.map +0 -1
- package/storybook-static/assets/plugin.57148314.svg +0 -1
- package/storybook-static/assets/preview.0975d66e.js +0 -3
- package/storybook-static/assets/preview.0975d66e.js.map +0 -1
- package/storybook-static/assets/preview.38b4e44b.js +0 -14
- package/storybook-static/assets/preview.38b4e44b.js.map +0 -1
- package/storybook-static/assets/preview.4099ceae.js +0 -2
- package/storybook-static/assets/preview.4099ceae.js.map +0 -1
- package/storybook-static/assets/preview.43118df9.js +0 -26
- package/storybook-static/assets/preview.43118df9.js.map +0 -1
- package/storybook-static/assets/preview.4dfec941.js +0 -2
- package/storybook-static/assets/preview.4dfec941.js.map +0 -1
- package/storybook-static/assets/preview.b37e665b.js +0 -397
- package/storybook-static/assets/preview.b37e665b.js.map +0 -1
- package/storybook-static/assets/preview.b8ebcf81.css +0 -1
- package/storybook-static/assets/preview.cc910bd3.js +0 -2
- package/storybook-static/assets/preview.cc910bd3.js.map +0 -1
- package/storybook-static/assets/preview.f14efd1d.js +0 -3
- package/storybook-static/assets/preview.f14efd1d.js.map +0 -1
- package/storybook-static/assets/renderDocs.4312919d.js +0 -2
- package/storybook-static/assets/renderDocs.4312919d.js.map +0 -1
- package/storybook-static/assets/repo.fb4ece47.svg +0 -1
- package/storybook-static/assets/stackalt.2ad81543.svg +0 -1
- package/storybook-static/assets/string.6cc73134.js +0 -2
- package/storybook-static/assets/string.6cc73134.js.map +0 -1
- package/storybook-static/assets/syntaxhighlighter-b07b042a.04697fcf.js +0 -16
- package/storybook-static/assets/syntaxhighlighter-b07b042a.04697fcf.js.map +0 -1
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/iframe.html +0 -486
- package/storybook-static/index.html +0 -59
- package/storybook-static/main.1e2c996516b3b52674de.manager.bundle.js +0 -1
- package/storybook-static/project.json +0 -1
- package/storybook-static/runtime~main.904779a78e0adff8f659.manager.bundle.js +0 -1
- package/storybook-static/stories.json +0 -1
- package/storybook-static/vendors~main.ab297a8d7023057bddf0.manager.bundle.js +0 -2
- package/storybook-static/vendors~main.ab297a8d7023057bddf0.manager.bundle.js.LICENSE.txt +0 -107
- package/storybook-static/vite.svg +0 -1
|
Binary file
|
|
@@ -1,486 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<!--suppress HtmlUnknownTarget -->
|
|
3
|
-
<html lang="en">
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="utf-8" />
|
|
6
|
-
<title>Storybook</title>
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
8
|
-
<script>
|
|
9
|
-
window.CONFIG_TYPE = 'PRODUCTION';
|
|
10
|
-
window.LOGLEVEL = 'info';
|
|
11
|
-
window.FRAMEWORK_OPTIONS = {};
|
|
12
|
-
window.CHANNEL_OPTIONS = {};
|
|
13
|
-
window.FEATURES = {"postcss":true,"emotionAlias":false,"warnOnLegacyHierarchySeparator":true,"buildStoriesJson":false,"storyStoreV7":true,"modernInlineRender":false,"breakingChangesV7":false,"interactionsDebugger":false,"babelModeV7":false,"argTypeTargetsV7":false,"previewMdx2":false};
|
|
14
|
-
window.STORIES = [{"titlePrefix":"","directory":"./src","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}];
|
|
15
|
-
window.SERVER_CHANNEL_URL = undefined;
|
|
16
|
-
|
|
17
|
-
// We do this so that "module && module.hot" etc. in Storybook source code
|
|
18
|
-
// doesn't fail (it will simply be disabled)
|
|
19
|
-
window.module = undefined;
|
|
20
|
-
</script>
|
|
21
|
-
<base target="_parent" />
|
|
22
|
-
|
|
23
|
-
<style>
|
|
24
|
-
/* While we aren't showing the main block yet, but still preparing, we want everything the user
|
|
25
|
-
has rendered, which may or may not be in #root, to be display none */
|
|
26
|
-
.sb-show-preparing-story:not(.sb-show-main) > :not(.sb-preparing-story) {
|
|
27
|
-
display: none;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.sb-show-preparing-docs:not(.sb-show-main) > :not(.sb-preparing-docs) {
|
|
31
|
-
display: none;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/* Hide our own blocks when we aren't supposed to be showing them */
|
|
35
|
-
:not(.sb-show-preparing-story) > .sb-preparing-story,
|
|
36
|
-
:not(.sb-show-preparing-docs) > .sb-preparing-docs,
|
|
37
|
-
:not(.sb-show-nopreview) > .sb-nopreview,
|
|
38
|
-
:not(.sb-show-errordisplay) > .sb-errordisplay {
|
|
39
|
-
display: none;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.sb-show-main.sb-main-centered {
|
|
43
|
-
margin: 0;
|
|
44
|
-
display: flex;
|
|
45
|
-
align-items: center;
|
|
46
|
-
min-height: 100vh;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.sb-show-main.sb-main-centered #root {
|
|
50
|
-
box-sizing: border-box;
|
|
51
|
-
margin: auto;
|
|
52
|
-
padding: 1rem;
|
|
53
|
-
max-height: 100%; /* Hack for centering correctly in IE11 */
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/* Vertical centering fix for IE11 */
|
|
57
|
-
@media screen and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
58
|
-
.sb-show-main.sb-main-centered:after {
|
|
59
|
-
content: '';
|
|
60
|
-
min-height: inherit;
|
|
61
|
-
font-size: 0;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.sb-show-main.sb-main-fullscreen {
|
|
66
|
-
margin: 0;
|
|
67
|
-
padding: 0;
|
|
68
|
-
display: block;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.sb-show-main.sb-main-padded {
|
|
72
|
-
margin: 0;
|
|
73
|
-
padding: 1rem;
|
|
74
|
-
display: block;
|
|
75
|
-
box-sizing: border-box;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.sb-wrapper {
|
|
79
|
-
position: fixed;
|
|
80
|
-
top: 0;
|
|
81
|
-
bottom: 0;
|
|
82
|
-
left: 0;
|
|
83
|
-
right: 0;
|
|
84
|
-
padding: 20px;
|
|
85
|
-
font-family: 'Nunito Sans', -apple-system, '.SFNSText-Regular', 'San Francisco',
|
|
86
|
-
BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
87
|
-
-webkit-font-smoothing: antialiased;
|
|
88
|
-
overflow: auto;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.sb-heading {
|
|
92
|
-
font-size: 14px;
|
|
93
|
-
font-weight: 600;
|
|
94
|
-
letter-spacing: 0.2px;
|
|
95
|
-
margin: 10px 0;
|
|
96
|
-
padding-right: 25px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.sb-nopreview {
|
|
100
|
-
display: flex;
|
|
101
|
-
align-content: center;
|
|
102
|
-
justify-content: center;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.sb-nopreview_main {
|
|
106
|
-
margin: auto;
|
|
107
|
-
padding: 30px;
|
|
108
|
-
border-radius: 10px;
|
|
109
|
-
background: rgba(0, 0, 0, 0.03);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.sb-nopreview_heading {
|
|
113
|
-
text-align: center;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.sb-errordisplay {
|
|
117
|
-
border: 20px solid rgb(187, 49, 49);
|
|
118
|
-
background: #222;
|
|
119
|
-
color: #fff;
|
|
120
|
-
z-index: 999999;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.sb-errordisplay_code {
|
|
124
|
-
padding: 10px;
|
|
125
|
-
background: #000;
|
|
126
|
-
color: #eee;
|
|
127
|
-
font-family: 'Operator Mono', 'Fira Code Retina', 'Fira Code', 'FiraCode-Retina', 'Andale Mono',
|
|
128
|
-
'Lucida Console', Consolas, Monaco, monospace;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.sb-errordisplay pre {
|
|
132
|
-
white-space: pre-wrap;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
@-webkit-keyframes sb-rotate360 {
|
|
136
|
-
from {
|
|
137
|
-
transform: rotate(0deg);
|
|
138
|
-
}
|
|
139
|
-
to {
|
|
140
|
-
transform: rotate(360deg);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
@keyframes sb-rotate360 {
|
|
144
|
-
from {
|
|
145
|
-
transform: rotate(0deg);
|
|
146
|
-
}
|
|
147
|
-
to {
|
|
148
|
-
transform: rotate(360deg);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
@-webkit-keyframes sb-glow {
|
|
152
|
-
0%,
|
|
153
|
-
100% {
|
|
154
|
-
opacity: 1;
|
|
155
|
-
}
|
|
156
|
-
50% {
|
|
157
|
-
opacity: 0.4;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
@keyframes sb-glow {
|
|
161
|
-
0%,
|
|
162
|
-
100% {
|
|
163
|
-
opacity: 1;
|
|
164
|
-
}
|
|
165
|
-
50% {
|
|
166
|
-
opacity: 0.4;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
/* We display the preparing loaders *over* the rendering story */
|
|
171
|
-
.sb-preparing-story,
|
|
172
|
-
.sb-preparing-docs {
|
|
173
|
-
background-color: white;
|
|
174
|
-
/* Maximum possible z-index. It would be better to use stacking contexts to ensure it's always
|
|
175
|
-
on top, but this isn't possible as it would require making CSS changes that could affect user code */
|
|
176
|
-
z-index: 2147483647;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.sb-loader {
|
|
180
|
-
-webkit-animation: sb-rotate360 0.7s linear infinite;
|
|
181
|
-
animation: sb-rotate360 0.7s linear infinite;
|
|
182
|
-
border-color: rgba(97, 97, 97, 0.29);
|
|
183
|
-
border-radius: 50%;
|
|
184
|
-
border-style: solid;
|
|
185
|
-
border-top-color: #646464;
|
|
186
|
-
border-width: 2px;
|
|
187
|
-
display: inline-block;
|
|
188
|
-
height: 32px;
|
|
189
|
-
left: 50%;
|
|
190
|
-
margin-left: -16px;
|
|
191
|
-
margin-top: -16px;
|
|
192
|
-
mix-blend-mode: difference;
|
|
193
|
-
overflow: hidden;
|
|
194
|
-
position: absolute;
|
|
195
|
-
top: 50%;
|
|
196
|
-
transition: all 200ms ease-out;
|
|
197
|
-
vertical-align: top;
|
|
198
|
-
width: 32px;
|
|
199
|
-
z-index: 4;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.sb-previewBlock {
|
|
203
|
-
background: #fff;
|
|
204
|
-
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
205
|
-
border-radius: 4px;
|
|
206
|
-
box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 0;
|
|
207
|
-
margin: 25px auto 40px;
|
|
208
|
-
max-width: 600px;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.sb-previewBlock_header {
|
|
212
|
-
align-items: center;
|
|
213
|
-
box-shadow: rgba(0, 0, 0, 0.1) 0 -1px 0 0 inset;
|
|
214
|
-
display: flex;
|
|
215
|
-
gap: 14px;
|
|
216
|
-
height: 40px;
|
|
217
|
-
padding: 0 12px;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.sb-previewBlock_icon {
|
|
221
|
-
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
222
|
-
animation: sb-glow 1.5s ease-in-out infinite;
|
|
223
|
-
background: #e6e6e6;
|
|
224
|
-
height: 14px;
|
|
225
|
-
width: 14px;
|
|
226
|
-
}
|
|
227
|
-
.sb-previewBlock_icon:last-child {
|
|
228
|
-
margin-left: auto;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.sb-previewBlock_body {
|
|
232
|
-
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
233
|
-
animation: sb-glow 1.5s ease-in-out infinite;
|
|
234
|
-
height: 182px;
|
|
235
|
-
position: relative;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.sb-argstableBlock {
|
|
239
|
-
border-collapse: collapse;
|
|
240
|
-
border-spacing: 0;
|
|
241
|
-
font-size: 13px;
|
|
242
|
-
line-height: 20px;
|
|
243
|
-
margin: 25px auto 40px;
|
|
244
|
-
max-width: 600px;
|
|
245
|
-
text-align: left;
|
|
246
|
-
width: 100%;
|
|
247
|
-
}
|
|
248
|
-
.sb-argstableBlock th:first-of-type,
|
|
249
|
-
.sb-argstableBlock td:first-of-type {
|
|
250
|
-
padding-left: 20px;
|
|
251
|
-
}
|
|
252
|
-
.sb-argstableBlock th:nth-of-type(2),
|
|
253
|
-
.sb-argstableBlock td:nth-of-type(2) {
|
|
254
|
-
width: 35%;
|
|
255
|
-
}
|
|
256
|
-
.sb-argstableBlock th:nth-of-type(3),
|
|
257
|
-
.sb-argstableBlock td:nth-of-type(3) {
|
|
258
|
-
width: 15%;
|
|
259
|
-
}
|
|
260
|
-
.sb-argstableBlock th:last-of-type,
|
|
261
|
-
.sb-argstableBlock td:last-of-type {
|
|
262
|
-
width: 25%;
|
|
263
|
-
padding-right: 20px;
|
|
264
|
-
}
|
|
265
|
-
.sb-argstableBlock th span,
|
|
266
|
-
.sb-argstableBlock td span {
|
|
267
|
-
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
268
|
-
animation: sb-glow 1.5s ease-in-out infinite;
|
|
269
|
-
background-color: rgba(0, 0, 0, 0.1);
|
|
270
|
-
border-radius: 0;
|
|
271
|
-
box-shadow: none;
|
|
272
|
-
color: transparent;
|
|
273
|
-
}
|
|
274
|
-
.sb-argstableBlock th {
|
|
275
|
-
padding: 10px 15px;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.sb-argstableBlock-body {
|
|
279
|
-
border-radius: 4px;
|
|
280
|
-
box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 1px, rgba(0, 0, 0, 0.065) 0 0 0 1px;
|
|
281
|
-
}
|
|
282
|
-
.sb-argstableBlock-body tr {
|
|
283
|
-
background: transparent;
|
|
284
|
-
overflow: hidden;
|
|
285
|
-
}
|
|
286
|
-
.sb-argstableBlock-body tr:not(:first-child) {
|
|
287
|
-
border-top: 1px solid #e6e6e6;
|
|
288
|
-
}
|
|
289
|
-
.sb-argstableBlock-body tr:first-child td:first-child {
|
|
290
|
-
border-top-left-radius: 4px;
|
|
291
|
-
}
|
|
292
|
-
.sb-argstableBlock-body tr:first-child td:last-child {
|
|
293
|
-
border-top-right-radius: 4px;
|
|
294
|
-
}
|
|
295
|
-
.sb-argstableBlock-body tr:last-child td:first-child {
|
|
296
|
-
border-bottom-left-radius: 4px;
|
|
297
|
-
}
|
|
298
|
-
.sb-argstableBlock-body tr:last-child td:last-child {
|
|
299
|
-
border-bottom-right-radius: 4px;
|
|
300
|
-
}
|
|
301
|
-
.sb-argstableBlock-body td {
|
|
302
|
-
background: #fff;
|
|
303
|
-
padding-bottom: 10px;
|
|
304
|
-
padding-top: 10px;
|
|
305
|
-
vertical-align: top;
|
|
306
|
-
}
|
|
307
|
-
.sb-argstableBlock-body td:not(:first-of-type) {
|
|
308
|
-
padding-left: 15px;
|
|
309
|
-
padding-right: 15px;
|
|
310
|
-
}
|
|
311
|
-
.sb-argstableBlock-body button {
|
|
312
|
-
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
313
|
-
animation: sb-glow 1.5s ease-in-out infinite;
|
|
314
|
-
background-color: rgba(0, 0, 0, 0.1);
|
|
315
|
-
border: 0;
|
|
316
|
-
border-radius: 0;
|
|
317
|
-
box-shadow: none;
|
|
318
|
-
color: transparent;
|
|
319
|
-
display: inline;
|
|
320
|
-
font-size: 12px;
|
|
321
|
-
line-height: 1;
|
|
322
|
-
padding: 10px 16px;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
.sb-argstableBlock-summary {
|
|
326
|
-
margin-top: 4px;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.sb-argstableBlock-code {
|
|
330
|
-
margin-right: 4px;
|
|
331
|
-
margin-bottom: 4px;
|
|
332
|
-
padding: 2px 5px;
|
|
333
|
-
}
|
|
334
|
-
</style>
|
|
335
|
-
|
|
336
|
-
<script>
|
|
337
|
-
/* globals window */
|
|
338
|
-
/* eslint-disable no-underscore-dangle */
|
|
339
|
-
try {
|
|
340
|
-
if (window.top !== window) {
|
|
341
|
-
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.top.__REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
342
|
-
window.__VUE_DEVTOOLS_GLOBAL_HOOK__ = window.top.__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
343
|
-
window.top.__VUE_DEVTOOLS_CONTEXT__ = window.document;
|
|
344
|
-
}
|
|
345
|
-
} catch (e) {
|
|
346
|
-
// eslint-disable-next-line no-console
|
|
347
|
-
console.warn('unable to connect to top frame for connecting dev tools');
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
window.onerror = function onerror(message, source, line, column, err) {
|
|
351
|
-
if (window.CONFIG_TYPE !== 'DEVELOPMENT') return;
|
|
352
|
-
// eslint-disable-next-line no-var, vars-on-top
|
|
353
|
-
var xhr = new window.XMLHttpRequest();
|
|
354
|
-
xhr.open('POST', '/runtime-error');
|
|
355
|
-
xhr.setRequestHeader('Content-Type', 'application/json;charset=UTF-8');
|
|
356
|
-
xhr.send(
|
|
357
|
-
JSON.stringify({
|
|
358
|
-
/* eslint-disable object-shorthand */
|
|
359
|
-
message: message,
|
|
360
|
-
source: source,
|
|
361
|
-
line: line,
|
|
362
|
-
column: column,
|
|
363
|
-
error: err && { message: err.message, name: err.name, stack: err.stack },
|
|
364
|
-
origin: 'preview',
|
|
365
|
-
/* eslint-enable object-shorthand */
|
|
366
|
-
})
|
|
367
|
-
);
|
|
368
|
-
};
|
|
369
|
-
</script>
|
|
370
|
-
<script>
|
|
371
|
-
window.global = window;
|
|
372
|
-
</script>
|
|
373
|
-
<script type="module" crossorigin src="/assets/iframe.aab06436.js"></script>
|
|
374
|
-
<style>
|
|
375
|
-
.sb-show-preparing-story:not(.sb-show-main) > :not(.sb-preparing-story) {
|
|
376
|
-
display: none;
|
|
377
|
-
}
|
|
378
|
-
.sb-show-preparing-docs:not(.sb-show-main) > :not(.sb-preparing-docs) {
|
|
379
|
-
display: none;
|
|
380
|
-
}
|
|
381
|
-
:not(.sb-show-preparing-story) > .sb-preparing-story,
|
|
382
|
-
:not(.sb-show-preparing-docs) > .sb-preparing-docs,
|
|
383
|
-
:not(.sb-show-nopreview) > .sb-nopreview,
|
|
384
|
-
:not(.sb-show-errordisplay) > .sb-errordisplay {
|
|
385
|
-
display: none;
|
|
386
|
-
}
|
|
387
|
-
#root[hidden],
|
|
388
|
-
#docs-root[hidden] {
|
|
389
|
-
display: none !important;
|
|
390
|
-
}
|
|
391
|
-
</style>
|
|
392
|
-
</head>
|
|
393
|
-
<body>
|
|
394
|
-
<div class="sb-preparing-story sb-wrapper">
|
|
395
|
-
<div class="sb-loader"></div>
|
|
396
|
-
</div>
|
|
397
|
-
|
|
398
|
-
<div class="sb-preparing-docs sb-wrapper">
|
|
399
|
-
<div class="sb-previewBlock">
|
|
400
|
-
<div class="sb-previewBlock_header">
|
|
401
|
-
<div class="sb-previewBlock_icon"></div>
|
|
402
|
-
<div class="sb-previewBlock_icon"></div>
|
|
403
|
-
<div class="sb-previewBlock_icon"></div>
|
|
404
|
-
<div class="sb-previewBlock_icon"></div>
|
|
405
|
-
</div>
|
|
406
|
-
<div class="sb-previewBlock_body">
|
|
407
|
-
<div class="sb-loader"></div>
|
|
408
|
-
</div>
|
|
409
|
-
</div>
|
|
410
|
-
<table aria-hidden="true" class="sb-argstableBlock">
|
|
411
|
-
<thead class="sb-argstableBlock-head">
|
|
412
|
-
<tr>
|
|
413
|
-
<th><span>Name</span></th>
|
|
414
|
-
<th><span>Description</span></th>
|
|
415
|
-
<th><span>Default</span></th>
|
|
416
|
-
<th><span>Control </span></th>
|
|
417
|
-
</tr>
|
|
418
|
-
</thead>
|
|
419
|
-
<tbody class="sb-argstableBlock-body">
|
|
420
|
-
<tr>
|
|
421
|
-
<td><span>propertyName</span><span title="Required">*</span></td>
|
|
422
|
-
<td>
|
|
423
|
-
<div><span>This is a short description</span></div>
|
|
424
|
-
<div class="sb-argstableBlock-summary">
|
|
425
|
-
<div><span class="sb-argstableBlock-code">summary</span></div>
|
|
426
|
-
</div>
|
|
427
|
-
</td>
|
|
428
|
-
<td>
|
|
429
|
-
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
|
430
|
-
</td>
|
|
431
|
-
<td><button>Set string</button></td>
|
|
432
|
-
</tr>
|
|
433
|
-
<tr>
|
|
434
|
-
<td><span>propertyName</span><span>*</span></td>
|
|
435
|
-
<td>
|
|
436
|
-
<div><span>This is a short description</span></div>
|
|
437
|
-
<div class="sb-argstableBlock-summary">
|
|
438
|
-
<div><span class="sb-argstableBlock-code">summary</span></div>
|
|
439
|
-
</div>
|
|
440
|
-
</td>
|
|
441
|
-
<td>
|
|
442
|
-
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
|
443
|
-
</td>
|
|
444
|
-
<td><button>Set string</button></td>
|
|
445
|
-
</tr>
|
|
446
|
-
<tr>
|
|
447
|
-
<td><span>propertyName</span><span>*</span></td>
|
|
448
|
-
<td>
|
|
449
|
-
<div><span>This is a short description</span></div>
|
|
450
|
-
<div class="sb-argstableBlock-summary">
|
|
451
|
-
<div><span class="sb-argstableBlock-code">summary</span></div>
|
|
452
|
-
</div>
|
|
453
|
-
</td>
|
|
454
|
-
<td>
|
|
455
|
-
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
|
456
|
-
</td>
|
|
457
|
-
<td><button>Set string</button></td>
|
|
458
|
-
</tr>
|
|
459
|
-
</tbody>
|
|
460
|
-
</table>
|
|
461
|
-
</div>
|
|
462
|
-
|
|
463
|
-
<div class="sb-nopreview sb-wrapper">
|
|
464
|
-
<div class="sb-nopreview_main">
|
|
465
|
-
<h1 class="sb-nopreview_heading sb-heading">No Preview</h1>
|
|
466
|
-
<p>Sorry, but you either have no stories or none are selected somehow.</p>
|
|
467
|
-
<ul>
|
|
468
|
-
<li>Please check the Storybook config.</li>
|
|
469
|
-
<li>Try reloading the page.</li>
|
|
470
|
-
</ul>
|
|
471
|
-
<p>
|
|
472
|
-
If the problem persists, check the browser console, or the terminal you've run Storybook from.
|
|
473
|
-
</p>
|
|
474
|
-
</div>
|
|
475
|
-
</div>
|
|
476
|
-
|
|
477
|
-
<div class="sb-errordisplay sb-wrapper">
|
|
478
|
-
<pre id="error-message" class="sb-heading"></pre>
|
|
479
|
-
<pre class="sb-errordisplay_code"><code id="error-stack"></code></pre>
|
|
480
|
-
</div>
|
|
481
|
-
|
|
482
|
-
<div id="root"></div>
|
|
483
|
-
<div id="docs-root"></div>
|
|
484
|
-
|
|
485
|
-
</body>
|
|
486
|
-
</html>
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><title>Webpack App</title><meta name="viewport" content="width=device-width,initial-scale=1"/><style>html, body {
|
|
2
|
-
overflow: hidden;
|
|
3
|
-
height: 100%;
|
|
4
|
-
width: 100%;
|
|
5
|
-
margin: 0;
|
|
6
|
-
padding: 0;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
* {
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
}</style><script>/* globals window */
|
|
12
|
-
/* eslint-disable no-underscore-dangle */
|
|
13
|
-
try {
|
|
14
|
-
if (window.top !== window) {
|
|
15
|
-
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.top.__REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
16
|
-
}
|
|
17
|
-
} catch (e) {
|
|
18
|
-
// eslint-disable-next-line no-console
|
|
19
|
-
console.warn('unable to connect to top frame for connecting dev tools');
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
window.onerror = function onerror(message, source, line, column, err) {
|
|
23
|
-
if (window.CONFIG_TYPE !== 'DEVELOPMENT') return;
|
|
24
|
-
// eslint-disable-next-line no-var, vars-on-top
|
|
25
|
-
var xhr = new window.XMLHttpRequest();
|
|
26
|
-
xhr.open('POST', '/runtime-error');
|
|
27
|
-
xhr.setRequestHeader('Content-Type', 'application/json;charset=UTF-8');
|
|
28
|
-
xhr.send(
|
|
29
|
-
JSON.stringify({
|
|
30
|
-
/* eslint-disable object-shorthand */
|
|
31
|
-
message: message,
|
|
32
|
-
source: source,
|
|
33
|
-
line: line,
|
|
34
|
-
column: column,
|
|
35
|
-
error: err && { message: err.message, name: err.name, stack: err.stack },
|
|
36
|
-
origin: 'manager',
|
|
37
|
-
/* eslint-enable object-shorthand */
|
|
38
|
-
})
|
|
39
|
-
);
|
|
40
|
-
};</script><style>#root[hidden],
|
|
41
|
-
#docs-root[hidden] {
|
|
42
|
-
display: none !important;
|
|
43
|
-
}</style></head><body><div id="root"></div><div id="docs-root"></div><script>window['CONFIG_TYPE'] = "PRODUCTION";
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
window['LOGLEVEL'] = "info";
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
window['FEATURES'] = {"postcss":true,"emotionAlias":false,"warnOnLegacyHierarchySeparator":true,"buildStoriesJson":false,"storyStoreV7":true,"modernInlineRender":false,"breakingChangesV7":false,"interactionsDebugger":false,"babelModeV7":false,"argTypeTargetsV7":false,"previewMdx2":false};
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
window['DOCS_MODE'] = false;</script><script src="runtime~main.904779a78e0adff8f659.manager.bundle.js"></script><script src="vendors~main.ab297a8d7023057bddf0.manager.bundle.js"></script><script src="main.1e2c996516b3b52674de.manager.bundle.js"></script></body></html>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{460:function(module,exports,__webpack_require__){__webpack_require__(461),__webpack_require__(827),__webpack_require__(831),__webpack_require__(832),__webpack_require__(828),__webpack_require__(825),__webpack_require__(824),__webpack_require__(826),__webpack_require__(823),__webpack_require__(829),__webpack_require__(830),module.exports=__webpack_require__(822)},507:function(module,exports){}},[[460,3,4]]]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"generatedAt":1666354753935,"builder":{"name":"@storybook/builder-vite"},"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"8.19.2"},"features":{"storyStoreV7":true},"storybookVersion":"6.5.12","language":"javascript","storybookPackages":{"storybook-tailwind-foundations":{"version":null},"@storybook/addon-actions":{"version":"6.5.12"},"@storybook/builder-vite":{"version":"0.2.4"},"@storybook/react":{"version":"6.5.12"},"@storybook/testing-library":{"version":"0.0.13"}},"framework":{"name":"react"},"addons":{"@storybook/addon-links":{"version":"6.5.12"},"@storybook/addon-essentials":{"version":"6.5.12"},"@storybook/addon-interactions":{"version":"6.5.12"}}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(modules){function webpackJsonpCallback(data){for(var moduleId,chunkId,chunkIds=data[0],moreModules=data[1],executeModules=data[2],i=0,resolves=[];i<chunkIds.length;i++)chunkId=chunkIds[i],Object.prototype.hasOwnProperty.call(installedChunks,chunkId)&&installedChunks[chunkId]&&resolves.push(installedChunks[chunkId][0]),installedChunks[chunkId]=0;for(moduleId in moreModules)Object.prototype.hasOwnProperty.call(moreModules,moduleId)&&(modules[moduleId]=moreModules[moduleId]);for(parentJsonpFunction&&parentJsonpFunction(data);resolves.length;)resolves.shift()();return deferredModules.push.apply(deferredModules,executeModules||[]),checkDeferredModules()}function checkDeferredModules(){for(var result,i=0;i<deferredModules.length;i++){for(var deferredModule=deferredModules[i],fulfilled=!0,j=1;j<deferredModule.length;j++){var depId=deferredModule[j];0!==installedChunks[depId]&&(fulfilled=!1)}fulfilled&&(deferredModules.splice(i--,1),result=__webpack_require__(__webpack_require__.s=deferredModule[0]))}return result}var installedModules={},installedChunks={3:0},deferredModules=[];function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.l=!0,module.exports}__webpack_require__.e=function requireEnsure(chunkId){var promises=[],installedChunkData=installedChunks[chunkId];if(0!==installedChunkData)if(installedChunkData)promises.push(installedChunkData[2]);else{var promise=new Promise((function(resolve,reject){installedChunkData=installedChunks[chunkId]=[resolve,reject]}));promises.push(installedChunkData[2]=promise);var onScriptComplete,script=document.createElement("script");script.charset="utf-8",script.timeout=120,__webpack_require__.nc&&script.setAttribute("nonce",__webpack_require__.nc),script.src=function jsonpScriptSrc(chunkId){return __webpack_require__.p+""+({}[chunkId]||chunkId)+"."+{0:"53758dff751ed2733218",1:"9d13fd5be5dcb92d80a6",5:"410945cbec993452eed2",6:"9ef90ca53c7deb768ec6",7:"47a294f1c5761295c4cb",8:"35b89a87599812bb0515",9:"d19ea1957ceb9893827c"}[chunkId]+".manager.bundle.js"}(chunkId);var error=new Error;onScriptComplete=function(event){script.onerror=script.onload=null,clearTimeout(timeout);var chunk=installedChunks[chunkId];if(0!==chunk){if(chunk){var errorType=event&&("load"===event.type?"missing":event.type),realSrc=event&&event.target&&event.target.src;error.message="Loading chunk "+chunkId+" failed.\n("+errorType+": "+realSrc+")",error.name="ChunkLoadError",error.type=errorType,error.request=realSrc,chunk[1](error)}installedChunks[chunkId]=void 0}};var timeout=setTimeout((function(){onScriptComplete({type:"timeout",target:script})}),12e4);script.onerror=script.onload=onScriptComplete,document.head.appendChild(script)}return Promise.all(promises)},__webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{enumerable:!0,get:getter})},__webpack_require__.r=function(exports){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.t=function(value,mode){if(1&mode&&(value=__webpack_require__(value)),8&mode)return value;if(4&mode&&"object"==typeof value&&value&&value.__esModule)return value;var ns=Object.create(null);if(__webpack_require__.r(ns),Object.defineProperty(ns,"default",{enumerable:!0,value:value}),2&mode&&"string"!=typeof value)for(var key in value)__webpack_require__.d(ns,key,function(key){return value[key]}.bind(null,key));return ns},__webpack_require__.n=function(module){var getter=module&&module.__esModule?function getDefault(){return module.default}:function getModuleExports(){return module};return __webpack_require__.d(getter,"a",getter),getter},__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__webpack_require__.p="",__webpack_require__.oe=function(err){throw console.error(err),err};var jsonpArray=window.webpackJsonp=window.webpackJsonp||[],oldJsonpFunction=jsonpArray.push.bind(jsonpArray);jsonpArray.push=webpackJsonpCallback,jsonpArray=jsonpArray.slice();for(var i=0;i<jsonpArray.length;i++)webpackJsonpCallback(jsonpArray[i]);var parentJsonpFunction=oldJsonpFunction;checkDeferredModules()}([]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"v":3,"stories":{"example-introduction--page":{"id":"example-introduction--page","title":"Example/Introduction","name":"Page","importPath":"./src/stories/Introduction.stories.mdx"},"example-borderedbox--green":{"id":"example-borderedbox--green","title":"Example/BorderedBox","name":"Green","importPath":"./src/stories/BorderedBox.stories.jsx"},"example-borderedbox--red":{"id":"example-borderedbox--red","title":"Example/BorderedBox","name":"Red","importPath":"./src/stories/BorderedBox.stories.jsx"},"example-button--primary":{"id":"example-button--primary","title":"Example/Button","name":"Primary","importPath":"./src/stories/Button.stories.jsx"},"example-button--secondary":{"id":"example-button--secondary","title":"Example/Button","name":"Secondary","importPath":"./src/stories/Button.stories.jsx"},"example-button--large":{"id":"example-button--large","title":"Example/Button","name":"Large","importPath":"./src/stories/Button.stories.jsx"},"example-button--small":{"id":"example-button--small","title":"Example/Button","name":"Small","importPath":"./src/stories/Button.stories.jsx"},"example-header--logged-in":{"id":"example-header--logged-in","title":"Example/Header","name":"Logged In","importPath":"./src/stories/Header.stories.jsx"},"example-header--logged-out":{"id":"example-header--logged-out","title":"Example/Header","name":"Logged Out","importPath":"./src/stories/Header.stories.jsx"},"example-loginbutton--github":{"id":"example-loginbutton--github","title":"Example/LoginButton","name":"Github","importPath":"./src/stories/LoginButton.stories.jsx"},"example-page--logged-out":{"id":"example-page--logged-out","title":"Example/Page","name":"Logged Out","importPath":"./src/stories/Page.stories.jsx"},"example-page--logged-in":{"id":"example-page--logged-in","title":"Example/Page","name":"Logged In","importPath":"./src/stories/Page.stories.jsx"}}}
|