@axinom/mosaic-portal 0.4.1 → 0.4.2-rc.3

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.
@@ -18176,27 +18176,29 @@ var Iy = function Iy(_ref162) {
18176
18176
  o = _ref162.transform,
18177
18177
  _ref162$className = _ref162.className,
18178
18178
  a = _ref162$className === void 0 ? "" : _ref162$className,
18179
- i = _ref162.tooltipContent;
18180
- var c = o ? o(n) : n,
18181
- s = Array.isArray(c) ? c.join(", ") : c;
18179
+ _ref162$hideCopyButto = _ref162.hideCopyButton,
18180
+ i = _ref162$hideCopyButto === void 0 ? !1 : _ref162$hideCopyButto,
18181
+ c = _ref162.tooltipContent;
18182
+ var s = o ? o(n) : n,
18183
+ l = Array.isArray(s) ? s.join(", ") : s;
18182
18184
  return react__WEBPACK_IMPORTED_MODULE_0__.createElement(Wv, {
18183
18185
  id: t,
18184
18186
  className: "read-only-field-container " + a,
18185
18187
  label: r,
18186
- tooltipContent: i
18188
+ tooltipContent: c
18187
18189
  }, react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
18188
18190
  className: jy
18189
18191
  }, react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", {
18190
- value: s,
18192
+ value: l,
18191
18193
  onChange: k
18192
- }), react__WEBPACK_IMPORTED_MODULE_0__.createElement(de, {
18194
+ }), !i && react__WEBPACK_IMPORTED_MODULE_0__.createElement(de, {
18193
18195
  type: "button",
18194
18196
  icon: C.Copy,
18195
18197
  buttonContext: w.Icon,
18196
18198
  className: Ly,
18197
18199
  onButtonClicked: function onButtonClicked() {
18198
18200
  try {
18199
- navigator.clipboard.writeText(null != s ? s : "");
18201
+ navigator.clipboard.writeText(null != l ? l : "");
18200
18202
  } catch (e) {
18201
18203
  console.warn("Failed to copy to clipboard");
18202
18204
  }
@@ -62798,7 +62800,7 @@ function createInstance(config) {
62798
62800
  var createApi = apiFactory(context, usedPlugins);
62799
62801
  var root = createApi({
62800
62802
  name: 'root',
62801
- version: "0.4.1" || 0,
62803
+ version: "0.4.2-rc.3" || 0,
62802
62804
  spec: '',
62803
62805
  });
62804
62806
  var options = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__.createPiletOptions)({
@@ -64122,12 +64124,12 @@ function installPiralDebug(options) {
64122
64124
  debug: 'v0',
64123
64125
  instance: {
64124
64126
  name: "@axinom/mosaic-portal",
64125
- version: "0.4.1",
64127
+ version: "0.4.2-rc.3",
64126
64128
  dependencies: "",
64127
64129
  context,
64128
64130
  },
64129
64131
  build: {
64130
- date: "2022-02-21T09:43:52.752Z",
64132
+ date: "2022-02-22T14:36:14.924Z",
64131
64133
  cli: "0.13.9",
64132
64134
  compat: "0.13",
64133
64135
  },
@@ -101729,4 +101731,4 @@ var App = function App() {
101729
101731
 
101730
101732
  /******/ })()
101731
101733
  ;
101732
- //# sourceMappingURL=index.6cd2c5.js.map
101734
+ //# sourceMappingURL=index.f01852.js.map