@delightui/components 0.1.79 → 0.1.80

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.
@@ -9,6 +9,7 @@ declare const usePresenter: (props: ChipInputProps) => {
9
9
  onValueChange: (value: string) => void;
10
10
  placeholder: string;
11
11
  className: string;
12
+ disabled: boolean;
12
13
  };
13
14
  inputRef: import("react").RefObject<HTMLInputElement>;
14
15
  })[];
@@ -24,5 +25,9 @@ declare const usePresenter: (props: ChipInputProps) => {
24
25
  variantProps: {
25
26
  'component-variant': string;
26
27
  };
28
+ stateProps: {
29
+ invalid: boolean;
30
+ disabled: boolean;
31
+ };
27
32
  };
28
33
  export default usePresenter;
@@ -4,12 +4,13 @@ declare const usePresenter: (props: FormFieldProps) => {
4
4
  required: boolean | undefined;
5
5
  infoIcon: import("react").ReactNode;
6
6
  children: import("react").ReactNode;
7
- hasMessage: boolean | undefined;
8
7
  messageText: string | undefined;
9
- isInvalid: boolean;
10
8
  fieldId: string;
11
9
  variantProps: {
12
10
  'component-variant': string;
13
11
  };
12
+ showMessageContainer: string | true | undefined;
13
+ showErrorIcon: string | false | undefined;
14
+ showInfoIcon: string | false | undefined;
14
15
  };
15
16
  export default usePresenter;
@@ -15,12 +15,12 @@ declare const usePresenter: (props: SelectProps) => {
15
15
  isOpen: boolean;
16
16
  selectedValue: import("../..").FieldValue;
17
17
  resetSelectedValue: () => void;
18
- otherProps: {
18
+ triggerProps: {
19
+ invalid: boolean;
19
20
  disabled?: boolean | undefined;
20
21
  required?: boolean | undefined;
21
22
  checked?: boolean | undefined;
22
23
  value?: import("../..").FieldValue | undefined;
23
- invalid?: boolean | undefined;
24
24
  onValueChange?: ((value: import("../..").FieldValue) => void) | undefined;
25
25
  initialValue?: import("../..").FieldValue | undefined;
26
26
  role?: import("react").AriaRole | undefined;
@@ -3742,6 +3742,13 @@ span.flatpickr-weekday {
3742
3742
  --input-border-left-width: 0px;
3743
3743
  }
3744
3744
 
3745
+ .ChipInput-module_chipInput__tCCgW .ChipInput-module_input__J979Z.ChipInput-module_disabledInput__ciuDU {
3746
+ --input-border-top-width: 0px;
3747
+ --input-border-right-width: 0px;
3748
+ --input-border-bottom-width: 0px;
3749
+ --input-border-left-width: 0px;
3750
+ }
3751
+
3745
3752
  .ChipInput-module_chipInput__tCCgW .ChipInput-module_input__J979Z:hover:not(:disabled), .ChipInput-module_chipInput__tCCgW .ChipInput-module_input__J979Z:active:not(:disabled), .ChipInput-module_chipInput__tCCgW .ChipInput-module_input__J979Z:has(:focus-visible):not(:disabled) {
3746
3753
  --input-border-top-width: 0px;
3747
3754
  --input-border-right-width: 0px;