@neurodyn/react-model-viewer 0.0.9 → 0.0.10
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/index.js +12 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1859,6 +1859,10 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
1859
1859
|
padding-bottom: 5px;
|
|
1860
1860
|
}
|
|
1861
1861
|
|
|
1862
|
+
.pl-2 {
|
|
1863
|
+
padding-left: calc(var(--spacing) * 2);
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1862
1866
|
.pl-3 {
|
|
1863
1867
|
padding-left: calc(var(--spacing) * 3);
|
|
1864
1868
|
}
|
|
@@ -4262,6 +4266,10 @@ button, input:where([type="button"], [type="reset"], [type="submit"]) {
|
|
|
4262
4266
|
color: var(--v-text-dark);
|
|
4263
4267
|
}
|
|
4264
4268
|
|
|
4269
|
+
.data-\\[variant\\=destructive\\]\\:\\[\\&_svg\\:not\\(\\[class\\*\\=text-\\]\\)\\]\\:text-inherit[data-variant="destructive"] svg:not([class*="text-"]) {
|
|
4270
|
+
color: inherit;
|
|
4271
|
+
}
|
|
4272
|
+
|
|
4265
4273
|
.\\[\\&_tr\\]\\:border-b tr {
|
|
4266
4274
|
border-bottom-style: var(--tw-border-style);
|
|
4267
4275
|
border-bottom-width: 1px;
|
|
@@ -5731,6 +5739,7 @@ const PROPERTY_BLOCK_RE = /@property\s+(--[^{\s]+)\s*\{([^}]*)\}/g;
|
|
|
5731
5739
|
const INITIAL_VALUE_RE = /initial-value:([^;}]+)/i;
|
|
5732
5740
|
const NON_INHERITING_RE = /inherits:\s*false(?:\s*;|\s*$)/i;
|
|
5733
5741
|
const ROOT_TO_HOST_SELECTOR_RE = /:root\s*,\s*:host|:root/g;
|
|
5742
|
+
const SHADOW_HOST_VISIBILITY_CSS = ':host{display:block!important;visibility:visible!important}';
|
|
5734
5743
|
function createShadowRootCssText(cssText) {
|
|
5735
5744
|
const cssForHost = cssText.replace(ROOT_TO_HOST_SELECTOR_RE, ':host');
|
|
5736
5745
|
const propertyBlocks = Array.from(cssText.matchAll(PROPERTY_BLOCK_RE));
|
|
@@ -8092,6 +8101,9 @@ function ModelViewerDialog({ tinuuid, apiKey, apiBaseUrl, legacyApiBaseUrl, init
|
|
|
8092
8101
|
zIndex: 2147483647
|
|
8093
8102
|
},
|
|
8094
8103
|
children: [
|
|
8104
|
+
/*#__PURE__*/ jsx("style", {
|
|
8105
|
+
children: SHADOW_HOST_VISIBILITY_CSS
|
|
8106
|
+
}),
|
|
8095
8107
|
/*#__PURE__*/ jsx("style", {
|
|
8096
8108
|
children: shadowRootCssText
|
|
8097
8109
|
}),
|