@salesforce/design-system-react 11.0.0-alpha.3 → 11.0.0-alpha.4

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.
Files changed (203) hide show
  1. package/dist/cjs/components/index.cjs +1 -1
  2. package/dist/cjs/components/page-header/index.cjs.map +1 -1
  3. package/dist/cjs/components/{data-table → simple-data-table}/cell.cjs +1 -1
  4. package/dist/cjs/components/simple-data-table/cell.cjs.map +1 -0
  5. package/dist/cjs/components/{data-table → simple-data-table}/check-props.cjs +1 -1
  6. package/dist/cjs/components/simple-data-table/check-props.cjs.map +1 -0
  7. package/dist/cjs/components/simple-data-table/column-check-props.cjs.map +1 -0
  8. package/dist/cjs/components/simple-data-table/column.cjs +2 -0
  9. package/dist/cjs/components/simple-data-table/column.cjs.map +1 -0
  10. package/dist/cjs/components/simple-data-table/component.cjs +2 -0
  11. package/dist/cjs/components/simple-data-table/component.cjs.map +1 -0
  12. package/dist/cjs/components/{data-table → simple-data-table}/highlight-cell.cjs +1 -1
  13. package/dist/cjs/components/simple-data-table/highlight-cell.cjs.map +1 -0
  14. package/dist/cjs/components/simple-data-table/index.cjs +2 -0
  15. package/dist/cjs/components/simple-data-table/index.cjs.map +1 -0
  16. package/dist/cjs/components/simple-data-table/interactive-element.cjs.map +1 -0
  17. package/dist/cjs/components/simple-data-table/interactive-link.cjs.map +1 -0
  18. package/dist/cjs/components/simple-data-table/private/cell-context.cjs.map +1 -0
  19. package/dist/cjs/components/simple-data-table/private/cell-fixed.cjs.map +1 -0
  20. package/dist/cjs/components/simple-data-table/private/context-helper.cjs.map +1 -0
  21. package/dist/cjs/components/{data-table → simple-data-table}/private/head.cjs +1 -1
  22. package/dist/cjs/components/simple-data-table/private/head.cjs.map +1 -0
  23. package/dist/cjs/components/simple-data-table/private/header-cell.cjs +2 -0
  24. package/dist/cjs/components/simple-data-table/private/header-cell.cjs.map +1 -0
  25. package/dist/cjs/components/simple-data-table/private/link.cjs.map +1 -0
  26. package/dist/cjs/components/simple-data-table/private/mode.cjs.map +1 -0
  27. package/dist/cjs/components/simple-data-table/private/row.cjs +2 -0
  28. package/dist/cjs/components/simple-data-table/private/row.cjs.map +1 -0
  29. package/dist/cjs/components/simple-data-table/private/table-context.cjs.map +1 -0
  30. package/dist/cjs/components/{data-table → simple-data-table}/row-actions.cjs +1 -1
  31. package/dist/cjs/components/simple-data-table/row-actions.cjs.map +1 -0
  32. package/dist/cjs/components/simple-data-table.cjs +1 -0
  33. package/dist/cjs/utilities/constants.cjs +1 -1
  34. package/dist/cjs/utilities/constants.cjs.map +1 -1
  35. package/dist/es/components/index.js +78 -78
  36. package/dist/es/components/page-header/index.js.map +1 -1
  37. package/dist/es/components/{data-table → simple-data-table}/cell.js +2 -2
  38. package/dist/es/components/simple-data-table/cell.js.map +1 -0
  39. package/dist/es/components/{data-table → simple-data-table}/check-props.js +2 -2
  40. package/dist/es/components/simple-data-table/check-props.js.map +1 -0
  41. package/dist/es/components/{data-table → simple-data-table}/column-check-props.js +1 -1
  42. package/dist/es/components/simple-data-table/column-check-props.js.map +1 -0
  43. package/dist/es/components/simple-data-table/column.js +8 -0
  44. package/dist/es/components/simple-data-table/column.js.map +1 -0
  45. package/dist/es/components/{data-table → simple-data-table}/component.js +6 -10
  46. package/dist/es/components/simple-data-table/component.js.map +1 -0
  47. package/dist/es/components/{data-table → simple-data-table}/highlight-cell.js +2 -2
  48. package/dist/es/components/simple-data-table/highlight-cell.js.map +1 -0
  49. package/dist/es/components/{data-table → simple-data-table}/index.js +72 -177
  50. package/dist/es/components/simple-data-table/index.js.map +1 -0
  51. package/dist/es/components/{data-table → simple-data-table}/interactive-element.js +1 -1
  52. package/dist/es/components/simple-data-table/interactive-element.js.map +1 -0
  53. package/dist/es/components/{data-table → simple-data-table}/interactive-link.js +1 -1
  54. package/dist/es/components/simple-data-table/interactive-link.js.map +1 -0
  55. package/dist/es/components/{data-table → simple-data-table}/private/cell-context.js +1 -1
  56. package/dist/es/components/simple-data-table/private/cell-context.js.map +1 -0
  57. package/dist/es/components/{data-table → simple-data-table}/private/cell-fixed.js +1 -1
  58. package/dist/es/components/simple-data-table/private/cell-fixed.js.map +1 -0
  59. package/dist/es/components/{data-table → simple-data-table}/private/context-helper.js +1 -1
  60. package/dist/es/components/simple-data-table/private/context-helper.js.map +1 -0
  61. package/dist/es/components/{data-table → simple-data-table}/private/head.js +2 -2
  62. package/dist/es/components/simple-data-table/private/head.js.map +1 -0
  63. package/dist/es/components/{data-table → simple-data-table}/private/header-cell.js +2 -2
  64. package/dist/es/components/simple-data-table/private/header-cell.js.map +1 -0
  65. package/dist/es/components/{data-table → simple-data-table}/private/link.js +1 -1
  66. package/dist/es/components/simple-data-table/private/link.js.map +1 -0
  67. package/dist/es/components/{data-table → simple-data-table}/private/mode.js +1 -1
  68. package/dist/es/components/simple-data-table/private/mode.js.map +1 -0
  69. package/dist/es/components/{data-table → simple-data-table}/private/row.js +6 -6
  70. package/dist/es/components/simple-data-table/private/row.js.map +1 -0
  71. package/dist/es/components/{data-table → simple-data-table}/private/table-context.js +1 -1
  72. package/dist/es/components/simple-data-table/private/table-context.js.map +1 -0
  73. package/dist/es/components/{data-table → simple-data-table}/row-actions.js +2 -2
  74. package/dist/es/components/simple-data-table/row-actions.js.map +1 -0
  75. package/dist/es/components/simple-data-table.js +2 -0
  76. package/dist/es/utilities/constants.js +2 -2
  77. package/dist/es/utilities/constants.js.map +1 -1
  78. package/dist/types/components/index.d.ts +14 -14
  79. package/dist/types/components/index.d.ts.map +1 -1
  80. package/dist/types/components/page-header/index.d.ts +1 -1
  81. package/dist/types/components/page-header/index.d.ts.map +1 -1
  82. package/dist/types/components/{data-table → simple-data-table}/cell.d.ts +5 -5
  83. package/dist/types/components/simple-data-table/cell.d.ts.map +1 -0
  84. package/dist/types/components/simple-data-table/check-props.d.ts.map +1 -0
  85. package/dist/types/components/simple-data-table/column-check-props.d.ts.map +1 -0
  86. package/dist/types/components/{data-table → simple-data-table}/column.d.ts +6 -6
  87. package/dist/types/components/simple-data-table/column.d.ts.map +1 -0
  88. package/dist/types/components/simple-data-table/highlight-cell.d.ts +14 -0
  89. package/dist/types/components/simple-data-table/highlight-cell.d.ts.map +1 -0
  90. package/dist/types/components/{data-table → simple-data-table}/index.d.ts +13 -40
  91. package/dist/types/components/simple-data-table/index.d.ts.map +1 -0
  92. package/dist/types/components/simple-data-table/interactive-element.d.ts.map +1 -0
  93. package/dist/types/components/simple-data-table/interactive-link.d.ts.map +1 -0
  94. package/dist/types/components/simple-data-table/private/cell-context.d.ts.map +1 -0
  95. package/dist/types/components/simple-data-table/private/cell-fixed.d.ts.map +1 -0
  96. package/dist/types/components/simple-data-table/private/context-helper.d.ts.map +1 -0
  97. package/dist/types/components/{data-table → simple-data-table}/private/head.d.ts +6 -6
  98. package/dist/types/components/simple-data-table/private/head.d.ts.map +1 -0
  99. package/dist/types/components/{data-table → simple-data-table}/private/header-cell.d.ts +3 -3
  100. package/dist/types/components/simple-data-table/private/header-cell.d.ts.map +1 -0
  101. package/dist/types/components/simple-data-table/private/link.d.ts.map +1 -0
  102. package/dist/types/components/simple-data-table/private/mode.d.ts.map +1 -0
  103. package/dist/types/components/{data-table → simple-data-table}/private/row.d.ts +11 -11
  104. package/dist/types/components/simple-data-table/private/row.d.ts.map +1 -0
  105. package/dist/types/components/simple-data-table/private/table-context.d.ts.map +1 -0
  106. package/dist/types/components/{data-table → simple-data-table}/row-actions.d.ts +5 -5
  107. package/dist/types/components/simple-data-table/row-actions.d.ts.map +1 -0
  108. package/dist/types/components/simple-data-table/simple-data-table.d.ts +15 -0
  109. package/dist/types/components/simple-data-table/simple-data-table.d.ts.map +1 -0
  110. package/dist/types/components/{data-table → simple-data-table}/types.d.ts +56 -71
  111. package/dist/types/components/simple-data-table/types.d.ts.map +1 -0
  112. package/dist/types/components/simple-data-table.d.ts +2 -0
  113. package/dist/types/utilities/constants.d.ts +7 -7
  114. package/dist/types/utilities/constants.d.ts.map +1 -1
  115. package/package.json +3 -2
  116. package/dist/cjs/components/data-table/cell.cjs.map +0 -1
  117. package/dist/cjs/components/data-table/check-props.cjs.map +0 -1
  118. package/dist/cjs/components/data-table/column-check-props.cjs.map +0 -1
  119. package/dist/cjs/components/data-table/column.cjs +0 -2
  120. package/dist/cjs/components/data-table/column.cjs.map +0 -1
  121. package/dist/cjs/components/data-table/component.cjs +0 -2
  122. package/dist/cjs/components/data-table/component.cjs.map +0 -1
  123. package/dist/cjs/components/data-table/highlight-cell.cjs.map +0 -1
  124. package/dist/cjs/components/data-table/index.cjs +0 -2
  125. package/dist/cjs/components/data-table/index.cjs.map +0 -1
  126. package/dist/cjs/components/data-table/interactive-element.cjs.map +0 -1
  127. package/dist/cjs/components/data-table/interactive-link.cjs.map +0 -1
  128. package/dist/cjs/components/data-table/private/cell-context.cjs.map +0 -1
  129. package/dist/cjs/components/data-table/private/cell-fixed.cjs.map +0 -1
  130. package/dist/cjs/components/data-table/private/context-helper.cjs.map +0 -1
  131. package/dist/cjs/components/data-table/private/head.cjs.map +0 -1
  132. package/dist/cjs/components/data-table/private/header-cell.cjs +0 -2
  133. package/dist/cjs/components/data-table/private/header-cell.cjs.map +0 -1
  134. package/dist/cjs/components/data-table/private/link.cjs.map +0 -1
  135. package/dist/cjs/components/data-table/private/mode.cjs.map +0 -1
  136. package/dist/cjs/components/data-table/private/row.cjs +0 -2
  137. package/dist/cjs/components/data-table/private/row.cjs.map +0 -1
  138. package/dist/cjs/components/data-table/private/table-context.cjs.map +0 -1
  139. package/dist/cjs/components/data-table/row-actions.cjs.map +0 -1
  140. package/dist/cjs/components/data-table.cjs +0 -1
  141. package/dist/es/components/data-table/cell.js.map +0 -1
  142. package/dist/es/components/data-table/check-props.js.map +0 -1
  143. package/dist/es/components/data-table/column-check-props.js.map +0 -1
  144. package/dist/es/components/data-table/column.js +0 -8
  145. package/dist/es/components/data-table/column.js.map +0 -1
  146. package/dist/es/components/data-table/component.js.map +0 -1
  147. package/dist/es/components/data-table/highlight-cell.js.map +0 -1
  148. package/dist/es/components/data-table/index.js.map +0 -1
  149. package/dist/es/components/data-table/interactive-element.js.map +0 -1
  150. package/dist/es/components/data-table/interactive-link.js.map +0 -1
  151. package/dist/es/components/data-table/private/cell-context.js.map +0 -1
  152. package/dist/es/components/data-table/private/cell-fixed.js.map +0 -1
  153. package/dist/es/components/data-table/private/context-helper.js.map +0 -1
  154. package/dist/es/components/data-table/private/head.js.map +0 -1
  155. package/dist/es/components/data-table/private/header-cell.js.map +0 -1
  156. package/dist/es/components/data-table/private/link.js.map +0 -1
  157. package/dist/es/components/data-table/private/mode.js.map +0 -1
  158. package/dist/es/components/data-table/private/row.js.map +0 -1
  159. package/dist/es/components/data-table/private/table-context.js.map +0 -1
  160. package/dist/es/components/data-table/row-actions.js.map +0 -1
  161. package/dist/es/components/data-table.js +0 -2
  162. package/dist/types/components/data-table/cell.d.ts.map +0 -1
  163. package/dist/types/components/data-table/check-props.d.ts.map +0 -1
  164. package/dist/types/components/data-table/column-check-props.d.ts.map +0 -1
  165. package/dist/types/components/data-table/column.d.ts.map +0 -1
  166. package/dist/types/components/data-table/data-table.d.ts +0 -15
  167. package/dist/types/components/data-table/data-table.d.ts.map +0 -1
  168. package/dist/types/components/data-table/highlight-cell.d.ts +0 -14
  169. package/dist/types/components/data-table/highlight-cell.d.ts.map +0 -1
  170. package/dist/types/components/data-table/index.d.ts.map +0 -1
  171. package/dist/types/components/data-table/interactive-element.d.ts.map +0 -1
  172. package/dist/types/components/data-table/interactive-link.d.ts.map +0 -1
  173. package/dist/types/components/data-table/private/cell-context.d.ts.map +0 -1
  174. package/dist/types/components/data-table/private/cell-fixed.d.ts.map +0 -1
  175. package/dist/types/components/data-table/private/context-helper.d.ts.map +0 -1
  176. package/dist/types/components/data-table/private/head.d.ts.map +0 -1
  177. package/dist/types/components/data-table/private/header-cell.d.ts.map +0 -1
  178. package/dist/types/components/data-table/private/link.d.ts.map +0 -1
  179. package/dist/types/components/data-table/private/mode.d.ts.map +0 -1
  180. package/dist/types/components/data-table/private/row.d.ts.map +0 -1
  181. package/dist/types/components/data-table/private/table-context.d.ts.map +0 -1
  182. package/dist/types/components/data-table/row-actions.d.ts.map +0 -1
  183. package/dist/types/components/data-table/types.d.ts.map +0 -1
  184. package/dist/types/components/data-table.d.ts +0 -2
  185. /package/dist/cjs/components/{data-table → simple-data-table}/column-check-props.cjs +0 -0
  186. /package/dist/cjs/components/{data-table → simple-data-table}/interactive-element.cjs +0 -0
  187. /package/dist/cjs/components/{data-table → simple-data-table}/interactive-link.cjs +0 -0
  188. /package/dist/cjs/components/{data-table → simple-data-table}/private/cell-context.cjs +0 -0
  189. /package/dist/cjs/components/{data-table → simple-data-table}/private/cell-fixed.cjs +0 -0
  190. /package/dist/cjs/components/{data-table → simple-data-table}/private/context-helper.cjs +0 -0
  191. /package/dist/cjs/components/{data-table → simple-data-table}/private/link.cjs +0 -0
  192. /package/dist/cjs/components/{data-table → simple-data-table}/private/mode.cjs +0 -0
  193. /package/dist/cjs/components/{data-table → simple-data-table}/private/table-context.cjs +0 -0
  194. /package/dist/types/components/{data-table → simple-data-table}/check-props.d.ts +0 -0
  195. /package/dist/types/components/{data-table → simple-data-table}/column-check-props.d.ts +0 -0
  196. /package/dist/types/components/{data-table → simple-data-table}/interactive-element.d.ts +0 -0
  197. /package/dist/types/components/{data-table → simple-data-table}/interactive-link.d.ts +0 -0
  198. /package/dist/types/components/{data-table → simple-data-table}/private/cell-context.d.ts +0 -0
  199. /package/dist/types/components/{data-table → simple-data-table}/private/cell-fixed.d.ts +0 -0
  200. /package/dist/types/components/{data-table → simple-data-table}/private/context-helper.d.ts +0 -0
  201. /package/dist/types/components/{data-table → simple-data-table}/private/link.d.ts +0 -0
  202. /package/dist/types/components/{data-table → simple-data-table}/private/mode.d.ts +0 -0
  203. /package/dist/types/components/{data-table → simple-data-table}/private/table-context.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row-actions.cjs","names":[],"sources":["../../../../components/simple-data-table/row-actions.tsx"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\n\nimport React, { useContext, ReactNode } from 'react';\nimport classNames from 'classnames';\nimport isFunction from 'lodash.isfunction';\n\nimport Dropdown from '../menu-dropdown';\n\nimport EventUtil from '../../utilities/event';\n\nimport InteractiveElement from './interactive-element';\nimport CellContext from './private/cell-context';\nimport TableContext from './private/table-context';\nimport useContextHelper from './private/context-helper';\n\nimport { SIMPLE_DATA_TABLE_ROW_ACTIONS } from '../../utilities/constants';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\nconst InteractiveDropdown = InteractiveElement(\n\tDropdown as any\n) as React.ComponentType<any>;\n/* eslint-enable @typescript-eslint/no-explicit-any */\n\nexport interface SimpleDataTableRowActionsProps {\n\t/** Description of the menu for screenreaders */\n\tassistiveText?: { icon?: string };\n\t/** Class names to be added to the actions menu */\n\tclassName?: string;\n\t/** HTML ID to be added to the actions menu */\n\tid?: string;\n\t/** SimpleDataTable row item */\n\titem?: Record<string, unknown>;\n\t/** Disable hint styling which changes the color of the dropdown svg on hover */\n\tnoHint?: boolean;\n\t/** Triggered when an item is selected */\n\tonAction?: (item: Record<string, unknown>, selection: unknown) => void;\n\t/** Dropdown options. See Dropdown. */\n\toptions?: unknown[];\n\t/** A Dropdown component. Props from this will be merged and override defaults. */\n\tdropdown?: ReactNode;\n\t/** Fixed layout mode */\n\tfixedLayout?: boolean;\n}\n\n/**\n * RowActions provide a mechanism for defining a menu to display alongside\n * each row in the SimpleDataTable.\n */\nconst SimpleDataTableRowActions: React.FC<SimpleDataTableRowActionsProps> = ({\n\tassistiveText = { icon: 'Actions' },\n\tnoHint = false,\n\toptions = [],\n\tclassName,\n\tid,\n\titem,\n\tonAction,\n\tdropdown,\n\tfixedLayout,\n}) => {\n\tconst tableContext = useContext(TableContext);\n\tconst cellContext = useContext(CellContext);\n\tconst { tabIndex, hasFocus, handleFocus, handleKeyDown } = useContextHelper(\n\t\ttableContext,\n\t\tcellContext,\n\t\tfixedLayout\n\t);\n\n\tconst handleClick = (e: React.MouseEvent) => {\n\t\tEventUtil.trap(e);\n\t};\n\n\tconst handleSelect = (selection: unknown) => {\n\t\tif (isFunction(onAction) && item) {\n\t\t\tonAction(item, selection);\n\t\t}\n\t\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\t\tif (dropdown && isFunction((dropdown as any).props?.onSelect)) {\n\t\t\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\t\t\t(dropdown as any).props.onSelect(selection);\n\t\t}\n\t};\n\n\tconst defaultDropdownProps = {\n\t\talign: 'right',\n\t\tbuttonClassName: 'slds-button_icon-x-small',\n\t\tbuttonVariant: 'icon',\n\t\ticonCategory: 'utility',\n\t\ticonName: 'down',\n\t\ticonSize: 'small',\n\t\ticonVariant: 'border-filled',\n\t\tassistiveText,\n\t\tclassName,\n\t\toptions,\n\t\thint: !noHint,\n\t\tid,\n\t};\n\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tlet dropdownProps: Record<string, any> = dropdown\n\t\t? // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\t\t\t(dropdown as any).props\n\t\t: {};\n\tdropdownProps = {\n\t\t...defaultDropdownProps,\n\t\t...dropdownProps,\n\t\tonSelect: handleSelect,\n\t};\n\n\treturn (\n\t\t<td\n\t\t\tclassName={classNames({ 'slds-has-focus': hasFocus })}\n\t\t\tdata-label=\"Actions\"\n\t\t\tonClick={handleClick}\n\t\t\tstyle={{ width: '3.25rem' }}\n\t\t\tonFocus={handleFocus}\n\t\t\tonKeyDown={handleKeyDown}\n\t\t\tref={(ref) => {\n\t\t\t\tif (ref && hasFocus) {\n\t\t\t\t\tref.focus();\n\t\t\t\t}\n\t\t\t}}\n\t\t\trole={fixedLayout ? 'gridcell' : undefined}\n\t\t\ttabIndex={tabIndex}\n\t\t>\n\t\t\t<InteractiveDropdown {...dropdownProps} />\n\t\t</td>\n\t);\n};\n\nSimpleDataTableRowActions.displayName = SIMPLE_DATA_TABLE_ROW_ACTIONS;\n\nexport default SimpleDataTableRowActions;\n"],"mappings":"4fAmBA,IAAM,EAAsB,EAAA,QAC3B,EAAA,OACD,EA4BM,GAAuE,CAC5E,gBAAgB,CAAE,KAAM,SAAU,EAClC,SAAS,GACT,UAAU,CAAC,EACX,YACA,KACA,OACA,WACA,WACA,iBACK,CACL,IAAM,GAAA,EAAe,EAAA,WAAA,CAAW,EAAA,OAAY,EACtC,GAAA,EAAc,EAAA,WAAA,CAAW,EAAA,OAAW,EACpC,CAAE,WAAU,WAAU,cAAa,iBAAkB,EAAA,QAC1D,EACA,EACA,CACD,EAEM,EAAe,GAAwB,CAC5C,EAAA,QAAU,KAAK,CAAC,CACjB,EAEM,EAAgB,GAAuB,EAC5C,EAAI,EAAA,QAAA,CAAW,CAAQ,GAAK,GAC3B,EAAS,EAAM,CAAS,EAGrB,IAAA,EAAY,EAAA,QAAA,CAAY,EAAiB,OAAO,QAAQ,GAE3D,EAAkB,MAAM,SAAS,CAAS,CAE5C,EAEM,EAAuB,CAC5B,MAAO,QACP,gBAAiB,2BACjB,cAAe,OACf,aAAc,UACd,SAAU,OACV,SAAU,QACV,YAAa,gBACb,gBACA,YACA,UACA,KAAM,CAAC,EACP,IACD,EAGI,EAAqC,EAEtC,EAAiB,MACjB,CAAC,EAOJ,MANA,GAAgB,CACf,GAAG,EACH,GAAG,EACH,SAAU,CACX,GAGC,EAAA,EAAA,IAAA,CAAC,KAAD,CACC,WAAA,EAAW,EAAA,QAAA,CAAW,CAAE,iBAAkB,CAAS,CAAC,EACpD,aAAW,UACX,QAAS,EACT,MAAO,CAAE,MAAO,SAAU,EAC1B,QAAS,EACT,UAAW,EACX,IAAM,GAAQ,CACT,GAAO,GACV,EAAI,MAAM,CAEZ,EACA,KAAM,EAAc,WAAa,IAAA,GACvB,WAEV,UAAA,EAAA,EAAA,IAAA,CAAC,EAAD,CAAqB,GAAI,CAAgB,CAAA,CACtC,CAAA,CAEN,EAEA,EAA0B,YAAc,EAAA"}
