@ds-mo/ui 14.25.0 → 14.27.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 +343 -16
- 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-group.js.map +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-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-VT-5XDkB.js +2 -0
- package/dist/components/p-VT-5XDkB.js.map +1 -0
- 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 +1106 -5
- 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 +348 -15
- package/dist/mcp-data/registry/score.json +241 -0
- package/dist/mcp-data/registry/table-group.json +5 -5
- package/dist/mcp-data/registry/table.json +16 -13
- 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 +188 -69
- 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 +3 -0
- 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-types.d.ts +62 -1
- package/dist/types/components/Table/table-virtual-model.d.ts +6 -5
- package/dist/types/components/TableGroup/TableGroup.d.ts +13 -3
- 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';
|
|
@@ -43,12 +44,16 @@ export interface TableSortState {
|
|
|
43
44
|
export interface TableGroupingState {
|
|
44
45
|
columnId: string;
|
|
45
46
|
direction: TableSortDirection;
|
|
47
|
+
/** Optional application-owned data point used to order the group sections. */
|
|
48
|
+
orderBy?: string;
|
|
46
49
|
}
|
|
47
50
|
/** One independently colored run inside a secondary or tertiary track. */
|
|
48
51
|
export interface TableCellTextRun {
|
|
49
52
|
text: string;
|
|
50
53
|
/** Defaults to the track’s standard color. */
|
|
51
54
|
color?: TextColor;
|
|
55
|
+
/** Optional supplementary copy shown from a dotted-underlined tooltip trigger. */
|
|
56
|
+
help?: string;
|
|
52
57
|
}
|
|
53
58
|
/** A secondary or tertiary track: one string, or up to three colorable runs. */
|
|
54
59
|
export type TableCellTextTrack = string | TableCellTextRun[];
|
|
@@ -128,6 +133,30 @@ export interface TableCellIconText {
|
|
|
128
133
|
maxLines?: TableCellMaxLines;
|
|
129
134
|
fontFeature?: 'normal' | 'tabular-nums';
|
|
130
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* Compact safety-score fill at the top-right of a text copy stack. The score
|
|
138
|
+
* occupies one 24px track while the copy keeps the standard text-cell anatomy.
|
|
139
|
+
*/
|
|
140
|
+
export interface TableCellScoreText {
|
|
141
|
+
kind: 'score-text';
|
|
142
|
+
/** Display-ready safety score. Numeric values infer their semantic level. */
|
|
143
|
+
score: string | number;
|
|
144
|
+
scoreLevel?: SafetyScoreLevel;
|
|
145
|
+
/** Accessible name prefix. Defaults to “Safety score”. */
|
|
146
|
+
scoreLabel?: string;
|
|
147
|
+
/** Replace the score figure with its matching sm skeleton. */
|
|
148
|
+
scoreLoading?: boolean;
|
|
149
|
+
primary: string | number;
|
|
150
|
+
secondary?: TableCellTextTrack;
|
|
151
|
+
tertiary?: TableCellTextTrack;
|
|
152
|
+
secondaryColor?: TextColor;
|
|
153
|
+
tertiaryColor?: TextColor;
|
|
154
|
+
href?: string;
|
|
155
|
+
target?: TableCellLinkTarget;
|
|
156
|
+
wrap?: boolean;
|
|
157
|
+
maxLines?: TableCellMaxLines;
|
|
158
|
+
fontFeature?: 'normal' | 'tabular-nums';
|
|
159
|
+
}
|
|
131
160
|
/** Body-row track stack an image preview occupies. */
|
|
132
161
|
export type TableCellImageTracks = 1 | 2 | 3;
|
|
133
162
|
/** Declarative 16:9 image preview rendered by the table's standard cell primitive. */
|
|
@@ -221,7 +250,7 @@ export interface TableCellTags {
|
|
|
221
250
|
/** Expected positive wrapped-line count used for row geometry and virtual estimates. */
|
|
222
251
|
tracks: number;
|
|
223
252
|
}
|
|
224
|
-
export type TableCellValue = string | number | null | undefined | TableCellText | TableCellPrimaryText | TableCellTag | TableCellTags | TableCellIcon | TableCellIconText | TableCellImage | TableCellAction | TableCellEmpty | TableCellBlank;
|
|
253
|
+
export type TableCellValue = string | number | null | undefined | TableCellText | TableCellPrimaryText | TableCellTag | TableCellTags | TableCellIcon | TableCellIconText | TableCellScoreText | TableCellImage | TableCellAction | TableCellEmpty | TableCellBlank;
|
|
225
254
|
export type TableSkeletonWidth = string | number;
|
|
226
255
|
/** Representative loading geometry for one table column. */
|
|
227
256
|
export type TableCellSkeleton = {
|
|
@@ -247,6 +276,12 @@ export type TableCellSkeleton = {
|
|
|
247
276
|
primaryWidth?: TableSkeletonWidth;
|
|
248
277
|
secondaryWidth?: TableSkeletonWidth;
|
|
249
278
|
tertiaryWidth?: TableSkeletonWidth;
|
|
279
|
+
} | {
|
|
280
|
+
kind: 'score-text';
|
|
281
|
+
lines?: 1 | 2 | 3;
|
|
282
|
+
primaryWidth?: TableSkeletonWidth;
|
|
283
|
+
secondaryWidth?: TableSkeletonWidth;
|
|
284
|
+
tertiaryWidth?: TableSkeletonWidth;
|
|
250
285
|
} | {
|
|
251
286
|
kind: 'action';
|
|
252
287
|
/** Icon actions use a square control canvas; labeled actions may provide a wider width. */
|
|
@@ -307,6 +342,22 @@ export interface TableRow {
|
|
|
307
342
|
/** Make the complete row a keyboard- and pointer-activatable application target. */
|
|
308
343
|
interactive?: boolean;
|
|
309
344
|
}
|
|
345
|
+
/** Supporting copy on a group section header's second track. */
|
|
346
|
+
export interface TableGroupAccessory {
|
|
347
|
+
text: string;
|
|
348
|
+
/** Optional tooltip. Uses the shared dotted underline when present. */
|
|
349
|
+
help?: string;
|
|
350
|
+
}
|
|
351
|
+
/** Leading group-header accessory. Score is the first supported hero. */
|
|
352
|
+
export interface TableGroupHeroScore {
|
|
353
|
+
kind: 'score';
|
|
354
|
+
value: string | number;
|
|
355
|
+
level?: SafetyScoreLevel;
|
|
356
|
+
/** Accessible name prefix, for example “Safety score”. */
|
|
357
|
+
label?: string;
|
|
358
|
+
isLoading?: boolean;
|
|
359
|
+
}
|
|
360
|
+
export type TableGroupHero = TableGroupHeroScore;
|
|
310
361
|
export interface TableGroup {
|
|
311
362
|
/** Stable group identity. */
|
|
312
363
|
id: string;
|
|
@@ -321,6 +372,16 @@ export interface TableGroup {
|
|
|
321
372
|
* intent background and bold intent title color.
|
|
322
373
|
*/
|
|
323
374
|
intent?: TableGroupIntent;
|
|
375
|
+
/**
|
|
376
|
+
* Optional accessory copy on a second 24px track under the label and count.
|
|
377
|
+
* Middle-dot separated. At most four items are shown.
|
|
378
|
+
*/
|
|
379
|
+
accessories?: TableGroupAccessory[];
|
|
380
|
+
/**
|
|
381
|
+
* Optional leading hero before the label and count. A score uses sm on both
|
|
382
|
+
* single-track and two-track headers and sits at the start of the copy stack.
|
|
383
|
+
*/
|
|
384
|
+
hero?: TableGroupHero;
|
|
324
385
|
/** Whether this group has more member rows available to load. */
|
|
325
386
|
hasMore?: boolean;
|
|
326
387
|
/** 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;
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import type { TableGroupingState } from '../Table/table-types';
|
|
2
|
+
import type { TableGroupingState, TableSortDirection } from '../Table/table-types';
|
|
3
|
+
export interface TableGroupOrderOption {
|
|
4
|
+
label: string;
|
|
5
|
+
direction: TableSortDirection;
|
|
6
|
+
/** Optional application-owned data point used to order the group sections. */
|
|
7
|
+
orderBy?: string;
|
|
8
|
+
}
|
|
3
9
|
export interface TableGroupOption {
|
|
4
10
|
label: string;
|
|
5
11
|
value: string;
|
|
6
12
|
description?: string;
|
|
7
13
|
isInactive?: boolean;
|
|
14
|
+
/** Product-owned order choices for this grouping data point. */
|
|
15
|
+
orderOptions?: TableGroupOrderOption[];
|
|
8
16
|
}
|
|
9
17
|
export declare class TableGroup {
|
|
10
18
|
private el;
|
|
@@ -51,10 +59,12 @@ export declare class TableGroup {
|
|
|
51
59
|
private finishClose;
|
|
52
60
|
private focusInitialDataPoint;
|
|
53
61
|
private selectData;
|
|
54
|
-
private
|
|
62
|
+
private get activeOrderOptions();
|
|
63
|
+
private get selectedOrderIndex();
|
|
64
|
+
private selectOrder;
|
|
55
65
|
private moveFocus;
|
|
56
66
|
private renderDataOption;
|
|
57
|
-
private
|
|
67
|
+
private renderOrder;
|
|
58
68
|
render(): any;
|
|
59
69
|
}
|
|
60
70
|
//# sourceMappingURL=TableGroup.d.ts.map
|
|
@@ -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;
|