@sankhyatronics/sankhya-cms 0.0.0-stage → 0.1.0
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/README.md +34 -3
- package/custom-elements.json +4008 -0
- package/dist/bento-grid/index.d.ts +27 -0
- package/dist/bento-grid/index.js +10 -0
- package/dist/bento-grid/index.js.map +1 -0
- package/dist/card/index.d.ts +20 -0
- package/dist/card/index.js +9 -0
- package/dist/card/index.js.map +1 -0
- package/dist/carousel/index.d.ts +44 -0
- package/dist/carousel/index.js +10 -0
- package/dist/carousel/index.js.map +1 -0
- package/dist/chunk-23IHTBAB.js +557 -0
- package/dist/chunk-23IHTBAB.js.map +1 -0
- package/dist/chunk-2VZFHTBC.js +203 -0
- package/dist/chunk-2VZFHTBC.js.map +1 -0
- package/dist/chunk-3ERKQNZT.js +155 -0
- package/dist/chunk-3ERKQNZT.js.map +1 -0
- package/dist/chunk-3JU3R22O.js +193 -0
- package/dist/chunk-3JU3R22O.js.map +1 -0
- package/dist/chunk-3TCP25JG.js +347 -0
- package/dist/chunk-3TCP25JG.js.map +1 -0
- package/dist/chunk-3VE6VFJ4.js +87 -0
- package/dist/chunk-3VE6VFJ4.js.map +1 -0
- package/dist/chunk-4HKSA5UT.js +312 -0
- package/dist/chunk-4HKSA5UT.js.map +1 -0
- package/dist/chunk-5REZSZCK.js +266 -0
- package/dist/chunk-5REZSZCK.js.map +1 -0
- package/dist/chunk-5UFRGZWG.js +268 -0
- package/dist/chunk-5UFRGZWG.js.map +1 -0
- package/dist/chunk-74MILER4.js +215 -0
- package/dist/chunk-74MILER4.js.map +1 -0
- package/dist/chunk-7PSYCTEN.js +118 -0
- package/dist/chunk-7PSYCTEN.js.map +1 -0
- package/dist/chunk-CDC4P77V.js +299 -0
- package/dist/chunk-CDC4P77V.js.map +1 -0
- package/dist/chunk-E52WO7R7.js +279 -0
- package/dist/chunk-E52WO7R7.js.map +1 -0
- package/dist/chunk-EUXUH3YW.js +15 -0
- package/dist/chunk-EUXUH3YW.js.map +1 -0
- package/dist/chunk-IMACP7HN.js +156 -0
- package/dist/chunk-IMACP7HN.js.map +1 -0
- package/dist/chunk-LHU23TF6.js +273 -0
- package/dist/chunk-LHU23TF6.js.map +1 -0
- package/dist/chunk-OEX5FDMR.js +250 -0
- package/dist/chunk-OEX5FDMR.js.map +1 -0
- package/dist/chunk-RHAOQ6K4.js +138 -0
- package/dist/chunk-RHAOQ6K4.js.map +1 -0
- package/dist/chunk-RMIJVTFS.js +397 -0
- package/dist/chunk-RMIJVTFS.js.map +1 -0
- package/dist/chunk-U7YKCCJG.js +228 -0
- package/dist/chunk-U7YKCCJG.js.map +1 -0
- package/dist/chunk-USNFT4DU.js +125 -0
- package/dist/chunk-USNFT4DU.js.map +1 -0
- package/dist/chunk-VYON56QO.js +90 -0
- package/dist/chunk-VYON56QO.js.map +1 -0
- package/dist/chunk-WCO7JAIK.js +195 -0
- package/dist/chunk-WCO7JAIK.js.map +1 -0
- package/dist/chunk-XHBC23TV.js +254 -0
- package/dist/chunk-XHBC23TV.js.map +1 -0
- package/dist/chunk-XXPBFHWR.js +70 -0
- package/dist/chunk-XXPBFHWR.js.map +1 -0
- package/dist/cms-theme.css +15 -0
- package/dist/content-block/index.d.ts +25 -0
- package/dist/content-block/index.js +11 -0
- package/dist/content-block/index.js.map +1 -0
- package/dist/cookie-consent/index.d.ts +33 -0
- package/dist/cookie-consent/index.js +9 -0
- package/dist/cookie-consent/index.js.map +1 -0
- package/dist/dropdown/index.d.ts +89 -0
- package/dist/dropdown/index.js +9 -0
- package/dist/dropdown/index.js.map +1 -0
- package/dist/feature-split/index.d.ts +38 -0
- package/dist/feature-split/index.js +11 -0
- package/dist/feature-split/index.js.map +1 -0
- package/dist/features-section/index.d.ts +50 -0
- package/dist/features-section/index.js +14 -0
- package/dist/features-section/index.js.map +1 -0
- package/dist/footer/index.d.ts +64 -0
- package/dist/footer/index.js +9 -0
- package/dist/footer/index.js.map +1 -0
- package/dist/header/index.d.ts +112 -0
- package/dist/header/index.js +10 -0
- package/dist/header/index.js.map +1 -0
- package/dist/hero/index.d.ts +32 -0
- package/dist/hero/index.js +10 -0
- package/dist/hero/index.js.map +1 -0
- package/dist/icon-button/index.d.ts +23 -0
- package/dist/icon-button/index.js +9 -0
- package/dist/icon-button/index.js.map +1 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +93 -0
- package/dist/index.js.map +1 -0
- package/dist/items-accordion/index.d.ts +31 -0
- package/dist/items-accordion/index.js +10 -0
- package/dist/items-accordion/index.js.map +1 -0
- package/dist/markdown/index.d.ts +33 -0
- package/dist/markdown/index.js +9 -0
- package/dist/markdown/index.js.map +1 -0
- package/dist/menu-grid/index.d.ts +21 -0
- package/dist/menu-grid/index.js +9 -0
- package/dist/menu-grid/index.js.map +1 -0
- package/dist/menu-grid-item/index.d.ts +53 -0
- package/dist/menu-grid-item/index.js +9 -0
- package/dist/menu-grid-item/index.js.map +1 -0
- package/dist/menu-item/index.d.ts +50 -0
- package/dist/menu-item/index.js +9 -0
- package/dist/menu-item/index.js.map +1 -0
- package/dist/promo-banner/index.d.ts +22 -0
- package/dist/promo-banner/index.js +10 -0
- package/dist/promo-banner/index.js.map +1 -0
- package/dist/schema/index.d.ts +72 -0
- package/dist/schema/index.js +75 -0
- package/dist/schema/index.js.map +1 -0
- package/dist/select/index.d.ts +77 -0
- package/dist/select/index.js +10 -0
- package/dist/select/index.js.map +1 -0
- package/dist/shared/icons.d.ts +77 -0
- package/dist/shared/icons.js +64 -0
- package/dist/shared/icons.js.map +1 -0
- package/dist/shared/styles.d.ts +90 -0
- package/dist/shared/styles.js +48 -0
- package/dist/shared/styles.js.map +1 -0
- package/dist/stats/index.d.ts +17 -0
- package/dist/stats/index.js +9 -0
- package/dist/stats/index.js.map +1 -0
- package/dist/testimonials/index.d.ts +25 -0
- package/dist/testimonials/index.js +10 -0
- package/dist/testimonials/index.js.map +1 -0
- package/dist/theme.css +292 -0
- package/dist/themes.css +65 -0
- package/dist/theming/index.d.ts +28 -0
- package/dist/theming/index.js +53 -0
- package/dist/theming/index.js.map +1 -0
- package/package.json +161 -4
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import {
|
|
2
|
+
sectionHeaderStyles,
|
|
3
|
+
sectionSubtitleStyles,
|
|
4
|
+
sectionTitleStyles
|
|
5
|
+
} from "./chunk-3VE6VFJ4.js";
|
|
6
|
+
import {
|
|
7
|
+
controlBaseStyles,
|
|
8
|
+
fontFamilyStyles
|
|
9
|
+
} from "./chunk-RHAOQ6K4.js";
|
|
10
|
+
import {
|
|
11
|
+
__decorateClass
|
|
12
|
+
} from "./chunk-EUXUH3YW.js";
|
|
13
|
+
|
|
14
|
+
// src/content-block/ContentBlock.ts
|
|
15
|
+
import { LitElement, css, html, nothing } from "lit";
|
|
16
|
+
import { customElement, property } from "lit/decorators.js";
|
|
17
|
+
var ContentBlock = class extends LitElement {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments);
|
|
20
|
+
this.title = "";
|
|
21
|
+
this.subtitle = "";
|
|
22
|
+
this.contentSrc = "";
|
|
23
|
+
this.content = "";
|
|
24
|
+
this.imageSrc = "";
|
|
25
|
+
this.imageAlt = "";
|
|
26
|
+
this.imageCaption = "";
|
|
27
|
+
this.inverted = false;
|
|
28
|
+
}
|
|
29
|
+
render() {
|
|
30
|
+
return html`
|
|
31
|
+
<section class="container" part="container">
|
|
32
|
+
<div class="header" part="header">
|
|
33
|
+
${this.title ? html`<div class="title" part="title">${this.title}</div>` : nothing}
|
|
34
|
+
${this.subtitle ? html`<div class="subtitle" part="subtitle">${this.subtitle}</div>` : nothing}
|
|
35
|
+
</div>
|
|
36
|
+
${this.imageSrc ? html`
|
|
37
|
+
<figure class="featured-image" part="image">
|
|
38
|
+
<img src=${this.imageSrc} alt=${this.imageAlt || this.title} />
|
|
39
|
+
${this.imageCaption ? html`<figcaption>${this.imageCaption}</figcaption>` : nothing}
|
|
40
|
+
</figure>
|
|
41
|
+
` : nothing}
|
|
42
|
+
<st-markdown part="body" .src=${this.contentSrc} .content=${this.content}></st-markdown>
|
|
43
|
+
</section>
|
|
44
|
+
`;
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
ContentBlock.styles = css`
|
|
48
|
+
${controlBaseStyles}
|
|
49
|
+
|
|
50
|
+
:host {
|
|
51
|
+
display: block;
|
|
52
|
+
${fontFamilyStyles}
|
|
53
|
+
padding: var(--st-space-24);
|
|
54
|
+
background: var(--st-color-surface);
|
|
55
|
+
color: var(--st-color-text-strong);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
:host([inverted]) {
|
|
59
|
+
background: var(--st-color-text-strong);
|
|
60
|
+
color: var(--st-color-on-solid);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.container {
|
|
64
|
+
max-width: var(--st-cms-container-max);
|
|
65
|
+
padding: 0 var(--st-space-48);
|
|
66
|
+
margin: 0 auto;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.header {
|
|
70
|
+
${sectionHeaderStyles}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.title {
|
|
74
|
+
${sectionTitleStyles}
|
|
75
|
+
line-height: 1.1;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.subtitle {
|
|
79
|
+
${sectionSubtitleStyles}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
:host([inverted]) .title,
|
|
83
|
+
:host([inverted]) .subtitle {
|
|
84
|
+
color: inherit;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.featured-image {
|
|
88
|
+
margin: 0 0 var(--st-space-48);
|
|
89
|
+
border-radius: var(--st-radius-lg);
|
|
90
|
+
overflow: hidden;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.featured-image img {
|
|
94
|
+
width: 100%;
|
|
95
|
+
height: auto;
|
|
96
|
+
display: block;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
figcaption {
|
|
100
|
+
padding: var(--st-space-12);
|
|
101
|
+
text-align: center;
|
|
102
|
+
color: var(--st-color-text-muted);
|
|
103
|
+
font-size: var(--st-text-xs);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
st-markdown {
|
|
107
|
+
color: var(--st-color-text);
|
|
108
|
+
font-size: var(--st-text-xl);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
:host([inverted]) st-markdown {
|
|
112
|
+
color: inherit;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@media (max-width: 768px) {
|
|
116
|
+
:host {
|
|
117
|
+
padding: var(--st-space-48) var(--st-space-24);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.container {
|
|
121
|
+
padding: 0;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
`;
|
|
125
|
+
__decorateClass([
|
|
126
|
+
property({ type: String })
|
|
127
|
+
], ContentBlock.prototype, "title", 2);
|
|
128
|
+
__decorateClass([
|
|
129
|
+
property({ type: String })
|
|
130
|
+
], ContentBlock.prototype, "subtitle", 2);
|
|
131
|
+
__decorateClass([
|
|
132
|
+
property({ type: String, attribute: "content-src" })
|
|
133
|
+
], ContentBlock.prototype, "contentSrc", 2);
|
|
134
|
+
__decorateClass([
|
|
135
|
+
property({ type: String })
|
|
136
|
+
], ContentBlock.prototype, "content", 2);
|
|
137
|
+
__decorateClass([
|
|
138
|
+
property({ type: String, attribute: "image-src" })
|
|
139
|
+
], ContentBlock.prototype, "imageSrc", 2);
|
|
140
|
+
__decorateClass([
|
|
141
|
+
property({ type: String, attribute: "image-alt" })
|
|
142
|
+
], ContentBlock.prototype, "imageAlt", 2);
|
|
143
|
+
__decorateClass([
|
|
144
|
+
property({ type: String, attribute: "image-caption" })
|
|
145
|
+
], ContentBlock.prototype, "imageCaption", 2);
|
|
146
|
+
__decorateClass([
|
|
147
|
+
property({ type: Boolean, reflect: true })
|
|
148
|
+
], ContentBlock.prototype, "inverted", 2);
|
|
149
|
+
ContentBlock = __decorateClass([
|
|
150
|
+
customElement("st-content-block")
|
|
151
|
+
], ContentBlock);
|
|
152
|
+
|
|
153
|
+
export {
|
|
154
|
+
ContentBlock
|
|
155
|
+
};
|
|
156
|
+
//# sourceMappingURL=chunk-IMACP7HN.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/content-block/ContentBlock.ts"],"sourcesContent":["import { LitElement, css, html, nothing } from 'lit';\r\nimport { customElement, property } from 'lit/decorators.js';\r\n\r\nimport { controlBaseStyles, fontFamilyStyles } from '../shared/styles';\r\nimport { sectionSubtitleStyles, sectionTitleStyles, sectionHeaderStyles } from '../shared/section-styles';\r\nimport '../markdown';\r\n\r\n/**\r\n * A long-form article section: centered title/subtitle, an optional featured image with caption,\r\n * then Markdown body text. Ports `SankhyaUI`'s React `ContentBlock`. The body comes from\r\n * `content-src` (a Markdown URL, as in the source) or an inline `content` string (added so the\r\n * block works without a fetch); `content-src` wins when both are set.\r\n */\r\n@customElement('st-content-block')\r\nexport class ContentBlock extends LitElement {\r\n static styles = css`\r\n ${controlBaseStyles}\r\n\r\n :host {\r\n display: block;\r\n ${fontFamilyStyles}\r\n padding: var(--st-space-24);\r\n background: var(--st-color-surface);\r\n color: var(--st-color-text-strong);\r\n }\r\n\r\n :host([inverted]) {\r\n background: var(--st-color-text-strong);\r\n color: var(--st-color-on-solid);\r\n }\r\n\r\n .container {\r\n max-width: var(--st-cms-container-max);\r\n padding: 0 var(--st-space-48);\r\n margin: 0 auto;\r\n }\r\n\r\n .header {\r\n ${sectionHeaderStyles}\r\n }\r\n\r\n .title {\r\n ${sectionTitleStyles}\r\n line-height: 1.1;\r\n }\r\n\r\n .subtitle {\r\n ${sectionSubtitleStyles}\r\n }\r\n\r\n :host([inverted]) .title,\r\n :host([inverted]) .subtitle {\r\n color: inherit;\r\n }\r\n\r\n .featured-image {\r\n margin: 0 0 var(--st-space-48);\r\n border-radius: var(--st-radius-lg);\r\n overflow: hidden;\r\n }\r\n\r\n .featured-image img {\r\n width: 100%;\r\n height: auto;\r\n display: block;\r\n }\r\n\r\n figcaption {\r\n padding: var(--st-space-12);\r\n text-align: center;\r\n color: var(--st-color-text-muted);\r\n font-size: var(--st-text-xs);\r\n }\r\n\r\n st-markdown {\r\n color: var(--st-color-text);\r\n font-size: var(--st-text-xl);\r\n }\r\n\r\n :host([inverted]) st-markdown {\r\n color: inherit;\r\n }\r\n\r\n @media (max-width: 768px) {\r\n :host {\r\n padding: var(--st-space-48) var(--st-space-24);\r\n }\r\n\r\n .container {\r\n padding: 0;\r\n }\r\n }\r\n `;\r\n\r\n @property({ type: String })\r\n title = '';\r\n\r\n @property({ type: String })\r\n subtitle = '';\r\n\r\n /** URL of a Markdown file. */\r\n @property({ type: String, attribute: 'content-src' })\r\n contentSrc = '';\r\n\r\n /** Inline Markdown, used when `content-src` is not set. */\r\n @property({ type: String })\r\n content = '';\r\n\r\n @property({ type: String, attribute: 'image-src' })\r\n imageSrc = '';\r\n\r\n @property({ type: String, attribute: 'image-alt' })\r\n imageAlt = '';\r\n\r\n @property({ type: String, attribute: 'image-caption' })\r\n imageCaption = '';\r\n\r\n @property({ type: Boolean, reflect: true })\r\n inverted = false;\r\n\r\n render() {\r\n return html`\r\n <section class=\"container\" part=\"container\">\r\n <div class=\"header\" part=\"header\">\r\n ${this.title ? html`<div class=\"title\" part=\"title\">${this.title}</div>` : nothing}\r\n ${this.subtitle ? html`<div class=\"subtitle\" part=\"subtitle\">${this.subtitle}</div>` : nothing}\r\n </div>\r\n ${this.imageSrc\r\n ? html`\r\n <figure class=\"featured-image\" part=\"image\">\r\n <img src=${this.imageSrc} alt=${this.imageAlt || this.title} />\r\n ${this.imageCaption ? html`<figcaption>${this.imageCaption}</figcaption>` : nothing}\r\n </figure>\r\n `\r\n : nothing}\r\n <st-markdown part=\"body\" .src=${this.contentSrc} .content=${this.content}></st-markdown>\r\n </section>\r\n `;\r\n }\r\n}\r\n"],"mappings":";;;;;;;;;;;;;;AAAA,SAAS,YAAY,KAAK,MAAM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aAiFX;AAGA;AAAA,EADC,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,GAnFf,aAoFX;AAIA;AAAA,EADC,SAAS,EAAE,MAAM,QAAQ,WAAW,cAAc,CAAC;AAAA,GAvFzC,aAwFX;AAIA;AAAA,EADC,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,GA3Ff,aA4FX;AAGA;AAAA,EADC,SAAS,EAAE,MAAM,QAAQ,WAAW,YAAY,CAAC;AAAA,GA9FvC,aA+FX;AAGA;AAAA,EADC,SAAS,EAAE,MAAM,QAAQ,WAAW,YAAY,CAAC;AAAA,GAjGvC,aAkGX;AAGA;AAAA,EADC,SAAS,EAAE,MAAM,QAAQ,WAAW,gBAAgB,CAAC;AAAA,GApG3C,aAqGX;AAGA;AAAA,EADC,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GAvG/B,aAwGX;AAxGW,eAAN;AAAA,EADN,cAAc,kBAAkB;AAAA,GACpB;","names":[]}
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import {
|
|
2
|
+
controlBaseStyles,
|
|
3
|
+
fontFamilyStyles
|
|
4
|
+
} from "./chunk-RHAOQ6K4.js";
|
|
5
|
+
import {
|
|
6
|
+
__decorateClass
|
|
7
|
+
} from "./chunk-EUXUH3YW.js";
|
|
8
|
+
|
|
9
|
+
// src/menu-item/MenuItem.ts
|
|
10
|
+
import { LitElement, css, html, nothing } from "lit";
|
|
11
|
+
import { customElement, property, state } from "lit/decorators.js";
|
|
12
|
+
var MenuItem = class extends LitElement {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.title = "";
|
|
16
|
+
this.href = "";
|
|
17
|
+
this.description = "";
|
|
18
|
+
this.badge = "";
|
|
19
|
+
this.active = false;
|
|
20
|
+
this.compact = false;
|
|
21
|
+
this.showDescription = true;
|
|
22
|
+
this.target = "_self";
|
|
23
|
+
this.hasIcon = false;
|
|
24
|
+
this.onIconSlotChange = (event) => {
|
|
25
|
+
this.hasIcon = event.target.assignedNodes({ flatten: true }).length > 0;
|
|
26
|
+
};
|
|
27
|
+
this.onClick = (event) => {
|
|
28
|
+
const selectEvent = new CustomEvent("menu-item-select", {
|
|
29
|
+
detail: { href: this.href },
|
|
30
|
+
bubbles: true,
|
|
31
|
+
composed: true,
|
|
32
|
+
cancelable: true
|
|
33
|
+
});
|
|
34
|
+
this.dispatchEvent(selectEvent);
|
|
35
|
+
if (selectEvent.defaultPrevented) event.preventDefault();
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
const showDescription = !!this.description && this.showDescription;
|
|
40
|
+
const classes = ["menu-item", this.active ? "active" : "", this.compact ? "compact" : "", showDescription ? "" : "no-description"].filter(Boolean).join(" ");
|
|
41
|
+
return html`
|
|
42
|
+
<a part="item" class=${classes} href=${this.href} target=${this.target} @click=${this.onClick}>
|
|
43
|
+
<span class="menu-item-icon" part="icon" ?hidden=${!this.hasIcon}><slot name="icon" @slotchange=${this.onIconSlotChange}></slot></span>
|
|
44
|
+
<span class="menu-item-content" part="content">
|
|
45
|
+
<span class="menu-item-header" part="header">
|
|
46
|
+
<span part="title" class="menu-item-title">${this.title}</span>
|
|
47
|
+
${this.badge ? html`<span part="badge" class="menu-item-badge">${this.badge}</span>` : nothing}
|
|
48
|
+
</span>
|
|
49
|
+
${showDescription ? html`<p part="description" class="menu-item-description">${this.description}</p>` : nothing}
|
|
50
|
+
</span>
|
|
51
|
+
</a>
|
|
52
|
+
`;
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
/** `focus()` on the element focuses its link, so `st-dropdown` can arrow-key between items. */
|
|
56
|
+
MenuItem.shadowRootOptions = { ...LitElement.shadowRootOptions, delegatesFocus: true };
|
|
57
|
+
MenuItem.styles = css`
|
|
58
|
+
${controlBaseStyles}
|
|
59
|
+
|
|
60
|
+
:host {
|
|
61
|
+
display: block;
|
|
62
|
+
${fontFamilyStyles}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@keyframes st-menu-item-badge-pop {
|
|
66
|
+
from {
|
|
67
|
+
transform: scale(0);
|
|
68
|
+
}
|
|
69
|
+
70% {
|
|
70
|
+
transform: scale(1.12);
|
|
71
|
+
}
|
|
72
|
+
to {
|
|
73
|
+
transform: scale(1);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@keyframes st-menu-item-fade-in {
|
|
78
|
+
from {
|
|
79
|
+
opacity: 0;
|
|
80
|
+
}
|
|
81
|
+
to {
|
|
82
|
+
opacity: 1;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.menu-item {
|
|
87
|
+
display: flex;
|
|
88
|
+
align-items: flex-start;
|
|
89
|
+
gap: 12px;
|
|
90
|
+
padding: 12px 16px;
|
|
91
|
+
font-size: 0.875rem;
|
|
92
|
+
text-decoration: none;
|
|
93
|
+
color: var(--st-color-text);
|
|
94
|
+
border-radius: 6px;
|
|
95
|
+
/* The source's 'all 0.15s', minus visibility: animating the visibility this link inherits
|
|
96
|
+
from a dropdown panel kept it unfocusable for a frame after the panel opened. */
|
|
97
|
+
transition-property: background-color, color, padding, transform, border-color;
|
|
98
|
+
transition-duration: 0.15s;
|
|
99
|
+
transition-timing-function: ease;
|
|
100
|
+
box-sizing: border-box;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* The source's hover nudge (x: 4px) is done with padding, not a transform: a transform would
|
|
104
|
+
spill past a scrolling panel's edge (st-source-bar's menus) and show a horizontal scrollbar.
|
|
105
|
+
Keyboard focus gets the same treatment as hover. */
|
|
106
|
+
.menu-item:hover,
|
|
107
|
+
.menu-item:focus-visible {
|
|
108
|
+
background: var(--st-color-hover);
|
|
109
|
+
color: var(--st-color-text-strong);
|
|
110
|
+
padding-left: 20px;
|
|
111
|
+
transition-duration: 0.1s;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.menu-item.compact:hover,
|
|
115
|
+
.menu-item.compact:focus-visible {
|
|
116
|
+
padding-left: 16px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.menu-item:active {
|
|
120
|
+
transform: scale(0.99);
|
|
121
|
+
transition-duration: 0.1s;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.menu-item.active {
|
|
125
|
+
background-color: var(--st-color-accent-subtle);
|
|
126
|
+
color: var(--st-color-accent-text);
|
|
127
|
+
border-left: 4px solid var(--st-color-accent);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.menu-item-icon {
|
|
131
|
+
display: flex;
|
|
132
|
+
flex-shrink: 0;
|
|
133
|
+
margin-top: 2px;
|
|
134
|
+
transition: transform 0.2s ease;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.menu-item-icon:hover {
|
|
138
|
+
transform: rotate(5deg);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.menu-item-icon[hidden] {
|
|
142
|
+
display: none;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.menu-item-icon ::slotted(*) {
|
|
146
|
+
width: 16px;
|
|
147
|
+
height: 16px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.menu-item-content {
|
|
151
|
+
flex: 1;
|
|
152
|
+
min-width: 0;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.menu-item-header {
|
|
156
|
+
display: flex;
|
|
157
|
+
align-items: center;
|
|
158
|
+
justify-content: space-between;
|
|
159
|
+
gap: 8px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.menu-item-title {
|
|
163
|
+
font-weight: 500;
|
|
164
|
+
overflow: hidden;
|
|
165
|
+
text-overflow: ellipsis;
|
|
166
|
+
white-space: nowrap;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.menu-item-badge {
|
|
170
|
+
display: inline-flex;
|
|
171
|
+
align-items: center;
|
|
172
|
+
justify-content: center;
|
|
173
|
+
min-width: 20px;
|
|
174
|
+
height: 20px;
|
|
175
|
+
padding: 0 6px;
|
|
176
|
+
font-size: 0.75rem;
|
|
177
|
+
font-weight: 500;
|
|
178
|
+
border-radius: 9999px;
|
|
179
|
+
flex-shrink: 0;
|
|
180
|
+
background: var(--st-color-accent-subtle);
|
|
181
|
+
color: var(--st-color-accent-text);
|
|
182
|
+
animation: st-menu-item-badge-pop 0.35s ease-out;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.menu-item-description {
|
|
186
|
+
display: -webkit-box;
|
|
187
|
+
margin: 4px 0 0;
|
|
188
|
+
font-size: 0.75rem;
|
|
189
|
+
color: var(--st-color-text-muted);
|
|
190
|
+
-webkit-box-orient: vertical;
|
|
191
|
+
overflow: hidden;
|
|
192
|
+
line-height: 1.4;
|
|
193
|
+
animation: st-menu-item-fade-in 0.2s ease;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.menu-item.compact {
|
|
197
|
+
padding: 8px 12px;
|
|
198
|
+
gap: 8px;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.menu-item.compact .menu-item-icon ::slotted(*) {
|
|
202
|
+
width: 14px;
|
|
203
|
+
height: 14px;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.menu-item.compact .menu-item-title {
|
|
207
|
+
font-size: 0.75rem;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.menu-item.compact .menu-item-description {
|
|
211
|
+
font-size: 0.75rem;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.menu-item.no-description {
|
|
215
|
+
align-items: center;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.menu-item.no-description .menu-item-icon {
|
|
219
|
+
margin-top: 0;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
@media (prefers-reduced-motion: reduce) {
|
|
223
|
+
.menu-item,
|
|
224
|
+
.menu-item-icon {
|
|
225
|
+
transition: none;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.menu-item:active,
|
|
229
|
+
.menu-item-icon:hover {
|
|
230
|
+
transform: none;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.menu-item-badge,
|
|
234
|
+
.menu-item-description {
|
|
235
|
+
animation: none;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
`;
|
|
239
|
+
__decorateClass([
|
|
240
|
+
property({ type: String })
|
|
241
|
+
], MenuItem.prototype, "title", 2);
|
|
242
|
+
__decorateClass([
|
|
243
|
+
property({ type: String })
|
|
244
|
+
], MenuItem.prototype, "href", 2);
|
|
245
|
+
__decorateClass([
|
|
246
|
+
property({ type: String })
|
|
247
|
+
], MenuItem.prototype, "description", 2);
|
|
248
|
+
__decorateClass([
|
|
249
|
+
property({ type: String })
|
|
250
|
+
], MenuItem.prototype, "badge", 2);
|
|
251
|
+
__decorateClass([
|
|
252
|
+
property({ type: Boolean, reflect: true })
|
|
253
|
+
], MenuItem.prototype, "active", 2);
|
|
254
|
+
__decorateClass([
|
|
255
|
+
property({ type: Boolean, reflect: true })
|
|
256
|
+
], MenuItem.prototype, "compact", 2);
|
|
257
|
+
__decorateClass([
|
|
258
|
+
property({ type: Boolean, attribute: "show-description" })
|
|
259
|
+
], MenuItem.prototype, "showDescription", 2);
|
|
260
|
+
__decorateClass([
|
|
261
|
+
property({ type: String })
|
|
262
|
+
], MenuItem.prototype, "target", 2);
|
|
263
|
+
__decorateClass([
|
|
264
|
+
state()
|
|
265
|
+
], MenuItem.prototype, "hasIcon", 2);
|
|
266
|
+
MenuItem = __decorateClass([
|
|
267
|
+
customElement("st-menu-item")
|
|
268
|
+
], MenuItem);
|
|
269
|
+
|
|
270
|
+
export {
|
|
271
|
+
MenuItem
|
|
272
|
+
};
|
|
273
|
+
//# sourceMappingURL=chunk-LHU23TF6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/menu-item/MenuItem.ts"],"sourcesContent":["import { LitElement, css, html, nothing } from 'lit';\r\nimport { customElement, property, state } from 'lit/decorators.js';\r\n\r\nimport { controlBaseStyles, fontFamilyStyles } from '../shared/styles';\r\nimport type { MenuItemSelectEventDetail } from './MenuItemEvents';\r\n\r\n/**\r\n * A single flat nav row — icon (`slot=\"icon\"`) + title + badge on one line, an optional\r\n * description below — as opposed to `st-menu-grid-item`'s card for a multi-column grid. A 1:1\r\n * port of `SankhyaUI`'s React `MenuItem` (`SankhyaCMS/SankhyaUI/src/components/Menu`): same\r\n * markup and CSS, with its `motion` effects redone in CSS — nudges right and scales to 1.01 on\r\n * hover / 0.99 while pressed, the icon tilts on hover, the badge pops in, the description fades\r\n * in. Colors come from the suite theme rather than per-item utility classes.\r\n *\r\n * Renders a real `<a href>` but fires a *cancelable* `menu-item-select` event (detail: `{ href }`)\r\n * before navigating — a host doing client-side routing calls `event.preventDefault()` on it (the\r\n * source used react-router's `Link` here; the suite apps have no router).\r\n */\r\n@customElement('st-menu-item')\r\nexport class MenuItem extends LitElement {\r\n /** `focus()` on the element focuses its link, so `st-dropdown` can arrow-key between items. */\r\n static shadowRootOptions = { ...LitElement.shadowRootOptions, delegatesFocus: true };\r\n\r\n static styles = css`\r\n ${controlBaseStyles}\r\n\r\n :host {\r\n display: block;\r\n ${fontFamilyStyles}\r\n }\r\n\r\n @keyframes st-menu-item-badge-pop {\r\n from {\r\n transform: scale(0);\r\n }\r\n 70% {\r\n transform: scale(1.12);\r\n }\r\n to {\r\n transform: scale(1);\r\n }\r\n }\r\n\r\n @keyframes st-menu-item-fade-in {\r\n from {\r\n opacity: 0;\r\n }\r\n to {\r\n opacity: 1;\r\n }\r\n }\r\n\r\n .menu-item {\r\n display: flex;\r\n align-items: flex-start;\r\n gap: 12px;\r\n padding: 12px 16px;\r\n font-size: 0.875rem;\r\n text-decoration: none;\r\n color: var(--st-color-text);\r\n border-radius: 6px;\r\n /* The source's 'all 0.15s', minus visibility: animating the visibility this link inherits\r\n from a dropdown panel kept it unfocusable for a frame after the panel opened. */\r\n transition-property: background-color, color, padding, transform, border-color;\r\n transition-duration: 0.15s;\r\n transition-timing-function: ease;\r\n box-sizing: border-box;\r\n }\r\n\r\n /* The source's hover nudge (x: 4px) is done with padding, not a transform: a transform would\r\n spill past a scrolling panel's edge (st-source-bar's menus) and show a horizontal scrollbar.\r\n Keyboard focus gets the same treatment as hover. */\r\n .menu-item:hover,\r\n .menu-item:focus-visible {\r\n background: var(--st-color-hover);\r\n color: var(--st-color-text-strong);\r\n padding-left: 20px;\r\n transition-duration: 0.1s;\r\n }\r\n\r\n .menu-item.compact:hover,\r\n .menu-item.compact:focus-visible {\r\n padding-left: 16px;\r\n }\r\n\r\n .menu-item:active {\r\n transform: scale(0.99);\r\n transition-duration: 0.1s;\r\n }\r\n\r\n .menu-item.active {\r\n background-color: var(--st-color-accent-subtle);\r\n color: var(--st-color-accent-text);\r\n border-left: 4px solid var(--st-color-accent);\r\n }\r\n\r\n .menu-item-icon {\r\n display: flex;\r\n flex-shrink: 0;\r\n margin-top: 2px;\r\n transition: transform 0.2s ease;\r\n }\r\n\r\n .menu-item-icon:hover {\r\n transform: rotate(5deg);\r\n }\r\n\r\n .menu-item-icon[hidden] {\r\n display: none;\r\n }\r\n\r\n .menu-item-icon ::slotted(*) {\r\n width: 16px;\r\n height: 16px;\r\n }\r\n\r\n .menu-item-content {\r\n flex: 1;\r\n min-width: 0;\r\n }\r\n\r\n .menu-item-header {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n gap: 8px;\r\n }\r\n\r\n .menu-item-title {\r\n font-weight: 500;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n }\r\n\r\n .menu-item-badge {\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n min-width: 20px;\r\n height: 20px;\r\n padding: 0 6px;\r\n font-size: 0.75rem;\r\n font-weight: 500;\r\n border-radius: 9999px;\r\n flex-shrink: 0;\r\n background: var(--st-color-accent-subtle);\r\n color: var(--st-color-accent-text);\r\n animation: st-menu-item-badge-pop 0.35s ease-out;\r\n }\r\n\r\n .menu-item-description {\r\n display: -webkit-box;\r\n margin: 4px 0 0;\r\n font-size: 0.75rem;\r\n color: var(--st-color-text-muted);\r\n -webkit-box-orient: vertical;\r\n overflow: hidden;\r\n line-height: 1.4;\r\n animation: st-menu-item-fade-in 0.2s ease;\r\n }\r\n\r\n .menu-item.compact {\r\n padding: 8px 12px;\r\n gap: 8px;\r\n }\r\n\r\n .menu-item.compact .menu-item-icon ::slotted(*) {\r\n width: 14px;\r\n height: 14px;\r\n }\r\n\r\n .menu-item.compact .menu-item-title {\r\n font-size: 0.75rem;\r\n }\r\n\r\n .menu-item.compact .menu-item-description {\r\n font-size: 0.75rem;\r\n }\r\n\r\n .menu-item.no-description {\r\n align-items: center;\r\n }\r\n\r\n .menu-item.no-description .menu-item-icon {\r\n margin-top: 0;\r\n }\r\n\r\n @media (prefers-reduced-motion: reduce) {\r\n .menu-item,\r\n .menu-item-icon {\r\n transition: none;\r\n }\r\n\r\n .menu-item:active,\r\n .menu-item-icon:hover {\r\n transform: none;\r\n }\r\n\r\n .menu-item-badge,\r\n .menu-item-description {\r\n animation: none;\r\n }\r\n }\r\n `;\r\n\r\n @property({ type: String })\r\n title = '';\r\n\r\n @property({ type: String })\r\n href = '';\r\n\r\n @property({ type: String })\r\n description = '';\r\n\r\n /** Small trailing label, e.g. a count or \"New\"/\"Beta\" — omit for none. */\r\n @property({ type: String })\r\n badge = '';\r\n\r\n /** Highlights this row as the current page (source: `isActive`). */\r\n @property({ type: Boolean, reflect: true })\r\n active = false;\r\n\r\n @property({ type: Boolean, reflect: true })\r\n compact = false;\r\n\r\n /** Suppresses the description even when `description` is set (source: `showDescription`, default `true`). */\r\n @property({ type: Boolean, attribute: 'show-description' })\r\n showDescription = true;\r\n\r\n /** `target` for the `<a>` (source default `_self`). */\r\n @property({ type: String })\r\n target = '_self';\r\n\r\n /** Whether `slot=\"icon\"` has content, so an omitted icon leaves no empty box. */\r\n @state() private hasIcon = false;\r\n\r\n private onIconSlotChange = (event: Event): void => {\r\n this.hasIcon = (event.target as HTMLSlotElement).assignedNodes({ flatten: true }).length > 0;\r\n };\r\n\r\n private onClick = (event: MouseEvent): void => {\r\n const selectEvent = new CustomEvent<MenuItemSelectEventDetail>('menu-item-select', {\r\n detail: { href: this.href },\r\n bubbles: true,\r\n composed: true,\r\n cancelable: true\r\n });\r\n this.dispatchEvent(selectEvent);\r\n if (selectEvent.defaultPrevented) event.preventDefault();\r\n };\r\n\r\n render() {\r\n const showDescription = !!this.description && this.showDescription;\r\n const classes = ['menu-item', this.active ? 'active' : '', this.compact ? 'compact' : '', showDescription ? '' : 'no-description']\r\n .filter(Boolean)\r\n .join(' ');\r\n return html`\r\n <a part=\"item\" class=${classes} href=${this.href} target=${this.target} @click=${this.onClick}>\r\n <span class=\"menu-item-icon\" part=\"icon\" ?hidden=${!this.hasIcon}><slot name=\"icon\" @slotchange=${this.onIconSlotChange}></slot></span>\r\n <span class=\"menu-item-content\" part=\"content\">\r\n <span class=\"menu-item-header\" part=\"header\">\r\n <span part=\"title\" class=\"menu-item-title\">${this.title}</span>\r\n ${this.badge ? html`<span part=\"badge\" class=\"menu-item-badge\">${this.badge}</span>` : nothing}\r\n </span>\r\n ${showDescription ? html`<p part=\"description\" class=\"menu-item-description\">${this.description}</p>` : nothing}\r\n </span>\r\n </a>\r\n `;\r\n }\r\n}\r\n"],"mappings":";;;;;;;;;AAAA,SAAS,YAAY,KAAK,MAAM,eAAe;AAC/C,SAAS,eAAe,UAAU,aAAa;AAkBxC,IAAM,WAAN,cAAuB,WAAW;AAAA,EAAlC;AAAA;AA4LL,iBAAQ;AAGR,gBAAO;AAGP,uBAAc;AAId,iBAAQ;AAIR,kBAAS;AAGT,mBAAU;AAIV,2BAAkB;AAIlB,kBAAS;AAGA,SAAQ,UAAU;AAE3B,SAAQ,mBAAmB,CAAC,UAAuB;AACjD,WAAK,UAAW,MAAM,OAA2B,cAAc,EAAE,SAAS,KAAK,CAAC,EAAE,SAAS;AAAA,IAC7F;AAEA,SAAQ,UAAU,CAAC,UA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