diff --git a/.eslintignore b/.eslintignore index e0e0fa3d0a..68d88aaaf1 100644 --- a/.eslintignore +++ b/.eslintignore @@ -3,4 +3,5 @@ public dist packages/server/builder packages/server/coverage +packages/server/client packages/builder/.routify \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index 17875bffe0..522d218640 100644 --- a/.prettierignore +++ b/.prettierignore @@ -5,4 +5,5 @@ dist packages/builder/src/components/design/AppPreview/CurrentItemPreview.svelte packages/server/builder packages/server/coverage +packages/server/client packages/builder/.routify \ No newline at end of file diff --git a/packages/bbui/src/Drawer/Drawer.svelte b/packages/bbui/src/Drawer/Drawer.svelte index 3658fdb7fe..a619ee0f8b 100644 --- a/packages/bbui/src/Drawer/Drawer.svelte +++ b/packages/bbui/src/Drawer/Drawer.svelte @@ -1,7 +1,7 @@ - - - {#if context} +
+
+
Search
+ +
+ {#if filteredColumns?.length}
- Columns +
Columns
    - {#each context.filter( context => context.readableBinding.match(searchRgx) ) as { readableBinding }} + {#each filteredColumns as { readableBinding }}
  • { value = addToText(value, getCaretPosition(), readableBinding) @@ -71,39 +52,29 @@
{/if} - {#if instance} + {#if filteredHelpers?.length}
- Components +
Helpers
    - {#each instance.filter( instance => instance.readableBinding.match(searchRgx) ) as { readableBinding }} -
  • addToText(readableBinding)}> - {readableBinding} + {#each filteredHelpers as helper} +
  • { + value = addToText(value, getCaretPosition(), helper.text) + }} + > +
    +
    {helper.displayText}
    +
    + {@html helper.description} +
    +
    {helper.example || ''}
    +
  • {/each}
{/if} -
- Helpers -
    - {#each helpers.filter(helper => helper.label.match(searchRgx) || helper.description.match(searchRgx)) as helper} -
  • { - value = addToText(value, getCaretPosition(), helper.text) - }} - > -
    - -
    - {@html helper.description} -
    -
    {helper.example || ''}
    -
    -
  • - {/each} -
-
- +