@parto-system-design/ui 1.1.19 → 1.1.21

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 (29) hide show
  1. package/dist/components/ui/alert-rule-card.d.cts +1 -1
  2. package/dist/components/ui/alert-rule-card.d.ts +1 -1
  3. package/dist/components/ui/badge.d.cts +1 -1
  4. package/dist/components/ui/badge.d.ts +1 -1
  5. package/dist/components/ui/button.d.cts +2 -2
  6. package/dist/components/ui/button.d.ts +2 -2
  7. package/dist/components/ui/concept-card.cjs +40 -12
  8. package/dist/components/ui/concept-card.d.cts +2 -2
  9. package/dist/components/ui/concept-card.d.ts +2 -2
  10. package/dist/components/ui/concept-card.js +40 -12
  11. package/dist/components/ui/page-card.d.cts +2 -2
  12. package/dist/components/ui/page-card.d.ts +2 -2
  13. package/dist/components/ui/switch.d.cts +1 -1
  14. package/dist/components/ui/switch.d.ts +1 -1
  15. package/dist/{concept-card-D7PfDkNR.d.ts → concept-card-DX5zRCk2.d.ts} +15 -4
  16. package/dist/{concept-card-BU8JL-gj.d.cts → concept-card-dZeBeup5.d.cts} +15 -4
  17. package/dist/{i18n-DD3DMY8O.d.cts → i18n-B4rvgH-T.d.cts} +1 -1
  18. package/dist/{i18n-UEClNsBy.d.ts → i18n-CZQ2kPWD.d.ts} +1 -1
  19. package/dist/index.cjs +49 -23
  20. package/dist/index.d.cts +20 -9
  21. package/dist/index.d.ts +20 -9
  22. package/dist/index.js +49 -23
  23. package/dist/{page-card-sIE4lvnb.d.ts → page-card-CU6_AmNR.d.ts} +1 -1
  24. package/dist/{page-card-DjztZrFM.d.cts → page-card-DWBUZYwM.d.cts} +1 -1
  25. package/dist/{server-FTUA8opZ.d.cts → server-BxuDPPiW.d.cts} +1 -1
  26. package/dist/{server-m6tiB6DB.d.ts → server-Cfw5kIug.d.ts} +1 -1
  27. package/dist/server.d.cts +2 -2
  28. package/dist/server.d.ts +2 -2
  29. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7327,12 +7327,24 @@ var StatusBadge = React127.forwardRef(
7327
7327
  }
7328
7328
  );
7329
7329
  StatusBadge.displayName = "StatusBadge";
7330
- function calcPercents(data) {
7331
- const total = FLOW_KEYS.reduce((s, k) => s + (data[k] ?? 0), 0);
7330
+ function normalizeFlowData(data) {
7331
+ const counts = Object.fromEntries(FLOW_KEYS.map((k) => [k, 0]));
7332
+ if (Array.isArray(data)) {
7333
+ for (const item of data) {
7334
+ const key = resolveFlow(item.type);
7335
+ if (key) counts[key] += item.value ?? 0;
7336
+ }
7337
+ } else {
7338
+ for (const k of FLOW_KEYS) counts[k] = data[k] ?? 0;
7339
+ }
7340
+ return counts;
7341
+ }
7342
+ function calcPercents(counts) {
7343
+ const total = FLOW_KEYS.reduce((s, k) => s + counts[k], 0);
7332
7344
  const result = Object.fromEntries(FLOW_KEYS.map((k) => [k, 0]));
7333
7345
  if (total === 0) return result;
7334
- const floats = FLOW_KEYS.filter((k) => (data[k] ?? 0) > 0).map((k) => {
7335
- const v = (data[k] ?? 0) / total * 100;
7346
+ const floats = FLOW_KEYS.filter((k) => counts[k] > 0).map((k) => {
7347
+ const v = counts[k] / total * 100;
7336
7348
  return { k, floor: Math.floor(v), rem: v - Math.floor(v) };
7337
7349
  });
7338
7350
  const remaining = 100 - floats.reduce((s, f) => s + f.floor, 0);
@@ -7363,7 +7375,8 @@ var FlowDistribution = React127.forwardRef(
7363
7375
  ...props
7364
7376
  }, ref) => {
7365
7377
  const labels = flowLabels[locale] ?? flowLabels.fa;
7366
- const percents = calcPercents(data);
7378
+ const counts = normalizeFlowData(data);
7379
+ const percents = calcPercents(counts);
7367
7380
  const percentSign = locale === "en" ? "%" : "\u066A";
7368
7381
  if (isLoading) {
7369
7382
  return /* @__PURE__ */ jsx("div", { ref, "data-slot": "flow-distribution", className: cn("space-y-2", className), ...props, children: variant === "stacked" ? /* @__PURE__ */ jsx("div", { className: "h-3 w-full rounded-full bg-muted animate-pulse" }) : variant === "compact" ? /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-2", children: [0, 1, 2].map((i) => /* @__PURE__ */ jsx("div", { className: "h-5 w-20 rounded-full bg-muted animate-pulse" }, i)) }) : /* @__PURE__ */ jsx("div", { className: "space-y-2", children: [0, 1, 2, 3].map((i) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
@@ -7373,7 +7386,7 @@ var FlowDistribution = React127.forwardRef(
7373
7386
  ] }, i)) }) });
