@ds-mo/ui 14.24.0 → 14.26.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/.package-ready.json +1 -1
- package/dist/agent-patterns.json +1 -1
- package/dist/agent.json +341 -13
- package/dist/angular/ds-score.d.ts +12 -0
- package/dist/angular/ds-score.js +38 -0
- package/dist/angular/ds-textarea.d.ts +15 -0
- package/dist/angular/ds-textarea.js +43 -0
- package/dist/angular/index.d.ts +1 -1
- package/dist/angular/index.js +2 -0
- package/dist/angular/proxies.d.ts +2 -0
- package/dist/angular/proxies.js +2 -0
- package/dist/angular/text-value-accessor.d.ts +1 -1
- package/dist/angular/text-value-accessor.js +2 -2
- package/dist/components/ds-agent-activity.js +1 -1
- package/dist/components/ds-agent-questionnaire.js +1 -1
- package/dist/components/ds-agent-response.js +1 -1
- package/dist/components/ds-agent-source-list.js +1 -1
- package/dist/components/ds-agent-tool-call.js +1 -1
- package/dist/components/ds-attachment-list.js +1 -1
- package/dist/components/ds-badge.js +1 -1
- package/dist/components/ds-banner.js +1 -1
- package/dist/components/ds-bar-action.js +1 -1
- package/dist/components/ds-bar-nav.js +1 -1
- package/dist/components/ds-bar-title.js +1 -1
- package/dist/components/ds-bar-workflow.js +1 -1
- package/dist/components/ds-breadcrumb.js +1 -1
- package/dist/components/ds-button-filled.js +1 -1
- package/dist/components/ds-button-unfilled.js +1 -1
- package/dist/components/ds-card-chart.js +1 -1
- package/dist/components/ds-card-overview.js +1 -1
- package/dist/components/ds-card-overview.js.map +1 -1
- package/dist/components/ds-card-setting.js +1 -1
- package/dist/components/ds-chart-legend.js +1 -1
- package/dist/components/ds-chart.js +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/ds-chip.js +1 -1
- package/dist/components/ds-code-block.js +1 -1
- package/dist/components/ds-conversation-list-item.js +1 -1
- package/dist/components/ds-conversation-list-section.js +1 -1
- package/dist/components/ds-empty-state.js +1 -1
- package/dist/components/ds-field.js +1 -1
- package/dist/components/ds-filter-menu.js +1 -1
- package/dist/components/ds-input.js +1 -1
- package/dist/components/ds-markdown.js +1 -1
- package/dist/components/ds-menu.js +1 -1
- package/dist/components/ds-message-actions.js +1 -1
- package/dist/components/ds-message-composer.js +1 -1
- package/dist/components/ds-message-scroller.js +1 -1
- package/dist/components/ds-message.js +1 -1
- package/dist/components/ds-mobile-bar-nav.js +1 -1
- package/dist/components/ds-mobile-header.js +1 -1
- package/dist/components/ds-mobile-section-switcher.js +1 -1
- package/dist/components/ds-mobile-sheet-nav.js +1 -1
- package/dist/components/ds-modal.js +1 -1
- package/dist/components/ds-pagination.js +1 -1
- package/dist/components/ds-panel-nav.js +1 -1
- package/dist/components/ds-panel-sub-nav.js +1 -1
- package/dist/components/ds-panel-tool-header.js +1 -1
- package/dist/components/ds-panel-tool-search.js +1 -1
- package/dist/components/ds-panel-tools.js +1 -1
- package/dist/components/ds-paper-texture.js +1 -1
- package/dist/components/ds-radio.js +1 -1
- package/dist/components/ds-score.d.ts +11 -0
- package/dist/components/ds-score.js +2 -0
- package/dist/components/ds-score.js.map +1 -0
- package/dist/components/ds-select.js +1 -1
- package/dist/components/ds-shell-app.js +1 -1
- package/dist/components/ds-shell-page.js +1 -1
- package/dist/components/ds-shell-tools.js +1 -1
- package/dist/components/ds-slider.js +1 -1
- package/dist/components/ds-swatch-picker.js +1 -1
- package/dist/components/ds-tab-group.js +1 -1
- package/dist/components/ds-table-filter.js +1 -1
- package/dist/components/ds-table-group.js +1 -1
- package/dist/components/ds-table-saved-views.js +1 -1
- package/dist/components/ds-table-search.js +1 -1
- package/dist/components/ds-table-sort.js +1 -1
- package/dist/components/ds-table-toolbar.js +1 -1
- package/dist/components/ds-table.js +1 -1
- package/dist/components/ds-table.js.map +1 -1
- package/dist/components/ds-tag.js +1 -1
- package/dist/components/ds-text.js +1 -1
- package/dist/components/ds-textarea.d.ts +11 -0
- package/dist/components/ds-textarea.js +2 -0
- package/dist/components/ds-textarea.js.map +1 -0
- package/dist/components/ds-toast.js +1 -1
- package/dist/components/ds-tooltip-chart.js +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/ds-typing-indicator.js +1 -1
- package/dist/components/{p-DLaN9BPq.js → p-1604KY3B.js} +2 -2
- package/dist/components/{p-CYMKmJ2s.js → p-2wIPUcSL.js} +2 -2
- package/dist/components/{p-CEfxLsbX.js → p-537t6oRD.js} +2 -2
- package/dist/components/{p-kslioYhf.js → p-6_CNVbqa.js} +2 -2
- package/dist/components/{p-PXdvBMXB.js → p-B3Z5sQin.js} +2 -2
- package/dist/components/{p-CZjjDhUl.js → p-B3sRZBZk.js} +2 -2
- package/dist/components/{p-BZlhBJZL.js → p-B9esvbYk.js} +2 -2
- package/dist/components/{p-5Z4oYuiK.js → p-BEXkJ9lg.js} +2 -2
- package/dist/components/{p-DbLLH3hr.js → p-BIGpc__9.js} +2 -2
- package/dist/components/{p-DzPtYdXy.js → p-BMzn2Cmw.js} +2 -2
- package/dist/components/{p-BSRIF4m8.js → p-BRLDf-NK.js} +2 -2
- package/dist/components/{p-0X-4KGQf.js → p-BUh2GkPJ.js} +2 -2
- package/dist/components/{p-pUOA3iDG.js → p-BVpn_e-r.js} +2 -2
- package/dist/components/{p-CpeJMKJ5.js → p-BVz-r3g0.js} +2 -2
- package/dist/components/{p-CBymzuOO.js → p-BXDLR072.js} +2 -2
- package/dist/components/{p-DiS5BgLA.js → p-BZiGtBBk.js} +2 -2
- package/dist/components/{p-BcxidW9k.js → p-Bb9dA7sl.js} +2 -2
- package/dist/components/{p-BR1ayqMU.js → p-Bjt_8sLe.js} +2 -2
- package/dist/components/{p-BqbdABo3.js → p-BssZ4SbT.js} +2 -2
- package/dist/components/{p-bHnk8t5I.js → p-C68oSTb1.js} +2 -2
- package/dist/components/{p-C_FFU6W3.js → p-CGQnHNuW.js} +2 -2
- package/dist/components/{p-BqVXMEJm.js → p-CQjUOHiN.js} +2 -2
- package/dist/components/{p-w9fkkwL2.js → p-CaF5WCci.js} +2 -2
- package/dist/components/{p-Bjq1KP_Y.js → p-Cf5Ai4xx.js} +2 -2
- package/dist/components/{p-B0kSlcaw.js → p-Cr6pDY-e.js} +2 -2
- package/dist/components/{p-FxtgCvhA.js → p-Cy1oWIaV.js} +2 -2
- package/dist/components/{p-CTH3dSYg.js → p-DDqRCDXh.js} +2 -2
- package/dist/components/{p-x5u5Ueli.js → p-DIqAdmui.js} +2 -2
- package/dist/components/{p-Cd1JnnVK.js → p-DQQsS9Rx.js} +2 -2
- package/dist/components/{p-CZHIkVgj.js → p-DQsFmleZ.js} +2 -2
- package/dist/components/p-DRyrcR2k.js +2 -0
- package/dist/components/p-DRyrcR2k.js.map +1 -0
- package/dist/components/{p-CE2b5GPu.js → p-DVLghmNY.js} +2 -2
- package/dist/components/p-DW8ssbfI.js +2 -0
- package/dist/components/p-DW8ssbfI.js.map +1 -0
- package/dist/components/{p-BXv6RpoF.js → p-DZcIt_JJ.js} +2 -2
- package/dist/components/{p-CglHiyY2.js → p-DkxOEFHN.js} +2 -2
- package/dist/components/{p-DeK_6Uym.js → p-DlbhmXjH.js} +2 -2
- package/dist/components/{p-Bq8svcPs.js → p-GEi3hDJQ.js} +2 -2
- package/dist/components/p-LMmrjmI_.js +2 -0
- package/dist/components/p-LMmrjmI_.js.map +1 -0
- package/dist/components/{p-DI8DUozc.js → p-Q0dkeoJ6.js} +2 -2
- package/dist/components/{p-XaCYqck3.js → p-Q7AOgrg5.js} +2 -2
- package/dist/components/{p-B0OZx3JB.js → p-WFo1x6dN.js} +2 -2
- package/dist/components/{p-CEXchU5N.js → p-to8BxxgT.js} +2 -2
- package/dist/docs/components.json +1104 -3
- package/dist/mcp-data/registry/card-overview.json +8 -6
- package/dist/mcp-data/registry/field.json +5 -4
- package/dist/mcp-data/registry/panel-nav.json +2 -1
- package/dist/mcp-data/registry/registry.json +346 -12
- package/dist/mcp-data/registry/score.json +241 -0
- package/dist/mcp-data/registry/shell-app.json +1 -0
- package/dist/mcp-data/registry/table.json +17 -14
- package/dist/mcp-data/registry/textarea.json +600 -0
- package/dist/mcp-data/registry/tooltip.json +5 -5
- package/dist/react/components.d.ts +2 -0
- package/dist/react/components.js +2 -0
- package/dist/react/ds-score.d.ts +9 -0
- package/dist/react/ds-score.js +12 -0
- package/dist/react/ds-textarea.d.ts +12 -0
- package/dist/react/ds-textarea.js +12 -0
- package/dist/styles/table.css +201 -70
- package/dist/types/components/CardOverview/card-overview-controller.d.ts +2 -2
- package/dist/types/components/CardOverview/card-overview-types.d.ts +2 -1
- package/dist/types/components/Score/Score.d.ts +21 -0
- package/dist/types/components/Score/index.d.ts +3 -0
- package/dist/types/components/Score/score-model.d.ts +14 -0
- package/dist/types/components/Score/score-types.d.ts +5 -0
- package/dist/types/components/Table/Table.d.ts +5 -2
- package/dist/types/components/Table/index.d.ts +1 -1
- package/dist/types/components/Table/table-cell-model.d.ts +12 -0
- package/dist/types/components/Table/table-model.d.ts +10 -1
- package/dist/types/components/Table/table-render-model.d.ts +3 -1
- package/dist/types/components/Table/table-row-view.d.ts +2 -1
- package/dist/types/components/Table/table-types.d.ts +60 -1
- package/dist/types/components/Table/table-virtual-model.d.ts +6 -5
- package/dist/types/components/Textarea/Textarea.d.ts +66 -0
- package/dist/types/components/Textarea/index.d.ts +2 -0
- package/dist/types/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/types/components.d.ts +324 -2
- package/dist/vue/components.d.ts +2 -0
- package/dist/vue/components.js +2 -0
- package/dist/vue/ds-score.d.ts +3 -0
- package/dist/vue/ds-score.js +12 -0
- package/dist/vue/ds-textarea.d.ts +3 -0
- package/dist/vue/ds-textarea.js +36 -0
- package/package.json +1 -1
- package/dist/components/p-9X_p0bHr.js +0 -2
- package/dist/components/p-9X_p0bHr.js.map +0 -1
- package/dist/components/p-Bo6uW_8T.js +0 -2
- package/dist/components/p-Bo6uW_8T.js.map +0 -1
- /package/dist/components/{p-DLaN9BPq.js.map → p-1604KY3B.js.map} +0 -0
- /package/dist/components/{p-CYMKmJ2s.js.map → p-2wIPUcSL.js.map} +0 -0
- /package/dist/components/{p-CEfxLsbX.js.map → p-537t6oRD.js.map} +0 -0
- /package/dist/components/{p-kslioYhf.js.map → p-6_CNVbqa.js.map} +0 -0
- /package/dist/components/{p-PXdvBMXB.js.map → p-B3Z5sQin.js.map} +0 -0
- /package/dist/components/{p-CZjjDhUl.js.map → p-B3sRZBZk.js.map} +0 -0
- /package/dist/components/{p-BZlhBJZL.js.map → p-B9esvbYk.js.map} +0 -0
- /package/dist/components/{p-5Z4oYuiK.js.map → p-BEXkJ9lg.js.map} +0 -0
- /package/dist/components/{p-DbLLH3hr.js.map → p-BIGpc__9.js.map} +0 -0
- /package/dist/components/{p-DzPtYdXy.js.map → p-BMzn2Cmw.js.map} +0 -0
- /package/dist/components/{p-BSRIF4m8.js.map → p-BRLDf-NK.js.map} +0 -0
- /package/dist/components/{p-0X-4KGQf.js.map → p-BUh2GkPJ.js.map} +0 -0
- /package/dist/components/{p-pUOA3iDG.js.map → p-BVpn_e-r.js.map} +0 -0
- /package/dist/components/{p-CpeJMKJ5.js.map → p-BVz-r3g0.js.map} +0 -0
- /package/dist/components/{p-CBymzuOO.js.map → p-BXDLR072.js.map} +0 -0
- /package/dist/components/{p-DiS5BgLA.js.map → p-BZiGtBBk.js.map} +0 -0
- /package/dist/components/{p-BcxidW9k.js.map → p-Bb9dA7sl.js.map} +0 -0
- /package/dist/components/{p-BR1ayqMU.js.map → p-Bjt_8sLe.js.map} +0 -0
- /package/dist/components/{p-BqbdABo3.js.map → p-BssZ4SbT.js.map} +0 -0
- /package/dist/components/{p-bHnk8t5I.js.map → p-C68oSTb1.js.map} +0 -0
- /package/dist/components/{p-C_FFU6W3.js.map → p-CGQnHNuW.js.map} +0 -0
- /package/dist/components/{p-BqVXMEJm.js.map → p-CQjUOHiN.js.map} +0 -0
- /package/dist/components/{p-w9fkkwL2.js.map → p-CaF5WCci.js.map} +0 -0
- /package/dist/components/{p-Bjq1KP_Y.js.map → p-Cf5Ai4xx.js.map} +0 -0
- /package/dist/components/{p-B0kSlcaw.js.map → p-Cr6pDY-e.js.map} +0 -0
- /package/dist/components/{p-FxtgCvhA.js.map → p-Cy1oWIaV.js.map} +0 -0
- /package/dist/components/{p-CTH3dSYg.js.map → p-DDqRCDXh.js.map} +0 -0
- /package/dist/components/{p-x5u5Ueli.js.map → p-DIqAdmui.js.map} +0 -0
- /package/dist/components/{p-Cd1JnnVK.js.map → p-DQQsS9Rx.js.map} +0 -0
- /package/dist/components/{p-CZHIkVgj.js.map → p-DQsFmleZ.js.map} +0 -0
- /package/dist/components/{p-CE2b5GPu.js.map → p-DVLghmNY.js.map} +0 -0
- /package/dist/components/{p-BXv6RpoF.js.map → p-DZcIt_JJ.js.map} +0 -0
- /package/dist/components/{p-CglHiyY2.js.map → p-DkxOEFHN.js.map} +0 -0
- /package/dist/components/{p-DeK_6Uym.js.map → p-DlbhmXjH.js.map} +0 -0
- /package/dist/components/{p-Bq8svcPs.js.map → p-GEi3hDJQ.js.map} +0 -0
- /package/dist/components/{p-DI8DUozc.js.map → p-Q0dkeoJ6.js.map} +0 -0
- /package/dist/components/{p-XaCYqck3.js.map → p-Q7AOgrg5.js.map} +0 -0
- /package/dist/components/{p-B0OZx3JB.js.map → p-WFo1x6dN.js.map} +0 -0
- /package/dist/components/{p-CEXchU5N.js.map → p-to8BxxgT.js.map} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { TagContrast, TagIntent } from '../Tag/Tag';
|
|
2
2
|
import type { IconColor } from '../Icon/Icon';
|
|
3
|
+
import type { SafetyScoreLevel } from '../Score/score-types';
|
|
3
4
|
import type { TextColor } from '../Text/text-types';
|
|
4
5
|
import type { PaginationState } from '../Pagination/pagination-types';
|
|
5
6
|
export type TableSortDirection = 'asc' | 'desc';
|
|
@@ -49,6 +50,8 @@ export interface TableCellTextRun {
|
|
|
49
50
|
text: string;
|
|
50
51
|
/** Defaults to the track’s standard color. */
|
|
51
52
|
color?: TextColor;
|
|
53
|
+
/** Optional supplementary copy shown from a dotted-underlined tooltip trigger. */
|
|
54
|
+
help?: string;
|
|
52
55
|
}
|
|
53
56
|
/** A secondary or tertiary track: one string, or up to three colorable runs. */
|
|
54
57
|
export type TableCellTextTrack = string | TableCellTextRun[];
|
|
@@ -128,6 +131,30 @@ export interface TableCellIconText {
|
|
|
128
131
|
maxLines?: TableCellMaxLines;
|
|
129
132
|
fontFeature?: 'normal' | 'tabular-nums';
|
|
130
133
|
}
|
|
134
|
+
/**
|
|
135
|
+
* Compact safety-score fill at the top-right of a text copy stack. The score
|
|
136
|
+
* occupies one 24px track while the copy keeps the standard text-cell anatomy.
|
|
137
|
+
*/
|
|
138
|
+
export interface TableCellScoreText {
|
|
139
|
+
kind: 'score-text';
|
|
140
|
+
/** Display-ready safety score. Numeric values infer their semantic level. */
|
|
141
|
+
score: string | number;
|
|
142
|
+
scoreLevel?: SafetyScoreLevel;
|
|
143
|
+
/** Accessible name prefix. Defaults to “Safety score”. */
|
|
144
|
+
scoreLabel?: string;
|
|
145
|
+
/** Replace the score figure with its matching sm skeleton. */
|
|
146
|
+
scoreLoading?: boolean;
|
|
147
|
+
primary: string | number;
|
|
148
|
+
secondary?: TableCellTextTrack;
|
|
149
|
+
tertiary?: TableCellTextTrack;
|
|
150
|
+
secondaryColor?: TextColor;
|
|
151
|
+
tertiaryColor?: TextColor;
|
|
152
|
+
href?: string;
|
|
153
|
+
target?: TableCellLinkTarget;
|
|
154
|
+
wrap?: boolean;
|
|
155
|
+
maxLines?: TableCellMaxLines;
|
|
156
|
+
fontFeature?: 'normal' | 'tabular-nums';
|
|
157
|
+
}
|
|
131
158
|
/** Body-row track stack an image preview occupies. */
|
|
132
159
|
export type TableCellImageTracks = 1 | 2 | 3;
|
|
133
160
|
/** Declarative 16:9 image preview rendered by the table's standard cell primitive. */
|
|
@@ -221,7 +248,7 @@ export interface TableCellTags {
|
|
|
221
248
|
/** Expected positive wrapped-line count used for row geometry and virtual estimates. */
|
|
222
249
|
tracks: number;
|
|
223
250
|
}
|
|
224
|
-
export type TableCellValue = string | number | null | undefined | TableCellText | TableCellPrimaryText | TableCellTag | TableCellTags | TableCellIcon | TableCellIconText | TableCellImage | TableCellAction | TableCellEmpty | TableCellBlank;
|
|
251
|
+
export type TableCellValue = string | number | null | undefined | TableCellText | TableCellPrimaryText | TableCellTag | TableCellTags | TableCellIcon | TableCellIconText | TableCellScoreText | TableCellImage | TableCellAction | TableCellEmpty | TableCellBlank;
|
|
225
252
|
export type TableSkeletonWidth = string | number;
|
|
226
253
|
/** Representative loading geometry for one table column. */
|
|
227
254
|
export type TableCellSkeleton = {
|
|
@@ -247,6 +274,12 @@ export type TableCellSkeleton = {
|
|
|
247
274
|
primaryWidth?: TableSkeletonWidth;
|
|
248
275
|
secondaryWidth?: TableSkeletonWidth;
|
|
249
276
|
tertiaryWidth?: TableSkeletonWidth;
|
|
277
|
+
} | {
|
|
278
|
+
kind: 'score-text';
|
|
279
|
+
lines?: 1 | 2 | 3;
|
|
280
|
+
primaryWidth?: TableSkeletonWidth;
|
|
281
|
+
secondaryWidth?: TableSkeletonWidth;
|
|
282
|
+
tertiaryWidth?: TableSkeletonWidth;
|
|
250
283
|
} | {
|
|
251
284
|
kind: 'action';
|
|
252
285
|
/** Icon actions use a square control canvas; labeled actions may provide a wider width. */
|
|
@@ -307,6 +340,22 @@ export interface TableRow {
|
|
|
307
340
|
/** Make the complete row a keyboard- and pointer-activatable application target. */
|
|
308
341
|
interactive?: boolean;
|
|
309
342
|
}
|
|
343
|
+
/** Supporting copy on a group section header's second track. */
|
|
344
|
+
export interface TableGroupAccessory {
|
|
345
|
+
text: string;
|
|
346
|
+
/** Optional tooltip. Uses the shared dotted underline when present. */
|
|
347
|
+
help?: string;
|
|
348
|
+
}
|
|
349
|
+
/** Leading group-header accessory. Score is the first supported hero. */
|
|
350
|
+
export interface TableGroupHeroScore {
|
|
351
|
+
kind: 'score';
|
|
352
|
+
value: string | number;
|
|
353
|
+
level?: SafetyScoreLevel;
|
|
354
|
+
/** Accessible name prefix, for example “Safety score”. */
|
|
355
|
+
label?: string;
|
|
356
|
+
isLoading?: boolean;
|
|
357
|
+
}
|
|
358
|
+
export type TableGroupHero = TableGroupHeroScore;
|
|
310
359
|
export interface TableGroup {
|
|
311
360
|
/** Stable group identity. */
|
|
312
361
|
id: string;
|
|
@@ -321,6 +370,16 @@ export interface TableGroup {
|
|
|
321
370
|
* intent background and bold intent title color.
|
|
322
371
|
*/
|
|
323
372
|
intent?: TableGroupIntent;
|
|
373
|
+
/**
|
|
374
|
+
* Optional accessory copy on a second 24px track under the label and count.
|
|
375
|
+
* Middle-dot separated. At most four items are shown.
|
|
376
|
+
*/
|
|
377
|
+
accessories?: TableGroupAccessory[];
|
|
378
|
+
/**
|
|
379
|
+
* Optional leading hero before the label and count. A score uses sm on both
|
|
380
|
+
* single-track and two-track headers and sits at the start of the copy stack.
|
|
381
|
+
*/
|
|
382
|
+
hero?: TableGroupHero;
|
|
324
383
|
/** Whether this group has more member rows available to load. */
|
|
325
384
|
hasMore?: boolean;
|
|
326
385
|
/** Controlled incremental loading state for this group's member rows. */
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import type { TableColumn, TableGroup, TableRow } from './table-types';
|
|
2
2
|
/**
|
|
3
|
-
* Token-aligned body-row track contracts: 40 /
|
|
4
|
-
*
|
|
3
|
+
* Token-aligned body-row track contracts: 40 / 64 / 88, plus wrapping-secondary
|
|
4
|
+
* 112. Every track is 24px with no stack gap. Estimates only; measured heights
|
|
5
|
+
* replace these after paint.
|
|
5
6
|
*/
|
|
6
7
|
export declare const TABLE_VIRTUAL_ROW_TRACK_SIZE: {
|
|
7
8
|
readonly 1: 40;
|
|
8
|
-
readonly 2:
|
|
9
|
-
readonly 3:
|
|
10
|
-
readonly 4:
|
|
9
|
+
readonly 2: 64;
|
|
10
|
+
readonly 3: 88;
|
|
11
|
+
readonly 4: 112;
|
|
11
12
|
};
|
|
12
13
|
/** Estimated row height for any positive named track count. */
|
|
13
14
|
export declare function tableVirtualRowTrackSize(tracks: number): number;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { type ControlWidth } from '../../utils';
|
|
3
|
+
export type TextareaSize = 'lg' | 'md' | 'sm' | 'xs';
|
|
4
|
+
export type TextareaWidth = ControlWidth;
|
|
5
|
+
export type TextareaResize = 'vertical' | 'none';
|
|
6
|
+
export declare class Textarea {
|
|
7
|
+
el: HTMLElement;
|
|
8
|
+
internals: ElementInternals;
|
|
9
|
+
private generatedId;
|
|
10
|
+
private errorId;
|
|
11
|
+
value: string;
|
|
12
|
+
name: string | undefined;
|
|
13
|
+
form: string | undefined;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
/** Keeps the value focusable and submittable while preventing edits. */
|
|
16
|
+
readOnly: boolean;
|
|
17
|
+
required: boolean;
|
|
18
|
+
requiredMessage: string;
|
|
19
|
+
placeholder: string | undefined;
|
|
20
|
+
/** Visible text rows before the field scrolls. */
|
|
21
|
+
rows: number;
|
|
22
|
+
/** Whether the user can resize the field vertically. */
|
|
23
|
+
resize: TextareaResize;
|
|
24
|
+
/** Native browser autofill hint. */
|
|
25
|
+
autoComplete: string | undefined;
|
|
26
|
+
/** Preferred virtual keyboard without changing the value semantics. */
|
|
27
|
+
inputMode: string;
|
|
28
|
+
/** Preferred virtual-keyboard action label. */
|
|
29
|
+
enterKeyHint: string;
|
|
30
|
+
/** Whether the browser should check spelling and grammar. */
|
|
31
|
+
spellCheck: boolean;
|
|
32
|
+
/** Control density for typography and inset spacing. */
|
|
33
|
+
size: TextareaSize;
|
|
34
|
+
/** Width fit — fill the parent (default) or hug the available content. */
|
|
35
|
+
width: TextareaWidth;
|
|
36
|
+
/** Show the standard inset border, including focused and invalid strokes. */
|
|
37
|
+
hasBorder: boolean;
|
|
38
|
+
/** Show the standard hover and pressed fill when the field is not embedded in interactive chrome. */
|
|
39
|
+
hasInteractionFill: boolean;
|
|
40
|
+
isInactive: boolean;
|
|
41
|
+
autoFocus: boolean;
|
|
42
|
+
error: boolean;
|
|
43
|
+
errorMessage: string | undefined;
|
|
44
|
+
/** Associates the internal textarea with an external <label>. */
|
|
45
|
+
inputId: string | undefined;
|
|
46
|
+
ariaLabel: string | null;
|
|
47
|
+
ariaLabelledby: string | undefined;
|
|
48
|
+
ariaDescribedby: string | undefined;
|
|
49
|
+
dsChange: EventEmitter<string>;
|
|
50
|
+
private initialValue;
|
|
51
|
+
private textareaEl?;
|
|
52
|
+
private formDisabled;
|
|
53
|
+
private focused;
|
|
54
|
+
private touched;
|
|
55
|
+
componentWillLoad(): void;
|
|
56
|
+
syncFormValue(): void;
|
|
57
|
+
formDisabledCallback(disabled: boolean): void;
|
|
58
|
+
formResetCallback(): void;
|
|
59
|
+
formStateRestoreCallback(state: string | File | FormData | null): void;
|
|
60
|
+
setFocus(): Promise<void>;
|
|
61
|
+
private handleInput;
|
|
62
|
+
private handleFocus;
|
|
63
|
+
private handleBlur;
|
|
64
|
+
render(): any;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=Textarea.d.ts.map
|
|
@@ -40,7 +40,7 @@ export declare class Tooltip {
|
|
|
40
40
|
* the label is already in the DOM, such as a truncated table cell.
|
|
41
41
|
*/
|
|
42
42
|
describedBy: boolean;
|
|
43
|
-
/** Allow
|
|
43
|
+
/** Allow wrapping at a panel-xs max width and preserve explicit line breaks. */
|
|
44
44
|
wrapLabel: boolean;
|
|
45
45
|
private tooltipId;
|
|
46
46
|
private delayTimer;
|