Skip to content

Commit 98b9132

Browse files
authored
Merge pull request #816 from NoelDeMartin/772-browser-support
#772 Improve Browser Support for new components
2 parents 722e7ab + bf37026 commit 98b9132

18 files changed

Lines changed: 878 additions & 967 deletions

File tree

package-lock.json

Lines changed: 501 additions & 805 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,10 @@
9292
"escape-html": "^1.0.3",
9393
"lit": "^3.3.3",
9494
"mime-types": "^3.0.2",
95-
"pane-registry": "3.1.2-0",
96-
"rdflib": "2.3.9",
97-
"solid-logic": "4.0.8-0",
95+
"pane-registry": "3.1.2-1",
96+
"rdflib": "2.4.0",
97+
"solid-logic": "^4.0.8-0",
9898
"solid-namespace": "^0.5.4",
99-
"tailwindcss": "4.3.0",
10099
"uuid": "^14.0.0"
101100
},
102101
"devDependencies": {
@@ -112,7 +111,6 @@
112111
"@babel/preset-typescript": "^7.28.5",
113112
"@eslint/js": "^9.39.4",
114113
"@iconify/json": "2.2.481",
115-
"@mdx-js/react": "^3.1.1",
116114
"@rolldown/plugin-babel": "^0.2.3",
117115
"@storybook/addon-docs": "10.4.2",
118116
"@storybook/addon-links": "10.4.2",
@@ -140,10 +138,9 @@
140138
"patch-package": "^8.0.1",
141139
"path-browserify": "^1.0.1",
142140
"postcss": "^8.5.15",
143-
"react": "^17.0.2",
144-
"react-dom": "^17.0.2",
145-
"react-is": "^17.0.2",
141+
"solidos-toolkit": "dev",
146142
"storybook": "10.4.2",
143+
"tailwindcss": "4.3.0",
147144
"typedoc": "^0.28.19",
148145
"typescript": "^5.9.3",
149146
"unplugin-dts": "^1.0.2",

src/components/account/Account.styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
gap: 10px;
55
}
66

7-
:host(:state(loggedIn)) {
7+
:host([data-state-loggedIn]) {
88
--padding: 4px;
99
--border-width: 1px;
1010
--image-size: 1.875rem; /* 30px */

src/components/avatar/Avatar.styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414
}
1515

16-
:host(:state(fallback)) {
16+
:host([data-state-fallback]) {
1717
background: var(--solid-ui-color-gray-100);
1818
justify-content: center;
1919
align-items: center;

src/components/combobox/Combobox.styles.css

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,21 @@
1010
font-weight: 400;
1111
}
1212

13+
wa-popup {
14+
display: block;
15+
width: 100%;
16+
}
17+
18+
wa-popup::part(popup) {
19+
background: white;
20+
border: 1px solid var(--solid-ui-color-gray-100);
21+
border-radius: 5px;
22+
box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.35);
23+
overflow: hidden;
24+
}
25+
1326
.input-wrapper {
1427
position: relative;
15-
anchor-name: --combobox-anchor;
1628
width: 100%;
1729

1830
input {
@@ -35,32 +47,22 @@
3547
}
3648
}
3749

38-
[popover]:popover-open {
39-
position: fixed;
40-
top: calc(anchor(bottom) + 5px);
41-
left: anchor(left);
42-
right: auto;
43-
bottom: auto;
44-
min-width: anchor-size(width);
45-
overflow: visible;
46-
position-try-fallbacks: flip-block, flip-inline;
47-
position-anchor: --combobox-anchor;
48-
background: white;
49-
border: 1px solid var(--solid-ui-color-gray-100);
50-
border-radius: 5px;
51-
box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.35);
50+
.listbox {
5251
display: flex;
5352
flex-direction: column;
53+
max-height: inherit;
54+
overflow: auto;
5455

5556
[role="option"] {
5657
padding: 12px 8px;
5758
color: var(--solid-ui-color-gray-700);
5859
border-bottom: 1px solid var(--solid-ui-color-gray-100);
60+
cursor: pointer;
5961

60-
&:hover {
62+
&:hover,
63+
&[data-active] {
6164
background: rgba(0, 0, 0, 0.05);
6265
}
6366
}
6467
}
65-
6668
}

0 commit comments

Comments
 (0)