@syncfusion/ej2-inputs 28.2.11 → 29.1.34

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 (252) hide show
  1. package/README.md +26 -2
  2. package/aceconfig.js +17 -0
  3. package/dist/ej2-inputs.min.js +2 -2
  4. package/dist/ej2-inputs.umd.min.js +2 -2
  5. package/dist/ej2-inputs.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-inputs.es2015.js +652 -25
  7. package/dist/es6/ej2-inputs.es2015.js.map +1 -1
  8. package/dist/es6/ej2-inputs.es5.js +681 -25
  9. package/dist/es6/ej2-inputs.es5.js.map +1 -1
  10. package/dist/global/ej2-inputs.min.js +2 -2
  11. package/dist/global/ej2-inputs.min.js.map +1 -1
  12. package/dist/global/index.d.ts +1 -1
  13. package/package.json +18 -26
  14. package/speech-to-text.d.ts +4 -0
  15. package/speech-to-text.js +4 -0
  16. package/src/index.d.ts +1 -0
  17. package/src/index.js +1 -0
  18. package/src/rating/rating.js +3 -0
  19. package/src/slider/slider.d.ts +0 -2
  20. package/src/slider/slider.js +14 -19
  21. package/src/speech-to-text/index.d.ts +5 -0
  22. package/src/speech-to-text/index.js +4 -0
  23. package/src/speech-to-text/speech-to-text-model.d.ts +270 -0
  24. package/src/speech-to-text/speech-to-text.d.ts +487 -0
  25. package/src/speech-to-text/speech-to-text.js +660 -0
  26. package/src/uploader/uploader.js +7 -5
  27. package/styles/bds-lite.css +81 -0
  28. package/styles/bds-lite.scss +3 -0
  29. package/styles/bds.css +111 -0
  30. package/styles/bds.scss +4 -0
  31. package/styles/bootstrap-dark-lite.css +98 -17
  32. package/styles/bootstrap-dark-lite.scss +3 -0
  33. package/styles/bootstrap-dark.css +128 -17
  34. package/styles/bootstrap-dark.scss +4 -0
  35. package/styles/bootstrap-lite.css +81 -0
  36. package/styles/bootstrap-lite.scss +3 -0
  37. package/styles/bootstrap.css +111 -0
  38. package/styles/bootstrap.scss +4 -0
  39. package/styles/bootstrap4-lite.css +102 -25
  40. package/styles/bootstrap4-lite.scss +3 -0
  41. package/styles/bootstrap4.css +132 -25
  42. package/styles/bootstrap4.scss +4 -0
  43. package/styles/bootstrap5-dark-lite.css +151 -73
  44. package/styles/bootstrap5-dark-lite.scss +3 -0
  45. package/styles/bootstrap5-dark.css +192 -83
  46. package/styles/bootstrap5-dark.scss +4 -0
  47. package/styles/bootstrap5-lite.css +106 -28
  48. package/styles/bootstrap5-lite.scss +3 -0
  49. package/styles/bootstrap5.3-lite.css +78 -0
  50. package/styles/bootstrap5.3-lite.scss +3 -0
  51. package/styles/bootstrap5.3.css +109 -0
  52. package/styles/bootstrap5.3.scss +4 -0
  53. package/styles/bootstrap5.css +137 -28
  54. package/styles/bootstrap5.scss +4 -0
  55. package/styles/color-picker/_theme.scss +4 -2
  56. package/styles/color-picker/bootstrap4.css +4 -4
  57. package/styles/color-picker/bootstrap5-dark.css +12 -12
  58. package/styles/color-picker/bootstrap5.css +7 -7
  59. package/styles/data-form/_bootstrap-dark-definition.scss +4 -2
  60. package/styles/data-form/_bootstrap4-definition.scss +4 -2
  61. package/styles/data-form/_fabric-dark-definition.scss +4 -2
  62. package/styles/data-form/_material-dark-definition.scss +4 -2
  63. package/styles/data-form/_material-definition.scss +4 -2
  64. package/styles/data-form/bootstrap-dark.css +6 -6
  65. package/styles/data-form/bootstrap4.css +6 -6
  66. package/styles/data-form/bootstrap5-dark.css +6 -6
  67. package/styles/data-form/bootstrap5.css +4 -4
  68. package/styles/data-form/fabric-dark.css +6 -6
  69. package/styles/data-form/material-dark.css +6 -6
  70. package/styles/data-form/material.css +6 -6
  71. package/styles/fabric-dark-lite.css +104 -22
  72. package/styles/fabric-dark-lite.scss +3 -0
  73. package/styles/fabric-dark.css +135 -22
  74. package/styles/fabric-dark.scss +4 -0
  75. package/styles/fabric-lite.css +100 -18
  76. package/styles/fabric-lite.scss +3 -0
  77. package/styles/fabric.css +131 -18
  78. package/styles/fabric.scss +4 -0
  79. package/styles/fluent-dark-lite.css +96 -14
  80. package/styles/fluent-dark-lite.scss +3 -0
  81. package/styles/fluent-dark.css +127 -14
  82. package/styles/fluent-dark.scss +4 -0
  83. package/styles/fluent-lite.css +96 -14
  84. package/styles/fluent-lite.scss +3 -0
  85. package/styles/fluent.css +127 -14
  86. package/styles/fluent.scss +4 -0
  87. package/styles/fluent2-lite.css +82 -0
  88. package/styles/fluent2-lite.scss +3 -0
  89. package/styles/fluent2.css +115 -2
  90. package/styles/fluent2.scss +4 -0
  91. package/styles/highcontrast-light-lite.css +81 -0
  92. package/styles/highcontrast-light-lite.scss +3 -0
  93. package/styles/highcontrast-light.css +111 -0
  94. package/styles/highcontrast-light.scss +4 -0
  95. package/styles/highcontrast-lite.css +81 -0
  96. package/styles/highcontrast-lite.scss +3 -0
  97. package/styles/highcontrast.css +111 -0
  98. package/styles/highcontrast.scss +4 -0
  99. package/styles/input/_bootstrap4-definition.scss +8 -6
  100. package/styles/input/_layout.scss +8 -1
  101. package/styles/input/_theme.scss +5 -1
  102. package/styles/input/bootstrap4.css +9 -9
  103. package/styles/input/bootstrap5-dark.css +25 -25
  104. package/styles/input/bootstrap5.css +7 -7
  105. package/styles/input/fabric-dark.css +6 -6
  106. package/styles/input/tailwind-dark.css +2 -2
  107. package/styles/input/tailwind3.css +2 -2
  108. package/styles/maskedtextbox/bootstrap5-dark.css +1 -1
  109. package/styles/material-dark-lite.css +89 -6
  110. package/styles/material-dark-lite.scss +3 -0
  111. package/styles/material-dark.css +121 -6
  112. package/styles/material-dark.scss +4 -0
  113. package/styles/material-lite.css +89 -6
  114. package/styles/material-lite.scss +3 -0
  115. package/styles/material.css +121 -6
  116. package/styles/material.scss +4 -0
  117. package/styles/material3-dark-lite.css +81 -0
  118. package/styles/material3-dark-lite.scss +3 -0
  119. package/styles/material3-dark.css +111 -0
  120. package/styles/material3-dark.scss +4 -0
  121. package/styles/material3-lite.css +81 -0
  122. package/styles/material3-lite.scss +3 -0
  123. package/styles/material3.css +111 -0
  124. package/styles/material3.scss +4 -0
  125. package/styles/otp-input/bootstrap5-dark.css +3 -3
  126. package/styles/rating/bootstrap-dark.css +11 -11
  127. package/styles/rating/bootstrap5-dark.css +5 -5
  128. package/styles/rating/bootstrap5.css +5 -5
  129. package/styles/rating/fabric-dark.css +5 -5
  130. package/styles/rating/fabric.css +12 -12
  131. package/styles/rating/fluent-dark.css +11 -11
  132. package/styles/rating/fluent.css +11 -11
  133. package/styles/rating/tailwind-dark.css +5 -5
  134. package/styles/rating/tailwind.css +5 -5
  135. package/styles/signature/bootstrap5-dark.css +1 -1
  136. package/styles/slider/_bootstrap4-definition.scss +4 -2
  137. package/styles/slider/_fluent2-definition.scss +2 -2
  138. package/styles/slider/_fusionnew-definition.scss +3 -0
  139. package/styles/slider/_layout.scss +4 -2
  140. package/styles/slider/bootstrap4.css +6 -6
  141. package/styles/slider/bootstrap5-dark.css +5 -5
  142. package/styles/slider/bootstrap5.css +5 -5
  143. package/styles/slider/fabric-dark.css +5 -5
  144. package/styles/slider/fabric.css +6 -6
  145. package/styles/slider/fluent-dark.css +3 -3
  146. package/styles/slider/fluent.css +3 -3
  147. package/styles/slider/fluent2.css +2 -2
  148. package/styles/smart-textarea/tailwind-dark.css +1 -1
  149. package/styles/speech-to-text/_all.scss +2 -0
  150. package/styles/speech-to-text/_bds-definition.scss +25 -0
  151. package/styles/speech-to-text/_bigger.scss +45 -0
  152. package/styles/speech-to-text/_bootstrap-dark-definition.scss +24 -0
  153. package/styles/speech-to-text/_bootstrap-definition.scss +24 -0
  154. package/styles/speech-to-text/_bootstrap4-definition.scss +24 -0
  155. package/styles/speech-to-text/_bootstrap5-dark-definition.scss +1 -0
  156. package/styles/speech-to-text/_bootstrap5-definition.scss +24 -0
  157. package/styles/speech-to-text/_bootstrap5.3-definition.scss +24 -0
  158. package/styles/speech-to-text/_fabric-dark-definition.scss +24 -0
  159. package/styles/speech-to-text/_fabric-definition.scss +24 -0
  160. package/styles/speech-to-text/_fluent-dark-definition.scss +1 -0
  161. package/styles/speech-to-text/_fluent-definition.scss +24 -0
  162. package/styles/speech-to-text/_fluent2-definition.scss +25 -0
  163. package/styles/speech-to-text/_fusionnew-definition.scss +24 -0
  164. package/styles/speech-to-text/_highcontrast-definition.scss +24 -0
  165. package/styles/speech-to-text/_highcontrast-light-definition.scss +24 -0
  166. package/styles/speech-to-text/_layout.scss +59 -0
  167. package/styles/speech-to-text/_material-dark-definition.scss +24 -0
  168. package/styles/speech-to-text/_material-definition.scss +24 -0
  169. package/styles/speech-to-text/_material3-dark-definition.scss +1 -0
  170. package/styles/speech-to-text/_material3-definition.scss +24 -0
  171. package/styles/speech-to-text/_tailwind-dark-definition.scss +1 -0
  172. package/styles/speech-to-text/_tailwind-definition.scss +25 -0
  173. package/styles/speech-to-text/_tailwind3-definition.scss +25 -0
  174. package/styles/speech-to-text/_theme.scss +30 -0
  175. package/styles/speech-to-text/bds.css +173 -0
  176. package/styles/speech-to-text/bds.scss +7 -0
  177. package/styles/speech-to-text/bootstrap-dark.css +110 -0
  178. package/styles/speech-to-text/bootstrap-dark.scss +7 -0
  179. package/styles/speech-to-text/bootstrap.css +110 -0
  180. package/styles/speech-to-text/bootstrap.scss +7 -0
  181. package/styles/speech-to-text/bootstrap4.css +106 -0
  182. package/styles/speech-to-text/bootstrap4.scss +7 -0
  183. package/styles/speech-to-text/bootstrap5-dark.css +108 -0
  184. package/styles/speech-to-text/bootstrap5-dark.scss +7 -0
  185. package/styles/speech-to-text/bootstrap5.3.css +112 -0
  186. package/styles/speech-to-text/bootstrap5.3.scss +7 -0
  187. package/styles/speech-to-text/bootstrap5.css +108 -0
  188. package/styles/speech-to-text/bootstrap5.scss +7 -0
  189. package/styles/speech-to-text/fabric-dark.css +112 -0
  190. package/styles/speech-to-text/fabric-dark.scss +7 -0
  191. package/styles/speech-to-text/fabric.css +112 -0
  192. package/styles/speech-to-text/fabric.scss +7 -0
  193. package/styles/speech-to-text/fluent-dark.css +112 -0
  194. package/styles/speech-to-text/fluent-dark.scss +7 -0
  195. package/styles/speech-to-text/fluent.css +112 -0
  196. package/styles/speech-to-text/fluent.scss +7 -0
  197. package/styles/speech-to-text/fluent2.css +118 -0
  198. package/styles/speech-to-text/fluent2.scss +7 -0
  199. package/styles/speech-to-text/highcontrast-light.css +110 -0
  200. package/styles/speech-to-text/highcontrast-light.scss +7 -0
  201. package/styles/speech-to-text/highcontrast.css +110 -0
  202. package/styles/speech-to-text/highcontrast.scss +7 -0
  203. package/styles/speech-to-text/icons/_bds.scss +8 -0
  204. package/styles/speech-to-text/icons/_bootstrap-dark.scss +8 -0
  205. package/styles/speech-to-text/icons/_bootstrap.scss +8 -0
  206. package/styles/speech-to-text/icons/_bootstrap4.scss +8 -0
  207. package/styles/speech-to-text/icons/_bootstrap5-dark.scss +1 -0
  208. package/styles/speech-to-text/icons/_bootstrap5.3.scss +8 -0
  209. package/styles/speech-to-text/icons/_bootstrap5.scss +8 -0
  210. package/styles/speech-to-text/icons/_fabric-dark.scss +8 -0
  211. package/styles/speech-to-text/icons/_fabric.scss +8 -0
  212. package/styles/speech-to-text/icons/_fluent-dark.scss +1 -0
  213. package/styles/speech-to-text/icons/_fluent.scss +8 -0
  214. package/styles/speech-to-text/icons/_fluent2.scss +8 -0
  215. package/styles/speech-to-text/icons/_fusionnew.scss +8 -0
  216. package/styles/speech-to-text/icons/_highcontrast-light.scss +8 -0
  217. package/styles/speech-to-text/icons/_highcontrast.scss +8 -0
  218. package/styles/speech-to-text/icons/_material-dark.scss +8 -0
  219. package/styles/speech-to-text/icons/_material.scss +8 -0
  220. package/styles/speech-to-text/icons/_material3-dark.scss +1 -0
  221. package/styles/speech-to-text/icons/_material3.scss +8 -0
  222. package/styles/speech-to-text/icons/_tailwind-dark.scss +1 -0
  223. package/styles/speech-to-text/icons/_tailwind.scss +8 -0
  224. package/styles/speech-to-text/icons/_tailwind3.scss +8 -0
  225. package/styles/speech-to-text/material-dark.css +114 -0
  226. package/styles/speech-to-text/material-dark.scss +7 -0
  227. package/styles/speech-to-text/material.css +114 -0
  228. package/styles/speech-to-text/material.scss +7 -0
  229. package/styles/speech-to-text/material3-dark.css +112 -0
  230. package/styles/speech-to-text/material3-dark.scss +8 -0
  231. package/styles/speech-to-text/material3.css +114 -0
  232. package/styles/speech-to-text/material3.scss +8 -0
  233. package/styles/speech-to-text/tailwind-dark.css +110 -0
  234. package/styles/speech-to-text/tailwind-dark.scss +7 -0
  235. package/styles/speech-to-text/tailwind.css +110 -0
  236. package/styles/speech-to-text/tailwind.scss +7 -0
  237. package/styles/speech-to-text/tailwind3.css +114 -0
  238. package/styles/speech-to-text/tailwind3.scss +7 -0
  239. package/styles/tailwind-dark-lite.css +93 -12
  240. package/styles/tailwind-dark-lite.scss +3 -0
  241. package/styles/tailwind-dark.css +126 -15
  242. package/styles/tailwind-dark.scss +4 -0
  243. package/styles/tailwind-lite.css +86 -5
  244. package/styles/tailwind-lite.scss +3 -0
  245. package/styles/tailwind.css +116 -5
  246. package/styles/tailwind.scss +4 -0
  247. package/styles/tailwind3-lite.css +83 -2
  248. package/styles/tailwind3-lite.scss +3 -0
  249. package/styles/tailwind3.css +113 -2
  250. package/styles/tailwind3.scss +4 -0
  251. package/styles/uploader/bootstrap5-dark.css +25 -25
  252. package/styles/uploader/tailwind-dark.css +7 -7
