@ni/nimble-components 31.3.0 → 32.0.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.
@@ -1,7 +1,7 @@
1
1
  import { css } from '@microsoft/fast-element';
2
2
  import { White } from '@ni/nimble-tokens/dist/styledictionary/js/tokens';
3
3
  import { display } from '../utilities/style/display';
4
- import { applicationBackgroundColor, bodyFont, bodyFontColor, popupBorderColor, controlSlimHeight, mediumPadding, standardPadding, tableRowBorderColor, borderHoverColor } from '../theme-provider/design-tokens';
4
+ import { applicationBackgroundColor, bodyFont, bodyFontColor, popupBorderColor, controlSlimHeight, mediumPadding, standardPadding, tableRowBorderColor, borderHoverColor, controlHeight, tableFitRowsHeight, borderWidth } from '../theme-provider/design-tokens';
5
5
  import { Theme } from '../theme-provider/types';
6
6
  import { hexToRgbaCssColor } from '../utilities/style/colors';
7
7
  import { themeBehavior } from '../utilities/style/theme';
@@ -14,6 +14,15 @@ export const styles = css `
14
14
 
15
15
  :host {
16
16
  height: 480px;
17
+ ${tableFitRowsHeight.cssCustomProperty}: calc(var(--ni-private-table-scroll-height) + ${controlHeight});
18
+ ${
19
+ /**
20
+ * Set a default maximum height for the table of 40.5 rows plus the header row so
21
+ * that clients don't accidentally create a table that tries to render too many rows at once.
22
+ * If needed, the max-height can be overridden by the client, but setting a default ensures
23
+ * that the max-height is considered if a larger one is needed rather than being overlooked.
24
+ */ ''}
25
+ max-height: calc(${controlHeight} + (40.5 * (2 * ${borderWidth} + ${controlHeight})));
17
26
  --ni-private-column-divider-width: 2px;
18
27
  --ni-private-column-divider-padding: 3px;
19
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/table/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,kDAAkD,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM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AGxD,CACJ,CACJ,CAAC","sourcesContent":["import { css } from '@microsoft/fast-element';\nimport { White } from '@ni/nimble-tokens/dist/styledictionary/js/tokens';\nimport { display } from '../utilities/style/display';\nimport {\n applicationBackgroundColor,\n bodyFont,\n bodyFontColor,\n popupBorderColor,\n controlSlimHeight,\n mediumPadding,\n standardPadding,\n tableRowBorderColor,\n borderHoverColor\n} from '../theme-provider/design-tokens';\nimport { Theme } from '../theme-provider/types';\nimport { hexToRgbaCssColor } from '../utilities/style/colors';\nimport { themeBehavior } from '../utilities/style/theme';\nimport { userSelectNone } from '../utilities/style/user-select';\nimport { accessiblyHidden } from '../utilities/style/accessibly-hidden';\nimport { ZIndexLevels } from '../utilities/style/types';\nimport { focusVisible } from '../utilities/style/focus';\n\nexport const styles = css`\n ${display('flex')}\n\n :host {\n height: 480px;\n --ni-private-column-divider-width: 2px;\n --ni-private-column-divider-padding: 3px;\n }\n\n :host(${focusVisible}) {\n ${\n /* The table can briefly be focused in some keyboard nav cases (e.g. regaining focus and we\n need to scroll to the previously focused row first). Ensure that we don't get the browser-default\n focus outline in that case.\n ) */ ''\n }\n outline: none;\n }\n\n .disable-select {\n ${userSelectNone}\n }\n\n .table-container {\n overflow: hidden;\n display: flex;\n flex-direction: column;\n width: 100%;\n font: ${bodyFont};\n color: ${bodyFontColor};\n cursor: var(--ni-private-table-cursor-override);\n }\n\n .glass-overlay {\n width: 100%;\n height: 100%;\n display: contents;\n pointer-events: var(--ni-private-glass-overlay-pointer-events);\n }\n\n .header-row-container {\n position: sticky;\n top: 0;\n }\n\n .header-row {\n display: flex;\n background: ${applicationBackgroundColor};\n position: relative;\n width: fit-content;\n min-width: max(\n 100%,\n calc(\n var(--ni-private-table-scrollable-min-width) +\n var(--ni-private-table-header-container-margin-right)\n )\n );\n left: var(--ni-private-table-scroll-x);\n align-items: center;\n }\n\n .header-row-action-container {\n display: flex;\n }\n\n .checkbox-container {\n display: flex;\n }\n\n .column-headers-container {\n display: grid;\n width: 100%;\n grid-template-columns: var(--ni-private-table-row-grid-columns) auto;\n }\n\n .collapse-all-button-container {\n display: flex;\n min-width: ${mediumPadding};\n }\n\n .collapse-all-button {\n height: ${controlSlimHeight};\n margin-left: ${mediumPadding};\n visibility: hidden;\n }\n\n .collapse-all-button.hidden-size-reduced {\n display: none;\n }\n\n .collapse-all-button.visible {\n visibility: visible;\n }\n\n .header-container {\n display: flex;\n align-items: center;\n position: relative;\n }\n\n .header-scrollbar-spacer {\n width: var(--ni-private-table-header-container-margin-right);\n }\n\n .header {\n flex: 1;\n overflow: hidden;\n }\n\n .column-divider {\n border-left: var(--ni-private-column-divider-width) solid\n ${popupBorderColor};\n display: none;\n height: ${controlSlimHeight};\n cursor: col-resize;\n position: absolute;\n z-index: ${ZIndexLevels.zIndex1};\n }\n\n .column-divider:hover,\n .column-divider.divider-active {\n border-color: ${borderHoverColor};\n }\n\n .column-divider.column-active.draggable,\n .header-container:hover .column-divider.draggable {\n display: block;\n }\n\n .column-divider::before {\n content: '';\n position: absolute;\n width: calc(\n var(--ni-private-column-divider-width) +\n (2 * var(--ni-private-column-divider-padding))\n );\n height: 100%;\n left: calc(\n -1 * (var(--ni-private-column-divider-width) +\n var(--ni-private-column-divider-padding))\n );\n }\n\n .column-divider.left {\n left: -1px;\n }\n\n .column-divider.right {\n left: calc(100% - 1px);\n }\n\n .table-viewport {\n overflow: auto;\n display: block;\n height: 100%;\n position: relative;\n }\n\n .table-viewport${focusVisible} {\n outline: none;\n }\n\n .table-scroll {\n pointer-events: none;\n position: absolute;\n top: 0px;\n width: 100%;\n height: var(--ni-private-table-scroll-height);\n }\n\n .table-row-container {\n width: fit-content;\n min-width: max(100%, var(--ni-private-table-scrollable-min-width));\n position: relative;\n top: var(--ni-private-table-row-container-top);\n background-color: ${tableRowBorderColor};\n }\n\n .selection-checkbox {\n margin-left: ${standardPadding};\n }\n\n .selection-checkbox::part(label) {\n padding-left: 0px;\n }\n\n .group-row {\n position: relative;\n --ni-private-table-cell-focus-offset-multiplier: 0;\n }\n\n .row {\n position: relative;\n --ni-private-table-cell-focus-offset-multiplier: 0;\n }\n\n .collapse-all-visible .row,\n .collapse-all-visible .group-row {\n --ni-private-table-cell-focus-offset-multiplier: 1;\n }\n\n .accessibly-hidden {\n ${accessiblyHidden}\n }\n`.withBehaviors(\n themeBehavior(\n Theme.color,\n css`\n .table-row-container::before {\n content: '';\n width: 100%;\n height: 100%;\n background-color: ${hexToRgbaCssColor(White, 0.1)};\n position: absolute;\n }\n `\n )\n);\n"]}
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/table/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,kDAAkD,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EACH,0BAA0B,EAC1B,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,WAAW,EACd,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;MACnB,OAAO,CAAC,MAAM,CAAC;;;;UAIX,kBAAkB,CAAC,iBAAiB,kDAAkD,aAAa;UACnG;AACE;;;;;GAKG,CAAC,EACR;2BACmB,aAAa,mBAAmB,WAAW,MAAM,aAAa;;;;;YAK7E,YAAY;UACd;AACE;;;IAGA,CAAC,EACL;;;;;UAKE,cAAc;;;;;;;;gBAQR,QAAQ;iBACP,aAAa;;;;;;;;;;;;;;;;;;sBAkBR,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA8B3B,aAAa;;;;kBAIhB,iBAAiB;uBACZ,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6BtB,gBAAgB;;kBAEZ,iBAAiB;;;mBAGhB,YAAY,CAAC,OAAO;;;;;wBAKf,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAqCnB,YAAY;;;;;;;;;;;;;;;;;4BAiBL,mBAAmB;;;;uBAIxB,eAAe;;;;;;;;;;;;;;;;;;;;;;;UAuB5B,gBAAgB;;CAEzB,CAAC,aAAa,CACX,aAAa,CACT,KAAK,CAAC,KAAK,EACX,GAAG,CAAA;;;;;oCAKyB,iBAAiB,CAAC,KAAK,EAAE,GAAG,CAAC;;;SAGxD,CACJ,CACJ,CAAC","sourcesContent":["import { css } from '@microsoft/fast-element';\nimport { White } from '@ni/nimble-tokens/dist/styledictionary/js/tokens';\nimport { display } from '../utilities/style/display';\nimport {\n applicationBackgroundColor,\n bodyFont,\n bodyFontColor,\n popupBorderColor,\n controlSlimHeight,\n mediumPadding,\n standardPadding,\n tableRowBorderColor,\n borderHoverColor,\n controlHeight,\n tableFitRowsHeight,\n borderWidth\n} from '../theme-provider/design-tokens';\nimport { Theme } from '../theme-provider/types';\nimport { hexToRgbaCssColor } from '../utilities/style/colors';\nimport { themeBehavior } from '../utilities/style/theme';\nimport { userSelectNone } from '../utilities/style/user-select';\nimport { accessiblyHidden } from '../utilities/style/accessibly-hidden';\nimport { ZIndexLevels } from '../utilities/style/types';\nimport { focusVisible } from '../utilities/style/focus';\n\nexport const styles = css`\n ${display('flex')}\n\n :host {\n height: 480px;\n ${tableFitRowsHeight.cssCustomProperty}: calc(var(--ni-private-table-scroll-height) + ${controlHeight});\n ${\n /**\n * Set a default maximum height for the table of 40.5 rows plus the header row so\n * that clients don't accidentally create a table that tries to render too many rows at once.\n * If needed, the max-height can be overridden by the client, but setting a default ensures\n * that the max-height is considered if a larger one is needed rather than being overlooked.\n */ ''\n }\n max-height: calc(${controlHeight} + (40.5 * (2 * ${borderWidth} + ${controlHeight})));\n --ni-private-column-divider-width: 2px;\n --ni-private-column-divider-padding: 3px;\n }\n\n :host(${focusVisible}) {\n ${\n /* The table can briefly be focused in some keyboard nav cases (e.g. regaining focus and we\n need to scroll to the previously focused row first). Ensure that we don't get the browser-default\n focus outline in that case.\n ) */ ''\n }\n outline: none;\n }\n\n .disable-select {\n ${userSelectNone}\n }\n\n .table-container {\n overflow: hidden;\n display: flex;\n flex-direction: column;\n width: 100%;\n font: ${bodyFont};\n color: ${bodyFontColor};\n cursor: var(--ni-private-table-cursor-override);\n }\n\n .glass-overlay {\n width: 100%;\n height: 100%;\n display: contents;\n pointer-events: var(--ni-private-glass-overlay-pointer-events);\n }\n\n .header-row-container {\n position: sticky;\n top: 0;\n }\n\n .header-row {\n display: flex;\n background: ${applicationBackgroundColor};\n position: relative;\n width: fit-content;\n min-width: max(\n 100%,\n calc(\n var(--ni-private-table-scrollable-min-width) +\n var(--ni-private-table-header-container-margin-right)\n )\n );\n left: var(--ni-private-table-scroll-x);\n align-items: center;\n }\n\n .header-row-action-container {\n display: flex;\n }\n\n .checkbox-container {\n display: flex;\n }\n\n .column-headers-container {\n display: grid;\n width: 100%;\n grid-template-columns: var(--ni-private-table-row-grid-columns) auto;\n }\n\n .collapse-all-button-container {\n display: flex;\n min-width: ${mediumPadding};\n }\n\n .collapse-all-button {\n height: ${controlSlimHeight};\n margin-left: ${mediumPadding};\n visibility: hidden;\n }\n\n .collapse-all-button.hidden-size-reduced {\n display: none;\n }\n\n .collapse-all-button.visible {\n visibility: visible;\n }\n\n .header-container {\n display: flex;\n align-items: center;\n position: relative;\n }\n\n .header-scrollbar-spacer {\n width: var(--ni-private-table-header-container-margin-right);\n }\n\n .header {\n flex: 1;\n overflow: hidden;\n }\n\n .column-divider {\n border-left: var(--ni-private-column-divider-width) solid\n ${popupBorderColor};\n display: none;\n height: ${controlSlimHeight};\n cursor: col-resize;\n position: absolute;\n z-index: ${ZIndexLevels.zIndex1};\n }\n\n .column-divider:hover,\n .column-divider.divider-active {\n border-color: ${borderHoverColor};\n }\n\n .column-divider.column-active.draggable,\n .header-container:hover .column-divider.draggable {\n display: block;\n }\n\n .column-divider::before {\n content: '';\n position: absolute;\n width: calc(\n var(--ni-private-column-divider-width) +\n (2 * var(--ni-private-column-divider-padding))\n );\n height: 100%;\n left: calc(\n -1 * (var(--ni-private-column-divider-width) +\n var(--ni-private-column-divider-padding))\n );\n }\n\n .column-divider.left {\n left: -1px;\n }\n\n .column-divider.right {\n left: calc(100% - 1px);\n }\n\n .table-viewport {\n overflow: auto;\n display: block;\n height: 100%;\n position: relative;\n }\n\n .table-viewport${focusVisible} {\n outline: none;\n }\n\n .table-scroll {\n pointer-events: none;\n position: absolute;\n top: 0px;\n width: 100%;\n height: var(--ni-private-table-scroll-height);\n }\n\n .table-row-container {\n width: fit-content;\n min-width: max(100%, var(--ni-private-table-scrollable-min-width));\n position: relative;\n top: var(--ni-private-table-row-container-top);\n background-color: ${tableRowBorderColor};\n }\n\n .selection-checkbox {\n margin-left: ${standardPadding};\n }\n\n .selection-checkbox::part(label) {\n padding-left: 0px;\n }\n\n .group-row {\n position: relative;\n --ni-private-table-cell-focus-offset-multiplier: 0;\n }\n\n .row {\n position: relative;\n --ni-private-table-cell-focus-offset-multiplier: 0;\n }\n\n .collapse-all-visible .row,\n .collapse-all-visible .group-row {\n --ni-private-table-cell-focus-offset-multiplier: 1;\n }\n\n .accessibly-hidden {\n ${accessiblyHidden}\n }\n`.withBehaviors(\n themeBehavior(\n Theme.color,\n css`\n .table-row-container::before {\n content: '';\n width: 100%;\n height: 100%;\n background-color: ${hexToRgbaCssColor(White, 0.1)};\n position: absolute;\n }\n `\n )\n);\n"]}
@@ -17,11 +17,11 @@ export const template = html `
17
17
  aria-multiselectable="${x => x.ariaMultiSelectable}"
18
18
  ${children({ property: 'childItems', filter: elements() })}
19
19
  >
20
+ <style>:host{ --ni-private-table-scroll-height: ${x => x.virtualizer.scrollHeight}px; }</style>
20
21
  <div class="table-container ${x => (x.windowShiftKeyDown ? 'disable-select' : '')}"
21
22
  style="
22
23
  --ni-private-table-scroll-x: -${x => x.scrollX}px;
23
24
  --ni-private-table-header-container-margin-right: ${x => x.virtualizer.headerContainerMarginRight}px;
24
- --ni-private-table-scroll-height: ${x => x.virtualizer.scrollHeight}px;
25
25
  --ni-private-table-row-container-top: ${x => x.virtualizer.rowContainerYOffset}px;
26
26
  --ni-private-table-row-grid-columns: ${x => (x.rowGridColumns ? x.rowGridColumns : '')};
