const e = "https://nice2dev.com/schemas/component-doc-v1.json", t = "NiceRating", n = "Rating", a = "1.0.0", s = "stable", o = "editors", i = "feedback", r = "Star/icon rating input with half-step and custom icon support.", c = "1.0.0", l = ["web", "mobile", "desktop"], d = ["rating", "stars", "review", "score"], u = [{ name: "value", type: "number", required: !1, default: "0", description: "Current value (0 to count)." }, { name: "count", type: "number", required: !1, default: "5", description: "Number of stars/icons." }, { name: "half", type: "boolean", required: !1, default: "false", description: "Allow half-star selection." }, { name: "readOnly", type: "boolean", required: !1, default: "false", description: "Read-only display." }, { name: "disabled", type: "boolean", required: !1, default: "false", description: "Disabled state." }, { name: "size", type: "NiceSize", required: !1, default: "'md'", description: "Visual size." }, { name: "label", type: "string", required: !1, description: "Label text." }, { name: "icon", type: "(filled: 'full' | 'half' | 'empty') => ReactNode", required: !1, description: "Custom icon renderer." }], p = [{ name: "onChange", parameters: [{ name: "value", type: "number" }], description: "Fires with new rating value." }], f = [{ name: "--nice-rating-color", default: "#f59e0b", description: "Star color" }, { name: "--nice-rating-empty-color", default: "var(--nice-border-color)", description: "Empty star color" }], m = [{ title: "Product Rating", code: `<NiceRating
  label="Rate this product"
  value={rating}
  onChange={setRating}
  half
/>`, language: "tsx" }, { title: "Custom Icons", code: `<NiceRating
  icon={(filled) => filled === 'full' ? '❤️' : '🤍'}
  count={3}
/>`, language: "tsx" }], g = [], b = {
  $schema: e,
  name: t,
  displayName: n,
  version: a,
  status: s,
  category: o,
  subcategory: i,
  package: "@nicetoDev/ui",
  description: r,
  since: c,
  platforms: l,
  keywords: d,
  props: u,
  events: p,
  cssVariables: f,
  examples: m,
  related: g
};
export {
  e as $schema,
  o as category,
  f as cssVariables,
  b as default,
  r as description,
  n as displayName,
  p as events,
  m as examples,
  d as keywords,
  t as name,
  l as platforms,
  u as props,
  g as related,
  c as since,
  s as status,
  i as subcategory,
  a as version
};
