@websolutespa/bom-llm 0.0.31 → 0.0.32
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/CHANGELOG.md +7 -0
- package/dist/index.d.ts +3 -0
- package/dist/umd/index.css +36 -46
- package/dist/umd/index.js +12 -4
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/umd/index.css
CHANGED
|
@@ -182,6 +182,9 @@
|
|
|
182
182
|
font-display: swap;
|
|
183
183
|
}
|
|
184
184
|
*/
|
|
185
|
+
.llm ::selection {
|
|
186
|
+
background: var(--llm-color-accent-foreground);
|
|
187
|
+
}
|
|
185
188
|
.llm,
|
|
186
189
|
.llm h1,
|
|
187
190
|
.llm h2,
|
|
@@ -1272,67 +1275,54 @@ llm-embed {
|
|
|
1272
1275
|
height: 70px;
|
|
1273
1276
|
}
|
|
1274
1277
|
}
|
|
1275
|
-
.llm .llm__header-logo
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
.llm .llm__header-logo-full > picture,
|
|
1282
|
-
.llm .llm__header-logo-full > picture > img,
|
|
1283
|
-
.llm .llm__header-logo-full > img,
|
|
1284
|
-
.llm .llm__header-logo-full > svg {
|
|
1285
|
-
display: block;
|
|
1286
|
-
position: absolute;
|
|
1287
|
-
left: 0;
|
|
1288
|
-
top: 0;
|
|
1289
|
-
width: 100%;
|
|
1290
|
-
height: 100%;
|
|
1291
|
-
object-fit: cover;
|
|
1292
|
-
object-position: center;
|
|
1278
|
+
.llm .llm__header-logo {
|
|
1279
|
+
display: flex;
|
|
1280
|
+
align-items: center;
|
|
1281
|
+
flex-wrap: wrap;
|
|
1282
|
+
column-gap: 1em;
|
|
1283
|
+
row-gap: 0.5em;
|
|
1293
1284
|
}
|
|
1294
|
-
.llm .llm__header-logo-full
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1285
|
+
.llm .llm__header-logo-full {
|
|
1286
|
+
height: clamp(40px, 40px + (100vw - 375px) / 1545 * 20, 60px);
|
|
1287
|
+
/*
|
|
1288
|
+
@include imgPad(198, 60);
|
|
1289
|
+
width: clampValue(130, 200);
|
|
1290
|
+
*/
|
|
1299
1291
|
}
|
|
1300
1292
|
.-llm-scrolled .llm .llm__header-logo-full {
|
|
1301
1293
|
display: none;
|
|
1302
1294
|
}
|
|
1303
1295
|
.llm .llm__header-logo-full > img {
|
|
1296
|
+
height: 100%;
|
|
1304
1297
|
object-fit: contain;
|
|
1305
1298
|
}
|
|
1306
1299
|
.llm .llm__header-logo-mini {
|
|
1307
|
-
|
|
1308
|
-
|
|
1300
|
+
height: clamp(40px, 40px + (100vw - 375px) / 1545 * 20, 60px);
|
|
1301
|
+
/*
|
|
1302
|
+
@include imgPad(65, 60);
|
|
1309
1303
|
width: 43px;
|
|
1304
|
+
*/
|
|
1310
1305
|
display: none;
|
|
1311
1306
|
}
|
|
1312
|
-
.llm .llm__header-logo-mini
|
|
1313
|
-
.llm .llm__header-logo-mini > picture,
|
|
1314
|
-
.llm .llm__header-logo-mini > picture > img,
|
|
1315
|
-
.llm .llm__header-logo-mini > img,
|
|
1316
|
-
.llm .llm__header-logo-mini > svg {
|
|
1307
|
+
.-llm-scrolled .llm .llm__header-logo-mini {
|
|
1317
1308
|
display: block;
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
top: 0;
|
|
1321
|
-
width: 100%;
|
|
1309
|
+
}
|
|
1310
|
+
.llm .llm__header-logo-mini > img {
|
|
1322
1311
|
height: 100%;
|
|
1323
|
-
object-fit:
|
|
1324
|
-
object-position: center;
|
|
1312
|
+
object-fit: contain;
|
|
1325
1313
|
}
|
|
1326
|
-
.llm .llm__header-logo-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1314
|
+
.llm .llm__header-logo-additional {
|
|
1315
|
+
height: clamp(28px, 28px + (100vw - 375px) / 1545 * 12, 40px);
|
|
1316
|
+
/*
|
|
1317
|
+
@include imgPad(198, 60);
|
|
1318
|
+
width: clampValue(130, 200);
|
|
1319
|
+
*/
|
|
1331
1320
|
}
|
|
1332
|
-
.-llm-scrolled .llm .llm__header-logo-
|
|
1333
|
-
display:
|
|
1321
|
+
.-llm-scrolled .llm .llm__header-logo-additional {
|
|
1322
|
+
display: none;
|
|
1334
1323
|
}
|
|
1335
|
-
.llm .llm__header-logo-
|
|
1324
|
+
.llm .llm__header-logo-additional > img {
|
|
1325
|
+
height: 100%;
|
|
1336
1326
|
object-fit: contain;
|
|
1337
1327
|
}
|
|
1338
1328
|
.llm .llm__header-skip {
|
|
@@ -2880,7 +2870,7 @@ llm-embed {
|
|
|
2880
2870
|
line-height: var(--llm-typography-body4-line-height);
|
|
2881
2871
|
letter-spacing: var(--llm-typography-body4-letter-spacing);
|
|
2882
2872
|
font-size: clamp(var(--llm-typography-body4-font-size-min) * 1px, var(--llm-typography-body4-font-size-min) * 1px + (100vw - 375px) / 1545 * (var(--llm-typography-body4-font-size-max) - var(--llm-typography-body4-font-size-min)), var(--llm-typography-body4-font-size-max) * 1px);
|
|
2883
|
-
font-weight:
|
|
2873
|
+
font-weight: 400;
|
|
2884
2874
|
overflow: hidden;
|
|
2885
2875
|
text-overflow: ellipsis;
|
|
2886
2876
|
display: -webkit-box;
|
|
@@ -2894,7 +2884,7 @@ llm-embed {
|
|
|
2894
2884
|
line-height: var(--llm-typography-body5-line-height);
|
|
2895
2885
|
letter-spacing: var(--llm-typography-body5-letter-spacing);
|
|
2896
2886
|
font-size: clamp(var(--llm-typography-body5-font-size-min) * 1px, var(--llm-typography-body5-font-size-min) * 1px + (100vw - 375px) / 1545 * (var(--llm-typography-body5-font-size-max) - var(--llm-typography-body5-font-size-min)), var(--llm-typography-body5-font-size-max) * 1px);
|
|
2897
|
-
font-weight:
|
|
2887
|
+
font-weight: 300;
|
|
2898
2888
|
overflow: hidden;
|
|
2899
2889
|
text-overflow: ellipsis;
|
|
2900
2890
|
display: -webkit-box;
|
package/dist/umd/index.js
CHANGED
|
@@ -17945,7 +17945,8 @@
|
|
|
17945
17945
|
};
|
|
17946
17946
|
var border = "1px solid var(--llm-color-neutral-200)";
|
|
17947
17947
|
var canvas = {
|
|
17948
|
-
opacity: 0.8
|
|
17948
|
+
opacity: 0.8,
|
|
17949
|
+
enabled: true
|
|
17949
17950
|
};
|
|
17950
17951
|
var trigger$1 = {
|
|
17951
17952
|
size: "60px",
|
|
@@ -21105,7 +21106,7 @@ void main(void) {
|
|
|
21105
21106
|
const canvasRef = reactExports.useRef();
|
|
21106
21107
|
const shaderRef = reactExports.useRef();
|
|
21107
21108
|
reactExports.useEffect(() => {
|
|
21108
|
-
if (canvasRef.current == null && isBrowser$1) {
|
|
21109
|
+
if (canvasRef.current == null && theme.canvas.enabled && isBrowser$1) {
|
|
21109
21110
|
if (!sharedCanvas) {
|
|
21110
21111
|
const pixelRatio = window.devicePixelRatio;
|
|
21111
21112
|
sharedCanvas = document.createElement('canvas');
|
|
@@ -21172,7 +21173,7 @@ void main(void) {
|
|
|
21172
21173
|
const pixelRatio = window.devicePixelRatio;
|
|
21173
21174
|
reactExports.useEffect(() => {
|
|
21174
21175
|
// console.log('useCanvasOffscreen', canvasRef.current);
|
|
21175
|
-
if (canvasRef.current != null) {
|
|
21176
|
+
if (canvasRef.current != null && isBrowser$1) {
|
|
21176
21177
|
const canvas = canvasRef.current;
|
|
21177
21178
|
const onResize = _ref3 => {
|
|
21178
21179
|
let [entry] = _ref3;
|
|
@@ -21665,6 +21666,7 @@ void main(void) {
|
|
|
21665
21666
|
const label = useLabel();
|
|
21666
21667
|
const logo = app?.contents.logo;
|
|
21667
21668
|
const logoMini = app?.contents?.logoMini;
|
|
21669
|
+
const additionalLogos = app?.contents?.additionalLogos;
|
|
21668
21670
|
const classes = getClassNames('llm__header', {
|
|
21669
21671
|
hidden,
|
|
21670
21672
|
fixed
|
|
@@ -21682,7 +21684,13 @@ void main(void) {
|
|
|
21682
21684
|
src: logo.src || logo.url,
|
|
21683
21685
|
alt: logo.alt
|
|
21684
21686
|
})
|
|
21685
|
-
}),
|
|
21687
|
+
}), additionalLogos && additionalLogos.map((x, i) => /*#__PURE__*/jsxRuntimeExports.jsx("div", {
|
|
21688
|
+
className: "llm__header-logo-additional",
|
|
21689
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx("img", {
|
|
21690
|
+
src: x.logo.src || x.logo.url,
|
|
21691
|
+
alt: x.logo.alt
|
|
21692
|
+
})
|
|
21693
|
+
}, i)), logoMini && /*#__PURE__*/jsxRuntimeExports.jsx("div", {
|
|
21686
21694
|
className: "llm__header-logo-mini",
|
|
21687
21695
|
children: /*#__PURE__*/jsxRuntimeExports.jsx("img", {
|
|
21688
21696
|
src: logoMini.src || logoMini.url,
|