rasa-pro 3.12.18.dev1__py3-none-any.whl → 3.13.0a1.dev1__py3-none-any.whl

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.

Potentially problematic release.


This version of rasa-pro might be problematic. Click here for more details.

Files changed (341) hide show
  1. rasa/__init__.py +0 -6
  2. rasa/__main__.py +3 -4
  3. rasa/api.py +1 -1
  4. rasa/builder/create_openai_vector_store.py +69 -0
  5. rasa/builder/llm-helper-schema.json +69 -0
  6. rasa/builder/prompt_to_bot.py +645 -0
  7. rasa/builder/scrape_rasa_docs.py +97 -0
  8. rasa/builder/skill_to_bot_prompt.jinja +158 -0
  9. rasa/cli/dialogue_understanding_test.py +1 -1
  10. rasa/cli/e2e_test.py +1 -1
  11. rasa/cli/evaluate.py +2 -2
  12. rasa/cli/export.py +3 -3
  13. rasa/cli/llm_fine_tuning.py +1 -1
  14. rasa/cli/project_templates/default/config.yml +5 -32
  15. rasa/cli/project_templates/{calm → default}/e2e_tests/cancelations/user_cancels_during_a_correction.yml +1 -1
  16. rasa/cli/project_templates/{calm → default}/e2e_tests/cancelations/user_changes_mind_on_a_whim.yml +1 -1
  17. rasa/cli/project_templates/{calm → default}/e2e_tests/corrections/user_corrects_contact_handle.yml +1 -1
  18. rasa/cli/project_templates/{calm → default}/e2e_tests/corrections/user_corrects_contact_name.yml +1 -1
  19. rasa/cli/project_templates/{calm → default}/e2e_tests/happy_paths/user_adds_contact_to_their_list.yml +1 -1
  20. rasa/cli/project_templates/{calm → default}/e2e_tests/happy_paths/user_lists_contacts.yml +1 -1
  21. rasa/cli/project_templates/{calm → default}/e2e_tests/happy_paths/user_removes_contact.yml +1 -1
  22. rasa/cli/project_templates/{calm → default}/e2e_tests/happy_paths/user_removes_contact_from_list.yml +1 -1
  23. rasa/cli/project_templates/default/endpoints.yml +18 -2
  24. rasa/cli/project_templates/defaults.py +133 -0
  25. rasa/cli/run.py +1 -1
  26. rasa/cli/scaffold.py +2 -3
  27. rasa/cli/studio/download.py +1 -1
  28. rasa/cli/studio/link.py +53 -0
  29. rasa/cli/studio/pull.py +78 -0
  30. rasa/cli/studio/push.py +78 -0
  31. rasa/cli/studio/studio.py +12 -0
  32. rasa/cli/studio/upload.py +5 -3
  33. rasa/cli/train.py +1 -1
  34. rasa/cli/utils.py +1 -1
  35. rasa/cli/x.py +1 -1
  36. rasa/constants.py +2 -0
  37. rasa/core/__init__.py +0 -16
  38. rasa/core/actions/action.py +42 -31
  39. rasa/core/actions/action_repeat_bot_messages.py +18 -22
  40. rasa/core/actions/action_run_slot_rejections.py +1 -2
  41. rasa/core/agent.py +18 -3
  42. rasa/core/available_endpoints.py +146 -0
  43. rasa/core/brokers/kafka.py +4 -0
  44. rasa/core/brokers/pika.py +5 -2
  45. rasa/core/brokers/sql.py +1 -1
  46. rasa/core/channels/botframework.py +2 -2
  47. rasa/core/channels/channel.py +2 -2
  48. rasa/core/channels/development_inspector.py +1 -1
  49. rasa/core/channels/facebook.py +1 -4
  50. rasa/core/channels/hangouts.py +8 -5
  51. rasa/core/channels/inspector/.eslintrc.cjs +12 -6
  52. rasa/core/channels/inspector/.prettierrc +5 -0
  53. rasa/core/channels/inspector/README.md +11 -5
  54. rasa/core/channels/inspector/dist/assets/{arc-9f75cc3b.js → arc-02053cc1.js} +1 -1
  55. rasa/core/channels/inspector/dist/assets/{blockDiagram-38ab4fdb-7f34db23.js → blockDiagram-38ab4fdb-008b6289.js} +1 -1
  56. rasa/core/channels/inspector/dist/assets/{c4Diagram-3d4e48cf-948bab2c.js → c4Diagram-3d4e48cf-fb2597be.js} +1 -1
  57. rasa/core/channels/inspector/dist/assets/channel-078dada8.js +1 -0
  58. rasa/core/channels/inspector/dist/assets/{classDiagram-70f12bd4-53b0dd0e.js → classDiagram-70f12bd4-7f847e00.js} +1 -1
  59. rasa/core/channels/inspector/dist/assets/{classDiagram-v2-f2320105-fdf789e7.js → classDiagram-v2-f2320105-ba1d689b.js} +1 -1
  60. rasa/core/channels/inspector/dist/assets/clone-5b4516de.js +1 -0
  61. rasa/core/channels/inspector/dist/assets/{createText-2e5e7dd3-87c4ece5.js → createText-2e5e7dd3-dd8e67c4.js} +1 -1
  62. rasa/core/channels/inspector/dist/assets/{edges-e0da2a9e-5a8b0749.js → edges-e0da2a9e-10784939.js} +1 -1
  63. rasa/core/channels/inspector/dist/assets/{erDiagram-9861fffd-66da90e2.js → erDiagram-9861fffd-24947ae6.js} +1 -1
  64. rasa/core/channels/inspector/dist/assets/{flowDb-956e92f1-10044f05.js → flowDb-956e92f1-a9ced505.js} +1 -1
  65. rasa/core/channels/inspector/dist/assets/{flowDiagram-66a62f08-f338f66a.js → flowDiagram-66a62f08-afda9c7c.js} +1 -1
  66. rasa/core/channels/inspector/dist/assets/flowDiagram-v2-96b9c2cf-f9613071.js +1 -0
  67. rasa/core/channels/inspector/dist/assets/{flowchart-elk-definition-4a651766-b13140aa.js → flowchart-elk-definition-4a651766-6ef530b8.js} +1 -1
  68. rasa/core/channels/inspector/dist/assets/{ganttDiagram-c361ad54-f2b4a55a.js → ganttDiagram-c361ad54-0c7dd39a.js} +1 -1
  69. rasa/core/channels/inspector/dist/assets/{gitGraphDiagram-72cf32ee-dedc298d.js → gitGraphDiagram-72cf32ee-b57239d6.js} +1 -1
  70. rasa/core/channels/inspector/dist/assets/{graph-4ede11ff.js → graph-9ed57cec.js} +1 -1
  71. rasa/core/channels/inspector/dist/assets/{index-3862675e-65549d37.js → index-3862675e-233090de.js} +1 -1
  72. rasa/core/channels/inspector/dist/assets/{index-3a23e736.js → index-72184470.js} +123 -123
  73. rasa/core/channels/inspector/dist/assets/{infoDiagram-f8f76790-65439671.js → infoDiagram-f8f76790-aa116649.js} +1 -1
  74. rasa/core/channels/inspector/dist/assets/{journeyDiagram-49397b02-56d03d98.js → journeyDiagram-49397b02-e51877cc.js} +1 -1
  75. rasa/core/channels/inspector/dist/assets/{layout-dd48f7f4.js → layout-3ca3798c.js} +1 -1
  76. rasa/core/channels/inspector/dist/assets/{line-1569ad2c.js → line-26ee10d3.js} +1 -1
  77. rasa/core/channels/inspector/dist/assets/{linear-48bf4935.js → linear-aedded32.js} +1 -1
  78. rasa/core/channels/inspector/dist/assets/{mindmap-definition-fc14e90a-688504c1.js → mindmap-definition-fc14e90a-d8957261.js} +1 -1
  79. rasa/core/channels/inspector/dist/assets/{pieDiagram-8a3498a8-78b6d7e6.js → pieDiagram-8a3498a8-d771f885.js} +1 -1
  80. rasa/core/channels/inspector/dist/assets/{quadrantDiagram-120e2f19-048b84b3.js → quadrantDiagram-120e2f19-09fdf50c.js} +1 -1
  81. rasa/core/channels/inspector/dist/assets/{requirementDiagram-deff3bca-dd67f107.js → requirementDiagram-deff3bca-9f0af02e.js} +1 -1
  82. rasa/core/channels/inspector/dist/assets/{sankeyDiagram-04a897e0-8128436e.js → sankeyDiagram-04a897e0-84415b37.js} +1 -1
  83. rasa/core/channels/inspector/dist/assets/{sequenceDiagram-704730f1-1a0d1461.js → sequenceDiagram-704730f1-8dec4055.js} +1 -1
  84. rasa/core/channels/inspector/dist/assets/{stateDiagram-587899a1-46d388ed.js → stateDiagram-587899a1-c5431d07.js} +1 -1
  85. rasa/core/channels/inspector/dist/assets/{stateDiagram-v2-d93cdb3a-ea42951a.js → stateDiagram-v2-d93cdb3a-274e77d9.js} +1 -1
  86. rasa/core/channels/inspector/dist/assets/{styles-6aaf32cf-7427ed0c.js → styles-6aaf32cf-e364a1d7.js} +1 -1
  87. rasa/core/channels/inspector/dist/assets/{styles-9a916d00-ff5e5a16.js → styles-9a916d00-0dae36f6.js} +1 -1
  88. rasa/core/channels/inspector/dist/assets/{styles-c10674c1-7b3680cf.js → styles-c10674c1-c4641675.js} +1 -1
  89. rasa/core/channels/inspector/dist/assets/{svgDrawCommon-08f97a94-f860f2ad.js → svgDrawCommon-08f97a94-831fe9a1.js} +1 -1
  90. rasa/core/channels/inspector/dist/assets/{timeline-definition-85554ec2-2eebf0c8.js → timeline-definition-85554ec2-c3304b3a.js} +1 -1
  91. rasa/core/channels/inspector/dist/assets/{xychartDiagram-e933f94c-5d7f4e96.js → xychartDiagram-e933f94c-da799369.js} +1 -1
  92. rasa/core/channels/inspector/dist/index.html +1 -1
  93. rasa/core/channels/inspector/package.json +3 -1
  94. rasa/core/channels/inspector/src/App.tsx +91 -90
  95. rasa/core/channels/inspector/src/components/Chat.tsx +45 -41
  96. rasa/core/channels/inspector/src/components/DiagramFlow.tsx +40 -40
  97. rasa/core/channels/inspector/src/components/DialogueInformation.tsx +57 -57
  98. rasa/core/channels/inspector/src/components/DialogueStack.tsx +36 -27
  99. rasa/core/channels/inspector/src/components/ExpandIcon.tsx +4 -4
  100. rasa/core/channels/inspector/src/components/FullscreenButton.tsx +7 -7
  101. rasa/core/channels/inspector/src/components/LoadingSpinner.tsx +28 -12
  102. rasa/core/channels/inspector/src/components/NoActiveFlow.tsx +9 -9
  103. rasa/core/channels/inspector/src/components/RasaLogo.tsx +5 -5
  104. rasa/core/channels/inspector/src/components/RecruitmentPanel.tsx +55 -60
  105. rasa/core/channels/inspector/src/components/SaraDiagrams.tsx +5 -5
  106. rasa/core/channels/inspector/src/components/Slots.tsx +22 -22
  107. rasa/core/channels/inspector/src/components/Welcome.tsx +28 -31
  108. rasa/core/channels/inspector/src/helpers/audio/audiostream.ts +245 -0
  109. rasa/core/channels/inspector/src/helpers/audio/microphone-processor.js +12 -0
  110. rasa/core/channels/inspector/src/helpers/audio/playback-processor.js +36 -0
  111. rasa/core/channels/inspector/src/helpers/conversation.ts +7 -7
  112. rasa/core/channels/inspector/src/helpers/formatters.test.ts +181 -181
  113. rasa/core/channels/inspector/src/helpers/formatters.ts +111 -111
  114. rasa/core/channels/inspector/src/helpers/utils.ts +78 -61
  115. rasa/core/channels/inspector/src/main.tsx +8 -8
  116. rasa/core/channels/inspector/src/theme/Button/Button.ts +8 -8
  117. rasa/core/channels/inspector/src/theme/Heading/Heading.ts +7 -7
  118. rasa/core/channels/inspector/src/theme/Input/Input.ts +9 -9
  119. rasa/core/channels/inspector/src/theme/Link/Link.ts +6 -6
  120. rasa/core/channels/inspector/src/theme/Modal/Modal.ts +13 -13
  121. rasa/core/channels/inspector/src/theme/Table/Table.tsx +10 -10
  122. rasa/core/channels/inspector/src/theme/Tooltip/Tooltip.ts +5 -5
  123. rasa/core/channels/inspector/src/theme/base/breakpoints.ts +7 -7
  124. rasa/core/channels/inspector/src/theme/base/colors.ts +64 -64
  125. rasa/core/channels/inspector/src/theme/base/fonts/fontFaces.css +21 -18
  126. rasa/core/channels/inspector/src/theme/base/radii.ts +8 -8
  127. rasa/core/channels/inspector/src/theme/base/shadows.ts +5 -5
  128. rasa/core/channels/inspector/src/theme/base/sizes.ts +5 -5
  129. rasa/core/channels/inspector/src/theme/base/space.ts +12 -12
  130. rasa/core/channels/inspector/src/theme/base/styles.ts +5 -5
  131. rasa/core/channels/inspector/src/theme/base/typography.ts +12 -12
  132. rasa/core/channels/inspector/src/theme/base/zIndices.ts +3 -3
  133. rasa/core/channels/inspector/src/theme/index.ts +38 -38
  134. rasa/core/channels/inspector/src/types.ts +56 -50
  135. rasa/core/channels/inspector/yarn.lock +5 -0
  136. rasa/core/channels/mattermost.py +1 -1
  137. rasa/core/channels/rasa_chat.py +2 -4
  138. rasa/core/channels/rest.py +5 -4
  139. rasa/core/channels/socketio.py +56 -41
  140. rasa/core/channels/studio_chat.py +337 -71
  141. rasa/core/channels/vier_cvg.py +1 -2
  142. rasa/core/channels/voice_ready/audiocodes.py +4 -11
  143. rasa/core/channels/voice_stream/audiocodes.py +8 -5
  144. rasa/core/channels/voice_stream/browser_audio.py +1 -1
  145. rasa/core/channels/voice_stream/genesys.py +2 -2
  146. rasa/core/channels/voice_stream/tts/__init__.py +8 -0
  147. rasa/core/channels/voice_stream/twilio_media_streams.py +10 -5
  148. rasa/core/channels/voice_stream/voice_channel.py +65 -23
  149. rasa/core/concurrent_lock_store.py +24 -10
  150. rasa/core/evaluation/marker_tracker_loader.py +1 -1
  151. rasa/core/exporter.py +1 -1
  152. rasa/core/http_interpreter.py +3 -7
  153. rasa/core/information_retrieval/faiss.py +18 -11
  154. rasa/core/information_retrieval/ingestion/__init__.py +0 -0
  155. rasa/core/information_retrieval/ingestion/faq_parser.py +158 -0
  156. rasa/core/jobs.py +2 -1
  157. rasa/core/lock_store.py +151 -60
  158. rasa/core/nlg/contextual_response_rephraser.py +17 -7
  159. rasa/core/nlg/generator.py +5 -22
  160. rasa/core/nlg/interpolator.py +2 -3
  161. rasa/core/nlg/response.py +6 -43
  162. rasa/core/nlg/summarize.py +1 -1
  163. rasa/core/nlg/translate.py +0 -8
  164. rasa/core/policies/enterprise_search_policy.py +262 -62
  165. rasa/core/policies/enterprise_search_prompt_with_relevancy_check_and_citation_template.jinja2 +63 -0
  166. rasa/core/policies/flow_policy.py +1 -1
  167. rasa/core/policies/flows/flow_executor.py +96 -17
  168. rasa/core/policies/intentless_policy.py +57 -20
  169. rasa/core/processor.py +114 -54
  170. rasa/core/run.py +33 -11
  171. rasa/core/tracker_stores/__init__.py +0 -0
  172. rasa/core/{auth_retry_tracker_store.py → tracker_stores/auth_retry_tracker_store.py} +5 -1
  173. rasa/core/tracker_stores/dynamo_tracker_store.py +218 -0
  174. rasa/core/tracker_stores/mongo_tracker_store.py +206 -0
  175. rasa/core/tracker_stores/redis_tracker_store.py +219 -0
  176. rasa/core/tracker_stores/sql_tracker_store.py +555 -0
  177. rasa/core/tracker_stores/tracker_store.py +805 -0
  178. rasa/core/training/interactive.py +1 -1
  179. rasa/core/utils.py +24 -95
  180. rasa/dialogue_understanding/coexistence/intent_based_router.py +2 -1
  181. rasa/dialogue_understanding/coexistence/llm_based_router.py +10 -6
  182. rasa/dialogue_understanding/commands/can_not_handle_command.py +2 -0
  183. rasa/dialogue_understanding/commands/cancel_flow_command.py +5 -1
  184. rasa/dialogue_understanding/commands/chit_chat_answer_command.py +2 -0
  185. rasa/dialogue_understanding/commands/clarify_command.py +4 -0
  186. rasa/dialogue_understanding/commands/command_syntax_manager.py +1 -0
  187. rasa/dialogue_understanding/commands/correct_slots_command.py +1 -3
  188. rasa/dialogue_understanding/commands/human_handoff_command.py +2 -0
  189. rasa/dialogue_understanding/commands/knowledge_answer_command.py +2 -0
  190. rasa/dialogue_understanding/commands/repeat_bot_messages_command.py +2 -0
  191. rasa/dialogue_understanding/commands/set_slot_command.py +10 -0
  192. rasa/dialogue_understanding/commands/skip_question_command.py +2 -0
  193. rasa/dialogue_understanding/commands/start_flow_command.py +4 -0
  194. rasa/dialogue_understanding/commands/utils.py +26 -2
  195. rasa/dialogue_understanding/generator/__init__.py +7 -1
  196. rasa/dialogue_understanding/generator/command_generator.py +4 -2
  197. rasa/dialogue_understanding/generator/command_parser.py +2 -2
  198. rasa/dialogue_understanding/generator/command_parser_validator.py +63 -0
  199. rasa/dialogue_understanding/generator/llm_based_command_generator.py +5 -17
  200. rasa/dialogue_understanding/generator/llm_command_generator.py +1 -3
  201. rasa/dialogue_understanding/generator/multi_step/multi_step_llm_command_generator.py +4 -44
  202. rasa/dialogue_understanding/generator/nlu_command_adapter.py +2 -2
  203. rasa/dialogue_understanding/generator/prompt_templates/command_prompt_v3_gpt_4o_2024_11_20_template.jinja2 +78 -0
  204. rasa/dialogue_understanding/generator/single_step/compact_llm_command_generator.py +26 -474
  205. rasa/dialogue_understanding/generator/single_step/search_ready_llm_command_generator.py +147 -0
  206. rasa/dialogue_understanding/generator/single_step/single_step_based_llm_command_generator.py +477 -0
  207. rasa/dialogue_understanding/generator/single_step/single_step_llm_command_generator.py +11 -64
  208. rasa/dialogue_understanding/patterns/cancel.py +1 -2
  209. rasa/dialogue_understanding/patterns/clarify.py +1 -1
  210. rasa/dialogue_understanding/patterns/correction.py +2 -2
  211. rasa/dialogue_understanding/patterns/default_flows_for_patterns.yml +37 -25
  212. rasa/dialogue_understanding/patterns/domain_for_patterns.py +190 -0
  213. rasa/dialogue_understanding/processor/command_processor.py +6 -7
  214. rasa/dialogue_understanding/stack/frames/flow_stack_frame.py +17 -4
  215. rasa/dialogue_understanding/stack/utils.py +3 -1
  216. rasa/dialogue_understanding/utils.py +68 -12
  217. rasa/dialogue_understanding_test/command_metric_calculation.py +7 -40
  218. rasa/dialogue_understanding_test/command_metrics.py +38 -0
  219. rasa/dialogue_understanding_test/du_test_case.py +58 -25
  220. rasa/dialogue_understanding_test/du_test_result.py +228 -132
  221. rasa/dialogue_understanding_test/du_test_runner.py +11 -2
  222. rasa/dialogue_understanding_test/io.py +35 -8
  223. rasa/e2e_test/e2e_test_runner.py +1 -1
  224. rasa/engine/constants.py +1 -1
  225. rasa/engine/graph.py +2 -2
  226. rasa/engine/recipes/default_recipe.py +1 -1
  227. rasa/engine/validation.py +3 -2
  228. rasa/hooks.py +2 -85
  229. rasa/llm_fine_tuning/paraphrasing/conversation_rephraser.py +1 -5
  230. rasa/llm_fine_tuning/utils.py +2 -4
  231. rasa/model_manager/model_api.py +90 -2
  232. rasa/model_manager/socket_bridge.py +0 -7
  233. rasa/model_manager/trainer_service.py +15 -12
  234. rasa/plugin.py +2 -15
  235. rasa/privacy/__init__.py +0 -0
  236. rasa/privacy/constants.py +83 -0
  237. rasa/privacy/event_broker_utils.py +77 -0
  238. rasa/privacy/privacy_config.py +281 -0
  239. rasa/privacy/privacy_config_schema.json +86 -0
  240. rasa/privacy/privacy_filter.py +340 -0
  241. rasa/privacy/privacy_manager.py +576 -0
  242. rasa/server.py +23 -2
  243. rasa/shared/constants.py +13 -4
  244. rasa/shared/core/command_payload_reader.py +1 -5
  245. rasa/shared/core/constants.py +4 -3
  246. rasa/shared/core/domain.py +172 -11
  247. rasa/shared/core/events.py +100 -6
  248. rasa/shared/core/flows/flow.py +35 -8
  249. rasa/shared/core/flows/flow_step.py +26 -4
  250. rasa/shared/core/flows/flow_step_links.py +15 -0
  251. rasa/shared/core/flows/flow_step_sequence.py +6 -0
  252. rasa/shared/core/flows/flows_yaml_schema.json +3 -0
  253. rasa/shared/core/flows/nlu_trigger.py +13 -0
  254. rasa/shared/core/flows/steps/action.py +7 -4
  255. rasa/shared/core/flows/steps/call.py +11 -4
  256. rasa/shared/core/flows/steps/collect.py +71 -6
  257. rasa/shared/core/flows/steps/internal.py +6 -1
  258. rasa/shared/core/flows/steps/link.py +7 -4
  259. rasa/shared/core/flows/steps/no_operation.py +7 -4
  260. rasa/shared/core/flows/steps/set_slots.py +8 -4
  261. rasa/shared/core/flows/validation.py +16 -3
  262. rasa/shared/core/flows/yaml_flows_io.py +106 -5
  263. rasa/shared/core/slots.py +33 -1
  264. rasa/shared/core/trackers.py +4 -10
  265. rasa/shared/core/training_data/story_reader/yaml_story_reader.py +1 -4
  266. rasa/shared/importers/importer.py +14 -0
  267. rasa/shared/importers/static.py +63 -0
  268. rasa/shared/providers/constants.py +0 -9
  269. rasa/shared/providers/llm/_base_litellm_client.py +4 -14
  270. rasa/shared/providers/llm/default_litellm_llm_client.py +2 -2
  271. rasa/shared/providers/llm/litellm_router_llm_client.py +7 -17
  272. rasa/shared/providers/llm/llm_client.py +15 -24
  273. rasa/shared/providers/llm/self_hosted_llm_client.py +2 -10
  274. rasa/shared/utils/common.py +43 -1
  275. rasa/shared/utils/llm.py +155 -3
  276. rasa/shared/utils/yaml.py +32 -0
  277. rasa/studio/data_handler.py +3 -3
  278. rasa/studio/download/__init__.py +0 -0
  279. rasa/studio/download/domains.py +49 -0
  280. rasa/studio/download/download.py +416 -0
  281. rasa/studio/download/flows.py +351 -0
  282. rasa/studio/link.py +200 -0
  283. rasa/studio/pull.py +94 -0
  284. rasa/studio/push.py +131 -0
  285. rasa/studio/results_logger.py +6 -1
  286. rasa/studio/upload.py +185 -71
  287. rasa/telemetry.py +83 -26
  288. rasa/tracing/config.py +4 -5
  289. rasa/tracing/constants.py +19 -1
  290. rasa/tracing/instrumentation/attribute_extractors.py +49 -11
  291. rasa/tracing/instrumentation/instrumentation.py +54 -3
  292. rasa/tracing/instrumentation/metrics.py +98 -15
  293. rasa/tracing/metric_instrument_provider.py +75 -3
  294. rasa/utils/common.py +37 -27
  295. rasa/utils/endpoints.py +22 -1
  296. rasa/utils/licensing.py +2 -3
  297. rasa/utils/log_utils.py +1 -45
  298. rasa/validator.py +9 -11
  299. rasa/version.py +1 -1
  300. {rasa_pro-3.12.18.dev1.dist-info → rasa_pro-3.13.0a1.dev1.dist-info}/METADATA +12 -14
  301. {rasa_pro-3.12.18.dev1.dist-info → rasa_pro-3.13.0a1.dev1.dist-info}/RECORD +318 -294
  302. rasa/anonymization/__init__.py +0 -2
  303. rasa/anonymization/anonymisation_rule_yaml_reader.py +0 -91
  304. rasa/anonymization/anonymization_pipeline.py +0 -286
  305. rasa/anonymization/anonymization_rule_executor.py +0 -266
  306. rasa/anonymization/anonymization_rule_orchestrator.py +0 -119
  307. rasa/anonymization/schemas/config.yml +0 -47
  308. rasa/anonymization/utils.py +0 -118
  309. rasa/cli/project_templates/calm/config.yml +0 -10
  310. rasa/cli/project_templates/calm/credentials.yml +0 -33
  311. rasa/cli/project_templates/calm/endpoints.yml +0 -58
  312. rasa/cli/project_templates/default/actions/actions.py +0 -27
  313. rasa/cli/project_templates/default/data/nlu.yml +0 -91
  314. rasa/cli/project_templates/default/data/rules.yml +0 -13
  315. rasa/cli/project_templates/default/data/stories.yml +0 -30
  316. rasa/cli/project_templates/default/domain.yml +0 -34
  317. rasa/cli/project_templates/default/tests/test_stories.yml +0 -91
  318. rasa/core/channels/inspector/dist/assets/channel-dfa68278.js +0 -1
  319. rasa/core/channels/inspector/dist/assets/clone-edb7f119.js +0 -1
  320. rasa/core/channels/inspector/dist/assets/flowDiagram-v2-96b9c2cf-65e7c670.js +0 -1
  321. rasa/core/channels/inspector/src/helpers/audiostream.ts +0 -191
  322. rasa/core/tracker_store.py +0 -1792
  323. rasa/monkey_patches.py +0 -91
  324. rasa/studio/download.py +0 -489
  325. /rasa/{cli/project_templates/calm/actions → builder}/__init__.py +0 -0
  326. /rasa/cli/project_templates/{calm → default}/actions/action_template.py +0 -0
  327. /rasa/cli/project_templates/{calm → default}/actions/add_contact.py +0 -0
  328. /rasa/cli/project_templates/{calm → default}/actions/db.py +0 -0
  329. /rasa/cli/project_templates/{calm → default}/actions/list_contacts.py +0 -0
  330. /rasa/cli/project_templates/{calm → default}/actions/remove_contact.py +0 -0
  331. /rasa/cli/project_templates/{calm → default}/data/flows/add_contact.yml +0 -0
  332. /rasa/cli/project_templates/{calm → default}/data/flows/list_contacts.yml +0 -0
  333. /rasa/cli/project_templates/{calm → default}/data/flows/remove_contact.yml +0 -0
  334. /rasa/cli/project_templates/{calm → default}/db/contacts.json +0 -0
  335. /rasa/cli/project_templates/{calm → default}/domain/add_contact.yml +0 -0
  336. /rasa/cli/project_templates/{calm → default}/domain/list_contacts.yml +0 -0
  337. /rasa/cli/project_templates/{calm → default}/domain/remove_contact.yml +0 -0
  338. /rasa/cli/project_templates/{calm → default}/domain/shared.yml +0 -0
  339. {rasa_pro-3.12.18.dev1.dist-info → rasa_pro-3.13.0a1.dev1.dist-info}/NOTICE +0 -0
  340. {rasa_pro-3.12.18.dev1.dist-info → rasa_pro-3.13.0a1.dev1.dist-info}/WHEEL +0 -0
  341. {rasa_pro-3.12.18.dev1.dist-info → rasa_pro-3.13.0a1.dev1.dist-info}/entry_points.txt +0 -0
