ember-joinery 1.0.1 → 1.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/CHANGELOG.md +4 -0
- package/package.json +2 -2
- package/registry/files/components/app-shell.gts +221 -0
- package/registry/files/components/inspector.gts +459 -0
- package/registry/files/components/navigation-bar.gts +101 -0
- package/registry/files/components/navigation-stack.gts +305 -0
- package/registry/files/components/page.gts +134 -0
- package/registry/files/components/pull-to-refresh.gts +227 -0
- package/registry/files/components/split-view.gts +648 -0
- package/registry/files/components/status-bar.gts +86 -0
- package/registry/files/components/tab-bar.gts +272 -0
- package/registry/files/components/title-bar.gts +193 -0
- package/registry/files/components/toolbar.gts +174 -0
- package/registry/files/components/window-frame.gts +120 -0
- package/registry/files/messages.ts +70 -0
- package/registry/manifest.json +138 -2
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import Component from '@glimmer/component'
|
|
2
|
+
import { hash } from '@ember/helper'
|
|
3
|
+
import type { TOC } from '@ember/component/template-only'
|
|
4
|
+
import { RovingFocus } from '@ember-joinery/primitives/roving-focus'
|
|
5
|
+
import type { Direction } from '@ember-joinery/primitives/direction'
|
|
6
|
+
import {
|
|
7
|
+
staticPart,
|
|
8
|
+
staticPartModifier,
|
|
9
|
+
type StaticPartSignature,
|
|
10
|
+
} from '../-private/static-part.gts'
|
|
11
|
+
import type { PartModifier } from '@ember-joinery/primitives/part'
|
|
12
|
+
import type { ComponentLike, WithBoundArgs } from '@glint/template'
|
|
13
|
+
|
|
14
|
+
/** Which way a toolbar runs, and so which arrow keys move along it. */
|
|
15
|
+
export type ToolbarOrientation = 'horizontal' | 'vertical'
|
|
16
|
+
|
|
17
|
+
/** How tall a toolbar's row is: `sm` 2rem, `default` 2.5rem, `lg` 3rem. */
|
|
18
|
+
export type ToolbarSize = 'sm' | 'default' | 'lg'
|
|
19
|
+
|
|
20
|
+
const GROUP = { class: 'jn-toolbar-group', slot: 'toolbar-group', part: 'group' } as const
|
|
21
|
+
const SPACER = { class: 'jn-toolbar-spacer', slot: 'toolbar-spacer', part: 'spacer' } as const
|
|
22
|
+
const LEADING = { class: 'jn-toolbar-leading', slot: 'toolbar-leading', part: 'leading' } as const
|
|
23
|
+
const CENTER = { class: 'jn-toolbar-center', slot: 'toolbar-center', part: 'center' } as const
|
|
24
|
+
const TRAILING = {
|
|
25
|
+
class: 'jn-toolbar-trailing',
|
|
26
|
+
slot: 'toolbar-trailing',
|
|
27
|
+
part: 'trailing',
|
|
28
|
+
} as const
|
|
29
|
+
|
|
30
|
+
export interface ToolbarGroupSignature {
|
|
31
|
+
Blocks: { default: [] }
|
|
32
|
+
Element: HTMLDivElement
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const Group: TOC<ToolbarGroupSignature> = <template>
|
|
36
|
+
<div
|
|
37
|
+
role="group"
|
|
38
|
+
class={{GROUP.class}}
|
|
39
|
+
data-slot={{GROUP.slot}}
|
|
40
|
+
data-test-jn-part={{GROUP.part}}
|
|
41
|
+
...attributes
|
|
42
|
+
>{{yield}}</div>
|
|
43
|
+
</template>
|
|
44
|
+
|
|
45
|
+
export interface ToolbarSeparatorSignature {
|
|
46
|
+
Args: {
|
|
47
|
+
/** @internal Bound by the toolbar: the way the toolbar runs. */
|
|
48
|
+
orientation: ToolbarOrientation
|
|
49
|
+
}
|
|
50
|
+
Element: HTMLDivElement
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/** The line goes across the toolbar: vertical in a row. Horizontal is the role's default. */
|
|
54
|
+
const Separator: TOC<ToolbarSeparatorSignature> = <template>
|
|
55
|
+
<div
|
|
56
|
+
role="separator"
|
|
57
|
+
aria-orientation={{if (isHorizontal @orientation) "vertical"}}
|
|
58
|
+
class="jn-toolbar-separator"
|
|
59
|
+
data-slot="toolbar-separator"
|
|
60
|
+
data-test-jn-part="separator"
|
|
61
|
+
...attributes
|
|
62
|
+
></div>
|
|
63
|
+
</template>
|
|
64
|
+
|
|
65
|
+
const isHorizontal = (orientation: ToolbarOrientation): boolean => orientation === 'horizontal'
|
|
66
|
+
|
|
67
|
+
const Spacer = staticPart(SPACER)
|
|
68
|
+
const Leading = staticPart(LEADING)
|
|
69
|
+
const Center = staticPart(CENTER)
|
|
70
|
+
const Trailing = staticPart(TRAILING)
|
|
71
|
+
const leading = staticPartModifier(LEADING)
|
|
72
|
+
const center = staticPartModifier(CENTER)
|
|
73
|
+
const trailing = staticPartModifier(TRAILING)
|
|
74
|
+
|
|
75
|
+
/** What a toolbar yields: the modifier for its controls, and its parts. */
|
|
76
|
+
export interface ToolbarParts {
|
|
77
|
+
/**
|
|
78
|
+
* Put it on each control (`<Button {{t.item}}>`): the controls then share one tab stop, and
|
|
79
|
+
* the arrow keys move between them. `focusable=false` for a disabled one.
|
|
80
|
+
*/
|
|
81
|
+
item: RovingFocus['item']
|
|
82
|
+
/** Controls that belong together: a `role="group"`. Name it with `aria-label`. */
|
|
83
|
+
Group: typeof Group
|
|
84
|
+
/** A line between groups: a `role="separator"`, across the way the toolbar runs. */
|
|
85
|
+
Separator: WithBoundArgs<typeof Separator, 'orientation'>
|
|
86
|
+
/** Empty room that pushes what follows to the end. */
|
|
87
|
+
Spacer: ComponentLike<StaticPartSignature>
|
|
88
|
+
/** The start third: a back button, a sidebar toggle, the title. */
|
|
89
|
+
Leading: ComponentLike<StaticPartSignature>
|
|
90
|
+
/** The middle third: the window's main controls, centred. */
|
|
91
|
+
Center: ComponentLike<StaticPartSignature>
|
|
92
|
+
/** The end third: search, an inspector toggle, More. */
|
|
93
|
+
Trailing: ComponentLike<StaticPartSignature>
|
|
94
|
+
/** Makes your own element the leading third. */
|
|
95
|
+
leading: PartModifier<HTMLElement>
|
|
96
|
+
/** Makes your own element the centre third. */
|
|
97
|
+
center: PartModifier<HTMLElement>
|
|
98
|
+
/** Makes your own element the trailing third. */
|
|
99
|
+
trailing: PartModifier<HTMLElement>
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export interface ToolbarSignature {
|
|
103
|
+
Args: {
|
|
104
|
+
/** Default `horizontal`: the left and right arrows move focus. `vertical`: up and down. */
|
|
105
|
+
orientation?: ToolbarOrientation
|
|
106
|
+
/** Default `default`: a 2.5rem row. */
|
|
107
|
+
size?: ToolbarSize
|
|
108
|
+
/** Whether the arrows wrap round from the last control to the first. Default `true`. */
|
|
109
|
+
loop?: boolean
|
|
110
|
+
/** The text direction, when the document's shouldn't decide. */
|
|
111
|
+
dir?: Direction
|
|
112
|
+
/** Its name, for `ToolbarHarness` (`data-test-jn-name`). */
|
|
113
|
+
name?: string
|
|
114
|
+
}
|
|
115
|
+
Blocks: { default: [ToolbarParts] }
|
|
116
|
+
Element: HTMLDivElement
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* A row of controls with one tab stop: the WAI-ARIA toolbar. Joinery's own (shadcn/ui has
|
|
121
|
+
* none). Put `{{t.item}}` on each control: Tab enters the toolbar on the control last focused,
|
|
122
|
+
* the arrow keys move between them (left and right swap right to left), and Home and End go to
|
|
123
|
+
* the first and the last. Name it with `aria-label`.
|
|
124
|
+
*
|
|
125
|
+
* <Toolbar aria-label="Text formatting" as |t|>
|
|
126
|
+
* <t.Group aria-label="Style">
|
|
127
|
+
* <Button @variant="ghost" @size="icon" aria-label="Bold" {{t.item}}>…</Button>
|
|
128
|
+
* </t.Group>
|
|
129
|
+
* <t.Separator />
|
|
130
|
+
* <t.Spacer />
|
|
131
|
+
* <Button {{t.item}}>Share</Button>
|
|
132
|
+
* </Toolbar>
|
|
133
|
+
*
|
|
134
|
+
* `Leading`, `Center` and `Trailing` lay it out in thirds, as a window's toolbar is.
|
|
135
|
+
*/
|
|
136
|
+
export default class Toolbar extends Component<ToolbarSignature> {
|
|
137
|
+
roving = new RovingFocus({
|
|
138
|
+
orientation: () => this.orientation,
|
|
139
|
+
loop: () => this.args.loop ?? true,
|
|
140
|
+
dir: () => this.args.dir,
|
|
141
|
+
})
|
|
142
|
+
|
|
143
|
+
get orientation(): ToolbarOrientation {
|
|
144
|
+
return this.args.orientation ?? 'horizontal'
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
<template>
|
|
148
|
+
<div
|
|
149
|
+
role="toolbar"
|
|
150
|
+
aria-orientation={{this.orientation}}
|
|
151
|
+
dir={{@dir}}
|
|
152
|
+
class="jn-toolbar"
|
|
153
|
+
data-slot="toolbar"
|
|
154
|
+
data-size={{if @size @size "default"}}
|
|
155
|
+
data-test-jn="toolbar"
|
|
156
|
+
data-test-jn-name={{@name}}
|
|
157
|
+
...attributes
|
|
158
|
+
{{this.roving.group}}
|
|
159
|
+
>{{yield
|
|
160
|
+
(hash
|
|
161
|
+
item=this.roving.item
|
|
162
|
+
Group=Group
|
|
163
|
+
Separator=(component Separator orientation=this.orientation)
|
|
164
|
+
Spacer=Spacer
|
|
165
|
+
Leading=Leading
|
|
166
|
+
Center=Center
|
|
167
|
+
Trailing=Trailing
|
|
168
|
+
leading=leading
|
|
169
|
+
center=center
|
|
170
|
+
trailing=trailing
|
|
171
|
+
)
|
|
172
|
+
}}</div>
|
|
173
|
+
</template>
|
|
174
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { hash } from '@ember/helper'
|
|
2
|
+
import type { TOC } from '@ember/component/template-only'
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* What kind of window it is: `window` is sized by its container, `settings` has a fixed width
|
|
6
|
+
* and the height of its content, `panel` is a small utility panel with a stronger shadow, and
|
|
7
|
+
* `hud` is a dark translucent panel (the `hud` material).
|
|
8
|
+
*/
|
|
9
|
+
export type WindowFrameVariant = 'window' | 'settings' | 'panel' | 'hud'
|
|
10
|
+
|
|
11
|
+
export interface WindowFrameRegionSignature {
|
|
12
|
+
Blocks: { default: [] }
|
|
13
|
+
Element: HTMLDivElement
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const TitleBarRegion: TOC<WindowFrameRegionSignature> = <template>
|
|
17
|
+
<div data-jn-window-frame-title-bar ...attributes>{{yield}}</div>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
const Sidebar: TOC<WindowFrameRegionSignature> = <template>
|
|
21
|
+
<div
|
|
22
|
+
class="jn-material"
|
|
23
|
+
data-material="sidebar"
|
|
24
|
+
data-material-blending="behind-window"
|
|
25
|
+
data-jn-window-frame-sidebar
|
|
26
|
+
...attributes
|
|
27
|
+
>{{yield}}</div>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
const Body: TOC<WindowFrameRegionSignature> = <template>
|
|
31
|
+
<div data-jn-window-frame-body ...attributes>{{yield}}</div>
|
|
32
|
+
</template>
|
|
33
|
+
|
|
34
|
+
const StatusBarRegion: TOC<WindowFrameRegionSignature> = <template>
|
|
35
|
+
<div data-jn-window-frame-status-bar ...attributes>{{yield}}</div>
|
|
36
|
+
</template>
|
|
37
|
+
|
|
38
|
+
/** What a window frame yields: its regions. Each one only places its content. */
|
|
39
|
+
export interface WindowFrameParts {
|
|
40
|
+
/** The top row. Put a `<TitleBar>` in it. */
|
|
41
|
+
TitleBar: typeof TitleBarRegion
|
|
42
|
+
/** The pane beside the body: a material (`sidebar`) that scrolls. Its content sets its width. */
|
|
43
|
+
Sidebar: typeof Sidebar
|
|
44
|
+
/** The content. It scrolls. */
|
|
45
|
+
Body: typeof Body
|
|
46
|
+
/** The bottom row. Put a `<StatusBar>` in it. */
|
|
47
|
+
StatusBar: typeof StatusBarRegion
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface WindowFrameSignature {
|
|
51
|
+
Args: {
|
|
52
|
+
/** Default `window`. */
|
|
53
|
+
variant?: WindowFrameVariant
|
|
54
|
+
/**
|
|
55
|
+
* Whether it fills the viewport (100dvh) with no radius, no border and no shadow: the root
|
|
56
|
+
* of an Electron or Tauri app, or of an installed PWA. Default `false`: a window in the
|
|
57
|
+
* page, sized by its container.
|
|
58
|
+
*/
|
|
59
|
+
fill?: boolean
|
|
60
|
+
/**
|
|
61
|
+
* Whether the sidebar runs the full height, beside the title bar and the status bar, as a
|
|
62
|
+
* macOS full-height sidebar does. Default `false`: the sidebar is under the title bar.
|
|
63
|
+
*/
|
|
64
|
+
fullHeightSidebar?: boolean
|
|
65
|
+
/** Whether it has the inactive look: a lighter shadow, and a dimmed `<TitleBar>`. */
|
|
66
|
+
inactive?: boolean
|
|
67
|
+
/**
|
|
68
|
+
* The id of the element that names the window, usually the title (`aria-labelledby`).
|
|
69
|
+
* Without it, give the frame an `aria-label`.
|
|
70
|
+
*/
|
|
71
|
+
titleId?: string
|
|
72
|
+
/** Its name, for `WindowFrameHarness` (`data-test-jn-name`). */
|
|
73
|
+
name?: string
|
|
74
|
+
}
|
|
75
|
+
Blocks: { default: [WindowFrameParts] }
|
|
76
|
+
Element: HTMLElement
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
const isHud = (variant: WindowFrameVariant | undefined): boolean => variant === 'hud'
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* A frame that looks and behaves as a desktop window: a title bar, a sidebar, a body and a
|
|
83
|
+
* status bar in a grid. Joinery's own (shadcn/ui has none). Use it for a mock window in a
|
|
84
|
+
* page, or with `@fill={{true}}` as the root of an Electron or Tauri app.
|
|
85
|
+
*
|
|
86
|
+
* <WindowFrame @titleId="mail-title" as |frame|>
|
|
87
|
+
* <frame.TitleBar>
|
|
88
|
+
* <TitleBar as |bar|><bar.Title id="mail-title">Mail</bar.Title></TitleBar>
|
|
89
|
+
* </frame.TitleBar>
|
|
90
|
+
* <frame.Sidebar>…</frame.Sidebar>
|
|
91
|
+
* <frame.Body>…</frame.Body>
|
|
92
|
+
* <frame.StatusBar><StatusBar as |bar|>…</StatusBar></frame.StatusBar>
|
|
93
|
+
* </WindowFrame>
|
|
94
|
+
*
|
|
95
|
+
* It is a labelled `<section>` (a region), not a dialog: it does not trap focus. A `<header>` or
|
|
96
|
+
* a `<footer>` in a `<section>` is not a page landmark, so two windows do not make two banners. It wraps the app, so it is a
|
|
97
|
+
* wrapper for the harnesses (`data-test-jn-wrapper`), and its elements are styled by
|
|
98
|
+
* `data-jn-window-frame-*` attributes. A HUD has the `dark` class, so its content is dark in
|
|
99
|
+
* both schemes.
|
|
100
|
+
*/
|
|
101
|
+
const WindowFrame: TOC<WindowFrameSignature> = <template>
|
|
102
|
+
<section
|
|
103
|
+
aria-labelledby={{@titleId}}
|
|
104
|
+
class={{if (isHud @variant) "dark jn-material"}}
|
|
105
|
+
data-material={{if (isHud @variant) "hud"}}
|
|
106
|
+
data-jn-window-frame
|
|
107
|
+
data-variant={{if @variant @variant "window"}}
|
|
108
|
+
data-fill={{if @fill ""}}
|
|
109
|
+
data-full-height-sidebar={{if @fullHeightSidebar ""}}
|
|
110
|
+
data-inactive={{if @inactive ""}}
|
|
111
|
+
data-test-jn="window-frame"
|
|
112
|
+
data-test-jn-wrapper
|
|
113
|
+
data-test-jn-name={{@name}}
|
|
114
|
+
...attributes
|
|
115
|
+
>{{yield
|
|
116
|
+
(hash TitleBar=TitleBarRegion Sidebar=Sidebar Body=Body StatusBar=StatusBarRegion)
|
|
117
|
+
}}</section>
|
|
118
|
+
</template>
|
|
119
|
+
|
|
120
|
+
export default WindowFrame
|
|
@@ -6,6 +6,17 @@ import type { Message } from '@ember-joinery/primitives/i18n'
|
|
|
6
6
|
* slider's). An argument (`@label`, `@closeLabel`) still beats each one.
|
|
7
7
|
*/
|
|
8
8
|
export const messages = {
|
|
9
|
+
appShellSkipToMain: { id: 'joinery.app-shell.skipToMain', message: 'Skip to main content' },
|
|
10
|
+
appShellSidebarLabel: {
|
|
11
|
+
id: 'joinery.app-shell.sidebarLabel',
|
|
12
|
+
message: 'Main',
|
|
13
|
+
description: "The name of an app shell's navigation landmark.",
|
|
14
|
+
},
|
|
15
|
+
appShellAsideLabel: {
|
|
16
|
+
id: 'joinery.app-shell.asideLabel',
|
|
17
|
+
message: 'Details',
|
|
18
|
+
description: "The name of an app shell's aside landmark.",
|
|
19
|
+
},
|
|
9
20
|
breadcrumbLabel: {
|
|
10
21
|
id: 'joinery.breadcrumb.styledLabel',
|
|
11
22
|
message: 'breadcrumb',
|
|
@@ -17,6 +28,14 @@ export const messages = {
|
|
|
17
28
|
comboboxRemove: { id: 'joinery.combobox.remove', message: 'Remove' },
|
|
18
29
|
dialogClose: { id: 'joinery.dialog.close', message: 'Close' },
|
|
19
30
|
documentFileDropLabel: { id: 'joinery.document-file-drop.label', message: 'Drop files anywhere' },
|
|
31
|
+
inspectorLabel: {
|
|
32
|
+
id: 'joinery.inspector.label',
|
|
33
|
+
message: 'Inspector',
|
|
34
|
+
description: "The name of an inspector's pane, and of the sheet it becomes in a narrow layout.",
|
|
35
|
+
},
|
|
36
|
+
inspectorResize: { id: 'joinery.inspector.resize', message: 'Resize the inspector' },
|
|
37
|
+
inspectorToggle: { id: 'joinery.inspector.toggle', message: 'Toggle Inspector' },
|
|
38
|
+
navigationStackBack: { id: 'joinery.navigation-stack.back', message: 'Back' },
|
|
20
39
|
paginationLabel: {
|
|
21
40
|
id: 'joinery.pagination.label',
|
|
22
41
|
message: 'pagination',
|
|
@@ -30,6 +49,16 @@ export const messages = {
|
|
|
30
49
|
paginationPrevious: { id: 'joinery.pagination.previous', message: 'Previous' },
|
|
31
50
|
paginationNext: { id: 'joinery.pagination.next', message: 'Next' },
|
|
32
51
|
paginationMore: { id: 'joinery.pagination.more', message: 'More pages' },
|
|
52
|
+
pullToRefreshRefreshing: {
|
|
53
|
+
id: 'joinery.pull-to-refresh.refreshing',
|
|
54
|
+
message: 'Refreshing',
|
|
55
|
+
description: 'Announced when a pull to refresh starts.',
|
|
56
|
+
},
|
|
57
|
+
pullToRefreshUpdated: {
|
|
58
|
+
id: 'joinery.pull-to-refresh.updated',
|
|
59
|
+
message: 'Updated',
|
|
60
|
+
description: 'Announced when a pull to refresh ends.',
|
|
61
|
+
},
|
|
33
62
|
sheetClose: { id: 'joinery.sheet.close', message: 'Close' },
|
|
34
63
|
sidebarMobileTitle: { id: 'joinery.sidebar.mobileTitle', message: 'Sidebar' },
|
|
35
64
|
sidebarMobileDescription: {
|
|
@@ -38,4 +67,45 @@ export const messages = {
|
|
|
38
67
|
},
|
|
39
68
|
sidebarToggle: { id: 'joinery.sidebar.toggle', message: 'Toggle Sidebar' },
|
|
40
69
|
spinnerLabel: { id: 'joinery.spinner.label', message: 'Loading' },
|
|
70
|
+
splitViewBack: { id: 'joinery.split-view.back', message: 'Back' },
|
|
71
|
+
splitViewContentLabel: {
|
|
72
|
+
id: 'joinery.split-view.contentLabel',
|
|
73
|
+
message: 'Content',
|
|
74
|
+
description: "The name of a split view's middle column, the list.",
|
|
75
|
+
},
|
|
76
|
+
splitViewDetailLabel: {
|
|
77
|
+
id: 'joinery.split-view.detailLabel',
|
|
78
|
+
message: 'Detail',
|
|
79
|
+
description: "The name of a split view's last column.",
|
|
80
|
+
},
|
|
81
|
+
splitViewResizeContent: {
|
|
82
|
+
id: 'joinery.split-view.resizeContent',
|
|
83
|
+
message: 'Resize the content',
|
|
84
|
+
},
|
|
85
|
+
splitViewResizeSidebar: {
|
|
86
|
+
id: 'joinery.split-view.resizeSidebar',
|
|
87
|
+
message: 'Resize the sidebar',
|
|
88
|
+
},
|
|
89
|
+
splitViewSidebarLabel: {
|
|
90
|
+
id: 'joinery.split-view.sidebarLabel',
|
|
91
|
+
message: 'Sidebar',
|
|
92
|
+
description: "The name of a split view's first column.",
|
|
93
|
+
},
|
|
94
|
+
splitViewToggleSidebar: { id: 'joinery.split-view.toggleSidebar', message: 'Toggle Sidebar' },
|
|
95
|
+
tabBarBadge: {
|
|
96
|
+
id: 'joinery.tab-bar.badge',
|
|
97
|
+
message: '{count} new',
|
|
98
|
+
description: "What a tab bar item's badge says: {count} is its number or text.",
|
|
99
|
+
},
|
|
100
|
+
tabBarBadgeDot: {
|
|
101
|
+
id: 'joinery.tab-bar.badgeDot',
|
|
102
|
+
message: 'New',
|
|
103
|
+
description: "What a tab bar item's dot says.",
|
|
104
|
+
},
|
|
105
|
+
tabBarLabel: {
|
|
106
|
+
id: 'joinery.tab-bar.label',
|
|
107
|
+
message: 'Tabs',
|
|
108
|
+
description: "The name of a tab bar's navigation landmark.",
|
|
109
|
+
},
|
|
110
|
+
tabBarSearch: { id: 'joinery.tab-bar.search', message: 'Search' },
|
|
41
111
|
} satisfies Record<string, Message>
|
package/registry/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0
|
|
2
|
+
"version": "1.1.0",
|
|
3
3
|
"dependencies": {
|
|
4
|
-
"@ember-joinery/primitives": "^1.0
|
|
4
|
+
"@ember-joinery/primitives": "^1.1.0",
|
|
5
5
|
"@sindresorhus/is": "^8.1.0",
|
|
6
6
|
"lucide": "^0.474.0"
|
|
7
7
|
},
|
|
@@ -39,6 +39,16 @@
|
|
|
39
39
|
"@ember-joinery/primitives"
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
|
+
"app-shell": {
|
|
43
|
+
"files": [
|
|
44
|
+
"components/app-shell.gts",
|
|
45
|
+
"messages.ts"
|
|
46
|
+
],
|
|
47
|
+
"registryDependencies": [],
|
|
48
|
+
"dependencies": [
|
|
49
|
+
"@ember-joinery/primitives"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
42
52
|
"aspect-ratio": {
|
|
43
53
|
"files": [
|
|
44
54
|
"components/aspect-ratio.gts"
|
|
@@ -347,6 +357,22 @@
|
|
|
347
357
|
"lucide"
|
|
348
358
|
]
|
|
349
359
|
},
|
|
360
|
+
"inspector": {
|
|
361
|
+
"files": [
|
|
362
|
+
"components/inspector.gts",
|
|
363
|
+
"messages.ts"
|
|
364
|
+
],
|
|
365
|
+
"registryDependencies": [
|
|
366
|
+
"button",
|
|
367
|
+
"icon",
|
|
368
|
+
"sheet"
|
|
369
|
+
],
|
|
370
|
+
"dependencies": [
|
|
371
|
+
"@ember-joinery/primitives",
|
|
372
|
+
"@sindresorhus/is",
|
|
373
|
+
"lucide"
|
|
374
|
+
]
|
|
375
|
+
},
|
|
350
376
|
"item": {
|
|
351
377
|
"files": [
|
|
352
378
|
"components/item.gts",
|
|
@@ -433,6 +459,17 @@
|
|
|
433
459
|
"lucide"
|
|
434
460
|
]
|
|
435
461
|
},
|
|
462
|
+
"navigation-bar": {
|
|
463
|
+
"files": [
|
|
464
|
+
"components/navigation-bar.gts",
|
|
465
|
+
"-private/static-part.gts",
|
|
466
|
+
"-private/tagged-part.gts"
|
|
467
|
+
],
|
|
468
|
+
"registryDependencies": [],
|
|
469
|
+
"dependencies": [
|
|
470
|
+
"@ember-joinery/primitives"
|
|
471
|
+
]
|
|
472
|
+
},
|
|
436
473
|
"navigation-menu": {
|
|
437
474
|
"files": [
|
|
438
475
|
"components/navigation-menu.gts"
|
|
@@ -445,6 +482,30 @@
|
|
|
445
482
|
"lucide"
|
|
446
483
|
]
|
|
447
484
|
},
|
|
485
|
+
"navigation-stack": {
|
|
486
|
+
"files": [
|
|
487
|
+
"components/navigation-stack.gts",
|
|
488
|
+
"messages.ts"
|
|
489
|
+
],
|
|
490
|
+
"registryDependencies": [
|
|
491
|
+
"button",
|
|
492
|
+
"icon"
|
|
493
|
+
],
|
|
494
|
+
"dependencies": [
|
|
495
|
+
"@ember-joinery/primitives",
|
|
496
|
+
"@sindresorhus/is",
|
|
497
|
+
"lucide"
|
|
498
|
+
]
|
|
499
|
+
},
|
|
500
|
+
"page": {
|
|
501
|
+
"files": [
|
|
502
|
+
"components/page.gts"
|
|
503
|
+
],
|
|
504
|
+
"registryDependencies": [],
|
|
505
|
+
"dependencies": [
|
|
506
|
+
"@ember-joinery/primitives"
|
|
507
|
+
]
|
|
508
|
+
},
|
|
448
509
|
"pagination": {
|
|
449
510
|
"files": [
|
|
450
511
|
"components/pagination.gts",
|
|
@@ -478,6 +539,20 @@
|
|
|
478
539
|
"@ember-joinery/primitives"
|
|
479
540
|
]
|
|
480
541
|
},
|
|
542
|
+
"pull-to-refresh": {
|
|
543
|
+
"files": [
|
|
544
|
+
"components/pull-to-refresh.gts",
|
|
545
|
+
"messages.ts"
|
|
546
|
+
],
|
|
547
|
+
"registryDependencies": [
|
|
548
|
+
"icon",
|
|
549
|
+
"spinner"
|
|
550
|
+
],
|
|
551
|
+
"dependencies": [
|
|
552
|
+
"@ember-joinery/primitives",
|
|
553
|
+
"lucide"
|
|
554
|
+
]
|
|
555
|
+
},
|
|
481
556
|
"questionnaire": {
|
|
482
557
|
"files": [
|
|
483
558
|
"components/questionnaire.gts",
|
|
@@ -617,6 +692,28 @@
|
|
|
617
692
|
"lucide"
|
|
618
693
|
]
|
|
619
694
|
},
|
|
695
|
+
"split-view": {
|
|
696
|
+
"files": [
|
|
697
|
+
"components/split-view.gts",
|
|
698
|
+
"messages.ts"
|
|
699
|
+
],
|
|
700
|
+
"registryDependencies": [
|
|
701
|
+
"button",
|
|
702
|
+
"icon"
|
|
703
|
+
],
|
|
704
|
+
"dependencies": [
|
|
705
|
+
"@ember-joinery/primitives",
|
|
706
|
+
"@sindresorhus/is",
|
|
707
|
+
"lucide"
|
|
708
|
+
]
|
|
709
|
+
},
|
|
710
|
+
"status-bar": {
|
|
711
|
+
"files": [
|
|
712
|
+
"components/status-bar.gts"
|
|
713
|
+
],
|
|
714
|
+
"registryDependencies": [],
|
|
715
|
+
"dependencies": []
|
|
716
|
+
},
|
|
620
717
|
"switch": {
|
|
621
718
|
"files": [
|
|
622
719
|
"components/switch.gts"
|
|
@@ -626,6 +723,19 @@
|
|
|
626
723
|
"@ember-joinery/primitives"
|
|
627
724
|
]
|
|
628
725
|
},
|
|
726
|
+
"tab-bar": {
|
|
727
|
+
"files": [
|
|
728
|
+
"components/tab-bar.gts",
|
|
729
|
+
"messages.ts"
|
|
730
|
+
],
|
|
731
|
+
"registryDependencies": [
|
|
732
|
+
"icon"
|
|
733
|
+
],
|
|
734
|
+
"dependencies": [
|
|
735
|
+
"@ember-joinery/primitives",
|
|
736
|
+
"lucide"
|
|
737
|
+
]
|
|
738
|
+
},
|
|
629
739
|
"table": {
|
|
630
740
|
"files": [
|
|
631
741
|
"components/table.gts",
|
|
@@ -654,6 +764,15 @@
|
|
|
654
764
|
"@ember-joinery/primitives"
|
|
655
765
|
]
|
|
656
766
|
},
|
|
767
|
+
"title-bar": {
|
|
768
|
+
"files": [
|
|
769
|
+
"components/title-bar.gts"
|
|
770
|
+
],
|
|
771
|
+
"registryDependencies": [],
|
|
772
|
+
"dependencies": [
|
|
773
|
+
"@ember-joinery/primitives"
|
|
774
|
+
]
|
|
775
|
+
},
|
|
657
776
|
"toaster": {
|
|
658
777
|
"files": [
|
|
659
778
|
"components/toaster.gts"
|
|
@@ -687,6 +806,16 @@
|
|
|
687
806
|
"@ember-joinery/primitives"
|
|
688
807
|
]
|
|
689
808
|
},
|
|
809
|
+
"toolbar": {
|
|
810
|
+
"files": [
|
|
811
|
+
"components/toolbar.gts",
|
|
812
|
+
"-private/static-part.gts"
|
|
813
|
+
],
|
|
814
|
+
"registryDependencies": [],
|
|
815
|
+
"dependencies": [
|
|
816
|
+
"@ember-joinery/primitives"
|
|
817
|
+
]
|
|
818
|
+
},
|
|
690
819
|
"tooltip": {
|
|
691
820
|
"files": [
|
|
692
821
|
"components/tooltip.gts"
|
|
@@ -708,6 +837,13 @@
|
|
|
708
837
|
"@ember-joinery/primitives",
|
|
709
838
|
"lucide"
|
|
710
839
|
]
|
|
840
|
+
},
|
|
841
|
+
"window-frame": {
|
|
842
|
+
"files": [
|
|
843
|
+
"components/window-frame.gts"
|
|
844
|
+
],
|
|
845
|
+
"registryDependencies": [],
|
|
846
|
+
"dependencies": []
|
|
711
847
|
}
|
|
712
848
|
}
|
|
713
849
|
}
|