@designcrowd/fe-shared-lib 1.8.5-edge-fallback-6 → 1.8.6

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 (158) hide show
  1. package/dist/css/tailwind-brandCrowd.css +59 -4
  2. package/dist/css/tailwind-brandPage.css +46 -3
  3. package/dist/css/tailwind-crazyDomains.css +59 -4
  4. package/dist/css/tailwind-designCom.css +59 -4
  5. package/dist/css/tailwind-designCrowd.css +59 -4
  6. package/package.json +1 -1
  7. package/scripts/publish-uat.sh +34 -12
  8. package/src/atoms/components/Icon/Icon.vue +4 -0
  9. package/src/atoms/components/Icon/icons/check-rounded.vue +7 -0
  10. package/src/atoms/components/Icon/icons/microphone-bold.vue +7 -0
  11. package/src/atoms/components/VoiceToTextButton/VoiceToTextButton.vue +1 -5
  12. package/src/useVoiceToText.ts +0 -8
  13. package/.storybook-static/assets/Auth-DT64t5h-.css +0 -1
  14. package/.storybook-static/assets/Auth.stories-C6eXcTSu.js +0 -490
  15. package/.storybook-static/assets/AuthCrazyDomains.stories-DGvEoWCa.js +0 -73
  16. package/.storybook-static/assets/Button-5UzSGUF6.css +0 -1
  17. package/.storybook-static/assets/Button-DKdQT6Fq.js +0 -1
  18. package/.storybook-static/assets/ButtonGroup-DDPXuhxR.css +0 -1
  19. package/.storybook-static/assets/ButtonGroup.stories-DlrYMRSk.js +0 -504
  20. package/.storybook-static/assets/ButtonPrimary-Bu6bXb_c.css +0 -1
  21. package/.storybook-static/assets/ButtonPrimary-BvWW6Duz.js +0 -1
  22. package/.storybook-static/assets/Buttons.stories-CKmd6hkZ.js +0 -761
  23. package/.storybook-static/assets/ButtonsCrazyDomains.stories-DdEuOUrn.js +0 -199
  24. package/.storybook-static/assets/Checkbox.mixin-DkHpdvGa.js +0 -1
  25. package/.storybook-static/assets/Checkbox.stories-DPBUC2Mx.js +0 -246
  26. package/.storybook-static/assets/Checktile.stories-ByaFwplD.js +0 -88
  27. package/.storybook-static/assets/CollapsiblePanel.stories-Y6q3gP9j.js +0 -56
  28. package/.storybook-static/assets/ColorPicker.stories-DdxPUB_R.js +0 -73
  29. package/.storybook-static/assets/CopyToClipboardText.stories-J9qndWxd.js +0 -32
  30. package/.storybook-static/assets/Dropdown.stories-1zKPATii.js +0 -159
  31. package/.storybook-static/assets/DropdownItem-BV-BdThU.css +0 -1
  32. package/.storybook-static/assets/DropdownItem-DA6TdpDb.js +0 -1
  33. package/.storybook-static/assets/FormControl.mixin-DcEBwrV3.js +0 -1
  34. package/.storybook-static/assets/HashRouteModal.stories-BGxvqE22.js +0 -60
  35. package/.storybook-static/assets/HelloBar-CYEZR2kQ.js +0 -1
  36. package/.storybook-static/assets/HelloBar.stories-597Kxj0W.js +0 -342
  37. package/.storybook-static/assets/Icon-C17LFvsP.js +0 -145
  38. package/.storybook-static/assets/Icon.stories-B9iAmcTU.js +0 -151
  39. package/.storybook-static/assets/Icon.stories-CR5vT9H7.js +0 -791
  40. package/.storybook-static/assets/Loader-BWGoT_xC.js +0 -1
  41. package/.storybook-static/assets/LogoBusinessBrandColours-CExzox1Z.js +0 -1
  42. package/.storybook-static/assets/LogoBusinessBrandColours-CeAaMKke.css +0 -1
  43. package/.storybook-static/assets/LogoBusinessBrandColours.stories-kuxAH8B8.js +0 -36
  44. package/.storybook-static/assets/Masonry-C2MNiGg0.css +0 -1
  45. package/.storybook-static/assets/Masonry.stories-CTXJLQ_i.js +0 -71
  46. package/.storybook-static/assets/Modal-CGwEIF5R.css +0 -1
  47. package/.storybook-static/assets/Modal-CydTNprT.js +0 -1
  48. package/.storybook-static/assets/Modal.stories-DZiG5NGM.js +0 -345
  49. package/.storybook-static/assets/Notice.stories-ChOj8CWm.js +0 -222
  50. package/.storybook-static/assets/NumberStepper-Blffv09R.css +0 -1
  51. package/.storybook-static/assets/NumberStepper.stories-CVbKJ_oJ.js +0 -64
  52. package/.storybook-static/assets/PaymentConfigList-BpUMV6cp.css +0 -1
  53. package/.storybook-static/assets/PaymentConfigList.stories-DUD7OZBS.js +0 -130
  54. package/.storybook-static/assets/Picture-B8m1I9xN.js +0 -1
  55. package/.storybook-static/assets/Picture.stories-MMzybhJ6.js +0 -119
  56. package/.storybook-static/assets/Pill-DLXZ_TL8.js +0 -1
  57. package/.storybook-static/assets/Pill.stories-DCP7szJm.js +0 -18
  58. package/.storybook-static/assets/PillBar-os4mJV3M.css +0 -1
  59. package/.storybook-static/assets/PillBar.stories-Bry-zQ6f.js +0 -41
  60. package/.storybook-static/assets/Price-C4GZbDSa.js +0 -1
  61. package/.storybook-static/assets/Price.stories-CMHly9V0.js +0 -337
  62. package/.storybook-static/assets/PromoCard.stories-xsbFtADE.js +0 -299
  63. package/.storybook-static/assets/PublishBrandPageModal-Q9-mNG1q.css +0 -1
  64. package/.storybook-static/assets/PublishBrandPageModal.stories-C9XzW_1m.js +0 -324
  65. package/.storybook-static/assets/SearchBar.stories-DaIneOSz.js +0 -12
  66. package/.storybook-static/assets/Select-DnioWQmi.css +0 -1
  67. package/.storybook-static/assets/Select.stories-BmGYB4pw.js +0 -108
  68. package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +0 -1
  69. package/.storybook-static/assets/SellDomainNameListModal-DH6khE10.css +0 -1
  70. package/.storybook-static/assets/SellDomainNameListModal-ymtVclFP.js +0 -1
  71. package/.storybook-static/assets/SellDomainNameListModal.stories-DvGvylgx.js +0 -71
  72. package/.storybook-static/assets/SellDomainNameListSearchResult-Cpxq0jDA.css +0 -1
  73. package/.storybook-static/assets/SellDomainNameListSearchResult-D-1CrQyf.js +0 -1
  74. package/.storybook-static/assets/SellDomainNameSearchWithResults-bX--zu97.js +0 -1
  75. package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-DRUJjSdH.js +0 -37
  76. package/.storybook-static/assets/SellDomainNameWidget.stories-CC3LX10s.js +0 -36
  77. package/.storybook-static/assets/SignIn-CPjf8_2O.css +0 -1
  78. package/.storybook-static/assets/SignIn-DI0DSDFe.js +0 -1
  79. package/.storybook-static/assets/Slider-Cog2FFdj.css +0 -1
  80. package/.storybook-static/assets/Slider.stories-B2KGwnJy.js +0 -141
  81. package/.storybook-static/assets/SparkleIcon.stories-Dk904hVE.js +0 -547
  82. package/.storybook-static/assets/StarRating-BtKh7pzm.css +0 -1
  83. package/.storybook-static/assets/StarRating.stories-d2mgOuo2.js +0 -45
  84. package/.storybook-static/assets/TabMenu.stories-Cg2yenqj.js +0 -47
  85. package/.storybook-static/assets/TextCopyField-B66NKTk_.js +0 -1
  86. package/.storybook-static/assets/TextCopyField.stories-B4_ZlfLU.js +0 -47
  87. package/.storybook-static/assets/TextInput-CMoUjT_5.js +0 -1
  88. package/.storybook-static/assets/TextInput.stories-oyyxxf3j.js +0 -233
  89. package/.storybook-static/assets/Textarea.stories-BvhZR6K2.js +0 -207
  90. package/.storybook-static/assets/Toggle.stories-yT5-rL2k.js +0 -161
  91. package/.storybook-static/assets/Tooltip-DyXIgFQH.css +0 -1
  92. package/.storybook-static/assets/Tooltip-ZukyujG5.js +0 -1
  93. package/.storybook-static/assets/Tooltip.stories-sJFylRS_.js +0 -953
  94. package/.storybook-static/assets/UploadYourLogoApplication-Dmw8QcH3.css +0 -1
  95. package/.storybook-static/assets/UploadYourLogoApplication.stories-C9AvzHO_.js +0 -186
  96. package/.storybook-static/assets/UploadYourLogoDropzone-B1ffcicv.js +0 -24
  97. package/.storybook-static/assets/UploadYourLogoDropzone-DQqACf-e.css +0 -1
  98. package/.storybook-static/assets/UploadYourLogoDropzone.stories-D1Dt2ord.js +0 -55
  99. package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-D8oF1Yrx.js +0 -79
  100. package/.storybook-static/assets/WebsiteContextualUpgradeModal-8u1zOZrW.css +0 -1
  101. package/.storybook-static/assets/WebsiteContextualUpgradeModal.stories-mtcvWOAg.js +0 -211
  102. package/.storybook-static/assets/_commonjsHelpers-CE1G-McA.js +0 -1
  103. package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +0 -1
  104. package/.storybook-static/assets/api-lSJGRrF2.js +0 -1
  105. package/.storybook-static/assets/axe-DrS73Vi2.js +0 -20
  106. package/.storybook-static/assets/brand-crowd-api.client-D45NKshX.js +0 -1
  107. package/.storybook-static/assets/bundled-translations-BoWhEDU_.js +0 -1
  108. package/.storybook-static/assets/bundled-translations.de-DE-C4lqla4O.js +0 -1
  109. package/.storybook-static/assets/bundled-translations.es-ES-BxMIllUH.js +0 -1
  110. package/.storybook-static/assets/bundled-translations.fr-CA-MxZpyz0w.js +0 -1
  111. package/.storybook-static/assets/bundled-translations.fr-FR-N7UPCZVr.js +0 -1
  112. package/.storybook-static/assets/bundled-translations.pt-BR-C8tscYuG.js +0 -1
  113. package/.storybook-static/assets/bundled-translations.pt-PT-Dszj5Xfa.js +0 -1
  114. package/.storybook-static/assets/carousel-BelyIYOK.css +0 -1
  115. package/.storybook-static/assets/carousel.stories-CJw3-Iy6.js +0 -668
  116. package/.storybook-static/assets/event-constants-CMO9VQVu.js +0 -1
  117. package/.storybook-static/assets/iframe-B3A6OXQU.js +0 -1104
  118. package/.storybook-static/assets/index-B-eiLVzF.js +0 -7
  119. package/.storybook-static/assets/index-QquxUozE.js +0 -6
  120. package/.storybook-static/assets/matchers-5TDFFDYO-HJu_DfWo.js +0 -14
  121. package/.storybook-static/assets/mediaQueryMixin-CISNqd93.js +0 -1
  122. package/.storybook-static/assets/preload-helper-PPVm8Dsz.js +0 -1
  123. package/.storybook-static/assets/tracking-ATsLLehC.js +0 -1
  124. package/.storybook-static/css/tailwind-brandCrowd.css +0 -2508
  125. package/.storybook-static/css/tailwind-brandPage.css +0 -2188
  126. package/.storybook-static/css/tailwind-crazyDomains.css +0 -2508
  127. package/.storybook-static/css/tailwind-designCom.css +0 -2508
  128. package/.storybook-static/css/tailwind-designCrowd.css +0 -2508
  129. package/.storybook-static/favicon-wrapper.svg +0 -46
  130. package/.storybook-static/favicon.svg +0 -1
  131. package/.storybook-static/iframe.html +0 -713
  132. package/.storybook-static/index.html +0 -148
  133. package/.storybook-static/index.json +0 -1
  134. package/.storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  135. package/.storybook-static/nunito-sans-bold.woff2 +0 -0
  136. package/.storybook-static/nunito-sans-italic.woff2 +0 -0
  137. package/.storybook-static/nunito-sans-regular.woff2 +0 -0
  138. package/.storybook-static/project.json +0 -1
  139. package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +0 -57
  140. package/.storybook-static/sb-addons/links-2/manager-bundle.js +0 -3
  141. package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -628
  142. package/.storybook-static/sb-addons/themes-3/manager-bundle.js +0 -3
  143. package/.storybook-static/sb-common-assets/favicon-wrapper.svg +0 -46
  144. package/.storybook-static/sb-common-assets/favicon.svg +0 -1
  145. package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  146. package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  147. package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  148. package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  149. package/.storybook-static/sb-manager/globals-runtime.js +0 -77935
  150. package/.storybook-static/sb-manager/globals.js +0 -24
  151. package/.storybook-static/sb-manager/manager-stores.js +0 -23
  152. package/.storybook-static/sb-manager/runtime.js +0 -20404
  153. package/.storybook-static/vite-inject-mocker-entry.js +0 -2
  154. package/public/css/tailwind-brandCrowd.css +0 -2563
  155. package/public/css/tailwind-brandPage.css +0 -2231
  156. package/public/css/tailwind-crazyDomains.css +0 -2563
  157. package/public/css/tailwind-designCom.css +0 -2563
  158. package/public/css/tailwind-designCrowd.css +0 -2563