@@ -0,0 +1 @@
1
+ module.exports = require('./simple-data-table/index.cjs');
@@ -1,2 +1,2 @@
1
- var e=`SLDSAccordion`,t=`SLDSAccordionPanel`,n=`SLDSAlert`,r=`SLDSAlertContainer`,i=`SLDSAvatar`,a=`SLDSBadge`,o=`SLDSBreadcrumb`,s=`SLDSBuilderHeader`,c=`SLDSBuilderHeaderMisc`,l=`SLDSBuilderHeaderUtilities`,u=`SLDSBuilderHeaderNav`,d=`SLDSBuilderHeaderNavDropdown`,f=`SLDSBuilderHeaderNavLink`,p=`SLDSBuilderHeaderToolbar`,m=`SLDSButton`,h=`SLDSButtonGroup`,g=`SLDSButtonStateful`,_=`SLDSButtonIcon`,v=`SLDSCard`,y=`SLDSCardBody`,b=`SLDSCardEmpty`,x=`SLDSCardFilter`,S=`SLDSCardFooter`,C=`SLDSCardHeader`,w=`SLDSCarousel`,T=`SLDSCarouselIndicators`,E=`SLDSCarouselItem`,D=`SLDSCarouselNavigators`,O=`SLDSCarouselAutoplayButton`,k=`SLDSColorPicker`,A=`SLDSCombobox`,j=`SLDSDataTable`,M=`SLDSDataTableCell`,N=`SLDSDataTableColumn`,P=`SLDSDataTableHead`,F=`SLDSDataTableHeaderCell`,I=`SLDSDataTableRowActions`,L=`SLDSDataTableRow`,R=`SLDSDatePicker`,z=`SLDSDynamicIcon`,B=`SLDSDialog`,V=`SLDSFiles`,H=`SLDSFilesFile`,U=`SLDSFilesMore`,W=`SLDSFilesFigure`,G=`SLDSFilesActions`,K=`SLDSExpandableSection`,q=`SLDSFilter`,J=`SLDSCheckbox`,Y=`SLDSInlineEdit`,X=`SLDSInput`,Z=`SLDSTextarea`,Q=`SLDSSearch`,$=`SLDSHighlighter`,ee=`SLDSIcon`,te=`SLDSIconSettings`,ne=`SLDSIconInput`,re=`SLDSIllustration`,ie=`SLDSList`,ae=`SLDSListItem`,oe=`SLDSListItemLabel`,se=`SLDSLookup`,ce=`SLDSMediaObject`,le=`SLDSMenuDropdown`,ue=`SLDSMenuDropdownTrigger`,de=`SLDSModal`,fe=`SLDSPanel`,pe=`SLDSFilterGroup`,me=`SLDSFilterList`,he=`SLDSPanelFilterListHeading`,ge=`SLDSPageHeader`,_e=`SLDSPageHeaderControl`,ve=`SLDSPill`,ye=`SLDSPillContainer`,be=`SLDSPortalSettings`,xe=`SLDSPopover`,Se=`SLDSPopoverEditDialog`,Ce=`SLDSPopoverTooltip`,we=`SLDSProgressIndicator`,Te=`SLDSProgressIndicatorProgress`,Ee=`SLDSProgressIndicatorStep`,De=`SLDSProgressIndicatorStepVertical`,Oe=`SLDSProgressRing`,ke=`SLDSProgressBar`,Ae=`SLDSSetupAssistant`,je=`SLDSSetupAssistantStep`,Me=`SLDSScopedNotification`,Ne=`SLDSSlider`,Pe=`SLDSSpinner`,Fe=`SLDSSplitView`,Ie=`SLDSSplitViewHeader`,Le=`SLDSSplitViewListbox`,Re=`SLDSRadio`,ze=`SLDSRadioGroup`,Be=`SLDSRadioButtonGroup`,Ve=`SLDSTab`,He=`SLDSTabPanel`,Ue=`SLDSTabs`,We=`SLDSTabsList`,Ge=`SLDSTabsPanel`,Ke=`SLDSTimepicker`,qe=`SLDSToast`,Je=`SLDSToastContainer`,Ye=`SLDSTree`,Xe=`SLDSTreeBranch`,Ze=`SLDSTreeItem`,Qe=`SLDSTrialBar`,$e=`SLDSTrialBarDropdown`,et=`SLDSTrialBarButton`,tt=`SLDSVerticalNavigation`,nt=`SLDSVerticalNavigationItem`,rt=`SLDSVisualPicker`,it=`SLDSVisualPickerLink`,at=`SLDSWelcomeMat`,ot=`SLDSWelcomeMatTile`,st=`SLDSWelcomeMatBadge`;exports.ACCORDION=e,exports.ACCORDION_PANEL=t,exports.ALERT=n,exports.ALERT_CONTAINER=r,exports.AVATAR=i,exports.BADGE=a,exports.BREADCRUMB=o,exports.BUILDER_HEADER=s,exports.BUILDER_HEADER_MISC=c,exports.BUILDER_HEADER_NAV=u,exports.BUILDER_HEADER_NAV_DROPDOWN=d,exports.BUILDER_HEADER_NAV_LINK=f,exports.BUILDER_HEADER_TOOLBAR=p,exports.BUILDER_HEADER_UTILITIES=l,exports.BUTTON=m,exports.BUTTON_GROUP=h,exports.BUTTON_ICON=_,exports.BUTTON_STATEFUL=g,exports.CARD=v,exports.CARD_BODY=y,exports.CARD_EMPTY=b,exports.CARD_FILTER=x,exports.CARD_FOOTER=S,exports.CARD_HEADER=C,exports.CAROUSEL=w,exports.CAROUSEL_AUTOPLAY_BUTTON=O,exports.CAROUSEL_INDICATORS=T,exports.CAROUSEL_ITEM=E,exports.CAROUSEL_NAVIGATORS=D,exports.CHECKBOX=J,exports.COLOR_PICKER=k,exports.COMBOBOX=A,exports.DATA_TABLE=j,exports.DATA_TABLE_CELL=M,exports.DATA_TABLE_COLUMN=N,exports.DATA_TABLE_HEAD=P,exports.DATA_TABLE_HEADER_CELL=F,exports.DATA_TABLE_ROW=L,exports.DATA_TABLE_ROW_ACTIONS=I,exports.DATE_PICKER=R,exports.DIALOG=B,exports.DYNAMIC_ICON=z,exports.EXPANDABLE_SECTION=K,exports.FILES=V,exports.FILES_ACTIONS=G,exports.FILES_FIGURE=W,exports.FILES_FILE=H,exports.FILES_MORE=U,exports.FILTER=q,exports.FORMS_INLINE_EDIT=Y,exports.HIGHLIGHTER=$,exports.ICON=ee,exports.ICON_INPUT=ne,exports.ICON_SETTINGS=te,exports.ILLUSTRATION=re,exports.INPUT=X,exports.LIST=ie,exports.LIST_ITEM=ae,exports.LIST_ITEM_LABEL=oe,exports.LOOKUP=se,exports.MEDIA_OBJECT=ce,exports.MENU_DROPDOWN=le,exports.MENU_DROPDOWN_TRIGGER=ue,exports.MODAL=de,exports.PAGE_HEADER=ge,exports.PAGE_HEADER_CONTROL=_e,exports.PANEL=fe,exports.PANEL_FILTER_GROUP=pe,exports.PANEL_FILTER_LIST=me,exports.PANEL_FILTER_LIST_HEADING=he,exports.PILL=ve,exports.PILL_CONTAINER=ye,exports.POPOVER=xe,exports.POPOVER_EDIT_DIALOG=Se,exports.POPOVER_TOOLTIP=Ce,exports.PORTAL_SETTINGS=be,exports.PROGRESS_BAR=ke,exports.PROGRESS_INDICATOR=we,exports.PROGRESS_INDICATOR_PROGRESS=Te,exports.PROGRESS_INDICATOR_STEP=Ee,exports.PROGRESS_INDICATOR_STEP_VERTICAL=De,exports.PROGRESS_RING=Oe,exports.RADIO=Re,exports.RADIO_BUTTON_GROUP=Be,exports.RADIO_GROUP=ze,exports.SCOPED_NOTIFICATION=Me,exports.SEARCH=Q,exports.SETUP_ASSISTANT=Ae,exports.SETUP_ASSISTANT_STEP=je,exports.SLIDER=Ne,exports.SPINNER=Pe,exports.SPLIT_VIEW=Fe,exports.SPLIT_VIEW_HEADER=Ie,exports.SPLIT_VIEW_LISTBOX=Le,exports.TAB=Ve,exports.TABS=Ue,exports.TABS_LIST=We,exports.TABS_PANEL=Ge,exports.TAB_PANEL=He,exports.TEXTAREA=Z,exports.TIME_PICKER=Ke,exports.TOAST=qe,exports.TOAST_CONTAINER=Je,exports.TREE=Ye,exports.TREE_BRANCH=Xe,exports.TREE_ITEM=Ze,exports.TRIAL_BAR=Qe,exports.TRIAL_BAR_BUTTON=et,exports.TRIAL_BAR_DROPDOWN=$e,exports.VERTICAL_NAVIGATION=tt,exports.VERTICAL_NAVIGATION_ITEM=nt,exports.VISUAL_PICKER=rt,exports.VISUAL_PICKER_LINK=it,exports.WELCOME_MAT=at,exports.WELCOME_MAT_BADGE=st,exports.WELCOME_MAT_TILE=ot;
1
+ var e=`SLDSAccordion`,t=`SLDSAccordionPanel`,n=`SLDSAlert`,r=`SLDSAlertContainer`,i=`SLDSAvatar`,a=`SLDSBadge`,o=`SLDSBreadcrumb`,s=`SLDSBuilderHeader`,c=`SLDSBuilderHeaderMisc`,l=`SLDSBuilderHeaderUtilities`,u=`SLDSBuilderHeaderNav`,d=`SLDSBuilderHeaderNavDropdown`,f=`SLDSBuilderHeaderNavLink`,p=`SLDSBuilderHeaderToolbar`,m=`SLDSButton`,h=`SLDSButtonGroup`,g=`SLDSButtonStateful`,_=`SLDSButtonIcon`,v=`SLDSCard`,y=`SLDSCardBody`,b=`SLDSCardEmpty`,x=`SLDSCardFilter`,S=`SLDSCardFooter`,C=`SLDSCardHeader`,w=`SLDSCarousel`,T=`SLDSCarouselIndicators`,E=`SLDSCarouselItem`,D=`SLDSCarouselNavigators`,O=`SLDSCarouselAutoplayButton`,k=`SLDSColorPicker`,A=`SLDSCombobox`,j=`SLDSSimpleDataTable`,M=`SLDSSimpleDataTableCell`,N=`SLDSSimpleDataTableColumn`,P=`SLDSSimpleDataTableHead`,F=`SLDSSimpleDataTableHeaderCell`,I=`SLDSSimpleDataTableRowActions`,L=`SLDSSimpleDataTableRow`,R=`SLDSDatePicker`,z=`SLDSDynamicIcon`,B=`SLDSDialog`,V=`SLDSFiles`,H=`SLDSFilesFile`,U=`SLDSFilesMore`,W=`SLDSFilesFigure`,G=`SLDSFilesActions`,K=`SLDSExpandableSection`,q=`SLDSFilter`,J=`SLDSCheckbox`,Y=`SLDSInlineEdit`,X=`SLDSInput`,Z=`SLDSTextarea`,Q=`SLDSSearch`,$=`SLDSHighlighter`,ee=`SLDSIcon`,te=`SLDSIconSettings`,ne=`SLDSIconInput`,re=`SLDSIllustration`,ie=`SLDSList`,ae=`SLDSListItem`,oe=`SLDSListItemLabel`,se=`SLDSLookup`,ce=`SLDSMediaObject`,le=`SLDSMenuDropdown`,ue=`SLDSMenuDropdownTrigger`,de=`SLDSModal`,fe=`SLDSPanel`,pe=`SLDSFilterGroup`,me=`SLDSFilterList`,he=`SLDSPanelFilterListHeading`,ge=`SLDSPageHeader`,_e=`SLDSPageHeaderControl`,ve=`SLDSPill`,ye=`SLDSPillContainer`,be=`SLDSPortalSettings`,xe=`SLDSPopover`,Se=`SLDSPopoverEditDialog`,Ce=`SLDSPopoverTooltip`,we=`SLDSProgressIndicator`,Te=`SLDSProgressIndicatorProgress`,Ee=`SLDSProgressIndicatorStep`,De=`SLDSProgressIndicatorStepVertical`,Oe=`SLDSProgressRing`,ke=`SLDSProgressBar`,Ae=`SLDSSetupAssistant`,je=`SLDSSetupAssistantStep`,Me=`SLDSScopedNotification`,Ne=`SLDSSlider`,Pe=`SLDSSpinner`,Fe=`SLDSSplitView`,Ie=`SLDSSplitViewHeader`,Le=`SLDSSplitViewListbox`,Re=`SLDSRadio`,ze=`SLDSRadioGroup`,Be=`SLDSRadioButtonGroup`,Ve=`SLDSTab`,He=`SLDSTabPanel`,Ue=`SLDSTabs`,We=`SLDSTabsList`,Ge=`SLDSTabsPanel`,Ke=`SLDSTimepicker`,qe=`SLDSToast`,Je=`SLDSToastContainer`,Ye=`SLDSTree`,Xe=`SLDSTreeBranch`,Ze=`SLDSTreeItem`,Qe=`SLDSTrialBar`,$e=`SLDSTrialBarDropdown`,et=`SLDSTrialBarButton`,tt=`SLDSVerticalNavigation`,nt=`SLDSVerticalNavigationItem`,rt=`SLDSVisualPicker`,it=`SLDSVisualPickerLink`,at=`SLDSWelcomeMat`,ot=`SLDSWelcomeMatTile`,st=`SLDSWelcomeMatBadge`;exports.ACCORDION=e,exports.ACCORDION_PANEL=t,exports.ALERT=n,exports.ALERT_CONTAINER=r,exports.AVATAR=i,exports.BADGE=a,exports.BREADCRUMB=o,exports.BUILDER_HEADER=s,exports.BUILDER_HEADER_MISC=c,exports.BUILDER_HEADER_NAV=u,exports.BUILDER_HEADER_NAV_DROPDOWN=d,exports.BUILDER_HEADER_NAV_LINK=f,exports.BUILDER_HEADER_TOOLBAR=p,exports.BUILDER_HEADER_UTILITIES=l,exports.BUTTON=m,exports.BUTTON_GROUP=h,exports.BUTTON_ICON=_,exports.BUTTON_STATEFUL=g,exports.CARD=v,exports.CARD_BODY=y,exports.CARD_EMPTY=b,exports.CARD_FILTER=x,exports.CARD_FOOTER=S,exports.CARD_HEADER=C,exports.CAROUSEL=w,exports.CAROUSEL_AUTOPLAY_BUTTON=O,exports.CAROUSEL_INDICATORS=T,exports.CAROUSEL_ITEM=E,exports.CAROUSEL_NAVIGATORS=D,exports.CHECKBOX=J,exports.COLOR_PICKER=k,exports.COMBOBOX=A,exports.DATE_PICKER=R,exports.DIALOG=B,exports.DYNAMIC_ICON=z,exports.EXPANDABLE_SECTION=K,exports.FILES=V,exports.FILES_ACTIONS=G,exports.FILES_FIGURE=W,exports.FILES_FILE=H,exports.FILES_MORE=U,exports.FILTER=q,exports.FORMS_INLINE_EDIT=Y,exports.HIGHLIGHTER=$,exports.ICON=ee,exports.ICON_INPUT=ne,exports.ICON_SETTINGS=te,exports.ILLUSTRATION=re,exports.INPUT=X,exports.LIST=ie,exports.LIST_ITEM=ae,exports.LIST_ITEM_LABEL=oe,exports.LOOKUP=se,exports.MEDIA_OBJECT=ce,exports.MENU_DROPDOWN=le,exports.MENU_DROPDOWN_TRIGGER=ue,exports.MODAL=de,exports.PAGE_HEADER=ge,exports.PAGE_HEADER_CONTROL=_e,exports.PANEL=fe,exports.PANEL_FILTER_GROUP=pe,exports.PANEL_FILTER_LIST=me,exports.PANEL_FILTER_LIST_HEADING=he,exports.PILL=ve,exports.PILL_CONTAINER=ye,exports.POPOVER=xe,exports.POPOVER_EDIT_DIALOG=Se,exports.POPOVER_TOOLTIP=Ce,exports.PORTAL_SETTINGS=be,exports.PROGRESS_BAR=ke,exports.PROGRESS_INDICATOR=we,exports.PROGRESS_INDICATOR_PROGRESS=Te,exports.PROGRESS_INDICATOR_STEP=Ee,exports.PROGRESS_INDICATOR_STEP_VERTICAL=De,exports.PROGRESS_RING=Oe,exports.RADIO=Re,exports.RADIO_BUTTON_GROUP=Be,exports.RADIO_GROUP=ze,exports.SCOPED_NOTIFICATION=Me,exports.SEARCH=Q,exports.SETUP_ASSISTANT=Ae,exports.SETUP_ASSISTANT_STEP=je,exports.SIMPLE_DATA_TABLE=j,exports.SIMPLE_DATA_TABLE_CELL=M,exports.SIMPLE_DATA_TABLE_COLUMN=N,exports.SIMPLE_DATA_TABLE_HEAD=P,exports.SIMPLE_DATA_TABLE_HEADER_CELL=F,exports.SIMPLE_DATA_TABLE_ROW=L,exports.SIMPLE_DATA_TABLE_ROW_ACTIONS=I,exports.SLIDER=Ne,exports.SPINNER=Pe,exports.SPLIT_VIEW=Fe,exports.SPLIT_VIEW_HEADER=Ie,exports.SPLIT_VIEW_LISTBOX=Le,exports.TAB=Ve,exports.TABS=Ue,exports.TABS_LIST=We,exports.TABS_PANEL=Ge,exports.TAB_PANEL=He,exports.TEXTAREA=Z,exports.TIME_PICKER=Ke,exports.TOAST=qe,exports.TOAST_CONTAINER=Je,exports.TREE=Ye,exports.TREE_BRANCH=Xe,exports.TREE_ITEM=Ze,exports.TRIAL_BAR=Qe,exports.TRIAL_BAR_BUTTON=et,exports.TRIAL_BAR_DROPDOWN=$e,exports.VERTICAL_NAVIGATION=tt,exports.VERTICAL_NAVIGATION_ITEM=nt,exports.VISUAL_PICKER=rt,exports.VISUAL_PICKER_LINK=it,exports.WELCOME_MAT=at,exports.WELCOME_MAT_BADGE=st,exports.WELCOME_MAT_TILE=ot;
2
2
  //# sourceMappingURL=constants.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.cjs","names":[],"sources":["../../../utilities/constants.js"],"sourcesContent":["// ## Components\nexport const ACCORDION = 'SLDSAccordion';\nexport const ACCORDION_PANEL = 'SLDSAccordionPanel';\nexport const ALERT = 'SLDSAlert';\nexport const ALERT_CONTAINER = 'SLDSAlertContainer';\nexport const APP_LAUNCHER = 'SLDSAppLauncher';\nexport const APP_LAUNCHER_EXPANDABLE_SECTION =\n\t'SLDSAppLauncherExpandableSection';\n/* Remove at next breaking change */\nexport const APP_LAUNCHER_SECTION = 'SLDSAppLauncherSection';\nexport const APP_LAUNCHER_LINK = 'SLDSAppLauncherLink';\nexport const APP_LAUNCHER_TILE = 'SLDSAppLauncherTile';\nexport const APP_LAUNCHER_HEADER = 'SLDSAppLauncherHeader';\nexport const AVATAR = 'SLDSAvatar';\nexport const BADGE = 'SLDSBadge';\n\nexport const BRAND_BAND = 'SLDSBrandBand';\n\n/* Remove at next breaking change */\nexport const BREAD_CRUMB = 'SLDSBreadcrumb';\n\nexport const BREADCRUMB = 'SLDSBreadcrumb';\nexport const BUILDER_HEADER = 'SLDSBuilderHeader';\nexport const BUILDER_HEADER_MISC = 'SLDSBuilderHeaderMisc';\nexport const BUILDER_HEADER_UTILITIES = 'SLDSBuilderHeaderUtilities';\nexport const BUILDER_HEADER_NAV = 'SLDSBuilderHeaderNav';\nexport const BUILDER_HEADER_NAV_DROPDOWN = 'SLDSBuilderHeaderNavDropdown';\nexport const BUILDER_HEADER_NAV_LINK = 'SLDSBuilderHeaderNavLink';\nexport const BUILDER_HEADER_TOOLBAR = 'SLDSBuilderHeaderToolbar';\nexport const BUTTON = 'SLDSButton';\nexport const BUTTON_GROUP = 'SLDSButtonGroup';\nexport const BUTTON_STATEFUL = 'SLDSButtonStateful';\nexport const BUTTON_ICON = 'SLDSButtonIcon'; // a non-interctive icon wrapper for SLDSUtilityIcon\nexport const CARD = 'SLDSCard';\nexport const CARD_BODY = 'SLDSCardBody';\nexport const CARD_EMPTY = 'SLDSCardEmpty';\nexport const CARD_FILTER = 'SLDSCardFilter';\nexport const CARD_FOOTER = 'SLDSCardFooter';\nexport const CARD_HEADER = 'SLDSCardHeader';\nexport const CAROUSEL = 'SLDSCarousel';\nexport const CAROUSEL_INDICATORS = 'SLDSCarouselIndicators';\nexport const CAROUSEL_ITEM = 'SLDSCarouselItem';\nexport const CAROUSEL_NAVIGATORS = 'SLDSCarouselNavigators';\nexport const CAROUSEL_AUTOPLAY_BUTTON = 'SLDSCarouselAutoplayButton';\nexport const COLOR_PICKER = 'SLDSColorPicker';\nexport const COMBOBOX = 'SLDSCombobox';\nexport const DATA_TABLE = 'SLDSDataTable';\nexport const DATA_TABLE_CELL = 'SLDSDataTableCell';\nexport const DATA_TABLE_COLUMN = 'SLDSDataTableColumn';\nexport const DATA_TABLE_HEAD = 'SLDSDataTableHead';\nexport const DATA_TABLE_HEADER_CELL = 'SLDSDataTableHeaderCell';\nexport const DATA_TABLE_ROW_ACTIONS = 'SLDSDataTableRowActions';\nexport const DATA_TABLE_ROW = 'SLDSDataTableRow';\nexport const DATE_PICKER = 'SLDSDatePicker';\nexport const DEPRECATED_WARNING = 'SLDSDeprecatedWarning';\nexport const DYNAMIC_ICON = 'SLDSDynamicIcon';\nexport const DIALOG = 'SLDSDialog';\nexport const FILES = 'SLDSFiles';\nexport const FILES_FILE = `SLDSFilesFile`;\nexport const FILES_MORE = `SLDSFilesMore`;\nexport const FILES_FIGURE = 'SLDSFilesFigure';\nexport const FILES_ACTIONS = 'SLDSFilesActions';\nexport const EXPANDABLE_SECTION = 'SLDSExpandableSection';\nexport const EXPRESSION = 'SLDSExpression';\nexport const EXPRESSION_GROUP = 'SLDSExpressionGroup';\nexport const EXPRESSION_CONDITION = 'SLDSExpressionCondition';\nexport const EXPRESSION_FORMULA = 'SLDSExpressionFormula';\nexport const FILTER = 'SLDSFilter';\nexport const CHECKBOX = 'SLDSCheckbox';\nexport const FORMS_INLINE_EDIT = 'SLDSInlineEdit';\nexport const INPUT = 'SLDSInput';\nexport const TEXTAREA = 'SLDSTextarea';\nexport const SEARCH = 'SLDSSearch';\nexport const GLOBAL_HEADER = 'SLDSGlobalHeader';\nexport const GLOBAL_HEADER_BUTTON = 'SLDSGlobalHeaderButton';\nexport const GLOBAL_HEADER_DROPDOWN = 'SLDSGlobalHeaderDropdown';\nexport const GLOBAL_HEADER_FAVORITES = 'SLDSGlobalHeaderFavorites';\nexport const GLOBAL_HEADER_HELP = 'SLDSGlobalHeaderHelp';\nexport const GLOBAL_HEADER_NOTIFICATIONS = 'SLDSGlobalHeaderNotifications';\nexport const GLOBAL_HEADER_PROFILE = 'SLDSGlobalHeaderProfile';\nexport const GLOBAL_HEADER_SEARCH = 'SLDSGlobalHeaderSearch';\nexport const GLOBAL_HEADER_SETUP = 'SLDSGlobalHeaderSetup';\nexport const GLOBAL_HEADER_TASK = 'SLDSGlobalHeaderTask';\nexport const GLOBAL_HEADER_TOOL = 'SLDSGlobalHeaderTool';\nexport const GLOBAL_NAVIGATION_BAR = 'SLDSGlobalNavigationBar';\nexport const GLOBAL_NAVIGATION_BAR_BUTTON = 'SLDSGlobalNavigationBarButton';\nexport const GLOBAL_NAVIGATION_BAR_DROPDOWN = 'SLDSGlobalNavigationBarDropdown';\nexport const GLOBAL_NAVIGATION_BAR_LABEL = 'SLDSGlobalNavigationBarLabel';\nexport const GLOBAL_NAVIGATION_BAR_LINK = 'SLDSGlobalNavigationBarLink';\nexport const GLOBAL_NAVIGATION_BAR_REGION = 'SLDSGlobalNavigationBarRegion';\nexport const GLOBAL_NAVIGATION_BAR_APP_LAUNCHER =\n\t'SLDSGlobalNavigationBarAppLauncher';\nexport const GRID = 'SLDSGrid';\nexport const HIGHLIGHTER = 'SLDSHighlighter';\nexport const ICON = 'SLDSIcon';\nexport const ICON_SETTINGS = 'SLDSIconSettings';\nexport const ICON_INPUT = 'SLDSIconInput';\nexport const ILLUSTRATION = 'SLDSIllustration';\nexport const LIST = 'SLDSList';\nexport const LIST_ITEM = 'SLDSListItem';\nexport const LIST_ITEM_LABEL = 'SLDSListItemLabel';\nexport const LISTBOX_OF_PILL_OPTIONS = 'SLDSListboxOfPillOptions';\nexport const LOCATION_MAP = 'SLDSLocationMap';\nexport const LOOKUP = 'SLDSLookup';\nexport const MEDIA_OBJECT = 'SLDSMediaObject';\nexport const MENU_DROPDOWN = 'SLDSMenuDropdown';\nexport const MENU_DROPDOWN_TRIGGER = 'SLDSMenuDropdownTrigger';\nexport const MENU_PICKLIST = 'SLDSMenuPicklist';\nexport const MODAL = 'SLDSModal';\nexport const NOTIFICATION = 'SLDSNotification';\nexport const PANEL = 'SLDSPanel';\nexport const PANEL_FILTER_GROUP = 'SLDSFilterGroup';\nexport const PANEL_FILTER_LIST = 'SLDSFilterList';\nexport const PANEL_FILTER_LIST_HEADING = 'SLDSPanelFilterListHeading';\nexport const PAGE_HEADER = 'SLDSPageHeader';\nexport const PAGE_HEADER_CONTROL = 'SLDSPageHeaderControl';\nexport const PILL = 'SLDSPill';\nexport const PILL_CONTAINER = 'SLDSPillContainer';\nexport const PORTAL_SETTINGS = 'SLDSPortalSettings';\nexport const POPOVER = 'SLDSPopover';\nexport const POPOVER_EDIT_DIALOG = 'SLDSPopoverEditDialog';\nexport const POPOVER_TOOLTIP = 'SLDSPopoverTooltip';\nexport const PROGRESS_INDICATOR = 'SLDSProgressIndicator';\nexport const PROGRESS_INDICATOR_PROGRESS = 'SLDSProgressIndicatorProgress';\nexport const PROGRESS_INDICATOR_STEP = 'SLDSProgressIndicatorStep';\nexport const PROGRESS_INDICATOR_STEP_VERTICAL =\n\t'SLDSProgressIndicatorStepVertical';\nexport const PROGRESS_RING = 'SLDSProgressRing';\nexport const PROGRESS_BAR = 'SLDSProgressBar';\nexport const SETUP_ASSISTANT = 'SLDSSetupAssistant';\nexport const SETUP_ASSISTANT_STEP = 'SLDSSetupAssistantStep';\nexport const SCOPED_NOTIFICATION = 'SLDSScopedNotification';\nexport const SLIDER = 'SLDSSlider';\nexport const SPINNER = 'SLDSSpinner';\nexport const SPLIT_VIEW = 'SLDSSplitView';\nexport const SPLIT_VIEW_HEADER = 'SLDSSplitViewHeader';\nexport const SPLIT_VIEW_LISTBOX = 'SLDSSplitViewListbox';\nexport const RADIO = 'SLDSRadio';\nexport const RADIO_GROUP = 'SLDSRadioGroup';\nexport const RADIO_BUTTON_GROUP = 'SLDSRadioButtonGroup';\nexport const TAB = 'SLDSTab';\nexport const TAB_ITEM = 'SLDSTabItem';\nexport const TAB_PANEL = 'SLDSTabPanel';\nexport const TABS = 'SLDSTabs';\nexport const TABS_LIST = 'SLDSTabsList';\nexport const TABS_PANEL = 'SLDSTabsPanel';\nexport const TIME_PICKER = 'SLDSTimepicker';\nexport const TOAST = 'SLDSToast';\nexport const TOAST_CONTAINER = 'SLDSToastContainer';\nexport const TREE = 'SLDSTree';\nexport const TREE_BRANCH = 'SLDSTreeBranch';\nexport const TREE_ITEM = 'SLDSTreeItem';\nexport const TRIAL_BAR = 'SLDSTrialBar';\nexport const TRIAL_BAR_DROPDOWN = 'SLDSTrialBarDropdown';\nexport const TRIAL_BAR_BUTTON = 'SLDSTrialBarButton';\nexport const VERTICAL_NAVIGATION = 'SLDSVerticalNavigation';\nexport const VERTICAL_NAVIGATION_ITEM = 'SLDSVerticalNavigationItem';\nexport const VISUAL_PICKER = 'SLDSVisualPicker';\nexport const VISUAL_PICKER_LINK = 'SLDSVisualPickerLink';\nexport const WELCOME_MAT = 'SLDSWelcomeMat';\nexport const WELCOME_MAT_TILE = 'SLDSWelcomeMatTile';\nexport const WELCOME_MAT_BADGE = 'SLDSWelcomeMatBadge';\nexport const DOCKED_COMPOSER = 'SLDSDockedComposer';\n"],"mappings":"AACA,IAAa,EAAY,gBACZ,EAAkB,qBAClB,EAAQ,YACR,EAAkB,qBASlB,EAAS,aACT,EAAQ,YAOR,EAAa,iBACb,EAAiB,oBACjB,EAAsB,wBACtB,EAA2B,6BAC3B,EAAqB,uBACrB,EAA8B,+BAC9B,EAA0B,2BAC1B,EAAyB,2BACzB,EAAS,aACT,EAAe,kBACf,EAAkB,qBAClB,EAAc,iBACd,EAAO,WACP,EAAY,eACZ,EAAa,gBACb,EAAc,iBACd,EAAc,iBACd,EAAc,iBACd,EAAW,eACX,EAAsB,yBACtB,EAAgB,mBAChB,EAAsB,yBACtB,EAA2B,6BAC3B,EAAe,kBACf,EAAW,eACX,EAAa,gBACb,EAAkB,oBAClB,EAAoB,sBACpB,EAAkB,oBAClB,EAAyB,0BACzB,EAAyB,0BACzB,EAAiB,mBACjB,EAAc,iBAEd,EAAe,kBACf,EAAS,aACT,EAAQ,YACR,EAAa,gBACb,EAAa,gBACb,EAAe,kBACf,EAAgB,mBAChB,EAAqB,wBAKrB,EAAS,aACT,EAAW,eACX,EAAoB,iBACpB,EAAQ,YACR,EAAW,eACX,EAAS,aAqBT,EAAc,kBACd,GAAO,WACP,GAAgB,mBAChB,GAAa,gBACb,GAAe,mBACf,GAAO,WACP,GAAY,eACZ,GAAkB,oBAGlB,GAAS,aACT,GAAe,kBACf,GAAgB,mBAChB,GAAwB,0BAExB,GAAQ,YAER,GAAQ,YACR,GAAqB,kBACrB,GAAoB,iBACpB,GAA4B,6BAC5B,GAAc,iBACd,GAAsB,wBACtB,GAAO,WACP,GAAiB,oBACjB,GAAkB,qBAClB,GAAU,cACV,GAAsB,wBACtB,GAAkB,qBAClB,GAAqB,wBACrB,GAA8B,gCAC9B,GAA0B,4BAC1B,GACZ,oCACY,GAAgB,mBAChB,GAAe,kBACf,GAAkB,qBAClB,GAAuB,yBACvB,GAAsB,yBACtB,GAAS,aACT,GAAU,cACV,GAAa,gBACb,GAAoB,sBACpB,GAAqB,uBACrB,GAAQ,YACR,GAAc,iBACd,GAAqB,uBACrB,GAAM,UAEN,GAAY,eACZ,GAAO,WACP,GAAY,eACZ,GAAa,gBACb,GAAc,iBACd,GAAQ,YACR,GAAkB,qBAClB,GAAO,WACP,GAAc,iBACd,GAAY,eACZ,GAAY,eACZ,GAAqB,uBACrB,GAAmB,qBACnB,GAAsB,yBACtB,GAA2B,6BAC3B,GAAgB,mBAChB,GAAqB,uBACrB,GAAc,iBACd,GAAmB,qBACnB,GAAoB"}
