@syscore/ui-library 2.0.0-beta-publish-workflow-beta.4 → 2.0.0-beta-publish-workflow-beta.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/dist/index.es.js CHANGED
@@ -17062,6 +17062,587 @@ const SectionHeading = React.forwardRef(
17062
17062
  ] })
17063
17063
  );
17064
17064
  SectionHeading.displayName = "SectionHeading";
17065
+ const sizeClass = {
17066
+ base: "body-base",
17067
+ small: "body-small"
17068
+ };
17069
+ const Copy = React.forwardRef(
17070
+ ({
17071
+ as: Component = "span",
17072
+ tone = "default",
17073
+ size = "base",
17074
+ weight = "regular",
17075
+ align,
17076
+ italic = false,
17077
+ className,
17078
+ ...props
17079
+ }, ref) => /* @__PURE__ */ jsx(
17080
+ Component,
17081
+ {
17082
+ ref,
17083
+ className: cn(
17084
+ sizeClass[size],
17085
+ "copy",
17086
+ `copy--${tone}`,
17087
+ `copy--${weight}`,
17088
+ align && `copy--align-${align}`,
17089
+ italic && "copy--italic",
17090
+ className
17091
+ ),
17092
+ ...props
17093
+ }
17094
+ )
17095
+ );
17096
+ Copy.displayName = "Copy";
17097
+ const InlineNotice = React.forwardRef(
17098
+ ({ tone = "error", children, className, ...props }, ref) => /* @__PURE__ */ jsx(
17099
+ "div",
17100
+ {
17101
+ ref,
17102
+ className: cn("inline-notice", `inline-notice--${tone}`, className),
17103
+ role: tone === "error" ? "alert" : "status",
17104
+ ...props,
17105
+ children: /* @__PURE__ */ jsx("span", { className: "inline-notice__text", children })
17106
+ }
17107
+ )
17108
+ );
17109
+ InlineNotice.displayName = "InlineNotice";
17110
+ const TONES = [
17111
+ "unpaid",
17112
+ "paid",
17113
+ "waived",
17114
+ "void",
17115
+ "neutral"
17116
+ ];
17117
+ function toneForStatus(status) {
17118
+ const value = String(status ?? "").toLowerCase();
17119
+ return TONES.includes(value) ? value : "neutral";
17120
+ }
17121
+ const StatusPill = React.forwardRef(
17122
+ ({ tone = "neutral", children, className, ...props }, ref) => /* @__PURE__ */ jsx(
17123
+ "span",
17124
+ {
17125
+ ref,
17126
+ className: cn("status-pill", `status-pill--${tone}`, className),
17127
+ ...props,
17128
+ children
17129
+ }
17130
+ )
17131
+ );
17132
+ StatusPill.displayName = "StatusPill";
17133
+ const TextLink = React.forwardRef(
17134
+ ({ as: Component = "button", emphasis = "default", className, ...props }, ref) => /* @__PURE__ */ jsx(
17135
+ Component,
17136
+ {
17137
+ ref,
17138
+ className: cn("inline-link", `inline-link--${emphasis}`, className),
17139
+ ...Component === "button" ? { type: props.type ?? "button" } : null,
17140
+ ...props
17141
+ }
17142
+ )
17143
+ );
17144
+ TextLink.displayName = "TextLink";
17145
+ const LegalNote = React.forwardRef(
17146
+ ({ children, className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("legal-note", className), ...props, children: /* @__PURE__ */ jsx("span", { className: "legal-note__text", children }) })
17147
+ );
17148
+ LegalNote.displayName = "LegalNote";
17149
+ const ChipIcon = () => /* @__PURE__ */ jsxs(
17150
+ "svg",
17151
+ {
17152
+ className: "credit-card-preview__chip",
17153
+ viewBox: "0 0 34 26",
17154
+ role: "presentation",
17155
+ "aria-hidden": "true",
17156
+ children: [
17157
+ /* @__PURE__ */ jsx("rect", { x: "0.5", y: "0.5", width: "33", height: "25", rx: "4.5" }),
17158
+ /* @__PURE__ */ jsx("path", { d: "M0.5 8.5h8m17 0h8m-33 9h8m17 0h8" }),
17159
+ /* @__PURE__ */ jsx("rect", { x: "8.5", y: "0.5", width: "17", height: "25" })
17160
+ ]
17161
+ }
17162
+ );
17163
+ const BrandMark = ({ brand }) => {
17164
+ if (brand === "visa") {
17165
+ return /* @__PURE__ */ jsx("span", { className: "credit-card-preview__brand credit-card-preview__brand--visa", children: "VISA" });
17166
+ }
17167
+ if (brand === "mastercard") {
17168
+ return /* @__PURE__ */ jsxs(
17169
+ "span",
17170
+ {
17171
+ className: "credit-card-preview__brand credit-card-preview__brand--mastercard",
17172
+ "aria-label": "Mastercard",
17173
+ children: [
17174
+ /* @__PURE__ */ jsx("span", { className: "credit-card-preview__mc-circle" }),
17175
+ /* @__PURE__ */ jsx("span", { className: "credit-card-preview__mc-circle" })
17176
+ ]
17177
+ }
17178
+ );
17179
+ }
17180
+ return null;
17181
+ };
17182
+ const CreditCardPreview = React.forwardRef(
17183
+ ({
17184
+ holderName,
17185
+ expiry,
17186
+ brand = "visa",
17187
+ label = "Credit Card",
17188
+ className,
17189
+ ...props
17190
+ }, ref) => /* @__PURE__ */ jsxs(
17191
+ "div",
17192
+ {
17193
+ ref,
17194
+ className: cn("credit-card-preview", className),
17195
+ role: "img",
17196
+ "aria-label": `${label} preview`,
17197
+ ...props,
17198
+ children: [
17199
+ /* @__PURE__ */ jsx("span", { className: "credit-card-preview__label", children: label }),
17200
+ /* @__PURE__ */ jsx(ChipIcon, {}),
17201
+ /* @__PURE__ */ jsx("span", { className: "credit-card-preview__number", "aria-hidden": "true", children: [0, 1, 2, 3].map((group) => /* @__PURE__ */ jsx("span", { className: "credit-card-preview__group", children: [0, 1, 2, 3].map((dot) => /* @__PURE__ */ jsx("span", { className: "credit-card-preview__dot" }, dot)) }, group)) }),
17202
+ /* @__PURE__ */ jsxs("span", { className: "credit-card-preview__footer", children: [
17203
+ /* @__PURE__ */ jsxs("span", { className: "credit-card-preview__identity", children: [
17204
+ /* @__PURE__ */ jsx("span", { className: "credit-card-preview__name", children: (holderName == null ? void 0 : holderName.trim()) ? holderName : "Card holder" }),
17205
+ /* @__PURE__ */ jsxs("span", { className: "credit-card-preview__expiry", children: [
17206
+ "Exp. ",
17207
+ (expiry == null ? void 0 : expiry.trim()) ? expiry : "•• / ••"
17208
+ ] })
17209
+ ] }),
17210
+ /* @__PURE__ */ jsx(BrandMark, { brand })
17211
+ ] })
17212
+ ]
17213
+ }
17214
+ )
17215
+ );
17216
+ CreditCardPreview.displayName = "CreditCardPreview";
17217
+ const FieldGroup = React.forwardRef(
17218
+ ({ as: Component = "div", className, ...props }, ref) => /* @__PURE__ */ jsx(Component, { ref, className: cn("field-group", className), ...props })
17219
+ );
17220
+ FieldGroup.displayName = "FieldGroup";
17221
+ const Field = React.forwardRef(
17222
+ ({ actions, staticValue, staticTone = "value", state = "default", className, ...props }, ref) => /* @__PURE__ */ jsxs(
17223
+ "div",
17224
+ {
17225
+ className: cn("field", state === "invalid" && "field--invalid", className),
17226
+ children: [
17227
+ staticValue !== void 0 ? /* @__PURE__ */ jsx("span", { className: cn("field-static", `field-static--${staticTone}`), children: staticValue }) : /* @__PURE__ */ jsx("input", { ref, className: "field-input", ...props }),
17228
+ actions ? /* @__PURE__ */ jsx("span", { className: "field-actions", children: actions }) : null
17229
+ ]
17230
+ }
17231
+ )
17232
+ );
17233
+ Field.displayName = "Field";
17234
+ const FieldAction = React.forwardRef(
17235
+ ({ static: isStatic, tone = "default", className, children, type = "button", ...props }, ref) => {
17236
+ const classes = cn("field-action", `field-action--${tone}`, className);
17237
+ return isStatic ? /* @__PURE__ */ jsx("span", { className: classes, "aria-hidden": "true", children }) : /* @__PURE__ */ jsx("button", { ref, type, className: classes, ...props, children });
17238
+ }
17239
+ );
17240
+ FieldAction.displayName = "FieldAction";
17241
+ const ModalOverlay = React.forwardRef(
17242
+ ({ zIndex = 50, onScrimClick, align = "center", children, className, style, ...props }, ref) => /* @__PURE__ */ jsx(
17243
+ "div",
17244
+ {
17245
+ ref,
17246
+ className: cn("modal-overlay", align === "top" && "modal-overlay--top", className),
17247
+ style: { zIndex, ...style },
17248
+ onClick: onScrimClick ? (event) => {
17249
+ if (event.target === event.currentTarget) onScrimClick();
17250
+ } : void 0,
17251
+ ...props,
17252
+ children
17253
+ }
17254
+ )
17255
+ );
17256
+ ModalOverlay.displayName = "ModalOverlay";
17257
+ const ModalContainer = React.forwardRef(
17258
+ ({ as: Component = "div", width = 420, className, style, ...props }, ref) => /* @__PURE__ */ jsx(
17259
+ Component,
17260
+ {
17261
+ ref,
17262
+ role: "dialog",
17263
+ "aria-modal": "true",
17264
+ className: cn("modal-container", className),
17265
+ style: { width, ...style },
17266
+ ...props
17267
+ }
17268
+ )
17269
+ );
17270
+ ModalContainer.displayName = "ModalContainer";
17271
+ const ModalCloseRow = React.forwardRef(
17272
+ ({ onClose, label = "Close", icon, className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("modal-close-row", className), ...props, children: /* @__PURE__ */ jsx(
17273
+ "button",
17274
+ {
17275
+ type: "button",
17276
+ className: "modal-close",
17277
+ onClick: onClose,
17278
+ "aria-label": label,
17279
+ children: icon
17280
+ }
17281
+ ) })
17282
+ );
17283
+ ModalCloseRow.displayName = "ModalCloseRow";
17284
+ const ModalPanel = React.forwardRef(
17285
+ ({
17286
+ as: Component = "div",
17287
+ tone = "default",
17288
+ align = "start",
17289
+ angle = 114.72731273771963,
17290
+ height,
17291
+ className,
17292
+ style,
17293
+ ...props
17294
+ }, ref) => /* @__PURE__ */ jsx(
17295
+ Component,
17296
+ {
17297
+ ref,
17298
+ className: cn(
17299
+ "modal-panel",
17300
+ `modal-panel--${tone}`,
17301
+ `modal-panel--align-${align}`,
17302
+ className
17303
+ ),
17304
+ style: {
17305
+ ...tone === "accent" ? { ["--panel-gradient-angle"]: `${angle}deg` } : null,
17306
+ ...height !== void 0 ? { height } : null,
17307
+ ...style
17308
+ },
17309
+ ...props
17310
+ }
17311
+ )
17312
+ );
17313
+ ModalPanel.displayName = "ModalPanel";
17314
+ const ModalTitle = React.forwardRef(
17315
+ ({ as: Component = "h2", children, className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: cn("modal-title", className), children: /* @__PURE__ */ jsx(Component, { ref, className: "modal-title__text heading-xxsmall", ...props, children }) })
17316
+ );
17317
+ ModalTitle.displayName = "ModalTitle";
17318
+ const ModalPromptRow = React.forwardRef(
17319
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("modal-prompt-row", className), ...props })
17320
+ );
17321
+ ModalPromptRow.displayName = "ModalPromptRow";
17322
+ const ProfileAvatar = React.forwardRef(
17323
+ ({
17324
+ src,
17325
+ initials,
17326
+ alt,
17327
+ size = 88,
17328
+ onEdit,
17329
+ editLabel = "Change profile image",
17330
+ editIcon,
17331
+ className,
17332
+ ...props
17333
+ }, ref) => /* @__PURE__ */ jsxs(
17334
+ "div",
17335
+ {
17336
+ ref,
17337
+ className: cn(
17338
+ "profile-avatar",
17339
+ // The disc is pulled up 28px to sit behind the edit badge. Without a
17340
+ // badge that offset would just eat the gap to whatever follows.
17341
+ onEdit && "profile-avatar--editable",
17342
+ className
17343
+ ),
17344
+ style: {
17345
+ ["--avatar-size"]: `${size}px`,
17346
+ // 2.8px ring on the 88px disc; the 32px instance is the same
17347
+ // component scaled, so the stroke scales with it.
17348
+ ["--avatar-ring"]: `${size * 2.8 / 88}px`,
17349
+ ["--avatar-initials"]: `${size * 38.5 / 88}px`,
17350
+ ...props.style
17351
+ },
17352
+ ...props,
17353
+ children: [
17354
+ /* @__PURE__ */ jsxs("span", { className: "profile-avatar__disc", children: [
17355
+ src ? /* @__PURE__ */ jsx("img", { className: "profile-avatar__photo", src, alt: alt ?? "" }) : /* @__PURE__ */ jsxs(Fragment, { children: [
17356
+ /* @__PURE__ */ jsx("span", { className: "profile-avatar__bg", "aria-hidden": "true" }),
17357
+ /* @__PURE__ */ jsx("span", { className: "profile-avatar__initials", "aria-hidden": "true", children: initials })
17358
+ ] }),
17359
+ /* @__PURE__ */ jsx("span", { className: "profile-avatar__ring", "aria-hidden": "true" })
17360
+ ] }),
17361
+ onEdit ? /* @__PURE__ */ jsx(
17362
+ "button",
17363
+ {
17364
+ type: "button",
17365
+ className: "profile-avatar__edit",
17366
+ onClick: onEdit,
17367
+ "aria-label": editLabel,
17368
+ children: editIcon
17369
+ }
17370
+ ) : null
17371
+ ]
17372
+ }
17373
+ )
17374
+ );
17375
+ ProfileAvatar.displayName = "ProfileAvatar";
17376
+ const ProfileRow = React.forwardRef(
17377
+ ({ name, tone = "value", children, className, ...props }, ref) => /* @__PURE__ */ jsxs("div", { ref, className: cn("profile-row", className), ...props, children: [
17378
+ children,
17379
+ /* @__PURE__ */ jsx("span", { className: "profile-row__name", children: /* @__PURE__ */ jsx(
17380
+ "span",
17381
+ {
17382
+ className: cn(
17383
+ "profile-row__name-text heading-xxsmall",
17384
+ `profile-row__name-text--${tone}`
17385
+ ),
17386
+ children: name
17387
+ }
17388
+ ) })
17389
+ ] })
17390
+ );
17391
+ ProfileRow.displayName = "ProfileRow";
17392
+ const AvatarButton = React.forwardRef(
17393
+ ({ src, initials, label = "Your account", size = 32, className, type = "button", ...props }, ref) => /* @__PURE__ */ jsx(
17394
+ "button",
17395
+ {
17396
+ ref,
17397
+ type,
17398
+ className: cn("avatar-button", className),
17399
+ "aria-label": label,
17400
+ ...props,
17401
+ children: /* @__PURE__ */ jsx(ProfileAvatar, { src, initials, size, alt: "" })
17402
+ }
17403
+ )
17404
+ );
17405
+ AvatarButton.displayName = "AvatarButton";
17406
+ const DropZone = React.forwardRef(
17407
+ ({
17408
+ iconSrc,
17409
+ iconWidth = 30,
17410
+ iconHeight = 30,
17411
+ icon,
17412
+ onFiles,
17413
+ active = false,
17414
+ accept,
17415
+ multiple = false,
17416
+ inputRef,
17417
+ children,
17418
+ className,
17419
+ type = "button",
17420
+ onClick,
17421
+ ...props
17422
+ }, ref) => {
17423
+ const [dragging, setDragging] = React.useState(false);
17424
+ const internalInput = React.useRef(null);
17425
+ const mark = icon ?? (iconSrc ? /* @__PURE__ */ jsx("img", { src: iconSrc, alt: "", width: iconWidth, height: iconHeight }) : null);
17426
+ const setInput = (node) => {
17427
+ internalInput.current = node;
17428
+ if (typeof inputRef === "function") inputRef(node);
17429
+ else if (inputRef) {
17430
+ inputRef.current = node;
17431
+ }
17432
+ };
17433
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
17434
+ /* @__PURE__ */ jsxs(
17435
+ "button",
17436
+ {
17437
+ ref,
17438
+ type,
17439
+ className: cn(
17440
+ "drop-zone",
17441
+ (active || dragging) && "drop-zone--active",
17442
+ className
17443
+ ),
17444
+ onClick: (event) => {
17445
+ var _a;
17446
+ onClick == null ? void 0 : onClick(event);
17447
+ if (!event.defaultPrevented) (_a = internalInput.current) == null ? void 0 : _a.click();
17448
+ },
17449
+ onDragOver: (event) => {
17450
+ event.preventDefault();
17451
+ setDragging(true);
17452
+ },
17453
+ onDragLeave: () => setDragging(false),
17454
+ onDrop: (event) => {
17455
+ var _a, _b;
17456
+ event.preventDefault();
17457
+ setDragging(false);
17458
+ if ((_b = (_a = event.dataTransfer) == null ? void 0 : _a.files) == null ? void 0 : _b.length) onFiles == null ? void 0 : onFiles(event.dataTransfer.files);
17459
+ },
17460
+ ...props,
17461
+ children: [
17462
+ mark ? /* @__PURE__ */ jsx("span", { className: "drop-zone__icon", "aria-hidden": "true", children: mark }) : null,
17463
+ /* @__PURE__ */ jsx("span", { className: "drop-zone__label", children })
17464
+ ]
17465
+ }
17466
+ ),
17467
+ /* @__PURE__ */ jsx(
17468
+ "input",
17469
+ {
17470
+ ref: setInput,
17471
+ className: "drop-zone__input",
17472
+ type: "file",
17473
+ accept,
17474
+ multiple,
17475
+ tabIndex: -1,
17476
+ onChange: (event) => {
17477
+ var _a;
17478
+ if ((_a = event.target.files) == null ? void 0 : _a.length) onFiles == null ? void 0 : onFiles(event.target.files);
17479
+ event.target.value = "";
17480
+ }
17481
+ }
17482
+ )
17483
+ ] });
17484
+ }
17485
+ );
17486
+ DropZone.displayName = "DropZone";
17487
+ const PillButton = React.forwardRef(
17488
+ ({
17489
+ tone = "gradient",
17490
+ fill = false,
17491
+ angle = 142.25319251189774,
17492
+ children,
17493
+ className,
17494
+ type = "button",
17495
+ style,
17496
+ ...props
17497
+ }, ref) => /* @__PURE__ */ jsx(
17498
+ "button",
17499
+ {
17500
+ ref,
17501
+ type,
17502
+ className: cn(
17503
+ "pill-button",
17504
+ `pill-button--${tone}`,
17505
+ fill && "pill-button--fill",
17506
+ className
17507
+ ),
17508
+ style: tone === "gradient" ? { ["--pill-gradient-angle"]: `${angle}deg`, ...style } : style,
17509
+ ...props,
17510
+ children: /* @__PURE__ */ jsx("span", { className: "pill-button__label", children })
17511
+ }
17512
+ )
17513
+ );
17514
+ PillButton.displayName = "PillButton";
17515
+ const SocialButton = React.forwardRef(
17516
+ ({
17517
+ iconSrc,
17518
+ iconWidth = 24,
17519
+ iconHeight = 24,
17520
+ icon,
17521
+ children,
17522
+ className,
17523
+ type = "button",
17524
+ ...props
17525
+ }, ref) => {
17526
+ const mark = icon ?? (iconSrc ? /* @__PURE__ */ jsx("img", { src: iconSrc, alt: "", width: iconWidth, height: iconHeight }) : null);
17527
+ return /* @__PURE__ */ jsx(
17528
+ "button",
17529
+ {
17530
+ ref,
17531
+ type,
17532
+ className: cn("social-button", className),
17533
+ ...props,
17534
+ children: /* @__PURE__ */ jsxs("span", { className: "social-button__content", children: [
17535
+ mark ? /* @__PURE__ */ jsx("span", { className: "social-button__icon", "aria-hidden": "true", children: mark }) : null,
17536
+ /* @__PURE__ */ jsx("span", { className: "social-button__label", children })
17537
+ ] })
17538
+ }
17539
+ );
17540
+ }
17541
+ );
17542
+ SocialButton.displayName = "SocialButton";
17543
+ const LabeledDivider = React.forwardRef(
17544
+ ({ children, className, ...props }, ref) => /* @__PURE__ */ jsxs(
17545
+ "div",
17546
+ {
17547
+ ref,
17548
+ className: cn("labeled-divider", className),
17549
+ role: "separator",
17550
+ ...props,
17551
+ children: [
17552
+ /* @__PURE__ */ jsx("span", { className: "labeled-divider__rule", "aria-hidden": "true" }),
17553
+ /* @__PURE__ */ jsx("span", { className: "labeled-divider__label overline-medium", children }),
17554
+ /* @__PURE__ */ jsx("span", { className: "labeled-divider__rule", "aria-hidden": "true" })
17555
+ ]
17556
+ }
17557
+ )
17558
+ );
17559
+ LabeledDivider.displayName = "LabeledDivider";
17560
+ const MetaRow = React.forwardRef(
17561
+ ({ children, className, ...props }, ref) => {
17562
+ const items = React.Children.toArray(children).filter(Boolean);
17563
+ return /* @__PURE__ */ jsx("div", { ref, className: cn("meta-row", className), ...props, children: items.map((child, index) => (
17564
+ // eslint-disable-next-line react/no-array-index-key
17565
+ /* @__PURE__ */ jsxs(React.Fragment, { children: [
17566
+ index > 0 ? /* @__PURE__ */ jsx("span", { className: "meta-row__dot", "aria-hidden": "true" }) : null,
17567
+ child
17568
+ ] }, index)
17569
+ )) });
17570
+ }
17571
+ );
17572
+ MetaRow.displayName = "MetaRow";
17573
+ const BUTTON_VARIANT_CLASS = {
17574
+ clear: "button--clear",
17575
+ default: "button--default",
17576
+ "primary-gradient": "button--primary-gradient",
17577
+ "primary-dark": "button--primary-dark",
17578
+ "secondary-light": "button--secondary-light",
17579
+ "tertiary-light": "button--tertiary-light"
17580
+ };
17581
+ const FileUploadTrigger = React.forwardRef(
17582
+ ({
17583
+ onFiles,
17584
+ accept,
17585
+ multiple = false,
17586
+ variant = "secondary-light",
17587
+ children,
17588
+ className,
17589
+ type = "button",
17590
+ onClick,
17591
+ disabled,
17592
+ ...props
17593
+ }, ref) => {
17594
+ const inputRef = React.useRef(null);
17595
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
17596
+ /* @__PURE__ */ jsx(
17597
+ "button",
17598
+ {
17599
+ ref,
17600
+ type,
17601
+ disabled,
17602
+ className: cn("button", BUTTON_VARIANT_CLASS[variant], className),
17603
+ onClick: (event) => {
17604
+ var _a;
17605
+ onClick == null ? void 0 : onClick(event);
17606
+ if (!event.defaultPrevented) (_a = inputRef.current) == null ? void 0 : _a.click();
17607
+ },
17608
+ ...props,
17609
+ children: /* @__PURE__ */ jsx("span", { className: "button-text body-base", children })
17610
+ }
17611
+ ),
17612
+ /* @__PURE__ */ jsx(
17613
+ "input",
17614
+ {
17615
+ ref: inputRef,
17616
+ type: "file",
17617
+ hidden: true,
17618
+ accept,
17619
+ multiple,
17620
+ tabIndex: -1,
17621
+ onChange: (event) => {
17622
+ var _a;
17623
+ if ((_a = event.target.files) == null ? void 0 : _a.length) onFiles == null ? void 0 : onFiles(event.target.files);
17624
+ event.target.value = "";
17625
+ }
17626
+ }
17627
+ )
17628
+ ] });
17629
+ }
17630
+ );
17631
+ FileUploadTrigger.displayName = "FileUploadTrigger";
17632
+ function ResourceThumbnail({
17633
+ src,
17634
+ alt = ""
17635
+ }) {
17636
+ return /* @__PURE__ */ jsx(
17637
+ "img",
17638
+ {
17639
+ className: "resource-thumbnail",
17640
+ src,
17641
+ alt,
17642
+ loading: "lazy"
17643
+ }
17644
+ );
17645
+ }
17065
17646
  export {
17066
17647
  Accordion,
17067
17648
  AccordionContainer,
@@ -17204,6 +17785,8 @@ export {
17204
17785
  ContextMenuSubContent,
17205
17786
  ContextMenuSubTrigger,
17206
17787
  ContextMenuTrigger,
17788
+ Copy,
17789
+ CreditCardPreview,
17207
17790
  DatePicker,
17208
17791
  DateRangePicker,
17209
17792
  Dialog,
@@ -17224,6 +17807,7 @@ export {
17224
17807
  DrawerHeader,
17225
17808
  DrawerTitle,
17226
17809
  DrawerTrigger,
17810
+ DropZone,
17227
17811
  Dropdown,
17228
17812
  DropdownMenu,
17229
17813
  DropdownMenuCheckboxItem,
@@ -17242,7 +17826,11 @@ export {
17242
17826
  DropdownMenuTrigger,
17243
17827
  EmptyState,
17244
17828
  EmptyStateAction,
17829
+ Field,
17830
+ FieldAction,
17831
+ FieldGroup,
17245
17832
  FileUpload,
17833
+ FileUploadTrigger,
17246
17834
  Footer,
17247
17835
  FooterBand,
17248
17836
  FooterCopyright,
@@ -17280,17 +17868,20 @@ export {
17280
17868
  IconConceptSound,
17281
17869
  IconConceptThermalComfort,
17282
17870
  IconConceptWater,
17871
+ InlineNotice,
17283
17872
  Input,
17284
17873
  InputOTP,
17285
17874
  InputOTPGroup,
17286
17875
  InputOTPSeparator,
17287
17876
  InputOTPSlot,
17288
17877
  Label,
17878
+ LabeledDivider,
17289
17879
  Layout,
17290
17880
  LayoutContent,
17291
17881
  LayoutFooter,
17292
17882
  LayoutHeader,
17293
17883
  LayoutPanel,
17884
+ LegalNote,
17294
17885
  List,
17295
17886
  ListItem,
17296
17887
  Menubar,
@@ -17307,10 +17898,17 @@ export {
17307
17898
  MenubarSubContent,
17308
17899
  MenubarSubTrigger,
17309
17900
  MenubarTrigger,
17901
+ MetaRow,
17310
17902
  MobileNav,
17311
17903
  MobileNavBar,
17312
17904
  MobileNavPanel,
17313
17905
  MobileNavTrigger,
17906
+ ModalCloseRow,
17907
+ ModalContainer,
17908
+ ModalOverlay,
17909
+ ModalPanel,
17910
+ ModalPromptRow,
17911
+ ModalTitle,
17314
17912
  NavAccount,
17315
17913
  NavBullet,
17316
17914
  NavLogo,
@@ -17349,16 +17947,20 @@ export {
17349
17947
  PaginationV01Page,
17350
17948
  PaginationV01Previous,
17351
17949
  PasswordFieldV01,
17950
+ PillButton,
17352
17951
  Popover,
17353
17952
  PopoverContent,
17354
17953
  PopoverTrigger,
17355
17954
  Positioned,
17955
+ ProfileAvatar,
17956
+ ProfileRow,
17356
17957
  Progress,
17357
17958
  RadioGroup,
17358
17959
  RadioGroupItem,
17359
17960
  ResizableHandle,
17360
17961
  ResizablePanel,
17361
17962
  ResizablePanelGroup,
17963
+ ResourceThumbnail,
17362
17964
  SPACER_SPACES,
17363
17965
  SPACE_NAMES,
17364
17966
  SPACE_SCALE,
@@ -17432,11 +18034,13 @@ export {
17432
18034
  SidebarTrigger,
17433
18035
  Skeleton,
17434
18036
  Slider,
18037
+ SocialButton,
17435
18038
  Spacer,
17436
18039
  Stack,
17437
18040
  StackItem,
17438
18041
  StandardLogo,
17439
18042
  StandardNavigation,
18043
+ StatusPill,
17440
18044
  Stepper,
17441
18045
  Switch,
17442
18046
  SwitchV01,
@@ -17466,6 +18070,7 @@ export {
17466
18070
  Text,
17467
18071
  TextAreaV01,
17468
18072
  TextFieldV01,
18073
+ TextLink,
17469
18074
  Textarea,
17470
18075
  Timeline,
17471
18076
  TimelineItem,
@@ -17531,6 +18136,7 @@ export {
17531
18136
  tagStatusV02Variants,
17532
18137
  tagV02Variants,
17533
18138
  toastV01Variants,
18139
+ toneForStatus,
17534
18140
  tooltipContentVariants,
17535
18141
  useAccordion,
17536
18142
  useAccordionItem,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syscore/ui-library",
3
- "version": "2.0.0-beta-publish-workflow-beta.4",
3
+ "version": "2.0.0-beta-publish-workflow-beta.5",
4
4
  "description": "A comprehensive React component library built with Radix UI, Tailwind CSS, and TypeScript",
5
5
  "private": false,
6
6
  "type": "module",