kaleido-ui 0.1.17 → 0.1.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/dist/web/index.cjs +6 -1
- package/dist/web/index.js +6 -1
- package/package.json +1 -1
package/dist/web/index.cjs
CHANGED
|
@@ -504,7 +504,12 @@ function Icon2({
|
|
|
504
504
|
"span",
|
|
505
505
|
{
|
|
506
506
|
className: cn(
|
|
507
|
-
|
|
507
|
+
// `inline-flex items-center justify-center leading-none` keeps the
|
|
508
|
+
// glyph centered inside its own box rather than drifting on the
|
|
509
|
+
// parent's text baseline. Without this, a Material-Symbols span
|
|
510
|
+
// sitting next to an <img>-based icon in a flex row renders a few
|
|
511
|
+
// pixels lower because the glyph adopts the surrounding line-height.
|
|
512
|
+
"material-symbols-outlined inline-flex items-center justify-center leading-none align-middle",
|
|
508
513
|
filled && "filled",
|
|
509
514
|
sizeClasses[size],
|
|
510
515
|
className
|
package/dist/web/index.js
CHANGED
|
@@ -343,7 +343,12 @@ function Icon2({
|
|
|
343
343
|
"span",
|
|
344
344
|
{
|
|
345
345
|
className: cn(
|
|
346
|
-
|
|
346
|
+
// `inline-flex items-center justify-center leading-none` keeps the
|
|
347
|
+
// glyph centered inside its own box rather than drifting on the
|
|
348
|
+
// parent's text baseline. Without this, a Material-Symbols span
|
|
349
|
+
// sitting next to an <img>-based icon in a flex row renders a few
|
|
350
|
+
// pixels lower because the glyph adopts the surrounding line-height.
|
|
351
|
+
"material-symbols-outlined inline-flex items-center justify-center leading-none align-middle",
|
|
347
352
|
filled && "filled",
|
|
348
353
|
sizeClasses[size],
|
|
349
354
|
className
|
package/package.json
CHANGED