@designcrowd/fe-shared-lib 1.3.6 → 1.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/package.json +1 -1
  2. package/src/atoms/components/Textarea/Textarea.vue +10 -0
  3. package/.storybook-static/assets/Auth-CV5AmoX8.css +0 -1
  4. package/.storybook-static/assets/Auth.stories-CX3sjxh5.js +0 -490
  5. package/.storybook-static/assets/AuthCrazyDomains.stories-Didj_VFa.js +0 -73
  6. package/.storybook-static/assets/Button-5UzSGUF6.css +0 -1
  7. package/.storybook-static/assets/Button-DtVlr_q3.js +0 -1
  8. package/.storybook-static/assets/ButtonGroup-Dfr7bNL2.css +0 -1
  9. package/.storybook-static/assets/ButtonGroup.stories-4EQk-ktb.js +0 -503
  10. package/.storybook-static/assets/ButtonPrimary-Bu6bXb_c.css +0 -1
  11. package/.storybook-static/assets/ButtonPrimary-DG9wNod9.js +0 -1
  12. package/.storybook-static/assets/Buttons.stories-B_KpeCzt.js +0 -761
  13. package/.storybook-static/assets/ButtonsCrazyDomains.stories-oZtahAmR.js +0 -199
  14. package/.storybook-static/assets/Checkbox.mixin-DkHpdvGa.js +0 -1
  15. package/.storybook-static/assets/Checkbox.stories-C67RL0ut.js +0 -203
  16. package/.storybook-static/assets/Checktile.stories-DN2wfzd6.js +0 -88
  17. package/.storybook-static/assets/CollapsiblePanel.stories-BkzrqfVG.js +0 -39
  18. package/.storybook-static/assets/ColorPicker.stories-85BQwpyF.js +0 -73
  19. package/.storybook-static/assets/CopyToClipboardText.stories-Csh5nVRs.js +0 -32
  20. package/.storybook-static/assets/Dropdown.stories-NNlxNopk.js +0 -159
  21. package/.storybook-static/assets/DropdownItem-CDX_V6Mi.js +0 -1
  22. package/.storybook-static/assets/DropdownItem-CLNmWtKh.css +0 -1
  23. package/.storybook-static/assets/FormControl.mixin-_gXRExB7.js +0 -1
  24. package/.storybook-static/assets/HashRouteModal.stories-Dy1_nLTJ.js +0 -64
  25. package/.storybook-static/assets/HelloBar-z54fob0q.js +0 -1
  26. package/.storybook-static/assets/HelloBar.stories-ClJ9_KRK.js +0 -342
  27. package/.storybook-static/assets/Icon-8mZGP41G.js +0 -144
  28. package/.storybook-static/assets/Icon.stories-BcXMvpuh.js +0 -126
  29. package/.storybook-static/assets/Icon.stories-D6ECVMta.js +0 -751
  30. package/.storybook-static/assets/Loader-D61Ki9P1.js +0 -1
  31. package/.storybook-static/assets/LogoBusinessBrandColours-B1_8hw0H.js +0 -1
  32. package/.storybook-static/assets/LogoBusinessBrandColours-DEFhAyxR.css +0 -1
  33. package/.storybook-static/assets/LogoBusinessBrandColours.stories-CIWe9ndn.js +0 -36
  34. package/.storybook-static/assets/Masonry-C2MNiGg0.css +0 -1
  35. package/.storybook-static/assets/Masonry.stories-CDT8kZCv.js +0 -71
  36. package/.storybook-static/assets/Modal-BQrpXSGA.js +0 -1
  37. package/.storybook-static/assets/Modal-BvVMN71n.css +0 -1
  38. package/.storybook-static/assets/Modal.stories-BycF7YL6.js +0 -345
  39. package/.storybook-static/assets/Notice.stories-BufkrC1b.js +0 -222
  40. package/.storybook-static/assets/NumberStepper-Blffv09R.css +0 -1
  41. package/.storybook-static/assets/NumberStepper.stories-6_y_lEgC.js +0 -64
  42. package/.storybook-static/assets/PaymentConfigList-wI1eTv5x.css +0 -1
  43. package/.storybook-static/assets/PaymentConfigList.stories-BlzzKrzz.js +0 -126
  44. package/.storybook-static/assets/Picture-Cq76CaoK.js +0 -1
  45. package/.storybook-static/assets/Picture.stories-BDqRm9_g.js +0 -119
  46. package/.storybook-static/assets/Pill-BsMeJhV9.js +0 -1
  47. package/.storybook-static/assets/Pill.stories-DUvzbtnS.js +0 -18
  48. package/.storybook-static/assets/PillBar-os4mJV3M.css +0 -1
  49. package/.storybook-static/assets/PillBar.stories-BUMLXBij.js +0 -41
  50. package/.storybook-static/assets/Price-DKOwLeD0.js +0 -1
  51. package/.storybook-static/assets/Price.stories-DlqrNUWI.js +0 -221
  52. package/.storybook-static/assets/PublishBrandPageModal-CLU8-If3.css +0 -1
  53. package/.storybook-static/assets/PublishBrandPageModal.stories-Dqobvq-n.js +0 -273
  54. package/.storybook-static/assets/SearchBar.stories-_wPX3-Rl.js +0 -12
  55. package/.storybook-static/assets/Select-Dw-zvSUg.css +0 -1
  56. package/.storybook-static/assets/Select.stories-BWINGxdY.js +0 -108
  57. package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +0 -1
  58. package/.storybook-static/assets/SellDomainNameListModal-ByK_ak0A.js +0 -1
  59. package/.storybook-static/assets/SellDomainNameListModal-CdfyEX1a.css +0 -1
  60. package/.storybook-static/assets/SellDomainNameListModal.stories-DrL8w2AY.js +0 -71
  61. package/.storybook-static/assets/SellDomainNameListSearchResult-1WuAKfzI.css +0 -1
  62. package/.storybook-static/assets/SellDomainNameListSearchResult-By0IpIM_.js +0 -1
  63. package/.storybook-static/assets/SellDomainNameSearchWithResults-BttjI4PH.js +0 -1
  64. package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-Dm1Q8Cza.js +0 -37
  65. package/.storybook-static/assets/SellDomainNameWidget.stories-CKoz3WnZ.js +0 -36
  66. package/.storybook-static/assets/SignIn-DNYeJu86.css +0 -1
  67. package/.storybook-static/assets/SignIn-Dt8OJr0J.js +0 -1
  68. package/.storybook-static/assets/Slider-Cog2FFdj.css +0 -1
  69. package/.storybook-static/assets/Slider.stories-08DN2SFB.js +0 -141
  70. package/.storybook-static/assets/StarRating-BtKh7pzm.css +0 -1
  71. package/.storybook-static/assets/StarRating.stories-BEIj9ufA.js +0 -45
  72. package/.storybook-static/assets/TabMenu.stories-D9f0pyZI.js +0 -47
  73. package/.storybook-static/assets/TextCopyField-B04vTGbG.js +0 -1
  74. package/.storybook-static/assets/TextCopyField.stories-KD0WUWzA.js +0 -47
  75. package/.storybook-static/assets/TextInput-JK1M0hv6.js +0 -1
  76. package/.storybook-static/assets/TextInput.stories-BO0eQqBY.js +0 -233
  77. package/.storybook-static/assets/Textarea.stories-Bcn4sCkV.js +0 -207
  78. package/.storybook-static/assets/Toggle.stories-CuTFLoNh.js +0 -161
  79. package/.storybook-static/assets/Tooltip-DcSbUh5f.js +0 -1
  80. package/.storybook-static/assets/Tooltip-DyXIgFQH.css +0 -1
  81. package/.storybook-static/assets/Tooltip.stories-B0I_PBGG.js +0 -953
  82. package/.storybook-static/assets/UploadYourLogoApplication-EyTEQx-x.css +0 -9
  83. package/.storybook-static/assets/UploadYourLogoApplication.stories-Dixp1ynI.js +0 -194
  84. package/.storybook-static/assets/UploadYourLogoDropzone-DQqACf-e.css +0 -1
  85. package/.storybook-static/assets/UploadYourLogoDropzone-DouZtNvi.js +0 -24
  86. package/.storybook-static/assets/UploadYourLogoDropzone.stories-BHYeu4gz.js +0 -55
  87. package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-D1KR63O4.js +0 -79
  88. package/.storybook-static/assets/_commonjsHelpers-D6-XlEtG.js +0 -1
  89. package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +0 -1
  90. package/.storybook-static/assets/api-lSJGRrF2.js +0 -1
  91. package/.storybook-static/assets/axe-nGVJxRof.js +0 -30
  92. package/.storybook-static/assets/brand-crowd-api.client-DiPM1Wo-.js +0 -1
  93. package/.storybook-static/assets/bundled-translations-BZ57czTo.js +0 -1
  94. package/.storybook-static/assets/bundled-translations.de-DE-DXggTXB2.js +0 -1
  95. package/.storybook-static/assets/bundled-translations.es-ES-DtMmvicd.js +0 -1
  96. package/.storybook-static/assets/bundled-translations.fr-FR-BrQqbieG.js +0 -1
  97. package/.storybook-static/assets/bundled-translations.pt-PT-CpiWEAtr.js +0 -1
  98. package/.storybook-static/assets/carousel-CMMZ5MZ-.css +0 -1
  99. package/.storybook-static/assets/carousel.stories-o3eu2Qyc.js +0 -374
  100. package/.storybook-static/assets/event-constants-CMO9VQVu.js +0 -1
  101. package/.storybook-static/assets/iframe-C86bI_2U.js +0 -1126
  102. package/.storybook-static/assets/index-Bw-gCGc_.js +0 -6
  103. package/.storybook-static/assets/index-DhkYCT1V.js +0 -29
  104. package/.storybook-static/assets/matchers-7Z3WT2CE-T3xScrR7.js +0 -14
  105. package/.storybook-static/assets/tracking-ATsLLehC.js +0 -1
  106. package/.storybook-static/css/tailwind-brandCrowd.css +0 -2404
  107. package/.storybook-static/css/tailwind-brandPage.css +0 -2088
  108. package/.storybook-static/css/tailwind-crazyDomains.css +0 -2404
  109. package/.storybook-static/css/tailwind-designCom.css +0 -2404
  110. package/.storybook-static/css/tailwind-designCrowd.css +0 -2404
  111. package/.storybook-static/favicon.svg +0 -1
  112. package/.storybook-static/iframe.html +0 -694
  113. package/.storybook-static/index.html +0 -156
  114. package/.storybook-static/index.json +0 -1
  115. package/.storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  116. package/.storybook-static/nunito-sans-bold.woff2 +0 -0
  117. package/.storybook-static/nunito-sans-italic.woff2 +0 -0
  118. package/.storybook-static/nunito-sans-regular.woff2 +0 -0
  119. package/.storybook-static/project.json +0 -1
  120. package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +0 -5
  121. package/.storybook-static/sb-addons/links-2/manager-bundle.js +0 -3
  122. package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -188
  123. package/.storybook-static/sb-addons/themes-3/manager-bundle.js +0 -3
  124. package/.storybook-static/sb-common-assets/favicon.svg +0 -1
  125. package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  126. package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  127. package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  128. package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  129. package/.storybook-static/sb-manager/globals-module-info.js +0 -797
  130. package/.storybook-static/sb-manager/globals-runtime.js +0 -72062
  131. package/.storybook-static/sb-manager/globals.js +0 -34
  132. package/.storybook-static/sb-manager/runtime.js +0 -13002
  133. package/dist/css/tailwind-brandCrowd.css +0 -2419
  134. package/dist/css/tailwind-brandPage.css +0 -2107
  135. package/dist/css/tailwind-crazyDomains.css +0 -2419
  136. package/dist/css/tailwind-designCom.css +0 -2419
  137. package/dist/css/tailwind-designCrowd.css +0 -2419
  138. package/public/css/tailwind-brandCrowd.css +0 -2408
  139. package/public/css/tailwind-brandPage.css +0 -2092
  140. package/public/css/tailwind-crazyDomains.css +0 -2408
  141. package/public/css/tailwind-designCom.css +0 -2408
  142. package/public/css/tailwind-designCrowd.css +0 -2408
  143. package/src/bundles/bundled-translations.de-DE.json +0 -104
  144. package/src/bundles/bundled-translations.es-ES.json +0 -104
  145. package/src/bundles/bundled-translations.fr-CA.json +0 -104
  146. package/src/bundles/bundled-translations.fr-FR.json +0 -104
  147. package/src/bundles/bundled-translations.json +0 -104
  148. package/src/bundles/bundled-translations.pt-BR.json +0 -104
  149. package/src/bundles/bundled-translations.pt-PT.json +0 -104
