@epam/ai-dial-ui-kit 0.16.0-dev.47 → 0.16.0-dev.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/{DateCellRenderer-uqWWm9rI.cjs → DateCellRenderer-B2BORgHD.cjs} +1 -1
- package/dist/components/New/LabelledText/LabelledText.js +43 -0
- package/dist/components-manifest.json +53 -4
- package/dist/constants/public-class-names.js +2 -0
- package/dist/dial-ui-kit.cjs +3 -3
- package/dist/dial-ui-kit.js +178 -176
- package/dist/grid.cjs +1 -1
- package/dist/src/components/New/LabelledText/LabelledText.d.ts +48 -0
- package/dist/src/constants/public-class-names.d.ts +2 -0
- package/dist/src/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/dial-ui-kit.js
CHANGED
|
@@ -6,7 +6,7 @@ import { DialIcon as l } from "./components/Icon/Icon.js";
|
|
|
6
6
|
import { DialLoader as T } from "./components/Loader/Loader.js";
|
|
7
7
|
import { Spinner as D } from "./components/Spinner/Spinner.js";
|
|
8
8
|
import { ProgressBar as S } from "./components/ProgressBar/ProgressBar.js";
|
|
9
|
-
import { DialSteps as
|
|
9
|
+
import { DialSteps as A } from "./components/Steps/Steps.js";
|
|
10
10
|
import { DialNoDataContent as E } from "./components/NoDataContent/NoDataContent.js";
|
|
11
11
|
import { DialLabelledText as C } from "./components/LabelledText/LabelledText.js";
|
|
12
12
|
import { DialTag as L } from "./components/Tag/Tag.js";
|
|
@@ -48,7 +48,7 @@ import { DialFileNodeType as mr, DialFilePermission as fr, DialFileResourceType
|
|
|
48
48
|
import { GridSelectionMode as cr } from "./models/selection-mode.js";
|
|
49
49
|
import { mergeClasses as sr } from "./utils/merge-classes.js";
|
|
50
50
|
import { wrapInRootFolder as ur } from "./utils/flat-to-hierarchy-convertor.js";
|
|
51
|
-
import { getTimezoneLabel as
|
|
51
|
+
import { getTimezoneLabel as dr } from "./utils/timezone.js";
|
|
52
52
|
import { BASE_ICON_PROPS as Ir, BASE_ICON_SIZE as Er, DIAL_ICON_SIZE as Br } from "./constants/icon.js";
|
|
53
53
|
import { NOT_ALLOWED_SPACES as _r, NOT_ALLOWED_SPACES_REGEXP as Lr, NOT_ALLOWED_SYMBOLS as gr, NOT_ALLOWED_SYMBOLS_REGEXP as Nr } from "./constants/validation.js";
|
|
54
54
|
import { DIAL_KIT_CLASS as Or } from "./constants/public-class-names.js";
|
|
@@ -64,7 +64,7 @@ import { Calendar as mt } from "./components/New/Calendar/Calendar.js";
|
|
|
64
64
|
import { FolderPath as xt } from "./components/New/FolderPath/FolderPath.js";
|
|
65
65
|
import { BreadcrumbsSize as ct } from "./types/breadcrumbs.js";
|
|
66
66
|
import { Breadcrumbs as st } from "./components/New/Breadcrumbs/Breadcrumbs.js";
|
|
67
|
-
import { DangerButton as ut, GhostButton as St, LinkButton as
|
|
67
|
+
import { DangerButton as ut, GhostButton as St, LinkButton as dt, NeutralButton as At, OutlinedButton as It, PrimaryButton as Et, StarterButton as Bt } from "./components/New/Button/ButtonWrappers.js";
|
|
68
68
|
import { DangerIconButton as _t, GhostIconButton as Lt, NeutralIconButton as gt, PrimaryIconButton as Nt, StaticIconButton as Rt } from "./components/New/IconButton/IconButtonWrappers.js";
|
|
69
69
|
import { Button as yt } from "./components/New/Button/Button.js";
|
|
70
70
|
import { IconButton as bt } from "./components/New/IconButton/IconButton.js";
|
|
@@ -80,102 +80,103 @@ import { AnalyticsBar as jt } from "./components/New/Analytics/Bar/Bar.js";
|
|
|
80
80
|
import { AnalyticsBarGroup as $t } from "./components/New/Analytics/BarGroup/BarGroup.js";
|
|
81
81
|
import { AnalyticsHistogram as re } from "./components/New/Analytics/Histogram/Histogram.js";
|
|
82
82
|
import { Label as ee } from "./components/New/Label/Label.js";
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
155
|
-
import {
|
|
156
|
-
import {
|
|
157
|
-
import {
|
|
158
|
-
import {
|
|
159
|
-
import {
|
|
83
|
+
import { LabelledText as ie } from "./components/New/LabelledText/LabelledText.js";
|
|
84
|
+
import { Textarea as ne, TextareaResize as me } from "./components/New/Textarea/Textarea.js";
|
|
85
|
+
import { Input as xe } from "./components/New/Input/Input.js";
|
|
86
|
+
import { PasswordInput as ce } from "./components/New/PasswordInput/PasswordInput.js";
|
|
87
|
+
import { NumberInput as se } from "./components/New/NumberInput/NumberInput.js";
|
|
88
|
+
import { Popup as ue } from "./components/New/Popup/Popup.js";
|
|
89
|
+
import { CloseButton as de } from "./components/New/CloseButton/CloseButton.js";
|
|
90
|
+
import { ConfirmationPopup as Ie } from "./components/New/ConfirmationPopup/ConfirmationPopup.js";
|
|
91
|
+
import { Dropdown as Be } from "./components/New/Dropdown/Dropdown.js";
|
|
92
|
+
import { ThemeScope as _e, useThemeScope as Le } from "./components/New/ThemeScope/ThemeScope.js";
|
|
93
|
+
import { MenuItem as Ne } from "./components/New/MenuItem/MenuItem.js";
|
|
94
|
+
import { CaptionText as Oe, ErrorText as ye } from "./components/New/CaptionText/CaptionText.js";
|
|
95
|
+
import { Accordion as be } from "./components/New/Accordion/Accordion.js";
|
|
96
|
+
import { AccordionCaretPosition as Ge } from "./types/accordion.js";
|
|
97
|
+
import { Switch as Me } from "./components/New/Switch/Switch.js";
|
|
98
|
+
import { Radio as ze } from "./components/New/Radio/Radio.js";
|
|
99
|
+
import { RadioGroup as ke } from "./components/New/RadioGroup/RadioGroup.js";
|
|
100
|
+
import { RadioGroupPopupField as Ve } from "./components/New/RadioGroupPopupField/RadioGroupPopupField.js";
|
|
101
|
+
import { Checkbox as We } from "./components/New/Checkbox/Checkbox.js";
|
|
102
|
+
import { CheckboxBox as Ye } from "./components/New/Checkbox/CheckboxBox.js";
|
|
103
|
+
import { ToggleIconButton as Xe } from "./components/New/ToggleIconButton/ToggleIconButton.js";
|
|
104
|
+
import { SegmentedControl as Je } from "./components/New/SegmentedControl/SegmentedControl.js";
|
|
105
|
+
import { Tabs as qe } from "./components/New/Tabs/Tabs.js";
|
|
106
|
+
import { FilterChips as oa } from "./components/New/FilterChips/FilterChips.js";
|
|
107
|
+
import { FileDropzone as ta } from "./components/New/FileDropzone/FileDropzone.js";
|
|
108
|
+
import { FileIcon as aa } from "./components/New/FileIcon/FileIcon.js";
|
|
109
|
+
import { FileName as pa } from "./components/New/FileName/FileName.js";
|
|
110
|
+
import { FolderName as ma } from "./components/New/FolderName/FolderName.js";
|
|
111
|
+
import { SharedEntityIndicator as xa } from "./components/New/SharedEntityIndicator/SharedEntityIndicator.js";
|
|
112
|
+
import { BottomSheet as ca } from "./components/New/BottomSheet/BottomSheet.js";
|
|
113
|
+
import { Badge as sa } from "./components/New/Badge/Badge.js";
|
|
114
|
+
import { BadgeColor as ua, BadgeVariant as Sa } from "./types/badge.js";
|
|
115
|
+
import { Avatar as Aa } from "./components/New/Avatar/Avatar.js";
|
|
116
|
+
import { AvatarColor as Ea, AvatarShape as Ba } from "./types/avatar.js";
|
|
117
|
+
import { AVATAR_PALETTE as _a, extractInitials as La } from "./utils/avatar.js";
|
|
118
|
+
import { EntityIdentity as Na } from "./components/New/EntityIdentity/EntityIdentity.js";
|
|
119
|
+
import { EntityType as Oa } from "./types/entity-type.js";
|
|
120
|
+
import { SelectedEntityCard as ha } from "./components/New/SelectedEntityCard/SelectedEntityCard.js";
|
|
121
|
+
import { SideDrawer as Fa } from "./components/New/SideDrawer/SideDrawer.js";
|
|
122
|
+
import { Tag as Pa } from "./components/New/Tag/Tag.js";
|
|
123
|
+
import { TagAppearance as wa } from "./types/tag.js";
|
|
124
|
+
import { TagInput as Ua } from "./components/New/TagInput/TagInput.js";
|
|
125
|
+
import { AutocompleteTagInput as Ha } from "./components/New/AutocompleteTagInput/AutocompleteTagInput.js";
|
|
126
|
+
import { Search as va } from "./components/New/Search/Search.js";
|
|
127
|
+
import { matchesAccept as Qa } from "./utils/file-accept.js";
|
|
128
|
+
import { Slider as Ka } from "./components/New/Slider/Slider.js";
|
|
129
|
+
import { Tooltip as Za } from "./components/New/Tooltip/Tooltip.js";
|
|
130
|
+
import { TooltipContainer as ja } from "./components/New/Tooltip/TooltipContainer.js";
|
|
131
|
+
import { TooltipContent as $a } from "./components/New/Tooltip/TooltipContent.js";
|
|
132
|
+
import { TooltipTrigger as ri } from "./components/New/Tooltip/TooltipTrigger.js";
|
|
133
|
+
import { InteractiveTooltipTrigger as ei, TooltipPlacement as ai } from "./types/tooltip.js";
|
|
134
|
+
import { InteractiveTooltip as pi } from "./components/New/InteractiveTooltip/InteractiveTooltip.js";
|
|
135
|
+
import { EllipsisTooltip as mi } from "./components/New/EllipsisTooltip/EllipsisTooltip.js";
|
|
136
|
+
import { CollapsibleSidebar as xi } from "./components/New/CollapsibleSidebar/CollapsibleSidebar.js";
|
|
137
|
+
import { ResizableContainer as ci } from "./components/New/ResizableContainer/ResizableContainer.js";
|
|
138
|
+
import { ResizeHandle as si } from "./components/New/ResizeHandle/ResizeHandle.js";
|
|
139
|
+
import { ConditionalResizableContainer as ui } from "./components/New/ResizableContainer/ConditionalResizableContainer.js";
|
|
140
|
+
import { NoDataContent as di } from "./components/New/NoDataContent/NoDataContent.js";
|
|
141
|
+
import { StateScreen as Ii } from "./components/New/StateScreen/StateScreen.js";
|
|
142
|
+
import { FormSection as Bi } from "./components/New/FormSection/FormSection.js";
|
|
143
|
+
import { FormSectionVariant as _i } from "./types/form-section.js";
|
|
144
|
+
import { TransferQueue as gi } from "./components/New/TransferQueue/TransferQueue.js";
|
|
145
|
+
import { DEFAULT_TRANSFER_QUEUE_LABELS as Ri, TRANSFER_QUEUE_AUTO_CLOSE_DELAY_MS as Oi } from "./components/New/TransferQueue/constants.js";
|
|
146
|
+
import { TransferQueueItemStatus as hi } from "./types/transfer-queue.js";
|
|
147
|
+
import { GRID_SELECTION_COLUMN_ID as Fi, Grid as Gi } from "./components/New/Grid/Grid.js";
|
|
148
|
+
import { GridAppearance as Mi, GridColorScheme as wi } from "./types/grid.js";
|
|
149
|
+
import { DateCellRenderer as Ui } from "./components/New/Grid/renderers/DateCellRenderer.js";
|
|
150
|
+
import { DEFAULT_DATE_FORMAT_OPTIONS as Hi, DEFAULT_LOCALE as Vi } from "./components/New/Grid/renderers/constants.js";
|
|
151
|
+
import { GRID_ALIGN_RIGHT_CLASS as Wi, GRID_ROOT_CLASS as Qi, ROW_HEIGHT as Yi, GRID_THEME_PARAMS as Ki } from "./components/New/Grid/constants.js";
|
|
152
|
+
import { DIAL_KIT_ICON_STROKE as Zi } from "./components/New/constants/icon.js";
|
|
153
|
+
import { convertToDate as ji } from "./utils/grid-date.js";
|
|
154
|
+
import { baseColumnComparator as $i, checkColDefsChanges as op } from "./utils/grid-comparators.js";
|
|
155
|
+
import { DEFAULT_ANALYTICS_BAR_COLOR_MAP as tp } from "./components/Analytics/Bar/utils.js";
|
|
156
|
+
import { DialAnalyticsBar as ap } from "./components/Analytics/Bar/Bar.js";
|
|
157
|
+
import { DialAnalyticsBarGroup as pp } from "./components/Analytics/BarGroup/BarGroup.js";
|
|
158
|
+
import { DialAnalyticsCard as mp } from "./components/Analytics/Card/Card.js";
|
|
159
|
+
import { DialAnalyticsErrorTag as xp } from "./components/Analytics/ErrorTag/ErrorTag.js";
|
|
160
|
+
import { DialAnalyticsHistogram as cp } from "./components/Analytics/Histogram/Histogram.js";
|
|
160
161
|
export {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
_a as AVATAR_PALETTE,
|
|
163
|
+
be as Accordion,
|
|
164
|
+
Ge as AccordionCaretPosition,
|
|
164
165
|
jt as AnalyticsBar,
|
|
165
166
|
$t as AnalyticsBarGroup,
|
|
166
167
|
Zt as AnalyticsCard,
|
|
167
168
|
i as AnalyticsCardVariant,
|
|
168
169
|
re as AnalyticsHistogram,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
Ha as AutocompleteTagInput,
|
|
171
|
+
Aa as Avatar,
|
|
172
|
+
Ea as AvatarColor,
|
|
173
|
+
Ba as AvatarShape,
|
|
173
174
|
Ir as BASE_ICON_PROPS,
|
|
174
175
|
Er as BASE_ICON_SIZE,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
sa as Badge,
|
|
177
|
+
ua as BadgeColor,
|
|
178
|
+
Sa as BadgeVariant,
|
|
179
|
+
ca as BottomSheet,
|
|
179
180
|
st as Breadcrumbs,
|
|
180
181
|
ct as BreadcrumbsSize,
|
|
181
182
|
yt as Button,
|
|
@@ -184,31 +185,31 @@ export {
|
|
|
184
185
|
Lo as ButtonVariant,
|
|
185
186
|
mt as Calendar,
|
|
186
187
|
pt as CalendarMode,
|
|
187
|
-
|
|
188
|
+
Oe as CaptionText,
|
|
188
189
|
Qr as CardShell,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
190
|
+
We as Checkbox,
|
|
191
|
+
Ye as CheckboxBox,
|
|
192
|
+
de as CloseButton,
|
|
193
|
+
xi as CollapsibleSidebar,
|
|
194
|
+
ui as ConditionalResizableContainer,
|
|
195
|
+
Ie as ConfirmationPopup,
|
|
195
196
|
ho as ConfirmationPopupVariant,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
197
|
+
tp as DEFAULT_ANALYTICS_BAR_COLOR_MAP,
|
|
198
|
+
Hi as DEFAULT_DATE_FORMAT_OPTIONS,
|
|
199
|
+
Vi as DEFAULT_DATE_LOCALE,
|
|
200
|
+
Ri as DEFAULT_TRANSFER_QUEUE_LABELS,
|
|
200
201
|
Br as DIAL_ICON_SIZE,
|
|
201
202
|
Or as DIAL_KIT_CLASS,
|
|
202
|
-
|
|
203
|
+
Zi as DIAL_KIT_ICON_STROKE,
|
|
203
204
|
ut as DangerButton,
|
|
204
205
|
_t as DangerIconButton,
|
|
205
|
-
|
|
206
|
+
Ui as DateCellRenderer,
|
|
206
207
|
f as DialAccordion,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
208
|
+
ap as DialAnalyticsBar,
|
|
209
|
+
pp as DialAnalyticsBarGroup,
|
|
210
|
+
mp as DialAnalyticsCard,
|
|
211
|
+
xp as DialAnalyticsErrorTag,
|
|
212
|
+
cp as DialAnalyticsHistogram,
|
|
212
213
|
F as DialBreadcrumb,
|
|
213
214
|
P as DialBreadcrumbItem,
|
|
214
215
|
w as DialButton,
|
|
@@ -241,7 +242,7 @@ export {
|
|
|
241
242
|
J as DialPrimaryIconButton,
|
|
242
243
|
eo as DialRemoveButton,
|
|
243
244
|
j as DialSecondaryIconButton,
|
|
244
|
-
|
|
245
|
+
A as DialSteps,
|
|
245
246
|
q as DialSuccessIconButton,
|
|
246
247
|
h as DialTabs,
|
|
247
248
|
L as DialTag,
|
|
@@ -250,41 +251,41 @@ export {
|
|
|
250
251
|
no as DialTooltipContainer,
|
|
251
252
|
fo as DialTooltipContent,
|
|
252
253
|
lo as DialTooltipTrigger,
|
|
253
|
-
|
|
254
|
+
Be as Dropdown,
|
|
254
255
|
Fo as DropdownItemType,
|
|
255
256
|
Go as DropdownTrigger,
|
|
256
257
|
Po as DropdownType,
|
|
257
258
|
tr as EDITABLE_CONTAINER_ATTRIBUTE,
|
|
258
259
|
Bo as EditorThemes,
|
|
259
260
|
Uo as ElementSize,
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
261
|
+
mi as EllipsisTooltip,
|
|
262
|
+
Na as EntityIdentity,
|
|
263
|
+
Oa as EntityType,
|
|
263
264
|
Kr as ErrorMessageNotification,
|
|
264
|
-
|
|
265
|
+
ye as ErrorText,
|
|
265
266
|
Xr as ErrorToastNotification,
|
|
266
267
|
Gt as FabButton,
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
268
|
+
ta as FileDropzone,
|
|
269
|
+
aa as FileIcon,
|
|
270
|
+
pa as FileName,
|
|
271
|
+
oa as FilterChips,
|
|
271
272
|
Yo as FlexibleActionsDirection,
|
|
272
|
-
|
|
273
|
+
ma as FolderName,
|
|
273
274
|
xt as FolderPath,
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
275
|
+
Bi as FormSection,
|
|
276
|
+
_i as FormSectionVariant,
|
|
277
|
+
Wi as GRID_ALIGN_RIGHT_CLASS,
|
|
278
|
+
Qi as GRID_ROOT_CLASS,
|
|
279
|
+
Yi as GRID_ROW_HEIGHT,
|
|
280
|
+
Fi as GRID_SELECTION_COLUMN_ID,
|
|
281
|
+
Ki as GRID_THEME_PARAMS,
|
|
281
282
|
Zr as GeneralMessageNotification,
|
|
282
283
|
Jr as GeneralToastNotification,
|
|
283
284
|
St as GhostButton,
|
|
284
285
|
Lt as GhostIconButton,
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
286
|
+
Gi as Grid,
|
|
287
|
+
Mi as GridAppearance,
|
|
288
|
+
wi as GridColorScheme,
|
|
288
289
|
cr as GridSelectionMode,
|
|
289
290
|
vr as Highlight,
|
|
290
291
|
bt as IconButton,
|
|
@@ -293,97 +294,98 @@ export {
|
|
|
293
294
|
qr as InfoToastNotification,
|
|
294
295
|
kt as InlineSelect,
|
|
295
296
|
Ht as InlineSelectTrigger,
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
297
|
+
xe as Input,
|
|
298
|
+
pi as InteractiveTooltip,
|
|
299
|
+
ei as InteractiveTooltipTrigger,
|
|
299
300
|
hr as JsonSchemaType,
|
|
300
301
|
ee as Label,
|
|
302
|
+
ie as LabelledText,
|
|
301
303
|
zt as LazyMarkdownEditor,
|
|
302
|
-
|
|
304
|
+
dt as LinkButton,
|
|
303
305
|
$r as LoadingMessageNotification,
|
|
304
306
|
ot as LoadingToastNotification,
|
|
305
|
-
|
|
307
|
+
Ne as MenuItem,
|
|
306
308
|
wo as MenuItemMark,
|
|
307
309
|
Qt as MultiSelectTags,
|
|
308
310
|
_r as NOT_ALLOWED_SPACES,
|
|
309
311
|
Lr as NOT_ALLOWED_SPACES_REGEXP,
|
|
310
312
|
gr as NOT_ALLOWED_SYMBOLS,
|
|
311
313
|
Nr as NOT_ALLOWED_SYMBOLS_REGEXP,
|
|
312
|
-
|
|
314
|
+
At as NeutralButton,
|
|
313
315
|
gt as NeutralIconButton,
|
|
314
|
-
|
|
316
|
+
di as NoDataContent,
|
|
315
317
|
Hr as Notification,
|
|
316
318
|
zr as NotificationType,
|
|
317
319
|
Ur as NotificationVariant,
|
|
318
|
-
|
|
320
|
+
se as NumberInput,
|
|
319
321
|
It as OutlinedButton,
|
|
320
|
-
|
|
321
|
-
|
|
322
|
+
ce as PasswordInput,
|
|
323
|
+
ue as Popup,
|
|
322
324
|
Oo as PopupSize,
|
|
323
325
|
Et as PrimaryButton,
|
|
324
326
|
Nt as PrimaryIconButton,
|
|
325
327
|
S as ProgressBar,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
+
ze as Radio,
|
|
329
|
+
ke as RadioGroup,
|
|
328
330
|
No as RadioGroupOrientation,
|
|
329
|
-
|
|
330
|
-
|
|
331
|
+
Ve as RadioGroupPopupField,
|
|
332
|
+
ci as ResizableContainer,
|
|
331
333
|
Jo as ResizableContainerSide,
|
|
332
|
-
|
|
334
|
+
si as ResizeHandle,
|
|
333
335
|
br as SchemaDisplayMode,
|
|
334
336
|
Fr as SchemaOrientation,
|
|
335
337
|
Mr as SchemaRenderer,
|
|
336
338
|
Gr as SchemaRendererVariant,
|
|
337
339
|
Ho as ScreenResolution,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
+
va as Search,
|
|
341
|
+
Je as SegmentedControl,
|
|
340
342
|
vt as Select,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
343
|
+
ha as SelectedEntityCard,
|
|
344
|
+
xa as SharedEntityIndicator,
|
|
345
|
+
Fa as SideDrawer,
|
|
344
346
|
O as Skeleton,
|
|
345
347
|
qo as SkeletonAvatarShape,
|
|
346
348
|
$o as SkeletonAvatarSize,
|
|
347
349
|
or as SkeletonVariant,
|
|
348
|
-
|
|
350
|
+
Ka as Slider,
|
|
349
351
|
D as Spinner,
|
|
350
352
|
Bt as StarterButton,
|
|
351
|
-
|
|
353
|
+
Ii as StateScreen,
|
|
352
354
|
Rt as StaticIconButton,
|
|
353
355
|
pr as StepStatus,
|
|
354
356
|
rt as SuccessMessageNotification,
|
|
355
357
|
tt as SuccessToastNotification,
|
|
356
|
-
|
|
357
|
-
|
|
358
|
+
Me as Switch,
|
|
359
|
+
Oi as TRANSFER_QUEUE_AUTO_CLOSE_DELAY_MS,
|
|
358
360
|
Vo as TabOrientation,
|
|
359
361
|
vo as TabStatus,
|
|
360
362
|
Wo as TabView,
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
363
|
+
qe as Tabs,
|
|
364
|
+
Pa as Tag,
|
|
365
|
+
wa as TagAppearance,
|
|
366
|
+
Ua as TagInput,
|
|
367
|
+
ne as Textarea,
|
|
368
|
+
me as TextareaResize,
|
|
369
|
+
_e as ThemeScope,
|
|
370
|
+
Xe as ToggleIconButton,
|
|
371
|
+
Za as Tooltip,
|
|
372
|
+
ja as TooltipContainer,
|
|
373
|
+
$a as TooltipContent,
|
|
374
|
+
ai as TooltipPlacement,
|
|
375
|
+
ri as TooltipTrigger,
|
|
376
|
+
gi as TransferQueue,
|
|
377
|
+
hi as TransferQueueItemStatus,
|
|
376
378
|
et as WarningMessageNotification,
|
|
377
379
|
at as WarningToastNotification,
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
380
|
+
$i as baseColumnComparator,
|
|
381
|
+
op as checkColDefsChanges,
|
|
382
|
+
ji as convertToDate,
|
|
381
383
|
er as editableContainerProps,
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
384
|
+
La as extractInitials,
|
|
385
|
+
dr as getTimezoneLabel,
|
|
386
|
+
Qa as matchesAccept,
|
|
385
387
|
sr as mergeClasses,
|
|
386
388
|
ar as useEditableItem,
|
|
387
|
-
|
|
389
|
+
Le as useThemeScope,
|
|
388
390
|
ur as wrapInRootFolder
|
|
389
391
|
};
|
package/dist/grid.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./DateCellRenderer-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./DateCellRenderer-B2BORgHD.cjs");exports.DEFAULT_DATE_FORMAT_OPTIONS=e.DEFAULT_DATE_FORMAT_OPTIONS;exports.DEFAULT_DATE_LOCALE=e.DEFAULT_LOCALE;exports.DateCellRenderer=e.DateCellRenderer;exports.GRID_ALIGN_RIGHT_CLASS=e.GRID_ALIGN_RIGHT_CLASS;exports.GRID_ROOT_CLASS=e.GRID_ROOT_CLASS;exports.GRID_ROW_HEIGHT=e.ROW_HEIGHT;exports.GRID_SELECTION_COLUMN_ID=e.GRID_SELECTION_COLUMN_ID;exports.GRID_THEME_PARAMS=e.GRID_THEME_PARAMS;exports.Grid=e.Grid;exports.GridAppearance=e.GridAppearance;exports.GridColorScheme=e.GridColorScheme;exports.GridSelectionMode=e.GridSelectionMode;exports.baseColumnComparator=e.baseColumnComparator;exports.checkColDefsChanges=e.checkColDefsChanges;exports.convertToDate=e.convertToDate;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
export interface LabelledTextProps {
|
|
3
|
+
/** Small caption above the value, naming it. */
|
|
4
|
+
label: ReactNode;
|
|
5
|
+
/** The value. Truncates with an ellipsis, revealing the full text in a tooltip only when clipped. */
|
|
6
|
+
text?: ReactNode;
|
|
7
|
+
/** Tooltip content shown instead of `text` while it is clipped. */
|
|
8
|
+
tooltip?: ReactNode;
|
|
9
|
+
/** Custom value content, rendered instead of `text`. */
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
/** Element after the value, e.g. a copy button. */
|
|
12
|
+
postfix?: ReactNode;
|
|
13
|
+
/** Additional CSS classes for the root element. */
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A read-only label/value pair: a small caption above a value.
|
|
18
|
+
* aliases: LabelValue|DisplayText|ReadOnlyField|KeyValue
|
|
19
|
+
* Design system 2.0
|
|
20
|
+
*
|
|
21
|
+
* The caption is the kit's `Label`, so it matches the other 2.0 fields. There is
|
|
22
|
+
* no control to point its `htmlFor` at: it sits beside the value and reads in
|
|
23
|
+
* DOM order. It is not a form field: use `Label` with an input for editable
|
|
24
|
+
* values.
|
|
25
|
+
*
|
|
26
|
+
* Without `children` the value is a single line capped at 200px that truncates;
|
|
27
|
+
* the tooltip appears only while the text is actually clipped. With `children`
|
|
28
|
+
* the value takes the content's own width.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```tsx
|
|
32
|
+
* <LabelledText label="Endpoint" text="https://example.com/v1/chat" />
|
|
33
|
+
*
|
|
34
|
+
* <LabelledText
|
|
35
|
+
* label="Key"
|
|
36
|
+
* text="sk-0000"
|
|
37
|
+
* postfix={<IconButton icon={<IconCopy />} ariaLabel="Copy key" />}
|
|
38
|
+
* />
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* @param label - Caption above the value.
|
|
42
|
+
* @param [text] - The value, truncated with an ellipsis when it does not fit.
|
|
43
|
+
* @param [tooltip] - Tooltip content used instead of `text` while it is clipped.
|
|
44
|
+
* @param [children] - Custom value content, rendered instead of `text`.
|
|
45
|
+
* @param [postfix] - Element after the value.
|
|
46
|
+
* @param [className] - Additional CSS classes for the root element.
|
|
47
|
+
*/
|
|
48
|
+
export declare const LabelledText: FC<LabelledTextProps>;
|
|
@@ -32,6 +32,8 @@ export declare const DIAL_KIT_CLASS: {
|
|
|
32
32
|
readonly errorText: "dial-kit-error-text";
|
|
33
33
|
/** The `Label` root, which wraps the `label` element and its info button. */
|
|
34
34
|
readonly label: "dial-kit-label";
|
|
35
|
+
/** The root of a `LabelledText`, wrapping its caption and value. */
|
|
36
|
+
readonly labelledText: "dial-kit-labelled-text";
|
|
35
37
|
/** The root of an `AnalyticsCard`: the box holding its title, value and description. */
|
|
36
38
|
readonly analyticsCard: "dial-kit-analytics-card";
|
|
37
39
|
/** The root of an `AnalyticsBar`: the title row and track, stacked or inline. */
|
package/dist/src/index.d.ts
CHANGED
|
@@ -133,6 +133,8 @@ export type { AnalyticsBarGroupProps } from './components/New/Analytics/BarGroup
|
|
|
133
133
|
export { AnalyticsHistogram } from './components/New/Analytics/Histogram/Histogram';
|
|
134
134
|
export type { AnalyticsHistogramProps } from './components/New/Analytics/Histogram/Histogram';
|
|
135
135
|
export { Label } from './components/New/Label/Label';
|
|
136
|
+
export type { LabelledTextProps } from './components/New/LabelledText/LabelledText';
|
|
137
|
+
export { LabelledText } from './components/New/LabelledText/LabelledText';
|
|
136
138
|
export { Textarea, TextareaResize } from './components/New/Textarea/Textarea';
|
|
137
139
|
export { Input } from './components/New/Input/Input';
|
|
138
140
|
export type { InputProps } from './components/New/Input/Input';
|