@trismegisto/media 0.0.0-stage → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/LICENSE +56 -0
  2. package/MIGRATION.md +831 -0
  3. package/NOTICE +14 -0
  4. package/README.md +87 -2
  5. package/dist/announce.d.ts +60 -0
  6. package/dist/announce.js +124 -0
  7. package/dist/announce.js.map +1 -0
  8. package/dist/archive.d.ts +121 -0
  9. package/dist/archive.js +413 -0
  10. package/dist/archive.js.map +1 -0
  11. package/dist/captions.d.ts +180 -0
  12. package/dist/captions.js +468 -0
  13. package/dist/captions.js.map +1 -0
  14. package/dist/controls.d.ts +79 -0
  15. package/dist/controls.js +153 -0
  16. package/dist/controls.js.map +1 -0
  17. package/dist/csv.d.ts +43 -0
  18. package/dist/csv.js +197 -0
  19. package/dist/csv.js.map +1 -0
  20. package/dist/detect.d.ts +86 -0
  21. package/dist/detect.js +597 -0
  22. package/dist/detect.js.map +1 -0
  23. package/dist/file-source.d.ts +72 -0
  24. package/dist/file-source.js +19 -0
  25. package/dist/file-source.js.map +1 -0
  26. package/dist/file-view.d.ts +77 -0
  27. package/dist/file-view.js +124 -0
  28. package/dist/file-view.js.map +1 -0
  29. package/dist/format.d.ts +29 -0
  30. package/dist/format.js +122 -0
  31. package/dist/format.js.map +1 -0
  32. package/dist/gallery.d.ts +40 -0
  33. package/dist/gallery.js +53 -0
  34. package/dist/gallery.js.map +1 -0
  35. package/dist/html-preview.d.ts +24 -0
  36. package/dist/html-preview.js +30 -0
  37. package/dist/html-preview.js.map +1 -0
  38. package/dist/image-view.d.ts +71 -0
  39. package/dist/image-view.js +158 -0
  40. package/dist/image-view.js.map +1 -0
  41. package/dist/image.d.ts +101 -0
  42. package/dist/image.js +146 -0
  43. package/dist/image.js.map +1 -0
  44. package/dist/index.d.ts +25 -0
  45. package/dist/index.js +28 -0
  46. package/dist/index.js.map +1 -0
  47. package/dist/keyboard.d.ts +101 -0
  48. package/dist/keyboard.js +144 -0
  49. package/dist/keyboard.js.map +1 -0
  50. package/dist/markdown-html.d.ts +12 -0
  51. package/dist/markdown-html.js +32 -0
  52. package/dist/markdown-html.js.map +1 -0
  53. package/dist/media-i18n.d.ts +17 -0
  54. package/dist/media-i18n.js +27 -0
  55. package/dist/media-i18n.js.map +1 -0
  56. package/dist/media-messages.d.ts +249 -0
  57. package/dist/media-messages.en.d.ts +2 -0
  58. package/dist/media-messages.en.js +218 -0
  59. package/dist/media-messages.en.js.map +1 -0
  60. package/dist/media-messages.es.d.ts +2 -0
  61. package/dist/media-messages.es.js +218 -0
  62. package/dist/media-messages.es.js.map +1 -0
  63. package/dist/media-messages.js +218 -0
  64. package/dist/media-messages.js.map +1 -0
  65. package/dist/player-view.d.ts +104 -0
  66. package/dist/player-view.js +171 -0
  67. package/dist/player-view.js.map +1 -0
  68. package/dist/player.d.ts +324 -0
  69. package/dist/player.js +1146 -0
  70. package/dist/player.js.map +1 -0
  71. package/dist/range.d.ts +75 -0
  72. package/dist/range.js +185 -0
  73. package/dist/range.js.map +1 -0
  74. package/dist/registry.d.ts +55 -0
  75. package/dist/registry.js +81 -0
  76. package/dist/registry.js.map +1 -0
  77. package/dist/text.d.ts +103 -0
  78. package/dist/text.js +192 -0
  79. package/dist/text.js.map +1 -0
  80. package/dist/thumbnail.d.ts +113 -0
  81. package/dist/thumbnail.js +332 -0
  82. package/dist/thumbnail.js.map +1 -0
  83. package/package.json +53 -4
package/LICENSE ADDED
@@ -0,0 +1,56 @@
1
+ Hermes License 1.0
2
+
3
+ Copyright (c) 2026 Lucas Ribeiro. All rights reserved except as granted below.
4
+
5
+ 1. Use. You may, free of charge, install and use this software (the "Library"),
6
+ unmodified, for any purpose, including commercial purposes.
7
+
8
+ 2. Applications. You may include the unmodified Library in an application or
9
+ service you build and distribute or make that application available to others
10
+ (for example, a compiled web application bundle, a container image or an
11
+ installed program), provided the Library is not offered as a separate,
12
+ standalone component and this license notice is kept with it.
13
+
14
+ 3. No modification. You may not modify, adapt, translate or create derivative
15
+ works of the Library.
16
+
17
+ 4. No redistribution. Except as allowed in section 2, you may not publish,
18
+ redistribute, sublicense, sell or otherwise make available the Library —
19
+ including as a package in a public or private registry, a fork or a copy of
20
+ its source code.
21
+
22
+ 5. Notice. You must keep this license and the copyright notice with every copy
23
+ of the Library.
24
+
25
+ 6. No warranty. The Library is provided "as is", without warranty of any kind,
26
+ express or implied. In no event shall the author be liable for any claim,
27
+ damages or other liability arising from the use of the Library.
28
+
29
+ 7. Third-party components. Some files in the Library are, or are derived from,
30
+ third-party software and fonts. They are identified in the NOTICE files, in
31
+ the LICENSES folders and in the font license files shipped with the package,
32
+ and remain under their own licenses. Nothing in this license limits the
33
+ rights those licenses grant for those parts.
34
+
35
+ ---
36
+
37
+ Licença Hermes 1.0 (tradução de referência; em caso de divergência vale o texto em inglês)
38
+
39
+ 1. Uso. Você pode, gratuitamente, instalar e usar esta biblioteca, sem modificações,
40
+ para qualquer finalidade, inclusive comercial.
41
+ 2. Aplicações. Você pode incluir a biblioteca, sem modificações, numa aplicação ou
42
+ serviço seu e distribuir ou disponibilizar essa aplicação (por exemplo, o bundle de
43
+ um app web, uma imagem de container ou um programa instalado), desde que a biblioteca
44
+ não seja oferecida como componente avulso e este aviso de licença a acompanhe.
45
+ 3. Sem modificação. Você não pode modificar, adaptar, traduzir nem criar obras
46
+ derivadas da biblioteca.
47
+ 4. Sem redistribuição. Fora o permitido no item 2, você não pode publicar, redistribuir,
48
+ sublicenciar, vender ou disponibilizar a biblioteca — inclusive como pacote num
49
+ registry público ou privado, fork ou cópia do código-fonte.
50
+ 5. Aviso. Mantenha esta licença e o aviso de copyright em todas as cópias.
51
+ 6. Sem garantia. A biblioteca é fornecida "como está", sem garantia de qualquer tipo.
52
+ 7. Componentes de terceiros. Alguns arquivos da biblioteca são, ou derivam de, software
53
+ e fontes de terceiros. Eles estão identificados nos arquivos NOTICE, nas pastas
54
+ LICENSES e nos arquivos de licença das fontes que acompanham o pacote, e continuam
55
+ sob as licenças originais. Nada nesta licença limita os direitos que elas concedem
56
+ sobre essas partes.