@liner-fe/prism 3.6.3 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.css +941 -970
- package/lib/index.d.ts +14 -288
- package/lib/index.js +437 -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,35 @@ 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 { Box } from "@radix-ui/themes";
|
|
84
|
+
|
|
85
|
+
// src/components/Flex/index.tsx
|
|
86
|
+
import { Flex } from "@radix-ui/themes";
|
|
87
|
+
|
|
88
|
+
// src/components/Loading/index.tsx
|
|
82
89
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
83
90
|
var Loading = /* @__PURE__ */ __name(({ type = "dots", ...props }) => {
|
|
84
91
|
return type === "dots" ? /* @__PURE__ */ jsx(DotsLoader, { ...props }) : /* @__PURE__ */ jsx(SpinnerLoader, { ...props });
|
|
@@ -94,22 +101,22 @@ var dotsLoaderVariants = cva({
|
|
|
94
101
|
xs: style_module_default2["xs"]
|
|
95
102
|
},
|
|
96
103
|
level: {
|
|
97
|
-
"brand-
|
|
98
|
-
"neutral-
|
|
99
|
-
"neutral-
|
|
100
|
-
"neutral-
|
|
101
|
-
"inverse-
|
|
102
|
-
"inverse-
|
|
103
|
-
"inverse-
|
|
104
|
+
"label-brand-base": style_module_default2["label-brand-base"],
|
|
105
|
+
"label-neutral-base": style_module_default2["label-neutral-base"],
|
|
106
|
+
"label-neutral-secondary": style_module_default2["label-neutral-secondary"],
|
|
107
|
+
"label-neutral-static": style_module_default2["label-neutral-static"],
|
|
108
|
+
"label-on-inverse-base": style_module_default2["label-on-inverse-base"],
|
|
109
|
+
"label-on-inverse-secondary": style_module_default2["label-on-inverse-secondary"],
|
|
110
|
+
"label-on-inverse-static-base": style_module_default2["label-on-inverse-static-base"]
|
|
104
111
|
}
|
|
105
112
|
}
|
|
106
113
|
});
|
|
107
114
|
var DotsLoader = /* @__PURE__ */ __name(({
|
|
108
115
|
size = "m",
|
|
109
|
-
level = "inverse-
|
|
116
|
+
level = "label-on-inverse-static-base",
|
|
110
117
|
...props
|
|
111
118
|
}) => {
|
|
112
|
-
return /* @__PURE__ */ jsxs(
|
|
119
|
+
return /* @__PURE__ */ jsxs(Flex, { ...props, children: [
|
|
113
120
|
/* @__PURE__ */ jsx("div", { className: dotsLoaderVariants({ size, level }) }),
|
|
114
121
|
/* @__PURE__ */ jsx("div", { className: dotsLoaderVariants({ size, level }) }),
|
|
115
122
|
/* @__PURE__ */ jsx("div", { className: dotsLoaderVariants({ size, level }) })
|
|
@@ -126,19 +133,19 @@ var spinnerLoaderVariants = cva({
|
|
|
126
133
|
xs: style_module_default2["xs"]
|
|
127
134
|
},
|
|
128
135
|
level: {
|
|
129
|
-
"brand-
|
|
130
|
-
"neutral-
|
|
131
|
-
"neutral-
|
|
132
|
-
"neutral-
|
|
133
|
-
"inverse-
|
|
134
|
-
"inverse-
|
|
135
|
-
"inverse-
|
|
136
|
+
"label-brand-base": style_module_default2["label-brand-base"],
|
|
137
|
+
"label-neutral-base": style_module_default2["label-neutral-base"],
|
|
138
|
+
"label-neutral-secondary": style_module_default2["label-neutral-secondary"],
|
|
139
|
+
"label-neutral-static": style_module_default2["label-neutral-static"],
|
|
140
|
+
"label-on-inverse-base": style_module_default2["label-on-inverse-base"],
|
|
141
|
+
"label-on-inverse-static-base": style_module_default2["label-on-inverse-static-base"],
|
|
142
|
+
"label-on-inverse-secondary": style_module_default2["label-on-inverse-secondary"]
|
|
136
143
|
}
|
|
137
144
|
}
|
|
138
145
|
});
|
|
139
146
|
var SpinnerLoader = /* @__PURE__ */ __name(({
|
|
140
147
|
size = "m",
|
|
141
|
-
level = "inverse-
|
|
148
|
+
level = "label-on-inverse-static-base",
|
|
142
149
|
...props
|
|
143
150
|
}) => {
|
|
144
151
|
return /* @__PURE__ */ jsx("span", { className: spinnerLoaderVariants({ size, level }), ...props });
|
|
@@ -164,24 +171,24 @@ var buttonIconSizeMap = {
|
|
|
164
171
|
s: "xs"
|
|
165
172
|
};
|
|
166
173
|
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-
|
|
174
|
+
primary: "label-on-inverse-static-base",
|
|
175
|
+
secondary: "label-brand-base",
|
|
176
|
+
tertiary: "label-neutral-base",
|
|
177
|
+
quaternary: "label-neutral-base",
|
|
178
|
+
quinary: "label-neutral-secondary",
|
|
179
|
+
negative: "label-on-inverse-static-base",
|
|
180
|
+
static: "label-neutral-static",
|
|
181
|
+
"inverse-static": "label-on-inverse-static-base"
|
|
175
182
|
};
|
|
176
183
|
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-
|
|
184
|
+
primary: "label-on-inverse-static-base",
|
|
185
|
+
secondary: "label-brand-base",
|
|
186
|
+
tertiary: "label-neutral-base",
|
|
187
|
+
quaternary: "label-neutral-base",
|
|
188
|
+
quinary: "label-neutral-secondary",
|
|
189
|
+
negative: "label-on-inverse-static-base",
|
|
190
|
+
static: "label-neutral-static",
|
|
191
|
+
"inverse-static": "label-on-inverse-static-base"
|
|
185
192
|
};
|
|
186
193
|
var defaultButtonVariants = cva2({
|
|
187
194
|
base: style_module_default.button,
|
|
@@ -220,14 +227,14 @@ var defaultButtonChildrenVariants = cva2({
|
|
|
220
227
|
}
|
|
221
228
|
});
|
|
222
229
|
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-
|
|
230
|
+
primary: "control-fill-brand",
|
|
231
|
+
secondary: "label-on-inverse-base",
|
|
232
|
+
tertiary: "label-on-inverse-base",
|
|
233
|
+
quaternary: "label-on-inverse-base",
|
|
234
|
+
quinary: "label-on-inverse-base",
|
|
235
|
+
negative: "negative-base",
|
|
236
|
+
static: "label-on-inverse-static-base",
|
|
237
|
+
"inverse-static": "surface-inverse-static-high"
|
|
231
238
|
};
|
|
232
239
|
var DefaultButton = forwardRef(
|
|
233
240
|
({
|
|
@@ -353,7 +360,7 @@ var Paragraph = forwardRef2(
|
|
|
353
360
|
weight,
|
|
354
361
|
className,
|
|
355
362
|
children,
|
|
356
|
-
color = "neutral-
|
|
363
|
+
color: color2 = "label-neutral-base",
|
|
357
364
|
as: Element = "p",
|
|
358
365
|
...rest
|
|
359
366
|
}, ref) => {
|
|
@@ -364,7 +371,7 @@ var Paragraph = forwardRef2(
|
|
|
364
371
|
className: clsx2(`lp-sys-typo-paragraph${size}-${type}-${weight}`, className),
|
|
365
372
|
ref,
|
|
366
373
|
style: {
|
|
367
|
-
color: `var(--${
|
|
374
|
+
color: `var(--${color2})`,
|
|
368
375
|
...rest.style
|
|
369
376
|
},
|
|
370
377
|
children
|
|
@@ -382,20 +389,20 @@ import {
|
|
|
382
389
|
|
|
383
390
|
// src/components/Toast/style.module.scss
|
|
384
391
|
var style_module_default3 = {
|
|
385
|
-
"Root": "
|
|
386
|
-
"Icon": "
|
|
387
|
-
"Content": "
|
|
388
|
-
"Actions": "
|
|
389
|
-
"Spinner": "
|
|
390
|
-
"lds-spinner": "_lds-
|
|
392
|
+
"Root": "_Root_147e2_1",
|
|
393
|
+
"Icon": "_Icon_147e2_24",
|
|
394
|
+
"Content": "_Content_147e2_33",
|
|
395
|
+
"Actions": "_Actions_147e2_45",
|
|
396
|
+
"Spinner": "_Spinner_147e2_52",
|
|
397
|
+
"lds-spinner": "_lds-spinner_147e2_1"
|
|
391
398
|
};
|
|
392
399
|
|
|
393
400
|
// src/components/Toast/ToastContent.tsx
|
|
394
401
|
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
395
402
|
var iconMap = {
|
|
396
|
-
success: { icon: IconCheckMarkFill, props: { type: "
|
|
397
|
-
error: { icon: IconCloseFill, props: { type: "
|
|
398
|
-
caution: { icon: IconExclamationmarkFill, props: { type: "
|
|
403
|
+
success: { icon: IconCheckMarkFill, props: { type: "positive-base" } },
|
|
404
|
+
error: { icon: IconCloseFill, props: { type: "negative-base" } },
|
|
405
|
+
caution: { icon: IconExclamationmarkFill, props: { type: "caution" } }
|
|
399
406
|
};
|
|
400
407
|
var SPINNER_SPOKE_COUNT = 12;
|
|
401
408
|
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 +419,17 @@ var ToastContent = /* @__PURE__ */ __name(({ toastId, title, description, type,
|
|
|
412
419
|
children: [
|
|
413
420
|
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
421
|
/* @__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(
|
|
422
|
+
/* @__PURE__ */ jsx4(Paragraph, { type: "normal", weight: "medium", size: 3, color: "label-on-inverse-static-base", children: title }),
|
|
423
|
+
description && /* @__PURE__ */ jsx4(
|
|
424
|
+
Paragraph,
|
|
425
|
+
{
|
|
426
|
+
type: "normal",
|
|
427
|
+
weight: "regular",
|
|
428
|
+
size: 4,
|
|
429
|
+
color: "label-on-inverse-static-secondary",
|
|
430
|
+
children: description
|
|
431
|
+
}
|
|
432
|
+
)
|
|
417
433
|
] }),
|
|
418
434
|
action && /* @__PURE__ */ jsx4("div", { className: style_module_default3.Actions, children: /* @__PURE__ */ jsx4(
|
|
419
435
|
Button,
|
|
@@ -506,7 +522,7 @@ import { forwardRef as forwardRef3 } from "react";
|
|
|
506
522
|
import clsx3 from "clsx";
|
|
507
523
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
508
524
|
var Heading = forwardRef3(
|
|
509
|
-
({ size, children, type, className, color = "neutral-
|
|
525
|
+
({ size, children, type, className, color: color2 = "label-neutral-base", as, ...rest }, ref) => {
|
|
510
526
|
const Element = as || `h${size}`;
|
|
511
527
|
return /* @__PURE__ */ jsx6(
|
|
512
528
|
Element,
|
|
@@ -515,7 +531,7 @@ var Heading = forwardRef3(
|
|
|
515
531
|
className: clsx3(`lp-sys-typo-heading${size}-${type}`, className),
|
|
516
532
|
ref,
|
|
517
533
|
style: {
|
|
518
|
-
color: `var(--${
|
|
534
|
+
color: `var(--${color2})`,
|
|
519
535
|
...rest.style
|
|
520
536
|
},
|
|
521
537
|
children
|
|
@@ -543,7 +559,7 @@ var Caption = forwardRef4(
|
|
|
543
559
|
weight,
|
|
544
560
|
type,
|
|
545
561
|
className,
|
|
546
|
-
color = "neutral-
|
|
562
|
+
color: color2 = "label-neutral-base",
|
|
547
563
|
as: Element = "p",
|
|
548
564
|
...rest
|
|
549
565
|
}, ref) => {
|
|
@@ -554,7 +570,7 @@ var Caption = forwardRef4(
|
|
|
554
570
|
className: clsx4(`lp-sys-typo-caption${size}-${type}-${weight}`, style_module_default4.caption, className),
|
|
555
571
|
ref,
|
|
556
572
|
style: {
|
|
557
|
-
color: `var(--${
|
|
573
|
+
color: `var(--${color2})`,
|
|
558
574
|
...rest.style
|
|
559
575
|
},
|
|
560
576
|
children
|
|
@@ -575,7 +591,7 @@ var Title = forwardRef5(
|
|
|
575
591
|
type,
|
|
576
592
|
className,
|
|
577
593
|
children,
|
|
578
|
-
color = "neutral-
|
|
594
|
+
color: color2 = "label-neutral-base",
|
|
579
595
|
as: Element = "p",
|
|
580
596
|
...rest
|
|
581
597
|
}, ref) => {
|
|
@@ -586,7 +602,7 @@ var Title = forwardRef5(
|
|
|
586
602
|
className: clsx5(`lp-sys-typo-title${size}-${type}-${weight}`, className),
|
|
587
603
|
ref,
|
|
588
604
|
style: {
|
|
589
|
-
color: `var(--${
|
|
605
|
+
color: `var(--${color2})`,
|
|
590
606
|
...rest.style
|
|
591
607
|
},
|
|
592
608
|
children
|
|
@@ -606,7 +622,7 @@ var Display = forwardRef6(
|
|
|
606
622
|
weight,
|
|
607
623
|
className,
|
|
608
624
|
children,
|
|
609
|
-
color = "neutral-
|
|
625
|
+
color: color2 = "label-neutral-base",
|
|
610
626
|
as: Element = "p",
|
|
611
627
|
...rest
|
|
612
628
|
}, ref) => {
|
|
@@ -617,7 +633,7 @@ var Display = forwardRef6(
|
|
|
617
633
|
ref,
|
|
618
634
|
className: clsx6(`lp-sys-typo-display${size}-${type}-${weight}`, className),
|
|
619
635
|
style: {
|
|
620
|
-
color: `var(--${
|
|
636
|
+
color: `var(--${color2})`,
|
|
621
637
|
...rest.style
|
|
622
638
|
},
|
|
623
639
|
children
|
|
@@ -722,19 +738,17 @@ import { Popover as PopoverPrimitive } from "radix-ui";
|
|
|
722
738
|
|
|
723
739
|
// src/components/Popover/style.module.scss
|
|
724
740
|
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"
|
|
741
|
+
"content": "_content_1wodt_1",
|
|
742
|
+
"anchor": "_anchor_1wodt_7",
|
|
743
|
+
"primary": "_primary_1wodt_10",
|
|
744
|
+
"secondary": "_secondary_1wodt_16",
|
|
745
|
+
"contentContainer": "_contentContainer_1wodt_31",
|
|
746
|
+
"tag": "_tag_1wodt_39",
|
|
747
|
+
"title": "_title_1wodt_50",
|
|
748
|
+
"description": "_description_1wodt_55",
|
|
749
|
+
"arrow": "_arrow_1wodt_61",
|
|
750
|
+
"closeButton": "_closeButton_1wodt_65",
|
|
751
|
+
"overlay": "_overlay_1wodt_77"
|
|
738
752
|
};
|
|
739
753
|
|
|
740
754
|
// src/components/Popover/index.tsx
|
|
@@ -766,7 +780,6 @@ var popoverTitleVariants = cva3({ base: [style_module_default5.title, "lp-sys-ty
|
|
|
766
780
|
var popoverDescriptionVariants = cva3({
|
|
767
781
|
base: [style_module_default5.description, "lp-sys-typo-caption1-normal-regular"]
|
|
768
782
|
});
|
|
769
|
-
var popoverFooterVariants = cva3({ base: [style_module_default5.footer, "lp-sys-typo-caption1-normal-medium"] });
|
|
770
783
|
var PopoverRoot = /* @__PURE__ */ __name(({ isOpen, children, onChange }) => /* @__PURE__ */ jsx11(PopoverPrimitive.Root, { open: isOpen, onOpenChange: onChange, children }), "PopoverRoot");
|
|
771
784
|
var PopoverTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx11(PopoverPrimitive.Trigger, { asChild: true, children: by }), "PopoverTrigger");
|
|
772
785
|
var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ jsx11(
|
|
@@ -820,7 +833,7 @@ var PopoverContent = React3.forwardRef(
|
|
|
820
833
|
...props,
|
|
821
834
|
children: [
|
|
822
835
|
/* @__PURE__ */ jsxs4("div", { className: style_module_default5.contentContainer, children: [
|
|
823
|
-
(tag || icon || onClose) && /* @__PURE__ */ jsxs4(
|
|
836
|
+
(tag || icon || onClose) && /* @__PURE__ */ jsxs4(Flex, { align: "start", gap: "6px", children: [
|
|
824
837
|
tag && /* @__PURE__ */ jsx11("span", { className: popoverTagVariants(), children: tag }),
|
|
825
838
|
icon && /* @__PURE__ */ jsx11(icon.icon, { size: "xs", fill: icon.fill }),
|
|
826
839
|
/* @__PURE__ */ jsx11("p", { className: popoverTitleVariants(), children: title }),
|
|
@@ -831,12 +844,12 @@ var PopoverContent = React3.forwardRef(
|
|
|
831
844
|
onClick: () => {
|
|
832
845
|
onClose();
|
|
833
846
|
},
|
|
834
|
-
children: /* @__PURE__ */ jsx11(IconCloseFill2, { size: "s", fill: true, type: "neutral-
|
|
847
|
+
children: /* @__PURE__ */ jsx11(IconCloseFill2, { size: "s", fill: true, type: "label-neutral-static" })
|
|
835
848
|
}
|
|
836
849
|
)
|
|
837
850
|
] }),
|
|
838
851
|
description && /* @__PURE__ */ jsx11("p", { className: popoverDescriptionVariants(), children: description }),
|
|
839
|
-
onConfirm && /* @__PURE__ */ jsx11("
|
|
852
|
+
onConfirm && /* @__PURE__ */ jsx11(Flex, { justify: "end", width: "100%", className: "lp-sys-typo-caption1-normal-medium", children: /* @__PURE__ */ jsx11(
|
|
840
853
|
Button,
|
|
841
854
|
{
|
|
842
855
|
level: "static",
|
|
@@ -869,8 +882,8 @@ import { forwardRef as forwardRef8 } from "react";
|
|
|
869
882
|
|
|
870
883
|
// src/components/Tooltip/style.module.scss
|
|
871
884
|
var style_module_default6 = {
|
|
872
|
-
"tooltip": "
|
|
873
|
-
"tooltipContent": "
|
|
885
|
+
"tooltip": "_tooltip_1by3q_1",
|
|
886
|
+
"tooltipContent": "_tooltipContent_1by3q_10"
|
|
874
887
|
};
|
|
875
888
|
|
|
876
889
|
// src/components/Tooltip/index.tsx
|
|
@@ -917,18 +930,18 @@ import clsx9 from "clsx";
|
|
|
917
930
|
|
|
918
931
|
// src/components/IconButton/style.module.scss
|
|
919
932
|
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": "
|
|
933
|
+
"iconButton": "_iconButton_g5kt8_1",
|
|
934
|
+
"primary": "_primary_g5kt8_13",
|
|
935
|
+
"loading": "_loading_g5kt8_19",
|
|
936
|
+
"secondary": "_secondary_g5kt8_23",
|
|
937
|
+
"tertiary": "_tertiary_g5kt8_34",
|
|
938
|
+
"quaternary": "_quaternary_g5kt8_45",
|
|
939
|
+
"quinary": "_quinary_g5kt8_52",
|
|
940
|
+
"static": "_static_g5kt8_60",
|
|
941
|
+
"inverse-static": "_inverse-static_g5kt8_67",
|
|
942
|
+
"l": "_l_g5kt8_19",
|
|
943
|
+
"m": "_m_g5kt8_80",
|
|
944
|
+
"s": "_s_g5kt8_23"
|
|
932
945
|
};
|
|
933
946
|
|
|
934
947
|
// src/components/IconButton/index.tsx
|
|
@@ -951,32 +964,32 @@ var iconButtonSizeIconSizeMap = {
|
|
|
951
964
|
s: "xs"
|
|
952
965
|
};
|
|
953
966
|
var iconButtonLoadingLevelMap = {
|
|
954
|
-
primary: "inverse-
|
|
955
|
-
secondary: "brand-
|
|
956
|
-
tertiary: "neutral-
|
|
957
|
-
quaternary: "neutral-
|
|
958
|
-
quinary: "neutral-
|
|
959
|
-
static: "neutral-
|
|
960
|
-
"inverse-static": "inverse-
|
|
967
|
+
primary: "label-on-inverse-static-base",
|
|
968
|
+
secondary: "label-brand-base",
|
|
969
|
+
tertiary: "label-neutral-base",
|
|
970
|
+
quaternary: "label-neutral-base",
|
|
971
|
+
quinary: "label-neutral-secondary",
|
|
972
|
+
static: "label-neutral-static",
|
|
973
|
+
"inverse-static": "label-on-inverse-static-base"
|
|
961
974
|
};
|
|
962
975
|
var iconButtonLevelIconTypeMap = {
|
|
963
976
|
disabled: {
|
|
964
|
-
primary: "neutral-
|
|
965
|
-
secondary: "neutral-
|
|
966
|
-
tertiary: "neutral-
|
|
967
|
-
quaternary: "neutral-
|
|
968
|
-
quinary: "neutral-
|
|
969
|
-
static: "neutral-
|
|
970
|
-
"inverse-static": "inverse-
|
|
977
|
+
primary: "label-neutral-tertiary",
|
|
978
|
+
secondary: "label-neutral-tertiary",
|
|
979
|
+
tertiary: "label-neutral-tertiary",
|
|
980
|
+
quaternary: "label-neutral-quaternary",
|
|
981
|
+
quinary: "label-neutral-quaternary",
|
|
982
|
+
static: "label-neutral-tertiary",
|
|
983
|
+
"inverse-static": "label-on-inverse-tertiary"
|
|
971
984
|
},
|
|
972
985
|
enabled: {
|
|
973
|
-
primary: "inverse-
|
|
974
|
-
secondary: "brand-
|
|
975
|
-
tertiary: "neutral-
|
|
976
|
-
quaternary: "neutral-
|
|
977
|
-
quinary: "neutral-
|
|
978
|
-
static: "neutral-
|
|
979
|
-
"inverse-static": "inverse-
|
|
986
|
+
primary: "label-on-inverse-static-base",
|
|
987
|
+
secondary: "label-brand-base",
|
|
988
|
+
tertiary: "label-neutral-base",
|
|
989
|
+
quaternary: "label-neutral-base",
|
|
990
|
+
quinary: "label-neutral-secondary",
|
|
991
|
+
static: "label-neutral-static",
|
|
992
|
+
"inverse-static": "label-on-inverse-static-base"
|
|
980
993
|
}
|
|
981
994
|
};
|
|
982
995
|
var iconButtonVariants = cva5({
|
|
@@ -999,13 +1012,13 @@ var iconButtonVariants = cva5({
|
|
|
999
1012
|
}
|
|
1000
1013
|
});
|
|
1001
1014
|
var fillTypeMap2 = {
|
|
1002
|
-
primary: "
|
|
1003
|
-
secondary: "inverse-
|
|
1004
|
-
tertiary: "inverse-
|
|
1005
|
-
quaternary: "inverse-
|
|
1006
|
-
quinary: "inverse-
|
|
1007
|
-
static: "inverse-
|
|
1008
|
-
"inverse-static": "neutral-
|
|
1015
|
+
primary: "control-fill-brand",
|
|
1016
|
+
secondary: "label-on-inverse-base",
|
|
1017
|
+
tertiary: "label-on-inverse-base",
|
|
1018
|
+
quaternary: "label-on-inverse-base",
|
|
1019
|
+
quinary: "label-on-inverse-base",
|
|
1020
|
+
static: "label-on-inverse-static-base",
|
|
1021
|
+
"inverse-static": "label-neutral-static"
|
|
1009
1022
|
};
|
|
1010
1023
|
var IconButton = forwardRef9(
|
|
1011
1024
|
({
|
|
@@ -1057,12 +1070,11 @@ import { Checkbox as CheckboxPrimitive } from "radix-ui";
|
|
|
1057
1070
|
|
|
1058
1071
|
// src/components/CheckBox/style.module.scss
|
|
1059
1072
|
var style_module_default8 = {
|
|
1060
|
-
"checkbox": "
|
|
1061
|
-
"checkbox-indicator": "_checkbox-
|
|
1062
|
-
"icon-minus": "_icon-
|
|
1063
|
-
"icon-check": "_icon-
|
|
1064
|
-
"
|
|
1065
|
-
"description": "_description_1vnvk_59"
|
|
1073
|
+
"checkbox": "_checkbox_1b81r_1",
|
|
1074
|
+
"checkbox-indicator": "_checkbox-indicator_1b81r_39",
|
|
1075
|
+
"icon-minus": "_icon-minus_1b81r_46",
|
|
1076
|
+
"icon-check": "_icon-check_1b81r_49",
|
|
1077
|
+
"description": "_description_1b81r_53"
|
|
1066
1078
|
};
|
|
1067
1079
|
|
|
1068
1080
|
// src/components/CheckBox/index.tsx
|
|
@@ -1076,19 +1088,19 @@ import clsx10 from "clsx";
|
|
|
1076
1088
|
|
|
1077
1089
|
// src/components/Label/style.module.scss
|
|
1078
1090
|
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": "
|
|
1091
|
+
"label": "_label_d3opl_1",
|
|
1092
|
+
"error": "_error_d3opl_12",
|
|
1093
|
+
"primary": "_primary_d3opl_16",
|
|
1094
|
+
"secondary": "_secondary_d3opl_27",
|
|
1095
|
+
"top": "_top_d3opl_38",
|
|
1096
|
+
"l": "_l_d3opl_1",
|
|
1097
|
+
"offset-high": "_offset-high_d3opl_41",
|
|
1098
|
+
"offset-medium": "_offset-medium_d3opl_44",
|
|
1099
|
+
"offset-low": "_offset-low_d3opl_47",
|
|
1100
|
+
"m": "_m_d3opl_50",
|
|
1101
|
+
"s": "_s_d3opl_27",
|
|
1102
|
+
"right": "_right_d3opl_69",
|
|
1103
|
+
"disabled": "_disabled_d3opl_91"
|
|
1092
1104
|
};
|
|
1093
1105
|
|
|
1094
1106
|
// src/components/Label/index.tsx
|
|
@@ -1155,15 +1167,15 @@ import { Fragment as Fragment4, jsx as jsx15, jsxs as jsxs5 } from "react/jsx-ru
|
|
|
1155
1167
|
var Checkbox = forwardRef11(
|
|
1156
1168
|
({ className, label, description, ...props }, ref) => {
|
|
1157
1169
|
const CheckboxWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ jsxs5(Label, { position: "right", htmlFor: props.id, children: [
|
|
1158
|
-
/* @__PURE__ */ jsxs5(
|
|
1170
|
+
/* @__PURE__ */ jsxs5(Flex, { direction: "column", gap: "2", children: [
|
|
1159
1171
|
/* @__PURE__ */ jsx15(Paragraph, { type: "normal", weight: "medium", size: 3, children: label }),
|
|
1160
1172
|
description && /* @__PURE__ */ jsx15(Paragraph, { className: style_module_default8.description, size: 3, type: "normal", weight: "regular", children: description })
|
|
1161
1173
|
] }),
|
|
1162
1174
|
children
|
|
1163
1175
|
] }) : /* @__PURE__ */ jsx15(Fragment4, { children }), "CheckboxWrapper");
|
|
1164
1176
|
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-
|
|
1177
|
+
/* @__PURE__ */ jsx15(IconCheckMark, { size: "xs", type: "label-on-inverse-base", className: style_module_default8["icon-check"] }),
|
|
1178
|
+
/* @__PURE__ */ jsx15(IconMinus, { size: "xs", type: "label-on-inverse-base", className: style_module_default8["icon-minus"] })
|
|
1167
1179
|
] }) }) });
|
|
1168
1180
|
}
|
|
1169
1181
|
);
|
|
@@ -1175,10 +1187,10 @@ import { forwardRef as forwardRef12 } from "react";
|
|
|
1175
1187
|
|
|
1176
1188
|
// src/components/Radio/style.module.scss
|
|
1177
1189
|
var style_module_default10 = {
|
|
1178
|
-
"radio-item": "_radio-
|
|
1179
|
-
"indicator": "
|
|
1180
|
-
"label-wrapper": "_label-
|
|
1181
|
-
"description": "
|
|
1190
|
+
"radio-item": "_radio-item_k6avh_1",
|
|
1191
|
+
"indicator": "_indicator_k6avh_44",
|
|
1192
|
+
"label-wrapper": "_label-wrapper_k6avh_50",
|
|
1193
|
+
"description": "_description_k6avh_60"
|
|
1182
1194
|
};
|
|
1183
1195
|
|
|
1184
1196
|
// src/components/Radio/index.tsx
|
|
@@ -1223,24 +1235,24 @@ import {
|
|
|
1223
1235
|
|
|
1224
1236
|
// src/components/Textfield/style.module.scss
|
|
1225
1237
|
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": "
|
|
1238
|
+
"textfield-container": "_textfield-container_kqt1z_1",
|
|
1239
|
+
"textfield": "_textfield_kqt1z_1",
|
|
1240
|
+
"label": "_label_kqt1z_10",
|
|
1241
|
+
"input": "_input_kqt1z_28",
|
|
1242
|
+
"footer": "_footer_kqt1z_40",
|
|
1243
|
+
"error-wrapper": "_error-wrapper_kqt1z_40",
|
|
1244
|
+
"error-message": "_error-message_kqt1z_40",
|
|
1245
|
+
"label-out-textfield": "_label-out-textfield_kqt1z_63",
|
|
1246
|
+
"white": "_white_kqt1z_67",
|
|
1247
|
+
"gray": "_gray_kqt1z_70",
|
|
1248
|
+
"label-in": "_label-in_kqt1z_82",
|
|
1249
|
+
"label-out": "_label-out_kqt1z_63",
|
|
1250
|
+
"label-visually-hidden": "_label-visually-hidden_kqt1z_93",
|
|
1251
|
+
"input-wrapper": "_input-wrapper_kqt1z_104",
|
|
1252
|
+
"label-out-input": "_label-out-input_kqt1z_148",
|
|
1253
|
+
"input-action-buttons": "_input-action-buttons_kqt1z_152",
|
|
1254
|
+
"action-button": "_action-button_kqt1z_158",
|
|
1255
|
+
"character": "_character_kqt1z_183"
|
|
1244
1256
|
};
|
|
1245
1257
|
|
|
1246
1258
|
// src/components/Textfield/index.tsx
|
|
@@ -1258,8 +1270,8 @@ var defaultTextfieldVariants = cva7({
|
|
|
1258
1270
|
base: style_module_default11.textfield,
|
|
1259
1271
|
variants: {
|
|
1260
1272
|
color: {
|
|
1261
|
-
"neutral-
|
|
1262
|
-
"neutral-
|
|
1273
|
+
"surface-neutral-mid": style_module_default11.gray,
|
|
1274
|
+
"surface-neutral-lowest": style_module_default11.white
|
|
1263
1275
|
}
|
|
1264
1276
|
}
|
|
1265
1277
|
});
|
|
@@ -1274,7 +1286,7 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1274
1286
|
error,
|
|
1275
1287
|
disabled,
|
|
1276
1288
|
button: buttonProps,
|
|
1277
|
-
color = "neutral-
|
|
1289
|
+
color: color2 = "surface-neutral-lowest",
|
|
1278
1290
|
onChange,
|
|
1279
1291
|
onClear,
|
|
1280
1292
|
...rest
|
|
@@ -1337,7 +1349,7 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1337
1349
|
/* @__PURE__ */ jsx17(
|
|
1338
1350
|
"div",
|
|
1339
1351
|
{
|
|
1340
|
-
className: clsx13(defaultTextfieldVariants({ color }), {
|
|
1352
|
+
className: clsx13(defaultTextfieldVariants({ color: color2 }), {
|
|
1341
1353
|
[style_module_default11["label-out-textfield"]]: !label || labelType === "out"
|
|
1342
1354
|
}),
|
|
1343
1355
|
onClick: handleTextfieldClick,
|
|
@@ -1420,14 +1432,14 @@ var Textfield = forwardRef13((props, ref) => {
|
|
|
1420
1432
|
"aria-atomic": "true",
|
|
1421
1433
|
className: style_module_default11["error-wrapper"],
|
|
1422
1434
|
children: error && /* @__PURE__ */ jsxs7(Fragment6, { children: [
|
|
1423
|
-
/* @__PURE__ */ jsx17(IconExclamationmarkFill2, { fill: true, size: "xs", type: "
|
|
1435
|
+
/* @__PURE__ */ jsx17(IconExclamationmarkFill2, { fill: true, size: "xs", type: "negative-base" }),
|
|
1424
1436
|
/* @__PURE__ */ jsx17(
|
|
1425
1437
|
Caption,
|
|
1426
1438
|
{
|
|
1427
1439
|
size: 3,
|
|
1428
1440
|
type: "normal",
|
|
1429
1441
|
weight: "regular",
|
|
1430
|
-
color: "
|
|
1442
|
+
color: "negative-base",
|
|
1431
1443
|
className: style_module_default11["error-message"],
|
|
1432
1444
|
children: error
|
|
1433
1445
|
}
|
|
@@ -1459,40 +1471,40 @@ import { IconInfo, IconArrowChevronDown, IconCheckMark as IconCheckMark2 } from
|
|
|
1459
1471
|
|
|
1460
1472
|
// src/components/ListItem/style.module.scss
|
|
1461
1473
|
var style_module_default12 = {
|
|
1462
|
-
"root": "
|
|
1463
|
-
"label": "
|
|
1464
|
-
"main": "
|
|
1465
|
-
"labelRow": "
|
|
1466
|
-
"labelEnd": "
|
|
1467
|
-
"description": "
|
|
1474
|
+
"root": "_root_1vpbz_9",
|
|
1475
|
+
"label": "_label_1vpbz_6",
|
|
1476
|
+
"main": "_main_1vpbz_6",
|
|
1477
|
+
"labelRow": "_labelRow_1vpbz_6",
|
|
1478
|
+
"labelEnd": "_labelEnd_1vpbz_6",
|
|
1479
|
+
"description": "_description_1vpbz_6"
|
|
1468
1480
|
};
|
|
1469
1481
|
|
|
1470
1482
|
// src/components/ListItem/primitive/style.module.scss
|
|
1471
1483
|
var style_module_default13 = {
|
|
1472
|
-
"root": "
|
|
1484
|
+
"root": "_root_1cic3_2"
|
|
1473
1485
|
};
|
|
1474
1486
|
|
|
1475
1487
|
// src/components/Select/style.module.scss
|
|
1476
1488
|
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": "
|
|
1489
|
+
"root": "_root_g2jm0_3",
|
|
1490
|
+
"label": "_label_g2jm0_35",
|
|
1491
|
+
"requiredMark": "_requiredMark_g2jm0_40",
|
|
1492
|
+
"srOnly": "_srOnly_g2jm0_45",
|
|
1493
|
+
"trigger": "_trigger_g2jm0_58",
|
|
1494
|
+
"icon": "_icon_g2jm0_94",
|
|
1495
|
+
"triggerButton": "_triggerButton_g2jm0_159",
|
|
1496
|
+
"errorMessage": "_errorMessage_g2jm0_203",
|
|
1497
|
+
"errorText": "_errorText_g2jm0_211",
|
|
1498
|
+
"content": "_content_g2jm0_220",
|
|
1499
|
+
"fadeScaleIn": "_fadeScaleIn_g2jm0_1",
|
|
1500
|
+
"viewport": "_viewport_g2jm0_251",
|
|
1501
|
+
"selectItem": "_selectItem_g2jm0_283",
|
|
1502
|
+
"primitiveItem": "_primitiveItem_g2jm0_336",
|
|
1503
|
+
"itemLabel": "_itemLabel_g2jm0_341",
|
|
1504
|
+
"itemIndicator": "_itemIndicator_g2jm0_346",
|
|
1505
|
+
"trailingSlot": "_trailingSlot_g2jm0_354",
|
|
1506
|
+
"group": "_group_g2jm0_367",
|
|
1507
|
+
"groupLabel": "_groupLabel_g2jm0_382"
|
|
1496
1508
|
};
|
|
1497
1509
|
|
|
1498
1510
|
// src/components/Select/index.tsx
|
|
@@ -1531,7 +1543,7 @@ var SelectRoot = forwardRef14(
|
|
|
1531
1543
|
const hasError = !!error;
|
|
1532
1544
|
const showLabel = !isButtonTrigger && label != null;
|
|
1533
1545
|
const showErrorMessage = !isButtonTrigger && hasError && typeof error !== "boolean";
|
|
1534
|
-
const labelColor = hasError ? "
|
|
1546
|
+
const labelColor = hasError ? "negative-base" : disabled ? "label-neutral-tertiary" : "label-neutral-secondary";
|
|
1535
1547
|
return /* @__PURE__ */ jsx18(SelectInternalContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs8(
|
|
1536
1548
|
"div",
|
|
1537
1549
|
{
|
|
@@ -1562,7 +1574,7 @@ var SelectRoot = forwardRef14(
|
|
|
1562
1574
|
/* @__PURE__ */ jsxs8(RadixSelect.Root, { ...rootProps, dir, required, disabled, children: [
|
|
1563
1575
|
isButtonTrigger ? (
|
|
1564
1576
|
/* button trigger: 실제 prism Button 컴포넌트 사용 (asChild로 Radix Trigger props merge).
|
|
1565
|
-
level="tertiary"가 Figma button trigger와 매칭 — neutral-
|
|
1577
|
+
level="tertiary"가 Figma button trigger와 매칭 — surface-neutral-lowest bg + border-neutral-alpha-normal border + label-neutral-base color.
|
|
1566
1578
|
Button size: s/m/l 그대로 매핑. chevron은 rightIcon으로 전달 (rotation 미지원 — Button rightIcon은 정적 아이콘). */
|
|
1567
1579
|
/* @__PURE__ */ jsx18(
|
|
1568
1580
|
RadixSelect.Trigger,
|
|
@@ -1622,7 +1634,7 @@ var SelectRoot = forwardRef14(
|
|
|
1622
1634
|
children
|
|
1623
1635
|
] }),
|
|
1624
1636
|
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: "
|
|
1637
|
+
/* @__PURE__ */ jsx18(IconInfo, { size: "xs", type: "negative-base" }),
|
|
1626
1638
|
/* @__PURE__ */ jsx18(
|
|
1627
1639
|
Caption,
|
|
1628
1640
|
{
|
|
@@ -1630,7 +1642,7 @@ var SelectRoot = forwardRef14(
|
|
|
1630
1642
|
size: 3,
|
|
1631
1643
|
type: "normal",
|
|
1632
1644
|
weight: "regular",
|
|
1633
|
-
color: "
|
|
1645
|
+
color: "negative-base",
|
|
1634
1646
|
className: style_module_default14.errorText,
|
|
1635
1647
|
children: error
|
|
1636
1648
|
}
|
|
@@ -1674,9 +1686,9 @@ var SelectContent = forwardRef14(
|
|
|
1674
1686
|
);
|
|
1675
1687
|
SelectContent.displayName = "Select.Content";
|
|
1676
1688
|
var getItemLabelColor = /* @__PURE__ */ __name((disabled, danger) => {
|
|
1677
|
-
if (disabled) return "neutral-
|
|
1678
|
-
if (danger) return "
|
|
1679
|
-
return "neutral-
|
|
1689
|
+
if (disabled) return "label-neutral-tertiary";
|
|
1690
|
+
if (danger) return "negative-base";
|
|
1691
|
+
return "label-neutral-base";
|
|
1680
1692
|
}, "getItemLabelColor");
|
|
1681
1693
|
var SelectItem = forwardRef14(
|
|
1682
1694
|
({
|
|
@@ -1740,14 +1752,14 @@ var SelectItem = forwardRef14(
|
|
|
1740
1752
|
size: 2,
|
|
1741
1753
|
type: "normal",
|
|
1742
1754
|
weight: "regular",
|
|
1743
|
-
color: disabled ? "neutral-
|
|
1755
|
+
color: disabled ? "label-neutral-tertiary" : "label-neutral-secondary",
|
|
1744
1756
|
className: style_module_default12.description,
|
|
1745
1757
|
children: description
|
|
1746
1758
|
}
|
|
1747
1759
|
)
|
|
1748
1760
|
] }),
|
|
1749
1761
|
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-
|
|
1762
|
+
/* @__PURE__ */ jsx18(RadixSelect.ItemIndicator, { "data-zone": "trailing", className: style_module_default14.itemIndicator, children: /* @__PURE__ */ jsx18(IconCheckMark2, { size: "xs", type: "label-brand-base" }) })
|
|
1751
1763
|
]
|
|
1752
1764
|
}
|
|
1753
1765
|
);
|
|
@@ -1763,7 +1775,7 @@ var SelectGroup = forwardRef14(
|
|
|
1763
1775
|
size: 2,
|
|
1764
1776
|
type: "normal",
|
|
1765
1777
|
weight: "regular",
|
|
1766
|
-
color: "neutral-
|
|
1778
|
+
color: "label-neutral-secondary",
|
|
1767
1779
|
className: style_module_default14.groupLabel,
|
|
1768
1780
|
children: label
|
|
1769
1781
|
}
|
|
@@ -1816,7 +1828,7 @@ var SelectTrigger = forwardRef14((props, ref) => {
|
|
|
1816
1828
|
const hasError = !!error;
|
|
1817
1829
|
const showLabel = !isButtonTrigger && label != null;
|
|
1818
1830
|
const showErrorMessage = !isButtonTrigger && hasError && typeof error !== "boolean";
|
|
1819
|
-
const labelColor = hasError ? "
|
|
1831
|
+
const labelColor = hasError ? "negative-base" : disabled ? "label-neutral-tertiary" : "label-neutral-secondary";
|
|
1820
1832
|
const rootStyle = width != null ? { width: `${width}px` } : void 0;
|
|
1821
1833
|
const showingPlaceholder = triggerContent === void 0;
|
|
1822
1834
|
const display = !showingPlaceholder ? triggerContent : /* @__PURE__ */ jsx18("span", { children: placeholder });
|
|
@@ -1893,7 +1905,7 @@ var SelectTrigger = forwardRef14((props, ref) => {
|
|
|
1893
1905
|
}
|
|
1894
1906
|
),
|
|
1895
1907
|
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: "
|
|
1908
|
+
/* @__PURE__ */ jsx18(IconInfo, { size: "xs", type: "negative-base" }),
|
|
1897
1909
|
/* @__PURE__ */ jsx18(
|
|
1898
1910
|
Caption,
|
|
1899
1911
|
{
|
|
@@ -1901,7 +1913,7 @@ var SelectTrigger = forwardRef14((props, ref) => {
|
|
|
1901
1913
|
size: 3,
|
|
1902
1914
|
type: "normal",
|
|
1903
1915
|
weight: "regular",
|
|
1904
|
-
color: "
|
|
1916
|
+
color: "negative-base",
|
|
1905
1917
|
className: style_module_default14.errorText,
|
|
1906
1918
|
children: error
|
|
1907
1919
|
}
|
|
@@ -2009,9 +2021,9 @@ PrimitiveListItem.displayName = "PrimitiveListItem";
|
|
|
2009
2021
|
// src/components/ListItem/index.tsx
|
|
2010
2022
|
import { jsx as jsx21, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
2011
2023
|
var getLabelColor = /* @__PURE__ */ __name((disabled, danger) => {
|
|
2012
|
-
if (disabled) return "neutral-
|
|
2013
|
-
if (danger) return "
|
|
2014
|
-
return "neutral-
|
|
2024
|
+
if (disabled) return "label-neutral-tertiary";
|
|
2025
|
+
if (danger) return "negative-base";
|
|
2026
|
+
return "label-neutral-base";
|
|
2015
2027
|
}, "getLabelColor");
|
|
2016
2028
|
var ListItem = forwardRef16(
|
|
2017
2029
|
({
|
|
@@ -2060,7 +2072,7 @@ var ListItem = forwardRef16(
|
|
|
2060
2072
|
size: 2,
|
|
2061
2073
|
type: "normal",
|
|
2062
2074
|
weight: "regular",
|
|
2063
|
-
color: disabled ? "neutral-
|
|
2075
|
+
color: disabled ? "label-neutral-tertiary" : "label-neutral-secondary",
|
|
2064
2076
|
className: style_module_default12.description,
|
|
2065
2077
|
children: description
|
|
2066
2078
|
}
|
|
@@ -2073,10 +2085,10 @@ ListItem.displayName = "ListItem";
|
|
|
2073
2085
|
|
|
2074
2086
|
// src/components/List/style.module.scss
|
|
2075
2087
|
var style_module_default15 = {
|
|
2076
|
-
"root": "
|
|
2077
|
-
"group": "
|
|
2078
|
-
"groupLabelContainer": "
|
|
2079
|
-
"groupLabel": "
|
|
2088
|
+
"root": "_root_lgu43_2",
|
|
2089
|
+
"group": "_group_lgu43_8",
|
|
2090
|
+
"groupLabelContainer": "_groupLabelContainer_lgu43_20",
|
|
2091
|
+
"groupLabel": "_groupLabel_lgu43_20"
|
|
2080
2092
|
};
|
|
2081
2093
|
|
|
2082
2094
|
// src/components/List/index.tsx
|
|
@@ -2163,7 +2175,7 @@ var ListGroup = forwardRef17(
|
|
|
2163
2175
|
size: 2,
|
|
2164
2176
|
weight: "regular",
|
|
2165
2177
|
type: "normal",
|
|
2166
|
-
color: "neutral-
|
|
2178
|
+
color: "label-neutral-secondary",
|
|
2167
2179
|
className: style_module_default15.groupLabel,
|
|
2168
2180
|
children: label
|
|
2169
2181
|
}
|
|
@@ -2186,16 +2198,16 @@ import { cva as cva8 } from "cva";
|
|
|
2186
2198
|
|
|
2187
2199
|
// src/components/TextButton/style.module.scss
|
|
2188
2200
|
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": "
|
|
2201
|
+
"button": "_button_ryw9b_1",
|
|
2202
|
+
"text": "_text_ryw9b_20",
|
|
2203
|
+
"primary": "_primary_ryw9b_23",
|
|
2204
|
+
"secondary": "_secondary_ryw9b_29",
|
|
2205
|
+
"tertiary": "_tertiary_ryw9b_35",
|
|
2206
|
+
"m": "_m_ryw9b_42",
|
|
2207
|
+
"text-children": "_text-children_ryw9b_42",
|
|
2208
|
+
"s": "_s_ryw9b_29",
|
|
2209
|
+
"xs": "_xs_ryw9b_50",
|
|
2210
|
+
"underline": "_underline_ryw9b_54"
|
|
2199
2211
|
};
|
|
2200
2212
|
|
|
2201
2213
|
// src/components/TextButton/index.tsx
|
|
@@ -2212,14 +2224,14 @@ var textButtonSizeIconSizeMap = {
|
|
|
2212
2224
|
};
|
|
2213
2225
|
var textButtonLevelIconTypeMap = {
|
|
2214
2226
|
enabled: {
|
|
2215
|
-
primary: "brand-
|
|
2216
|
-
secondary: "neutral-
|
|
2217
|
-
tertiary: "neutral-
|
|
2227
|
+
primary: "label-brand-base",
|
|
2228
|
+
secondary: "label-neutral-base",
|
|
2229
|
+
tertiary: "label-neutral-secondary"
|
|
2218
2230
|
},
|
|
2219
2231
|
disabled: {
|
|
2220
|
-
primary: "neutral-
|
|
2221
|
-
secondary: "neutral-
|
|
2222
|
-
tertiary: "neutral-
|
|
2232
|
+
primary: "label-neutral-tertiary",
|
|
2233
|
+
secondary: "label-neutral-tertiary",
|
|
2234
|
+
tertiary: "label-neutral-tertiary"
|
|
2223
2235
|
}
|
|
2224
2236
|
};
|
|
2225
2237
|
var textButtonVariants = cva8({
|
|
@@ -2255,7 +2267,7 @@ var TextButton = forwardRef18(
|
|
|
2255
2267
|
const getIconProps = /* @__PURE__ */ __name((icon) => ({
|
|
2256
2268
|
size: textButtonSizeIconSizeMap[size],
|
|
2257
2269
|
type: textButtonLevelIconTypeMap[rest.disabled ? "disabled" : "enabled"][level],
|
|
2258
|
-
fillType: "inverse-
|
|
2270
|
+
fillType: "label-on-inverse-base",
|
|
2259
2271
|
...icon
|
|
2260
2272
|
}), "getIconProps");
|
|
2261
2273
|
const renderContent = /* @__PURE__ */ __name((children2) => /* @__PURE__ */ jsxs12("span", { className: style_module_default16["text-children"], children: [
|
|
@@ -2682,7 +2694,7 @@ var LOGOS = {
|
|
|
2682
2694
|
|
|
2683
2695
|
// src/components/Logo/index.tsx
|
|
2684
2696
|
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
2685
|
-
var Logo = /* @__PURE__ */ __name(({ name, height, fill = "brand-
|
|
2697
|
+
var Logo = /* @__PURE__ */ __name(({ name, height, fill = "label-brand-secondary", className }) => {
|
|
2686
2698
|
const def = LOGOS[name];
|
|
2687
2699
|
const [viewBoxWidth, viewBoxHeight] = def.viewBox;
|
|
2688
2700
|
const renderHeight = height ?? viewBoxHeight;
|
|
@@ -2710,10 +2722,10 @@ import { forwardRef as forwardRef19 } from "react";
|
|
|
2710
2722
|
|
|
2711
2723
|
// src/components/coach-mark/primitive/style.module.scss
|
|
2712
2724
|
var style_module_default17 = {
|
|
2713
|
-
"anchor": "
|
|
2714
|
-
"content": "
|
|
2715
|
-
"overlay": "
|
|
2716
|
-
"close": "
|
|
2725
|
+
"anchor": "_anchor_9duhb_2",
|
|
2726
|
+
"content": "_content_9duhb_6",
|
|
2727
|
+
"overlay": "_overlay_9duhb_24",
|
|
2728
|
+
"close": "_close_9duhb_34"
|
|
2717
2729
|
};
|
|
2718
2730
|
|
|
2719
2731
|
// src/components/coach-mark/primitive/index.tsx
|
|
@@ -2750,7 +2762,7 @@ var PrimitiveCoachMarkAnchor = /* @__PURE__ */ __name(({ className }) => /* @__P
|
|
|
2750
2762
|
)
|
|
2751
2763
|
}
|
|
2752
2764
|
), "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-
|
|
2765
|
+
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
2766
|
var PrimitiveCoachMarkContent = forwardRef19(({ children, className, container, ...rest }, ref) => /* @__PURE__ */ jsx26(PopoverPrimitive2.Portal, { container, children: /* @__PURE__ */ jsxs14(
|
|
2755
2767
|
PopoverPrimitive2.Content,
|
|
2756
2768
|
{
|
|
@@ -2778,23 +2790,23 @@ import { forwardRef as forwardRef20 } from "react";
|
|
|
2778
2790
|
|
|
2779
2791
|
// src/components/Badge/style.module.scss
|
|
2780
2792
|
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-
|
|
2793
|
+
"badge": "_badge_1l0o9_1",
|
|
2794
|
+
"s": "_s_1l0o9_10",
|
|
2795
|
+
"m": "_m_1l0o9_15",
|
|
2796
|
+
"l": "_l_1l0o9_20",
|
|
2797
|
+
"text": "_text_1l0o9_25",
|
|
2798
|
+
"subtle": "_subtle_1l0o9_29",
|
|
2799
|
+
"outlined": "_outlined_1l0o9_33",
|
|
2800
|
+
"fill-primary": "_fill-primary_1l0o9_38",
|
|
2801
|
+
"fill-accent": "_fill-accent_1l0o9_42",
|
|
2802
|
+
"inverse-primary": "_inverse-primary_1l0o9_46",
|
|
2803
|
+
"text-neutral": "_text-neutral_1l0o9_50",
|
|
2804
|
+
"text-neutral-secondary": "_text-neutral-secondary_1l0o9_54",
|
|
2805
|
+
"text-primary": "_text-primary_1l0o9_58",
|
|
2806
|
+
"text-primary-inverse": "_text-primary-inverse_1l0o9_62",
|
|
2807
|
+
"text-caution": "_text-caution_1l0o9_66",
|
|
2808
|
+
"text-error": "_text-error_1l0o9_70",
|
|
2809
|
+
"text-accent": "_text-accent_1l0o9_74"
|
|
2798
2810
|
};
|
|
2799
2811
|
|
|
2800
2812
|
// src/components/Badge/index.tsx
|
|
@@ -2821,36 +2833,36 @@ var badgeBase = cva10({
|
|
|
2821
2833
|
}
|
|
2822
2834
|
}
|
|
2823
2835
|
});
|
|
2824
|
-
function getBgClass(variant,
|
|
2836
|
+
function getBgClass(variant, color2) {
|
|
2825
2837
|
if (variant === "subtle") return style_module_default18.subtle;
|
|
2826
2838
|
if (variant === "outlined") return style_module_default18.outlined;
|
|
2827
|
-
if (variant === "fill") return
|
|
2839
|
+
if (variant === "fill") return color2 === "accent" ? style_module_default18["fill-accent"] : style_module_default18["fill-primary"];
|
|
2828
2840
|
return style_module_default18["inverse-primary"];
|
|
2829
2841
|
}
|
|
2830
2842
|
__name(getBgClass, "getBgClass");
|
|
2831
|
-
function getIconType(variant,
|
|
2832
|
-
if (variant === "inverse") return "
|
|
2833
|
-
switch (
|
|
2843
|
+
function getIconType(variant, color2) {
|
|
2844
|
+
if (variant === "inverse") return "label-on-brand";
|
|
2845
|
+
switch (color2) {
|
|
2834
2846
|
case "neutral":
|
|
2835
|
-
return "neutral-
|
|
2847
|
+
return "label-neutral-base";
|
|
2836
2848
|
case "neutral-secondary":
|
|
2837
|
-
return "neutral-
|
|
2849
|
+
return "label-neutral-secondary";
|
|
2838
2850
|
case "primary":
|
|
2839
|
-
return "brand-
|
|
2851
|
+
return "label-brand-base";
|
|
2840
2852
|
case "caution":
|
|
2841
|
-
return "
|
|
2853
|
+
return "caution";
|
|
2842
2854
|
case "error":
|
|
2843
|
-
return "
|
|
2855
|
+
return "negative-base";
|
|
2844
2856
|
case "accent":
|
|
2845
|
-
return "accent-label-
|
|
2857
|
+
return "accent-label-base";
|
|
2846
2858
|
default:
|
|
2847
|
-
return "neutral-
|
|
2859
|
+
return "label-neutral-base";
|
|
2848
2860
|
}
|
|
2849
2861
|
}
|
|
2850
2862
|
__name(getIconType, "getIconType");
|
|
2851
|
-
function getTextClass(variant,
|
|
2863
|
+
function getTextClass(variant, color2) {
|
|
2852
2864
|
if (variant === "inverse") return style_module_default18["text-primary-inverse"];
|
|
2853
|
-
switch (
|
|
2865
|
+
switch (color2) {
|
|
2854
2866
|
case "neutral":
|
|
2855
2867
|
return style_module_default18["text-neutral"];
|
|
2856
2868
|
case "neutral-secondary":
|
|
@@ -2872,7 +2884,7 @@ var Badge = forwardRef20(
|
|
|
2872
2884
|
({
|
|
2873
2885
|
size = "s",
|
|
2874
2886
|
variant = "fill",
|
|
2875
|
-
color = "primary",
|
|
2887
|
+
color: color2 = "primary",
|
|
2876
2888
|
thick = false,
|
|
2877
2889
|
className,
|
|
2878
2890
|
children,
|
|
@@ -2883,7 +2895,7 @@ var Badge = forwardRef20(
|
|
|
2883
2895
|
const iconSize = badgeSizeIconSizeMap[size];
|
|
2884
2896
|
const typoClass = badgeSizeTypoMap[size][+thick];
|
|
2885
2897
|
const resolvedVariant = variant;
|
|
2886
|
-
const resolvedColor =
|
|
2898
|
+
const resolvedColor = color2;
|
|
2887
2899
|
return /* @__PURE__ */ jsxs15(
|
|
2888
2900
|
"span",
|
|
2889
2901
|
{
|
|
@@ -2923,10 +2935,10 @@ Badge.displayName = "Badge";
|
|
|
2923
2935
|
|
|
2924
2936
|
// src/components/coach-mark/compact/style.module.scss
|
|
2925
2937
|
var style_module_default19 = {
|
|
2926
|
-
"content": "
|
|
2927
|
-
"slideIn": "
|
|
2928
|
-
"clickable": "
|
|
2929
|
-
"main": "
|
|
2938
|
+
"content": "_content_9adg9_2",
|
|
2939
|
+
"slideIn": "_slideIn_9adg9_1",
|
|
2940
|
+
"clickable": "_clickable_9adg9_23",
|
|
2941
|
+
"main": "_main_9adg9_36"
|
|
2930
2942
|
};
|
|
2931
2943
|
|
|
2932
2944
|
// src/components/coach-mark/compact/index.tsx
|
|
@@ -2957,7 +2969,7 @@ var CompactCoachMarkContent = forwardRef21(({ badge, title, className, side = "t
|
|
|
2957
2969
|
size: 1,
|
|
2958
2970
|
type: "normal",
|
|
2959
2971
|
weight: "bold",
|
|
2960
|
-
color: "inverse-
|
|
2972
|
+
color: "label-on-inverse-static-base",
|
|
2961
2973
|
className: style_module_default19.main,
|
|
2962
2974
|
children: title
|
|
2963
2975
|
}
|
|
@@ -2977,16 +2989,16 @@ import * as PopoverPrimitive4 from "@radix-ui/react-popover";
|
|
|
2977
2989
|
|
|
2978
2990
|
// src/components/coach-mark/main/style.module.scss
|
|
2979
2991
|
var style_module_default20 = {
|
|
2980
|
-
"content": "
|
|
2981
|
-
"slideIn": "
|
|
2982
|
-
"top": "
|
|
2983
|
-
"main": "
|
|
2984
|
-
"title": "
|
|
2985
|
-
"description": "
|
|
2986
|
-
"media": "
|
|
2987
|
-
"footer": "
|
|
2988
|
-
"buttonGroup": "
|
|
2989
|
-
"closeButton": "
|
|
2992
|
+
"content": "_content_p4m90_2",
|
|
2993
|
+
"slideIn": "_slideIn_p4m90_1",
|
|
2994
|
+
"top": "_top_p4m90_26",
|
|
2995
|
+
"main": "_main_p4m90_33",
|
|
2996
|
+
"title": "_title_p4m90_40",
|
|
2997
|
+
"description": "_description_p4m90_57",
|
|
2998
|
+
"media": "_media_p4m90_63",
|
|
2999
|
+
"footer": "_footer_p4m90_69",
|
|
3000
|
+
"buttonGroup": "_buttonGroup_p4m90_76",
|
|
3001
|
+
"closeButton": "_closeButton_p4m90_82"
|
|
2990
3002
|
};
|
|
2991
3003
|
|
|
2992
3004
|
// src/components/coach-mark/main/index.tsx
|
|
@@ -3049,7 +3061,7 @@ var CoachMarkContent = forwardRef22(
|
|
|
3049
3061
|
/* @__PURE__ */ jsx29("header", { className: style_module_default20.top, children: /* @__PURE__ */ jsxs17("div", { className: style_module_default20.main, children: [
|
|
3050
3062
|
/* @__PURE__ */ jsxs17("div", { className: style_module_default20.title, children: [
|
|
3051
3063
|
badge && /* @__PURE__ */ jsx29(Badge, { variant: "inverse", color: "primary", children: badge }),
|
|
3052
|
-
/* @__PURE__ */ jsx29(Paragraph, { size: 4, type: "normal", weight: "bold", color: "inverse-
|
|
3064
|
+
/* @__PURE__ */ jsx29(Paragraph, { size: 4, type: "normal", weight: "bold", color: "label-on-inverse-static-base", children: title })
|
|
3053
3065
|
] }),
|
|
3054
3066
|
media && /* @__PURE__ */ jsx29("div", { className: style_module_default20.media, children: media }),
|
|
3055
3067
|
description && /* @__PURE__ */ jsx29(
|
|
@@ -3058,18 +3070,27 @@ var CoachMarkContent = forwardRef22(
|
|
|
3058
3070
|
size: 1,
|
|
3059
3071
|
type: "normal",
|
|
3060
3072
|
weight: "regular",
|
|
3061
|
-
color: "inverse-
|
|
3073
|
+
color: "label-on-inverse-static-base",
|
|
3062
3074
|
className: style_module_default20.description,
|
|
3063
3075
|
children: description
|
|
3064
3076
|
}
|
|
3065
3077
|
)
|
|
3066
3078
|
] }) }),
|
|
3067
3079
|
/* @__PURE__ */ jsxs17("footer", { className: style_module_default20.footer, children: [
|
|
3068
|
-
step ? /* @__PURE__ */ jsxs17(
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3080
|
+
step ? /* @__PURE__ */ jsxs17(
|
|
3081
|
+
Caption,
|
|
3082
|
+
{
|
|
3083
|
+
size: 3,
|
|
3084
|
+
type: "normal",
|
|
3085
|
+
weight: "regular",
|
|
3086
|
+
color: "label-on-inverse-static-secondary",
|
|
3087
|
+
children: [
|
|
3088
|
+
step.current,
|
|
3089
|
+
" / ",
|
|
3090
|
+
step.total
|
|
3091
|
+
]
|
|
3092
|
+
}
|
|
3093
|
+
) : /* @__PURE__ */ jsx29("div", { className: style_module_default20.empty }),
|
|
3073
3094
|
/* @__PURE__ */ jsxs17("div", { className: style_module_default20.buttonGroup, children: [
|
|
3074
3095
|
secondaryButton && /* @__PURE__ */ jsx29(Button, { size: "m", level: "inverse-static", ...secondaryButton }),
|
|
3075
3096
|
primaryButton && /* @__PURE__ */ jsx29(Button, { size: "m", level: "primary", ...primaryButton })
|
|
@@ -3090,145 +3111,39 @@ import { forwardRef as forwardRef23 } from "react";
|
|
|
3090
3111
|
|
|
3091
3112
|
// src/components/Tag/style.module.scss
|
|
3092
3113
|
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-
|
|
3114
|
+
"tag": "_tag_1vdj8_2",
|
|
3115
|
+
"s": "_s_1vdj8_12",
|
|
3116
|
+
"m": "_m_1vdj8_17",
|
|
3117
|
+
"l": "_l_1vdj8_22",
|
|
3118
|
+
"thick": "_thick_1vdj8_27",
|
|
3119
|
+
"square": "_square_1vdj8_31",
|
|
3120
|
+
"rounded": "_rounded_1vdj8_35",
|
|
3121
|
+
"border-border-neutral-alpha-strong": "_border-border-neutral-alpha-strong_1vdj8_44",
|
|
3122
|
+
"border-border-neutral-alpha-normal": "_border-border-neutral-alpha-normal_1vdj8_48",
|
|
3123
|
+
"border-border-neutral-alpha-subtle": "_border-border-neutral-alpha-subtle_1vdj8_52",
|
|
3124
|
+
"border-border-neutral-alpha-hint": "_border-border-neutral-alpha-hint_1vdj8_56",
|
|
3125
|
+
"border-border-neutral-strong": "_border-border-neutral-strong_1vdj8_60",
|
|
3126
|
+
"border-border-neutral-normal": "_border-border-neutral-normal_1vdj8_64",
|
|
3127
|
+
"border-border-neutral-subtle": "_border-border-neutral-subtle_1vdj8_68",
|
|
3128
|
+
"border-border-on-inverse-alpha-strong": "_border-border-on-inverse-alpha-strong_1vdj8_72",
|
|
3129
|
+
"border-border-on-inverse-alpha-normal": "_border-border-on-inverse-alpha-normal_1vdj8_76",
|
|
3130
|
+
"border-border-on-inverse-alpha-subtle": "_border-border-on-inverse-alpha-subtle_1vdj8_80",
|
|
3131
|
+
"border-border-on-inverse-alpha-hint": "_border-border-on-inverse-alpha-hint_1vdj8_84",
|
|
3132
|
+
"border-border-on-inverse-strong": "_border-border-on-inverse-strong_1vdj8_88",
|
|
3133
|
+
"border-border-on-inverse-normal": "_border-border-on-inverse-normal_1vdj8_92",
|
|
3134
|
+
"border-border-on-inverse-subtle": "_border-border-on-inverse-subtle_1vdj8_96",
|
|
3135
|
+
"border-border-brand-normal": "_border-border-brand-normal_1vdj8_100",
|
|
3136
|
+
"border-border-brand-strong": "_border-border-brand-strong_1vdj8_104",
|
|
3137
|
+
"border-accent-yellow": "_border-accent-yellow_1vdj8_108",
|
|
3138
|
+
"border-accent-mint": "_border-accent-mint_1vdj8_112",
|
|
3139
|
+
"border-accent-cyan": "_border-accent-cyan_1vdj8_116",
|
|
3140
|
+
"border-accent-purple": "_border-accent-purple_1vdj8_120",
|
|
3141
|
+
"border-accent-pink": "_border-accent-pink_1vdj8_124"
|
|
3121
3142
|
};
|
|
3122
3143
|
|
|
3123
3144
|
// 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
|
-
];
|
|
3145
|
+
import { color } from "@liner-fe/design-token-primitive";
|
|
3146
|
+
var colorOptions = Object.keys(color.system.light);
|
|
3232
3147
|
|
|
3233
3148
|
// src/components/Tag/index.tsx
|
|
3234
3149
|
import { cva as cva11 } from "cva";
|
|
@@ -3255,8 +3170,8 @@ var tagVariants = cva11({
|
|
|
3255
3170
|
var Tag = forwardRef23(
|
|
3256
3171
|
({
|
|
3257
3172
|
children,
|
|
3258
|
-
color = "neutral-
|
|
3259
|
-
backgroundColor = "neutral-
|
|
3173
|
+
color: color2 = "label-neutral-static",
|
|
3174
|
+
backgroundColor = "surface-neutral-static-lowest",
|
|
3260
3175
|
borderColor = void 0,
|
|
3261
3176
|
radius = "square",
|
|
3262
3177
|
thick = false,
|
|
@@ -3272,7 +3187,7 @@ var Tag = forwardRef23(
|
|
|
3272
3187
|
type: "normal",
|
|
3273
3188
|
weight: "bold",
|
|
3274
3189
|
className: clsx23(tagVariants({ borderColor, size, thick, radius }), className),
|
|
3275
|
-
color,
|
|
3190
|
+
color: color2,
|
|
3276
3191
|
style: { backgroundColor: `var(--${backgroundColor})`, ...rest.style },
|
|
3277
3192
|
...rest,
|
|
3278
3193
|
children
|
|
@@ -3292,12 +3207,12 @@ var FALLBACK_IMAGE_SRC = "https://assets.getliner.com/web/prism/fallback-profile
|
|
|
3292
3207
|
|
|
3293
3208
|
// src/components/Avatar/style.module.scss
|
|
3294
3209
|
var style_module_default22 = {
|
|
3295
|
-
"avatar": "
|
|
3296
|
-
"small": "
|
|
3297
|
-
"medium": "
|
|
3298
|
-
"xlarge": "
|
|
3299
|
-
"image": "
|
|
3300
|
-
"fallback": "
|
|
3210
|
+
"avatar": "_avatar_1lw78_1",
|
|
3211
|
+
"small": "_small_1lw78_12",
|
|
3212
|
+
"medium": "_medium_1lw78_17",
|
|
3213
|
+
"xlarge": "_xlarge_1lw78_22",
|
|
3214
|
+
"image": "_image_1lw78_27",
|
|
3215
|
+
"fallback": "_fallback_1lw78_33"
|
|
3301
3216
|
};
|
|
3302
3217
|
|
|
3303
3218
|
// src/components/Avatar/index.tsx
|
|
@@ -3345,14 +3260,14 @@ import { cva as cva13 } from "cva";
|
|
|
3345
3260
|
|
|
3346
3261
|
// src/components/AlertDialog/style.module.scss
|
|
3347
3262
|
var style_module_default23 = {
|
|
3348
|
-
"overlay": "
|
|
3349
|
-
"overlayShow": "
|
|
3350
|
-
"content": "
|
|
3351
|
-
"contentShow": "
|
|
3352
|
-
"contents": "
|
|
3353
|
-
"title": "
|
|
3354
|
-
"description": "
|
|
3355
|
-
"actions": "
|
|
3263
|
+
"overlay": "_overlay_ma27d_19",
|
|
3264
|
+
"overlayShow": "_overlayShow_ma27d_1",
|
|
3265
|
+
"content": "_content_ma27d_29",
|
|
3266
|
+
"contentShow": "_contentShow_ma27d_1",
|
|
3267
|
+
"contents": "_contents_ma27d_53",
|
|
3268
|
+
"title": "_title_ma27d_63",
|
|
3269
|
+
"description": "_description_ma27d_72",
|
|
3270
|
+
"actions": "_actions_ma27d_92"
|
|
3356
3271
|
};
|
|
3357
3272
|
|
|
3358
3273
|
// src/components/AlertDialog/index.tsx
|
|
@@ -3389,7 +3304,7 @@ var AlertDialogContent = /* @__PURE__ */ __name(({
|
|
|
3389
3304
|
/* @__PURE__ */ jsx32(AlertDialogPrimitive.Description, { className: descriptionVariants(), children: description })
|
|
3390
3305
|
] }),
|
|
3391
3306
|
children,
|
|
3392
|
-
/* @__PURE__ */ jsxs19("
|
|
3307
|
+
/* @__PURE__ */ jsxs19(Flex, { align: "center", justify: "end", gap: "2", width: "100%", className: style_module_default23.actions, children: [
|
|
3393
3308
|
/* @__PURE__ */ jsx32(AlertDialogPrimitive.Cancel, { asChild: true, children: /* @__PURE__ */ jsx32(Button, { level: "tertiary", size: "l", onClick: dismiss.onClick, children: dismiss.label }) }),
|
|
3394
3309
|
/* @__PURE__ */ jsx32(AlertDialogPrimitive.Action, { asChild: true, children: /* @__PURE__ */ jsx32(Button, { level: confirm.level ?? "primary", size: "l", onClick: confirm.onClick, children: confirm.label }) })
|
|
3395
3310
|
] })
|
|
@@ -3414,19 +3329,17 @@ import { cva as cva14 } from "cva";
|
|
|
3414
3329
|
|
|
3415
3330
|
// src/components/Dialog/style.module.scss
|
|
3416
3331
|
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"
|
|
3332
|
+
"overlay": "_overlay_376kf_19",
|
|
3333
|
+
"overlayShow": "_overlayShow_376kf_1",
|
|
3334
|
+
"content": "_content_376kf_29",
|
|
3335
|
+
"contentShow": "_contentShow_376kf_1",
|
|
3336
|
+
"illust": "_illust_376kf_52",
|
|
3337
|
+
"close": "_close_376kf_60",
|
|
3338
|
+
"header": "_header_376kf_67",
|
|
3339
|
+
"title": "_title_376kf_75",
|
|
3340
|
+
"description": "_description_376kf_81",
|
|
3341
|
+
"actions": "_actions_376kf_87",
|
|
3342
|
+
"extra": "_extra_376kf_100"
|
|
3430
3343
|
};
|
|
3431
3344
|
|
|
3432
3345
|
// src/components/Dialog/Header.tsx
|
|
@@ -3447,7 +3360,7 @@ var DialogFooter = /* @__PURE__ */ __name(({ dismiss, confirm, extra }) => {
|
|
|
3447
3360
|
const hasActions = Boolean(dismiss || confirm);
|
|
3448
3361
|
const hasFooter = hasActions || Boolean(extra);
|
|
3449
3362
|
if (!hasFooter) return null;
|
|
3450
|
-
return /* @__PURE__ */ jsxs21("
|
|
3363
|
+
return /* @__PURE__ */ jsxs21(Flex, { direction: "column", gap: "2", width: "100%", pt: "3", px: "4", pb: "4", children: [
|
|
3451
3364
|
hasActions && /* @__PURE__ */ jsxs21("div", { className: style_module_default24.actions, children: [
|
|
3452
3365
|
dismiss && /* @__PURE__ */ jsx34(DialogPrimitive2.Close, { asChild: true, children: /* @__PURE__ */ jsx34(Button, { level: "tertiary", size: "cta", onClick: dismiss.onClick, children: dismiss.label }) }),
|
|
3453
3366
|
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 +3397,12 @@ var DialogContent = /* @__PURE__ */ __name(({
|
|
|
3484
3397
|
"aria-label": "\uB2EB\uAE30",
|
|
3485
3398
|
level: "quinary",
|
|
3486
3399
|
size: "m",
|
|
3487
|
-
icon: { icon: IconClose2, type: "neutral-
|
|
3400
|
+
icon: { icon: IconClose2, type: "label-neutral-secondary" }
|
|
3488
3401
|
}
|
|
3489
3402
|
) }),
|
|
3490
3403
|
illust && /* @__PURE__ */ jsx35("div", { className: style_module_default24.illust, children: illust }),
|
|
3491
3404
|
/* @__PURE__ */ jsx35(DialogHeader, { title, description }),
|
|
3492
|
-
children && /* @__PURE__ */ jsx35(
|
|
3405
|
+
children && /* @__PURE__ */ jsx35(Box, { py: "2", px: "4", children }),
|
|
3493
3406
|
/* @__PURE__ */ jsx35(DialogFooter, { dismiss, confirm, extra })
|
|
3494
3407
|
] })
|
|
3495
3408
|
] });
|
|
@@ -3510,18 +3423,17 @@ import { cva as cva15 } from "cva";
|
|
|
3510
3423
|
|
|
3511
3424
|
// src/components/BottomSheet/style.module.scss
|
|
3512
3425
|
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"
|
|
3426
|
+
"overlay": "_overlay_1imx7_1",
|
|
3427
|
+
"content": "_content_1imx7_8",
|
|
3428
|
+
"inner": "_inner_1imx7_35",
|
|
3429
|
+
"handle": "_handle_1imx7_50",
|
|
3430
|
+
"illust": "_illust_1imx7_59",
|
|
3431
|
+
"header": "_header_1imx7_65",
|
|
3432
|
+
"body": "_body_1imx7_73",
|
|
3433
|
+
"title": "_title_1imx7_82",
|
|
3434
|
+
"description": "_description_1imx7_88",
|
|
3435
|
+
"actions": "_actions_1imx7_94",
|
|
3436
|
+
"extra": "_extra_1imx7_106"
|
|
3525
3437
|
};
|
|
3526
3438
|
|
|
3527
3439
|
// src/components/BottomSheet/Header.tsx
|
|
@@ -3542,7 +3454,7 @@ var BottomSheetFooter = /* @__PURE__ */ __name(({ dismiss, confirm, extra }) =>
|
|
|
3542
3454
|
const hasActions = Boolean(dismiss || confirm);
|
|
3543
3455
|
const hasFooter = hasActions || Boolean(extra);
|
|
3544
3456
|
if (!hasFooter) return null;
|
|
3545
|
-
return /* @__PURE__ */ jsxs24("
|
|
3457
|
+
return /* @__PURE__ */ jsxs24(Flex, { direction: "column", gap: "2", width: "100%", pt: "3", px: "4", pb: "4", children: [
|
|
3546
3458
|
hasActions && /* @__PURE__ */ jsxs24("div", { className: style_module_default25.actions, children: [
|
|
3547
3459
|
dismiss && /* @__PURE__ */ jsx37(Drawer2.Close, { asChild: true, children: /* @__PURE__ */ jsx37(Button, { level: "tertiary", size: "l", onClick: dismiss.onClick, children: dismiss.label }) }),
|
|
3548
3460
|
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 +3544,14 @@ var Ratio = React5.forwardRef(
|
|
|
3632
3544
|
);
|
|
3633
3545
|
Ratio.displayName = "Ratio";
|
|
3634
3546
|
|
|
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
3547
|
// 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"));
|
|
3548
|
+
import { Grid } from "@radix-ui/themes";
|
|
3866
3549
|
|
|
3867
3550
|
// 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"));
|
|
3551
|
+
import { Container } from "@radix-ui/themes";
|
|
3896
3552
|
|
|
3897
3553
|
// 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"));
|
|
3554
|
+
import { Section } from "@radix-ui/themes";
|
|
3903
3555
|
export {
|
|
3904
3556
|
AlertDialog,
|
|
3905
3557
|
Avatar,
|
|
@@ -3917,8 +3569,6 @@ export {
|
|
|
3917
3569
|
DefaultButton,
|
|
3918
3570
|
Dialog,
|
|
3919
3571
|
Display,
|
|
3920
|
-
FLEX_ALIGN,
|
|
3921
|
-
FLEX_JUSTIFY,
|
|
3922
3572
|
Flex,
|
|
3923
3573
|
Grid,
|
|
3924
3574
|
Heading,
|
|
@@ -3954,9 +3604,6 @@ export {
|
|
|
3954
3604
|
arrayToStyleObject,
|
|
3955
3605
|
isEmptyObject,
|
|
3956
3606
|
objectToArray,
|
|
3957
|
-
gapTok as resolveGapToken,
|
|
3958
|
-
resolveLayoutStyle,
|
|
3959
3607
|
rootMediaStyle,
|
|
3960
|
-
splitLayoutProps,
|
|
3961
3608
|
toast
|
|
3962
3609
|
};
|