@emberbox/ui 0.3.0 → 0.4.1

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
@@ -10,7 +10,7 @@ npm install @emberbox/ui
10
10
  ```
11
11
 
12
12
  Setup and examples are in the
13
- [repository README](https://github.com/rainbowdashlabs/emberbox#readme).
13
+ [repository README](https://github.com/ember-tools/emberbox#readme).
14
14
 
15
15
  ## License
16
16
 
@@ -0,0 +1,158 @@
1
+ export {}
2
+
3
+ declare global {
4
+ const defineLocale: typeof import('@nuxt/ui/composables/defineLocale')['defineLocale']
5
+ const extendLocale: typeof import('@nuxt/ui/composables/defineLocale')['extendLocale']
6
+ const defineShortcuts: typeof import('@nuxt/ui/composables/defineShortcuts')['defineShortcuts']
7
+ const extractShortcuts: typeof import('@nuxt/ui/composables/defineShortcuts')['extractShortcuts']
8
+ const useContentSearch: typeof import('@nuxt/ui/composables/useContentSearch')['useContentSearch']
9
+ const useFileUpload: typeof import('@nuxt/ui/composables/useFileUpload')['useFileUpload']
10
+ const useFormField: typeof import('@nuxt/ui/composables/useFormField')['useFormField']
11
+ const useKbd: typeof import('@nuxt/ui/composables/useKbd')['useKbd']
12
+ const useOverlay: typeof import('@nuxt/ui/composables/useOverlay')['useOverlay']
13
+ const useResizable: typeof import('@nuxt/ui/composables/useResizable')['useResizable']
14
+ const useScrollShadow: typeof import('@nuxt/ui/composables/useScrollShadow')['useScrollShadow']
15
+ const useScrollspy: typeof import('@nuxt/ui/composables/useScrollspy')['useScrollspy']
16
+ const useToast: typeof import('@nuxt/ui/composables/useToast')['useToast']
17
+ const useTour: typeof import('@nuxt/ui/composables/useTour')['useTour']
18
+ const useAppConfig: typeof import('@nuxt/ui/runtime/vue/composables/useAppConfig.js')['useAppConfig']
19
+ }
20
+
21
+ declare module 'vue' {
22
+ export interface GlobalComponents {
23
+ UAccordion: typeof import('@nuxt/ui/components/Accordion.vue')['default']
24
+ UAlert: typeof import('@nuxt/ui/components/Alert.vue')['default']
25
+ UApp: typeof import('@nuxt/ui/components/App.vue')['default']
26
+ UAuthForm: typeof import('@nuxt/ui/components/AuthForm.vue')['default']
27
+ UAvatar: typeof import('@nuxt/ui/components/Avatar.vue')['default']
28
+ UAvatarGroup: typeof import('@nuxt/ui/components/AvatarGroup.vue')['default']
29
+ UBadge: typeof import('@nuxt/ui/components/Badge.vue')['default']
30
+ UBanner: typeof import('@nuxt/ui/components/Banner.vue')['default']
31
+ UBlogPost: typeof import('@nuxt/ui/components/BlogPost.vue')['default']
32
+ UBlogPosts: typeof import('@nuxt/ui/components/BlogPosts.vue')['default']
33
+ UBreadcrumb: typeof import('@nuxt/ui/components/Breadcrumb.vue')['default']
34
+ UButton: typeof import('@nuxt/ui/components/Button.vue')['default']
35
+ UCalendar: typeof import('@nuxt/ui/components/Calendar.vue')['default']
36
+ UCard: typeof import('@nuxt/ui/components/Card.vue')['default']
37
+ UCarousel: typeof import('@nuxt/ui/components/Carousel.vue')['default']
38
+ UChangelogVersion: typeof import('@nuxt/ui/components/ChangelogVersion.vue')['default']
39
+ UChangelogVersions: typeof import('@nuxt/ui/components/ChangelogVersions.vue')['default']
40
+ UChart: typeof import('@nuxt/ui/components/Chart.vue')['default']
41
+ UChatAttachment: typeof import('@nuxt/ui/components/ChatAttachment.vue')['default']
42
+ UChatMessage: typeof import('@nuxt/ui/components/ChatMessage.vue')['default']
43
+ UChatMessages: typeof import('@nuxt/ui/components/ChatMessages.vue')['default']
44
+ UChatPalette: typeof import('@nuxt/ui/components/ChatPalette.vue')['default']
45
+ UChatPrompt: typeof import('@nuxt/ui/components/ChatPrompt.vue')['default']
46
+ UChatPromptSubmit: typeof import('@nuxt/ui/components/ChatPromptSubmit.vue')['default']
47
+ UChatReasoning: typeof import('@nuxt/ui/components/ChatReasoning.vue')['default']
48
+ UChatShimmer: typeof import('@nuxt/ui/components/ChatShimmer.vue')['default']
49
+ UChatTool: typeof import('@nuxt/ui/components/ChatTool.vue')['default']
50
+ UCheckbox: typeof import('@nuxt/ui/components/Checkbox.vue')['default']
51
+ UCheckboxGroup: typeof import('@nuxt/ui/components/CheckboxGroup.vue')['default']
52
+ UChip: typeof import('@nuxt/ui/components/Chip.vue')['default']
53
+ UCollapsible: typeof import('@nuxt/ui/components/Collapsible.vue')['default']
54
+ UColorPicker: typeof import('@nuxt/ui/components/ColorPicker.vue')['default']
55
+ UCommandPalette: typeof import('@nuxt/ui/components/CommandPalette.vue')['default']
56
+ UContainer: typeof import('@nuxt/ui/components/Container.vue')['default']
57
+ UContextMenu: typeof import('@nuxt/ui/components/ContextMenu.vue')['default']
58
+ UContextMenuContent: typeof import('@nuxt/ui/components/ContextMenuContent.vue')['default']
59
+ UDashboardGroup: typeof import('@nuxt/ui/components/DashboardGroup.vue')['default']
60
+ UDashboardNavbar: typeof import('@nuxt/ui/components/DashboardNavbar.vue')['default']
61
+ UDashboardPanel: typeof import('@nuxt/ui/components/DashboardPanel.vue')['default']
62
+ UDashboardResizeHandle: typeof import('@nuxt/ui/components/DashboardResizeHandle.vue')['default']
63
+ UDashboardSearch: typeof import('@nuxt/ui/components/DashboardSearch.vue')['default']
64
+ UDashboardSearchButton: typeof import('@nuxt/ui/components/DashboardSearchButton.vue')['default']
65
+ UDashboardSidebar: typeof import('@nuxt/ui/components/DashboardSidebar.vue')['default']
66
+ UDashboardSidebarCollapse: typeof import('@nuxt/ui/components/DashboardSidebarCollapse.vue')['default']
67
+ UDashboardSidebarToggle: typeof import('@nuxt/ui/components/DashboardSidebarToggle.vue')['default']
68
+ UDashboardToolbar: typeof import('@nuxt/ui/components/DashboardToolbar.vue')['default']
69
+ UDrawer: typeof import('@nuxt/ui/components/Drawer.vue')['default']
70
+ UDropdownMenu: typeof import('@nuxt/ui/components/DropdownMenu.vue')['default']
71
+ UDropdownMenuContent: typeof import('@nuxt/ui/components/DropdownMenuContent.vue')['default']
72
+ UEditor: typeof import('@nuxt/ui/components/Editor.vue')['default']
73
+ UEditorDragHandle: typeof import('@nuxt/ui/components/EditorDragHandle.vue')['default']
74
+ UEditorEmojiMenu: typeof import('@nuxt/ui/components/EditorEmojiMenu.vue')['default']
75
+ UEditorMentionMenu: typeof import('@nuxt/ui/components/EditorMentionMenu.vue')['default']
76
+ UEditorSuggestionMenu: typeof import('@nuxt/ui/components/EditorSuggestionMenu.vue')['default']
77
+ UEditorToolbar: typeof import('@nuxt/ui/components/EditorToolbar.vue')['default']
78
+ UEmpty: typeof import('@nuxt/ui/components/Empty.vue')['default']
79
+ UError: typeof import('@nuxt/ui/components/Error.vue')['default']
80
+ UFieldGroup: typeof import('@nuxt/ui/components/FieldGroup.vue')['default']
81
+ UFileUpload: typeof import('@nuxt/ui/components/FileUpload.vue')['default']
82
+ UFooter: typeof import('@nuxt/ui/components/Footer.vue')['default']
83
+ UFooterColumns: typeof import('@nuxt/ui/components/FooterColumns.vue')['default']
84
+ UForm: typeof import('@nuxt/ui/components/Form.vue')['default']
85
+ UFormField: typeof import('@nuxt/ui/components/FormField.vue')['default']
86
+ UHeader: typeof import('@nuxt/ui/components/Header.vue')['default']
87
+ UIcon: typeof import('@nuxt/ui/runtime/vue/components/Icon.vue')['default']
88
+ UInput: typeof import('@nuxt/ui/components/Input.vue')['default']
89
+ UInputDate: typeof import('@nuxt/ui/components/InputDate.vue')['default']
90
+ UInputMenu: typeof import('@nuxt/ui/components/InputMenu.vue')['default']
91
+ UInputNumber: typeof import('@nuxt/ui/components/InputNumber.vue')['default']
92
+ UInputRating: typeof import('@nuxt/ui/components/InputRating.vue')['default']
93
+ UInputTags: typeof import('@nuxt/ui/components/InputTags.vue')['default']
94
+ UInputTime: typeof import('@nuxt/ui/components/InputTime.vue')['default']
95
+ UKbd: typeof import('@nuxt/ui/components/Kbd.vue')['default']
96
+ ULink: typeof import('@nuxt/ui/runtime/vue/overrides/vue-router/Link.vue')['default']
97
+ ULinkBase: typeof import('@nuxt/ui/components/LinkBase.vue')['default']
98
+ UListbox: typeof import('@nuxt/ui/components/Listbox.vue')['default']
99
+ UMain: typeof import('@nuxt/ui/components/Main.vue')['default']
100
+ UMarquee: typeof import('@nuxt/ui/components/Marquee.vue')['default']
101
+ UModal: typeof import('@nuxt/ui/components/Modal.vue')['default']
102
+ UNavigationMenu: typeof import('@nuxt/ui/components/NavigationMenu.vue')['default']
103
+ UOverlayProvider: typeof import('@nuxt/ui/components/OverlayProvider.vue')['default']
104
+ UPage: typeof import('@nuxt/ui/components/Page.vue')['default']
105
+ UPageAnchors: typeof import('@nuxt/ui/components/PageAnchors.vue')['default']
106
+ UPageAside: typeof import('@nuxt/ui/components/PageAside.vue')['default']
107
+ UPageBody: typeof import('@nuxt/ui/components/PageBody.vue')['default']
108
+ UPageCTA: typeof import('@nuxt/ui/components/PageCTA.vue')['default']
109
+ UPageCard: typeof import('@nuxt/ui/components/PageCard.vue')['default']
110
+ UPageColumns: typeof import('@nuxt/ui/components/PageColumns.vue')['default']
111
+ UPageFeature: typeof import('@nuxt/ui/components/PageFeature.vue')['default']
112
+ UPageGrid: typeof import('@nuxt/ui/components/PageGrid.vue')['default']
113
+ UPageHeader: typeof import('@nuxt/ui/components/PageHeader.vue')['default']
114
+ UPageHero: typeof import('@nuxt/ui/components/PageHero.vue')['default']
115
+ UPageLinks: typeof import('@nuxt/ui/components/PageLinks.vue')['default']
116
+ UPageList: typeof import('@nuxt/ui/components/PageList.vue')['default']
117
+ UPageLogos: typeof import('@nuxt/ui/components/PageLogos.vue')['default']
118
+ UPageSection: typeof import('@nuxt/ui/components/PageSection.vue')['default']
119
+ UPagination: typeof import('@nuxt/ui/components/Pagination.vue')['default']
120
+ UPinInput: typeof import('@nuxt/ui/components/PinInput.vue')['default']
121
+ UPopover: typeof import('@nuxt/ui/components/Popover.vue')['default']
122
+ UPricingPlan: typeof import('@nuxt/ui/components/PricingPlan.vue')['default']
123
+ UPricingPlans: typeof import('@nuxt/ui/components/PricingPlans.vue')['default']
124
+ UPricingTable: typeof import('@nuxt/ui/components/PricingTable.vue')['default']
125
+ UProgress: typeof import('@nuxt/ui/components/Progress.vue')['default']
126
+ UProgressGroup: typeof import('@nuxt/ui/components/ProgressGroup.vue')['default']
127
+ URadioGroup: typeof import('@nuxt/ui/components/RadioGroup.vue')['default']
128
+ UScrollArea: typeof import('@nuxt/ui/components/ScrollArea.vue')['default']
129
+ USelect: typeof import('@nuxt/ui/components/Select.vue')['default']
130
+ USelectMenu: typeof import('@nuxt/ui/components/SelectMenu.vue')['default']
131
+ USeparator: typeof import('@nuxt/ui/components/Separator.vue')['default']
132
+ USidebar: typeof import('@nuxt/ui/components/Sidebar.vue')['default']
133
+ USkeleton: typeof import('@nuxt/ui/components/Skeleton.vue')['default']
134
+ USlideover: typeof import('@nuxt/ui/components/Slideover.vue')['default']
135
+ USlider: typeof import('@nuxt/ui/components/Slider.vue')['default']
136
+ USplitter: typeof import('@nuxt/ui/components/Splitter.vue')['default']
137
+ UStepper: typeof import('@nuxt/ui/components/Stepper.vue')['default']
138
+ USwitch: typeof import('@nuxt/ui/components/Switch.vue')['default']
139
+ UTable: typeof import('@nuxt/ui/components/Table.vue')['default']
140
+ UTabs: typeof import('@nuxt/ui/components/Tabs.vue')['default']
141
+ UTextarea: typeof import('@nuxt/ui/components/Textarea.vue')['default']
142
+ UTheme: typeof import('@nuxt/ui/components/Theme.vue')['default']
143
+ UTimeline: typeof import('@nuxt/ui/components/Timeline.vue')['default']
144
+ UToast: typeof import('@nuxt/ui/components/Toast.vue')['default']
145
+ UToaster: typeof import('@nuxt/ui/components/Toaster.vue')['default']
146
+ UToggle: typeof import('@nuxt/ui/components/Toggle.vue')['default']
147
+ UToggleGroup: typeof import('@nuxt/ui/components/ToggleGroup.vue')['default']
148
+ UTooltip: typeof import('@nuxt/ui/components/Tooltip.vue')['default']
149
+ UTree: typeof import('@nuxt/ui/components/Tree.vue')['default']
150
+ UUser: typeof import('@nuxt/ui/components/User.vue')['default']
151
+ UColorModeAvatar: typeof import('@nuxt/ui/components/color-mode/ColorModeAvatar.vue')['default']
152
+ UColorModeButton: typeof import('@nuxt/ui/components/color-mode/ColorModeButton.vue')['default']
153
+ UColorModeImage: typeof import('@nuxt/ui/components/color-mode/ColorModeImage.vue')['default']
154
+ UColorModeSelect: typeof import('@nuxt/ui/runtime/vue/components/color-mode/ColorModeSelect.vue')['default']
155
+ UColorModeSwitch: typeof import('@nuxt/ui/runtime/vue/components/color-mode/ColorModeSwitch.vue')['default']
156
+ ULocaleSelect: typeof import('@nuxt/ui/components/locale/LocaleSelect.vue')['default']
157
+ }
158
+ }
@@ -1,6 +1,6 @@
1
1
  import type { Plugin } from 'vite';
2
2
  /** The tools for which `@emberbox/ui` ships a logo. */
3
- export type Logo = 'emberbox' | 'alarmzettel' | 'statussim' | 'calltaker';
3
+ export type Logo = 'emberbox' | 'alarmzettel' | 'statussim' | 'calltaker' | 'planspiel';
4
4
  /**
5
5
  * Serves a tool's logo as `favicon.svg`, `apple-touch-icon.png` and `logo-512.png` at the root, in
6
6
  * the dev server as in the build, and links the first two in the head of every page.
package/dist/vite.js CHANGED
@@ -94,6 +94,8 @@ export function emberbox(options = {}) {
94
94
  ui: defu(options.ui, DEFAULTS),
95
95
  icon: { clientBundle: { scan: ICON_SCAN, icons: OWN_ICONS } },
96
96
  scanPackages: ['@emberbox/ui'],
97
+ dts: false,
98
+ components: { dirs: [] },
97
99
  }),
98
100
  {
99
101
  name: 'emberbox',
Binary file
Binary file
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="8" fill="#d5271b"/><g transform="translate(14 14) scale(1.5)" color="#fff"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M18 8c0 3.613-3.869 7.429-5.393 8.795a1 1 0 0 1-1.214 0C9.87 15.429 6 11.613 6 8a6 6 0 0 1 12 0"/><path d="M4.474 15h-.197a1 1 0 0 0-.969.753l-1.097 4.35a1.5 1.5 0 0 0 1.444 1.898L20.344 22a1.5 1.5 0 0 0 1.446-1.897l-1.098-4.35a1 1 0 0 0-.969-.753h-.197"/><circle cx="12" cy="8" r="2"/></g></g></svg>
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@emberbox/ui",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "description": "Shared look and building blocks of the Emberbox tools, built on Nuxt UI.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/rainbowdashlabs/emberbox.git",
9
+ "url": "git+https://github.com/ember-tools/emberbox.git",
10
10
  "directory": "packages/ui"
11
11
  },
12
12
  "files": [
@@ -22,10 +22,13 @@
22
22
  "import": "./dist/vite.js"
23
23
  },
24
24
  "./style.css": "./src/style.css",
25
- "./logos/*": "./logos/*"
25
+ "./logos/*": "./logos/*",
26
+ "./types": {
27
+ "types": "./dist/globals.d.ts"
28
+ }
26
29
  },
27
30
  "scripts": {
28
- "build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.vite.json",
31
+ "build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.vite.json && node scripts/build-types.mjs",
29
32
  "typecheck": "vue-tsc -b",
30
33
  "icons": "node scripts/check-icons.mjs",
31
34
  "logos": "node scripts/build-logos.mjs",
@@ -50,8 +53,10 @@
50
53
  "vue": "^3.5.0"
51
54
  },
52
55
  "devDependencies": {
56
+ "@emberbox/lint": "^0.1.0",
53
57
  "@types/node": "^24.0.0",
54
58
  "@vue/tsconfig": "^0.9.1",
59
+ "eslint": "^10.15.0",
55
60
  "typescript": "~6.0.3",
56
61
  "vite": "^8.3.8",
57
62
  "vue": "^3.5.46",
@@ -19,6 +19,7 @@ const props = withDefaults(defineProps<{
19
19
  notice?: string
20
20
  backlink?: boolean
21
21
  }>(), {
22
+ help: undefined,
22
23
  notice: 'Kein offizielles Angebot einer Feuerwehr oder Leitstelle.',
23
24
  backlink: true,
24
25
  })
@@ -42,7 +43,7 @@ const links = [
42
43
  <div class="flex flex-col items-center gap-1 text-center">
43
44
  <ULink v-if="backlink" :to="HUB_URL"
44
45
  class="mb-1 flex items-center gap-2 text-sm text-default hover:text-highlighted hover:underline">
45
- <img :src="emberboxLogo" alt="" width="20" height="20" class="size-5 rounded-[3px]">
46
+ <img :src="emberboxLogo" alt="" width="20" height="20" class="size-5 rounded-[3px]" />
46
47
  <span>Ein Werkzeug der <strong class="font-semibold">Emberbox</strong></span>
47
48
  </ULink>
48
49
  <p class="m-0 flex flex-wrap items-center justify-center gap-x-3 gap-y-1">
@@ -14,7 +14,7 @@ withDefaults(defineProps<{
14
14
  subtitle?: string
15
15
  home?: string
16
16
  logo?: string
17
- }>(), {home: '/'})
17
+ }>(), {subtitle: undefined, home: '/', logo: undefined})
18
18
  </script>
19
19
 
20
20
  <template>
@@ -23,7 +23,7 @@ withDefaults(defineProps<{
23
23
  <div class="flex shrink-0 items-center gap-3">
24
24
  <ULink :to="HUB_URL" class="flex size-8 items-center justify-center rounded-sm text-muted hover:text-highlighted"
25
25
  aria-label="Alle Werkzeuge auf emberbox.app">
26
- <img v-if="logo" :src="logo" alt="" class="size-8 rounded-sm">
26
+ <img v-if="logo" :src="logo" alt="" class="size-8 rounded-sm" />
27
27
  <UIcon v-else name="i-lucide-layout-grid" class="size-5"/>
28
28
  </ULink>
29
29
  <ULink :to="home" class="flex items-baseline gap-2 text-highlighted hover:text-highlighted">
@@ -22,8 +22,11 @@ const props = defineProps<{
22
22
  const FEEDBACK_MS = 1500
23
23
 
24
24
  const revealed = ref(false)
25
- const result = ref<{ what: 'code' | 'link', succeeded: boolean } | null>(null)
26
- const qrImage = computed(() => renderSVG(props.link ?? props.code, {border: 1}))
25
+ /** What the last copy was and whether it worked. */
26
+ type CopyResult = { what: 'code' | 'link', succeeded: boolean }
27
+
28
+ const result = ref<CopyResult | null>(null)
29
+ const qrImage = computed(() => `data:image/svg+xml;charset=utf-8,${encodeURIComponent(renderSVG(props.link ?? props.code, {border: 1}))}`)
27
30
  let timer: ReturnType<typeof setTimeout> | undefined
28
31
 
29
32
  const message = computed(() => result.value === null
@@ -68,8 +71,7 @@ onBeforeUnmount(() => clearTimeout(timer))
68
71
  <UPopover v-if="qr">
69
72
  <UButton icon="i-lucide-qr-code" color="neutral" variant="ghost" size="sm" :aria-label="`QR-Code für ${title}`"/>
70
73
  <template #content>
71
- <div class="size-56 bg-white p-2 text-black [&>svg]:size-full" role="img" :aria-label="`QR-Code für ${title}`"
72
- v-html="qrImage"/>
74
+ <img :src="qrImage" :alt="`QR-Code für ${title}`" width="224" height="224" class="size-56 bg-white p-2"/>
73
75
  </template>
74
76
  </UPopover>
75
77
  <span class="sr-only" role="status">{{ message }}</span>
@@ -10,7 +10,7 @@ import {onMounted, ref, useId, watch} from 'vue'
10
10
  * mounting, so prerendered pages hydrate with `defaultOpen` first.
11
11
  */
12
12
  const {
13
- name, title, count, icon, defaultOpen = false, storageKey = 'emberbox_sections', level = 2,
13
+ name, title, count = undefined, icon = undefined, defaultOpen = false, storageKey = 'emberbox_sections', level = 2,
14
14
  } = defineProps<{
15
15
  /** Key under which the state is remembered. */
16
16
  name: string
@@ -22,7 +22,10 @@ const emit = defineEmits<{ change: [] }>()
22
22
  const model = defineModel<string>({default: ''})
23
23
  const id = useId()
24
24
  const labelId = `${id}-label`
25
- const input = ref<{ inputRef: HTMLInputElement | null }>()
25
+ /** The part of Nuxt UI's input that exposes the native element. */
26
+ type InputHandle = { inputRef: HTMLInputElement | null }
27
+
28
+ const input = ref<InputHandle>()
26
29
  const open = ref(false)
27
30
 
28
31
  /** Which entry the arrow keys are on, or -1 while the typing stands on its own. */
@@ -121,6 +124,7 @@ watch(filtered, () => (active.value = -1))
121
124
  <ul v-if="visible" :id="`${id}-list`" role="listbox" :aria-labelledby="labelId"
122
125
  class="absolute inset-x-0 top-full z-30 mt-1 max-h-64 overflow-auto rounded-sm border border-default bg-default py-1 shadow-lg">
123
126
  <li v-for="(value, index) in filtered" :id="optionId(index)" :key="`${index}-${value}`" role="option"
127
+ tabindex="-1"
124
128
  :aria-selected="index === active"
125
129
  class="cursor-pointer px-3 py-1.5 text-sm"
126
130
  :class="[index === active ? 'bg-elevated' : '', value === model ? 'font-semibold' : '']"
@@ -14,6 +14,8 @@ const {
14
14
  noValue = 'nein',
15
15
  yesLabel = 'Ja',
16
16
  noLabel = 'Nein',
17
+ yesTitle = undefined,
18
+ noTitle = undefined,
17
19
  } = defineProps<{
18
20
  label: string
19
21
  yesValue?: string
package/src/vite/logo.ts CHANGED
@@ -3,7 +3,7 @@ import {fileURLToPath} from 'node:url'
3
3
  import type {Plugin} from 'vite'
4
4
 
5
5
  /** The tools for which `@emberbox/ui` ships a logo. */
6
- export type Logo = 'emberbox' | 'alarmzettel' | 'statussim' | 'calltaker'
6
+ export type Logo = 'emberbox' | 'alarmzettel' | 'statussim' | 'calltaker' | 'planspiel'
7
7
 
8
8
  const LOGOS = fileURLToPath(new URL('../../logos/', import.meta.url))
9
9
 
package/src/vite.ts CHANGED
@@ -118,6 +118,8 @@ export function emberbox(options: EmberboxOptions = {}): PluginOption[] {
118
118
  ui: defu(options.ui, DEFAULTS),
119
119
  icon: {clientBundle: {scan: ICON_SCAN, icons: OWN_ICONS}},
120
120
  scanPackages: ['@emberbox/ui'],
121
+ dts: false,
122
+ components: {dirs: []},
121
123
  }),
122
124
  {
123
125
  name: 'emberbox',