react-iro-gradient-picker 1.4.2 → 1.4.3
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/dist/index.css +1 -1
- package/dist/index.es.css +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -7449,7 +7449,7 @@ var DefaultColorPanel = function (_a) {
|
|
7449
7449
|
var _f = sizeClasses[size], buttonSize = _f.button, gapSize = _f.gap;
|
7450
7450
|
return (React__default["default"].createElement("div", { className: 'w-full' },
|
7451
7451
|
React__default["default"].createElement("h3", { className: 'text-sm font-medium colorpicker-text' }, "Popular Colors"),
|
7452
|
-
React__default["default"].createElement("div", { className: cn('grid grid-cols-5 py-4', gapSize) }, formatedDefColors.map(function (item, index) {
|
7452
|
+
React__default["default"].createElement("div", { className: cn('grid grid-cols-5 justify-items-center py-4 px-1', gapSize) }, formatedDefColors.map(function (item, index) {
|
7453
7453
|
switch (colorType) {
|
7454
7454
|
case 'gradient':
|
7455
7455
|
if (typeof item !== 'string') {
|