1
+ {"version":3,"file":"constants.cjs","names":[],"sources":["../../../utilities/constants.js"],"sourcesContent":["// ## Components\nexport const ACCORDION = 'SLDSAccordion';\nexport const ACCORDION_PANEL = 'SLDSAccordionPanel';\nexport const ALERT = 'SLDSAlert';\nexport const ALERT_CONTAINER = 'SLDSAlertContainer';\nexport const APP_LAUNCHER = 'SLDSAppLauncher';\nexport const APP_LAUNCHER_EXPANDABLE_SECTION =\n\t'SLDSAppLauncherExpandableSection';\n/* Remove at next breaking change */\nexport const APP_LAUNCHER_SECTION = 'SLDSAppLauncherSection';\nexport const APP_LAUNCHER_LINK = 'SLDSAppLauncherLink';\nexport const APP_LAUNCHER_TILE = 'SLDSAppLauncherTile';\nexport const APP_LAUNCHER_HEADER = 'SLDSAppLauncherHeader';\nexport const AVATAR = 'SLDSAvatar';\nexport const BADGE = 'SLDSBadge';\n\nexport const BRAND_BAND = 'SLDSBrandBand';\n\n/* Remove at next breaking change */\nexport const BREAD_CRUMB = 'SLDSBreadcrumb';\n\nexport const BREADCRUMB = 'SLDSBreadcrumb';\nexport const BUILDER_HEADER = 'SLDSBuilderHeader';\nexport const BUILDER_HEADER_MISC = 'SLDSBuilderHeaderMisc';\nexport const BUILDER_HEADER_UTILITIES = 'SLDSBuilderHeaderUtilities';\nexport const BUILDER_HEADER_NAV = 'SLDSBuilderHeaderNav';\nexport const BUILDER_HEADER_NAV_DROPDOWN = 'SLDSBuilderHeaderNavDropdown';\nexport const BUILDER_HEADER_NAV_LINK = 'SLDSBuilderHeaderNavLink';\nexport const BUILDER_HEADER_TOOLBAR = 'SLDSBuilderHeaderToolbar';\nexport const BUTTON = 'SLDSButton';\nexport const BUTTON_GROUP = 'SLDSButtonGroup';\nexport const BUTTON_STATEFUL = 'SLDSButtonStateful';\nexport const BUTTON_ICON = 'SLDSButtonIcon'; // a non-interctive icon wrapper for SLDSUtilityIcon\nexport const CARD = 'SLDSCard';\nexport const CARD_BODY = 'SLDSCardBody';\nexport const CARD_EMPTY = 'SLDSCardEmpty';\nexport const CARD_FILTER = 'SLDSCardFilter';\nexport const CARD_FOOTER = 'SLDSCardFooter';\nexport const CARD_HEADER = 'SLDSCardHeader';\nexport const CAROUSEL = 'SLDSCarousel';\nexport const CAROUSEL_INDICATORS = 'SLDSCarouselIndicators';\nexport const CAROUSEL_ITEM = 'SLDSCarouselItem';\nexport const CAROUSEL_NAVIGATORS = 'SLDSCarouselNavigators';\nexport const CAROUSEL_AUTOPLAY_BUTTON = 'SLDSCarouselAutoplayButton';\nexport const COLOR_PICKER = 'SLDSColorPicker';\nexport const COMBOBOX = 'SLDSCombobox';\nexport const SIMPLE_DATA_TABLE = 'SLDSSimpleDataTable';\nexport const SIMPLE_DATA_TABLE_CELL = 'SLDSSimpleDataTableCell';\nexport const SIMPLE_DATA_TABLE_COLUMN = 'SLDSSimpleDataTableColumn';\nexport const SIMPLE_DATA_TABLE_HEAD = 'SLDSSimpleDataTableHead';\nexport const SIMPLE_DATA_TABLE_HEADER_CELL = 'SLDSSimpleDataTableHeaderCell';\nexport const SIMPLE_DATA_TABLE_ROW_ACTIONS = 'SLDSSimpleDataTableRowActions';\nexport const SIMPLE_DATA_TABLE_ROW = 'SLDSSimpleDataTableRow';\nexport const DATE_PICKER = 'SLDSDatePicker';\nexport const DEPRECATED_WARNING = 'SLDSDeprecatedWarning';\nexport const DYNAMIC_ICON = 'SLDSDynamicIcon';\nexport const DIALOG = 'SLDSDialog';\nexport const FILES = 'SLDSFiles';\nexport const FILES_FILE = `SLDSFilesFile`;\nexport const FILES_MORE = `SLDSFilesMore`;\nexport const FILES_FIGURE = 'SLDSFilesFigure';\nexport const FILES_ACTIONS = 'SLDSFilesActions';\nexport const EXPANDABLE_SECTION = 'SLDSExpandableSection';\nexport const EXPRESSION = 'SLDSExpression';\nexport const EXPRESSION_GROUP = 'SLDSExpressionGroup';\nexport const EXPRESSION_CONDITION = 'SLDSExpressionCondition';\nexport const EXPRESSION_FORMULA = 'SLDSExpressionFormula';\nexport const FILTER = 'SLDSFilter';\nexport const CHECKBOX = 'SLDSCheckbox';\nexport const FORMS_INLINE_EDIT = 'SLDSInlineEdit';\nexport const INPUT = 'SLDSInput';\nexport const TEXTAREA = 'SLDSTextarea';\nexport const SEARCH = 'SLDSSearch';\nexport const GLOBAL_HEADER = 'SLDSGlobalHeader';\nexport const GLOBAL_HEADER_BUTTON = 'SLDSGlobalHeaderButton';\nexport const GLOBAL_HEADER_DROPDOWN = 'SLDSGlobalHeaderDropdown';\nexport const GLOBAL_HEADER_FAVORITES = 'SLDSGlobalHeaderFavorites';\nexport const GLOBAL_HEADER_HELP = 'SLDSGlobalHeaderHelp';\nexport const GLOBAL_HEADER_NOTIFICATIONS = 'SLDSGlobalHeaderNotifications';\nexport const GLOBAL_HEADER_PROFILE = 'SLDSGlobalHeaderProfile';\nexport const GLOBAL_HEADER_SEARCH = 'SLDSGlobalHeaderSearch';\nexport const GLOBAL_HEADER_SETUP = 'SLDSGlobalHeaderSetup';\nexport const GLOBAL_HEADER_TASK = 'SLDSGlobalHeaderTask';\nexport const GLOBAL_HEADER_TOOL = 'SLDSGlobalHeaderTool';\nexport const GLOBAL_NAVIGATION_BAR = 'SLDSGlobalNavigationBar';\nexport const GLOBAL_NAVIGATION_BAR_BUTTON = 'SLDSGlobalNavigationBarButton';\nexport const GLOBAL_NAVIGATION_BAR_DROPDOWN = 'SLDSGlobalNavigationBarDropdown';\nexport const GLOBAL_NAVIGATION_BAR_LABEL = 'SLDSGlobalNavigationBarLabel';\nexport const GLOBAL_NAVIGATION_BAR_LINK = 'SLDSGlobalNavigationBarLink';\nexport const GLOBAL_NAVIGATION_BAR_REGION = 'SLDSGlobalNavigationBarRegion';\nexport const GLOBAL_NAVIGATION_BAR_APP_LAUNCHER =\n\t'SLDSGlobalNavigationBarAppLauncher';\nexport const GRID = 'SLDSGrid';\nexport const HIGHLIGHTER = 'SLDSHighlighter';\nexport const ICON = 'SLDSIcon';\nexport const ICON_SETTINGS = 'SLDSIconSettings';\nexport const ICON_INPUT = 'SLDSIconInput';\nexport const ILLUSTRATION = 'SLDSIllustration';\nexport const LIST = 'SLDSList';\nexport const LIST_ITEM = 'SLDSListItem';\nexport const LIST_ITEM_LABEL = 'SLDSListItemLabel';\nexport const LISTBOX_OF_PILL_OPTIONS = 'SLDSListboxOfPillOptions';\nexport const LOCATION_MAP = 'SLDSLocationMap';\nexport const LOOKUP = 'SLDSLookup';\nexport const MEDIA_OBJECT = 'SLDSMediaObject';\nexport const MENU_DROPDOWN = 'SLDSMenuDropdown';\nexport const MENU_DROPDOWN_TRIGGER = 'SLDSMenuDropdownTrigger';\nexport const MENU_PICKLIST = 'SLDSMenuPicklist';\nexport const MODAL = 'SLDSModal';\nexport const NOTIFICATION = 'SLDSNotification';\nexport const PANEL = 'SLDSPanel';\nexport const PANEL_FILTER_GROUP = 'SLDSFilterGroup';\nexport const PANEL_FILTER_LIST = 'SLDSFilterList';\nexport const PANEL_FILTER_LIST_HEADING = 'SLDSPanelFilterListHeading';\nexport const PAGE_HEADER = 'SLDSPageHeader';\nexport const PAGE_HEADER_CONTROL = 'SLDSPageHeaderControl';\nexport const PILL = 'SLDSPill';\nexport const PILL_CONTAINER = 'SLDSPillContainer';\nexport const PORTAL_SETTINGS = 'SLDSPortalSettings';\nexport const POPOVER = 'SLDSPopover';\nexport const POPOVER_EDIT_DIALOG = 'SLDSPopoverEditDialog';\nexport const POPOVER_TOOLTIP = 'SLDSPopoverTooltip';\nexport const PROGRESS_INDICATOR = 'SLDSProgressIndicator';\nexport const PROGRESS_INDICATOR_PROGRESS = 'SLDSProgressIndicatorProgress';\nexport const PROGRESS_INDICATOR_STEP = 'SLDSProgressIndicatorStep';\nexport const PROGRESS_INDICATOR_STEP_VERTICAL =\n\t'SLDSProgressIndicatorStepVertical';\nexport const PROGRESS_RING = 'SLDSProgressRing';\nexport const PROGRESS_BAR = 'SLDSProgressBar';\nexport const SETUP_ASSISTANT = 'SLDSSetupAssistant';\nexport const SETUP_ASSISTANT_STEP = 'SLDSSetupAssistantStep';\nexport const SCOPED_NOTIFICATION = 'SLDSScopedNotification';\nexport const SLIDER = 'SLDSSlider';\nexport const SPINNER = 'SLDSSpinner';\nexport const SPLIT_VIEW = 'SLDSSplitView';\nexport const SPLIT_VIEW_HEADER = 'SLDSSplitViewHeader';\nexport const SPLIT_VIEW_LISTBOX = 'SLDSSplitViewListbox';\nexport const RADIO = 'SLDSRadio';\nexport const RADIO_GROUP = 'SLDSRadioGroup';\nexport const RADIO_BUTTON_GROUP = 'SLDSRadioButtonGroup';\nexport const TAB = 'SLDSTab';\nexport const TAB_ITEM = 'SLDSTabItem';\nexport const TAB_PANEL = 'SLDSTabPanel';\nexport const TABS = 'SLDSTabs';\nexport const TABS_LIST = 'SLDSTabsList';\nexport const TABS_PANEL = 'SLDSTabsPanel';\nexport const TIME_PICKER = 'SLDSTimepicker';\nexport const TOAST = 'SLDSToast';\nexport const TOAST_CONTAINER = 'SLDSToastContainer';\nexport const TREE = 'SLDSTree';\nexport const TREE_BRANCH = 'SLDSTreeBranch';\nexport const TREE_ITEM = 'SLDSTreeItem';\nexport const TRIAL_BAR = 'SLDSTrialBar';\nexport const TRIAL_BAR_DROPDOWN = 'SLDSTrialBarDropdown';\nexport const TRIAL_BAR_BUTTON = 'SLDSTrialBarButton';\nexport const VERTICAL_NAVIGATION = 'SLDSVerticalNavigation';\nexport const VERTICAL_NAVIGATION_ITEM = 'SLDSVerticalNavigationItem';\nexport const VISUAL_PICKER = 'SLDSVisualPicker';\nexport const VISUAL_PICKER_LINK = 'SLDSVisualPickerLink';\nexport const WELCOME_MAT = 'SLDSWelcomeMat';\nexport const WELCOME_MAT_TILE = 'SLDSWelcomeMatTile';\nexport const WELCOME_MAT_BADGE = 'SLDSWelcomeMatBadge';\nexport const DOCKED_COMPOSER = 'SLDSDockedComposer';\n"],"mappings":"AACA,IAAa,EAAY,gBACZ,EAAkB,qBAClB,EAAQ,YACR,EAAkB,qBASlB,EAAS,aACT,EAAQ,YAOR,EAAa,iBACb,EAAiB,oBACjB,EAAsB,wBACtB,EAA2B,6BAC3B,EAAqB,uBACrB,EAA8B,+BAC9B,EAA0B,2BAC1B,EAAyB,2BACzB,EAAS,aACT,EAAe,kBACf,EAAkB,qBAClB,EAAc,iBACd,EAAO,WACP,EAAY,eACZ,EAAa,gBACb,EAAc,iBACd,EAAc,iBACd,EAAc,iBACd,EAAW,eACX,EAAsB,yBACtB,EAAgB,mBAChB,EAAsB,yBACtB,EAA2B,6BAC3B,EAAe,kBACf,EAAW,eACX,EAAoB,sBACpB,EAAyB,0BACzB,EAA2B,4BAC3B,EAAyB,0BACzB,EAAgC,gCAChC,EAAgC,gCAChC,EAAwB,yBACxB,EAAc,iBAEd,EAAe,kBACf,EAAS,aACT,EAAQ,YACR,EAAa,gBACb,EAAa,gBACb,EAAe,kBACf,EAAgB,mBAChB,EAAqB,wBAKrB,EAAS,aACT,EAAW,eACX,EAAoB,iBACpB,EAAQ,YACR,EAAW,eACX,EAAS,aAqBT,EAAc,kBACd,GAAO,WACP,GAAgB,mBAChB,GAAa,gBACb,GAAe,mBACf,GAAO,WACP,GAAY,eACZ,GAAkB,oBAGlB,GAAS,aACT,GAAe,kBACf,GAAgB,mBAChB,GAAwB,0BAExB,GAAQ,YAER,GAAQ,YACR,GAAqB,kBACrB,GAAoB,iBACpB,GAA4B,6BAC5B,GAAc,iBACd,GAAsB,wBACtB,GAAO,WACP,GAAiB,oBACjB,GAAkB,qBAClB,GAAU,cACV,GAAsB,wBACtB,GAAkB,qBAClB,GAAqB,wBACrB,GAA8B,gCAC9B,GAA0B,4BAC1B,GACZ,oCACY,GAAgB,mBAChB,GAAe,kBACf,GAAkB,qBAClB,GAAuB,yBACvB,GAAsB,yBACtB,GAAS,aACT,GAAU,cACV,GAAa,gBACb,GAAoB,sBACpB,GAAqB,uBACrB,GAAQ,YACR,GAAc,iBACd,GAAqB,uBACrB,GAAM,UAEN,GAAY,eACZ,GAAO,WACP,GAAY,eACZ,GAAa,gBACb,GAAc,iBACd,GAAQ,YACR,GAAkB,qBAClB,GAAO,WACP,GAAc,iBACd,GAAY,eACZ,GAAY,eACZ,GAAqB,uBACrB,GAAmB,qBACnB,GAAsB,yBACtB,GAA2B,6BAC3B,GAAgB,mBAChB,GAAqB,uBACrB,GAAc,iBACd,GAAmB,qBACnB,GAAoB"}
@@ -1,84 +1,84 @@
1
1
  import ee from "./accordion/index.js";
