@triptease/tt-combobox 5.5.15 → 5.5.17
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 +14 -0
- package/dist/src/types.d.ts +20 -4
- package/dist/src/types.js.map +1 -1
- package/package.json +3 -2
- package/tsconfig.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @triptease/tt-combobox
|
|
2
2
|
|
|
3
|
+
## 5.5.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Streamlined TS Config, reusing a shared file to reduce duplication and resolve issues where test files were being included in the bundle
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @triptease/icons@1.3.11
|
|
10
|
+
|
|
11
|
+
## 5.5.16
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 2d36888: Improve types such that only supported properties are included; Added support for `@triptease/html-jsx` framework
|
|
16
|
+
|
|
3
17
|
## 5.5.15
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/src/types.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface TTComboboxAttributes {
|
|
3
3
|
id?: string;
|
|
4
|
+
style?: React.CSSProperties;
|
|
5
|
+
[key: `data-${string}`]: string | undefined;
|
|
4
6
|
placeholder?: string;
|
|
5
7
|
disabled?: boolean;
|
|
6
8
|
multiselect?: boolean;
|
|
@@ -9,21 +11,35 @@ interface TTComboboxAttributes {
|
|
|
9
11
|
'open-upward'?: boolean;
|
|
10
12
|
name?: string;
|
|
11
13
|
required?: boolean;
|
|
12
|
-
|
|
13
|
-
style?: React.CSSProperties;
|
|
14
|
+
'aria-labelledby'?: string;
|
|
14
15
|
}
|
|
15
16
|
declare global {
|
|
16
17
|
namespace JSX {
|
|
17
18
|
interface IntrinsicElements {
|
|
18
|
-
'tt-combobox':
|
|
19
|
+
'tt-combobox': TTComboboxAttributes & {
|
|
20
|
+
class?: string;
|
|
21
|
+
};
|
|
19
22
|
}
|
|
20
23
|
}
|
|
21
24
|
namespace React {
|
|
22
25
|
namespace JSX {
|
|
23
26
|
interface IntrinsicElements {
|
|
24
|
-
'tt-
|
|
27
|
+
'tt-combobox': TTComboboxAttributes & {
|
|
28
|
+
className?: string;
|
|
29
|
+
ref?: React.Ref<unknown>;
|
|
30
|
+
children?: React.ReactNode;
|
|
31
|
+
};
|
|
25
32
|
}
|
|
26
33
|
}
|
|
27
34
|
}
|
|
28
35
|
}
|
|
36
|
+
declare module '@triptease/html-jsx' {
|
|
37
|
+
namespace JSX {
|
|
38
|
+
interface IntrinsicElements {
|
|
39
|
+
'tt-combobox': TTComboboxAttributes & {
|
|
40
|
+
class?: string;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
29
45
|
export {};
|
package/dist/src/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"","sourcesContent":["import React from 'react';\n\ninterface TTComboboxAttributes {\n id?: string;\n placeholder?: string;\n disabled?: boolean;\n multiselect?: boolean;\n 'display-select-all'?: boolean;\n invalid?: boolean;\n 'open-upward'?: boolean;\n name?: string;\n required?: boolean;\n
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"","sourcesContent":["import React from 'react';\nimport type {} from '@triptease/html-jsx'; // Stops declare module from erroring\n\ninterface TTComboboxAttributes {\n id?: string;\n style?: React.CSSProperties;\n [key: `data-${string}`]: string | undefined;\n placeholder?: string;\n disabled?: boolean;\n multiselect?: boolean;\n 'display-select-all'?: boolean;\n invalid?: boolean;\n 'open-upward'?: boolean;\n name?: string;\n required?: boolean;\n 'aria-labelledby'?: string;\n}\n\ndeclare global {\n namespace JSX {\n interface IntrinsicElements {\n 'tt-combobox': TTComboboxAttributes & { class?: string };\n }\n }\n\n namespace React {\n namespace JSX {\n interface IntrinsicElements {\n 'tt-combobox': TTComboboxAttributes & {\n className?: string;\n ref?: React.Ref<unknown>;\n children?: React.ReactNode;\n };\n }\n }\n }\n}\n\ndeclare module '@triptease/html-jsx' {\n namespace JSX {\n interface IntrinsicElements {\n 'tt-combobox': TTComboboxAttributes & { class?: string };\n }\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Webcomponent tt-combobox following open-wc recommendations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "@triptease",
|
|
6
|
-
"version": "5.5.
|
|
6
|
+
"version": "5.5.17",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/src/index.js",
|
|
9
9
|
"module": "dist/src/index.js",
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
"test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\""
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@triptease/
|
|
36
|
+
"@triptease/html-jsx": "^0.2.6",
|
|
37
|
+
"@triptease/icons": "1.3.11",
|
|
37
38
|
"lit": "^3.1.4"
|
|
38
39
|
},
|
|
39
40
|
"devDependencies": {
|