@epam/ai-dial-scheduled-tasks 1.1.0-dev.90 → 1.1.0-dev.91

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ScheduledTaskCard.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCard/ScheduledTaskCard.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAGrF;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAyJxD,CAAC"}
1
+ {"version":3,"file":"ScheduledTaskCard.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCard/ScheduledTaskCard.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAGrF;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA0JxD,CAAC"}
@@ -1,11 +1,7 @@
1
1
  import { FC } from 'react';
2
2
  import { ScheduledTaskCardSkeletonProps } from '../../models/scheduled-task-card-skeleton-props';
3
3
  /**
4
- * Placeholder shown in place of a {@link ScheduledTaskCard} while a subsequent
5
- * page is loading. `DialSkeleton`'s default `bg-layer-3` color token resolves
6
- * to a near-white fallback (`#fcfcfc`) in apps that don't override it, which
7
- * is invisible against the white `CardShell` background — `colors.skeletonColor`
8
- * (default `var(--bg-layer-4)`) exists so callers always get a visible result.
4
+ * A skeleton component that represents a scheduled task card while the actual data is being loaded.
9
5
  */
10
6
  export declare const ScheduledTaskCardSkeleton: FC<ScheduledTaskCardSkeletonProps>;
11
7
  //# sourceMappingURL=ScheduledTaskCardSkeleton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScheduledTaskCardSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCardSkeleton/ScheduledTaskCardSkeleton.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AAItG;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,EAAE,EAAE,CAAC,8BAA8B,CAoCxE,CAAC"}
