@bendyline/squisq-react 2.5.0 → 2.6.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 +19 -0
- package/dist/MarkdownRenderer-CerBKw-c.d.ts +53 -0
- package/dist/{chunk-ZKNX3EJI.js → chunk-GWD62KLD.js} +14 -5
- package/dist/{chunk-BOZJ655L.js → chunk-MVJQL2W2.js} +19 -12
- package/dist/{chunk-VMPQEUJH.js → chunk-TMCLQNLM.js} +71 -4
- package/dist/{chunk-THDXCSPC.js → chunk-U6P7HBUY.js} +51 -12
- package/dist/{chunk-DJRYQQXB.js → chunk-YKBVTYU4.js} +1 -1
- package/dist/hooks/index.d.ts +5 -1
- package/dist/hooks/index.js +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/index.js +5 -5
- package/dist/json-view/index.js +2 -2
- package/dist/markdown/index.d.ts +3 -31
- package/dist/markdown/index.js +1 -1
- package/dist/page/index.d.ts +11 -2
- package/dist/page/index.js +2 -2
- package/dist/player/index.d.ts +8 -1
- package/dist/player/index.js +4 -4
- package/dist/squisq-player.full.global.js +459 -432
- package/dist/squisq-player.global.js +87 -60
- package/dist/standalone-source.js +1 -1
- package/dist/styles/index.css +36 -0
- package/package.json +2 -2
package/dist/styles/index.css
CHANGED
|
@@ -9120,6 +9120,42 @@
|
|
|
9120
9120
|
border-radius: 10px;
|
|
9121
9121
|
background: color-mix(in srgb, currentcolor 4%, transparent);
|
|
9122
9122
|
}
|
|
9123
|
+
.squisq-md-code-frame {
|
|
9124
|
+
position: relative;
|
|
9125
|
+
margin: 1em 0;
|
|
9126
|
+
}
|
|
9127
|
+
.squisq-md-code-frame > .squisq-md-code-block {
|
|
9128
|
+
margin: 0;
|
|
9129
|
+
padding-right: 5rem;
|
|
9130
|
+
}
|
|
9131
|
+
.squisq-md-code-copy {
|
|
9132
|
+
position: absolute;
|
|
9133
|
+
z-index: 1;
|
|
9134
|
+
top: 0.55rem;
|
|
9135
|
+
right: 0.55rem;
|
|
9136
|
+
min-width: 3.7rem;
|
|
9137
|
+
padding: 0.28rem 0.5rem;
|
|
9138
|
+
border: 1px solid color-mix(in srgb, currentcolor 20%, transparent);
|
|
9139
|
+
border-radius: 5px;
|
|
9140
|
+
background: color-mix(in srgb, Canvas 90%, transparent);
|
|
9141
|
+
color: inherit;
|
|
9142
|
+
font: 500 0.72rem/1.2 system-ui, sans-serif;
|
|
9143
|
+
cursor: pointer;
|
|
9144
|
+
opacity: 0.58;
|
|
9145
|
+
transition: opacity 120ms ease, background-color 120ms ease;
|
|
9146
|
+
}
|
|
9147
|
+
.squisq-md-code-frame:hover > .squisq-md-code-copy,
|
|
9148
|
+
.squisq-md-code-copy:focus-visible,
|
|
9149
|
+
.squisq-md-code-copy[data-copy-state=copied],
|
|
9150
|
+
.squisq-md-code-copy[data-copy-state=failed] {
|
|
9151
|
+
opacity: 1;
|
|
9152
|
+
}
|
|
9153
|
+
.squisq-md-code-copy:hover {
|
|
9154
|
+
background: Canvas;
|
|
9155
|
+
}
|
|
9156
|
+
.squisq-md-code-copy:disabled {
|
|
9157
|
+
cursor: wait;
|
|
9158
|
+
}
|
|
9123
9159
|
.squisq-mermaid-layer-frame {
|
|
9124
9160
|
width: 100%;
|
|
9125
9161
|
height: 100%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bendyline/squisq-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "React component library for doc playback, block rendering, and media layers",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bendyline",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
|
-
"@bendyline/squisq": "2.
|
|
94
|
+
"@bendyline/squisq": "2.6.0",
|
|
95
95
|
"@fortawesome/fontawesome-free": "7.2.0",
|
|
96
96
|
"mermaid": "11.16.0"
|
|
97
97
|
},
|