@@ -551,6 +551,9 @@ video {
551
551
  .tw-relative {
552
552
  position: relative;
553
553
  }
554
+ .tw-inset-0 {
555
+ inset: 0px;
556
+ }
554
557
  .tw--left-16 {
555
558
  left: -4rem;
556
559
  }
@@ -946,6 +949,9 @@ video {
946
949
  .tw-w-96 {
947
950
  width: 24rem;
948
951
  }
952
+ .tw-w-\[14rem\] {
953
+ width: 14rem;
954
+ }
949
955
  .tw-w-auto {
950
956
  width: auto;
951
957
  }
@@ -1210,6 +1216,9 @@ video {
1210
1216
  .tw-rounded-full {
1211
1217
  border-radius: 9999px;
1212
1218
  }
1219
+ .tw-rounded-lg {
1220
+ border-radius: 0.5rem;
1221
+ }
1213
1222
  .tw-rounded-md {
1214
1223
  border-radius: 0.375rem;
1215
1224
  }
@@ -1394,6 +1403,9 @@ video {
1394
1403
  --tw-border-opacity: 1;
1395
1404
  border-color: rgb(255 255 255 / var(--tw-border-opacity));
1396
1405
  }
1406
+ .tw-border-t-transparent {
1407
+ border-top-color: transparent;
1408
+ }
1397
1409
  .tw-bg-black {
1398
1410
  --tw-bg-opacity: 1;
1399
1411
  background-color: rgb(0 0 0 / var(--tw-bg-opacity));
@@ -1509,6 +1521,9 @@ video {
1509
1521
  --tw-bg-opacity: 1;
1510
1522
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
1511
1523
  }
1524
+ .tw-bg-white\/50 {
1525
+ background-color: rgb(255 255 255 / 0.5);
1526
+ }
1512
1527
  .tw-bg-opacity-75 {
1513
1528
  --tw-bg-opacity: 0.75;
1514
1529
  }
@@ -1851,6 +1866,9 @@ video {
1851
1866
  .tw-font-bold {
1852
1867
  font-weight: 700;
1853
1868
  }
1869
+ .tw-font-medium {
1870
+ font-weight: 500;
1871
+ }
1854
1872
  .tw-font-normal {
1855
1873
  font-weight: 400;
1856
1874
  }
@@ -1878,6 +1896,10 @@ video {
1878
1896
  --tw-text-opacity: 1;
1879
1897
  color: rgb(146 38 36 / var(--tw-text-opacity));
1880
1898
  }
1899
+ .tw-text-grayscale-400 {
1900
+ --tw-text-opacity: 1;
1901
+ color: rgb(230 230 230 / var(--tw-text-opacity));
1902
+ }
1881
1903
  .tw-text-grayscale-500 {
1882
1904
  --tw-text-opacity: 1;
1883
1905
  color: rgb(204 204 204 / var(--tw-text-opacity));
@@ -2031,6 +2053,11 @@ video {
2031
2053
  --tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05));
2032
2054
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2033
2055
  }
2056
+ .tw-transition-all {
2057
+ transition-property: all;
2058
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2059
+ transition-duration: 150ms;
2060
+ }
2034
2061
  .tw-transition-colors {
2035
2062
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
2036
2063
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
@@ -2062,6 +2089,10 @@ video {
2062
2089
  --tw-border-opacity: 1;
2063
2090
  border-color: rgb(230 230 230 / var(--tw-border-opacity));
2064
2091
  }
2092
+ .hover\:tw-border-grayscale-500:hover {
2093
+ --tw-border-opacity: 1;
2094
+ border-color: rgb(204 204 204 / var(--tw-border-opacity));
2095
+ }
2065
2096
  .hover\:tw-border-info-600:hover {
2066
2097
  --tw-border-opacity: 1;
2067
2098
  border-color: rgb(14 121 188 / var(--tw-border-opacity));
@@ -2098,6 +2129,14 @@ video {
2098
2129
  --tw-bg-opacity: 1;
2099
2130
  background-color: rgb(230 230 230 / var(--tw-bg-opacity));
2100
2131
  }
2132
+ .hover\:tw-bg-grayscale-500:hover {
2133
+ --tw-bg-opacity: 1;
2134
+ background-color: rgb(204 204 204 / var(--tw-bg-opacity));
2135
+ }
2136
+ .hover\:tw-bg-grayscale-700:hover {
2137
+ --tw-bg-opacity: 1;
2138
+ background-color: rgb(82 93 96 / var(--tw-bg-opacity));
2139
+ }
2101
2140
  .hover\:tw-bg-info-100:hover {
2102
2141
  --tw-bg-opacity: 1;
2103
2142
  background-color: rgb(207 234 251 / var(--tw-bg-opacity));
@@ -2122,6 +2161,10 @@ video {
2122
2161
  --tw-bg-opacity: 1;
2123
2162
  background-color: rgb(14 121 188 / var(--tw-bg-opacity));
2124
2163
  }
2164
+ .hover\:tw-bg-primary-700:hover {
2165
+ --tw-bg-opacity: 1;
2166
+ background-color: rgb(10 91 141 / var(--tw-bg-opacity));
2167
+ }
2125
2168
  .hover\:tw-bg-secondary-100:hover {
2126
2169
  --tw-bg-opacity: 1;
2127
2170
  background-color: rgb(223 226 230 / var(--tw-bg-opacity));
@@ -2138,6 +2181,10 @@ video {
2138
2181
  --tw-bg-opacity: 1;
2139
2182
  background-color: rgb(74 87 103 / var(--tw-bg-opacity));
2140
2183
  }
2184
+ .hover\:tw-bg-secondary-700:hover {
2185
+ --tw-bg-opacity: 1;
2186
+ background-color: rgb(56 65 77 / var(--tw-bg-opacity));
2187
+ }
2141
2188
  .hover\:tw-bg-success-100:hover {
2142
2189
  --tw-bg-opacity: 1;
2143
2190
  background-color: rgb(213 242 223 / var(--tw-bg-opacity));
@@ -2150,10 +2197,6 @@ video {
2150
2197
  --tw-bg-opacity: 1;
2151
2198
  background-color: rgb(194 140 34 / var(--tw-bg-opacity));
2152
2199
  }
2153
- .hover\:tw-text-grayscale-800:hover {
2154
- --tw-text-opacity: 1;
2155
- color: rgb(39 52 56 / var(--tw-text-opacity));
2156
- }
2157
2200
  .hover\:tw-text-primary-600:hover {
2158
2201
  --tw-text-opacity: 1;
2159
2202
  color: rgb(14 121 188 / var(--tw-text-opacity));
@@ -2210,6 +2253,18 @@ video {
2210
2253
  outline: 2px solid transparent;
2211
2254
  outline-offset: 2px;
2212
2255
  }
2256
+ .focus-visible\:tw-ring-2:focus-visible {
2257
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2258
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
2259
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
2260
+ }
2261
+ .focus-visible\:tw-ring-primary-500:focus-visible {
2262
+ --tw-ring-opacity: 1;
2263
+ --tw-ring-color: rgb(17 151 235 / var(--tw-ring-opacity));
2264
+ }
2265
+ .focus-visible\:tw-ring-offset-2:focus-visible {
2266
+ --tw-ring-offset-width: 2px;
2267
+ }
2213
2268
  .tw-group:hover .group-hover\:tw-text-info-500 {
2214
2269
  --tw-text-opacity: 1;
2215
2270
  color: rgb(17 151 235 / var(--tw-text-opacity));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designcrowd/fe-shared-lib",
3
- "version": "1.8.5-edge-fallback-6",
3
+ "version": "1.8.6",
4
4
  "scripts": {
5
5
  "start": "run-p storybook watch:translation",
6
6
  "build": "npm run build:css --production",
@@ -1,17 +1,19 @@
1
1
  #!/usr/bin/env bash
2
2
  #
3
- # publish-uat.sh — publish a UAT-suffixed version of @designcrowd/fe-shared-lib
3
+ # publish-uat.sh — publish @designcrowd/fe-shared-lib (UAT or stable)
4
4
  #
5
- # Usage: ./scripts/publish-uat.sh <suffix>
5
+ # Usage: ./scripts/publish-uat.sh <suffix> # UAT pre-release
6
+ # ./scripts/publish-uat.sh --stable # final release (no suffix)
6
7
  # Example: ./scripts/publish-uat.sh edge-fallback-2
8
+ # ./scripts/publish-uat.sh --stable
7
9
  #
8
10
  # Reads the npm publish token from $NPM_PUBLISH_TOKEN_FILE
9
11
  # (default ~/.config/designcrowd/npm-publish-token, mode 600).
10
12
  # The token is never written into the repo.
11
13
  #
12
14
  # Workflow:
13
- # 1. Validate branch (refuse master) and suffix.
14
- # 2. Compute new version = <base>-<suffix>, refuse if already published.
15
+ # 1. Validate args; in UAT mode also refuse master/main.
16
+ # 2. Compute new version (<base>-<suffix> or <base>); refuse if already published.
15
17
  # 3. Bump package.json, run bundle-translation.
16
18
  # 4. npm pack — produces a tarball.
17
19
  # 5. Secret scan: dangerous filenames + token-shaped strings + the
@@ -33,16 +35,28 @@ TOKEN_FILE="${NPM_PUBLISH_TOKEN_FILE:-$HOME/.config/designcrowd/npm-publish-toke
33
35
  abort() { echo "ABORT: $*" >&2; exit 1; }
34
36
 
35
37
  # --- args ---
36
- SUFFIX="${1:-}"
37
- [[ -z "$SUFFIX" ]] && abort "usage: $0 <suffix> e.g. $0 edge-fallback-2"
38
- # Semver pre-release identifiers are [0-9A-Za-z-], dot-separated. Reject underscores etc.
39
- # so we fail before npm rejects the version mid-flight with a dirty tree.
40
- [[ "$SUFFIX" =~ ^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*$ ]] || abort "suffix must match semver pre-release: alphanumerics/hyphens, optionally dot-separated"
38
+ MODE="uat"
39
+ SUFFIX=""
40
+ ARG="${1:-}"
41
+ if [[ "$ARG" == "--stable" ]]; then
42
+ MODE="stable"
43
+ elif [[ -n "$ARG" ]]; then
44
+ SUFFIX="$ARG"
45
+ # Semver pre-release identifiers are [0-9A-Za-z-], dot-separated. Reject underscores etc.
46
+ # so we fail before npm rejects the version mid-flight with a dirty tree.
47
+ [[ "$SUFFIX" =~ ^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*$ ]] || abort "suffix must match semver pre-release: alphanumerics/hyphens, optionally dot-separated"
48
+ else
49
+ abort $'usage: '"$0"$' <suffix> # UAT pre-release (e.g. edge-fallback-2)\n '"$0"$' --stable # final release'
50
+ fi
41
51
 
42
52
  # --- repo state ---
43
53
  cd "$(git rev-parse --show-toplevel)"
44
54
  BRANCH=$(git symbolic-ref --short HEAD)
45
- [[ "$BRANCH" == "master" || "$BRANCH" == "main" ]] && abort "refusing to publish from $BRANCH"
55
+ # UAT publishes from feature branches only; stable can come from any branch
56
+ # (master is the typical case but feature-branch hot publishes are allowed too).
57
+ if [[ "$MODE" == "uat" ]]; then
58
+ [[ "$BRANCH" == "master" || "$BRANCH" == "main" ]] && abort "refusing UAT publish from $BRANCH"
59
+ fi
46
60
 
47
61
  # --- preconditions: files we'll commit must be clean, so unrelated edits don't get swept into the version-bump commit ---
48
62
  [[ -z "$(git status --porcelain -- package.json)" ]] || abort "package.json has uncommitted changes; commit or stash before publishing"
@@ -70,10 +84,18 @@ fi
70
84
 
71
85
  # --- compute version ---
72
86
  BASE=$(node -p "require('./package.json').version.replace(/-.*/, '')")
73
- NEW="$BASE-$SUFFIX"
87
+ if [[ "$MODE" == "stable" ]]; then
88
+ NEW="$BASE"
89
+ else
90
+ NEW="$BASE-$SUFFIX"
91
+ fi
74
92
 
75
93
  if npm view "$PKG@$NEW" version >/dev/null 2>&1; then
76
- abort "$PKG@$NEW already published pick a new suffix"
94
+ if [[ "$MODE" == "stable" ]]; then
95
+ abort "$PKG@$NEW already published — bump the base version in package.json first"
96
+ else
97
+ abort "$PKG@$NEW already published — pick a new suffix"
98
+ fi
77
99
  fi
78
100
 
79
101
  echo "==> publishing $PKG@$NEW from branch $BRANCH"
@@ -88,6 +88,7 @@ import IconCalloutWarning from './icons/callout-warning.vue';
88
88
  import IconCap from './icons/cap.vue';
89
89
  import IconCard from './icons/card.vue';
90
90
  import IconCartEmpty from './icons/cart-empty.vue';
91
+ import IconCheckRounded from './icons/check-rounded.vue';
91
92
  import IconCheckThin from './icons/check-thin.vue';
92
93
  import IconCheck from './icons/check.vue';
93
94
  import IconChevronDown from './icons/chevron-down.vue';
@@ -237,6 +238,7 @@ import IconLinkInBioFilled from './icons/link-in-bio-filled.vue';
237
238
  import IconMedia from './icons/media.vue';
238
239
  import IconMinusCircleLight from './icons/minus-circle-light.vue';
239
240
  import IconMinus from './icons/minus.vue';
241
+ import IconMicrophoneBold from './icons/microphone-bold.vue';
240
242
  import IconMicrophone from './icons/microphone.vue';
241
243
  import IconMobile from './icons/mobile.vue';
242
244
  import IconOther from './icons/other.vue';
@@ -505,6 +507,7 @@ export default {
505
507
  IconCard,
506
508
  IconCartEmpty,
507
509
  IconCheck,
510
+ IconCheckRounded,
508
511
  IconCheckThin,
509
512
  IconChevronDown,
510
513
  IconChevronLeft,
@@ -640,6 +643,7 @@ export default {
640
643
  IconMinus,
641
644
  IconMinusCircleLight,
642
645
  IconMicrophone,
646
+ IconMicrophoneBold,
643
647
  IconMobile,
644
648
  IconMug,
645
649
  IconOther,
@@ -0,0 +1,7 @@
1
+ <template>
2
+ <path
3
+ fill-rule="evenodd"
4
+ clip-rule="evenodd"
5
+ d="M14.1994 3.31381C14.6002 3.73223 14.6002 4.41062 14.1994 4.82904L6.67308 12.6861C6.27227 13.1046 5.62245 13.1046 5.22164 12.6861L1.8006 9.11475C1.3998 8.69633 1.3998 8.01794 1.8006 7.59952C2.20139 7.1811 2.85122 7.1811 3.25202 7.59952L5.94736 10.4133L12.7479 3.31381C13.1488 2.8954 13.7985 2.8954 14.1994 3.31381Z"
6
+ />
7
+ </template>
@@ -0,0 +1,7 @@
1
+ <template>
2
+ <path
3
+ fill-rule="evenodd"
4
+ clip-rule="evenodd"
5
+ d="M2.5835 8.00031V6.66632C2.58367 6.25226 2.91939 5.91632 3.3335 5.91632C3.7476 5.91632 4.08332 6.25226 4.0835 6.66632V8.00031C4.08367 10.1633 5.83748 11.9163 8.00049 11.9163C10.1633 11.9161 11.9163 10.1632 11.9165 8.00031V6.66632C11.9167 6.25237 12.2525 5.9165 12.6665 5.91632C13.0806 5.91632 13.4163 6.25226 13.4165 6.66632V8.00031C13.4163 10.737 11.3866 12.9971 8.75049 13.3626V13.9163H10.6665C11.0806 13.9163 11.4163 14.2523 11.4165 14.6663C11.4165 15.0805 11.0807 15.4163 10.6665 15.4163H5.3335C4.91928 15.4163 4.5835 15.0805 4.5835 14.6663C4.58367 14.2523 4.91939 13.9163 5.3335 13.9163H7.25049V13.3626C4.61402 12.9974 2.58366 10.7372 2.5835 8.00031ZM9.25049 3.33331C9.25049 2.64307 8.69069 2.08349 8.00049 2.08331C7.31013 2.08331 6.75049 2.64296 6.75049 3.33331V8.00031C6.75066 8.69051 7.31024 9.25031 8.00049 9.25031C8.69059 9.25013 9.25031 8.6904 9.25049 8.00031V3.33331ZM10.7505 8.00031C10.7503 9.51883 9.51901 10.7501 8.00049 10.7503C6.48181 10.7503 5.25066 9.51894 5.25049 8.00031V3.33331C5.25049 1.81453 6.48171 0.583313 8.00049 0.583313C9.51912 0.583489 10.7505 1.81464 10.7505 3.33331V8.00031Z"
6
+ />
7
+ </template>
@@ -17,7 +17,7 @@
17
17
  @click="toggle"
18
18
  >
19
19
  <Icon
20
- name="microphone"
20
+ name="microphone-bold"
21
21
  :size="iconSize"
22
22
  :class="variantClasses.icon"
23
23
  aria-hidden="true"
@@ -94,10 +94,8 @@ const variantClasses = computed(() => {
94
94
  };
95
95
  });
96
96
 
97
- // Keep recognition language in sync with prop
98
97
  watch(toRef(props, 'lang'), setLang);
99
98
 
100
- // Watch for transcript changes and emit appropriate events
101
99
  watch(
102
100
  [transcript, isFinal],
103
101
  ([newTranscript, newIsFinal]) => {
@@ -110,7 +108,6 @@ watch(
110
108
  { flush: 'sync' },
111
109
  );
112
110
 
113
- // Watch for listening state changes
114
111
  watch(isListening, (newVal, oldVal) => {
115
112
  if (newVal && !oldVal) {
116
113
  emit('on-start');
@@ -120,7 +117,6 @@ watch(isListening, (newVal, oldVal) => {
120
117
  }
121
118
  });
122
119
 
123
- // Watch for errors
124
120
  watch(error, (newError) => {
125
121
  if (newError) {
126
122
  emit('on-error', newError);
@@ -67,17 +67,14 @@ function getState(): VoiceToTextState {
67
67
  export function useVoiceToText(options: UseVoiceToTextOptions = {}): UseVoiceToTextReturn {
68
68
  const { lang = 'en-US' } = options;
69
69
 
70
- // Get or create shared state
71
70
  const { isListening, transcript, isFinal, error } = getState();
72
71
 
73
- // Check for browser support
74
72
  const SpeechRecognitionCtor: typeof SpeechRecognition | null =
75
73
  typeof window !== 'undefined' ? window.SpeechRecognition || window.webkitSpeechRecognition : null;
76
74
 
77
75
  const supported = !!SpeechRecognitionCtor && !isEdgeBrowser();
78
76
  const isSupported = computed(() => supported);
79
77
 
80
- // Initialize singleton once
81
78
  if (!isInitialized && supported && SpeechRecognitionCtor) {
82
79
  recognition = new SpeechRecognitionCtor();
83
80
  recognition.continuous = true;
@@ -112,7 +109,6 @@ export function useVoiceToText(options: UseVoiceToTextOptions = {}): UseVoiceToT
112
109
  // eslint-disable-next-line no-console
113
110
  console.warn('[useVoiceToText]', event.error, message);
114
111
 
115
- // Auto-clear error after timeout
116
112
  if (errorClearTimeout) {
117
113
  clearTimeout(errorClearTimeout);
118
114
  }
@@ -128,7 +124,6 @@ export function useVoiceToText(options: UseVoiceToTextOptions = {}): UseVoiceToT
128
124
  isInitialized = true;
129
125
  }
130
126
 
131
- // Update language on existing instance
132
127
  if (recognition) {
133
128
  recognition.lang = lang;
134
129
  }
@@ -136,7 +131,6 @@ export function useVoiceToText(options: UseVoiceToTextOptions = {}): UseVoiceToT
136
131
  const start = () => {
137
132
  if (!recognition || isListening.value) return;
138
133
 
139
- // Clear previous state
140
134
  transcript.value = '';
141
135
  isFinal.value = false;
142
136
  error.value = null;
@@ -149,7 +143,6 @@ export function useVoiceToText(options: UseVoiceToTextOptions = {}): UseVoiceToT
149
143
  recognition.start();
150
144
  isListening.value = true;
151
145
  } catch (e: unknown) {
152
- // Handle case where recognition is already started
153
146
  // eslint-disable-next-line no-console
154
147
  console.warn('[useVoiceToText] Failed to start:', (e as Error).message);
155
148
  }
@@ -162,7 +155,6 @@ export function useVoiceToText(options: UseVoiceToTextOptions = {}): UseVoiceToT
162
155
  try {
163
156
  recognition.stop();
164
157
  } catch (e: unknown) {
165
- // Handle case where recognition is already stopped
166
158
  // eslint-disable-next-line no-console
167
159
  console.warn('[useVoiceToText] Failed to stop:', (e as Error).message);
168
160
  }
@@ -1 +0,0 @@
1
- .email-input[data-v-777ace40]{background-image:url(https://dcstatic.com/images/icons/forms/forms-email-58207f9a5c.svg);background-position:top 50% left .5rem}.password-input[data-v-777ace40]{background-image:url(https://dcstatic.com/images/icons/forms/forms-password-ff538cd5e4.svg);background-position:top 50% left .5rem}.tw-pl-10-important[data-v-777ace40]{padding-left:2.5rem!important}.email-input[data-v-91cb4060]{background-image:url(https://dcstatic.com/images/icons/forms/forms-email-58207f9a5c.svg);background-position:top 50% left .5rem}.tw-pl-10-important[data-v-91cb4060]{padding-left:2.5rem!important}.password-input[data-v-524c1521]{background-image:url(https://dcstatic.com/images/icons/forms/forms-password-ff538cd5e4.svg);background-position:top 50% left .5rem}.tw-pl-10-important[data-v-524c1521]{padding-left:2.5rem!important}