se-design 0.0.112 → 0.0.113

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.
Files changed (222) hide show
  1. package/dist/assets/style.css +1 -1
  2. package/dist/components/Banner/index.d.ts +4 -0
  3. package/dist/components/LabelChip/index.d.ts +1 -0
  4. package/dist/components/SearchBox/index.d.ts +13 -0
  5. package/dist/components/index.d.ts +1 -0
  6. package/dist/index.js +26 -24
  7. package/dist/index.js.map +1 -1
  8. package/dist/index100.js +1 -1
  9. package/dist/index100.js.map +1 -1
  10. package/dist/index101.js +2 -2
  11. package/dist/index101.js.map +1 -1
  12. package/dist/index102.js +2 -2
  13. package/dist/index102.js.map +1 -1
  14. package/dist/index103.js +2 -2
  15. package/dist/index103.js.map +1 -1
  16. package/dist/index104.js +2 -2
  17. package/dist/index104.js.map +1 -1
  18. package/dist/index105.js +1 -1
  19. package/dist/index105.js.map +1 -1
  20. package/dist/index106.js +1 -1
  21. package/dist/index106.js.map +1 -1
  22. package/dist/index107.js +1 -1
  23. package/dist/index107.js.map +1 -1
  24. package/dist/index108.js +1 -1
  25. package/dist/index108.js.map +1 -1
  26. package/dist/index109.js +2 -2
  27. package/dist/index109.js.map +1 -1
  28. package/dist/index110.js +2 -2
  29. package/dist/index110.js.map +1 -1
  30. package/dist/index111.js +2 -2
  31. package/dist/index111.js.map +1 -1
  32. package/dist/index112.js +2 -149
  33. package/dist/index112.js.map +1 -1
  34. package/dist/index113.js +152 -0
  35. package/dist/index113.js.map +1 -0
  36. package/dist/index124.js +15 -0
  37. package/dist/index124.js.map +1 -0
  38. package/dist/index132.js +1233 -5
  39. package/dist/index132.js.map +1 -1
  40. package/dist/index133.js +9 -169
  41. package/dist/index133.js.map +1 -1
  42. package/dist/index134.js +10 -11
  43. package/dist/index134.js.map +1 -1
  44. package/dist/index135.js +4 -5
  45. package/dist/index135.js.map +1 -1
  46. package/dist/index136.js +170 -6
  47. package/dist/index136.js.map +1 -1
  48. package/dist/index137.js +11 -38
  49. package/dist/index137.js.map +1 -1
  50. package/dist/index138.js +6 -2
  51. package/dist/index138.js.map +1 -1
  52. package/dist/index139.js +5 -7
  53. package/dist/index139.js.map +1 -1
  54. package/dist/index140.js +36 -325
  55. package/dist/index140.js.map +1 -1
  56. package/dist/index141.js +2 -50
  57. package/dist/index141.js.map +1 -1
  58. package/dist/index142.js +8 -2
  59. package/dist/index142.js.map +1 -1
  60. package/dist/index143.js +323 -72
  61. package/dist/index143.js.map +1 -1
  62. package/dist/index144.js +47 -90
  63. package/dist/index144.js.map +1 -1
  64. package/dist/index145.js +2 -52
  65. package/dist/index145.js.map +1 -1
  66. package/dist/index146.js +75 -7
  67. package/dist/index146.js.map +1 -1
  68. package/dist/index147.js +92 -4
  69. package/dist/index147.js.map +1 -1
  70. package/dist/index148.js +48 -48
  71. package/dist/index148.js.map +1 -1
  72. package/dist/index149.js +8 -2
  73. package/dist/index149.js.map +1 -1
  74. package/dist/index150.js +5 -2
  75. package/dist/index150.js.map +1 -1
  76. package/dist/index151.js +55 -0
  77. package/dist/index151.js.map +1 -0
  78. package/dist/index152.js +5 -0
  79. package/dist/index152.js.map +1 -0
  80. package/dist/index153.js +5 -0
  81. package/dist/index153.js.map +1 -0
  82. package/dist/index27.js +34 -22
  83. package/dist/index27.js.map +1 -1
  84. package/dist/index36.js +75 -31
  85. package/dist/index36.js.map +1 -1
  86. package/dist/index37.js +26 -44
  87. package/dist/index37.js.map +1 -1
  88. package/dist/index38.js +45 -64
  89. package/dist/index38.js.map +1 -1
  90. package/dist/index39.js +65 -60
  91. package/dist/index39.js.map +1 -1
  92. package/dist/index4.js +68 -68
  93. package/dist/index40.js +61 -69
  94. package/dist/index40.js.map +1 -1
  95. package/dist/index41.js +68 -81
  96. package/dist/index41.js.map +1 -1
  97. package/dist/index42.js +84 -35
  98. package/dist/index42.js.map +1 -1
  99. package/dist/index43.js +34 -26
  100. package/dist/index43.js.map +1 -1
  101. package/dist/index44.js +28 -28
  102. package/dist/index44.js.map +1 -1
  103. package/dist/index45.js +30 -2
  104. package/dist/index45.js.map +1 -1
  105. package/dist/index46.js +1 -1
  106. package/dist/index46.js.map +1 -1
  107. package/dist/index47.js +1 -1
  108. package/dist/index47.js.map +1 -1
  109. package/dist/index48.js +1 -1
  110. package/dist/index48.js.map +1 -1
  111. package/dist/index49.js +1 -1
  112. package/dist/index49.js.map +1 -1
  113. package/dist/index50.js +1 -1
  114. package/dist/index50.js.map +1 -1
  115. package/dist/index51.js +1 -1
  116. package/dist/index51.js.map +1 -1
  117. package/dist/index52.js +1 -1
  118. package/dist/index52.js.map +1 -1
  119. package/dist/index53.js +1 -1
  120. package/dist/index53.js.map +1 -1
  121. package/dist/index54.js +1 -1
  122. package/dist/index54.js.map +1 -1
  123. package/dist/index55.js +1 -1
  124. package/dist/index55.js.map +1 -1
  125. package/dist/index56.js +1 -1
  126. package/dist/index56.js.map +1 -1
  127. package/dist/index57.js +1 -1
  128. package/dist/index57.js.map +1 -1
  129. package/dist/index58.js +1 -1
  130. package/dist/index58.js.map +1 -1
  131. package/dist/index59.js +1 -1
  132. package/dist/index59.js.map +1 -1
  133. package/dist/index60.js +2 -2
  134. package/dist/index60.js.map +1 -1
  135. package/dist/index61.js +2 -2
  136. package/dist/index61.js.map +1 -1
  137. package/dist/index62.js +1 -1
  138. package/dist/index62.js.map +1 -1
  139. package/dist/index63.js +1 -1
  140. package/dist/index63.js.map +1 -1
  141. package/dist/index64.js +1 -1
  142. package/dist/index64.js.map +1 -1
  143. package/dist/index65.js +1 -1
  144. package/dist/index65.js.map +1 -1
  145. package/dist/index66.js +1 -1
  146. package/dist/index66.js.map +1 -1
  147. package/dist/index67.js +2 -2
  148. package/dist/index67.js.map +1 -1
  149. package/dist/index68.js +2 -2
  150. package/dist/index68.js.map +1 -1
  151. package/dist/index69.js +1 -1
  152. package/dist/index69.js.map +1 -1
  153. package/dist/index70.js +1 -1
  154. package/dist/index70.js.map +1 -1
  155. package/dist/index71.js +1 -1
  156. package/dist/index71.js.map +1 -1
  157. package/dist/index72.js +2 -2
  158. package/dist/index72.js.map +1 -1
  159. package/dist/index73.js +1 -1
  160. package/dist/index73.js.map +1 -1
  161. package/dist/index74.js +2 -2
  162. package/dist/index74.js.map +1 -1
  163. package/dist/index75.js +1 -1
  164. package/dist/index75.js.map +1 -1
  165. package/dist/index76.js +1 -1
  166. package/dist/index76.js.map +1 -1
  167. package/dist/index77.js +1 -1
  168. package/dist/index77.js.map +1 -1
  169. package/dist/index78.js +1 -1
  170. package/dist/index78.js.map +1 -1
  171. package/dist/index79.js +1 -1
  172. package/dist/index79.js.map +1 -1
  173. package/dist/index8.js +21 -18
  174. package/dist/index8.js.map +1 -1
  175. package/dist/index80.js +1 -1
  176. package/dist/index80.js.map +1 -1
  177. package/dist/index81.js +1 -1
  178. package/dist/index81.js.map +1 -1
  179. package/dist/index82.js +1 -1
  180. package/dist/index82.js.map +1 -1
  181. package/dist/index83.js +1 -1
  182. package/dist/index83.js.map +1 -1
  183. package/dist/index84.js +1 -1
  184. package/dist/index84.js.map +1 -1
  185. package/dist/index85.js +1 -1
  186. package/dist/index85.js.map +1 -1
  187. package/dist/index86.js +1 -1
  188. package/dist/index86.js.map +1 -1
  189. package/dist/index87.js +1 -1
  190. package/dist/index87.js.map +1 -1
  191. package/dist/index88.js +2 -2
  192. package/dist/index88.js.map +1 -1
  193. package/dist/index89.js +2 -2
  194. package/dist/index89.js.map +1 -1
  195. package/dist/index90.js +2 -2
  196. package/dist/index90.js.map +1 -1
  197. package/dist/index91.js +1 -1
  198. package/dist/index91.js.map +1 -1
  199. package/dist/index92.js +1 -1
  200. package/dist/index92.js.map +1 -1
  201. package/dist/index93.js +1 -1
  202. package/dist/index93.js.map +1 -1
  203. package/dist/index94.js +1 -1
  204. package/dist/index94.js.map +1 -1
  205. package/dist/index95.js +1 -1
  206. package/dist/index95.js.map +1 -1
  207. package/dist/index96.js +1 -1
  208. package/dist/index96.js.map +1 -1
  209. package/dist/index97.js +1 -1
  210. package/dist/index97.js.map +1 -1
  211. package/dist/index98.js +2 -2
  212. package/dist/index98.js.map +1 -1
  213. package/dist/index99.js +2 -2
  214. package/dist/index99.js.map +1 -1
  215. package/dist/typographyMixin.scss +60 -21
  216. package/package.json +1 -1
  217. package/dist/index129.js +0 -1236
  218. package/dist/index129.js.map +0 -1
  219. package/dist/index130.js +0 -13
  220. package/dist/index130.js.map +0 -1
  221. package/dist/index131.js +0 -13
  222. package/dist/index131.js.map +0 -1
