@fluid-topics/ft-chip-choice 1.1.117

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.
@@ -0,0 +1,5 @@
1
+ export interface FtChipChoiceProperties {
2
+ name: string;
3
+ label?: string;
4
+ multiselect?: boolean;
5
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare const FtChipChoiceCssVariables: {};
2
+ export declare const styles: import("lit").CSSResult;
@@ -0,0 +1,15 @@
1
+ import { css } from "lit";
2
+ export const FtChipChoiceCssVariables = {};
3
+ // language=CSS
4
+ export const styles = css `
5
+ :host {
6
+ display: flex;
7
+ flex-direction: row;
8
+ gap: 8px;
9
+ flex-wrap: wrap;
10
+ }
11
+
12
+ :host(:focus-visible) {
13
+ outline: none;
14
+ }
15
+ `;
@@ -0,0 +1,6 @@
1
+ export * from "./ft-chip-choice.styles";
2
+ export * from "./ft-chip-choice.properties";
3
+ export * from "./ft-chip-choice";
4
+ export * from "./ft-chip-choice-option";
5
+ export * from "./ft-chip-choice-option.styles";
6
+ export * from "./ft-chip-choice-option.properties";
package/build/index.js ADDED
@@ -0,0 +1,11 @@
1
+ import { customElement } from "@fluid-topics/ft-wc-utils";
2
+ import { FtChipChoice } from "./ft-chip-choice";
3
+ import { FtChipChoiceOption } from "./ft-chip-choice-option";
4
+ export * from "./ft-chip-choice.styles";
5
+ export * from "./ft-chip-choice.properties";
6
+ export * from "./ft-chip-choice";
7
+ export * from "./ft-chip-choice-option";
8
+ export * from "./ft-chip-choice-option.styles";
9
+ export * from "./ft-chip-choice-option.properties";
10
+ customElement("ft-chip-choice")(FtChipChoice);
11
+ customElement("ft-chip-choice-option")(FtChipChoiceOption);
package/package.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "@fluid-topics/ft-chip-choice",
3
+ "version": "1.1.117",
4
+ "description": "Chip-choice is a component used to make single-select or multi-select selections.",
5
+ "keywords": [
6
+ "Lit"
7
+ ],
8
+ "author": "Fluid Topics <devtopics@antidot.net>",
9
+ "license": "ISC",
10
+ "main": "build/index.js",
11
+ "web": "build/ft-chip-choice.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/ft-chip": "1.1.117",
23
+ "@fluid-topics/ft-wc-utils": "1.1.117",
24
+ "lit": "3.1.0"
25
+ },
26
+ "devDependencies": {
27
+ "@fluid-topics/ft-wc-test-utils": "1.1.117"
28
+ },
29
+ "gitHead": "061a8cebc72403790111ca8292208f4213b84312"
30
+ }