se-design 1.0.99 → 1.1.1-dev

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 (392) hide show
  1. package/dist/assets/icons/reminder-clock.svg +6 -0
  2. package/dist/assets/style.css +1 -1
  3. package/dist/components/GetStartedWidget/index.d.ts +6 -0
  4. package/dist/index100.js +1 -1
  5. package/dist/index100.js.map +1 -1
  6. package/dist/index101.js +1 -1
  7. package/dist/index101.js.map +1 -1
  8. package/dist/index102.js +1 -1
  9. package/dist/index102.js.map +1 -1
  10. package/dist/index103.js +1 -1
  11. package/dist/index103.js.map +1 -1
  12. package/dist/index104.js +1 -1
  13. package/dist/index104.js.map +1 -1
  14. package/dist/index105.js +1 -1
  15. package/dist/index105.js.map +1 -1
  16. package/dist/index106.js +1 -1
  17. package/dist/index106.js.map +1 -1
  18. package/dist/index107.js +1 -1
  19. package/dist/index107.js.map +1 -1
  20. package/dist/index108.js +1 -1
  21. package/dist/index108.js.map +1 -1
  22. package/dist/index109.js +1 -1
  23. package/dist/index109.js.map +1 -1
  24. package/dist/index110.js +1 -1
  25. package/dist/index110.js.map +1 -1
  26. package/dist/index111.js +1 -1
  27. package/dist/index111.js.map +1 -1
  28. package/dist/index112.js +1 -1
  29. package/dist/index112.js.map +1 -1
  30. package/dist/index113.js +1 -1
  31. package/dist/index113.js.map +1 -1
  32. package/dist/index114.js +1 -1
  33. package/dist/index114.js.map +1 -1
  34. package/dist/index115.js +1 -1
  35. package/dist/index115.js.map +1 -1
  36. package/dist/index116.js +1 -1
  37. package/dist/index116.js.map +1 -1
  38. package/dist/index117.js +1 -1
  39. package/dist/index117.js.map +1 -1
  40. package/dist/index118.js +1 -1
  41. package/dist/index118.js.map +1 -1
  42. package/dist/index119.js +1 -1
  43. package/dist/index119.js.map +1 -1
  44. package/dist/index12.js +2 -2
  45. package/dist/index120.js +2 -2
  46. package/dist/index120.js.map +1 -1
  47. package/dist/index121.js +1 -1
  48. package/dist/index121.js.map +1 -1
  49. package/dist/index122.js +2 -2
  50. package/dist/index122.js.map +1 -1
  51. package/dist/index123.js +1 -1
  52. package/dist/index123.js.map +1 -1
  53. package/dist/index124.js +1 -1
  54. package/dist/index124.js.map +1 -1
  55. package/dist/index125.js +2 -2
  56. package/dist/index125.js.map +1 -1
  57. package/dist/index126.js +1 -1
  58. package/dist/index126.js.map +1 -1
  59. package/dist/index127.js +2 -2
  60. package/dist/index127.js.map +1 -1
  61. package/dist/index128.js +1 -1
  62. package/dist/index128.js.map +1 -1
  63. package/dist/index129.js +1 -1
  64. package/dist/index129.js.map +1 -1
  65. package/dist/index13.js +2 -2
  66. package/dist/index130.js +1 -1
  67. package/dist/index130.js.map +1 -1
  68. package/dist/index131.js +1 -1
  69. package/dist/index131.js.map +1 -1
  70. package/dist/index132.js +1 -1
  71. package/dist/index132.js.map +1 -1
  72. package/dist/index133.js +1 -1
  73. package/dist/index133.js.map +1 -1
  74. package/dist/index134.js +2 -2
  75. package/dist/index134.js.map +1 -1
  76. package/dist/index135.js +1 -1
  77. package/dist/index135.js.map +1 -1
  78. package/dist/index136.js +2 -2
  79. package/dist/index136.js.map +1 -1
  80. package/dist/index137.js +2 -2
  81. package/dist/index137.js.map +1 -1
  82. package/dist/index138.js +1 -1
  83. package/dist/index138.js.map +1 -1
  84. package/dist/index139.js +2 -2
  85. package/dist/index139.js.map +1 -1
  86. package/dist/index140.js +2 -2
  87. package/dist/index140.js.map +1 -1
  88. package/dist/index141.js +1 -1
  89. package/dist/index141.js.map +1 -1
  90. package/dist/index142.js +1 -1
  91. package/dist/index142.js.map +1 -1
  92. package/dist/index143.js +1 -1
  93. package/dist/index143.js.map +1 -1
  94. package/dist/index144.js +2 -2
  95. package/dist/index144.js.map +1 -1
  96. package/dist/index145.js +2 -2
  97. package/dist/index145.js.map +1 -1
  98. package/dist/index146.js +2 -2
  99. package/dist/index146.js.map +1 -1
  100. package/dist/index147.js +1 -1
  101. package/dist/index147.js.map +1 -1
  102. package/dist/index148.js +1 -1
  103. package/dist/index148.js.map +1 -1
  104. package/dist/index149.js +1 -1
  105. package/dist/index149.js.map +1 -1
  106. package/dist/index150.js +1 -1
  107. package/dist/index150.js.map +1 -1
  108. package/dist/index151.js +1 -1
  109. package/dist/index151.js.map +1 -1
  110. package/dist/index152.js +1 -1
  111. package/dist/index152.js.map +1 -1
  112. package/dist/index153.js +1 -1
  113. package/dist/index153.js.map +1 -1
  114. package/dist/index154.js +1 -1
  115. package/dist/index154.js.map +1 -1
  116. package/dist/index155.js +1 -1
  117. package/dist/index155.js.map +1 -1
  118. package/dist/index156.js +2 -2
  119. package/dist/index156.js.map +1 -1
  120. package/dist/index157.js +2 -2
  121. package/dist/index157.js.map +1 -1
  122. package/dist/index158.js +1 -1
  123. package/dist/index158.js.map +1 -1
  124. package/dist/index159.js +1 -1
  125. package/dist/index159.js.map +1 -1
  126. package/dist/index16.js +1 -1
  127. package/dist/index160.js +1 -1
  128. package/dist/index160.js.map +1 -1
  129. package/dist/index161.js +1 -1
  130. package/dist/index161.js.map +1 -1
  131. package/dist/index162.js +1 -1
  132. package/dist/index162.js.map +1 -1
  133. package/dist/index163.js +1 -1
  134. package/dist/index163.js.map +1 -1
  135. package/dist/index164.js +1 -1
  136. package/dist/index164.js.map +1 -1
  137. package/dist/index165.js +1 -1
  138. package/dist/index165.js.map +1 -1
  139. package/dist/index166.js +1 -1
  140. package/dist/index166.js.map +1 -1
  141. package/dist/index167.js +2 -2
  142. package/dist/index167.js.map +1 -1
  143. package/dist/index168.js +1 -1
  144. package/dist/index168.js.map +1 -1
  145. package/dist/index169.js +2 -2
  146. package/dist/index169.js.map +1 -1
  147. package/dist/index170.js +2 -2
  148. package/dist/index170.js.map +1 -1
  149. package/dist/index171.js +2 -2
  150. package/dist/index171.js.map +1 -1
  151. package/dist/index172.js +2 -2
  152. package/dist/index172.js.map +1 -1
  153. package/dist/index173.js +1 -1
  154. package/dist/index173.js.map +1 -1
  155. package/dist/index174.js +1 -1
  156. package/dist/index174.js.map +1 -1
  157. package/dist/index175.js +1 -1
  158. package/dist/index175.js.map +1 -1
  159. package/dist/index176.js +1 -1
  160. package/dist/index176.js.map +1 -1
  161. package/dist/index177.js +1 -1
  162. package/dist/index177.js.map +1 -1
  163. package/dist/index178.js +1 -1
  164. package/dist/index178.js.map +1 -1
  165. package/dist/index179.js +1 -1
  166. package/dist/index179.js.map +1 -1
  167. package/dist/index180.js +2 -2
  168. package/dist/index180.js.map +1 -1
  169. package/dist/index181.js +1 -1
  170. package/dist/index181.js.map +1 -1
  171. package/dist/index182.js +2 -2
  172. package/dist/index182.js.map +1 -1
  173. package/dist/index183.js +1 -1
  174. package/dist/index183.js.map +1 -1
  175. package/dist/index184.js +1 -1
  176. package/dist/index184.js.map +1 -1
  177. package/dist/index185.js +1 -1
  178. package/dist/index185.js.map +1 -1
  179. package/dist/index186.js +1 -1
  180. package/dist/index186.js.map +1 -1
  181. package/dist/index187.js +1 -1
  182. package/dist/index187.js.map +1 -1
  183. package/dist/index188.js +1 -1
  184. package/dist/index188.js.map +1 -1
  185. package/dist/index189.js +1 -1
  186. package/dist/index189.js.map +1 -1
  187. package/dist/index19.js +1 -1
  188. package/dist/index190.js +1 -1
  189. package/dist/index190.js.map +1 -1
  190. package/dist/index191.js +1 -1
  191. package/dist/index191.js.map +1 -1
  192. package/dist/index192.js +1 -1
  193. package/dist/index192.js.map +1 -1
  194. package/dist/index193.js +1 -1
  195. package/dist/index193.js.map +1 -1
  196. package/dist/index194.js +1 -1
  197. package/dist/index194.js.map +1 -1
  198. package/dist/index195.js +1 -1
  199. package/dist/index195.js.map +1 -1
  200. package/dist/index196.js +1 -1
  201. package/dist/index196.js.map +1 -1
  202. package/dist/index197.js +1 -1
  203. package/dist/index197.js.map +1 -1
  204. package/dist/index198.js +1 -1
  205. package/dist/index198.js.map +1 -1
  206. package/dist/index199.js +1 -1
  207. package/dist/index199.js.map +1 -1
  208. package/dist/index200.js +1 -1
  209. package/dist/index200.js.map +1 -1
  210. package/dist/index201.js +2 -2
  211. package/dist/index201.js.map +1 -1
  212. package/dist/index202.js +1 -1
  213. package/dist/index202.js.map +1 -1
  214. package/dist/index203.js +2 -2
  215. package/dist/index203.js.map +1 -1
  216. package/dist/index204.js +1 -1
  217. package/dist/index204.js.map +1 -1
  218. package/dist/index205.js +2 -2
  219. package/dist/index205.js.map +1 -1
  220. package/dist/index206.js +1 -1
  221. package/dist/index206.js.map +1 -1
  222. package/dist/index207.js +2 -2
  223. package/dist/index207.js.map +1 -1
  224. package/dist/index208.js +1 -1
  225. package/dist/index208.js.map +1 -1
  226. package/dist/index209.js +1 -1
  227. package/dist/index209.js.map +1 -1
  228. package/dist/index210.js +2 -2
  229. package/dist/index210.js.map +1 -1
  230. package/dist/index211.js +1 -1
  231. package/dist/index211.js.map +1 -1
  232. package/dist/index212.js +2 -2
  233. package/dist/index212.js.map +1 -1
  234. package/dist/index213.js +1 -1
  235. package/dist/index213.js.map +1 -1
  236. package/dist/index214.js +1 -1
  237. package/dist/index214.js.map +1 -1
  238. package/dist/index215.js +1 -1
  239. package/dist/index215.js.map +1 -1
  240. package/dist/index216.js +1 -1
  241. package/dist/index216.js.map +1 -1
  242. package/dist/index217.js +1 -1
  243. package/dist/index217.js.map +1 -1
  244. package/dist/index218.js +1 -1
  245. package/dist/index218.js.map +1 -1
  246. package/dist/index219.js +2 -2
  247. package/dist/index219.js.map +1 -1
  248. package/dist/index220.js +1 -1
  249. package/dist/index220.js.map +1 -1
  250. package/dist/index221.js +2 -2
  251. package/dist/index221.js.map +1 -1
  252. package/dist/index222.js +2 -2
  253. package/dist/index222.js.map +1 -1
  254. package/dist/index223.js +1 -1
  255. package/dist/index223.js.map +1 -1
  256. package/dist/index224.js +2 -149
  257. package/dist/index224.js.map +1 -1
  258. package/dist/index225.js +2 -9
  259. package/dist/index225.js.map +1 -1
  260. package/dist/index226.js +149 -6
  261. package/dist/index226.js.map +1 -1
  262. package/dist/index227.js +8 -42
  263. package/dist/index227.js.map +1 -1
  264. package/dist/index228.js +5 -20
  265. package/dist/index228.js.map +1 -1
  266. package/dist/index229.js +46 -0
  267. package/dist/index229.js.map +1 -0
  268. package/dist/index230.js +24 -0
  269. package/dist/index230.js.map +1 -0
  270. package/dist/{index235.js → index237.js} +1 -1
  271. package/dist/{index235.js.map → index237.js.map} +1 -1
  272. package/dist/{index236.js → index238.js} +1 -1
  273. package/dist/{index236.js.map → index238.js.map} +1 -1
  274. package/dist/index24.js +1 -1
  275. package/dist/index245.js +4 -11
  276. package/dist/index245.js.map +1 -1
  277. package/dist/index247.js +15 -0
  278. package/dist/index247.js.map +1 -0
  279. package/dist/{index254.js → index256.js} +1 -1
  280. package/dist/{index254.js.map → index256.js.map} +1 -1
  281. package/dist/{index257.js → index259.js} +1 -1
  282. package/dist/{index257.js.map → index259.js.map} +1 -1
  283. package/dist/index26.js +1 -1
  284. package/dist/{index266.js → index268.js} +1 -1
  285. package/dist/{index266.js.map → index268.js.map} +1 -1
  286. package/dist/index269.js +3 -18
  287. package/dist/index269.js.map +1 -1
  288. package/dist/index271.js +9 -9
  289. package/dist/index271.js.map +1 -1
  290. package/dist/index272.js +9 -4
  291. package/dist/index272.js.map +1 -1
  292. package/dist/index273.js +5 -170
  293. package/dist/index273.js.map +1 -1
  294. package/dist/index274.js +170 -11
  295. package/dist/index274.js.map +1 -1
  296. package/dist/index275.js +11 -6
  297. package/dist/index275.js.map +1 -1
  298. package/dist/index276.js +5 -5
  299. package/dist/index276.js.map +1 -1
  300. package/dist/index277.js +5 -37
  301. package/dist/index277.js.map +1 -1
  302. package/dist/index278.js +38 -2
  303. package/dist/index278.js.map +1 -1
  304. package/dist/index279.js +2 -8
  305. package/dist/index279.js.map +1 -1
  306. package/dist/index280.js +7 -326
  307. package/dist/index280.js.map +1 -1
  308. package/dist/index281.js +324 -47
  309. package/dist/index281.js.map +1 -1
  310. package/dist/index282.js +50 -2
  311. package/dist/index282.js.map +1 -1
  312. package/dist/index283.js +2 -76
  313. package/dist/index283.js.map +1 -1
  314. package/dist/index284.js +65 -82
  315. package/dist/index284.js.map +1 -1
  316. package/dist/index285.js +89 -48
  317. package/dist/index285.js.map +1 -1
  318. package/dist/index286.js +51 -7
  319. package/dist/index286.js.map +1 -1
  320. package/dist/index287.js +7 -4
  321. package/dist/index287.js.map +1 -1
  322. package/dist/index288.js +4 -51
  323. package/dist/index288.js.map +1 -1
  324. package/dist/index289.js +52 -2
  325. package/dist/index289.js.map +1 -1
  326. package/dist/index29.js +2 -2
  327. package/dist/index290.js +2 -2
  328. package/dist/index291.js +5 -0
  329. package/dist/index291.js.map +1 -0
  330. package/dist/index30.js +1 -1
  331. package/dist/index31.js +1 -1
  332. package/dist/index33.js +1 -1
  333. package/dist/index33.js.map +1 -1
  334. package/dist/index34.js +1 -1
  335. package/dist/index36.js +1 -1
  336. package/dist/index37.js +25 -25
  337. package/dist/index37.js.map +1 -1
  338. package/dist/index38.js +1 -1
  339. package/dist/index39.js +1 -1
  340. package/dist/index40.js +2 -2
  341. package/dist/index41.js +1 -1
  342. package/dist/index43.js +58 -51
  343. package/dist/index43.js.map +1 -1
  344. package/dist/index44.js +1 -1
  345. package/dist/index45.js +1 -1
  346. package/dist/index47.js +1 -1
  347. package/dist/index52.js +2 -2
  348. package/dist/index55.js +1 -1
  349. package/dist/index57.js +1 -1
  350. package/dist/index58.js +1 -1
  351. package/dist/index59.js +1 -1
  352. package/dist/index6.js +194 -192
  353. package/dist/index6.js.map +1 -1
  354. package/dist/index63.js +1 -1
  355. package/dist/index67.js +1 -1
  356. package/dist/index69.js +1 -1
  357. package/dist/index7.js +1 -1
  358. package/dist/index71.js +1 -1
  359. package/dist/index85.js +1 -1
  360. package/dist/index87.js +1 -1
  361. package/dist/index88.js +22 -0
  362. package/dist/index88.js.map +1 -0
  363. package/dist/index9.js +1 -1
  364. package/dist/index90.js +2 -2
  365. package/dist/index90.js.map +1 -1
  366. package/dist/index91.js +2 -2
  367. package/dist/index91.js.map +1 -1
  368. package/dist/index92.js +2 -2
  369. package/dist/index92.js.map +1 -1
  370. package/dist/index93.js +2 -2
  371. package/dist/index93.js.map +1 -1
  372. package/dist/index94.js +1 -1
  373. package/dist/index94.js.map +1 -1
  374. package/dist/index95.js +1 -1
  375. package/dist/index95.js.map +1 -1
  376. package/dist/index96.js +1 -1
  377. package/dist/index96.js.map +1 -1
  378. package/dist/index97.js +1 -1
  379. package/dist/index97.js.map +1 -1
  380. package/dist/index98.js +1 -1
  381. package/dist/index98.js.map +1 -1
  382. package/dist/index99.js +1 -1
  383. package/dist/index99.js.map +1 -1
  384. package/package.json +1 -1
  385. package/dist/index243.js +0 -8
  386. package/dist/index243.js.map +0 -1
  387. package/dist/index267.js +0 -7
  388. package/dist/index267.js.map +0 -1
  389. package/dist/index270.js +0 -13
  390. package/dist/index270.js.map +0 -1
  391. package/dist/index89.js +0 -5
  392. package/dist/index89.js.map +0 -1
