neba 1.11.0 → 1.13.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/LICENSE +1 -1
- package/README.md +43 -41
- package/dist/components/accordion/Accordion.d.ts +18 -0
- package/dist/components/accordion/Accordion.js +1 -1
- package/dist/components/anchor/Anchor.js +1 -1
- package/dist/components/animate-appear/AnimateAppear.d.ts +2 -13
- package/dist/components/animate-appear/AnimateAppear.js +1 -1
- package/dist/components/animate-blink/AnimateBlink.d.ts +2 -2
- package/dist/components/animate-blink/AnimateBlink.js +1 -1
- package/dist/components/animate-counter/AnimateCounter.d.ts +45 -0
- package/dist/components/animate-counter/AnimateCounter.js +1 -0
- package/dist/components/animate-counter/index.d.ts +1 -0
- package/dist/components/animate-counter/index.js +1 -0
- package/dist/components/animate-fade/AnimateFade.d.ts +2 -2
- package/dist/components/animate-fade/AnimateFade.js +1 -1
- package/dist/components/animate-float/AnimateFloat.d.ts +35 -0
- package/dist/components/animate-float/AnimateFloat.js +1 -0
- package/dist/components/animate-float/index.d.ts +1 -0
- package/dist/components/animate-float/index.js +1 -0
- package/dist/components/animate-grow/AnimateGrow.d.ts +2 -2
- package/dist/components/animate-grow/AnimateGrow.js +1 -1
- package/dist/components/animate-marquee/AnimateMarquee.d.ts +5 -3
- package/dist/components/animate-marquee/AnimateMarquee.js +1 -1
- package/dist/components/animate-reveal/AnimateReveal.d.ts +41 -0
- package/dist/components/animate-reveal/AnimateReveal.js +1 -0
- package/dist/components/animate-reveal/index.d.ts +1 -0
- package/dist/components/animate-reveal/index.js +1 -0
- package/dist/components/animate-rotate/AnimateRotate.d.ts +2 -2
- package/dist/components/animate-rotate/AnimateRotate.js +1 -1
- package/dist/components/animate-scramble/AnimateScramble.d.ts +48 -0
- package/dist/components/animate-scramble/AnimateScramble.js +1 -0
- package/dist/components/animate-scramble/index.d.ts +1 -0
- package/dist/components/animate-scramble/index.js +1 -0
- package/dist/components/animate-shake/AnimateShake.d.ts +39 -0
- package/dist/components/animate-shake/AnimateShake.js +1 -0
- package/dist/components/animate-shake/index.d.ts +1 -0
- package/dist/components/animate-shake/index.js +1 -0
- package/dist/components/animate-slide/AnimateSlide.d.ts +2 -2
- package/dist/components/animate-slide/AnimateSlide.js +1 -1
- package/dist/components/animate-split/AnimateSplit.d.ts +61 -0
- package/dist/components/animate-split/AnimateSplit.js +1 -0
- package/dist/components/animate-split/index.d.ts +1 -0
- package/dist/components/animate-split/index.js +1 -0
- package/dist/components/animate-typing/AnimateTyping.js +1 -1
- package/dist/components/animate-zoom/AnimateZoom.d.ts +2 -2
- package/dist/components/animate-zoom/AnimateZoom.js +1 -1
- package/dist/components/app-logo/AppLogo.js +1 -1
- package/dist/components/avatar/Avatar.js +1 -1
- package/dist/components/bar-chart/BarChart.js +1 -1
- package/dist/components/bottom-navigation/BottomNavigation.d.ts +10 -0
- package/dist/components/bottom-navigation/BottomNavigation.js +1 -1
- package/dist/components/button/Button.js +1 -1
- package/dist/components/calendar/Calendar.js +1 -1
- package/dist/components/carousel/Carousel.d.ts +13 -0
- package/dist/components/carousel/Carousel.js +1 -1
- package/dist/components/checkbox/Checkbox.js +1 -1
- package/dist/components/code-block/CodeBlock.js +1 -1
- package/dist/components/color-picker/ColorPicker.js +1 -1
- package/dist/components/combobox/Combobox.d.ts +18 -0
- package/dist/components/combobox/Combobox.js +1 -1
- package/dist/components/command-palette/CommandPalette.js +1 -1
- package/dist/components/container/Container.d.ts +12 -4
- package/dist/components/container/Container.js +1 -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.js +1 -1
- package/dist/components/drawer/Drawer.js +1 -1
- package/dist/components/flex/Flex.d.ts +93 -0
- package/dist/components/flex/Flex.js +1 -0
- package/dist/components/flex/index.d.ts +2 -0
- package/dist/components/flex/index.js +1 -0
- package/dist/components/floating-action-button/FloatingActionButton.js +1 -1
- package/dist/components/footer/Footer.d.ts +4 -3
- package/dist/components/footer/Footer.js +1 -1
- package/dist/components/gallery/Gallery.d.ts +150 -0
- package/dist/components/gallery/Gallery.js +1 -0
- package/dist/components/gallery/GalleryViewer.d.ts +30 -0
- package/dist/components/gallery/GalleryViewer.js +1 -0
- package/dist/components/gallery/index.d.ts +2 -0
- package/dist/components/gallery/index.js +1 -0
- package/dist/components/gauge-chart/GaugeChart.js +1 -1
- package/dist/components/grid/Grid.d.ts +11 -1
- package/dist/components/grid/Grid.js +1 -1
- package/dist/components/grid-container/GridContainer.js +1 -1
- package/dist/components/header/Header.d.ts +5 -4
- package/dist/components/header/Header.js +1 -1
- package/dist/components/heatmap-chart/HeatmapChart.js +1 -1
- package/dist/components/hover-card/HoverCard.js +1 -1
- package/dist/components/how-to-steps/HowToSteps.js +1 -1
- package/dist/components/image/Image.d.ts +155 -7
- package/dist/components/image/Image.js +1 -1
- package/dist/components/image/index.d.ts +1 -1
- package/dist/components/menu/Menu.js +1 -1
- package/dist/components/meter/Meter.d.ts +7 -0
- package/dist/components/meter/Meter.js +1 -1
- package/dist/components/navigation-menu/NavigationMenu.js +1 -1
- package/dist/components/number-field/NumberField.js +1 -1
- package/dist/components/otp-field/OtpField.js +1 -1
- package/dist/components/overlay/Overlay.js +1 -1
- package/dist/components/panes/Panes.js +1 -1
- package/dist/components/pie-chart/PieChart.js +1 -1
- package/dist/components/popover/Popover.js +1 -1
- package/dist/components/progress-circular/ProgressCircular.d.ts +10 -1
- package/dist/components/progress-circular/ProgressCircular.js +1 -1
- package/dist/components/progress-linear/ProgressLinear.d.ts +7 -1
- package/dist/components/progress-linear/ProgressLinear.js +1 -1
- package/dist/components/provider/NebaProvider.js +1 -1
- package/dist/components/radio-group/RadioGroup.js +1 -1
- package/dist/components/rating/Rating.js +1 -1
- 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 +17 -11
- package/dist/components/scroll-zone/ScrollZone.js +1 -1
- package/dist/components/select/Select.d.ts +13 -0
- package/dist/components/select/Select.js +1 -1
- package/dist/components/show/Show.d.ts +60 -0
- package/dist/components/show/Show.js +1 -0
- package/dist/components/show/index.d.ts +2 -0
- package/dist/components/show/index.js +1 -0
- package/dist/components/sidebar/Sidebar.js +1 -1
- package/dist/components/slider/Slider.d.ts +37 -2
- package/dist/components/slider/Slider.js +1 -1
- package/dist/components/spoiler/Spoiler.js +1 -1
- package/dist/components/stack/Stack.d.ts +126 -0
- package/dist/components/stack/Stack.js +1 -0
- package/dist/components/stack/index.d.ts +1 -0
- package/dist/components/stack/index.js +1 -0
- package/dist/components/statistic/Statistic.d.ts +8 -3
- package/dist/components/tabs/Tabs.d.ts +46 -0
- package/dist/components/tabs/Tabs.js +1 -1
- package/dist/components/text-field/TextField.js +1 -1
- package/dist/components/time-picker/TimePicker.js +1 -1
- package/dist/components/timeline-chart/TimelineChart.js +1 -1
- package/dist/components/toast/Toast.js +1 -1
- package/dist/components/toggle/Toggle.js +1 -1
- package/dist/components/tooltip/Tooltip.js +1 -1
- package/dist/components/tour/Tour.js +1 -1
- package/dist/components/transfer/Transfer.js +1 -1
- package/dist/components/tree-select/TreeSelect.d.ts +2 -0
- package/dist/components/tree-select/TreeSelect.js +1 -1
- package/dist/components/tree-view/TreeView.js +1 -1
- package/dist/components/typography/Typography.js +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/useMediaQuery.d.ts +35 -1
- package/dist/hooks/useMediaQuery.js +1 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +1 -1
- package/dist/internal/animate.d.ts +65 -2
- package/dist/internal/animate.js +1 -1
- package/dist/internal/cache.d.ts +24 -0
- package/dist/internal/cache.js +1 -0
- package/dist/internal/calendar.d.ts +15 -42
- package/dist/internal/calendar.js +1 -1
- package/dist/internal/chart-frame.d.ts +48 -3
- package/dist/internal/chart-frame.js +1 -1
- package/dist/internal/chart-line.js +1 -1
- package/dist/internal/chart.d.ts +16 -0
- package/dist/internal/chart.js +1 -1
- package/dist/internal/date.js +1 -1
- package/dist/internal/drag.d.ts +8 -6
- package/dist/internal/drag.js +1 -1
- package/dist/internal/format.d.ts +21 -7
- package/dist/internal/format.js +1 -1
- package/dist/internal/grid.d.ts +29 -27
- package/dist/internal/grid.js +1 -1
- package/dist/internal/i18n.d.ts +92 -0
- package/dist/internal/i18n.js +1 -1
- package/dist/internal/icons.d.ts +25 -0
- package/dist/internal/icons.js +1 -1
- package/dist/internal/link.d.ts +5 -4
- package/dist/internal/media.d.ts +9 -2
- package/dist/internal/media.js +1 -1
- package/dist/internal/observe.js +1 -1
- package/dist/internal/page-layout.d.ts +11 -9
- package/dist/internal/page-layout.js +1 -1
- package/dist/internal/picker.d.ts +8 -3
- package/dist/internal/picker.js +1 -1
- package/dist/internal/progress.d.ts +24 -1
- package/dist/internal/progress.js +1 -1
- package/dist/internal/responsive.d.ts +97 -0
- package/dist/internal/responsive.js +1 -0
- package/dist/internal/styles.d.ts +140 -2
- package/dist/internal/styles.js +1 -1
- package/dist/internal/text.d.ts +32 -0
- package/dist/internal/text.js +1 -0
- package/dist/internal/wheel.d.ts +38 -0
- package/dist/internal/wheel.js +1 -0
- 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 +411 -30
- package/dist/types.d.ts +119 -6
- package/package.json +19 -18
- package/dist/components/avatar-group/AvatarGroup.d.ts +0 -47
- package/dist/components/avatar-group/AvatarGroup.js +0 -1
- package/dist/components/avatar-group/index.d.ts +0 -2
- package/dist/components/avatar-group/index.js +0 -1
- package/dist/internal/avatar-group.d.ts +0 -22
- package/dist/internal/avatar-group.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export function progressSlots(e){return{"--n-fill":`var(--neba-${e}-fill)`,"--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-line":`var(--neba-${e}-line)`}}export const barThicknessClasses={xs:"h-0.5",sm:"h-[3px]",md:"h-1",lg:"h-1.5",xl:"h-2"};export const ringDiameters={xs:14,sm:16,md:20,lg:26,xl:32};export const ringStrokes={xs:1.5,sm:1.75,md:2,lg:2.5,xl:3};export const plateSizeClasses={xs:"size-2",sm:"size-2.5",md:"size-3",lg:"size-4",xl:"size-5"};export const plateRadiusClasses={xs:"rounded-[0.1875rem]",sm:"rounded-[0.25rem]",md:"rounded-[0.28125rem]",lg:"rounded-[0.375rem]",xl:"rounded-[0.4375rem]"};export const plateGapClasses={xs:"gap-1",sm:"gap-1",md:"gap-1.5",lg:"gap-1.5",xl:"gap-2"};export function progressFraction(e,s
|
|
1
|
+
export function thresholdColor(e,r,s){if(!s||0===s.length)return r;let n=r;for(const r of s)e>=r.from&&(n=r.color);return n}export function progressSlots(e){return{"--n-fill":`var(--neba-${e}-fill)`,"--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-line":`var(--neba-${e}-line)`}}export const barThicknessClasses={xs:"h-0.5",sm:"h-[3px]",md:"h-1",lg:"h-1.5",xl:"h-2"};export const ringDiameters={xs:14,sm:16,md:20,lg:26,xl:32};export const ringStrokes={xs:1.5,sm:1.75,md:2,lg:2.5,xl:3};export const plateSizeClasses={xs:"size-2",sm:"size-2.5",md:"size-3",lg:"size-4",xl:"size-5"};export const plateRadiusClasses={xs:"rounded-[0.1875rem]",sm:"rounded-[0.25rem]",md:"rounded-[0.28125rem]",lg:"rounded-[0.375rem]",xl:"rounded-[0.4375rem]"};export const plateGapClasses={xs:"gap-1",sm:"gap-1",md:"gap-1.5",lg:"gap-1.5",xl:"gap-2"};export function progressFraction(e,r,s){return null==e||Number.isNaN(e)||s<=r?null:Math.min(1,Math.max(0,(e-r)/(s-r)))}export function progressText(e,r,s){return null===e?null:s?r:`${Math.round(100*e)}%`}export function progressAriaText(e,r){if(null!==e)return s=>progressText(e,s,r)??""}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A value that changes at a breakpoint, and the machinery every component that
|
|
3
|
+
* takes one shares.
|
|
4
|
+
*
|
|
5
|
+
* This was written inside `grid.ts`, for the grid, and it is here now for the
|
|
6
|
+
* reason `media.ts` exists one level down: it is not about grids at all. A
|
|
7
|
+
* span, a gutter, a content measure, a flex direction and whether an element is
|
|
8
|
+
* drawn are five different questions with one answer shape, and a second copy
|
|
9
|
+
* of `withBaseline` would be a second chance to disagree about what a partial
|
|
10
|
+
* map means.
|
|
11
|
+
*
|
|
12
|
+
* The split it makes is the load-bearing part. **What a responsive value cannot
|
|
13
|
+
* be is a class name.** Tailwind only ever sees class names written out
|
|
14
|
+
* literally, and a per-breakpoint class map would be five complete ladders in
|
|
15
|
+
* the bundle of every page that draws the component — so a prop is responsive
|
|
16
|
+
* exactly when its value fits in an inline `--n-*` slot, and props whose value
|
|
17
|
+
* *is* a class (`size`, `variant`, `color`, `elevation`) are deliberately not.
|
|
18
|
+
* That is the same line `styleSlots()` draws for colour, drawn again here.
|
|
19
|
+
*
|
|
20
|
+
* The CSS half lives in `styles.css`: one cascade per slot name, each
|
|
21
|
+
* breakpoint falling back through the ones below it. That is what lets a media
|
|
22
|
+
* query change a value without React hearing about it — the alternative is
|
|
23
|
+
* re-rendering the tree at every breakpoint to say the same thing — and it is
|
|
24
|
+
* also why the list of responsive axes is kept short. A cascade is four media
|
|
25
|
+
* blocks that cannot be generated, so each new one is a deliberate cost.
|
|
26
|
+
*/
|
|
27
|
+
import type * as React from 'react';
|
|
28
|
+
import type { NebaBreakpoint, NebaResponsive } from '../types.js';
|
|
29
|
+
/** Smallest first, which is also the order the media queries have to be in. */
|
|
30
|
+
export declare const breakpoints: readonly NebaBreakpoint[];
|
|
31
|
+
/** A bare value means "from `xs` up"; a map is already per-breakpoint. */
|
|
32
|
+
export declare function breakpointMap<T>(value: NebaResponsive<T> | undefined): Partial<Record<NebaBreakpoint, T>>;
|
|
33
|
+
/**
|
|
34
|
+
* Turns a responsive value into the `--n-{name}-{breakpoint}` slots the CSS
|
|
35
|
+
* reads, emitting only the breakpoints the caller actually named.
|
|
36
|
+
*
|
|
37
|
+
* The gaps are filled in by CSS rather than here: each breakpoint's rule falls
|
|
38
|
+
* back through the ones below it, so `{ md: 6 }` needs one slot and not five.
|
|
39
|
+
* That keeps the inline style on a grid item down to what was asked for.
|
|
40
|
+
*/
|
|
41
|
+
export declare function responsiveSlots<T>(name: string, value: NebaResponsive<T> | undefined, toCss: (value: T) => string): React.CSSProperties;
|
|
42
|
+
/**
|
|
43
|
+
* Fills in the `xs` entry of a partial map with the prop's own default.
|
|
44
|
+
*
|
|
45
|
+
* Without this, `spacing={{ md: 4 }}` would be a grid with no gutter at all
|
|
46
|
+
* below 48rem — the CSS fallback rather than the documented default of 2 — and
|
|
47
|
+
* a caller who narrowed one breakpoint would silently lose every other one. A
|
|
48
|
+
* map says "from here up, use this instead"; it does not say "and nothing
|
|
49
|
+
* below".
|
|
50
|
+
*/
|
|
51
|
+
export declare function withBaseline<T>(value: NebaResponsive<T> | undefined, baseline: T): NebaResponsive<T>;
|
|
52
|
+
/**
|
|
53
|
+
* The value in force at one breakpoint: the nearest entry at or below it.
|
|
54
|
+
*
|
|
55
|
+
* The JavaScript half of what the CSS cascade does, and written to give the
|
|
56
|
+
* same answer — every entry is a floor, so `{ xs: 12, md: 6 }` is `6` at `lg`
|
|
57
|
+
* because `md` is the last thing said before it. `undefined` is a map that has
|
|
58
|
+
* said nothing yet at this width, which is a real answer rather than a
|
|
59
|
+
* failure: `{ lg: 4 }` at `xs` is the caller declining to have an opinion, and
|
|
60
|
+
* the CSS form falls through to its own default there for the same reason.
|
|
61
|
+
*/
|
|
62
|
+
export declare function valueAt<T>(value: NebaResponsive<T> | undefined, breakpoint: NebaBreakpoint): T | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* One responsive value laid over another, the way a more specific CSS
|
|
65
|
+
* declaration is laid over a general one.
|
|
66
|
+
*
|
|
67
|
+
* This is what a pair like `spacing` and `columnSpacing` needs, and doing it
|
|
68
|
+
* with `columnSpacing ?? spacing` is wrong in a way that only shows up once
|
|
69
|
+
* either of them is a map: `spacing={2} columnSpacing={{ md: 6 }}` took the
|
|
70
|
+
* override whole and left the row with no column gutter at all below 48rem,
|
|
71
|
+
* because the map says nothing there and the baseline it fell back to was the
|
|
72
|
+
* prop's own default rather than the `spacing` beside it.
|
|
73
|
+
*
|
|
74
|
+
* So the two are walked together. At each breakpoint the override wins if it
|
|
75
|
+
* has said anything at or below there — and keeps winning above, because it is
|
|
76
|
+
* the more specific of the two — and the base fills in until then. Only the
|
|
77
|
+
* steps where the answer actually changes are emitted, so the result is still
|
|
78
|
+
* one or two slots rather than five.
|
|
79
|
+
*/
|
|
80
|
+
export declare function overlayResponsive<T>(base: NebaResponsive<T>, override: NebaResponsive<T> | undefined): NebaResponsive<T>;
|
|
81
|
+
/**
|
|
82
|
+
* A number is pixels; a string is already a CSS length.
|
|
83
|
+
*
|
|
84
|
+
* Every length a caller can hand this library goes through here — a Stack's
|
|
85
|
+
* overlap, a Container's measure — so that `640` and `'640px'` mean the same
|
|
86
|
+
* thing everywhere rather than in the components that happened to think of it.
|
|
87
|
+
*/
|
|
88
|
+
export declare function lengthOf(value: number | string): string;
|
|
89
|
+
/** Hidden below this breakpoint: the element exists from here up. */
|
|
90
|
+
export declare const hiddenBelowClasses: Record<NebaBreakpoint, string>;
|
|
91
|
+
/**
|
|
92
|
+
* Hidden at this breakpoint and above: the element exists only under it.
|
|
93
|
+
*
|
|
94
|
+
* `xs` is `hidden` outright rather than empty — nothing is below a floor of
|
|
95
|
+
* zero, so "only under `xs`" is nowhere at all.
|
|
96
|
+
*/
|
|
97
|
+
export declare const hiddenFromClasses: Record<NebaBreakpoint, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const breakpoints=["xs","sm","md","lg","xl"];export function breakpointMap(n){return null==n?{}:"object"==typeof n?n:{xs:n}}export function responsiveSlots(n,e,o){const t=breakpointMap(e),r={};for(const e of breakpoints){const i=t[e];void 0!==i&&(r[`--n-${n}-${e}`]=o(i))}return r}export function withBaseline(n,e){return null==n?e:"object"==typeof n?{xs:e,...n}:n}export function valueAt(n,e){if(null==n)return;if("object"!=typeof n)return n;const o=n;for(let n=breakpoints.indexOf(e);n>=0;n-=1){const e=o[breakpoints[n]];if(void 0!==e)return e}}export function overlayResponsive(n,e){if(null==e)return n;const o=breakpointMap(n),t=breakpointMap(e),r={};let i,s,d;for(const n of breakpoints){void 0!==o[n]&&(i=o[n]),void 0!==t[n]&&(s=t[n]);const e=void 0!==s?s:i;void 0!==e&&e!==d&&(r[n]=e,d=e)}return r}export function lengthOf(n){return"number"==typeof n?`${n}px`:n}export const hiddenBelowClasses={xs:"",sm:"max-sm:hidden",md:"max-md:hidden",lg:"max-lg:hidden",xl:"max-xl:hidden"};export const hiddenFromClasses={xs:"hidden",sm:"sm:hidden",md:"md:hidden",lg:"lg:hidden",xl:"xl:hidden"};
|
|
@@ -34,6 +34,57 @@ export declare const radiusClasses: Record<NebaSize, string>;
|
|
|
34
34
|
* Density never touches these.
|
|
35
35
|
*/
|
|
36
36
|
export declare const controlHeightClasses: Record<NebaSize, string>;
|
|
37
|
+
/**
|
|
38
|
+
* The same ladder as a **floor**, which is what a field's shell takes.
|
|
39
|
+
*
|
|
40
|
+
* A control the library draws the contents of is exactly as tall as the ladder
|
|
41
|
+
* says. A field holds a caller's own text, and the size of that text is the
|
|
42
|
+
* first thing a caller changes — a cron expression set at `2.4rem`, which is
|
|
43
|
+
* the whole point of the tool it belongs to, had its glyphs cut off by a 48px
|
|
44
|
+
* row. A fixed height made that unfixable without an `!important`, which is
|
|
45
|
+
* the signal that the height was the wrong shape rather than the wrong number.
|
|
46
|
+
*
|
|
47
|
+
* Nothing moves at the library's own sizes: a field whose text fits is the
|
|
48
|
+
* height it always was. It is a floor only on the field shells, never on a
|
|
49
|
+
* Button or a Chip — those are flex children of a row a caller arranges, and a
|
|
50
|
+
* minimum height there is a control that stretches to whatever is beside it.
|
|
51
|
+
*/
|
|
52
|
+
export declare const fieldHeightClasses: Record<NebaSize, string>;
|
|
53
|
+
/**
|
|
54
|
+
* The same ladder as raw lengths, for the arithmetic a class cannot do.
|
|
55
|
+
*
|
|
56
|
+
* `paddingXValues` is here for the same reason one level down: Tailwind only
|
|
57
|
+
* ever sees class names written out literally, so "three rows of tabs tall" is a
|
|
58
|
+
* number a component has to multiply. **Keep the two in step** — a height that
|
|
59
|
+
* disagrees with its class is a cap that lands half a row out.
|
|
60
|
+
*/
|
|
61
|
+
export declare const controlHeightValues: Record<NebaSize, string>;
|
|
62
|
+
/**
|
|
63
|
+
* How wide content is allowed to get — a Container's `maxWidth`, and the same
|
|
64
|
+
* prop on a Header and a Footer whose bar spans the window while what is on it
|
|
65
|
+
* lines up with the page.
|
|
66
|
+
*
|
|
67
|
+
* Written here once because the three had a copy each, and in `rem` rather than
|
|
68
|
+
* in Tailwind's named `max-w-*` steps so that a Container's `lg` and a `lg:`
|
|
69
|
+
* variant are the same 64rem. Tailwind's own container scale is a different set
|
|
70
|
+
* of numbers, and two ladders called `lg` on one page is how a layout drifts by
|
|
71
|
+
* a few pixels for no reason anybody can find later.
|
|
72
|
+
*
|
|
73
|
+
* Four of the five are exactly the breakpoint floors. `xs` is the one that is
|
|
74
|
+
* not — a measure of zero is not a thing — and that is the whole of the
|
|
75
|
+
* difference between this ladder and `NebaBreakpoint`.
|
|
76
|
+
*/
|
|
77
|
+
export declare const measureWidths: Record<NebaSize, string>;
|
|
78
|
+
/**
|
|
79
|
+
* One value of a `maxWidth`, as the length the `--n-max-w` slot takes.
|
|
80
|
+
*
|
|
81
|
+
* A step of the ladder resolves to its `rem`; anything else is a length the
|
|
82
|
+
* caller wrote and is passed through untouched, so `'48rem'`, `'60ch'`,
|
|
83
|
+
* `'min(90vw, 72rem)'` and `640` all reach `max-width` meaning what they say.
|
|
84
|
+
* `'none'` is not in the table and therefore falls through to the CSS keyword,
|
|
85
|
+
* which is what it already was.
|
|
86
|
+
*/
|
|
87
|
+
export declare function measureValue(value: NebaSize | 'none' | number | string): string;
|
|
37
88
|
/** The same numbers as a width, for a control with nothing to pad against. */
|
|
38
89
|
export declare const controlSquareClasses: Record<NebaSize, string>;
|
|
39
90
|
/** A control's label. One line, so the leading comes from `leading-none`. */
|
|
@@ -47,6 +98,12 @@ export declare const controlTextClasses: Record<NebaSize, string>;
|
|
|
47
98
|
export declare const controlTextLeadingClasses: Record<NebaSize, string>;
|
|
48
99
|
/** Labels, descriptions and error messages: one step below the control's text. */
|
|
49
100
|
export declare const metaTextClasses: Record<NebaSize, string>;
|
|
101
|
+
/**
|
|
102
|
+
* `metaTextClasses` as raw lengths, for text whose size has to travel in the
|
|
103
|
+
* same inline style object as the rest of what positions it — an Image's
|
|
104
|
+
* watermark, which is placed, tinted and turned inline. Keep the two in step.
|
|
105
|
+
*/
|
|
106
|
+
export declare const metaTextValues: Record<NebaSize, string>;
|
|
50
107
|
/**
|
|
51
108
|
* Horizontal padding, and the only thing `density` is allowed to touch. The two
|
|
52
109
|
* tracks are roughly 2:1 so the difference is legible at a glance rather than a
|
|
@@ -159,6 +216,12 @@ export declare const surfaceClasses = "[background-image:var(--neba-grain),var(-
|
|
|
159
216
|
* declares them: the fill drains back slowly while edges and shadows keep up
|
|
160
217
|
* with the pointer.
|
|
161
218
|
*
|
|
219
|
+
* `outline-width` is in the list so the focus ring *arrives* rather than
|
|
220
|
+
* appears, at the same 160ms the hairline under it turns — the two are one
|
|
221
|
+
* edge, and an edge half of which is instant reads as two things happening.
|
|
222
|
+
* It costs nothing where there is no ring: an outline nobody declared has no
|
|
223
|
+
* width to travel.
|
|
224
|
+
*
|
|
162
225
|
* No `transform` is in the list, and none should ever be added — scaling a
|
|
163
226
|
* control resamples its label, and a label that shimmers under the cursor is
|
|
164
227
|
* what reads as cheap.
|
|
@@ -170,15 +233,90 @@ export declare const transitionClasses: string;
|
|
|
170
233
|
* and then decays.
|
|
171
234
|
*/
|
|
172
235
|
export declare const pressTransitionClasses = "active:[transition-duration:0ms]";
|
|
236
|
+
/**
|
|
237
|
+
* The two ends of a popup's fade: not there yet, and not there any more.
|
|
238
|
+
*
|
|
239
|
+
* Split out from `popupFadeClasses` below for exactly one caller —
|
|
240
|
+
* NavigationMenu's popup also travels in width and height as the reader moves
|
|
241
|
+
* between two menus, so its `transition` shorthand has to name three properties
|
|
242
|
+
* and a second shorthand beside it would win or lose by stylesheet order rather
|
|
243
|
+
* than by intent. Everything else wants the whole thing.
|
|
244
|
+
*/
|
|
245
|
+
export declare const popupFadeStateClasses = "data-[starting-style]:opacity-0 data-[ending-style]:opacity-0";
|
|
246
|
+
/**
|
|
247
|
+
* How every floating surface in the library arrives and leaves.
|
|
248
|
+
*
|
|
249
|
+
* Opacity, and nothing else. A popup that scales or slides has spent 160ms
|
|
250
|
+
* dragging its own text across the screen — and unlike a control, a popup is
|
|
251
|
+
* mostly text: a menu row the pointer was already reaching for, a dialog
|
|
252
|
+
* somebody has started reading, a calendar cell under a finger that is already
|
|
253
|
+
* moving. The house rule against transforming a control is the same rule, and
|
|
254
|
+
* this is where it lands for the things that float.
|
|
255
|
+
*
|
|
256
|
+
* It is written here rather than in each of them because there were fourteen
|
|
257
|
+
* copies of it and the fifteenth and sixteenth — Select's popup and Combobox's —
|
|
258
|
+
* were never written at all, which is the failure mode a shared table exists to
|
|
259
|
+
* prevent. Base UI supplies the `data-starting-style` / `data-ending-style` pair
|
|
260
|
+
* on every popup, backdrop and toast, so the same two lines fit all of them.
|
|
261
|
+
*/
|
|
262
|
+
export declare const popupFadeClasses: string;
|
|
173
263
|
/**
|
|
174
264
|
* The focus ring, written as the `outline` shorthand rather than Tailwind's
|
|
175
265
|
* `outline-2` + colour pair: the utilities route the style through
|
|
176
266
|
* `--tw-outline-style`, which any `outline-none` on the element (ours or a
|
|
177
267
|
* consumer's) would zero out.
|
|
268
|
+
*
|
|
269
|
+
* Declared at **zero width** in the resting state as well, which is the whole
|
|
270
|
+
* of what lets it arrive rather than appear. `outline-style` is a discrete
|
|
271
|
+
* property, so a ring that exists only in the focused state has nothing to
|
|
272
|
+
* travel from; a width has. Whatever draws the house transition gets that for
|
|
273
|
+
* nothing, and a reader who has asked for less motion gets it instantly,
|
|
274
|
+
* because every duration in this library is one token.
|
|
275
|
+
*
|
|
276
|
+
* The focused state still carries the **whole shorthand** rather than the
|
|
277
|
+
* width alone, and that is not a duplicate: the resting declaration is one
|
|
278
|
+
* class, and a host stylesheet's `:focus-visible { outline: auto }` — which
|
|
279
|
+
* normalize and several site themes ship — is also one selector, so the two
|
|
280
|
+
* would be decided by whichever was generated last. Written as a class plus a
|
|
281
|
+
* pseudo-class it outranks them and the ring cannot be taken away by a
|
|
282
|
+
* stylesheet that has never heard of this library.
|
|
178
283
|
*/
|
|
179
|
-
export declare const focusRingClasses = "
|
|
284
|
+
export declare const focusRingClasses = "[outline:0_solid_var(--n-ring)] outline-offset-2 focus-visible:[outline:2px_solid_var(--n-ring)]";
|
|
180
285
|
/** The same ring, drawn by whichever descendant actually takes focus. */
|
|
181
|
-
export declare const focusWithinRingClasses = "
|
|
286
|
+
export declare const focusWithinRingClasses = "[outline:0_solid_var(--n-ring)] outline-offset-2 has-[:focus-visible]:[outline:2px_solid_var(--n-ring)]";
|
|
287
|
+
/**
|
|
288
|
+
* The ring a **field's shell** takes, and the one place in the library it is
|
|
289
|
+
* flush with the edge instead of standing off it.
|
|
290
|
+
*
|
|
291
|
+
* A field's hairline turns the ring's own colour the moment the focus lands,
|
|
292
|
+
* so a ring held two pixels out draws a second line with a stripe of page
|
|
293
|
+
* between the two. That is the shape that reads as a control wearing a halo
|
|
294
|
+
* rather than as an edge that has thickened, and it is the one thing about a
|
|
295
|
+
* focused field people describe as looking dated. Flush, the border and the
|
|
296
|
+
* ring are one edge — which is what they are.
|
|
297
|
+
*
|
|
298
|
+
* It is the field shells and nothing else, for a reason worth writing down: a
|
|
299
|
+
* ring flush against a *filled* control would sit on a fill of its own family,
|
|
300
|
+
* and `--n-ring` over `--n-fill` is not a contrast anybody can rely on. What
|
|
301
|
+
* makes a field the exception is that its sheet is the undyed panel, so the
|
|
302
|
+
* ring has the page to be seen against however the control is variant-ed.
|
|
303
|
+
*/
|
|
304
|
+
export declare const fieldRingClasses = "[outline:0_solid_var(--n-ring)] outline-offset-0 has-[:focus-visible]:[outline:2px_solid_var(--n-ring)]";
|
|
305
|
+
/**
|
|
306
|
+
* How long a field takes to answer the focus.
|
|
307
|
+
*
|
|
308
|
+
* The six field shells held every duration at 0ms while the focus was inside,
|
|
309
|
+
* which is the house rule about a press applied one step too far: clicking
|
|
310
|
+
* into a field is a press, but what that made instant is the focus *ring*, and
|
|
311
|
+
* a ring is not the answer to a press. It is the answer to the caret being
|
|
312
|
+
* somewhere, and it arrives from a Tab as often as from a click.
|
|
313
|
+
*
|
|
314
|
+
* So the edge, the sheet and the ring travel together, at the house duration
|
|
315
|
+
* rather than the fill's longer one — a field that took 340ms to light up
|
|
316
|
+
* would be answering after the reader had started typing.
|
|
317
|
+
*/
|
|
318
|
+
export declare const fieldFocusTransitionClasses = "focus-within:[transition-duration:var(--neba-duration)]";
|
|
319
|
+
export declare function clampClasses(lines: number): string;
|
|
182
320
|
/** Icons track their label rather than carrying a size of their own. */
|
|
183
321
|
export declare const iconClasses = "[&_svg]:pointer-events-none [&_svg]:size-[1.2em] [&_svg]:shrink-0";
|
|
184
322
|
/**
|
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 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 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-[0.3125rem]",sm:"size-1.5",md:"size-[0.4375rem]",lg:"size-2",xl:"size-[0.5625rem]"};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 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 transitionClasses=["[transition-property:background-color,border-color,box-shadow,color]","[transition-duration:var(--neba-duration-fill),var(--neba-duration),var(--neba-duration),var(--neba-duration)]","[transition-timing-function:var(--neba-ease)]"].join(" ");export const pressTransitionClasses="active:[transition-duration:0ms]";export const
|
|
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-[0.3125rem]",sm:"size-1.5",md:"size-[0.4375rem]",lg:"size-2",xl:"size-[0.5625rem]"};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 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 transitionClasses=["[transition-property:background-color,border-color,box-shadow,color,outline-width]","[transition-duration:var(--neba-duration-fill),var(--neba-duration),var(--neba-duration),var(--neba-duration),var(--neba-duration)]","[transition-timing-function:var(--neba-ease)]"].join(" ");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].join(" ");export const focusRingClasses="[outline:0_solid_var(--n-ring)] outline-offset-2 focus-visible:[outline:2px_solid_var(--n-ring)]";export const focusWithinRingClasses="[outline:0_solid_var(--n-ring)] outline-offset-2 has-[:focus-visible]:[outline:2px_solid_var(--n-ring)]";export const fieldRingClasses="[outline:0_solid_var(--n-ring)] outline-offset-0 has-[:focus-visible]:[outline:2px_solid_var(--n-ring)]";export const fieldFocusTransitionClasses="focus-within:[transition-duration:var(--neba-duration)]";const e={1:"truncate",2:"line-clamp-2",3:"line-clamp-3",4:"line-clamp-4",5:"line-clamp-5",6:"line-clamp-6"};export function clampClasses(s){return e[s]??"line-clamp-6"}export const iconClasses="[&_svg]:pointer-events-none [&_svg]:size-[1.2em] [&_svg]:shrink-0";export const srOnlyClasses="absolute size-px overflow-hidden whitespace-nowrap [clip-path:inset(50%)]";export function controlSlots(e,s,n){const r="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-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":r?"var(--neba-glow-on-fill)":`var(--neba-${e}-soft)`,"--n-flash":r?"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-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 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 chipRemoveClasses=["relative ms-0.5 inline-flex shrink-0 items-center justify-center rounded-full","size-[1.15em] cursor-pointer opacity-70",hitAreaClasses,"[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"].join(" ");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,r){const t=s.exec(e);if(!t)return;const a=Number(t[1]);if(!Number.isNaN(a))switch(t[2]){case"px":return a;case"%":return r.percentOf*a/100;case"em":return a*n(r.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(" ")}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The text inside a node, and nothing about its markup.
|
|
3
|
+
*
|
|
4
|
+
* Only strings and numbers contribute. An element among the children is skipped
|
|
5
|
+
* rather than descended into, because there is no honest way to animate half of
|
|
6
|
+
* a link: what would come out is the words with the anchor thrown away.
|
|
7
|
+
*/
|
|
8
|
+
export declare function textOf(node: unknown): string;
|
|
9
|
+
/**
|
|
10
|
+
* The text split into characters the way a reader would count them.
|
|
11
|
+
*
|
|
12
|
+
* Not `[...text]`, and not `text.split('')`. A code point is not a character:
|
|
13
|
+
* `👩👩👧` is seven of them, `한` typed on a Korean keyboard can be three, and an
|
|
14
|
+
* effect that advances by code points spends four frames assembling an emoji
|
|
15
|
+
* out of parts that mean nothing on their own. `Intl.Segmenter` knows where the
|
|
16
|
+
* boundaries actually are; the spread is the fallback for a runtime that does
|
|
17
|
+
* not have it.
|
|
18
|
+
*/
|
|
19
|
+
export declare function graphemesOf(text: string, locale?: string): string[];
|
|
20
|
+
/**
|
|
21
|
+
* The text split into words, with each word keeping the space that followed it.
|
|
22
|
+
*
|
|
23
|
+
* The space travels with the word rather than standing between the pieces
|
|
24
|
+
* because a piece is an `inline-block`: a space of its own would be a box that
|
|
25
|
+
* a line break could land inside, and the line would break in the middle of the
|
|
26
|
+
* gap rather than at it.
|
|
27
|
+
*
|
|
28
|
+
* `Intl.Segmenter` again where it exists — a word boundary is not a space in
|
|
29
|
+
* Japanese, Thai or Chinese, and splitting those on whitespace produces one
|
|
30
|
+
* piece holding the whole sentence.
|
|
31
|
+
*/
|
|
32
|
+
export declare function wordsOf(text: string, locale?: string): string[];
|
|
@@ -0,0 +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),[])}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The wheel, turned onto the axis a strip runs along.
|
|
3
|
+
*
|
|
4
|
+
* A mouse has one wheel and it points down the page, which is the one axis a
|
|
5
|
+
* horizontal strip does not run along — so a shelf of cards, or a tab bar with
|
|
6
|
+
* more tabs than room, is the one thing on a page a mouse cannot reach into.
|
|
7
|
+
* The scrollbar is hidden on both, and a Tabs bar has no buttons either, so
|
|
8
|
+
* without this the far tabs are reachable only by keyboard.
|
|
9
|
+
*
|
|
10
|
+
* What it does is one gesture: while the pointer is over a strip that has
|
|
11
|
+
* somewhere to go along its own axis, the wheel is the strip's and nothing
|
|
12
|
+
* else's. It is held at the ends too, and that is the part worth stating —
|
|
13
|
+
* handing the wheel back the moment the strip runs out is what makes the page
|
|
14
|
+
* lurch mid-flick, because the reader was still pushing the strip and what
|
|
15
|
+
* answered was the article behind it. Moving the pointer off the strip is how
|
|
16
|
+
* the page is scrolled past.
|
|
17
|
+
*
|
|
18
|
+
* Held only where there is a strip to hold it. A bar that fits in its box takes
|
|
19
|
+
* nothing at all, which is what makes it safe to leave on: three tabs in a row
|
|
20
|
+
* are not a scroll container as far as the reader is concerned, and must not
|
|
21
|
+
* behave like one.
|
|
22
|
+
*
|
|
23
|
+
* Two gestures are deliberately left alone. A wheel held with Ctrl is a zoom. A
|
|
24
|
+
* trackpad swiping sideways is already travel along the strip, and the browser
|
|
25
|
+
* scrolls it better than a handler can — momentum and rubber-banding come with
|
|
26
|
+
* it — so `overscroll-behavior` is what holds that one at the ends instead,
|
|
27
|
+
* which is why every caller sets it.
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* Turns a wheel rolled over `el` into travel along `el`'s horizontal scroll,
|
|
31
|
+
* and holds it there. Returns the teardown.
|
|
32
|
+
*
|
|
33
|
+
* Registered as a native listener rather than as React's `onWheel`, because
|
|
34
|
+
* React attaches its wheel listener passively and a passive listener cannot
|
|
35
|
+
* `preventDefault` — which is the whole gesture: taking the wheel is only right
|
|
36
|
+
* if the page does not answer it as well.
|
|
37
|
+
*/
|
|
38
|
+
export declare function bindAxisWheel(el: HTMLElement): () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function bindAxisWheel(e){const t=t=>{if(t.defaultPrevented)return;if(t.ctrlKey||Math.abs(t.deltaX)>Math.abs(t.deltaY))return;if(e.scrollWidth-e.clientWidth<=1)return;const r=1===t.deltaMode?16:2===t.deltaMode?e.clientWidth:1,l=t.deltaY*r;if(!l)return;t.preventDefault();const n="rtl"===getComputedStyle(e).direction;e.scrollBy({left:n?-l:l,behavior:"auto"})};return e.addEventListener("wheel",t,{passive:!1}),()=>e.removeEventListener("wheel",t)}
|
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:"الشريحة التالية"},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:"تراكب"},window:{minimize:"تصغير",maximize:"تكبير",restore:"استعادة",resize:"تغيير حجم النافذة"},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}"}};
|
|
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:"تراكب"},window:{minimize:"تصغير",maximize:"تكبير",restore:"استعادة",resize:"تغيير حجم النافذة"},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}"}};
|
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"},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:"Overlay"},window:{minimize:"Minimieren",maximize:"Maximieren",restore:"Wiederherstellen",resize:"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}"}};
|
|
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:"Overlay"},window:{minimize:"Minimieren",maximize:"Maximieren",restore:"Wiederherstellen",resize:"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}"}};
|
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"},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:"Superposición"},window:{minimize:"Minimizar",maximize:"Maximizar",restore:"Restaurar",resize:"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}"}};
|
|
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:"Superposición"},window:{minimize:"Minimizar",maximize:"Maximizar",restore:"Restaurar",resize:"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}"}};
|
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"},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:"Superposition"},window:{minimize:"Réduire",maximize:"Agrandir",restore:"Restaurer",resize:"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}"}};
|
|
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:"Superposition"},window:{minimize:"Réduire",maximize:"Agrandir",restore:"Restaurer",resize:"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}"}};
|
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:"अगली स्लाइड"},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:"ओवरले"},window:{minimize:"छोटा करें",maximize:"बड़ा करें",restore:"पुनर्स्थापित करें",resize:"विंडो का आकार बदलें"},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}"}};
|
|
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:"ओवरले"},window:{minimize:"छोटा करें",maximize:"बड़ा करें",restore:"पुनर्स्थापित करें",resize:"विंडो का आकार बदलें"},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}"}};
|
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"},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:"Hamparan"},window:{minimize:"Perkecil",maximize:"Perbesar",restore:"Pulihkan",resize:"Ubah 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}"}};
|
|
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:"Hamparan"},window:{minimize:"Perkecil",maximize:"Perbesar",restore:"Pulihkan",resize:"Ubah 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}"}};
|
package/dist/locales/it.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const it={action:{close:"Chiudi",dismiss:"Ignora",clear:"Cancella",remove:"Rimuovi"},confirm:{confirm:"Conferma",cancel:"Annulla"},link:{newTab:"(si apre in una nuova scheda)"},spoiler:{reveal:"Mostra",hide:"Nascondi",notice:"Può contenere spoiler"},chat:{sending:"Invio in corso",sent:"Inviato",delivered:"Consegnato",read:"Letto",failed:"Non inviato",typing:"Sta scrivendo…"},empty:{title:"Non c’è nulla"},table:{search:"Cerca",selectAll:"Seleziona tutte le righe",selectRow:"Seleziona riga",rowsPerPage:"Righe per pagina",range:"{start}–{end} di {total}",selected:"{count} selezionate",empty:"Nessun dato",exportCsv:"Esporta CSV"},color:{area:"Saturazione e luminosità",hue:"Tonalità",alpha:"Opacità",value:"Valore del colore",swatches:"Colori predefiniti",clear:"Cancella",empty:"Scegli un colore"},rating:{label:"Valutazione",value:"{value} su {max}",empty:"Nessuna valutazione"},number:{increase:"Aumenta",decrease:"Diminuisci"},pagination:{label:"Impaginazione",page:"Pagina {page}",status:"Pagina {page} di {total}",previous:"Pagina precedente",next:"Pagina successiva",first:"Prima pagina",last:"Ultima pagina"},carousel:{label:"Carosello",slide:"Diapositiva {index} di {total}",previous:"Diapositiva precedente",next:"Diapositiva successiva"},chart:{label:"Grafico"},scroll:{label:"Contenuto scorrevole",previous:"Scorri indietro",next:"Scorri avanti"},breadcrumb:{label:"Percorso di navigazione",expand:"Mostra i passaggi nascosti"},anchor:{label:"In questa pagina"},transfer:{source:"Disponibili",target:"Selezionati",toTarget:"Sposta tra i selezionati",toSource:"Riporta tra i disponibili",search:"Cerca",selectAll:"Seleziona tutto",empty:"Nessun elemento"},command:{label:"Tavolozza comandi",search:"Digita un comando o cerca…",empty:"Nessun comando trovato"},combobox:{empty:"Nessun risultato",remove:"Rimuovi {label}"},overlay:{label:"Sovrapposizione"},window:{minimize:"Riduci a icona",maximize:"Ingrandisci",restore:"Ripristina",resize:"Ridimensiona la finestra"},layout:{skipToContent:"Vai al contenuto",sidebar:"Barra laterale",openSidebar:"Apri barra laterale",closeSidebar:"Chiudi barra laterale",resizeSidebar:"Ridimensiona barra laterale"},code:{code:"Codice",copy:"Copia",copied:"Copiato",copyFailed:"Impossibile copiare",raw:"Grezzo",prompt:"Prompt"},steps:{previous:"Indietro",next:"Avanti",done:"Fatto",skip:"Salta",restart:"Ricomincia",completed:"Tutti i passaggi completati",steps:"Passaggi",position:"{index} di {total}",step:"Passaggio {index}: {title}"}};
|
|
1
|
+
export const it={action:{close:"Chiudi",dismiss:"Ignora",clear:"Cancella",remove:"Rimuovi"},confirm:{confirm:"Conferma",cancel:"Annulla"},link:{newTab:"(si apre in una nuova scheda)"},spoiler:{reveal:"Mostra",hide:"Nascondi",notice:"Può contenere spoiler"},chat:{sending:"Invio in corso",sent:"Inviato",delivered:"Consegnato",read:"Letto",failed:"Non inviato",typing:"Sta scrivendo…"},empty:{title:"Non c’è nulla"},table:{search:"Cerca",selectAll:"Seleziona tutte le righe",selectRow:"Seleziona riga",rowsPerPage:"Righe per pagina",range:"{start}–{end} di {total}",selected:"{count} selezionate",empty:"Nessun dato",exportCsv:"Esporta CSV"},color:{area:"Saturazione e luminosità",hue:"Tonalità",alpha:"Opacità",value:"Valore del colore",swatches:"Colori predefiniti",clear:"Cancella",empty:"Scegli un colore"},rating:{label:"Valutazione",value:"{value} su {max}",empty:"Nessuna valutazione"},number:{increase:"Aumenta",decrease:"Diminuisci"},pagination:{label:"Impaginazione",page:"Pagina {page}",status:"Pagina {page} di {total}",previous:"Pagina precedente",next:"Pagina successiva",first:"Prima pagina",last:"Ultima pagina"},carousel:{label:"Carosello",slide:"Diapositiva {index} di {total}",previous:"Diapositiva precedente",next:"Diapositiva successiva",pause:"Metti in pausa la presentazione",play:"Riproduci la presentazione"},picker:{previousMonth:"Mese precedente",nextMonth:"Mese successivo",previousYear:"Anno precedente",nextYear:"Anno successivo",previousYears:"Anni precedenti",nextYears:"Anni successivi",chooseMonth:"Scegli un mese",chooseYear:"Scegli un anno",today:"Oggi",thisMonth:"Questo mese",thisYear:"Quest'anno",now:"Adesso",clear:"Cancella",done:"Fatto",hour:"Ora",minute:"Minuto",second:"Secondo",meridiem:"AM/PM",start:"Inizio",end:"Fine"},gallery:{label:"Galleria",item:"Immagine {index} di {total}",previous:"Immagine precedente",next:"Immagine successiva"},image:{unavailable:"Immagine non disponibile"},chart:{label:"Grafico"},scroll:{label:"Contenuto scorrevole",previous:"Scorri indietro",next:"Scorri avanti"},breadcrumb:{label:"Percorso di navigazione",expand:"Mostra i passaggi nascosti"},anchor:{label:"In questa pagina"},transfer:{source:"Disponibili",target:"Selezionati",toTarget:"Sposta tra i selezionati",toSource:"Riporta tra i disponibili",search:"Cerca",selectAll:"Seleziona tutto",empty:"Nessun elemento"},command:{label:"Tavolozza comandi",search:"Digita un comando o cerca…",empty:"Nessun comando trovato"},combobox:{empty:"Nessun risultato",remove:"Rimuovi {label}"},overlay:{label:"Sovrapposizione"},window:{minimize:"Riduci a icona",maximize:"Ingrandisci",restore:"Ripristina",resize:"Ridimensiona la finestra"},layout:{skipToContent:"Vai al contenuto",sidebar:"Barra laterale",openSidebar:"Apri barra laterale",closeSidebar:"Chiudi barra laterale",resizeSidebar:"Ridimensiona barra laterale"},code:{code:"Codice",copy:"Copia",copied:"Copiato",copyFailed:"Impossibile copiare",raw:"Grezzo",prompt:"Prompt"},steps:{previous:"Indietro",next:"Avanti",done:"Fatto",skip:"Salta",restart:"Ricomincia",completed:"Tutti i passaggi completati",steps:"Passaggi",position:"{index} di {total}",step:"Passaggio {index}: {title}"}};
|
package/dist/locales/ja.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const ja={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:"1 ページの行数",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:"次のスライド"},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:"オーバーレイ"},window:{minimize:"最小化",maximize:"最大化",restore:"元のサイズに戻す",resize:"ウィンドウのサイズを変更"},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}"}};
|
|
1
|
+
export const ja={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:"1 ページの行数",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:"午前/午後",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:"オーバーレイ"},window:{minimize:"最小化",maximize:"最大化",restore:"元のサイズに戻す",resize:"ウィンドウのサイズを変更"},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}"}};
|