@uxland/primary-shell 7.46.11 → 7.46.13
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/dist/{component-D1LT-9ft.js → component-CQDFWF9Z.js} +2 -2
- package/dist/{component-D1LT-9ft.js.map → component-CQDFWF9Z.js.map} +1 -1
- package/dist/{index-eNimG-uq.js → index-Dcg1Qboj.js} +268 -338
- package/dist/index-Dcg1Qboj.js.map +1 -0
- package/dist/index.js +3 -3
- package/dist/index.umd.cjs +52 -84
- package/dist/index.umd.cjs.map +1 -1
- package/dist/{plugin-Dl1Lkn7z.js → plugin-Ddy8HwLA.js} +5441 -5430
- package/dist/plugin-Ddy8HwLA.js.map +1 -0
- package/dist/primary/shell/src/UI/components/clinical-pathways-action-menu/clinical-pathways-action-menu.d.ts +4 -12
- package/dist/primary/shell/src/UI/components/communication-action-menu/communication-action-menu.d.ts +4 -12
- package/dist/primary/shell/src/UI/components/petitioner-action-menu/petitioner-action-menu.d.ts +4 -12
- package/dist/primary/shell/src/UI/components/sidenav-action-menu/sidenav-action-menu.d.ts +27 -0
- package/dist/primary/shell/src/UI/components/sidenav-action-menu/template.d.ts +2 -0
- package/package.json +3 -3
- package/src/UI/components/clinical-pathways-action-menu/clinical-pathways-action-menu.ts +6 -41
- package/src/UI/components/communication-action-menu/communication-action-menu.ts +6 -41
- package/src/UI/components/petitioner-action-menu/petitioner-action-menu.ts +6 -41
- package/src/UI/components/sidenav-action-menu/sidenav-action-menu.ts +62 -0
- package/src/UI/components/{petitioner-action-menu → sidenav-action-menu}/template.ts +3 -3
- package/dist/index-eNimG-uq.js.map +0 -1
- package/dist/plugin-Dl1Lkn7z.js.map +0 -1
- package/dist/primary/shell/src/UI/components/clinical-pathways-action-menu/template.d.ts +0 -2
- package/dist/primary/shell/src/UI/components/communication-action-menu/template.d.ts +0 -2
- package/dist/primary/shell/src/UI/components/petitioner-action-menu/template.d.ts +0 -2
- package/src/UI/components/clinical-pathways-action-menu/template.ts +0 -24
- package/src/UI/components/communication-action-menu/styles.css +0 -29
- package/src/UI/components/communication-action-menu/template.ts +0 -24
- package/src/UI/components/petitioner-action-menu/styles.css +0 -29
- /package/src/UI/components/{clinical-pathways-action-menu → sidenav-action-menu}/styles.css +0 -0
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { html, nothing } from "lit";
|
|
2
|
-
import { ClinicalPathwaysActionMenu } from "./clinical-pathways-action-menu";
|
|
3
|
-
|
|
4
|
-
export const template = (props: ClinicalPathwaysActionMenu) => {
|
|
5
|
-
return html`
|
|
6
|
-
<div class="item" ?expanded=${props.showText}>
|
|
7
|
-
<div class="icon-label">
|
|
8
|
-
<dss-icon icon=${props.icon} size="md"></dss-icon>
|
|
9
|
-
${props.showText ? html`<span>${props.label}</span>` : ""}
|
|
10
|
-
${
|
|
11
|
-
!props.showText
|
|
12
|
-
? html`
|
|
13
|
-
<dss-tooltip position="right">
|
|
14
|
-
${props.label}
|
|
15
|
-
</dss-tooltip>`
|
|
16
|
-
: nothing
|
|
17
|
-
}
|
|
18
|
-
</div>
|
|
19
|
-
<dss-action-menu id="clinical-pathways-sidenav-region-container" slot="content" >
|
|
20
|
-
</dss-action-menu>
|
|
21
|
-
${props.showText ? html`<dss-icon icon="chevron_right" size="md"></dss-icon>` : nothing}
|
|
22
|
-
</div>
|
|
23
|
-
`;
|
|
24
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
.item {
|
|
2
|
-
display: flex;
|
|
3
|
-
cursor: pointer;
|
|
4
|
-
border-radius: 8px;
|
|
5
|
-
padding: 8px;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
transition: background-color 0.3s ease;
|
|
8
|
-
&[expanded] {
|
|
9
|
-
justify-content: space-between;
|
|
10
|
-
}
|
|
11
|
-
&:hover {
|
|
12
|
-
background-color: var(--color-primary-900);
|
|
13
|
-
color: white;
|
|
14
|
-
}
|
|
15
|
-
.icon-label {
|
|
16
|
-
display: flex;
|
|
17
|
-
gap: 8px;
|
|
18
|
-
transition: background-color 0.3s;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.item.active{
|
|
23
|
-
outline: 2px solid white;
|
|
24
|
-
outline-offset: -2px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
dss-tooltip {
|
|
28
|
-
pointer-events: none;
|
|
29
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { html, nothing } from "lit";
|
|
2
|
-
import { CommunicationActionMenu } from "./communication-action-menu";
|
|
3
|
-
|
|
4
|
-
export const template = (props: CommunicationActionMenu) => {
|
|
5
|
-
return html`
|
|
6
|
-
<div class="item" ?expanded=${props.showText}>
|
|
7
|
-
<div class="icon-label">
|
|
8
|
-
<dss-icon icon=${props.icon} size="md"></dss-icon>
|
|
9
|
-
${props.showText ? html`<span>${props.label}</span>` : ""}
|
|
10
|
-
${
|
|
11
|
-
!props.showText
|
|
12
|
-
? html`
|
|
13
|
-
<dss-tooltip position="right">
|
|
14
|
-
${props.label}
|
|
15
|
-
</dss-tooltip>`
|
|
16
|
-
: nothing
|
|
17
|
-
}
|
|
18
|
-
</div>
|
|
19
|
-
<dss-action-menu id="communication-sidenav-region-container" slot="content" >
|
|
20
|
-
</dss-action-menu>
|
|
21
|
-
${props.showText ? html`<dss-icon icon="chevron_right" size="md"></dss-icon>` : nothing}
|
|
22
|
-
</div>
|
|
23
|
-
`;
|
|
24
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
.item {
|
|
2
|
-
display: flex;
|
|
3
|
-
cursor: pointer;
|
|
4
|
-
border-radius: 8px;
|
|
5
|
-
padding: 8px;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
transition: background-color 0.3s ease;
|
|
8
|
-
&[expanded] {
|
|
9
|
-
justify-content: space-between;
|
|
10
|
-
}
|
|
11
|
-
&:hover {
|
|
12
|
-
background-color: var(--color-primary-900);
|
|
13
|
-
color: white;
|
|
14
|
-
}
|
|
15
|
-
.icon-label {
|
|
16
|
-
display: flex;
|
|
17
|
-
gap: 8px;
|
|
18
|
-
transition: background-color 0.3s;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.item.active{
|
|
23
|
-
outline: 2px solid white;
|
|
24
|
-
outline-offset: -2px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
dss-tooltip {
|
|
28
|
-
pointer-events: none;
|
|
29
|
-
}
|
|
File without changes
|