@@ -1,12 +1,12 @@
1
- import type { ComponentStyleConfig } from "@chakra-ui/theme";
2
- import { mode } from "@chakra-ui/theme-tools";
1
+ import type { ComponentStyleConfig } from '@chakra-ui/theme'
2
+ import { mode } from '@chakra-ui/theme-tools'
3
3
 
4
4
  export const Button: ComponentStyleConfig = {
5
5
  defaultProps: {
6
- variant: "solidRasa",
6
+ variant: 'solidRasa',
7
7
  },
8
8
  baseStyle: () => ({
9
- letterSpacing: "wide",
9
+ letterSpacing: 'wide',
10
10
  }),
11
11
  sizes: {
12
12
  md: ({ theme }) => ({
@@ -16,14 +16,14 @@ export const Button: ComponentStyleConfig = {
16
16
  },
17
17
  variants: {
18
18
  solidRasa: (props) => {
19
- const { theme } = props;
19
+ const { theme } = props
20
20
  return {
21
21
  ...theme.components.Button.variants.solid(props),
22
22
  backgroundColor: mode(
23
23
  theme.colors.rasaPurple[800],
24
- theme.colors.rasaPurple[800]
24
+ theme.colors.rasaPurple[800],
25
25
  )(props),
26
- };
26
+ }
27
27
  },
28
28
  },
29
- };
29
+ }
@@ -1,14 +1,14 @@
1
- import { StyleConfig } from "@chakra-ui/theme-tools";
1
+ import { StyleConfig } from '@chakra-ui/theme-tools'
2
2
 
3
3
  export const Heading: StyleConfig = {
4
4
  baseStyle: {
5
- fontWeight: "bold",
6
- letterSpacing: "wide",
5
+ fontWeight: 'bold',
6
+ letterSpacing: 'wide',
7
7
  },
8
8
  sizes: {
9
9
  sm: ({ theme }) => ({
10
10
  fontSize: theme.rasaFontSizes.sm,
11
- lineHeight: "short",
11
+ lineHeight: 'short',
12
12
  margin: 0,
13
13
  }),
14
14
  md: ({ theme }) => ({
@@ -21,11 +21,11 @@ export const Heading: StyleConfig = {
21
21
  }),
22
22
  xl: ({ theme }) => ({
23
23
  fontSize: theme.rasaFontSizes.xl,
24
- lineHeight: "100%",
24
+ lineHeight: '100%',
25
25
  margin: 0,
26
26
  }),
27
27
  },
28
28
  defaultProps: {
29
- size: "md",
29
+ size: 'md',
30
30
  },
31
- };
31
+ }
@@ -1,18 +1,18 @@
1
- import { StyleConfig } from "@chakra-ui/theme-tools";
2
- import { mode } from "@chakra-ui/theme-tools";
1
+ import { StyleConfig } from '@chakra-ui/theme-tools'
2
+ import { mode } from '@chakra-ui/theme-tools'
3
3
 
4
4
  export const Input: StyleConfig = {
5
5
  baseStyle: (props) => ({
6
6
  field: {
7
- "::-webkit-calendar-picker-indicator": {
8
- display: "none",
7
+ '::-webkit-calendar-picker-indicator': {
8
+ display: 'none',
9
9
  },
10
- ":disabled": {
11
- cursor: "not-allowed",
12
- opacity: "1 !important",
10
+ ':disabled': {
11
+ cursor: 'not-allowed',
12
+ opacity: '1 !important',
13
13
  backgroundColor: mode(
14
14
  props.theme.colors.neutral[300],
15
- props.theme.colors.neutral[300]
15
+ props.theme.colors.neutral[300],
16
16
  )(props),
17
17
  },
18
18
  },
@@ -24,4 +24,4 @@ export const Input: StyleConfig = {
24
24
  },
25
25
  }),
26
26
  },
27
- };
27
+ }
@@ -1,10 +1,10 @@
1
- import type { ComponentStyleConfig } from "@chakra-ui/theme";
2
- import { mode } from "@chakra-ui/theme-tools";
1
+ import type { ComponentStyleConfig } from '@chakra-ui/theme'
2
+ import { mode } from '@chakra-ui/theme-tools'
3
3
 
4
4
  export const Link: ComponentStyleConfig = {
5
5
  baseStyle: (props) => ({
6
- color: mode("rasaPurple.700", "rasaPurple.700")(props),
7
- fontWeight: "bold",
8
- textDecoration: "underline",
6
+ color: mode('rasaPurple.700', 'rasaPurple.700')(props),
7
+ fontWeight: 'bold',
8
+ textDecoration: 'underline',
9
9
  }),
10
- };
10
+ }
@@ -1,30 +1,30 @@
1
- import type { ComponentStyleConfig } from "@chakra-ui/theme";
2
- import { mode } from "@chakra-ui/theme-tools";
1
+ import type { ComponentStyleConfig } from '@chakra-ui/theme'
2
+ import { mode } from '@chakra-ui/theme-tools'
3
3
 
