tfy-web-components 0.0.30 → 0.0.32

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.
package/README.md CHANGED
@@ -19,6 +19,11 @@
19
19
  yarn add tfy-web-components
20
20
  ```
21
21
 
22
+ Design-system runtimes (MUI, Emotion, Font Awesome, OpenUI, Monaco) ship as
23
+ dependencies of `tfy-web-components` — you do not need to install them
24
+ separately. If your app already depends on MUI and needs a single shared
25
+ instance/theme, use your package manager’s resolutions / overrides.
26
+
22
27
  2. Wire up theming, matching your consumer app's Tailwind version:
23
28
 
24
29
  ### Tailwind v3
@@ -10,7 +10,6 @@ import { Button } from "./components/atoms/Button.es.js";
10
10
  import { useTheme } from "./components/theme/useTheme.es.js";
11
11
  import IconButton from "./components/atoms/IconButton.es.js";
12
12
  import notify$1 from "./components/molecules/Notify.es.js";
13
- import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.js";
14
13
  var resizeObservers = [];
15
14
  var hasActiveObservations = function() {
16
15
  return resizeObservers.some(function(ro) {
@@ -110,11 +109,11 @@ var isReplacedElement = function(target) {
110
109
  }
111
110
  return false;
112
111
  };
113
- var global = typeof window !== "undefined" ? window : {};
112
+ var global$1 = typeof window !== "undefined" ? window : {};
114
113
  var cache = /* @__PURE__ */ new WeakMap();
115
114
  var scrollRegexp = /auto|scroll/;
116
115
  var verticalRegexp = /^tb|vertical/;
117
- var IE = /msie|trident/i.test(global.navigator && global.navigator.userAgent);
116
+ var IE = /msie|trident/i.test(global$1.navigator && global$1.navigator.userAgent);
118
117
  var parseDimension = function(pixel) {
119
118
  return parseFloat(pixel || "0");
120
119
  };
@@ -374,7 +373,7 @@ var Scheduler = function() {
374
373
  var cb = function() {
375
374
  return _this.observer && _this.observer.observe(document.body, observerConfig);
376
375
  };
377
- document.body ? cb() : global.addEventListener("DOMContentLoaded", cb);
376
+ document.body ? cb() : global$1.addEventListener("DOMContentLoaded", cb);
378
377
  };
379
378
  Scheduler2.prototype.start = function() {
380
379
  var _this = this;
@@ -383,7 +382,7 @@ var Scheduler = function() {
383
382
  this.observer = new MutationObserver(this.listener);
384
383
  this.observe();
385
384
  events.forEach(function(name2) {
386
- return global.addEventListener(name2, _this.listener, true);
385
+ return global$1.addEventListener(name2, _this.listener, true);
387
386
  });
388
387
  }
389
388
  };
@@ -392,7 +391,7 @@ var Scheduler = function() {
392
391
  if (!this.stopped) {
393
392
  this.observer && this.observer.disconnect();
394
393
  events.forEach(function(name2) {
395
- return global.removeEventListener(name2, _this.listener, true);
394
+ return global$1.removeEventListener(name2, _this.listener, true);
396
395
  });
397
396
  this.stopped = true;
398
397
  }
@@ -1899,6 +1898,10 @@ function parse$1(value) {
1899
1898
  function stringify(values) {
1900
1899
  return values.join(" ").trim();
1901
1900
  }
1901
+ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
1902
+ function getDefaultExportFromCjs(x) {
1903
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
1904
+ }
1902
1905
  var cjs$2 = {};
1903
1906
  var COMMENT_REGEX = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;
1904
1907
  var NEWLINE_REGEX = /\n/g;
@@ -74280,4 +74283,4 @@ export {
74280
74283
  CopyFieldHighlighted as b,
74281
74284
  Markdown$1 as c
74282
74285
  };
74283
- //# sourceMappingURL=Input-CnGhA18d.js.map
74286
+ //# sourceMappingURL=Input-BvwIpntS.js.map