@flonix/ig-embed 0.1.0 → 0.1.1

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/dist/index.js CHANGED
@@ -873,6 +873,15 @@ var STYLES = `
873
873
  container-type: inline-size;
874
874
  }
875
875
 
876
+ /* Borderless / full-bleed: blends into the host page and fills its container.
877
+ Only the OUTER chrome is removed \u2014 internal borders (tiles, inputs) stay. */
878
+ .flxig-root.flxig-plain {
879
+ border: none;
880
+ border-radius: 0;
881
+ padding: 0;
882
+ background: transparent;
883
+ }
884
+
876
885
  /* ---- typography ---- */
877
886
  .flxig-h1 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.015em; margin: 0; }
878
887
  .flxig-h2 { font-size: 1.05rem; font-weight: 650; letter-spacing: -0.01em; margin: 0; }
@@ -1043,7 +1052,9 @@ var Widget = class {
1043
1052
  el("style", { text: `${buildThemeVars(theme)}
1044
1053
  ${STYLES}` })
1045
1054
  );
1046
- this.root = el("div", { class: "flxig-root" });
1055
+ this.root = el("div", {
1056
+ class: config.appearance === "plain" ? "flxig-root flxig-plain" : "flxig-root"
1057
+ });
1047
1058
  this.content = el("div", { class: "flxig-content" });
1048
1059
  this.root.appendChild(this.content);
1049
1060
  this.shadow.appendChild(this.root);
@@ -1288,7 +1299,7 @@ function createMockTransport(options = {}) {
1288
1299
  }
1289
1300
 
1290
1301
  // src/index.ts
1291
- var version = "0.1.0";
1302
+ var version = "0.1.1";
1292
1303
  function mount(target, config) {
1293
1304
  var _a, _b, _c;
1294
1305
  const element = typeof target === "string" ? document.querySelector(target) : target;