@agregio-solutions/design-system 1.102.4 → 1.102.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.
@@ -22099,6 +22099,7 @@ var HD = {
22099
22099
  font-style: normal;
22100
22100
  font-weight: 400;
22101
22101
  `, YD = W(ym)`
22102
+ position: relative;
22102
22103
  display: inline-block;
22103
22104
  padding: var(--spacing-xs) var(--spacing-xs) var(--spacing-xs)
22104
22105
  var(--spacing-xxs);
@@ -29839,6 +29840,7 @@ var BL = (e) => {
29839
29840
  transition: all 0.2s linear;
29840
29841
  color: var(--color-content-neutral-primary-reversed);
29841
29842
  `, WL = W(FS)`
29843
+ position: relative;
29842
29844
  display: inline-flex;
29843
29845
  align-items: center;
29844
29846
  column-gap: var(--spacing-xs);
@@ -29850,12 +29852,6 @@ var BL = (e) => {
29850
29852
  cursor: pointer;
29851
29853
  -webkit-tap-highlight-color: transparent;
29852
29854
 
29853
- // Fix wild and weird issue with Chrome that cause the window to be cropped on clic on a switch if the page content size is large and the screen small
29854
- // See: https://agregio2.atlassian.net/browse/CAPSX-999
29855
- > span:first-child {
29856
- top: 0;
29857
- }
29858
-
29859
29855
  &[data-has-label="true"][data-size="medium"] {
29860
29856
  padding: var(--spacing-xs);
29861
29857
  }
@@ -30685,13 +30681,13 @@ function oz({ name: e, blocks: t, lineStartDate: n, lineEndDate: r, isGroupParen
30685
30681
  t,
30686
30682
  n,
30687
30683
  r
30688
- ]), f = p(() => UR(d), [d]), m = p(() => f.map((e) => GR(e.blocks)), [f]), h = FR({
30684
+ ]), f = p(() => UR(d), [d]), m = p(() => f.map((e) => GR(e.blocks)), [f]), h = /* @__PURE__ */ new Date(), _ = h >= n && h <= r, v = FR({
30689
30685
  startDate: n,
30690
- endDate: /* @__PURE__ */ new Date()
30691
- }, n, r), _ = FR({
30692
- startDate: /* @__PURE__ */ new Date(),
30693
- endDate: /* @__PURE__ */ new Date()
30694
- }, n, r), v = m.reduce((e, t) => Math.max(e, t.length), 0);
30686
+ endDate: h
30687
+ }, n, r), y = FR({
30688
+ startDate: h,
30689
+ endDate: h
30690
+ }, n, r), b = m.reduce((e, t) => Math.max(e, t.length), 0);
30695
30691
  return /* @__PURE__ */ C(IR, {
30696
30692
  ...c,
30697
30693
  children: [/* @__PURE__ */ S(iz, {
@@ -30702,13 +30698,14 @@ function oz({ name: e, blocks: t, lineStartDate: n, lineEndDate: r, isGroupParen
30702
30698
  indentLevel: s
30703
30699
  }), /* @__PURE__ */ C(LR, {
30704
30700
  style: { height: $R({
30705
- nbOfLanes: v,
30701
+ nbOfLanes: b,
30706
30702
  isCollapsed: l,
30707
30703
  indentLevel: s
30708
30704
  }) },
30709
30705
  children: [
30710
- /* @__PURE__ */ S(BR, {
30711
- style: { width: `${h.width}%` },
30706
+ _ && /* @__PURE__ */ S(BR, {
30707
+ "data-testid": "timeline-past-overlay",
30708
+ style: { width: `${v.width}%` },
30712
30709
  "data-is-expanded": a || s > 0
30713
30710
  }),
30714
30711
  f.map((e, t) => {
@@ -30754,7 +30751,10 @@ function oz({ name: e, blocks: t, lineStartDate: n, lineEndDate: r, isGroupParen
30754
30751
  onClick: () => u(!l)
30755
30752
  })] }, `${e.start.toISOString()} - ${t}`);
30756
30753
  }),
30757
- /* @__PURE__ */ S(VR, { style: { left: `${_.start}%` } })
30754
+ _ && /* @__PURE__ */ S(VR, {
30755
+ "data-testid": "timeline-now-line",
30756
+ style: { left: `${y.start}%` }
30757
+ })
30758
30758
  ]
30759
30759
  })]
30760
30760
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agregio-solutions/design-system",
3
- "version": "1.102.4",
3
+ "version": "1.102.6",
4
4
  "description": "React Component library and Storybook that is part of the Design System for Agregio Solutions",
5
5
  "type": "module",
6
6
  "module": "dist/design-system.js",
@@ -87,7 +87,6 @@
87
87
  "typescript-eslint": "8.70.0",
88
88
  "vite": "8.3.0",
89
89
  "vite-plugin-dts": "5.1.0",
90
- "vite-tsconfig-paths": "6.1.1",
91
90
  "vitest": "4.1.11"
92
91
  },
93
92
  "dependencies": {