shop-components 0.0.26 → 0.1.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 (228) hide show
  1. package/dist/{stories/device-viewer/roller.d.ts → device-viewer/belt.d.ts} +1 -4
  2. package/dist/device-viewer/index.d.ts +3 -1
  3. package/dist/shop-components.mjs +62270 -0
  4. package/dist/shop-components.umd.js +9644 -0
  5. package/package.json +4 -2
  6. package/dist/assets/Color-RQJUDNI5-leAiB7jg.js +0 -1
  7. package/dist/assets/Configure-OUhXg2g0.js +0 -173
  8. package/dist/assets/DRACOLoader-FOpiHRUS.js +0 -2
  9. package/dist/assets/DocsRenderer-K4EAMTCU-wTc0yUaa.js +0 -7
  10. package/dist/assets/Header-Yyx952jD.css +0 -1
  11. package/dist/assets/Header.stories-8tnkOwSt.js +0 -31
  12. package/dist/assets/Page-fZ7a-HXz.css +0 -1
  13. package/dist/assets/Page.stories-53Crpe03.js +0 -61
  14. package/dist/assets/RGBELoader-re-MEsjP.js +0 -5
  15. package/dist/assets/SFL-CDD14-9UY62fbR.glb +0 -0
  16. package/dist/assets/WithTooltip-Y7J54OF7-e8Yh5ASp.js +0 -1
  17. package/dist/assets/_commonjsHelpers-4gQjN7DL.js +0 -1
  18. package/dist/assets/accessibility-Fv4dmnDm.png +0 -0
  19. package/dist/assets/addon-library-VlAgJsjc.png +0 -0
  20. package/dist/assets/bg-circle-d8WfpvaX.png +0 -0
  21. package/dist/assets/context-tKiKnkuP.png +0 -0
  22. package/dist/assets/docs-Pvr7BWzI.png +0 -0
  23. package/dist/assets/entry-preview-TptA_luc.js +0 -8
  24. package/dist/assets/entry-preview-docs-AhrJ3R4Z.js +0 -2
  25. package/dist/assets/figma-plugin-h9oRC4jr.png +0 -0
  26. package/dist/assets/formatter-B5HCVTEV-DKi3GmSv.js +0 -58
  27. package/dist/assets/iframe-tlQuLR4E.js +0 -7
  28. package/dist/assets/img-radar-kufDNNXQ.png +0 -0
  29. package/dist/assets/img-radar2-1cPZO_cj.png +0 -0
  30. package/dist/assets/index-CXFn8OGe.js +0 -513
  31. package/dist/assets/index-C_uo8BdM.js +0 -1
  32. package/dist/assets/index-PPLHz8o0.js +0 -6
  33. package/dist/assets/index-jFdhmKfM.js +0 -3
  34. package/dist/assets/index-jtEywAqJ.js +0 -1
  35. package/dist/assets/index-ogXoivrg.js +0 -1
  36. package/dist/assets/index.stories-TVZrSYZv.js +0 -20
  37. package/dist/assets/index.stories-Uq0Yg-kp.js +0 -896
  38. package/dist/assets/index.stories-VJP6Jo4U.js +0 -22
  39. package/dist/assets/index.stories-VoNcNCFd.js +0 -27
  40. package/dist/assets/index.stories-YIFSciWI.js +0 -1174
  41. package/dist/assets/index.stories-iMKoZNyH.js +0 -46
  42. package/dist/assets/lightroom_14b-MJkJLVlP.hdr +0 -0
  43. package/dist/assets/lightroom_14b_512-e_XJNpR6.js +0 -3981
  44. package/dist/assets/lightroom_14b_512-nMVn659Q.hdr +0 -0
  45. package/dist/assets/lit-element-P_wTzRvl.js +0 -19
  46. package/dist/assets/preview-1q4RDNOi.js +0 -1
  47. package/dist/assets/preview-6iG64ELu.js +0 -20
  48. package/dist/assets/preview-7nNmfNVr.js +0 -7
  49. package/dist/assets/preview-9bpQVOkQ.js +0 -1
  50. package/dist/assets/preview-FnnPJHgu.js +0 -1
  51. package/dist/assets/preview-VI2eoWmp.js +0 -1
  52. package/dist/assets/preview-bEa2SesL.js +0 -7
  53. package/dist/assets/preview-u8M_OEO2.js +0 -396
  54. package/dist/assets/preview-zZA4w0lH.js +0 -1
  55. package/dist/assets/property-EQZXZ3dt.js +0 -5
  56. package/dist/assets/query-7eORIRsG.js +0 -13
  57. package/dist/assets/roller-8Vy8W3X_.glb +0 -0
  58. package/dist/assets/roller-hopper-Heae_wy5.glb +0 -0
  59. package/dist/assets/share-xgPlHEHy.png +0 -0
  60. package/dist/assets/styling-ZOs40c1G.png +0 -0
  61. package/dist/assets/syntaxhighlighter-JOJW2KGS-uBo08tOF.js +0 -1
  62. package/dist/assets/testing-HG80fZfa.png +0 -0
  63. package/dist/assets/theming--liSzaFj.png +0 -0
  64. package/dist/assets/three.module-9MfFqitO.js +0 -3825
  65. package/dist/assets/tiny-invariant-VyoA2Os1.js +0 -1
  66. package/dist/assets/worker-h5IcTUxB.js +0 -1
  67. package/dist/favicon.svg +0 -7
  68. package/dist/iframe.html +0 -495
  69. package/dist/index.html +0 -155
  70. package/dist/index.json +0 -1
  71. package/dist/package.json +0 -60
  72. package/dist/project.json +0 -1
  73. package/dist/sb-addons/essentials-actions-3/manager-bundle.js +0 -3
  74. package/dist/sb-addons/essentials-actions-3/manager-bundle.js.LEGAL.txt +0 -0
  75. package/dist/sb-addons/essentials-backgrounds-4/manager-bundle.js +0 -12
  76. package/dist/sb-addons/essentials-backgrounds-4/manager-bundle.js.LEGAL.txt +0 -0
  77. package/dist/sb-addons/essentials-controls-2/manager-bundle.js +0 -60
  78. package/dist/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt +0 -18
  79. package/dist/sb-addons/essentials-measure-7/manager-bundle.js +0 -3
  80. package/dist/sb-addons/essentials-measure-7/manager-bundle.js.LEGAL.txt +0 -0
  81. package/dist/sb-addons/essentials-outline-8/manager-bundle.js +0 -3
  82. package/dist/sb-addons/essentials-outline-8/manager-bundle.js.LEGAL.txt +0 -0
  83. package/dist/sb-addons/essentials-toolbars-6/manager-bundle.js +0 -3
  84. package/dist/sb-addons/essentials-toolbars-6/manager-bundle.js.LEGAL.txt +0 -0
  85. package/dist/sb-addons/essentials-viewport-5/manager-bundle.js +0 -3
  86. package/dist/sb-addons/essentials-viewport-5/manager-bundle.js.LEGAL.txt +0 -0
  87. package/dist/sb-addons/links-1/manager-bundle.js +0 -3
  88. package/dist/sb-addons/links-1/manager-bundle.js.LEGAL.txt +0 -0
  89. package/dist/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -3
  90. package/dist/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
  91. package/dist/sb-common-assets/fonts.css +0 -31
  92. package/dist/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  93. package/dist/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  94. package/dist/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  95. package/dist/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  96. package/dist/sb-manager/WithTooltip-Y7J54OF7-3AIPQNGM.js +0 -1
  97. package/dist/sb-manager/chunk-I53COLQ6.js +0 -183
  98. package/dist/sb-manager/chunk-L35575BZ.js +0 -234
  99. package/dist/sb-manager/chunk-TZAR34JC.js +0 -6
  100. package/dist/sb-manager/chunk-UOBNU442.js +0 -347
  101. package/dist/sb-manager/chunk-VMGB76WP.js +0 -9
  102. package/dist/sb-manager/chunk-XP3HGWTR.js +0 -1
  103. package/dist/sb-manager/formatter-B5HCVTEV-7DCBOGO6.js +0 -58
  104. package/dist/sb-manager/globals-module-info.js +0 -1
  105. package/dist/sb-manager/globals-runtime.js +0 -1
  106. package/dist/sb-manager/globals.js +0 -1
  107. package/dist/sb-manager/index.js +0 -1
  108. package/dist/sb-manager/runtime.js +0 -1
  109. package/dist/sb-manager/syntaxhighlighter-JOJW2KGS-7BF26SBB.js +0 -1
  110. package/dist/sb-preview/globals.js +0 -1
  111. package/dist/sb-preview/runtime.js +0 -128
  112. package/dist/stories/cropper/index.d.ts +0 -18
  113. package/dist/stories/cropper/index.js +0 -118
  114. package/dist/stories/cropper/index.js.map +0 -1
  115. package/dist/stories/cropper/index.stories.d.ts +0 -11
  116. package/dist/stories/cropper/index.stories.js +0 -14
  117. package/dist/stories/cropper/index.stories.js.map +0 -1
  118. package/dist/stories/device-viewer/amr.d.ts +0 -75
  119. package/dist/stories/device-viewer/amr.js +0 -554
  120. package/dist/stories/device-viewer/amr.js.map +0 -1
  121. package/dist/stories/device-viewer/assembly.d.ts +0 -11
  122. package/dist/stories/device-viewer/assembly.js +0 -47
  123. package/dist/stories/device-viewer/assembly.js.map +0 -1
  124. package/dist/stories/device-viewer/asserts/fonts/type.json +0 -1281
  125. package/dist/stories/device-viewer/dimension/index.d.ts +0 -31
  126. package/dist/stories/device-viewer/dimension/index.js +0 -131
  127. package/dist/stories/device-viewer/dimension/index.js.map +0 -1
  128. package/dist/stories/device-viewer/dimension/line3.d.ts +0 -21
  129. package/dist/stories/device-viewer/dimension/line3.js +0 -98
  130. package/dist/stories/device-viewer/dimension/line3.js.map +0 -1
  131. package/dist/stories/device-viewer/dimension/size-box.d.ts +0 -39
  132. package/dist/stories/device-viewer/dimension/size-box.js +0 -176
  133. package/dist/stories/device-viewer/dimension/size-box.js.map +0 -1
  134. package/dist/stories/device-viewer/group-roller.d.ts +0 -20
  135. package/dist/stories/device-viewer/group-roller.js +0 -65
  136. package/dist/stories/device-viewer/group-roller.js.map +0 -1
  137. package/dist/stories/device-viewer/index.d.ts +0 -47
  138. package/dist/stories/device-viewer/index.js +0 -530
  139. package/dist/stories/device-viewer/index.js.map +0 -1
  140. package/dist/stories/device-viewer/index.stories.d.ts +0 -27
  141. package/dist/stories/device-viewer/index.stories.js +0 -37
  142. package/dist/stories/device-viewer/index.stories.js.map +0 -1
  143. package/dist/stories/device-viewer/lines.d.ts +0 -36
  144. package/dist/stories/device-viewer/lines.js +0 -171
  145. package/dist/stories/device-viewer/lines.js.map +0 -1
  146. package/dist/stories/device-viewer/main.d.ts +0 -1
  147. package/dist/stories/device-viewer/main.js +0 -2
  148. package/dist/stories/device-viewer/main.js.map +0 -1
  149. package/dist/stories/device-viewer/mechanism/mechanism.d.ts +0 -29
  150. package/dist/stories/device-viewer/mechanism/mechanism.js +0 -164
  151. package/dist/stories/device-viewer/mechanism/mechanism.js.map +0 -1
  152. package/dist/stories/device-viewer/outerline.d.ts +0 -16
  153. package/dist/stories/device-viewer/outerline.js +0 -63
  154. package/dist/stories/device-viewer/outerline.js.map +0 -1
  155. package/dist/stories/device-viewer/roller.js +0 -121
  156. package/dist/stories/device-viewer/roller.js.map +0 -1
  157. package/dist/stories/device-viewer/row.d.ts +0 -18
  158. package/dist/stories/device-viewer/row.js +0 -58
  159. package/dist/stories/device-viewer/row.js.map +0 -1
  160. package/dist/stories/device-viewer/scene.d.ts +0 -101
  161. package/dist/stories/device-viewer/scene.js +0 -535
  162. package/dist/stories/device-viewer/scene.js.map +0 -1
  163. package/dist/stories/device-viewer/slot/slot-item.d.ts +0 -20
  164. package/dist/stories/device-viewer/slot/slot-item.js +0 -82
  165. package/dist/stories/device-viewer/slot/slot-item.js.map +0 -1
  166. package/dist/stories/device-viewer/slot.d.ts +0 -71
  167. package/dist/stories/device-viewer/slot.js +0 -272
  168. package/dist/stories/device-viewer/slot.js.map +0 -1
  169. package/dist/stories/device-viewer/sound.d.ts +0 -5
  170. package/dist/stories/device-viewer/sound.js +0 -13
  171. package/dist/stories/device-viewer/sound.js.map +0 -1
  172. package/dist/stories/device-viewer/text2.d.ts +0 -4
  173. package/dist/stories/device-viewer/text2.js +0 -12
  174. package/dist/stories/device-viewer/text2.js.map +0 -1
  175. package/dist/stories/device-viewer/text3.d.ts +0 -4
  176. package/dist/stories/device-viewer/text3.js +0 -14
  177. package/dist/stories/device-viewer/text3.js.map +0 -1
  178. package/dist/stories/device-viewer/utils/index.d.ts +0 -36
  179. package/dist/stories/device-viewer/utils/index.js +0 -166
  180. package/dist/stories/device-viewer/utils/index.js.map +0 -1
  181. package/dist/stories/device-viewer/worker/generate-mesh-bvh-worker.d.ts +0 -8
  182. package/dist/stories/device-viewer/worker/generate-mesh-bvh-worker.js +0 -88
  183. package/dist/stories/device-viewer/worker/generate-mesh-bvh-worker.js.map +0 -1
  184. package/dist/stories/device-viewer/worker/generateAsync.worker.d.ts +0 -1
  185. package/dist/stories/device-viewer/worker/generateAsync.worker.js +0 -57
  186. package/dist/stories/device-viewer/worker/generateAsync.worker.js.map +0 -1
  187. package/dist/stories/device-viewer/worker/path-tracing-scene-worker.d.ts +0 -16
  188. package/dist/stories/device-viewer/worker/path-tracing-scene-worker.js +0 -29
  189. package/dist/stories/device-viewer/worker/path-tracing-scene-worker.js.map +0 -1
  190. package/dist/stories/main/index.d.ts +0 -1
  191. package/dist/stories/main/index.js +0 -2
  192. package/dist/stories/main/index.js.map +0 -1
  193. package/dist/stories/main.d.ts +0 -4
  194. package/dist/stories/main.js +0 -5
  195. package/dist/stories/main.js.map +0 -1
  196. package/dist/stories/plugin.d.ts +0 -5
  197. package/dist/stories/plugin.js +0 -6
  198. package/dist/stories/plugin.js.map +0 -1
  199. package/dist/stories/plugins/change-slot/index.d.ts +0 -0
  200. package/dist/stories/plugins/change-slot/index.js +0 -2
  201. package/dist/stories/plugins/change-slot/index.js.map +0 -1
  202. package/dist/stories/sglb/index.d.ts +0 -27
  203. package/dist/stories/sglb/index.js +0 -151
  204. package/dist/stories/sglb/index.js.map +0 -1
  205. package/dist/stories/smap-viewer/index.d.ts +0 -14
  206. package/dist/stories/smap-viewer/index.js +0 -59
  207. package/dist/stories/smap-viewer/index.js.map +0 -1
  208. package/dist/stories/smap-viewer/index.stories.d.ts +0 -22
  209. package/dist/stories/smap-viewer/index.stories.js +0 -27
  210. package/dist/stories/smap-viewer/index.stories.js.map +0 -1
  211. package/dist/stories/step-viewer/index.d.ts +0 -17
  212. package/dist/stories/step-viewer/index.js +0 -109
  213. package/dist/stories/step-viewer/index.js.map +0 -1
  214. package/dist/stories/step-viewer/index.stories.d.ts +0 -20
  215. package/dist/stories/step-viewer/index.stories.js +0 -24
  216. package/dist/stories/step-viewer/index.stories.js.map +0 -1
  217. package/dist/stories/test/index.d.ts +0 -25
  218. package/dist/stories/test/index.js +0 -99
  219. package/dist/stories/test/index.js.map +0 -1
  220. package/dist/stories/test/index.stories.d.ts +0 -14
  221. package/dist/stories/test/index.stories.js +0 -16
  222. package/dist/stories/test/index.stories.js.map +0 -1
  223. package/dist/stories/test/scene.d.ts +0 -20
  224. package/dist/stories/test/scene.js +0 -86
  225. package/dist/stories/test/scene.js.map +0 -1
  226. package/dist/stories/utils/index.d.ts +0 -4
  227. package/dist/stories/utils/index.js +0 -28
  228. package/dist/stories/utils/index.js.map +0 -1