4
4
  export const Modal: ComponentStyleConfig = {
5
5
  baseStyle: (props) => {
6
- const { theme } = props;
6
+ const { theme } = props
7
7
 
8
8
  return {
9
9
  dialog: {
10
10
  borderRadius: theme.rasaRadii.large,
11
11
  fontSize: theme.rasaFontSizes.md,
12
- width: "75%",
13
- height: "85%",
14
- margin: "auto",
12
+ width: '75%',
13
+ height: '85%',
14
+ margin: 'auto',
15
15
  },
16
16
  dialogContainer: {
17
17
  zIndex: theme.zIndices.modal,
18
- "> section": {
19
- maxW: "100%",
18
+ '> section': {
19
+ maxW: '100%',
20
20
  },
21
21
  },
22
22
  overlay: {
23
23
  zIndex: theme.zIndices.modalOverlay,
24
24
  },
25
25
  header: {
26
- borderBottom: "1px solid",
27
- borderColor: mode("neutral.300", "neutral.300")(props),
26
+ borderBottom: '1px solid',
27
+ borderColor: mode('neutral.300', 'neutral.300')(props),
28
28
  px: theme.rasaSpace[2],
29
29
  pt: theme.rasaSpace[2],
30
30
  pb: theme.rasaSpace[1.5],
@@ -36,12 +36,12 @@ export const Modal: ComponentStyleConfig = {
36
36
  body: {
37
37
  px: theme.rasaSpace[2],
38
38
  py: theme.rasaSpace[1.5],
39
- overflow: "auto",
39
+ overflow: 'auto',
40
40
  },
41
41
  closeButton: {
42
42
  right: theme.rasaSpace[1],
43
43
  top: theme.rasaSpace[1],
44
44
  },
45
- };
45
+ }
46
46
  },
47
- };
47
+ }
@@ -1,38 +1,38 @@
1
- import { mode, StyleFunctionProps } from "@chakra-ui/theme-tools";
2
- import type { ComponentStyleConfig } from "@chakra-ui/theme";
1
+ import { mode, StyleFunctionProps } from '@chakra-ui/theme-tools'
2
+ import type { ComponentStyleConfig } from '@chakra-ui/theme'
3
3
 
4
4
  export const Table: ComponentStyleConfig = {
5
5
  baseStyle: (props: StyleFunctionProps) => ({
6
6
  table: {
7
7
  thead: {
8
- bgColor: mode("neutral.50", "neutral.50")(props),
9
- position: "sticky",
8
+ bgColor: mode('neutral.50', 'neutral.50')(props),
9
+ position: 'sticky',
10
10
  top: 0,
11
11
  zIndex: props.theme.zIndices.docked,
12
12
  },
13
13
  th: {
14
- color: mode("neutral.900", "neutral.900")(props),
14
+ color: mode('neutral.900', 'neutral.900')(props),
15
15
  fontSize: props.theme.rasaFontSizes.md,
16
16
  py: props.theme.rasaSpace[0.5],
17
17
  pl: 0,
18
18
  pr: props.theme.rasaSpace[0.5],
19
- border: "none",
20
- textTransform: "none",
19
+ border: 'none',
20
+ textTransform: 'none',
21
21
  },
22
22
  tr: {
23
23
  td: {
24
24
  borderColor: props.theme.colors.neutral[400],
25
25
  },
26
26
  _last: {
27
- td: { borderBottom: "none" },
27
+ td: { borderBottom: 'none' },
28
28
  },
29
29
  },
30
30
  td: {
31
31
  py: props.theme.rasaSpace[0.5],
32
32
  pl: 0,
33
33
  pr: props.theme.rasaSpace[0.5],
34
- bgColor: mode("neutral.50", "neutral.50")(props),
34
+ bgColor: mode('neutral.50', 'neutral.50')(props),
35
35
  },
36
36
  },
37
37
  }),
38
- };
38
+ }
@@ -1,12 +1,12 @@
1
- import { StyleConfig } from "@chakra-ui/theme-tools";
1
+ import { StyleConfig } from '@chakra-ui/theme-tools'
2
2
 
