@designcrowd/fe-shared-lib 1.2.0 → 1.2.1-ml-input-changes
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.storybook-static/assets/Auth-Cog6hw8U.css +1 -0
- package/.storybook-static/assets/Auth.stories-CbTWisKB.js +490 -0
- package/.storybook-static/assets/AuthCrazyDomains.stories-Dsjxh-je.js +73 -0
- package/.storybook-static/assets/Button-Dt0lL0uX.css +1 -0
- package/.storybook-static/assets/Button-IgCxbLvL.js +1 -0
- package/.storybook-static/assets/ButtonGroup-JjgCZ8Bt.css +1 -0
- package/.storybook-static/assets/ButtonGroup.stories-yhUiem6j.js +494 -0
- package/.storybook-static/assets/ButtonPrimary-CFNYtrCi.css +1 -0
- package/.storybook-static/assets/ButtonPrimary-Ce51KkgM.js +1 -0
- package/.storybook-static/assets/Buttons.stories-C7AZ07ow.js +699 -0
- package/.storybook-static/assets/ButtonsCrazyDomains.stories-DgtyyoFM.js +199 -0
- package/.storybook-static/assets/Checkbox.mixin-DkHpdvGa.js +1 -0
- package/.storybook-static/assets/Checkbox.stories-12upKauG.js +203 -0
- package/.storybook-static/assets/Checktile.stories-8H8_5ia-.js +88 -0
- package/.storybook-static/assets/CollapsiblePanel.stories-Cs6gaONK.js +39 -0
- package/.storybook-static/assets/Color-RQJUDNI5-B-WwomMi.js +1 -0
- package/.storybook-static/assets/ColorPicker.stories-DriJaUqB.js +73 -0
- package/.storybook-static/assets/CopyToClipboardText.stories-r9YFXGiX.js +32 -0
- package/.storybook-static/assets/DocsRenderer-K4EAMTCU-BflUCOHA.js +513 -0
- package/.storybook-static/assets/Dropdown.stories-D1RPdExw.js +154 -0
- package/.storybook-static/assets/DropdownItem-BQ0eJTHo.css +1 -0
- package/.storybook-static/assets/DropdownItem-C4PFbXSv.js +1 -0
- package/.storybook-static/assets/FormControl.mixin-BIPKWa5J.js +1 -0
- package/.storybook-static/assets/HashRouteModal.stories-jZo8F3lr.js +64 -0
- package/.storybook-static/assets/HelloBar-CXc7uecf.js +1 -0
- package/.storybook-static/assets/HelloBar.stories-DJPqn9T0.js +342 -0
- package/.storybook-static/assets/Icon-B8lXgcc0.js +1 -0
- package/.storybook-static/assets/Icon.stories-B2K3kKRW.js +735 -0
- package/.storybook-static/assets/Icon.stories-z4pz6mSi.js +126 -0
- package/.storybook-static/assets/Loader-D6_mUM4g.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-7RXxlPF7.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-8SUh_BWV.css +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours.stories-Cc65CQQK.js +36 -0
- package/.storybook-static/assets/Masonry-Q4MdMr0_.css +1 -0
- package/.storybook-static/assets/Masonry.stories-CB-rWe0y.js +71 -0
- package/.storybook-static/assets/Modal-BOHOQzO4.js +1 -0
- package/.storybook-static/assets/Modal-MZ2jF3mP.css +1 -0
- package/.storybook-static/assets/Modal.stories-Hbi4v2MQ.js +380 -0
- package/.storybook-static/assets/Notice.stories-ChRjh1h1.js +222 -0
- package/.storybook-static/assets/NumberStepper.stories-D4c10_Cl.js +48 -0
- package/.storybook-static/assets/PaymentConfigList.stories-EUp7r4Ga.js +126 -0
- package/.storybook-static/assets/Picture-AUjTe_FO.js +1 -0
- package/.storybook-static/assets/Picture.stories-7_37X1oI.js +119 -0
- package/.storybook-static/assets/Pill-DEH_ScBa.js +1 -0
- package/.storybook-static/assets/Pill.stories-CKakcDo1.js +18 -0
- package/.storybook-static/assets/PillBar-BeJSf_Pk.css +1 -0
- package/.storybook-static/assets/PillBar.stories-BNwlQM4p.js +41 -0
- package/.storybook-static/assets/Price-BzFp3dn5.js +1 -0
- package/.storybook-static/assets/Price.stories-m0jztoEd.js +221 -0
- package/.storybook-static/assets/PublishBrandPageModal-BOGSPjB0.css +1 -0
- package/.storybook-static/assets/PublishBrandPageModal.stories-Bt2eK5tM.js +349 -0
- package/.storybook-static/assets/SearchBar.stories-DE7D9jqF.js +12 -0
- package/.storybook-static/assets/Select-BkD_4Yie.css +1 -0
- package/.storybook-static/assets/Select.stories-vMzrjNuo.js +108 -0
- package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-DAV6wUWy.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-geQc7R-K.css +1 -0
- package/.storybook-static/assets/SellDomainNameListModal.stories-BOCkiwOR.js +71 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-DP3zr-UL.js +1 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-Dtf2vM3k.css +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults--W028-5L.js +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-CCYgVB46.js +37 -0
- package/.storybook-static/assets/SellDomainNameWidget.stories-ukdr-BaU.js +36 -0
- package/.storybook-static/assets/SignIn-B9RTmsHO.css +1 -0
- package/.storybook-static/assets/SignIn-yR2yVQBY.js +1 -0
- package/.storybook-static/assets/Slider-CQ7DbC3q.css +1 -0
- package/.storybook-static/assets/Slider.stories-CwIY_YjL.js +129 -0
- package/.storybook-static/assets/StarRating-BRQqs_py.css +1 -0
- package/.storybook-static/assets/StarRating.stories-B2ZK1FmW.js +45 -0
- package/.storybook-static/assets/TabMenu.stories-Cr3TQSxW.js +47 -0
- package/.storybook-static/assets/TextCopyField-BuZ5L-lt.js +1 -0
- package/.storybook-static/assets/TextCopyField.stories-ivRqKsNm.js +47 -0
- package/.storybook-static/assets/TextInput-BepJC9nE.js +1 -0
- package/.storybook-static/assets/TextInput.stories-BW4TEkLR.js +233 -0
- package/.storybook-static/assets/Textarea.stories-DWkB6BWG.js +207 -0
- package/.storybook-static/assets/Toggle.stories-C_GsxzOh.js +161 -0
- package/.storybook-static/assets/Tooltip-BHf5qq0n.css +1 -0
- package/.storybook-static/assets/Tooltip-BQfusa53.js +1 -0
- package/.storybook-static/assets/Tooltip.stories-CAIFG7b2.js +953 -0
- package/.storybook-static/assets/UploadYourLogoApplication-CeFWp7qz.css +9 -0
- package/.storybook-static/assets/UploadYourLogoApplication.stories-C-OLYLzi.js +194 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-BZeSfjIk.css +1 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-Cxgdqo37.js +24 -0
- package/.storybook-static/assets/UploadYourLogoDropzone.stories-X-I5FYLu.js +35 -0
- package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-B2kj1FVv.js +79 -0
- package/.storybook-static/assets/WithTooltip-Y7J54OF7-DkTQ6h6H.js +1 -0
- package/.storybook-static/assets/_commonjsHelpers-BosuxZz1.js +1 -0
- package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
- package/.storybook-static/assets/api-lSJGRrF2.js +1 -0
- package/.storybook-static/assets/axe-CeoKsdFO.js +30 -0
- package/.storybook-static/assets/axios-dxcvQi4N.js +6 -0
- package/.storybook-static/assets/brand-crowd-api.client-CfTgrTzo.js +1 -0
- package/.storybook-static/assets/carousel-B0jomWUs.css +1 -0
- package/.storybook-static/assets/carousel.stories-B1RxWT1u.js +374 -0
- package/.storybook-static/assets/entry-preview-CMasyaBj.js +1 -0
- package/.storybook-static/assets/entry-preview-docs-DfJD_mNC.js +14 -0
- package/.storybook-static/assets/event-constants-6ydiL1p5.js +1 -0
- package/.storybook-static/assets/formatter-B5HCVTEV-CmCZjaYl.js +58 -0
- package/.storybook-static/assets/iframe-B6RguKdJ.js +7 -0
- package/.storybook-static/assets/index-BqKh95Lf.js +24 -0
- package/.storybook-static/assets/index-BwDkhjyp.js +9 -0
- package/.storybook-static/assets/index-D-8MO0q_.js +1 -0
- package/.storybook-static/assets/index-DK28puIS.js +3 -0
- package/.storybook-static/assets/index-DlpNa54Y.js +1 -0
- package/.storybook-static/assets/index-DrFu-skq.js +6 -0
- package/.storybook-static/assets/preview-B4GcaC1c.js +1 -0
- package/.storybook-static/assets/preview-BAz7FMXc.js +396 -0
- package/.storybook-static/assets/preview-BJPLiuSt.js +1 -0
- package/.storybook-static/assets/preview-CBGjgnh2.js +1 -0
- package/.storybook-static/assets/preview-Cv3rAi2i.js +7 -0
- package/.storybook-static/assets/preview-CwqMn10d.js +20 -0
- package/.storybook-static/assets/preview-DF-d5FoE.js +1 -0
- package/.storybook-static/assets/preview-Db4Idchh.js +1 -0
- package/.storybook-static/assets/preview-DvOZkz_N.js +7 -0
- package/.storybook-static/assets/preview-G-5UVXmd.js +1 -0
- package/.storybook-static/assets/preview-efJowmDL.js +7 -0
- package/.storybook-static/assets/syntaxhighlighter-JOJW2KGS-DjsQUJyu.js +1 -0
- package/.storybook-static/assets/tracking-ATsLLehC.js +1 -0
- package/.storybook-static/assets/vue.esm-bundler-C7QvyiW1.js +47 -0
- package/.storybook-static/css/tailwind-brandCrowd.css +2344 -0
- package/.storybook-static/css/tailwind-brandPage.css +2032 -0
- package/.storybook-static/css/tailwind-crazyDomains.css +2344 -0
- package/.storybook-static/css/tailwind-designCom.css +2344 -0
- package/.storybook-static/css/tailwind-designCrowd.css +2344 -0
- package/.storybook-static/favicon.svg +7 -0
- package/.storybook-static/iframe.html +501 -0
- package/.storybook-static/index.html +163 -0
- package/.storybook-static/index.json +1 -0
- package/.storybook-static/project.json +1 -0
- package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/a11y-1/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/actions-2/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/actions-2/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/controls-3/manager-bundle.js +60 -0
- package/.storybook-static/sb-addons/controls-3/manager-bundle.js.LEGAL.txt +18 -0
- package/.storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js +12 -0
- package/.storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/essentials-measure-7/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/essentials-measure-7/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/essentials-outline-8/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/essentials-outline-8/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/links-9/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/links-9/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/themes-10/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/themes-10/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-common-assets/fonts.css +31 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/sb-manager/WithTooltip-Y7J54OF7-3AIPQNGM.js +1 -0
- package/.storybook-static/sb-manager/chunk-KCJCJECS.js +234 -0
- package/.storybook-static/sb-manager/chunk-TZAR34JC.js +6 -0
- package/.storybook-static/sb-manager/chunk-UOBNU442.js +347 -0
- package/.storybook-static/sb-manager/chunk-VCJ56UEM.js +183 -0
- package/.storybook-static/sb-manager/chunk-VMGB76WP.js +9 -0
- package/.storybook-static/sb-manager/chunk-XP3HGWTR.js +1 -0
- package/.storybook-static/sb-manager/formatter-B5HCVTEV-7DCBOGO6.js +58 -0
- package/.storybook-static/sb-manager/globals-module-info.js +1 -0
- package/.storybook-static/sb-manager/globals-runtime.js +1 -0
- package/.storybook-static/sb-manager/globals.js +1 -0
- package/.storybook-static/sb-manager/index.js +1 -0
- package/.storybook-static/sb-manager/runtime.js +1 -0
- package/.storybook-static/sb-manager/syntaxhighlighter-JOJW2KGS-7BF26SBB.js +1 -0
- package/.storybook-static/sb-preview/globals.js +1 -0
- package/.storybook-static/sb-preview/runtime.js +128 -0
- package/dist/css/tailwind-brandCrowd.css +2459 -0
- package/dist/css/tailwind-brandPage.css +2147 -0
- package/dist/css/tailwind-crazyDomains.css +2459 -0
- package/dist/css/tailwind-designCom.css +2459 -0
- package/dist/css/tailwind-designCrowd.css +2459 -0
- package/package.json +1 -1
- package/public/css/tailwind-brandCrowd.css +4 -0
- package/public/css/tailwind-brandPage.css +4 -0
- package/public/css/tailwind-crazyDomains.css +4 -0
- package/public/css/tailwind-designCom.css +4 -0
- package/public/css/tailwind-designCrowd.css +4 -0
- package/src/atoms/components/Button/Button.vue +3 -0
- package/src/atoms/components/Button/Buttons.stories.js +24 -0
- package/src/atoms/components/Button/variants/ButtonAi.vue +2 -2
- package/src/atoms/components/Button/variants/ButtonOutlinePrimary.vue +53 -0
- package/src/atoms/components/Dropdown/Dropdown.stories.js +5 -5
- package/src/atoms/components/FormControl/FormControl.mixin.js +7 -1
- package/src/atoms/components/TextInput/TextInput.vue +5 -0
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +1 -0
|
@@ -0,0 +1,396 @@
|
|
|
1
|
+
import{d as $}from"./index-DrFu-skq.js";const{useMemo:x,useEffect:f}=__STORYBOOK_MODULE_PREVIEW_API__,{global:p}=__STORYBOOK_MODULE_GLOBAL__;var u=i=>{(Array.isArray(i)?i:[i]).forEach(r)},r=i=>{let t=typeof i=="string"?i:i.join(""),o=p.document.getElementById(t);o&&o.parentElement&&o.parentElement.removeChild(o)},b=(i,t)=>{let o=p.document.getElementById(i);if(o)o.innerHTML!==t&&(o.innerHTML=t);else{let n=p.document.createElement("style");n.setAttribute("id",i),n.innerHTML=t,p.document.head.appendChild(n)}},m="outline";function s(i){return $`
|
|
2
|
+
${i} body {
|
|
3
|
+
outline: 1px solid #2980b9 !important;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
${i} article {
|
|
7
|
+
outline: 1px solid #3498db !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
${i} nav {
|
|
11
|
+
outline: 1px solid #0088c3 !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
${i} aside {
|
|
15
|
+
outline: 1px solid #33a0ce !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
${i} section {
|
|
19
|
+
outline: 1px solid #66b8da !important;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
${i} header {
|
|
23
|
+
outline: 1px solid #99cfe7 !important;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
${i} footer {
|
|
27
|
+
outline: 1px solid #cce7f3 !important;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
${i} h1 {
|
|
31
|
+
outline: 1px solid #162544 !important;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
${i} h2 {
|
|
35
|
+
outline: 1px solid #314e6e !important;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
${i} h3 {
|
|
39
|
+
outline: 1px solid #3e5e85 !important;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
${i} h4 {
|
|
43
|
+
outline: 1px solid #449baf !important;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
${i} h5 {
|
|
47
|
+
outline: 1px solid #c7d1cb !important;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
${i} h6 {
|
|
51
|
+
outline: 1px solid #4371d0 !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
${i} main {
|
|
55
|
+
outline: 1px solid #2f4f90 !important;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
${i} address {
|
|
59
|
+
outline: 1px solid #1a2c51 !important;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
${i} div {
|
|
63
|
+
outline: 1px solid #036cdb !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
${i} p {
|
|
67
|
+
outline: 1px solid #ac050b !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
${i} hr {
|
|
71
|
+
outline: 1px solid #ff063f !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
${i} pre {
|
|
75
|
+
outline: 1px solid #850440 !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
${i} blockquote {
|
|
79
|
+
outline: 1px solid #f1b8e7 !important;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
${i} ol {
|
|
83
|
+
outline: 1px solid #ff050c !important;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
${i} ul {
|
|
87
|
+
outline: 1px solid #d90416 !important;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
${i} li {
|
|
91
|
+
outline: 1px solid #d90416 !important;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
${i} dl {
|
|
95
|
+
outline: 1px solid #fd3427 !important;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
${i} dt {
|
|
99
|
+
outline: 1px solid #ff0043 !important;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
${i} dd {
|
|
103
|
+
outline: 1px solid #e80174 !important;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
${i} figure {
|
|
107
|
+
outline: 1px solid #ff00bb !important;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
${i} figcaption {
|
|
111
|
+
outline: 1px solid #bf0032 !important;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
${i} table {
|
|
115
|
+
outline: 1px solid #00cc99 !important;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
${i} caption {
|
|
119
|
+
outline: 1px solid #37ffc4 !important;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
${i} thead {
|
|
123
|
+
outline: 1px solid #98daca !important;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
${i} tbody {
|
|
127
|
+
outline: 1px solid #64a7a0 !important;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
${i} tfoot {
|
|
131
|
+
outline: 1px solid #22746b !important;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
${i} tr {
|
|
135
|
+
outline: 1px solid #86c0b2 !important;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
${i} th {
|
|
139
|
+
outline: 1px solid #a1e7d6 !important;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
${i} td {
|
|
143
|
+
outline: 1px solid #3f5a54 !important;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
${i} col {
|
|
147
|
+
outline: 1px solid #6c9a8f !important;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
${i} colgroup {
|
|
151
|
+
outline: 1px solid #6c9a9d !important;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
${i} button {
|
|
155
|
+
outline: 1px solid #da8301 !important;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
${i} datalist {
|
|
159
|
+
outline: 1px solid #c06000 !important;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
${i} fieldset {
|
|
163
|
+
outline: 1px solid #d95100 !important;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
${i} form {
|
|
167
|
+
outline: 1px solid #d23600 !important;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
${i} input {
|
|
171
|
+
outline: 1px solid #fca600 !important;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
${i} keygen {
|
|
175
|
+
outline: 1px solid #b31e00 !important;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
${i} label {
|
|
179
|
+
outline: 1px solid #ee8900 !important;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
${i} legend {
|
|
183
|
+
outline: 1px solid #de6d00 !important;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
${i} meter {
|
|
187
|
+
outline: 1px solid #e8630c !important;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
${i} optgroup {
|
|
191
|
+
outline: 1px solid #b33600 !important;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
${i} option {
|
|
195
|
+
outline: 1px solid #ff8a00 !important;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
${i} output {
|
|
199
|
+
outline: 1px solid #ff9619 !important;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
${i} progress {
|
|
203
|
+
outline: 1px solid #e57c00 !important;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
${i} select {
|
|
207
|
+
outline: 1px solid #e26e0f !important;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
${i} textarea {
|
|
211
|
+
outline: 1px solid #cc5400 !important;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
${i} details {
|
|
215
|
+
outline: 1px solid #33848f !important;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
${i} summary {
|
|
219
|
+
outline: 1px solid #60a1a6 !important;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
${i} command {
|
|
223
|
+
outline: 1px solid #438da1 !important;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
${i} menu {
|
|
227
|
+
outline: 1px solid #449da6 !important;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
${i} del {
|
|
231
|
+
outline: 1px solid #bf0000 !important;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
${i} ins {
|
|
235
|
+
outline: 1px solid #400000 !important;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
${i} img {
|
|
239
|
+
outline: 1px solid #22746b !important;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
${i} iframe {
|
|
243
|
+
outline: 1px solid #64a7a0 !important;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
${i} embed {
|
|
247
|
+
outline: 1px solid #98daca !important;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
${i} object {
|
|
251
|
+
outline: 1px solid #00cc99 !important;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
${i} param {
|
|
255
|
+
outline: 1px solid #37ffc4 !important;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
${i} video {
|
|
259
|
+
outline: 1px solid #6ee866 !important;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
${i} audio {
|
|
263
|
+
outline: 1px solid #027353 !important;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
${i} source {
|
|
267
|
+
outline: 1px solid #012426 !important;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
${i} canvas {
|
|
271
|
+
outline: 1px solid #a2f570 !important;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
${i} track {
|
|
275
|
+
outline: 1px solid #59a600 !important;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
${i} map {
|
|
279
|
+
outline: 1px solid #7be500 !important;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
${i} area {
|
|
283
|
+
outline: 1px solid #305900 !important;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
${i} a {
|
|
287
|
+
outline: 1px solid #ff62ab !important;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
${i} em {
|
|
291
|
+
outline: 1px solid #800b41 !important;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
${i} strong {
|
|
295
|
+
outline: 1px solid #ff1583 !important;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
${i} i {
|
|
299
|
+
outline: 1px solid #803156 !important;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
${i} b {
|
|
303
|
+
outline: 1px solid #cc1169 !important;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
${i} u {
|
|
307
|
+
outline: 1px solid #ff0430 !important;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
${i} s {
|
|
311
|
+
outline: 1px solid #f805e3 !important;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
${i} small {
|
|
315
|
+
outline: 1px solid #d107b2 !important;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
${i} abbr {
|
|
319
|
+
outline: 1px solid #4a0263 !important;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
${i} q {
|
|
323
|
+
outline: 1px solid #240018 !important;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
${i} cite {
|
|
327
|
+
outline: 1px solid #64003c !important;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
${i} dfn {
|
|
331
|
+
outline: 1px solid #b4005a !important;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
${i} sub {
|
|
335
|
+
outline: 1px solid #dba0c8 !important;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
${i} sup {
|
|
339
|
+
outline: 1px solid #cc0256 !important;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
${i} time {
|
|
343
|
+
outline: 1px solid #d6606d !important;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
${i} code {
|
|
347
|
+
outline: 1px solid #e04251 !important;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
${i} kbd {
|
|
351
|
+
outline: 1px solid #5e001f !important;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
${i} samp {
|
|
355
|
+
outline: 1px solid #9c0033 !important;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
${i} var {
|
|
359
|
+
outline: 1px solid #d90047 !important;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
${i} mark {
|
|
363
|
+
outline: 1px solid #ff0053 !important;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
${i} bdi {
|
|
367
|
+
outline: 1px solid #bf3668 !important;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
${i} bdo {
|
|
371
|
+
outline: 1px solid #6f1400 !important;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
${i} ruby {
|
|
375
|
+
outline: 1px solid #ff7b93 !important;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
${i} rt {
|
|
379
|
+
outline: 1px solid #ff2f54 !important;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
${i} rp {
|
|
383
|
+
outline: 1px solid #803e49 !important;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
${i} span {
|
|
387
|
+
outline: 1px solid #cc2643 !important;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
${i} br {
|
|
391
|
+
outline: 1px solid #db687d !important;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
${i} wbr {
|
|
395
|
+
outline: 1px solid #db175b !important;
|
|
396
|
+
}`}var e=(i,t)=>{let{globals:o}=t,n=[!0,"true"].includes(o[m]),d=t.viewMode==="docs",l=x(()=>s(d?'[data-story-block="true"]':".sb-show-main"),[t]);return f(()=>{let a=d?`addon-outline-docs-${t.id}`:"addon-outline";return n?b(a,l):u(a),()=>{u(a)}},[n,l,t]),i()},g=[e],h={[m]:!1};export{g as decorators,h as globals};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./index-D-8MO0q_.js";const{global:O}=__STORYBOOK_MODULE_GLOBAL__,{makeDecorator:E,addons:_}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_CHANGED:l,SELECT_STORY:L}=__STORYBOOK_MODULE_CORE_EVENTS__;var c="links",{document:i,HTMLElement:m}=O,v=e=>_.getChannel().emit(L,e),o=e=>{let{target:t}=e;if(!(t instanceof m))return;let s=t,{sbKind:a,sbStory:r}=s.dataset;(a||r)&&(e.preventDefault(),v({kind:a,story:r}))},n=!1,d=()=>{n||(n=!0,i.addEventListener("click",o))},k=()=>{n&&(n=!1,i.removeEventListener("click",o))},R=E({name:"withLinks",parameterName:c,wrapper:(e,t)=>(d(),_.getChannel().once(l,k),e(t))}),T=[R];export{T as decorators};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let l;const S=new Uint8Array(16);function D(){if(!l&&(l=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!l))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return l(S)}const r=[];for(let t=0;t<256;++t)r.push((t+256).toString(16).slice(1));function T(t,e=0){return r[t[e+0]]+r[t[e+1]]+r[t[e+2]]+r[t[e+3]]+"-"+r[t[e+4]]+r[t[e+5]]+"-"+r[t[e+6]]+r[t[e+7]]+"-"+r[t[e+8]]+r[t[e+9]]+"-"+r[t[e+10]]+r[t[e+11]]+r[t[e+12]]+r[t[e+13]]+r[t[e+14]]+r[t[e+15]]}const f=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),m={randomUUID:f};function w(t,e,i){if(m.randomUUID&&!e&&!t)return m.randomUUID();t=t||{};const n=t.random||(t.rng||D)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,T(n)}const{addons:U}=__STORYBOOK_MODULE_PREVIEW_API__,{global:R}=__STORYBOOK_MODULE_GLOBAL__,{ImplicitActionsDuringRendering:j}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var x="storybook/actions",V=`${x}/action-event`,P={depth:10,clearOnStoryChange:!0,limit:50},E=(t,e)=>{let i=Object.getPrototypeOf(t);return!i||e(i)?i:E(i,e)},F=t=>!!(typeof t=="object"&&t&&E(t,e=>/^Synthetic(?:Base)?Event$/.test(e.constructor.name))&&typeof t.persist=="function"),M=t=>{if(F(t)){let e=Object.create(t.constructor.prototype,Object.getOwnPropertyDescriptors(t));e.persist();let i=Object.getOwnPropertyDescriptor(e,"view"),n=i==null?void 0:i.value;return typeof n=="object"&&(n==null?void 0:n.constructor.name)==="Window"&&Object.defineProperty(e,"view",{...i,value:Object.create(n.constructor.prototype)}),e}return t},B=()=>typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?w():Date.now().toString(36)+Math.random().toString(36).substring(2);function y(t,e={}){let i={...P,...e},n=function(...c){var g,u;if(e.implicit){let _=(g="__STORYBOOK_PREVIEW__"in R?R.__STORYBOOK_PREVIEW__:void 0)==null?void 0:g.storyRenders.find(d=>d.phase==="playing"||d.phase==="rendering");if(_){let d=!((u=window==null?void 0:window.FEATURES)!=null&&u.disallowImplicitActionsInRenderV8),O=new j({phase:_.phase,name:t,deprecated:d});if(d)console.warn(O);else throw O}}let o=U.getChannel(),a=B(),s=5,p=c.map(M),A=c.length>1?p:p[0],I={id:a,count:0,data:{name:t,args:A},options:{...i,maxDepth:s+(i.depth||3),allowFunction:i.allowFunction||!1}};o.emit(V,I)};return n.isAction=!0,n.implicit=e.implicit,n}var b=(t,e)=>typeof e[t]>"u"&&!(t in e),v=t=>{let{initialArgs:e,argTypes:i,id:n,parameters:{actions:c}}=t;if(!c||c.disable||!c.argTypesRegex||!i)return{};let o=new RegExp(c.argTypesRegex);return Object.entries(i).filter(([a])=>!!o.test(a)).reduce((a,[s,p])=>(b(s,e)&&(a[s]=y(s,{implicit:!0,id:n})),a),{})},k=t=>{let{initialArgs:e,argTypes:i,parameters:{actions:n}}=t;return n!=null&&n.disable||!i?{}:Object.entries(i).filter(([c,o])=>!!o.action).reduce((c,[o,a])=>(b(o,e)&&(c[o]=y(typeof a.action=="string"?a.action:o)),c),{})},L=[k,v],h=Symbol.for("tinyspy:spy"),K=t=>{let{args:e,parameters:{actions:i}}=t;i!=null&&i.disable||Object.entries(e).filter(([,n])=>typeof n=="function"&&"_isMockFunction"in n&&n._isMockFunction).forEach(([n,c])=>{var a;let o=c.getMockImplementation()??(h in c?(a=c[h])==null?void 0:a.getOriginal():void 0);if((o==null?void 0:o._actionAttached)!==!0&&(o==null?void 0:o.isAction)!==!0){let s=(...p)=>(y(n)(...p),o==null?void 0:o(...p));s._actionAttached=!0,c.mockImplementation(s)}})},W=[K];export{L as argsEnhancers,W as loaders,h as tinySpyInternalState};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const{global:r}=__STORYBOOK_MODULE_GLOBAL__,{addons:s}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_CHANGED:O}=__STORYBOOK_MODULE_CORE_EVENTS__;var i="storybook/highlight",d="storybookHighlight",g=`${i}/add`,E=`${i}/reset`,{document:l}=r,H=(e="#FF4785",t="dashed")=>`
|
|
2
|
+
outline: 2px ${t} ${e};
|
|
3
|
+
outline-offset: 2px;
|
|
4
|
+
box-shadow: 0 0 0 6px rgba(255,255,255,0.6);
|
|
5
|
+
`,I=e=>({outline:`2px dashed ${e}`,outlineOffset:2,boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"}),_=s.getChannel(),T=e=>{let t=d;n();let o=Array.from(new Set(e.elements)),h=l.createElement("style");h.setAttribute("id",t),h.innerHTML=o.map(a=>`${a}{
|
|
6
|
+
${H(e.color,e.style)}
|
|
7
|
+
}`).join(" "),l.head.appendChild(h)},n=()=>{var o;let e=d,t=l.getElementById(e);t&&((o=t.parentNode)==null||o.removeChild(t))};_.on(O,n);_.on(E,n);_.on(g,T);export{I as highlightObject,H as highlightStyle};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import{d as E}from"./index-DrFu-skq.js";const{useMemo:f,useEffect:v}=__STORYBOOK_MODULE_PREVIEW_API__,{global:M}=__STORYBOOK_MODULE_GLOBAL__,{logger:h}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var p="backgrounds",{document:l,window:B}=M,x=()=>B.matchMedia("(prefers-reduced-motion: reduce)").matches,O=(r,e=[],a)=>{if(r==="transparent")return"transparent";if(e.find(n=>n.value===r))return r;let d=e.find(n=>n.name===a);if(d)return d.value;if(a){let n=e.map(o=>o.name).join(", ");h.warn(E`
|
|
2
|
+
Backgrounds Addon: could not find the default color "${a}".
|
|
3
|
+
These are the available colors for your story based on your configuration:
|
|
4
|
+
${n}.
|
|
5
|
+
`)}return"transparent"},k=r=>{(Array.isArray(r)?r:[r]).forEach(S)},S=r=>{var a;let e=l.getElementById(r);e&&((a=e.parentElement)==null||a.removeChild(e))},w=(r,e)=>{let a=l.getElementById(r);if(a)a.innerHTML!==e&&(a.innerHTML=e);else{let d=l.createElement("style");d.setAttribute("id",r),d.innerHTML=e,l.head.appendChild(d)}},A=(r,e,a)=>{var n;let d=l.getElementById(r);if(d)d.innerHTML!==e&&(d.innerHTML=e);else{let o=l.createElement("style");o.setAttribute("id",r),o.innerHTML=e;let i=`addon-backgrounds-grid${a?`-docs-${a}`:""}`,t=l.getElementById(i);t?(n=t.parentElement)==null||n.insertBefore(o,t):l.head.appendChild(o)}},L=(r,e)=>{var c;let{globals:a,parameters:d}=e,n=(c=a[p])==null?void 0:c.value,o=d[p],i=f(()=>o.disable?"transparent":O(n,o.values,o.default),[o,n]),t=f(()=>i&&i!=="transparent",[i]),s=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",u=f(()=>`
|
|
6
|
+
${s} {
|
|
7
|
+
background: ${i} !important;
|
|
8
|
+
${x()?"":"transition: background-color 0.3s;"}
|
|
9
|
+
}
|
|
10
|
+
`,[i,s]);return v(()=>{let g=e.viewMode==="docs"?`addon-backgrounds-docs-${e.id}`:"addon-backgrounds-color";if(!t){k(g);return}A(g,u,e.viewMode==="docs"?e.id:null)},[t,u,e]),r()},T=(r,e)=>{var y;let{globals:a,parameters:d}=e,n=d[p].grid,o=((y=a[p])==null?void 0:y.grid)===!0&&n.disable!==!0,{cellAmount:i,cellSize:t,opacity:s}=n,u=e.viewMode==="docs",c=d.layout===void 0||d.layout==="padded"?16:0,g=n.offsetX??(u?20:c),m=n.offsetY??(u?20:c),$=f(()=>{let b=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",_=[`${t*i}px ${t*i}px`,`${t*i}px ${t*i}px`,`${t}px ${t}px`,`${t}px ${t}px`].join(", ");return`
|
|
11
|
+
${b} {
|
|
12
|
+
background-size: ${_} !important;
|
|
13
|
+
background-position: ${g}px ${m}px, ${g}px ${m}px, ${g}px ${m}px, ${g}px ${m}px !important;
|
|
14
|
+
background-blend-mode: difference !important;
|
|
15
|
+
background-image: linear-gradient(rgba(130, 130, 130, ${s}) 1px, transparent 1px),
|
|
16
|
+
linear-gradient(90deg, rgba(130, 130, 130, ${s}) 1px, transparent 1px),
|
|
17
|
+
linear-gradient(rgba(130, 130, 130, ${s/2}) 1px, transparent 1px),
|
|
18
|
+
linear-gradient(90deg, rgba(130, 130, 130, ${s/2}) 1px, transparent 1px) !important;
|
|
19
|
+
}
|
|
20
|
+
`},[t]);return v(()=>{let b=e.viewMode==="docs"?`addon-backgrounds-grid-docs-${e.id}`:"addon-backgrounds-grid";if(!o){k(b);return}w(b,$)},[o,$,e]),r()},I=[T,L],R={[p]:{grid:{cellSize:20,opacity:.5,cellAmount:5},values:[{name:"light",value:"#F8F8F8"},{name:"dark",value:"#333333"}]}},G={[p]:null};export{I as decorators,G as globals,R as parameters};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a="theme",e={[a]:""};export{e as globals};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var j="Invariant failed";function S(e,t){if(!e)throw new Error(j)}const{useEffect:T}=__STORYBOOK_MODULE_PREVIEW_API__,{global:d}=__STORYBOOK_MODULE_GLOBAL__;function Y(){let e=d.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}function K(){let e=d.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");S(t!=null);let{width:o,height:l}=Y();return A(e,t,{width:o,height:l}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",d.document.body.appendChild(e),{canvas:e,context:t,width:o,height:l}}function A(e,t,{width:o,height:l}){e.style.width=`${o}px`,e.style.height=`${l}px`;let i=d.window.devicePixelRatio;e.width=Math.floor(o*i),e.height=Math.floor(l*i),t.scale(i,i)}var h={};function U(){h.canvas||(h=K())}function H(){h.context&&h.context.clearRect(0,0,h.width??0,h.height??0)}function V(e){H(),e(h.context)}function Z(){S(h.canvas),S(h.context),A(h.canvas,h.context,{width:0,height:0});let{width:e,height:t}=Y();A(h.canvas,h.context,{width:e,height:t}),h.width=e,h.height=t}function G(){var e;h.canvas&&(H(),(e=h.canvas.parentNode)==null||e.removeChild(h.canvas),h={})}var w={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},c=6;function W(e,{x:t,y:o,w:l,h:i,r:n}){t=t-l/2,o=o-i/2,l<2*n&&(n=l/2),i<2*n&&(n=i/2),e.beginPath(),e.moveTo(t+n,o),e.arcTo(t+l,o,t+l,o+i,n),e.arcTo(t+l,o+i,t,o+i,n),e.arcTo(t,o+i,t,o,n),e.arcTo(t,o,t+l,o,n),e.closePath()}function J(e,{padding:t,border:o,width:l,height:i,top:n,left:r}){let f=l-o.left-o.right-t.left-t.right,a=i-t.top-t.bottom-o.top-o.bottom,s=r+o.left+t.left,u=n+o.top+t.top;return e==="top"?s+=f/2:e==="right"?(s+=f,u+=a/2):e==="bottom"?(s+=f/2,u+=a):e==="left"?u+=a/2:e==="center"&&(s+=f/2,u+=a/2),{x:s,y:u}}function Q(e,t,{margin:o,border:l,padding:i},n,r){let f=m=>0,a=0,s=0,u=r?1:.5,g=r?n*2:0;return e==="padding"?f=m=>i[m]*u+g:e==="border"?f=m=>i[m]+l[m]*u+g:e==="margin"&&(f=m=>i[m]+l[m]+o[m]*u+g),t==="top"?s=-f("top"):t==="right"?a=f("right"):t==="bottom"?s=f("bottom"):t==="left"&&(a=-f("left")),{offsetX:a,offsetY:s}}function x(e,t){return Math.abs(e.x-t.x)<Math.abs(e.w+t.w)/2&&Math.abs(e.y-t.y)<Math.abs(e.h+t.h)/2}function tt(e,t,o){return e==="top"?t.y=o.y-o.h-c:e==="right"?t.x=o.x+o.w/2+c+t.w/2:e==="bottom"?t.y=o.y+o.h+c:e==="left"&&(t.x=o.x-o.w/2-c-t.w/2),{x:t.x,y:t.y}}function X(e,t,{x:o,y:l,w:i,h:n},r){return W(e,{x:o,y:l,w:i,h:n,r:3}),e.fillStyle=`${w[t]}dd`,e.fill(),e.strokeStyle=w[t],e.stroke(),e.fillStyle=w.text,e.fillText(r,o,l),W(e,{x:o,y:l,w:i,h:n,r:3}),e.fillStyle=`${w[t]}dd`,e.fill(),e.strokeStyle=w[t],e.stroke(),e.fillStyle=w.text,e.fillText(r,o,l),{x:o,y:l,w:i,h:n}}function C(e,t){e.font="600 12px monospace",e.textBaseline="middle",e.textAlign="center";let o=e.measureText(t),l=o.actualBoundingBoxAscent+o.actualBoundingBoxDescent,i=o.width+c*2,n=l+c*2;return{w:i,h:n}}function et(e,t,{type:o,position:l="center",text:i},n,r=!1){let{x:f,y:a}=J(l,t),{offsetX:s,offsetY:u}=Q(o,l,t,c+1,r);f+=s,a+=u;let{w:g,h:m}=C(e,i);if(n&&x({x:f,y:a,w:g,h:m},n)){let v=tt(l,{x:f,y:a,w:g,h:m},n);f=v.x,a=v.y}return X(e,o,{x:f,y:a,w:g,h:m},i)}function ot(e,{w:t,h:o}){let l=t*.5+c,i=o*.5+c;return{offsetX:(e.x==="left"?-1:1)*l,offsetY:(e.y==="top"?-1:1)*i}}function it(e,t,{type:o,text:l}){let{floatingAlignment:i,extremities:n}=t,r=n[i.x],f=n[i.y],{w:a,h:s}=C(e,l),{offsetX:u,offsetY:g}=ot(i,{w:a,h:s});return r+=u,f+=g,X(e,o,{x:r,y:f,w:a,h:s},l)}function E(e,t,o,l){let i=[];o.forEach((n,r)=>{let f=l&&n.position==="center"?it(e,t,n):et(e,t,n,i[r-1],l);i[r]=f})}function lt(e,t,o,l){let i=o.reduce((n,r)=>{var f;return Object.prototype.hasOwnProperty.call(n,r.position)||(n[r.position]=[]),(f=n[r.position])==null||f.push(r),n},{});i.top&&E(e,t,i.top,l),i.right&&E(e,t,i.right,l),i.bottom&&E(e,t,i.bottom,l),i.left&&E(e,t,i.left,l),i.center&&E(e,t,i.center,l)}var L={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},B=30;function p(e){return parseInt(e.replace("px",""),10)}function b(e){return Number.isInteger(e)?e:e.toFixed(2)}function P(e){return e.filter(t=>t.text!==0&&t.text!=="0")}function nt(e){let t={top:d.window.scrollY,bottom:d.window.scrollY+d.window.innerHeight,left:d.window.scrollX,right:d.window.scrollX+d.window.innerWidth},o={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:o.left>o.right?"left":"right",y:o.top>o.bottom?"top":"bottom"}}function ft(e){let t=d.getComputedStyle(e),{top:o,left:l,right:i,bottom:n,width:r,height:f}=e.getBoundingClientRect(),{marginTop:a,marginBottom:s,marginLeft:u,marginRight:g,paddingTop:m,paddingBottom:v,paddingLeft:k,paddingRight:F,borderBottomWidth:I,borderTopWidth:D,borderLeftWidth:$,borderRightWidth:N}=t;o=o+d.window.scrollY,l=l+d.window.scrollX,n=n+d.window.scrollY,i=i+d.window.scrollX;let y={top:p(a),bottom:p(s),left:p(u),right:p(g)},q={top:p(m),bottom:p(v),left:p(k),right:p(F)},z={top:p(D),bottom:p(I),left:p($),right:p(N)},_={top:o-y.top,bottom:n+y.bottom,left:l-y.left,right:i+y.right};return{margin:y,padding:q,border:z,top:o,left:l,bottom:n,right:i,width:r,height:f,extremities:_,floatingAlignment:nt(_)}}function rt(e,{margin:t,width:o,height:l,top:i,left:n,bottom:r,right:f}){let a=l+t.bottom+t.top;e.fillStyle=L.margin,e.fillRect(n,i-t.top,o,t.top),e.fillRect(f,i-t.top,t.right,a),e.fillRect(n,r,o,t.bottom),e.fillRect(n-t.left,i-t.top,t.left,a);let s=[{type:"margin",text:b(t.top),position:"top"},{type:"margin",text:b(t.right),position:"right"},{type:"margin",text:b(t.bottom),position:"bottom"},{type:"margin",text:b(t.left),position:"left"}];return P(s)}function at(e,{padding:t,border:o,width:l,height:i,top:n,left:r,bottom:f,right:a}){let s=l-o.left-o.right,u=i-t.top-t.bottom-o.top-o.bottom;e.fillStyle=L.padding,e.fillRect(r+o.left,n+o.top,s,t.top),e.fillRect(a-t.right-o.right,n+t.top+o.top,t.right,u),e.fillRect(r+o.left,f-t.bottom-o.bottom,s,t.bottom),e.fillRect(r+o.left,n+t.top+o.top,t.left,u);let g=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return P(g)}function st(e,{border:t,width:o,height:l,top:i,left:n,bottom:r,right:f}){let a=l-t.top-t.bottom;e.fillStyle=L.border,e.fillRect(n,i,o,t.top),e.fillRect(n,r-t.bottom,o,t.bottom),e.fillRect(n,i+t.top,t.left,a),e.fillRect(f-t.right,i+t.top,t.right,a);let s=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return P(s)}function ht(e,{padding:t,border:o,width:l,height:i,top:n,left:r}){let f=l-o.left-o.right-t.left-t.right,a=i-t.top-t.bottom-o.top-o.bottom;return e.fillStyle=L.content,e.fillRect(r+o.left+t.left,n+o.top+t.top,f,a),[{type:"content",position:"center",text:`${b(f)} x ${b(a)}`}]}function ut(e){return t=>{if(e&&t){let o=ft(e),l=rt(t,o),i=at(t,o),n=st(t,o),r=ht(t,o),f=o.width<=B*3||o.height<=B;lt(t,o,[...r,...i,...n,...l],f)}}}function dt(e){V(ut(e))}var mt=(e,t)=>{let o=d.document.elementFromPoint(e,t),l=i=>{if(i&&i.shadowRoot){let n=i.shadowRoot.elementFromPoint(e,t);return i.isEqualNode(n)?i:n.shadowRoot?l(n):n}return i};return l(o)||o},O,M={x:0,y:0};function R(e,t){O=mt(e,t),dt(O)}var gt=(e,t)=>{let{measureEnabled:o}=t.globals;return T(()=>{let l=i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),M.x=i.clientX,M.y=i.clientY})};return document.addEventListener("pointermove",l),()=>{document.removeEventListener("pointermove",l)}},[]),T(()=>{let l=n=>{window.requestAnimationFrame(()=>{n.stopPropagation(),R(n.clientX,n.clientY)})},i=()=>{window.requestAnimationFrame(()=>{Z()})};return t.viewMode==="story"&&o&&(document.addEventListener("pointerover",l),U(),window.addEventListener("resize",i),R(M.x,M.y)),()=>{window.removeEventListener("resize",i),G()}},[o,t.viewMode]),e()},pt="measureEnabled",ct=[gt],wt={[pt]:!1};export{ct as decorators,wt as globals};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
function __vite__mapDeps(indexes) {
|
|
2
|
+
if (!__vite__mapDeps.viteFileDeps) {
|
|
3
|
+
__vite__mapDeps.viteFileDeps = ["./DocsRenderer-K4EAMTCU-BflUCOHA.js","./iframe-B6RguKdJ.js","./index-BwDkhjyp.js","./_commonjsHelpers-BosuxZz1.js","./index-D-8MO0q_.js","./index-DK28puIS.js","./index-DrFu-skq.js"]
|
|
4
|
+
}
|
|
5
|
+
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
6
|
+
}
|
|
7
|
+
import{_ as a}from"./iframe-B6RguKdJ.js";import"../sb-preview/runtime.js";const{global:s}=__STORYBOOK_MODULE_GLOBAL__;var _=Object.entries(s.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),n={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-K4EAMTCU-BflUCOHA.js").then(r=>r.D),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>_[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{n as parameters};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./index-BwDkhjyp.js";import"./_commonjsHelpers-BosuxZz1.js";const{useParameter:S,addons:f,useEffect:R,useMemo:w}=__STORYBOOK_MODULE_PREVIEW_API__;var g=Object.defineProperty,p=(e,t)=>{for(var r in t)g(e,r,{get:t[r],enumerable:!0})},O={};p(O,{initializeThemeState:()=>_,pluckThemeFromContext:()=>l,useThemeParameters:()=>T});var h="themes",P=`storybook/${h}`,b="theme",A={},M={REGISTER_THEMES:`${P}/REGISTER_THEMES`};function l({globals:e}){return e[b]||""}function T(){return S(h,A)}function _(e,t){f.getChannel().emit(M.REGISTER_THEMES,{defaultTheme:t,themes:e})}var v="html",d=e=>e.split(" ").filter(Boolean),L=({themes:e,defaultTheme:t,parentSelector:r=v})=>(_(Object.keys(e),t),(c,u)=>{let{themeOverride:s}=T(),n=l(u);return R(()=>{let o=s||n||t,a=document.querySelector(r);if(!a)return;Object.entries(e).filter(([E])=>E!==o).forEach(([E,C])=>{let i=d(C);i.length>0&&a.classList.remove(...i)});let m=d(e[o]);m.length>0&&a.classList.add(...m)},[s,n,r]),c()});const I=[L({themes:{designCom:"theme-designCom",brandCrowd:"theme-brandCrowd",crazyDomain:"theme-crazyDomains",designCrowd:"theme-designCrowd",brandPage:"theme-brandPage"},defaultTheme:"brandCrowd"})];export{I as decorators};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
function __vite__mapDeps(indexes) {
|
|
2
|
+
if (!__vite__mapDeps.viteFileDeps) {
|
|
3
|
+
__vite__mapDeps.viteFileDeps = ["./axe-CeoKsdFO.js","./_commonjsHelpers-BosuxZz1.js"]
|
|
4
|
+
}
|
|
5
|
+
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
6
|
+
}
|
|
7
|
+
import{_ as S}from"./iframe-B6RguKdJ.js";import"../sb-preview/runtime.js";const{global:f}=__STORYBOOK_MODULE_GLOBAL__,{addons:U}=__STORYBOOK_MODULE_PREVIEW_API__;var o="storybook/a11y",y=`${o}/result`,L=`${o}/request`,d=`${o}/running`,A=`${o}/error`,T=`${o}/manual`,r={RESULT:y,REQUEST:L,RUNNING:d,ERROR:A,MANUAL:T},{document:g}=f,a=U.getChannel(),l=!1,_,R={config:{},options:{}},v=async(n,e=R)=>{e!=null&&e.manual||await i(n,e)},i=async(n,e=R)=>{_=n;try{if(!l){l=!0,a.emit(r.RUNNING);let t=(await S(()=>import("./axe-CeoKsdFO.js").then(N=>N.a),__vite__mapDeps([0,1]),import.meta.url)).default,{element:m="#storybook-root",config:s,options:O={}}=e,E=g.querySelector(m);if(!E)return;t.reset(),s&&t.configure(s);let c=await t.run(E,O),u=JSON.parse(JSON.stringify(c));_===n?a.emit(r.RESULT,u):(l=!1,i(_))}}catch(t){a.emit(r.ERROR,t)}finally{l=!1}};a.on(r.REQUEST,v);a.on(r.MANUAL,i);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{S as g,c as n,s as u,a as c}from"./DocsRenderer-K4EAMTCU-BflUCOHA.js";import"./iframe-B6RguKdJ.js";import"../sb-preview/runtime.js";import"./index-BwDkhjyp.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-D-8MO0q_.js";import"./index-DK28puIS.js";import"./index-DrFu-skq.js";export{g as SyntaxHighlighter,n as createCopyToClipboardFunction,u as default,c as supportedLanguages};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(a){!a||!window||(window.dataLayer=window.dataLayer||[],window.dataLayer.push(a))}export{t};
|