@fusion.dev/helix 0.13.1 → 0.13.2
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/custom-elements.json +20 -0
- package/dist/combobox/root/combobox-root.css.js +0 -14
- package/dist/combobox/root/combobox-root.js +2 -1
- package/dist/filter-input/root/filter-input-root.css.js +0 -14
- package/dist/filter-input/root/filter-input-root.js +8 -1
- package/dist/shared/tags/tags.css.d.ts +1 -0
- package/dist/shared/tags/tags.css.js +14 -0
- package/package.json +6 -6
package/custom-elements.json
CHANGED
|
@@ -71764,6 +71764,26 @@
|
|
|
71764
71764
|
}
|
|
71765
71765
|
]
|
|
71766
71766
|
},
|
|
71767
|
+
{
|
|
71768
|
+
"kind": "javascript-module",
|
|
71769
|
+
"path": "src/shared/tags/tags.css.ts",
|
|
71770
|
+
"declarations": [
|
|
71771
|
+
{
|
|
71772
|
+
"kind": "variable",
|
|
71773
|
+
"name": "styles"
|
|
71774
|
+
}
|
|
71775
|
+
],
|
|
71776
|
+
"exports": [
|
|
71777
|
+
{
|
|
71778
|
+
"kind": "js",
|
|
71779
|
+
"name": "styles",
|
|
71780
|
+
"declaration": {
|
|
71781
|
+
"name": "styles",
|
|
71782
|
+
"module": "src/shared/tags/tags.css.ts"
|
|
71783
|
+
}
|
|
71784
|
+
}
|
|
71785
|
+
]
|
|
71786
|
+
},
|
|
71767
71787
|
{
|
|
71768
71788
|
"kind": "javascript-module",
|
|
71769
71789
|
"path": "src/skeleton/index.ts",
|
|
@@ -44,25 +44,11 @@ position: absolute;
|
|
|
44
44
|
translate: 0 -50%;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
[part="tags"] {
|
|
48
|
-
display: contents;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
47
|
[part="tag"] {
|
|
52
48
|
flex: 0 0 auto;
|
|
53
49
|
max-inline-size: 100%;
|
|
54
50
|
}
|
|
55
51
|
|
|
56
|
-
[part="rest"] {
|
|
57
|
-
align-self: center;
|
|
58
|
-
color: var(--helix-color-foreground-subtle);
|
|
59
|
-
flex: 0 0 auto;
|
|
60
|
-
font-family: var(--helix-font-sans);
|
|
61
|
-
font-size: var(--helix-text-xs);
|
|
62
|
-
font-weight: var(--helix-weight-medium);
|
|
63
|
-
white-space: nowrap;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
52
|
[part="control"] {
|
|
67
53
|
all: unset;
|
|
68
54
|
box-sizing: border-box;
|
|
@@ -10,10 +10,11 @@ import '../../listbox/index.js';
|
|
|
10
10
|
import '../../tag/index.js';
|
|
11
11
|
import { styles as fieldStyles } from '../../shared/field/field.css.js';
|
|
12
12
|
import { styles as fieldStackedStyles } from '../../shared/field/field-stacked.css.js';
|
|
13
|
+
import { styles as tagRowStyles } from '../../shared/tags/tags.css.js';
|
|
13
14
|
import { styles } from './combobox-root.css.js';
|
|
14
15
|
let HelixCombobox = class HelixCombobox extends HelixHeadlessCombobox {
|
|
15
16
|
static { this.tier = 'helix-'; }
|
|
16
|
-
static { this.styles = [fieldStyles, fieldStackedStyles, styles]; }
|
|
17
|
+
static { this.styles = [fieldStyles, fieldStackedStyles, tagRowStyles, styles]; }
|
|
17
18
|
};
|
|
18
19
|
HelixCombobox = __decorate([
|
|
19
20
|
customElement('helix-combobox')
|
|
@@ -43,25 +43,11 @@ border-color: var(--helix-color-danger);
|
|
|
43
43
|
outline-color: var(--helix-color-danger);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
[part="tags"] {
|
|
47
|
-
display: contents;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
46
|
::slotted([slot="tags"]) {
|
|
51
47
|
flex: 0 0 auto;
|
|
52
48
|
max-inline-size: 100%;
|
|
53
49
|
}
|
|
54
50
|
|
|
55
|
-
[part="rest"] {
|
|
56
|
-
align-self: center;
|
|
57
|
-
color: var(--helix-color-foreground-subtle);
|
|
58
|
-
flex: 0 0 auto;
|
|
59
|
-
font-family: var(--helix-font-sans);
|
|
60
|
-
font-size: var(--helix-text-xs);
|
|
61
|
-
font-weight: var(--helix-weight-medium);
|
|
62
|
-
white-space: nowrap;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
51
|
[part="control"] {
|
|
66
52
|
all: unset;
|
|
67
53
|
box-sizing: border-box;
|
|
@@ -10,9 +10,16 @@ import '../../icon/index.js';
|
|
|
10
10
|
import { styles as glyphStyles } from '../../icon/glyph.css.js';
|
|
11
11
|
import { styles as fieldStyles } from '../../shared/field/field.css.js';
|
|
12
12
|
import { styles as fieldStackedStyles } from '../../shared/field/field-stacked.css.js';
|
|
13
|
+
import { styles as tagRowStyles } from '../../shared/tags/tags.css.js';
|
|
13
14
|
import { styles } from './filter-input-root.css.js';
|
|
14
15
|
let HelixFilterInput = class HelixFilterInput extends HelixHeadlessFilterInput {
|
|
15
|
-
static { this.styles = [
|
|
16
|
+
static { this.styles = [
|
|
17
|
+
glyphStyles,
|
|
18
|
+
fieldStyles,
|
|
19
|
+
fieldStackedStyles,
|
|
20
|
+
tagRowStyles,
|
|
21
|
+
styles,
|
|
22
|
+
]; }
|
|
16
23
|
};
|
|
17
24
|
HelixFilterInput = __decorate([
|
|
18
25
|
customElement('helix-filter-input')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createSheet } from '@fusion.dev/helix-core';
|
|
2
|
+
export const styles = createSheet(`[part="tags"] {
|
|
3
|
+
display: contents;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
[part="rest"] {
|
|
7
|
+
align-self: center;
|
|
8
|
+
color: var(--helix-color-foreground-subtle);
|
|
9
|
+
flex: 0 0 auto;
|
|
10
|
+
font-family: var(--helix-font-sans);
|
|
11
|
+
font-size: var(--helix-text-xs);
|
|
12
|
+
font-weight: var(--helix-weight-medium);
|
|
13
|
+
white-space: nowrap;
|
|
14
|
+
}`);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fusion.dev/helix",
|
|
3
3
|
"description": "Styled component tier. Extends the headless tier with token-driven presentation.",
|
|
4
|
-
"version": "0.13.
|
|
4
|
+
"version": "0.13.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
},
|
|
47
47
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@fusion.dev/helix-core": "0.13.
|
|
50
|
-
"@fusion.dev/helix-headless": "0.13.
|
|
51
|
-
"@fusion.dev/helix-styles": "0.13.
|
|
49
|
+
"@fusion.dev/helix-core": "0.13.2",
|
|
50
|
+
"@fusion.dev/helix-headless": "0.13.2",
|
|
51
|
+
"@fusion.dev/helix-styles": "0.13.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
55
|
-
"@fusion.dev/helix-cem": "0.13.
|
|
56
|
-
"@fusion.dev/helix-testing": "0.13.
|
|
55
|
+
"@fusion.dev/helix-cem": "0.13.2",
|
|
56
|
+
"@fusion.dev/helix-testing": "0.13.2",
|
|
57
57
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
58
58
|
"@happy-dom/global-registrator": "^20.0.0",
|
|
59
59
|
"@lit-labs/ssr": "^3.3.0",
|