27
27
  --ni-private-table-cursor-override: ${x => (x.layoutManager.isColumnBeingSized ? 'col-resize' : 'default')};
@@ -1 +1 @@
1
- {"version":3,"file":"template.js","sourceRoot":"","sources":["../../../src/table/template.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,GAAG,EACH,MAAM,EACN,IAAI,EACP,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAIH,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EAEzB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EAAE,WAAW,EAAE,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C,EAAE,CAA0B,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,cAAc,IAAI,EAAE,CAAC,EAAE,IAAI,CAAc;;oDAEnG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI;oDACX,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI;;qCAE1B,CAAC;wCACE,WAAW;iCAClB,CAAC;6BACL,CAAC;yBACL,CAAC;;;;;;CAMzB,CAAC","sourcesContent":["import {\n ExecutionContext,\n children,\n elements,\n html,\n ref,\n repeat,\n when\n} from '@microsoft/fast-element';\nimport type { VirtualItem } from '@tanstack/virtual-core';\nimport type { Table } from '.';\nimport { tableHeaderTag } from './components/header';\nimport { tableRowTag } from './components/row';\nimport type { TableColumn } from '../table-column/base';\nimport {\n RowSlotRequestEventDetail,\n SlotMetadata,\n TableActionMenuToggleEventDetail,\n TableColumnSortDirection,\n TableRowSelectionMode,\n TableRowSelectionState,\n TableRowSelectionToggleEventDetail\n} from './types';\nimport { tableGroupRowTag } from './components/group-row';\nimport { buttonTag } from '../button';\nimport { ButtonAppearance } from '../button/types';\nimport { iconTriangleTwoLinesHorizontalTag } from '../icons/triangle-two-lines-horizontal';\nimport { checkboxTag } from '../checkbox';\nimport {\n tableCollapseAllLabel,\n tableRowOperationColumnLabel,\n tableSelectAllLabel\n} from '../label-provider/table/label-tokens';\n\n// prettier-ignore\nexport const template = html<Table>`\n <template\n role=\"treegrid\"\n ${'' /* tabindex managed dynamically by KeyboardNavigationManager */}\n tabindex=\"0\"\n aria-multiselectable=\"${x => x.ariaMultiSelectable}\"\n ${children({ property: 'childItems', filter: elements() })}\n >\n <div class=\"table-container ${x => (x.windowShiftKeyDown ? 'disable-select' : '')}\"\n style=\"\n --ni-private-table-scroll-x: -${x => x.scrollX}px;\n --ni-private-table-header-container-margin-right: ${x => x.virtualizer.headerContainerMarginRight}px;\n --ni-private-table-scroll-height: ${x => x.virtualizer.scrollHeight}px;\n --ni-private-table-row-container-top: ${x => x.virtualizer.rowContainerYOffset}px;\n --ni-private-table-row-grid-columns: ${x => (x.rowGridColumns ? x.rowGridColumns : '')};\n --ni-private-table-cursor-override: ${x => (x.layoutManager.isColumnBeingSized ? 'col-resize' : 'default')};\n --ni-private-table-scrollable-min-width: ${x => x.tableScrollableMinWidth}px;\n --ni-private-glass-overlay-pointer-events: ${x => (x.layoutManager.isColumnBeingSized ? 'none' : 'default')};\n \">\n <div class=\"glass-overlay\">\n <div role=\"rowgroup\" class=\"header-row-container\">\n <div class=\"header-row\" role=\"row\">\n <span role=\"${x => (x.showRowOperationColumn ? 'columnheader' : '')}\" class=\"header-row-action-container\" ${ref('headerRowActionContainer')}>\n ${when(x => x.showRowOperationColumn, html<Table>`\n <span class=\"accessibly-hidden\">\n ${x => tableRowOperationColumnLabel.getValueFor(x)}\n </span>\n `)}\n ${when(x => x.selectionMode === TableRowSelectionMode.multiple, html<Table>`\n <span class=\"checkbox-container\">\n <${checkboxTag}\n ${ref('selectionCheckbox')}\n ${'' /* tabindex managed dynamically by KeyboardNavigationManager */}\n tabindex=\"-1\"\n class=\"selection-checkbox\"\n @change=\"${(x, c) => x.onAllRowsSelectionChange(c.event as CustomEvent)}\"\n title=\"${x => tableSelectAllLabel.getValueFor(x)}\"\n aria-label=\"${x => tableSelectAllLabel.getValueFor(x)}\"\n >\n </${checkboxTag}>\n </span>\n `)}\n <span class=\"collapse-all-button-container\">\n <${buttonTag}\n ${ref('collapseAllButton')}\n ${'' /* tabindex managed dynamically by KeyboardNavigationManager */}\n tabindex=\"-1\"\n class=\"collapse-all-button ${x => x.collapseButtonVisibility}\"\n content-hidden\n appearance=\"${ButtonAppearance.ghost}\"\n title=\"${x => tableCollapseAllLabel.getValueFor(x)}\"\n @click=\"${x => x.handleCollapseAllRows()}\"\n >\n <${iconTriangleTwoLinesHorizontalTag} slot=\"start\"></${iconTriangleTwoLinesHorizontalTag}>\n ${x => tableCollapseAllLabel.getValueFor(x)}\n </${buttonTag}>\n </span>\n </span>\n <span class=\"column-headers-container\" ${ref('columnHeadersContainer')}>\n ${repeat(x => x.visibleColumns, html<TableColumn, Table>`\n <div class=\"header-container\">\n ${when((_, c) => c.index > 0, html<TableColumn, Table>`\n <div\n class=\"\n column-divider\n left\n ${(_, c) => `${c.parent.layoutManager.activeColumnIndex === c.index ? 'column-active' : ''}`}\n ${(_, c) => `${c.parent.layoutManager.activeColumnDivider === c.parent.getLeftDividerIndex(c.index) ? 'divider-active' : ''}`}\n ${(_, c) => `${c.parent.layoutManager.hasResizableColumnToLeft(c.index - 1) ? 'draggable' : ''}`}\n \"\n @mousedown=\"${(_, c) => c.parent.onLeftDividerMouseDown(c.event as MouseEvent, c.index)}\">\n </div>\n `)}\n <${tableHeaderTag}\n class=\"header\"\n ${'' /* tabindex managed dynamically by KeyboardNavigationManager (if column sorting not disabled) */}\n sort-direction=\"${x => (typeof x.columnInternals.currentSortIndex === 'number' ? x.columnInternals.currentSortDirection : TableColumnSortDirection.none)}\"\n ?first-sorted-column=\"${(x, c) => x === c.parent.firstSortedColumn}\"\n ?indicators-hidden=\"${x => x.columnInternals.hideHeaderIndicators}\"\n @keydown=\"${(x, c) => c.parent.onHeaderKeyDown(x, c.event as KeyboardEvent)}\"\n @click=\"${(x, c) => c.parent.toggleColumnSort(x, (c.event as MouseEvent).shiftKey)}\"\n :alignment=\"${x => x.columnInternals.headerAlignment}\"\n :isGrouped=${x => (typeof x.columnInternals.groupIndex === 'number' && !x.columnInternals.groupingDisabled)}\n >\n <slot name=\"${x => x.slot}\"></slot>\n </${tableHeaderTag}>\n ${when((_, c) => c.index < c.length - 1, html<TableColumn, Table>`\n <div\n class=\"\n column-divider\n right\n ${(_, c) => `${c.parent.layoutManager.activeColumnIndex === c.index ? 'column-active' : ''}`}\n ${(_, c) => `${c.parent.layoutManager.activeColumnDivider === c.parent.getRightDividerIndex(c.index) ? 'divider-active' : ''}`}\n ${(_, c) => `${c.parent.layoutManager.hasResizableColumnToLeft(c.index) ? 'draggable' : ''}`}\n \"\n @mousedown=\"${(_, c) => c.parent.onRightDividerMouseDown(c.event as MouseEvent, c.index)}\">\n </div>\n `)} \n </div>\n `, { positioning: true })}\n <div class=\"header-scrollbar-spacer\"></div>\n </span>\n </div>\n </div>\n <div class=\"table-viewport\" tabindex=\"-1\" ${ref('viewport')}>\n <div class=\"table-scroll\"></div>\n <div class=\"table-row-container ${x => `${x.showCollapseAll ? 'collapse-all-visible' : ''}`}\" ${children({ property: 'rowElements', filter: elements(`${tableRowTag}, ${tableGroupRowTag}`) })}\n role=\"rowgroup\">\n ${when(x => x.columns.length > 0 && x.canRenderRows, html<Table>`\n ${repeat(x => x.virtualizer.visibleItems, html<VirtualItem<HTMLElement>, Table>`\n ${when((x, c: ExecutionContext<Table>) => c.parent.tableData[x.index]?.isGroupRow, html<VirtualItem<HTMLElement>, Table>`\n <${tableGroupRowTag}\n class=\"group-row\"\n ${'' /* tabindex managed dynamically by KeyboardNavigationManager */}\n tabindex=\"-1\"\n :groupRowValue=\"${(x, c) => c.parent.tableData[x.index]?.groupRowValue}\"\n ?expanded=\"${(x, c) => c.parent.tableData[x.index]?.isExpanded}\"\n :nestingLevel=\"${(x, c) => c.parent.tableData[x.index]?.nestingLevel}\"\n :immediateChildCount=\"${(x, c) => c.parent.tableData[x.index]?.immediateChildCount}\"\n :groupColumn=\"${(x, c) => c.parent.tableData[x.index]?.groupColumn}\"\n ?selectable=\"${(_, c) => c.parent.selectionMode === TableRowSelectionMode.multiple}\"\n selection-state=\"${(x, c) => c.parent.tableData[x.index]?.selectionState}\"\n :resolvedRowIndex=\"${x => x.index}\"\n @focusin=\"${(_, c) => c.parent.onRowFocusIn(c.event as FocusEvent)}\"\n @blur=\"${(_, c) => c.parent.onRowBlur(c.event as FocusEvent)}\"\n @group-selection-toggle=\"${(x, c) => c.parent.onRowSelectionToggle(x.index, c.event as CustomEvent<TableRowSelectionToggleEventDetail>)}\"\n @group-expand-toggle=\"${(x, c) => c.parent.handleGroupRowExpanded(x.index, c.event)}\"\n >\n </${tableGroupRowTag}>\n `)}\n ${when((x, c: ExecutionContext<Table>) => !c.parent.tableData[x.index]?.isGroupRow, html<VirtualItem<HTMLElement>, Table>`\n <${tableRowTag}\n class=\"row\"\n ${'' /* tabindex managed dynamically by KeyboardNavigationManager */}\n tabindex=\"-1\"\n record-id=\"${(x, c) => c.parent.tableData[x.index]?.id}\"\n ?selectable=\"${(_, c) => c.parent.selectionMode !== TableRowSelectionMode.none}\"\n ?selected=\"${(x, c) => c.parent.tableData[x.index]?.selectionState === TableRowSelectionState.selected}\"\n ?expanded=\"${(x, c) => c.parent.tableData[x.index]?.isExpanded}\"\n ?hide-selection=\"${(_, c) => c.parent.selectionMode !== TableRowSelectionMode.multiple}\"\n ?reserve-collapse-space=\"${(_, c) => c.parent.canHaveCollapsibleRows}\"\n :dataRecord=\"${(x, c) => c.parent.tableData[x.index]?.record}\"\n :columns=\"${(_, c) => c.parent.columns}\"\n :isParentRow=\"${(x, c) => c.parent.tableData[x.index]?.isParentRow}\"\n :nestingLevel=\"${(x, c) => c.parent.tableData[x.index]?.nestingLevel}\"\n ?row-operation-grid-cell-hidden=\"${(_, c) => !c.parent.showRowOperationColumn}\"\n ?loading=\"${(x, c) => c.parent.tableData[x.index]?.isLoadingChildren}\"\n :resolvedRowIndex=\"${x => x.index}\"\n @click=\"${(x, c) => c.parent.onRowClick(x.index, c.event as MouseEvent)}\"\n @focusin=\"${(_, c) => c.parent.onRowFocusIn(c.event as FocusEvent)}\"\n @blur=\"${(_, c) => c.parent.onRowBlur(c.event as FocusEvent)}\"\n @row-selection-toggle=\"${(x, c) => c.parent.onRowSelectionToggle(x.index, c.event as CustomEvent<TableRowSelectionToggleEventDetail>)}\"\n @row-action-menu-beforetoggle=\"${(x, c) => c.parent.onRowActionMenuBeforeToggle(x.index, c.event as CustomEvent<TableActionMenuToggleEventDetail>)}\"\n @row-action-menu-toggle=\"${(_, c) => c.parent.onRowActionMenuToggle(c.event as CustomEvent<TableActionMenuToggleEventDetail>)}\"\n @row-slots-request=\"${(_, c) => c.parent.onRowSlotsRequest(c.event as CustomEvent<RowSlotRequestEventDetail>)}\"\n @row-expand-toggle=\"${(x, c) => c.parent.handleRowExpanded(x.index)}\"\n >\n ${repeat((x, c: ExecutionContext<Table>) => (c.parent.tableData[x.index]?.requestedSlots || []), html<SlotMetadata>`\n <slot\n name=\"${x => x.name}\"\n slot=\"${x => x.slot}\"\n ></slot>\n `)}\n </${tableRowTag}>\n `)}\n `)}\n `)}\n </div>\n </div>\n </div>\n </div>\n </template>\n`;\n"]}
1
+ {"version":3,"file":"template.js","sourceRoot":"","sources":["../../../src/table/template.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,GAAG,EACH,MAAM,EACN,IAAI,EACP,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAIH,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EAEzB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EACH,qBAAqB,EACrB,4BAA4B,EAC5B,mBAAmB,EACtB,MAAM,sCAAsC,CAAC;AAE9C,kBAAkB;AAClB,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,CAAO;;;UAGzB,EAAE,CAAC,+DAA+D;;gCAE5C,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,mBAAm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E1B,CAAC;wCACE,WAAW;iCAClB,CAAC;6BACL,CAAC;yBACL,CAAC;;;;;;CAMzB,CAAC","sourcesContent":["import {\n ExecutionContext,\n children,\n elements,\n html,\n ref,\n repeat,\n when\n} from '@microsoft/fast-element';\nimport type { VirtualItem } from '@tanstack/virtual-core';\nimport type { Table } from '.';\nimport { tableHeaderTag } from './components/header';\nimport { tableRowTag } from './components/row';\nimport type { TableColumn } from '../table-column/base';\nimport {\n RowSlotRequestEventDetail,\n SlotMetadata,\n TableActionMenuToggleEventDetail,\n TableColumnSortDirection,\n TableRowSelectionMode,\n TableRowSelectionState,\n TableRowSelectionToggleEventDetail\n} from './types';\nimport { tableGroupRowTag } from './components/group-row';\nimport { buttonTag } from '../button';\nimport { ButtonAppearance } from '../button/types';\nimport { iconTriangleTwoLinesHorizontalTag } from '../icons/triangle-two-lines-horizontal';\nimport { checkboxTag } from '../checkbox';\nimport {\n tableCollapseAllLabel,\n tableRowOperationColumnLabel,\n tableSelectAllLabel\n} from '../label-provider/table/label-tokens';\n\n// prettier-ignore\nexport const template = html<Table>`\n <template\n role=\"treegrid\"\n ${'' /* tabindex managed dynamically by KeyboardNavigationManager */}\n tabindex=\"0\"\n aria-multiselectable=\"${x => x.ariaMultiSelectable}\"\n ${children({ property: 'childItems', filter: elements() })}\n >\n <style>:host{ --ni-private-table-scroll-height: ${x => x.virtualizer.scrollHeight}px; }</style>\n <div class=\"table-container ${x => (x.windowShiftKeyDown ? 'disable-select' : '')}\"\n style=\"\n --ni-private-table-scroll-x: -${x => x.scrollX}px;\n --ni-private-table-header-container-margin-right: ${x => x.virtualizer.headerContainerMarginRight}px;\n --ni-private-table-row-container-top: ${x => x.virtualizer.rowContainerYOffset}px;\n --ni-private-table-row-grid-columns: ${x => (x.rowGridColumns ? x.rowGridColumns : '')};\n --ni-private-table-cursor-override: ${x => (x.layoutManager.isColumnBeingSized ? 'col-resize' : 'default')};\n --ni-private-table-scrollable-min-width: ${x => x.tableScrollableMinWidth}px;\n --ni-private-glass-overlay-pointer-events: ${x => (x.layoutManager.isColumnBeingSized ? 'none' : 'default')};\n \">\n <div class=\"glass-overlay\">\n <div role=\"rowgroup\" class=\"header-row-container\">\n <div class=\"header-row\" role=\"row\">\n <span role=\"${x => (x.showRowOperationColumn ? 'columnheader' : '')}\" class=\"header-row-action-container\" ${ref('headerRowActionContainer')}>\n ${when(x => x.showRowOperationColumn, html<Table>`\n <span class=\"accessibly-hidden\">\n ${x => tableRowOperationColumnLabel.getValueFor(x)}\n </span>\n `)}\n ${when(x => x.selectionMode === TableRowSelectionMode.multiple, html<Table>`\n <span class=\"checkbox-container\">\n <${checkboxTag}\n ${ref('selectionCheckbox')}\n ${'' /* tabindex managed dynamically by KeyboardNavigationManager */}\n tabindex=\"-1\"\n class=\"selection-checkbox\"\n @change=\"${(x, c) => x.onAllRowsSelectionChange(c.event as CustomEvent)}\"\n title=\"${x => tableSelectAllLabel.getValueFor(x)}\"\n aria-label=\"${x => tableSelectAllLabel.getValueFor(x)}\"\n >\n </${checkboxTag}>\n </span>\n `)}\n <span class=\"collapse-all-button-container\">\n <${buttonTag}\n ${ref('collapseAllButton')}\n ${'' /* tabindex managed dynamically by KeyboardNavigationManager */}\n tabindex=\"-1\"\n class=\"collapse-all-button ${x => x.collapseButtonVisibility}\"\n content-hidden\n appearance=\"${ButtonAppearance.ghost}\"\n title=\"${x => tableCollapseAllLabel.getValueFor(x)}\"\n @click=\"${x => x.handleCollapseAllRows()}\"\n >\n <${iconTriangleTwoLinesHorizontalTag} slot=\"start\"></${iconTriangleTwoLinesHorizontalTag}>\n ${x => tableCollapseAllLabel.getValueFor(x)}\n </${buttonTag}>\n </span>\n </span>\n <span class=\"column-headers-container\" ${ref('columnHeadersContainer')}>\n ${repeat(x => x.visibleColumns, html<TableColumn, Table>`\n <div class=\"header-container\">\n ${when((_, c) => c.index > 0, html<TableColumn, Table>`\n <div\n class=\"\n column-divider\n left\n ${(_, c) => `${c.parent.layoutManager.activeColumnIndex === c.index ? 'column-active' : ''}`}\n ${(_, c) => `${c.parent.layoutManager.activeColumnDivider === c.parent.getLeftDividerIndex(c.index) ? 'divider-active' : ''}`}\n ${(_, c) => `${c.parent.layoutManager.hasResizableColumnToLeft(c.index - 1) ? 'draggable' : ''}`}\n \"\n @mousedown=\"${(_, c) => c.parent.onLeftDividerMouseDown(c.event as MouseEvent, c.index)}\">\n </div>\n `)}\n <${tableHeaderTag}\n class=\"header\"\n ${'' /* tabindex managed dynamically by KeyboardNavigationManager (if column sorting not disabled) */}\n sort-direction=\"${x => (typeof x.columnInternals.currentSortIndex === 'number' ? x.columnInternals.currentSortDirection : TableColumnSortDirection.none)}\"\n ?first-sorted-column=\"${(x, c) => x === c.parent.firstSortedColumn}\"\n ?indicators-hidden=\"${x => x.columnInternals.hideHeaderIndicators}\"\n @keydown=\"${(x, c) => c.parent.onHeaderKeyDown(x, c.event as KeyboardEvent)}\"\n @click=\"${(x, c) => c.parent.toggleColumnSort(x, (c.event as MouseEvent).shiftKey)}\"\n :alignment=\"${x => x.columnInternals.headerAlignment}\"\n :isGrouped=${x => (typeof x.columnInternals.groupIndex === 'number' && !x.columnInternals.groupingDisabled)}\n >\n <slot name=\"${x => x.slot}\"></slot>\n </${tableHeaderTag}>\n ${when((_, c) => c.index < c.length - 1, html<TableColumn, Table>`\n <div\n class=\"\n column-divider\n right\n ${(_, c) => `${c.parent.layoutManager.activeColumnIndex === c.index ? 'column-active' : ''}`}\n ${(_, c) => `${c.parent.layoutManager.activeColumnDivider === c.parent.getRightDividerIndex(c.index) ? 'divider-active' : ''}`}\n ${(_, c) => `${c.parent.layoutManager.hasResizableColumnToLeft(c.index) ? 'draggable' : ''}`}\n \"\n @mousedown=\"${(_, c) => c.parent.onRightDividerMouseDown(c.event as MouseEvent, c.index)}\">\n </div>\n `)} \n </div>\n `, { positioning: true })}\n <div class=\"header-scrollbar-spacer\"></div>\n </span>\n </div>\n </div>\n <div class=\"table-viewport\" tabindex=\"-1\" ${ref('viewport')}>\n <div class=\"table-scroll\"></div>\n <div class=\"table-row-container ${x => `${x.showCollapseAll ? 'collapse-all-visible' : ''}`}\" ${children({ property: 'rowElements', filter: elements(`${tableRowTag}, ${tableGroupRowTag}`) })}\n role=\"rowgroup\">\n ${when(x => x.columns.length > 0 && x.canRenderRows, html<Table>`\n ${repeat(x => x.virtualizer.visibleItems, html<VirtualItem<HTMLElement>, Table>`\n ${when((x, c: ExecutionContext<Table>) => c.parent.tableData[x.index]?.isGroupRow, html<VirtualItem<HTMLElement>, Table>`\n <${tableGroupRowTag}\n class=\"group-row\"\n ${'' /* tabindex managed dynamically by KeyboardNavigationManager */}\n tabindex=\"-1\"\n :groupRowValue=\"${(x, c) => c.parent.tableData[x.index]?.groupRowValue}\"\n ?expanded=\"${(x, c) => c.parent.tableData[x.index]?.isExpanded}\"\n :nestingLevel=\"${(x, c) => c.parent.tableData[x.index]?.nestingLevel}\"\n :immediateChildCount=\"${(x, c) => c.parent.tableData[x.index]?.immediateChildCount}\"\n :groupColumn=\"${(x, c) => c.parent.tableData[x.index]?.groupColumn}\"\n ?selectable=\"${(_, c) => c.parent.selectionMode === TableRowSelectionMode.multiple}\"\n selection-state=\"${(x, c) => c.parent.tableData[x.index]?.selectionState}\"\n :resolvedRowIndex=\"${x => x.index}\"\n @focusin=\"${(_, c) => c.parent.onRowFocusIn(c.event as FocusEvent)}\"\n @blur=\"${(_, c) => c.parent.onRowBlur(c.event as FocusEvent)}\"\n @group-selection-toggle=\"${(x, c) => c.parent.onRowSelectionToggle(x.index, c.event as CustomEvent<TableRowSelectionToggleEventDetail>)}\"\n @group-expand-toggle=\"${(x, c) => c.parent.handleGroupRowExpanded(x.index, c.event)}\"\n >\n </${tableGroupRowTag}>\n `)}\n ${when((x, c: ExecutionContext<Table>) => !c.parent.tableData[x.index]?.isGroupRow, html<VirtualItem<HTMLElement>, Table>`\n <${tableRowTag}\n class=\"row\"\n ${'' /* tabindex managed dynamically by KeyboardNavigationManager */}\n tabindex=\"-1\"\n record-id=\"${(x, c) => c.parent.tableData[x.index]?.id}\"\n ?selectable=\"${(_, c) => c.parent.selectionMode !== TableRowSelectionMode.none}\"\n ?selected=\"${(x, c) => c.parent.tableData[x.index]?.selectionState === TableRowSelectionState.selected}\"\n ?expanded=\"${(x, c) => c.parent.tableData[x.index]?.isExpanded}\"\n ?hide-selection=\"${(_, c) => c.parent.selectionMode !== TableRowSelectionMode.multiple}\"\n ?reserve-collapse-space=\"${(_, c) => c.parent.canHaveCollapsibleRows}\"\n :dataRecord=\"${(x, c) => c.parent.tableData[x.index]?.record}\"\n :columns=\"${(_, c) => c.parent.columns}\"\n :isParentRow=\"${(x, c) => c.parent.tableData[x.index]?.isParentRow}\"\n :nestingLevel=\"${(x, c) => c.parent.tableData[x.index]?.nestingLevel}\"\n ?row-operation-grid-cell-hidden=\"${(_, c) => !c.parent.showRowOperationColumn}\"\n ?loading=\"${(x, c) => c.parent.tableData[x.index]?.isLoadingChildren}\"\n :resolvedRowIndex=\"${x => x.index}\"\n @click=\"${(x, c) => c.parent.onRowClick(x.index, c.event as MouseEvent)}\"\n @focusin=\"${(_, c) => c.parent.onRowFocusIn(c.event as FocusEvent)}\"\n @blur=\"${(_, c) => c.parent.onRowBlur(c.event as FocusEvent)}\"\n @row-selection-toggle=\"${(x, c) => c.parent.onRowSelectionToggle(x.index, c.event as CustomEvent<TableRowSelectionToggleEventDetail>)}\"\n @row-action-menu-beforetoggle=\"${(x, c) => c.parent.onRowActionMenuBeforeToggle(x.index, c.event as CustomEvent<TableActionMenuToggleEventDetail>)}\"\n @row-action-menu-toggle=\"${(_, c) => c.parent.onRowActionMenuToggle(c.event as CustomEvent<TableActionMenuToggleEventDetail>)}\"\n @row-slots-request=\"${(_, c) => c.parent.onRowSlotsRequest(c.event as CustomEvent<RowSlotRequestEventDetail>)}\"\n @row-expand-toggle=\"${(x, c) => c.parent.handleRowExpanded(x.index)}\"\n >\n ${repeat((x, c: ExecutionContext<Table>) => (c.parent.tableData[x.index]?.requestedSlots || []), html<SlotMetadata>`\n <slot\n name=\"${x => x.name}\"\n slot=\"${x => x.slot}\"\n ></slot>\n `)}\n </${tableRowTag}>\n `)}\n `)}\n `)}\n </div>\n </div>\n </div>\n </div>\n </template>\n`;\n"]}
@@ -50,6 +50,7 @@ export const comments = {
50
50
  spinnerSmallHeight: 'Small height (16px) for a spinner component',
51
51
  spinnerMediumHeight: 'Medium height (32px) for a spinner component',
52
52
  spinnerLargeHeight: 'Large height (64px) for a spinner component',
53
+ tableFitRowsHeight: 'The height of the table when all rows are visible. It is set automatically to the correct value within the scope of each table.',
53
54
  smallDelay: 'Elements with small transition areas, such as icons and selection controls, have short durations.',
54
55
  mediumDelay: 'Elements with larger transition areas, such as bottom sheets and expanding chips, have slightly longer durations.',
55
56
  largeDelay: 'Animated elements that traverse a large portion of the screen have the longest durations.',
@@ -1 +1 @@
1
- {"version":3,"file":"design-token-comments.js","sourceRoot":"","sources":["../../../src/theme-provider/design-token-comments.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,QAAQ,GAA4C;IAC7D,qBAAqB,EACjB,sGAAsG;IAC1G,0BAA0B,EAAE,8CAA8C;IAC1E,sBAAsB,EAAE,0BAA0B;IAClD,qBAAqB,EAAE,0CAA0C;IACjE,sBAAsB,EAAE,+BAA+B;IACvD,sBAAsB,EAClB,6DAA6D;IACjE,sBAAsB,EAClB,qDAAqD;IACzD,qBAAqB,EACjB,4DAA4D;IAChE,0BAA0B,EACtB,0DAA0D;IAC9D,4BAA4B,EACxB,4DAA4D;IAChE,8BAA8B,EAC1B,8DAA8D;IAClE,iBAAiB,EAAE,+CAA+C;IAClE,2BAA2B,EACvB,sGAAsG;IAC1G,sBAAsB,EAClB,qDAAqD;IACzD,cAAc,EAAE,4CAA4C;IAC5D,wBAAwB,EACpB,sGAAsG;IAC1G,aAAa,EAAE,gDAAgD;IAC/D,WAAW,EAAE,0CAA0C;IACvD,qBAAqB,EACjB,sGAAsG;IAC1G,SAAS,EAAE,2CAA2C;IACt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CAAuC;IACrE,6BAA6B,EAAE,wCAAwC;IACvE,+BAA+B,EAAE,0CAA0C;IAC3E,uCAAuC,EACnC,6CAA6C;IACjD,wCAAwC,EACpC,8CAA8C;IAClD,0CAA0C,EACtC,gDAAgD;IACpD,kCAAkC,EAC9B,kEAAkE;IACtE,6BAA6B,EACzB,0EAA0E;IAC9E,iCAAiC,EAC7B,mEAAmE;IACvE,uBAAuB,EAAE,oCAAoC;IAC7D,kCAAkC,EAC9B,yDAAyD;CAChE,CAAC","sourcesContent":["import type * as TokensNamespace from './design-tokens';\n\ntype TokenName = keyof typeof TokensNamespace;\n\nexport const comments: { readonly [key in TokenName]: string } = {\n actionRgbPartialColor:\n 'DEPRECATED: *-partial tokens are used with rgba() to set color transparency in component stylesheets',\n applicationBackgroundColor: 'Primary background color for the application',\n dividerBackgroundColor: 'Divider background color',\n headerBackgroundColor: 'Background color for application headers',\n sectionBackgroundColor: 'Background color for sections',\n buttonFillPrimaryColor:\n 'Control fill color for \"primary\" appearance-variant buttons',\n buttonPrimaryFontColor:\n 'Font color for \"primary\" appearance-variant buttons',\n buttonFillAccentColor:\n 'Control fill color for \"accent\" appearance-variant buttons',\n buttonAccentBlockFontColor:\n 'Font color for \"accent\" appearance-variant block buttons',\n buttonAccentOutlineFontColor:\n 'Font color for \"accent\" appearance-variant outline buttons',\n buttonBorderAccentOutlineColor:\n 'Border color for \"accent\" appearance-variant outline buttons',\n fillSelectedColor: 'Control fill color when a control is selected',\n fillSelectedRgbPartialColor:\n 'DEPRECATED: *-partial tokens are used with rgba() to set color transparency in component stylesheets',\n fillHoverSelectedColor:\n 'Control fill color when hovering a selected control',\n fillHoverColor: 'Control fill color when hovering component',\n fillHoverRgbPartialColor:\n 'DEPRECATED: *-partial tokens are used with rgba() to set color transparency in component stylesheets',\n fillDownColor: 'Control fill color when mousedown event occurs',\n borderColor: 'Standard control outline or border color',\n borderRgbPartialColor:\n 'DEPRECATED: *-partial tokens are used with rgba() to set color transparency in component stylesheets',\n failColor: 'Used to highlight errors or invalid input',\n warningColor:\n 'Used to highlight invalid input or for icons to indicate that a process errored or failed',\n passColor:\n 'Used to highlight a correct state or the successful completion of a process',\n informationColor:\n 'Used to highlight information, which provides more details on the item',\n borderHoverColor: 'Border color when hovering component',\n iconColor: 'Equivalent to the font color for icons',\n modalBackdropColor: 'Color of background overlay behind modal dialog boxes',\n popupBorderColor: 'Border color for menus and dialog boxes',\n cardBorderColor: 'Border color for cards',\n tagFillColor: 'Background fill color for tags, chips, or pills',\n controlHeight:\n 'Standard layout height for all controls. Add \"labelHeight\" for labels on top.',\n controlSlimHeight:\n 'Height of controls that are somewhat shorter than standard height.',\n smallPadding: 'Fixed 4px size ramp token for component layout',\n mediumPadding: 'Fixed 8px size ramp token for component layout',\n standardPadding: 'Fixed 16px size ramp token for component layout',\n largePadding: 'Fixed 24px size ramp token for component layout',\n labelHeight:\n 'Standard label height for components. Set the label font rather than explicitly setting the height for a label.',\n borderWidth: 'Standard border width for most components',\n iconSize: 'Standard layout height for all icons',\n groupHeaderTextTransform: 'CSS text-transform string to use for headers',\n drawerWidth: 'TODO: delete when able',\n dialogSmallWidth:\n 'Standard width for small dialogs like a confirmation dialog.',\n dialogSmallHeight:\n 'Standard height for small dialogs like a confirmation dialog.',\n dialogSmallMaxHeight:\n 'Standard maximum height for small dialogs like a confirmation dialog.',\n dialogLargeWidth: 'Standard width for large dialogs.',\n dialogLargeHeight: 'Standard height for large dialogs.',\n dialogLargeMaxHeight: 'Standard maximum height for large dialogs.',\n menuMinWidth: 'Standard menu min width for menu popup.',\n bannerGapSize: 'Space between stacked banners',\n spinnerSmallHeight: 'Small height (16px) for a spinner component',\n spinnerMediumHeight: 'Medium height (32px) for a spinner component',\n spinnerLargeHeight: 'Large height (64px) for a spinner component',\n smallDelay:\n 'Elements with small transition areas, such as icons and selection controls, have short durations.',\n mediumDelay:\n 'Elements with larger transition areas, such as bottom sheets and expanding chips, have slightly longer durations.',\n largeDelay:\n 'Animated elements that traverse a large portion of the screen have the longest durations.',\n headlinePlus1Font: 'Font shorthand for the \"Headline_2\" base token',\n headlinePlus1FontColor: 'Font color for the \"Headline_2\" base token',\n headlinePlus1DisabledFontColor:\n 'Disabled font color for the \"Headline_2\" base token',\n headlinePlus1FontFamily: 'Font family for the \"Headline_2\" base token',\n headlinePlus1FontSize: 'Font size for the \"Headline_2\" base token',\n headlinePlus1FontWeight: 'Font weight for the \"Headline_2\" base token',\n headlinePlus1FontLineHeight:\n 'Font line height for the \"Headline_2\" base token',\n headlineFont: 'Font shorthand for the \"Headline_1\" base token',\n headlineFontColor: 'Font color for the \"Headline_1\" base token',\n headlineDisabledFontColor:\n 'Disabled font color for the \"Headline_1\" base token',\n headlineFontFamily: 'Font family for the \"Headline_1\" base token',\n headlineFontSize: 'Font size for the \"Headline_1\" base token',\n headlineFontWeight: 'Font weight for the \"Headline_1\" base token',\n headlineFontLineHeight: 'Font line height for the \"Headline_1\" base token',\n tableHeaderFont: 'Font shorthand for the \"Grid_Header\" base token',\n tableHeaderFontColor: 'Font color for the \"Grid_Header\" base token',\n tableHeaderDisabledFontColor:\n 'Disabled font color for the \"Grid_Header\" base token',\n tableHeaderFontFamily: 'Font family for the \"Grid_Header\" base token',\n tableHeaderFontSize: 'Font size for the \"Grid_Header\" base token',\n tableHeaderFontWeight: 'Font weight for the \"Grid_Header\" base token',\n tableHeaderFontLineHeight:\n 'Font line height for the \"Grid_Header\" base token',\n titlePlus2Font: 'Font shorthand for the \"Title_3\" base token',\n titlePlus2FontColor: 'Font color for the \"Title_3\" base token',\n titlePlus2DisabledFontColor:\n 'Disabled font color for the \"Title_3\" base token',\n titlePlus2FontFamily: 'Font family for the \"Title_3\" base token',\n titlePlus2FontSize: 'Font size for the \"Title_3\" base token',\n titlePlus2FontWeight: 'Font weight for the \"Title_3\" base token',\n titlePlus2FontLineHeight: 'Font line height for the \"Title_3\" base token',\n titlePlus1Font: 'Font shorthand for the \"Title_2\" base token',\n titlePlus1FontColor: 'Font color for the \"Title_2\" base token',\n titlePlus1DisabledFontColor:\n 'Disabled font color for the \"Title_2\" base token',\n titlePlus1FontFamily: 'Font family for the \"Title_2\" base token',\n titlePlus1FontSize: 'Font size for the \"Title_2\" base token',\n titlePlus1FontWeight: 'Font weight for the \"Title_2\" base token',\n titlePlus1FontLineHeight: 'Font line height for the \"Title_2\" base token',\n titleFont: 'Font shorthand for the \"Title_1\" base token',\n titleFontColor: 'Font color for the \"Title_1\" base token',\n titleDisabledFontColor: 'Disabled font color for the \"Title_1\" base token',\n titleFontFamily: 'Font family for the \"Title_1\" base token',\n titleFontSize: 'Font size for the \"Title_1\" base token',\n titleFontWeight: 'Font weight for the \"Title_1\" base token',\n titleFontLineHeight: 'Font line height for the \"Title_1\" base token',\n subtitlePlus1Font: 'Font shorthand for the \"Subtitle_2\" base token',\n subtitlePlus1FontColor: 'Font color for the \"Subtitle_2\" base token',\n subtitlePlus1DisabledFontColor:\n 'Disabled font color for the \"Subtitle_2\" base token',\n subtitlePlus1FontFamily: 'Font family for the \"Subtitle_2\" base token',\n subtitlePlus1FontSize: 'Font size for the \"Subitle_2\" base token',\n subtitlePlus1FontWeight: 'Font weight for the \"Subtitle_2\" base token',\n subtitlePlus1FontLineHeight:\n 'Font line height for the \"Subtitle_2\" base token',\n subtitleFont: 'Font shorthand for the \"Subtitle_1\" base token',\n subtitleFontColor: 'Font color for the \"Subtitle_1\" base token',\n subtitleDisabledFontColor:\n 'Disabled font color for the \"Subtitle_1\" base token',\n subtitleFontFamily: 'Font family for the \"Subtitle_1\" base token',\n subtitleFontSize: 'Font size for the \"Subitle_1\" base token',\n subtitleFontWeight: 'Font weight for the \"Subtitle_1\" base token',\n subtitleFontLineHeight: 'Font line height for the \"Subtitle_1\" base token',\n linkFont: 'Font shorthand for links',\n linkFontColor: 'Font color for links',\n linkDisabledFontColor: 'Disabled font color for links',\n linkFontFamily: 'Font family for links',\n linkFontSize: 'Font size for links',\n linkFontWeight: 'Font weight for links',\n linkFontLineHeight: 'Font line height for links',\n linkActiveFont: 'Font shorthand for active links',\n linkActiveFontColor: 'Font color for active links',\n linkActiveDisabledFontColor: 'Disabled font color for active links',\n linkActiveFontFamily: 'Font family for active links',\n linkActiveFontSize: 'Font size for active links',\n linkActiveFontWeight: 'Font weight for active links',\n linkActiveFontLineHeight: 'Font line height for active links',\n linkProminentFont: 'Font shorthand for prominent links',\n linkProminentFontColor: 'Font color for prominent links',\n linkProminentDisabledFontColor: 'Disabled font color for prominent links',\n linkProminentFontFamily: 'Font family for prominent links',\n linkProminentFontSize: 'Font size for prominent links',\n linkProminentFontWeight: 'Font weight for prominent links',\n linkProminentFontLineHeight: 'Font line height for prominent links',\n linkActiveProminentFont: 'Font shorthand for active prominent links',\n linkActiveProminentFontColor: 'Font color for active prominent links',\n linkActiveProminentDisabledFontColor:\n 'Disabled font color for active prominent links',\n linkActiveProminentFontFamily: 'Font family for active prominent links',\n linkActiveProminentFontSize: 'Font size for active prominent links',\n linkActiveProminentFontWeight: 'Font weight for active prominent links',\n linkActiveProminentFontLineHeight:\n 'Font line height for active prominent links',\n placeholderFont: 'Font shorthand for the \"Placeholder\" base token',\n placeholderFontColor: 'Font color for the \"Placeholder\" base token',\n placeholderDisabledFontColor:\n 'Disabled font color for the \"Placeholder\" base token',\n placeholderFontFamily: 'Font family for the \"Placeholder\" base token',\n placeholderFontSize: 'Font size for the \"Placeholder\" base token',\n placeholderFontWeight: 'Font weight for the \"Placeholder\" base token',\n placeholderFontLineHeight:\n 'Font line height for the \"Placeholder\" base token',\n bodyFont: 'Font shorthand for the \"Body\" base token',\n bodyFontColor: 'Font color for the \"Body\" base token',\n bodyDisabledFontColor: 'Disabled font color for the \"Body\" base token',\n bodyFontFamily: 'Font family for the \"Body\" base token',\n bodyFontSize: 'Font size for the \"Body\" base token',\n bodyFontWeight: 'Font weight for the \"Body\" base token',\n bodyFontLineHeight: 'Font line height for the \"Body\" base token',\n bodyEmphasizedFont: 'Font shorthand for the \"BodyEmphasized\" base token',\n bodyEmphasizedFontColor: 'Font color for the \"BodyEmphasized\" base token',\n bodyEmphasizedDisabledFontColor:\n 'Disabled font color for the \"BodyEmphasized\" base token',\n bodyEmphasizedFontFamily: 'Font family for the \"BodyEmphasized\" base token',\n bodyEmphasizedFontSize: 'Font size for the \"BodyEmphasized\" base token',\n bodyEmphasizedFontWeight: 'Font weight for the \"BodyEmphasized\" base token',\n bodyEmphasizedFontLineHeight:\n 'Font line height for the \"BodyEmphasized\" base token',\n bodyPlus1Font: 'Font shorthand for the \"Body_2\" base token',\n bodyPlus1FontColor: 'Font color for the \"Body_2\" base token',\n bodyPlus1DisabledFontColor:\n 'Disabled font color for the \"Body_2\" base token',\n bodyPlus1FontFamily: 'Font family for the \"Body_2\" base token',\n bodyPlus1FontSize: 'Font size for the \"Body_2\" base token',\n bodyPlus1FontWeight: 'Font weight for the \"Body_2\" base token',\n bodyPlus1FontLineHeight: 'Font line height for the \"Body_2\" base token',\n bodyPlus1EmphasizedFont:\n 'Font shorthand for the \"BodyEmphasized_2\" base token',\n bodyPlus1EmphasizedFontColor:\n 'Font color for the \"BodyEmphasized_2\" base token',\n bodyPlus1EmphasizedDisabledFontColor:\n 'Disabled font color for the \"BodyEmphasized_2\" base token',\n bodyPlus1EmphasizedFontFamily:\n 'Font family for the \"BodyEmphasized_2\" base token',\n bodyPlus1EmphasizedFontSize:\n 'Font size for the \"BodyEmphasized_2\" base token',\n bodyPlus1EmphasizedFontWeight:\n 'Font weight for the \"BodyEmphasized_2\" base token',\n bodyPlus1EmphasizedFontLineHeight:\n 'Font line height for the \"BodyEmphasized_2\" base token',\n groupHeaderFont: 'Font shorthand for the \"Group_Header_1\" base token',\n groupHeaderFontColor: 'Font color for the \"Group_Header_1\" base token',\n groupHeaderDisabledFontColor:\n 'Disabled font color for the\"Group_Header_1\" base token',\n groupHeaderFontFamily: 'Font family for the \"Group_Header_1\" base token',\n groupHeaderFontSize: 'Font size for the \"Group_Header_1\" base token',\n groupHeaderFontWeight: 'Font weight for the \"Group_Header_1\" base token',\n groupHeaderFontLineHeight:\n 'Font line height for the \"Group_Header_1\" base token',\n controlLabelFont: 'Font shorthand for the \"Control_Label_1\" base token',\n controlLabelFontColor: 'Font color for the \"Control_Label_1\" base token',\n controlLabelDisabledFontColor:\n 'Disabled font color for the \"Control_Label_1\" base token',\n controlLabelFontFamily: 'Font family for the \"Control_Label_1\" base token',\n controlLabelFontSize: 'Font size for the \"Control_Label_1\" base token',\n controlLabelFontWeight: 'Font weight for the \"Control_Label_1\" base token',\n controlLabelFontLineHeight:\n 'Font line height for the \"Control_Label_1\" base token',\n buttonLabelFont: 'Font shorthand for the \"Button_Label_1\" base token',\n buttonLabelFontColor: 'Font color for the \"Button_Label_1\" base token',\n buttonLabelDisabledFontColor:\n 'Disabled font color for the \"Button_Label_1\" base token',\n buttonLabelFontFamily: 'Font family for the \"Button_Label_1\" base token',\n buttonLabelFontSize: 'Font size for the \"Button_Label_1\" base token',\n buttonLabelFontWeight: 'Font weight for the \"Button_Label_1\" base token',\n buttonLabelFontLineHeight:\n 'Font line height for the \"Button_Label_1\" base token',\n tooltipCaptionFont: 'Font shorthand for the \"Tooltip_Caption\" base token',\n tooltipCaptionFontColor: 'Font color for the \"Tooltip_Caption\" base token',\n tooltipCaptionDisabledFontColor:\n 'Disabled font color for the \"Tooltip_Caption\" base token',\n tooltipCaptionFontFamily:\n 'Font family for the \"Tooltip_Caption\" base token',\n tooltipCaptionFontSize: 'Font size for the \"Tooltip_Caption\" base token',\n tooltipCaptionFontWeight:\n 'Font weight for the \"Tooltip_Caption\" base token',\n tooltipCaptionFontLineHeight:\n 'Font line height for the \"Tooltip_Caption\" base token',\n tooltipBackgroundColor: 'Default background color for tooltips',\n errorTextFont: 'Font shorthand for the \"Error_LightUi\" base token',\n errorTextFontColor: 'Font color for the \"Error_LightUi\" base token',\n errorTextDisabledFontColor:\n 'Disabled font color for the \"Error_LightUi\" base token',\n errorTextFontFamily: 'Font family for the \"Error_LightUi\" base token',\n errorTextFontSize: 'Font size for the \"Error_LightUi\" base token',\n errorTextFontWeight: 'Font weight for the \"Error_LightUi\" base token',\n errorTextFontLineHeight:\n 'Font line height for the \"Error_LightUi\" base token',\n tableRowBorderColor: 'Color for the border of rows in the table',\n elevation1BoxShadow:\n 'The box shadow for elevation 1. Used for component hover states.',\n elevation2BoxShadow:\n 'The box shadow for elevation 2. Used for components such as menus, banners, tooltips, error notifications, and scrolling.',\n elevation3BoxShadow:\n 'The box shadow for elevation 3. Used for components such as dialogs, overlays, and pop-ups.',\n graphGridlineColor: 'Gridline color for graphs',\n graphTrace1Color: 'Color for the first graph trace',\n graphTrace2Color: 'Color for the second graph trace',\n graphTrace3Color: 'Color for the third graph trace',\n graphTrace4Color: 'Color for the fourth graph trace',\n graphTrace5Color: 'Color for the fifth graph trace',\n graphTrace6Color: 'Color for the sixth graph trace',\n graphTrace7Color: 'Color for the seventh graph trace',\n graphTrace8Color: 'Color for the eighth graph trace',\n mentionFont: 'Font shorthand for mention views',\n mentionFontColor: 'Font color for mention views',\n mentionDisabledFontColor: 'Disabled font color for mention views',\n mentionFontFamily: 'Font family for mention views',\n mentionFontSize: 'Font size for mention views',\n mentionFontWeight: 'Font weight for mention views',\n mentionFontLineHeight: 'Font line height for mention views',\n calendarEventBackgroundStaticColor:\n 'Background color for static calendar events',\n calendarEventBackgroundDynamicColor:\n 'Background color for dynamic calendar events',\n calendarEventBackgroundTransientColor:\n 'Background color for transient calendar events',\n calendarEventBorderStaticColor: 'Border color for static calendar events',\n calendarEventBorderTransientColor:\n 'Border color for transient calendar events',\n calendarEventStaticFontColor: 'Font color for static calendar events',\n calendarEventDynamicFontColor: 'Font color for dynamic calendar events',\n calendarEventTransientFontColor: 'Font color for transient calendar events',\n calendarEventBackgroundHoverStaticColor:\n 'Color while hovering static calendar events',\n calendarEventBackgroundHoverDynamicColor:\n 'Color while hovering dynamic calendar events',\n calendarEventBackgroundHoverTransientColor:\n 'Color while hovering transient calendar events',\n calendarRowBackgroundSelectedColor:\n 'Background color while calendar resource is selected/highlighted',\n calendarEventFillBlockedColor:\n 'Background fill to indicate the occupied slots in calendar resource rows',\n calendarGrabHandleBackgroundColor:\n 'Background fill color for the editable calendar event grab handle',\n calendarGridBorderColor: 'Border color for the calendar grid',\n calendarGroupHeaderBackgroundColor:\n 'Background color for the calendar resource group header'\n};\n"]}
1
+ {"version":3,"file":"design-token-comments.js","sourceRoot":"","sources":["../../../src/theme-provider/design-token-comments.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,QAAQ,GAA4C;IAC7D,qBAAqB,EACjB,sGAAsG;IAC1G,0BAA0B,EAAE,8CAA8C;IAC1E,sBAAsB,EAAE,0BAA0B;IAClD,qBAAqB,EAAE,0CAA0C;IACjE,sBAAsB,EAAE,+BAA+B;IACvD,sBAAsB,EAClB,6DAA6D;IACjE,sBAAsB,EAClB,qDAAqD;IACzD,qBAAqB,EACjB,4DAA4D;IAChE,0BAA0B,EACtB,0DAA0D;IAC9D,4BAA4B,EACxB,4DAA4D;IAChE,8BAA8B,EAC1B,8DAA8D;IAClE,iBAAiB,EAAE,+CAA+C;IAClE,2BAA2B,EACvB,sGAAsG;IAC1G,sBAAsB,EAClB,qDAAqD;IACzD,cAAc,EAAE,4CAA4C;IAC5D,wBAAwB,EACpB,sGAAsG;IAC1G,aAAa,EAAE,gDAAgD;IAC/D,WAAW,EAAE,0CAA0C;IACvD,qBAAqB,EACjB,sGAAsG;IAC1G,SAAS,EAAE,2CAA2C;IACtD,YAAY,EACR,2FAA2F;IAC/F,SAAS,EACL,6EAA6E;IACjF,gBAAgB,EACZ,wEAAwE;IAC5E,gBAAgB,EAAE,sCAAsC;IACxD,SAAS,EAAE,wCAAwC;IACnD,kBAAkB,EAAE,uDAAuD;IAC3E,gBAAgB,EAAE,yCAAyC;IAC3D,eAAe,EAAE,wBAAwB;IACzC,YAAY,EAAE,iDAAiD;IAC/D,aAAa,EACT,+EAA+E;IACnF,iBAAiB,EACb,oEAAoE;IACxE,YAAY,EAAE,gDAAgD;I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D;CAChE,CAAC","sourcesContent":["import type * as TokensNamespace from './design-tokens';\n\ntype TokenName = keyof typeof TokensNamespace;\n\nexport const comments: { readonly [key in TokenName]: string } = {\n actionRgbPartialColor:\n 'DEPRECATED: *-partial tokens are used with rgba() to set color transparency in component stylesheets',\n applicationBackgroundColor: 'Primary background color for the application',\n dividerBackgroundColor: 'Divider background color',\n headerBackgroundColor: 'Background color for application headers',\n sectionBackgroundColor: 'Background color for sections',\n buttonFillPrimaryColor:\n 'Control fill color for \"primary\" appearance-variant buttons',\n buttonPrimaryFontColor:\n 'Font color for \"primary\" appearance-variant buttons',\n buttonFillAccentColor:\n 'Control fill color for \"accent\" appearance-variant buttons',\n buttonAccentBlockFontColor:\n 'Font color for \"accent\" appearance-variant block buttons',\n buttonAccentOutlineFontColor:\n 'Font color for \"accent\" appearance-variant outline buttons',\n buttonBorderAccentOutlineColor:\n 'Border color for \"accent\" appearance-variant outline buttons',\n fillSelectedColor: 'Control fill color when a control is selected',\n fillSelectedRgbPartialColor:\n 'DEPRECATED: *-partial tokens are used with rgba() to set color transparency in component stylesheets',\n fillHoverSelectedColor:\n 'Control fill color when hovering a selected control',\n fillHoverColor: 'Control fill color when hovering component',\n fillHoverRgbPartialColor:\n 'DEPRECATED: *-partial tokens are used with rgba() to set color transparency in component stylesheets',\n fillDownColor: 'Control fill color when mousedown event occurs',\n borderColor: 'Standard control outline or border color',\n borderRgbPartialColor:\n 'DEPRECATED: *-partial tokens are used with rgba() to set color transparency in component stylesheets',\n failColor: 'Used to highlight errors or invalid input',\n warningColor:\n 'Used to highlight invalid input or for icons to indicate that a process errored or failed',\n passColor:\n 'Used to highlight a correct state or the successful completion of a process',\n informationColor:\n 'Used to highlight information, which provides more details on the item',\n borderHoverColor: 'Border color when hovering component',\n iconColor: 'Equivalent to the font color for icons',\n modalBackdropColor: 'Color of background overlay behind modal dialog boxes',\n popupBorderColor: 'Border color for menus and dialog boxes',\n cardBorderColor: 'Border color for cards',\n tagFillColor: 'Background fill color for tags, chips, or pills',\n controlHeight:\n 'Standard layout height for all controls. Add \"labelHeight\" for labels on top.',\n controlSlimHeight:\n 'Height of controls that are somewhat shorter than standard height.',\n smallPadding: 'Fixed 4px size ramp token for component layout',\n mediumPadding: 'Fixed 8px size ramp token for component layout',\n standardPadding: 'Fixed 16px size ramp token for component layout',\n largePadding: 'Fixed 24px size ramp token for component layout',\n labelHeight:\n 'Standard label height for components. Set the label font rather than explicitly setting the height for a label.',\n borderWidth: 'Standard border width for most components',\n iconSize: 'Standard layout height for all icons',\n groupHeaderTextTransform: 'CSS text-transform string to use for headers',\n drawerWidth: 'TODO: delete when able',\n dialogSmallWidth:\n 'Standard width for small dialogs like a confirmation dialog.',\n dialogSmallHeight:\n 'Standard height for small dialogs like a confirmation dialog.',\n dialogSmallMaxHeight:\n 'Standard maximum height for small dialogs like a confirmation dialog.',\n dialogLargeWidth: 'Standard width for large dialogs.',\n dialogLargeHeight: 'Standard height for large dialogs.',\n dialogLargeMaxHeight: 'Standard maximum height for large dialogs.',\n menuMinWidth: 'Standard menu min width for menu popup.',\n bannerGapSize: 'Space between stacked banners',\n spinnerSmallHeight: 'Small height (16px) for a spinner component',\n spinnerMediumHeight: 'Medium height (32px) for a spinner component',\n spinnerLargeHeight: 'Large height (64px) for a spinner component',\n tableFitRowsHeight:\n 'The height of the table when all rows are visible. It is set automatically to the correct value within the scope of each table.',\n smallDelay:\n 'Elements with small transition areas, such as icons and selection controls, have short durations.',\n mediumDelay:\n 'Elements with larger transition areas, such as bottom sheets and expanding chips, have slightly longer durations.',\n largeDelay:\n 'Animated elements that traverse a large portion of the screen have the longest durations.',\n headlinePlus1Font: 'Font shorthand for the \"Headline_2\" base token',\n headlinePlus1FontColor: 'Font color for the \"Headline_2\" base token',\n headlinePlus1DisabledFontColor:\n 'Disabled font color for the \"Headline_2\" base token',\n headlinePlus1FontFamily: 'Font family for the \"Headline_2\" base token',\n headlinePlus1FontSize: 'Font size for the \"Headline_2\" base token',\n headlinePlus1FontWeight: 'Font weight for the \"Headline_2\" base token',\n headlinePlus1FontLineHeight:\n 'Font line height for the \"Headline_2\" base token',\n headlineFont: 'Font shorthand for the \"Headline_1\" base token',\n headlineFontColor: 'Font color for the \"Headline_1\" base token',\n headlineDisabledFontColor:\n 'Disabled font color for the \"Headline_1\" base token',\n headlineFontFamily: 'Font family for the \"Headline_1\" base token',\n headlineFontSize: 'Font size for the \"Headline_1\" base token',\n headlineFontWeight: 'Font weight for the \"Headline_1\" base token',\n headlineFontLineHeight: 'Font line height for the \"Headline_1\" base token',\n tableHeaderFont: 'Font shorthand for the \"Grid_Header\" base token',\n tableHeaderFontColor: 'Font color for the \"Grid_Header\" base token',\n tableHeaderDisabledFontColor:\n 'Disabled font color for the \"Grid_Header\" base token',\n tableHeaderFontFamily: 'Font family for the \"Grid_Header\" base token',\n tableHeaderFontSize: 'Font size for the \"Grid_Header\" base token',\n tableHeaderFontWeight: 'Font weight for the \"Grid_Header\" base token',\n tableHeaderFontLineHeight:\n 'Font line height for the \"Grid_Header\" base token',\n titlePlus2Font: 'Font shorthand for the \"Title_3\" base token',\n titlePlus2FontColor: 'Font color for the \"Title_3\" base token',\n titlePlus2DisabledFontColor:\n 'Disabled font color for the \"Title_3\" base token',\n titlePlus2FontFamily: 'Font family for the \"Title_3\" base token',\n titlePlus2FontSize: 'Font size for the \"Title_3\" base token',\n titlePlus2FontWeight: 'Font weight for the \"Title_3\" base token',\n titlePlus2FontLineHeight: 'Font line height for the \"Title_3\" base token',\n titlePlus1Font: 'Font shorthand for the \"Title_2\" base token',\n titlePlus1FontColor: 'Font color for the \"Title_2\" base token',\n titlePlus1DisabledFontColor:\n 'Disabled font color for the \"Title_2\" base token',\n titlePlus1FontFamily: 'Font family for the \"Title_2\" base token',\n titlePlus1FontSize: 'Font size for the \"Title_2\" base token',\n titlePlus1FontWeight: 'Font weight for the \"Title_2\" base token',\n titlePlus1FontLineHeight: 'Font line height for the \"Title_2\" base token',\n titleFont: 'Font shorthand for the \"Title_1\" base token',\n titleFontColor: 'Font color for the \"Title_1\" base token',\n titleDisabledFontColor: 'Disabled font color for the \"Title_1\" base token',\n titleFontFamily: 'Font family for the \"Title_1\" base token',\n titleFontSize: 'Font size for the \"Title_1\" base token',\n titleFontWeight: 'Font weight for the \"Title_1\" base token',\n titleFontLineHeight: 'Font line height for the \"Title_1\" base token',\n subtitlePlus1Font: 'Font shorthand for the \"Subtitle_2\" base token',\n subtitlePlus1FontColor: 'Font color for the \"Subtitle_2\" base token',\n subtitlePlus1DisabledFontColor:\n 'Disabled font color for the \"Subtitle_2\" base token',\n subtitlePlus1FontFamily: 'Font family for the \"Subtitle_2\" base token',\n subtitlePlus1FontSize: 'Font size for the \"Subitle_2\" base token',\n subtitlePlus1FontWeight: 'Font weight for the \"Subtitle_2\" base token',\n subtitlePlus1FontLineHeight:\n 'Font line height for the \"Subtitle_2\" base token',\n subtitleFont: 'Font shorthand for the \"Subtitle_1\" base token',\n subtitleFontColor: 'Font color for the \"Subtitle_1\" base token',\n subtitleDisabledFontColor:\n 'Disabled font color for the \"Subtitle_1\" base token',\n subtitleFontFamily: 'Font family for the \"Subtitle_1\" base token',\n subtitleFontSize: 'Font size for the \"Subitle_1\" base token',\n subtitleFontWeight: 'Font weight for the \"Subtitle_1\" base token',\n subtitleFontLineHeight: 'Font line height for the \"Subtitle_1\" base token',\n linkFont: 'Font shorthand for links',\n linkFontColor: 'Font color for links',\n linkDisabledFontColor: 'Disabled font color for links',\n linkFontFamily: 'Font family for links',\n linkFontSize: 'Font size for links',\n linkFontWeight: 'Font weight for links',\n linkFontLineHeight: 'Font line height for links',\n linkActiveFont: 'Font shorthand for active links',\n linkActiveFontColor: 'Font color for active links',\n linkActiveDisabledFontColor: 'Disabled font color for active links',\n linkActiveFontFamily: 'Font family for active links',\n linkActiveFontSize: 'Font size for active links',\n linkActiveFontWeight: 'Font weight for active links',\n linkActiveFontLineHeight: 'Font line height for active links',\n linkProminentFont: 'Font shorthand for prominent links',\n linkProminentFontColor: 'Font color for prominent links',\n linkProminentDisabledFontColor: 'Disabled font color for prominent links',\n linkProminentFontFamily: 'Font family for prominent links',\n linkProminentFontSize: 'Font size for prominent links',\n linkProminentFontWeight: 'Font weight for prominent links',\n linkProminentFontLineHeight: 'Font line height for prominent links',\n linkActiveProminentFont: 'Font shorthand for active prominent links',\n linkActiveProminentFontColor: 'Font color for active prominent links',\n linkActiveProminentDisabledFontColor:\n 'Disabled font color for active prominent links',\n linkActiveProminentFontFamily: 'Font family for active prominent links',\n linkActiveProminentFontSize: 'Font size for active prominent links',\n linkActiveProminentFontWeight: 'Font weight for active prominent links',\n linkActiveProminentFontLineHeight:\n 'Font line height for active prominent links',\n placeholderFont: 'Font shorthand for the \"Placeholder\" base token',\n placeholderFontColor: 'Font color for the \"Placeholder\" base token',\n placeholderDisabledFontColor:\n 'Disabled font color for the \"Placeholder\" base token',\n placeholderFontFamily: 'Font family for the \"Placeholder\" base token',\n placeholderFontSize: 'Font size for the \"Placeholder\" base token',\n placeholderFontWeight: 'Font weight for the \"Placeholder\" base token',\n placeholderFontLineHeight:\n 'Font line height for the \"Placeholder\" base token',\n bodyFont: 'Font shorthand for the \"Body\" base token',\n bodyFontColor: 'Font color for the \"Body\" base token',\n bodyDisabledFontColor: 'Disabled font color for the \"Body\" base token',\n bodyFontFamily: 'Font family for the \"Body\" base token',\n bodyFontSize: 'Font size for the \"Body\" base token',\n bodyFontWeight: 'Font weight for the \"Body\" base token',\n bodyFontLineHeight: 'Font line height for the \"Body\" base token',\n bodyEmphasizedFont: 'Font shorthand for the \"BodyEmphasized\" base token',\n bodyEmphasizedFontColor: 'Font color for the \"BodyEmphasized\" base token',\n bodyEmphasizedDisabledFontColor:\n 'Disabled font color for the \"BodyEmphasized\" base token',\n bodyEmphasizedFontFamily: 'Font family for the \"BodyEmphasized\" base token',\n bodyEmphasizedFontSize: 'Font size for the \"BodyEmphasized\" base token',\n bodyEmphasizedFontWeight: 'Font weight for the \"BodyEmphasized\" base token',\n bodyEmphasizedFontLineHeight:\n 'Font line height for the \"BodyEmphasized\" base token',\n bodyPlus1Font: 'Font shorthand for the \"Body_2\" base token',\n bodyPlus1FontColor: 'Font color for the \"Body_2\" base token',\n bodyPlus1DisabledFontColor:\n 'Disabled font color for the \"Body_2\" base token',\n bodyPlus1FontFamily: 'Font family for the \"Body_2\" base token',\n bodyPlus1FontSize: 'Font size for the \"Body_2\" base token',\n bodyPlus1FontWeight: 'Font weight for the \"Body_2\" base token',\n bodyPlus1FontLineHeight: 'Font line height for the \"Body_2\" base token',\n bodyPlus1EmphasizedFont:\n 'Font shorthand for the \"BodyEmphasized_2\" base token',\n bodyPlus1EmphasizedFontColor:\n 'Font color for the \"BodyEmphasized_2\" base token',\n bodyPlus1EmphasizedDisabledFontColor:\n 'Disabled font color for the \"BodyEmphasized_2\" base token',\n bodyPlus1EmphasizedFontFamily:\n 'Font family for the \"BodyEmphasized_2\" base token',\n bodyPlus1EmphasizedFontSize:\n 'Font size for the \"BodyEmphasized_2\" base token',\n bodyPlus1EmphasizedFontWeight:\n 'Font weight for the \"BodyEmphasized_2\" base token',\n bodyPlus1EmphasizedFontLineHeight:\n 'Font line height for the \"BodyEmphasized_2\" base token',\n groupHeaderFont: 'Font shorthand for the \"Group_Header_1\" base token',\n groupHeaderFontColor: 'Font color for the \"Group_Header_1\" base token',\n groupHeaderDisabledFontColor:\n 'Disabled font color for the\"Group_Header_1\" base token',\n groupHeaderFontFamily: 'Font family for the \"Group_Header_1\" base token',\n groupHeaderFontSize: 'Font size for the \"Group_Header_1\" base token',\n groupHeaderFontWeight: 'Font weight for the \"Group_Header_1\" base token',\n groupHeaderFontLineHeight:\n 'Font line height for the \"Group_Header_1\" base token',\n controlLabelFont: 'Font shorthand for the \"Control_Label_1\" base token',\n controlLabelFontColor: 'Font color for the \"Control_Label_1\" base token',\n controlLabelDisabledFontColor:\n 'Disabled font color for the \"Control_Label_1\" base token',\n controlLabelFontFamily: 'Font family for the \"Control_Label_1\" base token',\n controlLabelFontSize: 'Font size for the \"Control_Label_1\" base token',\n controlLabelFontWeight: 'Font weight for the \"Control_Label_1\" base token',\n controlLabelFontLineHeight:\n 'Font line height for the \"Control_Label_1\" base token',\n buttonLabelFont: 'Font shorthand for the \"Button_Label_1\" base token',\n buttonLabelFontColor: 'Font color for the \"Button_Label_1\" base token',\n buttonLabelDisabledFontColor:\n 'Disabled font color for the \"Button_Label_1\" base token',\n buttonLabelFontFamily: 'Font family for the \"Button_Label_1\" base token',\n buttonLabelFontSize: 'Font size for the \"Button_Label_1\" base token',\n buttonLabelFontWeight: 'Font weight for the \"Button_Label_1\" base token',\n buttonLabelFontLineHeight:\n 'Font line height for the \"Button_Label_1\" base token',\n tooltipCaptionFont: 'Font shorthand for the \"Tooltip_Caption\" base token',\n tooltipCaptionFontColor: 'Font color for the \"Tooltip_Caption\" base token',\n tooltipCaptionDisabledFontColor:\n 'Disabled font color for the \"Tooltip_Caption\" base token',\n tooltipCaptionFontFamily:\n 'Font family for the \"Tooltip_Caption\" base token',\n tooltipCaptionFontSize: 'Font size for the \"Tooltip_Caption\" base token',\n tooltipCaptionFontWeight:\n 'Font weight for the \"Tooltip_Caption\" base token',\n tooltipCaptionFontLineHeight:\n 'Font line height for the \"Tooltip_Caption\" base token',\n tooltipBackgroundColor: 'Default background color for tooltips',\n errorTextFont: 'Font shorthand for the \"Error_LightUi\" base token',\n errorTextFontColor: 'Font color for the \"Error_LightUi\" base token',\n errorTextDisabledFontColor:\n 'Disabled font color for the \"Error_LightUi\" base token',\n errorTextFontFamily: 'Font family for the \"Error_LightUi\" base token',\n errorTextFontSize: 'Font size for the \"Error_LightUi\" base token',\n errorTextFontWeight: 'Font weight for the \"Error_LightUi\" base token',\n errorTextFontLineHeight:\n 'Font line height for the \"Error_LightUi\" base token',\n tableRowBorderColor: 'Color for the border of rows in the table',\n elevation1BoxShadow:\n 'The box shadow for elevation 1. Used for component hover states.',\n elevation2BoxShadow:\n 'The box shadow for elevation 2. Used for components such as menus, banners, tooltips, error notifications, and scrolling.',\n elevation3BoxShadow:\n 'The box shadow for elevation 3. Used for components such as dialogs, overlays, and pop-ups.',\n graphGridlineColor: 'Gridline color for graphs',\n graphTrace1Color: 'Color for the first graph trace',\n graphTrace2Color: 'Color for the second graph trace',\n graphTrace3Color: 'Color for the third graph trace',\n graphTrace4Color: 'Color for the fourth graph trace',\n graphTrace5Color: 'Color for the fifth graph trace',\n graphTrace6Color: 'Color for the sixth graph trace',\n graphTrace7Color: 'Color for the seventh graph trace',\n graphTrace8Color: 'Color for the eighth graph trace',\n mentionFont: 'Font shorthand for mention views',\n mentionFontColor: 'Font color for mention views',\n mentionDisabledFontColor: 'Disabled font color for mention views',\n mentionFontFamily: 'Font family for mention views',\n mentionFontSize: 'Font size for mention views',\n mentionFontWeight: 'Font weight for mention views',\n mentionFontLineHeight: 'Font line height for mention views',\n calendarEventBackgroundStaticColor:\n 'Background color for static calendar events',\n calendarEventBackgroundDynamicColor:\n 'Background color for dynamic calendar events',\n calendarEventBackgroundTransientColor:\n 'Background color for transient calendar events',\n calendarEventBorderStaticColor: 'Border color for static calendar events',\n calendarEventBorderTransientColor:\n 'Border color for transient calendar events',\n calendarEventStaticFontColor: 'Font color for static calendar events',\n calendarEventDynamicFontColor: 'Font color for dynamic calendar events',\n calendarEventTransientFontColor: 'Font color for transient calendar events',\n calendarEventBackgroundHoverStaticColor:\n 'Color while hovering static calendar events',\n calendarEventBackgroundHoverDynamicColor:\n 'Color while hovering dynamic calendar events',\n calendarEventBackgroundHoverTransientColor:\n 'Color while hovering transient calendar events',\n calendarRowBackgroundSelectedColor:\n 'Background color while calendar resource is selected/highlighted',\n calendarEventFillBlockedColor:\n 'Background fill to indicate the occupied slots in calendar resource rows',\n calendarGrabHandleBackgroundColor:\n 'Background fill color for the editable calendar event grab handle',\n calendarGridBorderColor: 'Border color for the calendar grid',\n calendarGroupHeaderBackgroundColor:\n 'Background color for the calendar resource group header'\n};\n"]}
@@ -54,6 +54,7 @@ export const tokenNames = {
54
54
  spinnerSmallHeight: 'spinner-small-height',
55
55
  spinnerMediumHeight: 'spinner-medium-height',
56
56
  spinnerLargeHeight: 'spinner-large-height',
57
+ tableFitRowsHeight: 'table-fit-rows-height',
57
58
  smallDelay: 'small-delay',
58
59
  mediumDelay: 'medium-delay',
59
60
  largeDelay: 'large-delay',
@@ -1 +1 @@
1
- {"version":3,"file":"design-token-names.js","sourceRoot":"","sources":["../../../src/theme-provider/design-token-names.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,MAAM,CAAC,MAAM,UAAU,GAA4C;IAC/D,qBAAqB,EAAE,0BAA0B;IACjD,0BAA0B,EAAE,8BAA8B;IAC1D,sBAAsB,EAAE,0BAA0B;IAClD,qBAAqB,EAAE,yBAAyB;IAChD,sBAAsB,EAAE,0BAA0B;IAClD,sBAAsB,EAAE,2BAA2B;IACnD,sBAAsB,EAAE,2BAA2B;IACnD,qBAAqB,EAAE,0BAA0B;IACjD,0BAA0B,EAAE,gCAAgC;IAC5D,4BAA4B,EAAE,kCAAkC;IAChE,8BAA8B,EAAE,oCAAoC;IACpE,iBAAiB,EAAE,qBAAqB;IACxC,2BAA2B,EAAE,iCAAiC;IAC9D,sBAAsB,EAAE,2BAA2B;IACnD,cAAc,EAAE,kBAAkB;IAClC,wBAAwB,EAAE,8BAA8B;IACxD,aAAa,EAAE,iBAAiB;IAChC,WAAW,EAAE,cAAc;IAC3B,qBAAqB,EAAE,0BAA0B;IACjD,SAAS,EAAE,YAAY;IACvB,YAAY,EAAE,eAAe;IAC7B,SAAS,EAAE,YAAY;IACvB,gBAAgB,EAAE,mBAAmB;IACrC,gBAAgB,EAAE,oBAAoB;IACtC,SAAS,EAAE,YAAY;IACvB,kBAAkB,EAAE,sBAAsB;IAC1C,gBAAgB,EAAE,oBAAoB;IACtC,eAAe,EAAE,mBAAmB;IACpC,YAAY,EAAE,gBAAgB;IAC9B,aAAa,EAAE,gBAAgB;IAC/B,iBAAiB,EAAE,qBAAqB;IACxC,YAAY,EAAE,eAAe;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G,WAAW,CAAC;AAE3B,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,SAAiB,EAAU,EAAE,CAAC,GAAG,MAAM,IAAI,SAAS,EAAE,CAAC;AAC9F,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,SAAiB,EAAU,EAAE,CAAC,KAAK,MAAM,IAAI,SAAS,EAAE,CAAC;AAClG,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,SAAiB,EAAU,EAAE,CAAC,IAAI,MAAM,IAAI,SAAS,EAAE,CAAC;AAClG,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACtC,SAAiB,EACjB,WAAmB,EACb,EAAE,CAAC,KAAK,WAAW,MAAM,MAAM,IAAI,SAAS,KAAK,CAAC;AAC5D,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,SAAiB,EAAU,EAAE,CAAC,IAAI,MAAM,aAAa,SAAS,EAAE,CAAC;AACnH,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAC9C,SAAiB,EACjB,QAAgB,EACV,EAAE,CAAC,QAAQ,MAAM,aAAa,SAAS,MAAM,QAAQ,KAAK,CAAC;AAErE,mGAAmG;AACnG,MAAM,aAAa,GAAG;IAClB,iBAAiB;IACjB,mBAAmB;IACnB,WAAW;IACX,gBAAgB;IAChB,YAAY;IACZ,UAAU;IACV,eAAe;IACf,YAAY;IACZ,WAAW;IACX,WAAW;IACX,UAAU;IACV,MAAM;IACN,MAAM;IACN,OAAO;IACP,QAAQ;IACR,OAAO;IACP,SAAS;IACT,OAAO;CACD,CAAC;AAEX,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAC/B,SAAiB,EACM,EAAE,CAAC,aAAa,CACvC,aAAa,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAC1E,CAAC","sourcesContent":["/**\n * Design token names should follow the token naming convention:\n * See: https://github.com/ni/nimble/blob/main/packages/nimble-components/CONTRIBUTING.md#token-naming\n */\n\nimport type * as TokensNamespace from './design-tokens';\n\ntype TokenName = keyof typeof TokensNamespace;\n\nexport const tokenNames: { readonly [key in TokenName]: string } = {\n actionRgbPartialColor: 'action-rgb-partial-color',\n applicationBackgroundColor: 'application-background-color',\n dividerBackgroundColor: 'divider-background-color',\n headerBackgroundColor: 'header-background-color',\n sectionBackgroundColor: 'section-background-color',\n buttonFillPrimaryColor: 'button-fill-primary-color',\n buttonPrimaryFontColor: 'button-primary-font-color',\n buttonFillAccentColor: 'button-fill-accent-color',\n buttonAccentBlockFontColor: 'button-accent-block-font-color',\n buttonAccentOutlineFontColor: 'button-accent-outline-font-color',\n buttonBorderAccentOutlineColor: 'button-border-accent-outline-color',\n fillSelectedColor: 'fill-selected-color',\n fillSelectedRgbPartialColor: 'fill-selected-rgb-partial-color',\n fillHoverSelectedColor: 'fill-hover-selected-color',\n fillHoverColor: 'fill-hover-color',\n fillHoverRgbPartialColor: 'fill-hover-rgb-partial-color',\n fillDownColor: 'fill-down-color',\n borderColor: 'border-color',\n borderRgbPartialColor: 'border-rgb-partial-color',\n failColor: 'fail-color',\n warningColor: 'warning-color',\n passColor: 'pass-color',\n informationColor: 'information-color',\n borderHoverColor: 'border-hover-color',\n iconColor: 'icon-color',\n modalBackdropColor: 'modal-backdrop-color',\n popupBorderColor: 'popup-border-color',\n cardBorderColor: 'card-border-color',\n tagFillColor: 'tag-fill-color',\n controlHeight: 'control-height',\n controlSlimHeight: 'control-slim-height',\n smallPadding: 'small-padding',\n mediumPadding: 'medium-padding',\n standardPadding: 'standard-padding',\n largePadding: 'large-padding',\n labelHeight: 'label-height',\n borderWidth: 'border-width',\n iconSize: 'icon-size',\n groupHeaderTextTransform: 'group-header-text-transform',\n drawerWidth: 'drawer-width',\n dialogSmallWidth: 'dialog-small-width',\n dialogSmallHeight: 'dialog-small-height',\n dialogSmallMaxHeight: 'dialog-small-max-height',\n dialogLargeWidth: 'dialog-large-width',\n dialogLargeHeight: 'dialog-large-height',\n dialogLargeMaxHeight: 'dialog-large-max-height',\n menuMinWidth: 'menu-min-width',\n bannerGapSize: 'banner-gap-size',\n spinnerSmallHeight: 'spinner-small-height',\n spinnerMediumHeight: 'spinner-medium-height',\n spinnerLargeHeight: 'spinner-large-height',\n smallDelay: 'small-delay',\n mediumDelay: 'medium-delay',\n largeDelay: 'large-delay',\n headlinePlus1Font: 'headline-plus-1-font',\n headlinePlus1FontColor: 'headline-plus-1-font-color',\n headlinePlus1DisabledFontColor: 'headline-plus-1-disabled-font-color',\n headlinePlus1FontFamily: 'headline-plus-1-font-family',\n headlinePlus1FontSize: 'headline-plus-1-font-size',\n headlinePlus1FontWeight: 'headline-plus-1-font-weight',\n headlinePlus1FontLineHeight: 'headline-plus-1-font-line-height',\n headlineFont: 'headline-font',\n headlineFontColor: 'headline-font-color',\n headlineDisabledFontColor: 'headline-disabled-font-color',\n headlineFontFamily: 'headline-font-family',\n headlineFontSize: 'headline-font-size',\n headlineFontWeight: 'headline-font-weight',\n headlineFontLineHeight: 'headline-font-line-height',\n tableHeaderFont: 'table-header-font',\n tableHeaderFontColor: 'table-header-font-color',\n tableHeaderDisabledFontColor: 'table-header-disabled-font-color',\n tableHeaderFontFamily: 'table-header-font-family',\n tableHeaderFontSize: 'table-header-font-size',\n tableHeaderFontWeight: 'table-header-font-weight',\n tableHeaderFontLineHeight: 'table-header-font-line-height',\n titlePlus2Font: 'title-plus-2-font',\n titlePlus2FontColor: 'title-plus-2-font-color',\n titlePlus2DisabledFontColor: 'title-plus-2-disabled-font-color',\n titlePlus2FontFamily: 'title-plus-2-font-family',\n titlePlus2FontSize: 'title-plus-2-font-size',\n titlePlus2FontWeight: 'title-plus-2-font-weight',\n titlePlus2FontLineHeight: 'title-plus-2-font-line-height',\n titlePlus1Font: 'title-plus-1-font',\n titlePlus1FontColor: 'title-plus-1-font-color',\n titlePlus1DisabledFontColor: 'title-plus-1-disabled-font-color',\n titlePlus1FontFamily: 'title-plus-1-font-family',\n titlePlus1FontSize: 'title-plus-1-font-size',\n titlePlus1FontWeight: 'title-plus-1-font-weight',\n titlePlus1FontLineHeight: 'title-plus-1-font-line-height',\n titleFont: 'title-font',\n titleFontColor: 'title-font-color',\n titleDisabledFontColor: 'title-disabled-font-color',\n titleFontFamily: 'title-font-family',\n titleFontSize: 'title-font-size',\n titleFontWeight: 'title-font-weight',\n titleFontLineHeight: 'title-font-line-height',\n subtitlePlus1Font: 'subtitle-plus-1-font',\n subtitlePlus1FontColor: 'subtitle-plus-1-font-color',\n subtitlePlus1DisabledFontColor: 'subtitle-plus-1-disabled-font-color',\n subtitlePlus1FontFamily: 'subtitle-plus-1-font-family',\n subtitlePlus1FontSize: 'subtitle-plus-1-font-size',\n subtitlePlus1FontWeight: 'subtitle-plus-1-font-weight',\n subtitlePlus1FontLineHeight: 'subtitle-plus-1-font-line-height',\n subtitleFont: 'subtitle-font',\n subtitleFontColor: 'subtitle-font-color',\n subtitleDisabledFontColor: 'subtitle-disabled-font-color',\n subtitleFontFamily: 'subtitle-font-family',\n subtitleFontSize: 'subtitle-font-size',\n subtitleFontWeight: 'subtitle-font-weight',\n subtitleFontLineHeight: 'subtitle-font-line-height',\n linkFont: 'link-font',\n linkFontColor: 'link-font-color',\n linkDisabledFontColor: 'link-disabled-font-color',\n linkFontFamily: 'link-font-family',\n linkFontSize: 'link-font-size',\n linkFontWeight: 'link-font-weight',\n linkFontLineHeight: 'link-font-line-height',\n linkActiveFont: 'link-active-font',\n linkActiveFontColor: 'link-active-font-color',\n linkActiveDisabledFontColor: 'link-active-disabled-font-color',\n linkActiveFontFamily: 'link-active-font-family',\n linkActiveFontSize: 'link-active-font-size',\n linkActiveFontWeight: 'link-active-font-weight',\n linkActiveFontLineHeight: 'link-active-font-line-height',\n linkProminentFont: 'link-prominent-font',\n linkProminentFontColor: 'link-prominent-font-color',\n linkProminentDisabledFontColor: 'link-prominent-disabled-font-color',\n linkProminentFontFamily: 'link-prominent-font-family',\n linkProminentFontSize: 'link-prominent-font-size',\n linkProminentFontWeight: 'link-prominent-font-weight',\n linkProminentFontLineHeight: 'link-prominent-font-line-height',\n linkActiveProminentFont: 'link-active-prominent-font',\n linkActiveProminentFontColor: 'link-active-prominent-font-color',\n linkActiveProminentDisabledFontColor:\n 'link-active-prominent-disabled-font-color',\n linkActiveProminentFontFamily: 'link-active-prominent-font-family',\n linkActiveProminentFontSize: 'link-active-prominent-font-size',\n linkActiveProminentFontWeight: 'link-active-prominent-font-weight',\n linkActiveProminentFontLineHeight: 'link-active-prominent-font-line-height',\n placeholderFont: 'placeholder-font',\n placeholderFontColor: 'placeholder-font-color',\n placeholderDisabledFontColor: 'placeholder-disabled-font-color',\n placeholderFontFamily: 'placeholder-font-family',\n placeholderFontSize: 'placeholder-font-size',\n placeholderFontWeight: 'placeholder-font-weight',\n placeholderFontLineHeight: 'placeholder-font-line-height',\n bodyFont: 'body-font',\n bodyFontColor: 'body-font-color',\n bodyDisabledFontColor: 'body-disabled-font-color',\n bodyFontFamily: 'body-font-family',\n bodyFontSize: 'body-font-size',\n bodyFontWeight: 'body-font-weight',\n bodyFontLineHeight: 'body-font-line-height',\n bodyEmphasizedFont: 'body-emphasized-font',\n bodyEmphasizedFontColor: 'body-emphasized-font-color',\n bodyEmphasizedDisabledFontColor: 'body-emphasized-disabled-font-color',\n bodyEmphasizedFontFamily: 'body-emphasized-font-family',\n bodyEmphasizedFontSize: 'body-emphasized-font-size',\n bodyEmphasizedFontWeight: 'body-emphasized-font-weight',\n bodyEmphasizedFontLineHeight: 'body-emphasized-font-line-height',\n bodyPlus1Font: 'body-plus-1-font',\n bodyPlus1FontColor: 'body-plus-1-font-color',\n bodyPlus1DisabledFontColor: 'body-plus-1-disabled-font-color',\n bodyPlus1FontFamily: 'body-plus-1-font-family',\n bodyPlus1FontSize: 'body-plus-1-font-size',\n bodyPlus1FontWeight: 'body-plus-1-font-weight',\n bodyPlus1FontLineHeight: 'body-plus-1-font-line-height',\n bodyPlus1EmphasizedFont: 'body-plus-1-emphasized-font',\n bodyPlus1EmphasizedFontColor: 'body-plus-1-emphasized-font-color',\n bodyPlus1EmphasizedDisabledFontColor:\n 'body-plus-1-emphasized-disabled-font-color',\n bodyPlus1EmphasizedFontFamily: 'body-plus-1-emphasized-font-family',\n bodyPlus1EmphasizedFontSize: 'body-plus-1-emphasized-font-size',\n bodyPlus1EmphasizedFontWeight: 'body-plus-1-emphasized-font-weight',\n bodyPlus1EmphasizedFontLineHeight:\n 'body-plus-1-emphasized-font-line-height',\n groupHeaderFont: 'group-header-font',\n groupHeaderFontColor: 'group-header-font-color',\n groupHeaderDisabledFontColor: 'group-header-disabled-font-color',\n groupHeaderFontFamily: 'group-header-font-family',\n groupHeaderFontSize: 'group-header-font-size',\n groupHeaderFontWeight: 'group-header-font-weight',\n groupHeaderFontLineHeight: 'group-header-font-line-height',\n controlLabelFont: 'control-label-font',\n controlLabelFontColor: 'control-label-font-color',\n controlLabelDisabledFontColor: 'control-label-disabled-font-color',\n controlLabelFontFamily: 'control-label-font-family',\n controlLabelFontSize: 'control-label-font-size',\n controlLabelFontWeight: 'control-label-font-weight',\n controlLabelFontLineHeight: 'control-label-font-line-height',\n buttonLabelFont: 'button-label-font',\n buttonLabelFontColor: 'button-label-font-color',\n buttonLabelDisabledFontColor: 'button-label-disabled-font-color',\n buttonLabelFontFamily: 'button-label-font-family',\n buttonLabelFontSize: 'button-label-font-size',\n buttonLabelFontWeight: 'button-label-font-weight',\n buttonLabelFontLineHeight: 'button-label-font-line-height',\n tooltipCaptionFont: 'tooltip-caption-font',\n tooltipCaptionFontColor: 'tooltip-caption-font-color',\n tooltipCaptionDisabledFontColor: 'tooltip-caption-disabled-font-color',\n tooltipCaptionFontFamily: 'tooltip-caption-font-family',\n tooltipCaptionFontSize: 'tooltip-caption-font-size',\n tooltipCaptionFontWeight: 'tooltip-caption-font-weight',\n tooltipCaptionFontLineHeight: 'tooltip-caption-font-line-height',\n tooltipBackgroundColor: 'tooltip-background-color',\n errorTextFont: 'error-text-font',\n errorTextFontColor: 'error-text-font-color',\n errorTextDisabledFontColor: 'error-text-disabled-font-color',\n errorTextFontFamily: 'error-text-font-family',\n errorTextFontSize: 'error-text-font-size',\n errorTextFontWeight: 'error-text-font-weight',\n errorTextFontLineHeight: 'error-text-font-line-height',\n tableRowBorderColor: 'table-row-border-color',\n elevation1BoxShadow: 'elevation-1-box-shadow',\n elevation2BoxShadow: 'elevation-2-box-shadow',\n elevation3BoxShadow: 'elevation-3-box-shadow',\n graphGridlineColor: 'graph-gridline-color',\n graphTrace1Color: 'graph-trace-1-color',\n graphTrace2Color: 'graph-trace-2-color',\n graphTrace3Color: 'graph-trace-3-color',\n graphTrace4Color: 'graph-trace-4-color',\n graphTrace5Color: 'graph-trace-5-color',\n graphTrace6Color: 'graph-trace-6-color',\n graphTrace7Color: 'graph-trace-7-color',\n graphTrace8Color: 'graph-trace-8-color',\n mentionFont: 'mention-font',\n mentionFontColor: 'mention-font-color',\n mentionDisabledFontColor: 'mention-disabled-font-color',\n mentionFontFamily: 'mention-font-family',\n mentionFontSize: 'mention-font-size',\n mentionFontWeight: 'mention-font-weight',\n mentionFontLineHeight: 'mention-font-line-height',\n calendarEventBackgroundStaticColor:\n 'calendar-event-background-static-color',\n calendarEventBackgroundDynamicColor:\n 'calendar-event-background-dynamic-color',\n calendarEventBackgroundTransientColor:\n 'calendar-event-background-transient-color',\n calendarEventBorderStaticColor: 'calendar-event-border-static-color',\n calendarEventBorderTransientColor: 'calendar-event-border-transient-color',\n calendarEventStaticFontColor: 'calendar-event-static-font-color',\n calendarEventDynamicFontColor: 'calendar-event-dynamic-font-color',\n calendarEventTransientFontColor: 'calendar-event-transient-font-color',\n calendarEventBackgroundHoverStaticColor:\n 'calendar-event-background-hover-static-color',\n calendarEventBackgroundHoverDynamicColor:\n 'calendar-event-background-hover-dynamic-color',\n calendarEventBackgroundHoverTransientColor:\n 'calendar-event-background-hover-transient-color',\n calendarRowBackgroundSelectedColor:\n 'calendar-row-background-selected-color',\n calendarEventFillBlockedColor: 'calendar-event-fill-blocked-color',\n calendarGrabHandleBackgroundColor: 'calendar-grab-handle-background-color',\n calendarGridBorderColor: 'calendar-grid-border-color',\n calendarGroupHeaderBackgroundColor: 'calendar-group-header-background-color'\n};\n\nconst prefix = 'ni-nimble';\n\nexport const styleNameFromTokenName = (tokenName: string): string => `${prefix}-${tokenName}`;\nexport const cssPropertyFromTokenName = (tokenName: string): string => `--${prefix}-${tokenName}`;\nexport const scssPropertyFromTokenName = (tokenName: string): string => `$${prefix}-${tokenName}`;\nexport const scssPropertySetterMarkdown = (\n tokenName: string,\n cssProperty: string\n): string => `\\`${cssProperty}: $${prefix}-${tokenName};\\``;\nexport const scssInternalPropertyFromTokenName = (tokenName: string): string => `$${prefix}-internal-${tokenName}`;\nexport const scssInternalPropertySetterMarkdown = (\n tokenName: string,\n property: string\n): string => `\\`#{$${prefix}-internal-${tokenName}}: ${property};\\``;\n\n// Order of suffixes in the array matter, as we want single word suffixes after the multi-word ones\nconst tokenSuffixes = [\n 'RgbPartialColor',\n 'DisabledFontColor',\n 'FontColor',\n 'FontLineHeight',\n 'FontWeight',\n 'FontSize',\n 'TextTransform',\n 'FontFamily',\n 'BoxShadow',\n 'MaxHeight',\n 'MinWidth',\n 'Font',\n 'Size',\n 'Width',\n 'Height',\n 'Delay',\n 'Padding',\n 'Color'\n] as const;\nexport type TokenSuffix = (typeof tokenSuffixes)[number];\nexport const suffixFromTokenName = (\n tokenName: string\n): TokenSuffix | undefined => tokenSuffixes[\n tokenSuffixes.findIndex(tokenSuffix => tokenName.endsWith(tokenSuffix))\n];\n"]}
1
+ {"version":3,"file":"design-token-names.js","sourceRoot":"","sources":["../../../src/theme-provider/design-token-names.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,MAAM,CAAC,MAAM,UAAU,GAA4C;IAC/D,qBAAqB,EAAE,0BAA0B;IACjD,0BAA0B,EAAE,8BAA8B;IAC1D,sBAAsB,EAAE,0BAA0B;IAClD,qBAAqB,EAAE,yBAAyB;IAChD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AM,MAAM,IAAI,SAAS,KAAK,CAAC;AAC5D,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,SAAiB,EAAU,EAAE,CAAC,IAAI,MAAM,aAAa,SAAS,EAAE,CAAC;AACnH,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAC9C,SAAiB,EACjB,QAAgB,EACV,EAAE,CAAC,QAAQ,MAAM,aAAa,SAAS,MAAM,QAAQ,KAAK,CAAC;AAErE,mGAAmG;AACnG,MAAM,aAAa,GAAG;IAClB,iBAAiB;IACjB,mBAAmB;IACnB,WAAW;IACX,gBAAgB;IAChB,YAAY;IACZ,UAAU;IACV,eAAe;IACf,YAAY;IACZ,WAAW;IACX,WAAW;IACX,UAAU;IACV,MAAM;IACN,MAAM;IACN,OAAO;IACP,QAAQ;IACR,OAAO;IACP,SAAS;IACT,OAAO;CACD,CAAC;AAEX,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAC/B,SAAiB,EACM,EAAE,CAAC,aAAa,CACvC,aAAa,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAC1E,CAAC","sourcesContent":["/**\n * Design token names should follow the token naming convention:\n * See: https://github.com/ni/nimble/blob/main/packages/nimble-components/CONTRIBUTING.md#token-naming\n */\n\nimport type * as TokensNamespace from './design-tokens';\n\ntype TokenName = keyof typeof TokensNamespace;\n\nexport const tokenNames: { readonly [key in TokenName]: string } = {\n actionRgbPartialColor: 'action-rgb-partial-color',\n applicationBackgroundColor: 'application-background-color',\n dividerBackgroundColor: 'divider-background-color',\n headerBackgroundColor: 'header-background-color',\n sectionBackgroundColor: 'section-background-color',\n buttonFillPrimaryColor: 'button-fill-primary-color',\n buttonPrimaryFontColor: 'button-primary-font-color',\n buttonFillAccentColor: 'button-fill-accent-color',\n buttonAccentBlockFontColor: 'button-accent-block-font-color',\n buttonAccentOutlineFontColor: 'button-accent-outline-font-color',\n buttonBorderAccentOutlineColor: 'button-border-accent-outline-color',\n fillSelectedColor: 'fill-selected-color',\n fillSelectedRgbPartialColor: 'fill-selected-rgb-partial-color',\n fillHoverSelectedColor: 'fill-hover-selected-color',\n fillHoverColor: 'fill-hover-color',\n fillHoverRgbPartialColor: 'fill-hover-rgb-partial-color',\n fillDownColor: 'fill-down-color',\n borderColor: 'border-color',\n borderRgbPartialColor: 'border-rgb-partial-color',\n failColor: 'fail-color',\n warningColor: 'warning-color',\n passColor: 'pass-color',\n informationColor: 'information-color',\n borderHoverColor: 'border-hover-color',\n iconColor: 'icon-color',\n modalBackdropColor: 'modal-backdrop-color',\n popupBorderColor: 'popup-border-color',\n cardBorderColor: 'card-border-color',\n tagFillColor: 'tag-fill-color',\n controlHeight: 'control-height',\n controlSlimHeight: 'control-slim-height',\n smallPadding: 'small-padding',\n mediumPadding: 'medium-padding',\n standardPadding: 'standard-padding',\n largePadding: 'large-padding',\n labelHeight: 'label-height',\n borderWidth: 'border-width',\n iconSize: 'icon-size',\n groupHeaderTextTransform: 'group-header-text-transform',\n drawerWidth: 'drawer-width',\n dialogSmallWidth: 'dialog-small-width',\n dialogSmallHeight: 'dialog-small-height',\n dialogSmallMaxHeight: 'dialog-small-max-height',\n dialogLargeWidth: 'dialog-large-width',\n dialogLargeHeight: 'dialog-large-height',\n dialogLargeMaxHeight: 'dialog-large-max-height',\n menuMinWidth: 'menu-min-width',\n bannerGapSize: 'banner-gap-size',\n spinnerSmallHeight: 'spinner-small-height',\n spinnerMediumHeight: 'spinner-medium-height',\n spinnerLargeHeight: 'spinner-large-height',\n tableFitRowsHeight: 'table-fit-rows-height',\n smallDelay: 'small-delay',\n mediumDelay: 'medium-delay',\n largeDelay: 'large-delay',\n headlinePlus1Font: 'headline-plus-1-font',\n headlinePlus1FontColor: 'headline-plus-1-font-color',\n headlinePlus1DisabledFontColor: 'headline-plus-1-disabled-font-color',\n headlinePlus1FontFamily: 'headline-plus-1-font-family',\n headlinePlus1FontSize: 'headline-plus-1-font-size',\n headlinePlus1FontWeight: 'headline-plus-1-font-weight',\n headlinePlus1FontLineHeight: 'headline-plus-1-font-line-height',\n headlineFont: 'headline-font',\n headlineFontColor: 'headline-font-color',\n headlineDisabledFontColor: 'headline-disabled-font-color',\n headlineFontFamily: 'headline-font-family',\n headlineFontSize: 'headline-font-size',\n headlineFontWeight: 'headline-font-weight',\n headlineFontLineHeight: 'headline-font-line-height',\n tableHeaderFont: 'table-header-font',\n tableHeaderFontColor: 'table-header-font-color',\n tableHeaderDisabledFontColor: 'table-header-disabled-font-color',\n tableHeaderFontFamily: 'table-header-font-family',\n tableHeaderFontSize: 'table-header-font-size',\n tableHeaderFontWeight: 'table-header-font-weight',\n tableHeaderFontLineHeight: 'table-header-font-line-height',\n titlePlus2Font: 'title-plus-2-font',\n titlePlus2FontColor: 'title-plus-2-font-color',\n titlePlus2DisabledFontColor: 'title-plus-2-disabled-font-color',\n titlePlus2FontFamily: 'title-plus-2-font-family',\n titlePlus2FontSize: 'title-plus-2-font-size',\n titlePlus2FontWeight: 'title-plus-2-font-weight',\n titlePlus2FontLineHeight: 'title-plus-2-font-line-height',\n titlePlus1Font: 'title-plus-1-font',\n titlePlus1FontColor: 'title-plus-1-font-color',\n titlePlus1DisabledFontColor: 'title-plus-1-disabled-font-color',\n titlePlus1FontFamily: 'title-plus-1-font-family',\n titlePlus1FontSize: 'title-plus-1-font-size',\n titlePlus1FontWeight: 'title-plus-1-font-weight',\n titlePlus1FontLineHeight: 'title-plus-1-font-line-height',\n titleFont: 'title-font',\n titleFontColor: 'title-font-color',\n titleDisabledFontColor: 'title-disabled-font-color',\n titleFontFamily: 'title-font-family',\n titleFontSize: 'title-font-size',\n titleFontWeight: 'title-font-weight',\n titleFontLineHeight: 'title-font-line-height',\n subtitlePlus1Font: 'subtitle-plus-1-font',\n subtitlePlus1FontColor: 'subtitle-plus-1-font-color',\n subtitlePlus1DisabledFontColor: 'subtitle-plus-1-disabled-font-color',\n subtitlePlus1FontFamily: 'subtitle-plus-1-font-family',\n subtitlePlus1FontSize: 'subtitle-plus-1-font-size',\n subtitlePlus1FontWeight: 'subtitle-plus-1-font-weight',\n subtitlePlus1FontLineHeight: 'subtitle-plus-1-font-line-height',\n subtitleFont: 'subtitle-font',\n subtitleFontColor: 'subtitle-font-color',\n subtitleDisabledFontColor: 'subtitle-disabled-font-color',\n subtitleFontFamily: 'subtitle-font-family',\n subtitleFontSize: 'subtitle-font-size',\n subtitleFontWeight: 'subtitle-font-weight',\n subtitleFontLineHeight: 'subtitle-font-line-height',\n linkFont: 'link-font',\n linkFontColor: 'link-font-color',\n linkDisabledFontColor: 'link-disabled-font-color',\n linkFontFamily: 'link-font-family',\n linkFontSize: 'link-font-size',\n linkFontWeight: 'link-font-weight',\n linkFontLineHeight: 'link-font-line-height',\n linkActiveFont: 'link-active-font',\n linkActiveFontColor: 'link-active-font-color',\n linkActiveDisabledFontColor: 'link-active-disabled-font-color',\n linkActiveFontFamily: 'link-active-font-family',\n linkActiveFontSize: 'link-active-font-size',\n linkActiveFontWeight: 'link-active-font-weight',\n linkActiveFontLineHeight: 'link-active-font-line-height',\n linkProminentFont: 'link-prominent-font',\n linkProminentFontColor: 'link-prominent-font-color',\n linkProminentDisabledFontColor: 'link-prominent-disabled-font-color',\n linkProminentFontFamily: 'link-prominent-font-family',\n linkProminentFontSize: 'link-prominent-font-size',\n linkProminentFontWeight: 'link-prominent-font-weight',\n linkProminentFontLineHeight: 'link-prominent-font-line-height',\n linkActiveProminentFont: 'link-active-prominent-font',\n linkActiveProminentFontColor: 'link-active-prominent-font-color',\n linkActiveProminentDisabledFontColor:\n 'link-active-prominent-disabled-font-color',\n linkActiveProminentFontFamily: 'link-active-prominent-font-family',\n linkActiveProminentFontSize: 'link-active-prominent-font-size',\n linkActiveProminentFontWeight: 'link-active-prominent-font-weight',\n linkActiveProminentFontLineHeight: 'link-active-prominent-font-line-height',\n placeholderFont: 'placeholder-font',\n placeholderFontColor: 'placeholder-font-color',\n placeholderDisabledFontColor: 'placeholder-disabled-font-color',\n placeholderFontFamily: 'placeholder-font-family',\n placeholderFontSize: 'placeholder-font-size',\n placeholderFontWeight: 'placeholder-font-weight',\n placeholderFontLineHeight: 'placeholder-font-line-height',\n bodyFont: 'body-font',\n bodyFontColor: 'body-font-color',\n bodyDisabledFontColor: 'body-disabled-font-color',\n bodyFontFamily: 'body-font-family',\n bodyFontSize: 'body-font-size',\n bodyFontWeight: 'body-font-weight',\n bodyFontLineHeight: 'body-font-line-height',\n bodyEmphasizedFont: 'body-emphasized-font',\n bodyEmphasizedFontColor: 'body-emphasized-font-color',\n bodyEmphasizedDisabledFontColor: 'body-emphasized-disabled-font-color',\n bodyEmphasizedFontFamily: 'body-emphasized-font-family',\n bodyEmphasizedFontSize: 'body-emphasized-font-size',\n bodyEmphasizedFontWeight: 'body-emphasized-font-weight',\n bodyEmphasizedFontLineHeight: 'body-emphasized-font-line-height',\n bodyPlus1Font: 'body-plus-1-font',\n bodyPlus1FontColor: 'body-plus-1-font-color',\n bodyPlus1DisabledFontColor: 'body-plus-1-disabled-font-color',\n bodyPlus1FontFamily: 'body-plus-1-font-family',\n bodyPlus1FontSize: 'body-plus-1-font-size',\n bodyPlus1FontWeight: 'body-plus-1-font-weight',\n bodyPlus1FontLineHeight: 'body-plus-1-font-line-height',\n bodyPlus1EmphasizedFont: 'body-plus-1-emphasized-font',\n bodyPlus1EmphasizedFontColor: 'body-plus-1-emphasized-font-color',\n bodyPlus1EmphasizedDisabledFontColor:\n 'body-plus-1-emphasized-disabled-font-color',\n bodyPlus1EmphasizedFontFamily: 'body-plus-1-emphasized-font-family',\n bodyPlus1EmphasizedFontSize: 'body-plus-1-emphasized-font-size',\n bodyPlus1EmphasizedFontWeight: 'body-plus-1-emphasized-font-weight',\n bodyPlus1EmphasizedFontLineHeight:\n 'body-plus-1-emphasized-font-line-height',\n groupHeaderFont: 'group-header-font',\n groupHeaderFontColor: 'group-header-font-color',\n groupHeaderDisabledFontColor: 'group-header-disabled-font-color',\n groupHeaderFontFamily: 'group-header-font-family',\n groupHeaderFontSize: 'group-header-font-size',\n groupHeaderFontWeight: 'group-header-font-weight',\n groupHeaderFontLineHeight: 'group-header-font-line-height',\n controlLabelFont: 'control-label-font',\n controlLabelFontColor: 'control-label-font-color',\n controlLabelDisabledFontColor: 'control-label-disabled-font-color',\n controlLabelFontFamily: 'control-label-font-family',\n controlLabelFontSize: 'control-label-font-size',\n controlLabelFontWeight: 'control-label-font-weight',\n controlLabelFontLineHeight: 'control-label-font-line-height',\n buttonLabelFont: 'button-label-font',\n buttonLabelFontColor: 'button-label-font-color',\n buttonLabelDisabledFontColor: 'button-label-disabled-font-color',\n buttonLabelFontFamily: 'button-label-font-family',\n buttonLabelFontSize: 'button-label-font-size',\n buttonLabelFontWeight: 'button-label-font-weight',\n buttonLabelFontLineHeight: 'button-label-font-line-height',\n tooltipCaptionFont: 'tooltip-caption-font',\n tooltipCaptionFontColor: 'tooltip-caption-font-color',\n tooltipCaptionDisabledFontColor: 'tooltip-caption-disabled-font-color',\n tooltipCaptionFontFamily: 'tooltip-caption-font-family',\n tooltipCaptionFontSize: 'tooltip-caption-font-size',\n tooltipCaptionFontWeight: 'tooltip-caption-font-weight',\n tooltipCaptionFontLineHeight: 'tooltip-caption-font-line-height',\n tooltipBackgroundColor: 'tooltip-background-color',\n errorTextFont: 'error-text-font',\n errorTextFontColor: 'error-text-font-color',\n errorTextDisabledFontColor: 'error-text-disabled-font-color',\n errorTextFontFamily: 'error-text-font-family',\n errorTextFontSize: 'error-text-font-size',\n errorTextFontWeight: 'error-text-font-weight',\n errorTextFontLineHeight: 'error-text-font-line-height',\n tableRowBorderColor: 'table-row-border-color',\n elevation1BoxShadow: 'elevation-1-box-shadow',\n elevation2BoxShadow: 'elevation-2-box-shadow',\n elevation3BoxShadow: 'elevation-3-box-shadow',\n graphGridlineColor: 'graph-gridline-color',\n graphTrace1Color: 'graph-trace-1-color',\n graphTrace2Color: 'graph-trace-2-color',\n graphTrace3Color: 'graph-trace-3-color',\n graphTrace4Color: 'graph-trace-4-color',\n graphTrace5Color: 'graph-trace-5-color',\n graphTrace6Color: 'graph-trace-6-color',\n graphTrace7Color: 'graph-trace-7-color',\n graphTrace8Color: 'graph-trace-8-color',\n mentionFont: 'mention-font',\n mentionFontColor: 'mention-font-color',\n mentionDisabledFontColor: 'mention-disabled-font-color',\n mentionFontFamily: 'mention-font-family',\n mentionFontSize: 'mention-font-size',\n mentionFontWeight: 'mention-font-weight',\n mentionFontLineHeight: 'mention-font-line-height',\n calendarEventBackgroundStaticColor:\n 'calendar-event-background-static-color',\n calendarEventBackgroundDynamicColor:\n 'calendar-event-background-dynamic-color',\n calendarEventBackgroundTransientColor:\n 'calendar-event-background-transient-color',\n calendarEventBorderStaticColor: 'calendar-event-border-static-color',\n calendarEventBorderTransientColor: 'calendar-event-border-transient-color',\n calendarEventStaticFontColor: 'calendar-event-static-font-color',\n calendarEventDynamicFontColor: 'calendar-event-dynamic-font-color',\n calendarEventTransientFontColor: 'calendar-event-transient-font-color',\n calendarEventBackgroundHoverStaticColor:\n 'calendar-event-background-hover-static-color',\n calendarEventBackgroundHoverDynamicColor:\n 'calendar-event-background-hover-dynamic-color',\n calendarEventBackgroundHoverTransientColor:\n 'calendar-event-background-hover-transient-color',\n calendarRowBackgroundSelectedColor:\n 'calendar-row-background-selected-color',\n calendarEventFillBlockedColor: 'calendar-event-fill-blocked-color',\n calendarGrabHandleBackgroundColor: 'calendar-grab-handle-background-color',\n calendarGridBorderColor: 'calendar-grid-border-color',\n calendarGroupHeaderBackgroundColor: 'calendar-group-header-background-color'\n};\n\nconst prefix = 'ni-nimble';\n\nexport const styleNameFromTokenName = (tokenName: string): string => `${prefix}-${tokenName}`;\nexport const cssPropertyFromTokenName = (tokenName: string): string => `--${prefix}-${tokenName}`;\nexport const scssPropertyFromTokenName = (tokenName: string): string => `$${prefix}-${tokenName}`;\nexport const scssPropertySetterMarkdown = (\n tokenName: string,\n cssProperty: string\n): string => `\\`${cssProperty}: $${prefix}-${tokenName};\\``;\nexport const scssInternalPropertyFromTokenName = (tokenName: string): string => `$${prefix}-internal-${tokenName}`;\nexport const scssInternalPropertySetterMarkdown = (\n tokenName: string,\n property: string\n): string => `\\`#{$${prefix}-internal-${tokenName}}: ${property};\\``;\n\n// Order of suffixes in the array matter, as we want single word suffixes after the multi-word ones\nconst tokenSuffixes = [\n 'RgbPartialColor',\n 'DisabledFontColor',\n 'FontColor',\n 'FontLineHeight',\n 'FontWeight',\n 'FontSize',\n 'TextTransform',\n 'FontFamily',\n 'BoxShadow',\n 'MaxHeight',\n 'MinWidth',\n 'Font',\n 'Size',\n 'Width',\n 'Height',\n 'Delay',\n 'Padding',\n 'Color'\n] as const;\nexport type TokenSuffix = (typeof tokenSuffixes)[number];\nexport const suffixFromTokenName = (\n tokenName: string\n): TokenSuffix | undefined => tokenSuffixes[\n tokenSuffixes.findIndex(tokenSuffix => tokenName.endsWith(tokenSuffix))\n];\n"]}
@@ -76,6 +76,7 @@ export declare const bannerGapSize: CSSDesignToken<string>;
76
76
  export declare const spinnerSmallHeight: CSSDesignToken<string>;
77
77
  export declare const spinnerMediumHeight: CSSDesignToken<string>;
78
78
  export declare const spinnerLargeHeight: CSSDesignToken<string>;
79
+ export declare const tableFitRowsHeight: CSSDesignToken<string>;
79
80
  export declare const elevation1BoxShadow: CSSDesignToken<string>;
80
81
  export declare const elevation2BoxShadow: CSSDesignToken<string>;
81
82
  export declare const elevation3BoxShadow: CSSDesignToken<string>;
@@ -85,6 +85,9 @@ export const bannerGapSize = DesignToken.create(styleNameFromTokenName(tokenName
85
85
  export const spinnerSmallHeight = DesignToken.create(styleNameFromTokenName(tokenNames.spinnerSmallHeight)).withDefault('16px');
86
86
  export const spinnerMediumHeight = DesignToken.create(styleNameFromTokenName(tokenNames.spinnerMediumHeight)).withDefault('32px');
87
87
  export const spinnerLargeHeight = DesignToken.create(styleNameFromTokenName(tokenNames.spinnerLargeHeight)).withDefault('64px');
88
+ // The token gets a default value of the table's default height (480px)
89
+ // but is given a calculated value in the table styles.
90
+ export const tableFitRowsHeight = DesignToken.create(styleNameFromTokenName(tokenNames.tableFitRowsHeight)).withDefault('480px');
88
91
  // Drop Shadow Tokens
89
92
  export const elevation1BoxShadow = DesignToken.create(styleNameFromTokenName(tokenNames.elevation1BoxShadow)).withDefault((element) => `0px 1px 4px ${hexToRgbaCssColor(getColorForTheme(element, Black, Black, Black), 0.16)}`);
90
93
  export const elevation2BoxShadow = DesignToken.create(styleNameFromTokenName(tokenNames.elevation2BoxShadow)).withDefault((element) => `0px 2px 4px ${hexToRgbaCssColor(getColorForTheme(element, Black, Black, Black), 0.16)}`);