@leafygreen-ui/combobox 6.0.8 → 6.0.9
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/CHANGELOG.md +6 -0
- package/dist/Combobox/Combobox.styles.d.ts +1 -1
- package/dist/Combobox/Combobox.styles.d.ts.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/utils/ComboboxTestUtils.d.ts +1 -1
- package/dist/utils/ComboboxTestUtils.d.ts.map +1 -1
- package/dist/utils/wrapJSX.d.ts +1 -1
- package/dist/utils/wrapJSX.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/Combobox/Combobox.styles.ts +0 -9
|
@@ -15,7 +15,7 @@ export declare const groupedOptions: Array<NestedObject>;
|
|
|
15
15
|
* @param props Combobox props
|
|
16
16
|
* @returns Combobox JSX
|
|
17
17
|
*/
|
|
18
|
-
export declare const getComboboxJSX: (props?: renderComboboxProps
|
|
18
|
+
export declare const getComboboxJSX: (props?: renderComboboxProps) => JSX.Element;
|
|
19
19
|
/**
|
|
20
20
|
* Renders a combobox
|
|
21
21
|
* @param select `'single' | 'multiple'`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxTestUtils.d.ts","sourceRoot":"","sources":["../../src/utils/ComboboxTestUtils.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,YAAY,EACb,MAAM,mBAAmB,CAAC;AAG3B,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;CACxC;AAED,oBAAY,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;AAC3C,aAAK,mBAAmB,GAAG;IACzB,OAAO,CAAC,EAAE,KAAK,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,WAAW,CAAC,GAAG,IAAI;;;gBAgBxC,MAAM,GAAG,WAAW,GAAG,IAAI;gBAC3B,OAAO,GAAG,MAAM,GAAG,WAAW,GAAG,IAAI;gBACrC,MAAM,MAAM,CAAC,GAAG,MAAM,WAAW,CAAC,GAAG,IAAI;;yBA5BjD,MAAM,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6D7C;AAED;;;;GAIG;AACH,eAAO,MAAM,MAAM,cAAe,OAAO,YAAmC,CAAC;AAiC7E,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,IAAI,CAAC;QACb,UAAU,QAAQ,CAAC,CAAC;YAClB,cAAc,IAAI,CAAC,CAAC;SACrB;KACF;CACF"}
|
package/dist/utils/wrapJSX.d.ts
CHANGED
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
* @returns `JSX.Element`
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
|
-
export declare const wrapJSX: (str: string, wrap?: string
|
|
14
|
+
export declare const wrapJSX: (str: string, wrap?: string, element?: keyof HTMLElementTagNameMap) => JSX.Element;
|
|
15
15
|
//# sourceMappingURL=wrapJSX.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrapJSX.d.ts","sourceRoot":"","sources":["../../src/utils/wrapJSX.tsx"],"names":[],"mappings":";AAGA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,OAAO,QACb,MAAM,
|
|
1
|
+
{"version":3,"file":"wrapJSX.d.ts","sourceRoot":"","sources":["../../src/utils/wrapJSX.tsx"],"names":[],"mappings":";AAGA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,OAAO,QACb,MAAM,SACJ,MAAM,YACH,MAAM,qBAAqB,KACpC,WAqCF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafygreen-ui/combobox",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.9",
|
|
4
4
|
"description": "leafyGreen UI Kit Combobox",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@leafygreen-ui/leafygreen-provider": "^3.1.4"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@leafygreen-ui/button": "^21.0.
|
|
45
|
+
"@leafygreen-ui/button": "^21.0.1"
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/mongodb/leafygreen-ui/tree/main/packages/combobox",
|
|
48
48
|
"repository": {
|
|
@@ -6,7 +6,6 @@ import { palette } from '@leafygreen-ui/palette';
|
|
|
6
6
|
import {
|
|
7
7
|
focusRing,
|
|
8
8
|
fontFamilies,
|
|
9
|
-
hoverRing,
|
|
10
9
|
spacing,
|
|
11
10
|
transitionDuration,
|
|
12
11
|
typeScales,
|
|
@@ -132,19 +131,11 @@ export const comboboxThemeStyles: Record<Theme, string> = {
|
|
|
132
131
|
color: ${palette.gray.dark3};
|
|
133
132
|
background-color: ${palette.white};
|
|
134
133
|
border-color: ${palette.gray.base};
|
|
135
|
-
|
|
136
|
-
&:hover {
|
|
137
|
-
box-shadow: ${hoverRing[Theme.Light].gray};
|
|
138
|
-
}
|
|
139
134
|
`,
|
|
140
135
|
[Theme.Dark]: css`
|
|
141
136
|
color: ${palette.gray.light2};
|
|
142
137
|
background-color: ${palette.gray.dark4};
|
|
143
138
|
border-color: ${palette.gray.base};
|
|
144
|
-
|
|
145
|
-
&:hover {
|
|
146
|
-
box-shadow: ${hoverRing[Theme.Dark].gray};
|
|
147
|
-
}
|
|
148
139
|
`,
|
|
149
140
|
};
|
|
150
141
|
|