@liner-fe/prism 3.6.3 → 4.0.0
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/index.css +939 -970
- package/lib/index.d.ts +14 -288
- package/lib/index.js +439 -790
- package/package.json +5 -4
package/lib/index.js
CHANGED
|
@@ -25,30 +25,30 @@ import {
|
|
|
25
25
|
|
|
26
26
|
// src/components/Button/style.module.scss
|
|
27
27
|
var style_module_default = {
|
|
28
|
-
"button": "
|
|
29
|
-
"loading-with-disabled": "_loading-with-
|
|
30
|
-
"primary": "
|
|
31
|
-
"loading": "
|
|
32
|
-
"secondary": "
|
|
33
|
-
"tertiary": "
|
|
34
|
-
"quaternary": "
|
|
35
|
-
"quinary": "
|
|
36
|
-
"negative": "
|
|
37
|
-
"static": "
|
|
38
|
-
"inverse-static": "_inverse-
|
|
39
|
-
"cta": "
|
|
40
|
-
"l": "
|
|
41
|
-
"m": "
|
|
42
|
-
"s": "
|
|
43
|
-
"align-center": "_align-
|
|
44
|
-
"content": "
|
|
45
|
-
"full": "
|
|
46
|
-
"fit-content": "_fit-
|
|
47
|
-
"children": "
|
|
48
|
-
"cta-children": "_cta-
|
|
49
|
-
"l-children": "_l-
|
|
50
|
-
"m-children": "_m-
|
|
51
|
-
"s-children": "_s-
|
|
28
|
+
"button": "_button_qblq6_1",
|
|
29
|
+
"loading-with-disabled": "_loading-with-disabled_qblq6_16",
|
|
30
|
+
"primary": "_primary_qblq6_23",
|
|
31
|
+
"loading": "_loading_qblq6_16",
|
|
32
|
+
"secondary": "_secondary_qblq6_35",
|
|
33
|
+
"tertiary": "_tertiary_qblq6_48",
|
|
34
|
+
"quaternary": "_quaternary_qblq6_60",
|
|
35
|
+
"quinary": "_quinary_qblq6_72",
|
|
36
|
+
"negative": "_negative_qblq6_84",
|
|
37
|
+
"static": "_static_qblq6_96",
|
|
38
|
+
"inverse-static": "_inverse-static_qblq6_108",
|
|
39
|
+
"cta": "_cta_qblq6_120",
|
|
40
|
+
"l": "_l_qblq6_16",
|
|
41
|
+
"m": "_m_qblq6_135",
|
|
42
|
+
"s": "_s_qblq6_35",
|
|
43
|
+
"align-center": "_align-center_qblq6_149",
|
|
44
|
+
"content": "_content_qblq6_154",
|
|
45
|
+
"full": "_full_qblq6_159",
|
|
46
|
+
"fit-content": "_fit-content_qblq6_163",
|
|
47
|
+
"children": "_children_qblq6_167",
|
|
48
|
+
"cta-children": "_cta-children_qblq6_174",
|
|
49
|
+
"l-children": "_l-children_qblq6_182",
|
|
50
|
+
"m-children": "_m-children_qblq6_190",
|
|
51
|
+
"s-children": "_s-children_qblq6_198"
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
// src/components/Button/index.tsx
|
|
@@ -57,28 +57,37 @@ import clsx from "clsx";
|
|
|
57
57
|
|
|
58
58
|
// src/components/Loading/style.module.scss
|
|
59
59
|
var style_module_default2 = {
|
|
60
|
-
"dots-loader
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"neutral-
|
|
70
|
-
"
|
|
71
|
-
"inverse-
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"prixClipFix": "_prixClipFix_5kzc8_1"
|
|
60
|
+
"dots-loader": "_dots-loader_1yp9w_1",
|
|
61
|
+
"loadingFade": "_loadingFade_1yp9w_1",
|
|
62
|
+
"xl": "_xl_1yp9w_9",
|
|
63
|
+
"l": "_l_1yp9w_15",
|
|
64
|
+
"m": "_m_1yp9w_21",
|
|
65
|
+
"s": "_s_1yp9w_27",
|
|
66
|
+
"xs": "_xs_1yp9w_33",
|
|
67
|
+
"label-brand-base": "_label-brand-base_1yp9w_39",
|
|
68
|
+
"label-neutral-base": "_label-neutral-base_1yp9w_42",
|
|
69
|
+
"label-neutral-static": "_label-neutral-static_1yp9w_45",
|
|
70
|
+
"label-on-inverse-base": "_label-on-inverse-base_1yp9w_48",
|
|
71
|
+
"label-on-inverse-static-base": "_label-on-inverse-static-base_1yp9w_51",
|
|
72
|
+
"label-neutral-secondary": "_label-neutral-secondary_1yp9w_54",
|
|
73
|
+
"label-on-inverse-secondary": "_label-on-inverse-secondary_1yp9w_57",
|
|
74
|
+
"spinner-loader": "_spinner-loader_1yp9w_118",
|
|
75
|
+
"rotate": "_rotate_1yp9w_1",
|
|
76
|
+
"prixClipFix": "_prixClipFix_1yp9w_1"
|
|
78
77
|
};
|
|
79
78
|
|
|
80
79
|
// src/components/Loading/index.tsx
|
|
81
80
|
import { cva } from "cva";
|
|
81
|
+
|
|
82
|
+
// src/components/Box/index.tsx
|
|
83
|
+
import "@radix-ui/themes/layout/components.css";
|
|
84
|
+
import "@radix-ui/themes/layout/utilities.css";
|
|
85
|
+
import { Box } from "@radix-ui/themes";
|
|
86
|
+
|
|
87
|
+
// src/components/Flex/index.tsx
|
|
88
|
+
import { Flex } from "@radix-ui/themes";
|
|
89
|
+
|
|
90
|
+
// src/components/Loading/index.tsx
|
|
82
91
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
83
92
|
var Loading = /* @__PURE__ */ __name(({ type = "dots", ...props }) => {
|
|
84
93
|
return type === "dots" ? /* @__PURE__ */ jsx(DotsLoader, { ...props }) : /* @__PURE__ */ jsx(SpinnerLoader, { ...props });
|
|
@@ -94,22 +103,22 @@ var dotsLoaderVariants = cva({
|
|
|
94
103
|
xs: style_module_default2["xs"]
|
|
95
104
|
},
|
|
96
105
|
level: {
|
|
97
|
-
"brand-
|
|
98
|
-
"neutral-
|
|
99
|
-
"neutral-
|
|
100
|
-
"neutral-
|
|
101
|
-
"inverse-
|
|
102
|
-
"inverse-
|
|
103
|
-
"inverse-
|
|
106
|
+
"label-brand-base": style_module_default2["label-brand-base"],
|
|
107
|
+
"label-neutral-base": style_module_default2["label-neutral-base"],
|
|
108
|
+
"label-neutral-secondary": style_module_default2["label-neutral-secondary"],
|
|
109
|
+
"label-neutral-static": style_module_default2["label-neutral-static"],
|
|
110
|
+
"label-on-inverse-base": style_module_default2["label-on-inverse-base"],
|
|
111
|
+
"label-on-inverse-secondary": style_module_default2["label-on-inverse-secondary"],
|
|
112
|
+
"label-on-inverse-static-base": style_module_default2["label-on-inverse-static-base"]
|
|
104
113
|
}
|
|
105
114
|
}
|
|
106
115
|
});
|
|
107
116
|
var DotsLoader = /* @__PURE__ */ __name(({
|
|
108
117
|
size = "m",
|
|
109
|
-
level = "inverse-
|
|
118
|
+
level = "label-on-inverse-static-base",
|
|
110
119
|
...props
|
|
111
120
|
}) => {
|
|
112
|
-
return /* @__PURE__ */ jsxs(
|
|
121
|
+
return /* @__PURE__ */ jsxs(Flex, { ...props, children: [
|
|
113
122
|
/* @__PURE__ */ jsx("div", { className: dotsLoaderVariants({ size, level }) }),
|
|
114
123
|
/* @__PURE__ */ jsx("div", { className: dotsLoaderVariants({ size, level }) }),
|
|
115
124
|
/* @__PURE__ */ jsx("div", { className: dotsLoaderVariants({ size, level }) })
|
|
@@ -126,19 +135,19 @@ var spinnerLoaderVariants = cva({
|
|
|
126
135
|
xs: style_module_default2["xs"]
|
|
127
136
|
},
|
|
128
137
|
level: {
|
|
129
|
-
"brand-
|
|
130
|
-
"neutral-
|
|
131
|
-
"neutral-
|
|
132
|
-
"neutral-
|
|
133
|
-
"inverse-
|
|
134
|
-
"inverse-
|
|
135
|
-
"inverse-
|
|
138
|
+
"label-brand-base": style_module_default2["label-brand-base"],
|
|
139
|
+
"label-neutral-base": style_module_default2["label-neutral-base"],
|
|
140
|
+
"label-neutral-secondary": style_module_default2["label-neutral-secondary"],
|
|
141
|
+
"label-neutral-static": style_module_default2["label-neutral-static"],
|
|
142
|
+
"label-on-inverse-base": style_module_default2["label-on-inverse-base"],
|
|
143
|
+
"label-on-inverse-static-base": style_module_default2["label-on-inverse-static-base"],
|
|
144
|
+
"label-on-inverse-secondary": style_module_default2["label-on-inverse-secondary"]
|
|
136
145
|
}
|
|
137
146
|
}
|
|
138
147
|
});
|
|
139
148
|
var SpinnerLoader = /* @__PURE__ */ __name(({
|
|
140
149
|
size = "m",
|
|
141
|
-
level = "inverse-
|
|
150
|
+
level = "label-on-inverse-static-base",
|
|
142
151
|
...props
|
|
143
152
|
}) => {
|
|
144
153
|
return /* @__PURE__ */ jsx("span", { className: spinnerLoaderVariants({ size, level }), ...props });
|
|
@@ -164,24 +173,24 @@ var buttonIconSizeMap = {
|
|
|
164
173
|
s: "xs"
|
|
165
174
|
};
|
|
166
175
|
var buttonLoadingLevelMap = {
|
|
167
|
-
primary: "inverse-
|
|
168
|
-
secondary: "brand-
|
|
169
|
-
tertiary: "neutral-
|
|
170
|
-
quaternary: "neutral-
|
|
171
|
-
quinary: "neutral-
|
|
172
|
-
negative: "inverse-
|
|
173
|
-
static: "neutral-
|
|
174
|
-
"inverse-static": "inverse-
|
|
176
|
+
primary: "label-on-inverse-static-base",
|
|
177
|
+
secondary: "label-brand-base",
|
|
178
|
+
tertiary: "label-neutral-base",
|
|
179
|
+
quaternary: "label-neutral-base",
|
|
180
|
+
quinary: "label-neutral-secondary",
|
|
181
|
+
negative: "label-on-inverse-static-base",
|
|
182
|
+
static: "label-neutral-static",
|
|
183
|
+
"inverse-static": "label-on-inverse-static-base"
|
|
175
184
|
};
|
|
176
185
|
var buttonFillLevelIconTypeMap = {
|
|
177
|
-
primary: "inverse-
|
|
178
|
-
secondary: "brand-
|
|
179
|
-
tertiary: "neutral-
|
|
180
|
-
quaternary: "neutral-
|
|
181
|
-
quinary: "neutral-
|
|
182
|
-
negative: "inverse-
|
|
183
|
-
static: "neutral-
|
|
184
|
-
"inverse-static": "inverse-
|
|
186
|
+
primary: "label-on-inverse-static-base",
|
|
187
|
+
secondary: "label-brand-base",
|
|
188
|
+
tertiary: "label-neutral-base",
|
|
189
|
+
quaternary: "label-neutral-base",
|
|
190
|
+
quinary: "label-neutral-secondary",
|
|
191
|
+
negative: "label-on-inverse-static-base",
|
|
192
|
+
static: "label-neutral-static",
|
|
193
|
+
"inverse-static": "label-on-inverse-static-base"
|
|
185
194
|
};
|
|
186
195
|
var defaultButtonVariants = cva2({
|
|
187
196
|
base: style_module_default.button,
|
|
@@ -220,14 +229,14 @@ var defaultButtonChildrenVariants = cva2({
|
|
|
220
229
|
}
|
|
221
230
|
});
|
|
222
231
|
var fillTypeMap = {
|
|
223
|
-
primary: "
|
|
224
|
-
secondary: "inverse-
|
|
225
|
-
tertiary: "inverse-
|
|
226
|
-
quaternary: "inverse-
|
|
227
|
-
quinary: "inverse-
|
|
228
|
-
negative: "
|
|
229
|
-
static: "inverse-
|
|
230
|
-
"inverse-static": "inverse-
|
|
232
|
+
primary: "control-fill-brand",
|
|
233
|
+
secondary: "label-on-inverse-base",
|
|
234
|
+
tertiary: "label-on-inverse-base",
|
|
235
|
+
quaternary: "label-on-inverse-base",
|
|
236
|
+
quinary: "label-on-inverse-base",
|
|
237
|
+
negative: "negative-base",
|
|
238
|
+
static: "label-on-inverse-static-base",
|
|
239
|
+
"inverse-static": "surface-inverse-static-high"
|
|
231
240
|
};
|
|
232
241
|
var DefaultButton = forwardRef(
|
|
233
242
|
({
|
|
@@ -353,7 +362,7 @@ var Paragraph = forwardRef2(
|
|
|
353
362
|
weight,
|
|
354
363
|
className,
|
|
355
364
|
children,
|
|
356
|
-
color = "neutral-
|
|
365
|
+
color: color2 = "label-neutral-base",
|
|
357
366
|
as: Element = "p",
|
|
358
367
|
...rest
|
|
359
368
|
}, ref) => {
|
|
@@ -364,7 +373,7 @@ var Paragraph = forwardRef2(
|
|
|
364
373
|
className: clsx2(`lp-sys-typo-paragraph${size}-${type}-${weight}`, className),
|
|
365
374
|
ref,
|
|
366
375
|
style: {
|
|
367
|
-
color: `var(--${
|
|
376
|
+
color: `var(--${color2})`,
|
|
368
377
|
...rest.style
|
|
369
378
|
},
|
|
370
379
|
children
|
|
@@ -382,20 +391,20 @@ import {
|
|
|
382
391
|
|
|
383
392
|
// src/components/Toast/style.module.scss
|
|
384
393
|
var style_module_default3 = {
|
|
385
|
-
"Root": "
|
|
386
|
-
"Icon": "
|
|
387
|
-
"Content": "
|
|
388
|
-
"Actions": "
|
|
389
|
-
"Spinner": "
|
|
390
|
-
"lds-spinner": "_lds-
|
|
394
|
+
"Root": "_Root_147e2_1",
|
|
395
|
+
"Icon": "_Icon_147e2_24",
|
|
396
|
+
"Content": "_Content_147e2_33",
|
|
397
|
+
"Actions": "_Actions_147e2_45",
|
|
398
|
+
"Spinner": "_Spinner_147e2_52",
|
|
399
|
+
"lds-spinner": "_lds-spinner_147e2_1"
|
|
391
400
|
};
|
|
392
401
|
|
|
393
402
|
// src/components/Toast/ToastContent.tsx
|
|
394
403
|
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
395
404
|
var iconMap = {
|
|
396
|
-
success: { icon: IconCheckMarkFill, props: { type: "
|
|
397
|
-
error: { icon: IconCloseFill, props: { type: "
|
|
398
|
-
caution: { icon: IconExclamationmarkFill, props: { type: "
|
|
405
|
+
success: { icon: IconCheckMarkFill, props: { type: "positive-base" } },
|
|
406
|
+
error: { icon: IconCloseFill, props: { type: "negative-base" } },
|
|
407
|
+
caution: { icon: IconExclamationmarkFill, props: { type: "caution" } }
|
|
399
408
|
};
|
|
400
409
|
var SPINNER_SPOKE_COUNT = 12;
|
|
401
410
|
var LoadingSpinner = /* @__PURE__ */ __name(() => /* @__PURE__ */ jsx4("div", { className: style_module_default3.Spinner, children: Array.from({ length: SPINNER_SPOKE_COUNT }, (_, i) => /* @__PURE__ */ jsx4("div", {}, i)) }), "LoadingSpinner");
|
|
@@ -412,8 +421,17 @@ var ToastContent = /* @__PURE__ */ __name(({ toastId, title, description, type,
|
|
|
412
421
|
children: [
|
|
413
422
|
type === "loading" ? /* @__PURE__ */ jsx4("i", { className: style_module_default3.Icon, children: /* @__PURE__ */ jsx4(LoadingSpinner, {}) }) : iconEntry ? /* @__PURE__ */ jsx4("i", { className: style_module_default3.Icon, children: /* @__PURE__ */ jsx4(iconEntry.icon, { ...iconEntry.props, size: "m" }) }) : null,
|
|
414
423
|
/* @__PURE__ */ jsxs3("div", { className: style_module_default3.Content, children: [
|
|
415
|
-
/* @__PURE__ */ jsx4(Paragraph, { type: "normal", weight: "medium", size: 3, color: "inverse-
|
|
416
|
-
description && /* @__PURE__ */ jsx4(
|
|
424
|
+
/* @__PURE__ */ jsx4(Paragraph, { type: "normal", weight: "medium", size: 3, color: "label-on-inverse-static-base", children: title }),
|
|
425
|
+
description && /* @__PURE__ */ jsx4(
|
|
426
|
+
Paragraph,
|
|
427
|
+
{
|
|
428
|
+
type: "normal",
|
|
429
|
+
weight: "regular",
|
|
430
|
+
size: 4,
|
|
431
|
+
color: "label-on-inverse-static-secondary",
|
|
432
|
+
children: description
|
|
433
|
+
}
|
|
434
|
+
)
|
|
417
435
|
] }),
|
|
418
436
|
action && /* @__PURE__ */ jsx4("div", { className: style_module_default3.Actions, children: /* @__PURE__ */ jsx4(
|
|
419
437
|
Button,
|
|
@@ -506,7 +524,7 @@ import { forwardRef as forwardRef3 } from "react";
|
|
|
506
524
|
import clsx3 from "clsx";
|
|
507
525
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
508
526
|
var Heading = forwardRef3(
|
|
509
|
-
({ size, children, type, className, color = "neutral-
|
|
527
|
+
({ size, children, type, className, color: color2 = "label-neutral-base", as, ...rest }, ref) => {
|
|
510
528
|
const Element = as || `h${size}`;
|
|
511
529
|
return /* @__PURE__ */ jsx6(
|
|
512
530
|
Element,
|
|
@@ -515,7 +533,7 @@ var Heading = forwardRef3(
|
|
|
515
533
|
className: clsx3(`lp-sys-typo-heading${size}-${type}`, className),
|
|
516
534
|
ref,
|
|
517
535
|
style: {
|
|
518
|
-
color: `var(--${
|
|
536
|
+
color: `var(--${color2})`,
|
|
519
537
|
...rest.style
|
|
520
538
|
},
|
|
521
539
|
children
|
|
@@ -543,7 +561,7 @@ var Caption = forwardRef4(
|
|
|
543
561
|
weight,
|
|
544
562
|
type,
|
|
545
563
|
className,
|
|
546
|
-
color = "neutral-
|
|
564
|
+
color: color2 = "label-neutral-base",
|
|
547
565
|
as: Element = "p",
|
|
548
566
|
...rest
|
|
549
567
|
}, ref) => {
|
|
@@ -554,7 +572,7 @@ var Caption = forwardRef4(
|
|
|
554
572
|
className: clsx4(`lp-sys-typo-caption${size}-${type}-${weight}`, style_module_default4.caption, className),
|
|
555
573
|
ref,
|
|
556
574
|
style: {
|
|
557
|
-
color: `var(--${
|
|
575
|
+
color: `var(--${color2})`,
|
|
558
576
|
...rest.style
|
|
559
577
|
},
|
|
560
578
|
children
|
|
@@ -575,7 +593,7 @@ var Title = forwardRef5(
|
|
|
575
593
|
type,
|
|
576
594
|
className,
|
|
577
595
|
children,
|
|
578
|
-
color = "neutral-
|
|
596
|
+
color: color2 = "label-neutral-base",
|
|
579
597
|
as: Element = "p",
|
|
580
598
|
...rest
|
|
581
599
|
}, ref) => {
|
|
@@ -586,7 +604,7 @@ var Title = forwardRef5(
|
|
|
586
604
|
className: clsx5(`lp-sys-typo-title${size}-${type}-${weight}`, className),
|
|
587
605
|
ref,
|
|
588
606
|
style: {
|
|
589
|
-
color: `var(--${
|
|
607
|
+
color: `var(--${color2})`,
|
|
590
608
|
...rest.style
|
|
591
609
|
},
|
|
592
610
|
children
|
|
@@ -606,7 +624,7 @@ var Display = forwardRef6(
|
|
|
606
624
|
weight,
|
|
607
625
|
className,
|
|
608
626
|
children,
|
|
609
|
-
color = "neutral-
|
|
627
|
+
color: color2 = "label-neutral-base",
|
|
610
628
|
as: Element = "p",
|
|
611
629
|
...rest
|
|
612
630
|
}, ref) => {
|
|
@@ -617,7 +635,7 @@ var Display = forwardRef6(
|
|
|
617
635
|
ref,
|
|
618
636
|
className: clsx6(`lp-sys-typo-display${size}-${type}-${weight}`, className),
|
|
619
637
|
style: {
|
|
620
|
-
color: `var(--${
|
|
638
|
+
color: `var(--${color2})`,
|
|
621
639
|
...rest.style
|
|
622
640
|
},
|
|
623
641
|
children
|
|
@@ -722,19 +740,17 @@ import { Popover as PopoverPrimitive } from "radix-ui";
|
|
|
722
740
|
|
|
723
741
|
// src/components/Popover/style.module.scss
|
|
724
742
|
var style_module_default5 = {
|
|
725
|
-
"content": "
|
|
726
|
-
"anchor": "
|
|
727
|
-
"primary": "
|
|
728
|
-
"secondary": "
|
|
729
|
-
"contentContainer": "
|
|
730
|
-
"
|
|
731
|
-
"
|
|
732
|
-
"
|
|
733
|
-
"
|
|
734
|
-
"
|
|
735
|
-
"
|
|
736
|
-
"closeButton": "_closeButton_10295_77",
|
|
737
|
-
"overlay": "_overlay_10295_89"
|
|
743
|
+
"content": "_content_1wodt_1",
|
|
744
|
+
"anchor": "_anchor_1wodt_7",
|
|
745
|
+
"primary": "_primary_1wodt_10",
|
|
746
|
+
"secondary": "_secondary_1wodt_16",
|
|
747
|
+
"contentContainer": "_contentContainer_1wodt_31",
|
|
748
|
+
"tag": "_tag_1wodt_39",
|
|
749
|
+
"title": "_title_1wodt_50",
|
|
750
|
+
"description": "_description_1wodt_55",
|
|
751
|
+
"arrow": "_arrow_1wodt_61",
|
|
752
|
+
"closeButton": "_closeButton_1wodt_65",
|
|
753
|
+
"overlay": "_overlay_1wodt_77"
|
|
738
754
|
};
|
|
739
755
|
|
|
740
756
|
// src/components/Popover/index.tsx
|
|
@@ -766,7 +782,6 @@ var popoverTitleVariants = cva3({ base: [style_module_default5.title, "lp-sys-ty
|
|
|
766
782
|
var popoverDescriptionVariants = cva3({
|
|
767
783
|
base: [style_module_default5.description, "lp-sys-typo-caption1-normal-regular"]
|
|
768
784
|
});
|
|
769
|
-
var popoverFooterVariants = cva3({ base: [style_module_default5.footer, "lp-sys-typo-caption1-normal-medium"] });
|
|
770
785
|
var PopoverRoot = /* @__PURE__ */ __name(({ isOpen, children, onChange }) => /* @__PURE__ */ jsx11(PopoverPrimitive.Root, { open: isOpen, onOpenChange: onChange, children }), "PopoverRoot");
|
|
771
786
|
var PopoverTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx11(PopoverPrimitive.Trigger, { asChild: true, children: by }), "PopoverTrigger");
|
|
772
787
|
var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ jsx11(
|
|
@@ -820,7 +835,7 @@ var PopoverContent = React3.forwardRef(
|
|
|
820
835
|
...props,
|
|
821
836
|
children: [
|
|
822
837
|
/* @__PURE__ */ jsxs4("div", { className: style_module_default5.contentContainer, children: [
|
|
823
|
-
(tag || icon || onClose) && /* @__PURE__ */ jsxs4(
|
|
838
|
+
(tag || icon || onClose) && /* @__PURE__ */ jsxs4(Flex, { align: "start", gap: "6px", children: [
|
|
824
839
|
tag && /* @__PURE__ */ jsx11("span", { className: popoverTagVariants(), children: tag }),
|
|
825
840
|
icon && /* @__PURE__ */ jsx11(icon.icon, { size: "xs", fill: icon.fill }),
|
|
826
841
|
/* @__PURE__ */ jsx11("p", { className: popoverTitleVariants(), children: title }),
|
|
@@ -831,12 +846,12 @@ var PopoverContent = React3.forwardRef(
|
|
|
831
846
|
onClick: () => {
|
|
832
847
|
onClose();
|
|
833
848
|
},
|
|
834
|
-
children: /* @__PURE__ */ jsx11(IconCloseFill2, { size: "s", fill: true, type: "neutral-
|
|
849
|
+
children: /* @__PURE__ */ jsx11(IconCloseFill2, { size: "s", fill: true, type: "label-neutral-static" })
|
|
835
850
|
}
|
|
836
851
|
)
|
|
837
852
|
] }),
|
|
838
853
|
description && /* @__PURE__ */ jsx11("p", { className: popoverDescriptionVariants(), children: description }),
|
|
839
|
-
onConfirm && /* @__PURE__ */ jsx11("
|
|
854
|
+
onConfirm && /* @__PURE__ */ jsx11(Flex, { justify: "end", width: "100%", className: "lp-sys-typo-caption1-normal-medium", children: /* @__PURE__ */ jsx11(
|
|
840
855
|
Button,
|
|
841
856
|
{
|
|
842
857
|
level: "static",
|
|
@@ -869,8 +884,8 @@ import { forwardRef as forwardRef8 } from "react";
|
|
|
869
884
|
|
|
870
885
|
// src/components/Tooltip/style.module.scss
|
|
871
886
|
var style_module_default6 = {
|
|
872
|
-
"tooltip": "
|
|
873
|
-
"tooltipContent": "
|
|
887
|
+
"tooltip": "_tooltip_1by3q_1",
|
|
888
|
+
"tooltipContent": "_tooltipContent_1by3q_10"
|
|
874
889
|
};
|
|
875
890
|
|
|
876
891
|
// src/components/Tooltip/index.tsx
|
|
@@ -917,18 +932,18 @@ import clsx9 from "clsx";
|
|
|
917
932
|
|
|
918
933
|
// src/components/IconButton/style.module.scss
|
|
919
934
|
var style_module_default7 = {
|
|
920
|
-
"iconButton": "
|
|
921
|
-
"primary": "
|
|
922
|
-
"loading": "
|
|
923
|
-
"secondary": "
|
|
924
|
-
"tertiary": "
|
|
925
|
-
"quaternary": "
|
|
926
|
-
"quinary": "
|
|
927
|
-
"static": "
|
|
928
|
-
"inverse-static": "_inverse-
|
|
929
|
-
"l": "
|
|
930
|
-
"m": "
|
|
931
|
-
"s": "
|
|
935
|
+
"iconButton": "_iconButton_g5kt8_1",
|
|
936
|
+
"primary": "_primary_g5kt8_13",
|
|
937
|
+
"loading": "_loading_g5kt8_19",
|
|
938
|
+
"secondary": "_secondary_g5kt8_23",
|
|
939
|
+
"tertiary": "_tertiary_g5kt8_34",
|
|
940
|
+
"quaternary": "_quaternary_g5kt8_45",
|
|
941
|
+
"quinary": "_quinary_g5kt8_52",
|
|
942
|
+
"static": "_static_g5kt8_60",
|
|
943
|
+
"inverse-static": "_inverse-static_g5kt8_67",
|
|
944
|
+
"l": "_l_g5kt8_19",
|
|
945
|
+
"m": "_m_g5kt8_80",
|
|
946
|
+
"s": "_s_g5kt8_23"
|
|
932
947
|
};
|
|
933
948
|
|
|
934
949
|
// src/components/IconButton/index.tsx
|
|
@@ -951,32 +966,32 @@ var iconButtonSizeIconSizeMap = {
|
|
|
951
966
|
s: "xs"
|
|
952
967
|
};
|
|
953
968
|
var iconButtonLoadingLevelMap = {
|
|
954
|
-
primary: "inverse-
|
|
955
|
-
secondary: "brand-
|
|
956
|
-
tertiary: "neutral-
|
|
957
|
-
quaternary: "neutral-
|
|
958
|
-
quinary: "neutral-
|
|
959
|
-
static: "neutral-
|
|
960
|
-
"inverse-static": "inverse-
|
|
969
|
+
primary: "label-on-inverse-static-base",
|
|
970
|
+
secondary: "label-brand-base",
|
|
971
|
+
tertiary: "label-neutral-base",
|
|
972
|
+
quaternary: "label-neutral-base",
|
|
973
|
+
quinary: "label-neutral-secondary",
|
|
974
|
+
static: "label-neutral-static",
|
|
975
|
+
"inverse-static": "label-on-inverse-static-base"
|
|
961
976
|
};
|
|
962
977
|
var iconButtonLevelIconTypeMap = {
|
|
963
978
|
disabled: {
|
|
964
|
-
primary: "neutral-
|
|
965
|
-
secondary: "neutral-
|
|
966
|
-
tertiary: "neutral-
|
|
967
|
-
quaternary: "neutral-
|
|
968
|
-
quinary: "neutral-
|
|
969
|
-
static: "neutral-
|
|
970
|
-
"inverse-static": "inverse-
|
|
979
|
+
primary: "label-neutral-tertiary",
|
|
980
|
+
secondary: "label-neutral-tertiary",
|
|
981
|
+
tertiary: "label-neutral-tertiary",
|
|
982
|
+
quaternary: "label-neutral-quaternary",
|
|
983
|
+
quinary: "label-neutral-quaternary",
|
|
984
|
+
static: "label-neutral-tertiary",
|
|
985
|
+
"inverse-static": "label-on-inverse-tertiary"
|
|
971
986
|
},
|
|
972
987
|
enabled: {
|
|
973
|
-
primary: "inverse-
|
|
974
|
-
secondary: "brand-
|
|
975
|
-
tertiary: "neutral-
|
|
976
|
-
quaternary: "neutral-
|
|
977
|
-
quinary: "neutral-
|
|
978
|
-
static: "neutral-
|
|
979
|
-
"inverse-static": "inverse-
|
|
988
|
+
primary: "label-on-inverse-static-base",
|
|
989
|
+
secondary: "label-brand-base",
|
|
990
|
+
tertiary: "label-neutral-base",
|
|
991
|
+
quaternary: "label-neutral-base",
|
|
992
|
+
quinary: "label-neutral-secondary",
|
|
993
|
+
static: "label-neutral-static",
|
|
994
|
+
"inverse-static": "label-on-inverse-static-base"
|
|
980
995
|
}
|
|
981
996
|
};
|
|
982
997
|
var iconButtonVariants = cva5({
|
|
@@ -999,13 +1014,13 @@ var iconButtonVariants = cva5({
|
|
|
999
1014
|
}
|
|
1000
1015
|
});
|
|
1001
1016
|
var fillTypeMap2 = {
|
|
1002
|
-
primary: "
|
|
1003
|
-
secondary: "inverse-
|
|
1004
|
-
tertiary: "inverse-
|
|
1005
|
-
quaternary: "inverse-
|
|
1006
|
-
quinary: "inverse-
|
|
1007
|
-
static: "inverse-
|
|
1008
|
-
"inverse-static": "neutral-
|
|
1017
|
+
primary: "control-fill-brand",
|
|
1018
|
+
secondary: "label-on-inverse-base",
|
|
1019
|
+
tertiary: "label-on-inverse-base",
|
|
1020
|
+
quaternary: "label-on-inverse-base",
|
|
1021
|
+
quinary: "label-on-inverse-base",
|
|
1022
|
+
static: "label-on-inverse-static-base",
|
|
1023
|
+
"inverse-static": "label-neutral-static"
|
|
1009
1024
|
};
|
|
1010
1025
|
var IconButton = forwardRef9(
|
|
1011
1026
|
({
|
|
@@ -1057,12 +1072,11 @@ import { Checkbox as CheckboxPrimitive } from "radix-ui";
|
|
|
1057
1072
|
|
|
1058
1073
|
// src/components/CheckBox/style.module.scss
|
|
1059
1074
|
var style_module_default8 = {
|
|
1060
|
-
"checkbox": "
|
|
1061
|
-
"checkbox-indicator": "_checkbox-
|
|
1062
|
-
"icon-minus": "_icon-
|
|
1063
|
-
"icon-check": "_icon-
|
|
1064
|
-
"
|
|
1065
|
-
"description": "_description_1vnvk_59"
|
|
1075
|
+
"checkbox": "_checkbox_1b81r_1",
|
|
1076
|
+
"checkbox-indicator": "_checkbox-indicator_1b81r_39",
|
|
1077
|
+
"icon-minus": "_icon-minus_1b81r_46",
|
|
1078
|
+
"icon-check": "_icon-check_1b81r_49",
|
|
1079
|
+
"description": "_description_1b81r_53"
|
|
1066
1080
|
};
|
|
1067
1081
|
|
|
1068
1082
|
// src/components/CheckBox/index.tsx
|
|
@@ -1076,19 +1090,19 @@ import clsx10 from "clsx";
|
|
|
1076
1090
|
|
|
1077
1091
|
// src/components/Label/style.module.scss
|
|
1078
1092
|
var style_module_default9 = {
|
|
1079
|
-
"label": "
|
|
1080
|
-
"error": "
|
|
1081
|
-
"primary": "
|
|
1082
|
-
"secondary": "
|
|
1083
|
-
"top": "
|
|
1084
|
-
"l": "
|
|
1085
|
-
"offset-high": "_offset-
|
|
1086
|
-
"offset-medium": "_offset-
|
|
1087
|
-
"offset-low": "_offset-
|
|
1088
|
-
"m": "
|
|
1089
|
-
"s": "
|
|
1090
|
-
"right": "
|
|
1091
|
-
"disabled": "
|
|
1093
|
+
"label": "_label_d3opl_1",
|
|
1094
|
+
"error": "_error_d3opl_12",
|
|
1095
|
+
"primary": "_primary_d3opl_16",
|
|
1096
|
+
"secondary": "_secondary_d3opl_27",
|
|
1097
|
+
"top": "_top_d3opl_38",
|
|
1098
|
+
"l": "_l_d3opl_1",
|
|
1099
|
+
"offset-high": "_offset-high_d3opl_41",
|
|
1100
|
+
"offset-medium": "_offset-medium_d3opl_44",
|
|
1101
|
+
"offset-low": "_offset-low_d3opl_47",
|
|
1102
|
+
"m": "_m_d3opl_50",
|
|
1103
|
+
"s": "_s_d3opl_27",
|
|
1104
|
+
"right": "_right_d3opl_69",
|
|
1105
|
+
"disabled": "_disabled_d3opl_91"
|
|
1092
1106
|
};
|
|
1093
1107
|
|
|
1094
1108
|
// src/components/Label/index.tsx
|
|
@@ -1155,15 +1169,15 @@ import { Fragment as Fragment4, jsx as jsx15, jsxs as jsxs5 } from "react/jsx-ru
|
|
|
1155
1169
|
var Checkbox = forwardRef11(
|
|
1156
1170
|
({ className, label, description, ...props }, ref) => {
|
|
1157
1171
|
const CheckboxWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ jsxs5(Label, { position: "right", htmlFor: props.id, children: [
|
|
1158
|
-
/* @__PURE__ */ jsxs5(
|
|
1172
|
+
/* @__PURE__ */ jsxs5(Flex, { direction: "column", gap: "2", children: [
|
|
1159
1173
|
/* @__PURE__ */ jsx15(Paragraph, { type: "normal", weight: "medium", size: 3, children: label }),
|
|
1160
1174
|
description && /* @__PURE__ */ jsx15(Paragraph, { className: style_module_default8.description, size: 3, type: "normal", weight: "regular", children: description })
|
|
1161
1175
|
] }),
|
|
1162
1176
|
children
|
|
1163
1177
|
] }) : /* @__PURE__ */ jsx15(Fragment4, { children }), "CheckboxWrapper");
|
|
1164
1178
|
return /* @__PURE__ */ jsx15(CheckboxWrapper, { children: /* @__PURE__ */ jsx15(CheckboxPrimitive.Root, { className: clsx11(style_module_default8.checkbox, className), ref, ...props, children: /* @__PURE__ */ jsxs5(CheckboxPrimitive.Indicator, { className: style_module_default8["checkbox-indicator"], children: [
|
|
1165
|
-
/* @__PURE__ */ jsx15(IconCheckMark, { size: "xs", type: "inverse-
|
|
1166
|
-
/* @__PURE__ */ jsx15(IconMinus, { size: "xs", type: "inverse-
|
|
1179
|
+
/* @__PURE__ */ jsx15(IconCheckMark, { size: "xs", type: "label-on-inverse-base", className: style_module_default8["icon-check"] }),
|
|
1180
|
+
/* @__PURE__ */ jsx15(IconMinus, { size: "xs", type: "label-on-inverse-base", className: style_module_default8["icon-minus"] })
|
|
1167
1181
|
] }) }) });
|
|
1168
1182
|
}
|
|
1169
1183
|
);
|
|
@@ -1175,10 +1189,10 @@ import { forwardRef as forwardRef12 } from "react";
|
|
|
1175
1189
|
|
|
1176
1190
|
// src/components/Radio/style.module.scss
|
|
1177
1191
|
var style_module_default10 = {
|
|
1178
|
-
"radio-item": "_radio-
|
|
1179
|
-
"indicator": "
|
|
1180
|
-
"label-wrapper": "_label-
|
|
1181
|
-
"description": "
|
|
1192
|
+
"radio-item": "_radio-item_k6avh_1",
|
|
1193
|
+
"indicator": "_indicator_k6avh_44",
|
|
1194
|
+
"label-wrapper": "_label-wrapper_k6avh_50",
|
|
1195
|
+
"description": "_description_k6avh_60"
|
|
1182
1196
|
};
|
|
1183
1197
|
|
|
1184
1198
|
// src/components/Radio/index.tsx
|
|
@@ -1223,24 +1237,24 @@ import {
|
|
|
1223
1237
|
|
|
1224
1238
|
// src/components/Textfield/style.module.scss
|
|
1225
1239
|
var style_module_default11 = {
|
|
1226
|
-
"textfield-container": "_textfield-
|
|
1227
|
-
"textfield": "
|
|
1228
|
-
"label": "
|
|
1229
|
-
"input": "
|
|
1230
|
-
"footer": "
|
|
1231
|
-
"error-wrapper": "_error-
|
|
1232
|
-
"error-message": "_error-
|
|
1233
|
-
"label-out-textfield": "_label-out-
|
|
1234
|
-
"white": "
|
|
1235
|
-
"gray": "
|
|
1236
|
-
"label-in": "_label-
|
|
1237
|
-
"label-out": "_label-
|
|
1238
|
-
"label-visually-hidden": "_label-visually-
|
|
1239
|
-
"input-wrapper": "_input-
|
|
1240
|
-
"label-out-input": "_label-out-
|
|
1241
|
-
"input-action-buttons": "_input-action-
|
|
1242
|
-
"action-button": "_action-
|
|
1243
|
-
"character": "
|
|
1240
|
+
"textfield-container": "_textfield-container_kqt1z_1",
|
|
1241
|
+
"textfield": "_textfield_kqt1z_1",
|
|
1242
|
+
"label": "_label_kqt1z_10",
|
|
1243
|
+
"input": "_input_kqt1z_28",
|
|
1244
|
+
"footer": "_footer_kqt1z_40",
|
|
1245
|
+
"error-wrapper": "_error-wrapper_kqt1z_40",
|
|
1246
|
+
"error-message": "_error-message_kqt1z_40",
|
|
1247
|
+
"label-out-textfield": "_label-out-textfield_kqt1z_63",
|
|
1248
|
+
"white": "_white_kqt1z_67",
|
|
1249
|
+
"gray": "_gray_kqt1z_70",
|
|
1250
|
+
"label-in": "_label-in_kqt1z_82",
|
|
1251
|
+
"label-out": "_label-out_kqt1z_63",
|
|
1252
|
+
"label-visually-hidden": "_label-visually-hidden_kqt1z_93",
|
|
1253
|
+
"input-wrapper": "_input-wrapper_kqt1z_104",
|
|
1254
|
+
"label-out-input": "_label-out-input_kqt1z_148",
|
|
1255
|
+
"input-action-buttons": "_input-action-buttons_kqt1z_152",
|
|
1256
|
+
"action-button": "_action-button_kqt1z_158",
|
|
1257
|
+
"character": "_character_kqt1z_183"
|
|
1244
1258
|
};
|
|
1245
1259
|
|
|
1246
1260
|
// src/components/Textfield/index.tsx
|
|
@@ -1258,8 +1272,8 @@ var defaultTextfieldVariants = cva7({
|
|
|
1258
1272
|
base: style_module_default11.textfield,
|
|
1259
1273
|
variants: {
|
|
1260
1274
|
color: {
|
|
1261
|
-
"neutral-
|
|
1262
|
-
"neutral-
|
|
1275
|
+
"surface-neutral-mid": style_module_default11.gray,
|
|
1276
|
+
"surface-neutral-lowest": style_module_default11.white
|
|
1263
1277
|
}
|
|
1264
1278
|
}
|
|
1265
1279
|
});
|
|
@@ -1274,7 +1288,7 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1274
1288
|
error,
|
|
1275
1289
|
disabled,
|
|
1276
1290
|
button: buttonProps,
|
|
1277
|
-
color = "neutral-
|
|
1291
|
+
color: color2 = "surface-neutral-lowest",
|
|
1278
1292
|
onChange,
|
|
1279
1293
|
onClear,
|
|
1280
1294
|
...rest
|
|
@@ -1337,7 +1351,7 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1337
1351
|
/* @__PURE__ */ jsx17(
|
|
1338
1352
|
"div",
|
|
1339
1353
|
{
|
|
1340
|
-
className: clsx13(defaultTextfieldVariants({ color }), {
|
|
1354
|
+
className: clsx13(defaultTextfieldVariants({ color: color2 }), {
|
|
1341
1355
|
[style_module_default11["label-out-textfield"]]: !label || labelType === "out"
|
|
1342
1356
|
}),
|
|
1343
1357
|
onClick: handleTextfieldClick,
|
|
@@ -1420,14 +1434,14 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1420
1434
|
"aria-atomic": "true",
|
|
1421
1435
|
className: style_module_default11["error-wrapper"],
|
|
1422
1436
|
children: error && /* @__PURE__ */ jsxs7(Fragment6, { children: [
|
|
1423
|
-
/* @__PURE__ */ jsx17(IconExclamationmarkFill2, { fill: true, size: "xs", type: "
|
|
1437
|
+
/* @__PURE__ */ jsx17(IconExclamationmarkFill2, { fill: true, size: "xs", type: "negative-base" }),
|
|
1424
1438
|
/* @__PURE__ */ jsx17(
|
|
1425
1439
|
Caption,
|
|
1426
1440
|
{
|
|
1427
1441
|
size: 3,
|
|
1428
1442
|
type: "normal",
|
|
1429
1443
|
weight: "regular",
|
|
1430
|
-
color: "
|
|
1444
|
+
color: "negative-base",
|
|
1431
1445
|
className: style_module_default11["error-message"],
|
|
1432
1446
|
children: error
|
|
1433
1447
|
}
|
|
@@ -1459,40 +1473,40 @@ import { IconInfo, IconArrowChevronDown, IconCheckMark as IconCheckMark2 } from
|
|
|
1459
1473
|
|
|
1460
1474
|
// src/components/ListItem/style.module.scss
|
|
1461
1475
|
var style_module_default12 = {
|
|
1462
|
-
"root": "
|
|
1463
|
-
"label": "
|
|
1464
|
-
"main": "
|
|
1465
|
-
"labelRow": "
|
|
1466
|
-
"labelEnd": "
|
|
1467
|
-
"description": "
|
|
1476
|
+
"root": "_root_1vpbz_9",
|
|
1477
|
+
"label": "_label_1vpbz_6",
|
|
1478
|
+
"main": "_main_1vpbz_6",
|
|
1479
|
+
"labelRow": "_labelRow_1vpbz_6",
|
|
1480
|
+
"labelEnd": "_labelEnd_1vpbz_6",
|
|
1481
|
+
"description": "_description_1vpbz_6"
|
|
1468
1482
|
};
|
|
1469
1483
|
|
|
1470
1484
|
// src/components/ListItem/primitive/style.module.scss
|
|
1471
1485
|
var style_module_default13 = {
|
|
1472
|
-
"root": "
|
|
1486
|
+
"root": "_root_1cic3_2"
|
|
1473
1487
|
};
|
|
1474
1488
|
|
|
1475
1489
|
// src/components/Select/style.module.scss
|
|
1476
1490
|
var style_module_default14 = {
|
|
1477
|
-
"root": "
|
|
1478
|
-
"label": "
|
|
1479
|
-
"requiredMark": "
|
|
1480
|
-
"srOnly": "
|
|
1481
|
-
"trigger": "
|
|
1482
|
-
"icon": "
|
|
1483
|
-
"triggerButton": "
|
|
1484
|
-
"errorMessage": "
|
|
1485
|
-
"errorText": "
|
|
1486
|
-
"content": "
|
|
1487
|
-
"fadeScaleIn": "
|
|
1488
|
-
"viewport": "
|
|
1489
|
-
"selectItem": "
|
|
1490
|
-
"primitiveItem": "
|
|
1491
|
-
"itemLabel": "
|
|
1492
|
-
"itemIndicator": "
|
|
1493
|
-
"trailingSlot": "
|
|
1494
|
-
"group": "
|
|
1495
|
-
"groupLabel": "
|
|
1491
|
+
"root": "_root_g2jm0_3",
|
|
1492
|
+
"label": "_label_g2jm0_35",
|
|
1493
|
+
"requiredMark": "_requiredMark_g2jm0_40",
|
|
1494
|
+
"srOnly": "_srOnly_g2jm0_45",
|
|
1495
|
+
"trigger": "_trigger_g2jm0_58",
|
|
1496
|
+
"icon": "_icon_g2jm0_94",
|
|
1497
|
+
"triggerButton": "_triggerButton_g2jm0_159",
|
|
1498
|
+
"errorMessage": "_errorMessage_g2jm0_203",
|
|
1499
|
+
"errorText": "_errorText_g2jm0_211",
|
|
1500
|
+
"content": "_content_g2jm0_220",
|
|
1501
|
+
"fadeScaleIn": "_fadeScaleIn_g2jm0_1",
|
|
1502
|
+
"viewport": "_viewport_g2jm0_251",
|
|
1503
|
+
"selectItem": "_selectItem_g2jm0_283",
|
|
1504
|
+
"primitiveItem": "_primitiveItem_g2jm0_336",
|
|
1505
|
+
"itemLabel": "_itemLabel_g2jm0_341",
|
|
1506
|
+
"itemIndicator": "_itemIndicator_g2jm0_346",
|
|
1507
|
+
"trailingSlot": "_trailingSlot_g2jm0_354",
|
|
1508
|
+
"group": "_group_g2jm0_367",
|
|
1509
|
+
"groupLabel": "_groupLabel_g2jm0_382"
|
|
1496
1510
|
};
|
|
1497
1511
|
|
|
1498
1512
|
// src/components/Select/index.tsx
|
|
@@ -1531,7 +1545,7 @@ var SelectRoot = forwardRef14(
|
|
|
1531
1545
|
const hasError = !!error;
|
|
1532
1546
|
const showLabel = !isButtonTrigger && label != null;
|
|
1533
1547
|
const showErrorMessage = !isButtonTrigger && hasError && typeof error !== "boolean";
|
|
1534
|
-
const labelColor = hasError ? "
|
|
1548
|
+
const labelColor = hasError ? "negative-base" : disabled ? "label-neutral-tertiary" : "label-neutral-secondary";
|
|
1535
1549
|
return /* @__PURE__ */ jsx18(SelectInternalContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs8(
|
|
1536
1550
|
"div",
|
|
1537
1551
|
{
|
|
@@ -1562,7 +1576,7 @@ var SelectRoot = forwardRef14(
|
|
|
1562
1576
|
/* @__PURE__ */ jsxs8(RadixSelect.Root, { ...rootProps, dir, required, disabled, children: [
|
|
1563
1577
|
isButtonTrigger ? (
|
|
1564
1578
|
/* button trigger: 실제 prism Button 컴포넌트 사용 (asChild로 Radix Trigger props merge).
|
|
1565
|
-
level="tertiary"가 Figma button trigger와 매칭 — neutral-
|
|
1579
|
+
level="tertiary"가 Figma button trigger와 매칭 — surface-neutral-lowest bg + border-neutral-alpha-normal border + label-neutral-base color.
|
|
1566
1580
|
Button size: s/m/l 그대로 매핑. chevron은 rightIcon으로 전달 (rotation 미지원 — Button rightIcon은 정적 아이콘). */
|
|
1567
1581
|
/* @__PURE__ */ jsx18(
|
|
1568
1582
|
RadixSelect.Trigger,
|
|
@@ -1622,7 +1636,7 @@ var SelectRoot = forwardRef14(
|
|
|
1622
1636
|
children
|
|
1623
1637
|
] }),
|
|
1624
1638
|
showErrorMessage && /* @__PURE__ */ jsxs8("span", { id: errorId, "aria-live": "polite", "aria-atomic": "true", className: style_module_default14.errorMessage, children: [
|
|
1625
|
-
/* @__PURE__ */ jsx18(IconInfo, { size: "xs", type: "
|
|
1639
|
+
/* @__PURE__ */ jsx18(IconInfo, { size: "xs", type: "negative-base" }),
|
|
1626
1640
|
/* @__PURE__ */ jsx18(
|
|
1627
1641
|
Caption,
|
|
1628
1642
|
{
|
|
@@ -1630,7 +1644,7 @@ var SelectRoot = forwardRef14(
|
|
|
1630
1644
|
size: 3,
|
|
1631
1645
|
type: "normal",
|
|
1632
1646
|
weight: "regular",
|
|
1633
|
-
color: "
|
|
1647
|
+
color: "negative-base",
|
|
1634
1648
|
className: style_module_default14.errorText,
|
|
1635
1649
|
children: error
|
|
1636
1650
|
}
|
|
@@ -1674,9 +1688,9 @@ var SelectContent = forwardRef14(
|
|
|
1674
1688
|
);
|
|
1675
1689
|
SelectContent.displayName = "Select.Content";
|
|
1676
1690
|
var getItemLabelColor = /* @__PURE__ */ __name((disabled, danger) => {
|
|
1677
|
-
if (disabled) return "neutral-
|
|
1678
|
-
if (danger) return "
|
|
1679
|
-
return "neutral-
|
|
1691
|
+
if (disabled) return "label-neutral-tertiary";
|
|
1692
|
+
if (danger) return "negative-base";
|
|
1693
|
+
return "label-neutral-base";
|
|
1680
1694
|
}, "getItemLabelColor");
|
|
1681
1695
|
var SelectItem = forwardRef14(
|
|
1682
1696
|
({
|
|
@@ -1740,14 +1754,14 @@ var SelectItem = forwardRef14(
|
|
|
1740
1754
|
size: 2,
|
|
1741
1755
|
type: "normal",
|
|
1742
1756
|
weight: "regular",
|
|
1743
|
-
color: disabled ? "neutral-
|
|
1757
|
+
color: disabled ? "label-neutral-tertiary" : "label-neutral-secondary",
|
|
1744
1758
|
className: style_module_default12.description,
|
|
1745
1759
|
children: description
|
|
1746
1760
|
}
|
|
1747
1761
|
)
|
|
1748
1762
|
] }),
|
|
1749
1763
|
trailingSlot != null && /* @__PURE__ */ jsx18("div", { "data-zone": "trailing", className: style_module_default14.trailingSlot, children: trailingSlot }),
|
|
1750
|
-
/* @__PURE__ */ jsx18(RadixSelect.ItemIndicator, { "data-zone": "trailing", className: style_module_default14.itemIndicator, children: /* @__PURE__ */ jsx18(IconCheckMark2, { size: "xs", type: "brand-
|
|
1764
|
+
/* @__PURE__ */ jsx18(RadixSelect.ItemIndicator, { "data-zone": "trailing", className: style_module_default14.itemIndicator, children: /* @__PURE__ */ jsx18(IconCheckMark2, { size: "xs", type: "label-brand-base" }) })
|
|
1751
1765
|
]
|
|
1752
1766
|
}
|
|
1753
1767
|
);
|
|
@@ -1763,7 +1777,7 @@ var SelectGroup = forwardRef14(
|
|
|
1763
1777
|
size: 2,
|
|
1764
1778
|
type: "normal",
|
|
1765
1779
|
weight: "regular",
|
|
1766
|
-
color: "neutral-
|
|
1780
|
+
color: "label-neutral-secondary",
|
|
1767
1781
|
className: style_module_default14.groupLabel,
|
|
1768
1782
|
children: label
|
|
1769
1783
|
}
|
|
@@ -1816,7 +1830,7 @@ var SelectTrigger = forwardRef14((props, ref) => {
|
|
|
1816
1830
|
const hasError = !!error;
|
|
1817
1831
|
const showLabel = !isButtonTrigger && label != null;
|
|
1818
1832
|
const showErrorMessage = !isButtonTrigger && hasError && typeof error !== "boolean";
|
|
1819
|
-
const labelColor = hasError ? "
|
|
1833
|
+
const labelColor = hasError ? "negative-base" : disabled ? "label-neutral-tertiary" : "label-neutral-secondary";
|
|
1820
1834
|
const rootStyle = width != null ? { width: `${width}px` } : void 0;
|
|
1821
1835
|
const showingPlaceholder = triggerContent === void 0;
|
|
1822
1836
|
const display = !showingPlaceholder ? triggerContent : /* @__PURE__ */ jsx18("span", { children: placeholder });
|
|
@@ -1893,7 +1907,7 @@ var SelectTrigger = forwardRef14((props, ref) => {
|
|
|
1893
1907
|
}
|
|
1894
1908
|
),
|
|
1895
1909
|
showErrorMessage && /* @__PURE__ */ jsxs8("span", { id: errorId, "aria-live": "polite", "aria-atomic": "true", className: style_module_default14.errorMessage, children: [
|
|
1896
|
-
/* @__PURE__ */ jsx18(IconInfo, { size: "xs", type: "
|
|
1910
|
+
/* @__PURE__ */ jsx18(IconInfo, { size: "xs", type: "negative-base" }),
|
|
1897
1911
|
/* @__PURE__ */ jsx18(
|
|
1898
1912
|
Caption,
|
|
1899
1913
|
{
|
|
@@ -1901,7 +1915,7 @@ var SelectTrigger = forwardRef14((props, ref) => {
|
|
|
1901
1915
|
size: 3,
|
|
1902
1916
|
type: "normal",
|
|
1903
1917
|
weight: "regular",
|
|
1904
|
-
color: "
|
|
1918
|
+
color: "negative-base",
|
|
1905
1919
|
className: style_module_default14.errorText,
|
|
1906
1920
|
children: error
|
|
1907
1921
|
}
|
|
@@ -2009,9 +2023,9 @@ PrimitiveListItem.displayName = "PrimitiveListItem";
|
|
|
2009
2023
|
// src/components/ListItem/index.tsx
|
|
2010
2024
|
import { jsx as jsx21, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
2011
2025
|
var getLabelColor = /* @__PURE__ */ __name((disabled, danger) => {
|
|
2012
|
-
if (disabled) return "neutral-
|
|
2013
|
-
if (danger) return "
|
|
2014
|
-
return "neutral-
|
|
2026
|
+
if (disabled) return "label-neutral-tertiary";
|
|
2027
|
+
if (danger) return "negative-base";
|
|
2028
|
+
return "label-neutral-base";
|
|
2015
2029
|
}, "getLabelColor");
|
|
2016
2030
|
var ListItem = forwardRef16(
|
|
2017
2031
|
({
|
|
@@ -2060,7 +2074,7 @@ var ListItem = forwardRef16(
|
|
|
2060
2074
|
size: 2,
|
|
2061
2075
|
type: "normal",
|
|
2062
2076
|
weight: "regular",
|
|
2063
|
-
color: disabled ? "neutral-
|
|
2077
|
+
color: disabled ? "label-neutral-tertiary" : "label-neutral-secondary",
|
|
2064
2078
|
className: style_module_default12.description,
|
|
2065
2079
|
children: description
|
|
2066
2080
|
}
|
|
@@ -2073,10 +2087,10 @@ ListItem.displayName = "ListItem";
|
|
|
2073
2087
|
|
|
2074
2088
|
// src/components/List/style.module.scss
|
|
2075
2089
|
var style_module_default15 = {
|
|
2076
|
-
"root": "
|
|
2077
|
-
"group": "
|
|
2078
|
-
"groupLabelContainer": "
|
|
2079
|
-
"groupLabel": "
|
|
2090
|
+
"root": "_root_lgu43_2",
|
|
2091
|
+
"group": "_group_lgu43_8",
|
|
2092
|
+
"groupLabelContainer": "_groupLabelContainer_lgu43_20",
|
|
2093
|
+
"groupLabel": "_groupLabel_lgu43_20"
|
|
2080
2094
|
};
|
|
2081
2095
|
|
|
2082
2096
|
// src/components/List/index.tsx
|
|
@@ -2163,7 +2177,7 @@ var ListGroup = forwardRef17(
|
|
|
2163
2177
|
size: 2,
|
|
2164
2178
|
weight: "regular",
|
|
2165
2179
|
type: "normal",
|
|
2166
|
-
color: "neutral-
|
|
2180
|
+
color: "label-neutral-secondary",
|
|
2167
2181
|
className: style_module_default15.groupLabel,
|
|
2168
2182
|
children: label
|
|
2169
2183
|
}
|
|
@@ -2186,16 +2200,16 @@ import { cva as cva8 } from "cva";
|
|
|
2186
2200
|
|
|
2187
2201
|
// src/components/TextButton/style.module.scss
|
|
2188
2202
|
var style_module_default16 = {
|
|
2189
|
-
"button": "
|
|
2190
|
-
"text": "
|
|
2191
|
-
"primary": "
|
|
2192
|
-
"secondary": "
|
|
2193
|
-
"tertiary": "
|
|
2194
|
-
"m": "
|
|
2195
|
-
"text-children": "_text-
|
|
2196
|
-
"s": "
|
|
2197
|
-
"xs": "
|
|
2198
|
-
"underline": "
|
|
2203
|
+
"button": "_button_ryw9b_1",
|
|
2204
|
+
"text": "_text_ryw9b_20",
|
|
2205
|
+
"primary": "_primary_ryw9b_23",
|
|
2206
|
+
"secondary": "_secondary_ryw9b_29",
|
|
2207
|
+
"tertiary": "_tertiary_ryw9b_35",
|
|
2208
|
+
"m": "_m_ryw9b_42",
|
|
2209
|
+
"text-children": "_text-children_ryw9b_42",
|
|
2210
|
+
"s": "_s_ryw9b_29",
|
|
2211
|
+
"xs": "_xs_ryw9b_50",
|
|
2212
|
+
"underline": "_underline_ryw9b_54"
|
|
2199
2213
|
};
|
|
2200
2214
|
|
|
2201
2215
|
// src/components/TextButton/index.tsx
|
|
@@ -2212,14 +2226,14 @@ var textButtonSizeIconSizeMap = {
|
|
|
2212
2226
|
};
|
|
2213
2227
|
var textButtonLevelIconTypeMap = {
|
|
2214
2228
|
enabled: {
|
|
2215
|
-
primary: "brand-
|
|
2216
|
-
secondary: "neutral-
|
|
2217
|
-
tertiary: "neutral-
|
|
2229
|
+
primary: "label-brand-base",
|
|
2230
|
+
secondary: "label-neutral-base",
|
|
2231
|
+
tertiary: "label-neutral-secondary"
|
|
2218
2232
|
},
|
|
2219
2233
|
disabled: {
|
|
2220
|
-
primary: "neutral-
|
|
2221
|
-
secondary: "neutral-
|
|
2222
|
-
tertiary: "neutral-
|
|
2234
|
+
primary: "label-neutral-tertiary",
|
|
2235
|
+
secondary: "label-neutral-tertiary",
|
|
2236
|
+
tertiary: "label-neutral-tertiary"
|
|
2223
2237
|
}
|
|
2224
2238
|
};
|
|
2225
2239
|
var textButtonVariants = cva8({
|
|
@@ -2255,7 +2269,7 @@ var TextButton = forwardRef18(
|
|
|
2255
2269
|
const getIconProps = /* @__PURE__ */ __name((icon) => ({
|
|
2256
2270
|
size: textButtonSizeIconSizeMap[size],
|
|
2257
2271
|
type: textButtonLevelIconTypeMap[rest.disabled ? "disabled" : "enabled"][level],
|
|
2258
|
-
fillType: "inverse-
|
|
2272
|
+
fillType: "label-on-inverse-base",
|
|
2259
2273
|
...icon
|
|
2260
2274
|
}), "getIconProps");
|
|
2261
2275
|
const renderContent = /* @__PURE__ */ __name((children2) => /* @__PURE__ */ jsxs12("span", { className: style_module_default16["text-children"], children: [
|
|
@@ -2682,7 +2696,7 @@ var LOGOS = {
|
|
|
2682
2696
|
|
|
2683
2697
|
// src/components/Logo/index.tsx
|
|
2684
2698
|
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
2685
|
-
var Logo = /* @__PURE__ */ __name(({ name, height, fill = "brand-
|
|
2699
|
+
var Logo = /* @__PURE__ */ __name(({ name, height, fill = "label-brand-secondary", className }) => {
|
|
2686
2700
|
const def = LOGOS[name];
|
|
2687
2701
|
const [viewBoxWidth, viewBoxHeight] = def.viewBox;
|
|
2688
2702
|
const renderHeight = height ?? viewBoxHeight;
|
|
@@ -2710,10 +2724,10 @@ import { forwardRef as forwardRef19 } from "react";
|
|
|
2710
2724
|
|
|
2711
2725
|
// src/components/coach-mark/primitive/style.module.scss
|
|
2712
2726
|
var style_module_default17 = {
|
|
2713
|
-
"anchor": "
|
|
2714
|
-
"content": "
|
|
2715
|
-
"overlay": "
|
|
2716
|
-
"close": "
|
|
2727
|
+
"anchor": "_anchor_9duhb_2",
|
|
2728
|
+
"content": "_content_9duhb_6",
|
|
2729
|
+
"overlay": "_overlay_9duhb_24",
|
|
2730
|
+
"close": "_close_9duhb_34"
|
|
2717
2731
|
};
|
|
2718
2732
|
|
|
2719
2733
|
// src/components/coach-mark/primitive/index.tsx
|
|
@@ -2750,7 +2764,7 @@ var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__P
|
|
|
2750
2764
|
)
|
|
2751
2765
|
}
|
|
2752
2766
|
), "PrimitiveCoachMarkAnchor");
|
|
2753
|
-
var PrimitiveCoachMarkClose = /* @__PURE__ */ __name(({ className, onClick }) => /* @__PURE__ */ jsx26(PopoverPrimitive2.Close, { asChild: true, className: clsx19(style_module_default17.close, className), onClick, children: /* @__PURE__ */ jsx26(IconCloseFill4, { fill: true, size: "xs", type: "neutral-
|
|
2767
|
+
var PrimitiveCoachMarkClose = /* @__PURE__ */ __name(({ className, onClick }) => /* @__PURE__ */ jsx26(PopoverPrimitive2.Close, { asChild: true, className: clsx19(style_module_default17.close, className), onClick, children: /* @__PURE__ */ jsx26(IconCloseFill4, { fill: true, size: "xs", type: "label-neutral-base" }) }), "PrimitiveCoachMarkClose");
|
|
2754
2768
|
var PrimitiveCoachMarkContent = forwardRef19(({ children, className, container, ...rest }, ref) => /* @__PURE__ */ jsx26(PopoverPrimitive2.Portal, { container, children: /* @__PURE__ */ jsxs14(
|
|
2755
2769
|
PopoverPrimitive2.Content,
|
|
2756
2770
|
{
|
|
@@ -2778,23 +2792,23 @@ import { forwardRef as forwardRef20 } from "react";
|
|
|
2778
2792
|
|
|
2779
2793
|
// src/components/Badge/style.module.scss
|
|
2780
2794
|
var style_module_default18 = {
|
|
2781
|
-
"badge": "
|
|
2782
|
-
"s": "
|
|
2783
|
-
"m": "
|
|
2784
|
-
"l": "
|
|
2785
|
-
"text": "
|
|
2786
|
-
"subtle": "
|
|
2787
|
-
"outlined": "
|
|
2788
|
-
"fill-primary": "_fill-
|
|
2789
|
-
"fill-accent": "_fill-
|
|
2790
|
-
"inverse-primary": "_inverse-
|
|
2791
|
-
"text-neutral": "_text-
|
|
2792
|
-
"text-neutral-secondary": "_text-neutral-
|
|
2793
|
-
"text-primary": "_text-
|
|
2794
|
-
"text-primary-inverse": "_text-primary-
|
|
2795
|
-
"text-caution": "_text-
|
|
2796
|
-
"text-error": "_text-
|
|
2797
|
-
"text-accent": "_text-
|
|
2795
|
+
"badge": "_badge_1l0o9_1",
|
|
2796
|
+
"s": "_s_1l0o9_10",
|
|
2797
|
+
"m": "_m_1l0o9_15",
|
|
2798
|
+
"l": "_l_1l0o9_20",
|
|
2799
|
+
"text": "_text_1l0o9_25",
|
|
2800
|
+
"subtle": "_subtle_1l0o9_29",
|
|
2801
|
+
"outlined": "_outlined_1l0o9_33",
|
|
2802
|
+
"fill-primary": "_fill-primary_1l0o9_38",
|
|
2803
|
+
"fill-accent": "_fill-accent_1l0o9_42",
|
|
2804
|
+
"inverse-primary": "_inverse-primary_1l0o9_46",
|
|
2805
|
+
"text-neutral": "_text-neutral_1l0o9_50",
|
|
2806
|
+
"text-neutral-secondary": "_text-neutral-secondary_1l0o9_54",
|
|
2807
|
+
"text-primary": "_text-primary_1l0o9_58",
|
|
2808
|
+
"text-primary-inverse": "_text-primary-inverse_1l0o9_62",
|
|
2809
|
+
"text-caution": "_text-caution_1l0o9_66",
|
|
2810
|
+
"text-error": "_text-error_1l0o9_70",
|
|
2811
|
+
"text-accent": "_text-accent_1l0o9_74"
|
|
2798
2812
|
};
|
|
2799
2813
|
|
|
2800
2814
|
// src/components/Badge/index.tsx
|
|
@@ -2821,36 +2835,36 @@ var badgeBase = cva10({
|
|
|
2821
2835
|
}
|
|
2822
2836
|
}
|
|
2823
2837
|
});
|
|
2824
|
-
function getBgClass(variant,
|
|
2838
|
+
function getBgClass(variant, color2) {
|
|
2825
2839
|
if (variant === "subtle") return style_module_default18.subtle;
|
|
2826
2840
|
if (variant === "outlined") return style_module_default18.outlined;
|
|
2827
|
-
if (variant === "fill") return
|
|
2841
|
+
if (variant === "fill") return color2 === "accent" ? style_module_default18["fill-accent"] : style_module_default18["fill-primary"];
|
|
2828
2842
|
return style_module_default18["inverse-primary"];
|
|
2829
2843
|
}
|
|
2830
2844
|
__name(getBgClass, "getBgClass");
|
|
2831
|
-
function getIconType(variant,
|
|
2832
|
-
if (variant === "inverse") return "
|
|
2833
|
-
switch (
|
|
2845
|
+
function getIconType(variant, color2) {
|
|
2846
|
+
if (variant === "inverse") return "label-on-brand";
|
|
2847
|
+
switch (color2) {
|
|
2834
2848
|
case "neutral":
|
|
2835
|
-
return "neutral-
|
|
2849
|
+
return "label-neutral-base";
|
|
2836
2850
|
case "neutral-secondary":
|
|
2837
|
-
return "neutral-
|
|
2851
|
+
return "label-neutral-secondary";
|
|
2838
2852
|
case "primary":
|
|
2839
|
-
return "brand-
|
|
2853
|
+
return "label-brand-base";
|
|
2840
2854
|
case "caution":
|
|
2841
|
-
return "
|
|
2855
|
+
return "caution";
|
|
2842
2856
|
case "error":
|
|
2843
|
-
return "
|
|
2857
|
+
return "negative-base";
|
|
2844
2858
|
case "accent":
|
|
2845
|
-
return "accent-label-
|
|
2859
|
+
return "accent-label-base";
|
|
2846
2860
|
default:
|
|
2847
|
-
return "neutral-
|
|
2861
|
+
return "label-neutral-base";
|
|
2848
2862
|
}
|
|
2849
2863
|
}
|
|
2850
2864
|
__name(getIconType, "getIconType");
|
|
2851
|
-
function getTextClass(variant,
|
|
2865
|
+
function getTextClass(variant, color2) {
|
|
2852
2866
|
if (variant === "inverse") return style_module_default18["text-primary-inverse"];
|
|
2853
|
-
switch (
|
|
2867
|
+
switch (color2) {
|
|
2854
2868
|
case "neutral":
|
|
2855
2869
|
return style_module_default18["text-neutral"];
|
|
2856
2870
|
case "neutral-secondary":
|
|
@@ -2872,7 +2886,7 @@ var Badge = forwardRef20(
|
|
|
2872
2886
|
({
|
|
2873
2887
|
size = "s",
|
|
2874
2888
|
variant = "fill",
|
|
2875
|
-
color = "primary",
|
|
2889
|
+
color: color2 = "primary",
|
|
2876
2890
|
thick = false,
|
|
2877
2891
|
className,
|
|
2878
2892
|
children,
|
|
@@ -2883,7 +2897,7 @@ var Badge = forwardRef20(
|
|
|
2883
2897
|
const iconSize = badgeSizeIconSizeMap[size];
|
|
2884
2898
|
const typoClass = badgeSizeTypoMap[size][+thick];
|
|
2885
2899
|
const resolvedVariant = variant;
|
|
2886
|
-
const resolvedColor =
|
|
2900
|
+
const resolvedColor = color2;
|
|
2887
2901
|
return /* @__PURE__ */ jsxs15(
|
|
2888
2902
|
"span",
|
|
2889
2903
|
{
|
|
@@ -2923,10 +2937,10 @@ Badge.displayName = "Badge";
|
|
|
2923
2937
|
|
|
2924
2938
|
// src/components/coach-mark/compact/style.module.scss
|
|
2925
2939
|
var style_module_default19 = {
|
|
2926
|
-
"content": "
|
|
2927
|
-
"slideIn": "
|
|
2928
|
-
"clickable": "
|
|
2929
|
-
"main": "
|
|
2940
|
+
"content": "_content_9adg9_2",
|
|
2941
|
+
"slideIn": "_slideIn_9adg9_1",
|
|
2942
|
+
"clickable": "_clickable_9adg9_23",
|
|
2943
|
+
"main": "_main_9adg9_36"
|
|
2930
2944
|
};
|
|
2931
2945
|
|
|
2932
2946
|
// src/components/coach-mark/compact/index.tsx
|
|
@@ -2957,7 +2971,7 @@ var CompactCoachMarkContent = forwardRef21(({ badge, title, className, side = "t
|
|
|
2957
2971
|
size: 1,
|
|
2958
2972
|
type: "normal",
|
|
2959
2973
|
weight: "bold",
|
|
2960
|
-
color: "inverse-
|
|
2974
|
+
color: "label-on-inverse-static-base",
|
|
2961
2975
|
className: style_module_default19.main,
|
|
2962
2976
|
children: title
|
|
2963
2977
|
}
|
|
@@ -2977,16 +2991,16 @@ import * as PopoverPrimitive4 from "@radix-ui/react-popover";
|
|
|
2977
2991
|
|
|
2978
2992
|
// src/components/coach-mark/main/style.module.scss
|
|
2979
2993
|
var style_module_default20 = {
|
|
2980
|
-
"content": "
|
|
2981
|
-
"slideIn": "
|
|
2982
|
-
"top": "
|
|
2983
|
-
"main": "
|
|
2984
|
-
"title": "
|
|
2985
|
-
"description": "
|
|
2986
|
-
"media": "
|
|
2987
|
-
"footer": "
|
|
2988
|
-
"buttonGroup": "
|
|
2989
|
-
"closeButton": "
|
|
2994
|
+
"content": "_content_p4m90_2",
|
|
2995
|
+
"slideIn": "_slideIn_p4m90_1",
|
|
2996
|
+
"top": "_top_p4m90_26",
|
|
2997
|
+
"main": "_main_p4m90_33",
|
|
2998
|
+
"title": "_title_p4m90_40",
|
|
2999
|
+
"description": "_description_p4m90_57",
|
|
3000
|
+
"media": "_media_p4m90_63",
|
|
3001
|
+
"footer": "_footer_p4m90_69",
|
|
3002
|
+
"buttonGroup": "_buttonGroup_p4m90_76",
|
|
3003
|
+
"closeButton": "_closeButton_p4m90_82"
|
|
2990
3004
|
};
|
|
2991
3005
|
|
|
2992
3006
|
// src/components/coach-mark/main/index.tsx
|
|
@@ -3049,7 +3063,7 @@ var CoachMarkContent = forwardRef22(
|
|
|
3049
3063
|
/* @__PURE__ */ jsx29("header", { className: style_module_default20.top, children: /* @__PURE__ */ jsxs17("div", { className: style_module_default20.main, children: [
|
|
3050
3064
|
/* @__PURE__ */ jsxs17("div", { className: style_module_default20.title, children: [
|
|
3051
3065
|
badge && /* @__PURE__ */ jsx29(Badge, { variant: "inverse", color: "primary", children: badge }),
|
|
3052
|
-
/* @__PURE__ */ jsx29(Paragraph, { size: 4, type: "normal", weight: "bold", color: "inverse-
|
|
3066
|
+
/* @__PURE__ */ jsx29(Paragraph, { size: 4, type: "normal", weight: "bold", color: "label-on-inverse-static-base", children: title })
|
|
3053
3067
|
] }),
|
|
3054
3068
|
media && /* @__PURE__ */ jsx29("div", { className: style_module_default20.media, children: media }),
|
|
3055
3069
|
description && /* @__PURE__ */ jsx29(
|
|
@@ -3058,18 +3072,27 @@ var CoachMarkContent = forwardRef22(
|
|
|
3058
3072
|
size: 1,
|
|
3059
3073
|
type: "normal",
|
|
3060
3074
|
weight: "regular",
|
|
3061
|
-
color: "inverse-
|
|
3075
|
+
color: "label-on-inverse-static-base",
|
|
3062
3076
|
className: style_module_default20.description,
|
|
3063
3077
|
children: description
|
|
3064
3078
|
}
|
|
3065
3079
|
)
|
|
3066
3080
|
] }) }),
|
|
3067
3081
|
/* @__PURE__ */ jsxs17("footer", { className: style_module_default20.footer, children: [
|
|
3068
|
-
step ? /* @__PURE__ */ jsxs17(
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3082
|
+
step ? /* @__PURE__ */ jsxs17(
|
|
3083
|
+
Caption,
|
|
3084
|
+
{
|
|
3085
|
+
size: 3,
|
|
3086
|
+
type: "normal",
|
|
3087
|
+
weight: "regular",
|
|
3088
|
+
color: "label-on-inverse-static-secondary",
|
|
3089
|
+
children: [
|
|
3090
|
+
step.current,
|
|
3091
|
+
" / ",
|
|
3092
|
+
step.total
|
|
3093
|
+
]
|
|
3094
|
+
}
|
|
3095
|
+
) : /* @__PURE__ */ jsx29("div", { className: style_module_default20.empty }),
|
|
3073
3096
|
/* @__PURE__ */ jsxs17("div", { className: style_module_default20.buttonGroup, children: [
|
|
3074
3097
|
secondaryButton && /* @__PURE__ */ jsx29(Button, { size: "m", level: "inverse-static", ...secondaryButton }),
|
|
3075
3098
|
primaryButton && /* @__PURE__ */ jsx29(Button, { size: "m", level: "primary", ...primaryButton })
|
|
@@ -3090,145 +3113,39 @@ import { forwardRef as forwardRef23 } from "react";
|
|
|
3090
3113
|
|
|
3091
3114
|
// src/components/Tag/style.module.scss
|
|
3092
3115
|
var style_module_default21 = {
|
|
3093
|
-
"tag": "
|
|
3094
|
-
"s": "
|
|
3095
|
-
"m": "
|
|
3096
|
-
"l": "
|
|
3097
|
-
"thick": "
|
|
3098
|
-
"square": "
|
|
3099
|
-
"rounded": "
|
|
3100
|
-
"border-neutral-
|
|
3101
|
-
"border-neutral-
|
|
3102
|
-
"border-neutral-
|
|
3103
|
-
"border-neutral-
|
|
3104
|
-
"border-
|
|
3105
|
-
"border-
|
|
3106
|
-
"border-
|
|
3107
|
-
"border-inverse-
|
|
3108
|
-
"border-inverse-
|
|
3109
|
-
"border-inverse-
|
|
3110
|
-
"border-inverse-
|
|
3111
|
-
"border-
|
|
3112
|
-
"border-
|
|
3113
|
-
"border-
|
|
3114
|
-
"border-
|
|
3115
|
-
"border-
|
|
3116
|
-
"border-accent-yellow": "_border-accent-
|
|
3117
|
-
"border-accent-mint": "_border-accent-
|
|
3118
|
-
"border-accent-cyan": "_border-accent-
|
|
3119
|
-
"border-accent-purple": "_border-accent-
|
|
3120
|
-
"border-accent-pink": "_border-accent-
|
|
3116
|
+
"tag": "_tag_1vdj8_2",
|
|
3117
|
+
"s": "_s_1vdj8_12",
|
|
3118
|
+
"m": "_m_1vdj8_17",
|
|
3119
|
+
"l": "_l_1vdj8_22",
|
|
3120
|
+
"thick": "_thick_1vdj8_27",
|
|
3121
|
+
"square": "_square_1vdj8_31",
|
|
3122
|
+
"rounded": "_rounded_1vdj8_35",
|
|
3123
|
+
"border-border-neutral-alpha-strong": "_border-border-neutral-alpha-strong_1vdj8_44",
|
|
3124
|
+
"border-border-neutral-alpha-normal": "_border-border-neutral-alpha-normal_1vdj8_48",
|
|
3125
|
+
"border-border-neutral-alpha-subtle": "_border-border-neutral-alpha-subtle_1vdj8_52",
|
|
3126
|
+
"border-border-neutral-alpha-hint": "_border-border-neutral-alpha-hint_1vdj8_56",
|
|
3127
|
+
"border-border-neutral-strong": "_border-border-neutral-strong_1vdj8_60",
|
|
3128
|
+
"border-border-neutral-normal": "_border-border-neutral-normal_1vdj8_64",
|
|
3129
|
+
"border-border-neutral-subtle": "_border-border-neutral-subtle_1vdj8_68",
|
|
3130
|
+
"border-border-on-inverse-alpha-strong": "_border-border-on-inverse-alpha-strong_1vdj8_72",
|
|
3131
|
+
"border-border-on-inverse-alpha-normal": "_border-border-on-inverse-alpha-normal_1vdj8_76",
|
|
3132
|
+
"border-border-on-inverse-alpha-subtle": "_border-border-on-inverse-alpha-subtle_1vdj8_80",
|
|
3133
|
+
"border-border-on-inverse-alpha-hint": "_border-border-on-inverse-alpha-hint_1vdj8_84",
|
|
3134
|
+
"border-border-on-inverse-strong": "_border-border-on-inverse-strong_1vdj8_88",
|
|
3135
|
+
"border-border-on-inverse-normal": "_border-border-on-inverse-normal_1vdj8_92",
|
|
3136
|
+
"border-border-on-inverse-subtle": "_border-border-on-inverse-subtle_1vdj8_96",
|
|
3137
|
+
"border-border-brand-normal": "_border-border-brand-normal_1vdj8_100",
|
|
3138
|
+
"border-border-brand-strong": "_border-border-brand-strong_1vdj8_104",
|
|
3139
|
+
"border-accent-yellow": "_border-accent-yellow_1vdj8_108",
|
|
3140
|
+
"border-accent-mint": "_border-accent-mint_1vdj8_112",
|
|
3141
|
+
"border-accent-cyan": "_border-accent-cyan_1vdj8_116",
|
|
3142
|
+
"border-accent-purple": "_border-accent-purple_1vdj8_120",
|
|
3143
|
+
"border-accent-pink": "_border-accent-pink_1vdj8_124"
|
|
3121
3144
|
};
|
|
3122
3145
|
|
|
3123
3146
|
// src/constants/color.ts
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
"neutral-container-lowest-hover",
|
|
3127
|
-
"neutral-container-lowest",
|
|
3128
|
-
"neutral-container-low",
|
|
3129
|
-
"neutral-container-low-hover",
|
|
3130
|
-
"neutral-container-mid",
|
|
3131
|
-
"neutral-container-mid-hover",
|
|
3132
|
-
"neutral-container-high",
|
|
3133
|
-
"neutral-container-high-hover",
|
|
3134
|
-
"neutral-container-highest",
|
|
3135
|
-
"neutral-container-static-lowest",
|
|
3136
|
-
"neutral-container-static-lowest-hover",
|
|
3137
|
-
"neutral-fill-overlay-lowest",
|
|
3138
|
-
"neutral-fill-overlay-lowest-hover",
|
|
3139
|
-
"neutral-fill-overlay-low",
|
|
3140
|
-
"neutral-fill-overlay-low-hover",
|
|
3141
|
-
"neutral-fill-overlay-mid",
|
|
3142
|
-
"neutral-fill-overlay-mid-hover",
|
|
3143
|
-
"neutral-fill-overlay-high",
|
|
3144
|
-
"neutral-fill-overlay-high-hover",
|
|
3145
|
-
"neutral-fill-overlay-highest",
|
|
3146
|
-
"neutral-fill-opaque-lowest",
|
|
3147
|
-
"neutral-fill-opaque-lowest-hover",
|
|
3148
|
-
"neutral-fill-opaque-low",
|
|
3149
|
-
"neutral-fill-opaque-low-hover",
|
|
3150
|
-
"neutral-fill-opaque-static-lowest",
|
|
3151
|
-
"neutral-label-primary",
|
|
3152
|
-
"neutral-label-secondary",
|
|
3153
|
-
"neutral-label-tertiary",
|
|
3154
|
-
"neutral-label-quaternary",
|
|
3155
|
-
"neutral-label-static-primary",
|
|
3156
|
-
"neutral-label-static-secondary",
|
|
3157
|
-
"neutral-border-overlay-strong",
|
|
3158
|
-
"neutral-border-overlay-normal",
|
|
3159
|
-
"neutral-border-overlay-subtle",
|
|
3160
|
-
"neutral-border-overlay-hint",
|
|
3161
|
-
"neutral-border-opaque-strong",
|
|
3162
|
-
"neutral-border-opaque-normal",
|
|
3163
|
-
"neutral-border-opaque-subtle",
|
|
3164
|
-
"inverse-container-lowest",
|
|
3165
|
-
"inverse-container-lowest-hover",
|
|
3166
|
-
"inverse-container-low",
|
|
3167
|
-
"inverse-container-low-hover",
|
|
3168
|
-
"inverse-container-mid",
|
|
3169
|
-
"inverse-container-mid-hover",
|
|
3170
|
-
"inverse-container-high",
|
|
3171
|
-
"inverse-container-high-hover",
|
|
3172
|
-
"inverse-container-static-high",
|
|
3173
|
-
"inverse-container-static-high-hover",
|
|
3174
|
-
"inverse-fill-mid",
|
|
3175
|
-
"inverse-fill-mid-hover",
|
|
3176
|
-
"inverse-fill-opaque-lowest",
|
|
3177
|
-
"inverse-fill-opaque-lowest-hover",
|
|
3178
|
-
"inverse-fill-opaque-low",
|
|
3179
|
-
"inverse-fill-opaque-low-hover",
|
|
3180
|
-
"inverse-fill-opaque-mid",
|
|
3181
|
-
"inverse-label-primary",
|
|
3182
|
-
"inverse-label-static-primary",
|
|
3183
|
-
"inverse-label-static-secondary",
|
|
3184
|
-
"inverse-label-secondary",
|
|
3185
|
-
"inverse-label-tertiary",
|
|
3186
|
-
"inverse-label-quaternary",
|
|
3187
|
-
"inverse-border-overlay-strong",
|
|
3188
|
-
"inverse-border-overlay-normal",
|
|
3189
|
-
"inverse-border-overlay-subtle",
|
|
3190
|
-
"inverse-border-overlay-hint",
|
|
3191
|
-
"inverse-border-opaque-strong",
|
|
3192
|
-
"inverse-border-opaque-normal",
|
|
3193
|
-
"inverse-border-opaque-subtle",
|
|
3194
|
-
"brand-container-mid",
|
|
3195
|
-
"brand-container-mid-hover",
|
|
3196
|
-
"brand-container-high",
|
|
3197
|
-
"brand-fill-mid",
|
|
3198
|
-
"brand-fill-mid-hover",
|
|
3199
|
-
"brand-fill-low",
|
|
3200
|
-
"brand-fill-low-hover",
|
|
3201
|
-
"brand-label-primary",
|
|
3202
|
-
"brand-label-secondary",
|
|
3203
|
-
"brand-label-variation-secondary",
|
|
3204
|
-
"brand-border-opaque-normal",
|
|
3205
|
-
"brand-border-opaque-strong",
|
|
3206
|
-
"brandinverse-label-primary",
|
|
3207
|
-
"brandinverse-label-secondary",
|
|
3208
|
-
"brandinverse-label-static-primary",
|
|
3209
|
-
"accent-label-primary",
|
|
3210
|
-
"accent-label-yellow",
|
|
3211
|
-
"accent-label-mint",
|
|
3212
|
-
"accent-label-cyan",
|
|
3213
|
-
"accent-label-purple",
|
|
3214
|
-
"accent-label-pink",
|
|
3215
|
-
"accent-fill-primary",
|
|
3216
|
-
"function-fill-positive-mid",
|
|
3217
|
-
"function-fill-positive-low",
|
|
3218
|
-
"function-fill-negative-mid",
|
|
3219
|
-
"function-fill-negative-low",
|
|
3220
|
-
"function-fill-negative-mid-hover",
|
|
3221
|
-
"function-fill-caution",
|
|
3222
|
-
"function-fill-highlight",
|
|
3223
|
-
"function-fill-selection",
|
|
3224
|
-
"function-fill-drag",
|
|
3225
|
-
"function-label-positive",
|
|
3226
|
-
"function-label-negative",
|
|
3227
|
-
"function-label-caution",
|
|
3228
|
-
"function-label-link",
|
|
3229
|
-
"inverse-container-highest",
|
|
3230
|
-
"cover-dim-page"
|
|
3231
|
-
];
|
|
3147
|
+
import { color } from "@liner-fe/design-token-primitive";
|
|
3148
|
+
var colorOptions = Object.keys(color.system.light);
|
|
3232
3149
|
|
|
3233
3150
|
// src/components/Tag/index.tsx
|
|
3234
3151
|
import { cva as cva11 } from "cva";
|
|
@@ -3255,8 +3172,8 @@ var tagVariants = cva11({
|
|
|
3255
3172
|
var Tag = forwardRef23(
|
|
3256
3173
|
({
|
|
3257
3174
|
children,
|
|
3258
|
-
color = "neutral-
|
|
3259
|
-
backgroundColor = "neutral-
|
|
3175
|
+
color: color2 = "label-neutral-static",
|
|
3176
|
+
backgroundColor = "surface-neutral-static-lowest",
|
|
3260
3177
|
borderColor = void 0,
|
|
3261
3178
|
radius = "square",
|
|
3262
3179
|
thick = false,
|
|
@@ -3272,7 +3189,7 @@ var Tag = forwardRef23(
|
|
|
3272
3189
|
type: "normal",
|
|
3273
3190
|
weight: "bold",
|
|
3274
3191
|
className: clsx23(tagVariants({ borderColor, size, thick, radius }), className),
|
|
3275
|
-
color,
|
|
3192
|
+
color: color2,
|
|
3276
3193
|
style: { backgroundColor: `var(--${backgroundColor})`, ...rest.style },
|
|
3277
3194
|
...rest,
|
|
3278
3195
|
children
|
|
@@ -3292,12 +3209,12 @@ var FALLBACK_IMAGE_SRC = "https://assets.getliner.com/web/prism/fallback-profile
|
|
|
3292
3209
|
|
|
3293
3210
|
// src/components/Avatar/style.module.scss
|
|
3294
3211
|
var style_module_default22 = {
|
|
3295
|
-
"avatar": "
|
|
3296
|
-
"small": "
|
|
3297
|
-
"medium": "
|
|
3298
|
-
"xlarge": "
|
|
3299
|
-
"image": "
|
|
3300
|
-
"fallback": "
|
|
3212
|
+
"avatar": "_avatar_1lw78_1",
|
|
3213
|
+
"small": "_small_1lw78_12",
|
|
3214
|
+
"medium": "_medium_1lw78_17",
|
|
3215
|
+
"xlarge": "_xlarge_1lw78_22",
|
|
3216
|
+
"image": "_image_1lw78_27",
|
|
3217
|
+
"fallback": "_fallback_1lw78_33"
|
|
3301
3218
|
};
|
|
3302
3219
|
|
|
3303
3220
|
// src/components/Avatar/index.tsx
|
|
@@ -3345,14 +3262,14 @@ import { cva as cva13 } from "cva";
|
|
|
3345
3262
|
|
|
3346
3263
|
// src/components/AlertDialog/style.module.scss
|
|
3347
3264
|
var style_module_default23 = {
|
|
3348
|
-
"overlay": "
|
|
3349
|
-
"overlayShow": "
|
|
3350
|
-
"content": "
|
|
3351
|
-
"contentShow": "
|
|
3352
|
-
"contents": "
|
|
3353
|
-
"title": "
|
|
3354
|
-
"description": "
|
|
3355
|
-
"actions": "
|
|
3265
|
+
"overlay": "_overlay_ma27d_19",
|
|
3266
|
+
"overlayShow": "_overlayShow_ma27d_1",
|
|
3267
|
+
"content": "_content_ma27d_29",
|
|
3268
|
+
"contentShow": "_contentShow_ma27d_1",
|
|
3269
|
+
"contents": "_contents_ma27d_53",
|
|
3270
|
+
"title": "_title_ma27d_63",
|
|
3271
|
+
"description": "_description_ma27d_72",
|
|
3272
|
+
"actions": "_actions_ma27d_92"
|
|
3356
3273
|
};
|
|
3357
3274
|
|
|
3358
3275
|
// src/components/AlertDialog/index.tsx
|
|
@@ -3389,7 +3306,7 @@ var AlertDialogContent = /* @__PURE__ */ __name(({
|
|
|
3389
3306
|
/* @__PURE__ */ jsx32(AlertDialogPrimitive.Description, { className: descriptionVariants(), children: description })
|
|
3390
3307
|
] }),
|
|
3391
3308
|
children,
|
|
3392
|
-
/* @__PURE__ */ jsxs19("
|
|
3309
|
+
/* @__PURE__ */ jsxs19(Flex, { align: "center", justify: "end", gap: "2", width: "100%", className: style_module_default23.actions, children: [
|
|
3393
3310
|
/* @__PURE__ */ jsx32(AlertDialogPrimitive.Cancel, { asChild: true, children: /* @__PURE__ */ jsx32(Button, { level: "tertiary", size: "l", onClick: dismiss.onClick, children: dismiss.label }) }),
|
|
3394
3311
|
/* @__PURE__ */ jsx32(AlertDialogPrimitive.Action, { asChild: true, children: /* @__PURE__ */ jsx32(Button, { level: confirm.level ?? "primary", size: "l", onClick: confirm.onClick, children: confirm.label }) })
|
|
3395
3312
|
] })
|
|
@@ -3414,19 +3331,17 @@ import { cva as cva14 } from "cva";
|
|
|
3414
3331
|
|
|
3415
3332
|
// src/components/Dialog/style.module.scss
|
|
3416
3333
|
var style_module_default24 = {
|
|
3417
|
-
"overlay": "
|
|
3418
|
-
"overlayShow": "
|
|
3419
|
-
"content": "
|
|
3420
|
-
"contentShow": "
|
|
3421
|
-
"illust": "
|
|
3422
|
-
"close": "
|
|
3423
|
-
"header": "
|
|
3424
|
-
"
|
|
3425
|
-
"
|
|
3426
|
-
"
|
|
3427
|
-
"
|
|
3428
|
-
"actions": "_actions_424hi_108",
|
|
3429
|
-
"extra": "_extra_424hi_123"
|
|
3334
|
+
"overlay": "_overlay_376kf_19",
|
|
3335
|
+
"overlayShow": "_overlayShow_376kf_1",
|
|
3336
|
+
"content": "_content_376kf_29",
|
|
3337
|
+
"contentShow": "_contentShow_376kf_1",
|
|
3338
|
+
"illust": "_illust_376kf_52",
|
|
3339
|
+
"close": "_close_376kf_60",
|
|
3340
|
+
"header": "_header_376kf_67",
|
|
3341
|
+
"title": "_title_376kf_75",
|
|
3342
|
+
"description": "_description_376kf_81",
|
|
3343
|
+
"actions": "_actions_376kf_87",
|
|
3344
|
+
"extra": "_extra_376kf_100"
|
|
3430
3345
|
};
|
|
3431
3346
|
|
|
3432
3347
|
// src/components/Dialog/Header.tsx
|
|
@@ -3447,7 +3362,7 @@ var DialogFooter = /* @__PURE__ */ __name(({ dismiss, confirm, extra }) => {
|
|
|
3447
3362
|
const hasActions = Boolean(dismiss || confirm);
|
|
3448
3363
|
const hasFooter = hasActions || Boolean(extra);
|
|
3449
3364
|
if (!hasFooter) return null;
|
|
3450
|
-
return /* @__PURE__ */ jsxs21("
|
|
3365
|
+
return /* @__PURE__ */ jsxs21(Flex, { direction: "column", gap: "2", width: "100%", pt: "3", px: "4", pb: "4", children: [
|
|
3451
3366
|
hasActions && /* @__PURE__ */ jsxs21("div", { className: style_module_default24.actions, children: [
|
|
3452
3367
|
dismiss && /* @__PURE__ */ jsx34(DialogPrimitive2.Close, { asChild: true, children: /* @__PURE__ */ jsx34(Button, { level: "tertiary", size: "cta", onClick: dismiss.onClick, children: dismiss.label }) }),
|
|
3453
3368
|
confirm && /* @__PURE__ */ jsx34(DialogPrimitive2.Close, { asChild: true, children: /* @__PURE__ */ jsx34(Button, { level: confirm.level ?? "primary", size: "cta", onClick: confirm.onClick, children: confirm.label }) })
|
|
@@ -3484,12 +3399,12 @@ var DialogContent = /* @__PURE__ */ __name(({
|
|
|
3484
3399
|
"aria-label": "\uB2EB\uAE30",
|
|
3485
3400
|
level: "quinary",
|
|
3486
3401
|
size: "m",
|
|
3487
|
-
icon: { icon: IconClose2, type: "neutral-
|
|
3402
|
+
icon: { icon: IconClose2, type: "label-neutral-secondary" }
|
|
3488
3403
|
}
|
|
3489
3404
|
) }),
|
|
3490
3405
|
illust && /* @__PURE__ */ jsx35("div", { className: style_module_default24.illust, children: illust }),
|
|
3491
3406
|
/* @__PURE__ */ jsx35(DialogHeader, { title, description }),
|
|
3492
|
-
children && /* @__PURE__ */ jsx35(
|
|
3407
|
+
children && /* @__PURE__ */ jsx35(Box, { py: "2", px: "4", children }),
|
|
3493
3408
|
/* @__PURE__ */ jsx35(DialogFooter, { dismiss, confirm, extra })
|
|
3494
3409
|
] })
|
|
3495
3410
|
] });
|
|
@@ -3510,18 +3425,17 @@ import { cva as cva15 } from "cva";
|
|
|
3510
3425
|
|
|
3511
3426
|
// src/components/BottomSheet/style.module.scss
|
|
3512
3427
|
var style_module_default25 = {
|
|
3513
|
-
"overlay": "
|
|
3514
|
-
"content": "
|
|
3515
|
-
"inner": "
|
|
3516
|
-
"handle": "
|
|
3517
|
-
"illust": "
|
|
3518
|
-
"header": "
|
|
3519
|
-
"body": "
|
|
3520
|
-
"title": "
|
|
3521
|
-
"description": "
|
|
3522
|
-
"
|
|
3523
|
-
"
|
|
3524
|
-
"extra": "_extra_ifftf_163"
|
|
3428
|
+
"overlay": "_overlay_1imx7_1",
|
|
3429
|
+
"content": "_content_1imx7_8",
|
|
3430
|
+
"inner": "_inner_1imx7_35",
|
|
3431
|
+
"handle": "_handle_1imx7_50",
|
|
3432
|
+
"illust": "_illust_1imx7_59",
|
|
3433
|
+
"header": "_header_1imx7_65",
|
|
3434
|
+
"body": "_body_1imx7_73",
|
|
3435
|
+
"title": "_title_1imx7_82",
|
|
3436
|
+
"description": "_description_1imx7_88",
|
|
3437
|
+
"actions": "_actions_1imx7_94",
|
|
3438
|
+
"extra": "_extra_1imx7_106"
|
|
3525
3439
|
};
|
|
3526
3440
|
|
|
3527
3441
|
// src/components/BottomSheet/Header.tsx
|
|
@@ -3542,7 +3456,7 @@ var BottomSheetFooter = /* @__PURE__ */ __name(({ dismiss, confirm, extra }) =>
|
|
|
3542
3456
|
const hasActions = Boolean(dismiss || confirm);
|
|
3543
3457
|
const hasFooter = hasActions || Boolean(extra);
|
|
3544
3458
|
if (!hasFooter) return null;
|
|
3545
|
-
return /* @__PURE__ */ jsxs24("
|
|
3459
|
+
return /* @__PURE__ */ jsxs24(Flex, { direction: "column", gap: "2", width: "100%", pt: "3", px: "4", pb: "4", children: [
|
|
3546
3460
|
hasActions && /* @__PURE__ */ jsxs24("div", { className: style_module_default25.actions, children: [
|
|
3547
3461
|
dismiss && /* @__PURE__ */ jsx37(Drawer2.Close, { asChild: true, children: /* @__PURE__ */ jsx37(Button, { level: "tertiary", size: "l", onClick: dismiss.onClick, children: dismiss.label }) }),
|
|
3548
3462
|
confirm && /* @__PURE__ */ jsx37(Drawer2.Close, { asChild: true, children: /* @__PURE__ */ jsx37(Button, { level: confirm.level ?? "primary", size: "l", onClick: confirm.onClick, children: confirm.label }) })
|
|
@@ -3632,274 +3546,14 @@ var Ratio = React5.forwardRef(
|
|
|
3632
3546
|
);
|
|
3633
3547
|
Ratio.displayName = "Ratio";
|
|
3634
3548
|
|
|
3635
|
-
// src/components/Box/index.tsx
|
|
3636
|
-
import { forwardRef as forwardRef26 } from "react";
|
|
3637
|
-
import { Slot as SlotPrimitive2 } from "radix-ui";
|
|
3638
|
-
import { vars as vars2 } from "@liner-fe/design-token";
|
|
3639
|
-
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
3640
|
-
var { Slot: Slot2 } = SlotPrimitive2;
|
|
3641
|
-
var padTok = /* @__PURE__ */ __name((k) => k ? vars2.padding[k] : void 0, "padTok");
|
|
3642
|
-
var gapTok = /* @__PURE__ */ __name((k) => k ? vars2.gap[k] : void 0, "gapTok");
|
|
3643
|
-
var marginTok = /* @__PURE__ */ __name((k) => k ? vars2.size[k] : void 0, "marginTok");
|
|
3644
|
-
function resolveLayoutStyle(props) {
|
|
3645
|
-
const {
|
|
3646
|
-
p,
|
|
3647
|
-
px,
|
|
3648
|
-
py,
|
|
3649
|
-
pt,
|
|
3650
|
-
pr,
|
|
3651
|
-
pb,
|
|
3652
|
-
pl,
|
|
3653
|
-
m,
|
|
3654
|
-
mx,
|
|
3655
|
-
my,
|
|
3656
|
-
mt,
|
|
3657
|
-
mr,
|
|
3658
|
-
mb,
|
|
3659
|
-
ml,
|
|
3660
|
-
display,
|
|
3661
|
-
width,
|
|
3662
|
-
height,
|
|
3663
|
-
minWidth,
|
|
3664
|
-
maxWidth,
|
|
3665
|
-
minHeight,
|
|
3666
|
-
maxHeight,
|
|
3667
|
-
position,
|
|
3668
|
-
inset,
|
|
3669
|
-
overflow,
|
|
3670
|
-
flexBasis,
|
|
3671
|
-
flexGrow,
|
|
3672
|
-
flexShrink,
|
|
3673
|
-
gridColumn,
|
|
3674
|
-
gridRow,
|
|
3675
|
-
gridArea
|
|
3676
|
-
} = props;
|
|
3677
|
-
const style = {};
|
|
3678
|
-
if (p) style.padding = padTok(p);
|
|
3679
|
-
if (px) {
|
|
3680
|
-
style.paddingLeft = padTok(px);
|
|
3681
|
-
style.paddingRight = padTok(px);
|
|
3682
|
-
}
|
|
3683
|
-
if (py) {
|
|
3684
|
-
style.paddingTop = padTok(py);
|
|
3685
|
-
style.paddingBottom = padTok(py);
|
|
3686
|
-
}
|
|
3687
|
-
if (pt) style.paddingTop = padTok(pt);
|
|
3688
|
-
if (pr) style.paddingRight = padTok(pr);
|
|
3689
|
-
if (pb) style.paddingBottom = padTok(pb);
|
|
3690
|
-
if (pl) style.paddingLeft = padTok(pl);
|
|
3691
|
-
if (m) style.margin = marginTok(m);
|
|
3692
|
-
if (mx) {
|
|
3693
|
-
style.marginLeft = marginTok(mx);
|
|
3694
|
-
style.marginRight = marginTok(mx);
|
|
3695
|
-
}
|
|
3696
|
-
if (my) {
|
|
3697
|
-
style.marginTop = marginTok(my);
|
|
3698
|
-
style.marginBottom = marginTok(my);
|
|
3699
|
-
}
|
|
3700
|
-
if (mt) style.marginTop = marginTok(mt);
|
|
3701
|
-
if (mr) style.marginRight = marginTok(mr);
|
|
3702
|
-
if (mb) style.marginBottom = marginTok(mb);
|
|
3703
|
-
if (ml) style.marginLeft = marginTok(ml);
|
|
3704
|
-
if (display) style.display = display;
|
|
3705
|
-
if (width !== void 0) style.width = width;
|
|
3706
|
-
if (height !== void 0) style.height = height;
|
|
3707
|
-
if (minWidth !== void 0) style.minWidth = minWidth;
|
|
3708
|
-
if (maxWidth !== void 0) style.maxWidth = maxWidth;
|
|
3709
|
-
if (minHeight !== void 0) style.minHeight = minHeight;
|
|
3710
|
-
if (maxHeight !== void 0) style.maxHeight = maxHeight;
|
|
3711
|
-
if (position) style.position = position;
|
|
3712
|
-
if (inset !== void 0) style.inset = inset;
|
|
3713
|
-
if (overflow) style.overflow = overflow;
|
|
3714
|
-
if (flexBasis !== void 0) style.flexBasis = flexBasis;
|
|
3715
|
-
if (flexGrow !== void 0) style.flexGrow = flexGrow;
|
|
3716
|
-
if (flexShrink !== void 0) style.flexShrink = flexShrink;
|
|
3717
|
-
if (gridColumn !== void 0) style.gridColumn = gridColumn;
|
|
3718
|
-
if (gridRow !== void 0) style.gridRow = gridRow;
|
|
3719
|
-
if (gridArea !== void 0) style.gridArea = gridArea;
|
|
3720
|
-
return style;
|
|
3721
|
-
}
|
|
3722
|
-
__name(resolveLayoutStyle, "resolveLayoutStyle");
|
|
3723
|
-
function splitLayoutProps(props) {
|
|
3724
|
-
const {
|
|
3725
|
-
p,
|
|
3726
|
-
px,
|
|
3727
|
-
py,
|
|
3728
|
-
pt,
|
|
3729
|
-
pr,
|
|
3730
|
-
pb,
|
|
3731
|
-
pl,
|
|
3732
|
-
m,
|
|
3733
|
-
mx,
|
|
3734
|
-
my,
|
|
3735
|
-
mt,
|
|
3736
|
-
mr,
|
|
3737
|
-
mb,
|
|
3738
|
-
ml,
|
|
3739
|
-
display,
|
|
3740
|
-
width,
|
|
3741
|
-
height,
|
|
3742
|
-
minWidth,
|
|
3743
|
-
maxWidth,
|
|
3744
|
-
minHeight,
|
|
3745
|
-
maxHeight,
|
|
3746
|
-
position,
|
|
3747
|
-
inset,
|
|
3748
|
-
overflow,
|
|
3749
|
-
flexBasis,
|
|
3750
|
-
flexGrow,
|
|
3751
|
-
flexShrink,
|
|
3752
|
-
gridColumn,
|
|
3753
|
-
gridRow,
|
|
3754
|
-
gridArea,
|
|
3755
|
-
...rest
|
|
3756
|
-
} = props;
|
|
3757
|
-
return {
|
|
3758
|
-
layout: {
|
|
3759
|
-
p,
|
|
3760
|
-
px,
|
|
3761
|
-
py,
|
|
3762
|
-
pt,
|
|
3763
|
-
pr,
|
|
3764
|
-
pb,
|
|
3765
|
-
pl,
|
|
3766
|
-
m,
|
|
3767
|
-
mx,
|
|
3768
|
-
my,
|
|
3769
|
-
mt,
|
|
3770
|
-
mr,
|
|
3771
|
-
mb,
|
|
3772
|
-
ml,
|
|
3773
|
-
display,
|
|
3774
|
-
width,
|
|
3775
|
-
height,
|
|
3776
|
-
minWidth,
|
|
3777
|
-
maxWidth,
|
|
3778
|
-
minHeight,
|
|
3779
|
-
maxHeight,
|
|
3780
|
-
position,
|
|
3781
|
-
inset,
|
|
3782
|
-
overflow,
|
|
3783
|
-
flexBasis,
|
|
3784
|
-
flexGrow,
|
|
3785
|
-
flexShrink,
|
|
3786
|
-
gridColumn,
|
|
3787
|
-
gridRow,
|
|
3788
|
-
gridArea
|
|
3789
|
-
},
|
|
3790
|
-
rest
|
|
3791
|
-
};
|
|
3792
|
-
}
|
|
3793
|
-
__name(splitLayoutProps, "splitLayoutProps");
|
|
3794
|
-
var FLEX_ALIGN = {
|
|
3795
|
-
start: "flex-start",
|
|
3796
|
-
center: "center",
|
|
3797
|
-
end: "flex-end",
|
|
3798
|
-
baseline: "baseline",
|
|
3799
|
-
stretch: "stretch"
|
|
3800
|
-
};
|
|
3801
|
-
var FLEX_JUSTIFY = {
|
|
3802
|
-
start: "flex-start",
|
|
3803
|
-
center: "center",
|
|
3804
|
-
end: "flex-end",
|
|
3805
|
-
between: "space-between",
|
|
3806
|
-
around: "space-around",
|
|
3807
|
-
evenly: "space-evenly"
|
|
3808
|
-
};
|
|
3809
|
-
var Box = forwardRef26(/* @__PURE__ */ __name(function Box2({ as: Tag2 = "div", asChild, className, style, children, ...props }, ref) {
|
|
3810
|
-
const { layout, rest } = splitLayoutProps(props);
|
|
3811
|
-
const Comp = asChild ? Slot2 : Tag2;
|
|
3812
|
-
return /* @__PURE__ */ jsx40(Comp, { ref, className, style: { ...resolveLayoutStyle(layout), ...style }, ...rest, children });
|
|
3813
|
-
}, "Box"));
|
|
3814
|
-
|
|
3815
|
-
// src/components/Flex/index.tsx
|
|
3816
|
-
import { forwardRef as forwardRef27 } from "react";
|
|
3817
|
-
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
3818
|
-
var Flex = forwardRef27(/* @__PURE__ */ __name(function Flex2({ inline, direction, align, justify, wrap, gap, gapX, gapY, style, ...boxProps }, ref) {
|
|
3819
|
-
const flexStyle = {
|
|
3820
|
-
display: inline ? "inline-flex" : "flex",
|
|
3821
|
-
flexDirection: direction,
|
|
3822
|
-
alignItems: align ? FLEX_ALIGN[align] : void 0,
|
|
3823
|
-
justifyContent: justify ? FLEX_JUSTIFY[justify] : void 0,
|
|
3824
|
-
flexWrap: wrap,
|
|
3825
|
-
gap: gapTok(gap),
|
|
3826
|
-
columnGap: gapTok(gapX),
|
|
3827
|
-
rowGap: gapTok(gapY)
|
|
3828
|
-
};
|
|
3829
|
-
return /* @__PURE__ */ jsx41(Box, { ref, style: { ...flexStyle, ...style }, ...boxProps });
|
|
3830
|
-
}, "Flex"));
|
|
3831
|
-
|
|
3832
3549
|
// src/components/Grid/index.tsx
|
|
3833
|
-
import {
|
|
3834
|
-
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
3835
|
-
var GRID_JUSTIFY = {
|
|
3836
|
-
start: "start",
|
|
3837
|
-
center: "center",
|
|
3838
|
-
end: "end",
|
|
3839
|
-
between: "space-between"
|
|
3840
|
-
};
|
|
3841
|
-
var GRID_FLOW = {
|
|
3842
|
-
row: "row",
|
|
3843
|
-
column: "column",
|
|
3844
|
-
dense: "dense",
|
|
3845
|
-
"row-dense": "row dense",
|
|
3846
|
-
"column-dense": "column dense"
|
|
3847
|
-
};
|
|
3848
|
-
var track = /* @__PURE__ */ __name((v) => {
|
|
3849
|
-
if (v === void 0) return void 0;
|
|
3850
|
-
return typeof v === "number" ? `repeat(${v}, minmax(0, 1fr))` : v;
|
|
3851
|
-
}, "track");
|
|
3852
|
-
var Grid = forwardRef28(/* @__PURE__ */ __name(function Grid2({ inline, columns, rows, flow, align, justify, gap, gapX, gapY, style, ...boxProps }, ref) {
|
|
3853
|
-
const gridStyle = {
|
|
3854
|
-
display: inline ? "inline-grid" : "grid",
|
|
3855
|
-
gridTemplateColumns: track(columns),
|
|
3856
|
-
gridTemplateRows: track(rows),
|
|
3857
|
-
gridAutoFlow: flow ? GRID_FLOW[flow] : void 0,
|
|
3858
|
-
alignItems: align,
|
|
3859
|
-
justifyContent: justify ? GRID_JUSTIFY[justify] : void 0,
|
|
3860
|
-
gap: gapTok(gap),
|
|
3861
|
-
columnGap: gapTok(gapX),
|
|
3862
|
-
rowGap: gapTok(gapY)
|
|
3863
|
-
};
|
|
3864
|
-
return /* @__PURE__ */ jsx42(Box, { ref, style: { ...gridStyle, ...style }, ...boxProps });
|
|
3865
|
-
}, "Grid"));
|
|
3550
|
+
import { Grid } from "@radix-ui/themes";
|
|
3866
3551
|
|
|
3867
3552
|
// src/components/Container/index.tsx
|
|
3868
|
-
import {
|
|
3869
|
-
import { breakpointOrigin as breakpointOrigin2 } from "@liner-fe/design-token";
|
|
3870
|
-
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
3871
|
-
var SIZE_MAX_WIDTH = {
|
|
3872
|
-
s: breakpointOrigin2.s,
|
|
3873
|
-
// 600px
|
|
3874
|
-
m: breakpointOrigin2.m,
|
|
3875
|
-
// 1024px
|
|
3876
|
-
l: breakpointOrigin2.l,
|
|
3877
|
-
// 1366px
|
|
3878
|
-
xl: breakpointOrigin2.xl
|
|
3879
|
-
// 1536px
|
|
3880
|
-
};
|
|
3881
|
-
var Container = forwardRef29(/* @__PURE__ */ __name(function Container2({ size = "l", style, maxWidth, ...boxProps }, ref) {
|
|
3882
|
-
const containerStyle = {
|
|
3883
|
-
width: "100%",
|
|
3884
|
-
marginInline: "auto"
|
|
3885
|
-
};
|
|
3886
|
-
return /* @__PURE__ */ jsx43(
|
|
3887
|
-
Box,
|
|
3888
|
-
{
|
|
3889
|
-
ref,
|
|
3890
|
-
maxWidth: maxWidth ?? SIZE_MAX_WIDTH[size],
|
|
3891
|
-
style: { ...containerStyle, ...style },
|
|
3892
|
-
...boxProps
|
|
3893
|
-
}
|
|
3894
|
-
);
|
|
3895
|
-
}, "Container"));
|
|
3553
|
+
import { Container } from "@radix-ui/themes";
|
|
3896
3554
|
|
|
3897
3555
|
// src/components/Section/index.tsx
|
|
3898
|
-
import {
|
|
3899
|
-
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
3900
|
-
var Section = forwardRef30(/* @__PURE__ */ __name(function Section2({ size = "section-400", py, as = "section", ...boxProps }, ref) {
|
|
3901
|
-
return /* @__PURE__ */ jsx44(Box, { ref, as, py: py ?? size, ...boxProps });
|
|
3902
|
-
}, "Section"));
|
|
3556
|
+
import { Section } from "@radix-ui/themes";
|
|
3903
3557
|
export {
|
|
3904
3558
|
AlertDialog,
|
|
3905
3559
|
Avatar,
|
|
@@ -3917,8 +3571,6 @@ export {
|
|
|
3917
3571
|
DefaultButton,
|
|
3918
3572
|
Dialog,
|
|
3919
3573
|
Display,
|
|
3920
|
-
FLEX_ALIGN,
|
|
3921
|
-
FLEX_JUSTIFY,
|
|
3922
3574
|
Flex,
|
|
3923
3575
|
Grid,
|
|
3924
3576
|
Heading,
|
|
@@ -3954,9 +3606,6 @@ export {
|
|
|
3954
3606
|
arrayToStyleObject,
|
|
3955
3607
|
isEmptyObject,
|
|
3956
3608
|
objectToArray,
|
|
3957
|
-
gapTok as resolveGapToken,
|
|
3958
|
-
resolveLayoutStyle,
|
|
3959
3609
|
rootMediaStyle,
|
|
3960
|
-
splitLayoutProps,
|
|
3961
3610
|
toast
|
|
3962
3611
|
};
|