3
3
  export const Tooltip: StyleConfig = {
4
4
  baseStyle: ({ theme }) => ({
5
- letterSpacing: "wide",
5
+ letterSpacing: 'wide',
6
6
  borderRadius: theme.rasaRadii.normal,
7
7
  padding: theme.rasaSpace[0.5],
8
- textAlign: "center",
8
+ textAlign: 'center',
9
9
  bgColor: theme.colors.neutral[800],
10
- "--tooltip-bg": theme.colors.neutral[800],
10
+ '--tooltip-bg': theme.colors.neutral[800],
11
11
  }),
12
- };
12
+ }
@@ -1,8 +1,8 @@
1
1
  export const breakpoints = {
2
- sm: "30em",
3
- md: "48em",
4
- lg: "62em",
5
- xl: "80em",
6
- "2xl": "102em",
7
- };
8
- export type Breakpoints = typeof breakpoints;
2
+ sm: '30em',
3
+ md: '48em',
4
+ lg: '62em',
5
+ xl: '80em',
6
+ '2xl': '102em',
7
+ }
8
+ export type Breakpoints = typeof breakpoints
@@ -1,88 +1,88 @@
1
1
  export const rasaColors = {
2
2
  rasaPurple: {
3
- 900: "#4A3DD4",
4
- 800: "#574AE2",
5
- 700: "#6C5EF9",
6
- 600: "#7F73F9",
7
- 500: "#9288F8",
8
- 400: "#A59DF8",
9
- 300: "#B7B2F7",
10
- 200: "#CAC7F7",
11
- 100: "#DDDCF6",
12
- 50: "#F2F2F9",
3
+ 900: '#4A3DD4',
4
+ 800: '#574AE2',
5
+ 700: '#6C5EF9',
6
+ 600: '#7F73F9',
7
+ 500: '#9288F8',
8
+ 400: '#A59DF8',
9
+ 300: '#B7B2F7',
10
+ 200: '#CAC7F7',
11
+ 100: '#DDDCF6',
12
+ 50: '#F2F2F9',
13
13
  },
14
14
  success: {
15
- 900: "#258652",
16
- 800: "#2B8F5A",
17
- 700: "#329861",
18
- 600: "#38A169",
19
- 500: "#63B764",
20
- 400: "#8FCC60",
21
- 300: "#BAE25B",
22
- 200: "#258652",
23
- 100: "#DDF1AD",
24
- 50: "#EEF8D6",
15
+ 900: '#258652',
16
+ 800: '#2B8F5A',
17
+ 700: '#329861',
18
+ 600: '#38A169',
19
+ 500: '#63B764',
20
+ 400: '#8FCC60',
21
+ 300: '#BAE25B',
22
+ 200: '#258652',
23
+ 100: '#DDF1AD',
24
+ 50: '#EEF8D6',
25
25
  },
26
26
  warning: {
27
- 900: "#806908",
28
- 200: "#FEF1DE",
29
- 50: "#FFF8E0",
27
+ 900: '#806908',
28
+ 200: '#FEF1DE',
29
+ 50: '#FFF8E0',
30
30
  },
31
31
  alert: {
32
- 900: "#972422",
33
- 800: "#A72E2C",
34
- 700: "#B63835",
35
- 600: "#C6423F",
36
- 500: "#D14946",
37
- 400: "#DD4F4C",
38
- 300: "#E85653",
39
- 200: "#ED7B79",
40
- 100: "#F3A19F",
41
- 50: "#F8C6C5",
32
+ 900: '#972422',
33
+ 800: '#A72E2C',
34
+ 700: '#B63835',
35
+ 600: '#C6423F',
36
+ 500: '#D14946',
37
+ 400: '#DD4F4C',
38
+ 300: '#E85653',
39
+ 200: '#ED7B79',
40
+ 100: '#F3A19F',
41
+ 50: '#F8C6C5',
42
42
  },
43
43
  neutral: {
44
- 900: "#252D40",
45
- 800: "#2C3951",
46
- 700: "#6B7694",
47
- 600: "#9DA6BE",
48
- 500: "#CED5E7",
49
- 400: "#DDE2EF",
50
- 300: "#ECEFF7",
51
- 200: "#F2F4FA",
52
- 100: "#F6F7FB",
53
- 50: "#FFFFFF",
44
+ 900: '#252D40',
45
+ 800: '#2C3951',
46
+ 700: '#6B7694',
47
+ 600: '#9DA6BE',
48
+ 500: '#CED5E7',
49
+ 400: '#DDE2EF',
50
+ 300: '#ECEFF7',
51
+ 200: '#F2F4FA',
52
+ 100: '#F6F7FB',
53
+ 50: '#FFFFFF',
54
54
  },
55
55
  rasaCyan: {
56
- 800: "#2C9793",
56
+ 800: '#2C9793',
57
57
  },
58
58
  rasaGreen: {
59
- 800: "#2B8F5A",
59
+ 800: '#2B8F5A',
60
60
  },
61
61
  rasaBlue: {
62
- 900: "#294BA0",
62
+ 900: '#294BA0',
63
63
  },
64
64
  rasaOrange: {
65
- 900: "#B05600",
66
- 600: "#EB7D15",
67
- 400: "#F8941A",
65
+ 900: '#B05600',
66
+ 600: '#EB7D15',
67
+ 400: '#F8941A',
68
68
  },
69
69
  rasaPink: {
70
- 900: "#DA6BE0",
70
+ 900: '#DA6BE0',
71
71
  },
72
72
  tokenHighlight: {
73
- 0: { background: "#EEF8D6", underline: "#BAE25B" },
74
- 1: { background: "#FEEDFF", underline: "#FBB6FF" },
75
- 2: { background: "#DEFBFA", underline: "#87E5E2" },
76
- 3: { background: "#FFF8E0", underline: "#FFD121" },
77
- 4: { background: "#FEF1DE", underline: "#FF9F1C" },
78
- 5: { background: "#D9E9FF", underline: "#446FF8" },
79
- 6: { background: "#F8C6C5", underline: "#D14946" },
80
- 7: { background: "#DDDCF6", underline: "#574AE2" },
81
- 8: { background: "#DEFBDF", underline: "#89E587" },
82
- 9: { background: "#EFE0FF", underline: "#B168FF" },
83
- 10: { background: "#DFF4FF", underline: "#56C5FF" },
84
- 11: { background: "#F4F5C3", underline: "#BCBF3C" },
73
+ 0: { background: '#EEF8D6', underline: '#BAE25B' },
74
+ 1: { background: '#FEEDFF', underline: '#FBB6FF' },
75
+ 2: { background: '#DEFBFA', underline: '#87E5E2' },
76
+ 3: { background: '#FFF8E0', underline: '#FFD121' },
77
+ 4: { background: '#FEF1DE', underline: '#FF9F1C' },
78
+ 5: { background: '#D9E9FF', underline: '#446FF8' },
79
+ 6: { background: '#F8C6C5', underline: '#D14946' },
80
+ 7: { background: '#DDDCF6', underline: '#574AE2' },
81
+ 8: { background: '#DEFBDF', underline: '#89E587' },
82
+ 9: { background: '#EFE0FF', underline: '#B168FF' },
83
+ 10: { background: '#DFF4FF', underline: '#56C5FF' },
84
+ 11: { background: '#F4F5C3', underline: '#BCBF3C' },
85
85
  },
86
- };
86
+ }
87
87
 
