Version: 2.0.0-beta.12.0.0-beta.22.0.0-beta.32.0.0-rc.12.0.0-rc.22.0.0-rc.32.0.0-rc.42.0.02.1.12.2.13.0.0-beta.03.0.0-rc.03.0.03.1.03.2.03.3.03.4.03.5.03.5.13.6.03.7.03.8.03.9.03.9.13.10.03.11.03.12.03.13.03.14.03.15.03.15.13.16.03.17.03.18.03.18.13.19.03.20.03.20.13.21.03.22.03.23.03.24.03.25.03.25.13.26.03.26.13.27.03.28.03.29.03.30.03.30.13.30.23.31.03.32.03.33.04.0.0-alpha.04.0.0-beta.04.0.0-beta.14.0.0-beta.24.0.0-beta.34.0.0-beta.44.0.0-beta.54.0.0-beta.64.0.0-beta.74.0.0-beta.84.0.0-rc.04.0.0-rc.14.0.0-rc.24.0.04.1.04.1.14.2.04.2.14.2.24.2.34.2.44.2.54.2.64.3.04.3.14.4.04.4.14.4.24.5.04.6.04.6.14.6.24.6.34.7.04.8.04.9.04.10.04.10.14.11.04.12.04.12.14.12.24.13.04.13.14.13.24.14.04.14.14.14.24.14.34.14.44.14.54.15.04.15.14.15.24.16.05.0.0-alpha.15.0.0-alpha.25.0.0-alpha.35.0.0-alpha.45.0.0-alpha.55.0.0-beta.05.0.0-beta.15.0.0-beta.25.0.0-rc.05.0.05.1.05.1.15.1.25.1.35.1.45.1.55.1.65.1.75.1.85.2.05.2.15.3.05.4.05.4.15.5.05.6.05.7.05.7.15.8.05.9.0
/*
* Copyright 2021 Palantir Technologies, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { BLUEPRINT_ICONS_16_CODEPOINTS } from "./generated/16px/blueprint-icons-16";
// icon sets are identical aside from SVG paths, so we just import the info for the 16px set
/**
* Icon codepoints as base 10 number strings. If you need to render these strings
* into an SVG document or as `::before` pseudo content, consider using `getIconContentString()`
* instead.
export var IconCodepoints = BLUEPRINT_ICONS_16_CODEPOINTS;
* Returns the hex code content string which represents the codepoint in the icon font
* for a given icon. You can render this string to the DOM and if the icon font is loaded
* as an active font family, this string will be replaced with the associated icon.
export function getIconContentString(icon) {
// parse base 10 number from string, then convert to hex code
return String.fromCodePoint(parseInt(IconCodepoints[icon], 10));
}
//# sourceMappingURL=iconCodepoints.js.map