@promptbook/templates 0.100.0-47 → 0.100.0-49

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 (45) hide show
  1. package/README.md +1 -0
  2. package/esm/index.es.js +10 -278
  3. package/esm/index.es.js.map +1 -1
  4. package/esm/typings/src/_packages/color.index.d.ts +50 -0
  5. package/esm/typings/src/_packages/components.index.d.ts +6 -0
  6. package/esm/typings/src/_packages/types.index.d.ts +8 -0
  7. package/esm/typings/src/book-components/Chat/Chat/Chat.d.ts +4 -2
  8. package/esm/typings/src/book-components/Chat/LlmChat/LlmChat.d.ts +108 -0
  9. package/esm/typings/src/book-components/Chat/LlmChat/LlmChat.test.d.ts +1 -0
  10. package/esm/typings/src/book-components/Chat/interfaces/ChatParticipant.d.ts +3 -1
  11. package/esm/typings/src/utils/color/$randomColor.d.ts +11 -0
  12. package/esm/typings/src/utils/color/Color.d.ts +180 -0
  13. package/esm/typings/src/utils/color/css-colors.d.ts +159 -0
  14. package/esm/typings/src/utils/color/internal-utils/checkChannelValue.d.ts +14 -0
  15. package/esm/typings/src/utils/color/internal-utils/hslToRgb.d.ts +17 -0
  16. package/esm/typings/src/utils/color/internal-utils/rgbToHsl.d.ts +17 -0
  17. package/esm/typings/src/utils/color/operators/ColorTransformer.d.ts +5 -0
  18. package/esm/typings/src/utils/color/operators/darken.d.ts +9 -0
  19. package/esm/typings/src/utils/color/operators/furthest.d.ts +16 -0
  20. package/esm/typings/src/utils/color/operators/grayscale.d.ts +9 -0
  21. package/esm/typings/src/utils/color/operators/lighten.d.ts +12 -0
  22. package/esm/typings/src/utils/color/operators/mixWithColor.d.ts +11 -0
  23. package/esm/typings/src/utils/color/operators/nearest.d.ts +10 -0
  24. package/esm/typings/src/utils/color/operators/negative.d.ts +7 -0
  25. package/esm/typings/src/utils/color/operators/negativeLightness.d.ts +7 -0
  26. package/esm/typings/src/utils/color/operators/withAlpha.d.ts +9 -0
  27. package/esm/typings/src/utils/color/utils/areColorsEqual.d.ts +14 -0
  28. package/esm/typings/src/utils/color/utils/colorDistance.d.ts +21 -0
  29. package/esm/typings/src/utils/color/utils/colorHue.d.ts +11 -0
  30. package/esm/typings/src/utils/color/utils/colorHueDistance.d.ts +11 -0
  31. package/esm/typings/src/utils/color/utils/colorHueDistance.test.d.ts +1 -0
  32. package/esm/typings/src/utils/color/utils/colorLuminance.d.ts +9 -0
  33. package/esm/typings/src/utils/color/utils/colorSatulightion.d.ts +7 -0
  34. package/esm/typings/src/utils/color/utils/colorSaturation.d.ts +9 -0
  35. package/esm/typings/src/utils/color/utils/colorToDataUrl.d.ts +10 -0
  36. package/esm/typings/src/utils/color/utils/mixColors.d.ts +11 -0
  37. package/esm/typings/src/utils/take/classes/TakeChain.d.ts +11 -0
  38. package/esm/typings/src/utils/take/interfaces/ITakeChain.d.ts +12 -0
  39. package/esm/typings/src/utils/take/interfaces/Takeable.d.ts +7 -0
  40. package/esm/typings/src/utils/take/take.d.ts +12 -0
  41. package/esm/typings/src/utils/take/take.test.d.ts +1 -0
  42. package/esm/typings/src/version.d.ts +1 -1
  43. package/package.json +2 -2
  44. package/umd/index.umd.js +10 -278
  45. package/umd/index.umd.js.map +1 -1
package/README.md CHANGED
@@ -317,6 +317,7 @@ Or you can install them separately:
317
317
  - **[@promptbook/editable](https://www.npmjs.com/package/@promptbook/editable)** - Editable book as native javascript object with imperative object API
318
318
  - **[@promptbook/templates](https://www.npmjs.com/package/@promptbook/templates)** - Useful templates and examples of books which can be used as a starting point
319
319
  - **[@promptbook/types](https://www.npmjs.com/package/@promptbook/types)** - Just typescript types used in the library
320
+ - **[@promptbook/color](https://www.npmjs.com/package/@promptbook/color)** - Just typescript types used in the library
320
321
  - ⭐ **[@promptbook/cli](https://www.npmjs.com/package/@promptbook/cli)** - Command line interface utilities for promptbooks
321
322
  - 🐋 **[Docker image](https://hub.docker.com/r/hejny/promptbook/)** - Promptbook server
322
323