From 6d3c07e9ecbfb4101b1b3aa2e31cdb9e557931f0 Mon Sep 17 00:00:00 2001 From: Vikas Awaghade <67629551+vikas-cldcvr@users.noreply.github.com> Date: Wed, 27 Sep 2023 13:22:30 +0530 Subject: [PATCH] FLOW-923 f-select options navigation through arrow keys (#143) * FLOW-923 f-select options navigation through arrow keys * FLOW-923 disabled option selection issue fixed --- .../flow-code-editor/custom-elements.json | 48 +- packages/flow-core/CHANGELOG.md | 7 + packages/flow-core/custom-elements.json | 8421 +++++++++-------- packages/flow-core/html.html-data.json | 14 +- packages/flow-core/package.json | 2 +- .../flow-core/src/components/f-div/f-div.scss | 29 +- .../src/components/f-select/f-select.ts | 31 +- .../src/components/f-select/handlers.ts | 80 +- .../src/components/f-select/render.ts | 26 +- packages/flow-table/custom-elements.json | 652 +- stories/f-select.stories.mdx | 14 +- 11 files changed, 4712 insertions(+), 4612 deletions(-) diff --git a/packages/flow-code-editor/custom-elements.json b/packages/flow-code-editor/custom-elements.json index aff84c7f0..4b559aca7 100644 --- a/packages/flow-code-editor/custom-elements.json +++ b/packages/flow-code-editor/custom-elements.json @@ -55,30 +55,6 @@ } ] }, - { - "kind": "javascript-module", - "path": "src/utils/lang-comments-map.ts", - "declarations": [ - { - "kind": "variable", - "name": "languageCommentsMap", - "type": { - "text": "Map" - }, - "default": "new Map([\n\t// JavaScript\n\t[\"javascript\", commonItem],\n\n\t// TypeScript\n\t[\"typescript\", commonItem],\n\n\t// Python\n\t[\n\t\t\"python\",\n\t\t{\n\t\t\tsingleLine: \"#\",\n\t\t\tmultiLine: { start: \"'''\", end: \"'''\" }\n\t\t}\n\t],\n\n\t// Java\n\t[\"java\", commonItem],\n\n\t// C++\n\t[\"cpp\", commonItem],\n\n\t// C#\n\t[\"csharp\", commonItem],\n\n\t// PHP\n\t[\"php\", commonItem],\n\n\t// Ruby\n\t[\n\t\t\"ruby\",\n\t\t{\n\t\t\tsingleLine: \"#\",\n\t\t\tmultiLine: { start: \"=begin\", end: \"=end\" }\n\t\t}\n\t],\n\n\t// Swift\n\t[\"swift\", commonItem],\n\n\t// Go\n\t[\"go\", commonItem],\n\n\t// Rust\n\t[\"rust\", commonItem],\n\n\t// Kotlin\n\t[\"kotlin\", commonItem],\n\n\t// Dart\n\t[\"dart\", commonItem],\n\n\t// HTML (HTML does not support multi-line comments)\n\t[\n\t\t\"html\",\n\t\t{\n\t\t\tsingleLine: \"