2
2
  import te from "./utilities/UNSAFE_direction/index.js";
3
- import ne from "./icon-settings/index.js";
4
- import e from "./utilities/utility-icon/index.js";
5
- import t from "./icon/button-icon/index.js";
6
- import n from "./portal-settings/index.js";
7
- import r from "./icon/index.js";
8
- import i from "./tooltip/index.js";
9
- import re from "./button/index.js";
10
- import ie from "./accordion/panel.js";
11
- import ae from "./alert/index.js";
12
- import oe from "./alert/container.js";
13
- import a from "./avatar/index.js";
14
- import o from "./badge/index.js";
15
- import s from "./menu-dropdown/button-trigger.js";
16
- import c from "./menu-dropdown/index.js";
17
- import l from "./breadcrumb/index.js";
18
- import u from "./builder-header/utilities.js";
19
- import d from "./builder-header/nav-link.js";
20
- import f from "./builder-header/index.js";
21
- import p from "./builder-header/misc.js";
22
- import m from "./builder-header/nav.js";
23
- import h from "./builder-header/nav-dropdown.js";
24
- import g from "./builder-header/toolbar.js";
25
- import _ from "./button-group/index.js";
26
- import v from "./button-stateful/index.js";
27
- import y from "./media-object/index.js";
28
- import b from "./card/empty.js";
29
- import x from "./card/index.js";
30
- import S from "./spinner/index.js";
31
- import C from "./input/index.js";
32
- import w from "./icon/input-icon/index.js";
33
- import T from "./card/filter.js";
34
- import E from "./carousel/index.js";
35
- import D from "./checkbox/index.js";
36
- import O from "./radio-group/index.js";
37
- import k from "./radio-button-group/index.js";
38
- import A from "./radio/index.js";
39
- import j from "./tabs/index.js";
40
- import M from "./tabs/panel.js";
41
- import N from "./popover/index.js";
42
- import P from "./color-picker/color-picker.js";
43
- import F from "./pill/index.js";
44
- import I from "./combobox/index.js";
45
- import L from "./combobox/filter.js";
46
- import R from "./data-table/cell.js";
47
- import z from "./data-table/column.js";
48
- import B from "./data-table/interactive-element.js";
49
- import V from "./data-table/interactive-link.js";
50
- import H from "./data-table/row-actions.js";
51
- import U from "./data-table/index.js";
52
- import W from "./data-table/highlight-cell.js";
53
- import G from "./date-picker/index.js";
54
- import K from "./docked-composer/index.js";
55
- import q from "./dynamic-icon/index.js";
56
- import J from "./popover/edit-dialog.js";
57
- import se from "./expandable-section/index.js";
58
- import Y from "./files/file.js";
59
- import ce from "./files/index.js";
60
- import X from "./files/more-files.js";
61
- import le from "./filter/filter.js";
62
- import ue from "./illustration/index.js";
63
- import de from "./forms/input/inline.js";
3
+ import e from "./icon-settings/index.js";
4
+ import t from "./utilities/utility-icon/index.js";
5
+ import n from "./icon/button-icon/index.js";
6
+ import r from "./portal-settings/index.js";
7
+ import i from "./icon/index.js";
8
+ import a from "./tooltip/index.js";
9
+ import o from "./button/index.js";
10
+ import ne from "./accordion/panel.js";
11
+ import re from "./alert/index.js";
12
+ import ie from "./alert/container.js";
13
+ import s from "./avatar/index.js";
14
+ import c from "./badge/index.js";
15
+ import l from "./menu-dropdown/button-trigger.js";
16
+ import u from "./menu-dropdown/index.js";
17
+ import d from "./breadcrumb/index.js";
18
+ import f from "./builder-header/utilities.js";
19
+ import p from "./builder-header/nav-link.js";
20
+ import m from "./builder-header/index.js";
21
+ import h from "./builder-header/misc.js";
22
+ import g from "./builder-header/nav.js";
23
+ import _ from "./builder-header/nav-dropdown.js";
24
+ import v from "./builder-header/toolbar.js";
25
+ import y from "./button-group/index.js";
26
+ import b from "./button-stateful/index.js";
27
+ import x from "./media-object/index.js";
28
+ import S from "./card/empty.js";
29
+ import C from "./card/index.js";
30
+ import w from "./spinner/index.js";
31
+ import T from "./input/index.js";
32
+ import E from "./icon/input-icon/index.js";
33
+ import D from "./card/filter.js";
34
+ import O from "./carousel/index.js";
35
+ import k from "./checkbox/index.js";
36
+ import A from "./radio-group/index.js";
37
+ import j from "./radio-button-group/index.js";
38
+ import M from "./radio/index.js";
39
+ import N from "./tabs/index.js";
40
+ import P from "./tabs/panel.js";
41
+ import F from "./popover/index.js";
42
+ import I from "./color-picker/color-picker.js";
43
+ import L from "./pill/index.js";
44
+ import R from "./combobox/index.js";
45
+ import z from "./combobox/filter.js";
46
+ import B from "./date-picker/index.js";
47
+ import V from "./docked-composer/index.js";
48
+ import H from "./dynamic-icon/index.js";
49
+ import U from "./popover/edit-dialog.js";
50
+ import W from "./expandable-section/index.js";
51
+ import G from "./files/file.js";
52
+ import K from "./files/index.js";
53
+ import q from "./files/more-files.js";
54
+ import J from "./filter/filter.js";
55
+ import Y from "./illustration/index.js";
56
+ import X from "./forms/input/inline.js";
64
57
  import Z from "./input/search.js";