1
+ {"version":3,"file":"ScheduledTaskCardSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCardSkeleton/ScheduledTaskCardSkeleton.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AAItG;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,EAAE,CAAC,8BAA8B,CAoCxE,CAAC"}
package/index.css CHANGED
@@ -1,2 +1,2 @@
1
- ._title_10760_1{color:var(--stc-title-text,var(--text-primary,#161b2d))}._description_10760_5{color:var(--stc-desc-text,var(--text-control-disable,#6b7280))}._schedulePill_10760_9{background:var(--stc-pill-bg,var(--bg-layer-2,#eef1f7));border-color:var(--stc-pill-border,var(--stroke-tertiary,#e0e6f0))}._scheduleLabel_10760_14{color:var(--stc-schedule-label-text,var(--text-control-disable,#6b7280))}._locationLabel_10760_18{color:var(--stc-location-label-text,var(--text-secondary,#6b7280))}._locationLeaf_10760_22{color:var(--stc-location-leaf-text,var(--text-secondary,#6b7280))}._newBadge_10760_26{background:var(--stc-new-badge-bg,var(--bg-control-accent,#124ace));color:var(--stc-new-badge-text,var(--controls-text-permanent,#fcfcfc))}._countBadge_ilfph_1{background:var(--sts-badge-bg,var(--bg-layer-3,#fcfcfc));color:var(--sts-badge-text,var(--text-secondary,#6b7280))}._container_11gjj_1{background:var(--st-bg,var(--bg-layer-5,#f5f7fa))}._subtitle_11gjj_5{color:var(--st-subtitle-text,var(--text-secondary,#6b7280))}._sortButton_11gjj_9{color:var(--st-sort-text,var(--text-accent-primary,#124ace))}._container_pvqly_1{background:var(--stcf-bg,var(--bg-layer-5,#f5f7fa))}._header_pvqly_5{border-bottom-color:var(--stcf-header-border,var(--stroke-tertiary,#e0e6f0))}._detailsColumn_pvqly_9{border-inline-end-color:var(--stcf-details-border,var(--stroke-tertiary,#e0e6f0))}._sectionSubtitle_pvqly_13{color:var(--stcf-subtitle-text,var(--text-secondary,#6b7280))}._instructionsError_pvqly_17{color:var(--stcf-error-text,var(--text-error,#ae2f2f))}
1
+ ._title_14goq_1{color:var(--stc-title-text,var(--text-primary,#161b2d))}._description_14goq_5{color:var(--stc-desc-text,var(--text-control-disable,#6b7280))}._schedulePill_14goq_9{background:var(--stc-pill-bg,var(--bg-layer-sunken,#eef1f7));border-color:var(--stc-pill-border,var(--stroke-tertiary,#e0e6f0))}._scheduleLabel_14goq_14{color:var(--stc-schedule-label-text,var(--text-control-disable,#6b7280))}._locationLabel_14goq_18{color:var(--stc-location-label-text,var(--text-secondary,#6b7280))}._locationLeaf_14goq_22{color:var(--stc-location-leaf-text,var(--text-secondary,#6b7280))}._newBadge_14goq_26{background:var(--stc-new-badge-bg,var(--bg-control-accent,#124ace));color:var(--stc-new-badge-text,var(--text-control-permanent,#fcfcfc))}._locationDivider_14goq_31{border-top:1px solid var(--stc-location-divider-border,var(--stroke-tertiary,#e0e6f0))}._countBadge_5ysac_1{background:var(--sts-badge-bg,var(--bg-layer-raised,#fcfcfc));color:var(--sts-badge-text,var(--text-secondary,#6b7280))}._container_uxitw_1{background:var(--st-bg,var(--bg-layer-base,#f5f7fa))}._subtitle_uxitw_5{color:var(--st-subtitle-text,var(--text-secondary,#6b7280))}._sortButton_uxitw_9{color:var(--st-sort-text,var(--text-accent,#124ace))}._container_1wply_1{background:var(--stcf-bg,var(--bg-layer-base,#f5f7fa))}._header_1wply_5{border-bottom-color:var(--stcf-header-border,var(--stroke-tertiary,#e0e6f0))}._detailsColumn_1wply_9{border-inline-end-color:var(--stcf-details-border,var(--stroke-tertiary,#e0e6f0))}._sectionSubtitle_1wply_13{color:var(--stcf-subtitle-text,var(--text-secondary,#6b7280))}._instructionsError_1wply_17{color:var(--stcf-error-text,var(--text-error,#ae2f2f))}
2
2
  /*$vite$:1*/
package/index.js CHANGED
@@ -8,13 +8,14 @@ import { Fragment as F, jsx as I, jsxs as L } from "react/jsx-runtime";
8
8
  var R = /* @__PURE__ */ function(e) {
9
9
  return e.Shared = "shared", e.MyTasks = "myTasks", e;
10
10
  }({}), z = {
11
- title: "_title_10760_1",
12
- description: "_description_10760_5",
13
- schedulePill: "_schedulePill_10760_9",
14
- scheduleLabel: "_scheduleLabel_10760_14",
15
- locationLabel: "_locationLabel_10760_18",
16
- locationLeaf: "_locationLeaf_10760_22",
17
- newBadge: "_newBadge_10760_26"
11
+ title: "_title_14goq_1",
12
+ description: "_description_14goq_5",
13
+ schedulePill: "_schedulePill_14goq_9",
14
+ scheduleLabel: "_scheduleLabel_14goq_14",
15
+ locationLabel: "_locationLabel_14goq_18",
16
+ locationLeaf: "_locationLeaf_14goq_22",
17
+ newBadge: "_newBadge_14goq_26",
18
+ locationDivider: "_locationDivider_14goq_31"
18
19
  }, B = ({ item: e, searchQuery: r = "", onEdit: i, onRunNow: a, onDelete: o, labels: s, styles: d, className: f }) => {
19
20
  let p = s?.newBadgeLabel ?? "NEW", m = s?.actionsLabel ?? "More actions", g = s?.editActionLabel ?? "Edit", _ = s?.runNowActionLabel ?? "Run now", b = s?.deleteActionLabel ?? "Delete", { colors: x, typography: S } = d ?? {}, C = S?.titleClassName ?? "dial-body-semi-text", w = S?.descriptionClassName ?? "dial-small-text", T = S?.scheduleLabelClassName ?? "dial-tiny-text", E = S?.locationLabelClassName ?? "dial-tiny-text", D = S?.locationLeafClassName ?? "dial-tiny-semi-text", j = S?.newBadgeClassName ?? "dial-tiny-semi-text", N = t({
20
21
  "--stc-title-text": x?.titleText,
@@ -25,7 +26,8 @@ var R = /* @__PURE__ */ function(e) {
25
26
  "--stc-location-label-text": x?.locationLabelText,
26
27
  "--stc-location-leaf-text": x?.locationLeafText,
27
28
  "--stc-new-badge-bg": x?.newBadgeBackground,
28
- "--stc-new-badge-text": x?.newBadgeText
29
+ "--stc-new-badge-text": x?.newBadgeText,
30
+ "--stc-location-divider-border": x?.locationDividerBorder
29
31
  }), P = [];
30
32
  return i && P.push({
31
33
  key: "edit",
@@ -101,7 +103,7 @@ var R = /* @__PURE__ */ function(e) {
101
103
  segments: e.locationSegments,
102
104
  labelClassName: n(E, z.locationLabel),
103
105
  leafClassName: n(D, z.locationLeaf),
104
- className: "border-t border-tertiary pt-3"
106
+ className: n("pt-3", z.locationDivider)
105
107
  })]
106
108
  })
107
109
  ]
@@ -152,7 +154,7 @@ var R = /* @__PURE__ */ function(e) {
152
154
  labels: a,
153
155
  styles: o
154
156
  }, e.id)), Array.from({ length: s }, (e, t) => /* @__PURE__ */ I(H, { styles: c }, `skeleton-${t}`))]
155
- }), W = { countBadge: "_countBadge_ilfph_1" }, G = ({ title: e, count: r, children: i, styles: a }) => {
157
+ }), W = { countBadge: "_countBadge_5ysac_1" }, G = ({ title: e, count: r, children: i, styles: a }) => {
156
158
  let o = a?.typography?.titleClassName ?? "dial-small-semi-text", s = a?.typography?.countBadgeClassName ?? "dial-tiny-text", c = t({
157
159
  "--sts-badge-bg": a?.colors?.countBadgeBackground,
158
160
  "--sts-badge-text": a?.colors?.countBadgeText
@@ -173,9 +175,9 @@ var R = /* @__PURE__ */ function(e) {
173
175
  }), i]
174
176
  });
