se-design 1.0.63-dev → 1.0.64

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 (376) hide show
  1. package/dist/assets/colors.css +22 -9
  2. package/dist/assets/icons/ai-off.svg +4 -4
  3. package/dist/assets/icons/center-align.svg +3 -0
  4. package/dist/assets/icons/command.svg +1 -1
  5. package/dist/assets/icons/left-align.svg +3 -0
  6. package/dist/assets/icons/right-align.svg +3 -0
  7. package/dist/assets/style.css +1 -1
  8. package/dist/components/BreadCrumbs/index.d.ts +2 -0
  9. package/dist/components/Button/index.d.ts +5 -1
  10. package/dist/components/InfoTooltip/index.d.ts +5 -1
  11. package/dist/index.js +23 -21
  12. package/dist/index.js.map +1 -1
  13. package/dist/index100.js +2 -2
  14. package/dist/index100.js.map +1 -1
  15. package/dist/index101.js +1 -1
  16. package/dist/index101.js.map +1 -1
  17. package/dist/index102.js +2 -2
  18. package/dist/index102.js.map +1 -1
  19. package/dist/index103.js +2 -2
  20. package/dist/index103.js.map +1 -1
  21. package/dist/index104.js +2 -2
  22. package/dist/index104.js.map +1 -1
  23. package/dist/index105.js +2 -2
  24. package/dist/index105.js.map +1 -1
  25. package/dist/index106.js +1 -1
  26. package/dist/index106.js.map +1 -1
  27. package/dist/index107.js +1 -1
  28. package/dist/index107.js.map +1 -1
  29. package/dist/index108.js +2 -2
  30. package/dist/index108.js.map +1 -1
  31. package/dist/index109.js +2 -2
  32. package/dist/index109.js.map +1 -1
  33. package/dist/index110.js +2 -2
  34. package/dist/index110.js.map +1 -1
  35. package/dist/index111.js +2 -2
  36. package/dist/index111.js.map +1 -1
  37. package/dist/index112.js +1 -1
  38. package/dist/index112.js.map +1 -1
  39. package/dist/index113.js +1 -1
  40. package/dist/index113.js.map +1 -1
  41. package/dist/index114.js +2 -2
  42. package/dist/index114.js.map +1 -1
  43. package/dist/index115.js +1 -1
  44. package/dist/index115.js.map +1 -1
  45. package/dist/index116.js +1 -1
  46. package/dist/index116.js.map +1 -1
  47. package/dist/index117.js +2 -2
  48. package/dist/index117.js.map +1 -1
  49. package/dist/index118.js +2 -2
  50. package/dist/index118.js.map +1 -1
  51. package/dist/index119.js +2 -2
  52. package/dist/index119.js.map +1 -1
  53. package/dist/index120.js +2 -2
  54. package/dist/index120.js.map +1 -1
  55. package/dist/index121.js +1 -1
  56. package/dist/index121.js.map +1 -1
  57. package/dist/index122.js +1 -1
  58. package/dist/index122.js.map +1 -1
  59. package/dist/index123.js +1 -1
  60. package/dist/index123.js.map +1 -1
  61. package/dist/index124.js +1 -1
  62. package/dist/index124.js.map +1 -1
  63. package/dist/index125.js +1 -1
  64. package/dist/index125.js.map +1 -1
  65. package/dist/index126.js +1 -1
  66. package/dist/index126.js.map +1 -1
  67. package/dist/index127.js +1 -1
  68. package/dist/index127.js.map +1 -1
  69. package/dist/index128.js +2 -2
  70. package/dist/index128.js.map +1 -1
  71. package/dist/index129.js +1 -1
  72. package/dist/index129.js.map +1 -1
  73. package/dist/index130.js +2 -2
  74. package/dist/index130.js.map +1 -1
  75. package/dist/index131.js +1 -1
  76. package/dist/index131.js.map +1 -1
  77. package/dist/index132.js +1 -1
  78. package/dist/index132.js.map +1 -1
  79. package/dist/index133.js +1 -1
  80. package/dist/index133.js.map +1 -1
  81. package/dist/index134.js +1 -1
  82. package/dist/index134.js.map +1 -1
  83. package/dist/index135.js +1 -1
  84. package/dist/index135.js.map +1 -1
  85. package/dist/index136.js +2 -2
  86. package/dist/index136.js.map +1 -1
  87. package/dist/index137.js +2 -2
  88. package/dist/index137.js.map +1 -1
  89. package/dist/index138.js +1 -1
  90. package/dist/index138.js.map +1 -1
  91. package/dist/index139.js +2 -2
  92. package/dist/index139.js.map +1 -1
  93. package/dist/index140.js +1 -1
  94. package/dist/index140.js.map +1 -1
  95. package/dist/index141.js +1 -1
  96. package/dist/index141.js.map +1 -1
  97. package/dist/index142.js +2 -2
  98. package/dist/index142.js.map +1 -1
  99. package/dist/index143.js +2 -2
  100. package/dist/index143.js.map +1 -1
  101. package/dist/index144.js +1 -1
  102. package/dist/index144.js.map +1 -1
  103. package/dist/index145.js +1 -1
  104. package/dist/index145.js.map +1 -1
  105. package/dist/index146.js +1 -1
  106. package/dist/index146.js.map +1 -1
  107. package/dist/index147.js +1 -1
  108. package/dist/index147.js.map +1 -1
  109. package/dist/index148.js +1 -1
  110. package/dist/index148.js.map +1 -1
  111. package/dist/index149.js +1 -1
  112. package/dist/index149.js.map +1 -1
  113. package/dist/index15.js +2 -2
  114. package/dist/index150.js +1 -1
  115. package/dist/index150.js.map +1 -1
  116. package/dist/index151.js +1 -1
  117. package/dist/index151.js.map +1 -1
  118. package/dist/index152.js +1 -1
  119. package/dist/index152.js.map +1 -1
  120. package/dist/index153.js +1 -1
  121. package/dist/index153.js.map +1 -1
  122. package/dist/index154.js +1 -1
  123. package/dist/index154.js.map +1 -1
  124. package/dist/index155.js +1 -1
  125. package/dist/index155.js.map +1 -1
  126. package/dist/index156.js +1 -1
  127. package/dist/index156.js.map +1 -1
  128. package/dist/index157.js +1 -1
  129. package/dist/index157.js.map +1 -1
  130. package/dist/index158.js +1 -1
  131. package/dist/index158.js.map +1 -1
  132. package/dist/index159.js +1 -1
  133. package/dist/index159.js.map +1 -1
  134. package/dist/index160.js +1 -1
  135. package/dist/index160.js.map +1 -1
  136. package/dist/index161.js +1 -1
  137. package/dist/index161.js.map +1 -1
  138. package/dist/index162.js +1 -1
  139. package/dist/index162.js.map +1 -1
  140. package/dist/index163.js +1 -1
  141. package/dist/index163.js.map +1 -1
  142. package/dist/index164.js +1 -1
  143. package/dist/index164.js.map +1 -1
  144. package/dist/index165.js +2 -2
  145. package/dist/index165.js.map +1 -1
  146. package/dist/index166.js +1 -1
  147. package/dist/index166.js.map +1 -1
  148. package/dist/index167.js +1 -1
  149. package/dist/index167.js.map +1 -1
  150. package/dist/index168.js +1 -1
  151. package/dist/index168.js.map +1 -1
  152. package/dist/index169.js +2 -2
  153. package/dist/index169.js.map +1 -1
  154. package/dist/index17.js +1 -1
  155. package/dist/index170.js +1 -1
  156. package/dist/index170.js.map +1 -1
  157. package/dist/index171.js +1 -1
  158. package/dist/index171.js.map +1 -1
  159. package/dist/index172.js +1 -1
  160. package/dist/index172.js.map +1 -1
  161. package/dist/index173.js +2 -2
  162. package/dist/index173.js.map +1 -1
  163. package/dist/index174.js +1 -1
  164. package/dist/index174.js.map +1 -1
  165. package/dist/index175.js +1 -1
  166. package/dist/index175.js.map +1 -1
  167. package/dist/index176.js +1 -1
  168. package/dist/index176.js.map +1 -1
  169. package/dist/index177.js +1 -1
  170. package/dist/index177.js.map +1 -1
  171. package/dist/index178.js +1 -1
  172. package/dist/index178.js.map +1 -1
  173. package/dist/index179.js +2 -2
  174. package/dist/index179.js.map +1 -1
  175. package/dist/index18.js +2 -2
  176. package/dist/index180.js +1 -1
  177. package/dist/index180.js.map +1 -1
  178. package/dist/index181.js +2 -2
  179. package/dist/index181.js.map +1 -1
  180. package/dist/index182.js +2 -149
  181. package/dist/index182.js.map +1 -1
  182. package/dist/index183.js +2 -9
  183. package/dist/index183.js.map +1 -1
  184. package/dist/index184.js +2 -6
  185. package/dist/index184.js.map +1 -1
  186. package/dist/index185.js +2 -5
  187. package/dist/index185.js.map +1 -1
  188. package/dist/index186.js +152 -0
  189. package/dist/index186.js.map +1 -0
  190. package/dist/index187.js +12 -0
  191. package/dist/index187.js.map +1 -0
  192. package/dist/index188.js +5 -23
  193. package/dist/index188.js.map +1 -1
  194. package/dist/index189.js +4 -61
  195. package/dist/index189.js.map +1 -1
  196. package/dist/index192.js +27 -0
  197. package/dist/index192.js.map +1 -0
  198. package/dist/{index191.js → index194.js} +3 -3
  199. package/dist/{index191.js.map → index194.js.map} +1 -1
  200. package/dist/{index193.js → index196.js} +1 -1
  201. package/dist/{index193.js.map → index196.js.map} +1 -1
  202. package/dist/{index201.js → index204.js} +1 -1
  203. package/dist/{index201.js.map → index204.js.map} +1 -1
  204. package/dist/index212.js +1233 -41
  205. package/dist/index212.js.map +1 -1
  206. package/dist/{index211.js → index214.js} +1 -1
  207. package/dist/{index211.js.map → index214.js.map} +1 -1
  208. package/dist/index215.js +44 -0
  209. package/dist/index215.js.map +1 -0
  210. package/dist/index22.js +3 -3
  211. package/dist/index225.js +3 -53
  212. package/dist/index225.js.map +1 -1
  213. package/dist/index227.js +55 -15
  214. package/dist/index227.js.map +1 -1
  215. package/dist/index228.js +53 -9
  216. package/dist/index228.js.map +1 -1
  217. package/dist/index229.js +21 -9
  218. package/dist/index229.js.map +1 -1
  219. package/dist/index230.js +18 -4
  220. package/dist/index230.js.map +1 -1
  221. package/dist/index231.js +9 -169
  222. package/dist/index231.js.map +1 -1
  223. package/dist/index232.js +10 -11
  224. package/dist/index232.js.map +1 -1
  225. package/dist/index233.js +4 -5
  226. package/dist/index233.js.map +1 -1
  227. package/dist/index234.js +170 -6
  228. package/dist/index234.js.map +1 -1
  229. package/dist/index235.js +11 -38
  230. package/dist/index235.js.map +1 -1
  231. package/dist/index236.js +6 -2
  232. package/dist/index236.js.map +1 -1
  233. package/dist/index237.js +5 -7
  234. package/dist/index237.js.map +1 -1
  235. package/dist/index238.js +36 -325
  236. package/dist/index238.js.map +1 -1
  237. package/dist/index239.js +2 -50
  238. package/dist/index239.js.map +1 -1
  239. package/dist/index24.js +3 -3
  240. package/dist/index24.js.map +1 -1
  241. package/dist/index240.js +8 -2
  242. package/dist/index240.js.map +1 -1
  243. package/dist/index241.js +323 -72
  244. package/dist/index241.js.map +1 -1
  245. package/dist/index242.js +47 -90
  246. package/dist/index242.js.map +1 -1
  247. package/dist/index243.js +2 -52
  248. package/dist/index243.js.map +1 -1
  249. package/dist/index244.js +75 -7
  250. package/dist/index244.js.map +1 -1
  251. package/dist/index245.js +92 -4
  252. package/dist/index245.js.map +1 -1
  253. package/dist/index246.js +48 -48
  254. package/dist/index246.js.map +1 -1
  255. package/dist/index247.js +8 -2
  256. package/dist/index247.js.map +1 -1
  257. package/dist/index248.js +5 -2
  258. package/dist/index248.js.map +1 -1
  259. package/dist/index249.js +55 -0
  260. package/dist/index249.js.map +1 -0
  261. package/dist/index250.js +5 -0
  262. package/dist/index250.js.map +1 -0
  263. package/dist/index251.js +5 -0
  264. package/dist/index251.js.map +1 -0
  265. package/dist/index27.js +2 -2
  266. package/dist/index29.js +1 -1
  267. package/dist/index3.js +23 -21
  268. package/dist/index3.js.map +1 -1
  269. package/dist/index31.js +11 -10
  270. package/dist/index34.js +1 -1
  271. package/dist/index36.js +35 -38
  272. package/dist/index36.js.map +1 -1
  273. package/dist/index37.js +5 -6
  274. package/dist/index37.js.map +1 -1
  275. package/dist/index38.js +3 -3
  276. package/dist/index39.js +1 -1
  277. package/dist/index41.js +8 -7
  278. package/dist/index42.js +7 -6
  279. package/dist/index43.js +16 -16
  280. package/dist/index43.js.map +1 -1
  281. package/dist/index44.js +3 -3
  282. package/dist/index45.js +4 -4
  283. package/dist/index48.js +3 -3
  284. package/dist/index49.js +48 -30
  285. package/dist/index49.js.map +1 -1
  286. package/dist/index5.js +229 -223
  287. package/dist/index5.js.map +1 -1
  288. package/dist/index50.js +2 -2
  289. package/dist/index50.js.map +1 -1
  290. package/dist/index52.js +1 -1
  291. package/dist/index54.js +22 -21
  292. package/dist/index56.js +2 -2
  293. package/dist/index56.js.map +1 -1
  294. package/dist/index6.js +3 -2
  295. package/dist/index60.js +45 -39
  296. package/dist/index60.js.map +1 -1
  297. package/dist/index62.js +1 -1
  298. package/dist/index63.js +1 -1
  299. package/dist/index64.js +4 -3
  300. package/dist/index66.js +19 -17
  301. package/dist/index66.js.map +1 -1
  302. package/dist/index68.js +55 -5
  303. package/dist/index68.js.map +1 -1
  304. package/dist/index69.js +5 -9
  305. package/dist/index69.js.map +1 -1
  306. package/dist/index70.js +12 -0
  307. package/dist/index70.js.map +1 -0
  308. package/dist/index72.js +2 -2
  309. package/dist/index72.js.map +1 -1
  310. package/dist/index73.js +2 -2
  311. package/dist/index73.js.map +1 -1
  312. package/dist/index74.js +2 -2
  313. package/dist/index74.js.map +1 -1
  314. package/dist/index75.js +1 -1
  315. package/dist/index75.js.map +1 -1
  316. package/dist/index76.js +1 -1
  317. package/dist/index76.js.map +1 -1
  318. package/dist/index77.js +1 -1
  319. package/dist/index77.js.map +1 -1
  320. package/dist/index78.js +1 -1
  321. package/dist/index78.js.map +1 -1
  322. package/dist/index79.js +1 -1
  323. package/dist/index79.js.map +1 -1
  324. package/dist/index8.js +5 -5
  325. package/dist/index8.js.map +1 -1
  326. package/dist/index80.js +1 -1
  327. package/dist/index80.js.map +1 -1
  328. package/dist/index81.js +1 -1
  329. package/dist/index81.js.map +1 -1
  330. package/dist/index82.js +1 -1
  331. package/dist/index82.js.map +1 -1
  332. package/dist/index83.js +1 -1
  333. package/dist/index83.js.map +1 -1
  334. package/dist/index84.js +1 -1
  335. package/dist/index84.js.map +1 -1
  336. package/dist/index85.js +1 -1
  337. package/dist/index85.js.map +1 -1
  338. package/dist/index86.js +1 -1
  339. package/dist/index86.js.map +1 -1
  340. package/dist/index87.js +1 -1
  341. package/dist/index87.js.map +1 -1
  342. package/dist/index88.js +1 -1
  343. package/dist/index88.js.map +1 -1
  344. package/dist/index89.js +1 -1
  345. package/dist/index89.js.map +1 -1
  346. package/dist/index90.js +1 -1
  347. package/dist/index90.js.map +1 -1
  348. package/dist/index91.js +1 -1
  349. package/dist/index91.js.map +1 -1
  350. package/dist/index92.js +1 -1
  351. package/dist/index92.js.map +1 -1
  352. package/dist/index93.js +1 -1
  353. package/dist/index93.js.map +1 -1
  354. package/dist/index94.js +1 -1
  355. package/dist/index94.js.map +1 -1
  356. package/dist/index95.js +1 -1
  357. package/dist/index95.js.map +1 -1
  358. package/dist/index96.js +1 -1
  359. package/dist/index96.js.map +1 -1
  360. package/dist/index97.js +2 -2
  361. package/dist/index97.js.map +1 -1
  362. package/dist/index98.js +2 -2
  363. package/dist/index98.js.map +1 -1
  364. package/dist/index99.js +2 -2
  365. package/dist/index99.js.map +1 -1
  366. package/package.json +1 -1
  367. package/dist/index209.js +0 -1236
  368. package/dist/index209.js.map +0 -1
  369. package/dist/index222.js +0 -7
  370. package/dist/index222.js.map +0 -1
  371. package/dist/index224.js +0 -62
  372. package/dist/index224.js.map +0 -1
  373. package/dist/index226.js +0 -25
  374. package/dist/index226.js.map +0 -1
  375. package/dist/index71.js +0 -5
  376. package/dist/index71.js.map +0 -1