65
- import fe from "./settings.js";
66
- import pe from "./modal/index.js";
67
- import me from "./modal/trigger.js";
58
+ import ae from "./settings.js";
59
+ import oe from "./modal/index.js";
60
+ import se from "./modal/trigger.js";
68
61
  import Q from "./vertical-navigation/index.js";
69
- import he from "./page-header/index.js";
70
- import ge from "./page-header/control.js";
71
- import _e from "./panel/index.js";
72
- import ve from "./panel/filtering/group.js";
73
- import ye from "./panel/filtering/list.js";
74
- import be from "./panel/filtering/list-heading.js";
75
- import xe from "./pill-container/index.js";
76
- import Se from "./progress-bar/index.js";
77
- import Ce from "./progress-indicator/index.js";
78
- import we from "./progress-ring/index.js";
79
- import Te from "./scoped-notification/index.js";
80
- import Ee from "./setup-assistant/index.js";
81
- import De from "./setup-assistant/step.js";
62
+ import ce from "./page-header/index.js";
63
+ import le from "./page-header/control.js";
64
+ import ue from "./panel/index.js";
65
+ import de from "./panel/filtering/group.js";
66
+ import fe from "./panel/filtering/list.js";
67
+ import pe from "./panel/filtering/list-heading.js";
68
+ import me from "./pill-container/index.js";
69
+ import he from "./progress-bar/index.js";
70
+ import ge from "./progress-indicator/index.js";
71
+ import _e from "./progress-ring/index.js";
72
+ import ve from "./scoped-notification/index.js";
73
+ import ye from "./setup-assistant/index.js";
74
+ import be from "./setup-assistant/step.js";
75
+ import xe from "./simple-data-table/cell.js";
76
+ import Se from "./simple-data-table/column.js";
77
+ import Ce from "./simple-data-table/interactive-element.js";
78
+ import we from "./simple-data-table/interactive-link.js";
79
+ import Te from "./simple-data-table/row-actions.js";
80
+ import Ee from "./simple-data-table/index.js";
81
+ import De from "./simple-data-table/highlight-cell.js";
82
82
  import Oe from "./slider/index.js";
83
83
  import $ from "./split-view/index.js";
84
84
  import ke from "./split-view/header.js";
@@ -97,4 +97,4 @@ import Ve from "./welcome-mat/info-badge.js";
97
97
  import He from "./welcome-mat/tile.js";
98
98
  import Ue from "./combobox/add-subheadings.js";
99
99
  import We from "../utilities/log.js";