175
177
  }, K = {
176
- container: "_container_11gjj_1",
177
- subtitle: "_subtitle_11gjj_5",
178
- sortButton: "_sortButton_11gjj_9"
178
+ container: "_container_uxitw_1",
179
+ subtitle: "_subtitle_uxitw_5",
180
+ sortButton: "_sortButton_uxitw_9"
179
181
  }, re = [R.Shared, R.MyTasks], ie = (e, t, n, r, i, a) => {
180
182
  if (!e) return t ? a.loadingMoreLabel : n ? a.errorLabel : r > 0 ? `${r}` : i ? a.noResultsLabel : a.emptyStateLabel;
181
183
  }, q = (e) => {
@@ -362,11 +364,11 @@ var R = /* @__PURE__ */ function(e) {
362
364
  let t = typeof e == "string" ? Number(e) : NaN;
363
365
  return Number.isFinite(t) ? String(t - 1) : "";
364
366
  }, Q = {
365
- container: "_container_pvqly_1",
366
- header: "_header_pvqly_5",
367
- detailsColumn: "_detailsColumn_pvqly_9",
368
- sectionSubtitle: "_sectionSubtitle_pvqly_13",
369
- instructionsError: "_instructionsError_pvqly_17"
367
+ container: "_container_1wply_1",
368
+ header: "_header_1wply_5",
369
+ detailsColumn: "_detailsColumn_1wply_9",
370
+ sectionSubtitle: "_sectionSubtitle_1wply_13",
371
+ instructionsError: "_instructionsError_1wply_17"
370
372
  }, $ = (e) => `${e} *`, de = P(async () => ({ default: (await b()).DialMarkdownEditor })), fe = ({ labels: e, values: i, errors: c, modelOptions: u, onFieldChange: f, onBack: p, onCancel: h, onSubmit: g, isSubmitting: v = !1, markdownEditorTheme: y, styles: b }) => {
371
373
  let { colors: w, typography: T } = b ?? {}, E = T?.titleClassName ?? "dial-h1-text", D = T?.sectionTitleClassName ?? "dial-body-semi-text", O = T?.sectionSubtitleClassName ?? "dial-tiny-text", k = T?.scheduleSectionLabelClassName ?? "dial-body-semi-text mb-1", A = T?.instructionsErrorClassName ?? "dial-small-text", j = t({
372
374
  "--stcf-bg": w?.background,
@@ -35,6 +35,8 @@ export interface ScheduledTaskCardColors {
35
35
  newBadgeBackground?: string;
36
36
  /** "New" badge text color. Fallback: `--controls-text-permanent`. */
37
37
  newBadgeText?: string;
38
+ /** Divider border color above the location breadcrumb. Fallback: `--stroke-tertiary`. */
39
+ locationDividerBorder?: string;
38
40
  }
39
41
  /** Typography overrides for the {@link ScheduledTaskCard} component. */
40
42
  export interface ScheduledTaskCardTypography {
@@ -1 +1 @@
1
- {"version":3,"file":"scheduled-task-card-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-card-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,mGAAmG;AACnG,MAAM,WAAW,uBAAuB;IACtC,oFAAoF;IACpF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2FAA2F;IAC3F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oGAAoG;IACpG,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,4GAA4G;IAC5G,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,0GAA0G;IAC1G,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iFAAiF;IACjF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,0DAA0D;IAC1D,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,iEAAiE;IACjE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,0EAA0E;IAC1E,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qFAAqF;IACrF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wFAAwF;IACxF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wEAAwE;IACxE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,qEAAqE;IACrE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wEAAwE;AACxE,MAAM,WAAW,2BAA2B;IAC1C,kFAAkF;IAClF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iGAAiG;IACjG,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,2FAA2F;IAC3F,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,kGAAkG;IAClG,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,6GAA6G;IAC7G,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,sFAAsF;IACtF,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,mEAAmE;AACnE,MAAM,WAAW,uBAAuB;IACtC,wDAAwD;IACxD,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,kCAAkC;IAClC,UAAU,CAAC,EAAE,2BAA2B,CAAC;CAC1C;AAED,yDAAyD;AACzD,MAAM,WAAW,sBAAsB;IACrC,oCAAoC;IACpC,IAAI,EAAE,iBAAiB,CAAC;IACxB,0FAA0F;IAC1F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uFAAuF;IACvF,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,yFAAyF;IACzF,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,wBAAwB;IACxB,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,uBAAuB;IACvB,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"scheduled-task-card-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-card-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,mGAAmG;AACnG,MAAM,WAAW,uBAAuB;IACtC,oFAAoF;IACpF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2FAA2F;IAC3F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oGAAoG;IACpG,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,4GAA4G;IAC5G,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,0GAA0G;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xB,0FAA0F;IAC1F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uFAAuF;IACvF,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,yFAAyF;IACzF,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,wBAAwB;IACxB,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,uBAAuB;IACvB,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-scheduled-tasks",
3
3
  "description": "Presentational Scheduled Tasks page shell — header, toolbar, and empty state",
4
- "version": "1.1.0-dev.90",
4
+ "version": "1.1.0-dev.91",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -17,8 +17,8 @@
17
17
  }
18
18
  },
19
19
  "peerDependencies": {
20
- "@epam/ai-dial-chat-shared": "1.1.0-dev.90",
21
- "@epam/ai-dial-kit": "1.1.0-dev.90",
20
+ "@epam/ai-dial-chat-shared": "1.1.0-dev.91",
21
+ "@epam/ai-dial-kit": "1.1.0-dev.91",
22
22
  "@epam/ai-dial-ui-kit": "^0.13.0-dev.26",
23
23
  "@tabler/icons-react": "^3.44.0",
24
24
  "react": "^19.0.0"