package/dist/index148.js CHANGED
@@ -1,55 +1,55 @@
1
- import { __require as E } from "./index146.js";
2
- import { __require as _ } from "./index147.js";
3
- var f, v;
4
- function P() {
5
- if (v) return f;
6
- v = 1;
7
- var o = function() {
8
- };
9
- if (process.env.NODE_ENV !== "production") {
10
- var y = E(), t = {}, d = _();
11
- o = function(n) {
12
- var a = "Warning: " + n;
13
- typeof console != "undefined" && console.error(a);
14
- try {
15
- throw new Error(a);
16
- } catch (i) {
17
- }
18
- };
1
+ /*
2
+ object-assign
3
+ (c) Sindre Sorhus
4
+ @license MIT
5
+ */
6
+ var f, i;
7
+ function p() {
8
+ if (i) return f;
9
+ i = 1;
10
+ var u = Object.getOwnPropertySymbols, b = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
11
+ function O(n) {
12
+ if (n == null)
13
+ throw new TypeError("Object.assign cannot be called with null or undefined");
14
+ return Object(n);
19
15
  }
20
- function u(n, a, i, s, c) {
21
- if (process.env.NODE_ENV !== "production") {
22
- for (var e in n)
23
- if (d(n, e)) {
24
- var r;
25
- try {
26
- if (typeof n[e] != "function") {
27
- var h = Error(
28
- (s || "React class") + ": " + i + " type `" + e + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[e] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
29
- );
30
- throw h.name = "Invariant Violation", h;
31
- }
32
- r = n[e](a, e, s, i, null, y);
33
- } catch (l) {
34
- r = l;
35
- }
36
- if (r && !(r instanceof Error) && o(
37
- (s || "React class") + ": type specification of " + i + " `" + e + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof r + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
38
- ), r instanceof Error && !(r.message in t)) {
39
- t[r.message] = !0;
40
- var p = c ? c() : "";
41
- o(
42
- "Failed " + i + " type: " + r.message + (p != null ? p : "")
43
- );
44
- }
45
- }
16
+ function j() {
17
+ try {
18
+ if (!Object.assign)
19
+ return !1;
20
+ var n = new String("abc");
21
+ if (n[5] = "de", Object.getOwnPropertyNames(n)[0] === "5")
22
+ return !1;
23
+ for (var s = {}, r = 0; r < 10; r++)
24
+ s["_" + String.fromCharCode(r)] = r;
25
+ var a = Object.getOwnPropertyNames(s).map(function(e) {
26
+ return s[e];
27
+ });
28
+ if (a.join("") !== "0123456789")
29
+ return !1;
30
+ var t = {};
31
+ return "abcdefghijklmnopqrst".split("").forEach(function(e) {
32
+ t[e] = e;
33
+ }), Object.keys(Object.assign({}, t)).join("") === "abcdefghijklmnopqrst";
34
+ } catch (e) {
35
+ return !1;
46
36
  }
47
37
  }
48
- return u.resetWarningCache = function() {
49
- process.env.NODE_ENV !== "production" && (t = {});
50
- }, f = u, f;
38
+ return f = j() ? Object.assign : function(n, s) {
39
+ for (var r, a = O(n), t, e = 1; e < arguments.length; e++) {
40
+ r = Object(arguments[e]);
41
+ for (var c in r)
42
+ b.call(r, c) && (a[c] = r[c]);
43
+ if (u) {
44
+ t = u(r);
45
+ for (var o = 0; o < t.length; o++)
46
+ l.call(r, t[o]) && (a[t[o]] = r[t[o]]);
47
+ }
48
+ }
49
+ return a;
50
+ }, f;
51
51
  }
52
52
  export {
53
- P as __require
53
+ p as __require
54
54
  };
55
55
  //# sourceMappingURL=index148.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index148.js","sources":["../node_modules/prop-types/checkPropTypes.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = require('./lib/has');\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) { /**/ }\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +\n 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n"],"names":["printWarning","ReactPropTypesSecret","require$$0","loggedTypeFailures","has","require$$1","text","message","x","checkPropTypes","typeSpecs","values","location","componentName","getStack","typeSpecName","error","err","ex","stack","checkPropTypes_1"],"mappings":";;;;;;AASA,MAAIA,IAAe,WAAW;AAAA,EAAE;AAEhC,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,QAAIC,IAAuBC,EAAqC,GAC5DC,IAAqB,CAAE,GACvBC,IAAMC,EAAoB;AAE9B,IAAAL,IAAe,SAASM,GAAM;AAC5B,UAAIC,IAAU,cAAcD;AAC5B,MAAI,OAAO,WAAY,eACrB,QAAQ,MAAMC,CAAO;AAEvB,UAAI;AAIF,cAAM,IAAI,MAAMA,CAAO;AAAA,MACxB,SAAQC,GAAG;AAAA,MAAA;AAAA,IACb;AAAA;AAcH,WAASC,EAAeC,GAAWC,GAAQC,GAAUC,GAAeC,GAAU;AAC5E,QAAI,QAAQ,IAAI,aAAa;AAC3B,eAASC,KAAgBL;AACvB,YAAIN,EAAIM,GAAWK,CAAY,GAAG;AAChC,cAAIC;AAIJ,cAAI;AAGF,gBAAI,OAAON,EAAUK,CAAY,KAAM,YAAY;AACjD,kBAAIE,IAAM;AAAA,iBACPJ,KAAiB,iBAAiB,OAAOD,IAAW,YAAYG,IAAe,+FACC,OAAOL,EAAUK,CAAY,IAAI;AAAA,cAEnH;AACD,oBAAAE,EAAI,OAAO,uBACLA;AAAA;AAER,YAAAD,IAAQN,EAAUK,CAAY,EAAEJ,GAAQI,GAAcF,GAAeD,GAAU,MAAMX,CAAoB;AAAA,UAC1G,SAAQiB,GAAI;AACX,YAAAF,IAAQE;AAAA;AAYV,cAVIF,KAAS,EAAEA,aAAiB,UAC9BhB;AAAA,aACGa,KAAiB,iBAAiB,6BACnCD,IAAW,OAAOG,IAAe,6FAC6B,OAAOC,IAAQ;AAAA,UAI9E,GAECA,aAAiB,SAAS,EAAEA,EAAM,WAAWb,IAAqB;AAGpE,YAAAA,EAAmBa,EAAM,OAAO,IAAI;AAEpC,gBAAIG,IAAQL,IAAWA,EAAQ,IAAK;AAEpC,YAAAd;AAAA,cACE,YAAYY,IAAW,YAAYI,EAAM,WAAWG,KAAS,OAAOA,IAAQ;AAAA,YAC7E;AAAA;;;;AAYX,SAAAV,EAAe,oBAAoB,WAAW;AAC5C,IAAI,QAAQ,IAAI,aAAa,iBAC3BN,IAAqB,CAAE;AAAA,KAI3BiB,IAAiBX;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index148.js","sources":["../node_modules/object-assign/index.js"],"sourcesContent":["/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n"],"names":["getOwnPropertySymbols","hasOwnProperty","propIsEnumerable","toObject","val","shouldUseNative","test1","test2","i","order2","n","test3","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MI,CAAG,MAChCH,EAAGG,CAAG,IAAIJ,EAAKI,CAAG;AAIpB,UAAIrB,GAAuB;AAC1B,QAAAmB,IAAUnB,EAAsBiB,CAAI;AACpC,iBAAST,IAAI,GAAGA,IAAIW,EAAQ,QAAQX;AACnC,UAAIN,EAAiB,KAAKe,GAAME,EAAQX,CAAC,CAAC,MACzCU,EAAGC,EAAQX,CAAC,CAAC,IAAIS,EAAKE,EAAQX,CAAC,CAAC;AAAA;;AAMpC,WAAOU;AAAA,EACP;;","x_google_ignoreList":[0]}
package/dist/index149.js CHANGED
@@ -1,5 +1,11 @@
1
- var r = {};
1
+ var e, r;
2
+ function _() {
3
+ if (r) return e;
4
+ r = 1;
5
+ var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
6
+ return e = t, e;
7
+ }
2
8
  export {
3
- r as __exports
9
+ _ as __require
4
10
  };
5
11
  //# sourceMappingURL=index149.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index149.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index149.js","sources":["../node_modules/prop-types/lib/ReactPropTypesSecret.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n"],"names":["ReactPropTypesSecret","ReactPropTypesSecret_1"],"mappings":";;;;AASA,MAAIA,IAAuB;AAE3B,SAAAC,IAAiBD;;","x_google_ignoreList":[0]}
package/dist/index150.js CHANGED
@@ -1,5 +1,8 @@
1
- var e = {};
1
+ var r, e;
2
+ function a() {
3
+ return e || (e = 1, r = Function.call.bind(Object.prototype.hasOwnProperty)), r;
4
+ }
2
5
  export {
3
- e as __exports
6
+ a as __require
4
7
  };
5
8
  //# sourceMappingURL=index150.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index150.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index150.js","sources":["../node_modules/prop-types/lib/has.js"],"sourcesContent":["module.exports = Function.call.bind(Object.prototype.hasOwnProperty);\n"],"names":["has"],"mappings":";;sBAAAA,IAAiB,SAAS,KAAK,KAAK,OAAO,UAAU,cAAc;;","x_google_ignoreList":[0]}
@@ -0,0 +1,55 @@
1
+ import { __require as E } from "./index149.js";
2
+ import { __require as _ } from "./index150.js";
3
+ var f, v;
4
+ function P() {
5
+ if (v) return f;
6
+ v = 1;
7
+ var o = function() {
8
+ };
9
+ if (process.env.NODE_ENV !== "production") {
10
+ var y = E(), t = {}, d = _();
11
+ o = function(n) {
12
+ var a = "Warning: " + n;
13
+ typeof console != "undefined" && console.error(a);
14
+ try {
15
+ throw new Error(a);
16
+ } catch (i) {
17
+ }
18
+ };
19
+ }
20
+ function u(n, a, i, s, c) {
21
+ if (process.env.NODE_ENV !== "production") {
22
+ for (var e in n)
23
+ if (d(n, e)) {
24
+ var r;
25
+ try {
26
+ if (typeof n[e] != "function") {
27
+ var h = Error(
28
+ (s || "React class") + ": " + i + " type `" + e + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[e] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
29
+ );
30
+ throw h.name = "Invariant Violation", h;
31
+ }
32
+ r = n[e](a, e, s, i, null, y);
33
+ } catch (l) {
34
+ r = l;
35
+ }
36
+ if (r && !(r instanceof Error) && o(
37
+ (s || "React class") + ": type specification of " + i + " `" + e + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof r + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
38
+ ), r instanceof Error && !(r.message in t)) {
39
+ t[r.message] = !0;
40
+ var p = c ? c() : "";
41
+ o(
42
+ "Failed " + i + " type: " + r.message + (p != null ? p : "")
43
+ );
44
+ }
45
+ }
46
+ }
47
+ }
48
+ return u.resetWarningCache = function() {
49
+ process.env.NODE_ENV !== "production" && (t = {});
50
+ }, f = u, f;
51
+ }
52
+ export {
53
+ P as __require
54
+ };
55
+ //# sourceMappingURL=index151.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index151.js","sources":["../node_modules/prop-types/checkPropTypes.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = require('./lib/has');\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) { /**/ }\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +\n 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n"],"names":["printWarning","ReactPropTypesSecret","require$$0","loggedTypeFailures","has","require$$1","text","message","x","checkPropTypes","typeSpecs","values","location","componentName","getStack","typeSpecName","error","err","ex","stack","checkPropTypes_1"],"mappings":";;;;;;AASA,MAAIA,IAAe,WAAW;AAAA,EAAE;AAEhC,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,QAAIC,IAAuBC,EAAqC,GAC5DC,IAAqB,CAAE,GACvBC,IAAMC,EAAoB;AAE9B,IAAAL,IAAe,SAASM,GAAM;AAC5B,UAAIC,IAAU,cAAcD;AAC5B,MAAI,OAAO,WAAY,eACrB,QAAQ,MAAMC,CAAO;AAEvB,UAAI;AAIF,cAAM,IAAI,MAAMA,CAAO;AAAA,MACxB,SAAQC,GAAG;AAAA,MAAA;AAAA,IACb;AAAA;AAcH,WAASC,EAAeC,GAAWC,GAAQC,GAAUC,GAAeC,GAAU;AAC5E,QAAI,QAAQ,IAAI,aAAa;AAC3B,eAASC,KAAgBL;AACvB,YAAIN,EAAIM,GAAWK,CAAY,GAAG;AAChC,cAAIC;AAIJ,cAAI;AAGF,gBAAI,OAAON,EAAUK,CAAY,KAAM,YAAY;AACjD,kBAAIE,IAAM;AAAA,iBACPJ,KAAiB,iBAAiB,OAAOD,IAAW,YAAYG,IAAe,+FACC,OAAOL,EAAUK,CAAY,IAAI;AAAA,cAEnH;AACD,oBAAAE,EAAI,OAAO,uBACLA;AAAA;AAER,YAAAD,IAAQN,EAAUK,CAAY,EAAEJ,GAAQI,GAAcF,GAAeD,GAAU,MAAMX,CAAoB;AAAA,UAC1G,SAAQiB,GAAI;AACX,YAAAF,IAAQE;AAAA;AAYV,cAVIF,KAAS,EAAEA,aAAiB,UAC9BhB;AAAA,aACGa,KAAiB,iBAAiB,6BACnCD,IAAW,OAAOG,IAAe,6FAC6B,OAAOC,IAAQ;AAAA,UAI9E,GAECA,aAAiB,SAAS,EAAEA,EAAM,WAAWb,IAAqB;AAGpE,YAAAA,EAAmBa,EAAM,OAAO,IAAI;AAEpC,gBAAIG,IAAQL,IAAWA,EAAQ,IAAK;AAEpC,YAAAd;AAAA,cACE,YAAYY,IAAW,YAAYI,EAAM,WAAWG,KAAS,OAAOA,IAAQ;AAAA,YAC7E;AAAA;;;;AAYX,SAAAV,EAAe,oBAAoB,WAAW;AAC5C,IAAI,QAAQ,IAAI,aAAa,iBAC3BN,IAAqB,CAAE;AAAA,KAI3BiB,IAAiBX;;","x_google_ignoreList":[0]}
@@ -0,0 +1,5 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
5
+ //# sourceMappingURL=index152.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index152.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,5 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
5
+ //# sourceMappingURL=index153.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index153.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index27.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import e from "react";
2
- import { Icon as h } from "./index4.js";
3
- import { Button as N } from "./index3.js";
2
+ import { Icon as I } from "./index4.js";
3
+ import { Button as i } from "./index3.js";
4
4
  /* empty css */
5
5
  const n = {
6
6
  bannerCtn: "relative rounded-[12px] flex pr-3.5 cursor-pointer",
@@ -9,23 +9,27 @@ const n = {
9
9
  bannerImageCtn: "w-[30%] flex mr-5 justify-end cursor-pointer",
10
10
  bannerCloseIconCtn: "absolute top-[12px] right-[12px] cursor-pointer hover:bg-[var(--color-gray-100)] rounded-full p-1",
11
11
  bannerButton: "self-start"
12
- }, B = (t) => {
12
+ }, T = (t) => {
13
13
  const {
14
- bannerClassName: i,
15
- bannerBgColor: m,
16
- title: C,
14
+ bannerClassName: m,
15
+ bannerBgColor: C,
16
+ title: p,
17
17
  description: b,
18
18
  hasImage: a,
19
19
  imagePosition: r = "right",
20
- hasCloseIcon: p,
20
+ hasCloseIcon: d,
21
21
  closeIconName: u,
22
- onClose: d,
22
+ onClose: g,
23
23
  onBannerClick: o,
24
24
  ctaText: l,
25
- hasLinkCta: g,
25
+ hasLinkCta: x,
26
26
  onCtaClick: c,
27
- hasButtonCta: x,
28
- buttonType: f = "secondary"
27
+ onSecondaryCtaClick: f,
28
+ hasButtonCta: y,
29
+ buttonType: h = "secondary",
30
+ hasSecondaryButtonCta: k = !1,
31
+ secondaryButtonType: E = "secondary",
32
+ secondaryCtaText: B
29
33
  } = t, s = () => a && /* @__PURE__ */ e.createElement("div", {
30
34
  className: `${n.bannerImageCtn} banner-image-ctn min-h-full`,
31
35
  onClick: o
@@ -34,34 +38,42 @@ const n = {
34
38
  className: "max-w-[initial] h-[initial] max-h-[150px] object-contain"
35
39
  }));
36
40
  return /* @__PURE__ */ e.createElement("div", {
37
- className: `${n.bannerCtn} ${i} banner-ctn`,
41
+ className: `${n.bannerCtn} ${m} banner-ctn`,
38
42
  style: {
39
- backgroundColor: m
43
+ backgroundColor: C
40
44
  }
41
45
  }, r === "left" && s(), /* @__PURE__ */ e.createElement("div", {
42
46
  className: `${n.bannerContentCtn} ${a ? "w-[70%]" : "w-[100%]"} banner-content-ctn`,
43
47
  onClick: o
44
48
  }, /* @__PURE__ */ e.createElement("span", {
45
49
  className: "banner-title"
46
- }, C), /* @__PURE__ */ e.createElement("span", {
50
+ }, p), /* @__PURE__ */ e.createElement("span", {
47
51
  className: "banner-description"
48
- }, b), g && /* @__PURE__ */ e.createElement("span", {
52
+ }, b), /* @__PURE__ */ e.createElement("div", {
53
+ className: "flex gap-3"
54
+ }, x && /* @__PURE__ */ e.createElement("span", {
49
55
  className: n.bannerLinkCta,
50
56
  onClick: c
51
- }, l), x && /* @__PURE__ */ e.createElement(N, {
52
- type: f,
57
+ }, l), y && /* @__PURE__ */ e.createElement(i, {
58
+ type: h,
53
59
  size: "sm",
54
60
  label: l,
55
61
  onClick: c,
56
- className: n.bannerButton
57
- })), r === "right" && s(), /* @__PURE__ */ e.createElement("span", {
62
+ className: n == null ? void 0 : n.bannerButton
63
+ }), k && /* @__PURE__ */ e.createElement(i, {
64
+ type: E,
65
+ size: "sm",
66
+ label: B,
67
+ onClick: f,
68
+ className: n == null ? void 0 : n.secondaryBannerButton
69
+ }))), r === "right" && s(), /* @__PURE__ */ e.createElement("span", {
58
70
  className: n.bannerCloseIconCtn,
59
- onClick: d
60
- }, p && /* @__PURE__ */ e.createElement(h, {
71
+ onClick: g
72
+ }, d && /* @__PURE__ */ e.createElement(I, {
61
73
  name: u
62
74
  })));
63
75
  };
64
76
  export {
65
- B as Banner
77
+ T as Banner
66
78
  };
67
79
  //# sourceMappingURL=index27.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index27.js","sources":["../src/components/Banner/index.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport { Map } from '../../utils/common.types';\nimport { Icon } from 'components/Icon';\nimport { Button } from 'components/Button';\nimport './style.scss';\n\nexport interface BannerProps {\n bannerClassName?: string | '';\n bannerBgColor?: string | '';\n title: string | '';\n description: string | '';\n hasImage?: boolean | false;\n imagePosition?: 'left' | 'right' | '';\n bannerImage: string | '';\n hasCloseIcon?: boolean | false;\n closeIconName: string | '';\n onClose: () => void | (() => {});\n onBannerClick?: () => void | (() => {});\n hasButtonCta?: boolean | false;\n buttonType?: 'primary' | 'secondary' | 'link';\n hasLinkCta?: boolean | false;\n ctaText: string | '';\n onCtaClick: () => void | (() => {});\n}\n\nconst classNames: Map = {\n bannerCtn: `relative rounded-[12px] flex pr-3.5 cursor-pointer`,\n bannerContentCtn: 'pt-5 pl-6 pb-5 pr-2 flex flex-col gap-2',\n bannerLinkCta: 'text-[#1088e7] cursor-pointer text-base leading-6 underline hover: text-[#0078d4]',\n bannerImageCtn: 'w-[30%] flex mr-5 justify-end cursor-pointer',\n bannerCloseIconCtn:\n 'absolute top-[12px] right-[12px] cursor-pointer hover:bg-[var(--color-gray-100)] rounded-full p-1',\n bannerButton: 'self-start'\n};\n\nexport const Banner: FC<BannerProps> = (props) => {\n const {\n bannerClassName,\n bannerBgColor,\n title,\n description,\n hasImage,\n imagePosition = 'right',\n hasCloseIcon,\n closeIconName,\n onClose,\n onBannerClick,\n ctaText,\n hasLinkCta,\n onCtaClick,\n hasButtonCta,\n buttonType = 'secondary'\n } = props;\n\n const renderImage = () =>\n hasImage && (\n <div className={`${classNames.bannerImageCtn} banner-image-ctn min-h-full`} onClick={onBannerClick}>\n <img src={props.bannerImage} className=\"max-w-[initial] h-[initial] max-h-[150px] object-contain\" />\n </div>\n );\n\n return (\n <div className={`${classNames.bannerCtn} ${bannerClassName} banner-ctn`} style={{ backgroundColor: bannerBgColor }}>\n {imagePosition === 'left' && renderImage()}\n <div\n className={`${classNames.bannerContentCtn} ${hasImage ? 'w-[70%]' : 'w-[100%]'} banner-content-ctn`}\n onClick={onBannerClick}\n >\n <span className=\"banner-title\">{title}</span>\n <span className=\"banner-description\">{description}</span>\n {hasLinkCta && (\n <span className={classNames.bannerLinkCta} onClick={onCtaClick}>\n {ctaText}\n </span>\n )}\n {hasButtonCta && (\n <Button\n type={buttonType}\n size=\"sm\"\n label={ctaText}\n onClick={onCtaClick}\n className={classNames.bannerButton}\n />\n )}\n </div>\n {imagePosition === 'right' && renderImage()}\n <span className={classNames.bannerCloseIconCtn} onClick={onClose}>\n {hasCloseIcon && <Icon name={closeIconName} />}\n </span>\n </div>\n );\n};\n"],"names":["React__default","Icon","Button","classNames","bannerCtn","bannerContentCtn","bannerLinkCta","bannerImageCtn","bannerCloseIconCtn","bannerButton","Banner","props","bannerClassName","bannerBgColor","title","description","hasImage","imagePosition","hasCloseIcon","closeIconName","onClose","onBannerClick","ctaText","hasLinkCta","onCtaClick","hasButtonCta","buttonType","renderImage","React","createElement","className","onClick","src","bannerImage","style","backgroundColor","type","size","label","name"],"mappings":"AAyBA,OAAAA,OAAA;AAAA,SAAA,QAAAC,SAAA;AAAA,SAAA,UAAAC,SAAA;AAAA,OAAA;AAAA,MAAMC,IAAkB;AAAA,EACtBC,WAAW;AAAA,EACXC,kBAAkB;AAAA,EAClBC,eAAe;AAAA,EACfC,gBAAgB;AAAA,EAChBC,oBACE;AAAA,EACFC,cAAc;AAChB,GAEaC,IAA2BC,CAAUA,MAAA;AAC1C,QAAA;AAAA,IACJC,iBAAAA;AAAAA,IACAC,eAAAA;AAAAA,IACAC,OAAAA;AAAAA,IACAC,aAAAA;AAAAA,IACAC,UAAAA;AAAAA,IACAC,eAAAA,IAAgB;AAAA,IAChBC,cAAAA;AAAAA,IACAC,eAAAA;AAAAA,IACAC,SAAAA;AAAAA,IACAC,eAAAA;AAAAA,IACAC,SAAAA;AAAAA,IACAC,YAAAA;AAAAA,IACAC,YAAAA;AAAAA,IACAC,cAAAA;AAAAA,IACAC,YAAAA,IAAa;AAAA,EAAA,IACXf,GAE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AA,EAAgB,CAAA,CACzC,CACH;AAET;"}
1
+ {"version":3,"file":"index27.js","sources":["../src/components/Banner/index.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport { Map } from '../../utils/common.types';\nimport { Icon } from 'components/Icon';\nimport { Button } from 'components/Button';\nimport './style.scss';\n\nexport interface BannerProps {\n bannerClassName?: string | '';\n bannerBgColor?: string | '';\n title: string | '';\n description: string | '';\n hasImage?: boolean | false;\n imagePosition?: 'left' | 'right' | '';\n bannerImage: string | '';\n hasCloseIcon?: boolean | false;\n closeIconName: string | '';\n onClose: () => void | (() => {});\n onBannerClick?: () => void | (() => {});\n hasButtonCta?: boolean | false;\n hasSecondaryButtonCta?: boolean | false;\n buttonType?: 'primary' | 'secondary' | 'link';\n secondaryButtonType?: 'primary' | 'secondary' | 'link';\n hasLinkCta?: boolean | false;\n ctaText: string | '';\n secondaryCtaText: string | '';\n onCtaClick: () => void | (() => {});\n onSecondaryCtaClick: () => void | (() => {});\n}\n\nconst classNames: Map = {\n bannerCtn: `relative rounded-[12px] flex pr-3.5 cursor-pointer`,\n bannerContentCtn: 'pt-5 pl-6 pb-5 pr-2 flex flex-col gap-2',\n bannerLinkCta: 'text-[#1088e7] cursor-pointer text-base leading-6 underline hover: text-[#0078d4]',\n bannerImageCtn: 'w-[30%] flex mr-5 justify-end cursor-pointer',\n bannerCloseIconCtn:\n 'absolute top-[12px] right-[12px] cursor-pointer hover:bg-[var(--color-gray-100)] rounded-full p-1',\n bannerButton: 'self-start'\n};\n\nexport const Banner: FC<BannerProps> = (props) => {\n const {\n bannerClassName,\n bannerBgColor,\n title,\n description,\n hasImage,\n imagePosition = 'right',\n hasCloseIcon,\n closeIconName,\n onClose,\n onBannerClick,\n ctaText,\n hasLinkCta,\n onCtaClick,\n onSecondaryCtaClick,\n hasButtonCta,\n buttonType = 'secondary',\n hasSecondaryButtonCta = false,\n secondaryButtonType = 'secondary',\n secondaryCtaText\n } = props;\n\n const renderImage = () =>\n hasImage && (\n <div className={`${classNames.bannerImageCtn} banner-image-ctn min-h-full`} onClick={onBannerClick}>\n <img src={props.bannerImage} className=\"max-w-[initial] h-[initial] max-h-[150px] object-contain\" />\n </div>\n );\n\n return (\n <div className={`${classNames.bannerCtn} ${bannerClassName} banner-ctn`} style={{ backgroundColor: bannerBgColor }}>\n {imagePosition === 'left' && renderImage()}\n <div\n className={`${classNames.bannerContentCtn} ${hasImage ? 'w-[70%]' : 'w-[100%]'} banner-content-ctn`}\n onClick={onBannerClick}\n >\n <span className=\"banner-title\">{title}</span>\n <span className=\"banner-description\">{description}</span>\n <div className=\"flex gap-3\">\n {hasLinkCta && (\n <span className={classNames.bannerLinkCta} onClick={onCtaClick}>\n {ctaText}\n </span>\n )}\n {hasButtonCta && (\n <Button\n type={buttonType}\n size=\"sm\"\n label={ctaText}\n onClick={onCtaClick}\n className={classNames?.bannerButton}\n />\n )}\n {hasSecondaryButtonCta && (\n <Button\n type={secondaryButtonType}\n size=\"sm\"\n label={secondaryCtaText}\n onClick={onSecondaryCtaClick}\n className={classNames?.secondaryBannerButton}\n />\n )}\n </div>\n </div>\n {imagePosition === 'right' && renderImage()}\n <span className={classNames.bannerCloseIconCtn} onClick={onClose}>\n {hasCloseIcon && <Icon name={closeIconName} />}\n </span>\n </div>\n );\n};\n"],"names":["React__default","Icon","Button","classNames","bannerCtn","bannerContentCtn","bannerLinkCta","bannerImageCtn","bannerCloseIconCtn","bannerButton","Banner","props","bannerClassName","bannerBgColor","title","description","hasImage","imagePosition","hasCloseIcon","closeIconName","onClose","onBannerClick","ctaText","hasLinkCta","onCtaClick","onSecondaryCtaClick","hasButtonCta","buttonType","hasSecondaryButtonCta","secondaryButtonType","secondaryCtaText","renderImage","React","createElement","className","onClick","src","bannerImage","style","backgroundColor","type","size","label","secondaryBannerButton","name"],"mappings":"AA6BA,OAAAA,OAAA;AAAA,SAAA,QAAAC,SAAA;AAAA,SAAA,UAAAC,SAAA;AAAA,OAAA;AAAA,MAAMC,IAAkB;AAAA,EACtB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;AAAA,EAAgBpB,GAAAA,CAAY,GAC5CkB,gBAAAA,EAAAC,cAAA,QAAA;AAAA,IAAMC,WAAU;AAAA,EAAsBnB,GAAAA,CAAkB,GACxDiB,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKC,WAAU;AAAA,EACZX,GAAAA,KACCU,gBAAAA,EAAAA,cAAA,QAAA;AAAA,IAAMC,WAAW/B,EAAWG;AAAAA,IAAe6B,SAASX;AAAAA,KACjDF,CACG,GAEPI,KACCM,gBAAAA,EAAAC,cAAC/B,GAAM;AAAA,IACLsC,MAAMb;AAAAA,IACNc,MAAK;AAAA,IACLC,OAAOpB;AAAAA,IACPa,SAASX;AAAAA,IACTU,WAAW/B,KAAAA,gBAAAA,EAAYM;AAAAA,EACxB,CAAA,GAEFmB,KACCI,gBAAAA,EAAAC,cAAC/B,GAAM;AAAA,IACLsC,MAAMX;AAAAA,IACNY,MAAK;AAAA,IACLC,OAAOZ;AAAAA,IACPK,SAASV;AAAAA,IACTS,WAAW/B,KAAAA,gBAAAA,EAAYwC;AAAAA,EAAAA,CACxB,CAEA,CACF,GACJ1B,MAAkB,WAAWc,EAAY,GAC1CE,gBAAAA,EAAAA,cAAA,QAAA;AAAA,IAAMC,WAAW/B,EAAWK;AAAAA,IAAoB2B,SAASf;AAAAA,EACtDF,GAAAA,KAAgBe,gBAAAA,EAAAA,cAAChC,GAAI;AAAA,IAAC2C,MAAMzB;AAAAA,EAAgB,CAAA,CACzC,CACH;AAET;"}
package/dist/index36.js CHANGED
@@ -1,37 +1,81 @@
1
- import e from "react";
1
+ import a, { useState as h, useRef as H, useEffect as s, useMemo as _ } from "react";
2
+ import { Icon as g } from "./index4.js";
3
+ import { LabelChip as $ } from "./index8.js";
4
+ import { debounce as z } from "./index124.js";
2
5
  /* empty css */
3
- const r = {
4
- progressBarCtn: "flex items-center gap-2",
5
- progressBar: "flex-1 w-[70%] bg-[var(--color-gray-200)] h-[6px] rounded-[12px] overflow-hidden",
6
- progressBarProgress: "h-full rounded-[12px]",
7
- stepsCount: "steps-count"
8
- }, d = ({
9
- totalTasks: t = 0,
10
- completedTasks: o = 0,
11
- progressBarCtnClassName: n = "",
12
- needPercentageCompleted: c = !0,
13
- progressBarColor: s
14
- }) => {
15
- const a = t > 0 ? o / t * 100 : 0;
16
- return /* @__PURE__ */ e.createElement("div", {
17
- className: `${r.progressBarCtn} ${n} progress-bar-ctn`,
6
+ function T(r) {
7
+ const {
8
+ disabled: C = !1,
9
+ placeholder: S = "Search",
10
+ debounceDuration: f = 500,
11
+ onInputChange: l = () => {
12
+ },
13
+ onSearchClear: k = () => {
14
+ },
15
+ updateSearchString: i = "",
16
+ collapsible: p = !1,
17
+ width: v = "200px",
18
+ chips: m = []
19
+ } = r, [t, d] = h(""), [o, b] = h(!(r != null && r.collapsible)), [n, x] = h(m || []), c = H(null);
20
+ s(() => {
21
+ o && c.current && setTimeout(() => {
22
+ var e;
23
+ return (e = c == null ? void 0 : c.current) == null ? void 0 : e.focus();
24
+ }, 0);
25
+ }, [o]), s(() => {
26
+ i !== t && d(i);
27
+ }, [i]), s(() => {
28
+ x(m);
29
+ }, [m]);
30
+ const u = _(() => z(l, f), [l, f]);
31
+ s(() => () => {
32
+ u.cancel();
33
+ }, [u]);
34
+ const I = (e) => {
35
+ d(e), u(e);
36
+ }, N = () => {
37
+ d(""), l(""), k();
38
+ }, w = () => {
39
+ p && (t == null ? void 0 : t.trimEnd()) === "" && b(!1);
40
+ }, y = (e) => {
41
+ x(n.filter((B) => B !== e));
42
+ }, E = (n == null ? void 0 : n.length) > 0;
43
+ return /* @__PURE__ */ a.createElement("div", {
44
+ className: `se-search-box ${o ? "expand-box" : "shrink-box"}`,
18
45
  style: {
19
- width: "100%"
46
+ width: v
20
47
  }
21
- }, /* @__PURE__ */ e.createElement("div", {
22
- className: r.progressBar
23
- }, /* @__PURE__ */ e.createElement("div", {
24
- className: r.progressBarProgress,
25
- style: {
26
- width: `${a}%`,
27
- background: `${s || "linear-gradient(to right, var(--color-green-500), var(--color-green-400))"}`,
28
- transition: "width 0.4s ease-in-out"
29
- }
30
- })), c && /* @__PURE__ */ e.createElement("div", {
31
- className: r.stepsCount
32
- }, `${Math.round(a)}% completed`));
33
- };
48
+ }, o && /* @__PURE__ */ a.createElement("div", {
49
+ className: `chips-and-search-box-container${E ? " has-chips" : ""}`
50
+ }, E && (n == null ? void 0 : n.map((e) => /* @__PURE__ */ a.createElement($, {
51
+ key: e,
52
+ label: e,
53
+ icon: "close",
54
+ onIconClick: () => y(e),
55
+ size: "sm"
56
+ }))), /* @__PURE__ */ a.createElement("div", {
57
+ className: "search-input-container"
58
+ }, /* @__PURE__ */ a.createElement(g, {
59
+ name: "search",
60
+ className: "search-icon img-wrap",
61
+ onClick: () => p && b((e) => !e)
62
+ }), /* @__PURE__ */ a.createElement("input", {
63
+ ref: c,
64
+ className: "search-input border-transparent focus:border-transparent active:border-transparent focus:ring-0",
65
+ id: "search_bar",
66
+ type: "text",
67
+ placeholder: S,
68
+ onChange: (e) => I(e.target.value),
69
+ value: t,
70
+ disabled: C,
71
+ onBlur: w
72
+ }), !!t && /* @__PURE__ */ a.createElement(g, {
73
+ name: "close",
74
+ className: "cross-icon img-wrap",
75
+ onClick: N
76
+ }))));
77
+ }
34
78
  export {
35
- d as ProgressBar
79
+ T as SearchBox
36
80
  };
37
81
  //# sourceMappingURL=index36.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index36.js","sources":["../src/components/ProgressBar/index.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport { Map } from '../../utils/common.types';\nimport './style.scss';\n\nexport interface ProgressBarProps {\n totalTasks: number;\n completedTasks: number;\n progressBarCtnClassName?: string;\n needPercentageCompleted?: boolean;\n progressBarColor?: string;\n}\n\nconst className: Map = {\n progressBarCtn: 'flex items-center gap-2',\n progressBar: 'flex-1 w-[70%] bg-[var(--color-gray-200)] h-[6px] rounded-[12px] overflow-hidden',\n progressBarProgress: 'h-full rounded-[12px]',\n stepsCount: 'steps-count'\n};\n\nexport const ProgressBar: FC<ProgressBarProps> = ({\n totalTasks = 0,\n completedTasks = 0,\n progressBarCtnClassName = '',\n needPercentageCompleted = true,\n progressBarColor\n}) => {\n const percentageComplete = totalTasks > 0 ? (completedTasks / totalTasks) * 100 : 0;\n return (\n <div\n className={`${className.progressBarCtn} ${progressBarCtnClassName} progress-bar-ctn`}\n style={{ width: '100%' }}\n >\n <div className={className.progressBar}>\n <div\n className={className.progressBarProgress}\n style={{\n width: `${percentageComplete}%`,\n background: `${progressBarColor ? progressBarColor : 'linear-gradient(to right, var(--color-green-500), var(--color-green-400))'}`,\n transition: 'width 0.4s ease-in-out'\n }}\n ></div>\n </div>\n {needPercentageCompleted && (\n <div className={className.stepsCount}>{`${Math.round(percentageComplete)}% completed`}</div>\n )}\n </div>\n );\n};\n"],"names":["React__default","className","progressBarCtn","progressBar","progressBarProgress","stepsCount","ProgressBar","totalTasks","completedTasks","progressBarCtnClassName","needPercentageCompleted","progressBarColor","percentageComplete","React","createElement","style","width","background","transition","Math","round"],"mappings":"AAYA,OAAAA,OAAA;AAAA,OAAA;AAAA,MAAMC,IAAiB;AAAA,EACrBC,gBAAgB;AAAA,EAChBC,aAAa;AAAA,EACbC,qBAAqB;AAAA,EACrBC,YAAY;AACd,GAEaC,IAAoCA,CAAC;AAAA,EAChDC,YAAAA,IAAa;AAAA,EACbC,gBAAAA,IAAiB;AAAA,EACjBC,yBAAAA,IAA0B;AAAA,EAC1BC,yBAAAA,IAA0B;AAAA,EAC1BC,kBAAAA;AACF,MAAM;AACJ,QAAMC,IAAqBL,IAAa,IAAKC,IAAiBD,IAAc,MAAM;AAEhFM,SAAAA,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IACEb,WAAW,GAAGA,EAAUC,cAAc,IAAIO,CAAuB;AAAA,IACjEM,OAAO;AAAA,MAAEC,OAAO;AAAA,IAAA;AAAA,EAAO,GAEvBF,gBAAAA,EAAAA,cAAA,OAAA;AAAA,IAAKb,WAAWA,EAAUE;AAAAA,EAAAA,GACxBW,gBAAAA,EAAAA,cAAA,OAAA;AAAA,IACEb,WAAWA,EAAUG;AAAAA,IACrBW,OAAO;AAAA,MACLC,OAAO,GAAGJ,CAAkB;AAAA,MAC5BK,YAAY,GAAGN,KAAsC,2EAA2E;AAAA,MAChIO,YAAY;AAAA,IAAA;AAAA,EAEV,CAAA,CACH,GACJR,KACCG,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKb,WAAWA,EAAUI;AAAAA,EAAAA,GAAa,GAAGc,KAAKC,MAAMR,CAAkB,CAAC,aAAmB,CAE1F;AAET;"}
1
+ {"version":3,"file":"index36.js","sources":["../src/components/SearchBox/index.tsx"],"sourcesContent":["import React, { useState, useMemo, useEffect, useRef } from 'react';\n\nimport { Icon } from 'components/Icon';\nimport { LabelChip } from 'components/LabelChip';\nimport { debounce } from 'utils/debounce';\n\nimport './style.scss';\n\nexport interface SearchBoxProps {\n disabled?: boolean,\n placeholder?: string,\n debounceDuration?: number,\n onInputChange?: (value: string) => void,\n onSearchClear?: () => void,\n updateSearchString?: string,\n collapsible?: boolean,\n width?: string,\n chips?: string[]\n}\n\nexport function SearchBox(props: SearchBoxProps) {\n const {\n disabled = false,\n placeholder = 'Search',\n debounceDuration = 500,\n onInputChange = () => {},\n onSearchClear = () => {},\n updateSearchString = '',\n collapsible = false,\n width = '200px',\n chips = []\n } = props;\n const [inputValue, setInputValue] = useState('');\n const [isExpanded, setIsExpanded] = useState(!props?.collapsible);\n const [searchChips, setSearchChips] = useState<string[]>(chips || []);\n const inputRef = useRef<HTMLInputElement>(null);\n\n useEffect(() => {\n if (isExpanded && inputRef.current) {\n setTimeout(() => inputRef?.current?.focus(), 0);\n }\n }, [isExpanded]);\n \n // Manually update the searchbox text\n useEffect(() => {\n if (updateSearchString !== inputValue) {\n setInputValue(updateSearchString);\n }\n }, [updateSearchString]);\n\n useEffect(() => {\n setSearchChips(chips);\n }, [chips]);\n\n \n \n const debouncedOnInputChange = useMemo(\n () => debounce(onInputChange, debounceDuration),\n [onInputChange, debounceDuration]\n );\n\n useEffect(() => {\n return () => {\n debouncedOnInputChange.cancel();\n };\n }, [debouncedOnInputChange]);\n\n\n const onChangeHandler = (value: string) => {\n setInputValue(value);\n debouncedOnInputChange(value);\n };\n\n const iconClickHandler = () => {\n setInputValue('');\n onInputChange('');\n onSearchClear();\n };\n\n const onBlurHandler = () => {\n if (collapsible && inputValue?.trimEnd() === '') {\n setIsExpanded(false);\n }\n };\n\n const removeChip = (chip: string) => {\n setSearchChips(searchChips.filter((c) => c !== chip));\n }\n\n const hasChips = searchChips?.length > 0;\n\n return (\n <div className={`se-search-box ${isExpanded ? 'expand-box' : 'shrink-box'}`} style={{ width: width }}>\n {/* <Icon name=\"search\" className=\"search-icon img-wrap\" onClick={() => collapsible && setIsExpanded((prev) => !prev)} /> */}\n {isExpanded && (\n <div className={`chips-and-search-box-container${hasChips ? ' has-chips' : ''}`}>\n {hasChips && searchChips?.map((chip) => (\n <LabelChip key={chip} label={chip} icon=\"close\" onIconClick={() => removeChip(chip)} size=\"sm\" />\n ))}\n <div className=\"search-input-container\">\n <Icon name=\"search\" className=\"search-icon img-wrap\" onClick={() => collapsible && setIsExpanded((prev) => !prev)} />\n <input\n ref={inputRef}\n className={`search-input border-transparent focus:border-transparent active:border-transparent focus:ring-0`}\n id=\"search_bar\"\n type=\"text\"\n placeholder={placeholder}\n onChange={(e) => onChangeHandler(e.target.value)}\n value={inputValue}\n disabled={disabled}\n onBlur={onBlurHandler}\n />\n {!!inputValue && (\n <Icon\n name=\"close\"\n className=\"cross-icon img-wrap\"\n onClick={iconClickHandler}\n />\n )}\n </div>\n </div>\n )}\n </div>\n );\n}\n"],"names":["SearchBox","props","disabled","placeholder","debounceDuration","onInputChange","onSearchClear","updateSearchString","collapsible","width","chips","inputValue","setInputValue","useState","isExpanded","setIsExpanded","searchChips","setSearchChips","inputRef","useRef","useEffect","current","setTimeout","focus","debouncedOnInputChange","useMemo","debounce","cancel","onChangeHandler","value","iconClickHandler","onBlurHandler","trimEnd","removeChip","chip","filter","c","hasChips","length","React","createElement","className","style","map","LabelChip","key","label","icon","onIconClick","size","Icon","name","onClick","prev","ref","id","type","onChange","e","target","onBlur"],"mappings":";;;;;AAoBO,SAASA,EAAUC,GAAuB;AACvC,QAAA;AAAA,IACFC,UAAAA,IAAW;AAAA,IACXC,aAAAA,IAAc;AAAA,IACdC,kBAAAA,IAAmB;AAAA,IACnBC,eAAAA,IAAgBA,MAAM;AAAA,IAAC;AAAA,IACvBC,eAAAA,IAAgBA,MAAM;AAAA,IAAC;AAAA,IACvBC,oBAAAA,IAAqB;AAAA,IACrBC,aAAAA,IAAc;AAAA,IACdC,OAAAA,IAAQ;AAAA,IACRC,OAAAA,IAAQ,CAAA;AAAA,EAAA,IACRT,GACE,CAACU,GAAYC,CAAa,IAAIC,EAAS,EAAE,GACzC,CAACC,GAAYC,CAAa,IAAIF,EAAS,EAACZ,KAAAA,QAAAA,EAAOO,YAAW,GAC1D,CAACQ,GAAaC,CAAc,IAAIJ,EAAmBH,KAAS,CAAA,CAAE,GAC9DQ,IAAWC,EAAyB,IAAI;AAE9CC,EAAAA,EAAU,MAAM;AACRN,IAAAA,KAAcI,EAASG,WACzBC,WAAW,MAAA;;AAAMJ,cAAAA,IAAAA,KAAAA,gBAAAA,EAAUG,YAAVH,gBAAAA,EAAmBK;AAAAA,OAAS,CAAC;AAAA,EAChD,GACC,CAACT,CAAU,CAAC,GAGfM,EAAU,MAAM;AACd,IAAIb,MAAuBI,KACzBC,EAAcL,CAAkB;AAAA,EAClC,GACC,CAACA,CAAkB,CAAC,GAEvBa,EAAU,MAAM;AACdH,IAAAA,EAAeP,CAAK;AAAA,EAAA,GACnB,CAACA,CAAK,CAAC;AAINc,QAAAA,IAAyBC,EAC3B,MAAMC,EAASrB,GAAeD,CAAgB,GAC9C,CAACC,GAAeD,CAAgB,CACpC;AAEAgB,EAAAA,EAAU,MACC,MAAM;AACbI,IAAAA,EAAuBG,OAAO;AAAA,E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