@@ -1 +0,0 @@
1
- var a=!0,n="Invariant failed";function v(o,r){if(!o){if(a)throw new Error(n);var i=typeof r=="function"?r():r,t=i?"".concat(n,": ").concat(i):n;throw new Error(t)}}export{v as i};
@@ -1 +0,0 @@
1
- (function(){"use strict";function i(e,t){return e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24}function u(e,t){return e[t]}function T(e,t){const r=new ArrayBuffer(4),o=new DataView(r);for(let c=0;c<4;++c)o.setUint8(c,e[t+3-c]);return o.getFloat32(0)}function f(e,t){return!!e[t]}function A(e,t){return 1<<24|e[t]|e[t+1]<<8|e[t+2]<<16,"#"+(1<<24|e[t]|e[t+1]<<8|e[t+2]<<16).toString(16).slice(1)}function S(e,t){var r=i(e,t);return t+=4,[new TextDecoder().decode(e.slice(t,t+r)),r+4]}self.addEventListener("message",e=>{const t=e.data;console.log(t);let r,o=[],s=new XMLHttpRequest;s.addEventListener("loadend",()=>{if(s.status!=200)return o;for(let c=0;c<s.responseText.length;++c)o.push(s.responseText.charCodeAt(c)&255);r=new Uint8Array(o),E(r),r=null}),s.open("GET",t,!0),s.overrideMimeType("text/plain; charset=x-user-defined"),s.send(null)});const m=e=>new TextDecoder().decode(e.slice(0,4))==="E3DX",v=e=>parseFloat(e[4].toString()+"."+e[5].toString()),w=e=>u(e,6),C={1:"STEP",4:"SOLIDWORKS PART",8:"X_T"};let l=0;const E=e=>{l=0,m(e)||console.error("this file is not an e3dx file."),l+=4;const t=v(e);if(console.log("version is %s",t),l+=2,console.log("type is %s",w(e)),l+=1,t>10){const r=u(e,7);l+=1,console.log("configCount:",r);const o=i(e,8);if(l+=4,console.log("origin format:",o,C[o]),r===0){const[s,c]=S(e,12);l=12+c+D(c-4);let n=JSON.parse(s);g(e,n),self.postMessage(n),n=null}}},g=(e,t)=>{t.byteLength&&L(e,t),t.children&&t.children.forEach(r=>{g(e,r)})},L=(e,t)=>{let{byteLength:r,offset:o,name:s,transform:c}=t;o+=l;let n=0;const h=i(e,o+n);if(n+=4,i(e,o+n),n+=4,i(e,o+n),n+=4,h>r)return;const d=f(e,o+n);n+=1;const p=f(e,o+n);n+=1,n+=2;const k=p?A(e,o+n):void 0;p&&(n+=4),T(e,o+n),n+=4,n+=4,n+=4;const P=e.slice(o+n,o+n+h);t.face=P,t.color=k,t.hidden=d};function D(e,t=4){return t?(t-e%t)%t:0}})();
package/dist/favicon.svg DELETED
@@ -1,7 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" width="164" height="164">
2
- <svg width="164" height="164" viewBox="0 0 164 164" fill="none" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M22.467 147.762 17.5 15.402a8.062 8.062 0 0 1 7.553-8.35L137.637.016a8.061 8.061 0 0 1 8.565 8.047v144.23a8.063 8.063 0 0 1-8.424 8.054l-107.615-4.833a8.062 8.062 0 0 1-7.695-7.752Z" fill="#FF4785"></path>
4
- <path fill-rule="evenodd" clip-rule="evenodd" d="m128.785.57-15.495.968-.755 18.172a1.203 1.203 0 0 0 1.928 1.008l7.06-5.354 5.962 4.697a1.202 1.202 0 0 0 1.946-.987L128.785.569Zm-12.059 60.856c-2.836 2.203-23.965 3.707-23.965.57.447-11.969-4.912-12.494-7.889-12.494-2.828 0-7.59.855-7.59 7.267 0 6.534 6.96 10.223 15.13 14.553 11.607 6.15 25.654 13.594 25.654 32.326 0 17.953-14.588 27.871-33.194 27.871-19.201 0-35.981-7.769-34.086-34.702.744-3.163 25.156-2.411 25.156 0-.298 11.114 2.232 14.383 8.633 14.383 4.912 0 7.144-2.708 7.144-7.267 0-6.9-7.252-10.973-15.595-15.657C64.827 81.933 51.53 74.468 51.53 57.34c0-17.098 11.76-28.497 32.747-28.497 20.988 0 32.449 11.224 32.449 32.584Z" fill="#fff"></path>
5
- </svg>
6
- <style>@media (prefers-color-scheme: light) { :root { filter: none; } }</style>
7
- </svg>
package/dist/iframe.html DELETED
@@ -1,495 +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
-
9
- <link
10
- rel="prefetch"
11
- href="./sb-common-assets/nunito-sans-regular.woff2"
12
- as="font"
13
- type="font/woff2"
14
- crossorigin
15
- />
16
- <link
17
- rel="prefetch"
18
- href="./sb-common-assets/nunito-sans-italic.woff2"
19
- as="font"
20
- type="font/woff2"
21
- crossorigin
22
- />
23
- <link
24
- rel="prefetch"
25
- href="./sb-common-assets/nunito-sans-bold.woff2"
26
- as="font"
27
- type="font/woff2"
28
- crossorigin
29
- />
30
- <link
31
- rel="prefetch"
32
- href="./sb-common-assets/nunito-sans-bold-italic.woff2"
33
- as="font"
34
- type="font/woff2"
35
- crossorigin
36
- />
37
- <link rel="stylesheet" href="./sb-common-assets/fonts.css" />
38
-
39
- <script>
40
- window.CONFIG_TYPE = 'PRODUCTION';
41
- window.LOGLEVEL = 'info';
42
- window.FRAMEWORK_OPTIONS = {};
43
- window.CHANNEL_OPTIONS = {};
44
- window.FEATURES = {"argTypeTargetsV7":true,"legacyDecoratorFileOrder":false,"disallowImplicitActionsInRenderV8":true};
45
- window.STORIES = [{"titlePrefix":"","directory":"./stories","files":"**/*.mdx","importPathMatcher":"^\\.[\\\\/](?:stories(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.mdx)$"},{"titlePrefix":"","directory":"./stories","files":"**/*.stories.@(js|jsx|mjs|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:stories(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|mjs|ts|tsx))$"}];
46
- window.DOCS_OPTIONS = {"defaultName":"Docs","autodocs":"tag"};
47
- window.TAGS_OPTIONS = {"dev-only":{"excludeFromDocsStories":true},"docs-only":{"excludeFromSidebar":true},"test-only":{"excludeFromSidebar":true,"excludeFromDocsStories":true}};
48
-
49
-
50
-
51
- // We do this so that "module && module.hot" etc. in Storybook source code
52
- // doesn't fail (it will simply be disabled)
53
- window.module = undefined;
54
- window.global = window;
55
- </script>
56
- <base target="_parent" />
57
-
58
- <style>
59
- /* While we aren't showing the main block yet, but still preparing, we want everything the user
60
- has rendered, which may or may not be in #storybook-root, to be display none */
61
- .sb-show-preparing-story:not(.sb-show-main) > :not(.sb-preparing-story) {
62
- display: none;
63
- }
64
-
65
- .sb-show-preparing-docs:not(.sb-show-main) > :not(.sb-preparing-docs) {
66
- display: none;
67
- }
68
-
69
- /* Hide our own blocks when we aren't supposed to be showing them */
70
- :not(.sb-show-preparing-story) > .sb-preparing-story,
71
- :not(.sb-show-preparing-docs) > .sb-preparing-docs,
72
- :not(.sb-show-nopreview) > .sb-nopreview,
73
- :not(.sb-show-errordisplay) > .sb-errordisplay {
74
- display: none;
75
- }
76
-
77
- .sb-show-main.sb-main-centered {
78
- margin: 0;
79
- display: flex;
80
- align-items: center;
81
- min-height: 100vh;
82
- }
83
-
84
- .sb-show-main.sb-main-centered #storybook-root {
85
- box-sizing: border-box;
86
- margin: auto;
87
- padding: 1rem;
88
- max-height: 100%; /* Hack for centering correctly in IE11 */
89
- }
90
-
91
- /* Vertical centering fix for IE11 */
92
- @media screen and (-ms-high-contrast: none), (-ms-high-contrast: active) {
93
- .sb-show-main.sb-main-centered:after {
94
- content: '';
95
- min-height: inherit;
96
- font-size: 0;
97
- }
98
- }
99
-
100
- .sb-show-main.sb-main-fullscreen {
101
- margin: 0;
102
- padding: 0;
103
- display: block;
104
- }
105
-
106
- .sb-show-main.sb-main-padded {
107
- margin: 0;
108
- padding: 1rem;
109
- display: block;
110
- box-sizing: border-box;
111
- }
112
-
113
- .sb-wrapper {
114
- position: fixed;
115
- top: 0;
116
- bottom: 0;
117
- left: 0;
118
- right: 0;
119
- padding: 20px;
120
- font-family:
121
- 'Nunito Sans',
122
- -apple-system,
123
- '.SFNSText-Regular',
124
- 'San Francisco',
125
- BlinkMacSystemFont,
126
- 'Segoe UI',
127
- 'Helvetica Neue',
128
- Helvetica,
129
- Arial,
130
- sans-serif;
131
- -webkit-font-smoothing: antialiased;
132
- overflow: auto;
133
- }
134
-
135
- .sb-heading {
136
- font-size: 14px;
137
- font-weight: 600;
138
- letter-spacing: 0.2px;
139
- margin: 10px 0;
140
- padding-right: 25px;
141
- }
142
-
143
- .sb-nopreview {
144
- display: flex;
145
- align-content: center;
146
- justify-content: center;
147
- }
148
-
149
- .sb-nopreview_main {
150
- margin: auto;
151
- padding: 30px;
152
- border-radius: 10px;
153
- background: rgba(0, 0, 0, 0.03);
154
- }
155
-
156
- .sb-nopreview_heading {
157
- text-align: center;
158
- }
159
-
160
- .sb-errordisplay {
161
- border: 20px solid rgb(187, 49, 49);
162
- background: #222;
163
- color: #fff;
164
- z-index: 999999;
165
- }
166
-
167
- .sb-errordisplay_code {
168
- padding: 10px;
169
- background: #000;
170
- color: #eee;
171
- font-family: 'Operator Mono', 'Fira Code Retina', 'Fira Code', 'FiraCode-Retina', 'Andale Mono',
172
- 'Lucida Console', Consolas, Monaco, monospace;
173
- }
174
-
175
- .sb-errordisplay pre {
176
- white-space: pre-wrap;
177
- }
178
-
179
- @-webkit-keyframes sb-rotate360 {
180
- from {
181
- transform: rotate(0deg);
182
- }
183
- to {
184
- transform: rotate(360deg);
185
- }
186
- }
187
- @keyframes sb-rotate360 {
188
- from {
189
- transform: rotate(0deg);
190
- }
191
- to {
192
- transform: rotate(360deg);
193
- }
194
- }
195
- @-webkit-keyframes sb-glow {
196
- 0%,
197
- 100% {
198
- opacity: 1;
199
- }
200
- 50% {
201
- opacity: 0.4;
202
- }
203
- }
204
- @keyframes sb-glow {
205
- 0%,
206
- 100% {
207
- opacity: 1;
208
- }
209
- 50% {
210
- opacity: 0.4;
211
- }
212
- }
213
-
214
- /* We display the preparing loaders *over* the rendering story */
215
- .sb-preparing-story,
216
- .sb-preparing-docs {
217
- background-color: white;
218
- /* Maximum possible z-index. It would be better to use stacking contexts to ensure it's always
219
- on top, but this isn't possible as it would require making CSS changes that could affect user code */
220
- z-index: 2147483647;
221
- }
222
-
223
- .sb-loader {
224
- -webkit-animation: sb-rotate360 0.7s linear infinite;
225
- animation: sb-rotate360 0.7s linear infinite;
226
- border-color: rgba(97, 97, 97, 0.29);
227
- border-radius: 50%;
228
- border-style: solid;
229
- border-top-color: #646464;
230
- border-width: 2px;
231
- display: inline-block;
232
- height: 32px;
233
- left: 50%;
234
- margin-left: -16px;
235
- margin-top: -16px;
236
- mix-blend-mode: difference;
237
- overflow: hidden;
238
- position: absolute;
239
- top: 50%;
240
- transition: all 200ms ease-out;
241
- vertical-align: top;
242
- width: 32px;
243
- z-index: 4;
244
- }
245
-
246
- .sb-previewBlock {
247
- background: #fff;
248
- border: 1px solid rgba(0, 0, 0, 0.1);
249
- border-radius: 4px;
250
- box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 0;
251
- margin: 25px auto 40px;
252
- max-width: 600px;
253
- }
254
-
255
- .sb-previewBlock_header {
256
- align-items: center;
257
- box-shadow: rgba(0, 0, 0, 0.1) 0 -1px 0 0 inset;
258
- display: flex;
259
- gap: 14px;
260
- height: 40px;
261
- padding: 0 12px;
262
- }
263
-
264
- .sb-previewBlock_icon {
265
- -webkit-animation: sb-glow 1.5s ease-in-out infinite;
266
- animation: sb-glow 1.5s ease-in-out infinite;
267
- background: #e6e6e6;
268
- height: 14px;
269
- width: 14px;
270
- }
271
- .sb-previewBlock_icon:last-child {
272
- margin-left: auto;
273
- }
274
-
275
- .sb-previewBlock_body {
276
- -webkit-animation: sb-glow 1.5s ease-in-out infinite;
277
- animation: sb-glow 1.5s ease-in-out infinite;
278
- height: 182px;
279
- position: relative;
280
- }
281
-
282
- .sb-argstableBlock {
283
- border-collapse: collapse;
284
- border-spacing: 0;
285
- font-size: 13px;
286
- line-height: 20px;
287
- margin: 25px auto 40px;
288
- max-width: 600px;
289
- text-align: left;
290
- width: 100%;
291
- }
292
- .sb-argstableBlock th:first-of-type,
293
- .sb-argstableBlock td:first-of-type {
294
- padding-left: 20px;
295
- }
296
- .sb-argstableBlock th:nth-of-type(2),
297
- .sb-argstableBlock td:nth-of-type(2) {
298
- width: 35%;
299
- }
300
- .sb-argstableBlock th:nth-of-type(3),
301
- .sb-argstableBlock td:nth-of-type(3) {
302
- width: 15%;
303
- }
304
- .sb-argstableBlock th:last-of-type,
305
- .sb-argstableBlock td:last-of-type {
306
- width: 25%;
307
- padding-right: 20px;
308
- }
309
- .sb-argstableBlock th span,
310
- .sb-argstableBlock td span {
311
- -webkit-animation: sb-glow 1.5s ease-in-out infinite;
312
- animation: sb-glow 1.5s ease-in-out infinite;
313
- background-color: rgba(0, 0, 0, 0.1);
314
- border-radius: 0;
315
- box-shadow: none;
316
- color: transparent;
317
- }
318
- .sb-argstableBlock th {
319
- padding: 10px 15px;
320
- }
321
-
322
- .sb-argstableBlock-body {
323
- border-radius: 4px;
324
- box-shadow:
325
- rgba(0, 0, 0, 0.1) 0 1px 3px 1px,
326
- rgba(0, 0, 0, 0.065) 0 0 0 1px;
327
- }
328
- .sb-argstableBlock-body tr {
329
- background: transparent;
330
- overflow: hidden;
331
- }
332
- .sb-argstableBlock-body tr:not(:first-child) {
333
- border-top: 1px solid #e6e6e6;
334
- }
335
- .sb-argstableBlock-body tr:first-child td:first-child {
336
- border-top-left-radius: 4px;
337
- }
338
- .sb-argstableBlock-body tr:first-child td:last-child {
339
- border-top-right-radius: 4px;
340
- }
341
- .sb-argstableBlock-body tr:last-child td:first-child {
342
- border-bottom-left-radius: 4px;
343
- }
344
- .sb-argstableBlock-body tr:last-child td:last-child {
345
- border-bottom-right-radius: 4px;
346
- }
347
- .sb-argstableBlock-body td {
348
- background: #fff;
349
- padding-bottom: 10px;
350
- padding-top: 10px;
351
- vertical-align: top;
352
- }
353
- .sb-argstableBlock-body td:not(:first-of-type) {
354
- padding-left: 15px;
355
- padding-right: 15px;
356
- }
357
- .sb-argstableBlock-body button {
358
- -webkit-animation: sb-glow 1.5s ease-in-out infinite;
359
- animation: sb-glow 1.5s ease-in-out infinite;
360
- background-color: rgba(0, 0, 0, 0.1);
361
- border: 0;
362
- border-radius: 0;
363
- box-shadow: none;
364
- color: transparent;
365
- display: inline;
366
- font-size: 12px;
367
- line-height: 1;
368
- padding: 10px 16px;
369
- }
370
-
371
- .sb-argstableBlock-summary {
372
- margin-top: 4px;
373
- }
374
-
375
- .sb-argstableBlock-code {
376
- margin-right: 4px;
377
- margin-bottom: 4px;
378
- padding: 2px 5px;
379
- }
380
- </style>
381
-
382
- <script>
383
- /* globals window */
384
- /* eslint-disable no-underscore-dangle */
385
- try {
386
- if (window.top !== window) {
387
- window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.top.__REACT_DEVTOOLS_GLOBAL_HOOK__;
388
- window.__VUE_DEVTOOLS_GLOBAL_HOOK__ = window.top.__VUE_DEVTOOLS_GLOBAL_HOOK__;
389
- window.top.__VUE_DEVTOOLS_CONTEXT__ = window.document;
390
- }
391
- } catch (e) {
392
- // eslint-disable-next-line no-console
393
- console.warn('unable to connect to top frame for connecting dev tools');
394
- }
395
- </script>
396
- <!--<script src="draco/draco_encoder.js"></script>-->
397
- <!--<script src="draco/draco_encoder_wrapper.js"></script>-->
398
- <!--<script src="https://threejs.org/examples/jsm/libs/draco/draco_encoder.js"></script>-->
399
-
400
- <script type="module" crossorigin src="./assets/iframe-tlQuLR4E.js"></script>
401
- </head>
402
-
403
- <body>
404
- <div class="sb-preparing-story sb-wrapper">
405
- <div class="sb-loader"></div>
406
- </div>
407
-
408
- <div class="sb-preparing-docs sb-wrapper">
409
- <div class="sb-previewBlock">
410
- <div class="sb-previewBlock_header">
411
- <div class="sb-previewBlock_icon"></div>
412
- <div class="sb-previewBlock_icon"></div>
413
- <div class="sb-previewBlock_icon"></div>
414
- <div class="sb-previewBlock_icon"></div>
415
- </div>
416
- <div class="sb-previewBlock_body">
417
- <div class="sb-loader"></div>
418
- </div>
419
- </div>
420
- <table aria-hidden="true" class="sb-argstableBlock">
421
- <thead class="sb-argstableBlock-head">
422
- <tr>
423
- <th><span>Name</span></th>
424
- <th><span>Description</span></th>
425
- <th><span>Default</span></th>
426
- <th><span>Control </span></th>
427
- </tr>
428
- </thead>
429
- <tbody class="sb-argstableBlock-body">
430
- <tr>
431
- <td><span>propertyName</span><span title="Required">*</span></td>
432
- <td>
433
- <div><span>This is a short description</span></div>
434
- <div class="sb-argstableBlock-summary">
435
- <div><span class="sb-argstableBlock-code">summary</span></div>
436
- </div>
437
- </td>
438
- <td>
439
- <div><span class="sb-argstableBlock-code">defaultValue</span></div>
440
- </td>
441
- <td><button>Set string</button></td>
442
- </tr>
443
- <tr>
444
- <td><span>propertyName</span><span>*</span></td>
445
- <td>
446
- <div><span>This is a short description</span></div>
447
- <div class="sb-argstableBlock-summary">
448
- <div><span class="sb-argstableBlock-code">summary</span></div>
449
- </div>
450
- </td>
451
- <td>
452
- <div><span class="sb-argstableBlock-code">defaultValue</span></div>
453
- </td>
454
- <td><button>Set string</button></td>
455
- </tr>
456
- <tr>
457
- <td><span>propertyName</span><span>*</span></td>
458
- <td>
459
- <div><span>This is a short description</span></div>
460
- <div class="sb-argstableBlock-summary">
461
- <div><span class="sb-argstableBlock-code">summary</span></div>
462
- </div>
463
- </td>
464
- <td>
465
- <div><span class="sb-argstableBlock-code">defaultValue</span></div>
466
- </td>
467
- <td><button>Set string</button></td>
468
- </tr>
469
- </tbody>
470
- </table>
471
- </div>
472
-
473
- <div class="sb-nopreview sb-wrapper">
474
- <div class="sb-nopreview_main">
475
- <h1 class="sb-nopreview_heading sb-heading">No Preview</h1>
476
- <p>Sorry, but you either have no stories or none are selected somehow.</p>
477
- <ul>
478
- <li>Please check the Storybook config.</li>
479
- <li>Try reloading the page.</li>
480
- </ul>
481
- <p>
482
- If the problem persists, check the browser console, or the terminal you've run Storybook from.
483
- </p>
484
- </div>
485
- </div>
486
-
487
- <div class="sb-errordisplay sb-wrapper">
488
- <pre id="error-message" class="sb-heading"></pre>
489
- <pre class="sb-errordisplay_code"><code id="error-stack"></code></pre>
490
- </div>
491
-
492
- <div id="storybook-root"></div>
493
- <div id="storybook-docs"></div>
494
- </body>
495
- </html>
package/dist/index.html DELETED
@@ -1,155 +0,0 @@
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, maximum-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/storybook-core-server-presets-0/common-manager-bundle.js" rel="modulepreload" />
32
-
33
- <link href="./sb-addons/links-1/manager-bundle.js" rel="modulepreload" />
34
-
35
- <link href="./sb-addons/essentials-controls-2/manager-bundle.js" rel="modulepreload" />
36
-
37
- <link href="./sb-addons/essentials-actions-3/manager-bundle.js" rel="modulepreload" />
38
-
39
- <link href="./sb-addons/essentials-backgrounds-4/manager-bundle.js" rel="modulepreload" />
40
-
41
- <link href="./sb-addons/essentials-viewport-5/manager-bundle.js" rel="modulepreload" />
42
-
43
- <link href="./sb-addons/essentials-toolbars-6/manager-bundle.js" rel="modulepreload" />
44
-
45
- <link href="./sb-addons/essentials-measure-7/manager-bundle.js" rel="modulepreload" />
46
-
47
- <link href="./sb-addons/essentials-outline-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
- "argTypeTargetsV7": true,
67
- "legacyDecoratorFileOrder": false,
68
- "disallowImplicitActionsInRenderV8": true
69
- };
70
-
71
-
72
-
73
- window['REFS'] = {};
74
-
75
-
76
-
77
- window['LOGLEVEL'] = "info";
78
-
79
-
80
-
81
- window['DOCS_OPTIONS'] = {
82
- "defaultName": "Docs",
83
- "autodocs": "tag"
84
- };
85
-
86
-
87
-
88
- window['CONFIG_TYPE'] = "PRODUCTION";
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
- window['TAGS_OPTIONS'] = {
97
- "dev-only": {
98
- "excludeFromDocsStories": true
99
- },
100
- "docs-only": {
101
- "excludeFromSidebar": true
102
- },
103
- "test-only": {
104
- "excludeFromSidebar": true,
105
- "excludeFromDocsStories": true
106
- }
107
- };
108
-
109
-
110
-
111
- window['STORYBOOK_RENDERER'] = "@storybook/web-components";
112
-
113
-
114
-
115
- window['STORYBOOK_BUILDER'] = "@storybook/builder-vite";
116
-
117
-
118
-
119
- window['STORYBOOK_FRAMEWORK'] = "@storybook/web-components-vite";
120
-
121
-
122
- </script>
123
-
124
-
125
- <script type="module">
126
- import './sb-manager/globals-runtime.js';
127
-
128
-
129
- import './sb-addons/storybook-core-server-presets-0/common-manager-bundle.js';
130
-
131
- import './sb-addons/links-1/manager-bundle.js';
132
-
133
- import './sb-addons/essentials-controls-2/manager-bundle.js';
134
-
135
- import './sb-addons/essentials-actions-3/manager-bundle.js';
136
-
137
- import './sb-addons/essentials-backgrounds-4/manager-bundle.js';
138
-
139
- import './sb-addons/essentials-viewport-5/manager-bundle.js';
140
-
141
- import './sb-addons/essentials-toolbars-6/manager-bundle.js';
142
-
143
- import './sb-addons/essentials-measure-7/manager-bundle.js';
144
-
145
- import './sb-addons/essentials-outline-8/manager-bundle.js';
146
-
147
-
148
- import './sb-manager/runtime.js';
149
- </script>
150
-
151
-
152
- <link href="./sb-preview/runtime.js" rel="prefetch" as="script" />
153
-
154
- </body>
155
- </html>
package/dist/index.json DELETED
@@ -1 +0,0 @@
1
- {"v":4,"entries":{"configure-your-project--docs":{"id":"configure-your-project--docs","title":"Configure your project","name":"Docs","importPath":"./stories/Configure.mdx","storiesImports":[],"type":"docs","tags":["unattached-mdx","docs"]},"example-header--docs":{"id":"example-header--docs","title":"Example/Header","name":"Docs","importPath":"./stories/Header.stories.js","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"example-header--logged-in":{"type":"story","id":"example-header--logged-in","name":"Logged In","title":"Example/Header","importPath":"./stories/Header.stories.js","tags":["autodocs","story"]},"example-header--logged-out":{"type":"story","id":"example-header--logged-out","name":"Logged Out","title":"Example/Header","importPath":"./stories/Header.stories.js","tags":["autodocs","story"]},"example-page--logged-in":{"type":"story","id":"example-page--logged-in","name":"Logged In","title":"Example/Page","importPath":"./stories/Page.stories.js","tags":["story"]},"example-page--logged-out":{"type":"story","id":"example-page--logged-out","name":"Logged Out","title":"Example/Page","importPath":"./stories/Page.stories.js","tags":["story"]},"shop-imagecropper--docs":{"id":"shop-imagecropper--docs","title":"Shop/ImageCropper","name":"Docs","importPath":"./stories/cropper/index.stories.ts","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"shop-imagecropper--primary":{"type":"story","id":"shop-imagecropper--primary","name":"Primary","title":"Shop/ImageCropper","importPath":"./stories/cropper/index.stories.ts","tags":["autodocs","story"]},"shop-deviceviewer--docs":{"id":"shop-deviceviewer--docs","title":"Shop/DeviceViewer","name":"Docs","importPath":"./stories/device-viewer/index.stories.ts","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"shop-deviceviewer--primary":{"type":"story","id":"shop-deviceviewer--primary","name":"Primary","title":"Shop/DeviceViewer","importPath":"./stories/device-viewer/index.stories.ts","tags":["autodocs","story"]},"shop-modelviewer--docs":{"id":"shop-modelviewer--docs","title":"Shop/ModelViewer","name":"Docs","importPath":"./stories/model-viewer/index.stories.ts","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"shop-modelviewer--primary":{"type":"story","id":"shop-modelviewer--primary","name":"Primary","title":"Shop/ModelViewer","importPath":"./stories/model-viewer/index.stories.ts","tags":["autodocs","story"]},"shop-smapviewer--docs":{"id":"shop-smapviewer--docs","title":"Shop/SmapViewer","name":"Docs","importPath":"./stories/smap-viewer/index.stories.ts","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"shop-smapviewer--primary":{"type":"story","id":"shop-smapviewer--primary","name":"Primary","title":"Shop/SmapViewer","importPath":"./stories/smap-viewer/index.stories.ts","tags":["autodocs","story"]},"shop-stepviewer--docs":{"id":"shop-stepviewer--docs","title":"Shop/StepViewer","name":"Docs","importPath":"./stories/step-viewer/index.stories.ts","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"shop-stepviewer--primary":{"type":"story","id":"shop-stepviewer--primary","name":"Primary","title":"Shop/StepViewer","importPath":"./stories/step-viewer/index.stories.ts","tags":["autodocs","story"]},"shop-testviewer--docs":{"id":"shop-testviewer--docs","title":"Shop/TestViewer","name":"Docs","importPath":"./stories/test/index.stories.ts","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"shop-testviewer--primary":{"type":"story","id":"shop-testviewer--primary","name":"Primary","title":"Shop/TestViewer","importPath":"./stories/test/index.stories.ts","tags":["autodocs","story"]}}}