@datalayer/primer-addons 0.0.1

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.
Files changed (198) hide show
  1. package/.eslintrc.cjs +16 -0
  2. package/.gitignore +42 -0
  3. package/.storybook/main.ts +17 -0
  4. package/.storybook/preview.ts +15 -0
  5. package/LICENSE +29 -0
  6. package/Makefile +68 -0
  7. package/README.md +10 -0
  8. package/dist/assets/index-25ada336.css +1 -0
  9. package/dist/assets/index-4f3dd966.js +66 -0
  10. package/dist/index.html +15 -0
  11. package/dist/vite.svg +1 -0
  12. package/index.html +13 -0
  13. package/lib/App.d.ts +4 -0
  14. package/lib/App.js +7 -0
  15. package/lib/components/index.d.ts +2 -0
  16. package/lib/components/index.js +2 -0
  17. package/lib/components/slider/Slider.d.ts +3 -0
  18. package/lib/components/slider/Slider.js +5 -0
  19. package/lib/components/toolbar/Toolbar.d.ts +15 -0
  20. package/lib/components/toolbar/Toolbar.js +16 -0
  21. package/lib/index.d.ts +1 -0
  22. package/lib/index.js +1 -0
  23. package/package.json +45 -0
  24. package/public/vite.svg +1 -0
  25. package/src/App.css +43 -0
  26. package/src/App.tsx +22 -0
  27. package/src/assets/react.svg +1 -0
  28. package/src/components/index.tsx +2 -0
  29. package/src/components/slider/Slider.tsx +5 -0
  30. package/src/components/toolbar/Toolbar.tsx +67 -0
  31. package/src/index.css +69 -0
  32. package/src/index.tsx +1 -0
  33. package/src/main.tsx +11 -0
  34. package/src/stories/Button.stories.ts +44 -0
  35. package/src/stories/Button.tsx +47 -0
  36. package/src/stories/Header.stories.ts +26 -0
  37. package/src/stories/Header.tsx +54 -0
  38. package/src/stories/Introduction.mdx +213 -0
  39. package/src/stories/Page.stories.ts +29 -0
  40. package/src/stories/Page.tsx +73 -0
  41. package/src/stories/Toolbar.stories.tsx +85 -0
  42. package/src/stories/assets/code-brackets.svg +1 -0
  43. package/src/stories/assets/colors.svg +1 -0
  44. package/src/stories/assets/comments.svg +1 -0
  45. package/src/stories/assets/direction.svg +1 -0
  46. package/src/stories/assets/flow.svg +1 -0
  47. package/src/stories/assets/plugin.svg +1 -0
  48. package/src/stories/assets/repo.svg +1 -0
  49. package/src/stories/assets/stackalt.svg +1 -0
  50. package/src/stories/button.css +30 -0
  51. package/src/stories/header.css +32 -0
  52. package/src/stories/page.css +69 -0
  53. package/src/vite-env.d.ts +1 -0
  54. package/storybook-static/assets/Button-1703f682.js +2 -0
  55. package/storybook-static/assets/Button-1703f682.js.map +1 -0
  56. package/storybook-static/assets/Button-bc1a867b.css +1 -0
  57. package/storybook-static/assets/Button.stories-e50ec7d0.js +21 -0
  58. package/storybook-static/assets/Button.stories-e50ec7d0.js.map +1 -0
  59. package/storybook-static/assets/Color-3YIJY6X7-33534dea.js +2 -0
  60. package/storybook-static/assets/Color-3YIJY6X7-33534dea.js.map +1 -0
  61. package/storybook-static/assets/DocsRenderer-EYKKDMVH-d97d9f24.js +2 -0
  62. package/storybook-static/assets/DocsRenderer-EYKKDMVH-d97d9f24.js.map +1 -0
  63. package/storybook-static/assets/GlobalScrollAreaStyles-XIHNDKUY-22b5043a.js +2 -0
  64. package/storybook-static/assets/GlobalScrollAreaStyles-XIHNDKUY-22b5043a.js.map +1 -0
  65. package/storybook-static/assets/Header-c4aa7ebe.js +2 -0
  66. package/storybook-static/assets/Header-c4aa7ebe.js.map +1 -0
  67. package/storybook-static/assets/Header-e719f21b.css +1 -0
  68. package/storybook-static/assets/Header.stories-701d06f7.js +8 -0
  69. package/storybook-static/assets/Header.stories-701d06f7.js.map +1 -0
  70. package/storybook-static/assets/Introduction-a9014acb.js +125 -0
  71. package/storybook-static/assets/Introduction-a9014acb.js.map +1 -0
  72. package/storybook-static/assets/OverlayScrollbars-VAV6LJAB-a98f2f2f.js +7 -0
  73. package/storybook-static/assets/OverlayScrollbars-VAV6LJAB-a98f2f2f.js.map +1 -0
  74. package/storybook-static/assets/Page.stories-62652a55.css +1 -0
  75. package/storybook-static/assets/Page.stories-cee5e213.js +83 -0
  76. package/storybook-static/assets/Page.stories-cee5e213.js.map +1 -0
  77. package/storybook-static/assets/Toolbar.stories-29c3e06c.js +46 -0
  78. package/storybook-static/assets/Toolbar.stories-29c3e06c.js.map +1 -0
  79. package/storybook-static/assets/WithTooltip-FBT32F6Q-c03e9919.js +2 -0
  80. package/storybook-static/assets/WithTooltip-FBT32F6Q-c03e9919.js.map +1 -0
  81. package/storybook-static/assets/_commonjsHelpers-042e6b4d.js +2 -0
  82. package/storybook-static/assets/_commonjsHelpers-042e6b4d.js.map +1 -0
  83. package/storybook-static/assets/code-brackets-9ef6443e.svg +1 -0
  84. package/storybook-static/assets/colors-ac9401f3.svg +1 -0
  85. package/storybook-static/assets/comments-f15a6837.svg +1 -0
  86. package/storybook-static/assets/config-6b18ac56.js +55 -0
  87. package/storybook-static/assets/config-6b18ac56.js.map +1 -0
  88. package/storybook-static/assets/direction-94a9917f.svg +1 -0
  89. package/storybook-static/assets/doctrine-a302d8f8.js +4 -0
  90. package/storybook-static/assets/doctrine-a302d8f8.js.map +1 -0
  91. package/storybook-static/assets/flow-275142c6.svg +1 -0
  92. package/storybook-static/assets/formatter-S4K5WUZV-b5d041c7.js +157 -0
  93. package/storybook-static/assets/formatter-S4K5WUZV-b5d041c7.js.map +1 -0
  94. package/storybook-static/assets/iframe-c16a7b15.js +2 -0
  95. package/storybook-static/assets/iframe-c16a7b15.js.map +1 -0
  96. package/storybook-static/assets/index-186b3228.js +2 -0
  97. package/storybook-static/assets/index-186b3228.js.map +1 -0
  98. package/storybook-static/assets/index-1d576ef5.js +2 -0
  99. package/storybook-static/assets/index-1d576ef5.js.map +1 -0
  100. package/storybook-static/assets/index-356e4a49.js +7 -0
  101. package/storybook-static/assets/index-356e4a49.js.map +1 -0
  102. package/storybook-static/assets/index-3639c647.js +2 -0
  103. package/storybook-static/assets/index-3639c647.js.map +1 -0
  104. package/storybook-static/assets/index-5049e453.js +354 -0
  105. package/storybook-static/assets/index-5049e453.js.map +1 -0
  106. package/storybook-static/assets/index-8ce4a492.js +25 -0
  107. package/storybook-static/assets/index-8ce4a492.js.map +1 -0
  108. package/storybook-static/assets/index-8db94870.js +10 -0
  109. package/storybook-static/assets/index-8db94870.js.map +1 -0
  110. package/storybook-static/assets/index-d475d2ea.js +2 -0
  111. package/storybook-static/assets/index-d475d2ea.js.map +1 -0
  112. package/storybook-static/assets/jsx-runtime-94f6e698.js +10 -0
  113. package/storybook-static/assets/jsx-runtime-94f6e698.js.map +1 -0
  114. package/storybook-static/assets/plugin-57148314.svg +1 -0
  115. package/storybook-static/assets/preview-00db0eb8.js +2 -0
  116. package/storybook-static/assets/preview-00db0eb8.js.map +1 -0
  117. package/storybook-static/assets/preview-073d0cdc.js +2 -0
  118. package/storybook-static/assets/preview-073d0cdc.js.map +1 -0
  119. package/storybook-static/assets/preview-1e5c59db.js +2 -0
  120. package/storybook-static/assets/preview-1e5c59db.js.map +1 -0
  121. package/storybook-static/assets/preview-2cd4e1a1.js +2 -0
  122. package/storybook-static/assets/preview-2cd4e1a1.js.map +1 -0
  123. package/storybook-static/assets/preview-770cc08b.js +21 -0
  124. package/storybook-static/assets/preview-770cc08b.js.map +1 -0
  125. package/storybook-static/assets/preview-a60aa466.js +2 -0
  126. package/storybook-static/assets/preview-a60aa466.js.map +1 -0
  127. package/storybook-static/assets/preview-b1164a2e.js +8 -0
  128. package/storybook-static/assets/preview-b1164a2e.js.map +1 -0
  129. package/storybook-static/assets/preview-bc596eab.js +2 -0
  130. package/storybook-static/assets/preview-bc596eab.js.map +1 -0
  131. package/storybook-static/assets/preview-d8c963a4.js +397 -0
  132. package/storybook-static/assets/preview-d8c963a4.js.map +1 -0
  133. package/storybook-static/assets/react-18-ff2c0a32.js +2 -0
  134. package/storybook-static/assets/react-18-ff2c0a32.js.map +1 -0
  135. package/storybook-static/assets/repo-fb4ece47.svg +1 -0
  136. package/storybook-static/assets/stackalt-2ad81543.svg +1 -0
  137. package/storybook-static/assets/syntaxhighlighter-QTQ2UBB4-c38aca63.js +2 -0
  138. package/storybook-static/assets/syntaxhighlighter-QTQ2UBB4-c38aca63.js.map +1 -0
  139. package/storybook-static/favicon.svg +7 -0
  140. package/storybook-static/iframe.html +459 -0
  141. package/storybook-static/index.html +130 -0
  142. package/storybook-static/index.json +1 -0
  143. package/storybook-static/project.json +1 -0
  144. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +4 -0
  145. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
  146. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.map +7 -0
  147. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +13 -0
  148. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
  149. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.map +7 -0
  150. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +120 -0
  151. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +35 -0
  152. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.map +7 -0
  153. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +4 -0
  154. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
  155. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.map +7 -0
  156. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +4 -0
  157. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
  158. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.map +7 -0
  159. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +4 -0
  160. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
  161. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.map +7 -0
  162. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +4 -0
  163. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
  164. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.map +7 -0
  165. package/storybook-static/sb-addons/interactions-8/manager-bundle.js +31 -0
  166. package/storybook-static/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +18 -0
  167. package/storybook-static/sb-addons/interactions-8/manager-bundle.js.map +7 -0
  168. package/storybook-static/sb-addons/links-0/manager-bundle.js +4 -0
  169. package/storybook-static/sb-addons/links-0/manager-bundle.js.LEGAL.txt +0 -0
  170. package/storybook-static/sb-addons/links-0/manager-bundle.js.map +7 -0
  171. package/storybook-static/sb-common-assets/fonts.css +31 -0
  172. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  173. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  174. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  175. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  176. package/storybook-static/sb-manager/GlobalScrollAreaStyles-XIHNDKUY-F4JIPIHL.js +1 -0
  177. package/storybook-static/sb-manager/OverlayScrollbars-VAV6LJAB-K3TMPSMY.js +6 -0
  178. package/storybook-static/sb-manager/WithTooltip-FBT32F6Q-7QJ37TCY.js +1 -0
  179. package/storybook-static/sb-manager/chunk-3FAXWWKG.js +15 -0
  180. package/storybook-static/sb-manager/chunk-54KM6K5Z.js +7 -0
  181. package/storybook-static/sb-manager/chunk-AS2AMEUR.js +1 -0
  182. package/storybook-static/sb-manager/chunk-F3MVQVF6.js +207 -0
  183. package/storybook-static/sb-manager/chunk-FENICTK6.js +1 -0
  184. package/storybook-static/sb-manager/chunk-PUVLCKJJ.js +140 -0
  185. package/storybook-static/sb-manager/chunk-QPL63VNK.js +1 -0
  186. package/storybook-static/sb-manager/chunk-U5V7EQT2.js +405 -0
  187. package/storybook-static/sb-manager/formatter-S4K5WUZV-4LPR5OBX.js +156 -0
  188. package/storybook-static/sb-manager/globals.js +1 -0
  189. package/storybook-static/sb-manager/index.js +1 -0
  190. package/storybook-static/sb-manager/runtime.js +1 -0
  191. package/storybook-static/sb-manager/syntaxhighlighter-QTQ2UBB4-F5YUFYAB.js +1 -0
  192. package/storybook-static/sb-preview/globals.js +1 -0
  193. package/storybook-static/sb-preview/runtime.js +105 -0
  194. package/storybook-static/stories.json +1 -0
  195. package/storybook-static/vite.svg +1 -0
  196. package/tsconfig.json +29 -0
  197. package/tsconfig.node.json +10 -0
  198. package/vite.config.ts +7 -0
