@liner-fe/prism 1.10.16 → 1.10.17
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/lib/assets/arrow-down-left.d.ts +8 -0
- package/lib/assets/arrow-up-left.d.ts +8 -0
- package/lib/assets/arrow-up-right.d.ts +8 -0
- package/lib/assets/email.d.ts +8 -0
- package/lib/assets/index.d.ts +4 -0
- package/lib/index.mjs +191 -59
- package/lib/index.mjs.map +4 -4
- package/lib/type/index.d.ts +1 -1
- package/package.json +1 -1
package/lib/assets/index.d.ts
CHANGED
|
@@ -115,3 +115,7 @@ export { ICQuote } from './quote';
|
|
|
115
115
|
export { ICDocumentCheck } from './document-check';
|
|
116
116
|
export { ICBlock } from './block';
|
|
117
117
|
export { ICBookmarkCancel } from './bookmark-cancel';
|
|
118
|
+
export { ICArrowUpRight } from './arrow-up-right';
|
|
119
|
+
export { ICArrowDownLeft } from './arrow-down-left';
|
|
120
|
+
export { ICArrowUpLeft } from './arrow-up-left';
|
|
121
|
+
export { ICEmail } from './email';
|
package/lib/index.mjs
CHANGED
|
@@ -5548,6 +5548,134 @@ var ICBookmarkCancel = /* @__PURE__ */ __name((props) => {
|
|
|
5548
5548
|
] });
|
|
5549
5549
|
}, "ICBookmarkCancel");
|
|
5550
5550
|
|
|
5551
|
+
// src/assets/arrow-up-right.tsx
|
|
5552
|
+
import { jsx as jsx118 } from "react/jsx-runtime";
|
|
5553
|
+
var ICArrowUpRight = /* @__PURE__ */ __name((props) => {
|
|
5554
|
+
const { thick = false, fill = false, size = 32, color = "#1E1E1F" } = props;
|
|
5555
|
+
if (thick) {
|
|
5556
|
+
return /* @__PURE__ */ jsx118("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx118(
|
|
5557
|
+
"path",
|
|
5558
|
+
{
|
|
5559
|
+
d: "M35 15.8286L35 31H39L39 13C39 10.7909 37.2091 9 35 9H17V13L32.1718 13L8.58582 36.5859L11.4142 39.4144L35 15.8286Z",
|
|
5560
|
+
fill: color
|
|
5561
|
+
}
|
|
5562
|
+
) });
|
|
5563
|
+
}
|
|
5564
|
+
return /* @__PURE__ */ jsx118("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx118(
|
|
5565
|
+
"path",
|
|
5566
|
+
{
|
|
5567
|
+
d: "M35.5 14.6214L35.5 31H38.5L38.5 13C38.5 11.067 36.933 9.5 35 9.5H17V12.5L33.3788 12.5L8.93933 36.9395L11.0607 39.0608L35.5 14.6214Z",
|
|
5568
|
+
fill: color
|
|
5569
|
+
}
|
|
5570
|
+
) });
|
|
5571
|
+
}, "ICArrowUpRight");
|
|
5572
|
+
|
|
5573
|
+
// src/assets/arrow-down-left.tsx
|
|
5574
|
+
import { jsx as jsx119 } from "react/jsx-runtime";
|
|
5575
|
+
var ICArrowDownLeft = /* @__PURE__ */ __name((props) => {
|
|
5576
|
+
const { thick = false, fill = false, size = 32, color = "#1E1E1F" } = props;
|
|
5577
|
+
if (thick) {
|
|
5578
|
+
return /* @__PURE__ */ jsx119("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx119(
|
|
5579
|
+
"path",
|
|
5580
|
+
{
|
|
5581
|
+
d: "M15.8282 35.0003L39.4142 11.4144L36.5858 8.58594L13 32.1717V17.0003H9V35.0003C9 37.2094 10.7909 39.0003 13 39.0003H31V35.0003H15.8282Z",
|
|
5582
|
+
fill: color
|
|
5583
|
+
}
|
|
5584
|
+
) });
|
|
5585
|
+
}
|
|
5586
|
+
return /* @__PURE__ */ jsx119("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx119(
|
|
5587
|
+
"path",
|
|
5588
|
+
{
|
|
5589
|
+
d: "M14.6212 35.5002L39.0607 11.0608L36.9394 8.93945L12.5 33.3788V17.0002H9.5V35.0002C9.5 36.9332 11.067 38.5002 13 38.5002H31V35.5002H14.6212Z",
|
|
5590
|
+
fill: color
|
|
5591
|
+
}
|
|
5592
|
+
) });
|
|
5593
|
+
}, "ICArrowDownLeft");
|
|
5594
|
+
|
|
5595
|
+
// src/assets/arrow-up-left.tsx
|
|
5596
|
+
import { jsx as jsx120 } from "react/jsx-runtime";
|
|
5597
|
+
var ICArrowUpLeft = /* @__PURE__ */ __name((props) => {
|
|
5598
|
+
const { thick = false, fill = false, size = 32, color = "#1E1E1F" } = props;
|
|
5599
|
+
if (thick) {
|
|
5600
|
+
return /* @__PURE__ */ jsx120("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx120(
|
|
5601
|
+
"path",
|
|
5602
|
+
{
|
|
5603
|
+
d: "M12.5858 15.8286L12.5858 31H8.58581L8.58581 13C8.58581 10.7909 10.3767 9 12.5858 9H30.5858V13L15.4141 13L39 36.5859L36.1716 39.4144L12.5858 15.8286Z",
|
|
5604
|
+
fill: color
|
|
5605
|
+
}
|
|
5606
|
+
) });
|
|
5607
|
+
}
|
|
5608
|
+
return /* @__PURE__ */ jsx120("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx120(
|
|
5609
|
+
"path",
|
|
5610
|
+
{
|
|
5611
|
+
d: "M11.9393 14.6214L11.9393 31H8.93933L8.93933 13C8.93933 11.067 10.5063 9.5 12.4393 9.5H30.4393V12.5L14.0605 12.5L38.5 36.9395L36.3787 39.0608L11.9393 14.6214Z",
|
|
5612
|
+
fill: color
|
|
5613
|
+
}
|
|
5614
|
+
) });
|
|
5615
|
+
}, "ICArrowUpLeft");
|
|
5616
|
+
|
|
5617
|
+
// src/assets/email.tsx
|
|
5618
|
+
import { jsx as jsx121, jsxs as jsxs85 } from "react/jsx-runtime";
|
|
5619
|
+
var ICEmail = /* @__PURE__ */ __name((props) => {
|
|
5620
|
+
const { thick = false, fill = false, size = 32, color = "#1E1E1F" } = props;
|
|
5621
|
+
if (fill && thick) {
|
|
5622
|
+
return /* @__PURE__ */ jsxs85("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5623
|
+
/* @__PURE__ */ jsx121(
|
|
5624
|
+
"path",
|
|
5625
|
+
{
|
|
5626
|
+
d: "M4.83894 9.37133L24 23.514L43.161 9.3713C42.8337 9.13754 42.4329 9 42 9H6C5.56708 9 5.16629 9.13755 4.83894 9.37133Z",
|
|
5627
|
+
fill: color
|
|
5628
|
+
}
|
|
5629
|
+
),
|
|
5630
|
+
/* @__PURE__ */ jsx121(
|
|
5631
|
+
"path",
|
|
5632
|
+
{
|
|
5633
|
+
d: "M4 13.7237V37C4 38.1046 4.89543 39 6 39H42C43.1046 39 44 38.1046 44 37V13.7236L24 28.4856L4 13.7237Z",
|
|
5634
|
+
fill: color
|
|
5635
|
+
}
|
|
5636
|
+
)
|
|
5637
|
+
] });
|
|
5638
|
+
}
|
|
5639
|
+
if (thick) {
|
|
5640
|
+
return /* @__PURE__ */ jsx121("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx121(
|
|
5641
|
+
"path",
|
|
5642
|
+
{
|
|
5643
|
+
"fill-rule": "evenodd",
|
|
5644
|
+
"clip-rule": "evenodd",
|
|
5645
|
+
d: "M4 11C4 9.89543 4.89543 9 6 9H42C43.1046 9 44 9.89543 44 11V37C44 38.1046 43.1046 39 42 39H6C4.89543 39 4 38.1046 4 37V11ZM8 16.9118V35H40V16.9117L24 28.4673L8 16.9118ZM38.5844 13H9.41553L24 23.5332L38.5844 13Z",
|
|
5646
|
+
fill: color
|
|
5647
|
+
}
|
|
5648
|
+
) });
|
|
5649
|
+
}
|
|
5650
|
+
if (fill) {
|
|
5651
|
+
return /* @__PURE__ */ jsxs85("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5652
|
+
/* @__PURE__ */ jsx121(
|
|
5653
|
+
"path",
|
|
5654
|
+
{
|
|
5655
|
+
d: "M4.46554 9.71718L24 24.1355L43.5345 9.71721C43.1676 9.27882 42.6164 9 42 9H6C5.38365 9 4.83242 9.2788 4.46554 9.71718Z",
|
|
5656
|
+
fill: color
|
|
5657
|
+
}
|
|
5658
|
+
),
|
|
5659
|
+
/* @__PURE__ */ jsx121(
|
|
5660
|
+
"path",
|
|
5661
|
+
{
|
|
5662
|
+
d: "M44 13.1023L24 27.8642L4 13.1022V37C4 38.1046 4.89543 39 6 39H42C43.1046 39 44 38.1046 44 37V13.1023Z",
|
|
5663
|
+
fill: color
|
|
5664
|
+
}
|
|
5665
|
+
)
|
|
5666
|
+
] });
|
|
5667
|
+
}
|
|
5668
|
+
return /* @__PURE__ */ jsx121("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx121(
|
|
5669
|
+
"path",
|
|
5670
|
+
{
|
|
5671
|
+
"fill-rule": "evenodd",
|
|
5672
|
+
"clip-rule": "evenodd",
|
|
5673
|
+
d: "M4 11C4 9.89543 4.89543 9 6 9H42C43.1046 9 44 9.89543 44 11V37C44 38.1046 43.1046 39 42 39H6C4.89543 39 4 38.1046 4 37V11ZM7 15.5728V36H41V15.5727L23.9999 27.8505L7 15.5728ZM40.8229 12H7.177L23.9999 24.1499L40.8229 12Z",
|
|
5674
|
+
fill: color
|
|
5675
|
+
}
|
|
5676
|
+
) });
|
|
5677
|
+
}, "ICEmail");
|
|
5678
|
+
|
|
5551
5679
|
// src/utils/icon.ts
|
|
5552
5680
|
var iconMap = {
|
|
5553
5681
|
"close-fill": ICCloseFill,
|
|
@@ -5666,7 +5794,11 @@ var iconMap = {
|
|
|
5666
5794
|
quote: ICQuote,
|
|
5667
5795
|
"document-check": ICDocumentCheck,
|
|
5668
5796
|
block: ICBlock,
|
|
5669
|
-
"bookmark-cancel": ICBookmarkCancel
|
|
5797
|
+
"bookmark-cancel": ICBookmarkCancel,
|
|
5798
|
+
"arrow-up-right": ICArrowUpRight,
|
|
5799
|
+
"arrow-down-left": ICArrowDownLeft,
|
|
5800
|
+
"arrow-up-left": ICArrowUpLeft,
|
|
5801
|
+
email: ICEmail
|
|
5670
5802
|
};
|
|
5671
5803
|
|
|
5672
5804
|
// src/utils/object.ts
|
|
@@ -5746,7 +5878,7 @@ var style_module_default2 = {
|
|
|
5746
5878
|
};
|
|
5747
5879
|
|
|
5748
5880
|
// src/components/Icon/index.tsx
|
|
5749
|
-
import { jsx as
|
|
5881
|
+
import { jsx as jsx122 } from "react/jsx-runtime";
|
|
5750
5882
|
var iconSizeMap = {
|
|
5751
5883
|
xs: 16,
|
|
5752
5884
|
s: 20,
|
|
@@ -5789,7 +5921,7 @@ var Icon = /* @__PURE__ */ __name((props) => {
|
|
|
5789
5921
|
const { name, type = "neutral-label-primary", size = "m", thick = false, fill = false, className, ...rest } = props;
|
|
5790
5922
|
const IconComponent = getIconComponent(name, iconMap);
|
|
5791
5923
|
const iconSize = iconSizeMap[size];
|
|
5792
|
-
return /* @__PURE__ */
|
|
5924
|
+
return /* @__PURE__ */ jsx122(
|
|
5793
5925
|
IconComponent,
|
|
5794
5926
|
{
|
|
5795
5927
|
...rest,
|
|
@@ -5802,7 +5934,7 @@ var Icon = /* @__PURE__ */ __name((props) => {
|
|
|
5802
5934
|
}, "Icon");
|
|
5803
5935
|
|
|
5804
5936
|
// src/components/Button/index.tsx
|
|
5805
|
-
import { jsx as
|
|
5937
|
+
import { jsx as jsx123, jsxs as jsxs86 } from "react/jsx-runtime";
|
|
5806
5938
|
var buttonIconSizeMap = {
|
|
5807
5939
|
cta: "m",
|
|
5808
5940
|
l: "s",
|
|
@@ -5889,24 +6021,24 @@ var DefaultButton = forwardRef(
|
|
|
5889
6021
|
className: clsx2(defaultButtonVariants({ level, fill, align, size, width }), className),
|
|
5890
6022
|
ref
|
|
5891
6023
|
},
|
|
5892
|
-
/* @__PURE__ */
|
|
5893
|
-
!!leftIcon && /* @__PURE__ */
|
|
5894
|
-
/* @__PURE__ */
|
|
5895
|
-
!!rightIcon && /* @__PURE__ */
|
|
6024
|
+
/* @__PURE__ */ jsxs86("span", { className: clsx2(defaultButtonChildrenVariants({ size })), children: [
|
|
6025
|
+
!!leftIcon && /* @__PURE__ */ jsx123(Icon, { name: leftIcon.name, size: buttonIconSizeMap[size], thick: buttonSizeIconThickMap[size] }),
|
|
6026
|
+
/* @__PURE__ */ jsx123("p", { className: style_module_default.content, children: newChildren }),
|
|
6027
|
+
!!rightIcon && /* @__PURE__ */ jsx123(Icon, { name: rightIcon.name, size: buttonIconSizeMap[size], thick: buttonSizeIconThickMap[size] })
|
|
5896
6028
|
] })
|
|
5897
6029
|
);
|
|
5898
6030
|
return ParentClone;
|
|
5899
6031
|
}
|
|
5900
|
-
return /* @__PURE__ */
|
|
6032
|
+
return /* @__PURE__ */ jsx123(
|
|
5901
6033
|
"button",
|
|
5902
6034
|
{
|
|
5903
6035
|
...rest,
|
|
5904
6036
|
className: clsx2(defaultButtonVariants({ level, fill, align, size, width }), className),
|
|
5905
6037
|
ref,
|
|
5906
|
-
children: /* @__PURE__ */
|
|
5907
|
-
!!leftIcon && /* @__PURE__ */
|
|
5908
|
-
/* @__PURE__ */
|
|
5909
|
-
!!rightIcon && /* @__PURE__ */
|
|
6038
|
+
children: /* @__PURE__ */ jsxs86("span", { className: clsx2(defaultButtonChildrenVariants({ size })), children: [
|
|
6039
|
+
!!leftIcon && /* @__PURE__ */ jsx123(Icon, { name: leftIcon.name, size: buttonIconSizeMap[size], thick: buttonSizeIconThickMap[size] }),
|
|
6040
|
+
/* @__PURE__ */ jsx123("p", { className: style_module_default.content, children }),
|
|
6041
|
+
!!rightIcon && /* @__PURE__ */ jsx123(Icon, { name: rightIcon.name, size: buttonIconSizeMap[size], thick: buttonSizeIconThickMap[size] })
|
|
5910
6042
|
] })
|
|
5911
6043
|
}
|
|
5912
6044
|
);
|
|
@@ -5915,16 +6047,16 @@ var DefaultButton = forwardRef(
|
|
|
5915
6047
|
var TextButton = forwardRef(
|
|
5916
6048
|
({ level = "inverse-primary", asChild = false, className, ...rest }, ref) => {
|
|
5917
6049
|
const Component = asChild ? Slot : "button";
|
|
5918
|
-
return /* @__PURE__ */
|
|
6050
|
+
return /* @__PURE__ */ jsx123(Component, { ...rest, className: clsx2(textButtonVariants({ level }), className), ref });
|
|
5919
6051
|
}
|
|
5920
6052
|
);
|
|
5921
6053
|
var Button = forwardRef((props, ref) => {
|
|
5922
6054
|
switch (props.as) {
|
|
5923
6055
|
case "default":
|
|
5924
6056
|
case void 0:
|
|
5925
|
-
return /* @__PURE__ */
|
|
6057
|
+
return /* @__PURE__ */ jsx123(DefaultButton, { ...props, ref });
|
|
5926
6058
|
case "text":
|
|
5927
|
-
return /* @__PURE__ */
|
|
6059
|
+
return /* @__PURE__ */ jsx123(TextButton, { ...props, ref });
|
|
5928
6060
|
}
|
|
5929
6061
|
});
|
|
5930
6062
|
|
|
@@ -6009,7 +6141,7 @@ var colorVariants = cva3(style_module_default4.typography, {
|
|
|
6009
6141
|
});
|
|
6010
6142
|
|
|
6011
6143
|
// src/components/Typography/Paragraph.tsx
|
|
6012
|
-
import { jsx as
|
|
6144
|
+
import { jsx as jsx124 } from "react/jsx-runtime";
|
|
6013
6145
|
var Paragraph = /* @__PURE__ */ __name(({
|
|
6014
6146
|
size,
|
|
6015
6147
|
type,
|
|
@@ -6019,7 +6151,7 @@ var Paragraph = /* @__PURE__ */ __name(({
|
|
|
6019
6151
|
color = "neutral-label-primary",
|
|
6020
6152
|
...rest
|
|
6021
6153
|
}) => {
|
|
6022
|
-
return /* @__PURE__ */
|
|
6154
|
+
return /* @__PURE__ */ jsx124(
|
|
6023
6155
|
"p",
|
|
6024
6156
|
{
|
|
6025
6157
|
...rest,
|
|
@@ -6031,13 +6163,13 @@ var Paragraph = /* @__PURE__ */ __name(({
|
|
|
6031
6163
|
|
|
6032
6164
|
// src/components/Toast/index.tsx
|
|
6033
6165
|
import { useRecoilValue, useSetRecoilState as useSetRecoilState2 } from "recoil";
|
|
6034
|
-
import { jsx as
|
|
6166
|
+
import { jsx as jsx125, jsxs as jsxs87 } from "react/jsx-runtime";
|
|
6035
6167
|
import { createElement } from "react";
|
|
6036
6168
|
var Toaster = /* @__PURE__ */ __name(() => {
|
|
6037
6169
|
const { list } = useRecoilValue(toastAtom);
|
|
6038
|
-
return /* @__PURE__ */
|
|
6170
|
+
return /* @__PURE__ */ jsxs87(Provider, { children: [
|
|
6039
6171
|
list.map((props) => /* @__PURE__ */ createElement(SingleToast, { ...props, key: props.toastId })),
|
|
6040
|
-
/* @__PURE__ */
|
|
6172
|
+
/* @__PURE__ */ jsx125(Viewport, { className: style_module_default3.ToastViewport })
|
|
6041
6173
|
] });
|
|
6042
6174
|
}, "Toaster");
|
|
6043
6175
|
var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
@@ -6066,10 +6198,10 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
|
6066
6198
|
clearTimeout(timerRef.current);
|
|
6067
6199
|
};
|
|
6068
6200
|
}, []);
|
|
6069
|
-
return /* @__PURE__ */
|
|
6070
|
-
icon && /* @__PURE__ */
|
|
6071
|
-
/* @__PURE__ */
|
|
6072
|
-
/* @__PURE__ */
|
|
6201
|
+
return /* @__PURE__ */ jsxs87(Root, { className: style_module_default3.ToastRoot, open: isOpen, ...props, children: [
|
|
6202
|
+
icon && /* @__PURE__ */ jsx125("i", { className: style_module_default3.Icon, children: /* @__PURE__ */ jsx125(Icon, { ...icon, size: "s" }) }),
|
|
6203
|
+
/* @__PURE__ */ jsxs87(Title, { className: style_module_default3.ToastTitle, children: [
|
|
6204
|
+
/* @__PURE__ */ jsx125(
|
|
6073
6205
|
Paragraph,
|
|
6074
6206
|
{
|
|
6075
6207
|
className: style_module_default3.TitleText,
|
|
@@ -6080,7 +6212,7 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
|
6080
6212
|
children: message
|
|
6081
6213
|
}
|
|
6082
6214
|
),
|
|
6083
|
-
button && /* @__PURE__ */
|
|
6215
|
+
button && /* @__PURE__ */ jsx125(
|
|
6084
6216
|
Button,
|
|
6085
6217
|
{
|
|
6086
6218
|
onClick: () => {
|
|
@@ -6103,7 +6235,7 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
|
6103
6235
|
|
|
6104
6236
|
// src/components/Typography/Heading.tsx
|
|
6105
6237
|
import clsx4 from "clsx";
|
|
6106
|
-
import { jsx as
|
|
6238
|
+
import { jsx as jsx126 } from "react/jsx-runtime";
|
|
6107
6239
|
var Heading = /* @__PURE__ */ __name(({
|
|
6108
6240
|
size,
|
|
6109
6241
|
children,
|
|
@@ -6113,7 +6245,7 @@ var Heading = /* @__PURE__ */ __name(({
|
|
|
6113
6245
|
...rest
|
|
6114
6246
|
}) => {
|
|
6115
6247
|
const Element = `h${size}`;
|
|
6116
|
-
return /* @__PURE__ */
|
|
6248
|
+
return /* @__PURE__ */ jsx126(
|
|
6117
6249
|
Element,
|
|
6118
6250
|
{
|
|
6119
6251
|
...rest,
|
|
@@ -6125,7 +6257,7 @@ var Heading = /* @__PURE__ */ __name(({
|
|
|
6125
6257
|
|
|
6126
6258
|
// src/components/Typography/Display.tsx
|
|
6127
6259
|
import clsx5 from "clsx";
|
|
6128
|
-
import { jsx as
|
|
6260
|
+
import { jsx as jsx127 } from "react/jsx-runtime";
|
|
6129
6261
|
var Display = /* @__PURE__ */ __name(({
|
|
6130
6262
|
size,
|
|
6131
6263
|
type,
|
|
@@ -6135,7 +6267,7 @@ var Display = /* @__PURE__ */ __name(({
|
|
|
6135
6267
|
color = "neutral-label-primary",
|
|
6136
6268
|
...rest
|
|
6137
6269
|
}) => {
|
|
6138
|
-
return /* @__PURE__ */
|
|
6270
|
+
return /* @__PURE__ */ jsx127(
|
|
6139
6271
|
"p",
|
|
6140
6272
|
{
|
|
6141
6273
|
...rest,
|
|
@@ -6147,7 +6279,7 @@ var Display = /* @__PURE__ */ __name(({
|
|
|
6147
6279
|
|
|
6148
6280
|
// src/components/Typography/Title.tsx
|
|
6149
6281
|
import clsx6 from "clsx";
|
|
6150
|
-
import { jsx as
|
|
6282
|
+
import { jsx as jsx128 } from "react/jsx-runtime";
|
|
6151
6283
|
var Title2 = /* @__PURE__ */ __name(({
|
|
6152
6284
|
weight,
|
|
6153
6285
|
size,
|
|
@@ -6157,7 +6289,7 @@ var Title2 = /* @__PURE__ */ __name(({
|
|
|
6157
6289
|
color = "neutral-label-primary",
|
|
6158
6290
|
...rest
|
|
6159
6291
|
}) => {
|
|
6160
|
-
return /* @__PURE__ */
|
|
6292
|
+
return /* @__PURE__ */ jsx128(
|
|
6161
6293
|
"p",
|
|
6162
6294
|
{
|
|
6163
6295
|
...rest,
|
|
@@ -6169,7 +6301,7 @@ var Title2 = /* @__PURE__ */ __name(({
|
|
|
6169
6301
|
|
|
6170
6302
|
// src/components/Typography/Caption.tsx
|
|
6171
6303
|
import clsx7 from "clsx";
|
|
6172
|
-
import { jsx as
|
|
6304
|
+
import { jsx as jsx129 } from "react/jsx-runtime";
|
|
6173
6305
|
var Caption = /* @__PURE__ */ __name(({
|
|
6174
6306
|
children,
|
|
6175
6307
|
size,
|
|
@@ -6179,7 +6311,7 @@ var Caption = /* @__PURE__ */ __name(({
|
|
|
6179
6311
|
color = "neutral-label-primary",
|
|
6180
6312
|
...rest
|
|
6181
6313
|
}) => {
|
|
6182
|
-
return /* @__PURE__ */
|
|
6314
|
+
return /* @__PURE__ */ jsx129(
|
|
6183
6315
|
"caption",
|
|
6184
6316
|
{
|
|
6185
6317
|
...rest,
|
|
@@ -6217,7 +6349,7 @@ var style_module_default5 = {
|
|
|
6217
6349
|
// src/components/Popover/index.tsx
|
|
6218
6350
|
import { cva as cva4 } from "class-variance-authority";
|
|
6219
6351
|
import { clsx as clsx8 } from "clsx";
|
|
6220
|
-
import { jsx as
|
|
6352
|
+
import { jsx as jsx130, jsxs as jsxs88 } from "react/jsx-runtime";
|
|
6221
6353
|
var DEFAULT_OFFSET = -6;
|
|
6222
6354
|
var popoverVariants = cva4(style_module_default5.content, {
|
|
6223
6355
|
variants: {
|
|
@@ -6239,9 +6371,9 @@ var popoverTagVariants = cva4([style_module_default5.tag, "lp-sys-typo-caption3-
|
|
|
6239
6371
|
var popoverTitleVariants = cva4([style_module_default5.title, "lp-sys-typo-paragraph3-normal-bold"]);
|
|
6240
6372
|
var popoverSubtitleVariants = cva4([style_module_default5.subTitle, "lp-sys-typo-caption1-normal-regular"]);
|
|
6241
6373
|
var popoverFooterVariants = cva4([style_module_default5.footer, "lp-sys-typo-caption1-normal-medium"]);
|
|
6242
|
-
var PopoverRoot = /* @__PURE__ */ __name(({ isOpen, children, onChange }) => /* @__PURE__ */
|
|
6243
|
-
var PopoverTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */
|
|
6244
|
-
var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */
|
|
6374
|
+
var PopoverRoot = /* @__PURE__ */ __name(({ isOpen, children, onChange }) => /* @__PURE__ */ jsx130(PopoverPrimitive.Root, { open: isOpen, onOpenChange: onChange, children }), "PopoverRoot");
|
|
6375
|
+
var PopoverTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx130(PopoverPrimitive.Trigger, { asChild: true, children: by }), "PopoverTrigger");
|
|
6376
|
+
var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ jsx130(
|
|
6245
6377
|
"svg",
|
|
6246
6378
|
{
|
|
6247
6379
|
className,
|
|
@@ -6251,7 +6383,7 @@ var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ js
|
|
|
6251
6383
|
height: "10",
|
|
6252
6384
|
viewBox: "0 0 30 10",
|
|
6253
6385
|
fill: "none",
|
|
6254
|
-
children: /* @__PURE__ */
|
|
6386
|
+
children: /* @__PURE__ */ jsx130(
|
|
6255
6387
|
"path",
|
|
6256
6388
|
{
|
|
6257
6389
|
"fill-rule": "evenodd",
|
|
@@ -6276,7 +6408,7 @@ var PopoverContent = React.forwardRef(
|
|
|
6276
6408
|
onClose,
|
|
6277
6409
|
className,
|
|
6278
6410
|
...props
|
|
6279
|
-
}, ref) => /* @__PURE__ */
|
|
6411
|
+
}, ref) => /* @__PURE__ */ jsx130(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsxs88(
|
|
6280
6412
|
PopoverPrimitive.Content,
|
|
6281
6413
|
{
|
|
6282
6414
|
ref,
|
|
@@ -6286,24 +6418,24 @@ var PopoverContent = React.forwardRef(
|
|
|
6286
6418
|
className: clsx8(popoverVariants({ level }), className),
|
|
6287
6419
|
...props,
|
|
6288
6420
|
children: [
|
|
6289
|
-
/* @__PURE__ */
|
|
6290
|
-
/* @__PURE__ */
|
|
6291
|
-
tag && /* @__PURE__ */
|
|
6292
|
-
icon && /* @__PURE__ */
|
|
6293
|
-
/* @__PURE__ */
|
|
6294
|
-
/* @__PURE__ */
|
|
6421
|
+
/* @__PURE__ */ jsxs88("div", { className: style_module_default5.contentContainer, children: [
|
|
6422
|
+
/* @__PURE__ */ jsxs88("div", { className: style_module_default5.heading, children: [
|
|
6423
|
+
tag && /* @__PURE__ */ jsx130("span", { className: popoverTagVariants(), children: tag }),
|
|
6424
|
+
icon && /* @__PURE__ */ jsx130(Icon, { name: icon.name, size: "xs", thick: icon.thick, fill: icon.fill }),
|
|
6425
|
+
/* @__PURE__ */ jsx130("p", { className: popoverTitleVariants(), children: title }),
|
|
6426
|
+
/* @__PURE__ */ jsx130(
|
|
6295
6427
|
PopoverPrimitive.PopoverClose,
|
|
6296
6428
|
{
|
|
6297
6429
|
className: style_module_default5.closeButton,
|
|
6298
6430
|
onClick: () => {
|
|
6299
6431
|
onClose?.();
|
|
6300
6432
|
},
|
|
6301
|
-
children: /* @__PURE__ */
|
|
6433
|
+
children: /* @__PURE__ */ jsx130(Icon, { name: "close-fill", size: "s", fill: true, thick: true, type: "neutral-label-static-primary" })
|
|
6302
6434
|
}
|
|
6303
6435
|
)
|
|
6304
6436
|
] }),
|
|
6305
|
-
/* @__PURE__ */
|
|
6306
|
-
onConfirm && /* @__PURE__ */
|
|
6437
|
+
/* @__PURE__ */ jsx130("p", { className: popoverSubtitleVariants(), children: subTitle }),
|
|
6438
|
+
onConfirm && /* @__PURE__ */ jsx130("div", { className: popoverFooterVariants(), children: /* @__PURE__ */ jsx130(
|
|
6307
6439
|
Button,
|
|
6308
6440
|
{
|
|
6309
6441
|
as: "text",
|
|
@@ -6315,7 +6447,7 @@ var PopoverContent = React.forwardRef(
|
|
|
6315
6447
|
}
|
|
6316
6448
|
) })
|
|
6317
6449
|
] }),
|
|
6318
|
-
/* @__PURE__ */
|
|
6450
|
+
/* @__PURE__ */ jsx130(PopoverPrimitive.Arrow, { asChild: true, children: /* @__PURE__ */ jsx130(PopoverAnchor, { className: clsx8(popoverAnchorVariants({ level })) }) })
|
|
6319
6451
|
]
|
|
6320
6452
|
}
|
|
6321
6453
|
) })
|
|
@@ -6340,14 +6472,14 @@ var style_module_default6 = {
|
|
|
6340
6472
|
// src/components/Tooltip/index.tsx
|
|
6341
6473
|
import { cva as cva5 } from "class-variance-authority";
|
|
6342
6474
|
import clsx9 from "clsx";
|
|
6343
|
-
import { jsx as
|
|
6475
|
+
import { jsx as jsx131 } from "react/jsx-runtime";
|
|
6344
6476
|
var DEFAULT_OFFSET2 = 4;
|
|
6345
6477
|
var tooltipVariants = cva5([style_module_default6.tooltip, "lp-sys-typo-caption1-normal-medium"]);
|
|
6346
6478
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
6347
|
-
var TooltipRoot = /* @__PURE__ */ __name(({ children }) => /* @__PURE__ */
|
|
6348
|
-
var TooltipTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */
|
|
6479
|
+
var TooltipRoot = /* @__PURE__ */ __name(({ children }) => /* @__PURE__ */ jsx131(TooltipPrimitive.Root, { delayDuration: 0, children }), "TooltipRoot");
|
|
6480
|
+
var TooltipTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx131(TooltipPrimitive.Trigger, { asChild: true, children: by }), "TooltipTrigger");
|
|
6349
6481
|
var TooltipContent = forwardRef3(
|
|
6350
|
-
({ description, position = "top", className, offset = DEFAULT_OFFSET2, ...props }, ref) => /* @__PURE__ */
|
|
6482
|
+
({ description, position = "top", className, offset = DEFAULT_OFFSET2, ...props }, ref) => /* @__PURE__ */ jsx131(
|
|
6351
6483
|
TooltipPrimitive.Content,
|
|
6352
6484
|
{
|
|
6353
6485
|
ref,
|
|
@@ -6355,7 +6487,7 @@ var TooltipContent = forwardRef3(
|
|
|
6355
6487
|
sideOffset: offset,
|
|
6356
6488
|
className: clsx9(tooltipVariants(), className),
|
|
6357
6489
|
...props,
|
|
6358
|
-
children: /* @__PURE__ */
|
|
6490
|
+
children: /* @__PURE__ */ jsx131("p", { className: style_module_default6.tooltipContent, children: description })
|
|
6359
6491
|
}
|
|
6360
6492
|
)
|
|
6361
6493
|
);
|
|
@@ -6387,7 +6519,7 @@ var style_module_default7 = {
|
|
|
6387
6519
|
|
|
6388
6520
|
// src/components/IconButton/index.tsx
|
|
6389
6521
|
import { Slot as Slot2 } from "@radix-ui/react-slot";
|
|
6390
|
-
import { jsx as
|
|
6522
|
+
import { jsx as jsx132 } from "react/jsx-runtime";
|
|
6391
6523
|
var iconButtonSizeIconSizeMap = {
|
|
6392
6524
|
l: "m",
|
|
6393
6525
|
m: "s",
|
|
@@ -6415,7 +6547,7 @@ var iconButtonVariants = cva6([style_module_default7.iconButton], {
|
|
|
6415
6547
|
var IconButton = forwardRef4(
|
|
6416
6548
|
({ asChild, level = "primary", name, thick = false, fill = false, size = "m", className, ...rest }, ref) => {
|
|
6417
6549
|
const Comp = asChild ? Slot2 : "button";
|
|
6418
|
-
return /* @__PURE__ */
|
|
6550
|
+
return /* @__PURE__ */ jsx132(Comp, { ...rest, className: clsx10(iconButtonVariants({ level, size }), className), ref, children: /* @__PURE__ */ jsx132(Icon, { name, thick, fill, size: iconButtonSizeIconSizeMap[size] }) });
|
|
6419
6551
|
}
|
|
6420
6552
|
);
|
|
6421
6553
|
|
|
@@ -6430,9 +6562,9 @@ var style_module_default8 = {
|
|
|
6430
6562
|
};
|
|
6431
6563
|
|
|
6432
6564
|
// src/components/_Label/index.tsx
|
|
6433
|
-
import { jsx as
|
|
6565
|
+
import { jsx as jsx133 } from "react/jsx-runtime";
|
|
6434
6566
|
var Label = forwardRef5(({ className, ...props }, ref) => {
|
|
6435
|
-
return /* @__PURE__ */
|
|
6567
|
+
return /* @__PURE__ */ jsx133(
|
|
6436
6568
|
LabelPrimitive.Root,
|
|
6437
6569
|
{
|
|
6438
6570
|
ref,
|