@ncds/ui-admin 1.8.26-alpha.0 → 1.8.26-alpha.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/cjs/src/components/forms-and-input/combo-box/ComboBox.js +126 -16
- package/dist/cjs/src/components/forms-and-input/combo-box/__tests__/ComboBox.portal.test.js +3 -3
- package/dist/cjs/src/components/forms-and-input/combo-box/__tests__/ComboBox.test.js +455 -0
- package/dist/cjs/src/components/forms-and-input/input-base/__tests__/inputAutofill.test.js +83 -0
- package/dist/cjs/src/generated/scoped-css.js +1 -1
- package/dist/esm/src/components/forms-and-input/combo-box/ComboBox.js +127 -17
- package/dist/esm/src/components/forms-and-input/combo-box/__tests__/ComboBox.portal.test.js +3 -3
- package/dist/esm/src/components/forms-and-input/combo-box/__tests__/ComboBox.test.js +452 -0
- package/dist/esm/src/components/forms-and-input/input-base/__tests__/inputAutofill.test.js +80 -0
- package/dist/esm/src/generated/scoped-css.js +1 -1
- package/dist/temp/src/components/forms-and-input/combo-box/ComboBox.d.ts +1 -1
- package/dist/temp/src/components/forms-and-input/combo-box/ComboBox.js +119 -13
- package/dist/temp/src/components/forms-and-input/combo-box/__tests__/ComboBox.portal.test.js +3 -3
- package/dist/temp/src/components/forms-and-input/combo-box/__tests__/ComboBox.test.d.ts +1 -0
- package/dist/temp/src/components/forms-and-input/combo-box/__tests__/ComboBox.test.js +293 -0
- package/dist/temp/src/components/forms-and-input/input-base/__tests__/inputAutofill.test.d.ts +1 -0
- package/dist/temp/src/components/forms-and-input/input-base/__tests__/inputAutofill.test.js +88 -0
- package/dist/temp/src/generated/scoped-css.js +1 -1
- package/dist/types/src/components/forms-and-input/combo-box/ComboBox.d.ts +1 -1
- package/dist/types/src/components/forms-and-input/combo-box/__tests__/ComboBox.test.d.ts +1 -0
- package/dist/types/src/components/forms-and-input/input-base/__tests__/inputAutofill.test.d.ts +1 -0
- package/dist/ui-admin/assets/styles/style.css +7 -0
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ interface ComboBoxProps extends Omit<ComponentPropsWithRef<'div'>, 'size' | 'onC
|
|
|
10
10
|
destructive?: boolean;
|
|
11
11
|
size?: Extract<Size, 'xs' | 'sm'>;
|
|
12
12
|
optionItems?: OptionType[];
|
|
13
|
-
value?: OptionValue;
|
|
13
|
+
value?: OptionValue | null;
|
|
14
14
|
onChange?: OptionChangeHandler;
|
|
15
15
|
onSearch?: (searchValue: string) => void;
|
|
16
16
|
disabled?: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/types/src/components/forms-and-input/input-base/__tests__/inputAutofill.test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1696,6 +1696,8 @@ button {
|
|
|
1696
1696
|
}
|
|
1697
1697
|
.ncua-input input:-webkit-autofill, .ncua-input input:-webkit-autofill:hover, .ncua-input input:-webkit-autofill:focus, .ncua-input input:-webkit-autofill:active {
|
|
1698
1698
|
-webkit-box-shadow: 0 0 0 30px var(--base-white) inset !important;
|
|
1699
|
+
-webkit-text-fill-color: var(--gray-700);
|
|
1700
|
+
caret-color: var(--gray-700);
|
|
1699
1701
|
}
|
|
1700
1702
|
.ncua-input__icon-wrap {
|
|
1701
1703
|
padding: 0;
|
|
@@ -1753,6 +1755,11 @@ button {
|
|
|
1753
1755
|
color: var(--gray-300);
|
|
1754
1756
|
background-color: inherit;
|
|
1755
1757
|
}
|
|
1758
|
+
.ncua-input.is-disabled input:-webkit-autofill, .ncua-input.is-disabled input:-webkit-autofill:hover, .ncua-input.is-disabled input:-webkit-autofill:focus, .ncua-input.is-disabled input:-webkit-autofill:active {
|
|
1759
|
+
-webkit-box-shadow: 0 0 0 30px var(--gray-50) inset !important;
|
|
1760
|
+
-webkit-text-fill-color: var(--gray-300);
|
|
1761
|
+
caret-color: var(--gray-300);
|
|
1762
|
+
}
|
|
1756
1763
|
.ncua-input.is-disabled .ncua-input__destructive-icon {
|
|
1757
1764
|
display: none;
|
|
1758
1765
|
}
|