package/dist/index288.js CHANGED
@@ -1,55 +1,8 @@
1
- import { __require as E } from "./index286.js";
2
- import { __require as _ } from "./index287.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;
1
+ var r, e;
2
+ function a() {
3
+ return e || (e = 1, r = Function.call.bind(Object.prototype.hasOwnProperty)), r;
51
4
  }
52
5
  export {
53
- P as __require
6
+ a as __require
54
7
  };
55
8
  //# sourceMappingURL=index288.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index288.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;A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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":"index288.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]}
package/dist/index289.js CHANGED
@@ -1,5 +1,55 @@
1
- var r = {};
1
+ import { __require as E } from "./index287.js";
2
+ import { __require as _ } from "./index288.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
+ }
2
52
  export {
3
- r as __exports
53
+ P as __require
4
54
  };
5
55
  //# sourceMappingURL=index289.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index289.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index289.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,IA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GED
@@ -2,8 +2,8 @@ import m, { useMemo as ue, useRef as h, useEffect as f, useCallback as me, useSt
2
2
  import { Icon as fe } from "./index6.js";
3
3
  import { getA11yNameAttributes as ye } from "./index87.js";
4
4
  import { useFocusTrap as be } from "./index78.js";
5
- import { useDismissOnEscape as pe } from "./index235.js";
6
- import { useFocusSentinel as he } from "./index236.js";
5
+ import { useDismissOnEscape as pe } from "./index237.js";
6
+ import { useFocusSentinel as he } from "./index238.js";
7
7
  /* empty css */
8
8
  function E() {
9
9
  return E = Object.assign ? Object.assign.bind() : function(g) {
package/dist/index290.js CHANGED
@@ -1,5 +1,5 @@
1
- var e = {};
1
+ var r = {};
2
2
  export {
3
- e as __exports
3
+ r as __exports
4
4
  };
5
5
  //# sourceMappingURL=index290.js.map
@@ -0,0 +1,5 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
5
+ //# sourceMappingURL=index291.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index291.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index30.js CHANGED
@@ -2,7 +2,7 @@ import t, { useState as L, useMemo as z, useRef as O, useEffect as H } from "rea
2
2
  import { Icon as A } from "./index6.js";
3
3
  import { Popover as U } from "./index19.js";
4
4
  import { MenuList as V } from "./index18.js";
5
- import { useStableId as q } from "./index226.js";
5
+ import { useStableId as q } from "./index228.js";
6
6
  import "./index78.js";
7
7
  import { useTabsA11y as G, getPanelId as J } from "./index79.js";
8
8
  /* empty css */
package/dist/index31.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import e, { forwardRef as K } from "react";
2
2
  import { Icon as M } from "./index6.js";
3
3
  import { Button as d } from "./index4.js";
4
- import { useStableId as B } from "./index226.js";
4
+ import { useStableId as B } from "./index228.js";
5
5
  import { getRegionAttributes as Q } from "./index72.js";
6
6
  import { useAccessiblePress as U } from "./index73.js";
7
7
  import "./index78.js";
package/dist/index33.js CHANGED
@@ -42,7 +42,7 @@ const t = {
42
42
  label: w,
43
43
  className: t.widgetBadge,
44
44
  bgColor: "var(--color-yellow-50)",
45
- textColor: "var(--color-yellow-400)",
45
+ textColor: "var(--color-yellow-800)",
46
46
  fontWeight: "normal"
47
47
  }), m = (i || n) && /* @__PURE__ */ e.createElement(e.Fragment, null, i && /* @__PURE__ */ e.createElement("span", {
48
48
  className: t.widgetLinkCta
@@ -1 +1 @@
1
- {"version":3,"file":"index33.js","sources":["../src/components/Widget/index.tsx"],"sourcesContent":["import React, { FC } from \"react\";\nimport { Map } from \"../../utils/common.types\";\nimport { Button } from \"../Button\";\nimport { Badge } from \"../Badge\";\nimport { Icon } from \"../Icon\";\nimport \"./style.scss\";\n\nexport interface WidgetProps {\n widgetClassName?: string;\n widgetType?: \"promotion\" | \"webinar\" | \"request-feature\" | \"general\";\n widgetTitle?: string;\n hasBadge?: boolean;\n webinarSpeaker?: string;\n badgeText?: string;\n widgetDescription?: string;\n webinarDateInfo?: string;\n hasImage?: boolean;\n widgetImage?: string;\n hasButtonCta?: boolean;\n buttonBgColor?: 'primary' | 'secondary';\n hasLinkCta?: boolean;\n ctaText?: string;\n onCtaClick?: () => void;\n onWidgetClick?: () => void;\n}\n\nconst className: Map = {\n widgetCtn: 'flex flex-col gap-[2px] align-center border border-[var(--color-gray-200)] rounded-[12px] w-[385px]',\n widgetImageCtn: 'cursor-pointer',\n descriptionCtn: 'p-4 flex flex-col',\n widgetTitle: 'text-[var(--color-gray-900)] mt-[4px] mb-[8px]',\n widgetDescription: 'text-[var(--color-gray-700)] mb-[4px]',\n widgetLinkCta: 'text-[var(--color-blue-500)] cursor-pointer hover:text-[var(--color-blue-600)]',\n widgetButtonCta: 'self-start',\n widgetBadge: 'w-fit',\n webinarInfoCtn: 'flex flex-col gap-2',\n webinarSpeaker: 'text-[var(--color-gray-700)]',\n webinarDate: 'text-[var(--color-gray-700)]',\n webinarDescriptionInfo: 'flex gap-2',\n webinarTimeInfo: 'flex gap-2',\n requestFeatureCtn: 'flex gap-[12px]',\n requestFeatureImageCtn: 'w-[48px] h-[48px] border border-[var(--color-gray-200)] rounded-[50%] flex items-center flex-shrink-0 bg-[var(--color-red-50)]',\n requestFeatureDescriptionCtn: 'flex flex-col',\n};\n\nexport const Widget: FC<WidgetProps> = ({\n widgetClassName = \"\",\n widgetType = 'general',\n widgetTitle = \"\",\n widgetDescription = \"\",\n widgetImage,\n hasImage = false,\n hasButtonCta = false,\n hasLinkCta = false,\n ctaText = \"\",\n hasBadge = false,\n badgeText = \"\",\n buttonBgColor = 'secondary',\n onCtaClick,\n onWidgetClick,\n webinarDateInfo,\n webinarSpeaker,\n}) => {\n\n const renderBadge = hasBadge && (\n <Badge\n label={badgeText}\n className={className.widgetBadge}\n bgColor=\"var(--color-yellow-50)\"\n textColor=\"var(--color-yellow-400)\"\n fontWeight=\"normal\"\n />\n );\n\n const renderCTA = (hasLinkCta || hasButtonCta) && (\n <React.Fragment>\n {hasLinkCta && <span className={className.widgetLinkCta}>{ctaText}</span>}\n {hasButtonCta && <Button type={buttonBgColor} size=\"md\" label={ctaText} className={`${className.widgetButtonCta} mt-[4px]`} onClick={onCtaClick} />}\n </React.Fragment>\n );\n\n const renderImage = hasImage && (\n <div className={`${className.widgetImageCtn} widget-image-ctn`}>\n <img src={widgetImage} alt=\"widget-image\"/>\n </div>\n );\n\n return (\n <div className={`${className.widgetCtn} ${widgetClassName} widget-ctn`} onClick={onWidgetClick}>\n {widgetType !== \"general\" && renderImage}\n <div className={className.descriptionCtn}>\n {widgetType !== \"general\" && renderBadge}\n {widgetType !== \"request-feature\" && <span className={`${className.widgetTitle} widget-title`}>{widgetTitle}</span>}\n\n {([\"promotion\", \"general\"].includes(widgetType)) && (\n <span className={`${className.widgetDescription} widget-description`}>{widgetDescription}</span>\n )}\n\n {widgetType === \"webinar\" && (\n <div className={className.webinarInfoCtn}>\n {webinarSpeaker && (\n <div className={`${className.webinarDescriptionInfo} align-baseline`}>\n <Icon name=\"people\" className=\"relative top-[2px]\" />\n <span className={className.webinarSpeaker}>{webinarSpeaker}</span>\n </div>\n )}\n {webinarDateInfo && (\n <div className={`${className.webinarTimeInfo} align-baseline mb-[4px]`}>\n <Icon name=\"clock\" className=\"relative top-[2px]\" />\n <span className={className.webinarDate}>{webinarDateInfo}</span>\n </div>\n )}\n </div>\n )}\n\n {widgetType === \"request-feature\" ? (\n <div className={className.requestFeatureCtn}>\n <div className={className.requestFeatureImageCtn} />\n <div className={className.requestFeatureDescriptionCtn}>\n <span className={`${className.widgetTitle} widget-title`}>{widgetTitle}</span>\n <span className={`${className.widgetDescription} widget-description`}>{widgetDescription}</span>\n {renderCTA}\n </div>\n </div>\n ) : (\n renderCTA\n )}\n </div>\n </div>\n );\n};\n\nexport default Widget;"],"names":["React__default","Button","Badge","Icon","className","widgetCtn","widgetImageCtn","descriptionCtn","widgetTitle","widgetDescription","widgetLinkCta","widgetButtonCta","widgetBadge","webinarInfoCtn","webinarSpeaker","webinarDate","webinarDescriptionInfo","webinarTimeInfo","requestFeatureCtn","requestFeatureImageCtn","requestFeatureDescriptionCtn","Widget","widgetClassName","widgetType","widgetImage","hasImage","hasButtonCta","hasLinkCta","ctaText","hasBadge","badgeText","buttonBgColor","onCtaClick","onWidgetClick","webinarDateInfo","renderBadge","React","createElement","label","bgColor","textColor","fontWeight","renderCTA","Fragment","type","size","onClick","renderImage","src","alt","includes","name"],"mappings":"AA0BA,OAAAA,OAAA;AAAA,SAAA,UAAAC,SAAA;AAAA,SAAA,SAAAC,SAAA;AAAA,SAAA,QAAAC,SAAA;AAAA,OAAA;AAAA,MAAMC,IAAiB;AAAA,EACrBC,WAAW;AAAA,EACXC,gBAAgB;AAAA,EAChBC,gBAAgB;AAAA,EAChBC,aAAa;AAAA,EACbC,mBAAmB;AAAA,EACnBC,eAAe;AAAA,EACfC,iBAAiB;AAAA,EACjBC,aAAa;AAAA,EACbC,gBAAgB;AAAA,EAChBC,gBAAgB;AAAA,EAChBC,aAAa;AAAA,EACbC,wBAAwB;AAAA,EACxBC,iBAAiB;AAAA,EACj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Ae,oBACda,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKjC,WAAWA,EAAUc;AAAAA,EAAAA,GACxBkB,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKjC,WAAWA,EAAUe;AAAAA,EAAAA,CAAyB,GACnDiB,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKjC,WAAWA,EAAUgB;AAAAA,EAAAA,GACxBgB,gBAAAA,EAAAC,cAAA,QAAA;AAAA,IAAMjC,WAAW,GAAGA,EAAUI,WAAW;AAAA,EAAA,GAAkBA,CAAkB,GAC7E4B,gBAAAA,EAAAC,cAAA,QAAA;AAAA,IAAMjC,WAAW,GAAGA,EAAUK,iBAAiB;AAAA,EAAA,GAAwBA,CAAwB,GAC9FiC,CACE,CACF,IAELA,CAEC,CACF;AAET;"}
1
+ {"version":3,"file":"index33.js","sources":["../src/components/Widget/index.tsx"],"sourcesContent":["import React, { FC } from \"react\";\nimport { Map } from \"../../utils/common.types\";\nimport { Button } from \"../Button\";\nimport { Badge } from \"../Badge\";\nimport { Icon } from \"../Icon\";\nimport \"./style.scss\";\n\nexport interface WidgetProps {\n widgetClassName?: string;\n widgetType?: \"promotion\" | \"webinar\" | \"request-feature\" | \"general\";\n widgetTitle?: string;\n hasBadge?: boolean;\n webinarSpeaker?: string;\n badgeText?: string;\n widgetDescription?: string;\n webinarDateInfo?: string;\n hasImage?: boolean;\n widgetImage?: string;\n hasButtonCta?: boolean;\n buttonBgColor?: 'primary' | 'secondary';\n hasLinkCta?: boolean;\n ctaText?: string;\n onCtaClick?: () => void;\n onWidgetClick?: () => void;\n}\n\nconst className: Map = {\n widgetCtn: 'flex flex-col gap-[2px] align-center border border-[var(--color-gray-200)] rounded-[12px] w-[385px]',\n widgetImageCtn: 'cursor-pointer',\n descriptionCtn: 'p-4 flex flex-col',\n widgetTitle: 'text-[var(--color-gray-900)] mt-[4px] mb-[8px]',\n widgetDescription: 'text-[var(--color-gray-700)] mb-[4px]',\n widgetLinkCta: 'text-[var(--color-blue-500)] cursor-pointer hover:text-[var(--color-blue-600)]',\n widgetButtonCta: 'self-start',\n widgetBadge: 'w-fit',\n webinarInfoCtn: 'flex flex-col gap-2',\n webinarSpeaker: 'text-[var(--color-gray-700)]',\n webinarDate: 'text-[var(--color-gray-700)]',\n webinarDescriptionInfo: 'flex gap-2',\n webinarTimeInfo: 'flex gap-2',\n requestFeatureCtn: 'flex gap-[12px]',\n requestFeatureImageCtn: 'w-[48px] h-[48px] border border-[var(--color-gray-200)] rounded-[50%] flex items-center flex-shrink-0 bg-[var(--color-red-50)]',\n requestFeatureDescriptionCtn: 'flex flex-col',\n};\n\nexport const Widget: FC<WidgetProps> = ({\n widgetClassName = \"\",\n widgetType = 'general',\n widgetTitle = \"\",\n widgetDescription = \"\",\n widgetImage,\n hasImage = false,\n hasButtonCta = false,\n hasLinkCta = false,\n ctaText = \"\",\n hasBadge = false,\n badgeText = \"\",\n buttonBgColor = 'secondary',\n onCtaClick,\n onWidgetClick,\n webinarDateInfo,\n webinarSpeaker,\n}) => {\n\n const renderBadge = hasBadge && (\n <Badge\n label={badgeText}\n className={className.widgetBadge}\n bgColor=\"var(--color-yellow-50)\"\n textColor=\"var(--color-yellow-800)\"\n fontWeight=\"normal\"\n />\n );\n\n const renderCTA = (hasLinkCta || hasButtonCta) && (\n <React.Fragment>\n {hasLinkCta && <span className={className.widgetLinkCta}>{ctaText}</span>}\n {hasButtonCta && <Button type={buttonBgColor} size=\"md\" label={ctaText} className={`${className.widgetButtonCta} mt-[4px]`} onClick={onCtaClick} />}\n </React.Fragment>\n );\n\n const renderImage = hasImage && (\n <div className={`${className.widgetImageCtn} widget-image-ctn`}>\n <img src={widgetImage} alt=\"widget-image\"/>\n </div>\n );\n\n return (\n <div className={`${className.widgetCtn} ${widgetClassName} widget-ctn`} onClick={onWidgetClick}>\n {widgetType !== \"general\" && renderImage}\n <div className={className.descriptionCtn}>\n {widgetType !== \"general\" && renderBadge}\n {widgetType !== \"request-feature\" && <span className={`${className.widgetTitle} widget-title`}>{widgetTitle}</span>}\n\n {([\"promotion\", \"general\"].includes(widgetType)) && (\n <span className={`${className.widgetDescription} widget-description`}>{widgetDescription}</span>\n )}\n\n {widgetType === \"webinar\" && (\n <div className={className.webinarInfoCtn}>\n {webinarSpeaker && (\n <div className={`${className.webinarDescriptionInfo} align-baseline`}>\n <Icon name=\"people\" className=\"relative top-[2px]\" />\n <span className={className.webinarSpeaker}>{webinarSpeaker}</span>\n </div>\n )}\n {webinarDateInfo && (\n <div className={`${className.webinarTimeInfo} align-baseline mb-[4px]`}>\n <Icon name=\"clock\" className=\"relative top-[2px]\" />\n <span className={className.webinarDate}>{webinarDateInfo}</span>\n </div>\n )}\n </div>\n )}\n\n {widgetType === \"request-feature\" ? (\n <div className={className.requestFeatureCtn}>\n <div className={className.requestFeatureImageCtn} />\n <div className={className.requestFeatureDescriptionCtn}>\n <span className={`${className.widgetTitle} widget-title`}>{widgetTitle}</span>\n <span className={`${className.widgetDescription} widget-description`}>{widgetDescription}</span>\n {renderCTA}\n </div>\n </div>\n ) : (\n renderCTA\n )}\n </div>\n </div>\n );\n};\n\nexport default Widget;"],"names":["React__default","Button","Badge","Icon","className","widgetCtn","widgetImageCtn","descriptionCtn","widgetTitle","widgetDescription","widgetLinkCta","widgetButtonCta","widgetBadge","webinarInfoCtn","webinarSpeaker","webinarDate","webinarDescriptionInfo","webinarTimeInfo","requestFeatureCtn","requestFeatureImageCtn","requestFeatureDescriptionCtn","Widget","widgetClassName","widgetType","widgetImage","hasImage","hasButtonCta","hasLinkCta","ctaText","hasBadge","badgeText","buttonBgColor","onCtaClick","onWidgetClick","webinarDateInfo","renderBadge","React","createElement","label","bgColor","textColor","fontWeight","renderCTA","Fragment","type","size","onClick","renderImage","src","alt","includes","name"],"mappings":"AA0BA,OAAAA,OAAA;AAAA,SAAA,UAAAC,SAAA;AAAA,SAAA,SAAAC,SAAA;AAAA,SAAA,QAAAC,SAAA;AAAA,OAAA;AAAA,MAAMC,IAAi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AAA;AAAA,IAAKjC,WAAW,GAAGA,EAAUa,eAAe;AAAA,EAAA,GAC3CmB,gBAAAA,EAAAC,cAAClC,GAAI;AAAA,IAACgD,MAAK;AAAA,IAAQ/C,WAAU;AAAA,EAAA,CAAsB,GACnDgC,gBAAAA,EAAAC,cAAA,QAAA;AAAA,IAAMjC,WAAWA,EAAUW;AAAAA,EAAAA,GAAcmB,CAAsB,CAC5D,CAEJ,GAGNX,MAAe,oBACda,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKjC,WAAWA,EAAUc;AAAAA,EAAAA,GACxBkB,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKjC,WAAWA,EAAUe;AAAAA,EAAAA,CAAyB,GACnDiB,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKjC,WAAWA,EAAUgB;AAAAA,EAAAA,GACxBgB,gBAAAA,EAAAC,cAAA,QAAA;AAAA,IAAMjC,WAAW,GAAGA,EAAUI,WAAW;AAAA,EAAA,GAAkBA,CAAkB,GAC7E4B,gBAAAA,EAAAC,cAAA,QAAA;AAAA,IAAMjC,WAAW,GAAGA,EAAUK,iBAAiB;AAAA,EAAA,GAAwBA,CAAwB,GAC9FiC,CACE,CACF,IAELA,CAEC,CACF;AAET;"}
package/dist/index34.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import e, { useRef as y } from "react";
2
- import { useStableId as N } from "./index226.js";
2
+ import { useStableId as N } from "./index228.js";
3
3
  function I(a) {
4
4
  const {
5
5
  label: s,
package/dist/index36.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 "./index6.js";
3
- import { useStableId as $ } from "./index226.js";
3
+ import { useStableId as $ } from "./index228.js";
4
4
  import { getRegionAttributes as I } from "./index72.js";
5
5
  import { useAccessiblePress as _ } from "./index73.js";
6
6
  import "./index78.js";
package/dist/index37.js CHANGED
@@ -1,23 +1,23 @@
1
- import e, { useState as k, useEffect as w } from "react";
1
+ import e, { useState as T, useEffect as k } from "react";
2
2
  import { Icon as x } from "./index6.js";
3
- import { useStableId as F } from "./index226.js";
3
+ import { useStableId as F } from "./index228.js";
4
4
  import { getA11yNameAttributes as P } from "./index87.js";
5
5
  import { getRegionAttributes as V } from "./index72.js";
6
6
  import { useAccessiblePress as q } from "./index73.js";
7
7
  import "./index78.js";
8
8
  function a() {
9
9
  return a = Object.assign ? Object.assign.bind() : function(i) {
10
- for (var o = 1; o < arguments.length; o++) {
11
- var s = arguments[o];
12
- for (var n in s) ({}).hasOwnProperty.call(s, n) && (i[n] = s[n]);
10
+ for (var s = 1; s < arguments.length; s++) {
11
+ var o = arguments[s];
12
+ for (var n in o) ({}).hasOwnProperty.call(o, n) && (i[n] = o[n]);
13
13
  }
14
14
  return i;
15
15
  }, a.apply(null, arguments);
16
16
  }
17
17
  const L = ({
18
18
  renderAccordionContents: i,
19
- renderAccordionSrcElement: o,
20
- renderControls: s,
19
+ renderAccordionSrcElement: s,
20
+ renderControls: o,
21
21
  defaultOpen: n,
22
22
  expanded: f,
23
23
  onChange: E,
@@ -28,43 +28,43 @@ const L = ({
28
28
  automationId: h = "",
29
29
  id: A,
30
30
  ariaLabel: I,
31
- titleTag: C
31
+ titleTag: y
32
32
  }) => {
33
- const [O, u] = k(!1);
34
- w(() => {
33
+ const [C, u] = T(!1);
34
+ k(() => {
35
35
  u(n || !1);
36
36
  }, [n]);
37
- const d = f !== void 0, t = d ? f : O, g = () => {
37
+ const d = f !== void 0, t = d ? f : C, g = () => {
38
38
  d ? E?.(!t) : u(!t);
39
39
  }, c = F(A, "custom-accordion"), m = `${c}-content`, {
40
- pressProps: y,
41
- role: _,
42
- tabIndex: R
40
+ pressProps: O,
41
+ role: w,
42
+ tabIndex: _
43
43
  } = q({
44
44
  onClick: g,
45
45
  isNative: !1,
46
46
  disabled: r
47
- }), S = V({
47
+ }), j = V({
48
48
  titleId: c,
49
49
  isFocusable: !1
50
- }), T = "group-focus-visible:[outline:var(--focus-width)_solid_var(--focus-color)] group-focus-visible:[outline-offset:var(--focus-offset)] group-focus-visible:p-[2px]", p = () => r ? "" : l === "left" ? t ? "rotate-90" : "" : t ? "rotate-180" : "", v = C, b = /* @__PURE__ */ e.createElement("div", {
51
- className: `se-design-accordion-trigger-content flex items-center rounded ${T}`
50
+ }), R = "group-focus-visible:[outline:var(--focus-width)_solid_var(--focus-color)] group-focus-visible:[outline-offset:var(--focus-offset)] group-focus-visible:p-[2px]", p = () => r ? "" : l === "left" ? t ? "rotate-90" : "" : t ? "rotate-180" : "", v = y, b = /* @__PURE__ */ e.createElement("div", {
51
+ className: `se-design-accordion-trigger-content flex items-center justify-between w-full flex-1 rounded ${R}`
52
52
  }, l === "left" && /* @__PURE__ */ e.createElement("div", {
53
53
  className: `se-design-accordion-icon transform transition-transform duration-300 ${p()} ${r ? "opacity-30 pointer-events-none" : ""}`
54
54
  }, /* @__PURE__ */ e.createElement(x, {
55
55
  name: "rightSide"
56
56
  })), /* @__PURE__ */ e.createElement("div", {
57
- className: "se-design-accordion-elements"
57
+ className: "se-design-accordion-elements min-w-0 flex-1"
58
58
  }, /* @__PURE__ */ e.createElement("div", {
59
59
  id: c,
60
60
  className: "se-design-accordion-src-element title"
61
- }, o({
61
+ }, s({
62
62
  isOpen: t
63
63
  }))), l === "right" && /* @__PURE__ */ e.createElement("div", {
64
64
  className: `se-design-accordion-icon transform transition-transform duration-300 ${p()} ${r ? "opacity-30 pointer-events-none" : ""}`
65
65
  }, /* @__PURE__ */ e.createElement(x, {
66
66
  name: "chevron"
67
- }))), j = v ? /* @__PURE__ */ e.createElement(v, {
67
+ }))), S = v ? /* @__PURE__ */ e.createElement(v, {
68
68
  className: "flex-1"
69
69
  }, /* @__PURE__ */ e.createElement("button", {
70
70
  id: c + "-btn",
@@ -73,11 +73,11 @@ const L = ({
73
73
  "aria-controls": m,
74
74
  disabled: r,
75
75
  className: "flex items-center flex-1 w-full cursor-pointer group focus-visible:!outline-none bg-transparent border-0 p-0 text-left"
76
- }, b)) : /* @__PURE__ */ e.createElement("div", a({}, y, P({
76
+ }, b)) : /* @__PURE__ */ e.createElement("div", a({}, O, P({
77
77
  ariaLabel: I
78
78
  }), {
79
- role: _,
80
- tabIndex: R,
79
+ role: w,
80
+ tabIndex: _,
81
81
  "aria-expanded": t,
82
82
  "aria-controls": m,
83
83
  className: "flex items-center flex-1 cursor-pointer group focus-visible:outline-none"
@@ -89,9 +89,9 @@ const L = ({
89
89
  className: "flex flex-col"
90
90
  }, /* @__PURE__ */ e.createElement("div", {
91
91
  className: "se-design-accordion-src flex items-center"
92
- }, j, s?.()), t && /* @__PURE__ */ e.createElement("div", a({
92
+ }, S, o?.()), t && /* @__PURE__ */ e.createElement("div", a({
93
93
  id: m
94
- }, S, {
94
+ }, j, {
95
95
  className: `se-design-accordion-content transition-all duration-300 mt-1 ${$}`
96
96
  }), i({
97
97
  isOpen: t
@@ -1 +1 @@
1
- {"version":3,"file":"index37.js","sources":["../src/components/CustomAccordion/index.tsx"],"sourcesContent":["import React, { FC, useEffect, useState } from 'react';\nimport { Icon } from '../Icon';\nimport { useStableId } from '../../utils/useStableId';\nimport { useAccessiblePress, getA11yNameAttributes } from '../../utils/a11y';\nimport { getRegionAttributes } from '../../utils/a11y/regionAttributes';\n\nexport interface CustomAccordionProps {\n renderAccordionContents: (props: { isOpen: boolean }) => React.ReactNode;\n renderAccordionSrcElement: (props: { isOpen: boolean }) => React.ReactNode;\n renderControls?: () => React.ReactNode;\n defaultOpen?: boolean;\n expanded?: boolean;\n onChange?: (isOpen: boolean) => void;\n className?: string;\n arrowPosition?: 'left' | 'right';\n contentClassName?: string;\n disabled?: boolean;\n automationId?: string;\n id?: string;\n ariaLabel?: string;\n titleTag?: string;\n}\n\nexport const CustomAccordion: FC<CustomAccordionProps> = ({\n renderAccordionContents,\n renderAccordionSrcElement,\n renderControls,\n defaultOpen,\n expanded,\n onChange,\n className = '',\n arrowPosition = 'left',\n contentClassName = '',\n disabled = false,\n automationId = '',\n id,\n ariaLabel,\n titleTag\n}) => {\n const [isOpen, setIsOpen] = useState(false);\n useEffect(() => {\n setIsOpen(defaultOpen || false);\n }, [defaultOpen]);\n\n const isControlled = expanded !== undefined;\n const open = isControlled ? expanded : isOpen;\n\n const handleToggle = () => {\n if (isControlled) {\n onChange?.(!open);\n } else {\n setIsOpen(!open);\n }\n };\n\n // Generate stable IDs for ARIA relationships\n const triggerId = useStableId(id, 'custom-accordion');\n const contentId = `${triggerId}-content`;\n\n // Use accessible press hook for keyboard + mouse handling\n const { pressProps, role, tabIndex } = useAccessiblePress({\n onClick: handleToggle,\n isNative: false,\n disabled\n });\n\n // Get region attributes for content panel\n const regionAttributes = getRegionAttributes({\n titleId: triggerId,\n isFocusable: false\n });\n\n const focusVisibleClasses = 'group-focus-visible:[outline:var(--focus-width)_solid_var(--focus-color)] group-focus-visible:[outline-offset:var(--focus-offset)] group-focus-visible:p-[2px]';\n\n const getArrowRotation = () => {\n if (disabled) {\n return '';\n }\n if (arrowPosition === 'left') {\n return open ? 'rotate-90' : '';\n }\n return open ? 'rotate-180' : '';\n };\n\n const TitleTag = titleTag as React.ElementType | undefined;\n\n const triggerContent = (\n <div className={`se-design-accordion-trigger-content flex items-center rounded ${focusVisibleClasses}`}>\n {arrowPosition === 'left' && (\n <div className={`se-design-accordion-icon transform transition-transform duration-300 ${getArrowRotation()} ${\n disabled ? 'opacity-30 pointer-events-none' : ''\n }`}>\n <Icon name=\"rightSide\" />\n </div>\n )}\n <div className=\"se-design-accordion-elements\">\n <div id={triggerId} className=\"se-design-accordion-src-element title\">{renderAccordionSrcElement({ isOpen: open })}</div>\n </div>\n {arrowPosition === 'right' && (\n <div className={`se-design-accordion-icon transform transition-transform duration-300 ${getArrowRotation()} ${\n disabled ? 'opacity-30 pointer-events-none' : ''\n }`}>\n <Icon name=\"chevron\" />\n </div>\n )}\n </div>\n );\n\n const trigger = TitleTag ? (\n <TitleTag className=\"flex-1\">\n <button\n id={triggerId + '-btn'}\n onClick={handleToggle}\n aria-expanded={open}\n aria-controls={contentId}\n disabled={disabled}\n className=\"flex items-center flex-1 w-full cursor-pointer group focus-visible:!outline-none bg-transparent border-0 p-0 text-left\"\n >\n {triggerContent}\n </button>\n </TitleTag>\n ) : (\n <div\n {...pressProps}\n {...getA11yNameAttributes({ ariaLabel })}\n role={role}\n tabIndex={tabIndex}\n aria-expanded={open}\n aria-controls={contentId}\n className=\"flex items-center flex-1 cursor-pointer group focus-visible:outline-none\"\n >\n {triggerContent}\n </div>\n );\n\n return (\n <div className={`se-design-accordion ${className}`} data-automation-id={automationId}>\n <div className=\"flex flex-col\">\n <div className=\"se-design-accordion-src flex items-center\">\n {trigger}\n {renderControls?.()}\n </div>\n {open && (\n <div id={contentId} {...regionAttributes} className={`se-design-accordion-content transition-all duration-300 mt-1 ${contentClassName}`}>\n {renderAccordionContents({ isOpen: open })}\n </div>\n )}\n </div>\n </div>\n );\n};\n"],"names":["CustomAccordion","renderAccordionContents","renderAccordionSrcElement","renderControls","defaultOpen","expanded","onChange","className","arrowPosition","contentClassName","disabled","automationId","id","ariaLabel","titleTag","isOpen","setIsOpen","useState","useEffect","isControlled","undefined","open","handleToggle","triggerId","useStableId","contentId","pressProps","role","tabIndex","useAccessiblePress","onClick","isNative","regionAttributes","getRegionAttributes","titleId","isFocusable","focusVisibleClasses","getArrowRotation","TitleTag","triggerContent","React","createElement","Icon","name","trigger","_extends","getA11yNameAttributes"],"mappings":";;;;;;;;;;;;;;;;AAuBO,MAAMA,IAA4CA,CAAC;AAAA,EACxDC,yBAAAA;AAAAA,EACAC,2BAAAA;AAAAA,EACAC,gBAAAA;AAAAA,EACAC,aAAAA;AAAAA,EACAC,UAAAA;AAAAA,EACAC,UAAAA;AAAAA,EACAC,WAAAA,IAAY;AAAA,EACZC,eAAAA,IAAgB;AAAA,EAChBC,kBAAAA,IAAmB;AAAA,EACnBC,UAAAA,IAAW;AAAA,EACXC,cAAAA,IAAe;AAAA,EACfC,IAAAA;AAAAA,EACAC,WAAAA;AAAA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AAA,CAAG,GACrIR,EAAwB;AAAA,IAAEc,QAAQM;AAAAA,EAAAA,CAAM,CACtC,CAEJ,CACF;AAET;"}
1
+ {"version":3,"file":"index37.js","sources":["../src/components/CustomAccordion/index.tsx"],"sourcesContent":["import React, { FC, useEffect, useState } from 'react';\nimport { Icon } from '../Icon';\nimport { useStableId } from '../../utils/useStableId';\nimport { useAccessiblePress, getA11yNameAttributes } from '../../utils/a11y';\nimport { getRegionAttributes } from '../../utils/a11y/regionAttributes';\n\nexport interface CustomAccordionProps {\n renderAccordionContents: (props: { isOpen: boolean }) => React.ReactNode;\n renderAccordionSrcElement: (props: { isOpen: boolean }) => React.ReactNode;\n renderControls?: () => React.ReactNode;\n defaultOpen?: boolean;\n expanded?: boolean;\n onChange?: (isOpen: boolean) => void;\n className?: string;\n arrowPosition?: 'left' | 'right';\n contentClassName?: string;\n disabled?: boolean;\n automationId?: string;\n id?: string;\n ariaLabel?: string;\n titleTag?: string;\n}\n\nexport const CustomAccordion: FC<CustomAccordionProps> = ({\n renderAccordionContents,\n renderAccordionSrcElement,\n renderControls,\n defaultOpen,\n expanded,\n onChange,\n className = '',\n arrowPosition = 'left',\n contentClassName = '',\n disabled = false,\n automationId = '',\n id,\n ariaLabel,\n titleTag\n}) => {\n const [isOpen, setIsOpen] = useState(false);\n useEffect(() => {\n setIsOpen(defaultOpen || false);\n }, [defaultOpen]);\n\n const isControlled = expanded !== undefined;\n const open = isControlled ? expanded : isOpen;\n\n const handleToggle = () => {\n if (isControlled) {\n onChange?.(!open);\n } else {\n setIsOpen(!open);\n }\n };\n\n // Generate stable IDs for ARIA relationships\n const triggerId = useStableId(id, 'custom-accordion');\n const contentId = `${triggerId}-content`;\n\n // Use accessible press hook for keyboard + mouse handling\n const { pressProps, role, tabIndex } = useAccessiblePress({\n onClick: handleToggle,\n isNative: false,\n disabled\n });\n\n // Get region attributes for content panel\n const regionAttributes = getRegionAttributes({\n titleId: triggerId,\n isFocusable: false\n });\n\n const focusVisibleClasses = 'group-focus-visible:[outline:var(--focus-width)_solid_var(--focus-color)] group-focus-visible:[outline-offset:var(--focus-offset)] group-focus-visible:p-[2px]';\n\n const getArrowRotation = () => {\n if (disabled) {\n return '';\n }\n if (arrowPosition === 'left') {\n return open ? 'rotate-90' : '';\n }\n return open ? 'rotate-180' : '';\n };\n\n const TitleTag = titleTag as React.ElementType | undefined;\n\n const triggerContent = (\n <div className={`se-design-accordion-trigger-content flex items-center justify-between w-full flex-1 rounded ${focusVisibleClasses}`}>\n {arrowPosition === 'left' && (\n <div className={`se-design-accordion-icon transform transition-transform duration-300 ${getArrowRotation()} ${\n disabled ? 'opacity-30 pointer-events-none' : ''\n }`}>\n <Icon name=\"rightSide\" />\n </div>\n )}\n <div className=\"se-design-accordion-elements min-w-0 flex-1\">\n <div id={triggerId} className=\"se-design-accordion-src-element title\">{renderAccordionSrcElement({ isOpen: open })}</div>\n </div>\n {arrowPosition === 'right' && (\n <div className={`se-design-accordion-icon transform transition-transform duration-300 ${getArrowRotation()} ${\n disabled ? 'opacity-30 pointer-events-none' : ''\n }`}>\n <Icon name=\"chevron\" />\n </div>\n )}\n </div>\n );\n\n const trigger = TitleTag ? (\n <TitleTag className=\"flex-1\">\n <button\n id={triggerId + '-btn'}\n onClick={handleToggle}\n aria-expanded={open}\n aria-controls={contentId}\n disabled={disabled}\n className=\"flex items-center flex-1 w-full cursor-pointer group focus-visible:!outline-none bg-transparent border-0 p-0 text-left\"\n >\n {triggerContent}\n </button>\n </TitleTag>\n ) : (\n <div\n {...pressProps}\n {...getA11yNameAttributes({ ariaLabel })}\n role={role}\n tabIndex={tabIndex}\n aria-expanded={open}\n aria-controls={contentId}\n className=\"flex items-center flex-1 cursor-pointer group focus-visible:outline-none\"\n >\n {triggerContent}\n </div>\n );\n\n return (\n <div className={`se-design-accordion ${className}`} data-automation-id={automationId}>\n <div className=\"flex flex-col\">\n <div className=\"se-design-accordion-src flex items-center\">\n {trigger}\n {renderControls?.()}\n </div>\n {open && (\n <div id={contentId} {...regionAttributes} className={`se-design-accordion-content transition-all duration-300 mt-1 ${contentClassName}`}>\n {renderAccordionContents({ isOpen: open })}\n </div>\n )}\n </div>\n </div>\n );\n};\n"],"names":["CustomAccordion","renderAccordionContents","renderAccordionSrcElement","renderControls","defaultOpen","expanded","onChange","className","arrowPosition","contentClassName","disabled","automationId","id","ariaLabel","titleTag","isOpen","setIsOpen","useState","useEffect","isControlled","undefined","open","handleToggle","triggerId","useStableId","contentId","pressProps","role","tabIndex","useAccessiblePress","onClick","isNative","regionAttributes","getRegionAttributes","titleId","isFocusable","focusVisibleClasses","getArrowRotation","TitleTag","triggerContent","React","createElement","Icon","name","trigger","_extends","getA11yNameAttributes"],"mappings":";;;;;;;;;;;;;;;;AAuBO,MAAMA,IAA4CA,CAAC;AAAA,EACxDC,yBAAAA;AAAAA,EACAC,2BAAAA;AAAAA,EACAC,gBAAAA;AAAAA,EACAC,aAAAA;AAAAA,EACAC,UAAAA;AAAAA,EACAC,UAAAA;AAAAA,EACAC,WAAAA,IAAY;AAAA,EACZC,eAAAA,IAAgB;AAAA,EAChBC,kBAAAA,IAAmB;AAAA,EACnBC,UAAAA,IAAW;AAAA,EACXC,cAAAA,IAAe;AAAA,EACfC,IAAAA;AAAAA,EACAC,WAAAA;AAAAA,EACAC,UAAAA;AACF,MAAM;AACJ,QAAM,CAACC,GAAQC,CAAS,IAAIC,EAAS,EAAK;AAC1CC,EAAAA,EAAU,MAAM;AACdF,IAAAA,EAAUZ,KAAe,EAAK;AAAA,EAChC,GAAG,CAACA,CAAW,CAAC;AAEhB,QAAMe,IAAed,MAAae,QAC5BC,IAAOF,IAAed,IAAWU,GAEjCO,IAAeA,MAAM;AACzB,IAAIH,IACFb,IAAW,CAACe,CAAI,IAEhBL,EAAU,CAACK,CAAI;AAAA,EAEnB,GAGME,IAAYC,EAAYZ,GAAI,kBAAkB,GAC9Ca,IAAY,GAAGF,CAAS,YAGxB;AAAA,IAAEG,YAAAA;AAAAA,IAAYC,MAAAA;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A,IAChBO,SAASR;AAAAA,IACT,iBAAeD;AAAAA,IACf,iBAAeI;AAAAA,IACff,UAAAA;AAAAA,IACAH,WAAU;AAAA,EAAA,GAETgC,CACK,CACA,IAEVC,gBAAAA,EAAAC,cAAA,OAAAI,EAAA,CAAA,GACMnB,GACAoB,EAAsB;AAAA,IAAEjC,WAAAA;AAAAA,EAAAA,CAAW,GAAC;AAAA,IACxCc,MAAAA;AAAAA,IACAC,UAAAA;AAAAA,IACA,iBAAeP;AAAAA,IACf,iBAAeI;AAAAA,IACflB,WAAU;AAAA,EAAA,CAA0E,GAEnFgC,CACE;AAGP,SACEC,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKlC,WAAW,uBAAuBA,CAAS;AAAA,IAAI,sBAAoBI;AAAAA,EAAAA,GACtE6B,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKlC,WAAU;AAAA,EAAA,GACbiC,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKlC,WAAU;AAAA,EAAA,GACZqC,GACAzC,IAAAA,CACE,GACJkB,KACCmB,gBAAAA,EAAAC,qBAAAI,EAAA;AAAA,IAAKjC,IAAIa;AAAAA,EAAAA,GAAeO,GAAgB;AAAA,IAAEzB,WAAW,gEAAgEE,CAAgB;AAAA,EAAA,CAAG,GACrIR,EAAwB;AAAA,IAAEc,QAAQM;AAAAA,EAAAA,CAAM,CACtC,CAEJ,CACF;AAET;"}
package/dist/index38.js CHANGED
@@ -3,7 +3,7 @@ import a, { useState as w, useRef as $ } from "react";
3
3
  import { Icon as A } from "./index6.js";
4
4
  import { getA11yNameAttributes as B } from "./index87.js";
5
5
  import "./index78.js";
6
- import { useStableId as D } from "./index226.js";
6
+ import { useStableId as D } from "./index228.js";
7
7
  function c() {
8
8
  return c = Object.assign ? Object.assign.bind() : function(r) {
9
9
  for (var n = 1; n < arguments.length; n++) {
package/dist/index39.js CHANGED
@@ -6,7 +6,7 @@ import { Button as ne } from "./index4.js";
6
6
  import { getA11yNameAttributes as Le } from "./index87.js";
7
7
  import "./index78.js";
8
8
  import { useCombobox as He } from "./index74.js";
9
- import { useStableId as le } from "./index226.js";
9
+ import { useStableId as le } from "./index228.js";
10
10
  import { announce as Ke } from "./index81.js";
11
11
  /* empty css */
12
12
  function d() {
package/dist/index40.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import e from "react";
2
- import { useStableId as _ } from "./index226.js";
3
- import { mergeIds as k } from "./index243.js";
2
+ import { useStableId as _ } from "./index228.js";
3
+ import { mergeIds as k } from "./index245.js";
4
4
  import { getA11yNameAttributes as D } from "./index87.js";
5
5
  import "./index78.js";
6
6
  /* empty css */
package/dist/index41.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import a, { useState as d, useRef as $, useEffect as r, useMemo as D } from "react";
2
2
  import { Icon as g } from "./index6.js";
3
3
  import { LabelChip as F } from "./index11.js";
4
- import { debounce as L } from "./index245.js";
4
+ import { debounce as L } from "./index247.js";
5
5
  /* empty css */
6
6
  function z(p) {
7
7
  const {