@fluid-topics/ft-search-period-filter 1.1.64

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,2 @@
1
+ export interface FtSearchPeriodFilterProperties {
2
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare const FtSearchPeriodFilterCssVariables: {
2
+ headerColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
3
+ };
4
+ export declare const styles: import("lit").CSSResult;
@@ -0,0 +1,46 @@
1
+ import { css } from "lit";
2
+ import { designSystemVariables, FtCssVariableFactory, setVariable } from "@fluid-topics/ft-wc-utils";
3
+ import { FtTypographyCssVariables } from "@fluid-topics/ft-typography/build/ft-typography.styles";
4
+ import { FtFilterCssVariables } from "@fluid-topics/ft-filter";
5
+ export const FtSearchPeriodFilterCssVariables = {
6
+ headerColor: FtCssVariableFactory.extend("--ft-search-period-filter-header-color", "", designSystemVariables.colorOnSurface),
7
+ };
8
+ // language=CSS
9
+ export const styles = css `
10
+ [part="container"] {
11
+ flex-grow: 1;
12
+ display: flex;
13
+ flex-direction: column;
14
+ max-height: 100%;
15
+ max-width: 100%;
16
+ }
17
+
18
+ [part="container"] > ft-radio-group {
19
+ flex-grow: 1;
20
+ flex-shrink: 1;
21
+ overflow: auto;
22
+ display: flex;
23
+ flex-direction: column;
24
+ ${setVariable(FtTypographyCssVariables.lineHeight, "22px")};
25
+ }
26
+
27
+ [part="header"] {
28
+ display: flex;
29
+ flex-wrap: wrap;
30
+ gap: 4px;
31
+ flex-shrink: 0;
32
+ padding: 0 10px;
33
+ margin-bottom: 8px;
34
+ color: ${FtSearchPeriodFilterCssVariables.headerColor};
35
+ }
36
+
37
+ [part="label"] {
38
+ display: block;
39
+ flex-shrink: 1;
40
+ flex-grow: 1;
41
+ word-break: break-word;
42
+ font-size: ${FtFilterCssVariables.labelFontSize};
43
+ ${setVariable(FtTypographyCssVariables.fontWeight, "bold")};
44
+ }
45
+
46
+ `;
@@ -0,0 +1,4 @@
1
+ export * from "./ft-search-period-filter.styles";
2
+ export * from "./ft-search-period-filter.properties";
3
+ export * from "./ft-search-period-filter";
4
+ export * from "./SearchPeriodFilterMessages";
package/build/index.js ADDED
@@ -0,0 +1,7 @@
1
+ import { customElement } from "@fluid-topics/ft-wc-utils";
2
+ import { FtSearchPeriodFilter } from "./ft-search-period-filter";
3
+ export * from "./ft-search-period-filter.styles";
4
+ export * from "./ft-search-period-filter.properties";
5
+ export * from "./ft-search-period-filter";
6
+ export * from "./SearchPeriodFilterMessages";
7
+ customElement("ft-search-period-filter")(FtSearchPeriodFilter);
package/package.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "@fluid-topics/ft-search-period-filter",
3
+ "version": "1.1.64",
4
+ "description": "Search period filter for integrated fluid-topics search pages",
5
+ "keywords": [
6
+ "Lit"
7
+ ],
8
+ "author": "Fluid Topics <devtopics@antidot.net>",
9
+ "license": "ISC",
10
+ "main": "build/index.js",
11
+ "web": "build/ft-search-locale-selector.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-filter": "1.1.64",
23
+ "@fluid-topics/ft-i18n": "1.1.64",
24
+ "@fluid-topics/ft-icon": "1.1.64",
25
+ "@fluid-topics/ft-search-context": "1.1.64",
26
+ "@fluid-topics/ft-tooltip": "1.1.64",
27
+ "@fluid-topics/ft-wc-utils": "1.1.64",
28
+ "lit": "3.1.0"
29
+ },
30
+ "devDependencies": {
31
+ "@fluid-topics/public-api": "1.0.65"
32
+ },
33
+ "gitHead": "de93ae28828fb464cab528f90580b63cdbbb195b"
34
+ }