neba 1.13.0 → 1.16.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 +22 -30
- package/dist/a2ui/catalog.json +1466 -0
- package/dist/a2ui/components.d.ts +21 -0
- package/dist/a2ui/components.js +1 -0
- package/dist/a2ui/index.d.ts +62 -0
- package/dist/a2ui/index.js +1 -0
- package/dist/a2ui/schema.d.ts +47 -0
- package/dist/a2ui/schema.js +1 -0
- package/dist/components/accordion/Accordion.d.ts +5 -1
- package/dist/components/accordion/Accordion.js +1 -1
- package/dist/components/agent-steps/AgentSteps.d.ts +80 -0
- package/dist/components/agent-steps/AgentSteps.js +1 -0
- package/dist/components/agent-steps/index.d.ts +2 -0
- package/dist/components/agent-steps/index.js +1 -0
- package/dist/components/alert/Alert.js +1 -1
- package/dist/components/anchor/Anchor.d.ts +3 -2
- package/dist/components/anchor/Anchor.js +1 -1
- package/dist/components/animate-appear/AnimateAppear.js +1 -1
- package/dist/components/animate-blink/AnimateBlink.d.ts +3 -0
- package/dist/components/animate-blink/AnimateBlink.js +1 -1
- package/dist/components/animate-counter/AnimateCounter.d.ts +3 -1
- package/dist/components/animate-counter/AnimateCounter.js +1 -1
- package/dist/components/animate-fade/AnimateFade.js +1 -1
- package/dist/components/animate-float/AnimateFloat.js +1 -1
- package/dist/components/animate-grow/AnimateGrow.js +1 -1
- package/dist/components/animate-headline/AnimateHeadline.d.ts +9 -2
- package/dist/components/animate-headline/AnimateHeadline.js +1 -1
- package/dist/components/animate-lighting/AnimateLighting.d.ts +1 -1
- package/dist/components/animate-lighting/AnimateLighting.js +1 -1
- package/dist/components/animate-marquee/AnimateMarquee.d.ts +15 -6
- package/dist/components/animate-marquee/AnimateMarquee.js +1 -1
- package/dist/components/animate-reveal/AnimateReveal.js +1 -1
- package/dist/components/animate-rotate/AnimateRotate.js +1 -1
- package/dist/components/animate-scramble/AnimateScramble.d.ts +5 -3
- package/dist/components/animate-scramble/AnimateScramble.js +1 -1
- package/dist/components/animate-shake/AnimateShake.js +1 -1
- package/dist/components/animate-slide/AnimateSlide.js +1 -1
- package/dist/components/animate-split/AnimateSplit.d.ts +3 -1
- package/dist/components/animate-split/AnimateSplit.js +1 -1
- package/dist/components/animate-typing/AnimateTyping.d.ts +12 -4
- package/dist/components/animate-typing/AnimateTyping.js +1 -1
- package/dist/components/animate-zoom/AnimateZoom.js +1 -1
- package/dist/components/app-logo/AppLogo.js +1 -1
- package/dist/components/approval/Approval.d.ts +115 -0
- package/dist/components/approval/Approval.js +1 -0
- package/dist/components/approval/index.d.ts +2 -0
- package/dist/components/approval/index.js +1 -0
- package/dist/components/area-chart/AreaChart.d.ts +16 -5
- package/dist/components/area-chart/AreaChart.js +1 -1
- package/dist/components/aspect-ratio/AspectRatio.d.ts +6 -4
- package/dist/components/aspect-ratio/AspectRatio.js +1 -1
- package/dist/components/avatar/Avatar.js +1 -1
- package/dist/components/badge/Badge.js +1 -1
- package/dist/components/bar-chart/BarChart.d.ts +1 -1
- package/dist/components/bar-chart/BarChart.js +1 -1
- package/dist/components/blockquote/Blockquote.js +1 -1
- package/dist/components/bottom-navigation/BottomNavigation.d.ts +2 -1
- package/dist/components/bottom-navigation/BottomNavigation.js +1 -1
- package/dist/components/box/Box.d.ts +5 -0
- package/dist/components/box/Box.js +1 -1
- package/dist/components/breadcrumb/Breadcrumb.d.ts +10 -0
- package/dist/components/breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/button/Button.d.ts +11 -0
- package/dist/components/button/Button.js +1 -1
- package/dist/components/button-group/ButtonGroup.js +1 -1
- package/dist/components/calendar/Calendar.js +1 -1
- package/dist/components/card/Card.js +1 -1
- package/dist/components/carousel/Carousel.d.ts +4 -0
- package/dist/components/carousel/Carousel.js +1 -1
- package/dist/components/chat-bubble/ChatBubble.js +1 -1
- package/dist/components/checkbox/Checkbox.js +1 -1
- package/dist/components/chip/Chip.d.ts +3 -1
- package/dist/components/chip/Chip.js +1 -1
- package/dist/components/code-block/CodeBlock.d.ts +6 -3
- package/dist/components/code-block/CodeBlock.js +1 -1
- package/dist/components/collapsible/Collapsible.d.ts +11 -1
- package/dist/components/collapsible/Collapsible.js +1 -1
- package/dist/components/color-picker/ColorPicker.js +1 -1
- package/dist/components/combobox/Combobox.d.ts +11 -1
- package/dist/components/combobox/Combobox.js +1 -1
- package/dist/components/command-palette/CommandPalette.js +1 -1
- package/dist/components/confirm/Confirm.js +1 -1
- package/dist/components/container/Container.js +1 -1
- package/dist/components/context-window/ContextWindow.d.ts +103 -0
- package/dist/components/context-window/ContextWindow.js +1 -0
- package/dist/components/context-window/index.d.ts +2 -0
- package/dist/components/context-window/index.js +1 -0
- package/dist/components/data-list/DataList.js +1 -1
- package/dist/components/data-table/DataTable.d.ts +12 -1
- package/dist/components/data-table/DataTable.js +1 -1
- package/dist/components/date-picker/DatePicker.js +1 -1
- package/dist/components/date-range-picker/DateRangePicker.js +1 -1
- package/dist/components/date-time-picker/DateTimePicker.js +1 -1
- package/dist/components/dialog/Dialog.d.ts +12 -0
- package/dist/components/dialog/Dialog.js +1 -1
- package/dist/components/divider/Divider.js +1 -1
- package/dist/components/drawer/Drawer.d.ts +7 -0
- package/dist/components/drawer/Drawer.js +1 -1
- package/dist/components/empty/Empty.js +1 -1
- package/dist/components/fieldset/Fieldset.js +1 -1
- package/dist/components/file-picker/FilePicker.d.ts +12 -4
- package/dist/components/file-picker/FilePicker.js +1 -1
- package/dist/components/flex/Flex.d.ts +8 -2
- package/dist/components/flex/Flex.js +1 -1
- package/dist/components/floating-action-button/FloatingActionButton.d.ts +16 -1
- package/dist/components/floating-action-button/FloatingActionButton.js +1 -1
- package/dist/components/floating-bottom-navigation/FloatingBottomNavigation.js +1 -1
- package/dist/components/footer/Footer.d.ts +8 -0
- package/dist/components/footer/Footer.js +1 -1
- package/dist/components/form/Form.d.ts +4 -2
- package/dist/components/form/Form.js +1 -1
- package/dist/components/gallery/Gallery.d.ts +56 -3
- package/dist/components/gallery/Gallery.js +1 -1
- package/dist/components/gallery/GalleryViewer.js +1 -1
- package/dist/components/gauge-chart/GaugeChart.d.ts +1 -1
- package/dist/components/gauge-chart/GaugeChart.js +1 -1
- package/dist/components/grid/Grid.js +1 -1
- package/dist/components/grid-container/GridContainer.js +1 -1
- package/dist/components/header/Header.js +1 -1
- package/dist/components/heatmap-chart/HeatmapChart.d.ts +20 -1
- package/dist/components/heatmap-chart/HeatmapChart.js +1 -1
- package/dist/components/highlight/Highlight.js +1 -1
- package/dist/components/how-to-steps/HowToSteps.d.ts +26 -1
- package/dist/components/how-to-steps/HowToSteps.js +1 -1
- package/dist/components/icon/Icon.js +1 -1
- package/dist/components/icon-button/IconButton.d.ts +0 -20
- package/dist/components/icon-button/IconButton.js +1 -1
- package/dist/components/image/Image.d.ts +137 -11
- package/dist/components/image/Image.js +1 -1
- package/dist/components/image/index.d.ts +1 -1
- package/dist/components/inline-citation/InlineCitation.d.ts +53 -0
- package/dist/components/inline-citation/InlineCitation.js +1 -0
- package/dist/components/inline-citation/index.d.ts +2 -0
- package/dist/components/inline-citation/index.js +1 -0
- package/dist/components/line-chart/LineChart.d.ts +16 -5
- package/dist/components/line-chart/LineChart.js +1 -1
- package/dist/components/list/List.js +1 -1
- package/dist/components/menu/Menu.d.ts +25 -11
- package/dist/components/menu/Menu.js +1 -1
- package/dist/components/menubar/Menubar.js +1 -1
- package/dist/components/meter/Meter.d.ts +6 -0
- package/dist/components/meter/Meter.js +1 -1
- package/dist/components/mockup/Mockup.js +1 -1
- package/dist/components/navigation-menu/NavigationMenu.d.ts +10 -1
- package/dist/components/navigation-menu/NavigationMenu.js +1 -1
- package/dist/components/number-field/NumberField.d.ts +20 -6
- package/dist/components/number-field/NumberField.js +1 -1
- package/dist/components/otp-field/OtpField.d.ts +7 -0
- package/dist/components/otp-field/OtpField.js +1 -1
- package/dist/components/overlay/Overlay.d.ts +1 -1
- package/dist/components/overlay/Overlay.js +1 -1
- package/dist/components/page-layout/PageLayout.d.ts +11 -0
- package/dist/components/page-layout/PageLayout.js +1 -1
- package/dist/components/pagination/Pagination.js +1 -1
- package/dist/components/panes/Panes.d.ts +11 -0
- package/dist/components/panes/Panes.js +1 -1
- package/dist/components/pie-chart/PieChart.d.ts +34 -3
- package/dist/components/pie-chart/PieChart.js +1 -1
- package/dist/components/pill/Pill.d.ts +8 -0
- package/dist/components/pill/Pill.js +1 -1
- package/dist/components/popconfirm/Popconfirm.d.ts +10 -3
- package/dist/components/popconfirm/Popconfirm.js +1 -1
- package/dist/components/popover/Popover.d.ts +8 -1
- package/dist/components/popover/Popover.js +1 -1
- package/dist/components/portal/Portal.js +1 -1
- package/dist/components/progress-box/ProgressBox.js +1 -1
- package/dist/components/progress-circular/ProgressCircular.js +1 -1
- package/dist/components/progress-linear/ProgressLinear.js +1 -1
- package/dist/components/prompt-input/PromptInput.d.ts +104 -0
- package/dist/components/prompt-input/PromptInput.js +1 -0
- package/dist/components/prompt-input/index.d.ts +2 -0
- package/dist/components/prompt-input/index.js +1 -0
- package/dist/components/provider/NebaProvider.d.ts +3 -3
- package/dist/components/provider/NebaProvider.js +1 -1
- package/dist/components/radio-group/RadioGroup.js +1 -1
- package/dist/components/rating/Rating.d.ts +4 -1
- package/dist/components/rating/Rating.js +1 -1
- package/dist/components/reasoning/Reasoning.d.ts +78 -0
- package/dist/components/reasoning/Reasoning.js +1 -0
- package/dist/components/reasoning/index.d.ts +2 -0
- package/dist/components/reasoning/index.js +1 -0
- package/dist/components/scatter-chart/ScatterChart.js +1 -1
- package/dist/components/scroll-area/ScrollArea.js +1 -1
- package/dist/components/scroll-zone/ScrollZone.d.ts +10 -0
- package/dist/components/scroll-zone/ScrollZone.js +1 -1
- package/dist/components/segmented-button/SegmentedButton.js +1 -1
- package/dist/components/select/Select.js +1 -1
- package/dist/components/shortcut/Shortcut.js +1 -1
- package/dist/components/show/Show.d.ts +6 -5
- package/dist/components/show/Show.js +1 -1
- package/dist/components/sidebar/Sidebar.d.ts +7 -5
- package/dist/components/sidebar/Sidebar.js +1 -1
- package/dist/components/sidebar/SidebarTrigger.js +1 -1
- package/dist/components/skeleton/Skeleton.d.ts +1 -1
- package/dist/components/skeleton/Skeleton.js +1 -1
- package/dist/components/slider/Slider.d.ts +13 -1
- package/dist/components/slider/Slider.js +1 -1
- package/dist/components/sources/Sources.d.ts +78 -0
- package/dist/components/sources/Sources.js +1 -0
- package/dist/components/sources/index.d.ts +2 -0
- package/dist/components/sources/index.js +1 -0
- package/dist/components/sparkline/Sparkline.d.ts +14 -1
- package/dist/components/sparkline/Sparkline.js +1 -1
- package/dist/components/spoiler/Spoiler.js +1 -1
- package/dist/components/stack/Stack.d.ts +2 -2
- package/dist/components/stack/Stack.js +1 -1
- package/dist/components/statistic/Statistic.js +1 -1
- package/dist/components/streaming-text/StreamingText.d.ts +75 -0
- package/dist/components/streaming-text/StreamingText.js +1 -0
- package/dist/components/streaming-text/index.d.ts +2 -0
- package/dist/components/streaming-text/index.js +1 -0
- package/dist/components/switch/Switch.js +1 -1
- package/dist/components/table/Table.d.ts +8 -2
- package/dist/components/table/Table.js +1 -1
- package/dist/components/tabs/Tabs.d.ts +17 -1
- package/dist/components/tabs/Tabs.js +1 -1
- package/dist/components/text-field/TextField.js +1 -1
- package/dist/components/text-link/TextLink.js +1 -1
- package/dist/components/time-picker/TimePicker.js +1 -1
- package/dist/components/timeline/Timeline.d.ts +8 -0
- package/dist/components/timeline/Timeline.js +1 -1
- package/dist/components/timeline-chart/TimelineChart.js +1 -1
- package/dist/components/toast/Toast.d.ts +9 -3
- package/dist/components/toast/Toast.js +1 -1
- package/dist/components/toggle/Toggle.js +1 -1
- package/dist/components/toggle-group/ToggleGroup.js +1 -1
- package/dist/components/tool-call/ToolCall.d.ts +104 -0
- package/dist/components/tool-call/ToolCall.js +1 -0
- package/dist/components/tool-call/index.d.ts +2 -0
- package/dist/components/tool-call/index.js +1 -0
- package/dist/components/toolbar/Toolbar.d.ts +8 -0
- package/dist/components/toolbar/Toolbar.js +1 -1
- package/dist/components/tooltip/Tooltip.js +1 -1
- package/dist/components/tour/Tour.d.ts +2 -0
- package/dist/components/tour/Tour.js +1 -1
- package/dist/components/transfer/Transfer.js +1 -1
- package/dist/components/tree-select/TreeSelect.js +1 -1
- package/dist/components/tree-view/TreeView.d.ts +6 -0
- package/dist/components/tree-view/TreeView.js +1 -1
- package/dist/components/typography/Typography.js +1 -1
- package/dist/components/visually-hidden/VisuallyHidden.d.ts +9 -7
- package/dist/components/visually-hidden/VisuallyHidden.js +1 -1
- package/dist/components/window-pane/WindowPane.d.ts +2 -2
- package/dist/components/window-pane/WindowPane.js +1 -1
- package/dist/hooks/useElementSize.d.ts +3 -1
- package/dist/hooks/useElementSize.js +1 -1
- package/dist/hooks/useOnScreen.d.ts +3 -0
- package/dist/hooks/useOnScreen.js +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -1
- package/dist/internal/animate.d.ts +63 -16
- package/dist/internal/animate.js +1 -1
- package/dist/internal/calendar.d.ts +6 -1
- package/dist/internal/calendar.js +1 -1
- package/dist/internal/chart-brush.d.ts +53 -0
- package/dist/internal/chart-brush.js +1 -0
- package/dist/internal/chart-frame.d.ts +186 -30
- package/dist/internal/chart-frame.js +1 -1
- package/dist/internal/chart-line.js +1 -1
- package/dist/internal/chart.d.ts +133 -6
- package/dist/internal/chart.js +1 -1
- package/dist/internal/children.d.ts +15 -0
- package/dist/internal/children.js +1 -0
- package/dist/internal/color.d.ts +4 -0
- package/dist/internal/color.js +1 -1
- package/dist/internal/csv.d.ts +12 -1
- package/dist/internal/csv.js +1 -1
- package/dist/internal/data-table.d.ts +28 -10
- package/dist/internal/data-table.js +1 -1
- package/dist/internal/date.d.ts +12 -5
- package/dist/internal/date.js +1 -1
- package/dist/internal/defaults.d.ts +6 -1
- package/dist/internal/defaults.js +1 -1
- package/dist/internal/drag.d.ts +13 -1
- package/dist/internal/drag.js +1 -1
- package/dist/internal/drop.d.ts +61 -0
- package/dist/internal/drop.js +1 -0
- package/dist/internal/fieldset.d.ts +13 -0
- package/dist/internal/fieldset.js +1 -0
- package/dist/internal/glow.d.ts +102 -0
- package/dist/internal/glow.js +1 -0
- package/dist/internal/highlight.js +1 -1
- package/dist/internal/i18n.d.ts +232 -11
- package/dist/internal/i18n.js +1 -1
- package/dist/internal/icons.d.ts +13 -2
- package/dist/internal/icons.js +1 -1
- package/dist/internal/inert.d.ts +13 -0
- package/dist/internal/inert.js +1 -0
- package/dist/internal/initials.d.ts +8 -3
- package/dist/internal/initials.js +1 -1
- package/dist/internal/keys.d.ts +13 -0
- package/dist/internal/keys.js +1 -1
- package/dist/internal/link.d.ts +13 -15
- package/dist/internal/link.js +1 -1
- package/dist/internal/media.d.ts +9 -17
- package/dist/internal/media.js +1 -1
- package/dist/internal/menu.d.ts +6 -1
- package/dist/internal/mockup.d.ts +5 -4
- package/dist/internal/mockup.js +1 -1
- package/dist/internal/observe.d.ts +12 -0
- package/dist/internal/observe.js +1 -1
- package/dist/internal/page-layout.d.ts +10 -8
- package/dist/internal/page-layout.js +1 -1
- package/dist/internal/picker.d.ts +1 -1
- package/dist/internal/picker.js +1 -1
- package/dist/internal/progress.d.ts +11 -5
- package/dist/internal/progress.js +1 -1
- package/dist/internal/responsive.d.ts +0 -8
- package/dist/internal/responsive.js +1 -1
- package/dist/internal/run.d.ts +71 -0
- package/dist/internal/run.js +1 -0
- package/dist/internal/screen.d.ts +12 -0
- package/dist/internal/screen.js +1 -0
- package/dist/internal/styles.d.ts +185 -14
- package/dist/internal/styles.js +1 -1
- package/dist/internal/text.d.ts +3 -3
- package/dist/internal/text.js +1 -1
- package/dist/internal/window.js +1 -1
- package/dist/locales/ar.js +1 -1
- package/dist/locales/de.js +1 -1
- package/dist/locales/es.js +1 -1
- package/dist/locales/fr.js +1 -1
- package/dist/locales/hi.js +1 -1
- package/dist/locales/id.js +1 -1
- package/dist/locales/it.js +1 -1
- package/dist/locales/ja.js +1 -1
- package/dist/locales/ko.js +1 -1
- package/dist/locales/nl.js +1 -1
- package/dist/locales/pl.js +1 -1
- package/dist/locales/pt.js +1 -1
- package/dist/locales/ru.js +1 -1
- package/dist/locales/th.js +1 -1
- package/dist/locales/tr.js +1 -1
- package/dist/locales/vi.js +1 -1
- package/dist/locales/zh-hans.js +1 -1
- package/dist/locales/zh-hant.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +516 -53
- package/dist/types.d.ts +167 -7
- package/dist/types.js +0 -8
- package/package.json +43 -9
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Whether this subtree is drawn on a Mockup's screen.
|
|
4
|
+
*
|
|
5
|
+
* A picture of a page is not the page. A `PageLayout` on a Mockup's screen
|
|
6
|
+
* would otherwise add a second `<main>`, a second `id="main"` and a second skip
|
|
7
|
+
* link to a document that already has its own, so the layout reads this and
|
|
8
|
+
* leaves all three out. It is a module of its own so that a Mockup providing it
|
|
9
|
+
* does not import the layout, and a layout reading it does not import the
|
|
10
|
+
* device.
|
|
11
|
+
*/
|
|
12
|
+
export declare const ScreenContext: React.Context<boolean>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import*as e from"react";export const ScreenContext=/*@__PURE__*/e.createContext(!1);
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
* Tailwind only sees class names written out literally, so everything here is a
|
|
14
14
|
* complete class string rather than something assembled at runtime. `@source
|
|
15
15
|
* '.'` in `styles.css` covers this folder in the repository and in `dist/`.
|
|
16
|
+
*
|
|
17
|
+
* And a multi-part string is written with `+` or a template literal, never as
|
|
18
|
+
* `[…].join(' ')`. A bundler folds the first two at build time and drops the
|
|
19
|
+
* constant when nothing reads it; it cannot prove a *call* is free of side
|
|
20
|
+
* effects, so a `join` makes every export in this file a fixed cost on the
|
|
21
|
+
* smallest component in the library. Three of them were 0.1 kB gzipped on a
|
|
22
|
+
* Chip before anything imported them.
|
|
16
23
|
*/
|
|
17
24
|
import type * as React from 'react';
|
|
18
25
|
import type { NebaColor, NebaDensity, NebaElevation, NebaSize, NebaVariant } from '../types.js';
|
|
@@ -146,6 +153,18 @@ export declare const tickRadiusClasses: Record<NebaSize, string>;
|
|
|
146
153
|
* `38%` of an 18px box is 6.08px, and a circle whose diameter lands between two
|
|
147
154
|
* device pixels is antialiased unevenly on its four sides — which is exactly
|
|
148
155
|
* what reads as "the dot is not centred" even when the box says it is.
|
|
156
|
+
*
|
|
157
|
+
* **And an even number of them**, which is the half of that rule the diameters
|
|
158
|
+
* missed. A ring is an even box with a 1px border on each side, so what the
|
|
159
|
+
* flex row centres the dot in is an even content box: 12, 14, 16, 18 and 22
|
|
160
|
+
* pixels. An odd dot in an even box leaves a half-pixel on every side, and is
|
|
161
|
+
* then drawn half a device pixel out of step with the ring it sits in — the
|
|
162
|
+
* ring antialiased on one grid and the dot on another, which the eye reads as
|
|
163
|
+
* an offset in whichever direction the rounding fell. Three of the five steps
|
|
164
|
+
* were odd, the default among them.
|
|
165
|
+
*
|
|
166
|
+
* The even ladder is the old one with the gap around the dot rounded down to a
|
|
167
|
+
* whole pixel — 3, 4, 4, 5 and 6. `sm` and `lg` do not move at all.
|
|
149
168
|
*/
|
|
150
169
|
export declare const tickDotClasses: Record<NebaSize, string>;
|
|
151
170
|
/**
|
|
@@ -196,6 +215,30 @@ export declare const stackGapClasses: Record<NebaSize, string>;
|
|
|
196
215
|
* use, so a card's title lines up with the buttons that end up inside it.
|
|
197
216
|
*/
|
|
198
217
|
export declare const sheetTitleClasses: Record<NebaSize, string>;
|
|
218
|
+
/**
|
|
219
|
+
* The same ladder, for a title that is a real heading element.
|
|
220
|
+
*
|
|
221
|
+
* Most titles in the library are a `<div>` or a `<span>`, which nothing styles
|
|
222
|
+
* by tag name. Three are not: an Accordion's header, an inline Drawer's title
|
|
223
|
+
* and a HowToSteps step all have to be `h1`–`h6` to belong in the document
|
|
224
|
+
* outline, and those are the tags a host stylesheet is most certain to have
|
|
225
|
+
* reached already. `.prose h2` and VitePress's `.vp-doc h2` set `font-size`,
|
|
226
|
+
* `line-height` and `font-weight` on them at one class plus one tag, which a
|
|
227
|
+
* utility of one class cannot outrank — measured, an Accordion header inside a
|
|
228
|
+
* rendered-Markdown article came out at 20px where the sheet asked for 15px,
|
|
229
|
+
* and a HowToSteps step at 18px and one weight heavier.
|
|
230
|
+
*
|
|
231
|
+
* So those three write their type through `[&.neba-heading]`, which compiles to
|
|
232
|
+
* two classes, and carry `neba-heading` to close the selector. It is the same
|
|
233
|
+
* arrangement `neba-link` and `neba-typography` make, and the same trade: an
|
|
234
|
+
* override through `className` needs Tailwind's `!`.
|
|
235
|
+
*
|
|
236
|
+
* This is a second spelling of one ladder, which is normally the thing to avoid.
|
|
237
|
+
* It is checked rather than trusted — `test/package/resolution.test.ts` asserts
|
|
238
|
+
* that this table is exactly the one above with the prefix on each token, so the
|
|
239
|
+
* two cannot drift.
|
|
240
|
+
*/
|
|
241
|
+
export declare const headingTitleClasses: Record<NebaSize, string>;
|
|
199
242
|
/**
|
|
200
243
|
* Body copy: the control type scale with the leading opened up, because a
|
|
201
244
|
* label is one line and a body is a paragraph.
|
|
@@ -211,16 +254,48 @@ export declare const sheetSectionGapClasses: Record<NebaSize, string>;
|
|
|
211
254
|
* sheet of something; the noise makes that something acrylic rather than glass.
|
|
212
255
|
*/
|
|
213
256
|
export declare const surfaceClasses = "[background-image:var(--neba-grain),var(--neba-sheen)] [background-blend-mode:overlay,normal] [backdrop-filter:var(--neba-blur)]";
|
|
257
|
+
/**
|
|
258
|
+
* The colour a focus ring travels from: an outline that is declared, so that it
|
|
259
|
+
* has a starting colour, and no width, so that nothing is painted until the
|
|
260
|
+
* focus lands.
|
|
261
|
+
*
|
|
262
|
+
* The width is what stays at zero rather than sitting at 2px waiting to be
|
|
263
|
+
* coloured in, and that is what keeps a forced palette honest: a browser in
|
|
264
|
+
* forced colours replaces every colour it is given, `transparent` included, so
|
|
265
|
+
* a ring held at full width would be painted around every control on the page.
|
|
266
|
+
* There is nothing to replace in an outline that is not drawn.
|
|
267
|
+
*
|
|
268
|
+
* What it costs is the way out — the width drops the moment the focus leaves,
|
|
269
|
+
* so a ring fades in and then goes at once. That is the right way round for the
|
|
270
|
+
* one mark that says where the keyboard is: a ring on its way out while the
|
|
271
|
+
* next one is on its way in is two answers to a question with one.
|
|
272
|
+
*/
|
|
273
|
+
export declare const ringRestClasses = "[outline:0_solid_transparent]";
|
|
214
274
|
/**
|
|
215
275
|
* The house transition. Per-property durations in the order the property list
|
|
216
276
|
* declares them: the fill drains back slowly while edges and shadows keep up
|
|
217
277
|
* with the pointer.
|
|
218
278
|
*
|
|
219
|
-
* `outline-
|
|
279
|
+
* `outline-color` is in the list so the focus ring *arrives* rather than
|
|
220
280
|
* appears, at the same 160ms the hairline under it turns — the two are one
|
|
221
281
|
* edge, and an edge half of which is instant reads as two things happening.
|
|
222
|
-
*
|
|
223
|
-
* width
|
|
282
|
+
*
|
|
283
|
+
* It is the **colour** and deliberately not the width, which is what this
|
|
284
|
+
* carried first. A browser paints an outline at a whole device pixel, so a
|
|
285
|
+
* width travelling from 0 to 2px does not grow: it is a full 1px ring from the
|
|
286
|
+
* first frame after zero, holds there for the whole duration, and snaps to 2px
|
|
287
|
+
* at the end. Two jumps with a dead interval between them, which is exactly
|
|
288
|
+
* what "the focus stutters" describes, and no easing can smooth a property the
|
|
289
|
+
* compositor rounds. Colour has 256 steps per channel and none of them round.
|
|
290
|
+
*
|
|
291
|
+
* Which is why the resting ring is in here rather than beside each ring that is
|
|
292
|
+
* drawn. `outline-color` initialises to `currentColor`, so an element that only
|
|
293
|
+
* declares the *focused* half fades its ring in from whatever colour its text
|
|
294
|
+
* is — white on a solid Button, the muted grey on a table row. There are around
|
|
295
|
+
* thirty of those, and the one that got missed would be the bug. Anything that
|
|
296
|
+
* takes the house transition takes the colour it starts from with it, and the
|
|
297
|
+
* four ring strings below repeat the same class for the handful of elements
|
|
298
|
+
* that draw a ring without taking the transition.
|
|
224
299
|
*
|
|
225
300
|
* No `transform` is in the list, and none should ever be added — scaling a
|
|
226
301
|
* control resamples its label, and a label that shimmers under the cursor is
|
|
@@ -266,24 +341,34 @@ export declare const popupFadeClasses: string;
|
|
|
266
341
|
* `--tw-outline-style`, which any `outline-none` on the element (ours or a
|
|
267
342
|
* consumer's) would zero out.
|
|
268
343
|
*
|
|
269
|
-
* Declared at
|
|
270
|
-
*
|
|
271
|
-
*
|
|
272
|
-
*
|
|
273
|
-
*
|
|
274
|
-
*
|
|
344
|
+
* Declared at rest as well — `ringRestClasses` — which is the whole of what
|
|
345
|
+
* lets it arrive rather than appear. `outline-style` is a discrete property, so
|
|
346
|
+
* a ring that exists only in the focused state has nothing to travel from; a
|
|
347
|
+
* colour has. Whatever draws the house transition gets that for nothing, and a
|
|
348
|
+
* reader who has asked for less motion gets it instantly, because every
|
|
349
|
+
* duration in this library is one token.
|
|
275
350
|
*
|
|
276
351
|
* The focused state still carries the **whole shorthand** rather than the
|
|
277
|
-
*
|
|
352
|
+
* colour alone, and that is not a duplicate: the resting declaration is one
|
|
278
353
|
* class, and a host stylesheet's `:focus-visible { outline: auto }` — which
|
|
279
354
|
* normalize and several site themes ship — is also one selector, so the two
|
|
280
355
|
* would be decided by whichever was generated last. Written as a class plus a
|
|
281
356
|
* pseudo-class it outranks them and the ring cannot be taken away by a
|
|
282
357
|
* stylesheet that has never heard of this library.
|
|
283
358
|
*/
|
|
284
|
-
export declare const focusRingClasses = "[outline:
|
|
285
|
-
/**
|
|
286
|
-
|
|
359
|
+
export declare const focusRingClasses = "[outline:0_solid_transparent] outline-offset-2 focus-visible:[outline:2px_solid_var(--n-ring)]";
|
|
360
|
+
/**
|
|
361
|
+
* The same ring, drawn by whichever descendant actually takes focus.
|
|
362
|
+
*
|
|
363
|
+
* `:has()` is what keeps it to keyboard focus, and it is newer than the rest of
|
|
364
|
+
* the library's floor: Firefox 113 to 120 have no `:has()`, and a Rating there
|
|
365
|
+
* had no focus indicator at all, because the ring is the only one it draws. The
|
|
366
|
+
* fallback asks `:focus-within` instead, in exactly the browsers that cannot ask
|
|
367
|
+
* the other question — so it also rings a star that was clicked, which is the
|
|
368
|
+
* price of having no way to tell the two apart. The two rules never both apply,
|
|
369
|
+
* so their order in the stylesheet decides nothing.
|
|
370
|
+
*/
|
|
371
|
+
export declare const focusWithinRingClasses = "[outline:0_solid_transparent] outline-offset-2 has-[:focus-visible]:[outline:2px_solid_var(--n-ring)] supports-[not_selector(:has(*))]:focus-within:[outline:2px_solid_var(--n-ring)]";
|
|
287
372
|
/**
|
|
288
373
|
* The ring a **field's shell** takes, and the one place in the library it is
|
|
289
374
|
* flush with the edge instead of standing off it.
|
|
@@ -301,7 +386,7 @@ export declare const focusWithinRingClasses = "[outline:0_solid_var(--n-ring)] o
|
|
|
301
386
|
* makes a field the exception is that its sheet is the undyed panel, so the
|
|
302
387
|
* ring has the page to be seen against however the control is variant-ed.
|
|
303
388
|
*/
|
|
304
|
-
export declare const fieldRingClasses = "[outline:
|
|
389
|
+
export declare const fieldRingClasses = "[outline:0_solid_transparent] outline-offset-0 has-[:focus-visible]:[outline:2px_solid_var(--n-ring)]";
|
|
305
390
|
/**
|
|
306
391
|
* How long a field takes to answer the focus.
|
|
307
392
|
*
|
|
@@ -316,9 +401,54 @@ export declare const fieldRingClasses = "[outline:0_solid_var(--n-ring)] outline
|
|
|
316
401
|
* would be answering after the reader had started typing.
|
|
317
402
|
*/
|
|
318
403
|
export declare const fieldFocusTransitionClasses = "focus-within:[transition-duration:var(--neba-duration)]";
|
|
404
|
+
/**
|
|
405
|
+
* Cutting text off after a given number of lines.
|
|
406
|
+
*
|
|
407
|
+
* Two different mechanisms wearing one name: a single line is
|
|
408
|
+
* `text-overflow: ellipsis`, which keeps the text on its own baseline, and more
|
|
409
|
+
* than one needs the line-clamp box, which only ellipsises because WebKit says
|
|
410
|
+
* so. It is shared because `lines` has to mean the same thing on a Typography
|
|
411
|
+
* and on the title of an accordion section.
|
|
412
|
+
*
|
|
413
|
+
* The count reaches the box through an `--n-lines` slot that `clampSlot`
|
|
414
|
+
* writes, rather than through a class per count. The classes stopped at six,
|
|
415
|
+
* so `lines={8}` clamped at six without a word.
|
|
416
|
+
*/
|
|
319
417
|
export declare function clampClasses(lines: number): string;
|
|
418
|
+
/** The count `clampClasses` reads, for the element that carries its class. */
|
|
419
|
+
export declare function clampSlot(lines: number | undefined): React.CSSProperties | undefined;
|
|
320
420
|
/** Icons track their label rather than carrying a size of their own. */
|
|
321
421
|
export declare const iconClasses = "[&_svg]:pointer-events-none [&_svg]:size-[1.2em] [&_svg]:shrink-0";
|
|
422
|
+
/**
|
|
423
|
+
* A Base UI **Collapsible** panel: Collapsible itself, and the three agent
|
|
424
|
+
* components built on the same primitive.
|
|
425
|
+
*
|
|
426
|
+
* Two constants rather than one taking the variable's name, because the height
|
|
427
|
+
* is a class and Tailwind only ever sees a class written out literally. Base UI
|
|
428
|
+
* names the measurement after the component that made it, so this is the whole
|
|
429
|
+
* of what the two differ by.
|
|
430
|
+
*/
|
|
431
|
+
export declare const collapsiblePanelClasses = "h-(--collapsible-panel-height) overflow-hidden [transition:height_var(--neba-duration)_var(--neba-ease)] motion-reduce:[transition-duration:0ms] data-[starting-style]:h-0 data-[ending-style]:h-0";
|
|
432
|
+
/** And an **Accordion** section, which measures itself under its own name. */
|
|
433
|
+
export declare const accordionPanelClasses = "h-(--accordion-panel-height) overflow-hidden [transition:height_var(--neba-duration)_var(--neba-ease)] motion-reduce:[transition-duration:0ms] data-[starting-style]:h-0 data-[ending-style]:h-0";
|
|
434
|
+
/**
|
|
435
|
+
* A block of text that arrived already formatted.
|
|
436
|
+
*
|
|
437
|
+
* What a tool was called with, what it answered, and the arguments an
|
|
438
|
+
* [Approval](../components/agent/approval) is asking about are all the same
|
|
439
|
+
* thing: a string somebody else laid out. Indented JSON, a stack trace and a
|
|
440
|
+
* diff each mean something by where their lines break, so the block scrolls
|
|
441
|
+
* rather than wraps — re-breaking those to fit a column is what turns an
|
|
442
|
+
* argument list into a paragraph.
|
|
443
|
+
*
|
|
444
|
+
* It sits in the groove rather than on a tinted sheet, for the reason
|
|
445
|
+
* `surfaceSlots` leaves a container's panel undyed: what is in here arrives
|
|
446
|
+
* with its own colours, and a syntax palette was not chosen against an accent.
|
|
447
|
+
*
|
|
448
|
+
* No height is set. How tall a block may get is the component's decision, and
|
|
449
|
+
* the two that draw one want different answers.
|
|
450
|
+
*/
|
|
451
|
+
export declare const preformattedClasses = "m-0 overflow-auto rounded-(--neba-radius-sm) bg-(--neba-groove) p-2 font-mono text-[0.9em]/[1.5] whitespace-pre";
|
|
322
452
|
/**
|
|
323
453
|
* Text for a screen reader and nobody else: the sentence behind a bare number
|
|
324
454
|
* on a Badge, the page number under a Pagination chevron, the file count a
|
|
@@ -350,6 +480,33 @@ export declare function controlSlots(color: NebaColor, elevation: NebaElevation,
|
|
|
350
480
|
* the caret, and the sheet stays white.
|
|
351
481
|
*/
|
|
352
482
|
export declare function surfaceSlots(color: NebaColor, elevation: NebaElevation): React.CSSProperties;
|
|
483
|
+
/**
|
|
484
|
+
* A `text` plate that carries its own bed.
|
|
485
|
+
*
|
|
486
|
+
* `--n-soft*` is a wash — an alpha of the family's accent — so what it actually
|
|
487
|
+
* comes out as depends on whatever is painted behind it, and `--n-on-tint` is
|
|
488
|
+
* solved for *one* wash over the page. A Badge, an Avatar and an AppLogo are
|
|
489
|
+
* marks a caller puts **inside** other things, and the moment one lands on
|
|
490
|
+
* something that is itself painted the sum is a bed nobody solved an ink for.
|
|
491
|
+
* Measured, a `text` Badge read 3.9:1 on a selected row and **1.45:1** on a
|
|
492
|
+
* filled surface — a Chip, a Button, a Card — which is not faint, it is gone.
|
|
493
|
+
*
|
|
494
|
+
* So the wash is laid on the page's own surface rather than on the caller's:
|
|
495
|
+
* an opaque `background-color` with the wash as a one-stop gradient over it,
|
|
496
|
+
* which is the arrangement Table uses for a row. The plate then reads exactly
|
|
497
|
+
* what it always read on the page — 5.5:1 in light and 7.6:1 in dark — and
|
|
498
|
+
* reads it on every bed, because there is no longer a bed to depend on.
|
|
499
|
+
*
|
|
500
|
+
* Nothing changes where these already worked: on the page the opaque colour
|
|
501
|
+
* *is* what the wash resolved to. It is `--neba-surface` and not the parent's
|
|
502
|
+
* sheet because an element cannot know what it was dropped into; the page is
|
|
503
|
+
* the one answer that is always available and never wrong by much.
|
|
504
|
+
*
|
|
505
|
+
* The two declarations are in `styles.css`, under the same name. A gradient
|
|
506
|
+
* whose two stops are one `var()` is the kind of thing the arbitrary-property
|
|
507
|
+
* form can say and nobody can read.
|
|
508
|
+
*/
|
|
509
|
+
export declare const tintPlateClasses = "neba-tint-plate";
|
|
353
510
|
/**
|
|
354
511
|
* Disabled drops the colour family entirely. Fading the coloured surface would
|
|
355
512
|
* still read as "this is the primary action", only blurrier.
|
|
@@ -390,6 +547,20 @@ export declare const fieldReadOnlyClasses: Record<NebaVariant, string>;
|
|
|
390
547
|
* you click; a read-only field is still something you select text out of.
|
|
391
548
|
*/
|
|
392
549
|
export declare const readOnlyFilterClasses = "[filter:saturate(0.55)]";
|
|
550
|
+
/**
|
|
551
|
+
* The numbered square a source is cited by.
|
|
552
|
+
*
|
|
553
|
+
* Two components draw it — the rows of a [Sources] list and the mark an
|
|
554
|
+
* [InlineCitation] leaves in a sentence — and they have to be the same object:
|
|
555
|
+
* the whole arrangement is a reader seeing `2` in a paragraph and finding `2`
|
|
556
|
+
* in the list, and two drawings of one number is two chances for the pair to
|
|
557
|
+
* stop matching.
|
|
558
|
+
*
|
|
559
|
+
* Sized in `em` for the same reason. In the list it tracks the row's text; in a
|
|
560
|
+
* paragraph it tracks the sentence it interrupts, whatever that sentence is set
|
|
561
|
+
* at.
|
|
562
|
+
*/
|
|
563
|
+
export declare const citationMarkClasses = "inline-flex shrink-0 items-center justify-center rounded-[0.3em] min-w-[1.5em] px-[0.35em] py-[0.05em] bg-(--n-soft) text-[0.8em]/[1.6] font-semibold text-(--n-on-tint) tabular-nums";
|
|
393
564
|
/**
|
|
394
565
|
* The × that removes a chip.
|
|
395
566
|
*
|
package/dist/internal/styles.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const radiusClasses={xs:"rounded-(--neba-radius-xs)",sm:"rounded-(--neba-radius-sm)",md:"rounded-(--neba-radius-md)",lg:"rounded-(--neba-radius-lg)",xl:"rounded-(--neba-radius-xl)"};export const controlHeightClasses={xs:"h-5.5",sm:"h-6.5",md:"h-8",lg:"h-10",xl:"h-12"};export const fieldHeightClasses={xs:"min-h-5.5",sm:"min-h-6.5",md:"min-h-8",lg:"min-h-10",xl:"min-h-12"};export const controlHeightValues={xs:"1.375rem",sm:"1.625rem",md:"2rem",lg:"2.5rem",xl:"3rem"};export const measureWidths={xs:"30rem",sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem"};export function measureValue(e){return"number"==typeof e?`${e}px`:measureWidths[e]??e}export const controlSquareClasses={xs:"w-5.5",sm:"w-6.5",md:"w-8",lg:"w-10",xl:"w-12"};export const controlTextClasses={xs:"text-[0.6875rem]",sm:"text-[0.75rem]",md:"text-[0.8125rem]",lg:"text-[0.9375rem]",xl:"text-[1.0625rem]"};export const controlTextLeadingClasses={xs:"text-[0.6875rem]/[0.875rem]",sm:"text-[0.75rem]/[1rem]",md:"text-[0.8125rem]/[1.25rem]",lg:"text-[0.9375rem]/[1.375rem]",xl:"text-[1.0625rem]/[1.625rem]"};export const metaTextClasses={xs:"text-[0.625rem]",sm:"text-[0.6875rem]",md:"text-[0.75rem]",lg:"text-[0.8125rem]",xl:"text-[0.875rem]"};export const metaTextValues={xs:"0.625rem",sm:"0.6875rem",md:"0.75rem",lg:"0.8125rem",xl:"0.875rem"};export const paddingXClasses={default:{xs:"px-2.5",sm:"px-3",md:"px-4",lg:"px-5",xl:"px-6"},compact:{xs:"px-1.5",sm:"px-2",md:"px-2.5",lg:"px-3",xl:"px-4"}};export const iconSizeClasses={xs:"size-3.5",sm:"size-4",md:"size-5",lg:"size-6",xl:"size-7"};export const tickSizeClasses={xs:"size-3.5",sm:"size-4",md:"size-4.5",lg:"size-5",xl:"size-6"};export const tickRadiusClasses={xs:"rounded-[0.25rem]",sm:"rounded-[0.3125rem]",md:"rounded-[0.375rem]",lg:"rounded-[0.4375rem]",xl:"rounded-[0.5rem]"};export const tickDotClasses={xs:"size-
|
|
1
|
+
export const radiusClasses={xs:"rounded-(--neba-radius-xs)",sm:"rounded-(--neba-radius-sm)",md:"rounded-(--neba-radius-md)",lg:"rounded-(--neba-radius-lg)",xl:"rounded-(--neba-radius-xl)"};export const controlHeightClasses={xs:"h-5.5",sm:"h-6.5",md:"h-8",lg:"h-10",xl:"h-12"};export const fieldHeightClasses={xs:"min-h-5.5",sm:"min-h-6.5",md:"min-h-8",lg:"min-h-10",xl:"min-h-12"};export const controlHeightValues={xs:"1.375rem",sm:"1.625rem",md:"2rem",lg:"2.5rem",xl:"3rem"};export const measureWidths={xs:"30rem",sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem"};export function measureValue(e){return"number"==typeof e?`${e}px`:measureWidths[e]??e}export const controlSquareClasses={xs:"w-5.5",sm:"w-6.5",md:"w-8",lg:"w-10",xl:"w-12"};export const controlTextClasses={xs:"text-[0.6875rem]",sm:"text-[0.75rem]",md:"text-[0.8125rem]",lg:"text-[0.9375rem]",xl:"text-[1.0625rem]"};export const controlTextLeadingClasses={xs:"text-[0.6875rem]/[0.875rem]",sm:"text-[0.75rem]/[1rem]",md:"text-[0.8125rem]/[1.25rem]",lg:"text-[0.9375rem]/[1.375rem]",xl:"text-[1.0625rem]/[1.625rem]"};export const metaTextClasses={xs:"text-[0.625rem]",sm:"text-[0.6875rem]",md:"text-[0.75rem]",lg:"text-[0.8125rem]",xl:"text-[0.875rem]"};export const metaTextValues={xs:"0.625rem",sm:"0.6875rem",md:"0.75rem",lg:"0.8125rem",xl:"0.875rem"};export const paddingXClasses={default:{xs:"px-2.5",sm:"px-3",md:"px-4",lg:"px-5",xl:"px-6"},compact:{xs:"px-1.5",sm:"px-2",md:"px-2.5",lg:"px-3",xl:"px-4"}};export const iconSizeClasses={xs:"size-3.5",sm:"size-4",md:"size-5",lg:"size-6",xl:"size-7"};export const tickSizeClasses={xs:"size-3.5",sm:"size-4",md:"size-4.5",lg:"size-5",xl:"size-6"};export const tickRadiusClasses={xs:"rounded-[0.25rem]",sm:"rounded-[0.3125rem]",md:"rounded-[0.375rem]",lg:"rounded-[0.4375rem]",xl:"rounded-[0.5rem]"};export const tickDotClasses={xs:"size-1.5",sm:"size-1.5",md:"size-2",lg:"size-2",xl:"size-2.5"};export const tickRowLeadingClasses="leading-[1.4]";export const hitAreaClasses="neba-hit";export const paddingXValues={default:{xs:"0.625rem",sm:"0.75rem",md:"1rem",lg:"1.25rem",xl:"1.5rem"},compact:{xs:"0.375rem",sm:"0.5rem",md:"0.625rem",lg:"0.75rem",xl:"1rem"}};export const gapClasses={xs:"gap-1",sm:"gap-1.5",md:"gap-1.5",lg:"gap-2",xl:"gap-2.5"};export const stackGapClasses={xs:"gap-1",sm:"gap-1",md:"gap-1.5",lg:"gap-1.5",xl:"gap-2"};export const sheetTitleClasses={xs:"text-[0.75rem]/[1rem]",sm:"text-[0.8125rem]/[1.125rem]",md:"text-[0.9375rem]/[1.25rem]",lg:"text-[1.0625rem]/[1.5rem]",xl:"text-[1.25rem]/[1.75rem]"};export const headingTitleClasses={xs:"[&.neba-heading]:text-[0.75rem]/[1rem]",sm:"[&.neba-heading]:text-[0.8125rem]/[1.125rem]",md:"[&.neba-heading]:text-[0.9375rem]/[1.25rem]",lg:"[&.neba-heading]:text-[1.0625rem]/[1.5rem]",xl:"[&.neba-heading]:text-[1.25rem]/[1.75rem]"};export const sheetBodyClasses={xs:"text-[0.6875rem]/[1rem]",sm:"text-[0.75rem]/[1.125rem]",md:"text-[0.8125rem]/[1.375rem]",lg:"text-[0.9375rem]/[1.5rem]",xl:"text-[1.0625rem]/[1.75rem]"};export const sheetHeaderGapClasses={xs:"gap-0.5",sm:"gap-0.5",md:"gap-1",lg:"gap-1",xl:"gap-1.5"};export const sheetSectionGapClasses={xs:"gap-1.5",sm:"gap-2",md:"gap-3",lg:"gap-3.5",xl:"gap-4"};export const surfaceClasses="[background-image:var(--neba-grain),var(--neba-sheen)] [background-blend-mode:overlay,normal] [backdrop-filter:var(--neba-blur)]";export const ringRestClasses="[outline:0_solid_transparent]";export const transitionClasses=`${ringRestClasses} [transition-property:background-color,border-color,box-shadow,color,outline-color] [transition-duration:var(--neba-duration-fill),var(--neba-duration),var(--neba-duration),var(--neba-duration),var(--neba-duration)] [transition-timing-function:var(--neba-ease)]`;export const pressTransitionClasses="active:[transition-duration:0ms]";export const popupFadeStateClasses="data-[starting-style]:opacity-0 data-[ending-style]:opacity-0";export const popupFadeClasses="[transition:opacity_var(--neba-duration)_var(--neba-ease)] "+popupFadeStateClasses;export const focusRingClasses=`${ringRestClasses} outline-offset-2 focus-visible:[outline:2px_solid_var(--n-ring)]`;export const focusWithinRingClasses=`${ringRestClasses} outline-offset-2 has-[:focus-visible]:[outline:2px_solid_var(--n-ring)] supports-[not_selector(:has(*))]:focus-within:[outline:2px_solid_var(--n-ring)]`;export const fieldRingClasses=`${ringRestClasses} outline-offset-0 has-[:focus-visible]:[outline:2px_solid_var(--n-ring)]`;export const fieldFocusTransitionClasses="focus-within:[transition-duration:var(--neba-duration)]";export function clampClasses(e){return e>1?"line-clamp-(--n-lines)":"truncate"}export function clampSlot(e){return void 0!==e&&e>1?{"--n-lines":Math.floor(e)}:void 0}export const iconClasses="[&_svg]:pointer-events-none [&_svg]:size-[1.2em] [&_svg]:shrink-0";const e="[transition:height_var(--neba-duration)_var(--neba-ease)] motion-reduce:[transition-duration:0ms] data-[starting-style]:h-0 data-[ending-style]:h-0";export const collapsiblePanelClasses=`h-(--collapsible-panel-height) overflow-hidden ${e}`;export const accordionPanelClasses=`h-(--accordion-panel-height) overflow-hidden ${e}`;export const preformattedClasses="m-0 overflow-auto rounded-(--neba-radius-sm) bg-(--neba-groove) p-2 font-mono text-[0.9em]/[1.5] whitespace-pre";export const srOnlyClasses="absolute size-px overflow-hidden whitespace-nowrap [clip-path:inset(50%)]";export function controlSlots(e,s,n){const t="solid"===n;return{"--n-fill":`var(--neba-${e}-fill)`,"--n-fill-hover":`var(--neba-${e}-fill-hover)`,"--n-fill-active":`var(--neba-${e}-fill-active)`,"--n-on-solid":`var(--neba-${e}-on-solid)`,"--n-accent":`var(--neba-${e}-accent)`,"--n-soft":`var(--neba-${e}-soft)`,"--n-soft-hover":`var(--neba-${e}-soft-hover)`,"--n-soft-press":`var(--neba-${e}-soft-press)`,"--n-on-tint":`var(--neba-${e}-on-tint)`,"--n-panel":`var(--neba-${e}-panel)`,"--n-panel-hover":`var(--neba-${e}-panel-hover)`,"--n-panel-press":`var(--neba-${e}-panel-press)`,"--n-line":`var(--neba-${e}-line)`,"--n-line-hover":`var(--neba-${e}-line-hover)`,"--n-ring":`var(--neba-${e}-ring)`,"--n-glow":t?"var(--neba-glow-on-fill)":`var(--neba-${e}-soft)`,"--n-flash":t?"var(--neba-flash-on-fill)":`var(--neba-${e}-soft-press)`,"--n-elev":`var(--neba-shadow-${s})`,"--n-elev-hover":`var(--neba-shadow-${Math.min(s+1,4)})`,"--n-elev-press":`var(--neba-shadow-${Math.max(s-1,0)})`}}export function surfaceSlots(e,s){return{"--n-accent":`var(--neba-${e}-accent)`,"--n-soft":`var(--neba-${e}-soft)`,"--n-soft-hover":`var(--neba-${e}-soft-hover)`,"--n-soft-press":`var(--neba-${e}-soft-press)`,"--n-on-tint":`var(--neba-${e}-on-tint)`,"--n-panel":"var(--neba-panel)","--n-panel-hover":"var(--neba-panel-hover)","--n-panel-press":"var(--neba-panel-press)","--n-line":`var(--neba-${e}-line)`,"--n-line-hover":`var(--neba-${e}-line-hover)`,"--n-ring":`var(--neba-${e}-ring)`,"--n-elev":`var(--neba-shadow-${s})`}}export const tintPlateClasses="neba-tint-plate";export const disabledClasses={solid:"cursor-not-allowed bg-(--neba-disabled-bg) text-(--neba-disabled-fg) shadow-none",outline:"cursor-not-allowed border bg-transparent text-(--neba-disabled-fg) [border-color:var(--neba-disabled-border)] shadow-none",text:"cursor-not-allowed bg-transparent text-(--neba-disabled-fg) shadow-none"};export const fieldRestClasses={solid:[surfaceClasses,"text-(--neba-fg) bg-(--n-panel-hover)","[box-shadow:var(--n-elev),var(--neba-plate-solid)]","hover:bg-(--n-panel-press)","focus-within:bg-(--n-panel-press)"].join(" "),outline:[surfaceClasses,"border text-(--neba-fg) bg-(--n-panel)","[border-color:var(--n-line)]","[box-shadow:var(--n-elev),var(--neba-plate-glass)]","hover:bg-(--n-panel-hover) hover:[border-color:var(--n-line-hover)]","focus-within:bg-(--n-panel-hover) focus-within:[border-color:var(--n-ring)]","focus-within:hover:[border-color:var(--n-ring)]"].join(" "),text:["text-(--neba-fg) bg-transparent","hover:bg-(--n-soft)","focus-within:bg-(--n-soft-hover)","focus-within:hover:bg-(--n-soft-hover)"].join(" ")};export const fieldReadOnlyClasses={solid:[surfaceClasses,"text-(--neba-fg) bg-(--n-panel-hover)","[box-shadow:var(--neba-plate-solid)] [filter:saturate(0.55)]"].join(" "),outline:[surfaceClasses,"border text-(--neba-fg) bg-(--n-panel)","[border-color:var(--n-line)] [box-shadow:var(--neba-plate-glass)] [filter:saturate(0.55)]"].join(" "),text:"text-(--neba-fg) bg-transparent [filter:saturate(0.55)]"};export const readOnlyFilterClasses="[filter:saturate(0.55)]";export const citationMarkClasses="inline-flex shrink-0 items-center justify-center rounded-[0.3em] min-w-[1.5em] px-[0.35em] py-[0.05em] bg-(--n-soft) text-[0.8em]/[1.6] font-semibold text-(--n-on-tint) tabular-nums";export const chipRemoveClasses="relative ms-0.5 inline-flex shrink-0 items-center justify-center rounded-full size-[1.15em] cursor-pointer opacity-70 neba-hit [transition:opacity_var(--neba-duration)_var(--neba-ease)] hover:opacity-100 focus-visible:opacity-100 focus-visible:[outline:2px_solid_var(--n-ring)] focus-visible:outline-offset-1 disabled:cursor-not-allowed";export function hasContent(e){return null!=e&&!1!==e&&""!==e}export function toLength(e){if(null!=e)return"number"==typeof e?`${e}px`:e}const s=/^\s*(-?[\d.]+)\s*(px|rem|em|%)\s*$/;export function toPixels(e,t){const r=s.exec(e);if(!r)return;const a=Number(r[1]);if(!Number.isNaN(a))switch(r[2]){case"px":return a;case"%":return t.percentOf*a/100;case"em":return a*n(t.relativeTo);default:return a*n("undefined"==typeof document?null:document.documentElement)}}function n(e){return e&&"undefined"!=typeof getComputedStyle&&parseFloat(getComputedStyle(e).fontSize)||16}export function cx(...e){return e.filter(Boolean).join(" ")}
|
package/dist/internal/text.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The text inside a node, and nothing about its markup.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Strings and numbers are the text, and an element contributes the text inside
|
|
5
|
+
* it: `Hello <b>world</b>` reads `Hello world`. The markup itself is dropped,
|
|
6
|
+
* because there is no honest way to animate half of a link.
|
|
7
7
|
*/
|
|
8
8
|
export declare function textOf(node: unknown): string;
|
|
9
9
|
/**
|
package/dist/internal/text.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{segmenter as t}from"./format.js";export function textOf(t){return"string"==typeof t||"number"==typeof t?String(t):Array.isArray(t)?t.map(textOf).join(""):""}export function graphemesOf(e,r){const n=t(r,"grapheme");return n?[...n.segment(e)].map(t=>t.segment):[...e]}export function wordsOf(e,r){const n=t(r,"word");if(n){const t=[];for(const{segment:r,isWordLike:o}of n.segment(e))o||0===t.length?t.push(r):t[t.length-1]+=r;return t.filter(t=>t.length>0)}return e.split(/(\s+)/).reduce((t,e,r)=>(r%2==0?e&&t.push(e):t.length>0&&(t[t.length-1]+=e),t),[])}
|
|
1
|
+
import{segmenter as t}from"./format.js";export function textOf(t){return"string"==typeof t||"number"==typeof t?String(t):Array.isArray(t)?t.map(textOf).join(""):null!==t&&"object"==typeof t&&"props"in t?textOf(t.props.children):""}export function graphemesOf(e,r){const n=t(r,"grapheme");return n?[...n.segment(e)].map(t=>t.segment):[...e]}export function wordsOf(e,r){const n=t(r,"word");if(n){const t=[];for(const{segment:r,isWordLike:o}of n.segment(e))o||0===t.length?t.push(r):t[t.length-1]+=r;return t.filter(t=>t.length>0)}return e.split(/(\s+)/).reduce((t,e,r)=>(r%2==0?e&&t.push(e):t.length>0&&(t[t.length-1]+=e),t),[])}
|
package/dist/internal/window.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e,jsxs as i}from"react/jsx-runtime";import{cx as t}from"./styles.js";const n={macos:{bar:38,radius:10,radiusBottom:10,padX:12,padEnd:12,gap:8,title:13,glyph:7,weight:500,frame:1,band:{side:0,bottom:0},control:{width:12,height:12},titleAlign:"center",controlsSide:"start",shape:"dot",rule:!1,stroke:1.4,boxRadius:0,tint:[6,3],accentBorder:!1,paint:null,image:null,shadow:null,glass:!1},macosx:{bar:26,radius:8,radiusBottom:0,padX:10,padEnd:10,gap:8,title:12,glyph:7,weight:700,frame:1,band:{side:0,bottom:0},control:{width:13,height:13},titleAlign:"center",controlsSide:"start",shape:"gloss-dot",rule:!0,stroke:1.5,boxRadius:0,tint:[0,0],accentBorder:!1,paint:{fill:"#e4e4e4",ink:"#333333",dark:!1},image:"repeating-linear-gradient(180deg, rgb(255 255 255 / 0.55) 0 1px, rgb(0 0 0 / 0.035) 1px 2px), linear-gradient(180deg, rgb(255 255 255 / 0.8), rgb(0 0 0 / 0.07))",shadow:"0 1px 0 rgb(255 255 255 / 0.85)",glass:!1},windows11:{bar:32,radius:8,radiusBottom:8,padX:12,padEnd:0,gap:0,title:12,glyph:10,weight:400,frame:1,band:{side:0,bottom:0},control:{width:46,height:32},titleAlign:"start",controlsSide:"end",shape:"square",rule:!1,tint:[3,1],stroke:1,boxRadius:1.6,accentBorder:!1,paint:null,image:null,shadow:null,glass:!1},windows10:{bar:30,radius:0,radiusBottom:0,padX:10,padEnd:0,gap:0,title:12,glyph:10,weight:400,frame:1,band:{side:0,bottom:0},control:{width:45,height:30},titleAlign:"start",controlsSide:"end",shape:"square",rule:!0,tint:[0,0],stroke:.9,boxRadius:0,accentBorder:!0,paint:null,image:null,shadow:null,glass:!1},windows8:{bar:32,radius:0,radiusBottom:0,padX:10,padEnd:0,gap:0,title:12,glyph:11,weight:400,frame:2,band:{side:0,bottom:0},control:{width:45,height:32},titleAlign:"start",controlsSide:"end",shape:"square",rule:!1,tint:[0,0],stroke:1,boxRadius:0,accentBorder:!0,paint:null,image:null,shadow:null,glass:!1},windows7:{bar:30,radius:7,radiusBottom:0,padX:10,padEnd:3,gap:2,title:12,glyph:10,weight:400,frame:1,band:{side:7,bottom:7},control:{width:29,height:20},closeWidth:45,titleAlign:"start",controlsSide:"end",shape:"aero",rule:!1,tint:[0,0],stroke:1.1,boxRadius:0,accentBorder:!1,paint:{fill:"rgb(198 218 242 / 0.45)",ink:"#12314f",dark:!1},image:"linear-gradient(180deg, rgb(255 255 255 / 0.62), rgb(255 255 255 / 0.1) 46%, rgb(255 255 255 / 0.34) 88%, rgb(255 255 255 / 0.5))",shadow:"0 0 6px rgb(255 255 255 / 0.95), 0 0 3px rgb(255 255 255 / 0.95)",glass:!0},windowsxp:{bar:30,radius:8,radiusBottom:0,padX:6,padEnd:4,gap:2,title:13,glyph:9,weight:700,frame:1,band:{side:4,bottom:4},control:{width:21,height:21},closeWidth:26,titleAlign:"start",controlsSide:"end",shape:"plate",rule:!1,tint:[0,0],stroke:1.8,boxRadius:3,accentBorder:!1,paint:{fill:"#1f66d6",ink:"#ffffff",dark:!0},image:"linear-gradient(180deg, rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.26) 7%, rgb(0 0 0 / 0.11) 42%, rgb(0 0 0 / 0.05) 56%, rgb(255 255 255 / 0.22) 76%, rgb(255 255 255 / 0.34) 88%, rgb(0 0 0 / 0.16) 96%, rgb(0 0 0 / 0.34))",shadow:"0 1px 1px rgb(0 0 0 / 0.45)",glass:!1},linux:{bar:44,radius:12,radiusBottom:12,padX:10,padEnd:10,gap:6,title:14,glyph:10,weight:600,frame:1,band:{side:0,bottom:0},control:{width:24,height:24},titleAlign:"center",controlsSide:"end",shape:"circle",rule:!1,stroke:1.2,boxRadius:0,tint:[11,5],accentBorder:!1,paint:null,image:null,shadow:null,glass:!1}},a={xs:.8,sm:.9,md:1,lg:1.15,xl:1.3};export function windowMetrics(e,i){const t=n[e],
|
|
1
|
+
import{jsx as e,jsxs as i}from"react/jsx-runtime";import{cx as t}from"./styles.js";const n={macos:{bar:38,radius:10,radiusBottom:10,padX:12,padEnd:12,gap:8,title:13,glyph:7,weight:500,frame:1,band:{side:0,bottom:0},control:{width:12,height:12},titleAlign:"center",controlsSide:"start",shape:"dot",rule:!1,stroke:1.4,boxRadius:0,tint:[6,3],accentBorder:!1,paint:null,image:null,shadow:null,glass:!1},macosx:{bar:26,radius:8,radiusBottom:0,padX:10,padEnd:10,gap:8,title:12,glyph:7,weight:700,frame:1,band:{side:0,bottom:0},control:{width:13,height:13},titleAlign:"center",controlsSide:"start",shape:"gloss-dot",rule:!0,stroke:1.5,boxRadius:0,tint:[0,0],accentBorder:!1,paint:{fill:"#e4e4e4",ink:"#333333",dark:!1},image:"repeating-linear-gradient(180deg, rgb(255 255 255 / 0.55) 0 1px, rgb(0 0 0 / 0.035) 1px 2px), linear-gradient(180deg, rgb(255 255 255 / 0.8), rgb(0 0 0 / 0.07))",shadow:"0 1px 0 rgb(255 255 255 / 0.85)",glass:!1},windows11:{bar:32,radius:8,radiusBottom:8,padX:12,padEnd:0,gap:0,title:12,glyph:10,weight:400,frame:1,band:{side:0,bottom:0},control:{width:46,height:32},titleAlign:"start",controlsSide:"end",shape:"square",rule:!1,tint:[3,1],stroke:1,boxRadius:1.6,accentBorder:!1,paint:null,image:null,shadow:null,glass:!1},windows10:{bar:30,radius:0,radiusBottom:0,padX:10,padEnd:0,gap:0,title:12,glyph:10,weight:400,frame:1,band:{side:0,bottom:0},control:{width:45,height:30},titleAlign:"start",controlsSide:"end",shape:"square",rule:!0,tint:[0,0],stroke:.9,boxRadius:0,accentBorder:!0,paint:null,image:null,shadow:null,glass:!1},windows8:{bar:32,radius:0,radiusBottom:0,padX:10,padEnd:0,gap:0,title:12,glyph:11,weight:400,frame:2,band:{side:0,bottom:0},control:{width:45,height:32},titleAlign:"start",controlsSide:"end",shape:"square",rule:!1,tint:[0,0],stroke:1,boxRadius:0,accentBorder:!0,paint:null,image:null,shadow:null,glass:!1},windows7:{bar:30,radius:7,radiusBottom:0,padX:10,padEnd:3,gap:2,title:12,glyph:10,weight:400,frame:1,band:{side:7,bottom:7},control:{width:29,height:20},closeWidth:45,titleAlign:"start",controlsSide:"end",shape:"aero",rule:!1,tint:[0,0],stroke:1.1,boxRadius:0,accentBorder:!1,paint:{fill:"rgb(198 218 242 / 0.45)",ink:"#12314f",dark:!1},image:"linear-gradient(180deg, rgb(255 255 255 / 0.62), rgb(255 255 255 / 0.1) 46%, rgb(255 255 255 / 0.34) 88%, rgb(255 255 255 / 0.5))",shadow:"0 0 6px rgb(255 255 255 / 0.95), 0 0 3px rgb(255 255 255 / 0.95)",glass:!0},windowsxp:{bar:30,radius:8,radiusBottom:0,padX:6,padEnd:4,gap:2,title:13,glyph:9,weight:700,frame:1,band:{side:4,bottom:4},control:{width:21,height:21},closeWidth:26,titleAlign:"start",controlsSide:"end",shape:"plate",rule:!1,tint:[0,0],stroke:1.8,boxRadius:3,accentBorder:!1,paint:{fill:"#1f66d6",ink:"#ffffff",dark:!0},image:"linear-gradient(180deg, rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.26) 7%, rgb(0 0 0 / 0.11) 42%, rgb(0 0 0 / 0.05) 56%, rgb(255 255 255 / 0.22) 76%, rgb(255 255 255 / 0.34) 88%, rgb(0 0 0 / 0.16) 96%, rgb(0 0 0 / 0.34))",shadow:"0 1px 1px rgb(0 0 0 / 0.45)",glass:!1},linux:{bar:44,radius:12,radiusBottom:12,padX:10,padEnd:10,gap:6,title:14,glyph:10,weight:600,frame:1,band:{side:0,bottom:0},control:{width:24,height:24},titleAlign:"center",controlsSide:"end",shape:"circle",rule:!1,stroke:1.2,boxRadius:0,tint:[11,5],accentBorder:!1,paint:null,image:null,shadow:null,glass:!1}},a={xs:.8,sm:.9,md:1,lg:1.15,xl:1.3};export function windowMetrics(e,i){const t=n[e],o=a[i],r=e=>Math.round(e*o),s={width:r(t.control.width),height:r(t.control.height)},d=r(t.gap),l=void 0===t.closeWidth?s.width:r(t.closeWidth);return{bar:r(t.bar),radius:t.radius,radiusBottom:t.radiusBottom,frame:t.frame,band:{side:r(t.band.side),bottom:r(t.band.bottom)},padX:r(t.padX),padEnd:r(t.padEnd),gap:d,title:r(t.title),glyph:r(t.glyph),weight:t.weight,control:s,controlsWidth:e=>e<=0?0:l+(e-1)*s.width+(e-1)*d,closeWidth:l}}export function windowChrome(e){return n[e]}const o={macos:["close","minimize","maximize"],macosx:["close","minimize","maximize"],windows11:["minimize","maximize","close"],windows10:["minimize","maximize","close"],windows8:["minimize","maximize","close"],windows7:["minimize","maximize","close"],windowsxp:["minimize","maximize","close"],linux:["minimize","maximize","close"]};export function orderControls(e,i){return o[e].filter(e=>i.includes(e))}function r(e,i){const t=Math.round(100*(1-i));return t>=100?e:`color-mix(in oklab, ${e} ${t}%, transparent)`}export function windowSlots(e){const{os:i,color:t,accent:a,transparency:o,active:s,elevation:d}=e,l=n[i],c=Math.min(Math.max(o,0),1),g="var(--neba-surface)",h=l.tint[s?0:1],b=0===h?g:`color-mix(in oklab, ${g} ${100-h}%, var(--neba-fg))`,p=a&&s,u=l.paint,m=u?s?u.fill:`color-mix(in oklab, ${u.fill} 45%, #c6c9ce)`:null,w=p?`var(--neba-${t}-solid)`:m??b,x=p?`var(--neba-${t}-on-solid)`:u?s?u.ink:`color-mix(in oklab, ${u.ink} 60%, transparent)`:s?"var(--neba-fg)":"var(--neba-muted-fg)",f=l.band.side>0,v=f?r(p?`var(--neba-${t}-solid)`:m??b,c):"transparent",k=f?`color-mix(in oklab, ${p?`var(--neba-${t}-solid)`:m??"var(--neba-border)"} 72%, black)`:p&&l.accentBorder?`var(--neba-${t}-solid)`:s?"var(--neba-border)":"color-mix(in oklab, var(--neba-border) 55%, transparent)",y=p||(u?.dark??!1);return{"--n-window-bar":r(w,c),"--n-window-bar-fg":x,"--n-window-bar-image":l.image??"none","--n-window-bar-shadow":l.shadow??"none","--n-window-body":r(g,c),"--n-window-line":k,"--n-window-band":v,"--n-window-hover":y?"rgb(255 255 255 / 0.18)":"color-mix(in oklab, var(--neba-fg) 9%, transparent)","--n-window-press":y?"rgb(255 255 255 / 0.28)":"color-mix(in oklab, var(--neba-fg) 16%, transparent)","--n-window-shadow":`var(--neba-shadow-${s?d:Math.max(d-1,0)})`,"--n-accent":`var(--neba-${t}-accent)`,"--n-ring":`var(--neba-${t}-ring)`}}function Glyph({size:i,stroke:t,round:n,children:a}){return e("svg",{viewBox:"0 0 10 10",width:i,height:i,fill:"none",stroke:"currentColor",strokeWidth:t,strokeLinecap:n?"round":"square",strokeLinejoin:n?"round":"miter","aria-hidden":"true",children:a})}function s(t,n,a,o){const r=a.stroke,s=a.boxRadius>0||"square"!==a.shape,d=a.boxRadius;return"minimize"===t?e(Glyph,{size:o,stroke:r,round:s,children:e("path",{d:"plate"===a.shape?"M2 7.5h6":"M1.5 5h7"})}):"close"===t?e(Glyph,{size:o,stroke:r,round:s,children:e("path",{d:"m1.6 1.6 6.8 6.8M8.4 1.6 1.6 8.4"})}):n?i(Glyph,{size:o,stroke:r,round:s,children:[e("rect",{x:"1.4",y:"3.4",width:"5.2",height:"5.2",rx:d}),e("path",{d:"M3.6 3.4v-2h5v5h-2"})]}):e(Glyph,{size:o,stroke:r,round:s,children:e("rect",{x:"1.5",y:"1.5",width:"7",height:"7",rx:d})})}const d={close:"#ff5f57",minimize:"#febc2e",maximize:"#28c840"},l={close:"#cf4b36",minimize:"#4b85d4",maximize:"#4b85d4"},c={macos:null,macosx:null,windows11:"#c42b1c",windows10:"#e81123",windows8:"#e81123",windows7:"#e04a45",windowsxp:null,linux:null};export function WindowControls({os:i,metrics:a,controls:o,maximized:r,active:g,labels:h,onCommand:b}){const p=n[i],u=orderControls(i,o);if(0===u.length)return null;const m="dot"===p.shape||"gloss-dot"===p.shape,w="circle"===p.shape,x="plate"===p.shape,f="aero"===p.shape;return e("div",{className:t("group/controls flex shrink-0 items-center",f?"self-start":"self-stretch"),style:{gap:a.gap,"--n-hit-gap":`${a.gap}px`},onPointerDown:e=>e.stopPropagation(),onDoubleClick:e=>e.stopPropagation(),children:u.map(n=>{const o="maximize"===n&&r?h.restore:h[n],u="close"===n?c[i]:null,{face:v,ink:k,image:y,plate:z}=function(e,i,t){switch(e.shape){case"dot":case"gloss-dot":return{face:t?d[i]:"color-mix(in oklab, var(--neba-fg) 22%, transparent)",ink:"rgb(0 0 0 / 0.55)",image:"gloss-dot"===e.shape?"radial-gradient(circle at 50% 26%, rgb(255 255 255 / 0.8), rgb(255 255 255 / 0) 62%)":void 0,plate:"gloss-dot"===e.shape?"inset 0 0 0 1px rgb(0 0 0 / 0.22), inset 0 -1px 1px rgb(0 0 0 / 0.15)":void 0};case"plate":return{face:t?l[i]:`color-mix(in oklab, ${l[i]} 45%, #c6c9ce)`,ink:"#ffffff",image:"linear-gradient(180deg, rgb(255 255 255 / 0.5), rgb(255 255 255 / 0.05) 55%, rgb(0 0 0 / 0.14))",plate:"inset 0 0 0 1px rgb(255 255 255 / 0.4)"};case"aero":return{face:"rgb(255 255 255 / 0.3)",image:"linear-gradient(180deg, rgb(255 255 255 / 0.6), rgb(255 255 255 / 0.08) 52%, rgb(255 255 255 / 0.3))",plate:"inset 0 0 0 1px rgb(255 255 255 / 0.55)"};default:return{}}}(p,n,g);return e("button",{type:"button","aria-label":o,title:o,className:t("relative flex shrink-0 cursor-pointer items-center justify-center","[transition:background-color_var(--neba-duration)_var(--neba-ease),color_var(--neba-duration)_var(--neba-ease),filter_var(--neba-duration)_var(--neba-ease)]","focus-visible:[outline:2px_solid_var(--n-ring)] focus-visible:[outline-offset:-2px]",m||w?"rounded-full":"",m?"neba-hit-row":"",w?"bg-(--n-window-hover)":"",v?"bg-(--n-window-face)":"",u?"hover:bg-(--n-window-danger) hover:text-white active:bg-(--n-window-danger)":m?"":x?"hover:brightness-110 active:brightness-95":w?"hover:bg-(--n-window-press) active:bg-(--n-window-press)":f?"hover:brightness-110 active:brightness-95":"hover:bg-(--n-window-hover) active:bg-(--n-window-press)"),style:{width:m?a.control.height:"close"===n?a.closeWidth:a.control.width,height:a.control.height,borderRadius:x?p.boxRadius+1:f?"0 0 3px 3px":void 0,backgroundImage:y,boxShadow:z,color:k,...v?{"--n-window-face":v}:{},...u?{"--n-window-danger":u}:{}},onClick:()=>b(n),children:e("span",{className:t("flex items-center justify-center",m?"opacity-0 [transition:opacity_var(--neba-duration)_var(--neba-ease)] group-hover/controls:opacity-100 group-has-[:focus-visible]/controls:opacity-100 supports-[not_selector(:has(*))]:group-focus-within/controls:opacity-100 [@media(hover:none)]:opacity-100":""),children:s(n,r,p,a.glyph)})},n)})})}
|
package/dist/locales/ar.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const ar={action:{close:"إغلاق",dismiss:"تجاهل",clear:"مسح",remove:"إزالة"},confirm:{confirm:"تأكيد",cancel:"إلغاء"},link:{newTab:"(يفتح في علامة تبويب جديدة)"},spoiler:{reveal:"إظهار",hide:"إخفاء",notice:"قد يحتوي على حرق للأحداث"},chat:{sending:"جارٍ الإرسال",sent:"تم الإرسال",delivered:"تم التسليم",read:"تمت القراءة",failed:"لم يتم الإرسال",typing:"يكتب الآن…"},empty:{title:"لا يوجد شيء هنا"},table:{search:"بحث",selectAll:"تحديد كل الصفوف",selectRow:"تحديد الصف",rowsPerPage:"صفوف لكل صفحة",range:"{start}–{end} من {total}",selected:"تم تحديد {count}",empty:"لا توجد بيانات",exportCsv:"تصدير CSV"},color:{area:"التشبع والسطوع",hue:"درجة اللون",alpha:"العتامة",value:"قيمة اللون",swatches:"ألوان جاهزة",clear:"مسح",empty:"اختر لونًا"},rating:{label:"التقييم",value:"{value} من {max}",empty:"بدون تقييم"},number:{increase:"زيادة",decrease:"إنقاص"},pagination:{label:"ترقيم الصفحات",page:"الصفحة {page}",status:"الصفحة {page} من {total}",previous:"الصفحة السابقة",next:"الصفحة التالية",first:"الصفحة الأولى",last:"الصفحة الأخيرة"},carousel:{label:"شريط عرض",slide:"الشريحة {index} من {total}",previous:"الشريحة السابقة",next:"الشريحة التالية",pause:"إيقاف عرض الشرائح مؤقتًا",play:"تشغيل عرض الشرائح"},picker:{previousMonth:"الشهر السابق",nextMonth:"الشهر التالي",previousYear:"السنة السابقة",nextYear:"السنة التالية",previousYears:"السنوات السابقة",nextYears:"السنوات التالية",chooseMonth:"اختر شهرًا",chooseYear:"اختر سنة",today:"اليوم",thisMonth:"هذا الشهر",thisYear:"هذه السنة",now:"الآن",clear:"مسح",done:"تم",hour:"الساعة",minute:"الدقيقة",second:"الثانية",meridiem:"ص/م",start:"البداية",end:"النهاية"},gallery:{label:"معرض صور",item:"الصورة {index} من {total}",previous:"الصورة السابقة",next:"الصورة التالية"},image:{unavailable:"الصورة غير متاحة"},chart:{label:"رسم بياني"},scroll:{label:"محتوى قابل للتمرير",previous:"التمرير للخلف",next:"التمرير للأمام"},breadcrumb:{label:"مسار التنقل",expand:"إظهار الخطوات المخفية"},anchor:{label:"في هذه الصفحة"},transfer:{source:"المتاح",target:"المحدد",toTarget:"النقل إلى المحدد",toSource:"الإرجاع إلى المتاح",search:"بحث",selectAll:"تحديد الكل",empty:"لا شيء هنا"},command:{label:"لوحة الأوامر",search:"اكتب أمراً أو ابحث…",empty:"لا توجد أوامر مطابقة"},combobox:{empty:"لا توجد نتائج مطابقة",remove:"إزالة {label}"},overlay:{label:"
|
|
1
|
+
export const ar={action:{close:"إغلاق",dismiss:"تجاهل",clear:"مسح",remove:"إزالة"},confirm:{confirm:"تأكيد",cancel:"إلغاء"},link:{newTab:"(يفتح في علامة تبويب جديدة)"},spoiler:{reveal:"إظهار",hide:"إخفاء",notice:"قد يحتوي على حرق للأحداث"},chat:{sending:"جارٍ الإرسال",sent:"تم الإرسال",delivered:"تم التسليم",read:"تمت القراءة",failed:"لم يتم الإرسال",typing:"يكتب الآن…"},empty:{title:"لا يوجد شيء هنا"},table:{search:"بحث",selectAll:"تحديد كل الصفوف",selectRow:"تحديد الصف",rowsPerPage:"صفوف لكل صفحة",range:"{start}–{end} من {total}",selected:"تم تحديد {count}",empty:"لا توجد بيانات",exportCsv:"تصدير CSV",noGroup:"بلا مجموعة"},color:{area:"التشبع والسطوع",hue:"درجة اللون",alpha:"العتامة",value:"قيمة اللون",swatches:"ألوان جاهزة",clear:"مسح",empty:"اختر لونًا"},rating:{label:"التقييم",value:"{value} من {max}",empty:"بدون تقييم"},number:{increase:"زيادة",decrease:"إنقاص"},pagination:{label:"ترقيم الصفحات",page:"الصفحة {page}",status:"الصفحة {page} من {total}",previous:"الصفحة السابقة",next:"الصفحة التالية",first:"الصفحة الأولى",last:"الصفحة الأخيرة"},carousel:{label:"شريط عرض",slide:"الشريحة {index} من {total}",previous:"الشريحة السابقة",next:"الشريحة التالية",pause:"إيقاف عرض الشرائح مؤقتًا",play:"تشغيل عرض الشرائح"},picker:{previousMonth:"الشهر السابق",nextMonth:"الشهر التالي",previousYear:"السنة السابقة",nextYear:"السنة التالية",previousYears:"السنوات السابقة",nextYears:"السنوات التالية",chooseMonth:"اختر شهرًا",chooseYear:"اختر سنة",today:"اليوم",thisMonth:"هذا الشهر",thisYear:"هذه السنة",now:"الآن",clear:"مسح",done:"تم",hour:"الساعة",minute:"الدقيقة",second:"الثانية",meridiem:"ص/م",start:"البداية",end:"النهاية"},gallery:{label:"معرض صور",item:"الصورة {index} من {total}",previous:"الصورة السابقة",next:"الصورة التالية"},image:{unavailable:"الصورة غير متاحة",preview:"تكبير الصورة"},chart:{label:"رسم بياني",size:"الحجم",title:"التسمية",start:"البداية",end:"النهاية",summary:"نقاط البيانات: {count}. النطاق: من {min} إلى {max}.",exportCsv:"تصدير CSV"},panes:{handle:"تغيير حجم الأجزاء"},scroll:{label:"محتوى قابل للتمرير",previous:"التمرير للخلف",next:"التمرير للأمام"},breadcrumb:{label:"مسار التنقل",expand:"إظهار الخطوات المخفية"},anchor:{label:"في هذه الصفحة"},transfer:{source:"المتاح",target:"المحدد",toTarget:"النقل إلى المحدد",toSource:"الإرجاع إلى المتاح",search:"بحث",selectAll:"تحديد الكل",empty:"لا شيء هنا"},command:{label:"لوحة الأوامر",search:"اكتب أمراً أو ابحث…",empty:"لا توجد أوامر مطابقة"},combobox:{empty:"لا توجد نتائج مطابقة",remove:"إزالة {label}",add:"إضافة «{label}»",open:"فتح"},toast:{label:"الإشعارات"},overlay:{label:"جارٍ التحميل"},window:{minimize:"تصغير",maximize:"تكبير",restore:"استعادة",resize:"تغيير حجم النافذة",resizeHint:"استخدم مفاتيح الأسهم لتغيير حجم النافذة"},layout:{skipToContent:"تخطي إلى المحتوى",sidebar:"الشريط الجانبي",openSidebar:"فتح الشريط الجانبي",closeSidebar:"إغلاق الشريط الجانبي",resizeSidebar:"تغيير حجم الشريط الجانبي"},code:{code:"شفرة",copy:"نسخ",copied:"تم النسخ",copyFailed:"تعذّر النسخ",raw:"خام",prompt:"موجّه الأوامر"},steps:{previous:"السابق",next:"التالي",done:"تم",skip:"تخطي",restart:"البدء من جديد",completed:"اكتملت جميع الخطوات",steps:"الخطوات",position:"{index} من {total}",step:"الخطوة {index}: {title}"},otp:{slot:"الحرف {index} من {total}"},file:{title:"أفلت الملفات هنا أو انقر للاستعراض",remove:"إزالة {name}"},timeline:{complete:"مكتمل",upcoming:"قادم"},run:{pending:"في الانتظار",running:"قيد التنفيذ",success:"اكتمل",error:"فشل"},tool:{arguments:"الوسائط",result:"النتيجة"},approval:{request:"يلزم إذن",answered:"تمت الإجابة",low:"خطر منخفض",medium:"خطر متوسط",high:"خطر مرتفع"},reasoning:{thinking:"يفكر…",thought:"فكّر لمدة {duration}",done:"انتهى من التفكير"},context:{label:"السياق",input:"المدخلات",output:"المخرجات",reasoning:"الاستدلال",cached:"مخزَّن مؤقتًا",cost:"التكلفة التقديرية",usage:"{used} من {max}"},sources:{title:"المصادر",citation:"المصدر {index}"},prompt:{send:"إرسال",stop:"إيقاف",drop:"أفلِت الملفات هنا لإرفاقها"}};
|
package/dist/locales/de.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const de={action:{close:"Schließen",dismiss:"Ausblenden",clear:"Löschen",remove:"Entfernen"},confirm:{confirm:"Bestätigen",cancel:"Abbrechen"},link:{newTab:"(wird in einem neuen Tab geöffnet)"},spoiler:{reveal:"Anzeigen",hide:"Ausblenden",notice:"Kann Spoiler enthalten"},chat:{sending:"Wird gesendet",sent:"Gesendet",delivered:"Zugestellt",read:"Gelesen",failed:"Nicht gesendet",typing:"Schreibt…"},empty:{title:"Nichts vorhanden"},table:{search:"Suchen",selectAll:"Alle Zeilen auswählen",selectRow:"Zeile auswählen",rowsPerPage:"Zeilen pro Seite",range:"{start}–{end} von {total}",selected:"{count} ausgewählt",empty:"Keine Daten",exportCsv:"CSV exportieren"},color:{area:"Sättigung und Helligkeit",hue:"Farbton",alpha:"Deckkraft",value:"Farbwert",swatches:"Vorgegebene Farben",clear:"Löschen",empty:"Farbe auswählen"},rating:{label:"Bewertung",value:"{value} von {max}",empty:"Keine Bewertung"},number:{increase:"Erhöhen",decrease:"Verringern"},pagination:{label:"Seitennavigation",page:"Seite {page}",status:"Seite {page} von {total}",previous:"Vorherige Seite",next:"Nächste Seite",first:"Erste Seite",last:"Letzte Seite"},carousel:{label:"Karussell",slide:"Folie {index} von {total}",previous:"Vorherige Folie",next:"Nächste Folie",pause:"Diashow anhalten",play:"Diashow abspielen"},picker:{previousMonth:"Vorheriger Monat",nextMonth:"Nächster Monat",previousYear:"Vorheriges Jahr",nextYear:"Nächstes Jahr",previousYears:"Vorherige Jahre",nextYears:"Nächste Jahre",chooseMonth:"Monat wählen",chooseYear:"Jahr wählen",today:"Heute",thisMonth:"Dieser Monat",thisYear:"Dieses Jahr",now:"Jetzt",clear:"Löschen",done:"Fertig",hour:"Stunde",minute:"Minute",second:"Sekunde",meridiem:"AM/PM",start:"Beginn",end:"Ende"},gallery:{label:"Galerie",item:"Bild {index} von {total}",previous:"Vorheriges Bild",next:"Nächstes Bild"},image:{unavailable:"Bild nicht verfügbar"},chart:{label:"Diagramm"},scroll:{label:"Scrollbarer Inhalt",previous:"Zurückscrollen",next:"Weiterscrollen"},breadcrumb:{label:"Breadcrumb-Navigation",expand:"Ausgeblendete Schritte anzeigen"},anchor:{label:"Auf dieser Seite"},transfer:{source:"Verfügbar",target:"Ausgewählt",toTarget:"Zu Ausgewählt verschieben",toSource:"Zurück zu Verfügbar",search:"Suchen",selectAll:"Alle auswählen",empty:"Nichts vorhanden"},command:{label:"Befehlspalette",search:"Befehl eingeben oder suchen…",empty:"Keine Befehle gefunden"},combobox:{empty:"Keine Treffer",remove:"{label} entfernen"},overlay:{label:"
|
|
1
|
+
export const de={action:{close:"Schließen",dismiss:"Ausblenden",clear:"Löschen",remove:"Entfernen"},confirm:{confirm:"Bestätigen",cancel:"Abbrechen"},link:{newTab:"(wird in einem neuen Tab geöffnet)"},spoiler:{reveal:"Anzeigen",hide:"Ausblenden",notice:"Kann Spoiler enthalten"},chat:{sending:"Wird gesendet",sent:"Gesendet",delivered:"Zugestellt",read:"Gelesen",failed:"Nicht gesendet",typing:"Schreibt…"},empty:{title:"Nichts vorhanden"},table:{search:"Suchen",selectAll:"Alle Zeilen auswählen",selectRow:"Zeile auswählen",rowsPerPage:"Zeilen pro Seite",range:"{start}–{end} von {total}",selected:"{count} ausgewählt",empty:"Keine Daten",exportCsv:"CSV exportieren",noGroup:"Ohne Gruppe"},color:{area:"Sättigung und Helligkeit",hue:"Farbton",alpha:"Deckkraft",value:"Farbwert",swatches:"Vorgegebene Farben",clear:"Löschen",empty:"Farbe auswählen"},rating:{label:"Bewertung",value:"{value} von {max}",empty:"Keine Bewertung"},number:{increase:"Erhöhen",decrease:"Verringern"},pagination:{label:"Seitennavigation",page:"Seite {page}",status:"Seite {page} von {total}",previous:"Vorherige Seite",next:"Nächste Seite",first:"Erste Seite",last:"Letzte Seite"},carousel:{label:"Karussell",slide:"Folie {index} von {total}",previous:"Vorherige Folie",next:"Nächste Folie",pause:"Diashow anhalten",play:"Diashow abspielen"},picker:{previousMonth:"Vorheriger Monat",nextMonth:"Nächster Monat",previousYear:"Vorheriges Jahr",nextYear:"Nächstes Jahr",previousYears:"Vorherige Jahre",nextYears:"Nächste Jahre",chooseMonth:"Monat wählen",chooseYear:"Jahr wählen",today:"Heute",thisMonth:"Dieser Monat",thisYear:"Dieses Jahr",now:"Jetzt",clear:"Löschen",done:"Fertig",hour:"Stunde",minute:"Minute",second:"Sekunde",meridiem:"AM/PM",start:"Beginn",end:"Ende"},gallery:{label:"Galerie",item:"Bild {index} von {total}",previous:"Vorheriges Bild",next:"Nächstes Bild"},image:{unavailable:"Bild nicht verfügbar",preview:"Bild vergrößern"},chart:{label:"Diagramm",size:"Größe",title:"Bezeichnung",start:"Beginn",end:"Ende",summary:"Datenpunkte: {count}. Bereich: {min} bis {max}.",exportCsv:"CSV exportieren"},panes:{handle:"Größe der Bereiche ändern"},scroll:{label:"Scrollbarer Inhalt",previous:"Zurückscrollen",next:"Weiterscrollen"},breadcrumb:{label:"Breadcrumb-Navigation",expand:"Ausgeblendete Schritte anzeigen"},anchor:{label:"Auf dieser Seite"},transfer:{source:"Verfügbar",target:"Ausgewählt",toTarget:"Zu Ausgewählt verschieben",toSource:"Zurück zu Verfügbar",search:"Suchen",selectAll:"Alle auswählen",empty:"Nichts vorhanden"},command:{label:"Befehlspalette",search:"Befehl eingeben oder suchen…",empty:"Keine Befehle gefunden"},combobox:{empty:"Keine Treffer",remove:"{label} entfernen",add:"„{label}“ hinzufügen",open:"Öffnen"},toast:{label:"Benachrichtigungen"},overlay:{label:"Wird geladen"},window:{minimize:"Minimieren",maximize:"Maximieren",restore:"Wiederherstellen",resize:"Fenstergröße ändern",resizeHint:"Mit den Pfeiltasten die Fenstergröße ändern"},layout:{skipToContent:"Zum Inhalt springen",sidebar:"Seitenleiste",openSidebar:"Seitenleiste öffnen",closeSidebar:"Seitenleiste schließen",resizeSidebar:"Seitenleiste anpassen"},code:{code:"Code",copy:"Kopieren",copied:"Kopiert",copyFailed:"Kopieren nicht möglich",raw:"Unformatiert",prompt:"Eingabeaufforderung"},steps:{previous:"Zurück",next:"Weiter",done:"Fertig",skip:"Überspringen",restart:"Von vorn beginnen",completed:"Alle Schritte abgeschlossen",steps:"Schritte",position:"{index} von {total}",step:"Schritt {index}: {title}"},otp:{slot:"Zeichen {index} von {total}"},file:{title:"Dateien hier ablegen oder zum Durchsuchen klicken",remove:"{name} entfernen"},timeline:{complete:"Abgeschlossen",upcoming:"Ausstehend"},run:{pending:"Wartet",running:"Läuft",success:"Fertig",error:"Fehlgeschlagen"},tool:{arguments:"Argumente",result:"Ergebnis"},approval:{request:"Berechtigung erforderlich",answered:"Beantwortet",low:"Geringes Risiko",medium:"Mittleres Risiko",high:"Hohes Risiko"},reasoning:{thinking:"Denkt nach …",thought:"{duration} nachgedacht",done:"Nachdenken beendet"},context:{label:"Kontext",input:"Eingabe",output:"Ausgabe",reasoning:"Denkprozess",cached:"Zwischengespeichert",cost:"Geschätzte Kosten",usage:"{used} von {max}"},sources:{title:"Quellen",citation:"Quelle {index}"},prompt:{send:"Senden",stop:"Stoppen",drop:"Dateien hierher ziehen, um sie anzuhängen"}};
|
package/dist/locales/es.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const es={action:{close:"Cerrar",dismiss:"Descartar",clear:"Borrar",remove:"Quitar"},confirm:{confirm:"Confirmar",cancel:"Cancelar"},link:{newTab:"(se abre en una pestaña nueva)"},spoiler:{reveal:"Mostrar",hide:"Ocultar",notice:"Puede contener spoilers"},chat:{sending:"Enviando",sent:"Enviado",delivered:"Entregado",read:"Leído",failed:"No enviado",typing:"Escribiendo…"},empty:{title:"No hay nada aquí"},table:{search:"Buscar",selectAll:"Seleccionar todas las filas",selectRow:"Seleccionar fila",rowsPerPage:"Filas por página",range:"{start}–{end} de {total}",selected:"{count} seleccionadas",empty:"Sin datos",exportCsv:"Exportar CSV"},color:{area:"Saturación y brillo",hue:"Tono",alpha:"Opacidad",value:"Valor del color",swatches:"Colores predefinidos",clear:"Borrar",empty:"Elegir un color"},rating:{label:"Valoración",value:"{value} de {max}",empty:"Sin valoración"},number:{increase:"Aumentar",decrease:"Disminuir"},pagination:{label:"Paginación",page:"Página {page}",status:"Página {page} de {total}",previous:"Página anterior",next:"Página siguiente",first:"Primera página",last:"Última página"},carousel:{label:"Carrusel",slide:"Diapositiva {index} de {total}",previous:"Diapositiva anterior",next:"Diapositiva siguiente",pause:"Pausar la presentación",play:"Reproducir la presentación"},picker:{previousMonth:"Mes anterior",nextMonth:"Mes siguiente",previousYear:"Año anterior",nextYear:"Año siguiente",previousYears:"Años anteriores",nextYears:"Años siguientes",chooseMonth:"Elegir un mes",chooseYear:"Elegir un año",today:"Hoy",thisMonth:"Este mes",thisYear:"Este año",now:"Ahora",clear:"Borrar",done:"Listo",hour:"Hora",minute:"Minuto",second:"Segundo",meridiem:"a. m./p. m.",start:"Inicio",end:"Fin"},gallery:{label:"Galería",item:"Imagen {index} de {total}",previous:"Imagen anterior",next:"Imagen siguiente"},image:{unavailable:"Imagen no disponible"},chart:{label:"Gráfico"},scroll:{label:"Contenido desplazable",previous:"Desplazar hacia atrás",next:"Desplazar hacia adelante"},breadcrumb:{label:"Ruta de navegación",expand:"Mostrar los pasos ocultos"},anchor:{label:"En esta página"},transfer:{source:"Disponibles",target:"Seleccionados",toTarget:"Mover a seleccionados",toSource:"Devolver a disponibles",search:"Buscar",selectAll:"Seleccionar todo",empty:"No hay nada"},command:{label:"Paleta de comandos",search:"Escribe un comando o busca…",empty:"No se encontraron comandos"},combobox:{empty:"Sin coincidencias",remove:"Quitar {label}"},overlay:{label:"
|
|
1
|
+
export const es={action:{close:"Cerrar",dismiss:"Descartar",clear:"Borrar",remove:"Quitar"},confirm:{confirm:"Confirmar",cancel:"Cancelar"},link:{newTab:"(se abre en una pestaña nueva)"},spoiler:{reveal:"Mostrar",hide:"Ocultar",notice:"Puede contener spoilers"},chat:{sending:"Enviando",sent:"Enviado",delivered:"Entregado",read:"Leído",failed:"No enviado",typing:"Escribiendo…"},empty:{title:"No hay nada aquí"},table:{search:"Buscar",selectAll:"Seleccionar todas las filas",selectRow:"Seleccionar fila",rowsPerPage:"Filas por página",range:"{start}–{end} de {total}",selected:"{count} seleccionadas",empty:"Sin datos",exportCsv:"Exportar CSV",noGroup:"Sin grupo"},color:{area:"Saturación y brillo",hue:"Tono",alpha:"Opacidad",value:"Valor del color",swatches:"Colores predefinidos",clear:"Borrar",empty:"Elegir un color"},rating:{label:"Valoración",value:"{value} de {max}",empty:"Sin valoración"},number:{increase:"Aumentar",decrease:"Disminuir"},pagination:{label:"Paginación",page:"Página {page}",status:"Página {page} de {total}",previous:"Página anterior",next:"Página siguiente",first:"Primera página",last:"Última página"},carousel:{label:"Carrusel",slide:"Diapositiva {index} de {total}",previous:"Diapositiva anterior",next:"Diapositiva siguiente",pause:"Pausar la presentación",play:"Reproducir la presentación"},picker:{previousMonth:"Mes anterior",nextMonth:"Mes siguiente",previousYear:"Año anterior",nextYear:"Año siguiente",previousYears:"Años anteriores",nextYears:"Años siguientes",chooseMonth:"Elegir un mes",chooseYear:"Elegir un año",today:"Hoy",thisMonth:"Este mes",thisYear:"Este año",now:"Ahora",clear:"Borrar",done:"Listo",hour:"Hora",minute:"Minuto",second:"Segundo",meridiem:"a. m./p. m.",start:"Inicio",end:"Fin"},gallery:{label:"Galería",item:"Imagen {index} de {total}",previous:"Imagen anterior",next:"Imagen siguiente"},image:{unavailable:"Imagen no disponible",preview:"Ampliar imagen"},chart:{label:"Gráfico",size:"Tamaño",title:"Etiqueta",start:"Inicio",end:"Fin",summary:"Puntos de datos: {count}. Rango: de {min} a {max}.",exportCsv:"Exportar CSV"},panes:{handle:"Cambiar el tamaño de los paneles"},scroll:{label:"Contenido desplazable",previous:"Desplazar hacia atrás",next:"Desplazar hacia adelante"},breadcrumb:{label:"Ruta de navegación",expand:"Mostrar los pasos ocultos"},anchor:{label:"En esta página"},transfer:{source:"Disponibles",target:"Seleccionados",toTarget:"Mover a seleccionados",toSource:"Devolver a disponibles",search:"Buscar",selectAll:"Seleccionar todo",empty:"No hay nada"},command:{label:"Paleta de comandos",search:"Escribe un comando o busca…",empty:"No se encontraron comandos"},combobox:{empty:"Sin coincidencias",remove:"Quitar {label}",add:"Añadir «{label}»",open:"Abrir"},toast:{label:"Notificaciones"},overlay:{label:"Cargando"},window:{minimize:"Minimizar",maximize:"Maximizar",restore:"Restaurar",resize:"Cambiar el tamaño de la ventana",resizeHint:"Usa las teclas de flecha para cambiar el tamaño de la ventana"},layout:{skipToContent:"Saltar al contenido",sidebar:"Barra lateral",openSidebar:"Abrir barra lateral",closeSidebar:"Cerrar barra lateral",resizeSidebar:"Redimensionar barra lateral"},code:{code:"Código",copy:"Copiar",copied:"Copiado",copyFailed:"No se pudo copiar",raw:"Sin formato",prompt:"Símbolo del sistema"},steps:{previous:"Anterior",next:"Siguiente",done:"Hecho",skip:"Omitir",restart:"Empezar de nuevo",completed:"Todos los pasos completados",steps:"Pasos",position:"{index} de {total}",step:"Paso {index}: {title}"},otp:{slot:"Carácter {index} de {total}"},file:{title:"Suelta los archivos aquí o haz clic para buscarlos",remove:"Quitar {name}"},timeline:{complete:"Completado",upcoming:"Pendiente"},run:{pending:"En espera",running:"En curso",success:"Terminado",error:"Con error"},tool:{arguments:"Argumentos",result:"Resultado"},approval:{request:"Se necesita permiso",answered:"Respondido",low:"Riesgo bajo",medium:"Riesgo medio",high:"Riesgo alto"},reasoning:{thinking:"Pensando…",thought:"Ha pensado durante {duration}",done:"Ha terminado de pensar"},context:{label:"Contexto",input:"Entrada",output:"Salida",reasoning:"Razonamiento",cached:"En caché",cost:"Coste estimado",usage:"{used} de {max}"},sources:{title:"Fuentes",citation:"Fuente {index}"},prompt:{send:"Enviar",stop:"Detener",drop:"Suelta archivos aquí para adjuntarlos"}};
|
package/dist/locales/fr.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const fr={action:{close:"Fermer",dismiss:"Ignorer",clear:"Effacer",remove:"Supprimer"},confirm:{confirm:"Confirmer",cancel:"Annuler"},link:{newTab:"(s’ouvre dans un nouvel onglet)"},spoiler:{reveal:"Afficher",hide:"Masquer",notice:"Peut contenir des spoilers"},chat:{sending:"Envoi en cours",sent:"Envoyé",delivered:"Distribué",read:"Lu",failed:"Non envoyé",typing:"En train d’écrire…"},empty:{title:"Rien ici"},table:{search:"Rechercher",selectAll:"Sélectionner toutes les lignes",selectRow:"Sélectionner la ligne",rowsPerPage:"Lignes par page",range:"{start}–{end} sur {total}",selected:"{count} sélectionnées",empty:"Aucune donnée",exportCsv:"Exporter en CSV"},color:{area:"Saturation et luminosité",hue:"Teinte",alpha:"Opacité",value:"Valeur de la couleur",swatches:"Couleurs prédéfinies",clear:"Effacer",empty:"Choisir une couleur"},rating:{label:"Note",value:"{value} sur {max}",empty:"Aucune note"},number:{increase:"Augmenter",decrease:"Diminuer"},pagination:{label:"Pagination",page:"Page {page}",status:"Page {page} sur {total}",previous:"Page précédente",next:"Page suivante",first:"Première page",last:"Dernière page"},carousel:{label:"Carrousel",slide:"Diapositive {index} sur {total}",previous:"Diapositive précédente",next:"Diapositive suivante",pause:"Mettre le diaporama en pause",play:"Lancer le diaporama"},picker:{previousMonth:"Mois précédent",nextMonth:"Mois suivant",previousYear:"Année précédente",nextYear:"Année suivante",previousYears:"Années précédentes",nextYears:"Années suivantes",chooseMonth:"Choisir un mois",chooseYear:"Choisir une année",today:"Aujourd’hui",thisMonth:"Ce mois-ci",thisYear:"Cette année",now:"Maintenant",clear:"Effacer",done:"Terminé",hour:"Heure",minute:"Minute",second:"Seconde",meridiem:"AM/PM",start:"Début",end:"Fin"},gallery:{label:"Galerie",item:"Image {index} sur {total}",previous:"Image précédente",next:"Image suivante"},image:{unavailable:"Image indisponible"},chart:{label:"Graphique"},scroll:{label:"Contenu défilant",previous:"Faire défiler vers l’arrière",next:"Faire défiler vers l’avant"},breadcrumb:{label:"Fil d’Ariane",expand:"Afficher les étapes masquées"},anchor:{label:"Sur cette page"},transfer:{source:"Disponibles",target:"Sélectionnés",toTarget:"Déplacer vers les sélectionnés",toSource:"Renvoyer vers les disponibles",search:"Rechercher",selectAll:"Tout sélectionner",empty:"Rien ici"},command:{label:"Palette de commandes",search:"Tapez une commande ou recherchez…",empty:"Aucune commande trouvée"},combobox:{empty:"Aucun résultat",remove:"Supprimer {label}"},overlay:{label:"
|
|
1
|
+
export const fr={action:{close:"Fermer",dismiss:"Ignorer",clear:"Effacer",remove:"Supprimer"},confirm:{confirm:"Confirmer",cancel:"Annuler"},link:{newTab:"(s’ouvre dans un nouvel onglet)"},spoiler:{reveal:"Afficher",hide:"Masquer",notice:"Peut contenir des spoilers"},chat:{sending:"Envoi en cours",sent:"Envoyé",delivered:"Distribué",read:"Lu",failed:"Non envoyé",typing:"En train d’écrire…"},empty:{title:"Rien ici"},table:{search:"Rechercher",selectAll:"Sélectionner toutes les lignes",selectRow:"Sélectionner la ligne",rowsPerPage:"Lignes par page",range:"{start}–{end} sur {total}",selected:"{count} sélectionnées",empty:"Aucune donnée",exportCsv:"Exporter en CSV",noGroup:"Sans groupe"},color:{area:"Saturation et luminosité",hue:"Teinte",alpha:"Opacité",value:"Valeur de la couleur",swatches:"Couleurs prédéfinies",clear:"Effacer",empty:"Choisir une couleur"},rating:{label:"Note",value:"{value} sur {max}",empty:"Aucune note"},number:{increase:"Augmenter",decrease:"Diminuer"},pagination:{label:"Pagination",page:"Page {page}",status:"Page {page} sur {total}",previous:"Page précédente",next:"Page suivante",first:"Première page",last:"Dernière page"},carousel:{label:"Carrousel",slide:"Diapositive {index} sur {total}",previous:"Diapositive précédente",next:"Diapositive suivante",pause:"Mettre le diaporama en pause",play:"Lancer le diaporama"},picker:{previousMonth:"Mois précédent",nextMonth:"Mois suivant",previousYear:"Année précédente",nextYear:"Année suivante",previousYears:"Années précédentes",nextYears:"Années suivantes",chooseMonth:"Choisir un mois",chooseYear:"Choisir une année",today:"Aujourd’hui",thisMonth:"Ce mois-ci",thisYear:"Cette année",now:"Maintenant",clear:"Effacer",done:"Terminé",hour:"Heure",minute:"Minute",second:"Seconde",meridiem:"AM/PM",start:"Début",end:"Fin"},gallery:{label:"Galerie",item:"Image {index} sur {total}",previous:"Image précédente",next:"Image suivante"},image:{unavailable:"Image indisponible",preview:"Agrandir l’image"},chart:{label:"Graphique",size:"Taille",title:"Libellé",start:"Début",end:"Fin",summary:"Points de données : {count}. Plage : de {min} à {max}.",exportCsv:"Exporter en CSV"},panes:{handle:"Redimensionner les panneaux"},scroll:{label:"Contenu défilant",previous:"Faire défiler vers l’arrière",next:"Faire défiler vers l’avant"},breadcrumb:{label:"Fil d’Ariane",expand:"Afficher les étapes masquées"},anchor:{label:"Sur cette page"},transfer:{source:"Disponibles",target:"Sélectionnés",toTarget:"Déplacer vers les sélectionnés",toSource:"Renvoyer vers les disponibles",search:"Rechercher",selectAll:"Tout sélectionner",empty:"Rien ici"},command:{label:"Palette de commandes",search:"Tapez une commande ou recherchez…",empty:"Aucune commande trouvée"},combobox:{empty:"Aucun résultat",remove:"Supprimer {label}",add:"Ajouter « {label} »",open:"Ouvrir"},toast:{label:"Notifications"},overlay:{label:"Chargement"},window:{minimize:"Réduire",maximize:"Agrandir",restore:"Restaurer",resize:"Redimensionner la fenêtre",resizeHint:"Utilisez les touches fléchées pour redimensionner la fenêtre"},layout:{skipToContent:"Aller au contenu",sidebar:"Barre latérale",openSidebar:"Ouvrir la barre latérale",closeSidebar:"Fermer la barre latérale",resizeSidebar:"Redimensionner la barre latérale"},code:{code:"Code",copy:"Copier",copied:"Copié",copyFailed:"Copie impossible",raw:"Brut",prompt:"Invite"},steps:{previous:"Précédent",next:"Suivant",done:"Terminer",skip:"Passer",restart:"Recommencer",completed:"Toutes les étapes sont terminées",steps:"Étapes",position:"{index} sur {total}",step:"Étape {index} : {title}"},otp:{slot:"Caractère {index} sur {total}"},file:{title:"Déposez des fichiers ici ou cliquez pour parcourir",remove:"Supprimer {name}"},timeline:{complete:"Terminé",upcoming:"À venir"},run:{pending:"En attente",running:"En cours",success:"Terminé",error:"Échec"},tool:{arguments:"Arguments",result:"Résultat"},approval:{request:"Autorisation requise",answered:"Répondu",low:"Risque faible",medium:"Risque moyen",high:"Risque élevé"},reasoning:{thinking:"Réflexion…",thought:"A réfléchi pendant {duration}",done:"Réflexion terminée"},context:{label:"Contexte",input:"Entrée",output:"Sortie",reasoning:"Raisonnement",cached:"En cache",cost:"Coût estimé",usage:"{used} sur {max}"},sources:{title:"Sources",citation:"Source {index}"},prompt:{send:"Envoyer",stop:"Arrêter",drop:"Déposez des fichiers ici pour les joindre"}};
|
package/dist/locales/hi.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const hi={action:{close:"बंद करें",dismiss:"खारिज करें",clear:"साफ़ करें",remove:"हटाएँ"},confirm:{confirm:"पुष्टि करें",cancel:"रद्द करें"},link:{newTab:"(नए टैब में खुलता है)"},spoiler:{reveal:"दिखाएँ",hide:"छिपाएँ",notice:"इसमें स्पॉइलर हो सकते हैं"},chat:{sending:"भेजा जा रहा है",sent:"भेजा गया",delivered:"डिलीवर हुआ",read:"पढ़ा गया",failed:"नहीं भेजा गया",typing:"टाइप कर रहे हैं…"},empty:{title:"यहाँ कुछ नहीं है"},table:{search:"खोजें",selectAll:"सभी पंक्तियाँ चुनें",selectRow:"पंक्ति चुनें",rowsPerPage:"प्रति पृष्ठ पंक्तियाँ",range:"{total} में से {start}–{end}",selected:"{count} चुनी गईं",empty:"कोई डेटा नहीं",exportCsv:"CSV निर्यात करें"},color:{area:"संतृप्ति और चमक",hue:"रंग",alpha:"अपारदर्शिता",value:"रंग मान",swatches:"पूर्व निर्धारित रंग",clear:"साफ़ करें",empty:"एक रंग चुनें"},rating:{label:"रेटिंग",value:"{max} में से {value}",empty:"कोई रेटिंग नहीं"},number:{increase:"बढ़ाएँ",decrease:"घटाएँ"},pagination:{label:"पृष्ठ क्रमांकन",page:"पृष्ठ {page}",status:"{total} में से पृष्ठ {page}",previous:"पिछला पृष्ठ",next:"अगला पृष्ठ",first:"पहला पृष्ठ",last:"अंतिम पृष्ठ"},carousel:{label:"कैरोसेल",slide:"{total} में से स्लाइड {index}",previous:"पिछली स्लाइड",next:"अगली स्लाइड",pause:"स्लाइड शो रोकें",play:"स्लाइड शो चलाएँ"},picker:{previousMonth:"पिछला महीना",nextMonth:"अगला महीना",previousYear:"पिछला वर्ष",nextYear:"अगला वर्ष",previousYears:"पिछले वर्ष",nextYears:"अगले वर्ष",chooseMonth:"महीना चुनें",chooseYear:"वर्ष चुनें",today:"आज",thisMonth:"यह महीना",thisYear:"यह वर्ष",now:"अभी",clear:"साफ़ करें",done:"हो गया",hour:"घंटा",minute:"मिनट",second:"सेकंड",meridiem:"AM/PM",start:"प्रारंभ",end:"समाप्ति"},gallery:{label:"गैलरी",item:"{total} में से छवि {index}",previous:"पिछली छवि",next:"अगली छवि"},image:{unavailable:"छवि उपलब्ध नहीं है"},chart:{label:"चार्ट"},scroll:{label:"स्क्रॉल करने योग्य सामग्री",previous:"पीछे स्क्रॉल करें",next:"आगे स्क्रॉल करें"},breadcrumb:{label:"ब्रेडक्रंब",expand:"छिपे हुए चरण दिखाएँ"},anchor:{label:"इस पृष्ठ पर"},transfer:{source:"उपलब्ध",target:"चयनित",toTarget:"चयनित में ले जाएँ",toSource:"उपलब्ध में वापस भेजें",search:"खोजें",selectAll:"सभी चुनें",empty:"यहाँ कुछ नहीं है"},command:{label:"कमांड पैलेट",search:"कमांड लिखें या खोजें…",empty:"कोई कमांड नहीं मिली"},combobox:{empty:"कोई मिलान नहीं",remove:"{label} हटाएँ"},overlay:{label:"
|
|
1
|
+
export const hi={action:{close:"बंद करें",dismiss:"खारिज करें",clear:"साफ़ करें",remove:"हटाएँ"},confirm:{confirm:"पुष्टि करें",cancel:"रद्द करें"},link:{newTab:"(नए टैब में खुलता है)"},spoiler:{reveal:"दिखाएँ",hide:"छिपाएँ",notice:"इसमें स्पॉइलर हो सकते हैं"},chat:{sending:"भेजा जा रहा है",sent:"भेजा गया",delivered:"डिलीवर हुआ",read:"पढ़ा गया",failed:"नहीं भेजा गया",typing:"टाइप कर रहे हैं…"},empty:{title:"यहाँ कुछ नहीं है"},table:{search:"खोजें",selectAll:"सभी पंक्तियाँ चुनें",selectRow:"पंक्ति चुनें",rowsPerPage:"प्रति पृष्ठ पंक्तियाँ",range:"{total} में से {start}–{end}",selected:"{count} चुनी गईं",empty:"कोई डेटा नहीं",exportCsv:"CSV निर्यात करें",noGroup:"कोई समूह नहीं"},color:{area:"संतृप्ति और चमक",hue:"रंग",alpha:"अपारदर्शिता",value:"रंग मान",swatches:"पूर्व निर्धारित रंग",clear:"साफ़ करें",empty:"एक रंग चुनें"},rating:{label:"रेटिंग",value:"{max} में से {value}",empty:"कोई रेटिंग नहीं"},number:{increase:"बढ़ाएँ",decrease:"घटाएँ"},pagination:{label:"पृष्ठ क्रमांकन",page:"पृष्ठ {page}",status:"{total} में से पृष्ठ {page}",previous:"पिछला पृष्ठ",next:"अगला पृष्ठ",first:"पहला पृष्ठ",last:"अंतिम पृष्ठ"},carousel:{label:"कैरोसेल",slide:"{total} में से स्लाइड {index}",previous:"पिछली स्लाइड",next:"अगली स्लाइड",pause:"स्लाइड शो रोकें",play:"स्लाइड शो चलाएँ"},picker:{previousMonth:"पिछला महीना",nextMonth:"अगला महीना",previousYear:"पिछला वर्ष",nextYear:"अगला वर्ष",previousYears:"पिछले वर्ष",nextYears:"अगले वर्ष",chooseMonth:"महीना चुनें",chooseYear:"वर्ष चुनें",today:"आज",thisMonth:"यह महीना",thisYear:"यह वर्ष",now:"अभी",clear:"साफ़ करें",done:"हो गया",hour:"घंटा",minute:"मिनट",second:"सेकंड",meridiem:"AM/PM",start:"प्रारंभ",end:"समाप्ति"},gallery:{label:"गैलरी",item:"{total} में से छवि {index}",previous:"पिछली छवि",next:"अगली छवि"},image:{unavailable:"छवि उपलब्ध नहीं है",preview:"छवि बड़ी करें"},chart:{label:"चार्ट",size:"आकार",title:"लेबल",start:"शुरुआत",end:"अंत",summary:"डेटा बिंदु: {count}. सीमा: {min} से {max} तक।",exportCsv:"CSV निर्यात करें"},panes:{handle:"पैन का आकार बदलें"},scroll:{label:"स्क्रॉल करने योग्य सामग्री",previous:"पीछे स्क्रॉल करें",next:"आगे स्क्रॉल करें"},breadcrumb:{label:"ब्रेडक्रंब",expand:"छिपे हुए चरण दिखाएँ"},anchor:{label:"इस पृष्ठ पर"},transfer:{source:"उपलब्ध",target:"चयनित",toTarget:"चयनित में ले जाएँ",toSource:"उपलब्ध में वापस भेजें",search:"खोजें",selectAll:"सभी चुनें",empty:"यहाँ कुछ नहीं है"},command:{label:"कमांड पैलेट",search:"कमांड लिखें या खोजें…",empty:"कोई कमांड नहीं मिली"},combobox:{empty:"कोई मिलान नहीं",remove:"{label} हटाएँ",add:"“{label}” जोड़ें",open:"खोलें"},toast:{label:"सूचनाएँ"},overlay:{label:"लोड हो रहा है"},window:{minimize:"छोटा करें",maximize:"बड़ा करें",restore:"पुनर्स्थापित करें",resize:"विंडो का आकार बदलें",resizeHint:"विंडो का आकार बदलने के लिए तीर कुंजियों का उपयोग करें"},layout:{skipToContent:"सामग्री पर जाएँ",sidebar:"साइडबार",openSidebar:"साइडबार खोलें",closeSidebar:"साइडबार बंद करें",resizeSidebar:"साइडबार का आकार बदलें"},code:{code:"कोड",copy:"कॉपी करें",copied:"कॉपी हो गया",copyFailed:"कॉपी नहीं हो सका",raw:"मूल",prompt:"प्रॉम्प्ट"},steps:{previous:"पिछला",next:"अगला",done:"पूर्ण",skip:"छोड़ें",restart:"फिर से शुरू करें",completed:"सभी चरण पूरे हुए",steps:"चरण",position:"{total} में से {index}",step:"चरण {index}: {title}"},otp:{slot:"{total} में से अक्षर {index}"},file:{title:"फ़ाइलें यहाँ छोड़ें, या ब्राउज़ करने के लिए क्लिक करें",remove:"{name} हटाएँ"},timeline:{complete:"पूरा हुआ",upcoming:"आगामी"},run:{pending:"प्रतीक्षारत",running:"चल रहा है",success:"पूर्ण",error:"विफल"},tool:{arguments:"आर्ग्युमेंट",result:"परिणाम"},approval:{request:"अनुमति चाहिए",answered:"उत्तर दिया गया",low:"कम जोखिम",medium:"मध्यम जोखिम",high:"उच्च जोखिम"},reasoning:{thinking:"सोच रहा है…",thought:"{duration} तक सोचा",done:"सोचना पूरा हुआ"},context:{label:"कॉन्टेक्स्ट",input:"इनपुट",output:"आउटपुट",reasoning:"तर्क",cached:"कैश",cost:"अनुमानित लागत",usage:"{max} में से {used}"},sources:{title:"स्रोत",citation:"स्रोत {index}"},prompt:{send:"भेजें",stop:"रोकें",drop:"फ़ाइलें संलग्न करने के लिए यहाँ छोड़ें"}};
|
package/dist/locales/id.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const id={action:{close:"Tutup",dismiss:"Abaikan",clear:"Bersihkan",remove:"Hapus"},confirm:{confirm:"Konfirmasi",cancel:"Batal"},link:{newTab:"(terbuka di tab baru)"},spoiler:{reveal:"Tampilkan",hide:"Sembunyikan",notice:"Mungkin mengandung spoiler"},chat:{sending:"Mengirim",sent:"Terkirim",delivered:"Diterima",read:"Dibaca",failed:"Gagal terkirim",typing:"Sedang mengetik…"},empty:{title:"Tidak ada apa-apa di sini"},table:{search:"Cari",selectAll:"Pilih semua baris",selectRow:"Pilih baris",rowsPerPage:"Baris per halaman",range:"{start}–{end} dari {total}",selected:"{count} dipilih",empty:"Tidak ada data",exportCsv:"Ekspor CSV"},color:{area:"Saturasi dan kecerahan",hue:"Rona",alpha:"Opasitas",value:"Nilai warna",swatches:"Warna preset",clear:"Hapus",empty:"Pilih warna"},rating:{label:"Peringkat",value:"{value} dari {max}",empty:"Belum ada peringkat"},number:{increase:"Tambah",decrease:"Kurangi"},pagination:{label:"Penomoran halaman",page:"Halaman {page}",status:"Halaman {page} dari {total}",previous:"Halaman sebelumnya",next:"Halaman berikutnya",first:"Halaman pertama",last:"Halaman terakhir"},carousel:{label:"Korsel",slide:"Slide {index} dari {total}",previous:"Slide sebelumnya",next:"Slide berikutnya",pause:"Jeda tayangan slide",play:"Putar tayangan slide"},picker:{previousMonth:"Bulan sebelumnya",nextMonth:"Bulan berikutnya",previousYear:"Tahun sebelumnya",nextYear:"Tahun berikutnya",previousYears:"Tahun-tahun sebelumnya",nextYears:"Tahun-tahun berikutnya",chooseMonth:"Pilih bulan",chooseYear:"Pilih tahun",today:"Hari ini",thisMonth:"Bulan ini",thisYear:"Tahun ini",now:"Sekarang",clear:"Hapus",done:"Selesai",hour:"Jam",minute:"Menit",second:"Detik",meridiem:"AM/PM",start:"Mulai",end:"Selesai"},gallery:{label:"Galeri",item:"Gambar {index} dari {total}",previous:"Gambar sebelumnya",next:"Gambar berikutnya"},image:{unavailable:"Gambar tidak tersedia"},chart:{label:"Bagan"},scroll:{label:"Konten yang dapat digulir",previous:"Gulir ke belakang",next:"Gulir ke depan"},breadcrumb:{label:"Remah roti",expand:"Tampilkan langkah tersembunyi"},anchor:{label:"Di halaman ini"},transfer:{source:"Tersedia",target:"Terpilih",toTarget:"Pindahkan ke terpilih",toSource:"Kembalikan ke tersedia",search:"Cari",selectAll:"Pilih semua",empty:"Tidak ada apa pun"},command:{label:"Palet perintah",search:"Ketik perintah atau cari…",empty:"Perintah tidak ditemukan"},combobox:{empty:"Tidak ada yang cocok",remove:"Hapus {label}"},overlay:{label:"
|
|
1
|
+
export const id={action:{close:"Tutup",dismiss:"Abaikan",clear:"Bersihkan",remove:"Hapus"},confirm:{confirm:"Konfirmasi",cancel:"Batal"},link:{newTab:"(terbuka di tab baru)"},spoiler:{reveal:"Tampilkan",hide:"Sembunyikan",notice:"Mungkin mengandung spoiler"},chat:{sending:"Mengirim",sent:"Terkirim",delivered:"Diterima",read:"Dibaca",failed:"Gagal terkirim",typing:"Sedang mengetik…"},empty:{title:"Tidak ada apa-apa di sini"},table:{search:"Cari",selectAll:"Pilih semua baris",selectRow:"Pilih baris",rowsPerPage:"Baris per halaman",range:"{start}–{end} dari {total}",selected:"{count} dipilih",empty:"Tidak ada data",exportCsv:"Ekspor CSV",noGroup:"Tanpa grup"},color:{area:"Saturasi dan kecerahan",hue:"Rona",alpha:"Opasitas",value:"Nilai warna",swatches:"Warna preset",clear:"Hapus",empty:"Pilih warna"},rating:{label:"Peringkat",value:"{value} dari {max}",empty:"Belum ada peringkat"},number:{increase:"Tambah",decrease:"Kurangi"},pagination:{label:"Penomoran halaman",page:"Halaman {page}",status:"Halaman {page} dari {total}",previous:"Halaman sebelumnya",next:"Halaman berikutnya",first:"Halaman pertama",last:"Halaman terakhir"},carousel:{label:"Korsel",slide:"Slide {index} dari {total}",previous:"Slide sebelumnya",next:"Slide berikutnya",pause:"Jeda tayangan slide",play:"Putar tayangan slide"},picker:{previousMonth:"Bulan sebelumnya",nextMonth:"Bulan berikutnya",previousYear:"Tahun sebelumnya",nextYear:"Tahun berikutnya",previousYears:"Tahun-tahun sebelumnya",nextYears:"Tahun-tahun berikutnya",chooseMonth:"Pilih bulan",chooseYear:"Pilih tahun",today:"Hari ini",thisMonth:"Bulan ini",thisYear:"Tahun ini",now:"Sekarang",clear:"Hapus",done:"Selesai",hour:"Jam",minute:"Menit",second:"Detik",meridiem:"AM/PM",start:"Mulai",end:"Selesai"},gallery:{label:"Galeri",item:"Gambar {index} dari {total}",previous:"Gambar sebelumnya",next:"Gambar berikutnya"},image:{unavailable:"Gambar tidak tersedia",preview:"Perbesar gambar"},chart:{label:"Bagan",size:"Ukuran",title:"Label",start:"Mulai",end:"Selesai",summary:"Titik data: {count}. Rentang: {min} sampai {max}.",exportCsv:"Ekspor CSV"},panes:{handle:"Ubah ukuran panel"},scroll:{label:"Konten yang dapat digulir",previous:"Gulir ke belakang",next:"Gulir ke depan"},breadcrumb:{label:"Remah roti",expand:"Tampilkan langkah tersembunyi"},anchor:{label:"Di halaman ini"},transfer:{source:"Tersedia",target:"Terpilih",toTarget:"Pindahkan ke terpilih",toSource:"Kembalikan ke tersedia",search:"Cari",selectAll:"Pilih semua",empty:"Tidak ada apa pun"},command:{label:"Palet perintah",search:"Ketik perintah atau cari…",empty:"Perintah tidak ditemukan"},combobox:{empty:"Tidak ada yang cocok",remove:"Hapus {label}",add:"Tambahkan “{label}”",open:"Buka"},toast:{label:"Notifikasi"},overlay:{label:"Memuat"},window:{minimize:"Perkecil",maximize:"Perbesar",restore:"Pulihkan",resize:"Ubah ukuran jendela",resizeHint:"Gunakan tombol panah untuk mengubah ukuran jendela"},layout:{skipToContent:"Lompat ke konten",sidebar:"Bilah sisi",openSidebar:"Buka bilah sisi",closeSidebar:"Tutup bilah sisi",resizeSidebar:"Ubah ukuran bilah sisi"},code:{code:"Kode",copy:"Salin",copied:"Tersalin",copyFailed:"Tidak dapat menyalin",raw:"Mentah",prompt:"Prompt"},steps:{previous:"Sebelumnya",next:"Berikutnya",done:"Selesai",skip:"Lewati",restart:"Mulai lagi",completed:"Semua langkah selesai",steps:"Langkah",position:"{index} dari {total}",step:"Langkah {index}: {title}"},otp:{slot:"Karakter {index} dari {total}"},file:{title:"Letakkan file di sini, atau klik untuk menelusuri",remove:"Hapus {name}"},timeline:{complete:"Selesai",upcoming:"Mendatang"},run:{pending:"Menunggu",running:"Berjalan",success:"Selesai",error:"Gagal"},tool:{arguments:"Argumen",result:"Hasil"},approval:{request:"Perlu izin",answered:"Sudah dijawab",low:"Risiko rendah",medium:"Risiko sedang",high:"Risiko tinggi"},reasoning:{thinking:"Sedang berpikir…",thought:"Berpikir selama {duration}",done:"Selesai berpikir"},context:{label:"Konteks",input:"Masukan",output:"Keluaran",reasoning:"Penalaran",cached:"Tersimpan",cost:"Perkiraan biaya",usage:"{used} dari {max}"},sources:{title:"Sumber",citation:"Sumber {index}"},prompt:{send:"Kirim",stop:"Hentikan",drop:"Lepas berkas di sini untuk melampirkan"}};
|