@mieweb/ui 0.3.0-dev.97 → 0.3.0-dev.99

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 (34) hide show
  1. package/dist/{chunk-KLLGX5O3.cjs → chunk-2VCAWAPC.cjs} +3 -3
  2. package/dist/{chunk-KLLGX5O3.cjs.map → chunk-2VCAWAPC.cjs.map} +1 -1
  3. package/dist/{chunk-WORZLEUZ.js → chunk-CJQXWFIW.js} +3 -3
  4. package/dist/{chunk-WORZLEUZ.js.map → chunk-CJQXWFIW.js.map} +1 -1
  5. package/dist/{chunk-HUYKGSL7.cjs → chunk-E35GUUTC.cjs} +10 -2
  6. package/dist/chunk-E35GUUTC.cjs.map +1 -0
  7. package/dist/{chunk-5F5BWTDF.cjs → chunk-GOKC4CCZ.cjs} +21 -21
  8. package/dist/chunk-GOKC4CCZ.cjs.map +1 -0
  9. package/dist/{chunk-RTFVTLMH.js → chunk-JBB25LFB.js} +21 -21
  10. package/dist/chunk-JBB25LFB.js.map +1 -0
  11. package/dist/{chunk-DJNNEKZU.js → chunk-JYAWYBA3.js} +10 -2
  12. package/dist/chunk-JYAWYBA3.js.map +1 -0
  13. package/dist/{chunk-YY23MK3V.js → chunk-TGCY5FNL.js} +3 -3
  14. package/dist/{chunk-YY23MK3V.js.map → chunk-TGCY5FNL.js.map} +1 -1
  15. package/dist/{chunk-DT4CHRTJ.cjs → chunk-WJU3KLVV.cjs} +3 -3
  16. package/dist/{chunk-DT4CHRTJ.cjs.map → chunk-WJU3KLVV.cjs.map} +1 -1
  17. package/dist/components/AudioPlayer/index.cjs +6 -6
  18. package/dist/components/AudioPlayer/index.js +1 -1
  19. package/dist/components/Progress/index.cjs +6 -6
  20. package/dist/components/Progress/index.js +1 -1
  21. package/dist/components/Slider/index.cjs +5 -5
  22. package/dist/components/Slider/index.js +1 -1
  23. package/dist/index.cjs +41 -39
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.js +24 -22
  26. package/dist/index.js.map +1 -1
  27. package/dist/styles.css +1 -1
  28. package/dist/tailwind-preset.cjs +4 -4
  29. package/dist/tailwind-preset.js +1 -1
  30. package/package.json +1 -1
  31. package/dist/chunk-5F5BWTDF.cjs.map +0 -1
  32. package/dist/chunk-DJNNEKZU.js.map +0 -1
  33. package/dist/chunk-HUYKGSL7.cjs.map +0 -1
  34. package/dist/chunk-RTFVTLMH.js.map +0 -1
package/dist/index.cjs CHANGED
@@ -23,7 +23,7 @@ var chunkK7IGBNZA_cjs = require('./chunk-K7IGBNZA.cjs');
23
23
  var chunkQ2EWNXIB_cjs = require('./chunk-Q2EWNXIB.cjs');
24
24
  var chunkFRT6RQND_cjs = require('./chunk-FRT6RQND.cjs');
25
25
  var chunk3GGET5LK_cjs = require('./chunk-3GGET5LK.cjs');
26
- var chunk5F5BWTDF_cjs = require('./chunk-5F5BWTDF.cjs');
26
+ var chunkGOKC4CCZ_cjs = require('./chunk-GOKC4CCZ.cjs');
27
27
  var chunkDEZ7XSTG_cjs = require('./chunk-DEZ7XSTG.cjs');
28
28
  var chunk7BARESXI_cjs = require('./chunk-7BARESXI.cjs');
29
29
  var chunkMXQNNKPX_cjs = require('./chunk-MXQNNKPX.cjs');
