@synerise/ds-manageable-list 2.0.1 → 2.1.0

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 CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-manageable-list@2.0.2...@synerise/ds-manageable-list@2.1.0) (2026-09-08)
7
+
8
+ ### Features
9
+
10
+ - **core:** drop moment from ds-core and manageable-list ([e0dc6a5](https://github.com/Synerise/synerise-design/commit/e0dc6a501a713ee80616471fe8e0901d8c133058))
11
+
12
+ ## [2.0.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-manageable-list@2.0.1...@synerise/ds-manageable-list@2.0.2) (2026-09-07)
13
+
14
+ **Note:** Version bump only for package @synerise/ds-manageable-list
15
+
6
16
  ## [2.0.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-manageable-list@2.0.0...@synerise/ds-manageable-list@2.0.1) (2026-09-02)
7
17
 
8
18
  **Note:** Version bump only for package @synerise/ds-manageable-list
@@ -34,7 +34,7 @@ const ItemHeaderPrefix = /* @__PURE__ */ styled.div.withConfig({
34
34
  const ItemHeaderSuffix = /* @__PURE__ */ styled.div.withConfig({
35
35
  displayName: "ContentItemstyles__ItemHeaderSuffix",
36
36
  componentId: "sc-13pyu4r-5"
37
- })(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;.ds-dropdown-trigger{cursor:pointer;svg{transition:all 0.3s ease;}&.ant-dropdown-open,&:hover{svg{color:", ";fill:", ";}}}"], (props) => props.theme.palette["blue-600"], (props) => props.theme.palette["blue-600"]);
37
+ })(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;.ds-dropdown-trigger{cursor:pointer;svg{transition:all 0.3s ease;}&:hover{svg{color:", ";fill:", ";}}}"], (props) => props.theme.palette["blue-600"], (props) => props.theme.palette["blue-600"]);
38
38
  const ItemHeader = /* @__PURE__ */ styled.div.withConfig({
39
39
  displayName: "ContentItemstyles__ItemHeader",
40
40
  componentId: "sc-13pyu4r-6"
@@ -15,7 +15,7 @@ const ItemTagList = /* @__PURE__ */ styled.div.withConfig({
15
15
  const ItemLabelWrapper = /* @__PURE__ */ styled.div.withConfig({
16
16
  displayName: "Itemstyles__ItemLabelWrapper",
17
17
  componentId: "sc-1an9szf-2"
18
- })(["flex:1;display:flex;flex-grow:1;min-width:0;.ant-tooltip-inner{max-width:164px;padding:16px 16px 19px;}", ""], (props) => props.largeSize ? css(["flex-direction:column;gap:10px;overflow-y:visible;", "{margin-left:24px;}"], ItemTagList) : css(["flex-direction:row;align-items:center;overflow:hidden;height:24px;justify-content:flex-start;"]));
18
+ })(["flex:1;display:flex;flex-grow:1;min-width:0;", ""], (props) => props.largeSize ? css(["flex-direction:column;gap:10px;overflow-y:visible;", "{margin-left:24px;}"], ItemTagList) : css(["flex-direction:row;align-items:center;overflow:hidden;height:24px;justify-content:flex-start;"]));
19
19
  const ItemContainer = /* @__PURE__ */ styled.div.withConfig({
20
20
  displayName: "Itemstyles__ItemContainer",
21
21
  componentId: "sc-1an9szf-3"
@@ -1,7 +1,11 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import moment from "moment";
2
+ import dayjs from "dayjs";
3
+ import relativeTimePlugin from "dayjs/plugin/relativeTime.js";
4
+ import utcPlugin from "dayjs/plugin/utc.js";
3
5
  import { UserAvatar } from "@synerise/ds-avatar";
4
6
  import { ItemMeta as ItemMeta$1, ItemMetaCreated } from "./ItemMeta.styles.js";
7
+ dayjs.extend(utcPlugin);
8
+ dayjs.extend(relativeTimePlugin);
5
9
  const ItemMeta = ({
6
10
  user,
7
11
  created
@@ -19,7 +23,7 @@ const ItemMeta = ({
19
23
  email
20
24
  };
21
25
  return /* @__PURE__ */ jsxs(ItemMeta$1, { children: [
22
- created && /* @__PURE__ */ jsx(ItemMetaCreated, { children: moment.utc(created).fromNow() }),
26
+ created && /* @__PURE__ */ jsx(ItemMetaCreated, { children: dayjs.utc(created).fromNow() }),
23
27
  user && /* @__PURE__ */ jsx(UserAvatar, { size: "small", user: userData })
24
28
  ] });
25
29
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-manageable-list",
3
- "version": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "description": "ManageableList UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -42,23 +42,23 @@
42
42
  ],
43
43
  "types": "dist/index.d.ts",
44
44
  "dependencies": {
45
- "@synerise/ds-avatar": "^2.0.1",
46
- "@synerise/ds-button": "^2.0.1",
47
- "@synerise/ds-divider": "^2.0.1",
48
- "@synerise/ds-dropdown": "^2.0.1",
45
+ "@synerise/ds-avatar": "^2.0.2",
46
+ "@synerise/ds-button": "^2.0.2",
47
+ "@synerise/ds-divider": "^2.0.2",
48
+ "@synerise/ds-dropdown": "^2.0.3",
49
49
  "@synerise/ds-icon": "^2.1.0",
50
- "@synerise/ds-inline-edit": "^2.0.1",
51
- "@synerise/ds-input": "^2.0.1",
52
- "@synerise/ds-list": "^2.0.1",
53
- "@synerise/ds-modal": "^2.0.1",
54
- "@synerise/ds-popconfirm": "^2.0.1",
55
- "@synerise/ds-result": "^2.0.1",
50
+ "@synerise/ds-inline-edit": "^2.0.3",
51
+ "@synerise/ds-input": "^2.0.3",
52
+ "@synerise/ds-list": "^2.0.2",
53
+ "@synerise/ds-modal": "^2.0.3",
54
+ "@synerise/ds-popconfirm": "^2.0.2",
55
+ "@synerise/ds-result": "^2.0.2",
56
56
  "@synerise/ds-sortable": "^2.0.0",
57
- "@synerise/ds-tag": "^2.0.1",
58
- "@synerise/ds-tooltip": "^2.0.1",
59
- "@synerise/ds-typography": "^2.0.1",
57
+ "@synerise/ds-tag": "^2.0.2",
58
+ "@synerise/ds-tooltip": "^2.0.2",
59
+ "@synerise/ds-typography": "^2.0.2",
60
60
  "@synerise/ds-utils": "^2.0.0",
61
- "moment": "^2.30.1",
61
+ "dayjs": "^1.8.36",
62
62
  "react-animate-height": "^2.0.23"
63
63
  },
64
64
  "peerDependencies": {
@@ -68,5 +68,5 @@
68
68
  "styled-components": "^5.3.3",
69
69
  "vitest": "4"
70
70
  },
71
- "gitHead": "1dc97a2bae9f1d20c3f35e6672d059d502c90d1a"
71
+ "gitHead": "e0dced8fd3a1194eff2fafc1b7e385b29238af88"
72
72
  }