@synerise/ds-information-card 1.6.4 → 1.6.6
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 +8 -0
- package/dist/InformationCard.d.ts +6 -6
- package/dist/InformationCard.js +82 -135
- package/dist/InformationCard.styles.d.ts +25 -25
- package/dist/InformationCard.styles.js +68 -69
- package/dist/InformationCard.types.d.ts +8 -8
- package/dist/InformationCard.types.js +1 -1
- package/dist/InformationCard.utils.d.ts +3 -3
- package/dist/InformationCard.utils.js +29 -36
- package/dist/InformationCardActions/InformationCardActions.d.ts +2 -2
- package/dist/InformationCardActions/InformationCardActions.js +22 -26
- package/dist/InformationCardActions/InformationCardActions.types.d.ts +2 -2
- package/dist/InformationCardActions/InformationCardActions.types.js +1 -1
- package/dist/InformationCardDescription/InformationCardDescription.d.ts +2 -2
- package/dist/InformationCardDescription/InformationCardDescription.js +23 -29
- package/dist/InformationCardFooter/InformationCardFooter.d.ts +2 -2
- package/dist/InformationCardFooter/InformationCardFooter.js +29 -42
- package/dist/InformationCardFooter/InformationCardFooter.types.d.ts +3 -3
- package/dist/InformationCardFooter/InformationCardFooter.types.js +1 -1
- package/dist/InformationCardPropertyList/InformationCardPropertyList.d.ts +2 -2
- package/dist/InformationCardPropertyList/InformationCardPropertyList.js +32 -30
- package/dist/InformationCardPropertyList/InformationCardPropertyList.types.d.ts +1 -1
- package/dist/InformationCardPropertyList/InformationCardPropertyList.types.js +1 -1
- package/dist/InformationCardSummary/InformationCardSummary.d.ts +2 -2
- package/dist/InformationCardSummary/InformationCardSummary.js +29 -30
- package/dist/InformationCardSummary/InformationCardSummary.types.d.ts +2 -2
- package/dist/InformationCardSummary/InformationCardSummary.types.js +1 -1
- package/dist/InformationCardTooltip/InformationCard.constants.d.ts +1 -1
- package/dist/InformationCardTooltip/InformationCard.constants.js +13 -6
- package/dist/InformationCardTooltip/InformationCardTooltip.d.ts +4 -4
- package/dist/InformationCardTooltip/InformationCardTooltip.js +27 -43
- package/dist/InformationCardTooltip/InformationCardTooltip.styles.d.ts +1 -1
- package/dist/InformationCardTooltip/InformationCardTooltip.styles.js +6 -3
- package/dist/InformationCardTooltip/InformationCardTooltip.types.d.ts +5 -5
- package/dist/InformationCardTooltip/InformationCardTooltip.types.js +1 -1
- package/dist/index.js +12 -7
- package/dist/modules.d.js +1 -1
- package/dist/modules.d.ts +0 -0
- package/package.json +23 -23
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import styled from
|
|
2
|
-
|
|
1
|
+
import styled from "styled-components";
|
|
2
|
+
const InformationCardTooltipWrapper = /* @__PURE__ */ styled.div.withConfig({
|
|
3
3
|
displayName: "InformationCardTooltipstyles__InformationCardTooltipWrapper",
|
|
4
4
|
componentId: "sc-1q11fca-0"
|
|
5
|
-
})(["display:contents;"]);
|
|
5
|
+
})(["display:contents;"]);
|
|
6
|
+
export {
|
|
7
|
+
InformationCardTooltipWrapper
|
|
8
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
1
|
+
import { ForwardRefExoticComponent, ReactNode, RefAttributes } from 'react';
|
|
2
|
+
import { StyledComponent } from 'styled-components';
|
|
3
|
+
import { LegacyPlacement, PopoverOptions } from '@synerise/ds-popover';
|
|
4
|
+
import { WithHTMLAttributes } from '@synerise/ds-utils';
|
|
5
|
+
import { InformationCardProps } from '../InformationCard.types';
|
|
6
6
|
export type InformationCardTooltipProps = WithHTMLAttributes<HTMLDivElement, {
|
|
7
7
|
/**
|
|
8
8
|
* InformationCardProps - will render <InformationCard/> component with these props as the content of the tooltip
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { default as default2 } from "./InformationCard.js";
|
|
2
|
+
import { InformationCardPropertyList } from "./InformationCardPropertyList/InformationCardPropertyList.js";
|
|
3
|
+
import { buildExtraInfo, buildIconBadge, buildInitialsBadge } from "./InformationCard.utils.js";
|
|
4
|
+
import { InformationCardTooltip } from "./InformationCardTooltip/InformationCardTooltip.js";
|
|
5
|
+
export {
|
|
6
|
+
InformationCardPropertyList,
|
|
7
|
+
InformationCardTooltip,
|
|
8
|
+
buildExtraInfo,
|
|
9
|
+
buildIconBadge,
|
|
10
|
+
buildInitialsBadge,
|
|
11
|
+
default2 as default
|
|
12
|
+
};
|
package/dist/modules.d.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-information-card",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.6",
|
|
4
4
|
"description": "InformationCard UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
|
-
"build": "
|
|
19
|
+
"build": "vite build",
|
|
20
20
|
"build:css": "node ../../../scripts/style/less.js",
|
|
21
21
|
"build:js": "babel --delete-dir-on-start --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
|
|
22
|
-
"build:watch": "
|
|
22
|
+
"build:watch": "vite build --watch",
|
|
23
23
|
"defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
|
|
24
24
|
"lint": "eslint . --ext .ts --ext .tsx --max-warnings 0 --ignore-pattern dist",
|
|
25
25
|
"pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
|
|
@@ -37,25 +37,25 @@
|
|
|
37
37
|
"types": "dist/index.d.ts",
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@floating-ui/react": "^0.27.16",
|
|
40
|
-
"@synerise/ds-alert": "^1.1.
|
|
41
|
-
"@synerise/ds-avatar": "^1.3.
|
|
42
|
-
"@synerise/ds-badge": "^1.0.
|
|
43
|
-
"@synerise/ds-button": "^1.5.
|
|
44
|
-
"@synerise/ds-card": "^1.3.
|
|
45
|
-
"@synerise/ds-copy-icon": "^1.2.
|
|
46
|
-
"@synerise/ds-description": "^1.3.
|
|
47
|
-
"@synerise/ds-divider": "^1.3.
|
|
48
|
-
"@synerise/ds-dropdown": "^1.3.
|
|
49
|
-
"@synerise/ds-icon": "^1.15.
|
|
50
|
-
"@synerise/ds-menu": "^1.4.
|
|
51
|
-
"@synerise/ds-popover": "^1.5.
|
|
52
|
-
"@synerise/ds-scrollbar": "^1.2.
|
|
53
|
-
"@synerise/ds-skeleton": "^1.0.
|
|
54
|
-
"@synerise/ds-status": "^1.3.
|
|
55
|
-
"@synerise/ds-subtle-form": "^1.1.
|
|
56
|
-
"@synerise/ds-tooltip": "^1.4.
|
|
57
|
-
"@synerise/ds-typography": "^1.1.
|
|
58
|
-
"@synerise/ds-utils": "^1.7.
|
|
40
|
+
"@synerise/ds-alert": "^1.1.46",
|
|
41
|
+
"@synerise/ds-avatar": "^1.3.6",
|
|
42
|
+
"@synerise/ds-badge": "^1.0.45",
|
|
43
|
+
"@synerise/ds-button": "^1.5.19",
|
|
44
|
+
"@synerise/ds-card": "^1.3.4",
|
|
45
|
+
"@synerise/ds-copy-icon": "^1.2.3",
|
|
46
|
+
"@synerise/ds-description": "^1.3.3",
|
|
47
|
+
"@synerise/ds-divider": "^1.3.3",
|
|
48
|
+
"@synerise/ds-dropdown": "^1.3.3",
|
|
49
|
+
"@synerise/ds-icon": "^1.15.2",
|
|
50
|
+
"@synerise/ds-menu": "^1.4.14",
|
|
51
|
+
"@synerise/ds-popover": "^1.5.3",
|
|
52
|
+
"@synerise/ds-scrollbar": "^1.2.18",
|
|
53
|
+
"@synerise/ds-skeleton": "^1.0.46",
|
|
54
|
+
"@synerise/ds-status": "^1.3.19",
|
|
55
|
+
"@synerise/ds-subtle-form": "^1.1.60",
|
|
56
|
+
"@synerise/ds-tooltip": "^1.4.11",
|
|
57
|
+
"@synerise/ds-typography": "^1.1.14",
|
|
58
|
+
"@synerise/ds-utils": "^1.7.1",
|
|
59
59
|
"uuid": "^8.3.2"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
65
65
|
"styled-components": "^5.3.3"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "c2384982c3533a31eb5e5e0408f8dcecb2b0f399"
|
|
68
68
|
}
|