100
- export { ee as Accordion, ie as AccordionPanel, ae as Alert, oe as AlertContainer, a as Avatar, o as Badge, l as BreadCrumb, l as Breadcrumb, f as BuilderHeader, p as BuilderHeaderMisc, m as BuilderHeaderNav, h as BuilderHeaderNavDropdown, d as BuilderHeaderNavLink, g as BuilderHeaderToolbar, u as BuilderHeaderUtilities, re as Button, _ as ButtonGroup, t as ButtonIcon, v as ButtonStateful, x as Card, b as CardEmpty, T as CardFilter, E as Carousel, D as Checkbox, P as ColorPicker, I as Combobox, U as DataTable, R as DataTableCell, z as DataTableColumn, W as DataTableHighlightCell, B as DataTableInteractiveElement, V as DataTableInteractiveLink, H as DataTableRowActions, G as DatePicker, G as Datepicker, K as DockedComposer, c as Dropdown, s as DropdownTrigger, q as DynamicIcon, J as EditDialog, se as ExpandableSection, Y as File, ce as Files, Y as FilesFile, X as FilesMoreFiles, le as Filter, r as Icon, ne as IconSettings, ue as Illustration, de as InlineEdit, C as Input, w as InputIcon, Z as InputSearch, y as MediaObject, c as MenuDropdown, s as MenuDropdownButtonTrigger, pe as Modal, me as ModalTrigger, X as MoreFiles, Q as Navigation, he as PageHeader, ge as PageHeaderControl, _e as Panel, ve as PanelFilterGroup, ye as PanelFilterList, be as PanelFilterListHeading, F as Pill, xe as PillContainer, N as Popover, i as PopoverTooltip, n as PortalSettings, Se as ProgressBar, Ce as ProgressIndicator, we as ProgressRing, A as Radio, k as RadioButtonGroup, O as RadioGroup, ee as SLDSAccordion, ie as SLDSAccordionPanel, ae as SLDSAlert, oe as SLDSAlertContainer, a as SLDSAvatar, o as SLDSBadge, l as SLDSBreadCrumb, l as SLDSBreadcrumb, f as SLDSBuilderHeader, p as SLDSBuilderHeaderMisc, m as SLDSBuilderHeaderNav, h as SLDSBuilderHeaderNavDropdown, d as SLDSBuilderHeaderNavLink, g as SLDSBuilderHeaderToolbar, u as SLDSBuilderHeaderUtilities, re as SLDSButton, _ as SLDSButtonGroup, t as SLDSButtonIcon, v as SLDSButtonStateful, x as SLDSCard, b as SLDSCardEmpty, T as SLDSCardFilter, E as SLDSCarousel, D as SLDSCheckbox, P as SLDSColorPicker, I as SLDSCombobox, L as SLDSComboboxFilterAndLimit, U as SLDSDataTable, R as SLDSDataTableCell, z as SLDSDataTableColumn, W as SLDSDataTableHighlightCell, B as SLDSDataTableInteractiveElement, V as SLDSDataTableInteractiveLink, H as SLDSDataTableRowActions, G as SLDSDatePicker, G as SLDSDatepicker, K as SLDSDockedComposer, s as SLDSDropdownTrigger, q as SLDSDynamicIcon, J as SLDSEditDialog, se as SLDSExpandableSection, Y as SLDSFile, ce as SLDSFiles, Y as SLDSFilesFile, X as SLDSFilesMoreFiles, le as SLDSFilter, r as SLDSIcon, ne as SLDSIconSettings, ue as SLDSIllustration, de as SLDSInlineEdit, C as SLDSInput, w as SLDSInputIcon, Z as SLDSInputSearch, y as SLDSMediaObject, c as SLDSMenuDropdown, s as SLDSMenuDropdownButtonTrigger, pe as SLDSModal, me as SLDSModalTrigger, X as SLDSMoreFiles, Q as SLDSNavigation, he as SLDSPageHeader, ge as SLDSPageHeaderControl, _e as SLDSPanel, ve as SLDSPanelFilterGroup, ye as SLDSPanelFilterList, be as SLDSPanelFilterListHeading, F as SLDSPill, xe as SLDSPillContainer, N as SLDSPopover, i as SLDSPopoverTooltip, n as SLDSPortalSettings, Se as SLDSProgressBar, Ce as SLDSProgressIndicator, we as SLDSProgressRing, A as SLDSRadio, k as SLDSRadioButtonGroup, O as SLDSRadioGroup, Te as SLDSScopedNotification, Z as SLDSSearch, fe as SLDSSettings, Ee as SLDSSetupAssistant, De as SLDSSetupAssistantStep, Oe as SLDSSlider, S as SLDSSpinner, $ as SLDSSplitView, ke as SLDSSplitViewHeader, Ae as SLDSSplitViewListbox, $ as SLDSSplitview, j as SLDSTabs, M as SLDSTabsPanel, je as SLDSTextarea, Me as SLDSToast, Ne as SLDSToastContainer, i as SLDSTooltip, Pe as SLDSTree, Fe as SLDSTrialBar, Ie as SLDSTrialBarButton, Le as SLDSTrialBarDropdown, e as SLDSUtilityIcon, Q as SLDSVerticalNavigation, Re as SLDSVisualPicker, ze as SLDSVisualPickerLink, Be as SLDSWelcomeMat, Ve as SLDSWelcomeMatInfoBadge, He as SLDSWelcomeMatTile, Te as ScopedNotification, Z as Search, fe as Settings, Ee as SetupAssistant, De as SetupAssistantStep, Oe as Slider, S as Spinner, $ as SplitView, ke as SplitViewHeader, Ae as SplitViewListbox, $ as Splitview, j as Tabs, M as TabsPanel, je as Textarea, Me as Toast, Ne as ToastContainer, i as Tooltip, Pe as Tree, Fe as TrialBar, Ie as TrialBarButton, Le as TrialBarDropdown, te as UNSAFE_DirectionSettings, e as UtilityIcon, Q as VerticalNavigation, Re as VisualPicker, ze as VisualPickerLink, Be as WelcomeMat, Ve as WelcomeMatInfoBadge, He as WelcomeMatTile, Ue as comboboxAddSubheadings, L as comboboxFilterAndLimit, We as log };
100
+ export { ee as Accordion, ne as AccordionPanel, re as Alert, ie as AlertContainer, s as Avatar, c as Badge, d as BreadCrumb, d as Breadcrumb, m as BuilderHeader, h as BuilderHeaderMisc, g as BuilderHeaderNav, _ as BuilderHeaderNavDropdown, p as BuilderHeaderNavLink, v as BuilderHeaderToolbar, f as BuilderHeaderUtilities, o as Button, y as ButtonGroup, n as ButtonIcon, b as ButtonStateful, C as Card, S as CardEmpty, D as CardFilter, O as Carousel, k as Checkbox, I as ColorPicker, R as Combobox, B as DatePicker, B as Datepicker, V as DockedComposer, u as Dropdown, l as DropdownTrigger, H as DynamicIcon, U as EditDialog, W as ExpandableSection, G as File, K as Files, G as FilesFile, q as FilesMoreFiles, J as Filter, i as Icon, e as IconSettings, Y as Illustration, X as InlineEdit, T as Input, E as InputIcon, Z as InputSearch, x as MediaObject, u as MenuDropdown, l as MenuDropdownButtonTrigger, oe as Modal, se as ModalTrigger, q as MoreFiles, Q as Navigation, ce as PageHeader, le as PageHeaderControl, ue as Panel, de as PanelFilterGroup, fe as PanelFilterList, pe as PanelFilterListHeading, L as Pill, me as PillContainer, F as Popover, a as PopoverTooltip, r as PortalSettings, he as ProgressBar, ge as ProgressIndicator, _e as ProgressRing, M as Radio, j as RadioButtonGroup, A as RadioGroup, ee as SLDSAccordion, ne as SLDSAccordionPanel, re as SLDSAlert, ie as SLDSAlertContainer, s as SLDSAvatar, c as SLDSBadge, d as SLDSBreadCrumb, d as SLDSBreadcrumb, m as SLDSBuilderHeader, h as SLDSBuilderHeaderMisc, g as SLDSBuilderHeaderNav, _ as SLDSBuilderHeaderNavDropdown, p as SLDSBuilderHeaderNavLink, v as SLDSBuilderHeaderToolbar, f as SLDSBuilderHeaderUtilities, o as SLDSButton, y as SLDSButtonGroup, n as SLDSButtonIcon, b as SLDSButtonStateful, C as SLDSCard, S as SLDSCardEmpty, D as SLDSCardFilter, O as SLDSCarousel, k as SLDSCheckbox, I as SLDSColorPicker, R as SLDSCombobox, z as SLDSComboboxFilterAndLimit, B as SLDSDatePicker, B as SLDSDatepicker, V as SLDSDockedComposer, l as SLDSDropdownTrigger, H as SLDSDynamicIcon, U as SLDSEditDialog, W as SLDSExpandableSection, G as SLDSFile, K as SLDSFiles, G as SLDSFilesFile, q as SLDSFilesMoreFiles, J as SLDSFilter, i as SLDSIcon, e as SLDSIconSettings, Y as SLDSIllustration, X as SLDSInlineEdit, T as SLDSInput, E as SLDSInputIcon, Z as SLDSInputSearch, x as SLDSMediaObject, u as SLDSMenuDropdown, l as SLDSMenuDropdownButtonTrigger, oe as SLDSModal, se as SLDSModalTrigger, q as SLDSMoreFiles, Q as SLDSNavigation, ce as SLDSPageHeader, le as SLDSPageHeaderControl, ue as SLDSPanel, de as SLDSPanelFilterGroup, fe as SLDSPanelFilterList, pe as SLDSPanelFilterListHeading, L as SLDSPill, me as SLDSPillContainer, F as SLDSPopover, a as SLDSPopoverTooltip, r as SLDSPortalSettings, he as SLDSProgressBar, ge as SLDSProgressIndicator, _e as SLDSProgressRing, M as SLDSRadio, j as SLDSRadioButtonGroup, A as SLDSRadioGroup, ve as SLDSScopedNotification, Z as SLDSSearch, ae as SLDSSettings, ye as SLDSSetupAssistant, be as SLDSSetupAssistantStep, Ee as SLDSSimpleDataTable, xe as SLDSSimpleDataTableCell, Se as SLDSSimpleDataTableColumn, De as SLDSSimpleDataTableHighlightCell, Ce as SLDSSimpleDataTableInteractiveElement, we as SLDSSimpleDataTableInteractiveLink, Te as SLDSSimpleDataTableRowActions, Oe as SLDSSlider, w as SLDSSpinner, $ as SLDSSplitView, ke as SLDSSplitViewHeader, Ae as SLDSSplitViewListbox, $ as SLDSSplitview, N as SLDSTabs, P as SLDSTabsPanel, je as SLDSTextarea, Me as SLDSToast, Ne as SLDSToastContainer, a as SLDSTooltip, Pe as SLDSTree, Fe as SLDSTrialBar, Ie as SLDSTrialBarButton, Le as SLDSTrialBarDropdown, t as SLDSUtilityIcon, Q as SLDSVerticalNavigation, Re as SLDSVisualPicker, ze as SLDSVisualPickerLink, Be as SLDSWelcomeMat, Ve as SLDSWelcomeMatInfoBadge, He as SLDSWelcomeMatTile, ve as ScopedNotification, Z as Search, ae as Settings, ye as SetupAssistant, be as SetupAssistantStep, Ee as SimpleDataTable, xe as SimpleDataTableCell, Se as SimpleDataTableColumn, De as SimpleDataTableHighlightCell, Ce as SimpleDataTableInteractiveElement, we as SimpleDataTableInteractiveLink, Te as SimpleDataTableRowActions, Oe as Slider, w as Spinner, $ as SplitView, ke as SplitViewHeader, Ae as SplitViewListbox, $ as Splitview, N as Tabs, P as TabsPanel, je as Textarea, Me as Toast, Ne as ToastContainer, a as Tooltip, Pe as Tree, Fe as TrialBar, Ie as TrialBarButton, Le as TrialBarDropdown, te as UNSAFE_DirectionSettings, t as UtilityIcon, Q as VerticalNavigation, Re as VisualPicker, ze as VisualPickerLink, Be as WelcomeMat, Ve as WelcomeMatInfoBadge, He as WelcomeMatTile, Ue as comboboxAddSubheadings, z as comboboxFilterAndLimit, We as log };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../components/page-header/index.tsx"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\n\nimport React, { type ReactNode, type ReactElement } from 'react';\nimport classnames from 'classnames';\nimport { PAGE_HEADER } from '../../utilities/constants';\n\n// Private components - keep JSX for now\nimport Info from './private/info';\nimport Title from './private/title';\nimport DetailRow from './private/detail-row';\nimport DetailBlock from './private/detail-block';\nimport Base from './private/base';\nimport RecordHome from './private/record-home';\nimport ObjectHome from './private/object-home';\nimport RelatedList from './private/related-list';\n\n/**\n * Page header variant types\n */\nexport type PageHeaderVariant = 'base' | 'object-home' | 'record-home' | 'related-list';\n\n/**\n * Detail block structure\n */\nexport interface PageHeaderDetail {\n\t/** Detail label */\n\tlabel?: ReactNode;\n\t/** Detail content */\n\tcontent?: ReactNode;\n\t/** Whether content is truncated */\n\ttruncate?: boolean;\n\t/** Flavor modifier */\n\tflavor?: string;\n}\n\n/**\n * Props for the PageHeader component\n */\nexport interface PageHeaderProps {\n\t/** CSS classes */\n\tclassName?: string | string[] | Record<string, boolean>;\n\t/** Detail blocks for record-home variant */\n\tdetails?: PageHeaderDetail[];\n\t/** Icon element */\n\ticon?: ReactElement;\n\t/** Info text or element */\n\tinfo?: ReactNode;\n\t/** Whether joined with DataTable */\n\tjoined?: boolean;\n\t/** Label text or element */\n\tlabel?: ReactNode;\n\t/** Name switcher dropdown for object-home variant */\n\tnameSwitcherDropdown?: ReactNode;\n\t/** Render function for action controls (upper right) */\n\tonRenderActions?: () => ReactNode;\n\t/** Render function for controls (lower right) */\n\tonRenderControls?: () => ReactNode;\n\t/** Title text or element */\n\ttitle?: ReactNode;\n\t/** Breadcrumb trail */\n\ttrail?: ReactElement[];\n\t/** Page header variant */\n\tvariant?: PageHeaderVariant;\n}\n\n/**\n * The PageHeader component adds PageHeader with multiple variants:\n * base, object-home, record-home, and related-list.\n */\nconst PageHeader = ({\n\tclassName,\n\tdetails,\n\ticon,\n\tinfo,\n\tjoined,\n\tlabel,\n\tnameSwitcherDropdown,\n\tonRenderActions,\n\tonRenderControls,\n\ttitle,\n\ttrail,\n\tvariant = 'base',\n}: PageHeaderProps): React.ReactElement => {\n\tconst classes = classnames(\n\t\t'slds-page-header',\n\t\t{\n\t\t\t'slds-page-header_record-home': variant === 'record-home',\n\t\t\t'slds-page-header_related-list': variant === 'related-list',\n\t\t\t'slds-page-header_joined': joined,\n\t\t},\n\t\tclassName as string\n\t);\n\n\tconst variantProps = {\n\t\tdetails,\n\t\ticon,\n\t\tinfo,\n\t\tlabel,\n\t\tnameSwitcherDropdown,\n\t\tonRenderActions,\n\t\tonRenderControls,\n\t\ttitle,\n\t\ttrail,\n\t\tvariant,\n\t};\n\n\tlet VariantComponent: React.ComponentType<typeof variantProps>;\n\n\tswitch (variant) {\n\t\tcase 'object-home':\n\t\t\tVariantComponent = ObjectHome;\n\t\t\tbreak;\n\t\tcase 'record-home':\n\t\t\tVariantComponent = RecordHome;\n\t\t\tbreak;\n\t\tcase 'related-list':\n\t\t\tVariantComponent = RelatedList;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tVariantComponent = Base;\n\t}\n\n\treturn (\n\t\t<div className={classes}>\n\t\t\t<VariantComponent {...variantProps} />\n\t\t</div>\n\t);\n};\n\nPageHeader.displayName = PAGE_HEADER;\n\nexport default PageHeader;\n\n// NOTE: these are private components and are prone to breaking changes.\n// Do not use these in your app! These exports are for legacy use only.\nexport { Info, Title, DetailRow, DetailBlock };\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"],"mappings":";;;;;;;;;;;;;AAsEA,IAAM,KAAc,EACnB,cACA,YACA,SACA,SACA,WACA,UACA,yBACA,oBACA,qBACA,UACA,UACA,aAAU,aACgC;CAC1C,IAAM,IAAU,EACf,oBACA;EACC,gCAAgC,MAAY;EAC5C,iCAAiC,MAAY;EAC7C,2BAA2B;CAC5B,GACA,CACD,GAEM,IAAe;EACpB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD,GAEI;CAEJ,QAAQ,GAAR;EACC,KAAK;GACJ,IAAmB;GACnB;EACD,KAAK;GACJ,IAAmB;GACnB;EACD,KAAK;GACJ,IAAmB;GACnB;EACD,SACC,IAAmB;CACrB;CAEA,OACC,kBAAC,OAAD;EAAK,WAAW;EACf,UAAA,kBAAC,GAAD,EAAkB,GAAI,EAAe,CAAA;CACjC,CAAA;AAEP;AAEA,EAAW,cAAc"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../components/page-header/index.tsx"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\n\nimport React, { type ReactNode, type ReactElement } from 'react';\nimport classnames from 'classnames';\nimport { PAGE_HEADER } from '../../utilities/constants';\n\n// Private components - keep JSX for now\nimport Info from './private/info';\nimport Title from './private/title';\nimport DetailRow from './private/detail-row';\nimport DetailBlock from './private/detail-block';\nimport Base from './private/base';\nimport RecordHome from './private/record-home';\nimport ObjectHome from './private/object-home';\nimport RelatedList from './private/related-list';\n\n/**\n * Page header variant types\n */\nexport type PageHeaderVariant =\n\t'base' | 'object-home' | 'record-home' | 'related-list';\n\n/**\n * Detail block structure\n */\nexport interface PageHeaderDetail {\n\t/** Detail label */\n\tlabel?: ReactNode;\n\t/** Detail content */\n\tcontent?: ReactNode;\n\t/** Whether content is truncated */\n\ttruncate?: boolean;\n\t/** Flavor modifier */\n\tflavor?: string;\n}\n\n/**\n * Props for the PageHeader component\n */\nexport interface PageHeaderProps {\n\t/** CSS classes */\n\tclassName?: string | string[] | Record<string, boolean>;\n\t/** Detail blocks for record-home variant */\n\tdetails?: PageHeaderDetail[];\n\t/** Icon element */\n\ticon?: ReactElement;\n\t/** Info text or element */\n\tinfo?: ReactNode;\n\t/** Whether joined with SimpleDataTable */\n\tjoined?: boolean;\n\t/** Label text or element */\n\tlabel?: ReactNode;\n\t/** Name switcher dropdown for object-home variant */\n\tnameSwitcherDropdown?: ReactNode;\n\t/** Render function for action controls (upper right) */\n\tonRenderActions?: () => ReactNode;\n\t/** Render function for controls (lower right) */\n\tonRenderControls?: () => ReactNode;\n\t/** Title text or element */\n\ttitle?: ReactNode;\n\t/** Breadcrumb trail */\n\ttrail?: ReactElement[];\n\t/** Page header variant */\n\tvariant?: PageHeaderVariant;\n}\n\n/**\n * The PageHeader component adds PageHeader with multiple variants:\n * base, object-home, record-home, and related-list.\n */\nconst PageHeader = ({\n\tclassName,\n\tdetails,\n\ticon,\n\tinfo,\n\tjoined,\n\tlabel,\n\tnameSwitcherDropdown,\n\tonRenderActions,\n\tonRenderControls,\n\ttitle,\n\ttrail,\n\tvariant = 'base',\n}: PageHeaderProps): React.ReactElement => {\n\tconst classes = classnames(\n\t\t'slds-page-header',\n\t\t{\n\t\t\t'slds-page-header_record-home': variant === 'record-home',\n\t\t\t'slds-page-header_related-list': variant === 'related-list',\n\t\t\t'slds-page-header_joined': joined,\n\t\t},\n\t\tclassName as string\n\t);\n\n\tconst variantProps = {\n\t\tdetails,\n\t\ticon,\n\t\tinfo,\n\t\tlabel,\n\t\tnameSwitcherDropdown,\n\t\tonRenderActions,\n\t\tonRenderControls,\n\t\ttitle,\n\t\ttrail,\n\t\tvariant,\n\t};\n\n\tlet VariantComponent: React.ComponentType<typeof variantProps>;\n\n\tswitch (variant) {\n\t\tcase 'object-home':\n\t\t\tVariantComponent = ObjectHome;\n\t\t\tbreak;\n\t\tcase 'record-home':\n\t\t\tVariantComponent = RecordHome;\n\t\t\tbreak;\n\t\tcase 'related-list':\n\t\t\tVariantComponent = RelatedList;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tVariantComponent = Base;\n\t}\n\n\treturn (\n\t\t<div className={classes}>\n\t\t\t<VariantComponent {...variantProps} />\n\t\t</div>\n\t);\n};\n\nPageHeader.displayName = PAGE_HEADER;\n\nexport default PageHeader;\n\n// NOTE: these are private components and are prone to breaking changes.\n// Do not use these in your app! These exports are for legacy use only.\nexport { Info, Title, DetailRow, DetailBlock };\n"],"mappings":";;;;;;;;;;;;;AAuEA,IAAM,KAAc,EACnB,cACA,YACA,SACA,SACA,WACA,UACA,yBACA,oBACA,qBACA,UACA,UACA,aAAU,aACgC;CAC1C,IAAM,IAAU,EACf,oBACA;EACC,gCAAgC,MAAY;EAC5C,iCAAiC,MAAY;EAC7C,2BAA2B;CAC5B,GACA,CACD,GAEM,IAAe;EACpB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD,GAEI;CAEJ,QAAQ,GAAR;EACC,KAAK;GACJ,IAAmB;GACnB;EACD,KAAK;GACJ,IAAmB;GACnB;EACD,KAAK;GACJ,IAAmB;GACnB;EACD,SACC,IAAmB;CACrB;CAEA,OACC,kBAAC,OAAD;EAAK,WAAW;EACf,UAAA,kBAAC,GAAD,EAAkB,GAAI,EAAe,CAAA;CACjC,CAAA;AAEP;AAEA,EAAW,cAAc"}
@@ -1,11 +1,11 @@
1
- import { DATA_TABLE_CELL as e } from "../../utilities/constants.js";
1
+ import { SIMPLE_DATA_TABLE_CELL as e } from "../../utilities/constants.js";
2
2
  import t from "./private/cell-context.js";