package/dist/index246.js CHANGED
@@ -1,55 +1,55 @@
1
- import { __require as E } from "./index244.js";
2
- import { __require as _ } from "./index245.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 < "u" && console.error(a);
14
- try {
15
- throw new Error(a);
16
- } catch {
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 ?? "")
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 {
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=index246.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index246.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","checkPropTypes","typeSpecs","values","location","componentName","getStack","typeSpecName","error","err","ex","stack","checkPropTypes_1"],"mappings":";;;;;;AASA,MAAIA,IAAe,WAAW;AAAA,EAAA;AAE9B,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,QAAIC,IAAuBC,EAAA,GACvBC,IAAqB,CAAA,GACrBC,IAAMC,EAAA;AAEV,IAAAL,IAAe,SAASM,GAAM;AAC5B,UAAIC,IAAU,cAAcD;AAC5B,MAAI,OAAO,UAAY,OACrB,QAAQ,MAAMC,CAAO;AAEvB,UAAI;AAIF,cAAM,IAAI,MAAMA,CAAO;AAAA,MAC7B,QAAgB;AAAA,MAAA;AAAA,IAChB;AAAA,EACA;AAaA,WAASC,EAAeC,GAAWC,GAAQC,GAAUC,GAAeC,GAAU;AAC5E,QAAI,QAAQ,IAAI,aAAa;AAC3B,eAASC,KAAgBL;AACvB,YAAIL,EAAIK,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,cAEhI;AACY,oBAAAE,EAAI,OAAO,uBACLA;AAAA,YAClB;AACU,YAAAD,IAAQN,EAAUK,CAAY,EAAEJ,GAAQI,GAAcF,GAAeD,GAAU,MAAMV,CAAoB;AAAA,UACnH,SAAiBgB,GAAI;AACX,YAAAF,IAAQE;AAAA,UAClB;AAWQ,cAVIF,KAAS,EAAEA,aAAiB,UAC9Bf;AAAA,aACGY,KAAiB,iBAAiB,6BACnCD,IAAW,OAAOG,IAAe,6FAC6B,OAAOC,IAAQ;AAAA,UAIzF,GAEYA,aAAiB,SAAS,EAAEA,EAAM,WAAWZ,IAAqB;AAGpE,YAAAA,EAAmBY,EAAM,OAAO,IAAI;AAEpC,gBAAIG,IAAQL,IAAWA,EAAQ,IAAK;AAEpC,YAAAb;AAAA,cACE,YAAYW,IAAW,YAAYI,EAAM,WAAWG,KAAwB;AAAA,YACxF;AAAA,UACA;AAAA,QACA;AAAA;AAAA,EAGA;AAOA,SAAAV,EAAe,oBAAoB,WAAW;AAC5C,IAAI,QAAQ,IAAI,aAAa,iBAC3BL,IAAqB,CAAA;AAAA,EAEzB,GAEAgB,IAAiBX;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index246.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","letter","objectAssign","target","source","from","to","symbols","s","key"],"mappings":";;;;;;;;;AAQA,MAAIA,I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AAIpB,UAAIpB,GAAuB;AAC1B,QAAAkB,IAAUlB,EAAsBgB,CAAI;AACpC,iBAASR,IAAI,GAAGA,IAAIU,EAAQ,QAAQV;AACnC,UAAIN,EAAiB,KAAKc,GAAME,EAAQV,CAAC,CAAC,MACzCS,EAAGC,EAAQV,CAAC,CAAC,IAAIQ,EAAKE,EAAQV,CAAC,CAAC;AAAA,MAGrC;AAAA,IACA;AAEC,WAAOS;AAAA,EACR;;","x_google_ignoreList":[0]}
package/dist/index247.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=index247.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index247.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index247.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/index248.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=index248.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index248.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index248.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 "./index247.js";
2
+ import { __require as _ } from "./index248.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 < "u" && console.error(a);
14
+ try {
15
+ throw new Error(a);
16
+ } catch {
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 ?? "")
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=index249.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index249.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","checkPropTypes","typeSpecs","values","location","componentName","getStack","typeSpecName","error","err","ex","stack","checkPropTypes_1"],"mappings":";;;;;;AASA,MAAIA,IAAe,WAAW;AAAA,EAAA;AAE9B,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,QAAIC,IAAuBC,EAAA,GACvBC,IAAqB,CAAA,GACrBC,IAAMC,EAAA;AAEV,IAAAL,IAAe,SAASM,GAAM;AAC5B,UAAIC,IAAU,cAAcD;AAC5B,MAAI,OAAO,UAAY,OACrB,QAAQ,MAAMC,CAAO;AAEvB,UAAI;AAIF,cAAM,IAAI,MAAMA,CAAO;AAAA,MAC7B,QAAgB;AAAA,MAAA;AAAA,IAChB;AAAA,EACA;AAaA,WAASC,EAAeC,GAAWC,GAAQC,GAAUC,GAAeC,GAAU;AAC5E,QAAI,QAAQ,IAAI,aAAa;AAC3B,eAASC,KAAgBL;AACvB,YAAIL,EAAIK,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,cAEhI;AACY,oBAAAE,EAAI,OAAO,uBACLA;AAAA,YAClB;AACU,YAAAD,IAAQN,EAAUK,CAAY,EAAEJ,GAAQI,GAAcF,GAAeD,GAAU,MAAMV,CAAoB;AAAA,UACnH,SAAiBgB,GAAI;AACX,YAAAF,IAAQE;AAAA,UAClB;AAWQ,cAVIF,KAAS,EAAEA,aAAiB,UAC9Bf;AAAA,aACGY,KAAiB,iBAAiB,6BACnCD,IAAW,OAAOG,IAAe,6FAC6B,OAAOC,IAAQ;AAAA,UAIzF,GAEYA,aAAiB,SAAS,EAAEA,EAAM,WAAWZ,IAAqB;AAGpE,YAAAA,EAAmBY,EAAM,OAAO,IAAI;AAEpC,gBAAIG,IAAQL,IAAWA,EAAQ,IAAK;AAEpC,YAAAb;AAAA,cACE,YAAYW,IAAW,YAAYI,EAAM,WAAWG,KAAwB;AAAA,YACxF;AAAA,UACA;AAAA,QACA;AAAA;AAAA,EAGA;AAOA,SAAAV,EAAe,oBAAoB,WAAW;AAC5C,IAAI,QAAQ,IAAI,aAAa,iBAC3BL,IAAqB,CAAA;AAAA,EAEzB,GAEAgB,IAAiBX;;","x_google_ignoreList":[0]}
@@ -0,0 +1,5 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
5
+ //# sourceMappingURL=index250.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index250.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,5 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
5
+ //# sourceMappingURL=index251.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index251.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index27.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import d, { useMemo as S, useRef as D, useEffect as c } from "react";
2
2
  import { Icon as j } from "./index5.js";
3
- import { getA11yNameAttributes as B } from "./index69.js";
4
- import { useDismissOnEscape as M } from "./index193.js";
3
+ import { getA11yNameAttributes as B } from "./index70.js";
4
+ import { useDismissOnEscape as M } from "./index196.js";
5
5
  /* empty css */
6
6
  function m() {
7
7
  return m = Object.assign ? Object.assign.bind() : function(r) {
package/dist/index29.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import e, { forwardRef as H } from "react";
2
2
  import { Icon as J } from "./index5.js";
3
3
  import { Button as b } from "./index3.js";
4
- import { useStableId as I } from "./index184.js";
4
+ import { useStableId as I } from "./index188.js";
5
5
  import { getRegionAttributes as K } from "./index65.js";
6
6
  import { useAccessiblePress as M } from "./index66.js";
7
7
  /* empty css */
package/dist/index3.js CHANGED
@@ -1,6 +1,6 @@
1
- import r, { forwardRef as _ } from "react";
2
- import { getA11yNameAttributes as I } from "./index69.js";
3
- import { useAccessiblePress as R } from "./index66.js";
1
+ import r, { forwardRef as I } from "react";
2
+ import { getA11yNameAttributes as R } from "./index70.js";
3
+ import { useAccessiblePress as z } from "./index66.js";
4
4
  import { Icon as b } from "./index5.js";
5
5
  /* empty css */
6
6
  function c() {
@@ -12,7 +12,7 @@ function c() {
12
12
  return e;
13
13
  }, c.apply(null, arguments);
14
14
  }
15
- const a = "focus-outline", z = {
15
+ const a = "focus-outline", D = {
16
16
  primary: "primary-btn disabled-btn pointer-events-none cursor-not-allowed",
17
17
  secondary: "secondary-btn disabled-btn pointer-events-none cursor-not-allowed",
18
18
  ghost: "ghost-btn disabled-btn pointer-events-none cursor-not-allowed",
@@ -36,14 +36,14 @@ const a = "focus-outline", z = {
36
36
  // padding: 8px, 12px
37
37
  lg: "py-3 px-4 large"
38
38
  // padding: 12px, 16px
39
- }, D = {
39
+ }, U = {
40
40
  blue: "theme-blue",
41
41
  red: "theme-red",
42
42
  yellow: "theme-yellow",
43
43
  green: "theme-green",
44
44
  ai: "theme-ai",
45
45
  white: "theme-white"
46
- }, U = /* @__PURE__ */ _(({
46
+ }, q = /* @__PURE__ */ I(({
47
47
  type: e = "primary",
48
48
  theme: n = "blue",
49
49
  size: s = "md",
@@ -60,44 +60,46 @@ const a = "focus-outline", z = {
60
60
  ariaLabel: w,
61
61
  ariaLabelledBy: N,
62
62
  ariaDescribedBy: v,
63
- onClick: x,
64
- onKeyboardActivate: k,
65
- ...C
66
- }, E) => {
63
+ isPressed: x,
64
+ onClick: k,
65
+ onKeyboardActivate: C,
66
+ ...E
67
+ }, $) => {
67
68
  const m = e === "unstyled", {
68
- pressProps: $,
69
+ pressProps: P,
69
70
  isDisabled: d
70
- } = R({
71
+ } = z({
71
72
  disabled: y,
72
73
  loading: o,
73
74
  isNative: !0,
74
75
  // native <button> => hook does NOT add Enter/Space onKeyDown
75
- onClick: x,
76
- onKeyboardActivate: k
77
- }), P = !m && e !== "link" ? p[s] : "", j = m ? "" : D[n], A = d ? z[e] : p[e], l = i?.name ? {
76
+ pressed: x,
77
+ onClick: k,
78
+ onKeyboardActivate: C
79
+ }), j = !m && e !== "link" ? p[s] : "", A = m ? "" : U[n], B = d ? D[e] : p[e], l = i?.name ? {
78
80
  ...i,
79
81
  stroke: d ? "var(--color-gray-600)" : i.stroke
80
- } : void 0, B = ["se-design-button", j, P, A, f, m ? "" : "rounded-[6px] flex gap-1 items-center min-w-fit"].filter(Boolean).join(" "), O = I({
82
+ } : void 0, O = ["se-design-button", A, j, B, f, m ? "" : "rounded-[6px] inline-flex gap-1 items-center min-w-fit"].filter(Boolean).join(" "), _ = R({
81
83
  ariaLabel: w,
82
84
  ariaLabelledBy: N,
83
85
  ariaDescribedBy: v
84
86
  });
85
87
  return /* @__PURE__ */ r.createElement("button", c({
86
- ref: E,
88
+ ref: $,
87
89
  type: "button",
88
- className: B,
90
+ className: O,
89
91
  disabled: d,
90
92
  autoFocus: h,
91
93
  "data-automation-id": g
92
- }, C, $, O), o && /* @__PURE__ */ r.createElement("div", {
94
+ }, E, P, _), o && /* @__PURE__ */ r.createElement("div", {
93
95
  "aria-hidden": "true",
94
96
  className: "animate-spin w-4 h-4 border-2 border-current border-t-transparent rounded-full"
95
97
  }), !o && l?.name && u === "left" && /* @__PURE__ */ r.createElement(b, l), t && /* @__PURE__ */ r.createElement("span", {
96
98
  className: "button-label [font-weight:inherit]"
97
99
  }, t), !o && l?.name && u === "right" && /* @__PURE__ */ r.createElement(b, l));
98
100
  });
99
- U.displayName = "Button";
101
+ q.displayName = "Button";
100
102
  export {
101
- U as Button
103
+ q as Button
102
104
  };
103
105
  //# sourceMappingURL=index3.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index3.js","sources":["../src/components/Button/index.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { Map } from '../../utils/common.types';\nimport { useAccessiblePress, getA11yNameAttributes } from '../../utils/a11y';\nimport { Icon, IconProps } from '../Icon';\nimport './style.scss';\n\n/**\n * Allows native button attributes (aria-*, data-*, etc.) to be passed through,\n * but keeps our own onClick/disabled/type typing AND aria-label/aria-labelledby/aria-describedby.\n * Note: We omit 'type' because we use it for button variant, not HTML type attribute.\n * The HTML type is always set to 'button' internally.\n */\ntype NativeButtonProps = Omit<\n React.ButtonHTMLAttributes<HTMLButtonElement>,\n 'onClick' | 'disabled' | 'type' | 'aria-label' | 'aria-labelledby' | 'aria-describedby'\n>;\n\nexport interface ButtonProps extends NativeButtonProps {\n /**\n * Type of the button. \n */\n type?: 'primary' | 'secondary' | 'ghost' | 'link' | 'unstyled';\n /**\n * Color pallet of the button\n */\n theme?: 'blue' | 'red' | 'yellow' | 'green' | 'ai' | 'white';\n /**\n * Size of the button\n */\n size?: 'sm' | 'md' | 'lg';\n /**\n * Button contents\n */\n label: string | '';\n /**\n * Icon props\n */\n iconProps?: IconProps;\n /**\n * Icon position\n */\n iconPosition?: 'left' | 'right';\n /**\n * Disabled state\n */\n disabled?: boolean;\n /**\n * Loading state - will disable button and show spinner\n */\n loading?: boolean;\n /**\n * Optional click handler (called for pointer/mouse activations)\n */\n onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;\n /**\n * Optional keyboard activation handler\n * Called when button is activated via keyboard (Enter/Space) or assistive technology virtual activation.\n * Use when you want to have different behavior for keyboard and pointer activations.\n * If not provided, onClick will be called for all activations.\n */\n onKeyboardActivate?: (e: React.MouseEvent<HTMLButtonElement>) => void;\n /**\n * Custom class name\n */\n className?: string;\n /**\n * Automation ID for testing\n */\n automationId?: string;\n /**\n * If true, button will be focused on mount.\n * For programmatic focus control, use ref with .focus() instead.\n */\n autoFocus?: boolean;\n /**\n * Accessible name for the button. Use when there's no visible label (e.g., icon-only buttons).\n * Prefer ariaLabelledBy when a visible label exists.\n */\n ariaLabel?: string;\n /**\n * ID(s) of element(s) that label this button.\n * Preferred over ariaLabel when a visible label exists (keeps SR and visual text in sync).\n */\n ariaLabelledBy?: string;\n /**\n * ID(s) of element(s) that describe this button.\n * Provides additional context announced after the accessible name.\n */\n ariaDescribedBy?: string;\n}\n\nconst focusClass = 'focus-outline';\nconst disabledClassNames: Map = {\n primary: 'primary-btn disabled-btn pointer-events-none cursor-not-allowed',\n secondary: 'secondary-btn disabled-btn pointer-events-none cursor-not-allowed',\n ghost: 'ghost-btn disabled-btn pointer-events-none cursor-not-allowed',\n link: 'link-btn w-fit disabled-btn pointer-events-none cursor-not-allowed',\n unstyled: 'unstyled-btn disabled-btn pointer-events-none cursor-not-allowed',\n sm: 'py-1 px-3 small', // padding: 4px, 12px\n md: 'py-2 px-3 medium', // padding: 8px, 12px\n lg: 'py-3 px-4 large' // padding: 12px, 16px\n};\nconst classNames: Map = {\n primary: `primary-btn ${focusClass}`,\n secondary: `secondary-btn ${focusClass}`,\n ghost: `ghost-btn ${focusClass}`,\n link: `link-btn w-fit ${focusClass}`,\n unstyled: `unstyled-btn ${focusClass}`,\n sm: 'py-1 px-3 small', // padding: 4px, 12px\n md: 'py-2 px-3 medium', // padding: 8px, 12px\n lg: 'py-3 px-4 large' // padding: 12px, 16px\n};\n\nconst colorPalletClassNames: Map = {\n blue: 'theme-blue',\n red: 'theme-red',\n yellow: 'theme-yellow',\n green: 'theme-green',\n ai: 'theme-ai',\n white: 'theme-white'\n};\n\nexport const Button = forwardRef<HTMLButtonElement, ButtonProps>(\n (\n {\n type = 'primary',\n theme = 'blue',\n size = 'md',\n label = '',\n iconPosition = 'left',\n disabled = false,\n loading = false,\n className = '',\n iconProps = { name: '' },\n automationId = '',\n autoFocus = false,\n ariaLabel,\n ariaLabelledBy,\n ariaDescribedBy,\n onClick,\n onKeyboardActivate,\n ...props\n },\n ref\n ) => {\n const isUnstyled = type === 'unstyled';\n\n // Use shared hook for activation handling (pointer vs keyboard/virtual click routing)\n const { pressProps, isDisabled } = useAccessiblePress({\n disabled,\n loading,\n isNative: true, // native <button> => hook does NOT add Enter/Space onKeyDown\n onClick: onClick as (e: React.MouseEvent<HTMLElement>) => void,\n onKeyboardActivate: onKeyboardActivate as (e: React.MouseEvent<HTMLElement>) => void\n });\n\n // Skip size/color classes for unstyled variant\n const sizeClassName = !isUnstyled && type !== 'link' ? classNames[size] : '';\n const colorPalletClassName = !isUnstyled ? colorPalletClassNames[theme] : '';\n const typeClassName = isDisabled ? disabledClassNames[type] : classNames[type];\n\n // Avoid mutating incoming iconProps\n const computedIconProps: IconProps | undefined = iconProps?.name\n ? {\n ...iconProps,\n stroke: isDisabled ? 'var(--color-gray-600)' : iconProps.stroke\n }\n : undefined;\n\n const buttonClassName = [\n 'se-design-button',\n colorPalletClassName,\n sizeClassName,\n typeClassName,\n className,\n !isUnstyled ? 'rounded-[6px] flex gap-1 items-center min-w-fit' : ''\n ]\n .filter(Boolean)\n .join(' ');\n\n // Compute accessible name/description props with correct precedence\n const accessibleNameProps = getA11yNameAttributes({\n ariaLabel,\n ariaLabelledBy,\n ariaDescribedBy\n });\n\n return (\n <button\n ref={ref}\n type=\"button\"\n className={buttonClassName}\n disabled={isDisabled}\n autoFocus={autoFocus}\n data-automation-id={automationId}\n {...props}\n {...(pressProps as React.ButtonHTMLAttributes<HTMLButtonElement>)}\n {...accessibleNameProps}\n >\n {loading && (\n <div\n aria-hidden=\"true\"\n className=\"animate-spin w-4 h-4 border-2 border-current border-t-transparent rounded-full\"\n />\n )}\n {!loading && computedIconProps?.name && iconPosition === 'left' && (\n <Icon {...computedIconProps} />\n )}\n {label && <span className=\"button-label [font-weight:inherit]\">{label}</span>}\n {!loading && computedIconProps?.name && iconPosition === 'right' && (\n <Icon {...computedIconProps} />\n )}\n </button>\n );\n }\n);\n\nButton.displayName = 'Button';\n"],"names":["focusClass","disabledClassNames","primary","secondary","ghost","link","unstyled","sm","md","lg","classNames","colorPalletClassNames","blue","red","yellow","green","ai","white","Button","type","theme","size","label","iconPosition","disabled","loading","className","iconProps","name","automationId","autoFocus","ariaLabel","ariaLabelledBy","ariaDescribedBy","onClick","onKeyboardActivate","props","ref","isUnstyled","pressProps","isDisabled","useAccessiblePress","isNative","sizeClassName","colorPalletClassName","typeClassName","computedIconProps","stroke","undefined","buttonClassName","filter","Boolean","join","accessibleNameProps","getA11yNameAttributes","React","createElement","_extends","Icon","displayName"],"mappings":";;;;;;;;;;;;;;AA2FA,MAAMA,IAAa,iBACbC,IAA0B;AAAA,EAC9BC,SAAS;AAAA,EACTC,WAAW;AAAA,EACXC,OAAO;AAAA,EACPC,MAAM;AAAA,EACNC,UAAU;AAAA,EACVC,IAAI;AAAA;AAAA,EACJC,IAAI;AAAA;AAAA,EACJC,IAAI;AAAA;AACN,GACMC,IAAkB;AAAA,EACtBR,SAAS,eAAeF,CAAU;AAAA,EAClCG,WAAW,iBAAiBH,CAAU;AAAA,EACtCI,OAAO,aAAaJ,CAAU;AAAA,EAC9BK,MAAM,kBAAkBL,CAAU;AAAA,EA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C,IAAkB,CACtB,oBACAL,GACAD,GACAE,GACAnB,GACCY,IAAiE,KAApD,iDAAsD,EAEnEY,OAAOC,OAAO,EACdC,KAAK,GAAG,GAGLC,IAAsBC,EAAsB;AAAA,IAChDvB,WAAAA;AAAAA,IACAC,gBAAAA;AAAAA,IACAC,iBAAAA;AAAAA,EAAAA,CACD;AAED,SACEsB,gBAAAA,EAAAC,cAAA,UAAAC,EAAA;AAAA,IACEpB,KAAAA;AAAAA,IACAlB,MAAK;AAAA,IACLO,WAAWuB;AAAAA,IACXzB,UAAUgB;AAAAA,IACVV,WAAAA;AAAAA,IACA,sBAAoBD;AAAAA,EAAAA,GAChBO,GACCG,GACDc,CAAmB,GAEtB5B,KACC8B,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IACE,eAAY;AAAA,IACZ9B,WAAU;AAAA,EAAA,CACX,GAEF,CAACD,KAAWqB,GAAmBlB,QAAQL,MAAiB,UACvDgC,gBAAAA,EAAAC,cAACE,GAASZ,CAAoB,GAE/BxB,KAASiC,gBAAAA,EAAAC,cAAA,QAAA;AAAA,IAAM9B,WAAU;AAAA,EAAA,GAAsCJ,CAAY,GAC3E,CAACG,KAAWqB,GAAmBlB,QAAQL,MAAiB,WACvDgC,gBAAAA,EAAAC,cAACE,GAASZ,CAAoB,CAE1B;AAEV,CACF;AAEA5B,EAAOyC,cAAc;"}
1
+ {"version":3,"file":"index3.js","sources":["../src/components/Button/index.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { Map } from '../../utils/common.types';\nimport { useAccessiblePress, getA11yNameAttributes } from '../../utils/a11y';\nimport { Icon, IconProps } from '../Icon';\nimport './style.scss';\n\n/**\n * Allows native button attributes (aria-*, data-*, etc.) to be passed through,\n * but keeps our own onClick/disabled/type typing AND aria-label/aria-labelledby/aria-describedby.\n * Note: We omit 'type' because we use it for button variant, not HTML type attribute.\n * The HTML type is always set to 'button' internally.\n */\ntype NativeButtonProps = Omit<\n React.ButtonHTMLAttributes<HTMLButtonElement>,\n 'onClick' | 'disabled' | 'type' | 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'aria-pressed'\n>;\n\nexport interface ButtonProps extends NativeButtonProps {\n /**\n * Type of the button. \n */\n type?: 'primary' | 'secondary' | 'ghost' | 'link' | 'unstyled';\n /**\n * Color pallet of the button\n */\n theme?: 'blue' | 'red' | 'yellow' | 'green' | 'ai' | 'white';\n /**\n * Size of the button\n */\n size?: 'sm' | 'md' | 'lg';\n /**\n * Button contents\n */\n label: string | '';\n /**\n * Icon props\n */\n iconProps?: IconProps;\n /**\n * Icon position\n */\n iconPosition?: 'left' | 'right';\n /**\n * Disabled state\n */\n disabled?: boolean;\n /**\n * Loading state - will disable button and show spinner\n */\n loading?: boolean;\n /**\n * Optional click handler (called for pointer/mouse activations)\n */\n onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;\n /**\n * Optional keyboard activation handler\n * Called when button is activated via keyboard (Enter/Space) or assistive technology virtual activation.\n * Use when you want to have different behavior for keyboard and pointer activations.\n * If not provided, onClick will be called for all activations.\n */\n onKeyboardActivate?: (e: React.MouseEvent<HTMLButtonElement>) => void;\n /**\n * Custom class name\n */\n className?: string;\n /**\n * Automation ID for testing\n */\n automationId?: string;\n /**\n * If true, button will be focused on mount.\n * For programmatic focus control, use ref with .focus() instead.\n */\n autoFocus?: boolean;\n /**\n * Accessible name for the button. Use when there's no visible label (e.g., icon-only buttons).\n * Prefer ariaLabelledBy when a visible label exists.\n */\n ariaLabel?: string;\n /**\n * ID(s) of element(s) that label this button.\n * Preferred over ariaLabel when a visible label exists (keeps SR and visual text in sync).\n */\n ariaLabelledBy?: string;\n /**\n * ID(s) of element(s) that describe this button.\n * Provides additional context announced after the accessible name.\n */\n ariaDescribedBy?: string;\n /**\n * When true, sets aria-pressed for toggle/pressed state \n */\n isPressed?: boolean;\n}\n\nconst focusClass = 'focus-outline';\nconst disabledClassNames: Map = {\n primary: 'primary-btn disabled-btn pointer-events-none cursor-not-allowed',\n secondary: 'secondary-btn disabled-btn pointer-events-none cursor-not-allowed',\n ghost: 'ghost-btn disabled-btn pointer-events-none cursor-not-allowed',\n link: 'link-btn w-fit disabled-btn pointer-events-none cursor-not-allowed',\n unstyled: 'unstyled-btn disabled-btn pointer-events-none cursor-not-allowed',\n sm: 'py-1 px-3 small', // padding: 4px, 12px\n md: 'py-2 px-3 medium', // padding: 8px, 12px\n lg: 'py-3 px-4 large' // padding: 12px, 16px\n};\nconst classNames: Map = {\n primary: `primary-btn ${focusClass}`,\n secondary: `secondary-btn ${focusClass}`,\n ghost: `ghost-btn ${focusClass}`,\n link: `link-btn w-fit ${focusClass}`,\n unstyled: `unstyled-btn ${focusClass}`,\n sm: 'py-1 px-3 small', // padding: 4px, 12px\n md: 'py-2 px-3 medium', // padding: 8px, 12px\n lg: 'py-3 px-4 large' // padding: 12px, 16px\n};\n\nconst colorPalletClassNames: Map = {\n blue: 'theme-blue',\n red: 'theme-red',\n yellow: 'theme-yellow',\n green: 'theme-green',\n ai: 'theme-ai',\n white: 'theme-white'\n};\n\nexport const Button = forwardRef<HTMLButtonElement, ButtonProps>(\n (\n {\n type = 'primary',\n theme = 'blue',\n size = 'md',\n label = '',\n iconPosition = 'left',\n disabled = false,\n loading = false,\n className = '',\n iconProps = { name: '' },\n automationId = '',\n autoFocus = false,\n ariaLabel,\n ariaLabelledBy,\n ariaDescribedBy,\n isPressed,\n onClick,\n onKeyboardActivate,\n ...props\n },\n ref\n ) => {\n const isUnstyled = type === 'unstyled';\n\n // Use shared hook for activation handling (pointer vs keyboard/virtual click routing) \n const { pressProps, isDisabled } = useAccessiblePress({\n disabled,\n loading,\n isNative: true, // native <button> => hook does NOT add Enter/Space onKeyDown\n pressed: isPressed,\n onClick: onClick as (e: React.MouseEvent<HTMLElement>) => void,\n onKeyboardActivate: onKeyboardActivate as (e: React.MouseEvent<HTMLElement>) => void\n });\n\n // Skip size/color classes for unstyled variant\n const sizeClassName = !isUnstyled && type !== 'link' ? classNames[size] : '';\n const colorPalletClassName = !isUnstyled ? colorPalletClassNames[theme] : '';\n const typeClassName = isDisabled ? disabledClassNames[type] : classNames[type];\n\n // Avoid mutating incoming iconProps\n const computedIconProps: IconProps | undefined = iconProps?.name\n ? {\n ...iconProps,\n stroke: isDisabled ? 'var(--color-gray-600)' : iconProps.stroke\n }\n : undefined;\n\n const buttonClassName = [\n 'se-design-button',\n colorPalletClassName,\n sizeClassName,\n typeClassName,\n className,\n !isUnstyled ? 'rounded-[6px] inline-flex gap-1 items-center min-w-fit' : ''\n ]\n .filter(Boolean)\n .join(' ');\n\n // Compute accessible name/description props with correct precedence\n const accessibleNameProps = getA11yNameAttributes({\n ariaLabel,\n ariaLabelledBy,\n ariaDescribedBy\n });\n\n return (\n <button\n ref={ref}\n type=\"button\"\n className={buttonClassName}\n disabled={isDisabled}\n autoFocus={autoFocus}\n data-automation-id={automationId}\n {...props}\n {...(pressProps as React.ButtonHTMLAttributes<HTMLButtonElement>)}\n {...accessibleNameProps}\n >\n {loading && (\n <div\n aria-hidden=\"true\"\n className=\"animate-spin w-4 h-4 border-2 border-current border-t-transparent rounded-full\"\n />\n )}\n {!loading && computedIconProps?.name && iconPosition === 'left' && (\n <Icon {...computedIconProps} />\n )}\n {label && <span className=\"button-label [font-weight:inherit]\">{label}</span>}\n {!loading && computedIconProps?.name && iconPosition === 'right' && (\n <Icon {...computedIconProps} />\n )}\n </button>\n );\n }\n);\n\nButton.displayName = 'Button';\n"],"names":["focusClass","disabledClassNames","primary","secondary","ghost","link","unstyled","sm","md","lg","classNames","colorPalletClassNames","blue","red","yellow","green","ai","white","Button","type","theme","size","label","iconPosition","disabled","loading","className","iconProps","name","automationId","autoFocus","ariaLabel","ariaLabelledBy","ariaDescribedBy","isPressed","onClick","onKeyboardActivate","props","ref","isUnstyled","pressProps","isDisabled","useAccessiblePress","isNative","pressed","sizeClassName","colorPalletClassName","typeClassName","computedIconProps","stroke","undefined","buttonClassName","filter","Boolean","join","accessibleNameProps","getA11yNameAttributes","React","createElement","_ext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,CAAoB,CAE1B;AAEV,CACF;AAEA9B,EAAO2C,cAAc;"}
package/dist/index31.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import e from "react";
2
2
  import { Button as N } from "./index3.js";
3
3
  import { Badge as I } from "./index9.js";
4
- import { Icon as g } from "./index5.js";
4
+ import { Icon as d } from "./index5.js";
5
5
  /* empty css */
6
6
  const t = {
7
7
  widgetCtn: "flex flex-col gap-[2px] align-center border border-[var(--color-gray-200)] rounded-[12px] w-[385px]",
@@ -21,16 +21,16 @@ const t = {
21
21
  requestFeatureImageCtn: "w-[48px] h-[48px] border border-[var(--color-gray-200)] rounded-[50%] flex items-center flex-shrink-0 bg-[var(--color-red-50)]",
22
22
  requestFeatureDescriptionCtn: "flex flex-col"
23
23
  }, B = ({
24
- widgetClassName: d = "",
24
+ widgetClassName: g = "",
25
25
  widgetType: a = "general",
26
26
  widgetTitle: r = "",
27
27
  widgetDescription: l = "",
28
28
  widgetImage: p,
29
- hasImage: x = !1,
29
+ hasImage: f = !1,
30
30
  hasButtonCta: n = !1,
31
31
  hasLinkCta: i = !1,
32
32
  ctaText: o = "",
33
- hasBadge: f = !1,
33
+ hasBadge: x = !1,
34
34
  badgeText: w = "",
35
35
  buttonBgColor: u = "secondary",
36
36
  onCtaClick: b,
@@ -38,7 +38,7 @@ const t = {
38
38
  webinarDateInfo: c,
39
39
  webinarSpeaker: s
40
40
  }) => {
41
- const E = f && /* @__PURE__ */ e.createElement(I, {
41
+ const E = x && /* @__PURE__ */ e.createElement(I, {
42
42
  label: w,
43
43
  className: t.widgetBadge,
44
44
  bgColor: "var(--color-yellow-50)",
@@ -52,14 +52,14 @@ const t = {
52
52
  label: o,
53
53
  className: `${t.widgetButtonCta} mt-[4px]`,
54
54
  onClick: b
55
- })), C = x && /* @__PURE__ */ e.createElement("div", {
55
+ })), C = f && /* @__PURE__ */ e.createElement("div", {
56
56
  className: `${t.widgetImageCtn} widget-image-ctn`
57
57
  }, /* @__PURE__ */ e.createElement("img", {
58
58
  src: p,
59
59
  alt: "widget-image"
60
60
  }));
61
61
  return /* @__PURE__ */ e.createElement("div", {
62
- className: `${t.widgetCtn} ${d} widget-ctn`,
62
+ className: `${t.widgetCtn} ${g} widget-ctn`,
63
63
  onClick: v
64
64
  }, a !== "general" && C, /* @__PURE__ */ e.createElement("div", {
65
65
  className: t.descriptionCtn
@@ -71,14 +71,14 @@ const t = {
71
71
  className: t.webinarInfoCtn
72
72
  }, s && /* @__PURE__ */ e.createElement("div", {
73
73
  className: `${t.webinarDescriptionInfo} align-baseline`
74
- }, /* @__PURE__ */ e.createElement(g, {
74
+ }, /* @__PURE__ */ e.createElement(d, {
75
75
  name: "people",
76
76
  className: "relative top-[2px]"
77
77
  }), /* @__PURE__ */ e.createElement("span", {
78
78
  className: t.webinarSpeaker
79
79
  }, s)), c && /* @__PURE__ */ e.createElement("div", {
80
80
  className: `${t.webinarTimeInfo} align-baseline mb-[4px]`
81
- }, /* @__PURE__ */ e.createElement(g, {
81
+ }, /* @__PURE__ */ e.createElement(d, {
82
82
  name: "clock",
83
83
  className: "relative top-[2px]"
84
84
  }), /* @__PURE__ */ e.createElement("span", {
@@ -96,6 +96,7 @@ const t = {
96
96
  }, l), m)) : m));
97
97
  };
98
98
  export {
99
- B as Widget
99
+ B as Widget,
100
+ B as default
100
101
  };
101
102
  //# sourceMappingURL=index31.js.map
package/dist/index34.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import e, { useState as h, useEffect as E } from "react";
2
2
  import { Icon as N } from "./index5.js";
3
- import { useStableId as $ } from "./index184.js";
3
+ import { useStableId as $ } from "./index188.js";
4
4
  import { getRegionAttributes as I } from "./index65.js";
5
5
  import { useAccessiblePress as _ } from "./index66.js";
6
6
  function r() {