@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.js CHANGED
@@ -30,7 +30,7 @@ import { Select } from './chunk-R25H4N4Z.js';
30
30
  export { Select, selectTriggerVariants } from './chunk-R25H4N4Z.js';
31
31
  import { Skeleton } from './chunk-4Z6ZZKIY.js';
32
32
  export { Skeleton, SkeletonCard, SkeletonTable, SkeletonText, skeletonVariants } from './chunk-4Z6ZZKIY.js';
33
- export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from './chunk-RTFVTLMH.js';
33
+ export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from './chunk-JBB25LFB.js';
34
34
  import { Spinner, SpinnerWithLabel } from './chunk-VCO2IZOG.js';
35
35
  export { FullPageSpinner, Spinner, SpinnerWithLabel, spinnerVariants } from './chunk-VCO2IZOG.js';
36
36
  export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-WFS6R2F5.js';
@@ -44,9 +44,9 @@ export { Pagination, SimplePagination, paginationButtonVariants } from './chunk-
44
44
  export { PhoneInput, PhoneInputGroup } from './chunk-OGOFYY22.js';
45
45
  import { Input } from './chunk-PVUDXJAI.js';
46
46
  export { Input, inputVariants } from './chunk-PVUDXJAI.js';
47
- import { Progress } from './chunk-YY23MK3V.js';
48
- export { CircularProgress, Progress, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './chunk-YY23MK3V.js';
49
- export { AudioPlayer, ProgressBar, audioPlayerVariants, formatTime as formatAudioTime, playButtonVariants } from './chunk-WORZLEUZ.js';
47
+ import { Progress } from './chunk-TGCY5FNL.js';
48
+ export { CircularProgress, Progress, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './chunk-TGCY5FNL.js';
49
+ export { AudioPlayer, ProgressBar, audioPlayerVariants, formatTime as formatAudioTime, playButtonVariants } from './chunk-CJQXWFIW.js';
50
50
  export { AudioRecorder, audioRecorderVariants, controlButtonVariants, formatTime, waveformContainerVariants } from './chunk-TRZXK57D.js';
51
51
  import { Avatar } from './chunk-YDJUUR4Y.js';
52
52
  export { Avatar, AvatarGroup, avatarVariants, getInitials } from './chunk-YDJUUR4Y.js';
@@ -76,7 +76,7 @@ export { calculateAge, dateToDisplayFormat, displayFormatToDateString, formatDat
76
76
  export { formatPhoneNumber, isPhoneNumberEmpty, isValidPhoneNumber, unformatPhoneNumber } from './chunk-ZVPJ2MH6.js';
77
77
  import { isStorybookDocsMode } from './chunk-VSQF22GL.js';
78
78
  export { isStorybookDocsMode } from './chunk-VSQF22GL.js';
79
- export { miewebUIPreset, miewebUISafelist } from './chunk-DJNNEKZU.js';
79
+ export { miewebUIPreset, miewebUISafelist } from './chunk-JYAWYBA3.js';
80
80
  import { Alert, AlertTitle, AlertDescription } from './chunk-MV3MTHWQ.js';
81
81
  export { Alert, AlertDescription, AlertTitle, alertVariants } from './chunk-MV3MTHWQ.js';
82
82
  import { cn } from './chunk-F3SOEIN2.js';
@@ -1875,7 +1875,7 @@ function ToolResultDisplay({
1875
1875
  "button",
1876
1876
  {
1877
1877
  onClick: () => setShowJson(!showJson),
1878
- className: "flex items-center gap-1 text-xs text-neutral-500 hover:text-neutral-700 dark:text-neutral-400 dark:hover:text-neutral-300",
1878
+ className: "flex items-center gap-1 text-xs text-neutral-600 hover:text-neutral-700 dark:text-neutral-400 dark:hover:text-neutral-300",
1879
1879
  children: [
1880
1880
  /* @__PURE__ */ jsx(
1881
1881
  "svg",
@@ -2034,7 +2034,7 @@ function MCPToolCallDisplay({
2034
2034
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
2035
2035
  /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-neutral-900 dark:text-white", children: friendlyName }),
2036
2036
  /* @__PURE__ */ jsx(ToolStatusIcon, { status: toolCall.status }),
2037
- toolCall.duration && /* @__PURE__ */ jsx("span", { className: "text-xs text-neutral-400", children: formatDuration2(toolCall.duration) })
2037
+ toolCall.duration && /* @__PURE__ */ jsx("span", { className: "text-xs text-neutral-600 dark:text-neutral-400", children: formatDuration2(toolCall.duration) })
2038
2038
  ] }),
2039
2039
  paramSummary && toolCall.status !== "success" && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-0.5 text-sm", children: paramSummary }),
2040
2040
  toolCall.result && /* @__PURE__ */ jsx("div", { "data-slot": "ai-tool-result", className: "mt-2", children: /* @__PURE__ */ jsx(
@@ -2050,7 +2050,7 @@ function MCPToolCallDisplay({
2050
2050
  "button",
2051
2051
  {
2052
2052
  onClick: () => setShowDetails(!showDetails),
2053
- 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",
2053
+ 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",
2054
2054
  children: [
2055
2055
  /* @__PURE__ */ jsx(
2056
2056
  "svg",
@@ -2084,13 +2084,13 @@ function MCPToolCallDisplay({
2084
2084
  "data-slot": "ai-tool-parameters",
2085
2085
  className: "mt-3 rounded-md bg-neutral-100 p-2 dark:bg-neutral-800",
2086
2086
  children: [
2087
- /* @__PURE__ */ jsx("h4", { className: "mb-1.5 text-xs font-medium tracking-wide text-neutral-500 uppercase dark:text-neutral-400", children: "Parameters" }),
2087
+ /* @__PURE__ */ jsx("h4", { className: "mb-1.5 text-xs font-medium tracking-wide text-neutral-600 uppercase dark:text-neutral-400", children: "Parameters" }),
2088
2088
  /* @__PURE__ */ jsx("div", { className: "space-y-0.5", children: toolCall.parameters.map((param) => /* @__PURE__ */ jsxs(
2089
2089
  "div",
2090
2090
  {
2091
2091
  className: "flex items-start gap-2 text-xs",
2092
2092
  children: [
2093
- /* @__PURE__ */ jsxs("span", { className: "font-mono text-neutral-500 dark:text-neutral-500", children: [
2093
+ /* @__PURE__ */ jsxs("span", { className: "font-mono text-neutral-600 dark:text-neutral-400", children: [
2094
2094
  param.name,
2095
2095
  ":"
2096
2096
  ] }),
@@ -5082,7 +5082,7 @@ function AppHeaderSearch({
5082
5082
  "data-testid": testId,
5083
5083
  className: cn(
5084
5084
  "flex items-center gap-3 rounded-lg border border-gray-300 dark:border-gray-600",
5085
- "text-muted-foreground bg-white px-4 py-2 text-sm dark:bg-gray-700",
5085
+ "bg-white px-4 py-2 text-sm text-neutral-600 dark:bg-gray-700 dark:text-neutral-400",
5086
5086
  "hover:border-gray-400 dark:hover:border-gray-500",
5087
5087
  "transition-colors hover:bg-gray-50 dark:hover:bg-gray-600",
5088
5088
  !showOnMobile && "hidden sm:flex",
@@ -5098,7 +5098,7 @@ function AppHeaderSearch({
5098
5098
  className: cn(
5099
5099
  "hidden items-center gap-0.5 px-2 py-0.5 sm:inline-flex",
5100
5100
  "rounded border border-gray-200 bg-gray-100 dark:border-gray-500 dark:bg-gray-600",
5101
- "text-muted-foreground flex-shrink-0 text-xs"
5101
+ "flex-shrink-0 text-xs text-neutral-600 dark:text-neutral-400"
5102
5102
  ),
5103
5103
  children: [
5104
5104
  isMac ? "\u2318" : "Ctrl",
@@ -22120,7 +22120,7 @@ function OnboardingStepQuestion({
22120
22120
  description && /* @__PURE__ */ jsx(
22121
22121
  "p",
22122
22122
  {
22123
- className: "text-muted-foreground",
22123
+ className: "text-neutral-600 dark:text-neutral-400",
22124
22124
  "data-slot": "onboarding-step-description",
22125
22125
  children: description
22126
22126
  }
@@ -29146,7 +29146,7 @@ function ProviderSelector({
29146
29146
  "span",
29147
29147
  {
29148
29148
  "data-slot": "provider-selector-option-code",
29149
- className: "text-muted-foreground text-xs",
29149
+ className: "text-xs text-neutral-600 dark:text-neutral-400",
29150
29150
  children: [
29151
29151
  "(",
29152
29152
  provider.code,
@@ -29158,7 +29158,7 @@ function ProviderSelector({
29158
29158
  "span",
29159
29159
  {
29160
29160
  "data-slot": "provider-selector-option-badge",
29161
- className: "bg-muted text-muted-foreground rounded px-1.5 py-0.5 text-xs font-medium",
29161
+ className: "bg-muted rounded px-1.5 py-0.5 text-xs font-medium text-neutral-600 dark:text-neutral-400",
29162
29162
  children: "Inactive"
29163
29163
  }
29164
29164
  )
@@ -30677,7 +30677,7 @@ function RejectionModal({
30677
30677
  className: "bg-muted rounded-lg p-3",
30678
30678
  "data-slot": "rejection-modal-info",
30679
30679
  children: [
30680
- description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: description }),
30680
+ description && /* @__PURE__ */ jsx("p", { className: "text-sm text-neutral-600 dark:text-neutral-400", children: description }),
30681
30681
  itemDescription && /* @__PURE__ */ jsx("p", { className: "text-foreground mt-1 text-sm font-medium", children: itemDescription })
30682
30682
  ]
30683
30683
  }
@@ -36970,6 +36970,7 @@ function StepIndicator({
36970
36970
  "data-slot": "step-indicator-circle",
36971
36971
  onClick: () => handleStepClick(index),
36972
36972
  disabled: !clickable,
36973
+ "aria-label": `Step ${index + 1}: ${step.label}`,
36973
36974
  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(),
36974
36975
  "aria-current": status === "current" ? "step" : void 0,
36975
36976
  children: step.hasError ? /* @__PURE__ */ jsx(ErrorIcon, { className: "h-4 w-4" }) : status === "completed" ? step.icon || /* @__PURE__ */ jsx(CheckIcon5, { className: "h-4 w-4" }) : step.icon || /* @__PURE__ */ jsx(
@@ -37125,9 +37126,9 @@ function StripeBadge({
37125
37126
  }
37126
37127
  };
37127
37128
  const variantClasses = {
37128
- default: "bg-[#635bff]/10 text-[#635bff] dark:bg-[#635bff]/20",
37129
- outline: "border border-[#635bff]/30 text-[#635bff]",
37130
- minimal: "text-muted-foreground hover:text-[#635bff]"
37129
+ default: "bg-indigo-500/10 text-indigo-700 dark:bg-indigo-400/20 dark:text-indigo-300",
37130
+ outline: "border border-indigo-500/30 text-indigo-700 dark:text-indigo-300",
37131
+ minimal: "text-neutral-600 dark:text-neutral-400 hover:text-indigo-700 dark:hover:text-indigo-300"
37131
37132
  };
37132
37133
  const content = /* @__PURE__ */ jsxs(Fragment, { children: [
37133
37134
  showPoweredBy && /* @__PURE__ */ jsx("span", { className: cn("font-normal", sizeClasses2[size].text), children: "Powered by" }),
@@ -37380,7 +37381,7 @@ function TocList({
37380
37381
  className: cn(
37381
37382
  "block rounded-sm px-2 py-1 transition-colors duration-150",
37382
37383
  "hover:text-foreground",
37383
- activeId === item.id ? "text-primary font-medium" : "text-muted-foreground"
37384
+ activeId === item.id ? "text-primary font-medium" : "text-neutral-600 dark:text-neutral-400"
37384
37385
  ),
37385
37386
  children: item.title
37386
37387
  }
@@ -37479,9 +37480,10 @@ function TimelineProgress({
37479
37480
  "data-slot": "timeline-progress",
37480
37481
  className: cn(sizes.padding, "overflow-x-auto", className),
37481
37482
  role: "progressbar",
37482
- "aria-valuenow": currentIndex + 1,
37483
+ "aria-label": "Timeline progress",
37484
+ "aria-valuenow": Math.max(currentIndex + 1, 1),
37483
37485
  "aria-valuemin": 1,
37484
- "aria-valuemax": visibleSteps.length,
37486
+ "aria-valuemax": visibleSteps.length || 1,
37485
37487
  children: /* @__PURE__ */ jsx("div", { className: "relative flex items-start", children: visibleSteps.map((step, index) => {
37486
37488
  const state = getStepState(index, step);
37487
37489
  const isLast = index === visibleSteps.length - 1;