@yklyklpackages/message-card 0.6.1 → 0.6.2

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 +1 @@
1
- {"version":3,"file":"MultipleColumnLayout.d.ts","sourceRoot":"","sources":["../../../src/components/layout/MultipleColumnLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAUtD;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC,KAAK,CAAC,EAAE,WAAW,GAAG;QAAE,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;KAAE,CAAC;IACnD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACnC;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAmD3D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"MultipleColumnLayout.d.ts","sourceRoot":"","sources":["../../../src/components/layout/MultipleColumnLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAUtD;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC,KAAK,CAAC,EAAE,WAAW,GAAG;QAAE,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;KAAE,CAAC;IACnD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACnC;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAkD3D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
package/dist/index.cjs CHANGED
@@ -2048,7 +2048,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
2048
2048
  var ys = arrObjKeys(obj, inspect2);
2049
2049
  var isPlainObject2 = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
2050
2050
  var protoTag = obj instanceof Object ? "" : "null prototype";
2051
- var stringTag = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr$1(obj), 8, -1) : protoTag ? "Object" : "";
2051
+ var stringTag = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
2052
2052
  var constructorTag = isPlainObject2 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
2053
2053
  var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat$1.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
2054
2054
  if (ys.length === 0) {
@@ -2073,25 +2073,25 @@ function canTrustToString(obj) {
2073
2073
  return !toStringTag$1 || !(typeof obj === "object" && (toStringTag$1 in obj || typeof obj[toStringTag$1] !== "undefined"));
2074
2074
  }
2075
2075
  function isArray$4(obj) {
2076
- return toStr$1(obj) === "[object Array]" && canTrustToString(obj);
2076
+ return toStr(obj) === "[object Array]" && canTrustToString(obj);
2077
2077
  }
2078
2078
  function isDate$1(obj) {
2079
- return toStr$1(obj) === "[object Date]" && canTrustToString(obj);
2079
+ return toStr(obj) === "[object Date]" && canTrustToString(obj);
2080
2080
  }
2081
2081
  function isRegExp$2(obj) {
2082
- return toStr$1(obj) === "[object RegExp]" && canTrustToString(obj);
2082
+ return toStr(obj) === "[object RegExp]" && canTrustToString(obj);
2083
2083
  }
2084
2084
  function isError(obj) {
2085
- return toStr$1(obj) === "[object Error]" && canTrustToString(obj);
2085
+ return toStr(obj) === "[object Error]" && canTrustToString(obj);
2086
2086
  }
2087
2087
  function isString$2(obj) {
2088
- return toStr$1(obj) === "[object String]" && canTrustToString(obj);
2088
+ return toStr(obj) === "[object String]" && canTrustToString(obj);
2089
2089
  }
2090
2090
  function isNumber$1(obj) {
2091
- return toStr$1(obj) === "[object Number]" && canTrustToString(obj);
2091
+ return toStr(obj) === "[object Number]" && canTrustToString(obj);
2092
2092
  }
2093
2093
  function isBoolean$1(obj) {
2094
- return toStr$1(obj) === "[object Boolean]" && canTrustToString(obj);
2094
+ return toStr(obj) === "[object Boolean]" && canTrustToString(obj);
2095
2095
  }
2096
2096
  function isSymbol(obj) {
2097
2097
  if (hasShammedSymbols) {
@@ -2127,7 +2127,7 @@ var hasOwn$1 = Object.prototype.hasOwnProperty || function(key) {
2127
2127
  function has$3(obj, key) {
2128
2128
  return hasOwn$1.call(obj, key);
2129
2129
  }
2130
- function toStr$1(obj) {
2130
+ function toStr(obj) {
2131
2131
  return objectToString.call(obj);
2132
2132
  }
2133
2133
  function nameOf(f) {
@@ -2436,7 +2436,7 @@ var syntax = SyntaxError;
2436
2436
  var uri = URIError;
2437
2437
  var abs$2 = Math.abs;
2438
2438
  var floor$1 = Math.floor;
2439
- var max$2 = Math.max;
2439
+ var max$1 = Math.max;
2440
2440
  var min$1 = Math.min;
2441
2441
  var pow$1 = Math.pow;
2442
2442
  var round$2 = Math.round;
@@ -2565,78 +2565,99 @@ function requireObject_getPrototypeOf() {
2565
2565
  Object_getPrototypeOf = $Object2.getPrototypeOf || null;
2566
2566
  return Object_getPrototypeOf;
2567
2567
  }
2568
- var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
2569
- var toStr = Object.prototype.toString;
2570
- var max$1 = Math.max;
2571
- var funcType = "[object Function]";
2572
- var concatty = function concatty2(a, b) {
2573
- var arr = [];
2574
- for (var i = 0; i < a.length; i += 1) {
2575
- arr[i] = a[i];
2576
- }
2577
- for (var j2 = 0; j2 < b.length; j2 += 1) {
2578
- arr[j2 + a.length] = b[j2];
2579
- }
2580
- return arr;
2581
- };
2582
- var slicy = function slicy2(arrLike, offset) {
2583
- var arr = [];
2584
- for (var i = offset, j2 = 0; i < arrLike.length; i += 1, j2 += 1) {
2585
- arr[j2] = arrLike[i];
2586
- }
2587
- return arr;
2588
- };
2589
- var joiny = function(arr, joiner) {
2590
- var str = "";
2591
- for (var i = 0; i < arr.length; i += 1) {
2592
- str += arr[i];
2593
- if (i + 1 < arr.length) {
2594
- str += joiner;
2568
+ var implementation;
2569
+ var hasRequiredImplementation;
2570
+ function requireImplementation() {
2571
+ if (hasRequiredImplementation) return implementation;
2572
+ hasRequiredImplementation = 1;
2573
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
2574
+ var toStr2 = Object.prototype.toString;
2575
+ var max2 = Math.max;
2576
+ var funcType = "[object Function]";
2577
+ var concatty = function concatty2(a, b) {
2578
+ var arr = [];
2579
+ for (var i = 0; i < a.length; i += 1) {
2580
+ arr[i] = a[i];
2595
2581
  }
2596
- }
2597
- return str;
2598
- };
2599
- var implementation$1 = function bind(that) {
2600
- var target = this;
2601
- if (typeof target !== "function" || toStr.apply(target) !== funcType) {
2602
- throw new TypeError(ERROR_MESSAGE + target);
2603
- }
2604
- var args = slicy(arguments, 1);
2605
- var bound;
2606
- var binder = function() {
2607
- if (this instanceof bound) {
2608
- var result = target.apply(
2609
- this,
2610
- concatty(args, arguments)
2611
- );
2612
- if (Object(result) === result) {
2613
- return result;
2582
+ for (var j2 = 0; j2 < b.length; j2 += 1) {
2583
+ arr[j2 + a.length] = b[j2];
2584
+ }
2585
+ return arr;
2586
+ };
2587
+ var slicy = function slicy2(arrLike, offset) {
2588
+ var arr = [];
2589
+ for (var i = offset, j2 = 0; i < arrLike.length; i += 1, j2 += 1) {
2590
+ arr[j2] = arrLike[i];
2591
+ }
2592
+ return arr;
2593
+ };
2594
+ var joiny = function(arr, joiner) {
2595
+ var str = "";
2596
+ for (var i = 0; i < arr.length; i += 1) {
2597
+ str += arr[i];
2598
+ if (i + 1 < arr.length) {
2599
+ str += joiner;
2614
2600
  }
2615
- return this;
2616
2601
  }
2617
- return target.apply(
2618
- that,
2619
- concatty(args, arguments)
2620
- );
2602
+ return str;
2621
2603
  };
2622
- var boundLength = max$1(0, target.length - args.length);
2623
- var boundArgs = [];
2624
- for (var i = 0; i < boundLength; i++) {
2625
- boundArgs[i] = "$" + i;
2626
- }
2627
- bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
2628
- if (target.prototype) {
2629
- var Empty2 = function Empty3() {
2604
+ implementation = function bind2(that) {
2605
+ var target = this;
2606
+ if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
2607
+ throw new TypeError(ERROR_MESSAGE + target);
2608
+ }
2609
+ var args = slicy(arguments, 1);
2610
+ var bound;
2611
+ var binder = function() {
2612
+ if (this instanceof bound) {
2613
+ var result = target.apply(
2614
+ this,
2615
+ concatty(args, arguments)
2616
+ );
2617
+ if (Object(result) === result) {
2618
+ return result;
2619
+ }
2620
+ return this;
2621
+ }
2622
+ return target.apply(
2623
+ that,
2624
+ concatty(args, arguments)
2625
+ );
2630
2626
  };
2631
- Empty2.prototype = target.prototype;
2632
- bound.prototype = new Empty2();
2633
- Empty2.prototype = null;
2634
- }
2635
- return bound;
2636
- };
2637
- var implementation = implementation$1;
2638
- var functionBind = Function.prototype.bind || implementation;
2639
- var functionCall = Function.prototype.call;
2627
+ var boundLength = max2(0, target.length - args.length);
2628
+ var boundArgs = [];
2629
+ for (var i = 0; i < boundLength; i++) {
2630
+ boundArgs[i] = "$" + i;
2631
+ }
2632
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
2633
+ if (target.prototype) {
2634
+ var Empty2 = function Empty3() {
2635
+ };
2636
+ Empty2.prototype = target.prototype;
2637
+ bound.prototype = new Empty2();
2638
+ Empty2.prototype = null;
2639
+ }
2640
+ return bound;
2641
+ };
2642
+ return implementation;
2643
+ }
2644
+ var functionBind;
2645
+ var hasRequiredFunctionBind;
2646
+ function requireFunctionBind() {
2647
+ if (hasRequiredFunctionBind) return functionBind;
2648
+ hasRequiredFunctionBind = 1;
2649
+ var implementation2 = requireImplementation();
2650
+ functionBind = Function.prototype.bind || implementation2;
2651
+ return functionBind;
2652
+ }
2653
+ var functionCall;
2654
+ var hasRequiredFunctionCall;
2655
+ function requireFunctionCall() {
2656
+ if (hasRequiredFunctionCall) return functionCall;
2657
+ hasRequiredFunctionCall = 1;
2658
+ functionCall = Function.prototype.call;
2659
+ return functionCall;
2660
+ }
2640
2661
  var functionApply;
2641
2662
  var hasRequiredFunctionApply;
2642
2663
  function requireFunctionApply() {
@@ -2646,14 +2667,14 @@ function requireFunctionApply() {
2646
2667
  return functionApply;
2647
2668
  }
2648
2669
  var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
2649
- var bind$3 = functionBind;
2670
+ var bind$3 = requireFunctionBind();
2650
2671
  var $apply$1 = requireFunctionApply();
2651
- var $call$2 = functionCall;
2672
+ var $call$2 = requireFunctionCall();
2652
2673
  var $reflectApply = reflectApply;
2653
2674
  var actualApply = $reflectApply || bind$3.call($call$2, $apply$1);
2654
- var bind$2 = functionBind;
2675
+ var bind$2 = requireFunctionBind();
2655
2676
  var $TypeError$4 = type$2;
2656
- var $call$1 = functionCall;
2677
+ var $call$1 = requireFunctionCall();
2657
2678
  var $actualApply = actualApply;
2658
2679
  var callBindApplyHelpers = function callBindBasic(args) {
2659
2680
  if (args.length < 1 || typeof args[0] !== "function") {
@@ -2719,8 +2740,8 @@ function requireHasown() {
2719
2740
  hasRequiredHasown = 1;
2720
2741
  var call2 = Function.prototype.call;
2721
2742
  var $hasOwn = Object.prototype.hasOwnProperty;
2722
- var bind3 = functionBind;
2723
- hasown = bind3.call(call2, $hasOwn);
2743
+ var bind2 = requireFunctionBind();
2744
+ hasown = bind2.call(call2, $hasOwn);
2724
2745
  return hasown;
2725
2746
  }
2726
2747
  var undefined$1;
@@ -2734,7 +2755,7 @@ var $TypeError$3 = type$2;
2734
2755
  var $URIError = uri;
2735
2756
  var abs$1 = abs$2;
2736
2757
  var floor = floor$1;
2737
- var max = max$2;
2758
+ var max = max$1;
2738
2759
  var min = min$1;
2739
2760
  var pow = pow$1;
2740
2761
  var round$1 = round$2;
@@ -2768,7 +2789,7 @@ var getProto = requireGetProto();
2768
2789
  var $ObjectGPO = requireObject_getPrototypeOf();
2769
2790
  var $ReflectGPO = requireReflect_getPrototypeOf();
2770
2791
  var $apply = requireFunctionApply();
2771
- var $call = functionCall;
2792
+ var $call = requireFunctionCall();
2772
2793
  var needsEval = {};
2773
2794
  var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
2774
2795
  var INTRINSICS = {
@@ -2939,7 +2960,7 @@ var LEGACY_ALIASES = {
2939
2960
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
2940
2961
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
2941
2962
  };
2942
- var bind$1 = functionBind;
2963
+ var bind$1 = requireFunctionBind();
2943
2964
  var hasOwn = requireHasown();
2944
2965
  var $concat = bind$1.call($call, Array.prototype.concat);
2945
2966
  var $spliceApply = bind$1.call($apply, Array.prototype.splice);
@@ -4867,16 +4888,14 @@ const MultipleColumnLayout = ({
4867
4888
  });
4868
4889
  const itemContainerStyle = (child, idx) => {
4869
4890
  return __spreadProps$m(__spreadValues$o({}, buildItemContainerStyle(idx, count, props, true, scale)), {
4870
- flexShrink: itemFlexShrink(child),
4891
+ flexShrink: itemFlexShrink(),
4871
4892
  width: void 0
4872
4893
  });
4873
4894
  };
4874
4895
  const items = React.Children.toArray(children);
4875
4896
  const count = items.length;
4876
4897
  const itemFlexShrink = (child) => {
4877
- var _a, _b;
4878
- if (((_b = (_a = child == null ? void 0 : child.props) == null ? void 0 : _a.node) == null ? void 0 : _b.props.flexShrink) == 0) return 0;
4879
- return 1;
4898
+ return 0;
4880
4899
  };
4881
4900
  const handleClick = (e) => {
4882
4901
  if (props.actions) {
@@ -30515,7 +30534,7 @@ class CacheStorage {
30515
30534
  }
30516
30535
  }
30517
30536
  }
30518
- function bind2(fn, thisArg) {
30537
+ function bind(fn, thisArg) {
30519
30538
  return function wrap() {
30520
30539
  return fn.apply(thisArg, arguments);
30521
30540
  };
@@ -30653,7 +30672,7 @@ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
30653
30672
  forEach(b, (val, key) => {
30654
30673
  if (thisArg && isFunction$1(val)) {
30655
30674
  Object.defineProperty(a, key, {
30656
- value: bind2(val, thisArg),
30675
+ value: bind(val, thisArg),
30657
30676
  writable: true,
30658
30677
  enumerable: true,
30659
30678
  configurable: true
@@ -32970,7 +32989,7 @@ Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
32970
32989
  });
32971
32990
  function createInstance(defaultConfig2) {
32972
32991
  const context = new Axios$1(defaultConfig2);
32973
- const instance = bind2(Axios$1.prototype.request, context);
32992
+ const instance = bind(Axios$1.prototype.request, context);
32974
32993
  utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
32975
32994
  utils$1.extend(instance, context, null, { allOwnKeys: true });
32976
32995
  instance.create = function create(instanceConfig) {