88
- export type RasaColors = typeof rasaColors;
88
+ export type RasaColors = typeof rasaColors
@@ -1,29 +1,32 @@
1
1
  @font-face {
2
- font-family: "Lato";
3
- src: url("./lato-v14-latin/lato-v14-latin-regular.woff2"),
4
- url("./lato-v14-latin/lato-v14-latin-regular.woff"),
5
- url("./lato-v14-latin/lato-v14-latin-regular.ttf"),
6
- url("./lato-v14-latin/lato-v14-latin-regular.svg");
7
- font-style: "normal";
2
+ font-family: 'Lato';
3
+ src:
4
+ url('./lato-v14-latin/lato-v14-latin-regular.woff2'),
5
+ url('./lato-v14-latin/lato-v14-latin-regular.woff'),
6
+ url('./lato-v14-latin/lato-v14-latin-regular.ttf'),
7
+ url('./lato-v14-latin/lato-v14-latin-regular.svg');
8
+ font-style: 'normal';
8
9
  font-weight: 400;
9
10
  }
10
11
 
11
12
  @font-face {
12
- font-family: "Lato";
13
- src: url("./lato-v14-latin/lato-v14-latin-700.woff2"),
14
- url("./lato-v14-latin/lato-v14-latin-700.woff"),
15
- url("./lato-v14-latin/lato-v14-latin-700.ttf"),
16
- url("./lato-v14-latin/lato-v14-latin-700.svg");
17
- font-style: "normal";
13
+ font-family: 'Lato';
14
+ src:
15
+ url('./lato-v14-latin/lato-v14-latin-700.woff2'),
16
+ url('./lato-v14-latin/lato-v14-latin-700.woff'),
17
+ url('./lato-v14-latin/lato-v14-latin-700.ttf'),
18
+ url('./lato-v14-latin/lato-v14-latin-700.svg');
19
+ font-style: 'normal';
18
20
  font-weight: 700;
19
21
  }