@@ -0,0 +1,459 @@
1
+ <!DOCTYPE html>
2
+ <!--suppress HtmlUnknownTarget -->
3
+ <html lang="en">
4
+
5
+ <head>
6
+ <meta charset="utf-8" />
7
+ <title>Storybook</title>
8
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
9
+
10
+ <link rel="prefetch" href="./sb-common-assets/nunito-sans-regular.woff2" as="font" type="font/woff2" crossorigin />
11
+ <link rel="prefetch" href="./sb-common-assets/nunito-sans-italic.woff2" as="font" type="font/woff2" crossorigin />
12
+ <link rel="prefetch" href="./sb-common-assets/nunito-sans-bold.woff2" as="font" type="font/woff2" crossorigin />
13
+ <link rel="prefetch" href="./sb-common-assets/nunito-sans-bold-italic.woff2" as="font" type="font/woff2" crossorigin />
14
+ <link rel="stylesheet" href="./sb-common-assets/fonts.css" />
15
+
16
+ <script>
17
+ window.CONFIG_TYPE = 'PRODUCTION';
18
+ window.LOGLEVEL = 'info';
19
+ window.FRAMEWORK_OPTIONS = {};
20
+ window.CHANNEL_OPTIONS = {};
21
+ window.FEATURES = {"warnOnLegacyHierarchySeparator":true,"buildStoriesJson":false,"storyStoreV7":true,"argTypeTargetsV7":true,"legacyDecoratorFileOrder":false};
22
+ window.STORIES = [{"titlePrefix":"","directory":"./src","files":"**/*.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}];
23
+ window.DOCS_OPTIONS = {"defaultName":"Docs","autodocs":"tag"};
24
+ window.SERVER_CHANNEL_URL = undefined;
25
+
26
+ // We do this so that "module && module.hot" etc. in Storybook source code
27
+ // doesn't fail (it will simply be disabled)
28
+ window.module = undefined;
29
+ window.global = window;
30
+ </script>
31
+ <base target="_parent" />
32
+
33
+ <style>
34
+ /* While we aren't showing the main block yet, but still preparing, we want everything the user
35
+ has rendered, which may or may not be in #storybook-root, to be display none */
36
+ .sb-show-preparing-story:not(.sb-show-main) > :not(.sb-preparing-story) {
37
+ display: none;
38
+ }
39
+
40
+ .sb-show-preparing-docs:not(.sb-show-main) > :not(.sb-preparing-docs) {
41
+ display: none;
42
+ }
43
+
44
+ /* Hide our own blocks when we aren't supposed to be showing them */
45
+ :not(.sb-show-preparing-story) > .sb-preparing-story,
46
+ :not(.sb-show-preparing-docs) > .sb-preparing-docs,
47
+ :not(.sb-show-nopreview) > .sb-nopreview,
48
+ :not(.sb-show-errordisplay) > .sb-errordisplay {
49
+ display: none;
50
+ }
51
+
52
+ .sb-show-main.sb-main-centered {
53
+ margin: 0;
54
+ display: flex;
55
+ align-items: center;
56
+ min-height: 100vh;
57
+ }
58
+
59
+ .sb-show-main.sb-main-centered #storybook-root {
60
+ box-sizing: border-box;
61
+ margin: auto;
62
+ padding: 1rem;
63
+ max-height: 100%; /* Hack for centering correctly in IE11 */
64
+ }
65
+
66
+ /* Vertical centering fix for IE11 */
67
+ @media screen and (-ms-high-contrast: none), (-ms-high-contrast: active) {
68
+ .sb-show-main.sb-main-centered:after {
69
+ content: '';
70
+ min-height: inherit;
71
+ font-size: 0;
72
+ }
73
+ }
74
+
75
+ .sb-show-main.sb-main-fullscreen {
76
+ margin: 0;
77
+ padding: 0;
78
+ display: block;
79
+ }
80
+
81
+ .sb-show-main.sb-main-padded {
82
+ margin: 0;
83
+ padding: 1rem;
84
+ display: block;
85
+ box-sizing: border-box;
86
+ }
87
+
88
+ .sb-wrapper {
89
+ position: fixed;
90
+ top: 0;
91
+ bottom: 0;
92
+ left: 0;
93
+ right: 0;
94
+ padding: 20px;
95
+ font-family: 'Nunito Sans', -apple-system, '.SFNSText-Regular', 'San Francisco',
96
+ BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
97
+ -webkit-font-smoothing: antialiased;
98
+ overflow: auto;
99
+ }
100
+
101
+ .sb-heading {
102
+ font-size: 14px;
103
+ font-weight: 600;
104
+ letter-spacing: 0.2px;
105
+ margin: 10px 0;
106
+ padding-right: 25px;
107
+ }
108
+
109
+ .sb-nopreview {
110
+ display: flex;
111
+ align-content: center;
112
+ justify-content: center;
113
+ }
114
+
115
+ .sb-nopreview_main {
116
+ margin: auto;
117
+ padding: 30px;
118
+ border-radius: 10px;
119
+ background: rgba(0, 0, 0, 0.03);
120
+ }
121
+
122
+ .sb-nopreview_heading {
123
+ text-align: center;
124
+ }
125
+
126
+ .sb-errordisplay {
127
+ border: 20px solid rgb(187, 49, 49);
128
+ background: #222;
129
+ color: #fff;
130
+ z-index: 999999;
131
+ }
132
+
133
+ .sb-errordisplay_code {
134
+ padding: 10px;
135
+ background: #000;
136
+ color: #eee;
137
+ font-family: 'Operator Mono', 'Fira Code Retina', 'Fira Code', 'FiraCode-Retina', 'Andale Mono',
138
+ 'Lucida Console', Consolas, Monaco, monospace;
139
+ }
140
+
141
+ .sb-errordisplay pre {
142
+ white-space: pre-wrap;
143
+ }
144
+
145
+ @-webkit-keyframes sb-rotate360 {
146
+ from {
147
+ transform: rotate(0deg);
148
+ }
149
+ to {
150
+ transform: rotate(360deg);
151
+ }
152
+ }
153
+ @keyframes sb-rotate360 {
154
+ from {
155
+ transform: rotate(0deg);
156
+ }
157
+ to {
158
+ transform: rotate(360deg);
159
+ }
160
+ }
161
+ @-webkit-keyframes sb-glow {
162
+ 0%,
163
+ 100% {
164
+ opacity: 1;
165
+ }
166
+ 50% {
167
+ opacity: 0.4;
168
+ }
169
+ }
170
+ @keyframes sb-glow {
171
+ 0%,
172
+ 100% {
173
+ opacity: 1;
174
+ }
175
+ 50% {
176
+ opacity: 0.4;
177
+ }
178
+ }
179
+
180
+ /* We display the preparing loaders *over* the rendering story */
181
+ .sb-preparing-story,
182
+ .sb-preparing-docs {
183
+ background-color: white;
184
+ /* Maximum possible z-index. It would be better to use stacking contexts to ensure it's always
185
+ on top, but this isn't possible as it would require making CSS changes that could affect user code */
186
+ z-index: 2147483647;
187
+ }
188
+
189
+ .sb-loader {
190
+ -webkit-animation: sb-rotate360 0.7s linear infinite;
191
+ animation: sb-rotate360 0.7s linear infinite;
192
+ border-color: rgba(97, 97, 97, 0.29);
193
+ border-radius: 50%;
194
+ border-style: solid;
195
+ border-top-color: #646464;
196
+ border-width: 2px;
197
+ display: inline-block;
198
+ height: 32px;
199
+ left: 50%;
200
+ margin-left: -16px;
201
+ margin-top: -16px;
202
+ mix-blend-mode: difference;
203
+ overflow: hidden;
204
+ position: absolute;
205
+ top: 50%;
206
+ transition: all 200ms ease-out;
207
+ vertical-align: top;
208
+ width: 32px;
209
+ z-index: 4;
210
+ }
211
+
212
+ .sb-previewBlock {
213
+ background: #fff;
214
+ border: 1px solid rgba(0, 0, 0, 0.1);
215
+ border-radius: 4px;
216
+ box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 0;
217
+ margin: 25px auto 40px;
218
+ max-width: 600px;
219
+ }
220
+
221
+ .sb-previewBlock_header {
222
+ align-items: center;
223
+ box-shadow: rgba(0, 0, 0, 0.1) 0 -1px 0 0 inset;
224
+ display: flex;
225
+ gap: 14px;
226
+ height: 40px;
227
+ padding: 0 12px;
228
+ }
229
+
230
+ .sb-previewBlock_icon {
231
+ -webkit-animation: sb-glow 1.5s ease-in-out infinite;
232
+ animation: sb-glow 1.5s ease-in-out infinite;
233
+ background: #e6e6e6;
234
+ height: 14px;
235
+ width: 14px;
236
+ }
237
+ .sb-previewBlock_icon:last-child {
238
+ margin-left: auto;
239
+ }
240
+
241
+ .sb-previewBlock_body {
242
+ -webkit-animation: sb-glow 1.5s ease-in-out infinite;
243
+ animation: sb-glow 1.5s ease-in-out infinite;
244
+ height: 182px;
245
+ position: relative;
246
+ }
247
+
248
+ .sb-argstableBlock {
249
+ border-collapse: collapse;
250
+ border-spacing: 0;
251
+ font-size: 13px;
252
+ line-height: 20px;
253
+ margin: 25px auto 40px;
254
+ max-width: 600px;
255
+ text-align: left;
256
+ width: 100%;
257
+ }
258
+ .sb-argstableBlock th:first-of-type,
259
+ .sb-argstableBlock td:first-of-type {
260
+ padding-left: 20px;
261
+ }
262
+ .sb-argstableBlock th:nth-of-type(2),
263
+ .sb-argstableBlock td:nth-of-type(2) {
264
+ width: 35%;
265
+ }
266
+ .sb-argstableBlock th:nth-of-type(3),
267
+ .sb-argstableBlock td:nth-of-type(3) {
268
+ width: 15%;
269
+ }
270
+ .sb-argstableBlock th:last-of-type,
271
+ .sb-argstableBlock td:last-of-type {
272
+ width: 25%;
273
+ padding-right: 20px;
274
+ }
275
+ .sb-argstableBlock th span,
276
+ .sb-argstableBlock td span {
277
+ -webkit-animation: sb-glow 1.5s ease-in-out infinite;
278
+ animation: sb-glow 1.5s ease-in-out infinite;
279
+ background-color: rgba(0, 0, 0, 0.1);
280
+ border-radius: 0;
281
+ box-shadow: none;
282
+ color: transparent;
283
+ }
284
+ .sb-argstableBlock th {
285
+ padding: 10px 15px;
286
+ }
287
+
288
+ .sb-argstableBlock-body {
289
+ border-radius: 4px;
290
+ box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 1px, rgba(0, 0, 0, 0.065) 0 0 0 1px;
291
+ }
292
+ .sb-argstableBlock-body tr {
293
+ background: transparent;
294
+ overflow: hidden;
295
+ }
296
+ .sb-argstableBlock-body tr:not(:first-child) {
297
+ border-top: 1px solid #e6e6e6;
298
+ }
299
+ .sb-argstableBlock-body tr:first-child td:first-child {
300
+ border-top-left-radius: 4px;
301
+ }
302
+ .sb-argstableBlock-body tr:first-child td:last-child {
303
+ border-top-right-radius: 4px;
304
+ }
305
+ .sb-argstableBlock-body tr:last-child td:first-child {
306
+ border-bottom-left-radius: 4px;
307
+ }
308
+ .sb-argstableBlock-body tr:last-child td:last-child {
309
+ border-bottom-right-radius: 4px;
310
+ }
311
+ .sb-argstableBlock-body td {
312
+ background: #fff;
313
+ padding-bottom: 10px;
314
+ padding-top: 10px;
315
+ vertical-align: top;
316
+ }
317
+ .sb-argstableBlock-body td:not(:first-of-type) {
318
+ padding-left: 15px;
319
+ padding-right: 15px;
320
+ }
321
+ .sb-argstableBlock-body button {
322
+ -webkit-animation: sb-glow 1.5s ease-in-out infinite;
323
+ animation: sb-glow 1.5s ease-in-out infinite;
324
+ background-color: rgba(0, 0, 0, 0.1);
325
+ border: 0;
326
+ border-radius: 0;
327
+ box-shadow: none;
328
+ color: transparent;
329
+ display: inline;
330
+ font-size: 12px;
331
+ line-height: 1;
332
+ padding: 10px 16px;
333
+ }
334
+
335
+ .sb-argstableBlock-summary {
336
+ margin-top: 4px;
337
+ }
338
+
339
+ .sb-argstableBlock-code {
340
+ margin-right: 4px;
341
+ margin-bottom: 4px;
342
+ padding: 2px 5px;
343
+ }
344
+ </style>
345
+
346
+ <script>
347
+ /* globals window */
348
+ /* eslint-disable no-underscore-dangle */
349
+ try {
350
+ if (window.top !== window) {
351
+ window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.top.__REACT_DEVTOOLS_GLOBAL_HOOK__;
352
+ window.__VUE_DEVTOOLS_GLOBAL_HOOK__ = window.top.__VUE_DEVTOOLS_GLOBAL_HOOK__;
353
+ window.top.__VUE_DEVTOOLS_CONTEXT__ = window.document;
354
+ }
355
+ } catch (e) {
356
+ // eslint-disable-next-line no-console
357
+ console.warn('unable to connect to top frame for connecting dev tools');
358
+ }
359
+ </script>
360
+
361
+ <script type="module" crossorigin src="./assets/iframe-c16a7b15.js"></script>
362
+ </head>
363
+
364
+ <body>
365
+ <div class="sb-preparing-story sb-wrapper">
366
+ <div class="sb-loader"></div>
367
+ </div>
368
+
369
+ <div class="sb-preparing-docs sb-wrapper">
370
+ <div class="sb-previewBlock">
371
+ <div class="sb-previewBlock_header">
372
+ <div class="sb-previewBlock_icon"></div>
373
+ <div class="sb-previewBlock_icon"></div>
374
+ <div class="sb-previewBlock_icon"></div>
375
+ <div class="sb-previewBlock_icon"></div>
376
+ </div>
377
+ <div class="sb-previewBlock_body">
378
+ <div class="sb-loader"></div>
379
+ </div>
380
+ </div>
381
+ <table aria-hidden="true" class="sb-argstableBlock">
382
+ <thead class="sb-argstableBlock-head">
383
+ <tr>
384
+ <th><span>Name</span></th>
385
+ <th><span>Description</span></th>
386
+ <th><span>Default</span></th>
387
+ <th><span>Control </span></th>
388
+ </tr>
389
+ </thead>
390
+ <tbody class="sb-argstableBlock-body">
391
+ <tr>
392
+ <td><span>propertyName</span><span title="Required">*</span></td>
393
+ <td>
394
+ <div><span>This is a short description</span></div>
395
+ <div class="sb-argstableBlock-summary">
396
+ <div><span class="sb-argstableBlock-code">summary</span></div>
397
+ </div>
398
+ </td>
399
+ <td>
400
+ <div><span class="sb-argstableBlock-code">defaultValue</span></div>
401
+ </td>
402
+ <td><button>Set string</button></td>
403
+ </tr>
404
+ <tr>
405
+ <td><span>propertyName</span><span>*</span></td>
406
+ <td>
407
+ <div><span>This is a short description</span></div>
408
+ <div class="sb-argstableBlock-summary">
409
+ <div><span class="sb-argstableBlock-code">summary</span></div>
410
+ </div>
411
+ </td>
412
+ <td>
413
+ <div><span class="sb-argstableBlock-code">defaultValue</span></div>
414
+ </td>
415
+ <td><button>Set string</button></td>
416
+ </tr>
417
+ <tr>
418
+ <td><span>propertyName</span><span>*</span></td>
419
+ <td>
420
+ <div><span>This is a short description</span></div>
421
+ <div class="sb-argstableBlock-summary">
422
+ <div><span class="sb-argstableBlock-code">summary</span></div>
423
+ </div>
424
+ </td>
425
+ <td>
426
+ <div><span class="sb-argstableBlock-code">defaultValue</span></div>
427
+ </td>
428
+ <td><button>Set string</button></td>
429
+ </tr>
430
+ </tbody>
431
+ </table>
432
+ </div>
433
+
434
+ <div class="sb-nopreview sb-wrapper">
435
+ <div class="sb-nopreview_main">
436
+ <h1 class="sb-nopreview_heading sb-heading">No Preview</h1>
437
+ <p>Sorry, but you either have no stories or none are selected somehow.</p>
438
+ <ul>
439
+ <li>Please check the Storybook config.</li>
440
+ <li>Try reloading the page.</li>
441
+ </ul>
442
+ <p>
443
+ If the problem persists, check the browser console, or the terminal you've run Storybook from.
444
+ </p>
445
+ </div>
446
+ </div>
447
+
448
+ <div class="sb-errordisplay sb-wrapper">
449
+ <pre id="error-message" class="sb-heading"></pre>
450
+ <pre class="sb-errordisplay_code"><code id="error-stack"></code></pre>
451
+ </div>
452
+
453
+ <div id="storybook-root"></div>
454
+ <div id="storybook-docs"></div>
455
+
456
+
457
+ </body>
458
+
459
+ </html>
@@ -0,0 +1,130 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+
6
+ <title>@storybook/cli - Storybook</title>
7
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
8
+
9
+
10
+ <link rel="icon" type="image/svg+xml" href="./favicon.svg" />
11
+
12
+ <link
13
+ rel="prefetch"
14
+ href="./sb-common-assets/nunito-sans-regular.woff2"
15
+ as="font"
16
+ type="font/woff2"
17
+ crossorigin
18
+ />
19
+ <link
20
+ rel="prefetch"
21
+ href="./sb-common-assets/nunito-sans-bold.woff2"
22
+ as="font"
23
+ type="font/woff2"
24
+ crossorigin
25
+ />
26
+ <link rel="stylesheet" href="./sb-common-assets/fonts.css" />
27
+
28
+ <link href="./sb-manager/runtime.js" rel="modulepreload" />
29
+
30
+
31
+ <link href="./sb-addons/links-0/manager-bundle.js" rel="modulepreload" />
32
+
33
+ <link href="./sb-addons/essentials-controls-1/manager-bundle.js" rel="modulepreload" />
34
+
35
+ <link href="./sb-addons/essentials-actions-2/manager-bundle.js" rel="modulepreload" />
36
+
37
+ <link href="./sb-addons/essentials-backgrounds-3/manager-bundle.js" rel="modulepreload" />
38
+
39
+ <link href="./sb-addons/essentials-viewport-4/manager-bundle.js" rel="modulepreload" />
40
+
41
+ <link href="./sb-addons/essentials-toolbars-5/manager-bundle.js" rel="modulepreload" />
42
+
43
+ <link href="./sb-addons/essentials-measure-6/manager-bundle.js" rel="modulepreload" />
44
+
45
+ <link href="./sb-addons/essentials-outline-7/manager-bundle.js" rel="modulepreload" />
46
+
47
+ <link href="./sb-addons/interactions-8/manager-bundle.js" rel="modulepreload" />
48
+
49
+
50
+ <style>
51
+ #storybook-root[hidden] {
52
+ display: none !important;
53
+ }
54
+ </style>
55
+
56
+
57
+ </head>
58
+ <body>
59
+ <div id="root"></div>
60
+
61
+
62
+ <script>
63
+
64
+
65
+ window['FEATURES'] = {
66
+ "warnOnLegacyHierarchySeparator": true,
67
+ "buildStoriesJson": false,
68
+ "storyStoreV7": true,
69
+ "argTypeTargetsV7": true,
70
+ "legacyDecoratorFileOrder": false
71
+ };
72
+
73
+
74
+
75
+ window['REFS'] = {};
76
+
77
+
78
+
79
+ window['LOGLEVEL'] = "info";
80
+
81
+
82
+
83
+ window['DOCS_OPTIONS'] = {
84
+ "defaultName": "Docs",
85
+ "autodocs": "tag"
86
+ };
87
+
88
+
89
+
90
+ window['CONFIG_TYPE'] = "PRODUCTION";
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+ </script>
102
+
103
+
104
+ <script type="module">
105
+ import './sb-manager/runtime.js';
106
+
107
+
108
+ import './sb-addons/links-0/manager-bundle.js';
109
+
110
+ import './sb-addons/essentials-controls-1/manager-bundle.js';
111
+
112
+ import './sb-addons/essentials-actions-2/manager-bundle.js';
113
+
114
+ import './sb-addons/essentials-backgrounds-3/manager-bundle.js';
115
+
116
+ import './sb-addons/essentials-viewport-4/manager-bundle.js';
117
+
118
+ import './sb-addons/essentials-toolbars-5/manager-bundle.js';
119
+
120
+ import './sb-addons/essentials-measure-6/manager-bundle.js';
121
+
122
+ import './sb-addons/essentials-outline-7/manager-bundle.js';
123
+
124
+ import './sb-addons/interactions-8/manager-bundle.js';
125
+
126
+ </script>
127
+
128
+ <link href="./sb-preview/runtime.js" rel="prefetch" as="script" />
129
+ </body>
130
+ </html>
@@ -0,0 +1 @@
1
+ {"v":4,"entries":{"example-introduction--docs":{"id":"example-introduction--docs","title":"Example/Introduction","name":"Docs","importPath":"./src/stories/Introduction.mdx","storiesImports":[],"type":"docs","tags":["unattached-mdx","docs"]},"example-button--docs":{"id":"example-button--docs","title":"Example/Button","name":"Docs","importPath":"./src/stories/Button.stories.ts","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"example-button--primary":{"id":"example-button--primary","title":"Example/Button","name":"Primary","importPath":"./src/stories/Button.stories.ts","tags":["autodocs","story"],"type":"story"},"example-button--secondary":{"id":"example-button--secondary","title":"Example/Button","name":"Secondary","importPath":"./src/stories/Button.stories.ts","tags":["autodocs","story"],"type":"story"},"example-button--large":{"id":"example-button--large","title":"Example/Button","name":"Large","importPath":"./src/stories/Button.stories.ts","tags":["autodocs","story"],"type":"story"},"example-button--small":{"id":"example-button--small","title":"Example/Button","name":"Small","importPath":"./src/stories/Button.stories.ts","tags":["autodocs","story"],"type":"story"},"example-header--docs":{"id":"example-header--docs","title":"Example/Header","name":"Docs","importPath":"./src/stories/Header.stories.ts","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"example-header--logged-in":{"id":"example-header--logged-in","title":"Example/Header","name":"Logged In","importPath":"./src/stories/Header.stories.ts","tags":["autodocs","story"],"type":"story"},"example-header--logged-out":{"id":"example-header--logged-out","title":"Example/Header","name":"Logged Out","importPath":"./src/stories/Header.stories.ts","tags":["autodocs","story"],"type":"story"},"example-page--logged-out":{"id":"example-page--logged-out","title":"Example/Page","name":"Logged Out","importPath":"./src/stories/Page.stories.ts","tags":["story"],"type":"story"},"example-page--logged-in":{"id":"example-page--logged-in","title":"Example/Page","name":"Logged In","importPath":"./src/stories/Page.stories.ts","tags":["play-fn","story"],"type":"story"},"components-toolbar--docs":{"id":"components-toolbar--docs","title":"Components/Toolbar","name":"Docs","importPath":"./src/stories/Toolbar.stories.tsx","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"components-toolbar--toolbar-day":{"id":"components-toolbar--toolbar-day","title":"Components/Toolbar","name":"Toolbar Day","importPath":"./src/stories/Toolbar.stories.tsx","tags":["autodocs","story"],"type":"story"},"components-toolbar--toolbar-night":{"id":"components-toolbar--toolbar-night","title":"Components/Toolbar","name":"Toolbar Night","importPath":"./src/stories/Toolbar.stories.tsx","tags":["autodocs","story"],"type":"story"}}}
@@ -0,0 +1 @@
1
+ {"generatedAt":1684139507197,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":true,"refCount":0,"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","storybookVersion":"7.0.11","storybookVersionSpecifier":"^7.0.9","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"7.0.11"},"@storybook/react":{"version":"7.0.11"},"@storybook/react-vite":{"version":"7.0.11"},"@storybook/testing-library":{"version":"0.0.14-next.2"},"eslint-plugin-storybook":{"version":"0.6.12"},"storybook":{"version":"7.0.11"}},"addons":{"@storybook/addon-links":{"version":"7.0.11"},"@storybook/addon-essentials":{"version":"7.0.11"},"@storybook/addon-interactions":{"version":"7.0.11"}}}