@nevuto/components 0.17.1 → 0.17.2

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.
@@ -5,19 +5,19 @@ export interface ColorPickerProps {
5
5
  showAlpha?: boolean;
6
6
  alwaysOpen?: boolean;
7
7
  /**
8
- * Picker’ın alt kısmında gösterilecek renk seçenekleri.
8
+ * Colors offered at the bottom of the picker.
9
9
  *
10
- * undefined olduğunda geriye uyumluluk için mevcut hazır renkler gösterilir.
11
- * Bir array verildiğinde yalnızca verilen renkler gösterilir.
12
- * Boş array verildiğinde hazır renk alanı hiç gösterilmez.
10
+ * When undefined, the built-in presets are shown (backwards compatible).
11
+ * An array shows only the given colors.
12
+ * An empty array hides the presets.
13
13
  */
14
14
  presetColors?: string[];
15
15
  /**
16
- * Verildiğinde picker içeriğinin en altında tam genişlikte
17
- * bir Delete butonu gösterilir.
16
+ * When given, a full-width Delete button is shown at the bottom
17
+ * of the picker.
18
18
  */
19
19
  onDelete?: () => void;
20
- /** Delete butonunun metni. Varsayılan: "Delete" */
20
+ /** Label of the Delete button. Default: "Delete" */
21
21
  deleteLabel?: string;
22
22
  /** Available editing modes. Existing usages remain solid-only by default. */
23
23
  mode?: 'solid' | 'gradient' | 'both';
@@ -1 +1 @@
1
- {"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../src/ColorPicker/ColorPicker.tsx"],"names":[],"mappings":"AAyFA,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,IA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UAAU,CAAA;IAClC,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iEAAiE;IACjE,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,SAAS;IAAG,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE;AAwB1E,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,YAAwB,EACxB,QAAQ,EACR,SAAiB,EACjB,UAAkB,EAClB,YAAY,EACZ,QAAQ,EACR,WAAsB,EACtB,IAAc,EACd,WAAqB,EACrB,UAAoB,EACpB,aAA0B,GAC3B,EAAE,gBAAgB,+BAiVlB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nevuto/components",
3
- "version": "0.17.1",
3
+ "version": "0.17.2",
4
4
  "description": "React components of Nevuto UI, the design system of the Nevuto admin.",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
@@ -21,9 +21,9 @@
21
21
  "*.css"
22
22
  ],
23
23
  "dependencies": {
24
- "@nevuto/icons": "0.1.2",
24
+ "@nevuto/tokens": "0.0.12",
25
25
  "@nevuto/hooks": "0.0.3",
26
- "@nevuto/tokens": "0.0.11"
26
+ "@nevuto/icons": "0.1.3"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react": ">=18.0.0",
@@ -36,8 +36,8 @@
36
36
  "typescript": "^5.4.5",
37
37
  "vite": "^5.2.0",
38
38
  "vite-plugin-dts": "^5.0.2",
39
- "@nevuto/typescript-config": "0.0.1",
40
- "@nevuto/eslint-config": "0.0.1"
39
+ "@nevuto/eslint-config": "0.0.1",
40
+ "@nevuto/typescript-config": "0.0.1"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "vite build",