@digital-ai/dot-components 4.9.1 → 4.9.2
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/index.esm.js +5 -5
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -2253,7 +2253,7 @@ const getPlatformConsoleUrlFromToken = encodedToken => {
|
|
|
2253
2253
|
const pathArray = issUrl.pathname.split('/');
|
|
2254
2254
|
const vanityDomain = pathArray[pathArray.length - 1];
|
|
2255
2255
|
let host = issUrl.hostname === 'localhost' ? 'local.digital.ai:4200' : issUrl.host;
|
|
2256
|
-
const identityRe = /^identity(-\d+)
|
|
2256
|
+
const identityRe = /^identity(-\d+)?\.(.+)$/i;
|
|
2257
2257
|
const match = host.match(identityRe);
|
|
2258
2258
|
if (match && match.length === 3) {
|
|
2259
2259
|
host = match[2];
|
|
@@ -14642,9 +14642,7 @@ const DotInlineEdit = ({
|
|
|
14642
14642
|
const bindingsValue = bindings ? applyBindings(bindings, inputValue) : null;
|
|
14643
14643
|
const typographyClasses = useStylesWithRootClass('dot-view-mode-typography', !inputValue && placeholderClassName);
|
|
14644
14644
|
const viewModeClasses = useStylesWithRootClass(viewModeClassName, readOnly && readOnlyClassName);
|
|
14645
|
-
const viewModeChildren = jsxs(
|
|
14646
|
-
maxRows: maxRows,
|
|
14647
|
-
typography: typography,
|
|
14645
|
+
const viewModeChildren = jsxs(Fragment, {
|
|
14648
14646
|
children: [jsx(DotTypography, {
|
|
14649
14647
|
className: typographyClasses,
|
|
14650
14648
|
"data-testid": dataTestId && `${dataTestId}-view-mode-typography`,
|
|
@@ -14662,8 +14660,10 @@ const DotInlineEdit = ({
|
|
|
14662
14660
|
"data-testid": dataTestId && `${dataTestId}-view-mode-tooltip-wrapper`,
|
|
14663
14661
|
open: showTooltip,
|
|
14664
14662
|
children: viewModeChildren
|
|
14665
|
-
}) : jsx(
|
|
14663
|
+
}) : jsx(StyledInlineViewMode, {
|
|
14666
14664
|
className: viewModeClasses,
|
|
14665
|
+
maxRows: maxRows,
|
|
14666
|
+
typography: typography,
|
|
14667
14667
|
"data-testid": dataTestId && `${dataTestId}-view-mode-wrapper`,
|
|
14668
14668
|
role: "presentation",
|
|
14669
14669
|
children: viewModeChildren
|