20
22
 
21
23
  @font-face {
22
- font-family: "IBM Plex Mono";
23
- src: url("./ibm-plex-mono-v4-latin/ibm-plex-mono-v4-latin-regular.woff2"),
24
- url("./ibm-plex-mono-v4-latin/ibm-plex-mono-v4-latin-regular.woff"),
25
- url("./ibm-plex-mono-v4-latin/ibm-plex-mono-v4-latin-regular.ttf"),
26
- url("./ibm-plex-mono-v4-latin/ibm-plex-mono-v4-latin-regular.svg");
27
- font-style: "normal";
24
+ font-family: 'IBM Plex Mono';
25
+ src:
26
+ url('./ibm-plex-mono-v4-latin/ibm-plex-mono-v4-latin-regular.woff2'),
27
+ url('./ibm-plex-mono-v4-latin/ibm-plex-mono-v4-latin-regular.woff'),
28
+ url('./ibm-plex-mono-v4-latin/ibm-plex-mono-v4-latin-regular.ttf'),
29
+ url('./ibm-plex-mono-v4-latin/ibm-plex-mono-v4-latin-regular.svg');
30
+ font-style: 'normal';
28
31
  font-weight: 400;
29
32
  }
@@ -1,9 +1,9 @@
1
1
  export const rasaRadii = {
2
- none: "0",
3
- small: "0.25rem",
4
- normal: "0.5rem",
5
- large: "1rem",
6
- larger: "1.25rem",
7
- full: "9999px",
8
- };
9
- export type RasaRadii = typeof rasaRadii;
2
+ none: '0',
3
+ small: '0.25rem',
4
+ normal: '0.5rem',
5
+ large: '1rem',
6
+ larger: '1.25rem',
7
+ full: '9999px',
8
+ }
9
+ export type RasaRadii = typeof rasaRadii
@@ -1,7 +1,7 @@
1
1
  export const rasaShadows = {
2
- base: "0 0 0.25rem 0 rgba(0, 0, 0, 0.25)",
3
- focus: "0 0 0 0.25rem rgba(0, 0, 0, 0.25)",
4
- flowNode: "0 0.125rem 0.5rem rgba(0, 0, 0, 0.15)",
2
+ base: '0 0 0.25rem 0 rgba(0, 0, 0, 0.25)',
3
+ focus: '0 0 0 0.25rem rgba(0, 0, 0, 0.25)',
4
+ flowNode: '0 0.125rem 0.5rem rgba(0, 0, 0, 0.15)',
5
5
  flowNodeSelected: (color: string) => `inset 0 0 0 0.125rem ${color}`,
6
- };
7
- export type RasaShadows = typeof rasaShadows;
6
+ }
7
+ export type RasaShadows = typeof rasaShadows
@@ -1,7 +1,7 @@
1
1
  // Copied from Chakra base design to make accessible via auto-completion
