@tempots/beatui 0.20.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -6
- package/dist/{2019-B4Mw3glM.js → 2019-BD_R8GCb.js} +2 -2
- package/dist/{2019-u0Cs1ZdE.cjs → 2019-DsAbc1I5.cjs} +1 -1
- package/dist/{2020-BvFyb4Gy.js → 2020-DZOE7XZH.js} +2 -2
- package/dist/{2020-BcwEHv2O.cjs → 2020-j6NLRYni.cjs} +1 -1
- package/dist/{ar-DyhaQaJU.cjs → ar-CYAprS9_.cjs} +1 -1
- package/dist/{ar-RkpJ2n6w.js → ar-DuYtkwHz.js} +1 -1
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +232 -232
- package/dist/beatui.css +6840 -1
- package/dist/beatui.tailwind.css +6507 -0
- package/dist/colors-5Nwx_gSj.js +528 -0
- package/dist/colors-B8HoRLA_.cjs +1 -0
- package/dist/{de-BdSVR4Zm.js → de-BSxDfb1B.js} +1 -1
- package/dist/{de-CnZ4Ik2a.cjs → de-rQvC-Ydh.cjs} +1 -1
- package/dist/{es-ZKraCneL.cjs → es-BvmzhRc0.cjs} +1 -1
- package/dist/{es-B_Qn5EUy.js → es-CAIPTBfa.js} +1 -1
- package/dist/{fa-D2p_ch4Q.cjs → fa-B3IJgHCh.cjs} +1 -1
- package/dist/{fa-jBaLjqfG.js → fa-COTldXuh.js} +1 -1
- package/dist/{fr-CBeo42lQ.cjs → fr-C9hsLGOb.cjs} +1 -1
- package/dist/{fr-B0KaMM2j.js → fr-Djxzcm-x.js} +1 -1
- package/dist/{he-BmqEF3o-.cjs → he-CHrcixO3.cjs} +1 -1
- package/dist/{he-DjeYjcW7.js → he-C_CvtpO2.js} +1 -1
- package/dist/{hi-DxBQV0uz.js → hi-C47vc5OG.js} +1 -1
- package/dist/{hi-BAfIFl1n.cjs → hi-CpbCblie.cjs} +1 -1
- package/dist/{index-c-O5R5i2.js → index--c2sxg96.js} +2 -2
- package/dist/{index-NysVuvZA.js → index-2J0cohRF.js} +2 -2
- package/dist/{index-uR3OZ_8K.cjs → index-B8EM1O9d.cjs} +1 -1
- package/dist/{index-CpKAa22o.cjs → index-BHOzetMx.cjs} +1 -1
- package/dist/{index-C4xio93t.js → index-BIBYSE0O.js} +3 -3
- package/dist/{index-BInDdLXi.cjs → index-BIbSEVsf.cjs} +1 -1
- package/dist/{index-Jt6D3QJ7.cjs → index-BJZGXsLQ.cjs} +1 -1
- package/dist/{index-DdlxwtnE.cjs → index-BK8EFVAw.cjs} +1 -1
- package/dist/index-BLjWV-YV.cjs +8 -0
- package/dist/{index-CpMCZBAl.js → index-BNQL8moK.js} +2 -2
- package/dist/{index-cjtIcxwt.cjs → index-BUE3WeDh.cjs} +1 -1
- package/dist/{index-BX_AooS9.js → index-BXHmDsV_.js} +2 -2
- package/dist/{index-CdvplJG6.js → index-BiHxJSI9.js} +3 -3
- package/dist/index-Br70wXYb.cjs +1 -0
- package/dist/{index-MyVoESdk.js → index-BtAze4TI.js} +3 -3
- package/dist/{index-D7o5LhMm.cjs → index-C-UADaTN.cjs} +1 -1
- package/dist/{index-DOyppfix.cjs → index-C0yFCSoy.cjs} +1 -1
- package/dist/{index-C4jYy0NW.js → index-C4wKda5M.js} +2 -2
- package/dist/{index-CaOzAsWD.cjs → index-CBlls5Ux.cjs} +1 -1
- package/dist/{index-BnbEC2zq.js → index-CQcRWw-d.js} +2 -2
- package/dist/{index-CvRJPSEv.cjs → index-CSK499Fw.cjs} +1 -1
- package/dist/{index-DiV6JJiS.js → index-CW3QYddJ.js} +2 -2
- package/dist/{index-C5l1mFuD.js → index-C_T9Gzw8.js} +2 -2
- package/dist/{index-DlaVE6S2.cjs → index-CcB11LV-.cjs} +1 -1
- package/dist/{index-KcBlGDqr.cjs → index-CeyxEbJL.cjs} +1 -1
- package/dist/{index-Cs_PxtnZ.js → index-CjQ-nqcq.js} +1 -1
- package/dist/{index-DXUQTPON.cjs → index-CngY8bhO.cjs} +1 -1
- package/dist/{index-BnaafQ9o.js → index-CsPpB1Kw.js} +1 -1
- package/dist/{index-Dl-wY6fc.cjs → index-CtlfDEiP.cjs} +1 -1
- package/dist/{index-CaNnYmEs.js → index-D3y-KMW-.js} +4 -4
- package/dist/{index-DOlgncMG.js → index-D7a7hidA.js} +1230 -1216
- package/dist/{index-CJM_lW9n.cjs → index-DPHERztz.cjs} +1 -1
- package/dist/{index-9UO7Pd64.cjs → index-DS0bdfOa.cjs} +1 -1
- package/dist/index-DVdM4Oz7.js +420 -0
- package/dist/{index-D5nWhHZv.js → index-DtpMK8Ak.js} +2 -2
- package/dist/{index-DhJIuRg9.js → index-Du_-zpYu.js} +4 -4
- package/dist/{index-fnMeddEM.js → index-KlPMACee.js} +2 -2
- package/dist/{index-DC5Cn-TM.js → index-OUX19p46.js} +2 -2
- package/dist/{index-CDYYXcsk.cjs → index-SP-G4Erl.cjs} +1 -1
- package/dist/{index-CpB78PPQ.cjs → index-YbpU8b-b.cjs} +1 -1
- package/dist/{index-DCpnqWRN.js → index-_0aF8UPX.js} +2 -2
- package/dist/{index-BWiQR9j3.cjs → index-c5HMVa4V.cjs} +1 -1
- package/dist/{index-BIUeLQJ1.js → index-h82qauh2.js} +4 -4
- package/dist/{index-ClvbjqJL.js → index-jLIz3LSI.js} +2 -2
- package/dist/{index-Blq-MoAk.cjs → index-jr-7RW3y.cjs} +1 -1
- package/dist/{index-B001qopB.js → index-m-1yJOxv.js} +3 -3
- package/dist/{index-4NoQLiJo.cjs → index-o4bA2Ymm.cjs} +1 -1
- package/dist/{index-RGCDszX8.cjs → index-zcRhAq4N.cjs} +1 -1
- package/dist/index.cjs.js +4 -143
- package/dist/index.es.js +2489 -3357
- package/dist/{it-CzKrFTFY.cjs → it-iA1CUA-2.cjs} +1 -1
- package/dist/{it-B4qZsicu.js → it-l8u4xqsP.js} +1 -1
- package/dist/{ja-i_9MZ1j0.cjs → ja-CRKtLvpo.cjs} +1 -1
- package/dist/{ja-BnCSmhkg.js → ja-Dr2Azv8X.js} +1 -1
- package/dist/json-schema/index.cjs.js +1 -1
- package/dist/json-schema/index.es.js +1 -1
- package/dist/{ko-D_gGkjrC.js → ko-C97MbNN9.js} +1 -1
- package/dist/{ko-CF9il-Az.cjs → ko-DAqjjbor.cjs} +1 -1
- package/dist/markdown/index.cjs.js +2 -2
- package/dist/markdown/index.es.js +34 -34
- package/dist/markdown.css +162 -0
- package/dist/milkdown/index.cjs.js +1 -1
- package/dist/milkdown/index.es.js +1 -1
- package/dist/{milkdown-input-CYme9OBn.js → milkdown-input-Dp-upGqQ.js} +26 -26
- package/dist/{milkdown-input-KjtVqDzi.cjs → milkdown-input-EMBZNdma.cjs} +2 -2
- package/dist/milkdown-url-DgMTahqt.js +4 -0
- package/dist/milkdown-url-DjKYrEOH.cjs +1 -0
- package/dist/milkdown.css +21 -10
- package/dist/{modal-BItfEmu0.js → modal-at2TcO_O.js} +85 -85
- package/dist/{modal-B-f3LBKr.cjs → modal-hr4K3edu.cjs} +1 -1
- package/dist/{nl-CsLCWUFF.js → nl-BnDPAHZz.js} +1 -1
- package/dist/{nl-DfWlqR6T.cjs → nl-CCa2fPh7.cjs} +1 -1
- package/dist/notice-CplKL-zm.cjs +1 -0
- package/dist/notice-DhynzVip.js +2467 -0
- package/dist/{pl-wK2sgv7l.cjs → pl-BVuQd0i3.cjs} +1 -1
- package/dist/{pl-Bsmj1KbZ.js → pl-DYEVmpx5.js} +1 -1
- package/dist/{pt-DAQIuOPW.cjs → pt-BFGThC8F.cjs} +1 -1
- package/dist/{pt-BR_NuRJS.js → pt-C-cIHGoh.js} +1 -1
- package/dist/{ru-BnoiCxrw.cjs → ru-M4WO0h1a.cjs} +1 -1
- package/dist/{ru-CiQ_qKD_.js → ru-n2tT3Gv-.js} +1 -1
- package/dist/styles-url-CIhMtnm4.js +4 -0
- package/dist/styles-url-SkuBc_7K.cjs +1 -0
- package/dist/tailwind/index.cjs.js +1 -0
- package/dist/tailwind/index.es.js +5 -0
- package/dist/tailwind/preset.cjs.js +1 -0
- package/dist/tailwind/preset.es.js +6 -0
- package/dist/tailwind/vite-plugin.cjs.js +26 -0
- package/dist/tailwind/vite-plugin.es.js +297 -0
- package/dist/{tr-Q9xP1nE4.js → tr-CFUAqbmS.js} +1 -1
- package/dist/{tr-Bme5PfaE.cjs → tr-KxY4CbD3.cjs} +1 -1
- package/dist/{translations-ClgoCEFC.js → translations-924E7r4Q.js} +756 -582
- package/dist/translations-BtAHDMLA.cjs +2 -0
- package/dist/{translations-D4hFMU4P.js → translations-DGCYRUSw.js} +1 -1
- package/dist/{translations-lnK_6RdU.cjs → translations-Do79R-x4.cjs} +1 -1
- package/dist/types/components/button/button.d.ts +3 -1
- package/dist/types/components/data/icon.d.ts +3 -1
- package/dist/types/components/form/input/input-wrapper.d.ts +2 -1
- package/dist/types/components/form/use-form.d.ts +3 -3
- package/dist/types/components/navigation/flyout.d.ts +2 -0
- package/dist/types/components/navigation/link/button-link.d.ts +7 -3
- package/dist/types/components/navigation/link/link.d.ts +7 -2
- package/dist/types/components/navigation/link/navigation-link.d.ts +5 -5
- package/dist/types/components/navigation/link/navigation-options.d.ts +5 -0
- package/dist/types/components/navigation/sidebar/sidebar-link.d.ts +5 -0
- package/dist/types/components/navigation/tabs/tabs.d.ts +7 -7
- package/dist/types/components/theme/style-utils.d.ts +16 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/markdown/index.d.ts +1 -1
- package/dist/types/styles/base.d.ts +2 -0
- package/dist/types/tailwind/index.d.ts +2 -0
- package/dist/types/tailwind/preset.d.ts +37 -0
- package/dist/types/tailwind/vite-plugin.d.ts +16 -0
- package/dist/types/temporal/with-temporal.d.ts +5 -1
- package/dist/types/tokens/colors.d.ts +13 -3
- package/dist/types/tokens/index.d.ts +3 -0
- package/dist/{ur-CGTjSoJt.js → ur-B7kT0PwV.js} +1 -1
- package/dist/{ur-B4b39hNV.cjs → ur-GeXcd9eA.cjs} +1 -1
- package/dist/{vi-BF3HTFU9.js → vi-CA85io1z.js} +1 -1
- package/dist/{vi-CSpW181L.cjs → vi-DYvrvqim.cjs} +1 -1
- package/dist/{zh-PeL8FN2c.cjs → zh-EIWIyzbZ.cjs} +1 -1
- package/dist/{zh-BreM8U2w.js → zh-cLh5uTFh.js} +1 -1
- package/package.json +27 -3
- package/dist/index-JHbFZFZF.cjs +0 -8
- package/dist/milkdown-url-BKbqhNCO.js +0 -4
- package/dist/milkdown-url-BLgXPmZR.cjs +0 -1
- package/dist/notice-B7JqE59s.cjs +0 -1
- package/dist/notice-CmmpobJd.js +0 -2415
- package/dist/styles-url-B-d6aezR.cjs +0 -1
- package/dist/styles-url-B4WGMvfi.js +0 -4
- package/dist/translations-DRBh70w8.cjs +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./translations-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./translations-BtAHDMLA.cjs"),r={loadingExtended:"Caricamento, attendere prego...",loadingShort:"Caricamento...",locale:"Lingua",iconDescription:"Icona",loadingIcon:"Icona di caricamento",failedToLoadIcon:"Impossibile caricare l'icona",editLabel:"Modifica",selectOne:"Seleziona uno",selectMany:"Seleziona più elementi",noResults:"Nessun risultato",passwordPlaceholderText:"Password Segreta",togglePasswordVisibility:"Attiva/disattiva visibilità password",toggleMenu:"Attiva/disattiva menu",toggleAside:"Attiva/disattiva pannello laterale",mainNavigation:"Navigazione principale",sidebar:"Barra laterale",closeDrawer:"Chiudi cassetto",closeModal:"Chiudi modale",confirm:"Conferma",cancel:"Annulla",addLabel:"Aggiungi",removeItem:"Rimuovi elemento",currentLocale:"Italiano",ar:"Arabo",de:"Tedesco",en:"Inglese",es:"Spagnolo",fr:"Francese",hi:"Hindi",it:"Italiano",ja:"Giapponese",ko:"Coreano",nl:"Olandese",pl:"Polacco",pt:"Portoghese",ru:"Russo",tr:"Turco",vi:"Vietnamita",zh:"Cinese",he:"Ebraico",fa:"Persiano",ur:"Urdu",emailPlaceholderText:"Inserisci la tua email",incrementValue:"Incrementa valore",decrementValue:"Decrementa valore",dropZoneInstructions:e=>e?"Clicca per scegliere o trascina i file qui, o premi Invio o Spazio per aprire il selettore file":"Trascina i file qui",fileSizeUnits:["Byte","KB","MB","GB","TB"],removeFile:"Rimuovi file",clearAllFiles:"Cancella tutti i file",clearValue:"Cancella valore",unknownType:"Tipo sconosciuto",filesInputInstructions:(e,a,o)=>{let n=e==null||e>1?"Clicca per scegliere o trascina i file qui":"Clicca per scegliere o trascina un file qui";if(e||a){const i=[];if(e!=null&&e>1&&i.push(`fino a ${e} file`),a&&o){const l=t.formatFileSize(a,{units:o});i.push(`max ${l} ciascuno`)}i.length>0&&(n+=` (${i.join(", ")})`)}else if(a&&o){const i=t.formatFileSize(a,{units:o});n+=` (max ${i})`}return n}};exports.default=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./translations-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./translations-BtAHDMLA.cjs"),a={loadingExtended:"読み込み中です、お待ちください",loadingShort:"読み込み中...",locale:"ロケール",iconDescription:"アイコン",loadingIcon:"読み込みアイコン",failedToLoadIcon:"アイコンの読み込みに失敗しました",editLabel:"編集",selectOne:"一つ選択",selectMany:"複数選択",noResults:"結果なし",passwordPlaceholderText:"パスワード",togglePasswordVisibility:"パスワードの表示を切り替え",toggleMenu:"メニューを切り替え",toggleAside:"サイドパネルを切り替え",mainNavigation:"メインナビゲーション",sidebar:"サイドバー",closeDrawer:"ドロワーを閉じる",closeModal:"モーダルを閉じる",confirm:"確認",cancel:"キャンセル",addLabel:"追加",removeItem:"項目を削除",currentLocale:"日本語",ar:"アラビア語",de:"ドイツ語",en:"英語",es:"スペイン語",fr:"フランス語",hi:"ヒンディー語",it:"イタリア語",ja:"日本語",ko:"韓国語",nl:"オランダ語",pl:"ポーランド語",pt:"ポルトガル語",ru:"ロシア語",tr:"トルコ語",vi:"ベトナム語",zh:"中国語",he:"ヘブライ語",fa:"ペルシア語",ur:"ウルドゥー語",emailPlaceholderText:"メールアドレスを入力",incrementValue:"値を増加",decrementValue:"値を減少",dropZoneInstructions:e=>e?"クリックして選択するか、ファイルをここにドラッグ、またはEnterキーまたはSpaceキーを押してファイル選択を開く":"ファイルをここにドラッグ",fileSizeUnits:["バイト","KB","MB","GB","TB"],removeFile:"ファイルを削除",clearAllFiles:"すべてのファイルを削除",clearValue:"リセット",unknownType:"不明なタイプ",filesInputInstructions:(e,n,o)=>{let r=(e==null||e>1,"クリックして選択するか、ファイルをここにドラッグ");if(e||n){const t=[];if(e!=null&&e>1&&t.push(`最大${e}ファイル`),n&&o){const c=l.formatFileSize(n,{units:o});t.push(`各${c}以下`)}t.length>0&&(r+=` (${t.join("、")})`)}else if(n&&o){const t=l.formatFileSize(n,{units:o});r+=` (最大${t})`}return r}};exports.default=a;exports.ja=a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-BLjWV-YV.cjs");exports.JSONSchemaAllOf=e.JSONSchemaAllOf;exports.JSONSchemaAny=e.JSONSchemaAny;exports.JSONSchemaAnyOf=e.JSONSchemaAnyOf;exports.JSONSchemaArray=e.JSONSchemaArray;exports.JSONSchemaBoolean=e.JSONSchemaBoolean;exports.JSONSchemaConst=e.JSONSchemaConst;exports.JSONSchemaControl=e.JSONSchemaControl;exports.JSONSchemaEnum=e.JSONSchemaEnum;exports.JSONSchemaForm=e.JSONSchemaForm;exports.JSONSchemaGenericControl=e.JSONSchemaGenericControl;exports.JSONSchemaInteger=e.JSONSchemaInteger;exports.JSONSchemaNull=e.JSONSchemaNull;exports.JSONSchemaNumber=e.JSONSchemaNumber;exports.JSONSchemaObject=e.JSONSchemaObject;exports.JSONSchemaOneOf=e.JSONSchemaOneOf;exports.JSONSchemaString=e.JSONSchemaString;exports.JSONSchemaUnion=e.JSONSchemaUnion;exports.SchemaContext=e.SchemaContext;exports.ajvErrorsToControllerValidation=e.ajvErrorsToControllerValidation;exports.ajvErrorsToDependencies=e.ajvErrorsToDependencies;exports.buildMessage=e.buildMessage;exports.buildPath=e.buildPath;exports.clearCaches=e.clearCaches;exports.clearCachesForAjv=e.clearCachesForAjv;exports.compileWithCache=e.compileWithCache;exports.composeEffectiveObjectSchema=e.composeEffectiveObjectSchema;exports.createAJVStandardSchema=e.createAJVStandardSchema;exports.evaluateIfThenElseOverlay=e.evaluateIfThenElseOverlay;exports.evaluateNotViolation=e.evaluateNotViolation;exports.getAjvForSchema=e.getAjvForSchema;exports.getCacheStats=e.getCacheStats;exports.getEvaluatedProperties=e.getEvaluatedProperties;exports.jsonPointerToSegments=e.jsonPointerToSegments;exports.mergeAllOf=e.mergeAllOf;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as s, J as S, R as c, O as o, M as t, H as r, W as m, G as h, X as O, V as n, K as l, N, I as J, P as i, T as v, L as C, Q as u, S as A, v as f, u as g, t as d, s as j, w as E, x as b, z as p, D as y, Y as T, E as F, C as P, A as V, y as x, F as I, q as B, B as D } from "../index-
|
|
1
|
+
import { U as s, J as S, R as c, O as o, M as t, H as r, W as m, G as h, X as O, V as n, K as l, N, I as J, P as i, T as v, L as C, Q as u, S as A, v as f, u as g, t as d, s as j, w as E, x as b, z as p, D as y, Y as T, E as F, C as P, A as V, y as x, F as I, q as B, B as D } from "../index-D7a7hidA.js";
|
|
2
2
|
export {
|
|
3
3
|
s as JSONSchemaAllOf,
|
|
4
4
|
S as JSONSchemaAny,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./translations-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./translations-BtAHDMLA.cjs"),c={loadingExtended:"로딩 중입니다. 잠시만 기다려 주세요",loadingShort:"로딩 중...",locale:"지역",iconDescription:"아이콘",loadingIcon:"로딩 아이콘",failedToLoadIcon:"아이콘 로드 실패",editLabel:"편집",selectOne:"하나 선택",selectMany:"여러 개 선택",noResults:"결과 없음",passwordPlaceholderText:"비밀번호",togglePasswordVisibility:"비밀번호 표시 전환",toggleMenu:"메뉴 전환",toggleAside:"사이드 패널 전환",mainNavigation:"메인 네비게이션",sidebar:"사이드바",closeDrawer:"드로어 닫기",closeModal:"모달 닫기",confirm:"확인",cancel:"취소",addLabel:"추가",removeItem:"항목 제거",currentLocale:"한국어",ar:"아랍어",de:"독일어",en:"영어",es:"스페인어",fr:"프랑스어",hi:"힌디어",it:"이탈리아어",ja:"일본어",ko:"한국어",nl:"네덜란드어",pl:"폴란드어",pt:"포르투갈어",ru:"러시아어",tr:"터키어",vi:"베트남어",zh:"중국어",he:"히브리어",fa:"페르시아어",ur:"우르두어",emailPlaceholderText:"이메일을 입력하세요",incrementValue:"값 증가",decrementValue:"값 감소",dropZoneInstructions:e=>e?"클릭하여 선택하거나 파일을 여기로 드래그하세요, 또는 Enter 또는 Space 키를 눌러 파일 선택기를 여세요":"파일을 여기로 드래그하세요",fileSizeUnits:["바이트","KB","MB","GB","TB"],removeFile:"파일 제거",clearAllFiles:"모든 파일 지우기",clearValue:"값 지우기",unknownType:"알 수 없는 형식",filesInputInstructions:(e,o,n)=>{let r=(e==null||e>1,"클릭하여 선택하거나 파일을 여기로 드래그하세요");if(e||o){const t=[];if(e!=null&&e>1&&t.push(`최대 ${e}개 파일`),o&&n){const a=l.formatFileSize(o,{units:n});t.push(`각각 최대 ${a}`)}t.length>0&&(r+=` (${t.join(", ")})`)}else if(o&&n){const t=l.formatFileSize(o,{units:n});r+=` (최대 ${t})`}return r}};exports.default=c;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("@tempots/dom"),c=require("../preprocess-CvkqwVNt.cjs"),We=require("../link-portal-_tiDFZqh.cjs"),j={}.hasOwnProperty,V=/^(https?|ircs?|mailto|xmpp)$/i,je=/^https?$/i;function Ve(
|
|
2
|
-
`)}function a(){const e=h[h.length-1],n=e[e.length-1],s=n?n.charCodeAt(n.length-1):null;s===10||s===13||s===null||F()}function w(e){return r("ignoreEncode")?e:c.encode(e)}function C(){p()}function $(e){u.push(!e._loose),a(),t("<ol"),i("expectFirstItem",!0)}function G(e){u.push(!e._loose),a(),t("<ul"),i("expectFirstItem",!0)}function J(e){if(r("expectFirstItem")){const n=Number.parseInt(this.sliceSerialize(e),10);n!==1&&t(' start="'+w(String(n))+'"')}}function K(){r("expectFirstItem")?t(">"):H(),a(),t("<li>"),i("expectFirstItem"),i("lastWasTag")}function X(){H(),u.pop(),F(),t("</ol>")}function Y(){H(),u.pop(),F(),t("</ul>")}function H(){r("lastWasTag")&&!r("slurpAllLineEndings")&&a(),t("</li>"),i("slurpAllLineEndings")}function Z(){u.push(!1),a(),t("<blockquote>")}function v(){u.pop(),a(),t("</blockquote>"),i("slurpAllLineEndings")}function ee(){u[u.length-1]||(a(),t("<p>")),i("slurpAllLineEndings")}function ne(){u[u.length-1]?i("slurpAllLineEndings",!0):t("</p>")}function te(){a(),t("<pre><code"),i("fencesCount",0)}function ie(){const e=p();t(' class="language-'+e+'"')}function oe(){const e=r("fencesCount")||0;e||(t(">"),i("slurpOneLineEnding",!0)),i("fencesCount",e+1)}function re(){a(),t("<pre><code>")}function q(){const e=r("fencesCount");e!==void 0&&e<2&&y.tightStack.length>0&&!r("lastWasTag")&&F(),r("flowCodeSeenData")&&a(),t("</code></pre>"),e!==void 0&&e<2&&a(),i("flowCodeSeenData"),i("fencesCount"),i("slurpOneLineEnding")}function le(){o.push({image:!0}),d=void 0}function ce(){o.push({})}function ae(e){o[o.length-1].labelId=this.sliceSerialize(e)}function se(){o[o.length-1].label=p()}function ue(e){o[o.length-1].referenceId=this.sliceSerialize(e)}function de(){f(),o[o.length-1].destination=""}function fe(){f(),i("ignoreEncode",!0)}function ge(){o[o.length-1].destination=p(),i("ignoreEncode")}function he(){o[o.length-1].title=p()}function A(){let e=o.length-1;const n=o[e],s=n.referenceId||n.labelId,x=n.destination===void 0?
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("@tempots/dom"),c=require("../preprocess-CvkqwVNt.cjs"),We=require("../link-portal-_tiDFZqh.cjs"),j={}.hasOwnProperty,V=/^(https?|ircs?|mailto|xmpp)$/i,je=/^https?$/i;function Ve(S){const l=S||{};let d=!0;const b={},h=[[]],o=[],u=[],L={enter:{blockQuote:Z,codeFenced:te,codeFencedFenceInfo:f,codeFencedFenceMeta:f,codeIndented:re,codeText:qe,content:Ee,definition:pe,definitionDestinationString:me,definitionLabelString:f,definitionTitleString:f,emphasis:Ce,htmlFlow:De,htmlText:O,image:le,label:f,link:ce,listItemMarker:K,listItemValue:J,listOrdered:$,listUnordered:G,paragraph:ee,reference:f,resource:de,resourceDestinationString:fe,resourceTitleString:f,setextHeading:Te,strong:He},exit:{atxHeading:ye,atxHeadingSequence:we,autolinkEmail:Ne,autolinkProtocol:Be,blockQuote:v,characterEscapeValue:z,characterReferenceMarkerHexadecimal:U,characterReferenceMarkerNumeric:U,characterReferenceValue:Ue,codeFenced:q,codeFencedFence:oe,codeFencedFenceInfo:ie,codeFencedFenceMeta:C,codeFlowValue:Re,codeIndented:q,codeText:Ae,codeTextData:z,data:z,definition:be,definitionDestinationString:ke,definitionLabelString:xe,definitionTitleString:Se,emphasis:Pe,hardBreakEscape:P,hardBreakTrailing:P,htmlFlow:M,htmlFlowData:z,htmlText:M,htmlTextData:z,image:A,label:se,labelText:ae,lineEnding:Le,link:A,listOrdered:X,listUnordered:Y,paragraph:ne,reference:C,referenceString:ue,resource:C,resourceDestinationString:ge,resourceTitleString:he,setextHeading:Fe,setextHeadingLineSequence:ze,setextHeadingText:Ie,strong:Me,thematicBreak:Oe}},T=c.combineHtmlExtensions([L,...l.htmlExtensions||[]]),y={definitions:b,tightStack:u},R={buffer:f,encode:w,getData:r,lineEndingIfNeeded:a,options:l,raw:g,resume:p,setData:i,tag:t};let D=l.defaultLineEnding;return _;function _(e){let n=-1,s=0;const x=[];let m=[],E=[];for(;++n<e.length;)!D&&(e[n][1].type==="lineEnding"||e[n][1].type==="lineEndingBlank")&&(D=e[n][2].sliceSerialize(e[n][1])),(e[n][1].type==="listOrdered"||e[n][1].type==="listUnordered")&&(e[n][0]==="enter"?x.push(n):Q(e.slice(x.pop(),n))),e[n][1].type==="definition"&&(e[n][0]==="enter"?(E=c.push(E,e.slice(s,n)),s=n):(m=c.push(m,e.slice(s,n+1)),s=n+1));m=c.push(m,E),m=c.push(m,e.slice(s)),n=-1;const k=m;for(T.enter.null&&T.enter.null.call(R);++n<e.length;){const B=T[k[n][0]],N=k[n][1].type,W=B[N];j.call(B,N)&&W&&W.call({sliceSerialize:k[n][2].sliceSerialize,...R},k[n][1])}return T.exit.null&&T.exit.null.call(R),h[0].join("")}function Q(e){const n=e.length;let s=0,x=0,m=!1,E;for(;++s<n;){const k=e[s];if(k[1]._container)E=void 0,k[0]==="enter"?x++:x--;else switch(k[1].type){case"listItemPrefix":{k[0]==="exit"&&(E=!0);break}case"linePrefix":break;case"lineEndingBlank":{k[0]==="enter"&&!x&&(E?E=void 0:m=!0);break}default:E=void 0}}e[0][1]._loose=m}function i(e,n){y[e]=n}function r(e){return y[e]}function f(){h.push([])}function p(){return h.pop().join("")}function t(e){d&&(i("lastWasTag",!0),h[h.length-1].push(e))}function g(e){i("lastWasTag"),h[h.length-1].push(e)}function F(){g(D||`
|
|
2
|
+
`)}function a(){const e=h[h.length-1],n=e[e.length-1],s=n?n.charCodeAt(n.length-1):null;s===10||s===13||s===null||F()}function w(e){return r("ignoreEncode")?e:c.encode(e)}function C(){p()}function $(e){u.push(!e._loose),a(),t("<ol"),i("expectFirstItem",!0)}function G(e){u.push(!e._loose),a(),t("<ul"),i("expectFirstItem",!0)}function J(e){if(r("expectFirstItem")){const n=Number.parseInt(this.sliceSerialize(e),10);n!==1&&t(' start="'+w(String(n))+'"')}}function K(){r("expectFirstItem")?t(">"):H(),a(),t("<li>"),i("expectFirstItem"),i("lastWasTag")}function X(){H(),u.pop(),F(),t("</ol>")}function Y(){H(),u.pop(),F(),t("</ul>")}function H(){r("lastWasTag")&&!r("slurpAllLineEndings")&&a(),t("</li>"),i("slurpAllLineEndings")}function Z(){u.push(!1),a(),t("<blockquote>")}function v(){u.pop(),a(),t("</blockquote>"),i("slurpAllLineEndings")}function ee(){u[u.length-1]||(a(),t("<p>")),i("slurpAllLineEndings")}function ne(){u[u.length-1]?i("slurpAllLineEndings",!0):t("</p>")}function te(){a(),t("<pre><code"),i("fencesCount",0)}function ie(){const e=p();t(' class="language-'+e+'"')}function oe(){const e=r("fencesCount")||0;e||(t(">"),i("slurpOneLineEnding",!0)),i("fencesCount",e+1)}function re(){a(),t("<pre><code>")}function q(){const e=r("fencesCount");e!==void 0&&e<2&&y.tightStack.length>0&&!r("lastWasTag")&&F(),r("flowCodeSeenData")&&a(),t("</code></pre>"),e!==void 0&&e<2&&a(),i("flowCodeSeenData"),i("fencesCount"),i("slurpOneLineEnding")}function le(){o.push({image:!0}),d=void 0}function ce(){o.push({})}function ae(e){o[o.length-1].labelId=this.sliceSerialize(e)}function se(){o[o.length-1].label=p()}function ue(e){o[o.length-1].referenceId=this.sliceSerialize(e)}function de(){f(),o[o.length-1].destination=""}function fe(){f(),i("ignoreEncode",!0)}function ge(){o[o.length-1].destination=p(),i("ignoreEncode")}function he(){o[o.length-1].title=p()}function A(){let e=o.length-1;const n=o[e],s=n.referenceId||n.labelId,x=n.destination===void 0?b[c.normalizeIdentifier(s)]:n;for(d=!0;e--;)if(o[e].image){d=void 0;break}n.image?(t('<img src="'+c.sanitizeUri(x.destination,l.allowDangerousProtocol?void 0:je)+'" alt="'),g(n.label),t('"')):t('<a href="'+c.sanitizeUri(x.destination,l.allowDangerousProtocol?void 0:V)+'"'),t(x.title?' title="'+x.title+'"':""),n.image?t(" />"):(t(">"),g(n.label),t("</a>")),o.pop()}function pe(){f(),o.push({})}function xe(e){p(),o[o.length-1].labelId=this.sliceSerialize(e)}function me(){f(),i("ignoreEncode",!0)}function ke(){o[o.length-1].destination=p(),i("ignoreEncode")}function Se(){o[o.length-1].title=p()}function be(){const e=o[o.length-1],n=c.normalizeIdentifier(e.labelId);p(),j.call(b,n)||(b[n]=o[o.length-1]),o.pop()}function Ee(){i("slurpAllLineEndings",!0)}function we(e){r("headingRank")||(i("headingRank",this.sliceSerialize(e).length),a(),t("<h"+r("headingRank")+">"))}function Te(){f(),i("slurpAllLineEndings")}function Ie(){i("slurpAllLineEndings",!0)}function ye(){t("</h"+r("headingRank")+">"),i("headingRank")}function ze(e){i("headingRank",this.sliceSerialize(e).charCodeAt(0)===61?1:2)}function Fe(){const e=p();a(),t("<h"+r("headingRank")+">"),g(e),t("</h"+r("headingRank")+">"),i("slurpAllLineEndings"),i("headingRank")}function z(e){g(w(this.sliceSerialize(e)))}function Le(e){if(!r("slurpAllLineEndings")){if(r("slurpOneLineEnding")){i("slurpOneLineEnding");return}if(r("inCodeText")){g(" ");return}g(w(this.sliceSerialize(e)))}}function Re(e){g(w(this.sliceSerialize(e))),i("flowCodeSeenData",!0)}function P(){t("<br />")}function De(){a(),O()}function M(){i("ignoreEncode")}function O(){l.allowDangerousHtml&&i("ignoreEncode",!0)}function Ce(){t("<em>")}function He(){t("<strong>")}function qe(){i("inCodeText",!0),t("<code>")}function Ae(){i("inCodeText"),t("</code>")}function Pe(){t("</em>")}function Me(){t("</strong>")}function Oe(){a(),t("<hr />")}function U(e){i("characterReferenceType",e.type)}function Ue(e){const n=this.sliceSerialize(e),s=r("characterReferenceType")?c.decodeNumericCharacterReference(n,r("characterReferenceType")==="characterReferenceMarkerNumeric"?10:16):c.decodeNamedCharacterReference(n);g(w(s)),i("characterReferenceType")}function Be(e){const n=this.sliceSerialize(e);t('<a href="'+c.sanitizeUri(n,l.allowDangerousProtocol?void 0:V)+'">'),g(w(n)),t("</a>")}function Ne(e){const n=this.sliceSerialize(e);t('<a href="'+c.sanitizeUri("mailto:"+n)+'">'),g(w(n)),t("</a>")}}function _e(S,l,d){return typeof l!="string"&&(d=l,l=void 0),Ve(d)(c.postprocess(c.parse(d).document().write(c.preprocess()(S,l,!0))))}async function Qe(S={}){const l=[],d=[];if(S.gfm===!0){const b=await Promise.resolve().then(()=>require("../index-By8a3eg5.cjs"));l.push(b.gfm({})),d.push(b.gfmHtml({}))}return{extensions:l,htmlExtensions:d}}function $e(S,...l){const{content:d,allowHtml:b=!1}=S,h=I.computedOf(d,b,S.features)(async(o="",u=!1,L={})=>{const{extensions:T,htmlExtensions:y}=await Qe(L);return _e(o,{allowDangerousHtml:u,extensions:T,htmlExtensions:y})});return I.html.div((S.cssInjection??"none")==="none"?null:I.Task(()=>Promise.resolve().then(()=>require("../styles-url-SkuBc_7K.cjs")),({default:o})=>We.LinkPortal({id:"beatui-markdown-css",href:o})),I.attr.class("bc-markdown"),I.MapSignal(h,o=>I.Async(o,u=>I.attr.innerHTML(u))),...l)}exports.Markdown=$e;
|
|
@@ -4,37 +4,37 @@ import { L as nn } from "../link-portal-Cr2l9f3k.js";
|
|
|
4
4
|
const j = {}.hasOwnProperty, $ = /^(https?|ircs?|mailto|xmpp)$/i, tn = /^https?$/i;
|
|
5
5
|
function on(k) {
|
|
6
6
|
const l = k || {};
|
|
7
|
-
let
|
|
7
|
+
let d = !0;
|
|
8
8
|
const b = {}, g = [[]], o = [], s = [], w = (
|
|
9
9
|
/** @type {NormalizedHtmlExtension} */
|
|
10
10
|
Je([{
|
|
11
11
|
enter: {
|
|
12
12
|
blockQuote: ee,
|
|
13
13
|
codeFenced: oe,
|
|
14
|
-
codeFencedFenceInfo:
|
|
15
|
-
codeFencedFenceMeta:
|
|
14
|
+
codeFencedFenceInfo: u,
|
|
15
|
+
codeFencedFenceMeta: u,
|
|
16
16
|
codeIndented: ce,
|
|
17
17
|
codeText: Oe,
|
|
18
18
|
content: Te,
|
|
19
19
|
definition: me,
|
|
20
20
|
definitionDestinationString: be,
|
|
21
|
-
definitionLabelString:
|
|
22
|
-
definitionTitleString:
|
|
21
|
+
definitionLabelString: u,
|
|
22
|
+
definitionTitleString: u,
|
|
23
23
|
emphasis: Ae,
|
|
24
24
|
htmlFlow: He,
|
|
25
25
|
htmlText: q,
|
|
26
26
|
image: ae,
|
|
27
|
-
label:
|
|
27
|
+
label: u,
|
|
28
28
|
link: se,
|
|
29
29
|
listItemMarker: Y,
|
|
30
30
|
listItemValue: X,
|
|
31
31
|
listOrdered: J,
|
|
32
32
|
listUnordered: K,
|
|
33
33
|
paragraph: te,
|
|
34
|
-
reference:
|
|
34
|
+
reference: u,
|
|
35
35
|
resource: ge,
|
|
36
36
|
resourceDestinationString: he,
|
|
37
|
-
resourceTitleString:
|
|
37
|
+
resourceTitleString: u,
|
|
38
38
|
setextHeading: Le,
|
|
39
39
|
strong: Me
|
|
40
40
|
},
|
|
@@ -69,8 +69,8 @@ function on(k) {
|
|
|
69
69
|
htmlText: P,
|
|
70
70
|
htmlTextData: I,
|
|
71
71
|
image: M,
|
|
72
|
-
label:
|
|
73
|
-
labelText:
|
|
72
|
+
label: ue,
|
|
73
|
+
labelText: de,
|
|
74
74
|
lineEnding: De,
|
|
75
75
|
link: M,
|
|
76
76
|
listOrdered: Z,
|
|
@@ -92,7 +92,7 @@ function on(k) {
|
|
|
92
92
|
definitions: b,
|
|
93
93
|
tightStack: s
|
|
94
94
|
}, R = {
|
|
95
|
-
buffer:
|
|
95
|
+
buffer: u,
|
|
96
96
|
encode: E,
|
|
97
97
|
getData: r,
|
|
98
98
|
lineEndingIfNeeded: c,
|
|
@@ -152,14 +152,14 @@ function on(k) {
|
|
|
152
152
|
function r(e) {
|
|
153
153
|
return T[e];
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function u() {
|
|
156
156
|
g.push([]);
|
|
157
157
|
}
|
|
158
158
|
function h() {
|
|
159
159
|
return g.pop().join("");
|
|
160
160
|
}
|
|
161
161
|
function t(e) {
|
|
162
|
-
|
|
162
|
+
d && (i("lastWasTag", !0), g[g.length - 1].push(e));
|
|
163
163
|
}
|
|
164
164
|
function f(e) {
|
|
165
165
|
i("lastWasTag"), g[g.length - 1].push(e);
|
|
@@ -235,25 +235,25 @@ function on(k) {
|
|
|
235
235
|
function ae() {
|
|
236
236
|
o.push({
|
|
237
237
|
image: !0
|
|
238
|
-
}),
|
|
238
|
+
}), d = void 0;
|
|
239
239
|
}
|
|
240
240
|
function se() {
|
|
241
241
|
o.push({});
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function de(e) {
|
|
244
244
|
o[o.length - 1].labelId = this.sliceSerialize(e);
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function ue() {
|
|
247
247
|
o[o.length - 1].label = h();
|
|
248
248
|
}
|
|
249
249
|
function fe(e) {
|
|
250
250
|
o[o.length - 1].referenceId = this.sliceSerialize(e);
|
|
251
251
|
}
|
|
252
252
|
function ge() {
|
|
253
|
-
|
|
253
|
+
u(), o[o.length - 1].destination = "";
|
|
254
254
|
}
|
|
255
255
|
function he() {
|
|
256
|
-
|
|
256
|
+
u(), i("ignoreEncode", !0);
|
|
257
257
|
}
|
|
258
258
|
function pe() {
|
|
259
259
|
o[o.length - 1].destination = h(), i("ignoreEncode");
|
|
@@ -264,21 +264,21 @@ function on(k) {
|
|
|
264
264
|
function M() {
|
|
265
265
|
let e = o.length - 1;
|
|
266
266
|
const n = o[e], a = n.referenceId || n.labelId, p = n.destination === void 0 ? b[_(a)] : n;
|
|
267
|
-
for (
|
|
267
|
+
for (d = !0; e--; )
|
|
268
268
|
if (o[e].image) {
|
|
269
|
-
|
|
269
|
+
d = void 0;
|
|
270
270
|
break;
|
|
271
271
|
}
|
|
272
272
|
n.image ? (t('<img src="' + y(p.destination, l.allowDangerousProtocol ? void 0 : tn) + '" alt="'), f(n.label), t('"')) : t('<a href="' + y(p.destination, l.allowDangerousProtocol ? void 0 : $) + '"'), t(p.title ? ' title="' + p.title + '"' : ""), n.image ? t(" />") : (t(">"), f(n.label), t("</a>")), o.pop();
|
|
273
273
|
}
|
|
274
274
|
function me() {
|
|
275
|
-
|
|
275
|
+
u(), o.push({});
|
|
276
276
|
}
|
|
277
277
|
function ke(e) {
|
|
278
278
|
h(), o[o.length - 1].labelId = this.sliceSerialize(e);
|
|
279
279
|
}
|
|
280
280
|
function be() {
|
|
281
|
-
|
|
281
|
+
u(), i("ignoreEncode", !0);
|
|
282
282
|
}
|
|
283
283
|
function Se() {
|
|
284
284
|
o[o.length - 1].destination = h(), i("ignoreEncode");
|
|
@@ -297,7 +297,7 @@ function on(k) {
|
|
|
297
297
|
r("headingRank") || (i("headingRank", this.sliceSerialize(e).length), c(), t("<h" + r("headingRank") + ">"));
|
|
298
298
|
}
|
|
299
299
|
function Le() {
|
|
300
|
-
|
|
300
|
+
u(), i("slurpAllLineEndings");
|
|
301
301
|
}
|
|
302
302
|
function Fe() {
|
|
303
303
|
i("slurpAllLineEndings", !0);
|
|
@@ -383,20 +383,20 @@ function on(k) {
|
|
|
383
383
|
t('<a href="' + y("mailto:" + n) + '">'), f(E(n)), t("</a>");
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
function rn(k, l,
|
|
387
|
-
return typeof l != "string" && (
|
|
386
|
+
function rn(k, l, d) {
|
|
387
|
+
return typeof l != "string" && (d = l, l = void 0), on(d)(Ze(ve(d).document().write(en()(k, l, !0))));
|
|
388
388
|
}
|
|
389
389
|
async function ln(k = {}) {
|
|
390
|
-
const l = [],
|
|
390
|
+
const l = [], d = [];
|
|
391
391
|
if (k.gfm === !0) {
|
|
392
392
|
const b = await import("../index-B2079wM-.js");
|
|
393
|
-
l.push(b.gfm({})),
|
|
393
|
+
l.push(b.gfm({})), d.push(b.gfmHtml({}));
|
|
394
394
|
}
|
|
395
|
-
return { extensions: l, htmlExtensions:
|
|
395
|
+
return { extensions: l, htmlExtensions: d };
|
|
396
396
|
}
|
|
397
|
-
function
|
|
398
|
-
const { content:
|
|
399
|
-
|
|
397
|
+
function dn(k, ...l) {
|
|
398
|
+
const { content: d, allowHtml: b = !1 } = k, g = _e(
|
|
399
|
+
d,
|
|
400
400
|
b,
|
|
401
401
|
k.features
|
|
402
402
|
)(async (o = "", s = !1, H = {}) => {
|
|
@@ -406,10 +406,10 @@ function un(k, ...l) {
|
|
|
406
406
|
return je.div(
|
|
407
407
|
// Ensure styles are present declaratively via head portal
|
|
408
408
|
(k.cssInjection ?? "none") === "none" ? null : $e(
|
|
409
|
-
() => import("../styles-url-
|
|
409
|
+
() => import("../styles-url-CIhMtnm4.js"),
|
|
410
410
|
({ default: o }) => nn({ id: "beatui-markdown-css", href: o })
|
|
411
411
|
),
|
|
412
|
-
V.class("bc-markdown
|
|
412
|
+
V.class("bc-markdown"),
|
|
413
413
|
Qe(
|
|
414
414
|
g,
|
|
415
415
|
(o) => Ge(o, (s) => V.innerHTML(s))
|
|
@@ -418,5 +418,5 @@ function un(k, ...l) {
|
|
|
418
418
|
);
|
|
419
419
|
}
|
|
420
420
|
export {
|
|
421
|
-
|
|
421
|
+
dn as Markdown
|
|
422
422
|
};
|
package/dist/markdown.css
CHANGED
|
@@ -36,4 +36,166 @@
|
|
|
36
36
|
max-width: 100%;
|
|
37
37
|
height: auto;
|
|
38
38
|
}
|
|
39
|
+
.bc-markdown {
|
|
40
|
+
font-size: 1rem;
|
|
41
|
+
line-height: 1.75rem;
|
|
42
|
+
font-weight: 400;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Headings */
|
|
46
|
+
.bc-markdown h1 {
|
|
47
|
+
margin-block: 1.25rem 0.75rem;
|
|
48
|
+
font-size: 1.75rem;
|
|
49
|
+
line-height: 2.25rem;
|
|
50
|
+
font-weight: 700;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.bc-markdown h2 {
|
|
54
|
+
margin-block: 1.25rem 0.75rem;
|
|
55
|
+
font-size: 1.5rem;
|
|
56
|
+
line-height: 2rem;
|
|
57
|
+
font-weight: 600;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.bc-markdown h3 {
|
|
61
|
+
margin-block: 1rem 0.5rem;
|
|
62
|
+
font-size: 1.25rem;
|
|
63
|
+
line-height: 1.75rem;
|
|
64
|
+
font-weight: 600;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.bc-markdown h4 {
|
|
68
|
+
margin-block: 0.75rem 0.5rem;
|
|
69
|
+
font-size: 1.125rem;
|
|
70
|
+
line-height: 1.75rem;
|
|
71
|
+
font-weight: 600;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.bc-markdown h5 {
|
|
75
|
+
margin-block: 0.75rem 0.5rem;
|
|
76
|
+
font-size: 1rem;
|
|
77
|
+
line-height: 1.5rem;
|
|
78
|
+
font-weight: 600;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.bc-markdown h6 {
|
|
82
|
+
margin-block: 0.75rem 0.5rem;
|
|
83
|
+
font-size: 0.875rem;
|
|
84
|
+
line-height: 1.25rem;
|
|
85
|
+
font-weight: 600;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* Paragraphs */
|
|
89
|
+
.bc-markdown p {
|
|
90
|
+
margin-block: 0.75rem;
|
|
91
|
+
font-size: 1rem;
|
|
92
|
+
line-height: 1.75rem;
|
|
93
|
+
font-weight: 400;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Links */
|
|
97
|
+
.bc-markdown a {
|
|
98
|
+
color: var(--color-primary-600);
|
|
99
|
+
text-decoration: underline;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.bc-markdown a:hover {
|
|
103
|
+
color: var(--color-primary-700);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/* Inline Code */
|
|
107
|
+
.bc-markdown code {
|
|
108
|
+
font-family: var(--font-family-mono);
|
|
109
|
+
font-size: 0.875rem;
|
|
110
|
+
line-height: 1.25rem;
|
|
111
|
+
font-weight: 400;
|
|
112
|
+
color: var(--color-primary-700);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/* Code blocks */
|
|
116
|
+
.bc-markdown pre {
|
|
117
|
+
font-family: var(--font-family-mono);
|
|
118
|
+
font-size: 0.875rem;
|
|
119
|
+
line-height: 1.5rem;
|
|
120
|
+
font-weight: 400;
|
|
121
|
+
color: var(--color-primary-700);
|
|
122
|
+
background: var(--color-base-50);
|
|
123
|
+
border: 1px solid var(--color-base-200);
|
|
124
|
+
border-radius: var(--radius-md, 0.5rem);
|
|
125
|
+
padding: 0.75rem 1rem;
|
|
126
|
+
overflow: auto;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Blockquote */
|
|
130
|
+
.bc-markdown blockquote {
|
|
131
|
+
margin-block: 1rem;
|
|
132
|
+
padding: 0.75rem 1rem;
|
|
133
|
+
border-inline-start: 4px solid var(--color-primary-200);
|
|
134
|
+
background: color-mix(in srgb, var(--color-primary-50) 30%, transparent);
|
|
135
|
+
border-radius: var(--radius-md, 0.5rem);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/* Lists */
|
|
139
|
+
.bc-markdown ul,
|
|
140
|
+
.bc-markdown ol {
|
|
141
|
+
padding-inline-start: 1.5rem;
|
|
142
|
+
margin-block: 0.75rem;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.bc-markdown ul {
|
|
146
|
+
list-style: disc;
|
|
147
|
+
}
|
|
148
|
+
.bc-markdown ol {
|
|
149
|
+
list-style: decimal;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.bc-markdown li {
|
|
153
|
+
margin-block: 0.25rem;
|
|
154
|
+
}
|
|
155
|
+
.bc-markdown li > ul,
|
|
156
|
+
.bc-markdown li > ol {
|
|
157
|
+
margin-block-start: 0.25rem;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* Tables */
|
|
161
|
+
.bc-markdown table {
|
|
162
|
+
width: 100%;
|
|
163
|
+
border-collapse: collapse;
|
|
164
|
+
margin-block: 1rem;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.bc-markdown th {
|
|
168
|
+
text-align: left;
|
|
169
|
+
font-weight: 600;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.bc-markdown td,
|
|
173
|
+
.bc-markdown th {
|
|
174
|
+
padding: 0.5rem 0.75rem;
|
|
175
|
+
border-bottom: 1px solid var(--color-base-200);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.bc-markdown tr:nth-child(even) {
|
|
179
|
+
background-color: var(--color-base-100);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/* Horizontal rule */
|
|
183
|
+
.bc-markdown hr {
|
|
184
|
+
border: none;
|
|
185
|
+
border-top: 1px solid var(--color-base-200);
|
|
186
|
+
margin: 1rem 0;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/* Images */
|
|
190
|
+
.bc-markdown img {
|
|
191
|
+
max-width: 100%;
|
|
192
|
+
height: auto;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* Image as the only child of a paragraph should be centered */
|
|
196
|
+
.bc-markdown p > img {
|
|
197
|
+
display: block;
|
|
198
|
+
margin: 0 auto;
|
|
199
|
+
border-radius: var(--radius-md, 0.5rem);
|
|
200
|
+
}
|
|
39
201
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../milkdown-input-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../milkdown-input-EMBZNdma.cjs");exports.MilkdownInput=t.MilkdownInput;
|