@f-ewald/components 1.3.0 → 1.5.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 +1 -0
- package/custom-elements.json +66 -0
- package/dist/content-divider.d.ts +28 -0
- package/dist/content-divider.d.ts.map +1 -0
- package/dist/content-divider.js +92 -0
- package/dist/content-divider.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/docs/content-divider.md +52 -0
- package/llms.txt +27 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,6 +55,7 @@ import "@f-ewald/components/roman-numeral.js";
|
|
|
55
55
|
| `<calendar-year>` | [API reference](https://f-ewald.github.io/components/docs/calendar-year.html) |
|
|
56
56
|
| `<chat-message>` | [API reference](https://f-ewald.github.io/components/docs/chat-message.html) |
|
|
57
57
|
| `<confirm-dialog>` | [API reference](https://f-ewald.github.io/components/docs/confirm-dialog.html) |
|
|
58
|
+
| `<content-divider>` | [API reference](https://f-ewald.github.io/components/docs/content-divider.html) |
|
|
58
59
|
| `<copy-link-button>` | [API reference](https://f-ewald.github.io/components/docs/copy-link-button.html) |
|
|
59
60
|
| `<data-table>` | [API reference](https://f-ewald.github.io/components/docs/data-table.html) |
|
|
60
61
|
| `<distance-value>` | [API reference](https://f-ewald.github.io/components/docs/distance-value.html) |
|
package/custom-elements.json
CHANGED
|
@@ -2958,6 +2958,64 @@
|
|
|
2958
2958
|
}
|
|
2959
2959
|
]
|
|
2960
2960
|
},
|
|
2961
|
+
{
|
|
2962
|
+
"kind": "javascript-module",
|
|
2963
|
+
"path": "src/content-divider.ts",
|
|
2964
|
+
"declarations": [
|
|
2965
|
+
{
|
|
2966
|
+
"kind": "class",
|
|
2967
|
+
"description": "A horizontal divider: a thin rule that visually separates two pieces of\ncontent that are not otherwise contained in a box or frame and would bleed\ninto each other. With a `label` it renders the common \"─── OR ───\"\npattern — text centered between two line segments; without one it is a\nsingle full-width rule. Exposed to assistive technology as a horizontal\nseparator, so it renders correctly with zero external CSS.\n\nThe vertical spacing above and below is tunable per instance via\n`--component-divider-spacing` (default `1rem`), and both the plain and\nlabeled forms reserve the same height, so toggling the label never shifts\nsurrounding layout.",
|
|
2968
|
+
"name": "ContentDivider",
|
|
2969
|
+
"members": [
|
|
2970
|
+
{
|
|
2971
|
+
"kind": "field",
|
|
2972
|
+
"name": "label",
|
|
2973
|
+
"type": {
|
|
2974
|
+
"text": "string"
|
|
2975
|
+
},
|
|
2976
|
+
"default": "\"\"",
|
|
2977
|
+
"description": "Optional centered label; empty renders a plain full-width rule.",
|
|
2978
|
+
"attribute": "label"
|
|
2979
|
+
}
|
|
2980
|
+
],
|
|
2981
|
+
"attributes": [
|
|
2982
|
+
{
|
|
2983
|
+
"name": "label",
|
|
2984
|
+
"type": {
|
|
2985
|
+
"text": "string"
|
|
2986
|
+
},
|
|
2987
|
+
"default": "\"\"",
|
|
2988
|
+
"description": "Optional centered label; empty renders a plain full-width rule.",
|
|
2989
|
+
"fieldName": "label"
|
|
2990
|
+
}
|
|
2991
|
+
],
|
|
2992
|
+
"superclass": {
|
|
2993
|
+
"name": "LitElement",
|
|
2994
|
+
"package": "lit"
|
|
2995
|
+
},
|
|
2996
|
+
"tagName": "content-divider",
|
|
2997
|
+
"customElement": true
|
|
2998
|
+
}
|
|
2999
|
+
],
|
|
3000
|
+
"exports": [
|
|
3001
|
+
{
|
|
3002
|
+
"kind": "js",
|
|
3003
|
+
"name": "ContentDivider",
|
|
3004
|
+
"declaration": {
|
|
3005
|
+
"name": "ContentDivider",
|
|
3006
|
+
"module": "src/content-divider.ts"
|
|
3007
|
+
}
|
|
3008
|
+
},
|
|
3009
|
+
{
|
|
3010
|
+
"kind": "custom-element-definition",
|
|
3011
|
+
"name": "content-divider",
|
|
3012
|
+
"declaration": {
|
|
3013
|
+
"name": "ContentDivider",
|
|
3014
|
+
"module": "src/content-divider.ts"
|
|
3015
|
+
}
|
|
3016
|
+
}
|
|
3017
|
+
]
|
|
3018
|
+
},
|
|
2961
3019
|
{
|
|
2962
3020
|
"kind": "javascript-module",
|
|
2963
3021
|
"path": "src/copy-link-button.ts",
|
|
@@ -5760,6 +5818,14 @@
|
|
|
5760
5818
|
"module": "./confirm-dialog.js"
|
|
5761
5819
|
}
|
|
5762
5820
|
},
|
|
5821
|
+
{
|
|
5822
|
+
"kind": "js",
|
|
5823
|
+
"name": "ContentDivider",
|
|
5824
|
+
"declaration": {
|
|
5825
|
+
"name": "ContentDivider",
|
|
5826
|
+
"module": "./content-divider.js"
|
|
5827
|
+
}
|
|
5828
|
+
},
|
|
5763
5829
|
{
|
|
5764
5830
|
"kind": "js",
|
|
5765
5831
|
"name": "ToastNotification",
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
/**
|
|
3
|
+
* A horizontal divider: a thin rule that visually separates two pieces of
|
|
4
|
+
* content that are not otherwise contained in a box or frame and would bleed
|
|
5
|
+
* into each other. With a `label` it renders the common "─── OR ───"
|
|
6
|
+
* pattern — text centered between two line segments; without one it is a
|
|
7
|
+
* single full-width rule. Exposed to assistive technology as a horizontal
|
|
8
|
+
* separator, so it renders correctly with zero external CSS.
|
|
9
|
+
*
|
|
10
|
+
* The vertical spacing above and below is tunable per instance via
|
|
11
|
+
* `--component-divider-spacing` (default `1rem`), and both the plain and
|
|
12
|
+
* labeled forms reserve the same height, so toggling the label never shifts
|
|
13
|
+
* surrounding layout.
|
|
14
|
+
*
|
|
15
|
+
* @element content-divider
|
|
16
|
+
*/
|
|
17
|
+
export declare class ContentDivider extends LitElement {
|
|
18
|
+
static styles: import("lit").CSSResult[];
|
|
19
|
+
/** Optional centered label; empty renders a plain full-width rule. */
|
|
20
|
+
label: string;
|
|
21
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
22
|
+
}
|
|
23
|
+
declare global {
|
|
24
|
+
interface HTMLElementTagNameMap {
|
|
25
|
+
"content-divider": ContentDivider;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=content-divider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-divider.d.ts","sourceRoot":"","sources":["../src/content-divider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAIrD;;;;;;;;;;;;;;GAcG;AACH,qBACa,cAAe,SAAQ,UAAU;IAC5C,OAAgB,MAAM,4BAmCpB;IAEF,sEAAsE;IAC1D,KAAK,SAAM;IAEd,MAAM,yCAgBd;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,cAAc,CAAC;KACnC;CACF"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { LitElement, css, html, nothing } from "lit";
|
|
8
|
+
import { customElement, property } from "lit/decorators.js";
|
|
9
|
+
import { tokens } from "./tokens.js";
|
|
10
|
+
/**
|
|
11
|
+
* A horizontal divider: a thin rule that visually separates two pieces of
|
|
12
|
+
* content that are not otherwise contained in a box or frame and would bleed
|
|
13
|
+
* into each other. With a `label` it renders the common "─── OR ───"
|
|
14
|
+
* pattern — text centered between two line segments; without one it is a
|
|
15
|
+
* single full-width rule. Exposed to assistive technology as a horizontal
|
|
16
|
+
* separator, so it renders correctly with zero external CSS.
|
|
17
|
+
*
|
|
18
|
+
* The vertical spacing above and below is tunable per instance via
|
|
19
|
+
* `--component-divider-spacing` (default `1rem`), and both the plain and
|
|
20
|
+
* labeled forms reserve the same height, so toggling the label never shifts
|
|
21
|
+
* surrounding layout.
|
|
22
|
+
*
|
|
23
|
+
* @element content-divider
|
|
24
|
+
*/
|
|
25
|
+
let ContentDivider = class ContentDivider extends LitElement {
|
|
26
|
+
constructor() {
|
|
27
|
+
super(...arguments);
|
|
28
|
+
/** Optional centered label; empty renders a plain full-width rule. */
|
|
29
|
+
this.label = "";
|
|
30
|
+
}
|
|
31
|
+
static { this.styles = [
|
|
32
|
+
tokens,
|
|
33
|
+
css `
|
|
34
|
+
:host {
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
37
|
+
.rule {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
gap: 0.75rem;
|
|
41
|
+
min-height: calc(var(--ui-font-size-sm, 0.75rem) * var(--ui-line-height-tight, 1.25));
|
|
42
|
+
padding-block: var(--component-divider-spacing, 1rem);
|
|
43
|
+
}
|
|
44
|
+
.line {
|
|
45
|
+
flex: 1 1 auto;
|
|
46
|
+
border-top: 1px solid var(--ui-border, #e2e8f0);
|
|
47
|
+
}
|
|
48
|
+
.label {
|
|
49
|
+
flex: 0 0 auto;
|
|
50
|
+
color: var(--ui-text-muted, #64748b);
|
|
51
|
+
font-family: var(
|
|
52
|
+
--ui-font,
|
|
53
|
+
ui-sans-serif,
|
|
54
|
+
system-ui,
|
|
55
|
+
sans-serif,
|
|
56
|
+
"Apple Color Emoji",
|
|
57
|
+
"Segoe UI Emoji",
|
|
58
|
+
"Segoe UI Symbol",
|
|
59
|
+
"Noto Color Emoji"
|
|
60
|
+
);
|
|
61
|
+
font-size: var(--ui-font-size-sm, 0.75rem);
|
|
62
|
+
font-weight: var(--ui-font-weight-medium, 500);
|
|
63
|
+
line-height: var(--ui-line-height-tight, 1.25);
|
|
64
|
+
}
|
|
65
|
+
`,
|
|
66
|
+
]; }
|
|
67
|
+
render() {
|
|
68
|
+
const hasLabel = this.label.trim().length > 0;
|
|
69
|
+
return html `
|
|
70
|
+
<div
|
|
71
|
+
class="rule"
|
|
72
|
+
role="separator"
|
|
73
|
+
aria-orientation="horizontal"
|
|
74
|
+
aria-label=${hasLabel ? this.label : nothing}
|
|
75
|
+
>
|
|
76
|
+
<span class="line"></span>
|
|
77
|
+
${hasLabel
|
|
78
|
+
? html `<span class="label" aria-hidden="true">${this.label}</span>
|
|
79
|
+
<span class="line"></span>`
|
|
80
|
+
: nothing}
|
|
81
|
+
</div>
|
|
82
|
+
`;
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
__decorate([
|
|
86
|
+
property()
|
|
87
|
+
], ContentDivider.prototype, "label", void 0);
|
|
88
|
+
ContentDivider = __decorate([
|
|
89
|
+
customElement("content-divider")
|
|
90
|
+
], ContentDivider);
|
|
91
|
+
export { ContentDivider };
|
|
92
|
+
//# sourceMappingURL=content-divider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-divider.js","sourceRoot":"","sources":["../src/content-divider.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;;;;;;;;;GAcG;AAEI,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,UAAU;IAAvC;;QAsCL,sEAAsE;QAC1D,UAAK,GAAG,EAAE,CAAC;IAmBzB,CAAC;aAzDiB,WAAM,GAAG;QACvB,MAAM;QACN,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgCF;KACF,AAnCqB,CAmCpB;IAKO,MAAM;QACb,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;QAC9C,OAAO,IAAI,CAAA;;;;;qBAKM,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO;;;UAG1C,QAAQ;YACR,CAAC,CAAC,IAAI,CAAA,0CAA0C,IAAI,CAAC,KAAK;yCAC3B;YAC/B,CAAC,CAAC,OAAO;;KAEd,CAAC;IACJ,CAAC;CACF,CAAA;AAnBa;IAAX,QAAQ,EAAE;6CAAY;AAvCZ,cAAc;IAD1B,aAAa,CAAC,iBAAiB,CAAC;GACpB,cAAc,CA0D1B","sourcesContent":["import { LitElement, css, html, nothing } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\nimport { tokens } from \"./tokens.js\";\n\n/**\n * A horizontal divider: a thin rule that visually separates two pieces of\n * content that are not otherwise contained in a box or frame and would bleed\n * into each other. With a `label` it renders the common \"─── OR ───\"\n * pattern — text centered between two line segments; without one it is a\n * single full-width rule. Exposed to assistive technology as a horizontal\n * separator, so it renders correctly with zero external CSS.\n *\n * The vertical spacing above and below is tunable per instance via\n * `--component-divider-spacing` (default `1rem`), and both the plain and\n * labeled forms reserve the same height, so toggling the label never shifts\n * surrounding layout.\n *\n * @element content-divider\n */\n@customElement(\"content-divider\")\nexport class ContentDivider extends LitElement {\n static override styles = [\n tokens,\n css`\n :host {\n display: block;\n }\n .rule {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n min-height: calc(var(--ui-font-size-sm, 0.75rem) * var(--ui-line-height-tight, 1.25));\n padding-block: var(--component-divider-spacing, 1rem);\n }\n .line {\n flex: 1 1 auto;\n border-top: 1px solid var(--ui-border, #e2e8f0);\n }\n .label {\n flex: 0 0 auto;\n color: var(--ui-text-muted, #64748b);\n font-family: var(\n --ui-font,\n ui-sans-serif,\n system-ui,\n sans-serif,\n \"Apple Color Emoji\",\n \"Segoe UI Emoji\",\n \"Segoe UI Symbol\",\n \"Noto Color Emoji\"\n );\n font-size: var(--ui-font-size-sm, 0.75rem);\n font-weight: var(--ui-font-weight-medium, 500);\n line-height: var(--ui-line-height-tight, 1.25);\n }\n `,\n ];\n\n /** Optional centered label; empty renders a plain full-width rule. */\n @property() label = \"\";\n\n override render() {\n const hasLabel = this.label.trim().length > 0;\n return html`\n <div\n class=\"rule\"\n role=\"separator\"\n aria-orientation=\"horizontal\"\n aria-label=${hasLabel ? this.label : nothing}\n >\n <span class=\"line\"></span>\n ${hasLabel\n ? html`<span class=\"label\" aria-hidden=\"true\">${this.label}</span>\n <span class=\"line\"></span>`\n : nothing}\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"content-divider\": ContentDivider;\n }\n}\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { PhotoGallery, type PhotoGalleryChangeReason, type PhotoGalleryObjectFit
|
|
|
5
5
|
export { RevealButton } from "./reveal-button.js";
|
|
6
6
|
export { RomanNumeral } from "./roman-numeral.js";
|
|
7
7
|
export { ConfirmDialog } from "./confirm-dialog.js";
|
|
8
|
+
export { ContentDivider } from "./content-divider.js";
|
|
8
9
|
export { ToastNotification, notifySuccess, notifyError, notifyInfo, type ToastVariant, } from "./toast-notification.js";
|
|
9
10
|
export { SlidePanel } from "./slide-panel.js";
|
|
10
11
|
export { CopyLinkButton } from "./copy-link-button.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EACL,YAAY,EACZ,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,6BAA6B,GAC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a,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EACL,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnE,cAAc,YAAY,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -5,6 +5,7 @@ export { PhotoGallery, } from "./photo-gallery.js";
|
|
|
5
5
|
export { RevealButton } from "./reveal-button.js";
|
|
6
6
|
export { RomanNumeral } from "./roman-numeral.js";
|
|
7
7
|
export { ConfirmDialog } from "./confirm-dialog.js";
|
|
8
|
+
export { ContentDivider } from "./content-divider.js";
|
|
8
9
|
export { ToastNotification, notifySuccess, notifyError, notifyInfo, } from "./toast-notification.js";
|
|
9
10
|
export { SlidePanel } from "./slide-panel.js";
|
|
10
11
|
export { CopyLinkButton } from "./copy-link-button.js";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EACL,YAAY,GAIb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,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UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAuB,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnE,cAAc,YAAY,CAAC","sourcesContent":["export { AnimateConfetti } from \"./animate-confetti.js\";\nexport { GalleryItem } from \"./gallery-item.js\";\nexport { GalleryItemVariant } from \"./gallery-item-variant.js\";\nexport {\n PhotoGallery,\n type PhotoGalleryChangeReason,\n type PhotoGalleryObjectFit,\n type PhotoGallerySlideChangeDetail,\n} from \"./photo-gallery.js\";\nexport { RevealButton } from \"./reveal-button.js\";\nexport { RomanNumeral } from \"./roman-numeral.js\";\nexport { ConfirmDialog } from \"./confirm-dialog.js\";\nexport {\n ToastNotification,\n notifySuccess,\n notifyError,\n notifyInfo,\n type ToastVariant,\n} from \"./toast-notification.js\";\nexport { SlidePanel } from \"./slide-panel.js\";\nexport { CopyLinkButton } from \"./copy-link-button.js\";\nexport { RelativeTime } from \"./relative-time.js\";\nexport { DistanceValue } from \"./distance-value.js\";\nexport { PriceHistoryChart, type PricePoint } from \"./price-history-chart.js\";\nexport { DistributionChart, type DistributionValue } from \"./distribution-chart.js\";\nexport { PercentBarChart, type PercentBarGroup } from \"./percent-bar-chart.js\";\nexport { WeightBarChart, type WeightBarItem } from \"./weight-bar-chart.js\";\nexport {\n AddressAutocomplete,\n type AddressSuggestion,\n} from \"./address-autocomplete.js\";\nexport {\n AutocompleteInput,\n type AutocompleteOption,\n} from \"./autocomplete-input.js\";\nexport { UserAvatar } from \"./user-avatar.js\";\nexport { MapPin } from \"./map-pin.js\";\nexport { MapCircle } from \"./map-circle.js\";\nexport { RadioCards, type RadioCardOption } from \"./radio-cards.js\";\nexport { RadioPills, type RadioPillOption } from \"./radio-pills.js\";\nexport { UiButton, type ButtonVariant } from \"./ui-button.js\";\nexport { StatMeter } from \"./stat-meter.js\";\nexport { StatusPill, type StatusPillColor } from \"./status-pill.js\";\nexport { EditableText } from \"./editable-text.js\";\nexport { LiveTimer } from \"./live-timer.js\";\nexport {\n ChatMessage,\n type ChatMessageRole,\n type ChatMessageVariant,\n} from \"./chat-message.js\";\nexport { FormSelect, type SelectOption } from \"./form-select.js\";\nexport {\n MultiSelect,\n type MultiSelectOption,\n type MultiSelectVariant,\n} from \"./multi-select.js\";\nexport { DataTable, type DataTableColumn } from \"./data-table.js\";\nexport { TileGrid } from \"./tile-grid.js\";\nexport { PopoverPanel } from \"./popover-panel.js\";\nexport { DropdownButton, type DropdownOption } from \"./dropdown-button.js\";\nexport { IconButton } from \"./icon-button.js\";\nexport { KbdHint, type KbdPlatform } from \"./kbd-hint.js\";\nexport { FrameBox } from \"./frame-box.js\";\nexport { AppShell, type SidebarToggleDetail } from \"./app-shell.js\";\nexport { AppSidebar } from \"./app-sidebar.js\";\nexport { ActionBar } from \"./action-bar.js\";\nexport { PageHeader } from \"./page-header.js\";\nexport { PaginationNav, type PageChangeDetail } from \"./pagination-nav.js\";\nexport { FormActions } from \"./form-actions.js\";\nexport { TimelineContainer } from \"./timeline-container.js\";\nexport { TimelineEntry } from \"./timeline-entry.js\";\nexport { CalendarEntry } from \"./calendar-entry.js\";\nexport { CalendarMonth } from \"./calendar-month.js\";\nexport { CalendarYear } from \"./calendar-year.js\";\nexport {\n KanbanBoard,\n type KanbanCardData,\n type KanbanColumnData,\n type KanbanCardMoveDetail,\n type KanbanCardOpenDetail,\n} from \"./kanban-board.js\";\nexport { KanbanColumn } from \"./kanban-column.js\";\nexport { KanbanCard } from \"./kanban-card.js\";\nexport { formatDuration, type DurationFormat } from \"./utils/duration.js\";\nexport { tokens, tokenValues, darkTokenValues } from \"./tokens.js\";\nexport * from \"./icons.js\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,WAAW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Aa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EACL,WAAW,GAKZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAuB,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnE,cAAc,YAAY,CAAC","sourcesContent":["export { AnimateConfetti } from \"./animate-confetti.js\";\nexport { GalleryItem } from \"./gallery-item.js\";\nexport { GalleryItemVariant } from \"./gallery-item-variant.js\";\nexport {\n PhotoGallery,\n type PhotoGalleryChangeReason,\n type PhotoGalleryObjectFit,\n type PhotoGallerySlideChangeDetail,\n} from \"./photo-gallery.js\";\nexport { RevealButton } from \"./reveal-button.js\";\nexport { RomanNumeral } from \"./roman-numeral.js\";\nexport { ConfirmDialog } from \"./confirm-dialog.js\";\nexport { ContentDivider } from \"./content-divider.js\";\nexport {\n ToastNotification,\n notifySuccess,\n notifyError,\n notifyInfo,\n type ToastVariant,\n} from \"./toast-notification.js\";\nexport { SlidePanel } from \"./slide-panel.js\";\nexport { CopyLinkButton } from \"./copy-link-button.js\";\nexport { RelativeTime } from \"./relative-time.js\";\nexport { DistanceValue } from \"./distance-value.js\";\nexport { PriceHistoryChart, type PricePoint } from \"./price-history-chart.js\";\nexport { DistributionChart, type DistributionValue } from \"./distribution-chart.js\";\nexport { PercentBarChart, type PercentBarGroup } from \"./percent-bar-chart.js\";\nexport { WeightBarChart, type WeightBarItem } from \"./weight-bar-chart.js\";\nexport {\n AddressAutocomplete,\n type AddressSuggestion,\n} from \"./address-autocomplete.js\";\nexport {\n AutocompleteInput,\n type AutocompleteOption,\n} from \"./autocomplete-input.js\";\nexport { UserAvatar } from \"./user-avatar.js\";\nexport { MapPin } from \"./map-pin.js\";\nexport { MapCircle } from \"./map-circle.js\";\nexport { RadioCards, type RadioCardOption } from \"./radio-cards.js\";\nexport { RadioPills, type RadioPillOption } from \"./radio-pills.js\";\nexport { UiButton, type ButtonVariant } from \"./ui-button.js\";\nexport { StatMeter } from \"./stat-meter.js\";\nexport { StatusPill, type StatusPillColor } from \"./status-pill.js\";\nexport { EditableText } from \"./editable-text.js\";\nexport { LiveTimer } from \"./live-timer.js\";\nexport {\n ChatMessage,\n type ChatMessageRole,\n type ChatMessageVariant,\n} from \"./chat-message.js\";\nexport { FormSelect, type SelectOption } from \"./form-select.js\";\nexport {\n MultiSelect,\n type MultiSelectOption,\n type MultiSelectVariant,\n} from \"./multi-select.js\";\nexport { DataTable, type DataTableColumn } from \"./data-table.js\";\nexport { TileGrid } from \"./tile-grid.js\";\nexport { PopoverPanel } from \"./popover-panel.js\";\nexport { DropdownButton, type DropdownOption } from \"./dropdown-button.js\";\nexport { IconButton } from \"./icon-button.js\";\nexport { KbdHint, type KbdPlatform } from \"./kbd-hint.js\";\nexport { FrameBox } from \"./frame-box.js\";\nexport { AppShell, type SidebarToggleDetail } from \"./app-shell.js\";\nexport { AppSidebar } from \"./app-sidebar.js\";\nexport { ActionBar } from \"./action-bar.js\";\nexport { PageHeader } from \"./page-header.js\";\nexport { PaginationNav, type PageChangeDetail } from \"./pagination-nav.js\";\nexport { FormActions } from \"./form-actions.js\";\nexport { TimelineContainer } from \"./timeline-container.js\";\nexport { TimelineEntry } from \"./timeline-entry.js\";\nexport { CalendarEntry } from \"./calendar-entry.js\";\nexport { CalendarMonth } from \"./calendar-month.js\";\nexport { CalendarYear } from \"./calendar-year.js\";\nexport {\n KanbanBoard,\n type KanbanCardData,\n type KanbanColumnData,\n type KanbanCardMoveDetail,\n type KanbanCardOpenDetail,\n} from \"./kanban-board.js\";\nexport { KanbanColumn } from \"./kanban-column.js\";\nexport { KanbanCard } from \"./kanban-card.js\";\nexport { formatDuration, type DurationFormat } from \"./utils/duration.js\";\nexport { tokens, tokenValues, darkTokenValues } from \"./tokens.js\";\nexport * from \"./icons.js\";\n"]}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# `<content-divider>`
|
|
2
|
+
|
|
3
|
+
A horizontal divider: a thin rule that visually separates two pieces of
|
|
4
|
+
content that are not otherwise contained in a box or frame and would bleed
|
|
5
|
+
into each other. With a `label` it renders the common "─── OR ───"
|
|
6
|
+
pattern — text centered between two line segments; without one it is a
|
|
7
|
+
single full-width rule. Exposed to assistive technology as a horizontal
|
|
8
|
+
separator, so it renders correctly with zero external CSS.
|
|
9
|
+
|
|
10
|
+
The vertical spacing above and below is tunable per instance via
|
|
11
|
+
`--component-divider-spacing` (default `1rem`), and both the plain and
|
|
12
|
+
labeled forms reserve the same height, so toggling the label never shifts
|
|
13
|
+
surrounding layout.
|
|
14
|
+
|
|
15
|
+
## Install
|
|
16
|
+
|
|
17
|
+
```js
|
|
18
|
+
import "@f-ewald/components/content-divider.js";
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```html
|
|
24
|
+
<content-divider></content-divider>
|
|
25
|
+
|
|
26
|
+
<content-divider label="OR"></content-divider>
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Attributes / properties
|
|
30
|
+
|
|
31
|
+
| Property | Attribute | Type | Default | Description |
|
|
32
|
+
| --- | --- | --- | --- | --- |
|
|
33
|
+
| `label` | `label` | `string` | `""` | Optional centered label; empty renders a plain full-width rule. |
|
|
34
|
+
|
|
35
|
+
## Events
|
|
36
|
+
|
|
37
|
+
_None._
|
|
38
|
+
|
|
39
|
+
## Slots
|
|
40
|
+
|
|
41
|
+
_None._
|
|
42
|
+
|
|
43
|
+
## CSS custom properties
|
|
44
|
+
|
|
45
|
+
| Custom property |
|
|
46
|
+
| --- |
|
|
47
|
+
| `--ui-border` |
|
|
48
|
+
| `--ui-font` |
|
|
49
|
+
| `--ui-font-size-sm` |
|
|
50
|
+
| `--ui-font-weight-medium` |
|
|
51
|
+
| `--ui-line-height-tight` |
|
|
52
|
+
| `--ui-text-muted` |
|
package/llms.txt
CHANGED
|
@@ -355,6 +355,33 @@ Example:
|
|
|
355
355
|
</confirm-dialog>
|
|
356
356
|
```
|
|
357
357
|
|
|
358
|
+
## <content-divider>
|
|
359
|
+
|
|
360
|
+
A horizontal divider: a thin rule that visually separates two pieces of
|
|
361
|
+
content that are not otherwise contained in a box or frame and would bleed
|
|
362
|
+
into each other. With a `label` it renders the common "─── OR ───"
|
|
363
|
+
pattern — text centered between two line segments; without one it is a
|
|
364
|
+
single full-width rule. Exposed to assistive technology as a horizontal
|
|
365
|
+
separator, so it renders correctly with zero external CSS.
|
|
366
|
+
|
|
367
|
+
The vertical spacing above and below is tunable per instance via
|
|
368
|
+
`--component-divider-spacing` (default `1rem`), and both the plain and
|
|
369
|
+
labeled forms reserve the same height, so toggling the label never shifts
|
|
370
|
+
surrounding layout.
|
|
371
|
+
|
|
372
|
+
Import: `import "@f-ewald/components/content-divider.js";`
|
|
373
|
+
|
|
374
|
+
Properties: `label` (attribute `label`) : string, default ""
|
|
375
|
+
Events: none
|
|
376
|
+
CSS custom properties: `--ui-border`, `--ui-font`, `--ui-font-size-sm`, `--ui-font-weight-medium`, `--ui-line-height-tight`, `--ui-text-muted`
|
|
377
|
+
|
|
378
|
+
Example:
|
|
379
|
+
```html
|
|
380
|
+
<content-divider></content-divider>
|
|
381
|
+
|
|
382
|
+
<content-divider label="OR"></content-divider>
|
|
383
|
+
```
|
|
384
|
+
|
|
358
385
|
## <copy-link-button>
|
|
359
386
|
|
|
360
387
|
Small icon button that copies `value` to the clipboard and shows a toast
|