@synerise/ds-information-card 1.6.4 → 1.6.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.
Files changed (39) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/InformationCard.d.ts +6 -6
  3. package/dist/InformationCard.js +82 -135
  4. package/dist/InformationCard.styles.d.ts +25 -25
  5. package/dist/InformationCard.styles.js +68 -69
  6. package/dist/InformationCard.types.d.ts +8 -8
  7. package/dist/InformationCard.types.js +1 -1
  8. package/dist/InformationCard.utils.d.ts +3 -3
  9. package/dist/InformationCard.utils.js +29 -36
  10. package/dist/InformationCardActions/InformationCardActions.d.ts +2 -2
  11. package/dist/InformationCardActions/InformationCardActions.js +22 -26
  12. package/dist/InformationCardActions/InformationCardActions.types.d.ts +2 -2
  13. package/dist/InformationCardActions/InformationCardActions.types.js +1 -1
  14. package/dist/InformationCardDescription/InformationCardDescription.d.ts +2 -2
  15. package/dist/InformationCardDescription/InformationCardDescription.js +23 -29
  16. package/dist/InformationCardFooter/InformationCardFooter.d.ts +2 -2
  17. package/dist/InformationCardFooter/InformationCardFooter.js +29 -42
  18. package/dist/InformationCardFooter/InformationCardFooter.types.d.ts +3 -3
  19. package/dist/InformationCardFooter/InformationCardFooter.types.js +1 -1
  20. package/dist/InformationCardPropertyList/InformationCardPropertyList.d.ts +2 -2
  21. package/dist/InformationCardPropertyList/InformationCardPropertyList.js +32 -30
  22. package/dist/InformationCardPropertyList/InformationCardPropertyList.types.d.ts +1 -1
  23. package/dist/InformationCardPropertyList/InformationCardPropertyList.types.js +1 -1
  24. package/dist/InformationCardSummary/InformationCardSummary.d.ts +2 -2
  25. package/dist/InformationCardSummary/InformationCardSummary.js +29 -30
  26. package/dist/InformationCardSummary/InformationCardSummary.types.d.ts +2 -2
  27. package/dist/InformationCardSummary/InformationCardSummary.types.js +1 -1
  28. package/dist/InformationCardTooltip/InformationCard.constants.d.ts +1 -1
  29. package/dist/InformationCardTooltip/InformationCard.constants.js +13 -6
  30. package/dist/InformationCardTooltip/InformationCardTooltip.d.ts +4 -4
  31. package/dist/InformationCardTooltip/InformationCardTooltip.js +27 -43
  32. package/dist/InformationCardTooltip/InformationCardTooltip.styles.d.ts +1 -1
  33. package/dist/InformationCardTooltip/InformationCardTooltip.styles.js +6 -3
  34. package/dist/InformationCardTooltip/InformationCardTooltip.types.d.ts +5 -5
  35. package/dist/InformationCardTooltip/InformationCardTooltip.types.js +1 -1
  36. package/dist/index.js +12 -7
  37. package/dist/modules.d.js +1 -1
  38. package/dist/modules.d.ts +0 -0
  39. package/package.json +23 -23
@@ -1,5 +1,8 @@
1
- import styled from 'styled-components';
2
- export var InformationCardTooltipWrapper = styled.div.withConfig({
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 type { ForwardRefExoticComponent, ReactNode, RefAttributes } from 'react';
2
- import { type StyledComponent } from 'styled-components';
3
- import { type LegacyPlacement, type PopoverOptions } from '@synerise/ds-popover';
4
- import { type WithHTMLAttributes } from '@synerise/ds-utils';
5
- import type { InformationCardProps } from '../InformationCard.types';
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
- export {};
1
+
package/dist/index.js CHANGED
@@ -1,7 +1,12 @@
1
- export { default } from './InformationCard';
2
- export { InformationCardPropertyList } from './InformationCardPropertyList/InformationCardPropertyList';
3
- export { buildExtraInfo, buildIconBadge, buildInitialsBadge } from './InformationCard.utils';
4
- export { InformationCardTooltip } from './InformationCardTooltip/InformationCardTooltip';
5
- export * from './InformationCardPropertyList/InformationCardPropertyList.types';
6
- export * from './InformationCard.types';
7
- export * from './InformationCardTooltip/InformationCardTooltip.types';
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 '@testing-library/jest-dom';
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.4",
3
+ "version": "1.6.5",
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": "pnpm run build:js && pnpm run build:css && pnpm run defs",
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": "pnpm run build:js -- --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.44",
41
- "@synerise/ds-avatar": "^1.3.4",
42
- "@synerise/ds-badge": "^1.0.43",
43
- "@synerise/ds-button": "^1.5.17",
44
- "@synerise/ds-card": "^1.3.2",
45
- "@synerise/ds-copy-icon": "^1.2.1",
46
- "@synerise/ds-description": "^1.3.1",
47
- "@synerise/ds-divider": "^1.3.1",
48
- "@synerise/ds-dropdown": "^1.3.1",
49
- "@synerise/ds-icon": "^1.15.0",
50
- "@synerise/ds-menu": "^1.4.12",
51
- "@synerise/ds-popover": "^1.5.2",
52
- "@synerise/ds-scrollbar": "^1.2.16",
53
- "@synerise/ds-skeleton": "^1.0.44",
54
- "@synerise/ds-status": "^1.3.17",
55
- "@synerise/ds-subtle-form": "^1.1.58",
56
- "@synerise/ds-tooltip": "^1.4.9",
57
- "@synerise/ds-typography": "^1.1.12",
58
- "@synerise/ds-utils": "^1.7.0",
40
+ "@synerise/ds-alert": "^1.1.45",
41
+ "@synerise/ds-avatar": "^1.3.5",
42
+ "@synerise/ds-badge": "^1.0.44",
43
+ "@synerise/ds-button": "^1.5.18",
44
+ "@synerise/ds-card": "^1.3.3",
45
+ "@synerise/ds-copy-icon": "^1.2.2",
46
+ "@synerise/ds-description": "^1.3.2",
47
+ "@synerise/ds-divider": "^1.3.2",
48
+ "@synerise/ds-dropdown": "^1.3.2",
49
+ "@synerise/ds-icon": "^1.15.1",
50
+ "@synerise/ds-menu": "^1.4.13",
51
+ "@synerise/ds-popover": "^1.5.3",
52
+ "@synerise/ds-scrollbar": "^1.2.17",
53
+ "@synerise/ds-skeleton": "^1.0.45",
54
+ "@synerise/ds-status": "^1.3.18",
55
+ "@synerise/ds-subtle-form": "^1.1.59",
56
+ "@synerise/ds-tooltip": "^1.4.10",
57
+ "@synerise/ds-typography": "^1.1.13",
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": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
67
+ "gitHead": "e4ecca8944fc9b41c1b9d59c8bcad5e5e2013225"
68
68
  }