@yklyklpackages/message-card 0.6.0 → 0.6.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.umd.js CHANGED
@@ -2047,7 +2047,7 @@
2047
2047
  var ys = arrObjKeys(obj, inspect2);
2048
2048
  var isPlainObject2 = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
2049
2049
  var protoTag = obj instanceof Object ? "" : "null prototype";
2050
- var stringTag = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
2050
+ var stringTag = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr$1(obj), 8, -1) : protoTag ? "Object" : "";
2051
2051
  var constructorTag = isPlainObject2 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
2052
2052
  var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat$1.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
2053
2053
  if (ys.length === 0) {
@@ -2072,25 +2072,25 @@
2072
2072
  return !toStringTag$1 || !(typeof obj === "object" && (toStringTag$1 in obj || typeof obj[toStringTag$1] !== "undefined"));
2073
2073
  }
2074
2074
  function isArray$4(obj) {
2075
- return toStr(obj) === "[object Array]" && canTrustToString(obj);
2075
+ return toStr$1(obj) === "[object Array]" && canTrustToString(obj);
2076
2076
  }
2077
2077
  function isDate$1(obj) {
2078
- return toStr(obj) === "[object Date]" && canTrustToString(obj);
2078
+ return toStr$1(obj) === "[object Date]" && canTrustToString(obj);
2079
2079
  }
2080
2080
  function isRegExp$2(obj) {
2081
- return toStr(obj) === "[object RegExp]" && canTrustToString(obj);
2081
+ return toStr$1(obj) === "[object RegExp]" && canTrustToString(obj);
2082
2082
  }
2083
2083
  function isError(obj) {
2084
- return toStr(obj) === "[object Error]" && canTrustToString(obj);
2084
+ return toStr$1(obj) === "[object Error]" && canTrustToString(obj);
2085
2085
  }
2086
2086
  function isString$2(obj) {
2087
- return toStr(obj) === "[object String]" && canTrustToString(obj);
2087
+ return toStr$1(obj) === "[object String]" && canTrustToString(obj);
2088
2088
  }
2089
2089
  function isNumber$1(obj) {
2090
- return toStr(obj) === "[object Number]" && canTrustToString(obj);
2090
+ return toStr$1(obj) === "[object Number]" && canTrustToString(obj);
2091
2091
  }
2092
2092
  function isBoolean$1(obj) {
2093
- return toStr(obj) === "[object Boolean]" && canTrustToString(obj);
2093
+ return toStr$1(obj) === "[object Boolean]" && canTrustToString(obj);
2094
2094
  }