7374
7387
  }
7375
7388
  if (variant === "stacked") {
7376
- const active = STACKED_ORDER.filter((k) => (data[k] ?? 0) > 0);
7389
+ const active = STACKED_ORDER.filter((k) => counts[k] > 0);
7377
7390
  const srLabel = active.map((k) => `${labels[k]} ${convertToLocalNumbers(percents[k], locale)}${percentSign}`).join("\u060C ");
7378
7391
  return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "flow-distribution", className: cn("space-y-2", className), ...props, children: [
7379
7392
  /* @__PURE__ */ jsx("div", { className: "flex h-3 w-full overflow-hidden rounded-full bg-muted", role: "img", "aria-label": srLabel, children: active.map((k) => /* @__PURE__ */ jsx(
@@ -7399,14 +7412,14 @@ var FlowDistribution = React127.forwardRef(
7399
7412
  ] }),
7400
7413
  showCounts && /* @__PURE__ */ jsxs("span", { className: "text-xs text-foreground-muted tabular-nums", children: [
7401
7414
  "(",
7402
- convertToLocalNumbers(data[k] ?? 0, locale),
7415
+ convertToLocalNumbers(counts[k], locale),
7403
7416
  ")"
7404
7417
  ] })
7405
7418
  ] }, k)) })
7406
7419
  ] });
7407
7420
  }
7408
7421
  if (variant === "compact") {
7409
- const active = FLOW_KEYS.filter((k) => (data[k] ?? 0) > 0).sort((a, b) => (data[b] ?? 0) - (data[a] ?? 0));
7422
+ const active = FLOW_KEYS.filter((k) => counts[k] > 0).sort((a, b) => counts[b] - counts[a]);
7410
7423
  return /* @__PURE__ */ jsx(
7411
7424
  "div",
7412
7425
  {
@@ -7430,7 +7443,7 @@ var FlowDistribution = React127.forwardRef(
7430
7443
  ] }),
7431
7444
  showCounts && /* @__PURE__ */ jsxs("span", { className: "text-xs text-foreground-muted tabular-nums", children: [
7432
7445
  "(",
7433
- convertToLocalNumbers(data[k] ?? 0, locale),
7446
+ convertToLocalNumbers(counts[k], locale),
7434
7447
  ")"
7435
7448
  ] })
7436
7449
  ]
@@ -7440,7 +7453,7 @@ var FlowDistribution = React127.forwardRef(
7440
7453
  }
7441
7454
  );
7442
7455
  }
