se-design 1.0.95 → 1.0.96
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/icons/zoom-in.svg +3 -0
- package/dist/assets/icons/zoom-out.svg +3 -0
- package/dist/index12.js +2 -2
- package/dist/index13.js +2 -2
- package/dist/index16.js +1 -1
- package/dist/index19.js +1 -1
- package/dist/index210.js +2 -149
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +2 -9
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +149 -6
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +8 -42
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +5 -20
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +46 -0
- package/dist/index215.js.map +1 -0
- package/dist/index216.js +24 -0
- package/dist/index216.js.map +1 -0
- package/dist/{index221.js → index223.js} +1 -1
- package/dist/{index221.js.map → index223.js.map} +1 -1
- package/dist/{index222.js → index224.js} +1 -1
- package/dist/{index222.js.map → index224.js.map} +1 -1
- package/dist/index231.js +4 -11
- package/dist/index231.js.map +1 -1
- package/dist/index233.js +15 -0
- package/dist/index233.js.map +1 -0
- package/dist/index24.js +1 -1
- package/dist/{index239.js → index241.js} +1 -1
- package/dist/{index239.js.map → index241.js.map} +1 -1
- package/dist/{index242.js → index244.js} +1 -1
- package/dist/{index242.js.map → index244.js.map} +1 -1
- package/dist/{index251.js → index253.js} +1 -1
- package/dist/{index251.js.map → index253.js.map} +1 -1
- package/dist/index254.js +3 -18
- package/dist/index254.js.map +1 -1
- package/dist/index256.js +18 -9
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +9 -4
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +10 -170
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +5 -11
- package/dist/index259.js.map +1 -1
- package/dist/index26.js +1 -1
- package/dist/index260.js +170 -6
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +11 -6
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +5 -37
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +6 -2
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +37 -7
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +2 -327
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +7 -49
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +327 -2
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +45 -71
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +2 -93
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +72 -48
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +92 -7
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +51 -4
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +7 -51
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +5 -2
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +52 -2
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +5 -0
- package/dist/index276.js.map +1 -0
- package/dist/index277.js +5 -0
- package/dist/index277.js.map +1 -0
- package/dist/index29.js +2 -2
- package/dist/index30.js +1 -1
- package/dist/index31.js +1 -1
- package/dist/index34.js +1 -1
- package/dist/index36.js +1 -1
- package/dist/index37.js +1 -1
- package/dist/index38.js +1 -1
- package/dist/index39.js +1 -1
- package/dist/index40.js +2 -2
- package/dist/index41.js +1 -1
- package/dist/index44.js +1 -1
- package/dist/index46.js +1 -1
- package/dist/index51.js +2 -2
- package/dist/index54.js +1 -1
- package/dist/index56.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index58.js +1 -1
- package/dist/index6.js +67 -63
- package/dist/index6.js.map +1 -1
- package/dist/index62.js +1 -1
- package/dist/index66.js +1 -1
- package/dist/index68.js +1 -1
- package/dist/index7.js +1 -1
- package/dist/index70.js +1 -1
- package/dist/index84.js +1 -1
- package/dist/index86.js +1 -1
- package/dist/index9.js +1 -1
- package/package.json +1 -1
- package/dist/index229.js +0 -8
- package/dist/index229.js.map +0 -1
- package/dist/index252.js +0 -7
- package/dist/index252.js.map +0 -1
- package/dist/index255.js +0 -13
- package/dist/index255.js.map +0 -1
package/dist/index275.js
CHANGED
|
@@ -1,5 +1,55 @@
|
|
|
1
|
-
|
|
1
|
+
import { __require as E } from "./index273.js";
|
|
2
|
+
import { __require as _ } from "./index274.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
|
-
|
|
53
|
+
P as __require
|
|
4
54
|
};
|
|
5
55
|
//# sourceMappingURL=index275.js.map
|
package/dist/index275.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index275.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"index275.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"],"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AA,YACxF;AAAA,UACA;AAAA,QACA;AAAA;AAAA,EAGA;AAOA,SAAAV,EAAe,oBAAoB,WAAW;AAC5C,IAAI,QAAQ,IAAI,aAAa,iBAC3BL,IAAqB,CAAA;AAAA,EAEzB,GAEAgB,IAAiBX;;","x_google_ignoreList":[0]}
|
package/dist/index276.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index276.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index277.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index277.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index29.js
CHANGED
|
@@ -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 "./index86.js";
|
|
4
4
|
import { useFocusTrap as be } from "./index77.js";
|
|
5
|
-
import { useDismissOnEscape as pe } from "./
|
|
6
|
-
import { useFocusSentinel as he } from "./
|
|
5
|
+
import { useDismissOnEscape as pe } from "./index223.js";
|
|
6
|
+
import { useFocusSentinel as he } from "./index224.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
function E() {
|
|
9
9
|
return E = Object.assign ? Object.assign.bind() : function(g) {
|
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 "./
|
|
5
|
+
import { useStableId as q } from "./index214.js";
|
|
6
6
|
import "./index77.js";
|
|
7
7
|
import { useTabsA11y as G, getPanelId as J } from "./index78.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 "./
|
|
4
|
+
import { useStableId as B } from "./index214.js";
|
|
5
5
|
import { getRegionAttributes as Q } from "./index71.js";
|
|
6
6
|
import { useAccessiblePress as U } from "./index72.js";
|
|
7
7
|
import "./index77.js";
|
package/dist/index34.js
CHANGED
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 "./
|
|
3
|
+
import { useStableId as $ } from "./index214.js";
|
|
4
4
|
import { getRegionAttributes as I } from "./index71.js";
|
|
5
5
|
import { useAccessiblePress as _ } from "./index72.js";
|
|
6
6
|
import "./index77.js";
|
package/dist/index37.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import e, { useState as k, useEffect as w } from "react";
|
|
2
2
|
import { Icon as x } from "./index6.js";
|
|
3
|
-
import { useStableId as F } from "./
|
|
3
|
+
import { useStableId as F } from "./index214.js";
|
|
4
4
|
import { getA11yNameAttributes as P } from "./index86.js";
|
|
5
5
|
import { getRegionAttributes as V } from "./index71.js";
|
|
6
6
|
import { useAccessiblePress as q } from "./index72.js";
|
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 "./index86.js";
|
|
5
5
|
import "./index77.js";
|
|
6
|
-
import { useStableId as D } from "./
|
|
6
|
+
import { useStableId as D } from "./index214.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 "./index86.js";
|
|
7
7
|
import "./index77.js";
|
|
8
8
|
import { useCombobox as He } from "./index73.js";
|
|
9
|
-
import { useStableId as le } from "./
|
|
9
|
+
import { useStableId as le } from "./index214.js";
|
|
10
10
|
import { announce as Ke } from "./index80.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 "./
|
|
3
|
-
import { mergeIds as k } from "./
|
|
2
|
+
import { useStableId as _ } from "./index214.js";
|
|
3
|
+
import { mergeIds as k } from "./index231.js";
|
|
4
4
|
import { getA11yNameAttributes as D } from "./index86.js";
|
|
5
5
|
import "./index77.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 "./
|
|
4
|
+
import { debounce as L } from "./index233.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
function z(p) {
|
|
7
7
|
const {
|
package/dist/index44.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t, { useState as $, useRef as T } from "react";
|
|
2
2
|
import "./index77.js";
|
|
3
|
-
import { useDismissOnEscape as j } from "./
|
|
3
|
+
import { useDismissOnEscape as j } from "./index223.js";
|
|
4
4
|
import { Icon as g } from "./index6.js";
|
|
5
5
|
import { Button as A } from "./index4.js";
|
|
6
6
|
/* empty css */
|
package/dist/index46.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e, { useState as k, useRef as S, useCallback as P, useEffect as Y } from "react";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import { Icon as x } from "./index6.js";
|
|
4
|
-
import { useStableId as Z } from "./
|
|
4
|
+
import { useStableId as Z } from "./index214.js";
|
|
5
5
|
import { getA11yNameAttributes as ee } from "./index86.js";
|
|
6
6
|
import "./index77.js";
|
|
7
7
|
import { useCombobox as te } from "./index73.js";
|
package/dist/index51.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import t, { useState as h, useRef as f, useCallback as g, useEffect as P } from "react";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import C from "./
|
|
3
|
+
import C from "./index241.js";
|
|
4
4
|
import { Icon as H } from "./index6.js";
|
|
5
|
-
import { useStableId as b } from "./
|
|
5
|
+
import { useStableId as b } from "./index214.js";
|
|
6
6
|
import { getA11yNameAttributes as J } from "./index86.js";
|
|
7
7
|
import "./index77.js";
|
|
8
8
|
import { useCombobox as le } from "./index73.js";
|
package/dist/index54.js
CHANGED
package/dist/index56.js
CHANGED
|
@@ -2,7 +2,7 @@ import r, { useState as S } from "react";
|
|
|
2
2
|
import { Button as z } from "./index4.js";
|
|
3
3
|
import { Icon as _ } from "./index6.js";
|
|
4
4
|
import { Dropdown as te } from "./index26.js";
|
|
5
|
-
import { useDatePickerA11y as Fe, formatDateId as Pe, getCellAriaLabel as Ce } from "./
|
|
5
|
+
import { useDatePickerA11y as Fe, formatDateId as Pe, getCellAriaLabel as Ce } from "./index253.js";
|
|
6
6
|
/* empty css */
|
|
7
7
|
function T() {
|
|
8
8
|
return T = Object.assign ? Object.assign.bind() : function(p) {
|
package/dist/index57.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "react";
|
|
2
2
|
import { Icon as W } from "./index6.js";
|
|
3
|
-
import { useStableId as j } from "./
|
|
3
|
+
import { useStableId as j } from "./index214.js";
|
|
4
4
|
import { getA11yNameAttributes as q } from "./index86.js";
|
|
5
5
|
import "./index77.js";
|
|
6
6
|
/* empty css */
|
package/dist/index58.js
CHANGED
package/dist/index6.js
CHANGED
|
@@ -7,16 +7,16 @@ import M from "./index93.js";
|
|
|
7
7
|
import q from "./index94.js";
|
|
8
8
|
import G from "./index95.js";
|
|
9
9
|
import V from "./index96.js";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
10
|
+
import z from "./index97.js";
|
|
11
|
+
import H from "./index98.js";
|
|
12
|
+
import J from "./index99.js";
|
|
13
|
+
import K from "./index100.js";
|
|
14
|
+
import Q from "./index101.js";
|
|
15
|
+
import U from "./index102.js";
|
|
16
|
+
import W from "./index103.js";
|
|
17
|
+
import X from "./index104.js";
|
|
18
|
+
import Y from "./index105.js";
|
|
19
|
+
import Z from "./index106.js";
|
|
20
20
|
import ss from "./index107.js";
|
|
21
21
|
import os from "./index108.js";
|
|
22
22
|
import _s from "./index109.js";
|
|
@@ -61,16 +61,16 @@ import Ms from "./index147.js";
|
|
|
61
61
|
import qs from "./index148.js";
|
|
62
62
|
import Gs from "./index149.js";
|
|
63
63
|
import Vs from "./index150.js";
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
import
|
|
69
|
-
import
|
|
70
|
-
import
|
|
71
|
-
import
|
|
72
|
-
import
|
|
73
|
-
import
|
|
64
|
+
import zs from "./index151.js";
|
|
65
|
+
import Hs from "./index152.js";
|
|
66
|
+
import Js from "./index153.js";
|
|
67
|
+
import Ks from "./index154.js";
|
|
68
|
+
import Qs from "./index155.js";
|
|
69
|
+
import Us from "./index156.js";
|
|
70
|
+
import Ws from "./index157.js";
|
|
71
|
+
import Xs from "./index158.js";
|
|
72
|
+
import Ys from "./index159.js";
|
|
73
|
+
import Zs from "./index160.js";
|
|
74
74
|
import so from "./index161.js";
|
|
75
75
|
import oo from "./index162.js";
|
|
76
76
|
import _o from "./index163.js";
|
|
@@ -114,16 +114,18 @@ import Mo from "./index200.js";
|
|
|
114
114
|
import qo from "./index201.js";
|
|
115
115
|
import Go from "./index202.js";
|
|
116
116
|
import Vo from "./index203.js";
|
|
117
|
-
import
|
|
118
|
-
import
|
|
119
|
-
import
|
|
120
|
-
import
|
|
121
|
-
import
|
|
122
|
-
import
|
|
117
|
+
import zo from "./index204.js";
|
|
118
|
+
import Ho from "./index205.js";
|
|
119
|
+
import Jo from "./index206.js";
|
|
120
|
+
import Ko from "./index207.js";
|
|
121
|
+
import Qo from "./index208.js";
|
|
122
|
+
import Uo from "./index209.js";
|
|
123
|
+
import Wo from "./index210.js";
|
|
124
|
+
import Xo from "./index211.js";
|
|
123
125
|
import a from "react";
|
|
124
|
-
import { ReactSVG as
|
|
125
|
-
import { getA11yNameAttributes as
|
|
126
|
-
import { useAccessiblePress as
|
|
126
|
+
import { ReactSVG as Yo } from "./index212.js";
|
|
127
|
+
import { getA11yNameAttributes as Zo } from "./index86.js";
|
|
128
|
+
import { useAccessiblePress as s_ } from "./index72.js";
|
|
127
129
|
import "./index77.js";
|
|
128
130
|
function m() {
|
|
129
131
|
return m = Object.assign ? Object.assign.bind() : function(s) {
|
|
@@ -134,7 +136,7 @@ function m() {
|
|
|
134
136
|
return s;
|
|
135
137
|
}, m.apply(null, arguments);
|
|
136
138
|
}
|
|
137
|
-
const
|
|
139
|
+
const o_ = /* @__PURE__ */ Object.assign({
|
|
138
140
|
"/src/assets/icons/ai-off.svg": L,
|
|
139
141
|
"/src/assets/icons/ai-re-run.svg": R,
|
|
140
142
|
"/src/assets/icons/ai-search.svg": F,
|
|
@@ -144,16 +146,16 @@ const zo = /* @__PURE__ */ Object.assign({
|
|
|
144
146
|
"/src/assets/icons/arrow-head.svg": q,
|
|
145
147
|
"/src/assets/icons/attachment.svg": G,
|
|
146
148
|
"/src/assets/icons/back.svg": V,
|
|
147
|
-
"/src/assets/icons/banner-demo-img.svg":
|
|
148
|
-
"/src/assets/icons/bell-notification.svg":
|
|
149
|
-
"/src/assets/icons/card.svg":
|
|
150
|
-
"/src/assets/icons/center-align.svg":
|
|
151
|
-
"/src/assets/icons/chat.svg":
|
|
152
|
-
"/src/assets/icons/checkbox-disabled-minus.svg":
|
|
153
|
-
"/src/assets/icons/checkbox-disabled-tick.svg":
|
|
154
|
-
"/src/assets/icons/checkbox-disabled.svg":
|
|
155
|
-
"/src/assets/icons/checkbox-field.svg":
|
|
156
|
-
"/src/assets/icons/checkbox-fill.svg":
|
|
149
|
+
"/src/assets/icons/banner-demo-img.svg": z,
|
|
150
|
+
"/src/assets/icons/bell-notification.svg": H,
|
|
151
|
+
"/src/assets/icons/card.svg": J,
|
|
152
|
+
"/src/assets/icons/center-align.svg": K,
|
|
153
|
+
"/src/assets/icons/chat.svg": Q,
|
|
154
|
+
"/src/assets/icons/checkbox-disabled-minus.svg": U,
|
|
155
|
+
"/src/assets/icons/checkbox-disabled-tick.svg": W,
|
|
156
|
+
"/src/assets/icons/checkbox-disabled.svg": X,
|
|
157
|
+
"/src/assets/icons/checkbox-field.svg": Y,
|
|
158
|
+
"/src/assets/icons/checkbox-fill.svg": Z,
|
|
157
159
|
"/src/assets/icons/checkbox-hover-fill.svg": ss,
|
|
158
160
|
"/src/assets/icons/checkbox-hover-minus.svg": os,
|
|
159
161
|
"/src/assets/icons/checkbox-hover-tick.svg": _s,
|
|
@@ -198,16 +200,16 @@ const zo = /* @__PURE__ */ Object.assign({
|
|
|
198
200
|
"/src/assets/icons/hourglass.svg": qs,
|
|
199
201
|
"/src/assets/icons/image-field.svg": Gs,
|
|
200
202
|
"/src/assets/icons/info.svg": Vs,
|
|
201
|
-
"/src/assets/icons/initials-field.svg":
|
|
202
|
-
"/src/assets/icons/kebab-menu.svg":
|
|
203
|
-
"/src/assets/icons/left-align.svg":
|
|
204
|
-
"/src/assets/icons/library.svg":
|
|
205
|
-
"/src/assets/icons/minus.svg":
|
|
206
|
-
"/src/assets/icons/move-folder.svg":
|
|
207
|
-
"/src/assets/icons/name-field.svg":
|
|
208
|
-
"/src/assets/icons/next.svg":
|
|
209
|
-
"/src/assets/icons/observer.svg":
|
|
210
|
-
"/src/assets/icons/office-building.svg":
|
|
203
|
+
"/src/assets/icons/initials-field.svg": zs,
|
|
204
|
+
"/src/assets/icons/kebab-menu.svg": Hs,
|
|
205
|
+
"/src/assets/icons/left-align.svg": Js,
|
|
206
|
+
"/src/assets/icons/library.svg": Ks,
|
|
207
|
+
"/src/assets/icons/minus.svg": Qs,
|
|
208
|
+
"/src/assets/icons/move-folder.svg": Us,
|
|
209
|
+
"/src/assets/icons/name-field.svg": Ws,
|
|
210
|
+
"/src/assets/icons/next.svg": Xs,
|
|
211
|
+
"/src/assets/icons/observer.svg": Ys,
|
|
212
|
+
"/src/assets/icons/office-building.svg": Zs,
|
|
211
213
|
"/src/assets/icons/onedrive.svg": so,
|
|
212
214
|
"/src/assets/icons/outlook.svg": oo,
|
|
213
215
|
"/src/assets/icons/padlock.svg": _o,
|
|
@@ -251,17 +253,19 @@ const zo = /* @__PURE__ */ Object.assign({
|
|
|
251
253
|
"/src/assets/icons/text-field.svg": qo,
|
|
252
254
|
"/src/assets/icons/tick.svg": Go,
|
|
253
255
|
"/src/assets/icons/title-field.svg": Vo,
|
|
254
|
-
"/src/assets/icons/upload-csv.svg":
|
|
255
|
-
"/src/assets/icons/views.svg":
|
|
256
|
-
"/src/assets/icons/warning.svg":
|
|
257
|
-
"/src/assets/icons/webinar-widget.svg":
|
|
258
|
-
"/src/assets/icons/white-close.svg":
|
|
259
|
-
"/src/assets/icons/widget-demo-image.svg":
|
|
256
|
+
"/src/assets/icons/upload-csv.svg": zo,
|
|
257
|
+
"/src/assets/icons/views.svg": Ho,
|
|
258
|
+
"/src/assets/icons/warning.svg": Jo,
|
|
259
|
+
"/src/assets/icons/webinar-widget.svg": Ko,
|
|
260
|
+
"/src/assets/icons/white-close.svg": Qo,
|
|
261
|
+
"/src/assets/icons/widget-demo-image.svg": Uo,
|
|
262
|
+
"/src/assets/icons/zoom-in.svg": Wo,
|
|
263
|
+
"/src/assets/icons/zoom-out.svg": Xo
|
|
260
264
|
}), l = (s, t, o, _) => {
|
|
261
265
|
t && s.hasAttribute("fill") && s.getAttribute("fill") !== "none" && s.setAttribute("fill", t), o && s.hasAttribute("stroke") && s.setAttribute("stroke", o), _ && s.hasAttribute("width") && s.setAttribute("width", _.toString()), _ && s.hasAttribute("height") && s.setAttribute("height", _.toString()), Array.from(s.children).forEach((e) => {
|
|
262
266
|
l(e, t, o);
|
|
263
267
|
});
|
|
264
|
-
},
|
|
268
|
+
}, __ = /* @__PURE__ */ a.forwardRef((s, t) => {
|
|
265
269
|
const {
|
|
266
270
|
name: o = "",
|
|
267
271
|
id: _,
|
|
@@ -289,7 +293,7 @@ const zo = /* @__PURE__ */ Object.assign({
|
|
|
289
293
|
225: "rotate-[225deg]",
|
|
290
294
|
270: "-rotate-90",
|
|
291
295
|
315: "-rotate-45"
|
|
292
|
-
}, v =
|
|
296
|
+
}, v = o_[`/src/assets/icons/${o}.svg`];
|
|
293
297
|
if (!v)
|
|
294
298
|
return console.error(`Icon "${o}" not found in ICON_MAP.`), null;
|
|
295
299
|
const i = typeof g == "function", C = f || o, c = s.tabIndex !== void 0, {
|
|
@@ -297,13 +301,13 @@ const zo = /* @__PURE__ */ Object.assign({
|
|
|
297
301
|
role: $,
|
|
298
302
|
tabIndex: E,
|
|
299
303
|
isDisabled: S
|
|
300
|
-
} =
|
|
304
|
+
} = s_({
|
|
301
305
|
isNative: !1,
|
|
302
306
|
onClick: i ? (r) => g?.(r) : void 0,
|
|
303
307
|
disabled: i ? y : !1,
|
|
304
308
|
tabIndex: s.tabIndex ?? 0,
|
|
305
309
|
stopPropagation: w
|
|
306
|
-
}), n =
|
|
310
|
+
}), n = Zo({
|
|
307
311
|
ariaLabel: C,
|
|
308
312
|
ariaLabelledBy: b,
|
|
309
313
|
ariaDescribedBy: p
|
|
@@ -327,7 +331,7 @@ const zo = /* @__PURE__ */ Object.assign({
|
|
|
327
331
|
...n
|
|
328
332
|
}, {
|
|
329
333
|
"data-automation-id": s?.automationId
|
|
330
|
-
}), /* @__PURE__ */ a.createElement(
|
|
334
|
+
}), /* @__PURE__ */ a.createElement(Yo, {
|
|
331
335
|
src: v,
|
|
332
336
|
wrapper: "span",
|
|
333
337
|
beforeInjection: (r) => {
|
|
@@ -335,8 +339,8 @@ const zo = /* @__PURE__ */ Object.assign({
|
|
|
335
339
|
}
|
|
336
340
|
}));
|
|
337
341
|
});
|
|
338
|
-
|
|
342
|
+
__.displayName = "Icon";
|
|
339
343
|
export {
|
|
340
|
-
|
|
344
|
+
__ as Icon
|
|
341
345
|
};
|
|
342
346
|
//# sourceMappingURL=index6.js.map
|
package/dist/index6.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index6.js","sources":["../src/components/Icon/index.tsx"],"sourcesContent":["// TODO: `applyAttributesToElement` recursion drops `size` for nested elements (pre-existing).\nimport React 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 id?: string;\n className?: string;\n onClick?: (e?: React.MouseEvent<HTMLElement>) => 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 * Disables the icon interaction while keeping it visible to AT with aria-disabled=\"true\".\n * Only applies when `onClick` is provided (interactive icon).\n */\n disabled?: boolean;\n /**\n * Native HTML title attribute — renders as a browser tooltip on hover.\n * For mouse users only; does not replace ariaLabel for screen readers.\n */\n htmlTitle?: string;\n /**\n * Override tab order. Pass tabIndex={0} to make a non-interactive or disabled icon\n * focusable (e.g. for tooltip access). Overrides the hook's default when provided.\n */\n tabIndex?: number;\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 = React.forwardRef<HTMLDivElement, IconProps>((props, ref) => {\n const {\n name = '',\n id,\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 disabled = false,\n htmlTitle\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 hasTabIndex = props.tabIndex !== undefined;\n const { pressProps, role, tabIndex: hookTabIndex, isDisabled } = useAccessiblePress({\n isNative: false,\n onClick: isInteractive ? (e: React.MouseEvent<HTMLElement>) => onClick?.(e) : undefined,\n disabled: isInteractive ? disabled : false,\n tabIndex: props.tabIndex ?? 0,\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 finalTabIndex = hasTabIndex ? props.tabIndex : hookTabIndex;\n const interactiveProps = isInteractive\n ? {\n ...pressProps,\n role,\n tabIndex: finalTabIndex,\n ...accessibleNameProps,\n 'aria-pressed': ariaPressed,\n 'aria-expanded': ariaExpanded,\n 'aria-controls': ariaControls || undefined\n }\n : undefined;\n\n return (\n <div\n ref={ref}\n id={id}\n className={`se-design-svg-wrapper transition-transform duration-250 ease-linear rounded-[3px] ${\n isInteractive ? `${isDisabled ? 'opacity-50 cursor-default' : 'cursor-pointer focus-outline'}` : ''\n } ${className} ${iconRotationClasses[rotation]}`}\n aria-hidden={!isInteractive && !hasTabIndex ? 'true' : undefined}\n title={htmlTitle}\n {...interactiveProps}\n {...(!isInteractive && hasTabIndex && { tabIndex: props.tabIndex, ...accessibleNameProps })}\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\nIcon.displayName = 'Icon';\n"],"names":["ICON_MAP","import","applyAttributesToElement","element","fill","stroke","size","hasAttribute","getAttribute","setAttribute","toString","Array","from","children","forEach","child","Icon","React","forwardRef","props","ref","name","id","className","onClick","ariaLabel","ariaLabelledBy","ariaDescribedBy","ariaPressed","ariaExpanded","ariaControls","rotation","shouldStopPropagation","disabled","htmlTitle","iconRotationClasses","src","console","error","isInteractive","computedAriaLabel","hasTabIndex","tabIndex","undefined","pressProps","role","hookTabIndex","isDisabled","useAccessiblePress","isNative","e","stopPropagation","accessibleNameProps","getA11yNameAttributes","finalTabIndex","interactiveProps","createElement","_extends","title","automationId","ReactSVG","wrapper","beforeInjection","svg","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,MAAMA,KAAoCC,uBAAAA,OAAAA;AAAAA,EAAAA,gCAAAA;AAAAA,EAAAA,mCAAAA;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,sCAAAA;AAAAA,EAAAA,8BAAAA;AAAAA,EAAAA,iDAAAA;AAAAA,EAAAA,gDAAAA;AAAAA,EAAAA,2CAAAA;AAAAA,EAAAA,wCAAAA;AAAAA,EAAAA,uCAAAA;AAAAA,EAAAA,6CAAAA;AAAAA,EAAAA,8CAAAA;AAAA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AkBC,CAAAA,MAAQ;AACxBA,MAAAA,EAAItD,aAAa,eAAe,MAAM,GACtCsD,EAAItD,aAAa,QAAQ,MAAM,GAC/BP,EAAyB6D,GAAK3D,GAAMC,GAAQC,CAAI;AAAA,IAClD;AAAA,EAAA,CACD,CACE;AAET,CAAC;AAEDU,GAAKgD,cAAc;"}
|
|
1
|
+
{"version":3,"file":"index6.js","sources":["../src/components/Icon/index.tsx"],"sourcesContent":["// TODO: `applyAttributesToElement` recursion drops `size` for nested elements (pre-existing).\nimport React 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 id?: string;\n className?: string;\n onClick?: (e?: React.MouseEvent<HTMLElement>) => 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 * Disables the icon interaction while keeping it visible to AT with aria-disabled=\"true\".\n * Only applies when `onClick` is provided (interactive icon).\n */\n disabled?: boolean;\n /**\n * Native HTML title attribute — renders as a browser tooltip on hover.\n * For mouse users only; does not replace ariaLabel for screen readers.\n */\n htmlTitle?: string;\n /**\n * Override tab order. Pass tabIndex={0} to make a non-interactive or disabled icon\n * focusable (e.g. for tooltip access). Overrides the hook's default when provided.\n */\n tabIndex?: number;\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 = React.forwardRef<HTMLDivElement, IconProps>((props, ref) => {\n const {\n name = '',\n id,\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 disabled = false,\n htmlTitle\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 hasTabIndex = props.tabIndex !== undefined;\n const { pressProps, role, tabIndex: hookTabIndex, isDisabled } = useAccessiblePress({\n isNative: false,\n onClick: isInteractive ? (e: React.MouseEvent<HTMLElement>) => onClick?.(e) : undefined,\n disabled: isInteractive ? disabled : false,\n tabIndex: props.tabIndex ?? 0,\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 finalTabIndex = hasTabIndex ? props.tabIndex : hookTabIndex;\n const interactiveProps = isInteractive\n ? {\n ...pressProps,\n role,\n tabIndex: finalTabIndex,\n ...accessibleNameProps,\n 'aria-pressed': ariaPressed,\n 'aria-expanded': ariaExpanded,\n 'aria-controls': ariaControls || undefined\n }\n : undefined;\n\n return (\n <div\n ref={ref}\n id={id}\n className={`se-design-svg-wrapper transition-transform duration-250 ease-linear rounded-[3px] ${\n isInteractive ? `${isDisabled ? 'opacity-50 cursor-default' : 'cursor-pointer focus-outline'}` : ''\n } ${className} ${iconRotationClasses[rotation]}`}\n aria-hidden={!isInteractive && !hasTabIndex ? 'true' : undefined}\n title={htmlTitle}\n {...interactiveProps}\n {...(!isInteractive && hasTabIndex && { tabIndex: props.tabIndex, ...accessibleNameProps })}\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\nIcon.displayName = 'Icon';\n"],"names":["ICON_MAP","import","applyAttributesToElement","element","fill","stroke","size","hasAttribute","getAttribute","setAttribute","toString","Array","from","children","forEach","child","Icon","React","forwardRef","props","ref","name","id","className","onClick","ariaLabel","ariaLabelledBy","ariaDescribedBy","ariaPressed","ariaExpanded","ariaControls","rotation","shouldStopPropagation","disabled","htmlTitle","iconRotationClasses","src","console","error","isInteractive","computedAriaLabel","hasTabIndex","tabIndex","undefined","pressProps","role","hookTabIndex","isDisabled","useAccessiblePress","isNative","e","stopPropagation","accessibleNameProps","getA11yNameAttributes","finalTabIndex","interactiveProps","createElement","_extends","title","automationId","ReactSVG","wrapper","beforeInjection","svg","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,MAAMA,KAAoCC,uBAAAA,OAAAA;AAAAA,EAAAA,gCAAAA;AAAAA,EAAAA,mCAAAA;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,sCAAAA;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,qC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AClD;AAAA,EAAA,CACD,CACE;AAET,CAAC;AAEDU,GAAKgD,cAAc;"}
|
package/dist/index62.js
CHANGED
package/dist/index66.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import n, { useState as u, useCallback as y, useEffect as P } from "react";
|
|
2
2
|
import { Popover as I } from "./index19.js";
|
|
3
|
-
import { useStableId as k } from "./
|
|
3
|
+
import { useStableId as k } from "./index214.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
function p() {
|
|
6
6
|
return p = Object.assign ? Object.assign.bind() : function(r) {
|
package/dist/index68.js
CHANGED
|
@@ -2,7 +2,7 @@ import F, { useState as ot, useRef as X, useEffect as $ } from "react";
|
|
|
2
2
|
import { createPortal as nt } from "react-dom";
|
|
3
3
|
import { Icon as it } from "./index6.js";
|
|
4
4
|
import { Button as rt } from "./index4.js";
|
|
5
|
-
import { debounce as lt } from "./
|
|
5
|
+
import { debounce as lt } from "./index233.js";
|
|
6
6
|
const q = 500, S = 50, U = 150, st = {
|
|
7
7
|
"top-left": {
|
|
8
8
|
rotate: "315",
|
package/dist/index7.js
CHANGED
package/dist/index70.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Badge as j } from "./index10.js";
|
|
|
4
4
|
import { Icon as q } from "./index6.js";
|
|
5
5
|
import { Link as N } from "./index69.js";
|
|
6
6
|
import { CustomModal as G } from "./index13.js";
|
|
7
|
-
import { useStableId as J } from "./
|
|
7
|
+
import { useStableId as J } from "./index214.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
const K = {
|
|
10
10
|
lg: {
|
package/dist/index84.js
CHANGED
package/dist/index86.js
CHANGED
package/dist/index9.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import o from "react";
|
|
2
|
-
import { useStableId as A } from "./
|
|
2
|
+
import { useStableId as A } from "./index214.js";
|
|
3
3
|
import { getA11yNameAttributes as O } from "./index86.js";
|
|
4
4
|
import { useAccessiblePress as C } from "./index72.js";
|
|
5
5
|
import "./index77.js";
|