1 | /*
|
2 | * Copyright 2021 Palantir Technologies, Inc. All rights reserved.
|
3 | *
|
4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | * you may not use this file except in compliance with the License.
|
6 | * You may obtain a copy of the License at
|
7 | *
|
8 | * http://www.apache.org/licenses/LICENSE-2.0
|
9 | *
|
10 | * Unless required by applicable law or agreed to in writing, software
|
11 | * distributed under the License is distributed on an "AS IS" BASIS,
|
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 | * See the License for the specific language governing permissions and
|
14 | * limitations under the License.
|
15 | */
|
16 | import { __assign } from "tslib";
|
17 | /* eslint-disable camelcase */
|
18 | import { pascalCase, snakeCase } from "change-case";
|
19 | import { BlueprintIcons_16 } from "./generated/16px/blueprint-icons-16";
|
20 | var IconNamesNew = {};
|
21 | var IconNamesLegacy = {};
|
22 | for (var _i = 0, _a = Object.values(BlueprintIcons_16); _i < _a.length; _i++) {
|
23 | var name_1 = _a[_i];
|
24 | IconNamesNew[pascalCase(name_1)] = name_1;
|
25 | IconNamesLegacy[snakeCase(name_1).toUpperCase()] = name_1;
|
26 | }
|
27 | export var IconNames = __assign(__assign({}, IconNamesNew), IconNamesLegacy);
|
28 | //# sourceMappingURL=iconNames.js.map |
\ | No newline at end of file |