@@ -0,0 +1,24 @@
1
+ // Speechtotext component styles
2
+
3
+ $stt-box-shadow: unset !default;
4
+ $stt-border-radius: 9999px !default;
5
+ $stt-font-weight: 600 !default;
6
+ $stt-font-size: 16px !default;
7
+ $stt-line-height: 24px !default;
8
+ $stt-round-width: 40px !default;
9
+ $stt-round-height: 40px !default;
10
+ $stt-btn-font-size: 16px !default;
11
+ $stt-min-height: 40px !default;
12
+ $stt-min-width: 40px !default;
13
+ $stt-padding: 0 14px !default;
14
+
15
+ $stt-bigger-border-radius: $stt-border-radius !default;
16
+ $stt-bigger-font-weight: 600 !default;
17
+ $stt-bigger-font-size: 16px !default;
18
+ $stt-bigger-line-height: 24px !default;
19
+ $stt-bigger-round-width: 52px !default;
20
+ $stt-bigger-round-height: 52px !default;
21
+ $stt-bigger-btn-font-size: 16px !default;
22
+ $stt-bigger-min-height: 52px !default;
23
+ $stt-bigger-min-width: 52px !default;
24
+ $stt-bigger-padding: 0 19px !default;
@@ -0,0 +1,59 @@
1
+ @include export-module('speechtotext-layout') {
2
+ .e-speech-to-text.e-btn {
3
+ align-items: center;
4
+ border-radius: $stt-border-radius;
5
+ display: inline-flex;
6
+ font-size: $stt-font-size;
7
+ min-width: $stt-min-width;
8
+ min-height: $stt-min-height;
9
+ padding: $stt-padding;
10
+ &.e-round {
11
+ width: $stt-round-width;
12
+ height: $stt-round-height;
13
+ padding: 0;
14
+ }
15
+ .e-btn-icon {
16
+ font-size: $stt-font-size;
17
+ @if ($skin-name == 'material' or $skin-name == 'material-dark' or $skin-name == 'material3') {
18
+ line-height: 2px;
19
+ width: 2em;
20
+ }
21
+ @if ($skin-name == 'bootstrap5.3' or $skin-name == 'fabric') {
22
+ margin-top: 1px;
23
+ }
24
+ @if ($skin-name == 'bootstrap5') {
25
+ margin-top: 0;
26
+ }
27
+ @if ($skin-name == 'FluentUI' or $skin-name == 'fabric-dark') {
28
+ margin-top: -1px;
29
+ }
30
+ @if ($skin-name == 'fluent2') {
31
+ margin-top: 2px;
32
+ }
33
+ }
34
+ &:disabled {
35
+ pointer-events: none;
36
+ }
37
+ &.e-listening-state {
38
+ animation: listening 1.2s infinite;
39
+ }
40
+ }
41
+
42
+ .e-speech-to-text.e-round {
43
+ .e-btn-icon {
44
+ font-size: $stt-btn-font-size;
45
+ }
46
+ }
47
+
48
+ @keyframes listening {
49
+ 0% {
50
+ opacity: 1;
51
+ }
52
+ 100% {
53
+ opacity: 1;
54
+ }
55
+ 50% {
56
+ opacity: .5;
57
+ }
58
+ }
59
+ }
@@ -0,0 +1,24 @@
1
+ // Speechtotext component styles
2
+
3
+ $stt-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05), 0 10px 15px -3px rgba(0, 0, 0, .1) !default;
4
+ $stt-border-radius: 9999px !default;
5
+ $stt-font-weight: 500 !default;
6
+ $stt-font-size: 14px !default;
7
+ $stt-line-height: 18px !default;
8
+ $stt-round-width: 40px !default;
9
+ $stt-round-height: 40px !default;
10
+ $stt-btn-font-size: 16px !default;
11
+ $stt-min-height: 40px !default;
12
+ $stt-min-width: 40px !default;
13
+ $stt-padding: 0 14px !default;
14
+
15
+ $stt-bigger-border-radius: $stt-border-radius !default;
16
+ $stt-bigger-font-weight: 500 !default;
17
+ $stt-bigger-font-size: 16px !default;
18
+ $stt-bigger-line-height: 24px !default;
19
+ $stt-bigger-round-width: 52px !default;
20
+ $stt-bigger-round-height: 52px !default;
21
+ $stt-bigger-btn-font-size: 22px !default;
22
+ $stt-bigger-min-height: 52px !default;
23
+ $stt-bigger-min-width: 52px !default;
24
+ $stt-bigger-padding: 0 22px !default;
@@ -0,0 +1,24 @@
1
+ // Speechtotext component styles
2
+
3
+ $stt-box-shadow: 0 3px 5px -1px rgba(0, 0, 0, .2), 0 6px 10px rgba(0, 0, 0, .14), 0 1px 18px rgba(0, 0, 0, .12) !default;
4
+ $stt-border-radius: 9999px !default;
5
+ $stt-font-weight: 600 !default;
6
+ $stt-font-size: 14px !default;
7
+ $stt-line-height: 22px !default;
8
+ $stt-round-width: 40px !default;
9
+ $stt-round-height: 40px !default;
10
+ $stt-btn-font-size: 16px !default;
11
+ $stt-min-height: 40px !default;
12
+ $stt-min-width: 40px !default;
13
+ $stt-padding: 0 14px !default;
14
+
15
+ $stt-bigger-border-radius: $stt-border-radius !default;
16
+ $stt-bigger-font-weight: 600 !default;
17
+ $stt-bigger-font-size: 16px !default;
18
+ $stt-bigger-line-height: 22px !default;
19
+ $stt-bigger-round-width: 52px !default;
20
+ $stt-bigger-round-height: 52px !default;
21
+ $stt-bigger-btn-font-size: 22px !default;
22
+ $stt-bigger-min-height: 52px !default;
23
+ $stt-bigger-min-width: 52px !default;
24
+ $stt-bigger-padding: 0 20px !default;
@@ -0,0 +1 @@
1
+ @import './material3-definition.scss';
@@ -0,0 +1,24 @@
1
+ // Speechtotext component styles
2
+
3
+ $stt-box-shadow: 0 3px 5px -1px rgba(0, 0, 0, .2), 0 6px 10px rgba(0, 0, 0, .14), 0 1px 18px rgba(0, 0, 0, .12) !default;
4
+ $stt-border-radius: 9999px !default;
5
+ $stt-font-weight: 500 !default;
6
+ $stt-font-size: 14px !default;
7
+ $stt-line-height: 20px !default;
8
+ $stt-round-width: 40px !default;
9
+ $stt-round-height: 40px !default;
10
+ $stt-btn-font-size: 18px !default;
11
+ $stt-min-height: 40px !default;
12
+ $stt-min-width: 40px !default;
13
+ $stt-padding: 0 14px !default;
14
+
15
+ $stt-bigger-border-radius: $stt-border-radius !default;
16
+ $stt-bigger-font-weight: 500 !default;
17
+ $stt-bigger-font-size: 16px !default;
18
+ $stt-bigger-line-height: 20px !default;
19
+ $stt-bigger-round-width: 52px !default;
20
+ $stt-bigger-round-height: 52px !default;
21
+ $stt-bigger-btn-font-size: 22px !default;
22
+ $stt-bigger-min-height: 52px !default;
23
+ $stt-bigger-min-width: 52px !default;
24
+ $stt-bigger-padding: 0 16px !default;
@@ -0,0 +1 @@
1
+ @import './tailwind-definition.scss';
@@ -0,0 +1,25 @@
1
+ // Speechtotext component styles
2
+
3
+ $stt-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .2), 0 -2px 15px -3px rgba(0, 0, 0, .1), 0 6px 10px rgba(0, 0, 0, .14) !default;
4
+ $stt-focus-box-shadow: $stt-box-shadow, $shadow-focus-ring2 !default;
5
+ $stt-border-radius: 9999px !default;
6
+ $stt-font-weight: 500 !default;
7
+ $stt-font-size: 14px !default;
8
+ $stt-line-height: 16px !default;
9
+ $stt-round-width: 40px !default;
10
+ $stt-round-height: 40px !default;
11
+ $stt-btn-font-size: 16px !default;
12
+ $stt-min-height: 40px !default;
13
+ $stt-min-width: 40px !default;
14
+ $stt-padding: 0 16px !default;
15
+
16
+ $stt-bigger-border-radius: $stt-border-radius !default;
17
+ $stt-bigger-font-weight: 500 !default;
18
+ $stt-bigger-font-size: 16px !default;
19
+ $stt-bigger-line-height: 24px !default;
20
+ $stt-bigger-round-width: 52px !default;
21
+ $stt-bigger-round-height: 52px !default;
22
+ $stt-bigger-btn-font-size: 20px !default;
23
+ $stt-bigger-min-height: 52px !default;
24
+ $stt-bigger-min-width: 52px !default;
25
+ $stt-bigger-padding: 0 20px !default;
@@ -0,0 +1,25 @@
1
+ // Speechtotext component styles
2
+
3
+ $stt-box-shadow: $fab-shadow !default;
4
+ $stt-focus-box-shadow: $shadow-focus-ring1 !default;
5
+ $stt-border-radius: 9999px !default;
6
+ $stt-font-weight: 600 !default;
7
+ $stt-font-size: 16px !default;
8
+ $stt-line-height: 24px !default;
9
+ $stt-round-width: 40px !default;
10
+ $stt-round-height: 40px !default;
11
+ $stt-btn-font-size: 16px !default;
12
+ $stt-min-height: 40px !default;
13
+ $stt-min-width: 40px !default;
14
+ $stt-padding: 0 14px !default;
15
+
16
+ $stt-bigger-border-radius: $stt-border-radius !default;
17
+ $stt-bigger-font-weight: 600 !default;
18
+ $stt-bigger-font-size: 16px !default;
19
+ $stt-bigger-line-height: 24px !default;
20
+ $stt-bigger-round-width: 52px !default;
21
+ $stt-bigger-round-height: 52px !default;
22
+ $stt-bigger-btn-font-size: 24px !default;
23
+ $stt-bigger-min-height: 52px !default;
24
+ $stt-bigger-min-width: 52px !default;
25
+ $stt-bigger-padding: 0 20px !default;
@@ -0,0 +1,30 @@
1
+ @include export-module('speechtotext-theme') {
2
+ // Speechtotext component styles
3
+ .e-speech-to-text {
4
+ box-shadow: $stt-box-shadow;
5
+
6
+ &:hover:not(:focus),
7
+ &:active,
8
+ &.e-active,
9
+ &:disabled {
10
+ box-shadow: $stt-box-shadow;
11
+ }
12
+
13
+ &:focus {
14
+ @if ($skin-name != 'tailwind' and $skin-name != 'tailwind-dark' and $skin-name != 'tailwind3' and $skin-name != 'bootstrap4' and $skin-name != 'bootstrap5' and $skin-name != 'bootstrap5.3' and $skin-name != 'bootstrap5-dark') {
15
+ box-shadow: $stt-box-shadow;
16
+ }
17
+ @if $skin-name == 'tailwind' {
18
+ box-shadow: $stt-focus-box-shadow;
19
+ }
20
+ }
21
+ @if $skin-name == 'tailwind3' {
22
+ &:focus-visible {
23
+ box-shadow: $stt-focus-box-shadow !important; /* stylelint-disable-line declaration-no-important */
24
+ }
25
+ }
26
+ &.e-flat {
27
+ box-shadow: none;
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,173 @@
1
+
2
+
3
+
4
+
5
+ /* stylelint-disable */
6
+ .e-btn.e-primary:focus {
7
+ -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px var(--color-sf-brand-solid-shadow) !important;
8
+ box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px var(--color-sf-brand-solid-shadow) !important;
9
+ }
10
+
11
+ .e-btn.e-success:focus {
12
+ -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px rgba(23, 177, 105, 0.24) !important;
13
+ box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px rgba(23, 177, 105, 0.24) !important;
14
+ }
15
+
16
+ .e-btn.e-info:focus {
17
+ -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px var(--color-sf-brand-solid-shadow) !important;
18
+ box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px var(--color-sf-brand-solid-shadow) !important;
19
+ }
20
+
21
+ .e-btn.e-warning:focus {
22
+ -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px rgba(247, 143, 8, 0.24) !important;
23
+ box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px rgba(247, 143, 8, 0.24) !important;
24
+ }
25
+
26
+ .e-btn.e-danger:focus {
27
+ -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px rgba(240, 68, 55, 0.24) !important;
28
+ box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px rgba(240, 68, 55, 0.24) !important;
29
+ }
30
+
31
+ .e-btn.e-outline.e-info {
32
+ background: transparent !important;
33
+ border-color: var(--color-sf-utility-info-border-color) !important;
34
+ color: var(--color-sf-utility-info-text) !important;
35
+ }
36
+
37
+ .e-btn.e-outline.e-info:hover {
38
+ background: var(--color-sf-utility-info-bg-color-hover) !important;
39
+ border-color: var(--color-sf-utility-info-border-color) !important;
40
+ color: var(--color-sf-utility-info-text-hover) !important;
41
+ }
42
+
43
+ .e-btn.e-outline.e-info:active {
44
+ background: var(--color-sf-utility-info-bg-color-pressed) !important;
45
+ border-color: var(--color-sf-utility-info-border-color) !important;
46
+ color: var(--color-sf-utility-info-text-hover) !important;
47
+ }
48
+
49
+ .e-btn.e-flat.e-info {
50
+ color: var(--color-sf-utility-info-text) !important;
51
+ }
52
+
53
+ .e-bigger .e-btn,
54
+ .e-bigger .e-btn,
55
+ .e-bigger .e-css.e-btn,
56
+ .e-bigger.e-css.e-btn {
57
+ font-size: 14px;
58
+ line-height: 1.572em;
59
+ padding: 8px 15px;
60
+ border-radius: 8px !important;
61
+ font-weight: 600;
62
+ }
63
+
64
+ .e-listen-icon::before {
65
+ content: "\e91c";
66
+ }
67
+
68
+ .e-listen-stop::before {
69
+ content: "\e919";
70
+ }
71
+
72
+ .e-speech-to-text.e-btn {
73
+ -webkit-box-align: center;
74
+ -ms-flex-align: center;
75
+ align-items: center;
76
+ border-radius: 9999px;
77
+ display: -webkit-inline-box;
78
+ display: -ms-inline-flexbox;
79
+ display: inline-flex;
80
+ font-size: 16px;
81
+ min-width: 40px;
82
+ min-height: 40px;
83
+ padding: 0 13px;
84
+ }
85
+ .e-speech-to-text.e-btn.e-round {
86
+ width: 40px;
87
+ height: 40px;
88
+ padding: 0;
89
+ }
90
+ .e-speech-to-text.e-btn .e-btn-icon {
91
+ font-size: 16px;
92
+ }
93
+ .e-speech-to-text.e-btn:disabled {
94
+ pointer-events: none;
95
+ }
96
+ .e-speech-to-text.e-btn.e-listening-state {
97
+ -webkit-animation: listening 1.2s infinite;
98
+ animation: listening 1.2s infinite;
99
+ }
100
+
101
+ .e-speech-to-text.e-round .e-btn-icon {
102
+ font-size: 16px;
103
+ }
104
+
105
+ @-webkit-keyframes listening {
106
+ 0% {
107
+ opacity: 1;
108
+ }
109
+ 100% {
110
+ opacity: 1;
111
+ }
112
+ 50% {
113
+ opacity: 0.5;
114
+ }
115
+ }
116
+
117
+ @keyframes listening {
118
+ 0% {
119
+ opacity: 1;
120
+ }
121
+ 100% {
122
+ opacity: 1;
123
+ }
124
+ 50% {
125
+ opacity: 0.5;
126
+ }
127
+ }
128
+ .e-speech-to-text {
129
+ -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14);
130
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14);
131
+ }
132
+ .e-speech-to-text:hover:not(:focus), .e-speech-to-text:active, .e-speech-to-text.e-active, .e-speech-to-text:disabled {
133
+ -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14);
134
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14);
135
+ }
136
+ .e-speech-to-text:focus {
137
+ -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14), 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px var(--color-sf-brand-solid-shadow);
138
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14), 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px var(--color-sf-brand-solid-shadow);
139
+ }
140
+ .e-speech-to-text.e-flat {
141
+ -webkit-box-shadow: none;
142
+ box-shadow: none;
143
+ }
144
+
145
+ .e-bigger .e-speech-to-text.e-btn,
146
+ .e-bigger.e-speech-to-text.e-btn {
147
+ -webkit-box-align: center;
148
+ -ms-flex-align: center;
149
+ align-items: center;
150
+ border-radius: 9999px;
151
+ display: -webkit-inline-box;
152
+ display: -ms-inline-flexbox;
153
+ display: inline-flex;
154
+ font-size: 16px;
155
+ min-width: 52px;
156
+ min-height: 52px;
157
+ padding: 0 18px;
158
+ }
159
+ .e-bigger .e-speech-to-text.e-btn.e-round,
160
+ .e-bigger.e-speech-to-text.e-btn.e-round {
161
+ width: 40px;
162
+ height: 40px;
163
+ padding: 0;
164
+ }
165
+ .e-bigger .e-speech-to-text.e-btn .e-btn-icon,
166
+ .e-bigger.e-speech-to-text.e-btn .e-btn-icon {
167
+ font-size: 16px;
168
+ }
169
+
170
+ .e-bigger .e-speech-to-text.e-round .e-btn-icon,
171
+ .e-bigger.e-speech-to-text.e-round .e-btn-icon {
172
+ font-size: 20px;
173
+ }
@@ -0,0 +1,7 @@
1
+ @import 'ej2-base/styles/definition/bds.scss';
2
+ @import 'ej2-buttons/styles/button/bds-definition.scss';
3
+ @import 'ej2-popups/styles/tooltip/bds-definition.scss';
4
+ @import 'bds-definition.scss';
5
+ @import 'icons/bds.scss';
6
+ @import 'all.scss';
7
+ @import 'bigger.scss';
@@ -0,0 +1,110 @@
1
+ .e-listen-icon::before {
2
+ content: "\e171";
3
+ }
4
+
5
+ .e-listen-stop::before {
6
+ content: "\e16e";
7
+ }
8
+
9
+ .e-speech-to-text.e-btn {
10
+ -webkit-box-align: center;
11
+ -ms-flex-align: center;
12
+ align-items: center;
13
+ border-radius: 9999px;
14
+ display: -webkit-inline-box;
15
+ display: -ms-inline-flexbox;
16
+ display: inline-flex;
17
+ font-size: 12px;
18
+ min-width: 40px;
19
+ min-height: 40px;
20
+ padding: 0 16px;
21
+ }
22
+ .e-speech-to-text.e-btn.e-round {
23
+ width: 40px;
24
+ height: 40px;
25
+ padding: 0;
26
+ }
27
+ .e-speech-to-text.e-btn .e-btn-icon {
28
+ font-size: 12px;
29
+ }
30
+ .e-speech-to-text.e-btn:disabled {
31
+ pointer-events: none;
32
+ }
33
+ .e-speech-to-text.e-btn.e-listening-state {
34
+ -webkit-animation: listening 1.2s infinite;
35
+ animation: listening 1.2s infinite;
36
+ }
37
+
38
+ .e-speech-to-text.e-round .e-btn-icon {
39
+ font-size: 14px;
40
+ }
41
+
42
+ @-webkit-keyframes listening {
43
+ 0% {
44
+ opacity: 1;
45
+ }
46
+ 100% {
47
+ opacity: 1;
48
+ }
49
+ 50% {
50
+ opacity: 0.5;
51
+ }
52
+ }
53
+
54
+ @keyframes listening {
55
+ 0% {
56
+ opacity: 1;
57
+ }
58
+ 100% {
59
+ opacity: 1;
60
+ }
61
+ 50% {
62
+ opacity: 0.5;
63
+ }
64
+ }
65
+ .e-speech-to-text {
66
+ -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14);
67
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14);
68
+ }
69
+ .e-speech-to-text:hover:not(:focus), .e-speech-to-text:active, .e-speech-to-text.e-active, .e-speech-to-text:disabled {
70
+ -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14);
71
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14);
72
+ }
73
+ .e-speech-to-text:focus {
74
+ -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14);
75
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14);
76
+ }
77
+ .e-speech-to-text.e-flat {
78
+ -webkit-box-shadow: none;
79
+ box-shadow: none;
80
+ }
81
+
82
+ .e-bigger .e-speech-to-text.e-btn,
83
+ .e-bigger.e-speech-to-text.e-btn {
84
+ -webkit-box-align: center;
85
+ -ms-flex-align: center;
86
+ align-items: center;
87
+ border-radius: 9999px;
88
+ display: -webkit-inline-box;
89
+ display: -ms-inline-flexbox;
90
+ display: inline-flex;
91
+ font-size: 16px;
92
+ min-width: 52px;
93
+ min-height: 52px;
94
+ padding: 0 20px;
95
+ }
96
+ .e-bigger .e-speech-to-text.e-btn.e-round,
97
+ .e-bigger.e-speech-to-text.e-btn.e-round {
98
+ width: 52px;
99
+ height: 52px;
100
+ padding: 0;
101
+ }
102
+ .e-bigger .e-speech-to-text.e-btn .e-btn-icon,
103
+ .e-bigger.e-speech-to-text.e-btn .e-btn-icon {
104
+ font-size: 16px;
105
+ }
106
+
107
+ .e-bigger .e-speech-to-text.e-round .e-btn-icon,
108
+ .e-bigger.e-speech-to-text.e-round .e-btn-icon {
109
+ font-size: 20px;
110
+ }
@@ -0,0 +1,7 @@
1
+ @import 'ej2-base/styles/definition/bootstrap-dark.scss';
2
+ @import 'ej2-buttons/styles/button/bootstrap-dark-definition.scss';
3
+ @import 'ej2-popups/styles/tooltip/bootstrap-dark-definition.scss';
4
+ @import 'bootstrap-dark-definition.scss';
5
+ @import 'icons/bootstrap-dark.scss';
6
+ @import 'all.scss';
7
+ @import 'bigger.scss';
@@ -0,0 +1,110 @@
1
+ .e-listen-icon::before {
2
+ content: "\e171";
3
+ }
4
+
5
+ .e-listen-stop::before {
6
+ content: "\e16e";
7
+ }
8
+
9
+ .e-speech-to-text.e-btn {
10
+ -webkit-box-align: center;
11
+ -ms-flex-align: center;
12
+ align-items: center;
13
+ border-radius: 9999px;
14
+ display: -webkit-inline-box;
15
+ display: -ms-inline-flexbox;
16
+ display: inline-flex;
17
+ font-size: 14px;
18
+ min-width: 40px;
19
+ min-height: 40px;
20
+ padding: 0 16px;
21
+ }
22
+ .e-speech-to-text.e-btn.e-round {
23
+ width: 40px;
24
+ height: 40px;
25
+ padding: 0;
26
+ }
27
+ .e-speech-to-text.e-btn .e-btn-icon {
28
+ font-size: 14px;
29
+ }
30
+ .e-speech-to-text.e-btn:disabled {
31
+ pointer-events: none;
32
+ }
33
+ .e-speech-to-text.e-btn.e-listening-state {
34
+ -webkit-animation: listening 1.2s infinite;
35
+ animation: listening 1.2s infinite;
36
+ }
37
+
38
+ .e-speech-to-text.e-round .e-btn-icon {
39
+ font-size: 14px;
40
+ }
41
+
42
+ @-webkit-keyframes listening {
43
+ 0% {
44
+ opacity: 1;
45
+ }
46
+ 100% {
47
+ opacity: 1;
48
+ }
49
+ 50% {
50
+ opacity: 0.5;
51
+ }
52
+ }
53
+
54
+ @keyframes listening {
55
+ 0% {
56
+ opacity: 1;
57
+ }
58
+ 100% {
59
+ opacity: 1;
60
+ }
61
+ 50% {
62
+ opacity: 0.5;
63
+ }
64
+ }
65
+ .e-speech-to-text {
66
+ -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14);
67
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14);
68
+ }
69
+ .e-speech-to-text:hover:not(:focus), .e-speech-to-text:active, .e-speech-to-text.e-active, .e-speech-to-text:disabled {
70
+ -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14);
71
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14);
72
+ }
73
+ .e-speech-to-text:focus {
74
+ -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14);
75
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 -2px 15px -3px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.14);
76
+ }
77
+ .e-speech-to-text.e-flat {
78
+ -webkit-box-shadow: none;
79
+ box-shadow: none;
80
+ }
81
+
82
+ .e-bigger .e-speech-to-text.e-btn,
83
+ .e-bigger.e-speech-to-text.e-btn {
84
+ -webkit-box-align: center;
85
+ -ms-flex-align: center;
86
+ align-items: center;
87
+ border-radius: 9999px;
88
+ display: -webkit-inline-box;
89
+ display: -ms-inline-flexbox;
90
+ display: inline-flex;
91
+ font-size: 16px;
92
+ min-width: 52px;
93
+ min-height: 52px;
94
+ padding: 0 20px;
95
+ }
96
+ .e-bigger .e-speech-to-text.e-btn.e-round,
97
+ .e-bigger.e-speech-to-text.e-btn.e-round {
98
+ width: 52px;
99
+ height: 52px;
100
+ padding: 0;
101
+ }
102
+ .e-bigger .e-speech-to-text.e-btn .e-btn-icon,
103
+ .e-bigger.e-speech-to-text.e-btn .e-btn-icon {
104
+ font-size: 16px;
105
+ }
106
+
107
+ .e-bigger .e-speech-to-text.e-round .e-btn-icon,
108
+ .e-bigger.e-speech-to-text.e-round .e-btn-icon {
109
+ font-size: 16px;
110
+ }
@@ -0,0 +1,7 @@
1
+ @import 'ej2-base/styles/definition/bootstrap.scss';
2
+ @import 'ej2-buttons/styles/button/bootstrap-definition.scss';
3
+ @import 'ej2-popups/styles/tooltip/bootstrap-definition.scss';
4
+ @import 'bootstrap-definition.scss';
5
+ @import 'icons/bootstrap.scss';
6
+ @import 'all.scss';
7
+ @import 'bigger.scss';