3
3
  import n from "./private/table-context.js";
4
4
  import r from "./private/context-helper.js";
5
5
  import i, { useContext as a } from "react";
6
6
  import o from "classnames";
7
7
  import { jsx as s } from "react/jsx-runtime";
8
- //#region components/data-table/cell.tsx
8
+ //#region components/simple-data-table/cell.tsx
9
9
  var c = (e) => {
10
10
  let c = a(n), l = a(t), { tabIndex: u, hasFocus: d, handleFocus: f, handleKeyDown: p } = r(c, l, e.fixedLayout), m = i.isValidElement(e.children) ? e.children.props.children : e.children, h = /* @__PURE__ */ s("div", {
11
11
  className: o({ "slds-truncate": e.fixedLayout }),
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cell.js","names":[],"sources":["../../../../components/simple-data-table/cell.tsx"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\n\nimport React, { useContext, ReactNode } from 'react';\nimport classNames from 'classnames';\n\nimport CellContext from './private/cell-context';\nimport TableContext from './private/table-context';\nimport useContextHelper from './private/context-helper';\n\nimport { SIMPLE_DATA_TABLE_CELL } from '../../utilities/constants';\n\nexport interface SimpleDataTableCellProps {\n\t/** The contents of the cell */\n\tchildren?: ReactNode;\n\t/** Class names to be added to the cell */\n\tclassName?: string | string[] | Record<string, boolean>;\n\t/** Use this for advanced table (selectable or sortable rows) */\n\tfixedLayout?: boolean;\n\t/** The item from the items which represents this row */\n\titem?: Record<string, unknown>;\n\t/** The primary column for a row. This is almost always the first column. */\n\tprimaryColumn?: boolean;\n\t/** The property of this item to display */\n\tproperty?: string;\n\t/** Shows on hover. Useful for truncated cells. */\n\ttitle?: string;\n\t/** Width of column. Required for advanced/fixed layout tables. */\n\twidth?: string;\n\t/** Data label for stacked layout */\n\tlabel?: string;\n\t/** Header ID for accessibility */\n\theaderId?: string;\n}\n\n/**\n * The default Cell renderer for the SimpleDataTable. Pass in any React component\n * with the same `displayName` which takes the same props to provide custom rendering.\n */\nconst SimpleDataTableCell: React.FC<SimpleDataTableCellProps> = (props) => {\n\tconst tableContext = useContext(TableContext);\n\tconst cellContext = useContext(CellContext);\n\tconst { tabIndex, hasFocus, handleFocus, handleKeyDown } = useContextHelper(\n\t\ttableContext,\n\t\tcellContext,\n\t\tprops.fixedLayout\n\t);\n\n\tconst childText = React.isValidElement(props.children)\n\t\t? (props.children.props as { children?: string }).children\n\t\t: props.children;\n\n\tconst contents = (\n\t\t<div\n\t\t\tclassName={classNames({\n\t\t\t\t'slds-truncate': props.fixedLayout,\n\t\t\t})}\n\t\t\ttitle={\n\t\t\t\tprops.title || (typeof childText === 'string' ? childText : undefined)\n\t\t\t}\n\t\t>\n\t\t\t{props.children}\n\t\t</div>\n\t);\n\n\tconst className = classNames(props.className, {\n\t\t'slds-has-focus': hasFocus,\n\t});\n\n\tconst ref = (node: HTMLTableCellElement | null) => {\n\t\tif (node && hasFocus) {\n\t\t\tnode.focus();\n\t\t}\n\t};\n\n\tif (props.primaryColumn) {\n\t\treturn (\n\t\t\t<th\n\t\t\t\tclassName={className}\n\t\t\t\tref={ref}\n\t\t\t\tdata-label={props.label}\n\t\t\t\trole={props.fixedLayout ? 'gridcell' : undefined}\n\t\t\t\ttabIndex={tabIndex}\n\t\t\t\tstyle={props.width ? { width: props.width } : undefined}\n\t\t\t\tonFocus={handleFocus}\n\t\t\t\tonKeyDown={handleKeyDown}\n\t\t\t>\n\t\t\t\t{contents}\n\t\t\t</th>\n\t\t);\n\t}\n\n\treturn (\n\t\t<td\n\t\t\tclassName={className}\n\t\t\tdata-label={props.label}\n\t\t\tonFocus={handleFocus}\n\t\t\tonKeyDown={handleKeyDown}\n\t\t\tref={ref}\n\t\t\trole={props.fixedLayout ? 'gridcell' : undefined}\n\t\t\tstyle={props.width ? { width: props.width } : undefined}\n\t\t\ttabIndex={tabIndex}\n\t\t\theaders={props.headerId}\n\t\t>\n\t\t\t{contents}\n\t\t</td>\n\t);\n};\n\nSimpleDataTableCell.displayName = SIMPLE_DATA_TABLE_CELL;\n\nexport default SimpleDataTableCell;\n"],"mappings":";;;;;;;;AAuCA,IAAM,KAA2D,MAAU;CAC1E,IAAM,IAAe,EAAW,CAAY,GACtC,IAAc,EAAW,CAAW,GACpC,EAAE,aAAU,aAAU,gBAAa,qBAAkB,EAC1D,GACA,GACA,EAAM,WACP,GAEM,IAAY,EAAM,eAAe,EAAM,QAAQ,IACjD,EAAM,SAAS,MAAgC,WAChD,EAAM,UAEH,IACL,kBAAC,OAAD;EACC,WAAW,EAAW,EACrB,iBAAiB,EAAM,YACxB,CAAC;EACD,OACC,EAAM,UAAU,OAAO,KAAc,WAAW,IAAY,KAAA;EAG5D,UAAA,EAAM;CACH,CAAA,GAGA,IAAY,EAAW,EAAM,WAAW,EAC7C,kBAAkB,EACnB,CAAC,GAEK,KAAO,MAAsC;EAClD,AAAI,KAAQ,KACX,EAAK,MAAM;CAEb;CAmBA,OAjBI,EAAM,gBAER,kBAAC,MAAD;EACY;EACN;EACL,cAAY,EAAM;EAClB,MAAM,EAAM,cAAc,aAAa,KAAA;EAC7B;EACV,OAAO,EAAM,QAAQ,EAAE,OAAO,EAAM,MAAM,IAAI,KAAA;EAC9C,SAAS;EACT,WAAW;EAEV,UAAA;CACE,CAAA,IAKL,kBAAC,MAAD;EACY;EACX,cAAY,EAAM;EAClB,SAAS;EACT,WAAW;EACN;EACL,MAAM,EAAM,cAAc,aAAa,KAAA;EACvC,OAAO,EAAM,QAAQ,EAAE,OAAO,EAAM,MAAM,IAAI,KAAA;EACpC;EACV,SAAS,EAAM;EAEd,UAAA;CACE,CAAA;AAEN;AAEA,EAAoB,cAAc"}
@@ -1,11 +1,11 @@
1
1
  import e from "../../utilities/warning/sunset-property.js";
2
2
  import t from "../../utilities/warning/deprecated-property.js";
3
3
  import n from "../../utilities/get-component-doc.js";
4
- //#region components/data-table/check-props.js
4
+ //#region components/simple-data-table/check-props.js
5
5
  var r = function() {};
6
6
  process.env.NODE_ENV !== "production" && (r = function(r, i, a) {
7
7
  let o = n(a);
8
- t(r, i.onChange, "onChange", "onRowChange", "The callback parameters have been changed. `onRowChange` passes in `[event, { selection }` in order to align with other components."), t(r, i.compact, "compact", void 0, `compact has been deprecated as non-compact data tables do not exist in SLDS. ${o()}`), t(r, i.collection, "collection", "items", o("items")), t(r, i.onSelect, "onSelect", "onChange", o("onChange")), t(r, i.onDeselect, "onDeselect", "onChange", o("onChange")), e(r, i.sortable, "sortable", `The table is sortable if one or more of its columns are sortable. ${o()}`), e(r, i.columns, "columns", `Please provide one or more children of the type <Column /> instead. ${o()}`), e(r, i.bordered, "bordered", `All SLDS DataTables have row borders by default now. If you do not want row borders, please use \`unborderedRow\`. ${o("unborderedRow")}`), t(r, i.assistiveTextForActionsHeader, "assistiveTextForActionsHeader", "assistiveText['actionsHeader']", o("assistiveText")), t(r, i.assistiveTextForColumnSort, "assistiveTextForColumnSort", "assistiveText['columnSort']", o("assistiveText")), t(r, i.assistiveTextForColumnSortedAscending, "assistiveTextForColumnSortedAscending", "assistiveText['columnSortedAscending']", o("assistiveText")), t(r, i.assistiveTextForColumnSortedDescending, "assistiveTextForColumnSortedDescending", "assistiveText['columnSortedDescending']", o("assistiveText")), t(r, i.assistiveTextForSelectAllRows, "assistiveTextForSelectAllRows", "assistiveText['selectAllRows']", o("assistiveText")), t(r, i.assistiveTextForSelectRow, "assistiveTextForSelectRow", "assistiveText['selectRow']", o("assistiveText"));
8
+ t(r, i.onChange, "onChange", "onRowChange", "The callback parameters have been changed. `onRowChange` passes in `[event, { selection }` in order to align with other components."), t(r, i.compact, "compact", void 0, `compact has been deprecated as non-compact data tables do not exist in SLDS. ${o()}`), t(r, i.collection, "collection", "items", o("items")), t(r, i.onSelect, "onSelect", "onChange", o("onChange")), t(r, i.onDeselect, "onDeselect", "onChange", o("onChange")), e(r, i.sortable, "sortable", `The table is sortable if one or more of its columns are sortable. ${o()}`), e(r, i.columns, "columns", `Please provide one or more children of the type <Column /> instead. ${o()}`), e(r, i.bordered, "bordered", `All SLDS SimpleDataTables have row borders by default now. If you do not want row borders, please use \`unborderedRow\`. ${o("unborderedRow")}`), t(r, i.assistiveTextForActionsHeader, "assistiveTextForActionsHeader", "assistiveText['actionsHeader']", o("assistiveText")), t(r, i.assistiveTextForColumnSort, "assistiveTextForColumnSort", "assistiveText['columnSort']", o("assistiveText")), t(r, i.assistiveTextForColumnSortedAscending, "assistiveTextForColumnSortedAscending", "assistiveText['columnSortedAscending']", o("assistiveText")), t(r, i.assistiveTextForColumnSortedDescending, "assistiveTextForColumnSortedDescending", "assistiveText['columnSortedDescending']", o("assistiveText")), t(r, i.assistiveTextForSelectAllRows, "assistiveTextForSelectAllRows", "assistiveText['selectAllRows']", o("assistiveText")), t(r, i.assistiveTextForSelectRow, "assistiveTextForSelectRow", "assistiveText['selectRow']", o("assistiveText"));
9
9
  });
10
10
  var i = r;
11
11
  //#endregion
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check-props.js","names":[],"sources":["../../../../components/simple-data-table/check-props.js"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\n/* eslint-disable import/no-mutable-exports */\n\nimport deprecatedProperty from '../../utilities/warning/deprecated-property';\nimport getComponentDocFn from '../../utilities/get-component-doc';\nimport sunsetProperty from '../../utilities/warning/sunset-property';\n\nlet checkProps = function checkPropsFunction() {};\n\nif (process.env.NODE_ENV !== 'production') {\n\tcheckProps = function checkPropsFunction(COMPONENT, props, jsonDoc) {\n\t\tconst createDocUrl = getComponentDocFn(jsonDoc);\n\t\t/* eslint-disable max-len */\n\t\t// Deprecated and changed to another property\n\t\tdeprecatedProperty(\n\t\t\tCOMPONENT,\n\t\t\tprops.onChange,\n\t\t\t'onChange',\n\t\t\t'onRowChange',\n\t\t\t'The callback parameters have been changed. `onRowChange` passes in `[event, { selection }` in order to align with other components.'\n\t\t);\n\t\tdeprecatedProperty(\n\t\t\tCOMPONENT,\n\t\t\tprops.compact,\n\t\t\t'compact',\n\t\t\tundefined,\n\t\t\t`compact has been deprecated as non-compact data tables do not exist in SLDS. ${createDocUrl()}`\n\t\t);\n\n\t\tdeprecatedProperty(\n\t\t\tCOMPONENT,\n\t\t\tprops.collection,\n\t\t\t'collection',\n\t\t\t'items',\n\t\t\tcreateDocUrl('items')\n\t\t);\n\t\tdeprecatedProperty(\n\t\t\tCOMPONENT,\n\t\t\tprops.onSelect,\n\t\t\t'onSelect',\n\t\t\t'onChange',\n\t\t\tcreateDocUrl('onChange')\n\t\t);\n\t\tdeprecatedProperty(\n\t\t\tCOMPONENT,\n\t\t\tprops.onDeselect,\n\t\t\t'onDeselect',\n\t\t\t'onChange',\n\t\t\tcreateDocUrl('onChange')\n\t\t);\n\t\tsunsetProperty(\n\t\t\tCOMPONENT,\n\t\t\tprops.sortable,\n\t\t\t'sortable',\n\t\t\t`The table is sortable if one or more of its columns are sortable. ${createDocUrl()}`\n\t\t);\n\n\t\t// Deprecated and moved to a child\n\t\tsunsetProperty(\n\t\t\tCOMPONENT,\n\t\t\tprops.columns,\n\t\t\t'columns',\n\t\t\t`Please provide one or more children of the type <Column /> instead. ${createDocUrl()}`\n\t\t);\n\n\t\tsunsetProperty(\n\t\t\tCOMPONENT,\n\t\t\tprops.bordered,\n\t\t\t'bordered',\n\t\t\t`All SLDS SimpleDataTables have row borders by default now. If you do not want row borders, please use \\`unborderedRow\\`. ${createDocUrl(\n\t\t\t\t'unborderedRow'\n\t\t\t)}`\n\t\t);\n\t\t/* eslint-enable max-len */\n\n\t\tdeprecatedProperty(\n\t\t\tCOMPONENT,\n\t\t\tprops.assistiveTextForActionsHeader,\n\t\t\t'assistiveTextForActionsHeader',\n\t\t\t\"assistiveText['actionsHeader']\",\n\t\t\tcreateDocUrl('assistiveText')\n\t\t);\n\t\tdeprecatedProperty(\n\t\t\tCOMPONENT,\n\t\t\tprops.assistiveTextForColumnSort,\n\t\t\t'assistiveTextForColumnSort',\n\t\t\t\"assistiveText['columnSort']\",\n\t\t\tcreateDocUrl('assistiveText')\n\t\t);\n\t\tdeprecatedProperty(\n\t\t\tCOMPONENT,\n\t\t\tprops.assistiveTextForColumnSortedAscending,\n\t\t\t'assistiveTextForColumnSortedAscending',\n\t\t\t\"assistiveText['columnSortedAscending']\",\n\t\t\tcreateDocUrl('assistiveText')\n\t\t);\n\t\tdeprecatedProperty(\n\t\t\tCOMPONENT,\n\t\t\tprops.assistiveTextForColumnSortedDescending,\n\t\t\t'assistiveTextForColumnSortedDescending',\n\t\t\t\"assistiveText['columnSortedDescending']\",\n\t\t\tcreateDocUrl('assistiveText')\n\t\t);\n\t\tdeprecatedProperty(\n\t\t\tCOMPONENT,\n\t\t\tprops.assistiveTextForSelectAllRows,\n\t\t\t'assistiveTextForSelectAllRows',\n\t\t\t\"assistiveText['selectAllRows']\",\n\t\t\tcreateDocUrl('assistiveText')\n\t\t);\n\t\tdeprecatedProperty(\n\t\t\tCOMPONENT,\n\t\t\tprops.assistiveTextForSelectRow,\n\t\t\t'assistiveTextForSelectRow',\n\t\t\t\"assistiveText['selectRow']\",\n\t\t\tcreateDocUrl('assistiveText')\n\t\t);\n\t};\n}\n\nexport default checkProps;\n"],"mappings":";;;;AAQA,IAAI,IAAa,WAA8B,CAAC;AAEhD,QAAA,IAAA,aAA6B,iBAC5B,IAAa,SAA4B,GAAW,GAAO,GAAS;CACnE,IAAM,IAAe,EAAkB,CAAO;CAmG9C,AAhGA,EACC,GACA,EAAM,UACN,YACA,eACA,qIACD,GACA,EACC,GACA,EAAM,SACN,WACA,KAAA,GACA,gFAAgF,EAAa,GAC9F,GAEA,EACC,GACA,EAAM,YACN,cACA,SACA,EAAa,OAAO,CACrB,GACA,EACC,GACA,EAAM,UACN,YACA,YACA,EAAa,UAAU,CACxB,GACA,EACC,GACA,EAAM,YACN,cACA,YACA,EAAa,UAAU,CACxB,GACA,EACC,GACA,EAAM,UACN,YACA,qEAAqE,EAAa,GACnF,GAGA,EACC,GACA,EAAM,SACN,WACA,uEAAuE,EAAa,GACrF,GAEA,EACC,GACA,EAAM,UACN,YACA,4HAA4H,EAC3H,eACD,GACD,GAGA,EACC,GACA,EAAM,+BACN,iCACA,kCACA,EAAa,eAAe,CAC7B,GACA,EACC,GACA,EAAM,4BACN,8BACA,+BACA,EAAa,eAAe,CAC7B,GACA,EACC,GACA,EAAM,uCACN,yCACA,0CACA,EAAa,eAAe,CAC7B,GACA,EACC,GACA,EAAM,wCACN,0CACA,2CACA,EAAa,eAAe,CAC7B,GACA,EACC,GACA,EAAM,+BACN,iCACA,kCACA,EAAa,eAAe,CAC7B,GACA,EACC,GACA,EAAM,2BACN,6BACA,8BACA,EAAa,eAAe,CAC7B;AACD;AAGD,IAAA,IAAe"}
@@ -1,5 +1,5 @@
1
1
  import e from "../../utilities/warning/if-one-then-both-required-property.js";