7443
- const sorted = FLOW_KEYS.filter((k) => (data[k] ?? 0) > 0).sort((a, b) => (data[b] ?? 0) - (data[a] ?? 0));
7456
+ const sorted = FLOW_KEYS.filter((k) => counts[k] > 0).sort((a, b) => counts[b] - counts[a]);
7444
7457
  return /* @__PURE__ */ jsx("div", { ref, "data-slot": "flow-distribution", className: cn("space-y-1.5", className), ...props, children: sorted.map((k) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
7445
7458
  /* @__PURE__ */ jsx("span", { className: "w-24 shrink-0 text-xs text-foreground-light text-end", children: labels[k] }),
7446
7459
  /* @__PURE__ */ jsx("div", { className: "relative flex-1 h-2 rounded-full bg-muted overflow-hidden", children: /* @__PURE__ */ jsx(
@@ -7463,7 +7476,7 @@ var FlowDistribution = React127.forwardRef(
7463
7476
  {
7464
7477
  className: "w-12 shrink-0 text-xs font-medium tabular-nums text-start",
7465
7478
  style: { color: `var(${tokenVar3(k)})` },
7466
- children: showCounts ? convertToLocalNumbers((data[k] ?? 0).toLocaleString(), locale) : `${convertToLocalNumbers(percents[k], locale)}${percentSign}`
7479
+ children: showCounts ? convertToLocalNumbers(counts[k].toLocaleString(), locale) : `${convertToLocalNumbers(percents[k], locale)}${percentSign}`
7467
7480
  }
7468
7481
  )
7469
7482
  ] }, k)) });
@@ -21854,12 +21867,24 @@ var JobWizardSuccess = React127.forwardRef(
21854
21867
  }
21855
21868
  );
21856
21869
  JobWizardSuccess.displayName = "JobWizardSuccess";
21857
- function calcPercents4(data, keys) {
21858
- const total = keys.reduce((sum, k) => sum + (data[k] ?? 0), 0);
21870
+ function normalizeEmotionData(data) {
21871
+ const counts = Object.fromEntries(EMOTION_KEYS.map((k) => [k, 0]));
21872
+ if (Array.isArray(data)) {
21873
+ for (const item of data) {
21874
+ const key = resolveEmotion(item.type);
21875
+ if (key) counts[key] += item.value ?? 0;
21876
+ }
21877
+ } else {
21878
+ for (const k of EMOTION_KEYS) counts[k] = data[k] ?? 0;
21879
+ }
21880
+ return counts;
21881
+ }
21882
+ function calcPercents4(counts) {
21883
+ const total = EMOTION_KEYS.reduce((sum, k) => sum + counts[k], 0);
21859
21884
  const result = Object.fromEntries(EMOTION_KEYS.map((k) => [k, 0]));
21860
21885
  if (total === 0) return result;
21861
- const floats = keys.filter((k) => (data[k] ?? 0) > 0).map((k) => {
21862
- const v = (data[k] ?? 0) / total * 100;
21886
+ const floats = EMOTION_KEYS.filter((k) => counts[k] > 0).map((k) => {
21887
+ const v = counts[k] / total * 100;
21863
21888
  return { k, floor: Math.floor(v), rem: v - Math.floor(v) };
21864
21889
  });
21865
21890
  const remaining = 100 - floats.reduce((s, f) => s + f.floor, 0);
@@ -21879,8 +21904,8 @@ var STACKED_ORDER2 = [
21879
21904
  "disgust",
21880
21905
  "anger"
21881
21906
  ];
21882
- function applyTopN(data, percents, topN) {
21883
- const active = EMOTION_KEYS.filter((k) => (data[k] ?? 0) > 0).map((k) => ({ key: k, count: data[k] ?? 0, percent: percents[k] })).sort((a, b) => b.count - a.count);
21907
+ function applyTopN(counts, percents, topN) {
21908
+ const active = EMOTION_KEYS.filter((k) => counts[k] > 0).map((k) => ({ key: k, count: counts[k], percent: percents[k] })).sort((a, b) => b.count - a.count);
21884
21909
  if (!topN || active.length <= topN) return active;
21885
21910
  const head = active.slice(0, topN);
21886
21911
  const tail = active.slice(topN);
@@ -21911,7 +21936,8 @@ var EmotionDistribution2 = React127.forwardRef(
21911
21936
  isLoading = false,
21912
21937
  ...props
21913
21938
  }, ref) => {
21914
- const percents = calcPercents4(data, EMOTION_KEYS);
21939
+ const counts = normalizeEmotionData(data);
21940
+ const percents = calcPercents4(counts);
21915
21941
  const labels = emotionLabels[locale] ?? emotionLabels.fa;
21916
21942
  const percentSign = locale === "en" ? "%" : "\u066A";
21917
21943
  if (isLoading) {
@@ -21922,7 +21948,7 @@ var EmotionDistribution2 = React127.forwardRef(
21922
21948
  ] }, i)) }) });
