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.
- package/dist/assets/colors.css +22 -9
- package/dist/assets/icons/ai-off.svg +4 -4
- package/dist/assets/icons/center-align.svg +3 -0
- package/dist/assets/icons/command.svg +1 -1
- package/dist/assets/icons/left-align.svg +3 -0
- package/dist/assets/icons/right-align.svg +3 -0
- package/dist/assets/style.css +1 -1
- package/dist/components/BreadCrumbs/index.d.ts +2 -0
- package/dist/components/Button/index.d.ts +5 -1
- package/dist/components/InfoTooltip/index.d.ts +5 -1
- package/dist/index.js +23 -21
- package/dist/index.js.map +1 -1
- package/dist/index100.js +2 -2
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +1 -1
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +2 -2
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +2 -2
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +2 -2
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +2 -2
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +1 -1
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +1 -1
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +2 -2
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +2 -2
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +2 -2
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +2 -2
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +1 -1
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +1 -1
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +2 -2
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +1 -1
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +1 -1
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +2 -2
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +2 -2
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +2 -2
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +2 -2
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +1 -1
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +1 -1
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +1 -1
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +1 -1
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +1 -1
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +1 -1
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +1 -1
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +2 -2
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +1 -1
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +2 -2
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +1 -1
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +1 -1
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +1 -1
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +1 -1
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +1 -1
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +2 -2
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +2 -2
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +1 -1
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +2 -2
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +1 -1
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +1 -1
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +2 -2
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +2 -2
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +1 -1
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +1 -1
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +1 -1
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +1 -1
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +1 -1
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +1 -1
- package/dist/index149.js.map +1 -1
- package/dist/index15.js +2 -2
- package/dist/index150.js +1 -1
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +1 -1
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +1 -1
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +1 -1
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +1 -1
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +1 -1
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +1 -1
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +1 -1
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +1 -1
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +1 -1
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +1 -1
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +1 -1
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +1 -1
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +1 -1
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +1 -1
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +2 -2
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +1 -1
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +1 -1
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +1 -1
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +2 -2
- package/dist/index169.js.map +1 -1
- package/dist/index17.js +1 -1
- package/dist/index170.js +1 -1
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +1 -1
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +1 -1
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +2 -2
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +1 -1
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +1 -1
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +1 -1
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +1 -1
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +1 -1
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +2 -2
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +2 -2
- package/dist/index180.js +1 -1
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +2 -2
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +2 -149
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +2 -9
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +2 -6
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +2 -5
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +152 -0
- package/dist/index186.js.map +1 -0
- package/dist/index187.js +12 -0
- package/dist/index187.js.map +1 -0
- package/dist/index188.js +5 -23
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +4 -61
- package/dist/index189.js.map +1 -1
- package/dist/index192.js +27 -0
- package/dist/index192.js.map +1 -0
- package/dist/{index191.js → index194.js} +3 -3
- package/dist/{index191.js.map → index194.js.map} +1 -1
- package/dist/{index193.js → index196.js} +1 -1
- package/dist/{index193.js.map → index196.js.map} +1 -1
- package/dist/{index201.js → index204.js} +1 -1
- package/dist/{index201.js.map → index204.js.map} +1 -1
- package/dist/index212.js +1233 -41
- package/dist/index212.js.map +1 -1
- package/dist/{index211.js → index214.js} +1 -1
- package/dist/{index211.js.map → index214.js.map} +1 -1
- package/dist/index215.js +44 -0
- package/dist/index215.js.map +1 -0
- package/dist/index22.js +3 -3
- package/dist/index225.js +3 -53
- package/dist/index225.js.map +1 -1
- package/dist/index227.js +55 -15
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +53 -9
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +21 -9
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +18 -4
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +9 -169
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +10 -11
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +4 -5
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +170 -6
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +11 -38
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +6 -2
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +5 -7
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +36 -325
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +2 -50
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +3 -3
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +8 -2
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +323 -72
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +47 -90
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +2 -52
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +75 -7
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +92 -4
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +48 -48
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +8 -2
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +5 -2
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +55 -0
- package/dist/index249.js.map +1 -0
- package/dist/index250.js +5 -0
- package/dist/index250.js.map +1 -0
- package/dist/index251.js +5 -0
- package/dist/index251.js.map +1 -0
- package/dist/index27.js +2 -2
- package/dist/index29.js +1 -1
- package/dist/index3.js +23 -21
- package/dist/index3.js.map +1 -1
- package/dist/index31.js +11 -10
- package/dist/index34.js +1 -1
- package/dist/index36.js +35 -38
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +5 -6
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +3 -3
- package/dist/index39.js +1 -1
- package/dist/index41.js +8 -7
- package/dist/index42.js +7 -6
- package/dist/index43.js +16 -16
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +3 -3
- package/dist/index45.js +4 -4
- package/dist/index48.js +3 -3
- package/dist/index49.js +48 -30
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +229 -223
- package/dist/index5.js.map +1 -1
- package/dist/index50.js +2 -2
- package/dist/index50.js.map +1 -1
- package/dist/index52.js +1 -1
- package/dist/index54.js +22 -21
- package/dist/index56.js +2 -2
- package/dist/index56.js.map +1 -1
- package/dist/index6.js +3 -2
- package/dist/index60.js +45 -39
- package/dist/index60.js.map +1 -1
- package/dist/index62.js +1 -1
- package/dist/index63.js +1 -1
- package/dist/index64.js +4 -3
- package/dist/index66.js +19 -17
- package/dist/index66.js.map +1 -1
- package/dist/index68.js +55 -5
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +5 -9
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +12 -0
- package/dist/index70.js.map +1 -0
- package/dist/index72.js +2 -2
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +2 -2
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +2 -2
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +1 -1
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +1 -1
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +1 -1
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +1 -1
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +1 -1
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +5 -5
- package/dist/index8.js.map +1 -1
- package/dist/index80.js +1 -1
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +1 -1
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +1 -1
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +1 -1
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +1 -1
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +1 -1
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +1 -1
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +1 -1
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +1 -1
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +1 -1
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +1 -1
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +1 -1
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +1 -1
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +1 -1
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +1 -1
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +1 -1
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +1 -1
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +2 -2
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +2 -2
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +2 -2
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
- package/dist/index209.js +0 -1236
- package/dist/index209.js.map +0 -1
- package/dist/index222.js +0 -7
- package/dist/index222.js.map +0 -1
- package/dist/index224.js +0 -62
- package/dist/index224.js.map +0 -1
- package/dist/index226.js +0 -25
- package/dist/index226.js.map +0 -1
- package/dist/index71.js +0 -5
- package/dist/index71.js.map +0 -1
package/dist/index5.js
CHANGED
|
@@ -1,118 +1,121 @@
|
|
|
1
|
-
import C from "./
|
|
2
|
-
import O from "./
|
|
3
|
-
import E from "./
|
|
4
|
-
import S from "./
|
|
5
|
-
import $ from "./
|
|
6
|
-
import j from "./
|
|
7
|
-
import L from "./
|
|
8
|
-
import F from "./
|
|
9
|
-
import R from "./
|
|
10
|
-
import B from "./
|
|
11
|
-
import M from "./
|
|
12
|
-
import q from "./
|
|
13
|
-
import D from "./
|
|
14
|
-
import G from "./
|
|
15
|
-
import T from "./
|
|
16
|
-
import V from "./
|
|
17
|
-
import H from "./
|
|
18
|
-
import J from "./
|
|
19
|
-
import K from "./
|
|
20
|
-
import Q from "./
|
|
21
|
-
import U from "./
|
|
22
|
-
import W from "./
|
|
23
|
-
import X from "./
|
|
24
|
-
import Y from "./
|
|
25
|
-
import Z from "./
|
|
26
|
-
import z from "./
|
|
27
|
-
import ss from "./
|
|
28
|
-
import os from "./
|
|
29
|
-
import _s from "./
|
|
30
|
-
import ts from "./
|
|
31
|
-
import is from "./
|
|
32
|
-
import rs from "./
|
|
33
|
-
import es from "./
|
|
34
|
-
import cs from "./
|
|
35
|
-
import as from "./
|
|
36
|
-
import ms from "./index106.js";
|
|
1
|
+
import C from "./index72.js";
|
|
2
|
+
import O from "./index73.js";
|
|
3
|
+
import E from "./index74.js";
|
|
4
|
+
import S from "./index75.js";
|
|
5
|
+
import $ from "./index76.js";
|
|
6
|
+
import j from "./index77.js";
|
|
7
|
+
import L from "./index78.js";
|
|
8
|
+
import F from "./index79.js";
|
|
9
|
+
import R from "./index80.js";
|
|
10
|
+
import B from "./index81.js";
|
|
11
|
+
import M from "./index82.js";
|
|
12
|
+
import q from "./index83.js";
|
|
13
|
+
import D from "./index84.js";
|
|
14
|
+
import G from "./index85.js";
|
|
15
|
+
import T from "./index86.js";
|
|
16
|
+
import V from "./index87.js";
|
|
17
|
+
import H from "./index88.js";
|
|
18
|
+
import J from "./index89.js";
|
|
19
|
+
import K from "./index90.js";
|
|
20
|
+
import Q from "./index91.js";
|
|
21
|
+
import U from "./index92.js";
|
|
22
|
+
import W from "./index93.js";
|
|
23
|
+
import X from "./index94.js";
|
|
24
|
+
import Y from "./index95.js";
|
|
25
|
+
import Z from "./index96.js";
|
|
26
|
+
import z from "./index97.js";
|
|
27
|
+
import ss from "./index98.js";
|
|
28
|
+
import os from "./index99.js";
|
|
29
|
+
import _s from "./index100.js";
|
|
30
|
+
import ts from "./index101.js";
|
|
31
|
+
import is from "./index102.js";
|
|
32
|
+
import rs from "./index103.js";
|
|
33
|
+
import es from "./index104.js";
|
|
34
|
+
import cs from "./index105.js";
|
|
35
|
+
import as from "./index106.js";
|
|
37
36
|
import gs from "./index107.js";
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import
|
|
63
|
-
import
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
import
|
|
69
|
-
import
|
|
70
|
-
import
|
|
71
|
-
import
|
|
72
|
-
import
|
|
73
|
-
import
|
|
74
|
-
import
|
|
75
|
-
import
|
|
76
|
-
import
|
|
77
|
-
import
|
|
78
|
-
import
|
|
79
|
-
import
|
|
80
|
-
import
|
|
81
|
-
import
|
|
82
|
-
import
|
|
83
|
-
import
|
|
84
|
-
import
|
|
85
|
-
import
|
|
86
|
-
import
|
|
87
|
-
import
|
|
88
|
-
import
|
|
89
|
-
import
|
|
90
|
-
import
|
|
37
|
+
import ms from "./index108.js";
|
|
38
|
+
import vs from "./index109.js";
|
|
39
|
+
import ns from "./index110.js";
|
|
40
|
+
import ls from "./index111.js";
|
|
41
|
+
import fs from "./index112.js";
|
|
42
|
+
import bs from "./index113.js";
|
|
43
|
+
import ps from "./index114.js";
|
|
44
|
+
import ds from "./index115.js";
|
|
45
|
+
import us from "./index116.js";
|
|
46
|
+
import hs from "./index117.js";
|
|
47
|
+
import ks from "./index118.js";
|
|
48
|
+
import xs from "./index119.js";
|
|
49
|
+
import As from "./index120.js";
|
|
50
|
+
import ws from "./index121.js";
|
|
51
|
+
import ys from "./index122.js";
|
|
52
|
+
import Ps from "./index123.js";
|
|
53
|
+
import Is from "./index124.js";
|
|
54
|
+
import Ns from "./index125.js";
|
|
55
|
+
import Cs from "./index126.js";
|
|
56
|
+
import Os from "./index127.js";
|
|
57
|
+
import Es from "./index128.js";
|
|
58
|
+
import Ss from "./index129.js";
|
|
59
|
+
import $s from "./index130.js";
|
|
60
|
+
import js from "./index131.js";
|
|
61
|
+
import Ls from "./index132.js";
|
|
62
|
+
import Fs from "./index133.js";
|
|
63
|
+
import Rs from "./index134.js";
|
|
64
|
+
import Bs from "./index135.js";
|
|
65
|
+
import Ms from "./index136.js";
|
|
66
|
+
import qs from "./index137.js";
|
|
67
|
+
import Ds from "./index138.js";
|
|
68
|
+
import Gs from "./index139.js";
|
|
69
|
+
import Ts from "./index140.js";
|
|
70
|
+
import Vs from "./index141.js";
|
|
71
|
+
import Hs from "./index142.js";
|
|
72
|
+
import Js from "./index143.js";
|
|
73
|
+
import Ks from "./index144.js";
|
|
74
|
+
import Qs from "./index145.js";
|
|
75
|
+
import Us from "./index146.js";
|
|
76
|
+
import Ws from "./index147.js";
|
|
77
|
+
import Xs from "./index148.js";
|
|
78
|
+
import Ys from "./index149.js";
|
|
79
|
+
import Zs from "./index150.js";
|
|
80
|
+
import zs from "./index151.js";
|
|
81
|
+
import so from "./index152.js";
|
|
82
|
+
import oo from "./index153.js";
|
|
83
|
+
import _o from "./index154.js";
|
|
84
|
+
import to from "./index155.js";
|
|
85
|
+
import io from "./index156.js";
|
|
86
|
+
import ro from "./index157.js";
|
|
87
|
+
import eo from "./index158.js";
|
|
88
|
+
import co from "./index159.js";
|
|
89
|
+
import ao from "./index160.js";
|
|
91
90
|
import go from "./index161.js";
|
|
92
|
-
import
|
|
93
|
-
import
|
|
94
|
-
import
|
|
95
|
-
import
|
|
96
|
-
import
|
|
97
|
-
import
|
|
98
|
-
import
|
|
99
|
-
import
|
|
100
|
-
import
|
|
101
|
-
import
|
|
102
|
-
import
|
|
103
|
-
import
|
|
104
|
-
import
|
|
105
|
-
import
|
|
106
|
-
import
|
|
107
|
-
import
|
|
108
|
-
import
|
|
109
|
-
import
|
|
110
|
-
import
|
|
111
|
-
import
|
|
112
|
-
import
|
|
113
|
-
import
|
|
114
|
-
import
|
|
115
|
-
import
|
|
91
|
+
import mo from "./index162.js";
|
|
92
|
+
import vo from "./index163.js";
|
|
93
|
+
import no from "./index164.js";
|
|
94
|
+
import lo from "./index165.js";
|
|
95
|
+
import fo from "./index166.js";
|
|
96
|
+
import bo from "./index167.js";
|
|
97
|
+
import po from "./index168.js";
|
|
98
|
+
import uo from "./index169.js";
|
|
99
|
+
import ho from "./index170.js";
|
|
100
|
+
import ko from "./index171.js";
|
|
101
|
+
import xo from "./index172.js";
|
|
102
|
+
import Ao from "./index173.js";
|
|
103
|
+
import wo from "./index174.js";
|
|
104
|
+
import yo from "./index175.js";
|
|
105
|
+
import Po from "./index176.js";
|
|
106
|
+
import Io from "./index177.js";
|
|
107
|
+
import No from "./index178.js";
|
|
108
|
+
import Co from "./index179.js";
|
|
109
|
+
import Oo from "./index180.js";
|
|
110
|
+
import Eo from "./index181.js";
|
|
111
|
+
import So from "./index182.js";
|
|
112
|
+
import $o from "./index183.js";
|
|
113
|
+
import jo from "./index184.js";
|
|
114
|
+
import Lo from "./index185.js";
|
|
115
|
+
import g from "react";
|
|
116
|
+
import { ReactSVG as Fo } from "./index186.js";
|
|
117
|
+
import { getA11yNameAttributes as Ro } from "./index70.js";
|
|
118
|
+
import { useAccessiblePress as Bo } from "./index66.js";
|
|
116
119
|
function c() {
|
|
117
120
|
return c = Object.assign ? Object.assign.bind() : function(s) {
|
|
118
121
|
for (var o = 1; o < arguments.length; o++) {
|
|
@@ -122,7 +125,7 @@ function c() {
|
|
|
122
125
|
return s;
|
|
123
126
|
}, c.apply(null, arguments);
|
|
124
127
|
}
|
|
125
|
-
const
|
|
128
|
+
const Mo = /* @__PURE__ */ Object.assign({
|
|
126
129
|
"/src/assets/icons/ai-off.svg": C,
|
|
127
130
|
"/src/assets/icons/ai-search.svg": O,
|
|
128
131
|
"/src/assets/icons/ai-stars.svg": E,
|
|
@@ -134,111 +137,114 @@ const Fo = /* @__PURE__ */ Object.assign({
|
|
|
134
137
|
"/src/assets/icons/banner-demo-img.svg": R,
|
|
135
138
|
"/src/assets/icons/bell-notification.svg": B,
|
|
136
139
|
"/src/assets/icons/card.svg": M,
|
|
137
|
-
"/src/assets/icons/
|
|
138
|
-
"/src/assets/icons/checkbox-disabled-
|
|
139
|
-
"/src/assets/icons/checkbox-disabled.svg": G,
|
|
140
|
-
"/src/assets/icons/checkbox-
|
|
141
|
-
"/src/assets/icons/checkbox-
|
|
142
|
-
"/src/assets/icons/checkbox-
|
|
143
|
-
"/src/assets/icons/checkbox-hover-
|
|
144
|
-
"/src/assets/icons/checkbox-hover-
|
|
145
|
-
"/src/assets/icons/checkbox-
|
|
146
|
-
"/src/assets/icons/checkbox-
|
|
147
|
-
"/src/assets/icons/
|
|
148
|
-
"/src/assets/icons/
|
|
149
|
-
"/src/assets/icons/
|
|
150
|
-
"/src/assets/icons/
|
|
151
|
-
"/src/assets/icons/
|
|
152
|
-
"/src/assets/icons/
|
|
153
|
-
"/src/assets/icons/
|
|
154
|
-
"/src/assets/icons/csv.svg": _s,
|
|
155
|
-
"/src/assets/icons/
|
|
156
|
-
"/src/assets/icons/
|
|
157
|
-
"/src/assets/icons/
|
|
158
|
-
"/src/assets/icons/
|
|
159
|
-
"/src/assets/icons/
|
|
160
|
-
"/src/assets/icons/
|
|
140
|
+
"/src/assets/icons/center-align.svg": q,
|
|
141
|
+
"/src/assets/icons/checkbox-disabled-minus.svg": D,
|
|
142
|
+
"/src/assets/icons/checkbox-disabled-tick.svg": G,
|
|
143
|
+
"/src/assets/icons/checkbox-disabled.svg": T,
|
|
144
|
+
"/src/assets/icons/checkbox-field.svg": V,
|
|
145
|
+
"/src/assets/icons/checkbox-fill.svg": H,
|
|
146
|
+
"/src/assets/icons/checkbox-hover-fill.svg": J,
|
|
147
|
+
"/src/assets/icons/checkbox-hover-minus.svg": K,
|
|
148
|
+
"/src/assets/icons/checkbox-hover-tick.svg": Q,
|
|
149
|
+
"/src/assets/icons/checkbox-minus.svg": U,
|
|
150
|
+
"/src/assets/icons/checkbox-tick.svg": W,
|
|
151
|
+
"/src/assets/icons/checked-circle.svg": X,
|
|
152
|
+
"/src/assets/icons/checkmark.svg": Y,
|
|
153
|
+
"/src/assets/icons/chevron.svg": Z,
|
|
154
|
+
"/src/assets/icons/clock.svg": z,
|
|
155
|
+
"/src/assets/icons/close.svg": ss,
|
|
156
|
+
"/src/assets/icons/command.svg": os,
|
|
157
|
+
"/src/assets/icons/csv-file.svg": _s,
|
|
158
|
+
"/src/assets/icons/csv.svg": ts,
|
|
159
|
+
"/src/assets/icons/date-field.svg": is,
|
|
160
|
+
"/src/assets/icons/delete.svg": rs,
|
|
161
|
+
"/src/assets/icons/doc-file.svg": es,
|
|
162
|
+
"/src/assets/icons/docFile.svg": cs,
|
|
163
|
+
"/src/assets/icons/download.svg": as,
|
|
164
|
+
"/src/assets/icons/edit-text.svg": gs,
|
|
161
165
|
"/src/assets/icons/email-field.svg": ms,
|
|
162
|
-
"/src/assets/icons/email.svg":
|
|
163
|
-
"/src/assets/icons/fields-create.svg":
|
|
164
|
-
"/src/assets/icons/fields-panel.svg":
|
|
165
|
-
"/src/assets/icons/file-empty.svg":
|
|
166
|
-
"/src/assets/icons/file-red.svg":
|
|
167
|
-
"/src/assets/icons/file.svg":
|
|
168
|
-
"/src/assets/icons/fill-and-sign.svg":
|
|
169
|
-
"/src/assets/icons/filter.svg":
|
|
170
|
-
"/src/assets/icons/folder-empty.svg":
|
|
171
|
-
"/src/assets/icons/folder.svg":
|
|
172
|
-
"/src/assets/icons/gmail.svg":
|
|
173
|
-
"/src/assets/icons/google-drive.svg":
|
|
174
|
-
"/src/assets/icons/hamburger.svg":
|
|
175
|
-
"/src/assets/icons/hashtag.svg":
|
|
176
|
-
"/src/assets/icons/help-question.svg":
|
|
177
|
-
"/src/assets/icons/history.svg":
|
|
178
|
-
"/src/assets/icons/home.svg":
|
|
179
|
-
"/src/assets/icons/hourglass.svg":
|
|
180
|
-
"/src/assets/icons/image-field.svg":
|
|
181
|
-
"/src/assets/icons/info.svg":
|
|
182
|
-
"/src/assets/icons/initials-field.svg":
|
|
183
|
-
"/src/assets/icons/kebab-menu.svg":
|
|
184
|
-
"/src/assets/icons/
|
|
185
|
-
"/src/assets/icons/
|
|
186
|
-
"/src/assets/icons/
|
|
187
|
-
"/src/assets/icons/
|
|
188
|
-
"/src/assets/icons/
|
|
189
|
-
"/src/assets/icons/
|
|
190
|
-
"/src/assets/icons/
|
|
191
|
-
"/src/assets/icons/
|
|
192
|
-
"/src/assets/icons/
|
|
193
|
-
"/src/assets/icons/
|
|
194
|
-
"/src/assets/icons/
|
|
195
|
-
"/src/assets/icons/
|
|
196
|
-
"/src/assets/icons/
|
|
197
|
-
"/src/assets/icons/
|
|
198
|
-
"/src/assets/icons/
|
|
199
|
-
"/src/assets/icons/
|
|
200
|
-
"/src/assets/icons/radio-
|
|
201
|
-
"/src/assets/icons/radio.svg":
|
|
202
|
-
"/src/assets/icons/
|
|
203
|
-
"/src/assets/icons/
|
|
204
|
-
"/src/assets/icons/
|
|
205
|
-
"/src/assets/icons/
|
|
206
|
-
"/src/assets/icons/
|
|
207
|
-
"/src/assets/icons/
|
|
208
|
-
"/src/assets/icons/
|
|
209
|
-
"/src/assets/icons/
|
|
210
|
-
"/src/assets/icons/
|
|
211
|
-
"/src/assets/icons/
|
|
212
|
-
"/src/assets/icons/
|
|
213
|
-
"/src/assets/icons/
|
|
214
|
-
"/src/assets/icons/
|
|
215
|
-
"/src/assets/icons/
|
|
216
|
-
"/src/assets/icons/
|
|
217
|
-
"/src/assets/icons/
|
|
218
|
-
"/src/assets/icons/
|
|
219
|
-
"/src/assets/icons/
|
|
220
|
-
"/src/assets/icons/
|
|
221
|
-
"/src/assets/icons/
|
|
222
|
-
"/src/assets/icons/
|
|
223
|
-
"/src/assets/icons/sort.svg":
|
|
224
|
-
"/src/assets/icons/
|
|
225
|
-
"/src/assets/icons/
|
|
226
|
-
"/src/assets/icons/
|
|
227
|
-
"/src/assets/icons/
|
|
228
|
-
"/src/assets/icons/
|
|
229
|
-
"/src/assets/icons/
|
|
230
|
-
"/src/assets/icons/
|
|
231
|
-
"/src/assets/icons/
|
|
232
|
-
"/src/assets/icons/
|
|
233
|
-
"/src/assets/icons/
|
|
234
|
-
"/src/assets/icons/
|
|
235
|
-
"/src/assets/icons/
|
|
236
|
-
"/src/assets/icons/widget
|
|
237
|
-
|
|
166
|
+
"/src/assets/icons/email.svg": vs,
|
|
167
|
+
"/src/assets/icons/fields-create.svg": ns,
|
|
168
|
+
"/src/assets/icons/fields-panel.svg": ls,
|
|
169
|
+
"/src/assets/icons/file-empty.svg": fs,
|
|
170
|
+
"/src/assets/icons/file-red.svg": bs,
|
|
171
|
+
"/src/assets/icons/file.svg": ps,
|
|
172
|
+
"/src/assets/icons/fill-and-sign.svg": ds,
|
|
173
|
+
"/src/assets/icons/filter.svg": us,
|
|
174
|
+
"/src/assets/icons/folder-empty.svg": hs,
|
|
175
|
+
"/src/assets/icons/folder.svg": ks,
|
|
176
|
+
"/src/assets/icons/gmail.svg": xs,
|
|
177
|
+
"/src/assets/icons/google-drive.svg": As,
|
|
178
|
+
"/src/assets/icons/hamburger.svg": ws,
|
|
179
|
+
"/src/assets/icons/hashtag.svg": ys,
|
|
180
|
+
"/src/assets/icons/help-question.svg": Ps,
|
|
181
|
+
"/src/assets/icons/history.svg": Is,
|
|
182
|
+
"/src/assets/icons/home.svg": Ns,
|
|
183
|
+
"/src/assets/icons/hourglass.svg": Cs,
|
|
184
|
+
"/src/assets/icons/image-field.svg": Os,
|
|
185
|
+
"/src/assets/icons/info.svg": Es,
|
|
186
|
+
"/src/assets/icons/initials-field.svg": Ss,
|
|
187
|
+
"/src/assets/icons/kebab-menu.svg": $s,
|
|
188
|
+
"/src/assets/icons/left-align.svg": js,
|
|
189
|
+
"/src/assets/icons/library.svg": Ls,
|
|
190
|
+
"/src/assets/icons/minus.svg": Fs,
|
|
191
|
+
"/src/assets/icons/move-folder.svg": Rs,
|
|
192
|
+
"/src/assets/icons/name-field.svg": Bs,
|
|
193
|
+
"/src/assets/icons/next.svg": Ms,
|
|
194
|
+
"/src/assets/icons/observer.svg": qs,
|
|
195
|
+
"/src/assets/icons/office-building.svg": Ds,
|
|
196
|
+
"/src/assets/icons/onedrive.svg": Gs,
|
|
197
|
+
"/src/assets/icons/outlook.svg": Ts,
|
|
198
|
+
"/src/assets/icons/padlock.svg": Vs,
|
|
199
|
+
"/src/assets/icons/pages.svg": Hs,
|
|
200
|
+
"/src/assets/icons/pdf-file.svg": Js,
|
|
201
|
+
"/src/assets/icons/people.svg": Ks,
|
|
202
|
+
"/src/assets/icons/photo.svg": Qs,
|
|
203
|
+
"/src/assets/icons/plus.svg": Us,
|
|
204
|
+
"/src/assets/icons/radio-field.svg": Ws,
|
|
205
|
+
"/src/assets/icons/radio-filled.svg": Xs,
|
|
206
|
+
"/src/assets/icons/radio.svg": Ys,
|
|
207
|
+
"/src/assets/icons/reports.svg": Zs,
|
|
208
|
+
"/src/assets/icons/repository.svg": zs,
|
|
209
|
+
"/src/assets/icons/reset.svg": so,
|
|
210
|
+
"/src/assets/icons/return.svg": oo,
|
|
211
|
+
"/src/assets/icons/right-align.svg": _o,
|
|
212
|
+
"/src/assets/icons/rightSide.svg": to,
|
|
213
|
+
"/src/assets/icons/rotate-left.svg": io,
|
|
214
|
+
"/src/assets/icons/rotate-right.svg": ro,
|
|
215
|
+
"/src/assets/icons/rounded-plus.svg": eo,
|
|
216
|
+
"/src/assets/icons/search.svg": co,
|
|
217
|
+
"/src/assets/icons/select-files.svg": ao,
|
|
218
|
+
"/src/assets/icons/shield-with-tick.svg": go,
|
|
219
|
+
"/src/assets/icons/shield.svg": mo,
|
|
220
|
+
"/src/assets/icons/shipment-private.svg": vo,
|
|
221
|
+
"/src/assets/icons/shipment.svg": no,
|
|
222
|
+
"/src/assets/icons/sidebar.svg": lo,
|
|
223
|
+
"/src/assets/icons/signature-field.svg": fo,
|
|
224
|
+
"/src/assets/icons/signer.svg": bo,
|
|
225
|
+
"/src/assets/icons/slideout.svg": po,
|
|
226
|
+
"/src/assets/icons/sms.svg": uo,
|
|
227
|
+
"/src/assets/icons/sort-asc.svg": ho,
|
|
228
|
+
"/src/assets/icons/sort-desc.svg": ko,
|
|
229
|
+
"/src/assets/icons/sort.svg": xo,
|
|
230
|
+
"/src/assets/icons/space.svg": Ao,
|
|
231
|
+
"/src/assets/icons/stamp-field.svg": wo,
|
|
232
|
+
"/src/assets/icons/stop.svg": yo,
|
|
233
|
+
"/src/assets/icons/success-check.svg": Po,
|
|
234
|
+
"/src/assets/icons/tag.svg": Io,
|
|
235
|
+
"/src/assets/icons/text-field.svg": No,
|
|
236
|
+
"/src/assets/icons/tick.svg": Co,
|
|
237
|
+
"/src/assets/icons/title-field.svg": Oo,
|
|
238
|
+
"/src/assets/icons/upload-csv.svg": Eo,
|
|
239
|
+
"/src/assets/icons/warning.svg": So,
|
|
240
|
+
"/src/assets/icons/webinar-widget.svg": $o,
|
|
241
|
+
"/src/assets/icons/white-close.svg": jo,
|
|
242
|
+
"/src/assets/icons/widget-demo-image.svg": Lo
|
|
243
|
+
}), m = (s, o, t, _) => {
|
|
238
244
|
o && s.hasAttribute("fill") && s.getAttribute("fill") !== "none" && s.setAttribute("fill", o), t && s.hasAttribute("stroke") && s.setAttribute("stroke", t), _ && s.hasAttribute("width") && s.setAttribute("width", _.toString()), _ && s.hasAttribute("height") && s.setAttribute("height", _.toString()), Array.from(s.children).forEach((i) => {
|
|
239
|
-
|
|
245
|
+
m(i, o, t);
|
|
240
246
|
});
|
|
241
|
-
},
|
|
247
|
+
}, Wt = (s) => {
|
|
242
248
|
const {
|
|
243
249
|
name: o = "",
|
|
244
250
|
className: t = "",
|
|
@@ -263,18 +269,18 @@ const Fo = /* @__PURE__ */ Object.assign({
|
|
|
263
269
|
225: "rotate-[225deg]",
|
|
264
270
|
270: "-rotate-90",
|
|
265
271
|
315: "-rotate-45"
|
|
266
|
-
}, a =
|
|
272
|
+
}, a = Mo[`/src/assets/icons/${o}.svg`];
|
|
267
273
|
if (!a)
|
|
268
274
|
return console.error(`Icon "${o}" not found in ICON_MAP.`), null;
|
|
269
275
|
const r = typeof _ == "function", A = i || o, {
|
|
270
276
|
pressProps: w,
|
|
271
277
|
role: y,
|
|
272
278
|
tabIndex: P
|
|
273
|
-
} =
|
|
279
|
+
} = Bo({
|
|
274
280
|
isNative: !1,
|
|
275
281
|
onClick: r ? () => _?.() : void 0,
|
|
276
282
|
stopPropagation: k
|
|
277
|
-
}), I =
|
|
283
|
+
}), I = Ro({
|
|
278
284
|
ariaLabel: A,
|
|
279
285
|
ariaLabelledBy: v,
|
|
280
286
|
ariaDescribedBy: n
|
|
@@ -287,20 +293,20 @@ const Fo = /* @__PURE__ */ Object.assign({
|
|
|
287
293
|
"aria-expanded": f,
|
|
288
294
|
"aria-controls": b || void 0
|
|
289
295
|
} : void 0;
|
|
290
|
-
return /* @__PURE__ */
|
|
296
|
+
return /* @__PURE__ */ g.createElement("div", c({
|
|
291
297
|
className: `se-design-svg-wrapper transition-transform duration-250 ease-linear rounded-[3px] ${r ? "cursor-pointer focus-outline" : ""} ${t} ${x[u]}`,
|
|
292
298
|
"aria-hidden": r ? void 0 : "true"
|
|
293
299
|
}, N, {
|
|
294
300
|
"data-automation-id": s?.automationId
|
|
295
|
-
}), /* @__PURE__ */
|
|
301
|
+
}), /* @__PURE__ */ g.createElement(Fo, {
|
|
296
302
|
src: a,
|
|
297
303
|
wrapper: "span",
|
|
298
304
|
beforeInjection: (e) => {
|
|
299
|
-
e.setAttribute("aria-hidden", "true"), e.setAttribute("role", "none"),
|
|
305
|
+
e.setAttribute("aria-hidden", "true"), e.setAttribute("role", "none"), m(e, p, d, h);
|
|
300
306
|
}
|
|
301
307
|
}));
|
|
302
308
|
};
|
|
303
309
|
export {
|
|
304
|
-
|
|
310
|
+
Wt as Icon
|
|
305
311
|
};
|
|
306
312
|
//# sourceMappingURL=index5.js.map
|
package/dist/index5.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index5.js","sources":["../src/components/Icon/index.tsx"],"sourcesContent":["// TODO: `applyAttributesToElement` recursion drops `size` for nested elements (pre-existing).\nimport React, { FC } from 'react';\nimport { ReactSVG } from 'react-svg';\nimport { getA11yNameAttributes, useAccessiblePress } from '../../utils/a11y';\n\n// Dynamically import icons using Vite's asset handling\nconst ICON_MAP: Record<string, string> = (import.meta as any).glob('/src/assets/icons/*.svg', {\n eager: true,\n query: '?url',\n import: 'default'\n});\n\nexport type RotationTypes = '0' | '45' | '90' | '135' | '180' | '225' | '270' | '315';\n\nexport type IconProps = {\n name: string;\n className?: string;\n onClick?: () => void;\n /**\n * Accessible name when Icon is interactive (onClick is provided).\n * If omitted, we fall back to `name` and warn in development.\n */\n ariaLabel?: string;\n /**\n * ID(s) of visible element(s) that label this Icon when interactive.\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 Icon when interactive (additional context).\n */\n ariaDescribedBy?: string;\n /**\n * Toggle state when Icon is used as a button (e.g., show/hide sidebar).\n * Only applies when `onClick` is provided (interactive icon).\n */\n ariaPressed?: boolean;\n /**\n * Expansion state when Icon controls a collapsible region/panel.\n * Only applies when `onClick` is provided (interactive icon).\n */\n ariaExpanded?: boolean;\n /**\n * ID of the element controlled by this Icon (for aria-controls).\n * Only applies when `onClick` is provided (interactive icon).\n */\n ariaControls?: string;\n fill?: string;\n stroke?: string;\n rotation?: RotationTypes;\n size?: number;\n shouldStopPropagation?: boolean;\n automationId?: string;\n};\n\nconst applyAttributesToElement = (element: Element, fill?: string, stroke?: string, size?: number) => {\n // Only modify existing attributes\n if (fill && element.hasAttribute('fill')) {\n const currentFill = element.getAttribute('fill');\n // Only update if the current fill is not \"none\"\n if (currentFill !== 'none') {\n element.setAttribute('fill', fill);\n }\n }\n\n if (stroke && element.hasAttribute('stroke')) {\n element.setAttribute('stroke', stroke);\n }\n\n if (size && element.hasAttribute('width')) {\n element.setAttribute('width', size.toString());\n }\n\n if (size && element.hasAttribute('height')) {\n element.setAttribute('height', size.toString());\n }\n\n // Recursively apply to all child elements\n Array.from(element.children).forEach((child) => {\n applyAttributesToElement(child, fill, stroke);\n });\n};\n\nexport const Icon: FC<IconProps> = (props) => {\n const {\n name = '',\n className = '',\n onClick,\n ariaLabel,\n ariaLabelledBy,\n ariaDescribedBy,\n ariaPressed,\n ariaExpanded,\n ariaControls,\n fill,\n stroke,\n rotation = '0',\n size,\n shouldStopPropagation = false\n } = props;\n const iconRotationClasses = {\n '0': 'rotate-0',\n '45': 'rotate-45',\n '90': 'rotate-90',\n '135': 'rotate-[135deg]',\n '180': 'rotate-180',\n '225': 'rotate-[225deg]',\n '270': '-rotate-90',\n '315': '-rotate-45'\n };\n const src = ICON_MAP[`/src/assets/icons/${name}.svg`];\n\n if (!src) {\n console.error(`Icon \"${name}\" not found in ICON_MAP.`);\n return null;\n }\n\n const isInteractive = typeof onClick === 'function';\n const computedAriaLabel = ariaLabel || name;\n\n if (isInteractive && !ariaLabel && (import.meta as { env?: { DEV?: boolean } }).env?.DEV) {\n // eslint-disable-next-line no-console\n console.warn(\n `[se-design/Icon] Missing ariaLabel for clickable icon \"${name}\". ` +\n `Falling back to aria-label=\"${computedAriaLabel}\".`\n );\n }\n\n const { pressProps, role, tabIndex } = useAccessiblePress({\n isNative: false,\n onClick: isInteractive ? () => onClick?.() : undefined,\n stopPropagation: shouldStopPropagation\n });\n\n // Compute accessible name/description props with correct precedence (aligns with Button/Link).\n const accessibleNameProps = getA11yNameAttributes({\n ariaLabel: computedAriaLabel,\n ariaLabelledBy,\n ariaDescribedBy\n });\n\n const interactiveProps = isInteractive\n ? {\n ...pressProps,\n role,\n tabIndex,\n ...accessibleNameProps,\n 'aria-pressed': ariaPressed,\n 'aria-expanded': ariaExpanded,\n 'aria-controls': ariaControls || undefined\n }\n : undefined;\n\n return (\n <div\n className={`se-design-svg-wrapper transition-transform duration-250 ease-linear rounded-[3px] ${\n isInteractive ? 'cursor-pointer focus-outline' : ''\n } ${className} ${iconRotationClasses[rotation]}`}\n aria-hidden={!isInteractive ? 'true' : undefined}\n {...interactiveProps}\n data-automation-id={props?.automationId}\n >\n <ReactSVG\n src={src}\n wrapper=\"span\"\n beforeInjection={(svg) => {\n svg.setAttribute('aria-hidden', 'true');\n svg.setAttribute('role', 'none');\n applyAttributesToElement(svg, fill, stroke, size);\n }}\n />\n </div>\n );\n};\n"],"names":["ICON_MAP","import","applyAttributesToElement","element","fill","stroke","size","hasAttribute","getAttribute","setAttribute","toString","Array","from","children","forEach","child","Icon","props","name","className","onClick","ariaLabel","ariaLabelledBy","ariaDescribedBy","ariaPressed","ariaExpanded","ariaControls","rotation","shouldStopPropagation","iconRotationClasses","src","console","error","isInteractive","computedAriaLabel","pressProps","role","tabIndex","useAccessiblePress","isNative","undefined","stopPropagation","accessibleNameProps","getA11yNameAttributes","interactiveProps","React","createElement","_extends","automationId","ReactSVG","wrapper","beforeInjection","svg"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,MAAMA,KAAoCC,uBAAAA,OAAAA;AAAAA,EAAAA,gCAAAA;AAAAA,EAAAA,mCAAAA;AAAAA,EAAAA,kCAAAA;AAAAA,EAAAA,4BAAAA;AAAAA,EAAAA,mCAAAA;AAAAA,EAAAA,oCAAAA;AAAAA,EAAAA,oCAAAA;AAAAA,EAAAA,8BAAAA;AAAAA,EAAAA,yCAAAA;AAAAA,EAAAA,2CAAAA;AAAAA,EAAAA,8BAAAA;AAAAA,EAAAA,iDAAAA;AAAAA,EAAAA,gDAAAA;AAAAA,EAAAA,2CAAAA;AAAAA,EAAAA,wCAAAA;AAAAA,EAAAA,uCAAAA;AAAAA,EAAAA,6CAAAA;AAAAA,EAAAA,8CAAAA;AAAAA,EAAAA,6CAAAA;AAAAA,EAAAA,wCAAAA;AAAAA,EAAAA,uCAAAA;AAAAA,EAAAA,wCAAAA;AAAAA,EAAAA,mCAAAA;AAAAA,EAAAA,iCAAAA;AAAAA,EAAAA,+BAAAA;AAAAA,EAAAA,+BAAAA;AAAAA,EAAAA,iC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,EAAAA,IAEnCA;AAEJ,SACEK,gBAAAA,EAAAC,cAAA,OAAAC,EAAA;AAAA,IACE5B,WAAW,qFACTc,IAAgB,iCAAiC,EAAE,IACjDd,CAAS,IAAIU,EAAoBF,CAAQ,CAAC;AAAA,IAC9C,eAAcM,IAAyBO,SAAT;AAAA,EAASA,GACnCI,GAAgB;AAAA,IACpB,sBAAoB3B,GAAO+B;AAAAA,EAAAA,CAAa,GAExCH,gBAAAA,EAAAC,cAACG,IAAQ;AAAA,IACPnB,KAAAA;AAAAA,IACAoB,SAAQ;AAAA,IACRC,iBAAkBC,CAAAA,MAAQ;AACxBA,MAAAA,EAAI3C,aAAa,eAAe,MAAM,GACtC2C,EAAI3C,aAAa,QAAQ,MAAM,GAC/BP,EAAyBkD,GAAKhD,GAAMC,GAAQC,CAAI;AAAA,IAClD;AAAA,EAAA,CACD,CACE;AAET;"}
|
|
1
|
+
{"version":3,"file":"index5.js","sources":["../src/components/Icon/index.tsx"],"sourcesContent":["// TODO: `applyAttributesToElement` recursion drops `size` for nested elements (pre-existing).\nimport React, { FC } from 'react';\nimport { ReactSVG } from 'react-svg';\nimport { getA11yNameAttributes, useAccessiblePress } from '../../utils/a11y';\n\n// Dynamically import icons using Vite's asset handling\nconst ICON_MAP: Record<string, string> = (import.meta as any).glob('/src/assets/icons/*.svg', {\n eager: true,\n query: '?url',\n import: 'default'\n});\n\nexport type RotationTypes = '0' | '45' | '90' | '135' | '180' | '225' | '270' | '315';\n\nexport type IconProps = {\n name: string;\n className?: string;\n onClick?: () => void;\n /**\n * Accessible name when Icon is interactive (onClick is provided).\n * If omitted, we fall back to `name` and warn in development.\n */\n ariaLabel?: string;\n /**\n * ID(s) of visible element(s) that label this Icon when interactive.\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 Icon when interactive (additional context).\n */\n ariaDescribedBy?: string;\n /**\n * Toggle state when Icon is used as a button (e.g., show/hide sidebar).\n * Only applies when `onClick` is provided (interactive icon).\n */\n ariaPressed?: boolean;\n /**\n * Expansion state when Icon controls a collapsible region/panel.\n * Only applies when `onClick` is provided (interactive icon).\n */\n ariaExpanded?: boolean;\n /**\n * ID of the element controlled by this Icon (for aria-controls).\n * Only applies when `onClick` is provided (interactive icon).\n */\n ariaControls?: string;\n fill?: string;\n stroke?: string;\n rotation?: RotationTypes;\n size?: number;\n shouldStopPropagation?: boolean;\n automationId?: string;\n};\n\nconst applyAttributesToElement = (element: Element, fill?: string, stroke?: string, size?: number) => {\n // Only modify existing attributes\n if (fill && element.hasAttribute('fill')) {\n const currentFill = element.getAttribute('fill');\n // Only update if the current fill is not \"none\"\n if (currentFill !== 'none') {\n element.setAttribute('fill', fill);\n }\n }\n\n if (stroke && element.hasAttribute('stroke')) {\n element.setAttribute('stroke', stroke);\n }\n\n if (size && element.hasAttribute('width')) {\n element.setAttribute('width', size.toString());\n }\n\n if (size && element.hasAttribute('height')) {\n element.setAttribute('height', size.toString());\n }\n\n // Recursively apply to all child elements\n Array.from(element.children).forEach((child) => {\n applyAttributesToElement(child, fill, stroke);\n });\n};\n\nexport const Icon: FC<IconProps> = (props) => {\n const {\n name = '',\n className = '',\n onClick,\n ariaLabel,\n ariaLabelledBy,\n ariaDescribedBy,\n ariaPressed,\n ariaExpanded,\n ariaControls,\n fill,\n stroke,\n rotation = '0',\n size,\n shouldStopPropagation = false\n } = props;\n const iconRotationClasses = {\n '0': 'rotate-0',\n '45': 'rotate-45',\n '90': 'rotate-90',\n '135': 'rotate-[135deg]',\n '180': 'rotate-180',\n '225': 'rotate-[225deg]',\n '270': '-rotate-90',\n '315': '-rotate-45'\n };\n const src = ICON_MAP[`/src/assets/icons/${name}.svg`];\n\n if (!src) {\n console.error(`Icon \"${name}\" not found in ICON_MAP.`);\n return null;\n }\n\n const isInteractive = typeof onClick === 'function';\n const computedAriaLabel = ariaLabel || name;\n\n if (isInteractive && !ariaLabel && (import.meta as { env?: { DEV?: boolean } }).env?.DEV) {\n // eslint-disable-next-line no-console\n console.warn(\n `[se-design/Icon] Missing ariaLabel for clickable icon \"${name}\". ` +\n `Falling back to aria-label=\"${computedAriaLabel}\".`\n );\n }\n\n const { pressProps, role, tabIndex } = useAccessiblePress({\n isNative: false,\n onClick: isInteractive ? () => onClick?.() : undefined,\n stopPropagation: shouldStopPropagation\n });\n\n // Compute accessible name/description props with correct precedence (aligns with Button/Link).\n const accessibleNameProps = getA11yNameAttributes({\n ariaLabel: computedAriaLabel,\n ariaLabelledBy,\n ariaDescribedBy\n });\n\n const interactiveProps = isInteractive\n ? {\n ...pressProps,\n role,\n tabIndex,\n ...accessibleNameProps,\n 'aria-pressed': ariaPressed,\n 'aria-expanded': ariaExpanded,\n 'aria-controls': ariaControls || undefined\n }\n : undefined;\n\n return (\n <div\n className={`se-design-svg-wrapper transition-transform duration-250 ease-linear rounded-[3px] ${\n isInteractive ? 'cursor-pointer focus-outline' : ''\n } ${className} ${iconRotationClasses[rotation]}`}\n aria-hidden={!isInteractive ? 'true' : undefined}\n {...interactiveProps}\n data-automation-id={props?.automationId}\n >\n <ReactSVG\n src={src}\n wrapper=\"span\"\n beforeInjection={(svg) => {\n svg.setAttribute('aria-hidden', 'true');\n svg.setAttribute('role', 'none');\n applyAttributesToElement(svg, fill, stroke, size);\n }}\n />\n </div>\n );\n};\n"],"names":["ICON_MAP","import","applyAttributesToElement","element","fill","stroke","size","hasAttribute","getAttribute","setAttribute","toString","Array","from","children","forEach","child","Icon","props","name","className","onClick","ariaLabel","ariaLabelledBy","ariaDescribedBy","ariaPressed","ariaExpanded","ariaControls","rotation","shouldStopPropagation","iconRotationClasses","src","console","error","isInteractive","computedAriaLabel","pressProps","role","tabIndex","useAccessiblePress","isNative","undefined","stopPropagation","accessibleNameProps","getA11yNameAttributes","interactiveProps","React","createElement","_extends","automationId","ReactSVG","wrapper","beforeInjection","svg"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AM,GACtC2C,EAAI3C,aAAa,QAAQ,MAAM,GAC/BP,EAAyBkD,GAAKhD,GAAMC,GAAQC,CAAI;AAAA,IAClD;AAAA,EAAA,CACD,CACE;AAET;"}
|
package/dist/index50.js
CHANGED
|
@@ -332,7 +332,7 @@ const fe = ["S", "M", "T", "W", "T", "F", "S"], pe = ["Today", "Yesterday", "Thi
|
|
|
332
332
|
${!k && g ? "bg-[var(--color-blue-500)] text-[var(--color-white)] hover:bg-[var(--color-blue-600)]" : ""}
|
|
333
333
|
${!u && !g && J ? "bg-[var(--color-blue-100)] text-[var(--color-blue-600)]" : ""}
|
|
334
334
|
${!u && !g && !J && !M ? "hover:bg-[var(--color-blue-100)]" : ""}
|
|
335
|
-
${V && !u && !g ? "text-[var(--color-blue-500)]" : ""}
|
|
335
|
+
${V && !u && !g ? "text-[var(--color-blue-500)] bg-[var(--color-blue-100)]" : ""}
|
|
336
336
|
${!M && !u && !g && !V ? "text-[var(--color-gray-700)]" : ""}
|
|
337
337
|
`,
|
|
338
338
|
"data-automation-id": `${m}-date-${_}`
|
|
@@ -364,7 +364,7 @@ const fe = ["S", "M", "T", "W", "T", "F", "S"], pe = ["Today", "Yesterday", "Thi
|
|
|
364
364
|
className: "se-design-datepicker-footer flex justify-end items-center gap-5 p-4 border-t border-[var(--color-gray-200)]"
|
|
365
365
|
}, /* @__PURE__ */ o.createElement(S, {
|
|
366
366
|
label: j?.clear || "Clear",
|
|
367
|
-
type: "
|
|
367
|
+
type: "ghost",
|
|
368
368
|
onClick: De,
|
|
369
369
|
"data-automation-id": `${m}-clear-button`
|
|
370
370
|
}), /* @__PURE__ */ o.createElement(S, {
|