@@ -32,8 +32,8 @@ var chunkAWUADXYI_cjs = require('./chunk-AWUADXYI.cjs');
32
32
  var chunkNIEIRA5A_cjs = require('./chunk-NIEIRA5A.cjs');
33
33
  var chunkVACI5SP7_cjs = require('./chunk-VACI5SP7.cjs');
34
34
  var chunkMSRU3XBH_cjs = require('./chunk-MSRU3XBH.cjs');
35
- var chunkKLLGX5O3_cjs = require('./chunk-KLLGX5O3.cjs');
36
- var chunkDT4CHRTJ_cjs = require('./chunk-DT4CHRTJ.cjs');
35
+ var chunk2VCAWAPC_cjs = require('./chunk-2VCAWAPC.cjs');
36
+ var chunkWJU3KLVV_cjs = require('./chunk-WJU3KLVV.cjs');
37
37
  var chunkEUUQVDXX_cjs = require('./chunk-EUUQVDXX.cjs');
38
38
  var chunkWZBCK7KG_cjs = require('./chunk-WZBCK7KG.cjs');
39
39
  var chunk4FALCEJI_cjs = require('./chunk-4FALCEJI.cjs');
@@ -52,7 +52,7 @@ require('./chunk-74K3RRU7.cjs');
52
52
  var chunkCW75IKA6_cjs = require('./chunk-CW75IKA6.cjs');
53
53
  var chunkL7YQBSEL_cjs = require('./chunk-L7YQBSEL.cjs');
54
54
  var chunkSCV7C55E_cjs = require('./chunk-SCV7C55E.cjs');
55
- var chunkHUYKGSL7_cjs = require('./chunk-HUYKGSL7.cjs');
55
+ var chunkE35GUUTC_cjs = require('./chunk-E35GUUTC.cjs');
56
56
  var chunkWGPMTW36_cjs = require('./chunk-WGPMTW36.cjs');
57
57
  var chunkOR5DRJCW_cjs = require('./chunk-OR5DRJCW.cjs');
58
58
  var React48 = require('react');
