@harnessio/ui 1.1.0 → 1.1.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.
- package/dist/components.d.ts +8 -0
- package/dist/components.js +1 -1
- package/dist/{index-Cm6R4vNm.js → index-AkUcjJrn.js} +4314 -4302
- package/dist/{index-Cm6R4vNm.js.map → index-AkUcjJrn.js.map} +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1552,6 +1552,7 @@ declare namespace components {
|
|
|
1552
1552
|
SortValue,
|
|
1553
1553
|
EntityFormLayout,
|
|
1554
1554
|
MultiSelectOption,
|
|
1555
|
+
MultiSelectCreationValueMode,
|
|
1555
1556
|
MultiSelectProps,
|
|
1556
1557
|
MultiSelectRef,
|
|
1557
1558
|
MultiSelect,
|
|
@@ -4732,6 +4733,8 @@ declare interface MoreActionsTooltipProps {
|
|
|
4732
4733
|
|
|
4733
4734
|
declare const MultiSelect: ForwardRefExoticComponent<MultiSelectProps & RefAttributes<MultiSelectRef>>;
|
|
4734
4735
|
|
|
4736
|
+
declare type MultiSelectCreationValueMode = 'keyValue' | 'literal';
|
|
4737
|
+
|
|
4735
4738
|
declare interface MultiSelectFilterOptionConfig<T extends string = string> extends FilterOptionConfigBase<T, Array<CheckboxOptions>> {
|
|
4736
4739
|
type: FilterFieldTypes.MultiSelect;
|
|
4737
4740
|
filterFieldConfig?: {
|
|
@@ -4767,6 +4770,12 @@ declare interface MultiSelectProps extends CommonInputsProp {
|
|
|
4767
4770
|
disabled?: boolean;
|
|
4768
4771
|
className?: string;
|
|
4769
4772
|
disallowCreation?: boolean;
|
|
4773
|
+
/**
|
|
4774
|
+
* Controls how typed input becomes tags on Enter. Comma-separated values are supported.
|
|
4775
|
+
* - `keyValue` — splits on `:` (e.g. `env:prod`, `app:web`)
|
|
4776
|
+
* - `literal` — no split on `:` (e.g. `https://example.com`, `image:latest`, `host:8080`)
|
|
4777
|
+
*/
|
|
4778
|
+
creationValueMode?: MultiSelectCreationValueMode;
|
|
4770
4779
|
creationLabel?: string;
|
|
4771
4780
|
isLoading?: boolean;
|
|
4772
4781
|
theme?: VariantProps<typeof multiSelectVariants>['theme'];
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as s } from "./index-CdF49wK7.js";
|
|
2
|
-
import { i as e } from "./index-
|
|
2
|
+
import { i as e } from "./index-AkUcjJrn.js";
|
|
3
3
|
import { i as a } from "./index-BV8td_DQ.js";
|
|
4
4
|
import { i as m } from "./index-C4bDY5-3.js";
|
|
5
5
|
import { i as f } from "./index-DchZrYRY.js";
|