@konoma-development/react-components 0.3.5 → 0.3.6

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.
@@ -14340,6 +14340,7 @@ function Select({
14340
14340
  indicatorClasses = baseClasses$a.indicatorClasses,
14341
14341
  valueContainerClasses = baseClasses$a.valueContainerClasses,
14342
14342
  options = [],
14343
+ hiddenOptions = [],
14343
14344
  placeholder,
14344
14345
  className,
14345
14346
  required,
@@ -14441,7 +14442,7 @@ function Select({
14441
14442
  input: () => controlClasses || "",
14442
14443
  indicatorSeparator: () => "hidden",
14443
14444
  option: (state) => {
14444
- if (state.data.value === CUSTOM_ENTRY_VALUE) {
14445
+ if (state.data.value === CUSTOM_ENTRY_VALUE || hiddenOptions.includes(state.data.value)) {
14445
14446
  return "hidden";
14446
14447
  }
14447
14448
  if (state.isSelected) {