se-design 1.0.83-dev.4 → 1.0.83-r-dev.1
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/tag.svg +2 -2
- package/dist/assets/style.css +1 -1
- package/dist/components/AccessibleDiv/index.d.ts +1 -23
- package/dist/components/Dropdown/index.d.ts +0 -2
- package/dist/components/DropdownWithInputTags/index.d.ts +0 -3
- package/dist/components/Link/index.d.ts +2 -6
- package/dist/components/NLSearch/ClearAiFiltersBar.d.ts +21 -0
- package/dist/components/NLSearch/NLDynamicChip.d.ts +26 -0
- package/dist/components/NLSearch/NLSearchInput.d.ts +46 -0
- package/dist/components/NLSearch/index.d.ts +6 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/index.js +139 -140
- package/dist/index.js.map +1 -1
- package/dist/index100.js.map +1 -1
- package/dist/index101.js.map +1 -1
- package/dist/index102.js.map +1 -1
- package/dist/index103.js.map +1 -1
- package/dist/index104.js.map +1 -1
- package/dist/index105.js.map +1 -1
- package/dist/index106.js.map +1 -1
- package/dist/index107.js.map +1 -1
- package/dist/index108.js.map +1 -1
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +1 -1
- package/dist/index110.js.map +1 -1
- package/dist/index111.js.map +1 -1
- package/dist/index112.js.map +1 -1
- package/dist/index113.js.map +1 -1
- package/dist/index114.js.map +1 -1
- package/dist/index115.js.map +1 -1
- package/dist/index116.js.map +1 -1
- package/dist/index117.js.map +1 -1
- package/dist/index118.js.map +1 -1
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +1 -1
- package/dist/index120.js.map +1 -1
- package/dist/index121.js.map +1 -1
- package/dist/index122.js.map +1 -1
- package/dist/index123.js.map +1 -1
- package/dist/index124.js.map +1 -1
- package/dist/index125.js.map +1 -1
- package/dist/index126.js.map +1 -1
- package/dist/index127.js.map +1 -1
- package/dist/index128.js.map +1 -1
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +1 -1
- package/dist/index130.js.map +1 -1
- package/dist/index131.js.map +1 -1
- package/dist/index132.js.map +1 -1
- package/dist/index133.js.map +1 -1
- package/dist/index134.js.map +1 -1
- package/dist/index135.js.map +1 -1
- package/dist/index136.js.map +1 -1
- package/dist/index137.js.map +1 -1
- package/dist/index138.js.map +1 -1
- package/dist/index139.js.map +1 -1
- package/dist/index140.js.map +1 -1
- package/dist/index141.js.map +1 -1
- package/dist/index142.js.map +1 -1
- package/dist/index143.js.map +1 -1
- package/dist/index144.js.map +1 -1
- package/dist/index145.js.map +1 -1
- package/dist/index146.js.map +1 -1
- package/dist/index147.js.map +1 -1
- package/dist/index148.js.map +1 -1
- package/dist/index149.js.map +1 -1
- package/dist/index150.js.map +1 -1
- package/dist/index151.js.map +1 -1
- package/dist/index152.js.map +1 -1
- package/dist/index153.js.map +1 -1
- package/dist/index154.js.map +1 -1
- package/dist/index155.js.map +1 -1
- package/dist/index156.js.map +1 -1
- package/dist/index157.js.map +1 -1
- package/dist/index158.js.map +1 -1
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +23 -25
- package/dist/index16.js.map +1 -1
- package/dist/index160.js.map +1 -1
- package/dist/index161.js.map +1 -1
- package/dist/index162.js.map +1 -1
- package/dist/index163.js.map +1 -1
- package/dist/index164.js.map +1 -1
- package/dist/index165.js.map +1 -1
- package/dist/index166.js.map +1 -1
- package/dist/index167.js.map +1 -1
- package/dist/index168.js.map +1 -1
- package/dist/index169.js.map +1 -1
- package/dist/index17.js +29 -29
- package/dist/index17.js.map +1 -1
- package/dist/index170.js.map +1 -1
- package/dist/index171.js.map +1 -1
- package/dist/index172.js.map +1 -1
- package/dist/index173.js.map +1 -1
- package/dist/index174.js.map +1 -1
- package/dist/index175.js.map +1 -1
- package/dist/index176.js.map +1 -1
- package/dist/index177.js.map +1 -1
- package/dist/index178.js.map +1 -1
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +63 -85
- package/dist/index18.js.map +1 -1
- package/dist/index180.js.map +1 -1
- package/dist/index181.js.map +1 -1
- package/dist/index182.js.map +1 -1
- package/dist/index183.js.map +1 -1
- package/dist/index184.js.map +1 -1
- package/dist/index185.js.map +1 -1
- package/dist/index186.js.map +1 -1
- package/dist/index187.js.map +1 -1
- package/dist/index188.js.map +1 -1
- package/dist/index189.js.map +1 -1
- package/dist/index19.js +167 -182
- package/dist/index19.js.map +1 -1
- package/dist/index190.js.map +1 -1
- package/dist/index191.js.map +1 -1
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +1 -1
- package/dist/index193.js.map +1 -1
- package/dist/index194.js.map +1 -1
- package/dist/index195.js.map +1 -1
- package/dist/index196.js.map +1 -1
- package/dist/index197.js.map +1 -1
- package/dist/index198.js.map +1 -1
- package/dist/index199.js.map +1 -1
- package/dist/index200.js.map +1 -1
- package/dist/index201.js.map +1 -1
- package/dist/index202.js.map +1 -1
- package/dist/index203.js.map +1 -1
- package/dist/index207.js +2 -2
- package/dist/index208.js +3 -3
- package/dist/index208.js.map +1 -1
- package/dist/index216.js +9 -13
- package/dist/index216.js.map +1 -1
- package/dist/index23.js +2 -2
- package/dist/index244.js +1 -1
- package/dist/index25.js +160 -174
- package/dist/index25.js.map +1 -1
- package/dist/index27.js +1 -1
- package/dist/index28.js +4 -4
- package/dist/index28.js.map +1 -1
- package/dist/index29.js +30 -34
- package/dist/index29.js.map +1 -1
- package/dist/index3.js +50 -60
- package/dist/index3.js.map +1 -1
- package/dist/index30.js +3 -3
- package/dist/index32.js +10 -11
- package/dist/index35.js +3 -3
- package/dist/index36.js +4 -4
- package/dist/index38.js +195 -210
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +2 -2
- package/dist/index4.js +3 -3
- package/dist/index42.js +7 -8
- package/dist/index43.js +13 -14
- package/dist/index43.js.map +1 -1
- package/dist/index45.js +60 -61
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +198 -194
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +40 -38
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +36 -33
- package/dist/index48.js.map +1 -1
- package/dist/index50.js +189 -78
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +36 -459
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +33 -98
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +151 -36
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +84 -36
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +456 -88
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +96 -161
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +35 -146
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +38 -33
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +89 -83
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +237 -239
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +157 -113
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +143 -62
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +33 -152
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +80 -312
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +118 -46
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +62 -140
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +152 -12
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +316 -44
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +44 -104
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +143 -18
- package/dist/index69.js.map +1 -1
- package/dist/index7.js +8 -9
- package/dist/index70.js +9 -63
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +45 -26
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +78 -102
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +18 -61
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +63 -18
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +24 -105
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +108 -18
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +61 -10
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +21 -5
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +5 -56
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +50 -23
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +22 -7
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +12 -0
- package/dist/index82.js.map +1 -0
- package/dist/index84.js +2 -2
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +2 -2
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +2 -2
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +2 -2
- 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/index9.js +3 -3
- 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.map +1 -1
- package/dist/index98.js.map +1 -1
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
- package/dist/assets/icons/chat.svg +0 -4
- package/dist/index49.js +0 -152
- package/dist/index49.js.map +0 -1
- package/dist/index83.js +0 -5
- package/dist/index83.js.map +0 -1
package/dist/index3.js
CHANGED
|
@@ -1,74 +1,64 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { getA11yNameAttributes as
|
|
3
|
-
import { useAccessiblePress as
|
|
4
|
-
import "./
|
|
5
|
-
function
|
|
6
|
-
return
|
|
7
|
-
for (var
|
|
8
|
-
var
|
|
9
|
-
for (var
|
|
1
|
+
import P, { forwardRef as x } from "react";
|
|
2
|
+
import { getA11yNameAttributes as N } from "./index82.js";
|
|
3
|
+
import { useAccessiblePress as O } from "./index71.js";
|
|
4
|
+
import "./index76.js";
|
|
5
|
+
function o() {
|
|
6
|
+
return o = Object.assign ? Object.assign.bind() : function(e) {
|
|
7
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
8
|
+
var r = arguments[t];
|
|
9
|
+
for (var s in r) ({}).hasOwnProperty.call(r, s) && (e[s] = r[s]);
|
|
10
10
|
}
|
|
11
|
-
return
|
|
12
|
-
},
|
|
11
|
+
return e;
|
|
12
|
+
}, o.apply(null, arguments);
|
|
13
13
|
}
|
|
14
|
-
const
|
|
15
|
-
onClick:
|
|
16
|
-
onKeyboardActivate:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
ariaLabel: f,
|
|
25
|
-
ariaLabelledBy: v,
|
|
26
|
-
ariaDescribedBy: g,
|
|
14
|
+
const R = /* @__PURE__ */ x(({
|
|
15
|
+
onClick: e,
|
|
16
|
+
onKeyboardActivate: t,
|
|
17
|
+
role: r = "button",
|
|
18
|
+
disabled: s,
|
|
19
|
+
loading: c,
|
|
20
|
+
stopPropagation: l,
|
|
21
|
+
ariaLabel: u,
|
|
22
|
+
ariaLabelledBy: m,
|
|
23
|
+
ariaDescribedBy: f,
|
|
27
24
|
automationId: i,
|
|
28
|
-
className:
|
|
29
|
-
children:
|
|
30
|
-
...
|
|
31
|
-
},
|
|
32
|
-
const
|
|
33
|
-
pressProps:
|
|
34
|
-
role:
|
|
25
|
+
className: n = "",
|
|
26
|
+
children: p,
|
|
27
|
+
...v
|
|
28
|
+
}, d) => {
|
|
29
|
+
const a = !!e, {
|
|
30
|
+
pressProps: b,
|
|
31
|
+
role: g,
|
|
35
32
|
tabIndex: A
|
|
36
|
-
} =
|
|
37
|
-
onClick:
|
|
38
|
-
onKeyboardActivate:
|
|
33
|
+
} = O({
|
|
34
|
+
onClick: a ? e : void 0,
|
|
35
|
+
onKeyboardActivate: t,
|
|
39
36
|
isNative: !1,
|
|
40
|
-
role:
|
|
41
|
-
disabled:
|
|
42
|
-
loading:
|
|
43
|
-
stopPropagation:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}), D = e ? (s) => {
|
|
47
|
-
o.onKeyDown?.(s), s.key !== "Enter" && s.key !== " " && e(s);
|
|
48
|
-
} : o.onKeyDown, I = {
|
|
49
|
-
...o,
|
|
50
|
-
onKeyDown: D
|
|
51
|
-
}, O = l ? {
|
|
52
|
-
role: w,
|
|
37
|
+
role: r,
|
|
38
|
+
disabled: s,
|
|
39
|
+
loading: c,
|
|
40
|
+
stopPropagation: l
|
|
41
|
+
}), y = a ? {
|
|
42
|
+
role: g,
|
|
53
43
|
tabIndex: A,
|
|
54
|
-
className: `focus-outline ${
|
|
55
|
-
...
|
|
56
|
-
ariaLabel:
|
|
57
|
-
ariaLabelledBy:
|
|
58
|
-
ariaDescribedBy:
|
|
44
|
+
className: `focus-outline ${n}`.trim(),
|
|
45
|
+
...N({
|
|
46
|
+
ariaLabel: u,
|
|
47
|
+
ariaLabelledBy: m,
|
|
48
|
+
ariaDescribedBy: f
|
|
59
49
|
}),
|
|
60
|
-
...
|
|
50
|
+
...b
|
|
61
51
|
} : {
|
|
62
|
-
className:
|
|
52
|
+
className: n
|
|
63
53
|
};
|
|
64
|
-
return /* @__PURE__ */
|
|
65
|
-
ref:
|
|
66
|
-
},
|
|
54
|
+
return /* @__PURE__ */ P.createElement("div", o({
|
|
55
|
+
ref: d
|
|
56
|
+
}, y, i ? {
|
|
67
57
|
"data-automation-id": i
|
|
68
|
-
} : {},
|
|
58
|
+
} : {}, v), p);
|
|
69
59
|
});
|
|
70
|
-
|
|
60
|
+
R.displayName = "AccessibleDiv";
|
|
71
61
|
export {
|
|
72
|
-
|
|
62
|
+
R as AccessibleDiv
|
|
73
63
|
};
|
|
74
64
|
//# sourceMappingURL=index3.js.map
|
package/dist/index3.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index3.js","sources":["../src/components/AccessibleDiv/index.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { useAccessiblePress, getA11yNameAttributes } from '../../utils/a11y';\nimport type { UseAccessiblePressOptions } from '../../utils/a11y';\nimport type { AccessibleNameInput } from '../../utils/a11y';\n\ntype NativeDivProps = Omit<\n React.HTMLAttributes<HTMLDivElement>,\n 'onClick' | 'role' | 'tabIndex' | 'aria-label' | 'aria-labelledby' | 'aria-describedby'
|
|
1
|
+
{"version":3,"file":"index3.js","sources":["../src/components/AccessibleDiv/index.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { useAccessiblePress, getA11yNameAttributes } from '../../utils/a11y';\nimport type { UseAccessiblePressOptions } from '../../utils/a11y';\nimport type { AccessibleNameInput } from '../../utils/a11y';\n\ntype NativeDivProps = Omit<\n React.HTMLAttributes<HTMLDivElement>,\n 'onClick' | 'role' | 'tabIndex' | 'aria-label' | 'aria-labelledby' | 'aria-describedby'\n>;\n\nexport interface AccessibleDivProps extends NativeDivProps, AccessibleNameInput {\n onClick?: UseAccessiblePressOptions['onClick'];\n onKeyboardActivate?: UseAccessiblePressOptions['onKeyboardActivate'];\n /** ARIA role. Defaults to 'button'. */\n role?: string;\n disabled?: boolean;\n loading?: boolean;\n /** Calls e.stopPropagation() before onClick. Useful for nested clickable elements. */\n stopPropagation?: boolean;\n className?: string;\n id?: string;\n automationId?: string;\n children?: React.ReactNode;\n}\n\n/**\n * Accessible clickable container for complex interactive content.\n * Use when children can't fit into se-design Button's label+icon API.\n * For simple icon+label, prefer se-design Button instead.\n */\nexport const AccessibleDiv = forwardRef<HTMLDivElement, AccessibleDivProps>(\n (\n {\n onClick,\n onKeyboardActivate,\n role = 'button',\n disabled,\n loading,\n stopPropagation,\n ariaLabel,\n ariaLabelledBy,\n ariaDescribedBy,\n automationId,\n className = '',\n children,\n ...rest\n },\n ref\n ) => {\n const isInteractive = Boolean(onClick);\n\n const { pressProps, role: resolvedRole, tabIndex } = useAccessiblePress({\n onClick: isInteractive ? onClick : undefined,\n onKeyboardActivate,\n isNative: false,\n role,\n disabled,\n loading,\n stopPropagation\n });\n\n const interactiveProps = isInteractive\n ? {\n role: resolvedRole,\n tabIndex,\n className: `focus-outline ${className}`.trim(),\n ...getA11yNameAttributes({ ariaLabel, ariaLabelledBy, ariaDescribedBy }),\n ...pressProps\n }\n : { className };\n\n return (\n <div\n ref={ref}\n {...interactiveProps}\n {...(automationId ? { 'data-automation-id': automationId } : {})}\n {...rest}\n >\n {children}\n </div>\n );\n }\n);\n\nAccessibleDiv.displayName = 'AccessibleDiv';\n"],"names":["AccessibleDiv","onClick","onKeyboardActivate","role","disabled","loading","stopPropagation","ariaLabel","ariaLabelledBy","ariaDescribedBy","automationId","className","children","rest","ref","isInteractive","Boolean","pressProps","resolvedRole","tabIndex","useAccessiblePress","undefined","isNative","interactiveProps","trim","getA11yNameAttributes","React","createElement","_extends","displayName"],"mappings":";;;;;;;;;;;;;AA8BO,MAAMA,sBACX,CACE;AAAA,EACEC,SAAAA;AAAAA,EACAC,oBAAAA;AAAAA,EACAC,MAAAA,IAAO;AAAA,EACPC,UAAAA;AAAAA,EACAC,SAAAA;AAAAA,EACAC,iBAAAA;AAAAA,EACAC,WAAAA;AAAAA,EACAC,gBAAAA;AAAAA,EACAC,iBAAAA;AAAAA,EACAC,cAAAA;AAAAA,EACAC,WAAAA,IAAY;AAAA,EACZC,UAAAA;AAAAA,EACA,GAAGC;AACL,GACAC,MACG;AACH,QAAMC,IAAgBC,EAAQf,GAExB;AAAA,IAAEgB,YAAAA;AAAAA,IAAYd,MAAMe;AAAAA,IAAcC,UAAAA;AAAAA,EAAAA,IAAaC,EAAmB;AAAA,IACtEnB,SAASc,IAAgBd,IAAUoB;AAAAA,IACnCnB,oBAAAA;AAAAA,IACAoB,UAAU;AAAA,IACVnB,MAAAA;AAAAA,IACAC,UAAAA;AAAAA,IACAC,SAAAA;AAAAA,IACAC,iBAAAA;AAAAA,EAAAA,CACD,GAEKiB,IAAmBR,IACrB;AAAA,IACEZ,MAAMe;AAAAA,IACNC,UAAAA;AAAAA,IACAR,WAAW,iBAAiBA,CAAS,GAAGa,KAAAA;AAAAA,IACxC,GAAGC,EAAsB;AAAA,MAAElB,WAAAA;AAAAA,MAAWC,gBAAAA;AAAAA,MAAgBC,iBAAAA;AAAAA,IAAAA,CAAiB;AAAA,IACvE,GAAGQ;AAAAA,EAAAA,IAEL;AAAA,IAAEN,WAAAA;AAAAA,EAAAA;AAEN,SACEe,gBAAAA,EAAAC,cAAA,OAAAC,EAAA;AAAA,IACEd,KAAAA;AAAAA,EAAAA,GACIS,GACCb,IAAe;AAAA,IAAE,sBAAsBA;AAAAA,EAAAA,IAAiB,CAAA,GACzDG,CAAI,GAEPD,CACE;AAET,CACF;AAEAZ,EAAc6B,cAAc;"}
|
package/dist/index30.js
CHANGED
|
@@ -2,9 +2,9 @@ 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
4
|
import { useStableId as B } from "./index205.js";
|
|
5
|
-
import { getRegionAttributes as Q } from "./
|
|
6
|
-
import { useAccessiblePress as U } from "./
|
|
7
|
-
import "./
|
|
5
|
+
import { getRegionAttributes as Q } from "./index70.js";
|
|
6
|
+
import { useAccessiblePress as U } from "./index71.js";
|
|
7
|
+
import "./index76.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
function m() {
|
|
10
10
|
return m = Object.assign ? Object.assign.bind() : function(a) {
|
package/dist/index32.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "react";
|
|
2
2
|
import { Button as N } from "./index4.js";
|
|
3
3
|
import { Badge as I } from "./index10.js";
|
|
4
|
-
import { Icon as
|
|
4
|
+
import { Icon as g } from "./index6.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
const t = {
|
|
7
7
|
widgetCtn: "flex flex-col gap-[2px] align-center border border-[var(--color-gray-200)] rounded-[12px] w-[385px]",
|
|
@@ -21,16 +21,16 @@ const t = {
|
|
|
21
21
|
requestFeatureImageCtn: "w-[48px] h-[48px] border border-[var(--color-gray-200)] rounded-[50%] flex items-center flex-shrink-0 bg-[var(--color-red-50)]",
|
|
22
22
|
requestFeatureDescriptionCtn: "flex flex-col"
|
|
23
23
|
}, B = ({
|
|
24
|
-
widgetClassName:
|
|
24
|
+
widgetClassName: d = "",
|
|
25
25
|
widgetType: a = "general",
|
|
26
26
|
widgetTitle: r = "",
|
|
27
27
|
widgetDescription: l = "",
|
|
28
28
|
widgetImage: p,
|
|
29
|
-
hasImage:
|
|
29
|
+
hasImage: x = !1,
|
|
30
30
|
hasButtonCta: n = !1,
|
|
31
31
|
hasLinkCta: i = !1,
|
|
32
32
|
ctaText: o = "",
|
|
33
|
-
hasBadge:
|
|
33
|
+
hasBadge: f = !1,
|
|
34
34
|
badgeText: w = "",
|
|
35
35
|
buttonBgColor: u = "secondary",
|
|
36
36
|
onCtaClick: b,
|
|
@@ -38,7 +38,7 @@ const t = {
|
|
|
38
38
|
webinarDateInfo: c,
|
|
39
39
|
webinarSpeaker: s
|
|
40
40
|
}) => {
|
|
41
|
-
const E =
|
|
41
|
+
const E = f && /* @__PURE__ */ e.createElement(I, {
|
|
42
42
|
label: w,
|
|
43
43
|
className: t.widgetBadge,
|
|
44
44
|
bgColor: "var(--color-yellow-50)",
|
|
@@ -52,14 +52,14 @@ const t = {
|
|
|
52
52
|
label: o,
|
|
53
53
|
className: `${t.widgetButtonCta} mt-[4px]`,
|
|
54
54
|
onClick: b
|
|
55
|
-
})), C =
|
|
55
|
+
})), C = x && /* @__PURE__ */ e.createElement("div", {
|
|
56
56
|
className: `${t.widgetImageCtn} widget-image-ctn`
|
|
57
57
|
}, /* @__PURE__ */ e.createElement("img", {
|
|
58
58
|
src: p,
|
|
59
59
|
alt: "widget-image"
|
|
60
60
|
}));
|
|
61
61
|
return /* @__PURE__ */ e.createElement("div", {
|
|
62
|
-
className: `${t.widgetCtn} ${
|
|
62
|
+
className: `${t.widgetCtn} ${d} widget-ctn`,
|
|
63
63
|
onClick: v
|
|
64
64
|
}, a !== "general" && C, /* @__PURE__ */ e.createElement("div", {
|
|
65
65
|
className: t.descriptionCtn
|
|
@@ -71,14 +71,14 @@ const t = {
|
|
|
71
71
|
className: t.webinarInfoCtn
|
|
72
72
|
}, s && /* @__PURE__ */ e.createElement("div", {
|
|
73
73
|
className: `${t.webinarDescriptionInfo} align-baseline`
|
|
74
|
-
}, /* @__PURE__ */ e.createElement(
|
|
74
|
+
}, /* @__PURE__ */ e.createElement(g, {
|
|
75
75
|
name: "people",
|
|
76
76
|
className: "relative top-[2px]"
|
|
77
77
|
}), /* @__PURE__ */ e.createElement("span", {
|
|
78
78
|
className: t.webinarSpeaker
|
|
79
79
|
}, s)), c && /* @__PURE__ */ e.createElement("div", {
|
|
80
80
|
className: `${t.webinarTimeInfo} align-baseline mb-[4px]`
|
|
81
|
-
}, /* @__PURE__ */ e.createElement(
|
|
81
|
+
}, /* @__PURE__ */ e.createElement(g, {
|
|
82
82
|
name: "clock",
|
|
83
83
|
className: "relative top-[2px]"
|
|
84
84
|
}), /* @__PURE__ */ e.createElement("span", {
|
|
@@ -96,7 +96,6 @@ const t = {
|
|
|
96
96
|
}, l), m)) : m));
|
|
97
97
|
};
|
|
98
98
|
export {
|
|
99
|
-
B as Widget
|
|
100
|
-
B as default
|
|
99
|
+
B as Widget
|
|
101
100
|
};
|
|
102
101
|
//# sourceMappingURL=index32.js.map
|
package/dist/index35.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import e, { useState as h, useEffect as E } from "react";
|
|
2
2
|
import { Icon as N } from "./index6.js";
|
|
3
3
|
import { useStableId as $ } from "./index205.js";
|
|
4
|
-
import { getRegionAttributes as I } from "./
|
|
5
|
-
import { useAccessiblePress as _ } from "./
|
|
6
|
-
import "./
|
|
4
|
+
import { getRegionAttributes as I } from "./index70.js";
|
|
5
|
+
import { useAccessiblePress as _ } from "./index71.js";
|
|
6
|
+
import "./index76.js";
|
|
7
7
|
function r() {
|
|
8
8
|
return r = Object.assign ? Object.assign.bind() : function(n) {
|
|
9
9
|
for (var s = 1; s < arguments.length; s++) {
|
package/dist/index36.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import e, { useState as k, useEffect as w } from "react";
|
|
2
2
|
import { Icon as x } from "./index6.js";
|
|
3
3
|
import { useStableId as F } from "./index205.js";
|
|
4
|
-
import { getA11yNameAttributes as P } from "./
|
|
5
|
-
import { getRegionAttributes as V } from "./
|
|
6
|
-
import { useAccessiblePress as q } from "./
|
|
7
|
-
import "./
|
|
4
|
+
import { getA11yNameAttributes as P } from "./index82.js";
|
|
5
|
+
import { getRegionAttributes as V } from "./index70.js";
|
|
6
|
+
import { useAccessiblePress as q } from "./index71.js";
|
|
7
|
+
import "./index76.js";
|
|
8
8
|
function a() {
|
|
9
9
|
return a = Object.assign ? Object.assign.bind() : function(i) {
|
|
10
10
|
for (var o = 1; o < arguments.length; o++) {
|