Skip to content

Commit

Permalink
Merge pull request #205 from ruedap/release/v1.3.0.0
Browse files Browse the repository at this point in the history
Based on Bootstrap Icons 1.3.0
  • Loading branch information
ruedap authored Feb 23, 2021
2 parents c4d24d3 + e0ef988 commit 6022094
Show file tree
Hide file tree
Showing 86 changed files with 967 additions and 40 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You can incrementally search for [Bootstrap Icons](https://icons.getbootstrap.co

Download **[Bootstrap-Icons.alfredworkflow](https://github.com/ruedap/alfred-bootstrap-icons-workflow/releases/latest)** and import to [Alfred](http://www.alfredapp.com/) (requires Powerpack).

The current supported version is **Bootstrap Icons 1.2.2**. Previous versions are available [here](https://github.com/ruedap/alfred-bootstrap-icons-workflow/releases).
The current supported version is **Bootstrap Icons 1.3.0**. Previous versions are available [here](https://github.com/ruedap/alfred-bootstrap-icons-workflow/releases).

### macOS Catalina refuses to run unsigned binaries by default

Expand Down
967 changes: 940 additions & 27 deletions assets/icons.json

Large diffs are not rendered by default.

Binary file modified assets/icons/arrow-down-left-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/icons/arrow-down-right-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/icons/arrow-down-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/icons/arrow-left-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/icons/arrow-right-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/icons/arrow-up-left-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/icons/arrow-up-right-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/icons/arrow-up-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/badge-3d-fill.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/badge-3d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/badge-ar-fill.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/badge-ar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/badge-vr-fill.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/badge-vr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/badge-wc-fill.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/badge-wc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/border-all.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/border-bottom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/border-center.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/border-inner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/border-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/border-middle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/border-outer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/border-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/border-top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/border.png
Binary file modified assets/icons/cup-straw.png
Binary file added assets/icons/dash-circle-dotted.png
Binary file added assets/icons/dash-square-dotted.png
Binary file added assets/icons/eraser-fill.png
Binary file added assets/icons/eraser.png
Binary file added assets/icons/eyedropper.png
Binary file added assets/icons/hand-index-fill.png
Binary file added assets/icons/hand-index-thumb-fill.png
Binary file added assets/icons/hand-thumbs-down-fill.png
Binary file added assets/icons/hand-thumbs-up-fill.png
Binary file added assets/icons/layer-backward.png
Binary file added assets/icons/layer-forward.png
Binary file added assets/icons/lightbulb-fill.png
Binary file added assets/icons/lightbulb-off-fill.png
Binary file added assets/icons/lightbulb-off.png
Binary file added assets/icons/lightbulb.png
Binary file added assets/icons/mask.png
Binary file added assets/icons/megaphone-fill.png
Binary file added assets/icons/megaphone.png
Binary file added assets/icons/mouse-fill.png
Binary file added assets/icons/mouse2-fill.png
Binary file added assets/icons/mouse3-fill.png
Binary file added assets/icons/paint-bucket.png
Binary file added assets/icons/palette-fill.png
Binary file added assets/icons/palette.png
Binary file added assets/icons/palette2.png
Binary file modified assets/icons/person-circle.png
Binary file added assets/icons/phone-vibrate-fill.png
Binary file added assets/icons/pin-angle-fill.png
Binary file added assets/icons/pin-angle.png
Binary file added assets/icons/pin-fill.png
Binary file added assets/icons/pin.png
Binary file added assets/icons/plus-circle-dotted.png
Binary file added assets/icons/plus-square-dotted.png
Binary file modified assets/icons/reply-all-fill.png
Binary file modified assets/icons/reply-all.png
Binary file modified assets/icons/reply-fill.png
Binary file modified assets/icons/reply.png
Binary file added assets/icons/rulers.png
Binary file added assets/icons/save-fill.png
Binary file added assets/icons/save.png
Binary file added assets/icons/save2-fill.png
Binary file added assets/icons/save2.png
Binary file added assets/icons/speedometer.png
Binary file added assets/icons/speedometer2.png
Binary file added assets/icons/stack.png
Binary file added assets/icons/symmetry-horizontal.png
Binary file added assets/icons/symmetry-vertical.png
Binary file added assets/icons/telegram.png
Binary file added assets/icons/whatsapp.png
Binary file added assets/icons/window-dock.png
Binary file added assets/icons/window-sidebar.png
4 changes: 2 additions & 2 deletions assets/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<plist version="1.0">
<dict>
<key>name</key>
<string>Bootstrap Icons 1.2.2.0</string>
<string>Bootstrap Icons 1.3.0.0</string>
<key>version</key>
<string>1.2.2.0</string>
<string>1.3.0.0</string>
<key>webaddress</key>
<string>https://github.com/ruedap/alfred-bootstrap-icons-workflow</string>
<key>readme</key>
Expand Down
2 changes: 1 addition & 1 deletion bootstrap-icons
Submodule bootstrap-icons updated 189 files
2 changes: 1 addition & 1 deletion src/assets/icons/png_files.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import fg from "fast-glob";
describe("./assets/icons/*.png", () => {
test("length", () => {
const icons: string[] = fg.sync("./assets/icons/*.png");
expect(icons.length).toBe(1201);
expect(icons.length).toBe(1265);
});
});
2 changes: 1 addition & 1 deletion src/assets/icons_object.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getAllIconsObject } from "./icons_object";
describe("getAllIconsObject()", () => {
test("length", () => {
const obj = getAllIconsObject();
expect(obj.length).toBe(1201);
expect(obj.length).toBe(1265);
});

test("icon: bootstrap", () => {
Expand Down
2 changes: 1 addition & 1 deletion src/icons.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test("toResponseItem()", () => {

test("getAllIcons()", () => {
const allIcons = getAllIcons();
expect(allIcons.items.length).toBe(1201);
expect(allIcons.items.length).toBe(1265);

const actual = allIcons.items.find((icon) => icon.arg === "bootstrap");
const expected = {
Expand Down
26 changes: 20 additions & 6 deletions src/search.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ describe("search()", () => {
'"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"16\\" height=\\"16\\" fill=\\"currentColor\\" class=\\"bi bi-bootstrap-reboot\\" viewBox=\\"0 0 16 16\\">\\n <path d=\\"M1.161 8a6.84 6.84 0 1 0 6.842-6.84.58.58 0 0 1 0-1.16 8 8 0 1 1-6.556 3.412l-.663-.577a.58.58 0 0 1 .227-.997l2.52-.69a.58.58 0 0 1 .728.633l-.332 2.592a.58.58 0 0 1-.956.364l-.643-.56A6.812 6.812 0 0 0 1.16 8z\\"/>\\n <path d=\\"M6.641 11.671V8.843h1.57l1.498 2.828h1.314L9.377 8.665c.897-.3 1.427-1.106 1.427-2.1 0-1.37-.943-2.246-2.456-2.246H5.5v7.352h1.141zm0-3.75V5.277h1.57c.881 0 1.416.499 1.416 1.32 0 .84-.504 1.324-1.386 1.324h-1.6z\\"/>\\n</svg>"',
},
},
refIndex: 158,
refIndex: 166,
score: 1.7028485066985596e-12,
},
{
Expand All @@ -162,7 +162,7 @@ describe("search()", () => {
'"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"16\\" height=\\"16\\" fill=\\"currentColor\\" class=\\"bi bi-bootstrap\\" viewBox=\\"0 0 16 16\\">\\n <path d=\\"M5.062 12h3.475c1.804 0 2.888-.908 2.888-2.396 0-1.102-.761-1.916-1.904-2.034v-.1c.832-.14 1.482-.93 1.482-1.816 0-1.3-.955-2.11-2.542-2.11H5.062V12zm1.313-4.875V4.658h1.78c.973 0 1.542.457 1.542 1.237 0 .802-.604 1.23-1.764 1.23H6.375zm0 3.762V8.162h1.822c1.236 0 1.887.463 1.887 1.348 0 .896-.627 1.377-1.811 1.377H6.375z\\"/>\\n <path d=\\"M0 4a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v8a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4zm4-3a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3H4z\\"/>\\n</svg>"',
},
},
refIndex: 159,
refIndex: 167,
score: 0.19140625,
},
{
Expand All @@ -176,9 +176,23 @@ describe("search()", () => {
'"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"16\\" height=\\"16\\" fill=\\"currentColor\\" class=\\"bi bi-bootstrap-fill\\" viewBox=\\"0 0 16 16\\">\\n <path d=\\"M6.375 7.125V4.658h1.78c.973 0 1.542.457 1.542 1.237 0 .802-.604 1.23-1.764 1.23H6.375zm0 3.762h1.898c1.184 0 1.81-.48 1.81-1.377 0-.885-.65-1.348-1.886-1.348H6.375v2.725z\\"/>\\n <path d=\\"M4.002 0a4 4 0 0 0-4 4v8a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4h-8zm1.06 12V3.545h3.399c1.587 0 2.543.809 2.543 2.11 0 .884-.65 1.675-1.483 1.816v.1c1.143.117 1.904.931 1.904 2.033 0 1.488-1.084 2.396-2.888 2.396H5.062z\\"/>\\n</svg>"',
},
},
refIndex: 157,
refIndex: 165,
score: 0.20357702451072787,
},
{
item: {
categories: ["UI and keyboard"],
name: "border-bottom",
svg: {
raw:
'"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"16\\" height=\\"16\\" fill=\\"currentColor\\" class=\\"bi bi-border-bottom\\" viewBox=\\"0 0 16 16\\">\\n <path d=\\"M.969 0H0v.969h.5V1h.469V.969H1V.5H.969V0zm.937 1h.938V0h-.938v1zm1.875 0h.938V0H3.78v1zm1.875 0h.938V0h-.938v1zM7.531.969V1h.938V.969H8.5V.5h-.031V0H7.53v.5H7.5v.469h.031zM9.406 1h.938V0h-.938v1zm1.875 0h.938V0h-.938v1zm1.875 0h.938V0h-.938v1zm1.875 0h.469V.969h.5V0h-.969v.5H15v.469h.031V1zM1 2.844v-.938H0v.938h1zm6.5-.938v.938h1v-.938h-1zm7.5 0v.938h1v-.938h-1zM1 4.719V3.78H0v.938h1zm6.5-.938v.938h1V3.78h-1zm7.5 0v.938h1V3.78h-1zM1 6.594v-.938H0v.938h1zm6.5-.938v.938h1v-.938h-1zm7.5 0v.938h1v-.938h-1zM.5 8.5h.469v-.031H1V7.53H.969V7.5H.5v.031H0v.938h.5V8.5zm1.406 0h.938v-1h-.938v1zm1.875 0h.938v-1H3.78v1zm1.875 0h.938v-1h-.938v1zm2.813 0v-.031H8.5V7.53h-.031V7.5H7.53v.031H7.5v.938h.031V8.5h.938zm.937 0h.938v-1h-.938v1zm1.875 0h.938v-1h-.938v1zm1.875 0h.938v-1h-.938v1zm1.875 0h.469v-.031h.5V7.53h-.5V7.5h-.469v.031H15v.938h.031V8.5zM0 9.406v.938h1v-.938H0zm7.5 0v.938h1v-.938h-1zm8.5.938v-.938h-1v.938h1zm-16 .937v.938h1v-.938H0zm7.5 0v.938h1v-.938h-1zm8.5.938v-.938h-1v.938h1zm-16 .937v.938h1v-.938H0zm7.5 0v.938h1v-.938h-1zm8.5.938v-.938h-1v.938h1zM0 15h16v1H0v-1z\\"/>\\n</svg>"',
},
tags: ["borders"],
title: "Border bottom",
},
refIndex: 169,
score: 0.5028302621905112,
},
{
item: {
categories: ["Misc"],
Expand All @@ -190,7 +204,7 @@ describe("search()", () => {
tags: ["reading", "book", "label", "tag", "category"],
title: "Bookmark heart fill",
},
refIndex: 145,
refIndex: 153,
score: 0.6684759217372512,
},
{
Expand All @@ -204,12 +218,12 @@ describe("search()", () => {
tags: ["reading", "book", "label", "tag", "category"],
title: "Bookmark heart",
},
refIndex: 146,
refIndex: 154,
score: 0.6684759217372512,
},
];

expect(actual.length).toBe(5);
expect(actual.length).toBe(6);
expect(actual).toStrictEqual(expected);
});
});
Expand Down

0 comments on commit 6022094

Please sign in to comment.