@@ -1,761 +0,0 @@
1
- import{d as Wt}from"./iframe-C86bI_2U.js";import{B as L}from"./Button-DtVlr_q3.js";import"./ButtonPrimary-DG9wNod9.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Icon-8mZGP41G.js";const Pt={title:"Components/Buttons",component:L},e=n=>{let i=["Large",void 0,"Medium","Small","Small-Wide","Small-Medium"].map(s=>[{label:`Regular Button${s?` (${s})`:""}`,size:s==null?void 0:s.toLocaleLowerCase(),variant:n},{label:`Button Anchor Link${s?` (${s})`:""}`,size:s==null?void 0:s.toLocaleLowerCase(),url:"javascript:",variant:n}]).flat();return i=[...i,{icon:"other",variant:n},{label:"Icon Top",iconTop:"download",iconTopSize:"md",variant:n},{label:"Icon Left",iconLeft:"download",variant:n,attrs:{"data-testing-attr":!0}},{label:"Icon Right",iconRight:"download",variant:n},{label:"Icon Left And Right",iconLeft:"download",iconRight:"lock",variant:n},{label:"All Icons",iconTop:"download",iconLeft:"download",iconRight:"lock",variant:n},{label:"Icon Left Link",iconLeft:"download",variant:n,url:"javascript:"},{label:"Icon Right Link",iconRight:"download",variant:n,url:"javascript:"},{label:"Rigid Corners Button",rounded:!1,variant:n},{label:"Rigid Left Corners Button",rounded:!1,roundedRight:!0,variant:n},{label:"Rigid Right Corners Button",rounded:!1,roundedLeft:!0,variant:n},{label:"Open In New Tab Button",variant:n,target:"_blank",url:"https://www.google.com"},{label:"IsBusy Button",variant:n,isBusy:!0,disabled:!0},{label:"IsBusy Button with text",variant:n,isBusy:!0,isBusyLabel:"IsBusy Button with text",disabled:!0},{label:"Disabled",variant:n,disabled:!0}],i=i.map(s=>({...s,attrs:{"data-test-tag":`test-${s.variant.toLowerCase()}`}})),i},Ct=n=>{const t=e(n);return t.forEach(i=>i.active=!0),t},Tt=n=>{const t=e(n);return t.forEach(i=>i.white=!0),t},a=Wt({components:{Button:L},props:{disabled:{type:Boolean,required:!0},fullWidth:{type:Boolean,required:!0},greyOutLeft:{type:Boolean,required:!0},justify:{type:String,required:!0},variants:{type:Array,required:!0}},template:`
2
- <table class="tw-w-full">
3
- <thead>
4
- <tr>
5
- <th class="tw-text-left tw-p-4 tw-bg-grayscale-400 tw-font-sans">Button</th>
6
- <th class="tw-text-left tw-p-4 tw-bg-grayscale-400 tw-font-sans">Code</th>
7
- </tr>
8
- </thead>
9
- <tbody>
10
- <tr v-for="variant in variants" class="tw-bg-grayscale-200">
11
- <td class="tw-p-4">
12
- <Button
13
- :full-width="fullWidth"
14
- :greyOutLeft="greyOutLeft"
15
- :justify="justify"
16
- :label="variant.label"
17
- :variant="variant.variant"
18
- :size="variant.size"
19
- :url="variant.url"
20
- :icon="variant.icon"
21
- :icon-left="variant.iconLeft"
22
- :icon-right="variant.iconRight"
23
- :icon-top="variant.iconTop"
24
- :icon-top-size="variant.iconTopSize"
25
- :rounded="variant.rounded"
26
- :rounded-left="variant.roundedLeft"
27
- :rounded-right="variant.roundedRight"
28
- :disabled="variant.disabled"
29
- :active="variant.active"
30
- :white="variant.white"
31
- :target="variant.target"
32
- :attrs="variant.attrs"
33
- :is-busy="variant.isBusy"
34
- :is-busy-label="variant.isBusyLabel"
35
- />
36
- </td>
37
- <td class="tw-p-4">
38
- <code
39
- class="tw-bg-info-100 tw-p-2 tw-rounded tw-bg-gray-400 tw-border tw-border-solid tw-border-info-300 tw-text-info-900">
40
- &lt;Button
41
- label="{{ variant.label }}"
42
- variant="{{ variant.variant }}"
43
- {{ (variant.size ? 'size="' + variant.size + '"' : '') }}
44
- {{ (variant.url ? 'url="' + variant.url + '"' : '') }}
45
- {{ (variant.icon ? 'icon="' + variant.icon + '"' : '') }}
46
- {{ (variant.iconLeft ? 'icon-left="' + variant.iconLeft + '"' : '') }}
47
- {{ (variant.iconRight ? 'icon-right="' + variant.iconRight + '"' : '') }}
48
- {{ (variant.iconTop ? 'icon-top="' + variant.iconTop + '"' : '') }}
49
- {{ (variant.iconTopSize ? 'icon-top-size="' + variant.iconTopSize + '"' : '') }}
50
- {{ (typeof variant.rounded !== 'undefined' ? ':rounded="' + variant.rounded + '"' : '') }}
51
- {{ (typeof variant.roundedLeft !== 'undefined' ? ':rounded-left="' + variant.roundedLeft + '"' : '') }}
52
- {{ (typeof variant.roundedRight !== 'undefined' ? ':rounded-right="' + variant.roundedRight + '"' : '') }}
53
- {{ (variant.disabled ? ':disabled="true"' : '') }}
54
- {{ (variant.target ? ':target="' + variant.target + '"' : '') }}
55
- {{ (justify === 'center' ? '' : 'justify="' + justify + '"') }}
56
- {{ (fullWidth ? ':fullwidth="true"' : '') }}
57
- {{ (greyOutLeft ? ':grey-out-left="true"' : '') }}
58
- {{ (variant.isBusy ? ':is-busy="true"' : '') }}
59
- {{ (variant.isBusyLabel ? 'is-busy-label="' + variant.isBusyLabel + '"' : '') }}
60
- /&gt;
61
- </code>
62
- </td>
63
- </tr>
64
- </tbody>
65
- </table>
66
- `}),r={disabled:!1,fullWidth:!1,greyOutLeft:!1,justify:"center"},o={justify:{control:{type:"radio"},options:["center","between"]}},l=(n,{argTypes:t})=>({components:{StorybookButtonComponent:a},props:Object.keys(t),data(){return{variants:e("primary")}},template:`
67
- <StorybookButtonComponent
68
- :disabled="disabled"
69
- :full-width="fullWidth"
70
- :grey-out-left="greyOutLeft"
71
- :justify="justify"
72
- :variants="variants"/>
73
- `});l.args=r;l.argTypes=o;const h=(n,{argTypes:t})=>({components:{StorybookButtonComponent:a},props:Object.keys(t),data(){return{variants:e("outline-primary")}},template:`
74
- <StorybookButtonComponent
75
- :disabled="disabled"
76
- :full-width="fullWidth"
77
- :grey-out-left="greyOutLeft"
78
- :justify="justify"
79
- :variants="variants"/>
80
- `});h.args=r;h.argTypes=o;const u=(n,{argTypes:t})=>({components:{StorybookButtonComponent:a},props:Object.keys(t),data(){return{variants:e("secondary")}},template:`
81
- <StorybookButtonComponent
82
- :disabled="disabled"
83
- :full-width="fullWidth"
84
- :grey-out-left="greyOutLeft"
85
- :justify="justify"
86
- :variants="variants"/>
87
- `});u.args=r;u.argTypes=o;const d=(n,{argTypes:t})=>({components:{StorybookButtonComponent:a},props:Object.keys(t),data(){return{variants:e("warning")}},template:`
88
- <StorybookButtonComponent
89
- :disabled="disabled"
90
- :full-width="fullWidth"
91
- :grey-out-left="greyOutLeft"
92
- :justify="justify"
93
- :variants="variants"/>
94
- `});d.args=r;d.argTypes=o;const p=(n,{argTypes:t})=>({components:{StorybookButtonComponent:a},props:Object.keys(t),data(){return{variants:e("success")}},template:`
95
- <StorybookButtonComponent
96
- :disabled="disabled"
97
- :full-width="fullWidth"
98
- :grey-out-left="greyOutLeft"
99
- :justify="justify"
100
- :variants="variants"/>
101
- `});p.args=r;p.argTypes=o;const c=(n,{argTypes:t})=>({components:{StorybookButtonComponent:a},props:Object.keys(t),data(){return{variants:e("outline-success")}},template:`
102
- <StorybookButtonComponent
103
- :disabled="disabled"
104
- :full-width="fullWidth"
105
- :grey-out-left="greyOutLeft"
106
- :justify="justify"
107
- :variants="variants"/>
108
- `});c.args=r;c.argTypes=o;const y=(n,{argTypes:t})=>({components:{StorybookButtonComponent:a},props:Object.keys(t),data(){return{variants:e("outline-no-hover")}},template:`
109
- <StorybookButtonComponent
110
- :disabled="disabled"
111
- :full-width="fullWidth"
112
- :grey-out-left="greyOutLeft"
113
- :justify="justify"
114
- :variants="variants"/>
115
- `});y.args=r;y.argTypes=o;const g=(n,{argTypes:t})=>({components:{StorybookButtonComponent:a},props:Object.keys(t),data(){return{variants:e("info-filled")}},template:`
116
- <StorybookButtonComponent
117
- :disabled="disabled"
118
- :full-width="fullWidth"
119
- :grey-out-left="greyOutLeft"
120
- :justify="justify"
121
- :variants="variants"/>
122
- `});g.args=r;g.argTypes=o;const k=()=>({components:{StorybookButtonComponent:a},data(){return{variants:e("gray")}},template:`
123
- <StorybookButtonComponent :variants="variants"/>
124
- `}),O=()=>({components:{Button:L},methods:{test(){alert("on click")}},template:`
125
- <table class="tw-w-full">
126
- <thead>
127
- <tr>
128
- <th class="tw-text-left tw-p-4 tw-bg-grayscale-400 tw-font-sans">Button</th>
129
- <th class="tw-text-left tw-p-4 tw-bg-grayscale-400 tw-font-sans">Code</th>
130
- </tr>
131
- </thead>
132
- <tbody>
133
- <tr class="tw-bg-grayscale-200">
134
- <td class="tw-p-4">
135
- <Button
136
- label="Regular Button"
137
- variant="primary-with-icon"
138
- icon="chevron-right-wide"
139
- iconViewBox="0 0 24 24"
140
- @on-click="test"
141
- />
142
- </td>
143
- <td class="tw-p-4">
144
- <code
145
- class="tw-bg-info-100 tw-p-2 tw-rounded tw-bg-gray-400 tw-border tw-border-solid tw-border-info-300 tw-text-info-900">
146
- &lt;Button
147
- label="Regular Button"
148
- variant="primary-with-icon"
149
- icon="chevron-right-wide"
150
- iconViewBox="0 0 24 24"
151
- /&gt;
152
- </code>
153
- </td>
154
- </tr>
155
- <tr>
156
- <td class="tw-p-4">
157
- <Button
158
- label="Button Anchor Link"
159
- variant="primary-with-icon"
160
- icon="chevron-right-wide"
161
- iconViewBox="0 0 24 24"
162
- url="http://www.google.com"
163
- />
164
- </td>
165
- <td class="tw-p-4">
166
- <code
167
- class="tw-bg-info-100 tw-p-2 tw-rounded tw-bg-gray-400 tw-border tw-border-solid tw-border-info-300 tw-text-info-900">
168
- &lt;Button
169
- label="Button Anchor Link"
170
- variant="primary-with-icon"
171
- icon="chevron-right-wide"
172
- iconViewBox="0 0 24 24"
173
- url="http://www.google.com"
174
- /&gt;
175
- </code>
176
- </td>
177
- </tr>
178
- <tr class="tw-bg-grayscale-200">
179
- <td class="tw-p-4">
180
- <Button
181
- label="Disabled Button"
182
- variant="primary-with-icon"
183
- icon="chevron-right-wide"
184
- iconViewBox="0 0 24 24"
185
- :disabled="true"
186
- @on-click="test"
187
- />
188
- </td>
189
- <td class="tw-p-4">
190
- <code
191
- class="tw-bg-info-100 tw-p-2 tw-rounded tw-bg-gray-400 tw-border tw-border-solid tw-border-info-300 tw-text-info-900">
192
- &lt;Button
193
- label="Regular Button"
194
- variant="primary-with-icon"
195
- icon="chevron-right-wide"
196
- iconViewBox="0 0 24 24"
197
- :disabled="true"
198
- /&gt;
199
- </code>
200
- </td>
201
- </tr>
202
- </tbody>
203
- </table>
204
- `}),f=(n,{argTypes:t})=>({components:{StorybookButtonComponent:a},props:Object.keys(t),data(){return{variants:e("outline")}},template:`
205
- <StorybookButtonComponent
206
- :disabled="disabled"
207
- :full-width="fullWidth"
208
- :grey-out-left="greyOutLeft"
209
- :justify="justify"
210
- :variants="variants"/>
211
- `});f.args=r;f.argTypes=o;const m=(n,{argTypes:t})=>({components:{StorybookButtonComponent:a},props:Object.keys(t),data(){return{variants:e("info")}},template:`
212
- <StorybookButtonComponent
213
- :disabled="disabled"
214
- :full-width="fullWidth"
215
- :grey-out-left="greyOutLeft"
216
- :justify="justify"
217
- :variants="variants"/>
218
- `});m.args=r;m.argTypes=o;const b=(n,{argTypes:t})=>({components:{StorybookButtonComponent:a},props:Object.keys(t),data(){return{variants:e("no-border")}},template:`
219
- <StorybookButtonComponent
220
- :disabled="disabled"
221
- :full-width="fullWidth"
222
- :grey-out-left="greyOutLeft"
223
- :justify="justify"
224
- :variants="variants"/>
225
- `});b.args=r;b.argTypes=o;const v=(n,{argTypes:t})=>({components:{StorybookButtonComponent:a},props:Object.keys(t),data(){return{variants:e("flat")}},template:`
226
- <StorybookButtonComponent
227
- :disabled="disabled"
228
- :full-width="fullWidth"
229
- :grey-out-left="greyOutLeft"
230
- :justify="justify"
231
- :variants="variants"/>
232
- `});v.args=r;v.argTypes=o;const w=(n,{argTypes:t})=>({components:{StorybookButtonComponent:a},props:Object.keys(t),data(){return{variants:e("pill"),activeVariants:Ct("pill")}},template:`
233
- <div>
234
- <StorybookButtonComponent
235
- :disabled="disabled"
236
- :full-width="fullWidth"
237
- :grey-out-left="greyOutLeft"
238
- :justify="justify"
239
- :variants="variants"/>
240
- <StorybookButtonComponent
241
- :disabled="disabled"
242
- :full-width="fullWidth"
243
- :grey-out-left="greyOutLeft"
244
- :justify="justify"
245
- :variants="activeVariants"/>
246
- </div>
247
- `});w.args=r;w.argTypes=o;const B=(n,{argTypes:t})=>({components:{StorybookButtonComponent:a},props:Object.keys(t),data(){return{variants:e("dark-mode-pill"),activeVariants:Ct("dark-mode-pill")}},template:`
248
- <div>
249
- <StorybookButtonComponent
250
- :disabled="disabled"
251
- :full-width="fullWidth"
252
- :grey-out-left="greyOutLeft"
253
- :justify="justify"
254
- :variants="variants"/>
255
- <StorybookButtonComponent
256
- :disabled="disabled"
257
- :full-width="fullWidth"
258
- :grey-out-left="greyOutLeft"
259
- :justify="justify"
260
- :variants="activeVariants"/>
261
- </div>
262
- `});B.args=r;B.argTypes=o;const S=(n,{argTypes:t})=>({components:{StorybookButtonComponent:a},props:Object.keys(t),data(){return{variants:Tt("outline")}},template:`
263
- <div>
264
- <StorybookButtonComponent
265
- :disabled="disabled"
266
- :full-width="fullWidth"
267
- :grey-out-left="greyOutLeft"
268
- :justify="justify"
269
- :variants="variants"/>
270
- </div>
271
- `});S.args=r;S.argTypes=o;const j=(n,{argTypes:t})=>({components:{StorybookButtonComponent:a},props:Object.keys(t),data(){return{variants:Tt("ai")}},template:`
272
- <div>
273
- <StorybookButtonComponent
274
- :disabled="disabled"
275
- :full-width="fullWidth"
276
- :grey-out-left="greyOutLeft"
277
- :justify="justify"
278
- :variants="variants"/>
279
- </div>
280
- `});j.args=r;j.argTypes=o;l.story={name:"Primary"};u.story={name:"Secondary"};d.story={name:"Warning"};p.story={name:"Success"};c.story={name:"Outline Success"};y.story={name:"Outline no hover"};g.story={name:"Info Filled"};k.story={name:"Gray"};O.story={name:"Primary With Icon"};f.story={name:"Outline"};m.story={name:"Info"};b.story={name:"No Border"};v.story={name:"Flat"};w.story={name:"Pill"};var C,T,W;l.parameters={...l.parameters,docs:{...(C=l.parameters)==null?void 0:C.docs,source:{originalSource:`(args, {
281
- argTypes
282
- }) => {
283
- return {
284
- components: {
285
- StorybookButtonComponent
286
- },
287
- props: Object.keys(argTypes),
288
- data() {
289
- return {
290
- variants: generateSampleButtonVariants('primary')
291
- };
292
- },
293
- template: \`
294
- <StorybookButtonComponent
295
- :disabled="disabled"
296
- :full-width="fullWidth"
297
- :grey-out-left="greyOutLeft"
298
- :justify="justify"
299
- :variants="variants"/>
300
- \`
301
- };
302
- }`,...(W=(T=l.parameters)==null?void 0:T.docs)==null?void 0:W.source}}};var x,V,R;h.parameters={...h.parameters,docs:{...(x=h.parameters)==null?void 0:x.docs,source:{originalSource:`(args, {
303
- argTypes
304
- }) => {
305
- return {
306
- components: {
307
- StorybookButtonComponent
308
- },
309
- props: Object.keys(argTypes),
310
- data() {
311
- return {
312
- variants: generateSampleButtonVariants('outline-primary')
313
- };
314
- },
315
- template: \`
316
- <StorybookButtonComponent
317
- :disabled="disabled"
318
- :full-width="fullWidth"
319
- :grey-out-left="greyOutLeft"
320
- :justify="justify"
321
- :variants="variants"/>
322
- \`
323
- };
324
- }`,...(R=(V=h.parameters)==null?void 0:V.docs)==null?void 0:R.source}}};var I,A,P;u.parameters={...u.parameters,docs:{...(I=u.parameters)==null?void 0:I.docs,source:{originalSource:`(args, {
325
- argTypes
326
- }) => {
327
- return {
328
- components: {
329
- StorybookButtonComponent
330
- },
331
- props: Object.keys(argTypes),
332
- data() {
333
- return {
334
- variants: generateSampleButtonVariants('secondary')
335
- };
336
- },
337
- template: \`
338
- <StorybookButtonComponent
339
- :disabled="disabled"
340
- :full-width="fullWidth"
341
- :grey-out-left="greyOutLeft"
342
- :justify="justify"
343
- :variants="variants"/>
344
- \`
345
- };
346
- }`,...(P=(A=u.parameters)==null?void 0:A.docs)==null?void 0:P.source}}};var F,N,q;d.parameters={...d.parameters,docs:{...(F=d.parameters)==null?void 0:F.docs,source:{originalSource:`(args, {
347
- argTypes
348
- }) => {
349
- return {
350
- components: {
351
- StorybookButtonComponent
352
- },
353
- props: Object.keys(argTypes),
354
- data() {
355
- return {
356
- variants: generateSampleButtonVariants('warning')
357
- };
358
- },
359
- template: \`
360
- <StorybookButtonComponent
361
- :disabled="disabled"
362
- :full-width="fullWidth"
363
- :grey-out-left="greyOutLeft"
364
- :justify="justify"
365
- :variants="variants"/>
366
- \`
367
- };
368
- }`,...(q=(N=d.parameters)==null?void 0:N.docs)==null?void 0:q.source}}};var D,$,M;p.parameters={...p.parameters,docs:{...(D=p.parameters)==null?void 0:D.docs,source:{originalSource:`(args, {
369
- argTypes
370
- }) => {
371
- return {
372
- components: {
373
- StorybookButtonComponent
374
- },
375
- props: Object.keys(argTypes),
376
- data() {
377
- return {
378
- variants: generateSampleButtonVariants('success')
379
- };
380
- },
381
- template: \`
382
- <StorybookButtonComponent
383
- :disabled="disabled"
384
- :full-width="fullWidth"
385
- :grey-out-left="greyOutLeft"
386
- :justify="justify"
387
- :variants="variants"/>
388
- \`
389
- };
390
- }`,...(M=($=p.parameters)==null?void 0:$.docs)==null?void 0:M.source}}};var _,E,G;c.parameters={...c.parameters,docs:{...(_=c.parameters)==null?void 0:_.docs,source:{originalSource:`(args, {
391
- argTypes
392
- }) => {
393
- return {
394
- components: {
395
- StorybookButtonComponent
396
- },
397
- props: Object.keys(argTypes),
398
- data() {
399
- return {
400
- variants: generateSampleButtonVariants('outline-success')
401
- };
402
- },
403
- template: \`
404
- <StorybookButtonComponent
405
- :disabled="disabled"
406
- :full-width="fullWidth"
407
- :grey-out-left="greyOutLeft"
408
- :justify="justify"
409
- :variants="variants"/>
410
- \`
411
- };
412
- }`,...(G=(E=c.parameters)==null?void 0:E.docs)==null?void 0:G.source}}};var z,H,J;y.parameters={...y.parameters,docs:{...(z=y.parameters)==null?void 0:z.docs,source:{originalSource:`(args, {
413
- argTypes
414
- }) => {
415
- return {
416
- components: {
417
- StorybookButtonComponent
418
- },
419
- props: Object.keys(argTypes),
420
- data() {
421
- return {
422
- variants: generateSampleButtonVariants('outline-no-hover')
423
- };
424
- },
425
- template: \`
426
- <StorybookButtonComponent
427
- :disabled="disabled"
428
- :full-width="fullWidth"
429
- :grey-out-left="greyOutLeft"
430
- :justify="justify"
431
- :variants="variants"/>
432
- \`
433
- };
434
- }`,...(J=(H=y.parameters)==null?void 0:H.docs)==null?void 0:J.source}}};var K,Q,U;g.parameters={...g.parameters,docs:{...(K=g.parameters)==null?void 0:K.docs,source:{originalSource:`(args, {
435
- argTypes
436
- }) => {
437
- return {
438
- components: {
439
- StorybookButtonComponent
440
- },
441
- props: Object.keys(argTypes),
442
- data() {
443
- return {
444
- variants: generateSampleButtonVariants('info-filled')
445
- };
446
- },
447
- template: \`
448
- <StorybookButtonComponent
449
- :disabled="disabled"
450
- :full-width="fullWidth"
451
- :grey-out-left="greyOutLeft"
452
- :justify="justify"
453
- :variants="variants"/>
454
- \`
455
- };
456
- }`,...(U=(Q=g.parameters)==null?void 0:Q.docs)==null?void 0:U.source}}};var X,Y,Z;k.parameters={...k.parameters,docs:{...(X=k.parameters)==null?void 0:X.docs,source:{originalSource:`() => {
457
- return {
458
- components: {
459
- StorybookButtonComponent
460
- },
461
- data() {
462
- return {
463
- variants: generateSampleButtonVariants('gray')
464
- };
465
- },
466
- template: \`
467
- <StorybookButtonComponent :variants="variants"/>
468
- \`
469
- };
470
- }`,...(Z=(Y=k.parameters)==null?void 0:Y.docs)==null?void 0:Z.source}}};var tt,nt,et;O.parameters={...O.parameters,docs:{...(tt=O.parameters)==null?void 0:tt.docs,source:{originalSource:`() => {
471
- return {
472
- components: {
473
- Button
474
- },
475
- methods: {
476
- test() {
477
- // eslint-disable-next-line no-alert
478
- alert('on click');
479
- }
480
- },
481
- template: \`
482
- <table class="tw-w-full">
483
- <thead>
484
- <tr>
485
- <th class="tw-text-left tw-p-4 tw-bg-grayscale-400 tw-font-sans">Button</th>
486
- <th class="tw-text-left tw-p-4 tw-bg-grayscale-400 tw-font-sans">Code</th>
487
- </tr>
488
- </thead>
489
- <tbody>
490
- <tr class="tw-bg-grayscale-200">
491
- <td class="tw-p-4">
492
- <Button
493
- label="Regular Button"
494
- variant="primary-with-icon"
495
- icon="chevron-right-wide"
496
- iconViewBox="0 0 24 24"
497
- @on-click="test"
498
- />
499
- </td>
500
- <td class="tw-p-4">
501
- <code
502
- class="tw-bg-info-100 tw-p-2 tw-rounded tw-bg-gray-400 tw-border tw-border-solid tw-border-info-300 tw-text-info-900">
503
- &lt;Button
504
- label="Regular Button"
505
- variant="primary-with-icon"
506
- icon="chevron-right-wide"
507
- iconViewBox="0 0 24 24"
508
- /&gt;
509
- </code>
510
- </td>
511
- </tr>
512
- <tr>
513
- <td class="tw-p-4">
514
- <Button
515
- label="Button Anchor Link"
516
- variant="primary-with-icon"
517
- icon="chevron-right-wide"
518
- iconViewBox="0 0 24 24"
519
- url="http://www.google.com"
520
- />
521
- </td>
522
- <td class="tw-p-4">
523
- <code
524
- class="tw-bg-info-100 tw-p-2 tw-rounded tw-bg-gray-400 tw-border tw-border-solid tw-border-info-300 tw-text-info-900">
525
- &lt;Button
526
- label="Button Anchor Link"
527
- variant="primary-with-icon"
528
- icon="chevron-right-wide"
529
- iconViewBox="0 0 24 24"
530
- url="http://www.google.com"
531
- /&gt;
532
- </code>
533
- </td>
534
- </tr>
535
- <tr class="tw-bg-grayscale-200">
536
- <td class="tw-p-4">
537
- <Button
538
- label="Disabled Button"
539
- variant="primary-with-icon"
540
- icon="chevron-right-wide"
541
- iconViewBox="0 0 24 24"
542
- :disabled="true"
543
- @on-click="test"
544
- />
545
- </td>
546
- <td class="tw-p-4">
547
- <code
548
- class="tw-bg-info-100 tw-p-2 tw-rounded tw-bg-gray-400 tw-border tw-border-solid tw-border-info-300 tw-text-info-900">
549
- &lt;Button
550
- label="Regular Button"
551
- variant="primary-with-icon"
552
- icon="chevron-right-wide"
553
- iconViewBox="0 0 24 24"
554
- :disabled="true"
555
- /&gt;
556
- </code>
557
- </td>
558
- </tr>
559
- </tbody>
560
- </table>
561
- \`
562
- };
563
- }`,...(et=(nt=O.parameters)==null?void 0:nt.docs)==null?void 0:et.source}}};var at,rt,ot;f.parameters={...f.parameters,docs:{...(at=f.parameters)==null?void 0:at.docs,source:{originalSource:`(args, {
564
- argTypes
565
- }) => {
566
- return {
567
- components: {
568
- StorybookButtonComponent
569
- },
570
- props: Object.keys(argTypes),
571
- data() {
572
- return {
573
- variants: generateSampleButtonVariants('outline')
574
- };
575
- },
576
- template: \`
577
- <StorybookButtonComponent
578
- :disabled="disabled"
579
- :full-width="fullWidth"
580
- :grey-out-left="greyOutLeft"
581
- :justify="justify"
582
- :variants="variants"/>
583
- \`
584
- };
585
- }`,...(ot=(rt=f.parameters)==null?void 0:rt.docs)==null?void 0:ot.source}}};var st,it,lt;m.parameters={...m.parameters,docs:{...(st=m.parameters)==null?void 0:st.docs,source:{originalSource:`(args, {
586
- argTypes
587
- }) => {
588
- return {
589
- components: {
590
- StorybookButtonComponent
591
- },
592
- props: Object.keys(argTypes),
593
- data() {
594
- return {
595
- variants: generateSampleButtonVariants('info')
596
- };
597
- },
598
- template: \`
599
- <StorybookButtonComponent
600
- :disabled="disabled"
601
- :full-width="fullWidth"
602
- :grey-out-left="greyOutLeft"
603
- :justify="justify"
604
- :variants="variants"/>
605
- \`
606
- };
607
- }`,...(lt=(it=m.parameters)==null?void 0:it.docs)==null?void 0:lt.source}}};var ut,dt,pt;b.parameters={...b.parameters,docs:{...(ut=b.parameters)==null?void 0:ut.docs,source:{originalSource:`(args, {
608
- argTypes
609
- }) => {
610
- return {
611
- components: {
612
- StorybookButtonComponent
613
- },
614
- props: Object.keys(argTypes),
615
- data() {
616
- return {
617
- variants: generateSampleButtonVariants('no-border')
618
- };
619
- },
620
- template: \`
621
- <StorybookButtonComponent
622
- :disabled="disabled"
623
- :full-width="fullWidth"
624
- :grey-out-left="greyOutLeft"
625
- :justify="justify"
626
- :variants="variants"/>
627
- \`
628
- };
629
- }`,...(pt=(dt=b.parameters)==null?void 0:dt.docs)==null?void 0:pt.source}}};var ct,yt,gt;v.parameters={...v.parameters,docs:{...(ct=v.parameters)==null?void 0:ct.docs,source:{originalSource:`(args, {
630
- argTypes
631
- }) => {
632
- return {
633
- components: {
634
- StorybookButtonComponent
635
- },
636
- props: Object.keys(argTypes),
637
- data() {
638
- return {
639
- variants: generateSampleButtonVariants('flat')
640
- };
641
- },
642
- template: \`
643
- <StorybookButtonComponent
644
- :disabled="disabled"
645
- :full-width="fullWidth"
646
- :grey-out-left="greyOutLeft"
647
- :justify="justify"
648
- :variants="variants"/>
649
- \`
650
- };
651
- }`,...(gt=(yt=v.parameters)==null?void 0:yt.docs)==null?void 0:gt.source}}};var ft,mt,bt;w.parameters={...w.parameters,docs:{...(ft=w.parameters)==null?void 0:ft.docs,source:{originalSource:`(args, {
652
- argTypes
653
- }) => {
654
- return {
655
- components: {
656
- StorybookButtonComponent
657
- },
658
- props: Object.keys(argTypes),
659
- data() {
660
- return {
661
- variants: generateSampleButtonVariants('pill'),
662
- activeVariants: generateSampleButtonActiveVariants('pill')
663
- };
664
- },
665
- template: \`
666
- <div>
667
- <StorybookButtonComponent
668
- :disabled="disabled"
669
- :full-width="fullWidth"
670
- :grey-out-left="greyOutLeft"
671
- :justify="justify"
672
- :variants="variants"/>
673
- <StorybookButtonComponent
674
- :disabled="disabled"
675
- :full-width="fullWidth"
676
- :grey-out-left="greyOutLeft"
677
- :justify="justify"
678
- :variants="activeVariants"/>
679
- </div>
680
- \`
681
- };
682
- }`,...(bt=(mt=w.parameters)==null?void 0:mt.docs)==null?void 0:bt.source}}};var vt,wt,ht;B.parameters={...B.parameters,docs:{...(vt=B.parameters)==null?void 0:vt.docs,source:{originalSource:`(args, {
683
- argTypes
684
- }) => {
685
- return {
686
- components: {
687
- StorybookButtonComponent
688
- },
689
- props: Object.keys(argTypes),
690
- data() {
691
- return {
692
- variants: generateSampleButtonVariants('dark-mode-pill'),
693
- activeVariants: generateSampleButtonActiveVariants('dark-mode-pill')
694
- };
695
- },
696
- template: \`
697
- <div>
698
- <StorybookButtonComponent
699
- :disabled="disabled"
700
- :full-width="fullWidth"
701
- :grey-out-left="greyOutLeft"
702
- :justify="justify"
703
- :variants="variants"/>
704
- <StorybookButtonComponent
705
- :disabled="disabled"
706
- :full-width="fullWidth"
707
- :grey-out-left="greyOutLeft"
708
- :justify="justify"
709
- :variants="activeVariants"/>
710
- </div>
711
- \`
712
- };
713
- }`,...(ht=(wt=B.parameters)==null?void 0:wt.docs)==null?void 0:ht.source}}};var Bt,St,jt;S.parameters={...S.parameters,docs:{...(Bt=S.parameters)==null?void 0:Bt.docs,source:{originalSource:`(args, {
714
- argTypes
715
- }) => {
716
- return {
717
- components: {
718
- StorybookButtonComponent
719
- },
720
- props: Object.keys(argTypes),
721
- data() {
722
- return {
723
- variants: generateSampleButtonWhiteVariants('outline')
724
- };
725
- },
726
- template: \`
727
- <div>
728
- <StorybookButtonComponent
729
- :disabled="disabled"
730
- :full-width="fullWidth"
731
- :grey-out-left="greyOutLeft"
732
- :justify="justify"
733
- :variants="variants"/>
734
- </div>
735
- \`
736
- };
737
- }`,...(jt=(St=S.parameters)==null?void 0:St.docs)==null?void 0:jt.source}}};var kt,Ot,Lt;j.parameters={...j.parameters,docs:{...(kt=j.parameters)==null?void 0:kt.docs,source:{originalSource:`(args, {
738
- argTypes
739
- }) => {
740
- return {
741
- components: {
742
- StorybookButtonComponent
743
- },
744
- props: Object.keys(argTypes),
745
- data() {
746
- return {
747
- variants: generateSampleButtonWhiteVariants('ai')
748
- };
749
- },
750
- template: \`
751
- <div>
752
- <StorybookButtonComponent
753
- :disabled="disabled"
754
- :full-width="fullWidth"
755
- :grey-out-left="greyOutLeft"
756
- :justify="justify"
757
- :variants="variants"/>
758
- </div>
759
- \`
760
- };
761
- }`,...(Lt=(Ot=j.parameters)==null?void 0:Ot.docs)==null?void 0:Lt.source}}};const Ft=["PrimarySamples","OutlinePrimarySamples","SecondarySamples","WarningSamples","SuccessSamples","OutlineSuccessSamples","OutlineNoHover","InfoFilledSamples","GraySamples","PrimaryWithIconSamples","OutlineSamples","InfoSamples","NoBorderSamples","FlatSamples","PillSamples","DarkModePill","OutlineWhite","AiSamples"];export{j as AiSamples,B as DarkModePill,v as FlatSamples,k as GraySamples,g as InfoFilledSamples,m as InfoSamples,b as NoBorderSamples,y as OutlineNoHover,h as OutlinePrimarySamples,f as OutlineSamples,c as OutlineSuccessSamples,S as OutlineWhite,w as PillSamples,l as PrimarySamples,O as PrimaryWithIconSamples,u as SecondarySamples,p as SuccessSamples,d as WarningSamples,Ft as __namedExportsOrder,Pt as default};