2
2
  export const rasaSizes = {
3
- max: "max-content",
4
- min: "min-content",
5
- full: "100%",
6
- };
7
- export type RasaSizes = typeof rasaSizes;
3
+ max: 'max-content',
4
+ min: 'min-content',
5
+ full: '100%',
6
+ }
7
+ export type RasaSizes = typeof rasaSizes
@@ -1,15 +1,15 @@
1
1
  export const rasaSpace = {
2
- "1px": "1px",
2
+ '1px': '1px',
3
3
  0: 0,
4
- 0.125: "0.125rem",
5
- 0.25: "0.25rem",
6
- 0.5: "0.5rem",
7
- 1: "1rem",
8
- 1.25: "1.25rem",
9
- 1.5: "1.5rem",
10
- 2: "2rem",
11
- 3: "3rem",
12
- 4: "4rem",
13
- };
4
+ 0.125: '0.125rem',
5
+ 0.25: '0.25rem',
6
+ 0.5: '0.5rem',
7
+ 1: '1rem',
8
+ 1.25: '1.25rem',
9
+ 1.5: '1.5rem',
10
+ 2: '2rem',
11
+ 3: '3rem',
12
+ 4: '4rem',
13
+ }
14
14
 
15
- export type RasaSpace = typeof rasaSpace;
15
+ export type RasaSpace = typeof rasaSpace
@@ -1,13 +1,13 @@
1
- import { mode, StyleFunctionProps } from "@chakra-ui/theme-tools";
1
+ import { mode, StyleFunctionProps } from '@chakra-ui/theme-tools'
2
2
 
