rasa-pro 3.12.18__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.
- rasa/__main__.py +3 -4
- rasa/api.py +1 -1
- rasa/builder/create_openai_vector_store.py +69 -0
- rasa/builder/llm-helper-schema.json +69 -0
- rasa/builder/prompt_to_bot.py +645 -0
- rasa/builder/scrape_rasa_docs.py +97 -0
- rasa/builder/skill_to_bot_prompt.jinja +158 -0
- rasa/cli/dialogue_understanding_test.py +1 -1
- rasa/cli/e2e_test.py +1 -1
- rasa/cli/evaluate.py +2 -2
- rasa/cli/export.py +3 -3
- rasa/cli/llm_fine_tuning.py +1 -1
- rasa/cli/project_templates/default/config.yml +5 -32
- rasa/cli/project_templates/{calm → default}/e2e_tests/cancelations/user_cancels_during_a_correction.yml +1 -1
- rasa/cli/project_templates/{calm → default}/e2e_tests/cancelations/user_changes_mind_on_a_whim.yml +1 -1
- rasa/cli/project_templates/{calm → default}/e2e_tests/corrections/user_corrects_contact_handle.yml +1 -1
- rasa/cli/project_templates/{calm → default}/e2e_tests/corrections/user_corrects_contact_name.yml +1 -1
- rasa/cli/project_templates/{calm → default}/e2e_tests/happy_paths/user_adds_contact_to_their_list.yml +1 -1
- rasa/cli/project_templates/{calm → default}/e2e_tests/happy_paths/user_lists_contacts.yml +1 -1
- rasa/cli/project_templates/{calm → default}/e2e_tests/happy_paths/user_removes_contact.yml +1 -1
- rasa/cli/project_templates/{calm → default}/e2e_tests/happy_paths/user_removes_contact_from_list.yml +1 -1
- rasa/cli/project_templates/default/endpoints.yml +18 -2
- rasa/cli/project_templates/defaults.py +133 -0
- rasa/cli/run.py +1 -1
- rasa/cli/scaffold.py +2 -3
- rasa/cli/studio/download.py +1 -1
- rasa/cli/studio/link.py +53 -0
- rasa/cli/studio/pull.py +78 -0
- rasa/cli/studio/push.py +78 -0
- rasa/cli/studio/studio.py +12 -0
- rasa/cli/studio/upload.py +5 -3
- rasa/cli/train.py +1 -1
- rasa/cli/utils.py +1 -1
- rasa/cli/x.py +1 -1
- rasa/constants.py +2 -0
- rasa/core/__init__.py +0 -16
- rasa/core/actions/action.py +43 -29
- rasa/core/actions/action_repeat_bot_messages.py +18 -22
- rasa/core/actions/action_run_slot_rejections.py +1 -2
- rasa/core/agent.py +18 -3
- rasa/core/available_endpoints.py +146 -0
- rasa/core/brokers/kafka.py +4 -0
- rasa/core/brokers/pika.py +5 -2
- rasa/core/brokers/sql.py +1 -1
- rasa/core/channels/botframework.py +2 -2
- rasa/core/channels/channel.py +2 -2
- rasa/core/channels/development_inspector.py +1 -1
- rasa/core/channels/facebook.py +1 -4
- rasa/core/channels/hangouts.py +8 -5
- rasa/core/channels/inspector/.eslintrc.cjs +12 -6
- rasa/core/channels/inspector/.prettierrc +5 -0
- rasa/core/channels/inspector/README.md +11 -5
- rasa/core/channels/inspector/dist/assets/{arc-9f75cc3b.js → arc-02053cc1.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{blockDiagram-38ab4fdb-7f34db23.js → blockDiagram-38ab4fdb-008b6289.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{c4Diagram-3d4e48cf-948bab2c.js → c4Diagram-3d4e48cf-fb2597be.js} +1 -1
- rasa/core/channels/inspector/dist/assets/channel-078dada8.js +1 -0
- rasa/core/channels/inspector/dist/assets/{classDiagram-70f12bd4-53b0dd0e.js → classDiagram-70f12bd4-7f847e00.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{classDiagram-v2-f2320105-fdf789e7.js → classDiagram-v2-f2320105-ba1d689b.js} +1 -1
- rasa/core/channels/inspector/dist/assets/clone-5b4516de.js +1 -0
- rasa/core/channels/inspector/dist/assets/{createText-2e5e7dd3-87c4ece5.js → createText-2e5e7dd3-dd8e67c4.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{edges-e0da2a9e-5a8b0749.js → edges-e0da2a9e-10784939.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{erDiagram-9861fffd-66da90e2.js → erDiagram-9861fffd-24947ae6.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{flowDb-956e92f1-10044f05.js → flowDb-956e92f1-a9ced505.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{flowDiagram-66a62f08-f338f66a.js → flowDiagram-66a62f08-afda9c7c.js} +1 -1
- rasa/core/channels/inspector/dist/assets/flowDiagram-v2-96b9c2cf-f9613071.js +1 -0
- rasa/core/channels/inspector/dist/assets/{flowchart-elk-definition-4a651766-b13140aa.js → flowchart-elk-definition-4a651766-6ef530b8.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{ganttDiagram-c361ad54-f2b4a55a.js → ganttDiagram-c361ad54-0c7dd39a.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{gitGraphDiagram-72cf32ee-dedc298d.js → gitGraphDiagram-72cf32ee-b57239d6.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{graph-4ede11ff.js → graph-9ed57cec.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{index-3862675e-65549d37.js → index-3862675e-233090de.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{index-3a23e736.js → index-72184470.js} +123 -123
- rasa/core/channels/inspector/dist/assets/{infoDiagram-f8f76790-65439671.js → infoDiagram-f8f76790-aa116649.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{journeyDiagram-49397b02-56d03d98.js → journeyDiagram-49397b02-e51877cc.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{layout-dd48f7f4.js → layout-3ca3798c.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{line-1569ad2c.js → line-26ee10d3.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{linear-48bf4935.js → linear-aedded32.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{mindmap-definition-fc14e90a-688504c1.js → mindmap-definition-fc14e90a-d8957261.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{pieDiagram-8a3498a8-78b6d7e6.js → pieDiagram-8a3498a8-d771f885.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{quadrantDiagram-120e2f19-048b84b3.js → quadrantDiagram-120e2f19-09fdf50c.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{requirementDiagram-deff3bca-dd67f107.js → requirementDiagram-deff3bca-9f0af02e.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{sankeyDiagram-04a897e0-8128436e.js → sankeyDiagram-04a897e0-84415b37.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{sequenceDiagram-704730f1-1a0d1461.js → sequenceDiagram-704730f1-8dec4055.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{stateDiagram-587899a1-46d388ed.js → stateDiagram-587899a1-c5431d07.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{stateDiagram-v2-d93cdb3a-ea42951a.js → stateDiagram-v2-d93cdb3a-274e77d9.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{styles-6aaf32cf-7427ed0c.js → styles-6aaf32cf-e364a1d7.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{styles-9a916d00-ff5e5a16.js → styles-9a916d00-0dae36f6.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{styles-c10674c1-7b3680cf.js → styles-c10674c1-c4641675.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{svgDrawCommon-08f97a94-f860f2ad.js → svgDrawCommon-08f97a94-831fe9a1.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{timeline-definition-85554ec2-2eebf0c8.js → timeline-definition-85554ec2-c3304b3a.js} +1 -1
- rasa/core/channels/inspector/dist/assets/{xychartDiagram-e933f94c-5d7f4e96.js → xychartDiagram-e933f94c-da799369.js} +1 -1
- rasa/core/channels/inspector/dist/index.html +1 -1
- rasa/core/channels/inspector/package.json +3 -1
- rasa/core/channels/inspector/src/App.tsx +91 -90
- rasa/core/channels/inspector/src/components/Chat.tsx +45 -41
- rasa/core/channels/inspector/src/components/DiagramFlow.tsx +40 -40
- rasa/core/channels/inspector/src/components/DialogueInformation.tsx +57 -57
- rasa/core/channels/inspector/src/components/DialogueStack.tsx +36 -27
- rasa/core/channels/inspector/src/components/ExpandIcon.tsx +4 -4
- rasa/core/channels/inspector/src/components/FullscreenButton.tsx +7 -7
- rasa/core/channels/inspector/src/components/LoadingSpinner.tsx +28 -12
- rasa/core/channels/inspector/src/components/NoActiveFlow.tsx +9 -9
- rasa/core/channels/inspector/src/components/RasaLogo.tsx +5 -5
- rasa/core/channels/inspector/src/components/RecruitmentPanel.tsx +55 -60
- rasa/core/channels/inspector/src/components/SaraDiagrams.tsx +5 -5
- rasa/core/channels/inspector/src/components/Slots.tsx +22 -22
- rasa/core/channels/inspector/src/components/Welcome.tsx +28 -31
- rasa/core/channels/inspector/src/helpers/audio/audiostream.ts +245 -0
- rasa/core/channels/inspector/src/helpers/audio/microphone-processor.js +12 -0
- rasa/core/channels/inspector/src/helpers/audio/playback-processor.js +36 -0
- rasa/core/channels/inspector/src/helpers/conversation.ts +7 -7
- rasa/core/channels/inspector/src/helpers/formatters.test.ts +181 -181
- rasa/core/channels/inspector/src/helpers/formatters.ts +111 -111
- rasa/core/channels/inspector/src/helpers/utils.ts +78 -61
- rasa/core/channels/inspector/src/main.tsx +8 -8
- rasa/core/channels/inspector/src/theme/Button/Button.ts +8 -8
- rasa/core/channels/inspector/src/theme/Heading/Heading.ts +7 -7
- rasa/core/channels/inspector/src/theme/Input/Input.ts +9 -9
- rasa/core/channels/inspector/src/theme/Link/Link.ts +6 -6
- rasa/core/channels/inspector/src/theme/Modal/Modal.ts +13 -13
- rasa/core/channels/inspector/src/theme/Table/Table.tsx +10 -10
- rasa/core/channels/inspector/src/theme/Tooltip/Tooltip.ts +5 -5
- rasa/core/channels/inspector/src/theme/base/breakpoints.ts +7 -7
- rasa/core/channels/inspector/src/theme/base/colors.ts +64 -64
- rasa/core/channels/inspector/src/theme/base/fonts/fontFaces.css +21 -18
- rasa/core/channels/inspector/src/theme/base/radii.ts +8 -8
- rasa/core/channels/inspector/src/theme/base/shadows.ts +5 -5
- rasa/core/channels/inspector/src/theme/base/sizes.ts +5 -5
- rasa/core/channels/inspector/src/theme/base/space.ts +12 -12
- rasa/core/channels/inspector/src/theme/base/styles.ts +5 -5
- rasa/core/channels/inspector/src/theme/base/typography.ts +12 -12
- rasa/core/channels/inspector/src/theme/base/zIndices.ts +3 -3
- rasa/core/channels/inspector/src/theme/index.ts +38 -38
- rasa/core/channels/inspector/src/types.ts +56 -50
- rasa/core/channels/inspector/yarn.lock +5 -0
- rasa/core/channels/mattermost.py +1 -1
- rasa/core/channels/rasa_chat.py +2 -4
- rasa/core/channels/rest.py +5 -4
- rasa/core/channels/socketio.py +56 -41
- rasa/core/channels/studio_chat.py +337 -71
- rasa/core/channels/vier_cvg.py +1 -2
- rasa/core/channels/voice_ready/audiocodes.py +4 -11
- rasa/core/channels/voice_stream/audiocodes.py +8 -5
- rasa/core/channels/voice_stream/browser_audio.py +1 -1
- rasa/core/channels/voice_stream/genesys.py +2 -2
- rasa/core/channels/voice_stream/tts/__init__.py +8 -0
- rasa/core/channels/voice_stream/twilio_media_streams.py +10 -5
- rasa/core/channels/voice_stream/voice_channel.py +65 -23
- rasa/core/concurrent_lock_store.py +24 -10
- rasa/core/evaluation/marker_tracker_loader.py +1 -1
- rasa/core/exporter.py +1 -1
- rasa/core/http_interpreter.py +3 -7
- rasa/core/information_retrieval/faiss.py +18 -11
- rasa/core/information_retrieval/ingestion/__init__.py +0 -0
- rasa/core/information_retrieval/ingestion/faq_parser.py +158 -0
- rasa/core/jobs.py +2 -1
- rasa/core/lock_store.py +151 -60
- rasa/core/nlg/contextual_response_rephraser.py +17 -7
- rasa/core/nlg/generator.py +5 -22
- rasa/core/nlg/interpolator.py +2 -3
- rasa/core/nlg/response.py +6 -43
- rasa/core/nlg/summarize.py +1 -1
- rasa/core/nlg/translate.py +0 -8
- rasa/core/policies/enterprise_search_policy.py +262 -62
- rasa/core/policies/enterprise_search_prompt_with_relevancy_check_and_citation_template.jinja2 +63 -0
- rasa/core/policies/flow_policy.py +1 -1
- rasa/core/policies/flows/flow_executor.py +96 -17
- rasa/core/policies/intentless_policy.py +56 -17
- rasa/core/processor.py +64 -49
- rasa/core/run.py +33 -11
- rasa/core/tracker_stores/__init__.py +0 -0
- rasa/core/{auth_retry_tracker_store.py → tracker_stores/auth_retry_tracker_store.py} +5 -1
- rasa/core/tracker_stores/dynamo_tracker_store.py +218 -0
- rasa/core/tracker_stores/mongo_tracker_store.py +206 -0
- rasa/core/tracker_stores/redis_tracker_store.py +219 -0
- rasa/core/tracker_stores/sql_tracker_store.py +555 -0
- rasa/core/tracker_stores/tracker_store.py +805 -0
- rasa/core/training/interactive.py +1 -1
- rasa/core/utils.py +24 -95
- rasa/dialogue_understanding/coexistence/intent_based_router.py +2 -1
- rasa/dialogue_understanding/coexistence/llm_based_router.py +9 -6
- rasa/dialogue_understanding/commands/can_not_handle_command.py +2 -0
- rasa/dialogue_understanding/commands/cancel_flow_command.py +5 -1
- rasa/dialogue_understanding/commands/chit_chat_answer_command.py +2 -0
- rasa/dialogue_understanding/commands/clarify_command.py +4 -0
- rasa/dialogue_understanding/commands/command_syntax_manager.py +1 -0
- rasa/dialogue_understanding/commands/correct_slots_command.py +1 -3
- rasa/dialogue_understanding/commands/human_handoff_command.py +2 -0
- rasa/dialogue_understanding/commands/knowledge_answer_command.py +2 -0
- rasa/dialogue_understanding/commands/repeat_bot_messages_command.py +2 -0
- rasa/dialogue_understanding/commands/set_slot_command.py +4 -0
- rasa/dialogue_understanding/commands/skip_question_command.py +2 -0
- rasa/dialogue_understanding/commands/start_flow_command.py +4 -0
- rasa/dialogue_understanding/generator/__init__.py +7 -1
- rasa/dialogue_understanding/generator/command_generator.py +4 -2
- rasa/dialogue_understanding/generator/command_parser.py +2 -2
- rasa/dialogue_understanding/generator/command_parser_validator.py +63 -0
- rasa/dialogue_understanding/generator/llm_based_command_generator.py +1 -2
- rasa/dialogue_understanding/generator/nlu_command_adapter.py +2 -2
- rasa/dialogue_understanding/generator/prompt_templates/command_prompt_v3_gpt_4o_2024_11_20_template.jinja2 +78 -0
- rasa/dialogue_understanding/generator/single_step/compact_llm_command_generator.py +26 -461
- rasa/dialogue_understanding/generator/single_step/search_ready_llm_command_generator.py +147 -0
- rasa/dialogue_understanding/generator/single_step/single_step_based_llm_command_generator.py +477 -0
- rasa/dialogue_understanding/generator/single_step/single_step_llm_command_generator.py +11 -64
- rasa/dialogue_understanding/patterns/cancel.py +1 -2
- rasa/dialogue_understanding/patterns/clarify.py +1 -1
- rasa/dialogue_understanding/patterns/correction.py +2 -2
- rasa/dialogue_understanding/patterns/default_flows_for_patterns.yml +37 -25
- rasa/dialogue_understanding/patterns/domain_for_patterns.py +190 -0
- rasa/dialogue_understanding/processor/command_processor.py +6 -7
- rasa/dialogue_understanding/stack/utils.py +3 -1
- rasa/dialogue_understanding_test/command_metric_calculation.py +7 -40
- rasa/dialogue_understanding_test/command_metrics.py +38 -0
- rasa/dialogue_understanding_test/du_test_case.py +58 -25
- rasa/dialogue_understanding_test/du_test_result.py +228 -132
- rasa/dialogue_understanding_test/du_test_runner.py +11 -2
- rasa/dialogue_understanding_test/du_test_schema.yml +3 -3
- rasa/dialogue_understanding_test/io.py +35 -8
- rasa/e2e_test/e2e_test_runner.py +1 -1
- rasa/e2e_test/e2e_test_schema.yml +3 -3
- rasa/engine/constants.py +1 -1
- rasa/engine/graph.py +2 -2
- rasa/engine/recipes/default_recipe.py +1 -1
- rasa/engine/validation.py +3 -2
- rasa/hooks.py +2 -30
- rasa/llm_fine_tuning/paraphrasing/conversation_rephraser.py +1 -5
- rasa/model_manager/model_api.py +90 -2
- rasa/model_manager/socket_bridge.py +0 -7
- rasa/model_manager/trainer_service.py +15 -12
- rasa/plugin.py +2 -15
- rasa/privacy/__init__.py +0 -0
- rasa/privacy/constants.py +83 -0
- rasa/privacy/event_broker_utils.py +77 -0
- rasa/privacy/privacy_config.py +281 -0
- rasa/privacy/privacy_config_schema.json +86 -0
- rasa/privacy/privacy_filter.py +340 -0
- rasa/privacy/privacy_manager.py +576 -0
- rasa/server.py +23 -2
- rasa/shared/constants.py +14 -0
- rasa/shared/core/command_payload_reader.py +1 -5
- rasa/shared/core/constants.py +4 -3
- rasa/shared/core/domain.py +172 -11
- rasa/shared/core/events.py +100 -6
- rasa/shared/core/flows/flow.py +35 -8
- rasa/shared/core/flows/flow_step.py +26 -4
- rasa/shared/core/flows/flow_step_links.py +15 -0
- rasa/shared/core/flows/flow_step_sequence.py +6 -0
- rasa/shared/core/flows/flows_yaml_schema.json +3 -0
- rasa/shared/core/flows/nlu_trigger.py +13 -0
- rasa/shared/core/flows/steps/action.py +7 -4
- rasa/shared/core/flows/steps/call.py +11 -4
- rasa/shared/core/flows/steps/collect.py +71 -6
- rasa/shared/core/flows/steps/internal.py +6 -1
- rasa/shared/core/flows/steps/link.py +7 -4
- rasa/shared/core/flows/steps/no_operation.py +7 -4
- rasa/shared/core/flows/steps/set_slots.py +8 -4
- rasa/shared/core/flows/validation.py +16 -3
- rasa/shared/core/flows/yaml_flows_io.py +106 -5
- rasa/shared/core/slots.py +33 -1
- rasa/shared/core/trackers.py +4 -10
- rasa/shared/core/training_data/story_reader/yaml_story_reader.py +1 -4
- rasa/shared/importers/importer.py +14 -0
- rasa/shared/importers/static.py +63 -0
- rasa/shared/providers/llm/default_litellm_llm_client.py +2 -2
- rasa/shared/utils/common.py +43 -1
- rasa/shared/utils/llm.py +155 -3
- rasa/shared/utils/yaml.py +32 -0
- rasa/studio/data_handler.py +3 -3
- rasa/studio/download/__init__.py +0 -0
- rasa/studio/download/domains.py +49 -0
- rasa/studio/download/download.py +416 -0
- rasa/studio/download/flows.py +351 -0
- rasa/studio/link.py +200 -0
- rasa/studio/pull.py +94 -0
- rasa/studio/push.py +131 -0
- rasa/studio/results_logger.py +6 -1
- rasa/studio/upload.py +185 -71
- rasa/telemetry.py +83 -26
- rasa/tracing/config.py +4 -5
- rasa/tracing/constants.py +19 -1
- rasa/tracing/instrumentation/attribute_extractors.py +47 -9
- rasa/tracing/instrumentation/instrumentation.py +54 -3
- rasa/tracing/instrumentation/metrics.py +98 -15
- rasa/tracing/metric_instrument_provider.py +75 -3
- rasa/utils/common.py +37 -27
- rasa/utils/endpoints.py +22 -1
- rasa/utils/licensing.py +2 -3
- rasa/utils/log_utils.py +1 -45
- rasa/validator.py +9 -11
- rasa/version.py +1 -1
- {rasa_pro-3.12.18.dist-info → rasa_pro-3.13.0a1.dev1.dist-info}/METADATA +12 -13
- {rasa_pro-3.12.18.dist-info → rasa_pro-3.13.0a1.dev1.dist-info}/RECORD +308 -283
- rasa/anonymization/__init__.py +0 -2
- rasa/anonymization/anonymisation_rule_yaml_reader.py +0 -91
- rasa/anonymization/anonymization_pipeline.py +0 -286
- rasa/anonymization/anonymization_rule_executor.py +0 -266
- rasa/anonymization/anonymization_rule_orchestrator.py +0 -119
- rasa/anonymization/schemas/config.yml +0 -47
- rasa/anonymization/utils.py +0 -118
- rasa/cli/project_templates/calm/config.yml +0 -10
- rasa/cli/project_templates/calm/credentials.yml +0 -33
- rasa/cli/project_templates/calm/endpoints.yml +0 -58
- rasa/cli/project_templates/default/actions/actions.py +0 -27
- rasa/cli/project_templates/default/data/nlu.yml +0 -91
- rasa/cli/project_templates/default/data/rules.yml +0 -13
- rasa/cli/project_templates/default/data/stories.yml +0 -30
- rasa/cli/project_templates/default/domain.yml +0 -34
- rasa/cli/project_templates/default/tests/test_stories.yml +0 -91
- rasa/core/channels/inspector/dist/assets/channel-dfa68278.js +0 -1
- rasa/core/channels/inspector/dist/assets/clone-edb7f119.js +0 -1
- rasa/core/channels/inspector/dist/assets/flowDiagram-v2-96b9c2cf-65e7c670.js +0 -1
- rasa/core/channels/inspector/src/helpers/audiostream.ts +0 -191
- rasa/core/tracker_store.py +0 -1792
- rasa/studio/download.py +0 -489
- /rasa/{cli/project_templates/calm/actions → builder}/__init__.py +0 -0
- /rasa/cli/project_templates/{calm → default}/actions/action_template.py +0 -0
- /rasa/cli/project_templates/{calm → default}/actions/add_contact.py +0 -0
- /rasa/cli/project_templates/{calm → default}/actions/db.py +0 -0
- /rasa/cli/project_templates/{calm → default}/actions/list_contacts.py +0 -0
- /rasa/cli/project_templates/{calm → default}/actions/remove_contact.py +0 -0
- /rasa/cli/project_templates/{calm → default}/data/flows/add_contact.yml +0 -0
- /rasa/cli/project_templates/{calm → default}/data/flows/list_contacts.yml +0 -0
- /rasa/cli/project_templates/{calm → default}/data/flows/remove_contact.yml +0 -0
- /rasa/cli/project_templates/{calm → default}/db/contacts.json +0 -0
- /rasa/cli/project_templates/{calm → default}/domain/add_contact.yml +0 -0
- /rasa/cli/project_templates/{calm → default}/domain/list_contacts.yml +0 -0
- /rasa/cli/project_templates/{calm → default}/domain/remove_contact.yml +0 -0
- /rasa/cli/project_templates/{calm → default}/domain/shared.yml +0 -0
- {rasa_pro-3.12.18.dist-info → rasa_pro-3.13.0a1.dev1.dist-info}/NOTICE +0 -0
- {rasa_pro-3.12.18.dist-info → rasa_pro-3.13.0a1.dev1.dist-info}/WHEEL +0 -0
- {rasa_pro-3.12.18.dist-info → rasa_pro-3.13.0a1.dev1.dist-info}/entry_points.txt +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { ComponentStyleConfig } from
|
|
2
|
-
import { mode } from
|
|
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:
|
|
6
|
+
variant: 'solidRasa',
|
|
7
7
|
},
|
|
8
8
|
baseStyle: () => ({
|
|
9
|
-
letterSpacing:
|
|
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
|
|
1
|
+
import { StyleConfig } from '@chakra-ui/theme-tools'
|
|
2
2
|
|
|
3
3
|
export const Heading: StyleConfig = {
|
|
4
4
|
baseStyle: {
|
|
5
|
-
fontWeight:
|
|
6
|
-
letterSpacing:
|
|
5
|
+
fontWeight: 'bold',
|
|
6
|
+
letterSpacing: 'wide',
|
|
7
7
|
},
|
|
8
8
|
sizes: {
|
|
9
9
|
sm: ({ theme }) => ({
|
|
10
10
|
fontSize: theme.rasaFontSizes.sm,
|
|
11
|
-
lineHeight:
|
|
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:
|
|
24
|
+
lineHeight: '100%',
|
|
25
25
|
margin: 0,
|
|
26
26
|
}),
|
|
27
27
|
},
|
|
28
28
|
defaultProps: {
|
|
29
|
-
size:
|
|
29
|
+
size: 'md',
|
|
30
30
|
},
|
|
31
|
-
}
|
|
31
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { StyleConfig } from
|
|
2
|
-
import { mode } from
|
|
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
|
-
|
|
8
|
-
display:
|
|
7
|
+
'::-webkit-calendar-picker-indicator': {
|
|
8
|
+
display: 'none',
|
|
9
9
|
},
|
|
10
|
-
|
|
11
|
-
cursor:
|
|
12
|
-
opacity:
|
|
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
|
|
2
|
-
import { mode } from
|
|
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(
|
|
7
|
-
fontWeight:
|
|
8
|
-
textDecoration:
|
|
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
|
|
2
|
-
import { mode } from
|
|
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:
|
|
13
|
-
height:
|
|
14
|
-
margin:
|
|
12
|
+
width: '75%',
|
|
13
|
+
height: '85%',
|
|
14
|
+
margin: 'auto',
|
|
15
15
|
},
|
|
16
16
|
dialogContainer: {
|
|
17
17
|
zIndex: theme.zIndices.modal,
|
|
18
|
-
|
|
19
|
-
maxW:
|
|
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:
|
|
27
|
-
borderColor: mode(
|
|
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:
|
|
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
|
|
2
|
-
import type { ComponentStyleConfig } from
|
|
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(
|
|
9
|
-
position:
|
|
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(
|
|
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:
|
|
20
|
-
textTransform:
|
|
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:
|
|
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(
|
|
34
|
+
bgColor: mode('neutral.50', 'neutral.50')(props),
|
|
35
35
|
},
|
|
36
36
|
},
|
|
37
37
|
}),
|
|
38
|
-
}
|
|
38
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { StyleConfig } from
|
|
1
|
+
import { StyleConfig } from '@chakra-ui/theme-tools'
|
|
2
2
|
|
|
3
3
|
export const Tooltip: StyleConfig = {
|
|
4
4
|
baseStyle: ({ theme }) => ({
|
|
5
|
-
letterSpacing:
|
|
5
|
+
letterSpacing: 'wide',
|
|
6
6
|
borderRadius: theme.rasaRadii.normal,
|
|
7
7
|
padding: theme.rasaSpace[0.5],
|
|
8
|
-
textAlign:
|
|
8
|
+
textAlign: 'center',
|
|
9
9
|
bgColor: theme.colors.neutral[800],
|
|
10
|
-
|
|
10
|
+
'--tooltip-bg': theme.colors.neutral[800],
|
|
11
11
|
}),
|
|
12
|
-
}
|
|
12
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export const breakpoints = {
|
|
2
|
-
sm:
|
|
3
|
-
md:
|
|
4
|
-
lg:
|
|
5
|
-
xl:
|
|
6
|
-
|
|
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:
|
|
4
|
-
800:
|
|
5
|
-
700:
|
|
6
|
-
600:
|
|
7
|
-
500:
|
|
8
|
-
400:
|
|
9
|
-
300:
|
|
10
|
-
200:
|
|
11
|
-
100:
|
|
12
|
-
50:
|
|
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:
|
|
16
|
-
800:
|
|
17
|
-
700:
|
|
18
|
-
600:
|
|
19
|
-
500:
|
|
20
|
-
400:
|
|
21
|
-
300:
|
|
22
|
-
200:
|
|
23
|
-
100:
|
|
24
|
-
50:
|
|
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:
|
|
28
|
-
200:
|
|
29
|
-
50:
|
|
27
|
+
900: '#806908',
|
|
28
|
+
200: '#FEF1DE',
|
|
29
|
+
50: '#FFF8E0',
|
|
30
30
|
},
|
|
31
31
|
alert: {
|
|
32
|
-
900:
|
|
33
|
-
800:
|
|
34
|
-
700:
|
|
35
|
-
600:
|
|
36
|
-
500:
|
|
37
|
-
400:
|
|
38
|
-
300:
|
|
39
|
-
200:
|
|
40
|
-
100:
|
|
41
|
-
50:
|
|
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:
|
|
45
|
-
800:
|
|
46
|
-
700:
|
|
47
|
-
600:
|
|
48
|
-
500:
|
|
49
|
-
400:
|
|
50
|
-
300:
|
|
51
|
-
200:
|
|
52
|
-
100:
|
|
53
|
-
50:
|
|
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:
|
|
56
|
+
800: '#2C9793',
|
|
57
57
|
},
|
|
58
58
|
rasaGreen: {
|
|
59
|
-
800:
|
|
59
|
+
800: '#2B8F5A',
|
|
60
60
|
},
|
|
61
61
|
rasaBlue: {
|
|
62
|
-
900:
|
|
62
|
+
900: '#294BA0',
|
|
63
63
|
},
|
|
64
64
|
rasaOrange: {
|
|
65
|
-
900:
|
|
66
|
-
600:
|
|
67
|
-
400:
|
|
65
|
+
900: '#B05600',
|
|
66
|
+
600: '#EB7D15',
|
|
67
|
+
400: '#F8941A',
|
|
68
68
|
},
|
|
69
69
|
rasaPink: {
|
|
70
|
-
900:
|
|
70
|
+
900: '#DA6BE0',
|
|
71
71
|
},
|
|
72
72
|
tokenHighlight: {
|
|
73
|
-
0: { background:
|
|
74
|
-
1: { background:
|
|
75
|
-
2: { background:
|
|
76
|
-
3: { background:
|
|
77
|
-
4: { background:
|
|
78
|
-
5: { background:
|
|
79
|
-
6: { background:
|
|
80
|
-
7: { background:
|
|
81
|
-
8: { background:
|
|
82
|
-
9: { background:
|
|
83
|
-
10: { background:
|
|
84
|
-
11: { background:
|
|
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:
|
|
3
|
-
src:
|
|
4
|
-
url(
|
|
5
|
-
url(
|
|
6
|
-
url(
|
|
7
|
-
|
|
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:
|
|
13
|
-
src:
|
|
14
|
-
url(
|
|
15
|
-
url(
|
|
16
|
-
url(
|
|
17
|
-
|
|
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:
|
|
23
|
-
src:
|
|
24
|
-
url(
|
|
25
|
-
url(
|
|
26
|
-
url(
|
|
27
|
-
|
|
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:
|
|
3
|
-
small:
|
|
4
|
-
normal:
|
|
5
|
-
large:
|
|
6
|
-
larger:
|
|
7
|
-
full:
|
|
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:
|
|
3
|
-
focus:
|
|
4
|
-
flowNode:
|
|
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:
|
|
4
|
-
min:
|
|
5
|
-
full:
|
|
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
|
-
|
|
2
|
+
'1px': '1px',
|
|
3
3
|
0: 0,
|
|
4
|
-
0.125:
|
|
5
|
-
0.25:
|
|
6
|
-
0.5:
|
|
7
|
-
1:
|
|
8
|
-
1.25:
|
|
9
|
-
1.5:
|
|
10
|
-
2:
|
|
11
|
-
3:
|
|
12
|
-
4:
|
|
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
|
|
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(
|
|
7
|
-
color: mode(
|
|
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:
|
|
10
|
+
letterSpacing: '0.025rem',
|
|
11
11
|
}),
|
|
12
12
|
},
|
|
13
|
-
}
|
|
13
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
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:
|
|
13
|
-
sm:
|
|
14
|
-
md:
|
|
15
|
-
lg:
|
|
16
|
-
xl:
|
|
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:
|
|
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
|