@f-ewald/components 1.17.0 → 1.18.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 CHANGED
@@ -100,6 +100,7 @@ import "@f-ewald/components/roman-numeral.js";
100
100
  | `<scroll-to-bottom>` | [API reference](https://f-ewald.github.io/components/docs/scroll-to-bottom.html) |
101
101
  | `<scroll-to-top>` | [API reference](https://f-ewald.github.io/components/docs/scroll-to-top.html) |
102
102
  | `<slide-panel>` | [API reference](https://f-ewald.github.io/components/docs/slide-panel.html) |
103
+ | `<split-hero>` | [API reference](https://f-ewald.github.io/components/docs/split-hero.html) |
103
104
  | `<stat-meter>` | [API reference](https://f-ewald.github.io/components/docs/stat-meter.html) |
104
105
  | `<status-pill>` | [API reference](https://f-ewald.github.io/components/docs/status-pill.html) |
105
106
  | `<text-area>` | [API reference](https://f-ewald.github.io/components/docs/text-area.html) |
@@ -7197,6 +7197,14 @@
7197
7197
  "module": "./auto-scroll.js"
7198
7198
  }
7199
7199
  },
7200
+ {
7201
+ "kind": "js",
7202
+ "name": "SplitHero",
7203
+ "declaration": {
7204
+ "name": "SplitHero",
7205
+ "module": "./split-hero.js"
7206
+ }
7207
+ },
7200
7208
  {
7201
7209
  "kind": "js",
7202
7210
  "name": "formatDuration",
@@ -12989,6 +12997,89 @@
12989
12997
  }
12990
12998
  ]
12991
12999
  },
13000
+ {
13001
+ "kind": "javascript-module",
13002
+ "path": "src/split-hero.ts",
13003
+ "declarations": [
13004
+ {
13005
+ "kind": "class",
13006
+ "description": "Full-viewport split layout: a user-supplied photo fills one half, the\ndefault slot (typically a sign-in/sign-up form) fills the other. Below the\nshared 48rem breakpoint the photo becomes a blurred, full-bleed backdrop\nbehind a solid content card instead of disappearing outright.\n\nGive the host a height the same way as `app-shell` (e.g. `height: 100vh`).",
13007
+ "name": "SplitHero",
13008
+ "slots": [
13009
+ {
13010
+ "description": "Form or other content for the non-image half.",
13011
+ "name": ""
13012
+ }
13013
+ ],
13014
+ "members": [
13015
+ {
13016
+ "kind": "field",
13017
+ "name": "src",
13018
+ "type": {
13019
+ "text": "string"
13020
+ },
13021
+ "default": "\"\"",
13022
+ "description": "URL of the image filling the visual half; omit to render content full-width.",
13023
+ "attribute": "src"
13024
+ },
13025
+ {
13026
+ "kind": "field",
13027
+ "name": "alt",
13028
+ "type": {
13029
+ "text": "string"
13030
+ },
13031
+ "default": "\"\"",
13032
+ "description": "Accessible alternative text for the image; leave empty for a decorative photo.",
13033
+ "attribute": "alt"
13034
+ }
13035
+ ],
13036
+ "attributes": [
13037
+ {
13038
+ "name": "src",
13039
+ "type": {
13040
+ "text": "string"
13041
+ },
13042
+ "default": "\"\"",
13043
+ "description": "URL of the image filling the visual half; omit to render content full-width.",
13044
+ "fieldName": "src"
13045
+ },
13046
+ {
13047
+ "name": "alt",
13048
+ "type": {
13049
+ "text": "string"
13050
+ },
13051
+ "default": "\"\"",
13052
+ "description": "Accessible alternative text for the image; leave empty for a decorative photo.",
13053
+ "fieldName": "alt"
13054
+ }
13055
+ ],
13056
+ "superclass": {
13057
+ "name": "LitElement",
13058
+ "package": "lit"
13059
+ },
13060
+ "tagName": "split-hero",
13061
+ "customElement": true
13062
+ }
13063
+ ],
13064
+ "exports": [
13065
+ {
13066
+ "kind": "js",
13067
+ "name": "SplitHero",
13068
+ "declaration": {
13069
+ "name": "SplitHero",
13070
+ "module": "src/split-hero.ts"
13071
+ }
13072
+ },
13073
+ {
13074
+ "kind": "custom-element-definition",
13075
+ "name": "split-hero",
13076
+ "declaration": {
13077
+ "name": "SplitHero",
13078
+ "module": "src/split-hero.ts"
13079
+ }
13080
+ }
13081
+ ]
13082
+ },
12992
13083
  {
12993
13084
  "kind": "javascript-module",
12994
13085
  "path": "src/stat-meter.ts",
package/dist/index.d.ts CHANGED
@@ -67,6 +67,7 @@ export { LinkCard, type LinkCardStatus } from "./link-card.js";
67
67
  export { CardGrid } from "./card-grid.js";
68
68
  export { MarkdownView } from "./markdown-view.js";
69
69
  export { AutoScroll } from "./auto-scroll.js";
70
+ export { SplitHero } from "./split-hero.js";
70
71
  export { formatDuration, type DurationFormat } from "./utils/duration.js";
71
72
  export { tokens, tokenValues, darkTokenValues } from "./tokens.js";
72
73
  export * from "./icons.js";
@@ -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,GACnC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,UAAU,EACV,aAAa,EACb,KAAK,YAAY,GAClB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,EAAE,iBAAiB,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,EAAE,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,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
@@ -67,6 +67,7 @@ export { LinkCard } from "./link-card.js";
67
67
  export { CardGrid } from "./card-grid.js";
68
68
  export { MarkdownView } from "./markdown-view.js";
69
69
  export { AutoScroll } from "./auto-scroll.js";
70
+ export { SplitHero } from "./split-hero.js";
70
71
  export { formatDuration } from "./utils/duration.js";
71
72
  export { tokens, tokenValues, darkTokenValues } from "./tokens.js";
72
73
  export * from "./icons.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,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EACL,iBAAiB,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O,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,aAAa,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,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAuB,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,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 notifyWarning,\n type ToastVariant,\n} from \"./toast-notification.js\";\nexport { ScrollToBottom } from \"./scroll-to-bottom.js\";\nexport { ScrollToTop } from \"./scroll-to-top.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 { MapboxMap } from \"./mapbox-map.js\";\nexport { RadioCards, type RadioCardOption } from \"./radio-cards.js\";\nexport { RadioPills, type RadioPillOption } from \"./radio-pills.js\";\nexport { RangeSlider } from \"./range-slider.js\";\nexport { ButtonGroup, type ButtonGroupOption } from \"./button-group.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 { LoadMore } from \"./load-more.js\";\nexport { LoadingSpinner } from \"./loading-spinner.js\";\nexport { LoadingDots } from \"./loading-dots.js\";\nexport {\n ChatMessage,\n type ChatMessageRole,\n type ChatMessageVariant,\n} from \"./chat-message.js\";\nexport { UiCheckbox } from \"./ui-checkbox.js\";\nexport { FormField } from \"./form-field.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 { TreeView, type TreeNode } from \"./tree-view.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 { TextArea } from \"./text-area.js\";\nexport { LinkCard, type LinkCardStatus } from \"./link-card.js\";\nexport { CardGrid } from \"./card-grid.js\";\nexport { MarkdownView } from \"./markdown-view.js\";\nexport { AutoScroll } from \"./auto-scroll.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,EAAE,MAA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,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 notifyWarning,\n type ToastVariant,\n} from \"./toast-notification.js\";\nexport { ScrollToBottom } from \"./scroll-to-bottom.js\";\nexport { ScrollToTop } from \"./scroll-to-top.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 { MapboxMap } from \"./mapbox-map.js\";\nexport { RadioCards, type RadioCardOption } from \"./radio-cards.js\";\nexport { RadioPills, type RadioPillOption } from \"./radio-pills.js\";\nexport { RangeSlider } from \"./range-slider.js\";\nexport { ButtonGroup, type ButtonGroupOption } from \"./button-group.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 { LoadMore } from \"./load-more.js\";\nexport { LoadingSpinner } from \"./loading-spinner.js\";\nexport { LoadingDots } from \"./loading-dots.js\";\nexport {\n ChatMessage,\n type ChatMessageRole,\n type ChatMessageVariant,\n} from \"./chat-message.js\";\nexport { UiCheckbox } from \"./ui-checkbox.js\";\nexport { FormField } from \"./form-field.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 { TreeView, type TreeNode } from \"./tree-view.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 { TextArea } from \"./text-area.js\";\nexport { LinkCard, type LinkCardStatus } from \"./link-card.js\";\nexport { CardGrid } from \"./card-grid.js\";\nexport { MarkdownView } from \"./markdown-view.js\";\nexport { AutoScroll } from \"./auto-scroll.js\";\nexport { SplitHero } from \"./split-hero.js\";\nexport { formatDuration, type DurationFormat } from \"./utils/duration.js\";\nexport { tokens, tokenValues, darkTokenValues } from \"./tokens.js\";\nexport * from \"./icons.js\";\n"]}
@@ -0,0 +1,26 @@
1
+ import { LitElement } from "lit";
2
+ /**
3
+ * Full-viewport split layout: a user-supplied photo fills one half, the
4
+ * default slot (typically a sign-in/sign-up form) fills the other. Below the
5
+ * shared 48rem breakpoint the photo becomes a blurred, full-bleed backdrop
6
+ * behind a solid content card instead of disappearing outright.
7
+ *
8
+ * Give the host a height the same way as `app-shell` (e.g. `height: 100vh`).
9
+ *
10
+ * @element split-hero
11
+ * @slot - Form or other content for the non-image half.
12
+ */
13
+ export declare class SplitHero extends LitElement {
14
+ /** URL of the image filling the visual half; omit to render content full-width. */
15
+ src: string;
16
+ /** Accessible alternative text for the image; leave empty for a decorative photo. */
17
+ alt: string;
18
+ static styles: import("lit").CSSResult[];
19
+ render(): import("lit-html").TemplateResult<1>;
20
+ }
21
+ declare global {
22
+ interface HTMLElementTagNameMap {
23
+ "split-hero": SplitHero;
24
+ }
25
+ }
26
+ //# sourceMappingURL=split-hero.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"split-hero.d.ts","sourceRoot":"","sources":["../src/split-hero.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAI5C;;;;;;;;;;GAUG;AACH,qBACa,SAAU,SAAQ,UAAU;IACvC,mFAAmF;IACvE,GAAG,SAAM;IAErB,qFAAqF;IACzE,GAAG,SAAM;IAErB,OAAgB,MAAM,4BAiFpB;IAEO,MAAM,yCASd;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAC;KACzB;CACF"}
@@ -0,0 +1,132 @@
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 } from "lit";
8
+ import { customElement, property } from "lit/decorators.js";
9
+ import { tokens } from "./tokens.js";
10
+ /**
11
+ * Full-viewport split layout: a user-supplied photo fills one half, the
12
+ * default slot (typically a sign-in/sign-up form) fills the other. Below the
13
+ * shared 48rem breakpoint the photo becomes a blurred, full-bleed backdrop
14
+ * behind a solid content card instead of disappearing outright.
15
+ *
16
+ * Give the host a height the same way as `app-shell` (e.g. `height: 100vh`).
17
+ *
18
+ * @element split-hero
19
+ * @slot - Form or other content for the non-image half.
20
+ */
21
+ let SplitHero = class SplitHero extends LitElement {
22
+ constructor() {
23
+ super(...arguments);
24
+ /** URL of the image filling the visual half; omit to render content full-width. */
25
+ this.src = "";
26
+ /** Accessible alternative text for the image; leave empty for a decorative photo. */
27
+ this.alt = "";
28
+ }
29
+ static { this.styles = [
30
+ tokens,
31
+ css `
32
+ :host {
33
+ display: flex;
34
+ block-size: 100%;
35
+ font-family: var(
36
+ --ui-font,
37
+ ui-sans-serif,
38
+ system-ui,
39
+ sans-serif,
40
+ "Apple Color Emoji",
41
+ "Segoe UI Emoji",
42
+ "Segoe UI Symbol",
43
+ "Noto Color Emoji"
44
+ );
45
+ }
46
+ .visual {
47
+ flex: 1 1 0;
48
+ min-width: 0;
49
+ margin: 0;
50
+ background: var(--ui-surface-muted, #f8fafc);
51
+ }
52
+ .visual img {
53
+ display: block;
54
+ width: 100%;
55
+ height: 100%;
56
+ object-fit: cover;
57
+ }
58
+ .content {
59
+ position: relative;
60
+ flex: 1 1 0;
61
+ min-width: 0;
62
+ display: flex;
63
+ align-items: center;
64
+ justify-content: center;
65
+ box-sizing: border-box;
66
+ padding: 2rem;
67
+ overflow-y: auto;
68
+ background: var(--ui-surface, #ffffff);
69
+ color: var(--ui-text, #0f172a);
70
+ }
71
+ .backdrop {
72
+ display: none;
73
+ }
74
+ .content-inner {
75
+ position: relative;
76
+ z-index: 1;
77
+ width: 100%;
78
+ max-width: 25rem;
79
+ }
80
+ @media (max-width: 48rem) {
81
+ .visual {
82
+ display: none;
83
+ }
84
+ .content {
85
+ padding: 1.5rem;
86
+ }
87
+ .backdrop {
88
+ display: block;
89
+ position: absolute;
90
+ inset: 0;
91
+ z-index: 0;
92
+ width: 100%;
93
+ height: 100%;
94
+ object-fit: cover;
95
+ filter: blur(2.5rem);
96
+ pointer-events: none;
97
+ }
98
+ .content-inner.card {
99
+ background: var(--ui-surface, #ffffff);
100
+ border-radius: var(--ui-radius, 0.5rem);
101
+ box-shadow: var(
102
+ --ui-shadow-lg,
103
+ 0 20px 25px -5px rgb(0 0 0 / 0.1),
104
+ 0 8px 10px -6px rgb(0 0 0 / 0.1)
105
+ );
106
+ padding: 1.5rem;
107
+ }
108
+ }
109
+ `,
110
+ ]; }
111
+ render() {
112
+ const hasPhoto = Boolean(this.src);
113
+ return html `
114
+ ${hasPhoto ? html `<figure class="visual"><img src=${this.src} alt=${this.alt} /></figure>` : ""}
115
+ <div class="content">
116
+ ${hasPhoto ? html `<img class="backdrop" src=${this.src} alt="" aria-hidden="true" />` : ""}
117
+ <div class="content-inner ${hasPhoto ? "card" : ""}"><slot></slot></div>
118
+ </div>
119
+ `;
120
+ }
121
+ };
122
+ __decorate([
123
+ property()
124
+ ], SplitHero.prototype, "src", void 0);
125
+ __decorate([
126
+ property()
127
+ ], SplitHero.prototype, "alt", void 0);
128
+ SplitHero = __decorate([
129
+ customElement("split-hero")
130
+ ], SplitHero);
131
+ export { SplitHero };
132
+ //# sourceMappingURL=split-hero.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"split-hero.js","sourceRoot":"","sources":["../src/split-hero.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;;;;;GAUG;AAEI,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,UAAU;IAAlC;;QACL,mFAAmF;QACvE,QAAG,GAAG,EAAE,CAAC;QAErB,qFAAqF;QACzE,QAAG,GAAG,EAAE,CAAC;IA+FvB,CAAC;aA7FiB,WAAM,GAAG;QACvB,MAAM;QACN,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA8EF;KACF,AAjFqB,CAiFpB;IAEO,MAAM;QACb,MAAM,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACnC,OAAO,IAAI,CAAA;QACP,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAA,mCAAmC,IAAI,CAAC,GAAG,QAAQ,IAAI,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,EAAE;;UAE3F,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAA,6BAA6B,IAAI,CAAC,GAAG,+BAA+B,CAAC,CAAC,CAAC,EAAE;oCAC9D,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE;;KAErD,CAAC;IACJ,CAAC;CACF,CAAA;AAlGa;IAAX,QAAQ,EAAE;sCAAU;AAGT;IAAX,QAAQ,EAAE;sCAAU;AALV,SAAS;IADrB,aAAa,CAAC,YAAY,CAAC;GACf,SAAS,CAoGrB","sourcesContent":["import { LitElement, css, html } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\nimport { tokens } from \"./tokens.js\";\n\n/**\n * Full-viewport split layout: a user-supplied photo fills one half, the\n * default slot (typically a sign-in/sign-up form) fills the other. Below the\n * shared 48rem breakpoint the photo becomes a blurred, full-bleed backdrop\n * behind a solid content card instead of disappearing outright.\n *\n * Give the host a height the same way as `app-shell` (e.g. `height: 100vh`).\n *\n * @element split-hero\n * @slot - Form or other content for the non-image half.\n */\n@customElement(\"split-hero\")\nexport class SplitHero extends LitElement {\n /** URL of the image filling the visual half; omit to render content full-width. */\n @property() src = \"\";\n\n /** Accessible alternative text for the image; leave empty for a decorative photo. */\n @property() alt = \"\";\n\n static override styles = [\n tokens,\n css`\n :host {\n display: flex;\n block-size: 100%;\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 }\n .visual {\n flex: 1 1 0;\n min-width: 0;\n margin: 0;\n background: var(--ui-surface-muted, #f8fafc);\n }\n .visual img {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .content {\n position: relative;\n flex: 1 1 0;\n min-width: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n padding: 2rem;\n overflow-y: auto;\n background: var(--ui-surface, #ffffff);\n color: var(--ui-text, #0f172a);\n }\n .backdrop {\n display: none;\n }\n .content-inner {\n position: relative;\n z-index: 1;\n width: 100%;\n max-width: 25rem;\n }\n @media (max-width: 48rem) {\n .visual {\n display: none;\n }\n .content {\n padding: 1.5rem;\n }\n .backdrop {\n display: block;\n position: absolute;\n inset: 0;\n z-index: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n filter: blur(2.5rem);\n pointer-events: none;\n }\n .content-inner.card {\n background: var(--ui-surface, #ffffff);\n border-radius: var(--ui-radius, 0.5rem);\n box-shadow: var(\n --ui-shadow-lg,\n 0 20px 25px -5px rgb(0 0 0 / 0.1),\n 0 8px 10px -6px rgb(0 0 0 / 0.1)\n );\n padding: 1.5rem;\n }\n }\n `,\n ];\n\n override render() {\n const hasPhoto = Boolean(this.src);\n return html`\n ${hasPhoto ? html`<figure class=\"visual\"><img src=${this.src} alt=${this.alt} /></figure>` : \"\"}\n <div class=\"content\">\n ${hasPhoto ? html`<img class=\"backdrop\" src=${this.src} alt=\"\" aria-hidden=\"true\" />` : \"\"}\n <div class=\"content-inner ${hasPhoto ? \"card\" : \"\"}\"><slot></slot></div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"split-hero\": SplitHero;\n }\n}\n"]}
@@ -0,0 +1,55 @@
1
+ # `<split-hero>`
2
+
3
+ Full-viewport split layout: a user-supplied photo fills one half, the
4
+ default slot (typically a sign-in/sign-up form) fills the other. Below the
5
+ shared 48rem breakpoint the photo becomes a blurred, full-bleed backdrop
6
+ behind a solid content card instead of disappearing outright.
7
+
8
+ Give the host a height the same way as `app-shell` (e.g. `height: 100vh`).
9
+
10
+ ## Install
11
+
12
+ ```js
13
+ import "@f-ewald/components/split-hero.js";
14
+ ```
15
+
16
+ ## Usage
17
+
18
+ ```html
19
+ <split-hero src="/photos/coast.jpg" alt="Coastal road" style="height: 100vh">
20
+ <form>
21
+ <h1>Sign in</h1>
22
+ <form-field label="Email"><input type="email" name="email" /></form-field>
23
+ <form-field label="Password"><input type="password" name="password" /></form-field>
24
+ <ui-button type="submit" variant="primary">Sign in</ui-button>
25
+ </form>
26
+ </split-hero>
27
+ ```
28
+
29
+ ## Attributes / properties
30
+
31
+ | Property | Attribute | Type | Default | Description |
32
+ | --- | --- | --- | --- | --- |
33
+ | `src` | `src` | `string` | `""` | URL of the image filling the visual half; omit to render content full-width. |
34
+ | `alt` | `alt` | `string` | `""` | Accessible alternative text for the image; leave empty for a decorative photo. |
35
+
36
+ ## Events
37
+
38
+ _None._
39
+
40
+ ## Slots
41
+
42
+ | Slot | Description |
43
+ | --- | --- |
44
+ | `(default)` | Form or other content for the non-image half. |
45
+
46
+ ## CSS custom properties
47
+
48
+ | Custom property |
49
+ | --- |
50
+ | `--ui-font` |
51
+ | `--ui-radius` |
52
+ | `--ui-shadow-lg` |
53
+ | `--ui-surface` |
54
+ | `--ui-surface-muted` |
55
+ | `--ui-text` |
package/llms.txt CHANGED
@@ -1617,6 +1617,33 @@ Example:
1617
1617
  </slide-panel>
1618
1618
  ```
1619
1619
 
1620
+ ## <split-hero>
1621
+
1622
+ Full-viewport split layout: a user-supplied photo fills one half, the
1623
+ default slot (typically a sign-in/sign-up form) fills the other. Below the
1624
+ shared 48rem breakpoint the photo becomes a blurred, full-bleed backdrop
1625
+ behind a solid content card instead of disappearing outright.
1626
+
1627
+ Give the host a height the same way as `app-shell` (e.g. `height: 100vh`).
1628
+
1629
+ Import: `import "@f-ewald/components/split-hero.js";`
1630
+
1631
+ Properties: `src` (attribute `src`) : string, default ""; `alt` (attribute `alt`) : string, default ""
1632
+ Events: none
1633
+ CSS custom properties: `--ui-font`, `--ui-radius`, `--ui-shadow-lg`, `--ui-surface`, `--ui-surface-muted`, `--ui-text`
1634
+
1635
+ Example:
1636
+ ```html
1637
+ <split-hero src="/photos/coast.jpg" alt="Coastal road" style="height: 100vh">
1638
+ <form>
1639
+ <h1>Sign in</h1>
1640
+ <form-field label="Email"><input type="email" name="email" /></form-field>
1641
+ <form-field label="Password"><input type="password" name="password" /></form-field>
1642
+ <ui-button type="submit" variant="primary">Sign in</ui-button>
1643
+ </form>
1644
+ </split-hero>
1645
+ ```
1646
+
1620
1647
  ## <stat-meter>
1621
1648
 
1622
1649
  A compact labeled meter for a single percentage reading — e.g. CPU or
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@f-ewald/components",
3
3
  "private": false,
4
- "version": "1.17.0",
4
+ "version": "1.18.0",
5
5
  "description": "A collection of universally usable web components for various tasks.",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",