@happyvertical/smrt-content 0.60.16 → 0.60.18
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/README.md +8 -0
- package/dist/body-format.d.ts.map +1 -1
- package/dist/body-format.js +9 -5
- package/dist/body-format.js.map +1 -1
- package/dist/chunks/{content-query-DBPoyQ2f.js → content-query-Cn8dEhLF.js} +4 -4
- package/dist/chunks/{content-query-DBPoyQ2f.js.map → content-query-Cn8dEhLF.js.map} +1 -1
- package/dist/chunks/{content-versions-CwkvR0AU.js → content-versions-BYhUbSKu.js} +2 -2
- package/dist/chunks/{content-versions-CwkvR0AU.js.map → content-versions-BYhUbSKu.js.map} +1 -1
- package/dist/chunks/{contents--XgOmNqW.js → contents-CequuA0H.js} +2 -2
- package/dist/chunks/{contents--XgOmNqW.js.map → contents-CequuA0H.js.map} +1 -1
- package/dist/index.js +4 -4
- package/dist/manifest.json +1 -1
- package/dist/server.js +1 -1
- package/dist/smrt-knowledge.json +3 -3
- package/dist/svelte/components/ArticleCard.svelte +39 -36
- package/dist/svelte/components/ArticleList.svelte +10 -5
- package/dist/svelte/components/ContentAgentChat.svelte +90 -82
- package/dist/svelte/components/ContentBodyEditor.svelte +246 -231
- package/dist/svelte/components/ContentBodyEditor.svelte.d.ts.map +1 -1
- package/dist/svelte/components/ContentBodyRenderer.svelte +76 -82
- package/dist/svelte/components/ContentClaimAuditTool.svelte +100 -112
- package/dist/svelte/components/ContentContributionForm.svelte +17 -15
- package/dist/svelte/components/ContentContributionInbox.svelte +55 -51
- package/dist/svelte/components/ContentContributionPortal.svelte +50 -48
- package/dist/svelte/components/ContentContributionTypeManager.svelte +33 -31
- package/dist/svelte/components/ContentContributorManager.svelte +29 -27
- package/dist/svelte/components/ContentCorrectionsTool.svelte +76 -79
- package/dist/svelte/components/ContentEditor.svelte +523 -527
- package/dist/svelte/components/ContentGovernanceAssignmentEditor.svelte +19 -16
- package/dist/svelte/components/ContentGovernanceManager.svelte +33 -33
- package/dist/svelte/components/ContentGovernancePanel.svelte +336 -359
- package/dist/svelte/components/ContentGovernancePolicyEditor.svelte +14 -11
- package/dist/svelte/components/ContentGovernanceProfileEditor.svelte +21 -19
- package/dist/svelte/components/ContentImageBrowser.svelte +72 -68
- package/dist/svelte/components/ContentImageChooser.svelte +30 -22
- package/dist/svelte/components/ContentList.svelte +504 -488
- package/dist/svelte/components/ContentListLifecyclePanel.svelte +19 -21
- package/dist/svelte/components/ContentMetadataFields.svelte +15 -12
- package/dist/svelte/components/ContentPictureDrawer.svelte +115 -112
- package/dist/svelte/components/ContentReferencesPanel.svelte +59 -54
- package/dist/svelte/components/ContentReviewStatusTray.svelte +40 -38
- package/dist/svelte/components/ContentStatusFields.svelte +12 -9
- package/dist/svelte/components/ContentTitleField.svelte +20 -20
- package/dist/svelte/components/ContentTransparencyReport.svelte +94 -92
- package/dist/svelte/components/ContentTransparencyTool.svelte +84 -87
- package/dist/svelte/components/ContentVersionsTool.svelte +60 -63
- package/dist/svelte/components/GovernedContentEditor.svelte +36 -35
- package/dist/svelte/components/ImageThumbnail.svelte +18 -12
- package/dist/svelte/components/Markdown.svelte +58 -55
- package/dist/svelte/routes/ContentContributionsRoute.svelte +206 -209
- package/dist/svelte/routes/ContentFactsRoute.svelte +239 -252
- package/dist/svelte/routes/ContentGovernanceRoute.svelte +77 -78
- package/dist/svelte/routes/ContentWorkspaceRoute.svelte +98 -106
- package/dist/svelte/routes/PublishedArticleRoute.svelte +81 -77
- package/package.json +25 -25
|
@@ -313,18 +313,18 @@ async function handleDeleteContributor(data: Partial<ContentContributorData>) {
|
|
|
313
313
|
}
|
|
314
314
|
</script>
|
|
315
315
|
|
|
316
|
-
<div class
|
|
317
|
-
<header class="
|
|
318
|
-
<div class="
|
|
319
|
-
<div class="
|
|
320
|
-
<div class="
|
|
316
|
+
<div class="smrt-content-contributions-route__root" class:smrt-content-contributions-route__page--embedded={embedded} data-smrt-component="ContentContributionsRoute">
|
|
317
|
+
<header class="smrt-content-contributions-route__header" data-smrt-part="header">
|
|
318
|
+
<div class="smrt-content-contributions-route__container" data-smrt-part="body">
|
|
319
|
+
<div class="smrt-content-contributions-route__header-copy" data-smrt-part="body">
|
|
320
|
+
<div class="smrt-content-contributions-route__eyebrow" data-smrt-part="label">{t(M['content.contributions.eyebrow'])}</div>
|
|
321
321
|
<h1>{t(M['content.contributions.heading'])}</h1>
|
|
322
322
|
<p>
|
|
323
323
|
{t(M['content.contributions.intro'])}
|
|
324
324
|
</p>
|
|
325
325
|
</div>
|
|
326
326
|
|
|
327
|
-
<nav class="
|
|
327
|
+
<nav class="smrt-content-contributions-route__nav" data-smrt-part="nav" aria-label={t(M['content.contributions.nav_aria'])}>
|
|
328
328
|
{#each navigation as item (item.routeId)}
|
|
329
329
|
<a
|
|
330
330
|
href={item.href}
|
|
@@ -339,59 +339,59 @@ async function handleDeleteContributor(data: Partial<ContentContributorData>) {
|
|
|
339
339
|
</div>
|
|
340
340
|
</header>
|
|
341
341
|
|
|
342
|
-
<main class="
|
|
343
|
-
<section class="
|
|
344
|
-
<div class="
|
|
342
|
+
<main class="smrt-content-contributions-route__container smrt-content-contributions-route__main" data-smrt-part="body">
|
|
343
|
+
<section class="smrt-content-contributions-route__callout" data-smrt-part="status">
|
|
344
|
+
<div class="smrt-content-contributions-route__callout-header" data-smrt-part="header">
|
|
345
345
|
<div>
|
|
346
346
|
<strong>{t(M['content.contributions.callout_title'])}</strong>
|
|
347
347
|
<p>
|
|
348
348
|
{t(M['content.contributions.callout_body'])}
|
|
349
349
|
</p>
|
|
350
350
|
</div>
|
|
351
|
-
<span class="
|
|
351
|
+
<span class="smrt-content-contributions-route__pill" data-smrt-part="badge">Live</span>
|
|
352
352
|
</div>
|
|
353
353
|
|
|
354
|
-
<div class="
|
|
354
|
+
<div class="smrt-content-contributions-route__callout-chips" data-smrt-part="list" aria-label={t(M['content.contributions.chips_aria'])}>
|
|
355
355
|
<span>{t(M['content.contributions.chip_held_intake'])}</span>
|
|
356
356
|
<span>{t(M['content.contributions.chip_portal_actions'])}</span>
|
|
357
357
|
<span>{t(M['content.contributions.chip_inbox_decisions'])}</span>
|
|
358
358
|
<span>{t(M['content.contributions.chip_type_trust'])}</span>
|
|
359
359
|
</div>
|
|
360
360
|
|
|
361
|
-
<p class="
|
|
361
|
+
<p class="smrt-content-contributions-route__callout-note" data-smrt-part="description">
|
|
362
362
|
{t(M['content.contributions.email_note_prefix'])}
|
|
363
363
|
<code>/api/v1/contentcontributions/ingest-email</code> {t(M['content.contributions.email_note_suffix'])}
|
|
364
364
|
</p>
|
|
365
365
|
</section>
|
|
366
366
|
|
|
367
367
|
{#if loading}
|
|
368
|
-
<section class="panel">
|
|
368
|
+
<section class="smrt-content-contributions-route__panel" data-smrt-part="panel">
|
|
369
369
|
<p>{t(M['content.contributions.loading'])}</p>
|
|
370
370
|
</section>
|
|
371
371
|
{:else}
|
|
372
372
|
{#if error}
|
|
373
|
-
<section class="
|
|
373
|
+
<section class="smrt-content-contributions-route__panel smrt-content-contributions-route__panel--error" data-smrt-part="panel">
|
|
374
374
|
<strong>Error</strong>
|
|
375
375
|
<p>{error}</p>
|
|
376
376
|
</section>
|
|
377
377
|
{/if}
|
|
378
378
|
|
|
379
379
|
{#if notice}
|
|
380
|
-
<section class="
|
|
380
|
+
<section class="smrt-content-contributions-route__panel smrt-content-contributions-route__panel--notice" data-smrt-part="panel">
|
|
381
381
|
<strong>{t(M['content.contributions.latest_action'])}</strong>
|
|
382
382
|
<p>{notice}</p>
|
|
383
383
|
</section>
|
|
384
384
|
{/if}
|
|
385
385
|
|
|
386
386
|
{#if busyMessage}
|
|
387
|
-
<section class="panel">
|
|
387
|
+
<section class="smrt-content-contributions-route__panel" data-smrt-part="panel">
|
|
388
388
|
<p>{busyMessage}</p>
|
|
389
389
|
</section>
|
|
390
390
|
{/if}
|
|
391
391
|
|
|
392
|
-
<div class="
|
|
393
|
-
<section class="panel">
|
|
394
|
-
<div class="
|
|
392
|
+
<div class="smrt-content-contributions-route__grid" data-smrt-part="grid">
|
|
393
|
+
<section class="smrt-content-contributions-route__panel" data-smrt-part="panel">
|
|
394
|
+
<div class="smrt-content-contributions-route__section-heading" data-smrt-part="header">
|
|
395
395
|
<div>
|
|
396
396
|
<h2>{t(M['content.contributions.submission_title'])}</h2>
|
|
397
397
|
<p>
|
|
@@ -407,15 +407,15 @@ async function handleDeleteContributor(data: Partial<ContentContributorData>) {
|
|
|
407
407
|
/>
|
|
408
408
|
</section>
|
|
409
409
|
|
|
410
|
-
<section class="panel">
|
|
411
|
-
<div class="
|
|
410
|
+
<section class="smrt-content-contributions-route__panel" data-smrt-part="panel">
|
|
411
|
+
<div class="smrt-content-contributions-route__section-heading" data-smrt-part="header">
|
|
412
412
|
<div>
|
|
413
413
|
<h2>{t(M['content.contributions.portal_title'])}</h2>
|
|
414
414
|
<p>
|
|
415
415
|
{t(M['content.contributions.portal_body'])}
|
|
416
416
|
</p>
|
|
417
417
|
</div>
|
|
418
|
-
<div class="
|
|
418
|
+
<div class="smrt-content-contributions-route__form-shell" data-smrt-part="field">
|
|
419
419
|
<Form
|
|
420
420
|
class="inline-form"
|
|
421
421
|
onsubmit={(event) => {
|
|
@@ -452,8 +452,8 @@ async function handleDeleteContributor(data: Partial<ContentContributorData>) {
|
|
|
452
452
|
</section>
|
|
453
453
|
</div>
|
|
454
454
|
|
|
455
|
-
<section class="panel">
|
|
456
|
-
<div class="
|
|
455
|
+
<section class="smrt-content-contributions-route__panel" data-smrt-part="panel">
|
|
456
|
+
<div class="smrt-content-contributions-route__section-heading" data-smrt-part="header">
|
|
457
457
|
<div>
|
|
458
458
|
<h2>{t(M['content.contributions.inbox_title'])}</h2>
|
|
459
459
|
<p>
|
|
@@ -474,16 +474,16 @@ async function handleDeleteContributor(data: Partial<ContentContributorData>) {
|
|
|
474
474
|
/>
|
|
475
475
|
</section>
|
|
476
476
|
|
|
477
|
-
<div class="
|
|
478
|
-
<section class="panel">
|
|
479
|
-
<div class="
|
|
477
|
+
<div class="smrt-content-contributions-route__grid" data-smrt-part="grid">
|
|
478
|
+
<section class="smrt-content-contributions-route__panel" data-smrt-part="panel">
|
|
479
|
+
<div class="smrt-content-contributions-route__section-heading" data-smrt-part="header">
|
|
480
480
|
<div>
|
|
481
481
|
<h2>{t(M['content.contributions.types_title'])}</h2>
|
|
482
482
|
<p>
|
|
483
483
|
{t(M['content.contributions.types_body'])}
|
|
484
484
|
</p>
|
|
485
485
|
</div>
|
|
486
|
-
<span class="
|
|
486
|
+
<span class="smrt-content-contributions-route__pill" data-smrt-part="badge">{contributionTypes?.effective.length || 0}</span>
|
|
487
487
|
</div>
|
|
488
488
|
|
|
489
489
|
<ContentContributionTypeManager
|
|
@@ -493,15 +493,15 @@ async function handleDeleteContributor(data: Partial<ContentContributorData>) {
|
|
|
493
493
|
/>
|
|
494
494
|
</section>
|
|
495
495
|
|
|
496
|
-
<section class="panel">
|
|
497
|
-
<div class="
|
|
496
|
+
<section class="smrt-content-contributions-route__panel" data-smrt-part="panel">
|
|
497
|
+
<div class="smrt-content-contributions-route__section-heading" data-smrt-part="header">
|
|
498
498
|
<div>
|
|
499
499
|
<h2>{t(M['content.contributions.trust_title'])}</h2>
|
|
500
500
|
<p>
|
|
501
501
|
{t(M['content.contributions.trust_body'])}
|
|
502
502
|
</p>
|
|
503
503
|
</div>
|
|
504
|
-
<span class="
|
|
504
|
+
<span class="smrt-content-contributions-route__pill" data-smrt-part="badge">{contributors.length}</span>
|
|
505
505
|
</div>
|
|
506
506
|
|
|
507
507
|
<ContentContributorManager
|
|
@@ -517,88 +517,198 @@ async function handleDeleteContributor(data: Partial<ContentContributorData>) {
|
|
|
517
517
|
|
|
518
518
|
<style>
|
|
519
519
|
@layer smrt.reset, smrt.structure, smrt.theme;
|
|
520
|
-
@layer smrt.
|
|
521
|
-
:global(body:has(.
|
|
520
|
+
@layer smrt.structure {
|
|
521
|
+
:global(body:has(.smrt-content-contributions-route__root:not(.smrt-content-contributions-route__page--embedded))) {
|
|
522
522
|
margin: 0;
|
|
523
|
-
font-family:
|
|
524
|
-
var(--smrt-font-family, 'Inter', -apple-system, BlinkMacSystemFont,
|
|
525
|
-
'Segoe UI', Roboto, sans-serif);
|
|
526
|
-
background:
|
|
527
|
-
radial-gradient(
|
|
528
|
-
circle at top,
|
|
529
|
-
color-mix(in srgb, var(--smrt-color-primary) 10%, transparent),
|
|
530
|
-
transparent 36%
|
|
531
|
-
),
|
|
532
|
-
var(--smrt-color-background);
|
|
533
|
-
color: var(--smrt-color-on-background);
|
|
534
523
|
min-height: 100vh;
|
|
535
524
|
}
|
|
536
|
-
|
|
537
|
-
.page {
|
|
525
|
+
.smrt-content-contributions-route__root {
|
|
538
526
|
min-height: 100vh;
|
|
539
527
|
padding: 2rem 1.25rem 3rem;
|
|
540
528
|
}
|
|
541
|
-
|
|
542
|
-
.page--embedded {
|
|
529
|
+
.smrt-content-contributions-route__page--embedded {
|
|
543
530
|
min-height: auto;
|
|
544
531
|
padding: 0;
|
|
545
532
|
}
|
|
546
|
-
|
|
547
|
-
.container {
|
|
533
|
+
.smrt-content-contributions-route__container {
|
|
548
534
|
max-width: 1400px;
|
|
549
535
|
margin: 0 auto;
|
|
550
536
|
}
|
|
551
|
-
|
|
552
|
-
.page-header {
|
|
537
|
+
.smrt-content-contributions-route__header {
|
|
553
538
|
margin-bottom: 1.5rem;
|
|
554
539
|
}
|
|
555
|
-
|
|
556
|
-
.page-header .container {
|
|
540
|
+
.smrt-content-contributions-route__header .smrt-content-contributions-route__container {
|
|
557
541
|
display: flex;
|
|
558
542
|
justify-content: space-between;
|
|
559
543
|
gap: 1rem;
|
|
560
544
|
align-items: flex-start;
|
|
561
545
|
flex-wrap: wrap;
|
|
562
546
|
}
|
|
563
|
-
|
|
564
|
-
.page-header__copy {
|
|
547
|
+
.smrt-content-contributions-route__header-copy {
|
|
565
548
|
max-width: 56rem;
|
|
566
549
|
}
|
|
567
|
-
|
|
568
|
-
.eyebrow {
|
|
569
|
-
color: var(--smrt-color-on-surface-variant);
|
|
570
|
-
text-transform: uppercase;
|
|
571
|
-
letter-spacing: var(--smrt-typography-label-medium-tracking, 0.08em);
|
|
572
|
-
font-size: var(--smrt-typography-label-medium-size, 0.78rem);
|
|
573
|
-
font-weight: var(--smrt-typography-weight-bold, 700);
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
.page-header h1 {
|
|
550
|
+
.smrt-content-contributions-route__header h1 {
|
|
577
551
|
margin: 0.35rem 0 0.65rem;
|
|
578
|
-
font-size: clamp(2rem, 5vw, 3rem);
|
|
579
|
-
line-height: 1.05;
|
|
580
552
|
}
|
|
581
|
-
|
|
582
|
-
.page-header p {
|
|
553
|
+
.smrt-content-contributions-route__header p {
|
|
583
554
|
margin: 0;
|
|
584
|
-
color: var(--smrt-color-on-surface-variant);
|
|
585
|
-
font-size: var(--smrt-typography-body-large-size, 1rem);
|
|
586
555
|
max-width: 52rem;
|
|
587
556
|
}
|
|
588
|
-
|
|
589
|
-
.page-nav {
|
|
557
|
+
.smrt-content-contributions-route__nav {
|
|
590
558
|
display: flex;
|
|
591
559
|
gap: 0.75rem;
|
|
592
560
|
flex-wrap: wrap;
|
|
593
561
|
align-items: center;
|
|
594
562
|
}
|
|
595
|
-
|
|
596
|
-
.page-nav a {
|
|
563
|
+
.smrt-content-contributions-route__nav a {
|
|
597
564
|
display: inline-flex;
|
|
598
565
|
align-items: center;
|
|
599
566
|
justify-content: center;
|
|
600
567
|
min-height: 2.5rem;
|
|
601
568
|
padding: 0 1rem;
|
|
569
|
+
}
|
|
570
|
+
.smrt-content-contributions-route__main {
|
|
571
|
+
display: grid;
|
|
572
|
+
gap: 1rem;
|
|
573
|
+
}
|
|
574
|
+
.smrt-content-contributions-route__callout,
|
|
575
|
+
.smrt-content-contributions-route__panel {
|
|
576
|
+
padding: 1.25rem;
|
|
577
|
+
}
|
|
578
|
+
.smrt-content-contributions-route__callout {
|
|
579
|
+
display: grid;
|
|
580
|
+
gap: 0.8rem;
|
|
581
|
+
}
|
|
582
|
+
.smrt-content-contributions-route__callout-header {
|
|
583
|
+
display: flex;
|
|
584
|
+
gap: 1rem;
|
|
585
|
+
justify-content: space-between;
|
|
586
|
+
align-items: flex-start;
|
|
587
|
+
flex-wrap: wrap;
|
|
588
|
+
}
|
|
589
|
+
.smrt-content-contributions-route__callout-header p,
|
|
590
|
+
.smrt-content-contributions-route__callout-note {
|
|
591
|
+
margin: 0;
|
|
592
|
+
}
|
|
593
|
+
.smrt-content-contributions-route__callout-chips {
|
|
594
|
+
display: flex;
|
|
595
|
+
gap: 0.6rem;
|
|
596
|
+
flex-wrap: wrap;
|
|
597
|
+
}
|
|
598
|
+
.smrt-content-contributions-route__callout-chips span {
|
|
599
|
+
display: inline-flex;
|
|
600
|
+
align-items: center;
|
|
601
|
+
min-height: 2rem;
|
|
602
|
+
padding: 0 0.8rem;
|
|
603
|
+
}
|
|
604
|
+
.smrt-content-contributions-route__grid {
|
|
605
|
+
display: grid;
|
|
606
|
+
gap: 1rem;
|
|
607
|
+
}
|
|
608
|
+
.smrt-content-contributions-route__section-heading {
|
|
609
|
+
display: flex;
|
|
610
|
+
gap: 1rem;
|
|
611
|
+
justify-content: space-between;
|
|
612
|
+
align-items: flex-start;
|
|
613
|
+
margin-bottom: 1rem;
|
|
614
|
+
flex-wrap: wrap;
|
|
615
|
+
}
|
|
616
|
+
.smrt-content-contributions-route__section-heading h2 {
|
|
617
|
+
margin: 0 0 0.25rem;
|
|
618
|
+
}
|
|
619
|
+
.smrt-content-contributions-route__section-heading p {
|
|
620
|
+
margin: 0;
|
|
621
|
+
}
|
|
622
|
+
.smrt-content-contributions-route__form-shell :global(.inline-form) {
|
|
623
|
+
display: flex;
|
|
624
|
+
gap: 0.5rem;
|
|
625
|
+
flex-wrap: wrap;
|
|
626
|
+
align-items: center;
|
|
627
|
+
}
|
|
628
|
+
.smrt-content-contributions-route__form-shell :global([data-smrt-component="Input"]) {
|
|
629
|
+
min-width: min(22rem, 100%);
|
|
630
|
+
padding: 0.7rem 0.85rem;
|
|
631
|
+
}
|
|
632
|
+
.smrt-content-contributions-route__form-shell :global(.load-button) {
|
|
633
|
+
padding: 0.65rem 0.95rem;
|
|
634
|
+
cursor: pointer;
|
|
635
|
+
}
|
|
636
|
+
.smrt-content-contributions-route__pill {
|
|
637
|
+
display: inline-flex;
|
|
638
|
+
align-items: center;
|
|
639
|
+
justify-content: center;
|
|
640
|
+
min-width: 2rem;
|
|
641
|
+
min-height: 2rem;
|
|
642
|
+
padding: 0 0.8rem;
|
|
643
|
+
}
|
|
644
|
+
@media (min-width: 1024px) {
|
|
645
|
+
.smrt-content-contributions-route__grid {
|
|
646
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
@media (max-width: 720px) {
|
|
650
|
+
.smrt-content-contributions-route__root {
|
|
651
|
+
padding: 1rem 0.85rem 2rem;
|
|
652
|
+
}
|
|
653
|
+
.smrt-content-contributions-route__header {
|
|
654
|
+
margin-bottom: 1rem;
|
|
655
|
+
}
|
|
656
|
+
.smrt-content-contributions-route__header h1 {
|
|
657
|
+
margin-top: 0.25rem;
|
|
658
|
+
}
|
|
659
|
+
.smrt-content-contributions-route__callout,
|
|
660
|
+
.smrt-content-contributions-route__panel {
|
|
661
|
+
padding: 1rem;
|
|
662
|
+
}
|
|
663
|
+
.smrt-content-contributions-route__callout-chips {
|
|
664
|
+
display: none;
|
|
665
|
+
}
|
|
666
|
+
.smrt-content-contributions-route__callout-header {
|
|
667
|
+
gap: 0.5rem;
|
|
668
|
+
align-items: center;
|
|
669
|
+
}
|
|
670
|
+
.smrt-content-contributions-route__pill {
|
|
671
|
+
min-height: 1.7rem;
|
|
672
|
+
min-width: 0;
|
|
673
|
+
padding: 0 0.65rem;
|
|
674
|
+
}
|
|
675
|
+
.smrt-content-contributions-route__section-heading {
|
|
676
|
+
gap: 0.75rem;
|
|
677
|
+
margin-bottom: 0.85rem;
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
@layer smrt.theme {
|
|
683
|
+
:global(body:has(.smrt-content-contributions-route__root:not(.smrt-content-contributions-route__page--embedded))) {
|
|
684
|
+
font-family:
|
|
685
|
+
var(--smrt-font-family, 'Inter', -apple-system, BlinkMacSystemFont,
|
|
686
|
+
'Segoe UI', Roboto, sans-serif);
|
|
687
|
+
background:
|
|
688
|
+
radial-gradient(
|
|
689
|
+
circle at top,
|
|
690
|
+
color-mix(in srgb, var(--smrt-color-primary) 10%, transparent),
|
|
691
|
+
transparent 36%
|
|
692
|
+
),
|
|
693
|
+
var(--smrt-color-background);
|
|
694
|
+
color: var(--smrt-color-on-background);
|
|
695
|
+
}
|
|
696
|
+
.smrt-content-contributions-route__eyebrow {
|
|
697
|
+
color: var(--smrt-color-on-surface-variant);
|
|
698
|
+
text-transform: uppercase;
|
|
699
|
+
letter-spacing: var(--smrt-typography-label-medium-tracking, 0.08em);
|
|
700
|
+
font-size: var(--smrt-typography-label-medium-size, 0.78rem);
|
|
701
|
+
font-weight: var(--smrt-typography-weight-bold, 700);
|
|
702
|
+
}
|
|
703
|
+
.smrt-content-contributions-route__header h1 {
|
|
704
|
+
font-size: clamp(2rem, 5vw, 3rem);
|
|
705
|
+
line-height: 1.05;
|
|
706
|
+
}
|
|
707
|
+
.smrt-content-contributions-route__header p {
|
|
708
|
+
color: var(--smrt-color-on-surface-variant);
|
|
709
|
+
font-size: var(--smrt-typography-body-large-size, 1rem);
|
|
710
|
+
}
|
|
711
|
+
.smrt-content-contributions-route__nav a {
|
|
602
712
|
border-radius: var(--smrt-radius-full);
|
|
603
713
|
border: var(--smrt-hairline);
|
|
604
714
|
background: color-mix(
|
|
@@ -610,8 +720,7 @@ async function handleDeleteContributor(data: Partial<ContentContributorData>) {
|
|
|
610
720
|
text-decoration: none;
|
|
611
721
|
font-weight: var(--smrt-typography-weight-semibold, 600);
|
|
612
722
|
}
|
|
613
|
-
|
|
614
|
-
.page-nav a[aria-current='page'] {
|
|
723
|
+
.smrt-content-contributions-route__nav a[aria-current='page'] {
|
|
615
724
|
color: var(--smrt-color-primary);
|
|
616
725
|
border-color: color-mix(
|
|
617
726
|
in srgb,
|
|
@@ -624,14 +733,8 @@ async function handleDeleteContributor(data: Partial<ContentContributorData>) {
|
|
|
624
733
|
var(--smrt-color-surface)
|
|
625
734
|
);
|
|
626
735
|
}
|
|
627
|
-
|
|
628
|
-
.
|
|
629
|
-
display: grid;
|
|
630
|
-
gap: 1rem;
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
.callout,
|
|
634
|
-
.panel {
|
|
736
|
+
.smrt-content-contributions-route__callout,
|
|
737
|
+
.smrt-content-contributions-route__panel {
|
|
635
738
|
border: var(--smrt-hairline);
|
|
636
739
|
background: color-mix(
|
|
637
740
|
in srgb,
|
|
@@ -640,47 +743,18 @@ async function handleDeleteContributor(data: Partial<ContentContributorData>) {
|
|
|
640
743
|
);
|
|
641
744
|
box-shadow: var(--smrt-elevation-1, 0 8px 24px rgba(15, 23, 42, 0.05));
|
|
642
745
|
border-radius: 1rem;
|
|
643
|
-
padding: 1.25rem;
|
|
644
746
|
}
|
|
645
|
-
|
|
646
|
-
.panel--error {
|
|
747
|
+
.smrt-content-contributions-route__panel--error {
|
|
647
748
|
border-color: color-mix(in srgb, var(--smrt-color-error) 30%, transparent);
|
|
648
749
|
}
|
|
649
|
-
|
|
650
|
-
.panel--notice {
|
|
750
|
+
.smrt-content-contributions-route__panel--notice {
|
|
651
751
|
border-color: color-mix(in srgb, var(--smrt-color-primary) 30%, transparent);
|
|
652
752
|
}
|
|
653
|
-
|
|
654
|
-
.
|
|
655
|
-
display: grid;
|
|
656
|
-
gap: 0.8rem;
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
.callout__header {
|
|
660
|
-
display: flex;
|
|
661
|
-
gap: 1rem;
|
|
662
|
-
justify-content: space-between;
|
|
663
|
-
align-items: flex-start;
|
|
664
|
-
flex-wrap: wrap;
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
.callout__header p,
|
|
668
|
-
.callout__note {
|
|
669
|
-
margin: 0;
|
|
753
|
+
.smrt-content-contributions-route__callout-header p,
|
|
754
|
+
.smrt-content-contributions-route__callout-note {
|
|
670
755
|
color: var(--smrt-color-on-surface-variant);
|
|
671
756
|
}
|
|
672
|
-
|
|
673
|
-
.callout__chips {
|
|
674
|
-
display: flex;
|
|
675
|
-
gap: 0.6rem;
|
|
676
|
-
flex-wrap: wrap;
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
.callout__chips span {
|
|
680
|
-
display: inline-flex;
|
|
681
|
-
align-items: center;
|
|
682
|
-
min-height: 2rem;
|
|
683
|
-
padding: 0 0.8rem;
|
|
757
|
+
.smrt-content-contributions-route__callout-chips span {
|
|
684
758
|
border-radius: var(--smrt-radius-full);
|
|
685
759
|
background: color-mix(
|
|
686
760
|
in srgb,
|
|
@@ -691,8 +765,7 @@ async function handleDeleteContributor(data: Partial<ContentContributorData>) {
|
|
|
691
765
|
font-size: var(--smrt-typography-label-large-size, 0.83rem);
|
|
692
766
|
font-weight: var(--smrt-typography-weight-semibold, 600);
|
|
693
767
|
}
|
|
694
|
-
|
|
695
|
-
.callout code {
|
|
768
|
+
.smrt-content-contributions-route__callout code {
|
|
696
769
|
font-family: var(
|
|
697
770
|
--smrt-font-family-mono,
|
|
698
771
|
'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
@@ -700,47 +773,16 @@ async function handleDeleteContributor(data: Partial<ContentContributorData>) {
|
|
|
700
773
|
);
|
|
701
774
|
font-size: 0.9em;
|
|
702
775
|
}
|
|
703
|
-
|
|
704
|
-
.qa-grid {
|
|
705
|
-
display: grid;
|
|
706
|
-
gap: 1rem;
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
.section-heading {
|
|
710
|
-
display: flex;
|
|
711
|
-
gap: 1rem;
|
|
712
|
-
justify-content: space-between;
|
|
713
|
-
align-items: flex-start;
|
|
714
|
-
margin-bottom: 1rem;
|
|
715
|
-
flex-wrap: wrap;
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
.section-heading h2 {
|
|
719
|
-
margin: 0 0 0.25rem;
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
.section-heading p {
|
|
723
|
-
margin: 0;
|
|
776
|
+
.smrt-content-contributions-route__section-heading p {
|
|
724
777
|
color: var(--smrt-color-on-surface-variant);
|
|
725
778
|
}
|
|
726
|
-
|
|
727
|
-
.inline-form-shell :global(.inline-form) {
|
|
728
|
-
display: flex;
|
|
729
|
-
gap: 0.5rem;
|
|
730
|
-
flex-wrap: wrap;
|
|
731
|
-
align-items: center;
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
.inline-form-shell :global([data-smrt-component="Input"]) {
|
|
735
|
-
min-width: min(22rem, 100%);
|
|
736
|
-
padding: 0.7rem 0.85rem;
|
|
779
|
+
.smrt-content-contributions-route__form-shell :global([data-smrt-component="Input"]) {
|
|
737
780
|
border-radius: 0.75rem;
|
|
738
781
|
border: var(--smrt-hairline);
|
|
739
782
|
background: var(--smrt-color-surface);
|
|
740
783
|
color: var(--smrt-color-on-surface);
|
|
741
784
|
}
|
|
742
|
-
|
|
743
|
-
.inline-form-shell :global(.load-button) {
|
|
785
|
+
.smrt-content-contributions-route__form-shell :global(.load-button) {
|
|
744
786
|
border-radius: var(--smrt-radius-full);
|
|
745
787
|
border: 1px solid color-mix(
|
|
746
788
|
in srgb,
|
|
@@ -750,16 +792,8 @@ async function handleDeleteContributor(data: Partial<ContentContributorData>) {
|
|
|
750
792
|
background: transparent;
|
|
751
793
|
color: var(--smrt-color-primary);
|
|
752
794
|
font-weight: var(--smrt-typography-weight-semibold, 600);
|
|
753
|
-
padding: 0.65rem 0.95rem;
|
|
754
|
-
cursor: pointer;
|
|
755
795
|
}
|
|
756
|
-
|
|
757
|
-
.pill {
|
|
758
|
-
display: inline-flex;
|
|
759
|
-
align-items: center;
|
|
760
|
-
justify-content: center;
|
|
761
|
-
min-width: 2rem;
|
|
762
|
-
min-height: 2rem;
|
|
796
|
+
.smrt-content-contributions-route__pill {
|
|
763
797
|
border-radius: var(--smrt-radius-full);
|
|
764
798
|
background: color-mix(
|
|
765
799
|
in srgb,
|
|
@@ -768,61 +802,24 @@ async function handleDeleteContributor(data: Partial<ContentContributorData>) {
|
|
|
768
802
|
);
|
|
769
803
|
color: var(--smrt-color-primary);
|
|
770
804
|
font-weight: var(--smrt-typography-weight-bold, 700);
|
|
771
|
-
padding: 0 0.8rem;
|
|
772
805
|
}
|
|
773
|
-
|
|
774
|
-
@media (min-width: 1024px) {
|
|
775
|
-
.qa-grid {
|
|
776
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
|
|
780
806
|
@media (max-width: 720px) {
|
|
781
|
-
.
|
|
782
|
-
padding: 1rem 0.85rem 2rem;
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
.page-header {
|
|
786
|
-
margin-bottom: 1rem;
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
.page-header h1 {
|
|
790
|
-
margin-top: 0.25rem;
|
|
807
|
+
.smrt-content-contributions-route__header h1 {
|
|
791
808
|
font-size: clamp(1.6rem, 9vw, 2.2rem);
|
|
792
809
|
}
|
|
793
|
-
|
|
794
|
-
.
|
|
795
|
-
.panel {
|
|
796
|
-
padding: 1rem;
|
|
810
|
+
.smrt-content-contributions-route__callout,
|
|
811
|
+
.smrt-content-contributions-route__panel {
|
|
797
812
|
border-radius: 0.85rem;
|
|
798
813
|
}
|
|
799
|
-
|
|
800
|
-
.
|
|
801
|
-
display: none;
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
.callout__header {
|
|
805
|
-
gap: 0.5rem;
|
|
806
|
-
align-items: center;
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
.callout__header p,
|
|
810
|
-
.callout__note {
|
|
814
|
+
.smrt-content-contributions-route__callout-header p,
|
|
815
|
+
.smrt-content-contributions-route__callout-note {
|
|
811
816
|
font-size: var(--smrt-typography-body-medium-size, 0.82rem);
|
|
812
817
|
line-height: var(--smrt-typography-body-medium-line-height, 1.5);
|
|
813
818
|
}
|
|
814
|
-
|
|
815
|
-
.pill {
|
|
816
|
-
min-height: 1.7rem;
|
|
817
|
-
min-width: 0;
|
|
818
|
-
padding: 0 0.65rem;
|
|
819
|
+
.smrt-content-contributions-route__pill {
|
|
819
820
|
font-size: var(--smrt-typography-label-medium-size, 0.78rem);
|
|
820
821
|
}
|
|
821
|
-
|
|
822
|
-
.section-heading {
|
|
823
|
-
gap: 0.75rem;
|
|
824
|
-
margin-bottom: 0.85rem;
|
|
825
|
-
}
|
|
826
822
|
}
|
|
827
823
|
}
|
|
824
|
+
|
|
828
825
|
</style>
|