@wrrdev/fenix-ui 1.1.7 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { F as FENIX_ICON_FONT_FAMILY, a as FENIX_ICON_BASE_CSS } from "./assets/base-css-Be_r8aTo.js";
2
- import { i } from "./assets/base-css-Be_r8aTo.js";
1
+ import { F as FENIX_ICONS_STYLE_ID, b as buildFenixIconsFontFaceCss, a as FENIX_ICON_BASE_CSS, _ as __resetFenixIconsFontInjection } from "./assets/font-CF0TXsAP.js";
2
+ import { c, d, i, l } from "./assets/font-CF0TXsAP.js";
3
3
  const FENIX_ICON_NAMES = [
4
4
  "10k",
5
5
  "10mp",
@@ -4279,37 +4279,6 @@ const FENIX_ICON_NAMES = [
4279
4279
  "zoom_out",
4280
4280
  "zoom_out_map"
4281
4281
  ];
4282
- function resolveFontUrl() {
4283
- if (typeof __FENIX_ICONS_FONT_URL__ !== "undefined" && __FENIX_ICONS_FONT_URL__) {
4284
- return __FENIX_ICONS_FONT_URL__;
4285
- }
4286
- return new URL("" + new URL("assets/fenix-icons-DmgotBzD.woff2", import.meta.url).href, import.meta.url).toString();
4287
- }
4288
- const FENIX_ICONS_FONT_URL = resolveFontUrl();
4289
- const FENIX_ICONS_FONT_STYLE_ID = "fenix-icons-font";
4290
- const FENIX_ICONS_STYLE_ID = "fenix-icons";
4291
- function buildFenixIconsFontFaceCss() {
4292
- return `@font-face{font-family:'${FENIX_ICON_FONT_FAMILY}';font-style:normal;font-weight:100 700;font-display:block;src:url('${FENIX_ICONS_FONT_URL}') format('woff2');}`;
4293
- }
4294
- function buildFenixIconsFontCss() {
4295
- return buildFenixIconsFontFaceCss() + FENIX_ICON_BASE_CSS;
4296
- }
4297
- let fontInjected = false;
4298
- function loadFenixIconsFont(target = typeof document !== "undefined" ? document : void 0) {
4299
- if (fontInjected || !target) return;
4300
- if (target.getElementById(FENIX_ICONS_STYLE_ID)) {
4301
- fontInjected = true;
4302
- return;
4303
- }
4304
- const style = target.createElement("style");
4305
- style.id = FENIX_ICONS_FONT_STYLE_ID;
4306
- style.textContent = buildFenixIconsFontCss();
4307
- target.head.appendChild(style);
4308
- fontInjected = true;
4309
- }
4310
- function __resetFenixIconsFontInjection() {
4311
- fontInjected = false;
4312
- }
4313
4282
  const FENIX_ICON_DOC_BASE_CSS = FENIX_ICON_BASE_CSS;
4314
4283
  function buildClassRules() {
4315
4284
  let rules = "";
@@ -4338,14 +4307,14 @@ loadFenixIcons();
4338
4307
  export {
4339
4308
  FENIX_ICON_BASE_CSS,
4340
4309
  FENIX_ICON_DOC_BASE_CSS,
4341
- FENIX_ICON_FONT_FAMILY,
4310
+ c as FENIX_ICON_FONT_FAMILY,
4342
4311
  FENIX_ICON_NAMES,
4343
4312
  __resetFenixIconsFontInjection,
4344
4313
  __resetFenixIconsInjection,
4345
4314
  buildFenixIconsCss,
4346
- buildFenixIconsFontCss,
4315
+ d as buildFenixIconsFontCss,
4347
4316
  i as isFenixIconName,
4348
4317
  loadFenixIcons,
4349
- loadFenixIconsFont
4318
+ l as loadFenixIconsFont
4350
4319
  };
4351
4320
  //# sourceMappingURL=fenix-ui3.esm.js.map