2095
2095
  function isSymbol(obj) {
2096
2096
  if (hasShammedSymbols) {
@@ -2126,7 +2126,7 @@
2126
2126
  function has$3(obj, key) {
2127
2127
  return hasOwn$1.call(obj, key);
2128
2128
  }
2129
- function toStr(obj) {
2129
+ function toStr$1(obj) {
2130
2130
  return objectToString.call(obj);
2131
2131
  }
2132
2132
  function nameOf(f) {
@@ -2435,7 +2435,7 @@
2435
2435
  var uri = URIError;
2436
2436
  var abs$2 = Math.abs;
2437
2437
  var floor$1 = Math.floor;
2438
- var max$1 = Math.max;
2438
+ var max$2 = Math.max;
2439
2439
  var min$1 = Math.min;
2440
2440
  var pow$1 = Math.pow;
2441
2441
  var round$2 = Math.round;
@@ -2564,99 +2564,78 @@
2564
2564
  Object_getPrototypeOf = $Object2.getPrototypeOf || null;
2565
2565
  return Object_getPrototypeOf;
2566
2566
  }
2567
- var implementation;
2568
- var hasRequiredImplementation;
2569
- function requireImplementation() {
2570
- if (hasRequiredImplementation) return implementation;
2571
- hasRequiredImplementation = 1;
2572
- var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
2573
- var toStr2 = Object.prototype.toString;
2574
- var max2 = Math.max;
2575
- var funcType = "[object Function]";
2576
- var concatty = function concatty2(a, b) {
2577
- var arr = [];
2578
- for (var i = 0; i < a.length; i += 1) {
2579
- arr[i] = a[i];
2580
- }
2581
- for (var j2 = 0; j2 < b.length; j2 += 1) {
2582
- arr[j2 + a.length] = b[j2];
2583
- }
2584
- return arr;
2585
- };
2586
- var slicy = function slicy2(arrLike, offset) {
2587
- var arr = [];
2588
- for (var i = offset, j2 = 0; i < arrLike.length; i += 1, j2 += 1) {
2589
- arr[j2] = arrLike[i];
2567
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
2568
+ var toStr = Object.prototype.toString;
2569
+ var max$1 = Math.max;
2570
+ var funcType = "[object Function]";
2571
+ var concatty = function concatty2(a, b) {
2572
+ var arr = [];
2573
+ for (var i = 0; i < a.length; i += 1) {
2574
+ arr[i] = a[i];
2575
+ }
2576
+ for (var j2 = 0; j2 < b.length; j2 += 1) {
2577
+ arr[j2 + a.length] = b[j2];
2578
+ }
2579
+ return arr;
2580
+ };
2581
+ var slicy = function slicy2(arrLike, offset) {
2582
+ var arr = [];
2583
+ for (var i = offset, j2 = 0; i < arrLike.length; i += 1, j2 += 1) {
2584
+ arr[j2] = arrLike[i];
2585
+ }
2586
+ return arr;
2587
+ };
2588
+ var joiny = function(arr, joiner) {
2589
+ var str = "";
2590
+ for (var i = 0; i < arr.length; i += 1) {
2591
+ str += arr[i];
2592
+ if (i + 1 < arr.length) {
2593
+ str += joiner;
2590
2594
  }
2591
- return arr;
2592
- };
2593
- var joiny = function(arr, joiner) {
2594
- var str = "";
2595
- for (var i = 0; i < arr.length; i += 1) {
2596
- str += arr[i];
2597
- if (i + 1 < arr.length) {
2598
- str += joiner;
2595
+ }
2596
+ return str;
2597
+ };
2598
+ var implementation$1 = function bind2(that) {
2599
+ var target = this;
2600
+ if (typeof target !== "function" || toStr.apply(target) !== funcType) {
2601
+ throw new TypeError(ERROR_MESSAGE + target);
2602
+ }
2603
+ var args = slicy(arguments, 1);
2604
+ var bound;
2605
+ var binder = function() {
2606
+ if (this instanceof bound) {
2607
+ var result = target.apply(
2608
+ this,
2609
+ concatty(args, arguments)
2610
+ );
2611
+ if (Object(result) === result) {
2612
+ return result;
2599
2613
  }
2614
+ return this;
2600
2615
  }
2601
- return str;
2616
+ return target.apply(
2617
+ that,
2618
+ concatty(args, arguments)
2619
+ );
2602
2620
  };
2603
- implementation = function bind2(that) {
2604
- var target = this;
2605
- if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
2606
- throw new TypeError(ERROR_MESSAGE + target);
2607
- }
2608
- var args = slicy(arguments, 1);
2609
- var bound;
2610
- var binder = function() {
2611
- if (this instanceof bound) {
2612
- var result = target.apply(
2613
- this,
2614
- concatty(args, arguments)
2615
- );
2616
- if (Object(result) === result) {
2617
- return result;
2618
- }
2619
- return this;
2620
- }
2621
- return target.apply(
2622
- that,
2623
- concatty(args, arguments)
2624
- );
2621
+ var boundLength = max$1(0, target.length - args.length);
2622
+ var boundArgs = [];
2623
+ for (var i = 0; i < boundLength; i++) {
2624
+ boundArgs[i] = "$" + i;
2625
+ }
2626
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
2627
+ if (target.prototype) {
2628
+ var Empty2 = function Empty3() {
2625
2629
  };
2626
- var boundLength = max2(0, target.length - args.length);
2627
- var boundArgs = [];
2628
- for (var i = 0; i < boundLength; i++) {
2629
- boundArgs[i] = "$" + i;
2630
- }
2631
- bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
2632
- if (target.prototype) {
2633
- var Empty2 = function Empty3() {
2634
- };
2635
- Empty2.prototype = target.prototype;
2636
- bound.prototype = new Empty2();
2637
- Empty2.prototype = null;
2638
- }
2639
- return bound;
2640
- };
2641
- return implementation;
2642
- }
2643
- var functionBind;
2644
- var hasRequiredFunctionBind;
2645
- function requireFunctionBind() {
2646
- if (hasRequiredFunctionBind) return functionBind;
2647
- hasRequiredFunctionBind = 1;
2648
- var implementation2 = requireImplementation();
2649
- functionBind = Function.prototype.bind || implementation2;
2650
- return functionBind;
2651
- }
2652
- var functionCall;
2653
- var hasRequiredFunctionCall;
2654
- function requireFunctionCall() {
2655
- if (hasRequiredFunctionCall) return functionCall;
2656
- hasRequiredFunctionCall = 1;
2657
- functionCall = Function.prototype.call;
2658
- return functionCall;
2659
- }
2630
+ Empty2.prototype = target.prototype;
2631
+ bound.prototype = new Empty2();
2632
+ Empty2.prototype = null;
2633
+ }
2634
+ return bound;
2635
+ };
2636
+ var implementation = implementation$1;
2637
+ var functionBind = Function.prototype.bind || implementation;
2638
+ var functionCall = Function.prototype.call;
2660
2639
  var functionApply;
2661
2640
  var hasRequiredFunctionApply;
2662
2641
  function requireFunctionApply() {
@@ -2666,14 +2645,14 @@
2666
2645
  return functionApply;
2667
2646
  }
2668
2647
  var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
2669
- var bind$3 = requireFunctionBind();
2648
+ var bind$3 = functionBind;
2670
2649
  var $apply$1 = requireFunctionApply();
2671
- var $call$2 = requireFunctionCall();
2650
+ var $call$2 = functionCall;
2672
2651
  var $reflectApply = reflectApply;
2673
2652
  var actualApply = $reflectApply || bind$3.call($call$2, $apply$1);
2674
- var bind$2 = requireFunctionBind();
2653
+ var bind$2 = functionBind;
2675
2654
  var $TypeError$4 = type$2;
2676
- var $call$1 = requireFunctionCall();
2655
+ var $call$1 = functionCall;
2677
2656
  var $actualApply = actualApply;
2678
2657
  var callBindApplyHelpers = function callBindBasic2(args) {
2679
2658
  if (args.length < 1 || typeof args[0] !== "function") {
@@ -2739,7 +2718,7 @@
2739
2718
  hasRequiredHasown = 1;
2740
2719
  var call2 = Function.prototype.call;
2741
2720
  var $hasOwn = Object.prototype.hasOwnProperty;
2742
- var bind2 = requireFunctionBind();
2721
+ var bind2 = functionBind;
2743
2722
  hasown = bind2.call(call2, $hasOwn);
2744
2723
  return hasown;
2745
2724
  }
@@ -2754,7 +2733,7 @@
2754
2733
  var $URIError = uri;
2755
2734
  var abs$1 = abs$2;
2756
2735
  var floor = floor$1;
2757
- var max = max$1;
2736
+ var max = max$2;
2758
2737
  var min = min$1;
2759
2738
  var pow = pow$1;
2760
2739
  var round$1 = round$2;
@@ -2788,7 +2767,7 @@
2788
2767
  var $ObjectGPO = requireObject_getPrototypeOf();
2789
2768
  var $ReflectGPO = requireReflect_getPrototypeOf();
2790
2769
  var $apply = requireFunctionApply();
2791
- var $call = requireFunctionCall();
2770
+ var $call = functionCall;
2792
2771
  var needsEval = {};
2793
2772
  var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
2794
2773
  var INTRINSICS = {
@@ -2959,7 +2938,7 @@
2959
2938
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
2960
2939
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
2961
2940
  };
2962
- var bind$1 = requireFunctionBind();
2941
+ var bind$1 = functionBind;
2963
2942
  var hasOwn = requireHasown();
2964
2943
  var $concat = bind$1.call($call, Array.prototype.concat);
2965
2944
  var $spliceApply = bind$1.call($apply, Array.prototype.splice);
@@ -4652,6 +4631,7 @@
4652
4631
  const buildItemContainerStyle = (index2, count, props, horizontal = false, scale = 1) => {
4653
4632
  const style2 = __spreadValues$q({
4654
4633
  width: (props == null ? void 0 : props.flexDirection) === "row" ? "auto" : "100%",
4634
+ flexDirection: props.direction || "column",
4655
4635
  height: "auto",
4656
4636
  boxSizing: "border-box",
4657
4637
  display: "flex",