@kashi-ui/react 0.18.0 → 0.19.0

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.
@@ -18,5 +18,5 @@ export interface ChipGroupProps {
18
18
  "aria-label"?: string;
19
19
  className?: string;
20
20
  }
21
- /** تراشه‌های فیلتر روشن و خاموش‌شونده، مثل دسته‌بندی‌ها یا وضعیت سفارش */
21
+ /** چیپ‌های فیلتر روشن و خاموش‌شونده، مثل دسته‌بندی‌ها یا وضعیت سفارش */
22
22
  export declare function ChipGroup({ options, value, defaultValue, onChange, single, "aria-label": ariaLabel, className }: ChipGroupProps): import("react").JSX.Element;
package/dist/ChipGroup.js CHANGED
@@ -3,7 +3,7 @@ import { useState } from "react";
3
3
  import { toFaDigits } from "@kashi-ui/persian";
4
4
  import { cx } from "./cx.js";
5
5
  const Check = () => (_jsx("svg", { className: "k-chip__check", viewBox: "0 0 20 20", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: _jsx("path", { d: "m5 10.5 3.2 3L15 7" }) }));
6
- /** تراشه‌های فیلتر روشن و خاموش‌شونده، مثل دسته‌بندی‌ها یا وضعیت سفارش */
6
+ /** چیپ‌های فیلتر روشن و خاموش‌شونده، مثل دسته‌بندی‌ها یا وضعیت سفارش */
7
7
  export function ChipGroup({ options, value, defaultValue = [], onChange, single, "aria-label": ariaLabel, className }) {
8
8
  const [inner, setInner] = useState(defaultValue);
9
9
  const current = value ?? inner;
package/dist/Slider.d.ts CHANGED
@@ -27,6 +27,6 @@ export interface SliderProps<V extends Val = Val> {
27
27
  separator?: string;
28
28
  };
29
29
  }
30
- /** لغزنده روی <input type="range"> بومی؛ با آرایهٔ دوتایی، بازه با دو دستگیره */
30
+ /** اسلایدر روی <input type="range"> بومی؛ با آرایهٔ دوتایی، بازه با دو دستگیره */
31
31
  export declare function Slider<V extends Val>({ label, value, defaultValue, onChange, min, max, step, showValue, format, marks, disabled, name, className, labels, }: SliderProps<V>): import("react").JSX.Element;
32
32
  export {};
package/dist/Slider.js CHANGED
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useId, useState } from "react";
3
3
  import { formatNumber } from "@kashi-ui/persian";
4
4
  import { cx } from "./cx.js";
5
- /** لغزنده روی <input type="range"> بومی؛ با آرایهٔ دوتایی، بازه با دو دستگیره */
5
+ /** اسلایدر روی <input type="range"> بومی؛ با آرایهٔ دوتایی، بازه با دو دستگیره */
6
6
  export function Slider({ label, value, defaultValue, onChange, min = 0, max = 100, step = 1, showValue = true, format = (n) => formatNumber(n), marks, disabled, name, className, labels = {}, }) {
7
7
  const id = useId();
8
8
  const isRange = Array.isArray(value ?? defaultValue);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kashi-ui/react",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "description": "کامپوننت‌های React دیزاین‌سیستم کاشی",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "test": "node --test test/*.test.mjs"
23
23
  },
24
24
  "peerDependencies": {
25
- "@kashi-ui/css": "^0.18.0",
25
+ "@kashi-ui/css": "^0.19.0",
26
26
  "react": ">=18"
27
27
  },
28
28
  "devDependencies": {
@@ -59,7 +59,7 @@
59
59
  }
60
60
  },
61
61
  "dependencies": {
62
- "@kashi-ui/bank-logos": "^0.18.0",
63
- "@kashi-ui/persian": "^0.18.0"
62
+ "@kashi-ui/bank-logos": "^0.19.0",
63
+ "@kashi-ui/persian": "^0.19.0"
64
64
  }
65
65
  }