21923
21949
  }
21924
21950
  if (variant === "stacked") {
21925
- const active = STACKED_ORDER2.filter((k) => (data[k] ?? 0) > 0);
21951
+ const active = STACKED_ORDER2.filter((k) => counts[k] > 0);
21926
21952
  const srLabel = active.map((k) => `${labels[k]} ${convertToLocalNumbers(percents[k], locale)}${percentSign}`).join("\u060C ");
21927
21953
  return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "emotion-distribution", className: cn("space-y-2", className), ...props, children: [
21928
21954
  /* @__PURE__ */ jsx("div", { className: "flex h-3 w-full overflow-hidden rounded-full bg-muted", role: "img", "aria-label": srLabel, children: active.map((k) => /* @__PURE__ */ jsx(
@@ -21948,13 +21974,13 @@ var EmotionDistribution2 = React127.forwardRef(
21948
21974
  ] }),
21949
21975
  showCounts && /* @__PURE__ */ jsxs("span", { className: "text-xs text-foreground-muted tabular-nums", children: [
21950
21976
  "(",
21951
- convertToLocalNumbers(data[k] ?? 0, locale),
21977
+ convertToLocalNumbers(counts[k], locale),
21952
21978
  ")"
21953
21979
  ] })
21954
21980
  ] }, k)) })
21955
21981
  ] });
21956
21982
  }
21957
- const rollup = applyTopN(data, percents, variant === "compact" ? topN : void 0);
21983
+ const rollup = applyTopN(counts, percents, variant === "compact" ? topN : void 0);
21958
21984
  if (variant === "compact") {
21959
21985
  return /* @__PURE__ */ jsx(
21960
21986
  "div",
@@ -21994,7 +22020,7 @@ var EmotionDistribution2 = React127.forwardRef(
21994
22020
  }
21995
22021
  );
21996
22022
  }
21997
- const sorted = EMOTION_KEYS.filter((k) => (data[k] ?? 0) > 0).sort((a, b) => (data[b] ?? 0) - (data[a] ?? 0));
22023
+ const sorted = EMOTION_KEYS.filter((k) => counts[k] > 0).sort((a, b) => counts[b] - counts[a]);
21998
22024
  return /* @__PURE__ */ jsx("div", { ref, "data-slot": "emotion-distribution", className: cn("space-y-1.5", className), ...props, children: sorted.map((k) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
21999
22025
  /* @__PURE__ */ jsx("span", { className: "w-16 shrink-0 text-xs text-foreground-light text-end", children: labels[k] }),
22000
22026
  /* @__PURE__ */ jsx("div", { className: "relative flex-1 h-2 rounded-full bg-muted overflow-hidden", children: /* @__PURE__ */ jsx(
@@ -22017,7 +22043,7 @@ var EmotionDistribution2 = React127.forwardRef(
22017
22043
  {
22018
22044
  className: "w-12 shrink-0 text-xs font-medium tabular-nums text-start",
22019
22045
  style: { color: `var(${tokenVar4(k)})` },
22020
- children: showCounts ? convertToLocalNumbers((data[k] ?? 0).toLocaleString(), locale) : `${convertToLocalNumbers(percents[k], locale)}${percentSign}`
22046
+ children: showCounts ? convertToLocalNumbers(counts[k].toLocaleString(), locale) : `${convertToLocalNumbers(percents[k], locale)}${percentSign}`
22021
22047
  }
22022
22048
  )
22023
22049
  ] }, k)) });
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { S as SupportedLocale } from './utils-Czyp5Ned.js';
3
3
  import { SocialPlatform } from './components/ui/social-platform-badge.js';
