@fluid-topics/ftds-combobox 2.0.37
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/build/BaseComboboxSuggestionProvider.d.ts +2 -0
- package/build/BaseComboboxSuggestionProvider.js +22 -0
- package/build/FtdsBaseComboboxMessages.d.ts +10 -0
- package/build/FtdsBaseComboboxMessages.js +9 -0
- package/build/FtdsComboboxMultiValueMessages.d.ts +10 -0
- package/build/FtdsComboboxMultiValueMessages.js +11 -0
- package/build/define.d.ts +1 -0
- package/build/define.js +3 -0
- package/build/definitions.d.ts +7 -0
- package/build/definitions.js +6 -0
- package/build/ftds-base-combobox.d.ts +71 -0
- package/build/ftds-base-combobox.js +540 -0
- package/build/ftds-base-combobox.properties.d.ts +39 -0
- package/build/ftds-base-combobox.properties.js +14 -0
- package/build/ftds-base-combobox.styles.d.ts +1 -0
- package/build/ftds-base-combobox.styles.js +111 -0
- package/build/ftds-combobox-multi-value.d.ts +30 -0
- package/build/ftds-combobox-multi-value.js +218 -0
- package/build/ftds-combobox-multi-value.properties.d.ts +14 -0
- package/build/ftds-combobox-multi-value.properties.js +5 -0
- package/build/ftds-combobox-multi-value.styles.d.ts +1 -0
- package/build/ftds-combobox-multi-value.styles.js +58 -0
- package/build/ftds-combobox.d.ts +21 -0
- package/build/ftds-combobox.js +96 -0
- package/build/ftds-combobox.light.js +3486 -0
- package/build/ftds-combobox.min.js +3607 -0
- package/build/ftds-combobox.properties.d.ts +8 -0
- package/build/ftds-combobox.properties.js +5 -0
- package/build/ftds-combobox.styles.d.ts +1 -0
- package/build/ftds-combobox.styles.js +36 -0
- package/build/index.d.ts +11 -0
- package/build/index.js +11 -0
- package/package.json +36 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FtdsBaseComboboxProperties } from "./ftds-base-combobox.properties";
|
|
2
|
+
export interface FtdsComboboxProperties extends FtdsBaseComboboxProperties {
|
|
3
|
+
}
|
|
4
|
+
export declare class FtdsComboboxChangeEvent extends CustomEvent<{
|
|
5
|
+
value: string;
|
|
6
|
+
}> {
|
|
7
|
+
constructor(value: string);
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const comboboxStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
import { floatingMenu } from "@fluid-topics/design-system-variables";
|
|
3
|
+
// language=css
|
|
4
|
+
export const comboboxStyles = css `
|
|
5
|
+
:host {
|
|
6
|
+
display: block;
|
|
7
|
+
position: relative;
|
|
8
|
+
width: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.listbox-option {
|
|
12
|
+
background-color: color-mix(in srgb, ${floatingMenu.defaultUncheckedStateLayerColor} calc(${floatingMenu.defaultUncheckedDefaultStateLayerOpacity} * 100%), transparent);
|
|
13
|
+
color: ${floatingMenu.defaultUncheckedColor};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.listbox-option:hover {
|
|
17
|
+
background-color: color-mix(in srgb, ${floatingMenu.defaultUncheckedStateLayerColor} calc(${floatingMenu.defaultUncheckedHoverStateLayerOpacity} * 100%), transparent);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.listbox-option[data-active="true"] {
|
|
21
|
+
background-color: color-mix(in srgb, ${floatingMenu.defaultUncheckedStateLayerColor} calc(${floatingMenu.defaultUncheckedFocusStateLayerOpacity} * 100%), transparent);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.listbox-option[aria-selected="true"] {
|
|
25
|
+
background-color: color-mix(in srgb, ${floatingMenu.defaultCheckedStateLayerColor} calc(${floatingMenu.defaultCheckedDefaultStateLayerOpacity} * 100%), transparent);
|
|
26
|
+
color: ${floatingMenu.defaultCheckedColor};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.listbox-option[aria-selected="true"]:hover {
|
|
30
|
+
background-color: color-mix(in srgb, ${floatingMenu.defaultCheckedStateLayerColor} calc(${floatingMenu.defaultCheckedHoverStateLayerOpacity} * 100%), transparent);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.listbox-option[aria-selected="true"][data-active="true"] {
|
|
34
|
+
background-color: color-mix(in srgb, ${floatingMenu.defaultCheckedStateLayerColor} calc(${floatingMenu.defaultCheckedFocusStateLayerOpacity} * 100%), transparent);
|
|
35
|
+
}
|
|
36
|
+
`;
|
package/build/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./ftds-base-combobox";
|
|
2
|
+
export * from "./ftds-base-combobox.properties";
|
|
3
|
+
export * from "./ftds-base-combobox.styles";
|
|
4
|
+
export * from "./BaseComboboxSuggestionProvider";
|
|
5
|
+
export * from "./ftds-combobox";
|
|
6
|
+
export * from "./ftds-combobox.properties";
|
|
7
|
+
export * from "./ftds-combobox.styles";
|
|
8
|
+
export * from "./ftds-combobox-multi-value";
|
|
9
|
+
export * from "./ftds-combobox-multi-value.properties";
|
|
10
|
+
export * from "./ftds-combobox-multi-value.styles";
|
|
11
|
+
import "./define";
|
package/build/index.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./ftds-base-combobox";
|
|
2
|
+
export * from "./ftds-base-combobox.properties";
|
|
3
|
+
export * from "./ftds-base-combobox.styles";
|
|
4
|
+
export * from "./BaseComboboxSuggestionProvider";
|
|
5
|
+
export * from "./ftds-combobox";
|
|
6
|
+
export * from "./ftds-combobox.properties";
|
|
7
|
+
export * from "./ftds-combobox.styles";
|
|
8
|
+
export * from "./ftds-combobox-multi-value";
|
|
9
|
+
export * from "./ftds-combobox-multi-value.properties";
|
|
10
|
+
export * from "./ftds-combobox-multi-value.styles";
|
|
11
|
+
import "./define";
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@fluid-topics/ftds-combobox",
|
|
3
|
+
"version": "2.0.37",
|
|
4
|
+
"description": "Single-select combobox for the Fluid Topics Design System",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"Lit"
|
|
7
|
+
],
|
|
8
|
+
"author": "Fluid Topics <devtopics@antidot.net>",
|
|
9
|
+
"license": "ISC",
|
|
10
|
+
"main": "build/index.js",
|
|
11
|
+
"web": "build/ftds-combobox.min.js",
|
|
12
|
+
"typings": "build/index",
|
|
13
|
+
"files": [
|
|
14
|
+
"build/**/*.js",
|
|
15
|
+
"build/**/*.ts"
|
|
16
|
+
],
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@fluid-topics/design-system-variables": "3.4.1",
|
|
23
|
+
"@fluid-topics/ft-base-input": "2.0.37",
|
|
24
|
+
"@fluid-topics/ft-chip-group": "2.0.37",
|
|
25
|
+
"@fluid-topics/ft-i18n": "2.0.37",
|
|
26
|
+
"@fluid-topics/ft-icon": "2.0.37",
|
|
27
|
+
"@fluid-topics/ft-notice": "2.0.37",
|
|
28
|
+
"@fluid-topics/ft-typography": "2.0.37",
|
|
29
|
+
"@fluid-topics/ft-wc-utils": "2.0.37",
|
|
30
|
+
"lit": "3.1.0"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@fluid-topics/ft-wc-test-utils": "2.0.37"
|
|
34
|
+
},
|
|
35
|
+
"gitHead": "ef1f68e09e0331293931458a6479b551dcc4cecc"
|
|
36
|
+
}
|