Files
pybricks-code/src/blueprintjs-icons.js
T
dependabot[bot]andDavid Lechner bf2dec362d build(deps): bump @blueprintjs/core from 4.13.0 to 4.14.1 (#1432)
* build(deps): bump @blueprintjs/core from 4.13.0 to 4.14.1

Bumps [@blueprintjs/core](https://github.com/palantir/blueprint/tree/HEAD/packages/core) from 4.13.0 to 4.14.1.
- [Release notes](https://github.com/palantir/blueprint/releases)
- [Changelog](https://github.com/palantir/blueprint/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/palantir/blueprint/commits/@blueprintjs/core@4.14.1/packages/core)

---
updated-dependencies:
- dependency-name: "@blueprintjs/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix breaking path name change

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Lechner <david@pybricks.com>
2023-01-11 15:54:05 +00:00

104 lines
1.7 KiB
JavaScript

// SPDX-License-Identifier: MIT
// Copyright (c) 2022 The Pybricks Authors
// HACK: Prevent webpack from picking up all icons.
// https://github.com/palantir/blueprint/issues/2193
import {
Add,
Archive,
Blank,
Chat,
ChevronDown,
ChevronRight,
Clipboard,
Code,
Cog,
Cross,
Disable,
Document,
Download,
Duplicate,
Edit,
Error,
Export,
Heart,
Help,
Import,
InfoSign,
Lightbulb,
Manual,
Play,
Plus,
Redo,
Refresh,
Share,
Tick,
TickCircle,
Trash,
Undo,
Virus,
WarningSign,
} from '@blueprintjs/icons/lib/esm/generated-icons/16px/paths';
import {
Cog as Cog20,
Document as Document20,
Error as Error20,
InfoSign as InfoSign20,
Manual as Manual20,
Trash as Trash20,
WarningSign as WarningSign20,
} from '@blueprintjs/icons/lib/esm/generated-icons/20px/paths';
import { pascalCase } from 'change-case';
export function iconNameToPathsRecordKey(name) {
return pascalCase(name);
}
export const IconSvgPaths16 = {
Add,
Archive,
Blank,
Chat,
ChevronDown,
ChevronRight,
Clipboard,
Code,
Cog,
Cross,
Disable,
Document,
Download,
Duplicate,
Edit,
Error,
Export,
Heart,
Help,
Import,
InfoSign,
Lightbulb,
Manual,
Play,
Plus,
Redo,
Refresh,
Share,
Tick,
TickCircle,
Trash,
Undo,
Virus,
WarningSign,
};
export const IconSvgPaths20 = {
Cog: Cog20,
Document: Document20,
Error: Error20,
InfoSign: InfoSign20,
Manual: Manual20,
Trash: Trash20,
WarningSign: WarningSign20,
};