@infinilabs/entity-ui 0.0.3 → 0.0.5
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/entity-ui.cjs +10 -9
- package/dist/entity-ui.js +397 -382
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
- package/dist/style.css +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as default_2 } from 'react';
|
|
2
2
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
3
3
|
|
|
4
|
-
export declare const EntityCard: ({ title, subtitle, description, imageUrl, actions, footer, triggerType, popupMode, trigger, open, onOpenChange, modalTitle, width, placement, data, hoverOpenDelay, closeDelay, autoPlacement, hoverAutoClose, hoverAutoCloseDelay, }: EntityCardProps) => JSX_2.Element;
|
|
4
|
+
export declare const EntityCard: ({ title, subtitle, description, imageUrl, actions, footer, triggerType, popupMode, trigger, open, onOpenChange, modalTitle, width, placement, data, hoverOpenDelay, closeDelay, autoPlacement, hoverAutoClose, hoverAutoCloseDelay, getPopupContainer, viewportPadding, zIndex, }: EntityCardProps) => JSX_2.Element;
|
|
5
5
|
|
|
6
6
|
declare interface EntityCardAction {
|
|
7
7
|
label: string;
|
|
@@ -67,6 +67,9 @@ export declare interface EntityCardProps {
|
|
|
67
67
|
hoverAutoClose?: boolean;
|
|
68
68
|
hoverAutoCloseDelay?: number;
|
|
69
69
|
data?: EntityCardData;
|
|
70
|
+
getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
|
|
71
|
+
viewportPadding?: number;
|
|
72
|
+
zIndex?: number;
|
|
70
73
|
}
|
|
71
74
|
|
|
72
75
|
export declare function EntityLabel({ data }: EntityLabelProps): JSX_2.Element;
|
package/package.json
CHANGED
package/dist/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._entityCard_1xtgw_1{width:400px;padding:16px;overflow:auto;border-radius:5px;background-color:#fff;color:#101010;font-size:14px;text-align:center;box-shadow:0 0 10px #0000004d;font-family:-regular}._pcCover_1xtgw_15{display:flex;align-items:center;justify-content:center;margin-bottom:25px;overflow:hidden;border-radius:3px;background-color:#bbbbbbb0}._pcCover_1xtgw_15 img{width:100%;height:auto;display:block}._pcSection_1xtgw_31{width:100%;padding-bottom:16px;display:flex;align-items:center}._pcBreadcrumbSep_1xtgw_38{font-size:12px;color:#999}._pcBasic_1xtgw_43{display:flex;gap:8px;flex-wrap:wrap}._pcBasicRow_1xtgw_49{width:100%;display:flex;align-items:center;justify-content:space-between}._pcBasicRowLeft_1xtgw_56{display:flex;align-items:center;gap:8px}._pcLinkIconRight_1xtgw_61{display:flex;align-items:center;justify-content:center;width:30px;height:20px;text-decoration:none;background-color:#fafafa;border-radius:4px}._pcColorSwatch_1xtgw_72{width:7px;height:16px}._pcIconDot_1xtgw_77{width:18px;height:18px}._pcTitleLink_1xtgw_82{display:inline-flex;align-items:center;gap:8px;padding:2px 8px;border:2px solid #027ffe;border-radius:4px;color:#027ffe;font-weight:500;text-decoration:none;line-height:1.6}._pcTitleLink_1xtgw_82:hover{background:#1677ff0f}._pcTitleText_1xtgw_99{display:inline-flex;align-items:center;color:#027ffe;font-size:16px}._pcSubTitleText_1xtgw_106{display:inline-flex;align-items:center;color:#999;font-size:16px}._pcExternalIcon_1xtgw_113{font-size:12px;color:#027ffe;margin-left:2px}._pcProperties_1xtgw_119{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px;row-gap:12px;align-items:start}._pcProperty_1xtgw_127{display:flex;align-items:center;gap:4px;min-height:24px;min-width:0;box-sizing:border-box;font-size:12px;color:#999}._pcTagsRow_1xtgw_138{display:inline-flex;flex-wrap:wrap;gap:4px}._pcTag_1xtgw_138{padding:2px 6px;border-radius:4px;background:#f2f3f5;color:#555;font-size:12px}._pcDetails_1xtgw_151{width:100%;display:flex;flex-direction:column;gap:12px}._pcRow_1xtgw_157{display:grid;column-gap:8px;row-gap:12px;width:100%}._pcCol_1xtgw_72{width:100%;padding:10px 8px;box-sizing:border-box;display:flex;flex-direction:column;gap:4px;min-width:0;text-align:left;border-radius:5px;background-color:#fafafa;color:#101010;font-size:14px;font-family:-regular;border:1px solid rgba(245,245,245,1)}._pcColLabel_1xtgw_179{color:#999;font-size:12px}._pcColValue_1xtgw_183{font-size:16px;color:#027ffe}._pcProgressText_1xtgw_188{font-size:10px;color:#027ffe}._entityLabel_1xtgw_194{width:100%;overflow:hidden}
|