2
- //#region components/data-table/column-check-props.js
2
+ //#region components/simple-data-table/column-check-props.js
3
3
  var t = function() {};
4
4
  process.env.NODE_ENV !== "production" && (t = function(t, n) {
5
5
  e(t, n, {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"column-check-props.js","names":[],"sources":["../../../../components/simple-data-table/column-check-props.js"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\n/* eslint-disable import/no-mutable-exports */\n\nimport ifOneThenBothRequiredProperty from '../../utilities/warning/if-one-then-both-required-property';\n\nlet checkProps = function checkPropsFunction() {};\n\nif (process.env.NODE_ENV !== 'production') {\n\tcheckProps = function checkPropsFunction(COMPONENT, props) {\n\t\t/* eslint-disable max-len */\n\t\t// Deprecated and changed to another property\n\t\tifOneThenBothRequiredProperty(COMPONENT, props, {\n\t\t\tisSorted: props.isSorted,\n\t\t\tsortDirection: props.sortDirection,\n\t\t});\n\t\t/* eslint-enable max-len */\n\t};\n}\n\nexport default checkProps;\n"],"mappings":";;AAMA,IAAI,IAAa,WAA8B,CAAC;AAEhD,QAAA,IAAA,aAA6B,iBAC5B,IAAa,SAA4B,GAAW,GAAO;CAG1D,EAA8B,GAAW,GAAO;EAC/C,UAAU,EAAM;EAChB,eAAe,EAAM;CACtB,CAAC;AAEF;AAGD,IAAA,IAAe"}
@@ -0,0 +1,8 @@
1
+ import { SIMPLE_DATA_TABLE_COLUMN as e } from "../../utilities/constants.js";
2
+ //#region components/simple-data-table/column.tsx
3
+ var t = () => null;
4
+ t.displayName = e;
5
+ //#endregion
6
+ export { t as default };
7
+
8
+ //# sourceMappingURL=column.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"column.js","names":[],"sources":["../../../../components/simple-data-table/column.tsx"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\n\nimport React, { ReactNode } from 'react';\nimport { SIMPLE_DATA_TABLE_COLUMN } from '../../utilities/constants';\n\nexport interface SimpleDataTableColumnProps {\n\t/**\n\t * Use a _higher-order component_ to customize a data table cell that will\n\t * override the default cell rendering. `CustomSimpleDataTableCell` must have the\n\t * same `displayName` as `SimpleDataTableCell` or it will be ignored.\n\t */\n\tchildren?: ReactNode;\n\t/**\n\t * Some columns should sort descending first (e.g., \"date last viewed\").\n\t * If sortable and the parent has not defined sort order, ascending is default.\n\t */\n\tisDefaultSortDescending?: boolean;\n\t/**\n\t * Selects this column as the currently sorted column.\n\t */\n\tisSorted?: boolean;\n\t/**\n\t * The column label. If a `string` is not passed in, no `title` attribute\n\t * will be rendered.\n\t */\n\tlabel?: string | ReactNode;\n\t/**\n\t * The primary column for a row. This is almost always the first column.\n\t */\n\tprimaryColumn?: boolean;\n\t/**\n\t * The property which corresponds to this column.\n\t */\n\tproperty?: string;\n\t/**\n\t * Whether or not the column is sortable.\n\t */\n\tsortable?: boolean;\n\t/**\n\t * The current sort direction. Required if `isSorted` is true.\n\t */\n\tsortDirection?: 'desc' | 'asc';\n\t/**\n\t * Title used for truncation div within the cell.\n\t */\n\ttitle?: string;\n\t/**\n\t * Adds truncate to cell node.\n\t */\n\ttruncate?: boolean;\n\t/**\n\t * Width of column. Required for advanced/fixed layout tables.\n\t * Please provide units (`rems` are recommended).\n\t */\n\twidth?: string;\n}\n\n/**\n * Columns define the structure of the data displayed in the SimpleDataTable.\n * This component doesn't render anything - it's used for configuration.\n */\nconst SimpleDataTableColumn: React.FC<SimpleDataTableColumnProps> = () => {\n\t// This component doesn't render anything.\n\t// It's used as a configuration element parsed by SimpleDataTable.\n\treturn null;\n};\n\nSimpleDataTableColumn.displayName = SIMPLE_DATA_TABLE_COLUMN;\n\nexport default SimpleDataTableColumn;\n"],"mappings":";;AA8DA,IAAM,UAGE;AAGR,EAAsB,cAAc"}
@@ -1,20 +1,20 @@
1
- //#region components/data-table/component.json
2
- var e = "data-table", t = "prod", n = "DataTable", r = [
1
+ //#region components/simple-data-table/component.json
2
+ var e = "simple-data-table", t = "prod", n = "SimpleDataTable", r = [
3
3
  {
4
4
  component: "cell",
5
- classKey: "DataTableCell"
5
+ classKey: "SimpleDataTableCell"
6
6
  },
7
7
  {
8
8
  component: "column",
9
- classKey: "DataTableColumn"
9
+ classKey: "SimpleDataTableColumn"
10
10
  },
11
11
  {
12
12
  component: "highlight-cell",
13
- classKey: "DataTableHighlightCell"
13
+ classKey: "SimpleDataTableHighlightCell"
14
14
  },
15
15
  {
16
16
  component: "row-actions",
17
- classKey: "DataTableRowActions"
17
+ classKey: "SimpleDataTableRowActions"
18
18
  }
19
19
  ], i = {
20
20
  component: e,
@@ -72,10 +72,6 @@ var e = "data-table", t = "prod", n = "DataTable", r = [
72
72
  {
73
73
  heading: "Infinite Scrolling",
74
74
  path: "/__examples__/infinite-scrolling.jsx"
75
- },
76
- {
77
- heading: "Resizable Columns",
78
- path: "/__examples__/resizable-columns.jsx"
79
75
  }
80
76
  ],
81
77
  "url-slug": "data-tables"
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.js","names":[],"sources":["../../../../components/simple-data-table/component.json"],"sourcesContent":["{\n\t\"component\": \"simple-data-table\",\n\t\"status\": \"prod\",\n\t\"display-name\": \"Data Tables\",\n\t\"classKey\": \"SimpleDataTable\",\n\t\"last-accessibility-review\": {\n\t\t\"date-iso-8601\": \"2017/01/01\",\n\t\t\"deprecated-accessibility\": \"true\",\n\t\t\"commit-sha\": \"ad6b6c6523ee21cada11be5f7ea4d99abc530726\"\n\t},\n\t\"SLDS-component-path\": \"/components/data-tables\",\n\t\"dependencies\": [\n\t\t{\n\t\t\t\"component\": \"cell\",\n\t\t\t\"classKey\": \"SimpleDataTableCell\"\n\t\t},\n\t\t{\n\t\t\t\"component\": \"column\",\n\t\t\t\"classKey\": \"SimpleDataTableColumn\"\n\t\t},\n\t\t{\n\t\t\t\"component\": \"highlight-cell\",\n\t\t\t\"classKey\": \"SimpleDataTableHighlightCell\"\n\t\t},\n\t\t{\n\t\t\t\"component\": \"row-actions\",\n\t\t\t\"classKey\": \"SimpleDataTableRowActions\"\n\t\t}\n\t],\n\t\"site-stories\": [\n\t\t{\n\t\t\t\"heading\": \"Basic\",\n\t\t\t\"path\": \"/__examples__/basic-fluid.jsx\"\n\t\t},\n\t\t{\n\t\t\t\"heading\": \"Basic: Fluid and Striped\",\n\t\t\t\"path\": \"/__examples__/basic-fluid-striped.jsx\"\n\t\t},\n\t\t{\n\t\t\t\"heading\": \"Basic: No row hover\",\n\t\t\t\"path\": \"/__examples__/basic-fluid-no-row-hover.jsx\"\n\t\t},\n\t\t{\n\t\t\t\"heading\": \"Basic: Columns bordered\",\n\t\t\t\"path\": \"/__examples__/basic-fluid-column-bordered.jsx\"\n\t\t},\n\t\t{\n\t\t\t\"heading\": \"Basic: Headless\",\n\t\t\t\"path\": \"/__examples__/basic-fluid-headless.jsx\"\n\t\t},\n\t\t{\n\t\t\t\"heading\": \"Fixed Layout\",\n\t\t\t\"path\": \"/__examples__/basic-fixed-layout.jsx\"\n\t\t},\n\t\t{\n\t\t\t\"heading\": \"Advanced\",\n\t\t\t\"path\": \"/__examples__/advanced.jsx\"\n\t\t},\n\t\t{\n\t\t\t\"heading\": \"Advanced: Single Selection\",\n\t\t\t\"path\": \"/__examples__/advanced-single-select.jsx\"\n\t\t},\n\t\t{\n\t\t\t\"heading\": \"Advanced: Fixed Header\",\n\t\t\t\"path\": \"/__examples__/fixed-header.jsx\"\n\t\t},\n\t\t{\n\t\t\t\"heading\": \"Advanced: Joined with Page Header\",\n\t\t\t\"path\": \"/__examples__/joined-with-page-header.jsx\"\n\t\t},\n\t\t{\n\t\t\t\"heading\": \"Infinite Scrolling\",\n\t\t\t\"path\": \"/__examples__/infinite-scrolling.jsx\"\n\t\t}\n\t],\n\t\"url-slug\": \"data-tables\"\n}\n"],"mappings":""}
@@ -1,9 +1,9 @@
1
- import { DATA_TABLE_CELL as e } from "../../utilities/constants.js";
1
+ import { SIMPLE_DATA_TABLE_CELL as e } from "../../utilities/constants.js";
2
2
  import t from "./cell.js";
3
3
  import n from "../utilities/highlighter/index.js";
4
4
  import "react";
5
5
  import { jsx as r } from "react/jsx-runtime";
6
- //#region components/data-table/highlight-cell.tsx
6
+ //#region components/simple-data-table/highlight-cell.tsx
7
7
  var i = (e) => /* @__PURE__ */ r(t, {
8
8
  ...e,
9
9
  children: /* @__PURE__ */ r(n, {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"highlight-cell.js","names":[],"sources":["../../../../components/simple-data-table/highlight-cell.tsx"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\n\nimport React, { ReactNode } from 'react';\n\nimport SimpleDataTableCell, { SimpleDataTableCellProps } from './cell';\nimport Highlighter from '../utilities/highlighter';\n\nimport { SIMPLE_DATA_TABLE_CELL } from '../../utilities/constants';\n\nexport interface SimpleDataTableHighlightCellProps extends SimpleDataTableCellProps {\n\t/** The contents of the cell */\n\tchildren?: ReactNode;\n\t/** The string of text (or Regular Expression) to highlight */\n\tsearch?: string | RegExp;\n}\n\n/**\n * A Cell renderer for the SimpleDataTable that automatically highlights search text.\n */\nconst SimpleDataTableHighlightCell: React.FC<\n\tSimpleDataTableHighlightCellProps\n> = (props) => (\n\t<SimpleDataTableCell {...props}>\n\t\t<Highlighter search={props.search}>{props.children}</Highlighter>\n\t</SimpleDataTableCell>\n);\n\n// The SimpleDataTable looks for components with this name\nSimpleDataTableHighlightCell.displayName = SIMPLE_DATA_TABLE_CELL;\n\nexport default SimpleDataTableHighlightCell;\n"],"mappings":";;;;;;AAoBA,IAAM,KAED,MACJ,kBAAC,GAAD;CAAqB,GAAI;CACxB,UAAA,kBAAC,GAAD;EAAa,QAAQ,EAAM;EAAS,UAAA,EAAM;CAAsB,CAAA;AAC5C,CAAA;AAItB,EAA6B,cAAc"}