akeyless-client-commons 1.0.89 → 1.0.91
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/components/index.js
CHANGED
|
@@ -5564,6 +5564,7 @@ var FlagComponent = function(param) {
|
|
|
5564
5564
|
// src/components/forms/ModularForm/formElements.tsx
|
|
5565
5565
|
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
5566
5566
|
var defaultContainerClassName = "flex justify-start items-center gap-2 w-full";
|
|
5567
|
+
var defaultBorderClassName = "border-[1px] border-black/10 hover:border-black rounded-sm";
|
|
5567
5568
|
var useSortValues = function(options, sortDirection, sortAsNumber) {
|
|
5568
5569
|
var sortOptions = (0, import_react12.useMemo)(function() {
|
|
5569
5570
|
var sorted = sortAsNumber ? options.sort(function(a, b) {
|
|
@@ -5608,7 +5609,7 @@ var InputContainer = function(param) {
|
|
|
5608
5609
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("input", _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, props), {
|
|
5609
5610
|
minLength: minLength,
|
|
5610
5611
|
placeholder: placeholder,
|
|
5611
|
-
className: cn("flex-1 bg-inherit py-1 px-2",
|
|
5612
|
+
className: cn("flex-1 bg-inherit py-1 px-2", defaultBorderClassName, elementClassName),
|
|
5612
5613
|
defaultValue: defaultValue
|
|
5613
5614
|
}), validationProps), {
|
|
5614
5615
|
value: value,
|
|
@@ -5652,7 +5653,7 @@ var SelectContainer = function(param) {
|
|
|
5652
5653
|
},
|
|
5653
5654
|
children: [
|
|
5654
5655
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", {
|
|
5655
|
-
className: cn("max-h-6 cursor-pointer",
|
|
5656
|
+
className: cn("max-h-6 cursor-pointer", defaultBorderClassName, selectClassName),
|
|
5656
5657
|
children: ((_options_find = options.find(function(opt) {
|
|
5657
5658
|
return opt.value === selectedValue;
|
|
5658
5659
|
})) === null || _options_find === void 0 ? void 0 : _options_find.label) || selectedValue
|
|
@@ -5786,7 +5787,7 @@ var TextAreaContainer = function(param) {
|
|
|
5786
5787
|
onChange: onChange,
|
|
5787
5788
|
minLength: minLength,
|
|
5788
5789
|
placeholder: placeholder,
|
|
5789
|
-
className: cn("flex-1 bg-inherit
|
|
5790
|
+
className: cn("flex-1 bg-inherit min-h-16 max-h-52 px-2 py-1", defaultBorderClassName, elementClassName),
|
|
5790
5791
|
defaultValue: defaultValue,
|
|
5791
5792
|
required: required,
|
|
5792
5793
|
name: name,
|
|
@@ -5360,6 +5360,7 @@ var FlagComponent = function(param) {
|
|
|
5360
5360
|
// src/components/forms/ModularForm/formElements.tsx
|
|
5361
5361
|
import { jsx as jsx19, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5362
5362
|
var defaultContainerClassName = "flex justify-start items-center gap-2 w-full";
|
|
5363
|
+
var defaultBorderClassName = "border-[1px] border-black/10 hover:border-black rounded-sm";
|
|
5363
5364
|
var useSortValues = function(options, sortDirection, sortAsNumber) {
|
|
5364
5365
|
var sortOptions = useMemo8(function() {
|
|
5365
5366
|
var sorted = sortAsNumber ? options.sort(function(a, b) {
|
|
@@ -5404,7 +5405,7 @@ var InputContainer = function(param) {
|
|
|
5404
5405
|
/* @__PURE__ */ jsx19("input", _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, props), {
|
|
5405
5406
|
minLength: minLength,
|
|
5406
5407
|
placeholder: placeholder,
|
|
5407
|
-
className: cn("flex-1 bg-inherit py-1 px-2",
|
|
5408
|
+
className: cn("flex-1 bg-inherit py-1 px-2", defaultBorderClassName, elementClassName),
|
|
5408
5409
|
defaultValue: defaultValue
|
|
5409
5410
|
}), validationProps), {
|
|
5410
5411
|
value: value,
|
|
@@ -5448,7 +5449,7 @@ var SelectContainer = function(param) {
|
|
|
5448
5449
|
},
|
|
5449
5450
|
children: [
|
|
5450
5451
|
/* @__PURE__ */ jsx19("div", {
|
|
5451
|
-
className: cn("max-h-6 cursor-pointer",
|
|
5452
|
+
className: cn("max-h-6 cursor-pointer", defaultBorderClassName, selectClassName),
|
|
5452
5453
|
children: ((_options_find = options.find(function(opt) {
|
|
5453
5454
|
return opt.value === selectedValue;
|
|
5454
5455
|
})) === null || _options_find === void 0 ? void 0 : _options_find.label) || selectedValue
|
|
@@ -5582,7 +5583,7 @@ var TextAreaContainer = function(param) {
|
|
|
5582
5583
|
onChange: onChange,
|
|
5583
5584
|
minLength: minLength,
|
|
5584
5585
|
placeholder: placeholder,
|
|
5585
|
-
className: cn("flex-1 bg-inherit
|
|
5586
|
+
className: cn("flex-1 bg-inherit min-h-16 max-h-52 px-2 py-1", defaultBorderClassName, elementClassName),
|
|
5586
5587
|
defaultValue: defaultValue,
|
|
5587
5588
|
required: required,
|
|
5588
5589
|
name: name,
|