@urbicon-ui/blocks 6.37.1 → 6.38.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/dist/components/AvatarGroup/AvatarGroup.svelte +60 -0
- package/dist/components/AvatarGroup/AvatarGroup.svelte.d.ts +4 -0
- package/dist/components/AvatarGroup/avatar-group.variants.d.ts +20 -0
- package/dist/components/AvatarGroup/avatar-group.variants.js +21 -0
- package/dist/components/AvatarGroup/index.d.ts +57 -0
- package/dist/components/AvatarGroup/index.js +2 -0
- package/dist/components/Calendar/calendar.variants.d.ts +126 -126
- package/dist/components/CopyButton/CopyButton.svelte +139 -0
- package/dist/components/CopyButton/CopyButton.svelte.d.ts +4 -0
- package/dist/components/CopyButton/copy-button.variants.d.ts +29 -0
- package/dist/components/CopyButton/copy-button.variants.js +32 -0
- package/dist/components/CopyButton/index.d.ts +55 -0
- package/dist/components/CopyButton/index.js +2 -0
- package/dist/components/FileUpload/FileUpload.svelte.d.ts +1 -1
- package/dist/components/PinInput/pin-input.variants.d.ts +7 -7
- package/dist/components/PinInput/pin-input.variants.js +25 -29
- package/dist/components/Planner/planner.variants.d.ts +34 -34
- package/dist/components/TimeInput/time-input.variants.d.ts +9 -9
- package/dist/components/TimeInput/time-input.variants.js +24 -21
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +2 -0
- package/dist/i18n/index.d.ts +6 -390
- package/dist/internal/field-chrome.d.ts +87 -0
- package/dist/internal/field-chrome.js +81 -0
- package/dist/primitives/Accordion/accordion.variants.d.ts +7 -7
- package/dist/primitives/Alert/alert.variants.d.ts +8 -8
- package/dist/primitives/Avatar/avatar.variants.d.ts +12 -12
- package/dist/primitives/Badge/badge.variants.d.ts +10 -10
- package/dist/primitives/Button/button.variants.d.ts +4 -4
- package/dist/primitives/Card/card.variants.d.ts +5 -5
- package/dist/primitives/Checkbox/checkbox.variants.d.ts +7 -7
- package/dist/primitives/Collapsible/collapsible.variants.d.ts +6 -6
- package/dist/primitives/Combobox/combobox.variants.d.ts +50 -50
- package/dist/primitives/Input/input.variants.d.ts +27 -27
- package/dist/primitives/Input/input.variants.js +24 -19
- package/dist/primitives/JourneyTimeline/journey-timeline.variants.d.ts +22 -22
- package/dist/primitives/Kbd/Kbd.svelte +44 -0
- package/dist/primitives/Kbd/Kbd.svelte.d.ts +4 -0
- package/dist/primitives/Kbd/index.d.ts +51 -0
- package/dist/primitives/Kbd/index.js +2 -0
- package/dist/primitives/Kbd/kbd.variants.d.ts +20 -0
- package/dist/primitives/Kbd/kbd.variants.js +27 -0
- package/dist/primitives/Progress/progress.variants.d.ts +11 -11
- package/dist/primitives/RadioGroup/radioGroup.variants.d.ts +6 -6
- package/dist/primitives/Select/select.variants.d.ts +34 -34
- package/dist/primitives/Skeleton/skeleton.variants.d.ts +3 -3
- package/dist/primitives/Spinner/spinner.variants.d.ts +48 -48
- package/dist/primitives/Stepper/stepper.variants.d.ts +11 -11
- package/dist/primitives/Textarea/textarea.variants.d.ts +21 -21
- package/dist/primitives/Toast/toast.variants.d.ts +12 -12
- package/dist/primitives/Toggle/toggle.variants.d.ts +7 -7
- package/dist/primitives/Toolbar/toolbar.variants.d.ts +6 -6
- package/dist/primitives/Tooltip/tooltip.variants.d.ts +3 -3
- package/dist/primitives/index.d.ts +2 -0
- package/dist/primitives/index.js +1 -0
- package/dist/translations/de.d.ts +4 -0
- package/dist/translations/de.js +4 -0
- package/dist/translations/en.d.ts +4 -0
- package/dist/translations/en.js +4 -0
- package/package.json +3 -3
|
@@ -3,7 +3,7 @@ export declare const timeInputVariants: ((props?: {
|
|
|
3
3
|
tier?: "commit" | "modify" | undefined;
|
|
4
4
|
variant?: "ghost" | "filled" | "outlined" | undefined;
|
|
5
5
|
size?: "sm" | "md" | "lg" | undefined;
|
|
6
|
-
intent?: "
|
|
6
|
+
intent?: "success" | "warning" | "danger" | "default" | undefined;
|
|
7
7
|
disabled?: boolean | undefined;
|
|
8
8
|
readonly?: boolean | undefined;
|
|
9
9
|
messageType?: "error" | "helper" | undefined;
|
|
@@ -15,7 +15,7 @@ export declare const timeInputVariants: ((props?: {
|
|
|
15
15
|
tier?: "commit" | "modify" | undefined;
|
|
16
16
|
variant?: "ghost" | "filled" | "outlined" | undefined;
|
|
17
17
|
size?: "sm" | "md" | "lg" | undefined;
|
|
18
|
-
intent?: "
|
|
18
|
+
intent?: "success" | "warning" | "danger" | "default" | undefined;
|
|
19
19
|
disabled?: boolean | undefined;
|
|
20
20
|
readonly?: boolean | undefined;
|
|
21
21
|
messageType?: "error" | "helper" | undefined;
|
|
@@ -29,7 +29,7 @@ export declare const timeInputVariants: ((props?: {
|
|
|
29
29
|
tier?: "commit" | "modify" | undefined;
|
|
30
30
|
variant?: "ghost" | "filled" | "outlined" | undefined;
|
|
31
31
|
size?: "sm" | "md" | "lg" | undefined;
|
|
32
|
-
intent?: "
|
|
32
|
+
intent?: "success" | "warning" | "danger" | "default" | undefined;
|
|
33
33
|
disabled?: boolean | undefined;
|
|
34
34
|
readonly?: boolean | undefined;
|
|
35
35
|
messageType?: "error" | "helper" | undefined;
|
|
@@ -43,7 +43,7 @@ export declare const timeInputVariants: ((props?: {
|
|
|
43
43
|
tier?: "commit" | "modify" | undefined;
|
|
44
44
|
variant?: "ghost" | "filled" | "outlined" | undefined;
|
|
45
45
|
size?: "sm" | "md" | "lg" | undefined;
|
|
46
|
-
intent?: "
|
|
46
|
+
intent?: "success" | "warning" | "danger" | "default" | undefined;
|
|
47
47
|
disabled?: boolean | undefined;
|
|
48
48
|
readonly?: boolean | undefined;
|
|
49
49
|
messageType?: "error" | "helper" | undefined;
|
|
@@ -57,7 +57,7 @@ export declare const timeInputVariants: ((props?: {
|
|
|
57
57
|
tier?: "commit" | "modify" | undefined;
|
|
58
58
|
variant?: "ghost" | "filled" | "outlined" | undefined;
|
|
59
59
|
size?: "sm" | "md" | "lg" | undefined;
|
|
60
|
-
intent?: "
|
|
60
|
+
intent?: "success" | "warning" | "danger" | "default" | undefined;
|
|
61
61
|
disabled?: boolean | undefined;
|
|
62
62
|
readonly?: boolean | undefined;
|
|
63
63
|
messageType?: "error" | "helper" | undefined;
|
|
@@ -71,7 +71,7 @@ export declare const timeInputVariants: ((props?: {
|
|
|
71
71
|
tier?: "commit" | "modify" | undefined;
|
|
72
72
|
variant?: "ghost" | "filled" | "outlined" | undefined;
|
|
73
73
|
size?: "sm" | "md" | "lg" | undefined;
|
|
74
|
-
intent?: "
|
|
74
|
+
intent?: "success" | "warning" | "danger" | "default" | undefined;
|
|
75
75
|
disabled?: boolean | undefined;
|
|
76
76
|
readonly?: boolean | undefined;
|
|
77
77
|
messageType?: "error" | "helper" | undefined;
|
|
@@ -85,7 +85,7 @@ export declare const timeInputVariants: ((props?: {
|
|
|
85
85
|
tier?: "commit" | "modify" | undefined;
|
|
86
86
|
variant?: "ghost" | "filled" | "outlined" | undefined;
|
|
87
87
|
size?: "sm" | "md" | "lg" | undefined;
|
|
88
|
-
intent?: "
|
|
88
|
+
intent?: "success" | "warning" | "danger" | "default" | undefined;
|
|
89
89
|
disabled?: boolean | undefined;
|
|
90
90
|
readonly?: boolean | undefined;
|
|
91
91
|
messageType?: "error" | "helper" | undefined;
|
|
@@ -99,7 +99,7 @@ export declare const timeInputVariants: ((props?: {
|
|
|
99
99
|
tier?: "commit" | "modify" | undefined;
|
|
100
100
|
variant?: "ghost" | "filled" | "outlined" | undefined;
|
|
101
101
|
size?: "sm" | "md" | "lg" | undefined;
|
|
102
|
-
intent?: "
|
|
102
|
+
intent?: "success" | "warning" | "danger" | "default" | undefined;
|
|
103
103
|
disabled?: boolean | undefined;
|
|
104
104
|
readonly?: boolean | undefined;
|
|
105
105
|
messageType?: "error" | "helper" | undefined;
|
|
@@ -113,7 +113,7 @@ export declare const timeInputVariants: ((props?: {
|
|
|
113
113
|
tier?: "commit" | "modify" | undefined;
|
|
114
114
|
variant?: "ghost" | "filled" | "outlined" | undefined;
|
|
115
115
|
size?: "sm" | "md" | "lg" | undefined;
|
|
116
|
-
intent?: "
|
|
116
|
+
intent?: "success" | "warning" | "danger" | "default" | undefined;
|
|
117
117
|
disabled?: boolean | undefined;
|
|
118
118
|
readonly?: boolean | undefined;
|
|
119
119
|
messageType?: "error" | "helper" | undefined;
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
+
import { FIELD_DISABLED_FRAME, FIELD_LABEL, FIELD_LABEL_DISABLED, FIELD_MESSAGE_TONES, FIELD_REQUIRED_LABEL, FIELD_SURFACE, FIELD_TRANSITION, fieldErrorFrame, fieldFocusRing, fieldIntentFrames, fieldSurfaceVariants } from '../../internal/field-chrome.js';
|
|
1
2
|
import { tv } from '../../utils/variants.js';
|
|
3
|
+
// Borderless segments live inside a bordered container, so the ring lights the
|
|
4
|
+
// whole field via focus-within rather than focus-visible on one element.
|
|
5
|
+
const focus = 'focus-within';
|
|
6
|
+
const surface = fieldSurfaceVariants(focus);
|
|
7
|
+
const intents = fieldIntentFrames(focus);
|
|
2
8
|
export const timeInputVariants = tv({
|
|
3
9
|
slots: {
|
|
4
10
|
wrapper: ['flex flex-col gap-1.5 w-full'],
|
|
5
|
-
label: [
|
|
11
|
+
label: [FIELD_LABEL],
|
|
6
12
|
// The bordered container reads as a single field; the segment inputs inside
|
|
7
13
|
// are borderless. The focus ring lives here via focus-within so tabbing
|
|
8
14
|
// between segments keeps the whole field lit.
|
|
9
15
|
field: [
|
|
10
16
|
'inline-flex items-center box-border w-fit',
|
|
11
|
-
|
|
12
|
-
|
|
17
|
+
FIELD_SURFACE,
|
|
18
|
+
FIELD_TRANSITION,
|
|
13
19
|
'hover:border-border-default',
|
|
14
|
-
|
|
20
|
+
fieldFocusRing(focus)
|
|
15
21
|
],
|
|
16
22
|
icon: ['pointer-events-none inline-flex items-center justify-center text-text-tertiary'],
|
|
17
23
|
segment: [
|
|
@@ -38,13 +44,9 @@ export const timeInputVariants = tv({
|
|
|
38
44
|
commit: { field: 'rounded-commit' }
|
|
39
45
|
},
|
|
40
46
|
variant: {
|
|
41
|
-
outlined: { field:
|
|
42
|
-
filled: {
|
|
43
|
-
|
|
44
|
-
},
|
|
45
|
-
ghost: {
|
|
46
|
-
field: 'bg-transparent hover:bg-surface-subtle focus-within:bg-surface-base focus-within:border-border-subtle'
|
|
47
|
-
}
|
|
47
|
+
outlined: { field: surface.outlined },
|
|
48
|
+
filled: { field: surface.filled },
|
|
49
|
+
ghost: { field: surface.ghost }
|
|
48
50
|
},
|
|
49
51
|
size: {
|
|
50
52
|
sm: {
|
|
@@ -69,31 +71,32 @@ export const timeInputVariants = tv({
|
|
|
69
71
|
},
|
|
70
72
|
intent: {
|
|
71
73
|
default: {},
|
|
72
|
-
success: { field:
|
|
73
|
-
warning: { field:
|
|
74
|
-
danger: { field:
|
|
74
|
+
success: { field: intents.success },
|
|
75
|
+
warning: { field: intents.warning },
|
|
76
|
+
danger: { field: intents.danger }
|
|
75
77
|
},
|
|
76
78
|
disabled: {
|
|
77
79
|
true: {
|
|
78
|
-
field:
|
|
79
|
-
label:
|
|
80
|
+
field: FIELD_DISABLED_FRAME,
|
|
81
|
+
label: FIELD_LABEL_DISABLED
|
|
80
82
|
}
|
|
81
83
|
},
|
|
82
84
|
readonly: {
|
|
85
|
+
// No `cursor-default` here — the container's segments carry their own cursor.
|
|
83
86
|
true: { field: 'bg-surface-subtle' }
|
|
84
87
|
},
|
|
85
88
|
messageType: {
|
|
86
|
-
error: { message:
|
|
87
|
-
helper: { message:
|
|
89
|
+
error: { message: FIELD_MESSAGE_TONES.error },
|
|
90
|
+
helper: { message: FIELD_MESSAGE_TONES.helper }
|
|
88
91
|
},
|
|
89
92
|
error: {
|
|
90
93
|
true: {
|
|
91
|
-
field:
|
|
92
|
-
message:
|
|
94
|
+
field: fieldErrorFrame(focus),
|
|
95
|
+
message: FIELD_MESSAGE_TONES.error
|
|
93
96
|
}
|
|
94
97
|
},
|
|
95
98
|
required: {
|
|
96
|
-
true: { label:
|
|
99
|
+
true: { label: FIELD_REQUIRED_LABEL }
|
|
97
100
|
},
|
|
98
101
|
fullWidth: {
|
|
99
102
|
true: { field: 'w-full justify-start' }
|
|
@@ -2,6 +2,8 @@ export type { CartesianDatum, ChartMargin, ChartPlot, ChartSeries, ChartSlotClas
|
|
|
2
2
|
export { arcPath, areaPath, type BandScale, bandScale, type ChartPoint, chartPalette, extent, linearScale, linePath, niceScale, numberFormatter, seriesColor } from '../internal/charts/utils.js';
|
|
3
3
|
export { type ChartSlot, type ChartVariants, chartSlotResolver, chartVariants } from '../internal/charts/variants.js';
|
|
4
4
|
export * from './AreaChart/index.js';
|
|
5
|
+
export type { AvatarGroupProps } from './AvatarGroup/index.js';
|
|
6
|
+
export * from './AvatarGroup/index.js';
|
|
5
7
|
export * from './BarChart/index.js';
|
|
6
8
|
export type { CalendarContext, CalendarEvent, CalendarEventCategory, CalendarHeaderProps, CalendarProps, CalendarSelection, CalendarSlotName, CalendarViewMode, DateRange, DayCellContext, EventItemContext, HeaderContext } from './Calendar/index.js';
|
|
7
9
|
export * from './Calendar/index.js';
|
|
@@ -10,6 +12,8 @@ export * from './Chat/index.js';
|
|
|
10
12
|
export * from './CommandPalette/index.js';
|
|
11
13
|
export type { CompositionBarIntent, CompositionBarProps, CompositionItem } from './CompositionBar/index.js';
|
|
12
14
|
export * from './CompositionBar/index.js';
|
|
15
|
+
export type { CopyButtonProps } from './CopyButton/index.js';
|
|
16
|
+
export * from './CopyButton/index.js';
|
|
13
17
|
export * from './CurrencyInput/index.js';
|
|
14
18
|
export * from './DatePicker/index.js';
|
|
15
19
|
export * from './DonutChart/index.js';
|
package/dist/components/index.js
CHANGED
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
export { arcPath, areaPath, bandScale, chartPalette, extent, linearScale, linePath, niceScale, numberFormatter, seriesColor } from '../internal/charts/utils.js';
|
|
3
3
|
export { chartSlotResolver, chartVariants } from '../internal/charts/variants.js';
|
|
4
4
|
export * from './AreaChart/index.js';
|
|
5
|
+
export * from './AvatarGroup/index.js';
|
|
5
6
|
export * from './BarChart/index.js';
|
|
6
7
|
export * from './Calendar/index.js';
|
|
7
8
|
export * from './ChartFrame/index.js';
|
|
8
9
|
export * from './Chat/index.js';
|
|
9
10
|
export * from './CommandPalette/index.js';
|
|
10
11
|
export * from './CompositionBar/index.js';
|
|
12
|
+
export * from './CopyButton/index.js';
|
|
11
13
|
export * from './CurrencyInput/index.js';
|
|
12
14
|
export * from './DatePicker/index.js';
|
|
13
15
|
export * from './DonutChart/index.js';
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -52,201 +52,7 @@ import enTranslations from '../translations/en.js';
|
|
|
52
52
|
* This keeps the `de` catalog out of English-only client bundles (the whole point
|
|
53
53
|
* of the split) while making it eagerly present wherever it is actually rendered.
|
|
54
54
|
*/
|
|
55
|
-
export declare const blocksI18n: import("@urbicon-ui/i18n").PackageI18n<
|
|
56
|
-
readonly accessibility: {
|
|
57
|
-
readonly avatar: "Avatar";
|
|
58
|
-
readonly breadcrumb: "Breadcrumb";
|
|
59
|
-
readonly breadcrumbExpand: "Show all breadcrumb items";
|
|
60
|
-
readonly clearInput: "Clear input";
|
|
61
|
-
readonly clearSearch: "Clear search";
|
|
62
|
-
readonly clearSelection: "Clear selection";
|
|
63
|
-
readonly closeDialog: "Close dialog";
|
|
64
|
-
readonly closeDrawer: "Close drawer";
|
|
65
|
-
readonly dismiss: "Dismiss";
|
|
66
|
-
readonly fileUpload: "File upload";
|
|
67
|
-
readonly loading: "Loading";
|
|
68
|
-
readonly maximum: "Maximum";
|
|
69
|
-
readonly minimum: "Minimum";
|
|
70
|
-
readonly pagination: "Page navigation";
|
|
71
|
-
readonly pinInputCell: "Character {{index}} of {{total}}";
|
|
72
|
-
readonly progress: "Progress";
|
|
73
|
-
readonly qrCode: "QR code";
|
|
74
|
-
readonly slider: "Slider";
|
|
75
|
-
readonly timeHours: "Hours";
|
|
76
|
-
readonly timeMinutes: "Minutes";
|
|
77
|
-
readonly timeSeconds: "Seconds";
|
|
78
|
-
readonly timeMeridiem: "AM or PM";
|
|
79
|
-
readonly toggle: "Toggle";
|
|
80
|
-
readonly toggleOptions: "Toggle options";
|
|
81
|
-
readonly removableBadge: "Removable badge";
|
|
82
|
-
readonly removeBadge: "Remove badge";
|
|
83
|
-
readonly removeFile: "Remove {{name}}";
|
|
84
|
-
readonly removeTag: "Remove {{label}}";
|
|
85
|
-
};
|
|
86
|
-
readonly button: {
|
|
87
|
-
readonly close: "Close";
|
|
88
|
-
readonly apply: "Apply";
|
|
89
|
-
readonly cancel: "Cancel";
|
|
90
|
-
readonly confirm: "Confirm";
|
|
91
|
-
};
|
|
92
|
-
readonly menu: {
|
|
93
|
-
readonly placeholder: "Select an option...";
|
|
94
|
-
};
|
|
95
|
-
readonly common: {
|
|
96
|
-
readonly loading: "Loading...";
|
|
97
|
-
};
|
|
98
|
-
readonly languages: {
|
|
99
|
-
readonly de: "Deutsch";
|
|
100
|
-
readonly en: "English";
|
|
101
|
-
readonly es: "Español";
|
|
102
|
-
readonly fr: "Français";
|
|
103
|
-
readonly it: "Italiano";
|
|
104
|
-
readonly nl: "Nederlands";
|
|
105
|
-
};
|
|
106
|
-
readonly localeSwitcher: {
|
|
107
|
-
readonly ariaLabel: "Language selection";
|
|
108
|
-
readonly placeholder: "Select language...";
|
|
109
|
-
};
|
|
110
|
-
readonly pagination: {
|
|
111
|
-
readonly next: "Next";
|
|
112
|
-
readonly first: "First";
|
|
113
|
-
readonly last: "Last";
|
|
114
|
-
readonly page: "Page";
|
|
115
|
-
readonly previous: "Previous";
|
|
116
|
-
readonly pageInfo: "{{label}} {{current}} of {{total}}";
|
|
117
|
-
readonly rangeInfo: "{{start}}–{{end}} of {{total}}";
|
|
118
|
-
};
|
|
119
|
-
readonly calendar: {
|
|
120
|
-
readonly recurring: "Recurring event";
|
|
121
|
-
readonly previousMonth: "Previous month";
|
|
122
|
-
readonly nextMonth: "Next month";
|
|
123
|
-
readonly previousWeek: "Previous week";
|
|
124
|
-
readonly nextWeek: "Next week";
|
|
125
|
-
readonly previousDay: "Previous day";
|
|
126
|
-
readonly nextDay: "Next day";
|
|
127
|
-
readonly previousYear: "Previous year";
|
|
128
|
-
readonly nextYear: "Next year";
|
|
129
|
-
readonly today: "Today";
|
|
130
|
-
readonly calendarGrid: "Calendar";
|
|
131
|
-
readonly weekdays: "Weekdays";
|
|
132
|
-
readonly weekNumber: "Week number";
|
|
133
|
-
readonly events: "Events";
|
|
134
|
-
readonly noEvents: "No events";
|
|
135
|
-
readonly showMore: "{{count}} more";
|
|
136
|
-
readonly legend: "Legend";
|
|
137
|
-
readonly yearView: "Year overview";
|
|
138
|
-
readonly weekView: "Week view";
|
|
139
|
-
readonly viewMonth: "Month";
|
|
140
|
-
readonly viewYear: "Year";
|
|
141
|
-
readonly viewWeek: "Week";
|
|
142
|
-
readonly viewDay: "Day";
|
|
143
|
-
readonly multiDayLabel: "Day {{current}} of {{total}}";
|
|
144
|
-
readonly agendaView: "Agenda view";
|
|
145
|
-
readonly viewAgenda: "Agenda";
|
|
146
|
-
readonly viewSwitcher: "View mode";
|
|
147
|
-
};
|
|
148
|
-
readonly planner: {
|
|
149
|
-
readonly previousWeek: "Previous week";
|
|
150
|
-
readonly nextWeek: "Next week";
|
|
151
|
-
readonly previousMonth: "Previous month";
|
|
152
|
-
readonly nextMonth: "Next month";
|
|
153
|
-
readonly previousRange: "Previous range";
|
|
154
|
-
readonly nextRange: "Next range";
|
|
155
|
-
readonly today: "Today";
|
|
156
|
-
readonly grid: "Planner";
|
|
157
|
-
readonly itemCount: "{{count}} items";
|
|
158
|
-
};
|
|
159
|
-
readonly commandPalette: {
|
|
160
|
-
readonly noResults: "No results found.";
|
|
161
|
-
readonly search: "Search...";
|
|
162
|
-
readonly hints: {
|
|
163
|
-
readonly navigate: "Navigate";
|
|
164
|
-
readonly select: "Select";
|
|
165
|
-
readonly close: "Close";
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
|
-
readonly compositionBar: {
|
|
169
|
-
readonly total: "Total";
|
|
170
|
-
readonly summary: "Composition: {{total}} ({{count}} shares) — {{parts}}";
|
|
171
|
-
readonly share: "Share";
|
|
172
|
-
readonly value: "Value";
|
|
173
|
-
readonly percent: "Percent";
|
|
174
|
-
readonly remaining: "remaining";
|
|
175
|
-
};
|
|
176
|
-
readonly guide: {
|
|
177
|
-
readonly next: "Next";
|
|
178
|
-
readonly previous: "Back";
|
|
179
|
-
readonly skip: "Skip tour";
|
|
180
|
-
readonly done: "Done";
|
|
181
|
-
readonly step: "Step {{current}} of {{total}}";
|
|
182
|
-
readonly tour: "Guided tour";
|
|
183
|
-
readonly close: "Close";
|
|
184
|
-
readonly openHelp: "Help";
|
|
185
|
-
readonly backToList: "All topics";
|
|
186
|
-
readonly info: "More information";
|
|
187
|
-
readonly infoAbout: "More information about {{label}}";
|
|
188
|
-
readonly dismiss: "Dismiss hint";
|
|
189
|
-
readonly startTour: "Start the guided tour";
|
|
190
|
-
readonly actionRequired: "Complete the highlighted action to continue";
|
|
191
|
-
readonly filterPlaceholder: "Filter topics…";
|
|
192
|
-
readonly noResults: "No matching topics";
|
|
193
|
-
};
|
|
194
|
-
readonly journeyTimeline: {
|
|
195
|
-
readonly label: "Journey";
|
|
196
|
-
readonly status: {
|
|
197
|
-
readonly complete: "Completed";
|
|
198
|
-
readonly active: "In progress";
|
|
199
|
-
readonly pending: "Pending";
|
|
200
|
-
readonly attention: "Needs attention";
|
|
201
|
-
readonly blocked: "Blocked";
|
|
202
|
-
readonly skipped: "Skipped";
|
|
203
|
-
};
|
|
204
|
-
};
|
|
205
|
-
readonly datepicker: {
|
|
206
|
-
readonly placeholder: "Select a date...";
|
|
207
|
-
readonly rangePlaceholder: "Select a date range...";
|
|
208
|
-
readonly openCalendar: "Open calendar";
|
|
209
|
-
readonly invalidDate: "Invalid date";
|
|
210
|
-
readonly outOfRange: "Date is outside the allowed range";
|
|
211
|
-
readonly invalidRange: "Invalid date range";
|
|
212
|
-
};
|
|
213
|
-
readonly fileUpload: {
|
|
214
|
-
readonly exists: "File already added";
|
|
215
|
-
readonly invalidType: "File type {{type}} is not allowed";
|
|
216
|
-
readonly tooLarge: "File exceeds {{size}} limit";
|
|
217
|
-
readonly tooMany: "Maximum {{count}} files allowed";
|
|
218
|
-
readonly tooSmall: "File must be at least {{size}}";
|
|
219
|
-
};
|
|
220
|
-
readonly sankey: {
|
|
221
|
-
readonly summary: "Sankey diagram: {{nodes}} nodes, {{links}} links — {{flows}}";
|
|
222
|
-
readonly source: "Source";
|
|
223
|
-
readonly target: "Target";
|
|
224
|
-
readonly value: "Value";
|
|
225
|
-
};
|
|
226
|
-
readonly slider: {
|
|
227
|
-
readonly rangeStatus: {
|
|
228
|
-
readonly insideRecommended: "In recommended range";
|
|
229
|
-
readonly insideValid: "In valid range";
|
|
230
|
-
readonly insideValidOnly: "Outside recommended range, but valid";
|
|
231
|
-
readonly outsideValid: "Outside valid range";
|
|
232
|
-
};
|
|
233
|
-
};
|
|
234
|
-
readonly themeSwitcher: {
|
|
235
|
-
readonly lightMode: "Light mode";
|
|
236
|
-
readonly darkMode: "Dark mode";
|
|
237
|
-
readonly systemTheme: "System theme";
|
|
238
|
-
};
|
|
239
|
-
readonly chart: {
|
|
240
|
-
readonly category: "Category";
|
|
241
|
-
readonly series: "Series {{index}}";
|
|
242
|
-
readonly segment: "Segment";
|
|
243
|
-
readonly value: "Value";
|
|
244
|
-
readonly share: "Share";
|
|
245
|
-
};
|
|
246
|
-
readonly stepper: {
|
|
247
|
-
readonly optional: "Optional";
|
|
248
|
-
};
|
|
249
|
-
}>;
|
|
55
|
+
export declare const blocksI18n: import("@urbicon-ui/i18n").PackageI18n<Translations>;
|
|
250
56
|
/**
|
|
251
57
|
* Context-scoped translation hook for the blocks package. Call during component
|
|
252
58
|
* initialisation, then use the returned `t` (conventionally aliased `bt`):
|
|
@@ -261,201 +67,7 @@ export declare const blocksI18n: import("@urbicon-ui/i18n").PackageI18n<{
|
|
|
261
67
|
* locale (`de`) that isn't loaded yet, resolution falls back to the base locale
|
|
262
68
|
* (`en`); see the module docblock and `registerBlocksLocale` for the SSR path.
|
|
263
69
|
*/
|
|
264
|
-
export declare const useBlocksI18n:
|
|
265
|
-
readonly accessibility: {
|
|
266
|
-
readonly avatar: "Avatar";
|
|
267
|
-
readonly breadcrumb: "Breadcrumb";
|
|
268
|
-
readonly breadcrumbExpand: "Show all breadcrumb items";
|
|
269
|
-
readonly clearInput: "Clear input";
|
|
270
|
-
readonly clearSearch: "Clear search";
|
|
271
|
-
readonly clearSelection: "Clear selection";
|
|
272
|
-
readonly closeDialog: "Close dialog";
|
|
273
|
-
readonly closeDrawer: "Close drawer";
|
|
274
|
-
readonly dismiss: "Dismiss";
|
|
275
|
-
readonly fileUpload: "File upload";
|
|
276
|
-
readonly loading: "Loading";
|
|
277
|
-
readonly maximum: "Maximum";
|
|
278
|
-
readonly minimum: "Minimum";
|
|
279
|
-
readonly pagination: "Page navigation";
|
|
280
|
-
readonly pinInputCell: "Character {{index}} of {{total}}";
|
|
281
|
-
readonly progress: "Progress";
|
|
282
|
-
readonly qrCode: "QR code";
|
|
283
|
-
readonly slider: "Slider";
|
|
284
|
-
readonly timeHours: "Hours";
|
|
285
|
-
readonly timeMinutes: "Minutes";
|
|
286
|
-
readonly timeSeconds: "Seconds";
|
|
287
|
-
readonly timeMeridiem: "AM or PM";
|
|
288
|
-
readonly toggle: "Toggle";
|
|
289
|
-
readonly toggleOptions: "Toggle options";
|
|
290
|
-
readonly removableBadge: "Removable badge";
|
|
291
|
-
readonly removeBadge: "Remove badge";
|
|
292
|
-
readonly removeFile: "Remove {{name}}";
|
|
293
|
-
readonly removeTag: "Remove {{label}}";
|
|
294
|
-
};
|
|
295
|
-
readonly button: {
|
|
296
|
-
readonly close: "Close";
|
|
297
|
-
readonly apply: "Apply";
|
|
298
|
-
readonly cancel: "Cancel";
|
|
299
|
-
readonly confirm: "Confirm";
|
|
300
|
-
};
|
|
301
|
-
readonly menu: {
|
|
302
|
-
readonly placeholder: "Select an option...";
|
|
303
|
-
};
|
|
304
|
-
readonly common: {
|
|
305
|
-
readonly loading: "Loading...";
|
|
306
|
-
};
|
|
307
|
-
readonly languages: {
|
|
308
|
-
readonly de: "Deutsch";
|
|
309
|
-
readonly en: "English";
|
|
310
|
-
readonly es: "Español";
|
|
311
|
-
readonly fr: "Français";
|
|
312
|
-
readonly it: "Italiano";
|
|
313
|
-
readonly nl: "Nederlands";
|
|
314
|
-
};
|
|
315
|
-
readonly localeSwitcher: {
|
|
316
|
-
readonly ariaLabel: "Language selection";
|
|
317
|
-
readonly placeholder: "Select language...";
|
|
318
|
-
};
|
|
319
|
-
readonly pagination: {
|
|
320
|
-
readonly next: "Next";
|
|
321
|
-
readonly first: "First";
|
|
322
|
-
readonly last: "Last";
|
|
323
|
-
readonly page: "Page";
|
|
324
|
-
readonly previous: "Previous";
|
|
325
|
-
readonly pageInfo: "{{label}} {{current}} of {{total}}";
|
|
326
|
-
readonly rangeInfo: "{{start}}–{{end}} of {{total}}";
|
|
327
|
-
};
|
|
328
|
-
readonly calendar: {
|
|
329
|
-
readonly recurring: "Recurring event";
|
|
330
|
-
readonly previousMonth: "Previous month";
|
|
331
|
-
readonly nextMonth: "Next month";
|
|
332
|
-
readonly previousWeek: "Previous week";
|
|
333
|
-
readonly nextWeek: "Next week";
|
|
334
|
-
readonly previousDay: "Previous day";
|
|
335
|
-
readonly nextDay: "Next day";
|
|
336
|
-
readonly previousYear: "Previous year";
|
|
337
|
-
readonly nextYear: "Next year";
|
|
338
|
-
readonly today: "Today";
|
|
339
|
-
readonly calendarGrid: "Calendar";
|
|
340
|
-
readonly weekdays: "Weekdays";
|
|
341
|
-
readonly weekNumber: "Week number";
|
|
342
|
-
readonly events: "Events";
|
|
343
|
-
readonly noEvents: "No events";
|
|
344
|
-
readonly showMore: "{{count}} more";
|
|
345
|
-
readonly legend: "Legend";
|
|
346
|
-
readonly yearView: "Year overview";
|
|
347
|
-
readonly weekView: "Week view";
|
|
348
|
-
readonly viewMonth: "Month";
|
|
349
|
-
readonly viewYear: "Year";
|
|
350
|
-
readonly viewWeek: "Week";
|
|
351
|
-
readonly viewDay: "Day";
|
|
352
|
-
readonly multiDayLabel: "Day {{current}} of {{total}}";
|
|
353
|
-
readonly agendaView: "Agenda view";
|
|
354
|
-
readonly viewAgenda: "Agenda";
|
|
355
|
-
readonly viewSwitcher: "View mode";
|
|
356
|
-
};
|
|
357
|
-
readonly planner: {
|
|
358
|
-
readonly previousWeek: "Previous week";
|
|
359
|
-
readonly nextWeek: "Next week";
|
|
360
|
-
readonly previousMonth: "Previous month";
|
|
361
|
-
readonly nextMonth: "Next month";
|
|
362
|
-
readonly previousRange: "Previous range";
|
|
363
|
-
readonly nextRange: "Next range";
|
|
364
|
-
readonly today: "Today";
|
|
365
|
-
readonly grid: "Planner";
|
|
366
|
-
readonly itemCount: "{{count}} items";
|
|
367
|
-
};
|
|
368
|
-
readonly commandPalette: {
|
|
369
|
-
readonly noResults: "No results found.";
|
|
370
|
-
readonly search: "Search...";
|
|
371
|
-
readonly hints: {
|
|
372
|
-
readonly navigate: "Navigate";
|
|
373
|
-
readonly select: "Select";
|
|
374
|
-
readonly close: "Close";
|
|
375
|
-
};
|
|
376
|
-
};
|
|
377
|
-
readonly compositionBar: {
|
|
378
|
-
readonly total: "Total";
|
|
379
|
-
readonly summary: "Composition: {{total}} ({{count}} shares) — {{parts}}";
|
|
380
|
-
readonly share: "Share";
|
|
381
|
-
readonly value: "Value";
|
|
382
|
-
readonly percent: "Percent";
|
|
383
|
-
readonly remaining: "remaining";
|
|
384
|
-
};
|
|
385
|
-
readonly guide: {
|
|
386
|
-
readonly next: "Next";
|
|
387
|
-
readonly previous: "Back";
|
|
388
|
-
readonly skip: "Skip tour";
|
|
389
|
-
readonly done: "Done";
|
|
390
|
-
readonly step: "Step {{current}} of {{total}}";
|
|
391
|
-
readonly tour: "Guided tour";
|
|
392
|
-
readonly close: "Close";
|
|
393
|
-
readonly openHelp: "Help";
|
|
394
|
-
readonly backToList: "All topics";
|
|
395
|
-
readonly info: "More information";
|
|
396
|
-
readonly infoAbout: "More information about {{label}}";
|
|
397
|
-
readonly dismiss: "Dismiss hint";
|
|
398
|
-
readonly startTour: "Start the guided tour";
|
|
399
|
-
readonly actionRequired: "Complete the highlighted action to continue";
|
|
400
|
-
readonly filterPlaceholder: "Filter topics…";
|
|
401
|
-
readonly noResults: "No matching topics";
|
|
402
|
-
};
|
|
403
|
-
readonly journeyTimeline: {
|
|
404
|
-
readonly label: "Journey";
|
|
405
|
-
readonly status: {
|
|
406
|
-
readonly complete: "Completed";
|
|
407
|
-
readonly active: "In progress";
|
|
408
|
-
readonly pending: "Pending";
|
|
409
|
-
readonly attention: "Needs attention";
|
|
410
|
-
readonly blocked: "Blocked";
|
|
411
|
-
readonly skipped: "Skipped";
|
|
412
|
-
};
|
|
413
|
-
};
|
|
414
|
-
readonly datepicker: {
|
|
415
|
-
readonly placeholder: "Select a date...";
|
|
416
|
-
readonly rangePlaceholder: "Select a date range...";
|
|
417
|
-
readonly openCalendar: "Open calendar";
|
|
418
|
-
readonly invalidDate: "Invalid date";
|
|
419
|
-
readonly outOfRange: "Date is outside the allowed range";
|
|
420
|
-
readonly invalidRange: "Invalid date range";
|
|
421
|
-
};
|
|
422
|
-
readonly fileUpload: {
|
|
423
|
-
readonly exists: "File already added";
|
|
424
|
-
readonly invalidType: "File type {{type}} is not allowed";
|
|
425
|
-
readonly tooLarge: "File exceeds {{size}} limit";
|
|
426
|
-
readonly tooMany: "Maximum {{count}} files allowed";
|
|
427
|
-
readonly tooSmall: "File must be at least {{size}}";
|
|
428
|
-
};
|
|
429
|
-
readonly sankey: {
|
|
430
|
-
readonly summary: "Sankey diagram: {{nodes}} nodes, {{links}} links — {{flows}}";
|
|
431
|
-
readonly source: "Source";
|
|
432
|
-
readonly target: "Target";
|
|
433
|
-
readonly value: "Value";
|
|
434
|
-
};
|
|
435
|
-
readonly slider: {
|
|
436
|
-
readonly rangeStatus: {
|
|
437
|
-
readonly insideRecommended: "In recommended range";
|
|
438
|
-
readonly insideValid: "In valid range";
|
|
439
|
-
readonly insideValidOnly: "Outside recommended range, but valid";
|
|
440
|
-
readonly outsideValid: "Outside valid range";
|
|
441
|
-
};
|
|
442
|
-
};
|
|
443
|
-
readonly themeSwitcher: {
|
|
444
|
-
readonly lightMode: "Light mode";
|
|
445
|
-
readonly darkMode: "Dark mode";
|
|
446
|
-
readonly systemTheme: "System theme";
|
|
447
|
-
};
|
|
448
|
-
readonly chart: {
|
|
449
|
-
readonly category: "Category";
|
|
450
|
-
readonly series: "Series {{index}}";
|
|
451
|
-
readonly segment: "Segment";
|
|
452
|
-
readonly value: "Value";
|
|
453
|
-
readonly share: "Share";
|
|
454
|
-
};
|
|
455
|
-
readonly stepper: {
|
|
456
|
-
readonly optional: "Optional";
|
|
457
|
-
};
|
|
458
|
-
}>;
|
|
70
|
+
export declare const useBlocksI18n: any;
|
|
459
71
|
/**
|
|
460
72
|
* Eagerly register the blocks bundle for a lazy locale (currently `de`) so it is
|
|
461
73
|
* present for SSR / the first render, instead of loading client-side on mount.
|
|
@@ -482,6 +94,7 @@ declare const blocksTranslations: {
|
|
|
482
94
|
en: {
|
|
483
95
|
readonly accessibility: {
|
|
484
96
|
readonly avatar: "Avatar";
|
|
97
|
+
readonly avatarGroup: "User avatars";
|
|
485
98
|
readonly breadcrumb: "Breadcrumb";
|
|
486
99
|
readonly breadcrumbExpand: "Show all breadcrumb items";
|
|
487
100
|
readonly clearInput: "Clear input";
|
|
@@ -489,6 +102,9 @@ declare const blocksTranslations: {
|
|
|
489
102
|
readonly clearSelection: "Clear selection";
|
|
490
103
|
readonly closeDialog: "Close dialog";
|
|
491
104
|
readonly closeDrawer: "Close drawer";
|
|
105
|
+
readonly copied: "Copied";
|
|
106
|
+
readonly copy: "Copy";
|
|
107
|
+
readonly copyFailed: "Copy failed";
|
|
492
108
|
readonly dismiss: "Dismiss";
|
|
493
109
|
readonly fileUpload: "File upload";
|
|
494
110
|
readonly loading: "Loading";
|