4
- import { a as StatusKey } from './i18n-UEClNsBy.js';
4
+ import { a as StatusKey } from './i18n-CZQ2kPWD.js';
5
5
 
6
6
  type BotDetectionKey = 'real' | 'suspicious' | 'bot';
7
7
  interface BotDetectionData {
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { S as SupportedLocale } from './utils-Czyp5Ned.cjs';
3
3
  import { SocialPlatform } from './components/ui/social-platform-badge.cjs';
4
- import { a as StatusKey } from './i18n-DD3DMY8O.cjs';
4
+ import { a as StatusKey } from './i18n-B4rvgH-T.cjs';
5
5
 
6
6
  type BotDetectionKey = 'real' | 'suspicious' | 'bot';
7
7
  interface BotDetectionData {
@@ -1,5 +1,5 @@
1
1
  import { S as SupportedLocale } from './utils-Czyp5Ned.cjs';
2
- import './i18n-DD3DMY8O.cjs';
2
+ import './i18n-B4rvgH-T.cjs';
3
3
  import { LucideIcon } from 'lucide-react';
4
4
  import { SocialPlatform } from './components/ui/social-platform-badge.cjs';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { S as SupportedLocale } from './utils-Czyp5Ned.js';
2
- import './i18n-UEClNsBy.js';
2
+ import './i18n-CZQ2kPWD.js';
3
3
  import { LucideIcon } from 'lucide-react';
4
4
  import { SocialPlatform } from './components/ui/social-platform-badge.js';
5
5
 
package/dist/server.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { S as SupportedLocale, c as cn, a as convertToLocalNumbers, f as formatAbsoluteTime, b as formatLargeNumber, d as formatNumber, e as formatRelativeTime } from './utils-Czyp5Ned.cjs';
2
- export { t as COUNTRIES, C as Country, u as CountryCode, E as ENGAGEMENT_RANGES, v as EngagementRange, w as EngagementRangeWithDisplay, x as EngagementTier, F as FollowerGroup, G as GROUP_LABELS, y as IRAN_PROVINCES, z as IranProvince, I as IranProvinceSlug, L as LegacySize, A as PERSIAN_MONTHS, B as PERSIAN_MONTHS_SHORT, D as PERSIAN_WEEKDAYS, H as PERSIAN_WEEKDAYS_SHORT, $ as SizeWithLegacy, a0 as StandardSize, a1 as TIER_LABELS, a2 as countryFlag, a3 as findCountry, a4 as findProvince, a5 as formatJalaliDate, a6 as formatPersianDateRange, a7 as getCountryLabel, a8 as getCurrentRangeIndex, a9 as getEngagementRanges, aa as getFollowerGroup, ab as getMetricLabel, ac as getPersianDay, ad as getPersianMonth, ae as getPersianMonthName, af as getPersianMonthNameShort, ag as getPersianMonthsForDropdown, ah as getPersianWeekdayName, ai as getPersianYear, aj as getPersianYearsForDropdown, ak as getPostSourceConfig, al as getProvinceLabel, am as getSourceColorVar, an as jalaliToGregorian, ao as normalizeSize, aq as toEnglishDigits, ar as toPersianDigits } from './server-FTUA8opZ.cjs';
3
- export { i as ACTION_STATUS_KEYS, j as ACTION_TYPE_KEYS, A as ActionStatusKey, b as ActionTypeKey, k as EMOTION_KEYS, l as EMOTION_KEY_TO_VALUE, m as EMOTION_VALUE_MAP, n as ENTITY_HEALTH_KEYS, e as EmotionInput, c as EmotionKey, E as EntityHealthKey, o as FLOW_KEYS, p as FLOW_KEY_TO_VALUE, q as FLOW_VALUE_MAP, f as FlowInput, F as FlowKey, r as JOB_STATUS_KEYS, J as JobStatusKey, L as Locale, s as SEVERITY_KEYS, t as SEVERITY_KEY_TO_VALUE, u as SEVERITY_VALUE_MAP, v as STAGE_STATUS_KEYS, w as STATUS_KEYS, x as STATUS_KEY_TO_VALUE, y as STATUS_VALUE_MAP, h as SeverityInput, S as SeverityKey, d as StageStatusKey, g as StatusInput, a as StatusKey, U as UIStringKeys, z as UIStrings, B as UI_STRINGS, C as actionStatusLabels, D as actionTypeLabels, G as actionTypeVerbs, H as emotionLabels, I as engagementUiTranslations, K as entityHealthLabels, M as entityHealthPriority, N as flowLabels, O as formatRelativeLocaleTime, P as formatTimeRemaining, Q as getUIStrings, R as isActiveJobStatus, T as isCriticalEntityHealth, V as isRTL, W as jobStatusLabels, X as resolveEmotion, Y as resolveFlow, Z as resolveSeverity, _ as resolveStatus, $ as sentimentLabels, a0 as severityLabels, a1 as stageStatusLabels, a2 as statusLabels } from './i18n-DD3DMY8O.cjs';
2
+ export { t as COUNTRIES, C as Country, u as CountryCode, E as ENGAGEMENT_RANGES, v as EngagementRange, w as EngagementRangeWithDisplay, x as EngagementTier, F as FollowerGroup, G as GROUP_LABELS, y as IRAN_PROVINCES, z as IranProvince, I as IranProvinceSlug, L as LegacySize, A as PERSIAN_MONTHS, B as PERSIAN_MONTHS_SHORT, D as PERSIAN_WEEKDAYS, H as PERSIAN_WEEKDAYS_SHORT, $ as SizeWithLegacy, a0 as StandardSize, a1 as TIER_LABELS, a2 as countryFlag, a3 as findCountry, a4 as findProvince, a5 as formatJalaliDate, a6 as formatPersianDateRange, a7 as getCountryLabel, a8 as getCurrentRangeIndex, a9 as getEngagementRanges, aa as getFollowerGroup, ab as getMetricLabel, ac as getPersianDay, ad as getPersianMonth, ae as getPersianMonthName, af as getPersianMonthNameShort, ag as getPersianMonthsForDropdown, ah as getPersianWeekdayName, ai as getPersianYear, aj as getPersianYearsForDropdown, ak as getPostSourceConfig, al as getProvinceLabel, am as getSourceColorVar, an as jalaliToGregorian, ao as normalizeSize, aq as toEnglishDigits, ar as toPersianDigits } from './server-BxuDPPiW.cjs';
3
+ export { i as ACTION_STATUS_KEYS, j as ACTION_TYPE_KEYS, A as ActionStatusKey, c as ActionTypeKey, k as EMOTION_KEYS, l as EMOTION_KEY_TO_VALUE, m as EMOTION_VALUE_MAP, n as ENTITY_HEALTH_KEYS, f as EmotionInput, d as EmotionKey, E as EntityHealthKey, o as FLOW_KEYS, p as FLOW_KEY_TO_VALUE, q as FLOW_VALUE_MAP, F as FlowInput, b as FlowKey, r as JOB_STATUS_KEYS, J as JobStatusKey, L as Locale, s as SEVERITY_KEYS, t as SEVERITY_KEY_TO_VALUE, u as SEVERITY_VALUE_MAP, v as STAGE_STATUS_KEYS, w as STATUS_KEYS, x as STATUS_KEY_TO_VALUE, y as STATUS_VALUE_MAP, h as SeverityInput, S as SeverityKey, e as StageStatusKey, g as StatusInput, a as StatusKey, U as UIStringKeys, z as UIStrings, B as UI_STRINGS, C as actionStatusLabels, D as actionTypeLabels, G as actionTypeVerbs, H as emotionLabels, I as engagementUiTranslations, K as entityHealthLabels, M as entityHealthPriority, N as flowLabels, O as formatRelativeLocaleTime, P as formatTimeRemaining, Q as getUIStrings, R as isActiveJobStatus, T as isCriticalEntityHealth, V as isRTL, W as jobStatusLabels, X as resolveEmotion, Y as resolveFlow, Z as resolveSeverity, _ as resolveStatus, $ as sentimentLabels, a0 as severityLabels, a1 as stageStatusLabels, a2 as statusLabels } from './i18n-B4rvgH-T.cjs';
4
4
  import 'clsx';
5
5
  import 'lucide-react';
6
6
  import './components/ui/social-platform-badge.cjs';
package/dist/server.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { S as SupportedLocale, c as cn, a as convertToLocalNumbers, f as formatAbsoluteTime, b as formatLargeNumber, d as formatNumber, e as formatRelativeTime } from './utils-Czyp5Ned.js';
2
- export { t as COUNTRIES, C as Country, u as CountryCode, E as ENGAGEMENT_RANGES, v as EngagementRange, w as EngagementRangeWithDisplay, x as EngagementTier, F as FollowerGroup, G as GROUP_LABELS, y as IRAN_PROVINCES, z as IranProvince, I as IranProvinceSlug, L as LegacySize, A as PERSIAN_MONTHS, B as PERSIAN_MONTHS_SHORT, D as PERSIAN_WEEKDAYS, H as PERSIAN_WEEKDAYS_SHORT, $ as SizeWithLegacy, a0 as StandardSize, a1 as TIER_LABELS, a2 as countryFlag, a3 as findCountry, a4 as findProvince, a5 as formatJalaliDate, a6 as formatPersianDateRange, a7 as getCountryLabel, a8 as getCurrentRangeIndex, a9 as getEngagementRanges, aa as getFollowerGroup, ab as getMetricLabel, ac as getPersianDay, ad as getPersianMonth, ae as getPersianMonthName, af as getPersianMonthNameShort, ag as getPersianMonthsForDropdown, ah as getPersianWeekdayName, ai as getPersianYear, aj as getPersianYearsForDropdown, ak as getPostSourceConfig, al as getProvinceLabel, am as getSourceColorVar, an as jalaliToGregorian, ao as normalizeSize, aq as toEnglishDigits, ar as toPersianDigits } from './server-m6tiB6DB.js';
3
- export { i as ACTION_STATUS_KEYS, j as ACTION_TYPE_KEYS, A as ActionStatusKey, b as ActionTypeKey, k as EMOTION_KEYS, l as EMOTION_KEY_TO_VALUE, m as EMOTION_VALUE_MAP, n as ENTITY_HEALTH_KEYS, e as EmotionInput, c as EmotionKey, E as EntityHealthKey, o as FLOW_KEYS, p as FLOW_KEY_TO_VALUE, q as FLOW_VALUE_MAP, f as FlowInput, F as FlowKey, r as JOB_STATUS_KEYS, J as JobStatusKey, L as Locale, s as SEVERITY_KEYS, t as SEVERITY_KEY_TO_VALUE, u as SEVERITY_VALUE_MAP, v as STAGE_STATUS_KEYS, w as STATUS_KEYS, x as STATUS_KEY_TO_VALUE, y as STATUS_VALUE_MAP, h as SeverityInput, S as SeverityKey, d as StageStatusKey, g as StatusInput, a as StatusKey, U as UIStringKeys, z as UIStrings, B as UI_STRINGS, C as actionStatusLabels, D as actionTypeLabels, G as actionTypeVerbs, H as emotionLabels, I as engagementUiTranslations, K as entityHealthLabels, M as entityHealthPriority, N as flowLabels, O as formatRelativeLocaleTime, P as formatTimeRemaining, Q as getUIStrings, R as isActiveJobStatus, T as isCriticalEntityHealth, V as isRTL, W as jobStatusLabels, X as resolveEmotion, Y as resolveFlow, Z as resolveSeverity, _ as resolveStatus, $ as sentimentLabels, a0 as severityLabels, a1 as stageStatusLabels, a2 as statusLabels } from './i18n-UEClNsBy.js';
2
+ export { t as COUNTRIES, C as Country, u as CountryCode, E as ENGAGEMENT_RANGES, v as EngagementRange, w as EngagementRangeWithDisplay, x as EngagementTier, F as FollowerGroup, G as GROUP_LABELS, y as IRAN_PROVINCES, z as IranProvince, I as IranProvinceSlug, L as LegacySize, A as PERSIAN_MONTHS, B as PERSIAN_MONTHS_SHORT, D as PERSIAN_WEEKDAYS, H as PERSIAN_WEEKDAYS_SHORT, $ as SizeWithLegacy, a0 as StandardSize, a1 as TIER_LABELS, a2 as countryFlag, a3 as findCountry, a4 as findProvince, a5 as formatJalaliDate, a6 as formatPersianDateRange, a7 as getCountryLabel, a8 as getCurrentRangeIndex, a9 as getEngagementRanges, aa as getFollowerGroup, ab as getMetricLabel, ac as getPersianDay, ad as getPersianMonth, ae as getPersianMonthName, af as getPersianMonthNameShort, ag as getPersianMonthsForDropdown, ah as getPersianWeekdayName, ai as getPersianYear, aj as getPersianYearsForDropdown, ak as getPostSourceConfig, al as getProvinceLabel, am as getSourceColorVar, an as jalaliToGregorian, ao as normalizeSize, aq as toEnglishDigits, ar as toPersianDigits } from './server-Cfw5kIug.js';
3
+ export { i as ACTION_STATUS_KEYS, j as ACTION_TYPE_KEYS, A as ActionStatusKey, c as ActionTypeKey, k as EMOTION_KEYS, l as EMOTION_KEY_TO_VALUE, m as EMOTION_VALUE_MAP, n as ENTITY_HEALTH_KEYS, f as EmotionInput, d as EmotionKey, E as EntityHealthKey, o as FLOW_KEYS, p as FLOW_KEY_TO_VALUE, q as FLOW_VALUE_MAP, F as FlowInput, b as FlowKey, r as JOB_STATUS_KEYS, J as JobStatusKey, L as Locale, s as SEVERITY_KEYS, t as SEVERITY_KEY_TO_VALUE, u as SEVERITY_VALUE_MAP, v as STAGE_STATUS_KEYS, w as STATUS_KEYS, x as STATUS_KEY_TO_VALUE, y as STATUS_VALUE_MAP, h as SeverityInput, S as SeverityKey, e as StageStatusKey, g as StatusInput, a as StatusKey, U as UIStringKeys, z as UIStrings, B as UI_STRINGS, C as actionStatusLabels, D as actionTypeLabels, G as actionTypeVerbs, H as emotionLabels, I as engagementUiTranslations, K as entityHealthLabels, M as entityHealthPriority, N as flowLabels, O as formatRelativeLocaleTime, P as formatTimeRemaining, Q as getUIStrings, R as isActiveJobStatus, T as isCriticalEntityHealth, V as isRTL, W as jobStatusLabels, X as resolveEmotion, Y as resolveFlow, Z as resolveSeverity, _ as resolveStatus, $ as sentimentLabels, a0 as severityLabels, a1 as stageStatusLabels, a2 as statusLabels } from './i18n-CZQ2kPWD.js';
4
4
  import 'clsx';
5
5
  import 'lucide-react';
6
6
  import './components/ui/social-platform-badge.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parto-system-design/ui",
3
- "version": "1.1.19",
3
+ "version": "1.1.21",
4
4
  "description": "Persian-first, RTL-native React component library for public-opinion monitoring (افکارسنجی), social listening, and influencer analytics — Supabase-style design language adapted for Farsi typography.",
5
5
  "license": "MIT",
6
6
  "author": "Parto Design System contributors",