@@ -1868,7 +1868,7 @@ function ToolResultDisplay({
1868
1868
  "button",
1869
1869
  {
1870
1870
  onClick: () => setShowJson(!showJson),
1871
- className: "flex items-center gap-1 text-xs text-neutral-500 hover:text-neutral-700 dark:text-neutral-400 dark:hover:text-neutral-300",
1871
+ className: "flex items-center gap-1 text-xs text-neutral-600 hover:text-neutral-700 dark:text-neutral-400 dark:hover:text-neutral-300",
1872
1872
  children: [
1873
1873
  /* @__PURE__ */ jsxRuntime.jsx(
1874
1874
  "svg",
@@ -2027,7 +2027,7 @@ function MCPToolCallDisplay({
2027
2027
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
2028
2028
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-neutral-900 dark:text-white", children: friendlyName }),
2029
2029
  /* @__PURE__ */ jsxRuntime.jsx(ToolStatusIcon, { status: toolCall.status }),
2030
- toolCall.duration && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-neutral-400", children: formatDuration2(toolCall.duration) })
2030
+ toolCall.duration && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-neutral-600 dark:text-neutral-400", children: formatDuration2(toolCall.duration) })
2031
2031
  ] }),
2032
2032
  paramSummary && toolCall.status !== "success" && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mt-0.5 text-sm", children: paramSummary }),
2033
2033
  toolCall.result && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "ai-tool-result", className: "mt-2", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -2043,7 +2043,7 @@ function MCPToolCallDisplay({
2043
2043
  "button",
2044
2044
  {
2045
2045
  onClick: () => setShowDetails(!showDetails),
2046
- className: "mt-2 flex items-center gap-1 text-xs text-neutral-500 hover:text-neutral-700 dark:text-neutral-400 dark:hover:text-neutral-300",
2046
+ className: "mt-2 flex items-center gap-1 text-xs text-neutral-600 hover:text-neutral-700 dark:text-neutral-400 dark:hover:text-neutral-300",
2047
2047
  children: [
2048
2048
  /* @__PURE__ */ jsxRuntime.jsx(
2049
2049
  "svg",
@@ -2077,13 +2077,13 @@ function MCPToolCallDisplay({
2077
2077
  "data-slot": "ai-tool-parameters",
2078
2078
  className: "mt-3 rounded-md bg-neutral-100 p-2 dark:bg-neutral-800",
2079
2079
  children: [
2080
- /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "mb-1.5 text-xs font-medium tracking-wide text-neutral-500 uppercase dark:text-neutral-400", children: "Parameters" }),
2080
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "mb-1.5 text-xs font-medium tracking-wide text-neutral-600 uppercase dark:text-neutral-400", children: "Parameters" }),
2081
2081
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-0.5", children: toolCall.parameters.map((param) => /* @__PURE__ */ jsxRuntime.jsxs(
2082
2082
  "div",
2083
2083
  {
2084
2084
  className: "flex items-start gap-2 text-xs",
2085
2085
  children: [
2086
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "font-mono text-neutral-500 dark:text-neutral-500", children: [
2086
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "font-mono text-neutral-600 dark:text-neutral-400", children: [
2087
2087
  param.name,
2088
2088
  ":"
2089
2089
  ] }),
@@ -5075,7 +5075,7 @@ function AppHeaderSearch({
5075
5075
  "data-testid": testId,
5076
5076
  className: chunkOR5DRJCW_cjs.cn(
5077
5077
  "flex items-center gap-3 rounded-lg border border-gray-300 dark:border-gray-600",
5078
- "text-muted-foreground bg-white px-4 py-2 text-sm dark:bg-gray-700",
5078
+ "bg-white px-4 py-2 text-sm text-neutral-600 dark:bg-gray-700 dark:text-neutral-400",
5079
5079
  "hover:border-gray-400 dark:hover:border-gray-500",
5080
5080
  "transition-colors hover:bg-gray-50 dark:hover:bg-gray-600",
5081
5081
  !showOnMobile && "hidden sm:flex",
@@ -5091,7 +5091,7 @@ function AppHeaderSearch({
5091
5091
  className: chunkOR5DRJCW_cjs.cn(
5092
5092
  "hidden items-center gap-0.5 px-2 py-0.5 sm:inline-flex",
5093
5093
  "rounded border border-gray-200 bg-gray-100 dark:border-gray-500 dark:bg-gray-600",
5094
- "text-muted-foreground flex-shrink-0 text-xs"
5094
+ "flex-shrink-0 text-xs text-neutral-600 dark:text-neutral-400"
5095
5095
  ),
5096
5096
  children: [
5097
5097
  isMac ? "\u2318" : "Ctrl",
@@ -17513,7 +17513,7 @@ function FileManager({
17513
17513
  "%"
17514
17514
  ] })
17515
17515
  ] }),
17516
- /* @__PURE__ */ jsxRuntime.jsx(chunkKLLGX5O3_cjs.Progress, { value: uploadProgress, max: 100 })
17516
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2VCAWAPC_cjs.Progress, { value: uploadProgress, max: 100 })
17517
17517
  ] }),
17518
17518
  errorMessage && /* @__PURE__ */ jsxRuntime.jsx(
17519
17519
  "div",
@@ -22047,7 +22047,7 @@ function OnboardingWizard({
22047
22047
  }
22048
22048
  ),
22049
22049
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
22050
- chunkKLLGX5O3_cjs.Progress,
22050
+ chunk2VCAWAPC_cjs.Progress,
22051
22051
  {
22052
22052
  value: progressPercent,
22053
22053
  size: "lg",
@@ -22113,7 +22113,7 @@ function OnboardingStepQuestion({
22113
22113
  description && /* @__PURE__ */ jsxRuntime.jsx(
22114
22114
  "p",
22115
22115
  {
22116
- className: "text-muted-foreground",
22116
+ className: "text-neutral-600 dark:text-neutral-400",
22117
22117
  "data-slot": "onboarding-step-description",
22118
22118
  children: description
22119
22119
  }
@@ -29139,7 +29139,7 @@ function ProviderSelector({
29139
29139
  "span",
29140
29140
  {
29141
29141
  "data-slot": "provider-selector-option-code",
29142
- className: "text-muted-foreground text-xs",
29142
+ className: "text-xs text-neutral-600 dark:text-neutral-400",
29143
29143
  children: [
29144
29144
  "(",
29145
29145
  provider.code,
@@ -29151,7 +29151,7 @@ function ProviderSelector({
29151
29151
  "span",
29152
29152
  {
29153
29153
  "data-slot": "provider-selector-option-badge",
29154
- className: "bg-muted text-muted-foreground rounded px-1.5 py-0.5 text-xs font-medium",
29154
+ className: "bg-muted rounded px-1.5 py-0.5 text-xs font-medium text-neutral-600 dark:text-neutral-400",
29155
29155
  children: "Inactive"
29156
29156
  }
29157
29157
  )
@@ -30670,7 +30670,7 @@ function RejectionModal({
30670
30670
  className: "bg-muted rounded-lg p-3",
30671
30671
  "data-slot": "rejection-modal-info",
30672
30672
  children: [
30673
- description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: description }),
30673
+ description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-neutral-600 dark:text-neutral-400", children: description }),
30674
30674
  itemDescription && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-foreground mt-1 text-sm font-medium", children: itemDescription })
30675
30675
  ]
30676
30676
  }
@@ -36963,6 +36963,7 @@ function StepIndicator({
36963
36963
  "data-slot": "step-indicator-circle",
36964
36964
  onClick: () => handleStepClick(index),
36965
36965
  disabled: !clickable,
36966
+ "aria-label": `Step ${index + 1}: ${step.label}`,
36966
36967
  className: `${sizes.circle} flex shrink-0 items-center justify-center rounded-full font-medium transition-all duration-200 focus:ring-2 focus:ring-offset-2 focus:outline-none dark:focus:ring-offset-neutral-900 ${clickable ? "cursor-pointer" : "cursor-default"} ${step.hasError ? "bg-red-100 text-red-600 focus:ring-red-500 dark:bg-red-900/30 dark:text-red-400" : status === "completed" ? "bg-primary-800 focus:ring-primary-500 dark:bg-primary-800 text-white" : status === "current" ? "bg-primary-800 ring-primary-600 focus:ring-primary-500 dark:bg-primary-800 dark:ring-primary-500 text-white ring-2 ring-offset-2 dark:ring-offset-neutral-900" : "bg-neutral-200 text-neutral-500 focus:ring-neutral-400 dark:bg-neutral-700 dark:text-neutral-300"}`.trim(),
36967
36968
  "aria-current": status === "current" ? "step" : void 0,
36968
36969
  children: step.hasError ? /* @__PURE__ */ jsxRuntime.jsx(ErrorIcon, { className: "h-4 w-4" }) : status === "completed" ? step.icon || /* @__PURE__ */ jsxRuntime.jsx(CheckIcon5, { className: "h-4 w-4" }) : step.icon || /* @__PURE__ */ jsxRuntime.jsx(
@@ -37118,9 +37119,9 @@ function StripeBadge({
37118
37119
  }
37119
37120
  };
37120
37121
  const variantClasses = {
37121
- default: "bg-[#635bff]/10 text-[#635bff] dark:bg-[#635bff]/20",
37122
- outline: "border border-[#635bff]/30 text-[#635bff]",
37123
- minimal: "text-muted-foreground hover:text-[#635bff]"
37122
+ default: "bg-indigo-500/10 text-indigo-700 dark:bg-indigo-400/20 dark:text-indigo-300",
37123
+ outline: "border border-indigo-500/30 text-indigo-700 dark:text-indigo-300",
37124
+ minimal: "text-neutral-600 dark:text-neutral-400 hover:text-indigo-700 dark:hover:text-indigo-300"
37124
37125
  };
37125
37126
  const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
37126
37127
  showPoweredBy && /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkOR5DRJCW_cjs.cn("font-normal", sizeClasses2[size].text), children: "Powered by" }),
@@ -37373,7 +37374,7 @@ function TocList({
37373
37374
  className: chunkOR5DRJCW_cjs.cn(
37374
37375
  "block rounded-sm px-2 py-1 transition-colors duration-150",
37375
37376
  "hover:text-foreground",
37376
- activeId === item.id ? "text-primary font-medium" : "text-muted-foreground"
37377
+ activeId === item.id ? "text-primary font-medium" : "text-neutral-600 dark:text-neutral-400"
37377
37378
  ),
37378
37379
  children: item.title
37379
37380
  }
@@ -37472,9 +37473,10 @@ function TimelineProgress({
37472
37473
  "data-slot": "timeline-progress",
37473
37474
  className: chunkOR5DRJCW_cjs.cn(sizes.padding, "overflow-x-auto", className),
37474
37475
  role: "progressbar",
37475
- "aria-valuenow": currentIndex + 1,
37476
+ "aria-label": "Timeline progress",
37477
+ "aria-valuenow": Math.max(currentIndex + 1, 1),
37476
37478
  "aria-valuemin": 1,
37477
- "aria-valuemax": visibleSteps.length,
37479
+ "aria-valuemax": visibleSteps.length || 1,
37478
37480
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex items-start", children: visibleSteps.map((step, index) => {
37479
37481
  const state = getStepState(index, step);
37480
37482
  const isLast = index === visibleSteps.length - 1;
@@ -39071,19 +39073,19 @@ Object.defineProperty(exports, "skeletonVariants", {
39071
39073
  });
39072
39074
  Object.defineProperty(exports, "Slider", {
39073
39075
  enumerable: true,
39074
- get: function () { return chunk5F5BWTDF_cjs.Slider; }
39076
+ get: function () { return chunkGOKC4CCZ_cjs.Slider; }
39075
39077
  });
39076
39078
  Object.defineProperty(exports, "sliderRangeVariants", {
39077
39079
  enumerable: true,
39078
- get: function () { return chunk5F5BWTDF_cjs.sliderRangeVariants; }
39080
+ get: function () { return chunkGOKC4CCZ_cjs.sliderRangeVariants; }
39079
39081
  });
39080
39082
  Object.defineProperty(exports, "sliderThumbVariants", {
39081
39083
  enumerable: true,
39082
- get: function () { return chunk5F5BWTDF_cjs.sliderThumbVariants; }
39084
+ get: function () { return chunkGOKC4CCZ_cjs.sliderThumbVariants; }
39083
39085
  });
39084
39086
  Object.defineProperty(exports, "sliderTrackVariants", {
39085
39087
  enumerable: true,
39086
- get: function () { return chunk5F5BWTDF_cjs.sliderTrackVariants; }
39088
+ get: function () { return chunkGOKC4CCZ_cjs.sliderTrackVariants; }
39087
39089
  });
39088
39090
  Object.defineProperty(exports, "FullPageSpinner", {
39089
39091
  enumerable: true,
@@ -39203,43 +39205,43 @@ Object.defineProperty(exports, "inputVariants", {
39203
39205
  });
39204
39206
  Object.defineProperty(exports, "CircularProgress", {
39205
39207
  enumerable: true,
39206
- get: function () { return chunkKLLGX5O3_cjs.CircularProgress; }
39208
+ get: function () { return chunk2VCAWAPC_cjs.CircularProgress; }
39207
39209
  });
39208
39210
  Object.defineProperty(exports, "Progress", {
39209
39211
  enumerable: true,
39210
- get: function () { return chunkKLLGX5O3_cjs.Progress; }
39212
+ get: function () { return chunk2VCAWAPC_cjs.Progress; }
39211
39213
  });
39212
39214
  Object.defineProperty(exports, "circularProgressVariants", {
39213
39215
  enumerable: true,
39214
- get: function () { return chunkKLLGX5O3_cjs.circularProgressVariants; }
39216
+ get: function () { return chunk2VCAWAPC_cjs.circularProgressVariants; }
39215
39217
  });
39216
39218
  Object.defineProperty(exports, "progressBarFillVariants", {
39217
39219
  enumerable: true,
39218
- get: function () { return chunkKLLGX5O3_cjs.progressBarFillVariants; }
39220
+ get: function () { return chunk2VCAWAPC_cjs.progressBarFillVariants; }
39219
39221
  });
39220
39222
  Object.defineProperty(exports, "progressBarTrackVariants", {
39221
39223
  enumerable: true,
39222
- get: function () { return chunkKLLGX5O3_cjs.progressBarTrackVariants; }
39224
+ get: function () { return chunk2VCAWAPC_cjs.progressBarTrackVariants; }
39223
39225
  });
39224
39226
  Object.defineProperty(exports, "AudioPlayer", {
39225
39227
  enumerable: true,
39226
- get: function () { return chunkDT4CHRTJ_cjs.AudioPlayer; }
39228
+ get: function () { return chunkWJU3KLVV_cjs.AudioPlayer; }
39227
39229
  });
39228
39230
  Object.defineProperty(exports, "ProgressBar", {
39229
39231
  enumerable: true,
39230
- get: function () { return chunkDT4CHRTJ_cjs.ProgressBar; }
39232
+ get: function () { return chunkWJU3KLVV_cjs.ProgressBar; }
39231
39233
  });
39232
39234
  Object.defineProperty(exports, "audioPlayerVariants", {
39233
39235
  enumerable: true,
39234
- get: function () { return chunkDT4CHRTJ_cjs.audioPlayerVariants; }
39236
+ get: function () { return chunkWJU3KLVV_cjs.audioPlayerVariants; }
39235
39237
  });
39236
39238
  Object.defineProperty(exports, "formatAudioTime", {
39237
39239
  enumerable: true,
39238
- get: function () { return chunkDT4CHRTJ_cjs.formatTime; }
39240
+ get: function () { return chunkWJU3KLVV_cjs.formatTime; }
39239
39241
  });
39240
39242
  Object.defineProperty(exports, "playButtonVariants", {
39241
39243
  enumerable: true,
39242
- get: function () { return chunkDT4CHRTJ_cjs.playButtonVariants; }
39244
+ get: function () { return chunkWJU3KLVV_cjs.playButtonVariants; }
39243
39245
  });
39244
39246
  Object.defineProperty(exports, "AudioRecorder", {
39245
39247
  enumerable: true,
@@ -39491,11 +39493,11 @@ Object.defineProperty(exports, "isStorybookDocsMode", {
39491
39493
  });
39492
39494
  Object.defineProperty(exports, "miewebUIPreset", {
39493
39495
  enumerable: true,
39494
- get: function () { return chunkHUYKGSL7_cjs.miewebUIPreset; }
39496
+ get: function () { return chunkE35GUUTC_cjs.miewebUIPreset; }
39495
39497
  });
39496
39498
  Object.defineProperty(exports, "miewebUISafelist", {
39497
39499
  enumerable: true,
39498
- get: function () { return chunkHUYKGSL7_cjs.miewebUISafelist; }
39500
+ get: function () { return chunkE35GUUTC_cjs.miewebUISafelist; }
39499
39501
  });
39500
39502
  Object.defineProperty(exports, "Alert", {
39501
39503
  enumerable: true,