Skip to content

Commit

Permalink
Upgraded paperbits libraries to 0.1.274. (#602)
Browse files Browse the repository at this point in the history
  • Loading branch information
azaslonov authored May 8, 2020
1 parent d285ff3 commit b6d25f8
Show file tree
Hide file tree
Showing 31 changed files with 449 additions and 279 deletions.
123 changes: 68 additions & 55 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@
"webpack-merge": "^4.2.2"
},
"dependencies": {
"@paperbits/azure": "0.1.253",
"@paperbits/common": "0.1.253",
"@paperbits/core": "0.1.253",
"@paperbits/prosemirror": "0.1.253",
"@paperbits/styles": "0.1.253",
"@paperbits/azure": "0.1.274",
"@paperbits/common": "0.1.274",
"@paperbits/core": "0.1.274",
"@paperbits/prosemirror": "0.1.274",
"@paperbits/styles": "0.1.274",
"@webcomponents/custom-elements": "1.3.2",
"@webcomponents/shadydom": "^1.7.2",
"adal-vanilla": "^1.0.18",
Expand Down
6 changes: 4 additions & 2 deletions src/apim.runtime.module.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { TagInput } from "./components/tag-input/tag-input";
import "./polyfills";
import "./bindingHandlers/scrollintoview";
import "./bindingHandlers/copyToClipboard";
Expand Down Expand Up @@ -65,6 +64,8 @@ import { StaticUserService } from "./services";
import { SignOutRouteGuard } from "./routing/signOutRouteGuard";
import { ProvisionService } from "./services/provisioningService";
import { BalloonBindingHandler } from "@paperbits/core/ko/bindingHandlers";
import { TagInput } from "./components/tag-input/tag-input";
import { ViewStack } from "@paperbits/core/ko/ui/viewStack";


export class ApimRuntimeModule implements IInjectorModule {
Expand All @@ -74,7 +75,7 @@ export class ApimRuntimeModule implements IInjectorModule {
injector.bindSingleton("logger", ConsoleLogger);
injector.bindCollection("autostart");
injector.bindToCollection("autostart", UnhandledErrorHandler);
injector.bindInstanceToCollection("balloon", new BalloonBindingHandler(null));
injector.bindToCollection("autostart", BalloonBindingHandler);
injector.bindCollection("routeGuards");
injector.bindToCollection("routeGuards", SignOutRouteGuard);
injector.bindToCollection("autostart", VisibilityGuard);
Expand Down Expand Up @@ -126,6 +127,7 @@ export class ApimRuntimeModule implements IInjectorModule {
injector.bindSingleton("routeHelper", RouteHelper);
injector.bindSingleton("userService", StaticUserService);
injector.bindSingleton("provisioningService", ProvisionService);
injector.bindSingleton("viewStack", ViewStack);
injector.bind("tagInput", TagInput);
}
}
40 changes: 21 additions & 19 deletions src/components/tag-input/tag-list.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
<div class="form-inline search-input">
<div class="input-group">
<input autofocus type="search" role="searchbox" aria-label="Search tags" placeholder="Search tags"
data-bind="textInput: pattern" />
<button type="button" class="search-button" aria-label="Search tags">
<i class="icon icon-magnifier"></i>
</button>
<div class="flex flex-column">
<div class="form-inline search-input">
<div class="input-group">
<input autofocus type="search" role="searchbox" aria-label="Search tags" placeholder="Search tags"
data-bind="textInput: pattern" />
<button type="button" class="search-button" aria-label="Search tags">
<i class="icon icon-magnifier"></i>
</button>
</div>
</div>
</div>

<!-- ko ifnot: empty -->
<div role="list" class="list" data-bind="foreach: { data: availableTags, as: 'tag' }">
<div role="presentation" data-bind="activate: $parent.addTag">
<div tabindex="0" role="listitem" class="tag" data-bind="text: name"></div>
<!-- ko ifnot: empty -->
<div role="list" class="list" data-bind="foreach: { data: availableTags, as: 'tag' }">
<div role="presentation" data-bind="activate: $parent.addTag">
<div tabindex="0" role="listitem" class="tag" data-bind="text: name"></div>
</div>
</div>
</div>
<!-- /ko -->
<!-- /ko -->

<!-- ko if: empty -->
<div role="list" class="list">
<div class="list-item-empty">No tags found</div>
</div>
<!-- /ko -->
<!-- ko if: empty -->
<div role="list" class="list">
<div class="list-item-empty">No tags found</div>
</div>
<!-- /ko -->
</div>
Loading

0 comments on commit b6d25f8

Please sign in to comment.