@liner-fe/prism 1.10.3 → 1.10.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/assets/block.d.ts +8 -0
- package/lib/assets/bookmark-cancel.d.ts +8 -0
- package/lib/assets/document-check.d.ts +8 -0
- package/lib/assets/example.d.ts +8 -0
- package/lib/assets/index.d.ts +6 -0
- package/lib/assets/new-tab.d.ts +8 -0
- package/lib/assets/quote.d.ts +8 -0
- package/lib/index.css +55 -55
- package/lib/index.css.map +1 -1
- package/lib/index.mjs +432 -82
- package/lib/index.mjs.map +4 -4
- package/lib/type/index.d.ts +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -5155,6 +5155,350 @@ var ICQuestionBox = /* @__PURE__ */ __name((props) => {
|
|
|
5155
5155
|
] });
|
|
5156
5156
|
}, "ICQuestionBox");
|
|
5157
5157
|
|
|
5158
|
+
// src/assets/new-tab.tsx
|
|
5159
|
+
import { jsx as jsx112, jsxs as jsxs78 } from "react/jsx-runtime";
|
|
5160
|
+
var ICNewTab = /* @__PURE__ */ __name((props) => {
|
|
5161
|
+
const { thick = false, fill = false, size = 32, color = "#1E1E1F" } = props;
|
|
5162
|
+
if (fill && thick) {
|
|
5163
|
+
return /* @__PURE__ */ jsxs78("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5164
|
+
/* @__PURE__ */ jsx112(
|
|
5165
|
+
"path",
|
|
5166
|
+
{
|
|
5167
|
+
d: "M26 9.5H36.4C37.2837 9.5 38 10.2163 38 11.1V21.5H35V14.6214L22.0607 27.5608L19.9393 25.4395L32.8788 12.5H26V9.5Z",
|
|
5168
|
+
fill: color
|
|
5169
|
+
}
|
|
5170
|
+
),
|
|
5171
|
+
/* @__PURE__ */ jsx112(
|
|
5172
|
+
"path",
|
|
5173
|
+
{
|
|
5174
|
+
d: "M12.15 11H19.5V14H14V34H34V28H37V35.85C37 36.4851 36.4851 37 35.85 37H12.15C11.5149 37 11 36.4851 11 35.85V12.15C11 11.5149 11.5149 11 12.15 11Z",
|
|
5175
|
+
fill: color
|
|
5176
|
+
}
|
|
5177
|
+
)
|
|
5178
|
+
] });
|
|
5179
|
+
}
|
|
5180
|
+
return /* @__PURE__ */ jsxs78("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5181
|
+
/* @__PURE__ */ jsx112(
|
|
5182
|
+
"path",
|
|
5183
|
+
{
|
|
5184
|
+
d: "M26 9.5H36.4C37.2837 9.5 38 10.2163 38 11.1V21.5H35V14.6214L22.0607 27.5608L19.9393 25.4395L32.8788 12.5H26V9.5Z",
|
|
5185
|
+
fill: color
|
|
5186
|
+
}
|
|
5187
|
+
),
|
|
5188
|
+
/* @__PURE__ */ jsx112(
|
|
5189
|
+
"path",
|
|
5190
|
+
{
|
|
5191
|
+
d: "M12.15 11H19.5V14H14V34H34V28H37V35.85C37 36.4851 36.4851 37 35.85 37H12.15C11.5149 37 11 36.4851 11 35.85V12.15C11 11.5149 11.5149 11 12.15 11Z",
|
|
5192
|
+
fill: color
|
|
5193
|
+
}
|
|
5194
|
+
)
|
|
5195
|
+
] });
|
|
5196
|
+
}, "ICNewTab");
|
|
5197
|
+
|
|
5198
|
+
// src/assets/example.tsx
|
|
5199
|
+
import { jsx as jsx113, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
5200
|
+
var ICExample = /* @__PURE__ */ __name((props) => {
|
|
5201
|
+
const { thick = false, fill = false, size = 32, color = "#1E1E1F" } = props;
|
|
5202
|
+
if (fill && thick) {
|
|
5203
|
+
return /* @__PURE__ */ jsxs79("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5204
|
+
/* @__PURE__ */ jsx113(
|
|
5205
|
+
"path",
|
|
5206
|
+
{
|
|
5207
|
+
"fill-rule": "evenodd",
|
|
5208
|
+
"clip-rule": "evenodd",
|
|
5209
|
+
d: "M6 15V6H15V10H10V15H6ZM42 15V6H33V10H38V15H42ZM42 33H38V38H33V42H42V33ZM15 42V38H10V33H6V42H15Z",
|
|
5210
|
+
fill: color
|
|
5211
|
+
}
|
|
5212
|
+
),
|
|
5213
|
+
/* @__PURE__ */ jsx113("rect", { x: "18", y: "18", width: size, height: size, fill: color })
|
|
5214
|
+
] });
|
|
5215
|
+
}
|
|
5216
|
+
if (fill) {
|
|
5217
|
+
return /* @__PURE__ */ jsxs79("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5218
|
+
/* @__PURE__ */ jsx113(
|
|
5219
|
+
"path",
|
|
5220
|
+
{
|
|
5221
|
+
"fill-rule": "evenodd",
|
|
5222
|
+
"clip-rule": "evenodd",
|
|
5223
|
+
d: "M6 15V6H15V9H9V15H6ZM42 15V6H33V9H39V15H42ZM42 33H39V39H33V42H42V33ZM15 42V39H9V33H6V42H15Z",
|
|
5224
|
+
fill: color
|
|
5225
|
+
}
|
|
5226
|
+
),
|
|
5227
|
+
/* @__PURE__ */ jsx113("rect", { x: "18", y: "18", width: size, height: size, fill: color })
|
|
5228
|
+
] });
|
|
5229
|
+
}
|
|
5230
|
+
return /* @__PURE__ */ jsxs79("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5231
|
+
/* @__PURE__ */ jsx113(
|
|
5232
|
+
"path",
|
|
5233
|
+
{
|
|
5234
|
+
"fill-rule": "evenodd",
|
|
5235
|
+
"clip-rule": "evenodd",
|
|
5236
|
+
d: "M6 15V6H15V9H9V15H6ZM42 15V6H33V9H39V15H42ZM42 33H39V39H33V42H42V33ZM15 42V39H9V33H6V42H15Z",
|
|
5237
|
+
fill: color
|
|
5238
|
+
}
|
|
5239
|
+
),
|
|
5240
|
+
/* @__PURE__ */ jsx113("rect", { x: "18", y: "18", width: size, height: size, fill: color })
|
|
5241
|
+
] });
|
|
5242
|
+
}, "ICExample");
|
|
5243
|
+
|
|
5244
|
+
// src/assets/quote.tsx
|
|
5245
|
+
import { jsx as jsx114, jsxs as jsxs80 } from "react/jsx-runtime";
|
|
5246
|
+
var ICQuote = /* @__PURE__ */ __name((props) => {
|
|
5247
|
+
const { thick = false, fill = false, size = 32, color = "#1E1E1F" } = props;
|
|
5248
|
+
if (thick) {
|
|
5249
|
+
return /* @__PURE__ */ jsxs80("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5250
|
+
/* @__PURE__ */ jsx114(
|
|
5251
|
+
"path",
|
|
5252
|
+
{
|
|
5253
|
+
"fill-rule": "evenodd",
|
|
5254
|
+
"clip-rule": "evenodd",
|
|
5255
|
+
d: "M18 8.37184C19.3423 8.12449 20.6909 8 22 8V18C21.3073 18.099 20.6342 18.2371 20 18.3975C17.43 19.0477 15.5 20.0642 15.5 20.3242H20C21.0135 20.3242 21.8509 21.0781 21.9821 22.0557C21.9939 22.1435 22 22.2332 22 22.3242V36.4436C22 37.5481 21.1046 38.4436 20 38.4436H6C4.89543 38.4436 4 37.5481 4 36.4436V22.3242C4 14.4093 10.9122 9.6779 18 8.37184ZM18 12.4537V14.8008C17.2412 15.0275 16.5478 15.2743 15.9438 15.5174C15.2315 15.8041 14.5668 16.1167 14.0228 16.4308C13.7672 16.5785 13.4258 16.7905 13.0963 17.0613C12.9402 17.1895 12.6657 17.4286 12.3949 17.7718C12.2299 17.9808 11.5 18.9085 11.5 20.3242V24.3242H18V34.4436H8V22.3242C8 19.2018 9.55591 16.7472 12.194 14.9205C13.8643 13.7639 15.8951 12.9276 18 12.4537Z",
|
|
5256
|
+
fill: color
|
|
5257
|
+
}
|
|
5258
|
+
),
|
|
5259
|
+
/* @__PURE__ */ jsx114(
|
|
5260
|
+
"path",
|
|
5261
|
+
{
|
|
5262
|
+
"fill-rule": "evenodd",
|
|
5263
|
+
"clip-rule": "evenodd",
|
|
5264
|
+
d: "M40 8.37184C41.3423 8.12449 42.6909 8 44 8V18C43.3073 18.099 42.6342 18.2371 42 18.3975C39.43 19.0477 37.5 20.0642 37.5 20.3242H42C43.0135 20.3242 43.8509 21.0781 43.9821 22.0557C43.9939 22.1435 44 22.2332 44 22.3242V36.4436C44 37.5481 43.1046 38.4436 42 38.4436H28C26.8954 38.4436 26 37.5481 26 36.4436V22.3242C26 14.4093 32.9122 9.6779 40 8.37184ZM40 12.4537V14.8008C39.2412 15.0275 38.5478 15.2743 37.9438 15.5174C37.2315 15.8041 36.5667 16.1167 36.0228 16.4308C35.7672 16.5785 35.4258 16.7905 35.0963 17.0613C34.9402 17.1895 34.6657 17.4286 34.3949 17.7718C34.2299 17.9808 33.5 18.9085 33.5 20.3242V24.3242H40V34.4436H30V22.3242C30 19.2018 31.5559 16.7472 34.194 14.9205C35.8643 13.7639 37.8951 12.9276 40 12.4537Z",
|
|
5265
|
+
fill: color
|
|
5266
|
+
}
|
|
5267
|
+
)
|
|
5268
|
+
] });
|
|
5269
|
+
}
|
|
5270
|
+
if (fill) {
|
|
5271
|
+
return /* @__PURE__ */ jsxs80("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5272
|
+
/* @__PURE__ */ jsx114(
|
|
5273
|
+
"path",
|
|
5274
|
+
{
|
|
5275
|
+
d: "M22 16.5V8C13.7783 8 4 12.9104 4 22.3242V36.4436C4 37.5481 4.89543 38.4436 6 38.4436H20C21.1046 38.4436 22 37.5481 22 36.4436V22.3242C22 21.2196 21.1046 20.3242 20 20.3242H13.6521C13.6521 20 15.5 17 22 16.5Z",
|
|
5276
|
+
fill: color
|
|
5277
|
+
}
|
|
5278
|
+
),
|
|
5279
|
+
/* @__PURE__ */ jsx114(
|
|
5280
|
+
"path",
|
|
5281
|
+
{
|
|
5282
|
+
d: "M44 16.5V8C35.7783 8 26 12.9104 26 22.3242V36.4436C26 37.5481 26.8954 38.4436 28 38.4436H42C43.1046 38.4436 44 37.5481 44 36.4436V22.3242C44 21.2196 43.1046 20.3242 42 20.3242H35.6521C35.6521 20 37.5 17 44 16.5Z",
|
|
5283
|
+
fill: color
|
|
5284
|
+
}
|
|
5285
|
+
)
|
|
5286
|
+
] });
|
|
5287
|
+
}
|
|
5288
|
+
return /* @__PURE__ */ jsxs80("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5289
|
+
/* @__PURE__ */ jsx114(
|
|
5290
|
+
"path",
|
|
5291
|
+
{
|
|
5292
|
+
"fill-rule": "evenodd",
|
|
5293
|
+
"clip-rule": "evenodd",
|
|
5294
|
+
d: "M22 16.5C20.2829 16.6321 18.8905 16.9386 17.771 17.3242C14.6527 18.3983 13.6521 20.0856 13.6521 20.3242H20C21.1046 20.3242 22 21.2196 22 22.3242V36.4436C22 37.5481 21.1046 38.4436 20 38.4436H6C4.89543 38.4436 4 37.5481 4 36.4436V22.3242C4 14.0372 11.5774 9.24011 19 8.21039C20.0093 8.07036 21.0158 8 22 8V16.5ZM11.6247 14.0983C13.7338 12.6379 16.3553 11.6673 19 11.2434V13.8902C16.7276 14.3558 15.0007 15.1276 13.7199 15.9849C12.8501 16.5671 12.194 17.1839 11.7239 17.7564C11.4919 18.0389 11.2861 18.334 11.1205 18.6327C11.0391 18.7795 10.9481 18.9619 10.8691 19.1703C10.8208 19.2978 10.6521 19.7442 10.6521 20.3242V23.3242H19V35.4436H7V22.3242C7 18.8056 8.77808 16.0694 11.6247 14.0983Z",
|
|
5295
|
+
fill: color
|
|
5296
|
+
}
|
|
5297
|
+
),
|
|
5298
|
+
/* @__PURE__ */ jsx114(
|
|
5299
|
+
"path",
|
|
5300
|
+
{
|
|
5301
|
+
"fill-rule": "evenodd",
|
|
5302
|
+
"clip-rule": "evenodd",
|
|
5303
|
+
d: "M44 16.5C42.2829 16.6321 40.8905 16.9386 39.771 17.3242C36.6527 18.3983 35.6521 20.0856 35.6521 20.3242H42C43.1046 20.3242 44 21.2196 44 22.3242V36.4436C44 37.5481 43.1046 38.4436 42 38.4436H28C26.8954 38.4436 26 37.5481 26 36.4436V22.3242C26 14.0372 33.5774 9.24011 41 8.21039C42.0093 8.07036 43.0158 8 44 8V16.5ZM33.6247 14.0983C35.7338 12.6379 38.3553 11.6673 41 11.2434V13.8902C38.7276 14.3558 37.0007 15.1276 35.7199 15.9849C34.8501 16.5671 34.194 17.1839 33.7239 17.7564C33.4919 18.0389 33.2861 18.334 33.1205 18.6327C33.0391 18.7795 32.9481 18.9619 32.8691 19.1703C32.8208 19.2978 32.6521 19.7442 32.6521 20.3242V23.3242H41V35.4436H29V22.3242C29 18.8056 30.7781 16.0694 33.6247 14.0983Z",
|
|
5304
|
+
fill: color
|
|
5305
|
+
}
|
|
5306
|
+
)
|
|
5307
|
+
] });
|
|
5308
|
+
}, "ICQuote");
|
|
5309
|
+
|
|
5310
|
+
// src/assets/document-check.tsx
|
|
5311
|
+
import { jsx as jsx115, jsxs as jsxs81 } from "react/jsx-runtime";
|
|
5312
|
+
var ICDocumentCheck = /* @__PURE__ */ __name((props) => {
|
|
5313
|
+
const { thick = false, fill = false, size = 32, color = "#1E1E1F" } = props;
|
|
5314
|
+
if (fill && thick) {
|
|
5315
|
+
return /* @__PURE__ */ jsxs81("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5316
|
+
/* @__PURE__ */ jsx115(
|
|
5317
|
+
"path",
|
|
5318
|
+
{
|
|
5319
|
+
d: "M22.001 4V18.0769C22.001 20.2861 23.7918 22.0769 26.001 22.0769H39V25.6902C38.3525 25.5654 37.6839 25.5 37 25.5C31.201 25.5 26.5 30.201 26.5 36C26.5 39.2047 27.9357 42.074 30.1989 44H11C9.89543 44 9 43.1046 9 42V6C9 4.89543 9.89543 4 11 4H22.001Z",
|
|
5320
|
+
fill: color
|
|
5321
|
+
}
|
|
5322
|
+
),
|
|
5323
|
+
/* @__PURE__ */ jsx115("path", { d: "M26.001 6.14395V18.0769L37.134 18.0769L26.001 6.14395Z", fill: color }),
|
|
5324
|
+
/* @__PURE__ */ jsx115(
|
|
5325
|
+
"path",
|
|
5326
|
+
{
|
|
5327
|
+
d: "M31.4142 33.5856L35.037 37.2084L41.6368 30.6316L44.4602 33.465L36.7998 41.0987C35.823 42.0721 34.2425 42.0707 33.2674 41.0956L28.5858 36.4141L31.4142 33.5856Z",
|
|
5328
|
+
fill: color
|
|
5329
|
+
}
|
|
5330
|
+
)
|
|
5331
|
+
] });
|
|
5332
|
+
}
|
|
5333
|
+
if (thick) {
|
|
5334
|
+
return /* @__PURE__ */ jsxs81("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5335
|
+
/* @__PURE__ */ jsx115(
|
|
5336
|
+
"path",
|
|
5337
|
+
{
|
|
5338
|
+
"fill-rule": "evenodd",
|
|
5339
|
+
"clip-rule": "evenodd",
|
|
5340
|
+
d: "M11 44H30.1989C28.9359 42.9252 27.9307 41.5567 27.2888 40H13V8H22.001V18.0769C22.001 20.2861 23.7918 22.0769 26.001 22.0769H35V25.6903C35.6474 25.5654 36.3161 25.5 37 25.5C37.6839 25.5 38.3525 25.5654 39 25.6902V20.865C39 20.3586 38.8078 19.871 38.4623 19.5007L24.5938 4.63565C24.2155 4.23021 23.6859 4 23.1314 4H11C9.89543 4 9 4.89543 9 6V42C9 43.1046 9.89543 44 11 44ZM31.6635 18.0769L26.001 12.0076V18.0769L31.6635 18.0769Z",
|
|
5341
|
+
fill: color
|
|
5342
|
+
}
|
|
5343
|
+
),
|
|
5344
|
+
/* @__PURE__ */ jsx115(
|
|
5345
|
+
"path",
|
|
5346
|
+
{
|
|
5347
|
+
d: "M31.4142 33.5856L35.037 37.2084L41.6368 30.6316L44.4602 33.465L36.7998 41.0987C35.823 42.0721 34.2425 42.0707 33.2674 41.0956L28.5858 36.4141L31.4142 33.5856Z",
|
|
5348
|
+
fill: color
|
|
5349
|
+
}
|
|
5350
|
+
)
|
|
5351
|
+
] });
|
|
5352
|
+
}
|
|
5353
|
+
if (fill) {
|
|
5354
|
+
return /* @__PURE__ */ jsxs81("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5355
|
+
/* @__PURE__ */ jsx115(
|
|
5356
|
+
"path",
|
|
5357
|
+
{
|
|
5358
|
+
d: "M22.501 4V18.0769C22.501 20.0099 24.068 21.5769 26.001 21.5769H39V26.1063C38.5101 26.0363 38.0093 26 37.5 26C31.701 26 27 30.701 27 36.5C27 39.438 28.2067 42.0942 30.1515 44H11C9.89543 44 9 43.1046 9 42V6C9 4.89543 9.89543 4 11 4H22.501Z",
|
|
5359
|
+
fill: color
|
|
5360
|
+
}
|
|
5361
|
+
),
|
|
5362
|
+
/* @__PURE__ */ jsx115(
|
|
5363
|
+
"path",
|
|
5364
|
+
{
|
|
5365
|
+
d: "M25.501 5.60803V18.0769C25.501 18.3531 25.7248 18.5769 26.001 18.5769H37.6005L25.501 5.60803Z",
|
|
5366
|
+
fill: color
|
|
5367
|
+
}
|
|
5368
|
+
),
|
|
5369
|
+
/* @__PURE__ */ jsx115(
|
|
5370
|
+
"path",
|
|
5371
|
+
{
|
|
5372
|
+
d: "M31.0607 33.9392L35.0363 37.9149L41.9897 30.9859L44.1073 33.1109L36.4469 40.7446C35.6654 41.5233 34.401 41.5222 33.6209 40.7421L28.9393 36.0605L31.0607 33.9392Z",
|
|
5373
|
+
fill: color
|
|
5374
|
+
}
|
|
5375
|
+
)
|
|
5376
|
+
] });
|
|
5377
|
+
}
|
|
5378
|
+
return /* @__PURE__ */ jsxs81("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5379
|
+
/* @__PURE__ */ jsx115(
|
|
5380
|
+
"path",
|
|
5381
|
+
{
|
|
5382
|
+
"fill-rule": "evenodd",
|
|
5383
|
+
"clip-rule": "evenodd",
|
|
5384
|
+
d: "M11 44H30.1989C29.2141 43.1619 28.386 42.1452 27.7646 41H12V7H22.501V18.0769C22.501 20.0099 24.068 21.5769 26.001 21.5769H36V25.547C36.3291 25.5159 36.6627 25.5 37 25.5C37.6839 25.5 38.3525 25.5654 39 25.6902V20.865C39 20.3586 38.8078 19.871 38.4623 19.5007L24.5938 4.63565C24.2155 4.23021 23.6859 4 23.1314 4H11C9.89543 4 9 4.89543 9 6V42C9 43.1046 9.89543 44 11 44ZM33.4976 18.5769L25.501 10.0057V18.0769C25.501 18.3531 25.7248 18.5769 26.001 18.5769H33.4976Z",
|
|
5385
|
+
fill: color
|
|
5386
|
+
}
|
|
5387
|
+
),
|
|
5388
|
+
/* @__PURE__ */ jsx115(
|
|
5389
|
+
"path",
|
|
5390
|
+
{
|
|
5391
|
+
d: "M31.0607 33.9392L35.0363 37.9149L41.9897 30.9859L44.1073 33.1109L36.4469 40.7446C35.6654 41.5233 34.401 41.5222 33.6209 40.7421L28.9393 36.0605L31.0607 33.9392Z",
|
|
5392
|
+
fill: color
|
|
5393
|
+
}
|
|
5394
|
+
)
|
|
5395
|
+
] });
|
|
5396
|
+
}, "ICDocumentCheck");
|
|
5397
|
+
|
|
5398
|
+
// src/assets/block.tsx
|
|
5399
|
+
import { jsx as jsx116 } from "react/jsx-runtime";
|
|
5400
|
+
var ICBlock = /* @__PURE__ */ __name((props) => {
|
|
5401
|
+
const { thick = false, fill = false, size = 32, color = "#1E1E1F" } = props;
|
|
5402
|
+
if (thick) {
|
|
5403
|
+
return /* @__PURE__ */ jsx116("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx116(
|
|
5404
|
+
"path",
|
|
5405
|
+
{
|
|
5406
|
+
"fill-rule": "evenodd",
|
|
5407
|
+
"clip-rule": "evenodd",
|
|
5408
|
+
d: "M44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4C35.0457 4 44 12.9543 44 24ZM40 24C40 32.8366 32.8366 40 24 40C20.3028 40 16.8985 38.746 14.1892 36.6401L36.6401 14.1892C38.746 16.8985 40 20.3028 40 24ZM11.3607 33.8118L33.8118 11.3607C31.1024 9.25432 27.6977 8 24 8C15.1634 8 8 15.1634 8 24C8 27.6977 9.25432 31.1024 11.3607 33.8118Z",
|
|
5409
|
+
fill: color
|
|
5410
|
+
}
|
|
5411
|
+
) });
|
|
5412
|
+
}
|
|
5413
|
+
return /* @__PURE__ */ jsx116("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx116(
|
|
5414
|
+
"path",
|
|
5415
|
+
{
|
|
5416
|
+
"fill-rule": "evenodd",
|
|
5417
|
+
"clip-rule": "evenodd",
|
|
5418
|
+
d: "M44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4C35.0457 4 44 12.9543 44 24ZM41 24C41 33.3888 33.3888 41 24 41C19.8459 41 16.0397 39.51 13.0869 37.0353L37.0353 13.0869C39.51 16.0397 41 19.8459 41 24ZM10.9655 34.914L34.914 10.9655C31.961 8.49031 28.1546 7 24 7C14.6112 7 7 14.6112 7 24C7 28.1546 8.49031 31.961 10.9655 34.914Z",
|
|
5419
|
+
fill: color
|
|
5420
|
+
}
|
|
5421
|
+
) });
|
|
5422
|
+
}, "ICBlock");
|
|
5423
|
+
|
|
5424
|
+
// src/assets/bookmark-cancel.tsx
|
|
5425
|
+
import { jsx as jsx117, jsxs as jsxs82 } from "react/jsx-runtime";
|
|
5426
|
+
var ICBookmarkCancel = /* @__PURE__ */ __name((props) => {
|
|
5427
|
+
const { thick = false, fill = false, size = 32, color = "#1E1E1F" } = props;
|
|
5428
|
+
if (fill && thick) {
|
|
5429
|
+
return /* @__PURE__ */ jsx117("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx117(
|
|
5430
|
+
"path",
|
|
5431
|
+
{
|
|
5432
|
+
d: "M9.00006 17.4849L20.7899 29.2748L9.00006 40.3711V17.4849ZM39.0001 30.5143L15.4857 7L39.0001 7V30.5143Z",
|
|
5433
|
+
fill: color,
|
|
5434
|
+
stroke: "#1E1E1F",
|
|
5435
|
+
"stroke-width": "4"
|
|
5436
|
+
}
|
|
5437
|
+
) });
|
|
5438
|
+
}
|
|
5439
|
+
if (thick) {
|
|
5440
|
+
return /* @__PURE__ */ jsxs82("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5441
|
+
/* @__PURE__ */ jsx117(
|
|
5442
|
+
"path",
|
|
5443
|
+
{
|
|
5444
|
+
d: "M3.67651 6.50421L6.50494 3.67578L44.3233 41.4941L41.4949 44.3226L39.4847 42.3124C39.4846 42.3124 39.4848 42.3124 39.4847 42.3124L3.67651 6.50421Z",
|
|
5445
|
+
fill: color
|
|
5446
|
+
}
|
|
5447
|
+
),
|
|
5448
|
+
/* @__PURE__ */ jsx117(
|
|
5449
|
+
"path",
|
|
5450
|
+
{
|
|
5451
|
+
d: "M41.0001 7V35.3428L37.0001 31.3428V9H14.6573L10.6573 5H39.0001C40.1046 5 41.0001 5.89543 41.0001 7Z",
|
|
5452
|
+
fill: color
|
|
5453
|
+
}
|
|
5454
|
+
),
|
|
5455
|
+
/* @__PURE__ */ jsx117(
|
|
5456
|
+
"path",
|
|
5457
|
+
{
|
|
5458
|
+
d: "M7.00006 12.6565L11.0001 16.6565V35.7423L20.8321 26.4886L23.6619 29.3183L10.3708 41.8275C9.09444 43.0288 7.00006 42.1239 7.00006 40.3711V12.6565Z",
|
|
5459
|
+
fill: color
|
|
5460
|
+
}
|
|
5461
|
+
)
|
|
5462
|
+
] });
|
|
5463
|
+
}
|
|
5464
|
+
if (fill) {
|
|
5465
|
+
return /* @__PURE__ */ jsxs82("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5466
|
+
/* @__PURE__ */ jsx117(
|
|
5467
|
+
"path",
|
|
5468
|
+
{
|
|
5469
|
+
d: "M41.8772 43.9992L4.00122 6.12327L6.12254 4.00195L7.64735 5.52676C7.64722 5.52688 7.64748 5.52664 7.64735 5.52676L43.9985 41.8779L41.8772 43.9992Z",
|
|
5470
|
+
fill: color
|
|
5471
|
+
}
|
|
5472
|
+
),
|
|
5473
|
+
/* @__PURE__ */ jsx117("path", { d: "M41 36.7573V7C41 5.89543 40.1045 5 39 5H9.24266L41 36.7573Z", fill: color }),
|
|
5474
|
+
/* @__PURE__ */ jsx117(
|
|
5475
|
+
"path",
|
|
5476
|
+
{
|
|
5477
|
+
d: "M6.99998 40.1716V11.2426L23.8787 28.1213L10.4142 41.5858C9.15427 42.8457 6.99998 41.9534 6.99998 40.1716Z",
|
|
5478
|
+
fill: color
|
|
5479
|
+
}
|
|
5480
|
+
)
|
|
5481
|
+
] });
|
|
5482
|
+
}
|
|
5483
|
+
return /* @__PURE__ */ jsxs82("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5484
|
+
/* @__PURE__ */ jsx117(
|
|
5485
|
+
"path",
|
|
5486
|
+
{
|
|
5487
|
+
d: "M4.00171 6.12327L6.12303 4.00195L43.999 41.8779L41.8777 43.9992L39.8571 41.9787C39.8571 41.9787 39.8572 41.9787 39.8571 41.9787L4.00171 6.12327Z",
|
|
5488
|
+
fill: color
|
|
5489
|
+
}
|
|
5490
|
+
),
|
|
5491
|
+
/* @__PURE__ */ jsx117("path", { d: "M41 7V36.7578L38 33.7578V8H12.2422L9.24217 5H39C40.1045 5 41 5.89543 41 7Z", fill: color }),
|
|
5492
|
+
/* @__PURE__ */ jsx117(
|
|
5493
|
+
"path",
|
|
5494
|
+
{
|
|
5495
|
+
d: "M6.99998 11.2431L9.99998 14.2431V37.7574L21.7571 26.0002L23.8784 28.1215L10.4142 41.5858C9.15427 42.8457 6.99998 41.9534 6.99998 40.1716V11.2431Z",
|
|
5496
|
+
fill: color
|
|
5497
|
+
}
|
|
5498
|
+
)
|
|
5499
|
+
] });
|
|
5500
|
+
}, "ICBookmarkCancel");
|
|
5501
|
+
|
|
5158
5502
|
// src/utils/icon.ts
|
|
5159
5503
|
var iconMap = {
|
|
5160
5504
|
"close-fill": ICCloseFill,
|
|
@@ -5267,7 +5611,13 @@ var iconMap = {
|
|
|
5267
5611
|
"light-mode": ICLightMode,
|
|
5268
5612
|
"dark-mode": ICDarkMode,
|
|
5269
5613
|
target: ICTarget,
|
|
5270
|
-
"question-box": ICQuestionBox
|
|
5614
|
+
"question-box": ICQuestionBox,
|
|
5615
|
+
"new-tab": ICNewTab,
|
|
5616
|
+
example: ICExample,
|
|
5617
|
+
quote: ICQuote,
|
|
5618
|
+
"document-check": ICDocumentCheck,
|
|
5619
|
+
block: ICBlock,
|
|
5620
|
+
"bookmark-cancel": ICBookmarkCancel
|
|
5271
5621
|
};
|
|
5272
5622
|
|
|
5273
5623
|
// src/utils/object.ts
|
|
@@ -5281,33 +5631,33 @@ import { forwardRef } from "react";
|
|
|
5281
5631
|
|
|
5282
5632
|
// src/components/Button/style.module.scss
|
|
5283
5633
|
var style_module_default = {
|
|
5284
|
-
"button": "
|
|
5285
|
-
"default": "
|
|
5286
|
-
"text": "
|
|
5287
|
-
"primary": "
|
|
5288
|
-
"secondary": "
|
|
5289
|
-
"tertiary": "
|
|
5290
|
-
"quaternary": "
|
|
5291
|
-
"error": "
|
|
5292
|
-
"inverse": "
|
|
5293
|
-
"ghost": "
|
|
5294
|
-
"cta": "
|
|
5295
|
-
"l": "
|
|
5296
|
-
"m": "
|
|
5297
|
-
"s": "
|
|
5298
|
-
"align-center": "_align-
|
|
5299
|
-
"align-space-between": "_align-space-
|
|
5300
|
-
"neutral-primary": "_neutral-
|
|
5301
|
-
"inverse-primary": "_inverse-
|
|
5302
|
-
"inverse-static-primary": "_inverse-static-
|
|
5303
|
-
"content": "
|
|
5304
|
-
"full": "
|
|
5305
|
-
"fit-content": "_fit-
|
|
5306
|
-
"children": "
|
|
5307
|
-
"cta-children": "_cta-
|
|
5308
|
-
"l-children": "_l-
|
|
5309
|
-
"m-children": "_m-
|
|
5310
|
-
"s-children": "_s-
|
|
5634
|
+
"button": "_button_k9hnj_1",
|
|
5635
|
+
"default": "_default_k9hnj_22",
|
|
5636
|
+
"text": "_text_k9hnj_30",
|
|
5637
|
+
"primary": "_primary_k9hnj_39",
|
|
5638
|
+
"secondary": "_secondary_k9hnj_47",
|
|
5639
|
+
"tertiary": "_tertiary_k9hnj_54",
|
|
5640
|
+
"quaternary": "_quaternary_k9hnj_65",
|
|
5641
|
+
"error": "_error_k9hnj_85",
|
|
5642
|
+
"inverse": "_inverse_k9hnj_93",
|
|
5643
|
+
"ghost": "_ghost_k9hnj_112",
|
|
5644
|
+
"cta": "_cta_k9hnj_147",
|
|
5645
|
+
"l": "_l_k9hnj_154",
|
|
5646
|
+
"m": "_m_k9hnj_160",
|
|
5647
|
+
"s": "_s_k9hnj_47",
|
|
5648
|
+
"align-center": "_align-center_k9hnj_172",
|
|
5649
|
+
"align-space-between": "_align-space-between_k9hnj_176",
|
|
5650
|
+
"neutral-primary": "_neutral-primary_k9hnj_180",
|
|
5651
|
+
"inverse-primary": "_inverse-primary_k9hnj_185",
|
|
5652
|
+
"inverse-static-primary": "_inverse-static-primary_k9hnj_189",
|
|
5653
|
+
"content": "_content_k9hnj_193",
|
|
5654
|
+
"full": "_full_k9hnj_198",
|
|
5655
|
+
"fit-content": "_fit-content_k9hnj_202",
|
|
5656
|
+
"children": "_children_k9hnj_206",
|
|
5657
|
+
"cta-children": "_cta-children_k9hnj_212",
|
|
5658
|
+
"l-children": "_l-children_k9hnj_217",
|
|
5659
|
+
"m-children": "_m-children_k9hnj_222",
|
|
5660
|
+
"s-children": "_s-children_k9hnj_227"
|
|
5311
5661
|
};
|
|
5312
5662
|
|
|
5313
5663
|
// src/components/Button/index.tsx
|
|
@@ -5347,7 +5697,7 @@ var style_module_default2 = {
|
|
|
5347
5697
|
};
|
|
5348
5698
|
|
|
5349
5699
|
// src/components/Icon/index.tsx
|
|
5350
|
-
import { jsx as
|
|
5700
|
+
import { jsx as jsx118 } from "react/jsx-runtime";
|
|
5351
5701
|
var iconSizeMap = {
|
|
5352
5702
|
xs: 16,
|
|
5353
5703
|
s: 20,
|
|
@@ -5390,7 +5740,7 @@ var Icon = /* @__PURE__ */ __name((props) => {
|
|
|
5390
5740
|
const { name, type = "neutral-label-primary", size = "m", thick = false, fill = false, className, ...rest } = props;
|
|
5391
5741
|
const IconComponent = getIconComponent(name, iconMap);
|
|
5392
5742
|
const iconSize = iconSizeMap[size];
|
|
5393
|
-
return /* @__PURE__ */
|
|
5743
|
+
return /* @__PURE__ */ jsx118(
|
|
5394
5744
|
IconComponent,
|
|
5395
5745
|
{
|
|
5396
5746
|
...rest,
|
|
@@ -5403,7 +5753,7 @@ var Icon = /* @__PURE__ */ __name((props) => {
|
|
|
5403
5753
|
}, "Icon");
|
|
5404
5754
|
|
|
5405
5755
|
// src/components/Button/index.tsx
|
|
5406
|
-
import { jsx as
|
|
5756
|
+
import { jsx as jsx119, jsxs as jsxs83 } from "react/jsx-runtime";
|
|
5407
5757
|
var buttonIconSizeMap = {
|
|
5408
5758
|
cta: "m",
|
|
5409
5759
|
l: "s",
|
|
@@ -5479,16 +5829,16 @@ var DefaultButton = forwardRef(
|
|
|
5479
5829
|
rightIcon,
|
|
5480
5830
|
...rest
|
|
5481
5831
|
}, ref) => {
|
|
5482
|
-
return /* @__PURE__ */
|
|
5832
|
+
return /* @__PURE__ */ jsx119(
|
|
5483
5833
|
"button",
|
|
5484
5834
|
{
|
|
5485
5835
|
...rest,
|
|
5486
5836
|
className: clsx2(defaultButtonVariants({ level, fill, align, size, width }), className),
|
|
5487
5837
|
ref,
|
|
5488
|
-
children: /* @__PURE__ */
|
|
5489
|
-
!!leftIcon && /* @__PURE__ */
|
|
5490
|
-
/* @__PURE__ */
|
|
5491
|
-
!!rightIcon && /* @__PURE__ */
|
|
5838
|
+
children: /* @__PURE__ */ jsxs83("span", { className: clsx2(defaultButtonChildrenVariants({ size })), children: [
|
|
5839
|
+
!!leftIcon && /* @__PURE__ */ jsx119(Icon, { name: leftIcon.name, size: buttonIconSizeMap[size], thick: buttonSizeIconThickMap[size] }),
|
|
5840
|
+
/* @__PURE__ */ jsx119("p", { className: style_module_default.content, children: rest.children }),
|
|
5841
|
+
!!rightIcon && /* @__PURE__ */ jsx119(Icon, { name: rightIcon.name, size: buttonIconSizeMap[size], thick: buttonSizeIconThickMap[size] })
|
|
5492
5842
|
] })
|
|
5493
5843
|
}
|
|
5494
5844
|
);
|
|
@@ -5496,7 +5846,7 @@ var DefaultButton = forwardRef(
|
|
|
5496
5846
|
);
|
|
5497
5847
|
var TextButton = forwardRef(
|
|
5498
5848
|
({ level = "inverse-primary", className, ...rest }, ref) => {
|
|
5499
|
-
return /* @__PURE__ */
|
|
5849
|
+
return /* @__PURE__ */ jsx119("button", { ...rest, className: clsx2(textButtonVariants({ level }), className), ref });
|
|
5500
5850
|
}
|
|
5501
5851
|
);
|
|
5502
5852
|
var Button = forwardRef((props, ref) => {
|
|
@@ -5504,10 +5854,10 @@ var Button = forwardRef((props, ref) => {
|
|
|
5504
5854
|
case "default":
|
|
5505
5855
|
case void 0:
|
|
5506
5856
|
const DefaultComp = props.asChild ? Slot : DefaultButton;
|
|
5507
|
-
return /* @__PURE__ */
|
|
5857
|
+
return /* @__PURE__ */ jsx119(DefaultComp, { ...props, ref });
|
|
5508
5858
|
case "text":
|
|
5509
5859
|
const TextComp = props.asChild ? Slot : TextButton;
|
|
5510
|
-
return /* @__PURE__ */
|
|
5860
|
+
return /* @__PURE__ */ jsx119(TextComp, { ...props, ref });
|
|
5511
5861
|
}
|
|
5512
5862
|
});
|
|
5513
5863
|
|
|
@@ -5592,7 +5942,7 @@ var colorVariants = cva3(style_module_default4.typography, {
|
|
|
5592
5942
|
});
|
|
5593
5943
|
|
|
5594
5944
|
// src/components/Typography/Paragraph.tsx
|
|
5595
|
-
import { jsx as
|
|
5945
|
+
import { jsx as jsx120 } from "react/jsx-runtime";
|
|
5596
5946
|
var Paragraph = /* @__PURE__ */ __name(({
|
|
5597
5947
|
size,
|
|
5598
5948
|
type,
|
|
@@ -5602,7 +5952,7 @@ var Paragraph = /* @__PURE__ */ __name(({
|
|
|
5602
5952
|
color = "neutral-label-primary",
|
|
5603
5953
|
...rest
|
|
5604
5954
|
}) => {
|
|
5605
|
-
return /* @__PURE__ */
|
|
5955
|
+
return /* @__PURE__ */ jsx120(
|
|
5606
5956
|
"p",
|
|
5607
5957
|
{
|
|
5608
5958
|
...rest,
|
|
@@ -5614,13 +5964,13 @@ var Paragraph = /* @__PURE__ */ __name(({
|
|
|
5614
5964
|
|
|
5615
5965
|
// src/components/Toast/index.tsx
|
|
5616
5966
|
import { useRecoilValue, useSetRecoilState as useSetRecoilState2 } from "recoil";
|
|
5617
|
-
import { jsx as
|
|
5967
|
+
import { jsx as jsx121, jsxs as jsxs84 } from "react/jsx-runtime";
|
|
5618
5968
|
import { createElement } from "react";
|
|
5619
5969
|
var Toaster = /* @__PURE__ */ __name(() => {
|
|
5620
5970
|
const { list } = useRecoilValue(toastAtom);
|
|
5621
|
-
return /* @__PURE__ */
|
|
5971
|
+
return /* @__PURE__ */ jsxs84(Provider, { children: [
|
|
5622
5972
|
list.map((props) => /* @__PURE__ */ createElement(SingleToast, { ...props, key: props.toastId })),
|
|
5623
|
-
/* @__PURE__ */
|
|
5973
|
+
/* @__PURE__ */ jsx121(Viewport, { className: style_module_default3.ToastViewport })
|
|
5624
5974
|
] });
|
|
5625
5975
|
}, "Toaster");
|
|
5626
5976
|
var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
@@ -5649,10 +5999,10 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
|
5649
5999
|
clearTimeout(timerRef.current);
|
|
5650
6000
|
};
|
|
5651
6001
|
}, []);
|
|
5652
|
-
return /* @__PURE__ */
|
|
5653
|
-
icon && /* @__PURE__ */
|
|
5654
|
-
/* @__PURE__ */
|
|
5655
|
-
/* @__PURE__ */
|
|
6002
|
+
return /* @__PURE__ */ jsxs84(Root, { className: style_module_default3.ToastRoot, open: isOpen, ...props, children: [
|
|
6003
|
+
icon && /* @__PURE__ */ jsx121("i", { className: style_module_default3.Icon, children: /* @__PURE__ */ jsx121(Icon, { ...icon, size: "s" }) }),
|
|
6004
|
+
/* @__PURE__ */ jsxs84(Title, { className: style_module_default3.ToastTitle, children: [
|
|
6005
|
+
/* @__PURE__ */ jsx121(
|
|
5656
6006
|
Paragraph,
|
|
5657
6007
|
{
|
|
5658
6008
|
className: style_module_default3.TitleText,
|
|
@@ -5663,14 +6013,14 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
|
5663
6013
|
children: message
|
|
5664
6014
|
}
|
|
5665
6015
|
),
|
|
5666
|
-
button && /* @__PURE__ */
|
|
6016
|
+
button && /* @__PURE__ */ jsx121(Button, { onClick: button.onClick, level: "inverse", size: "s", align: "center", children: button.label })
|
|
5667
6017
|
] })
|
|
5668
6018
|
] });
|
|
5669
6019
|
}, "SingleToast");
|
|
5670
6020
|
|
|
5671
6021
|
// src/components/Typography/Heading.tsx
|
|
5672
6022
|
import clsx4 from "clsx";
|
|
5673
|
-
import { jsx as
|
|
6023
|
+
import { jsx as jsx122 } from "react/jsx-runtime";
|
|
5674
6024
|
var Heading = /* @__PURE__ */ __name(({
|
|
5675
6025
|
size,
|
|
5676
6026
|
children,
|
|
@@ -5680,7 +6030,7 @@ var Heading = /* @__PURE__ */ __name(({
|
|
|
5680
6030
|
...rest
|
|
5681
6031
|
}) => {
|
|
5682
6032
|
const Element = `h${size}`;
|
|
5683
|
-
return /* @__PURE__ */
|
|
6033
|
+
return /* @__PURE__ */ jsx122(
|
|
5684
6034
|
Element,
|
|
5685
6035
|
{
|
|
5686
6036
|
...rest,
|
|
@@ -5692,7 +6042,7 @@ var Heading = /* @__PURE__ */ __name(({
|
|
|
5692
6042
|
|
|
5693
6043
|
// src/components/Typography/Display.tsx
|
|
5694
6044
|
import clsx5 from "clsx";
|
|
5695
|
-
import { jsx as
|
|
6045
|
+
import { jsx as jsx123 } from "react/jsx-runtime";
|
|
5696
6046
|
var Display = /* @__PURE__ */ __name(({
|
|
5697
6047
|
size,
|
|
5698
6048
|
type,
|
|
@@ -5702,7 +6052,7 @@ var Display = /* @__PURE__ */ __name(({
|
|
|
5702
6052
|
color = "neutral-label-primary",
|
|
5703
6053
|
...rest
|
|
5704
6054
|
}) => {
|
|
5705
|
-
return /* @__PURE__ */
|
|
6055
|
+
return /* @__PURE__ */ jsx123(
|
|
5706
6056
|
"p",
|
|
5707
6057
|
{
|
|
5708
6058
|
...rest,
|
|
@@ -5714,7 +6064,7 @@ var Display = /* @__PURE__ */ __name(({
|
|
|
5714
6064
|
|
|
5715
6065
|
// src/components/Typography/Title.tsx
|
|
5716
6066
|
import clsx6 from "clsx";
|
|
5717
|
-
import { jsx as
|
|
6067
|
+
import { jsx as jsx124 } from "react/jsx-runtime";
|
|
5718
6068
|
var Title2 = /* @__PURE__ */ __name(({
|
|
5719
6069
|
weight,
|
|
5720
6070
|
size,
|
|
@@ -5724,7 +6074,7 @@ var Title2 = /* @__PURE__ */ __name(({
|
|
|
5724
6074
|
color = "neutral-label-primary",
|
|
5725
6075
|
...rest
|
|
5726
6076
|
}) => {
|
|
5727
|
-
return /* @__PURE__ */
|
|
6077
|
+
return /* @__PURE__ */ jsx124(
|
|
5728
6078
|
"p",
|
|
5729
6079
|
{
|
|
5730
6080
|
...rest,
|
|
@@ -5736,7 +6086,7 @@ var Title2 = /* @__PURE__ */ __name(({
|
|
|
5736
6086
|
|
|
5737
6087
|
// src/components/Typography/Caption.tsx
|
|
5738
6088
|
import clsx7 from "clsx";
|
|
5739
|
-
import { jsx as
|
|
6089
|
+
import { jsx as jsx125 } from "react/jsx-runtime";
|
|
5740
6090
|
var Caption = /* @__PURE__ */ __name(({
|
|
5741
6091
|
children,
|
|
5742
6092
|
size,
|
|
@@ -5746,7 +6096,7 @@ var Caption = /* @__PURE__ */ __name(({
|
|
|
5746
6096
|
color = "neutral-label-primary",
|
|
5747
6097
|
...rest
|
|
5748
6098
|
}) => {
|
|
5749
|
-
return /* @__PURE__ */
|
|
6099
|
+
return /* @__PURE__ */ jsx125(
|
|
5750
6100
|
"caption",
|
|
5751
6101
|
{
|
|
5752
6102
|
...rest,
|
|
@@ -5784,7 +6134,7 @@ var style_module_default5 = {
|
|
|
5784
6134
|
// src/components/Popover/index.tsx
|
|
5785
6135
|
import { cva as cva4 } from "class-variance-authority";
|
|
5786
6136
|
import { clsx as clsx8 } from "clsx";
|
|
5787
|
-
import { jsx as
|
|
6137
|
+
import { jsx as jsx126, jsxs as jsxs85 } from "react/jsx-runtime";
|
|
5788
6138
|
var DEFAULT_OFFSET = -6;
|
|
5789
6139
|
var popoverVariants = cva4(style_module_default5.content, {
|
|
5790
6140
|
variants: {
|
|
@@ -5806,9 +6156,9 @@ var popoverTagVariants = cva4([style_module_default5.tag, "lp-sys-typo-caption3-
|
|
|
5806
6156
|
var popoverTitleVariants = cva4([style_module_default5.title, "lp-sys-typo-paragraph3-normal-bold"]);
|
|
5807
6157
|
var popoverSubtitleVariants = cva4([style_module_default5.subTitle, "lp-sys-typo-caption1-normal-regular"]);
|
|
5808
6158
|
var popoverFooterVariants = cva4([style_module_default5.footer, "lp-sys-typo-caption1-normal-medium"]);
|
|
5809
|
-
var PopoverRoot = /* @__PURE__ */ __name(({ isOpen, children, onChange }) => /* @__PURE__ */
|
|
5810
|
-
var PopoverTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */
|
|
5811
|
-
var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */
|
|
6159
|
+
var PopoverRoot = /* @__PURE__ */ __name(({ isOpen, children, onChange }) => /* @__PURE__ */ jsx126(PopoverPrimitive.Root, { open: isOpen, onOpenChange: onChange, children }), "PopoverRoot");
|
|
6160
|
+
var PopoverTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx126(PopoverPrimitive.Trigger, { asChild: true, children: by }), "PopoverTrigger");
|
|
6161
|
+
var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ jsx126(
|
|
5812
6162
|
"svg",
|
|
5813
6163
|
{
|
|
5814
6164
|
className,
|
|
@@ -5818,7 +6168,7 @@ var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ js
|
|
|
5818
6168
|
height: "10",
|
|
5819
6169
|
viewBox: "0 0 30 10",
|
|
5820
6170
|
fill: "none",
|
|
5821
|
-
children: /* @__PURE__ */
|
|
6171
|
+
children: /* @__PURE__ */ jsx126(
|
|
5822
6172
|
"path",
|
|
5823
6173
|
{
|
|
5824
6174
|
"fill-rule": "evenodd",
|
|
@@ -5843,7 +6193,7 @@ var PopoverContent = React.forwardRef(
|
|
|
5843
6193
|
onClose,
|
|
5844
6194
|
className,
|
|
5845
6195
|
...props
|
|
5846
|
-
}, ref) => /* @__PURE__ */
|
|
6196
|
+
}, ref) => /* @__PURE__ */ jsx126(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsxs85(
|
|
5847
6197
|
PopoverPrimitive.Content,
|
|
5848
6198
|
{
|
|
5849
6199
|
ref,
|
|
@@ -5853,24 +6203,24 @@ var PopoverContent = React.forwardRef(
|
|
|
5853
6203
|
className: clsx8(popoverVariants({ level }), className),
|
|
5854
6204
|
...props,
|
|
5855
6205
|
children: [
|
|
5856
|
-
/* @__PURE__ */
|
|
5857
|
-
/* @__PURE__ */
|
|
5858
|
-
tag && /* @__PURE__ */
|
|
5859
|
-
icon && /* @__PURE__ */
|
|
5860
|
-
/* @__PURE__ */
|
|
5861
|
-
/* @__PURE__ */
|
|
6206
|
+
/* @__PURE__ */ jsxs85("div", { className: style_module_default5.contentContainer, children: [
|
|
6207
|
+
/* @__PURE__ */ jsxs85("div", { className: style_module_default5.heading, children: [
|
|
6208
|
+
tag && /* @__PURE__ */ jsx126("span", { className: popoverTagVariants(), children: tag }),
|
|
6209
|
+
icon && /* @__PURE__ */ jsx126(Icon, { name: icon.name, size: "xs", thick: icon.thick, fill: icon.fill }),
|
|
6210
|
+
/* @__PURE__ */ jsx126("p", { className: popoverTitleVariants(), children: title }),
|
|
6211
|
+
/* @__PURE__ */ jsx126(
|
|
5862
6212
|
PopoverPrimitive.PopoverClose,
|
|
5863
6213
|
{
|
|
5864
6214
|
className: style_module_default5.closeButton,
|
|
5865
6215
|
onClick: () => {
|
|
5866
6216
|
onClose?.();
|
|
5867
6217
|
},
|
|
5868
|
-
children: /* @__PURE__ */
|
|
6218
|
+
children: /* @__PURE__ */ jsx126(Icon, { name: "close-fill", size: "s", fill: true, thick: true })
|
|
5869
6219
|
}
|
|
5870
6220
|
)
|
|
5871
6221
|
] }),
|
|
5872
|
-
/* @__PURE__ */
|
|
5873
|
-
onConfirm && /* @__PURE__ */
|
|
6222
|
+
/* @__PURE__ */ jsx126("p", { className: popoverSubtitleVariants(), children: subTitle }),
|
|
6223
|
+
onConfirm && /* @__PURE__ */ jsx126("div", { className: popoverFooterVariants(), children: /* @__PURE__ */ jsx126(
|
|
5874
6224
|
Button,
|
|
5875
6225
|
{
|
|
5876
6226
|
as: "text",
|
|
@@ -5882,7 +6232,7 @@ var PopoverContent = React.forwardRef(
|
|
|
5882
6232
|
}
|
|
5883
6233
|
) })
|
|
5884
6234
|
] }),
|
|
5885
|
-
/* @__PURE__ */
|
|
6235
|
+
/* @__PURE__ */ jsx126(PopoverPrimitive.Arrow, { asChild: true, children: /* @__PURE__ */ jsx126(PopoverAnchor, { className: clsx8(popoverAnchorVariants({ level })) }) })
|
|
5886
6236
|
]
|
|
5887
6237
|
}
|
|
5888
6238
|
) })
|
|
@@ -5907,14 +6257,14 @@ var style_module_default6 = {
|
|
|
5907
6257
|
// src/components/Tooltip/index.tsx
|
|
5908
6258
|
import { cva as cva5 } from "class-variance-authority";
|
|
5909
6259
|
import clsx9 from "clsx";
|
|
5910
|
-
import { jsx as
|
|
6260
|
+
import { jsx as jsx127 } from "react/jsx-runtime";
|
|
5911
6261
|
var DEFAULT_OFFSET2 = 4;
|
|
5912
6262
|
var tooltipVariants = cva5([style_module_default6.tooltip, "lp-sys-typo-caption1-normal-medium"]);
|
|
5913
6263
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
5914
|
-
var TooltipRoot = /* @__PURE__ */ __name(({ children }) => /* @__PURE__ */
|
|
5915
|
-
var TooltipTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */
|
|
6264
|
+
var TooltipRoot = /* @__PURE__ */ __name(({ children }) => /* @__PURE__ */ jsx127(TooltipPrimitive.Root, { delayDuration: 0, children }), "TooltipRoot");
|
|
6265
|
+
var TooltipTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx127(TooltipPrimitive.Trigger, { asChild: true, children: by }), "TooltipTrigger");
|
|
5916
6266
|
var TooltipContent = forwardRef3(
|
|
5917
|
-
({ description, position = "top", className, offset = DEFAULT_OFFSET2, ...props }, ref) => /* @__PURE__ */
|
|
6267
|
+
({ description, position = "top", className, offset = DEFAULT_OFFSET2, ...props }, ref) => /* @__PURE__ */ jsx127(
|
|
5918
6268
|
TooltipPrimitive.Content,
|
|
5919
6269
|
{
|
|
5920
6270
|
ref,
|
|
@@ -5922,7 +6272,7 @@ var TooltipContent = forwardRef3(
|
|
|
5922
6272
|
sideOffset: offset,
|
|
5923
6273
|
className: clsx9(tooltipVariants(), className),
|
|
5924
6274
|
...props,
|
|
5925
|
-
children: /* @__PURE__ */
|
|
6275
|
+
children: /* @__PURE__ */ jsx127("p", { className: style_module_default6.tooltipContent, children: description })
|
|
5926
6276
|
}
|
|
5927
6277
|
)
|
|
5928
6278
|
);
|
|
@@ -5954,7 +6304,7 @@ var style_module_default7 = {
|
|
|
5954
6304
|
|
|
5955
6305
|
// src/components/IconButton/index.tsx
|
|
5956
6306
|
import { Slot as Slot2 } from "@radix-ui/react-slot";
|
|
5957
|
-
import { jsx as
|
|
6307
|
+
import { jsx as jsx128 } from "react/jsx-runtime";
|
|
5958
6308
|
var iconButtonSizeIconSizeMap = {
|
|
5959
6309
|
l: "m",
|
|
5960
6310
|
m: "s",
|
|
@@ -5982,7 +6332,7 @@ var iconButtonVariants = cva6([style_module_default7.iconButton], {
|
|
|
5982
6332
|
var IconButton = forwardRef4(
|
|
5983
6333
|
({ asChild, level = "primary", name, thick = false, fill = false, size = "m", className, ...rest }, ref) => {
|
|
5984
6334
|
const Comp = asChild ? Slot2 : "button";
|
|
5985
|
-
return /* @__PURE__ */
|
|
6335
|
+
return /* @__PURE__ */ jsx128(Comp, { ...rest, className: clsx10(iconButtonVariants({ level, size }), className), ref, children: /* @__PURE__ */ jsx128(Icon, { name, thick, fill, size: iconButtonSizeIconSizeMap[size] }) });
|
|
5986
6336
|
}
|
|
5987
6337
|
);
|
|
5988
6338
|
|
|
@@ -5997,9 +6347,9 @@ var style_module_default8 = {
|
|
|
5997
6347
|
};
|
|
5998
6348
|
|
|
5999
6349
|
// src/components/_Label/index.tsx
|
|
6000
|
-
import { jsx as
|
|
6350
|
+
import { jsx as jsx129 } from "react/jsx-runtime";
|
|
6001
6351
|
var Label = forwardRef5(({ className, ...props }, ref) => {
|
|
6002
|
-
return /* @__PURE__ */
|
|
6352
|
+
return /* @__PURE__ */ jsx129(
|
|
6003
6353
|
LabelPrimitive.Root,
|
|
6004
6354
|
{
|
|
6005
6355
|
ref,
|