Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
3a6ef2f
Begin work on Common OS skeleton
gordonbrander Sep 26, 2024
af00def
Add common-ui
gordonbrander Sep 26, 2024
80f5713
Update sidebar
gordonbrander Sep 26, 2024
7c17261
Stub ooout some dummy items in sidebar
gordonbrander Sep 26, 2024
f11bb28
Add more scaffolding, incl scene layout
gordonbrander Sep 26, 2024
a1e0e13
Stub in buttons, change prefix to os-
gordonbrander Sep 26, 2024
f5ed90b
Stub in scrolling sidebar
gordonbrander Sep 26, 2024
87d94e3
Add icon button active state
gordonbrander Sep 26, 2024
e978a5e
Add gap to sidebar content items
gordonbrander Sep 26, 2024
bf51c59
Reworking font styles a bit
gordonbrander Sep 26, 2024
80d73b8
Add location pill
gordonbrander Sep 26, 2024
06680e4
Add Material Icon component
gordonbrander Sep 27, 2024
ab0d2bd
Fine-tune icon font
gordonbrander Sep 27, 2024
8db03a3
Add hover state to location
gordonbrander Sep 27, 2024
18f2992
Refine label styles and sidebar group spacing
gordonbrander Sep 27, 2024
b9ea9b3
Stub in sidebar states for os-scene
gordonbrander Sep 27, 2024
4c99db8
Wire up show/hide sidebar to button
gordonbrander Sep 27, 2024
3777fb7
Add activated property
gordonbrander Sep 30, 2024
3bc6a2d
Refine open/close animation
gordonbrander Sep 30, 2024
68f571d
Rename os-scene to os-chrome
gordonbrander Sep 30, 2024
db89ac3
Simplify CSS variable naming convention
gordonbrander Sep 30, 2024
e9e92b3
Allow specifying location title
gordonbrander Sep 30, 2024
4bc6d5d
Work around broken container queries vs slots
gordonbrander Oct 1, 2024
1db1fec
Remove unused import
gordonbrander Oct 1, 2024
d9a6597
Allow container to get wider
gordonbrander Oct 1, 2024
469ed75
Add CSS transition util
gordonbrander Oct 1, 2024
fe35698
Support modal sidebar with os-navstack
gordonbrander Oct 1, 2024
b67f4a3
Stub in os-fab
gordonbrander Oct 2, 2024
ad37c87
Add hover state to fab and bubbles
gordonbrander Oct 2, 2024
9bd5409
Add pinned charm group components
gordonbrander Oct 2, 2024
d101182
Add cursor-pointer to bubble
gordonbrander Oct 2, 2024
b44cfd7
Undock and overlap sidebar at small screen sizes
gordonbrander Oct 2, 2024
41264d9
Sidebar now supports splitscreen attr
gordonbrander Oct 3, 2024
2e173f3
Change sidebar attribute to wide
gordonbrander Oct 3, 2024
070f165
Add dialog component
gordonbrander Oct 3, 2024
0f333bb
Add dialog component
gordonbrander Oct 3, 2024
286e53c
Rename numbered vars for consistency
gordonbrander Oct 3, 2024
fd29437
Make icon sizeable
gordonbrander Oct 3, 2024
05dce26
Make AI icon sizeable
gordonbrander Oct 3, 2024
32cb071
Add charm chips and demo dialog box
gordonbrander Oct 3, 2024
496232a
Set cursor pointer on charm chip
gordonbrander Oct 3, 2024
0957b05
Set safe area for dialog left/right at small size
gordonbrander Oct 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Refine label styles and sidebar group spacing
  • Loading branch information
gordonbrander committed Sep 27, 2024
commit 18f2992cd2e6e3cf35747971629f462be3ea371f
12 changes: 9 additions & 3 deletions typescript/packages/common-os-ui/src/components/os-sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,20 @@ export class OsSidebarGroup extends LitElement {
display: flex;
flex-direction: column;
}

.sgroup {
gap: var(--u);
}
`,
];

override render() {
return html`
<aside class="vstack">
<slot class="label" name="label"></slot>
<div><slot name="content"></slot></div>
<aside class="sgroup vstack">
<heading class="sgroup-heading"
><slot class="label" name="label"></slot
></heading>
<div class="sgroup-content"><slot name="content"></slot></div>
</aside>
`;
}
Expand Down
1 change: 1 addition & 0 deletions typescript/packages/common-os-ui/src/shared/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export const base = css`
.label {
color: var(--c-text2);
font-weight: normal;
text-transform: uppercase;
font-family: var(--font-family);
font-size: var(--u-xsm-size);
line-height: var(--u-xsm-line);
Expand Down