@startupjs-ui/color-picker 0.1.13 → 0.1.16
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.
- package/CHANGELOG.md +8 -0
- package/README.mdx +3 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.1.16](https://github.com/startupjs/startupjs-ui/compare/v0.1.15...v0.1.16) (2026-02-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @startupjs-ui/color-picker
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.1.13](https://github.com/startupjs/startupjs-ui/compare/v0.1.12...v0.1.13) (2026-02-03)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @startupjs-ui/color-picker
|
package/README.mdx
CHANGED
|
@@ -4,7 +4,9 @@ import { Sandbox } from '@startupjs-ui/docs'
|
|
|
4
4
|
|
|
5
5
|
# ColorPicker
|
|
6
6
|
|
|
7
|
-
ColorPicker
|
|
7
|
+
ColorPicker lets the user select a color from a color palette. It works with colors in hexadecimal format and displays a button showing the currently selected color.
|
|
8
|
+
|
|
9
|
+
Use the `value` prop to set the current color (defaults to `'#fff'`) and the `onChangeColor` callback to receive the selected color. The component also accepts a `style` prop for custom styles, a `size` prop (`'s'`, `'m'`, or `'l'`, defaults to `'m'`) to control the button size, a `disabled` prop to prevent interaction, and a `ref` for imperative control of the picker.
|
|
8
10
|
|
|
9
11
|
## Import
|
|
10
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@startupjs-ui/color-picker",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
"types": "index.d.ts",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@startupjs-ui/button": "^0.1.
|
|
11
|
+
"@startupjs-ui/button": "^0.1.16",
|
|
12
12
|
"@startupjs-ui/core": "^0.1.11",
|
|
13
|
-
"@startupjs-ui/div": "^0.1.
|
|
14
|
-
"@startupjs-ui/modal": "^0.1.
|
|
15
|
-
"@startupjs-ui/scroll-view": "^0.1.
|
|
13
|
+
"@startupjs-ui/div": "^0.1.16",
|
|
14
|
+
"@startupjs-ui/modal": "^0.1.16",
|
|
15
|
+
"@startupjs-ui/scroll-view": "^0.1.16",
|
|
16
16
|
"color": "^3.1.2",
|
|
17
17
|
"react-native-color-picker": "^0.6.0"
|
|
18
18
|
},
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"react-native": "*",
|
|
22
22
|
"startupjs": "*"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "9943aa3566d5d80f5b404473906eb3c0611f9ee5"
|
|
25
25
|
}
|