3
3
  export const styles = {
4
4
  global: {
5
5
  body: (theme: StyleFunctionProps) => ({
6
- bg: mode("neutral.300", "neutral.300")(theme),
7
- color: mode("neutral.900", "neutral.900")(theme),
6
+ bg: mode('neutral.300', 'neutral.300')(theme),
7
+ color: mode('neutral.900', 'neutral.900')(theme),
8
8
  fontFamily: theme.fonts.body,
9
9
  fontSize: theme.rasaFontSizes.md,
10
- letterSpacing: "0.025rem",
10
+ letterSpacing: '0.025rem',
11
11
  }),
12
12
  },
13
- };
13
+ }
@@ -1,24 +1,24 @@
1
- import "./fonts/fontFaces.css";
1
+ import './fonts/fontFaces.css'
2
2
 
3
3
  export const fonts = {
4
4
  body: "Lato, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
5
5
  heading:
6
6
  "Lato, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
7
7
  mono: '"IBM Plex Mono", "Courier New", Courier, monospace',
8
- };
9
- export type RasaFonts = typeof fonts;
8
+ }
9
+ export type RasaFonts = typeof fonts
10
10
 
11
11
  export const rasaFontSizes = {
12
- xs: "0.5rem",
13
- sm: "0.813rem",
14
- md: "0.875rem",
15
- lg: "1rem",
16
- xl: "1.5rem",
17
- };
18
- export type RasaFontSizes = typeof rasaFontSizes;
12
+ xs: '0.5rem',
13
+ sm: '0.813rem',
14
+ md: '0.875rem',
15
+ lg: '1rem',
16
+ xl: '1.5rem',
17
+ }
18
+ export type RasaFontSizes = typeof rasaFontSizes
19
19
 
20
20
  export const rasaFontWeights = {
21
21
  normal: 400,
22
22
  bold: 700,
23
- };
24
- export type RasaFontWeights = typeof rasaFontWeights;
23
+ }
24
+ export type RasaFontWeights = typeof rasaFontWeights
@@ -1,6 +1,6 @@
1
1
  export const rasaZIndices = {
2
2
  hide: -1,
3
- auto: "auto",
3
+ auto: 'auto',
4
4
  base: 0,
5
5
  docked: 1,
6
6
  dropdown: 2,
@@ -14,6 +14,6 @@ export const rasaZIndices = {
14
14
  modalOverlay: 100,
15
15
  modal: 101,
16
16
  alwaysOnTop: 9999,
17
- };
17
+ }
18
18
 
19
- export type RasaZIndices = typeof rasaZIndices;
19
+ export type RasaZIndices = typeof rasaZIndices