@innovaccer/design-system 5.0.0-3 → 5.0.0-30

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 (609) hide show
  1. package/CHANGELOG.md +1189 -0
  2. package/README.md +36 -28
  3. package/css/SCOPED_CSS.md +145 -0
  4. package/css/dist/MaterialSymbolsRounded.woff2 +0 -0
  5. package/css/dist/index.css +13837 -0
  6. package/css/dist/index.css.map +1 -0
  7. package/css/dist/mds-scoped.css +13862 -0
  8. package/css/gulpfile.js +34 -25
  9. package/css/scoped/package.json +5 -0
  10. package/css/scripts/build-scoped.mjs +313 -0
  11. package/css/scripts/css-sources.cjs +49 -0
  12. package/css/scripts/portal-roots.cjs +47 -0
  13. package/css/src/ai-components/button.module.css +6 -26
  14. package/css/src/ai-components/chat.module.css +2 -14
  15. package/css/src/ai-components/chip.module.css +15 -32
  16. package/css/src/ai-components/iconButton.module.css +5 -16
  17. package/css/src/components/actionButton.module.css +1 -1
  18. package/css/src/components/actionCard.module.css +2 -3
  19. package/css/src/components/avatar.module.css +78 -16
  20. package/css/src/components/avatarGroup.module.css +32 -3
  21. package/css/src/components/avatarSelection.module.css +122 -10
  22. package/css/src/components/badge.module.css +2 -2
  23. package/css/src/components/breadcrumbs.module.css +2 -1
  24. package/css/src/components/button.module.css +329 -41
  25. package/css/src/components/calendar.module.css +150 -30
  26. package/css/src/components/card.module.css +14 -0
  27. package/css/src/components/chatBubble.module.css +6 -1
  28. package/css/src/components/chatInput.module.css +96 -0
  29. package/css/src/components/checkbox.module.css +13 -16
  30. package/css/src/components/chip.module.css +107 -32
  31. package/css/src/components/chipInput.module.css +52 -21
  32. package/css/src/components/collapsible.module.css +2 -2
  33. package/css/src/components/datePicker.module.css +9 -0
  34. package/css/src/components/dateRangePicker.module.css +5 -0
  35. package/css/src/components/dropdown.module.css +51 -14
  36. package/css/src/components/dropdownButton.module.css +5 -3
  37. package/css/src/components/dropzone.module.css +56 -8
  38. package/css/src/components/editableChipInput.module.css +48 -1
  39. package/css/src/components/editableDropdown.module.css +53 -0
  40. package/css/src/components/editableInput.module.css +38 -2
  41. package/css/src/components/flex.module.css +117 -0
  42. package/css/src/components/grid.module.css +223 -100
  43. package/css/src/components/horizontalNav.module.css +45 -11
  44. package/css/src/components/inlineMessage.module.css +1 -1
  45. package/css/src/components/input.module.css +19 -9
  46. package/css/src/components/label.module.css +20 -1
  47. package/css/src/components/link.module.css +70 -12
  48. package/css/src/components/linkButton.module.css +86 -14
  49. package/css/src/components/listbox.module.css +119 -10
  50. package/css/src/components/mdsGrid.module.css +401 -0
  51. package/css/src/components/menu.module.css +7 -0
  52. package/css/src/components/message.module.css +30 -2
  53. package/css/src/components/metricInput.module.css +132 -19
  54. package/css/src/components/modal.module.css +16 -0
  55. package/css/src/components/navigation.module.css +16 -0
  56. package/css/src/components/pageHeader.module.css +103 -8
  57. package/css/src/components/radio.module.css +16 -16
  58. package/css/src/components/segmentedControl.module.css +268 -0
  59. package/css/src/components/select.module.css +82 -13
  60. package/css/src/components/selectionCard.module.css +44 -4
  61. package/css/src/components/sidesheet.module.css +16 -0
  62. package/css/src/components/slider.module.css +48 -3
  63. package/css/src/components/spinner.module.css +10 -6
  64. package/css/src/components/statusHint.module.css +1 -2
  65. package/css/src/components/stepper.module.css +7 -6
  66. package/css/src/components/switch.module.css +61 -2
  67. package/css/src/components/table.module.css +34 -1
  68. package/css/src/components/tabs.module.css +55 -10
  69. package/css/src/components/text.module.css +1 -0
  70. package/css/src/components/textarea.module.css +12 -5
  71. package/css/src/components/timePicker.module.css +4 -0
  72. package/css/src/components/toast.module.css +31 -39
  73. package/css/src/components/tooltip.module.css +5 -0
  74. package/css/src/components/verticalNav.module.css +49 -8
  75. package/css/src/core/animation.css +4 -2
  76. package/css/src/core/utilities.css +0 -23
  77. package/css/src/tokens/index.css +325 -59
  78. package/css/src/utils/sizing.css +4 -0
  79. package/css/src/utils/utility.css +8 -0
  80. package/css/src/variables/index.css +139 -0
  81. package/dist/brotli/index.js +24 -0
  82. package/dist/brotli/index.js.br +0 -0
  83. package/dist/cjs/index.js +24 -0
  84. package/dist/core/accessibility/utils/index.d.ts +4 -0
  85. package/dist/core/accessibility/utils/isEnterKey.d.ts +3 -0
  86. package/dist/core/accessibility/utils/isSpaceKey.d.ts +3 -0
  87. package/dist/core/accessibility/utils/useAccessibilityProps.d.ts +122 -0
  88. package/dist/core/ai-components/AIButton/index.d.ts +17 -0
  89. package/dist/core/ai-components/AIChip/index.d.ts +10 -0
  90. package/dist/core/ai-components/AIIconButton/SaraIcon.d.ts +9 -0
  91. package/dist/core/ai-components/AIIconButton/icons/SaraIconDefault.d.ts +6 -0
  92. package/dist/core/ai-components/AIIconButton/icons/SaraIconDisabled.d.ts +6 -0
  93. package/dist/core/ai-components/AIIconButton/index.d.ts +19 -0
  94. package/dist/core/ai-components/AIResponse/ChatActionBar.d.ts +9 -0
  95. package/dist/core/ai-components/AIResponse/ChatBody.d.ts +9 -0
  96. package/dist/core/ai-components/AIResponse/ChatBox.d.ts +10 -0
  97. package/dist/core/ai-components/AIResponse/ChatButton.d.ts +5 -0
  98. package/dist/core/ai-components/AIResponse/index.d.ts +408 -0
  99. package/dist/core/ai-components/Sara/index.d.ts +12 -0
  100. package/dist/core/ai-components/SaraSparkle/index.d.ts +12 -0
  101. package/dist/core/ai-components/common.type.d.ts +11 -0
  102. package/dist/core/common.type.d.ts +28 -0
  103. package/dist/core/components/atoms/_chip/index.d.ts +29 -0
  104. package/dist/core/components/atoms/_text/index.d.ts +9 -0
  105. package/dist/core/components/atoms/actionCard/ActionCard.d.ts +13 -0
  106. package/dist/core/components/atoms/actionCard/index.d.ts +2 -0
  107. package/dist/core/components/atoms/avatar/Avatar.d.ts +35 -0
  108. package/dist/core/components/atoms/avatar/AvatarProvider.d.ts +11 -0
  109. package/dist/core/components/atoms/avatar/avatarIcon/AvatarIcon.d.ts +8 -0
  110. package/dist/core/components/atoms/avatar/avatarIcon/index.d.ts +2 -0
  111. package/dist/core/components/atoms/avatar/avatarImage/AvatarImage.d.ts +8 -0
  112. package/dist/core/components/atoms/avatar/avatarImage/index.d.ts +2 -0
  113. package/dist/core/components/atoms/avatar/constants.d.ts +1 -0
  114. package/dist/core/components/atoms/avatar/index.d.ts +2 -0
  115. package/dist/core/components/atoms/avatarGroup/AvatarCount.d.ts +3 -0
  116. package/dist/core/components/atoms/avatarGroup/AvatarGroup.d.ts +45 -0
  117. package/dist/core/components/atoms/avatarGroup/AvatarGroupEmptyState.d.ts +8 -0
  118. package/dist/core/components/atoms/avatarGroup/AvatarInput.d.ts +4 -0
  119. package/dist/core/components/atoms/avatarGroup/AvatarOptionItem.d.ts +7 -0
  120. package/dist/core/components/atoms/avatarGroup/AvatarPopperBody.d.ts +16 -0
  121. package/dist/core/components/atoms/avatarGroup/Avatars.d.ts +2 -0
  122. package/dist/core/components/atoms/avatarGroup/index.d.ts +2 -0
  123. package/dist/core/components/atoms/avatarSelection/AvatarSelection.d.ts +45 -0
  124. package/dist/core/components/atoms/avatarSelection/AvatarSelectionContext.d.ts +19 -0
  125. package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionEmptyState.d.ts +8 -0
  126. package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionInput.d.ts +4 -0
  127. package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionList.d.ts +12 -0
  128. package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionOption.d.ts +13 -0
  129. package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionPopover.d.ts +17 -0
  130. package/dist/core/components/atoms/avatarSelection/avatarPopover/index.d.ts +5 -0
  131. package/dist/core/components/atoms/avatarSelection/avatarPopover/utils.d.ts +3 -0
  132. package/dist/core/components/atoms/avatarSelection/avatarsSelection/AvatarSelectionCount.d.ts +14 -0
  133. package/dist/core/components/atoms/avatarSelection/avatarsSelection/SelectionAvatar.d.ts +23 -0
  134. package/dist/core/components/atoms/avatarSelection/avatarsSelection/SelectionAvatarsWrapper.d.ts +16 -0
  135. package/dist/core/components/atoms/avatarSelection/avatarsSelection/index.d.ts +2 -0
  136. package/dist/core/components/atoms/avatarSelection/avatarsSelection/utils.d.ts +3 -0
  137. package/dist/core/components/atoms/avatarSelection/index.d.ts +2 -0
  138. package/dist/core/components/atoms/backdrop/Backdrop.d.ts +8 -0
  139. package/dist/core/components/atoms/backdrop/index.d.ts +2 -0
  140. package/dist/core/components/atoms/badge/Badge.d.ts +13 -0
  141. package/dist/core/components/atoms/badge/index.d.ts +2 -0
  142. package/dist/core/components/atoms/breadcrumbs/Breadcrumbs.d.ts +13 -0
  143. package/dist/core/components/atoms/breadcrumbs/index.d.ts +2 -0
  144. package/dist/core/components/atoms/button/Button.d.ts +51 -0
  145. package/dist/core/components/atoms/button/index.d.ts +2 -0
  146. package/dist/core/components/atoms/caption/Caption.d.ts +13 -0
  147. package/dist/core/components/atoms/caption/index.d.ts +2 -0
  148. package/dist/core/components/atoms/card/Card.d.ts +12 -0
  149. package/dist/core/components/atoms/card/index.d.ts +2 -0
  150. package/dist/core/components/atoms/cardBody/CardBody.d.ts +10 -0
  151. package/dist/core/components/atoms/cardBody/index.d.ts +2 -0
  152. package/dist/core/components/atoms/cardFooter/CardFooter.d.ts +11 -0
  153. package/dist/core/components/atoms/cardFooter/index.d.ts +2 -0
  154. package/dist/core/components/atoms/cardHeader/CardHeader.d.ts +10 -0
  155. package/dist/core/components/atoms/cardHeader/index.d.ts +2 -0
  156. package/dist/core/components/atoms/cardSubdued/CardSubdued.d.ts +12 -0
  157. package/dist/core/components/atoms/cardSubdued/index.d.ts +2 -0
  158. package/dist/core/components/atoms/checkbox/Checkbox.d.ts +39 -0
  159. package/dist/core/components/atoms/checkbox/CheckboxIcon.d.ts +6 -0
  160. package/dist/core/components/atoms/checkbox/index.d.ts +2 -0
  161. package/dist/core/components/atoms/chip/Chip.d.ts +31 -0
  162. package/dist/core/components/atoms/chip/index.d.ts +2 -0
  163. package/dist/core/components/atoms/chipGroup/ChipGroup.d.ts +13 -0
  164. package/dist/core/components/atoms/chipGroup/index.d.ts +2 -0
  165. package/dist/core/components/atoms/collapsible/Collapsible.d.ts +16 -0
  166. package/dist/core/components/atoms/collapsible/index.d.ts +2 -0
  167. package/dist/core/components/atoms/column/Column.d.ts +22 -0
  168. package/dist/core/components/atoms/column/index.d.ts +2 -0
  169. package/dist/core/components/atoms/divider/Divider.d.ts +13 -0
  170. package/dist/core/components/atoms/divider/index.d.ts +2 -0
  171. package/dist/core/components/atoms/dropdown/Dropdown.d.ts +103 -0
  172. package/dist/core/components/atoms/dropdown/DropdownButton.d.ts +23 -0
  173. package/dist/core/components/atoms/dropdown/DropdownList.d.ts +87 -0
  174. package/dist/core/components/atoms/dropdown/ErrorTemplate.d.ts +9 -0
  175. package/dist/core/components/atoms/dropdown/Loading.d.ts +3 -0
  176. package/dist/core/components/atoms/dropdown/index.d.ts +2 -0
  177. package/dist/core/components/atoms/dropdown/option/CheckboxOption.d.ts +4 -0
  178. package/dist/core/components/atoms/dropdown/option/DefaultOption.d.ts +4 -0
  179. package/dist/core/components/atoms/dropdown/option/IconOption.d.ts +4 -0
  180. package/dist/core/components/atoms/dropdown/option/IconWithMetaOption.d.ts +4 -0
  181. package/dist/core/components/atoms/dropdown/option/MetaOption.d.ts +4 -0
  182. package/dist/core/components/atoms/dropdown/option/index.d.ts +60 -0
  183. package/dist/core/components/atoms/dropdown/utility.d.ts +15 -0
  184. package/dist/core/components/atoms/editable/Editable.d.ts +12 -0
  185. package/dist/core/components/atoms/editable/index.d.ts +2 -0
  186. package/dist/core/components/atoms/flex/Flex.d.ts +35 -0
  187. package/dist/core/components/atoms/flex/index.d.ts +2 -0
  188. package/dist/core/components/atoms/heading/Heading.d.ts +19 -0
  189. package/dist/core/components/atoms/heading/index.d.ts +2 -0
  190. package/dist/core/components/atoms/helpText/HelpText.d.ts +12 -0
  191. package/dist/core/components/atoms/helpText/index.d.ts +2 -0
  192. package/dist/core/components/atoms/icon/Icon.d.ts +19 -0
  193. package/dist/core/components/atoms/icon/index.d.ts +2 -0
  194. package/dist/core/components/atoms/input/Input.d.ts +108 -0
  195. package/dist/core/components/atoms/input/actionButton/ActionButton.d.ts +19 -0
  196. package/dist/core/components/atoms/input/actionButton/index.d.ts +2 -0
  197. package/dist/core/components/atoms/input/index.d.ts +2 -0
  198. package/dist/core/components/atoms/label/Label.d.ts +17 -0
  199. package/dist/core/components/atoms/label/index.d.ts +2 -0
  200. package/dist/core/components/atoms/legend/Legend.d.ts +18 -0
  201. package/dist/core/components/atoms/legend/index.d.ts +2 -0
  202. package/dist/core/components/atoms/link/Link.d.ts +25 -0
  203. package/dist/core/components/atoms/link/index.d.ts +2 -0
  204. package/dist/core/components/atoms/linkButton/LinkButton.d.ts +39 -0
  205. package/dist/core/components/atoms/linkButton/index.d.ts +2 -0
  206. package/dist/core/components/atoms/mdsGrid/GridItem.d.ts +23 -0
  207. package/dist/core/components/atoms/mdsGrid/MdsGrid.d.ts +43 -0
  208. package/dist/core/components/atoms/mdsGrid/index.d.ts +2 -0
  209. package/dist/core/components/atoms/message/Message.d.ts +19 -0
  210. package/dist/core/components/atoms/message/index.d.ts +2 -0
  211. package/dist/core/components/atoms/metaList/Meta.d.ts +14 -0
  212. package/dist/core/components/atoms/metaList/MetaList.d.ts +18 -0
  213. package/dist/core/components/atoms/metaList/index.d.ts +2 -0
  214. package/dist/core/components/atoms/meter/Meter.d.ts +53 -0
  215. package/dist/core/components/atoms/meter/Step.d.ts +16 -0
  216. package/dist/core/components/atoms/meter/index.d.ts +2 -0
  217. package/dist/core/components/atoms/meter/useMeterValues.d.ts +9 -0
  218. package/dist/core/components/atoms/metricInput/MetricInput.d.ts +53 -0
  219. package/dist/core/components/atoms/metricInput/index.d.ts +2 -0
  220. package/dist/core/components/atoms/multiSlider/Handle.d.ts +57 -0
  221. package/dist/core/components/atoms/multiSlider/SliderUtils.d.ts +8 -0
  222. package/dist/core/components/atoms/multiSlider/index.d.ts +72 -0
  223. package/dist/core/components/atoms/outsideClick/OutsideClick.d.ts +13 -0
  224. package/dist/core/components/atoms/outsideClick/index.d.ts +2 -0
  225. package/dist/core/components/atoms/paragraph/Paragraph.d.ts +15 -0
  226. package/dist/core/components/atoms/paragraph/index.d.ts +2 -0
  227. package/dist/core/components/atoms/pills/Pills.d.ts +14 -0
  228. package/dist/core/components/atoms/pills/index.d.ts +2 -0
  229. package/dist/core/components/atoms/placeholderImage/PlaceholderImage.d.ts +12 -0
  230. package/dist/core/components/atoms/placeholderImage/index.d.ts +2 -0
  231. package/dist/core/components/atoms/placeholderParagraph/PlaceholderParagraph.d.ts +13 -0
  232. package/dist/core/components/atoms/placeholderParagraph/index.d.ts +2 -0
  233. package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +150 -0
  234. package/dist/core/components/atoms/popperWrapper/index.d.ts +2 -0
  235. package/dist/core/components/atoms/popperWrapper/utils.d.ts +1 -0
  236. package/dist/core/components/atoms/progressBar/ProgressBar.d.ts +18 -0
  237. package/dist/core/components/atoms/progressBar/index.d.ts +2 -0
  238. package/dist/core/components/atoms/progressRing/ProgressRing.d.ts +16 -0
  239. package/dist/core/components/atoms/progressRing/index.d.ts +2 -0
  240. package/dist/core/components/atoms/radio/Radio.d.ts +29 -0
  241. package/dist/core/components/atoms/radio/index.d.ts +2 -0
  242. package/dist/core/components/atoms/rangeSlider/RangeSlider.d.ts +19 -0
  243. package/dist/core/components/atoms/rangeSlider/index.d.ts +2 -0
  244. package/dist/core/components/atoms/row/Row.d.ts +5 -0
  245. package/dist/core/components/atoms/row/index.d.ts +2 -0
  246. package/dist/core/components/atoms/segmentedControl/SegmentedControl.d.ts +35 -0
  247. package/dist/core/components/atoms/segmentedControl/SegmentedControlContext.d.ts +16 -0
  248. package/dist/core/components/atoms/segmentedControl/SegmentedControlItem.d.ts +23 -0
  249. package/dist/core/components/atoms/segmentedControl/index.d.ts +4 -0
  250. package/dist/core/components/atoms/segmentedControl/utils.d.ts +23 -0
  251. package/dist/core/components/atoms/selectionCard/SelectionCard.d.ts +19 -0
  252. package/dist/core/components/atoms/selectionCard/hooks/index.d.ts +2 -0
  253. package/dist/core/components/atoms/selectionCard/hooks/useMultiSelect.d.ts +6 -0
  254. package/dist/core/components/atoms/selectionCard/hooks/useSingleSelect.d.ts +6 -0
  255. package/dist/core/components/atoms/selectionCard/index.d.ts +2 -0
  256. package/dist/core/components/atoms/slider/Slider.d.ts +18 -0
  257. package/dist/core/components/atoms/slider/index.d.ts +2 -0
  258. package/dist/core/components/atoms/spinner/Spinner.d.ts +15 -0
  259. package/dist/core/components/atoms/spinner/index.d.ts +2 -0
  260. package/dist/core/components/atoms/statusHint/StatusHint.d.ts +18 -0
  261. package/dist/core/components/atoms/statusHint/index.d.ts +2 -0
  262. package/dist/core/components/atoms/subheading/Subheading.d.ts +16 -0
  263. package/dist/core/components/atoms/subheading/index.d.ts +2 -0
  264. package/dist/core/components/atoms/switchInput/Switch.d.ts +27 -0
  265. package/dist/core/components/atoms/switchInput/index.d.ts +2 -0
  266. package/dist/core/components/atoms/text/Text.d.ts +24 -0
  267. package/dist/core/components/atoms/text/index.d.ts +2 -0
  268. package/dist/core/components/atoms/textarea/Textarea.d.ts +38 -0
  269. package/dist/core/components/atoms/textarea/index.d.ts +2 -0
  270. package/dist/core/components/atoms/toast/ActionButton.d.ts +12 -0
  271. package/dist/core/components/atoms/toast/Toast.d.ts +22 -0
  272. package/dist/core/components/atoms/toast/index.d.ts +2 -0
  273. package/dist/core/components/css-utilities/Schema.d.ts +3 -0
  274. package/dist/core/components/css-utilities/Spacing/Data.d.ts +10 -0
  275. package/dist/core/components/css-utilities/Spacing/Schema.d.ts +3 -0
  276. package/dist/core/components/css-utilities/designTokens/Data.d.ts +65 -0
  277. package/dist/core/components/css-utilities/designTokens/Schema.d.ts +18 -0
  278. package/dist/core/components/css-utilities/designTokens/Utilities.d.ts +1 -0
  279. package/dist/core/components/molecules/chat/Chat.d.ts +21 -0
  280. package/dist/core/components/molecules/chat/chatBubble/ChatBubble.d.ts +16 -0
  281. package/dist/core/components/molecules/chat/chatBubble/IncomingBubble.d.ts +27 -0
  282. package/dist/core/components/molecules/chat/chatBubble/OutgoingBubble.d.ts +18 -0
  283. package/dist/core/components/molecules/chat/chatBubble/index.d.ts +2 -0
  284. package/dist/core/components/molecules/chat/chatInput/ChatInput.d.ts +20 -0
  285. package/dist/core/components/molecules/chat/chatInput/index.d.ts +2 -0
  286. package/dist/core/components/molecules/chat/dateSeparator/DateSeparator.d.ts +7 -0
  287. package/dist/core/components/molecules/chat/dateSeparator/index.d.ts +2 -0
  288. package/dist/core/components/molecules/chat/index.d.ts +2 -0
  289. package/dist/core/components/molecules/chat/newMessage/NewMessage.d.ts +7 -0
  290. package/dist/core/components/molecules/chat/newMessage/index.d.ts +2 -0
  291. package/dist/core/components/molecules/chat/typingIndicator/TypingIndicator.d.ts +7 -0
  292. package/dist/core/components/molecules/chat/typingIndicator/index.d.ts +2 -0
  293. package/dist/core/components/molecules/chat/unreadMessage/UnreadMessage.d.ts +10 -0
  294. package/dist/core/components/molecules/chat/unreadMessage/index.d.ts +2 -0
  295. package/dist/core/components/molecules/chatMessage/Box.d.ts +16 -0
  296. package/dist/core/components/molecules/chatMessage/ChatMessage.d.ts +22 -0
  297. package/dist/core/components/molecules/chatMessage/MessageText.d.ts +13 -0
  298. package/dist/core/components/molecules/chatMessage/Status.d.ts +15 -0
  299. package/dist/core/components/molecules/chatMessage/index.d.ts +2 -0
  300. package/dist/core/components/molecules/chipInput/ChipInput.d.ts +36 -0
  301. package/dist/core/components/molecules/chipInput/index.d.ts +2 -0
  302. package/dist/core/components/molecules/chipInput/utils.d.ts +2 -0
  303. package/dist/core/components/molecules/dialog/Dialog.d.ts +22 -0
  304. package/dist/core/components/molecules/dialog/index.d.ts +2 -0
  305. package/dist/core/components/molecules/dropzone/Dropzone.d.ts +16 -0
  306. package/dist/core/components/molecules/dropzone/DropzoneActive.d.ts +10 -0
  307. package/dist/core/components/molecules/dropzone/DropzoneBase.d.ts +32 -0
  308. package/dist/core/components/molecules/dropzone/DropzoneError.d.ts +11 -0
  309. package/dist/core/components/molecules/dropzone/DropzoneIcon.d.ts +8 -0
  310. package/dist/core/components/molecules/dropzone/FileErrors.d.ts +26 -0
  311. package/dist/core/components/molecules/dropzone/FileSelectorUtils.d.ts +11 -0
  312. package/dist/core/components/molecules/dropzone/index.d.ts +2 -0
  313. package/dist/core/components/molecules/dropzone/utils.d.ts +10 -0
  314. package/dist/core/components/molecules/editableChipInput/EditableChipInput.d.ts +14 -0
  315. package/dist/core/components/molecules/editableChipInput/index.d.ts +2 -0
  316. package/dist/core/components/molecules/editableDropdown/EditableDropdown.d.ts +12 -0
  317. package/dist/core/components/molecules/editableDropdown/index.d.ts +2 -0
  318. package/dist/core/components/molecules/editableInput/EditableInput.d.ts +19 -0
  319. package/dist/core/components/molecules/editableInput/index.d.ts +2 -0
  320. package/dist/core/components/molecules/emptyState/EmptyState.d.ts +41 -0
  321. package/dist/core/components/molecules/emptyState/EmptyStateActions.d.ts +7 -0
  322. package/dist/core/components/molecules/emptyState/EmptyStateContext.d.ts +8 -0
  323. package/dist/core/components/molecules/emptyState/EmptyStateDescription.d.ts +7 -0
  324. package/dist/core/components/molecules/emptyState/EmptyStateImage.d.ts +19 -0
  325. package/dist/core/components/molecules/emptyState/EmptyStateTitle.d.ts +8 -0
  326. package/dist/core/components/molecules/emptyState/_tests_/EmptyState.test.d.ts +1 -0
  327. package/dist/core/components/molecules/emptyState/index.d.ts +2 -0
  328. package/dist/core/components/molecules/fileList/FileIcon.d.ts +12 -0
  329. package/dist/core/components/molecules/fileList/FileList.d.ts +13 -0
  330. package/dist/core/components/molecules/fileList/FileListItem.d.ts +23 -0
  331. package/dist/core/components/molecules/fileList/index.d.ts +1 -0
  332. package/dist/core/components/molecules/fileUploader/FileUploader.d.ts +14 -0
  333. package/dist/core/components/molecules/fileUploader/FileUploaderButton.d.ts +18 -0
  334. package/dist/core/components/molecules/fileUploader/FileUploaderFormat.d.ts +9 -0
  335. package/dist/core/components/molecules/fileUploader/FileUploaderItem.d.ts +20 -0
  336. package/dist/core/components/molecules/fileUploader/FileUploaderList.d.ts +14 -0
  337. package/dist/core/components/molecules/fileUploader/FileUploaderStatus.d.ts +14 -0
  338. package/dist/core/components/molecules/fileUploader/index.d.ts +2 -0
  339. package/dist/core/components/molecules/fullscreenModal/FullscreenModal.d.ts +40 -0
  340. package/dist/core/components/molecules/fullscreenModal/index.d.ts +2 -0
  341. package/dist/core/components/molecules/inputMask/InputMask.d.ts +27 -0
  342. package/dist/core/components/molecules/inputMask/index.d.ts +2 -0
  343. package/dist/core/components/molecules/inputMask/utilites.d.ts +3 -0
  344. package/dist/core/components/molecules/keyValuePair/KeyElement.d.ts +13 -0
  345. package/dist/core/components/molecules/keyValuePair/KeyValuePair.d.ts +11 -0
  346. package/dist/core/components/molecules/keyValuePair/ValueElement.d.ts +8 -0
  347. package/dist/core/components/molecules/keyValuePair/index.d.ts +2 -0
  348. package/dist/core/components/molecules/modal/Modal.d.ts +47 -0
  349. package/dist/core/components/molecules/modal/ModalBody.d.ts +16 -0
  350. package/dist/core/components/molecules/modal/ModalFooter.d.ts +14 -0
  351. package/dist/core/components/molecules/modal/ModalHeader.d.ts +17 -0
  352. package/dist/core/components/molecules/modal/index.d.ts +5 -0
  353. package/dist/core/components/molecules/modalDescription/ModalDescription.d.ts +11 -0
  354. package/dist/core/components/molecules/modalDescription/index.d.ts +2 -0
  355. package/dist/core/components/molecules/overlayBody/OverlayBody.d.ts +10 -0
  356. package/dist/core/components/molecules/overlayBody/index.d.ts +2 -0
  357. package/dist/core/components/molecules/overlayFooter/OverlayFooter.d.ts +14 -0
  358. package/dist/core/components/molecules/overlayFooter/index.d.ts +2 -0
  359. package/dist/core/components/molecules/overlayHeader/OverlayHeader.d.ts +19 -0
  360. package/dist/core/components/molecules/overlayHeader/index.d.ts +2 -0
  361. package/dist/core/components/molecules/pagination/Pagination.d.ts +15 -0
  362. package/dist/core/components/molecules/pagination/index.d.ts +2 -0
  363. package/dist/core/components/molecules/placeholder/Placeholder.d.ts +15 -0
  364. package/dist/core/components/molecules/placeholder/index.d.ts +2 -0
  365. package/dist/core/components/molecules/popover/Popover.d.ts +48 -0
  366. package/dist/core/components/molecules/popover/index.d.ts +2 -0
  367. package/dist/core/components/molecules/popover/utils.d.ts +3 -0
  368. package/dist/core/components/molecules/sidesheet/Sidesheet.d.ts +54 -0
  369. package/dist/core/components/molecules/sidesheet/index.d.ts +2 -0
  370. package/dist/core/components/molecules/stepper/Step.d.ts +14 -0
  371. package/dist/core/components/molecules/stepper/Stepper.d.ts +18 -0
  372. package/dist/core/components/molecules/stepper/index.d.ts +2 -0
  373. package/dist/core/components/molecules/tabs/Tab.d.ts +16 -0
  374. package/dist/core/components/molecules/tabs/Tabs.d.ts +34 -0
  375. package/dist/core/components/molecules/tabs/TabsWrapper.d.ts +14 -0
  376. package/dist/core/components/molecules/tabs/index.d.ts +3 -0
  377. package/dist/core/components/molecules/tooltip/Tooltip.d.ts +31 -0
  378. package/dist/core/components/molecules/tooltip/index.d.ts +2 -0
  379. package/dist/core/components/molecules/verificationCodeInput/VerificationCodeInput.d.ts +15 -0
  380. package/dist/core/components/molecules/verificationCodeInput/index.d.ts +2 -0
  381. package/dist/core/components/organisms/calendar/Calendar.d.ts +121 -0
  382. package/dist/core/components/organisms/calendar/config.d.ts +13 -0
  383. package/dist/core/components/organisms/calendar/index.d.ts +4 -0
  384. package/dist/core/components/organisms/calendar/types.d.ts +13 -0
  385. package/dist/core/components/organisms/calendar/utility.d.ts +15 -0
  386. package/dist/core/components/organisms/calendar/utils.d.ts +60 -0
  387. package/dist/core/components/organisms/choiceList/ChoiceList.d.ts +35 -0
  388. package/dist/core/components/organisms/choiceList/index.d.ts +2 -0
  389. package/dist/core/components/organisms/combobox/Combobox.d.ts +40 -0
  390. package/dist/core/components/organisms/combobox/ComboboxContext.d.ts +23 -0
  391. package/dist/core/components/organisms/combobox/ComboboxList.d.ts +13 -0
  392. package/dist/core/components/organisms/combobox/ComboboxOption.d.ts +15 -0
  393. package/dist/core/components/organisms/combobox/index.d.ts +2 -0
  394. package/dist/core/components/organisms/combobox/trigger/ChipInputBox.d.ts +4 -0
  395. package/dist/core/components/organisms/combobox/trigger/ComboboxTrigger.d.ts +26 -0
  396. package/dist/core/components/organisms/combobox/trigger/InputBox.d.ts +4 -0
  397. package/dist/core/components/organisms/combobox/trigger/MultiselectTrigger.d.ts +36 -0
  398. package/dist/core/components/organisms/combobox/trigger/index.d.ts +1 -0
  399. package/dist/core/components/organisms/combobox/trigger/utils.d.ts +3 -0
  400. package/dist/core/components/organisms/combobox/utils.d.ts +2 -0
  401. package/dist/core/components/organisms/datePicker/DatePicker.d.ts +61 -0
  402. package/dist/core/components/organisms/datePicker/Trigger.d.ts +13 -0
  403. package/dist/core/components/organisms/datePicker/index.d.ts +2 -0
  404. package/dist/core/components/organisms/dateRangePicker/DateRangePicker.d.ts +114 -0
  405. package/dist/core/components/organisms/dateRangePicker/SingleInputTrigger.d.ts +13 -0
  406. package/dist/core/components/organisms/dateRangePicker/Trigger.d.ts +18 -0
  407. package/dist/core/components/organisms/dateRangePicker/index.d.ts +2 -0
  408. package/dist/core/components/organisms/dateRangePicker/utilities.d.ts +22 -0
  409. package/dist/core/components/organisms/grid/Cell.d.ts +33 -0
  410. package/dist/core/components/organisms/grid/Grid.d.ts +185 -0
  411. package/dist/core/components/organisms/grid/GridBody.d.ts +17 -0
  412. package/dist/core/components/organisms/grid/GridCell.d.ts +30 -0
  413. package/dist/core/components/organisms/grid/GridContext.d.ts +12 -0
  414. package/dist/core/components/organisms/grid/GridHead.d.ts +13 -0
  415. package/dist/core/components/organisms/grid/GridNestedRow.d.ts +17 -0
  416. package/dist/core/components/organisms/grid/GridRow.d.ts +12 -0
  417. package/dist/core/components/organisms/grid/VirtualList.d.ts +15 -0
  418. package/dist/core/components/organisms/grid/columnUtility.d.ts +25 -0
  419. package/dist/core/components/organisms/grid/defaultProps.d.ts +3 -0
  420. package/dist/core/components/organisms/grid/index.d.ts +2 -0
  421. package/dist/core/components/organisms/grid/rowUtility.d.ts +12 -0
  422. package/dist/core/components/organisms/grid/utility.d.ts +15 -0
  423. package/dist/core/components/organisms/horizontalNav/HorizontalNav.d.ts +9 -0
  424. package/dist/core/components/organisms/horizontalNav/index.d.ts +2 -0
  425. package/dist/core/components/organisms/inlineMessage/InlineMessage.d.ts +15 -0
  426. package/dist/core/components/organisms/inlineMessage/index.d.ts +1 -0
  427. package/dist/core/components/organisms/list/List.d.ts +41 -0
  428. package/dist/core/components/organisms/list/index.d.ts +2 -0
  429. package/dist/core/components/organisms/listbox/Listbox.d.ts +30 -0
  430. package/dist/core/components/organisms/listbox/index.d.ts +3 -0
  431. package/dist/core/components/organisms/listbox/listboxItem/ListBody.d.ts +7 -0
  432. package/dist/core/components/organisms/listbox/listboxItem/ListboxItem.d.ts +23 -0
  433. package/dist/core/components/organisms/listbox/listboxItem/index.d.ts +1 -0
  434. package/dist/core/components/organisms/listbox/nestedList/Animation.d.ts +2 -0
  435. package/dist/core/components/organisms/listbox/nestedList/NestedList.d.ts +9 -0
  436. package/dist/core/components/organisms/listbox/nestedList/index.d.ts +1 -0
  437. package/dist/core/components/organisms/listbox/reorderList/Draggable.d.ts +83 -0
  438. package/dist/core/components/organisms/listbox/reorderList/DraggableList.d.ts +3 -0
  439. package/dist/core/components/organisms/listbox/reorderList/index.d.ts +1 -0
  440. package/dist/core/components/organisms/listbox/reorderList/types.d.ts +47 -0
  441. package/dist/core/components/organisms/listbox/reorderList/utils.d.ts +10 -0
  442. package/dist/core/components/organisms/listbox/utils.d.ts +4 -0
  443. package/dist/core/components/organisms/menu/Menu.d.ts +32 -0
  444. package/dist/core/components/organisms/menu/MenuContext.d.ts +14 -0
  445. package/dist/core/components/organisms/menu/MenuGroup.d.ts +9 -0
  446. package/dist/core/components/organisms/menu/MenuItem.d.ts +16 -0
  447. package/dist/core/components/organisms/menu/MenuList.d.ts +14 -0
  448. package/dist/core/components/organisms/menu/SubMenu.d.ts +6 -0
  449. package/dist/core/components/organisms/menu/SubMenuContext.d.ts +11 -0
  450. package/dist/core/components/organisms/menu/index.d.ts +2 -0
  451. package/dist/core/components/organisms/menu/trigger/MenuTrigger.d.ts +9 -0
  452. package/dist/core/components/organisms/menu/trigger/utils.d.ts +3 -0
  453. package/dist/core/components/organisms/menu/utils.d.ts +2 -0
  454. package/dist/core/components/organisms/navigation/Navigation.d.ts +20 -0
  455. package/dist/core/components/organisms/navigation/VerticalNavigation.d.ts +17 -0
  456. package/dist/core/components/organisms/navigation/index.d.ts +2 -0
  457. package/dist/core/components/organisms/pageHeader/PageHeader.d.ts +20 -0
  458. package/dist/core/components/organisms/pageHeader/index.d.ts +2 -0
  459. package/dist/core/components/organisms/pageHeader/utils.d.ts +32 -0
  460. package/dist/core/components/organisms/select/SearchInput.d.ts +8 -0
  461. package/dist/core/components/organisms/select/Select.d.ts +47 -0
  462. package/dist/core/components/organisms/select/SelectContext.d.ts +30 -0
  463. package/dist/core/components/organisms/select/SelectEmptyTemplate.d.ts +9 -0
  464. package/dist/core/components/organisms/select/SelectFooter.d.ts +7 -0
  465. package/dist/core/components/organisms/select/SelectList.d.ts +13 -0
  466. package/dist/core/components/organisms/select/SelectOption.d.ts +20 -0
  467. package/dist/core/components/organisms/select/SelectTrigger.d.ts +29 -0
  468. package/dist/core/components/organisms/select/__test__/Select.test.d.ts +1 -0
  469. package/dist/core/components/organisms/select/__test__/utils.test.d.ts +1 -0
  470. package/dist/core/components/organisms/select/index.d.ts +2 -0
  471. package/dist/core/components/organisms/select/utils.d.ts +18 -0
  472. package/dist/core/components/organisms/table/DraggableDropdown.d.ts +8 -0
  473. package/dist/core/components/organisms/table/FilterSelect.d.ts +21 -0
  474. package/dist/core/components/organisms/table/Header.d.ts +44 -0
  475. package/dist/core/components/organisms/table/Table.d.ts +171 -0
  476. package/dist/core/components/organisms/table/index.d.ts +2 -0
  477. package/dist/core/components/organisms/table/utils.d.ts +3 -0
  478. package/dist/core/components/organisms/textField/TextField.d.ts +9 -0
  479. package/dist/core/components/organisms/textField/TextFieldCommon.d.ts +13 -0
  480. package/dist/core/components/organisms/textField/TextFieldWithInput.d.ts +10 -0
  481. package/dist/core/components/organisms/textField/TextFieldWithTextarea.d.ts +12 -0
  482. package/dist/core/components/organisms/textField/__test__/Textarea.test.d.ts +10 -0
  483. package/dist/core/components/organisms/textField/index.d.ts +2 -0
  484. package/dist/core/components/organisms/timePicker/TimePicker.d.ts +9 -0
  485. package/dist/core/components/organisms/timePicker/TimePickerWithInput.d.ts +21 -0
  486. package/dist/core/components/organisms/timePicker/TimePickerWithSearch.d.ts +32 -0
  487. package/dist/core/components/organisms/timePicker/index.d.ts +4 -0
  488. package/dist/core/components/organisms/timePicker/utility/searchUtils.d.ts +7 -0
  489. package/dist/core/components/organisms/timePicker/utility/timePickerUtility.d.ts +19 -0
  490. package/dist/core/components/organisms/timePicker/utils.d.ts +14 -0
  491. package/dist/core/components/organisms/verticalNav/MenuItem.d.ts +21 -0
  492. package/dist/core/components/organisms/verticalNav/VerticalNav.d.ts +24 -0
  493. package/dist/core/components/organisms/verticalNav/index.d.ts +2 -0
  494. package/dist/core/components/organisms/verticalNav/utils.d.ts +20 -0
  495. package/dist/core/index.d.ts +107 -0
  496. package/dist/core/index.type.d.ts +111 -0
  497. package/dist/core/utils/Keys.d.ts +15 -0
  498. package/dist/core/utils/OverlayManager.d.ts +9 -0
  499. package/dist/core/utils/action.d.ts +1 -0
  500. package/dist/core/utils/css.d.ts +1 -0
  501. package/dist/core/utils/docPage/AccessibilityPropTable.d.ts +7 -0
  502. package/dist/core/utils/docPage/accessibilityProps.d.ts +18 -0
  503. package/dist/core/utils/docPage/generateImports.d.ts +2 -0
  504. package/dist/core/utils/docPage/index.d.ts +9 -0
  505. package/dist/core/utils/docPage/index12.d.ts +8 -0
  506. package/dist/core/utils/docPage/sandbox.d.ts +2 -0
  507. package/dist/core/utils/index.d.ts +3 -0
  508. package/dist/core/utils/masks.d.ts +9 -0
  509. package/dist/core/utils/navigationHelper.d.ts +26 -0
  510. package/dist/core/utils/overlayHelper.d.ts +13 -0
  511. package/dist/core/utils/storybookEventEmitter.d.ts +1 -0
  512. package/dist/core/utils/testAxe.d.ts +3 -0
  513. package/dist/core/utils/testHelper.d.ts +12 -0
  514. package/dist/core/utils/types.d.ts +17 -0
  515. package/dist/core/utils/uidGenerator.d.ts +2 -0
  516. package/dist/core/utils/validators.d.ts +5 -0
  517. package/dist/esm/index.js +37000 -0
  518. package/dist/figma/AIButton.figma.d.ts +1 -0
  519. package/dist/figma/AIChip.figma.d.ts +1 -0
  520. package/dist/figma/AIIconButton.figma.d.ts +1 -0
  521. package/dist/figma/AIResponse.figma.d.ts +1 -0
  522. package/dist/figma/ActionCard.figma.d.ts +1 -0
  523. package/dist/figma/Avatar.figma.d.ts +1 -0
  524. package/dist/figma/AvatarGroup.figma.d.ts +1 -0
  525. package/dist/figma/AvatarSelection.figma.d.ts +1 -0
  526. package/dist/figma/Backdrop.figma.d.ts +1 -0
  527. package/dist/figma/Badge.figma.d.ts +1 -0
  528. package/dist/figma/Breadcrumbs.figma.d.ts +1 -0
  529. package/dist/figma/Button.figma.d.ts +1 -0
  530. package/dist/figma/Calendar.figma.d.ts +1 -0
  531. package/dist/figma/Card.figma.d.ts +1 -0
  532. package/dist/figma/ChatBubble.figma.d.ts +1 -0
  533. package/dist/figma/ChatInput.figma.d.ts +1 -0
  534. package/dist/figma/Checkbox.figma.d.ts +1 -0
  535. package/dist/figma/Chip.figma.d.ts +1 -0
  536. package/dist/figma/ChoiceList.figma.d.ts +1 -0
  537. package/dist/figma/Combobox.figma.d.ts +1 -0
  538. package/dist/figma/DatePicker.figma.d.ts +1 -0
  539. package/dist/figma/DateRangePicker.figma.d.ts +1 -0
  540. package/dist/figma/DateSeparator.figma.d.ts +1 -0
  541. package/dist/figma/Divider.figma.d.ts +1 -0
  542. package/dist/figma/Dropzone.figma.d.ts +1 -0
  543. package/dist/figma/EditableChipInput.figma.d.ts +1 -0
  544. package/dist/figma/EditableDropdown.figma.d.ts +1 -0
  545. package/dist/figma/EditableInput.figma.d.ts +1 -0
  546. package/dist/figma/EmptyState.figma.d.ts +1 -0
  547. package/dist/figma/FileList.figma.d.ts +1 -0
  548. package/dist/figma/FullScreenModal.figma.d.ts +1 -0
  549. package/dist/figma/HelpText.figma.d.ts +1 -0
  550. package/dist/figma/HorizontalNav.figma.d.ts +1 -0
  551. package/dist/figma/Icon.figma.d.ts +1 -0
  552. package/dist/figma/InlineMessage.figma.d.ts +1 -0
  553. package/dist/figma/Input.figma.d.ts +1 -0
  554. package/dist/figma/KeyValuePair.figma.d.ts +1 -0
  555. package/dist/figma/Label.figma.d.ts +1 -0
  556. package/dist/figma/Link.figma.d.ts +1 -0
  557. package/dist/figma/LinkButton.figma.d.ts +1 -0
  558. package/dist/figma/Listbox.figma.d.ts +1 -0
  559. package/dist/figma/Menu.figma.d.ts +1 -0
  560. package/dist/figma/Message.figma.d.ts +1 -0
  561. package/dist/figma/MetaList.figma.d.ts +1 -0
  562. package/dist/figma/Meter.figma.d.ts +1 -0
  563. package/dist/figma/MetricInput.figma.d.ts +1 -0
  564. package/dist/figma/Modal.figma.d.ts +1 -0
  565. package/dist/figma/NewMessage.figma.d.ts +1 -0
  566. package/dist/figma/PageHeader.figma.d.ts +1 -0
  567. package/dist/figma/Pagination.figma.d.ts +1 -0
  568. package/dist/figma/Pill.figma.d.ts +1 -0
  569. package/dist/figma/PlaceholderImage.figma.d.ts +1 -0
  570. package/dist/figma/Popover.figma.d.ts +1 -0
  571. package/dist/figma/ProgressBar.figma.d.ts +1 -0
  572. package/dist/figma/ProgressRing.figma.d.ts +1 -0
  573. package/dist/figma/Radio.figma.d.ts +1 -0
  574. package/dist/figma/RangeSlider.figma.d.ts +1 -0
  575. package/dist/figma/Sara.figma.d.ts +1 -0
  576. package/dist/figma/SaraSparkle.figma.d.ts +1 -0
  577. package/dist/figma/Select.figma.d.ts +1 -0
  578. package/dist/figma/SelectionCard.figma.d.ts +1 -0
  579. package/dist/figma/Sidesheet.figma.d.ts +1 -0
  580. package/dist/figma/Slider.figma.d.ts +1 -0
  581. package/dist/figma/Spinner.figma.d.ts +1 -0
  582. package/dist/figma/StatusHint.figma.d.ts +1 -0
  583. package/dist/figma/Stepper.figma.d.ts +1 -0
  584. package/dist/figma/Switch.figma.d.ts +1 -0
  585. package/dist/figma/Table.figma.d.ts +1 -0
  586. package/dist/figma/TimePicker.figma.d.ts +1 -0
  587. package/dist/figma/Toast.figma.d.ts +1 -0
  588. package/dist/figma/Tooltip.figma.d.ts +1 -0
  589. package/dist/figma/TypingIndicator.figma.d.ts +1 -0
  590. package/dist/figma/UnreadMessage.figma.d.ts +1 -0
  591. package/dist/figma/VerificationCodeInput.figma.d.ts +1 -0
  592. package/dist/figma/VerticalNav.figma.d.ts +1 -0
  593. package/dist/gzip/index.js +24 -0
  594. package/dist/gzip/index.js.gz +0 -0
  595. package/dist/index.umd.css +13819 -0
  596. package/dist/index.umd.js +24 -1
  597. package/dist/scripts/setupGlobalJest.d.ts +0 -0
  598. package/dist/scripts/setupTest.d.ts +2 -0
  599. package/dist/types/tsconfig.type.tsbuildinfo +1 -0
  600. package/package.json +92 -77
  601. package/dist/index.esm.js +0 -26846
  602. package/dist/index.js +0 -21087
  603. package/dist/index.js.map +0 -1
  604. package/dist/index.umd.js.br +0 -0
  605. package/dist/index.umd.js.gz +0 -0
  606. package/types/index.d.ts +0 -2217
  607. package/types/tsconfig.json +0 -25
  608. package/types/tslint.json +0 -1
  609. package/types/types-tests.tsx +0 -938
package/README.md CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  <div align="center">
18
18
 
19
- [![codecov](https://codecov.io/gh/innovaccer/design-system/branch/master/graph/badge.svg?token=2LY7JLZGX0)](https://codecov.io/gh/innovaccer/design-system) ![GitHub](https://img.shields.io/github/license/innovaccer/design-system) ![GitHub top language](https://img.shields.io/github/languages/top/innovaccer/design-system) ![Snyk Vulnerabilities for GitHub Repo](https://img.shields.io/snyk/vulnerabilities/github/innovaccer/design-system)
19
+ [![codecov](https://codecov.io/gh/innovaccer/design-system/branch/master/graph/badge.svg?token=2LY7JLZGX0)](https://codecov.io/gh/innovaccer/design-system) ![GitHub](https://img.shields.io/github/license/innovaccer/design-system) ![GitHub top language](https://img.shields.io/github/languages/top/innovaccer/design-system) [![Known Vulnerabilities](https://snyk.io/test/github/innovaccer/design-system/badge.svg)](https://snyk.io/test/github/innovaccer/design-system)
20
20
 
21
21
  </div>
22
22
  <br/>
@@ -155,33 +155,41 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
155
155
  <!-- prettier-ignore-start -->
156
156
  <!-- markdownlint-disable -->
157
157
  <table>
158
- <tr>
159
- <td align="center"><a href="https://github.com/aditya-kumawat"><img src="https://avatars.githubusercontent.com/u/12715487?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Aditya Kumawat</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=aditya-kumawat" title="Code">💻</a></td>
160
- <td align="center"><a href="https://riyalohia.github.io/portfolio/"><img src="https://avatars.githubusercontent.com/u/31706090?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Riya Lohia</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=riyalohia" title="Code">💻</a></td>
161
- <td align="center"><a href="http://satyamyadav.info/"><img src="https://avatars.githubusercontent.com/u/3583587?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Satyam Yadav</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=satyamyadav" title="Code">💻</a> <a href="https://github.com/innovaccer/design-system/commits?author=satyamyadav" title="Documentation">📖</a> <a href="https://github.com/innovaccer/design-system/pulls?q=is%3Apr+reviewed-by%3Asatyamyadav" title="Reviewed Pull Requests">👀</a></td>
162
- <td align="center"><a href="https://github.com/sandeshchoudhary"><img src="https://avatars.githubusercontent.com/u/11272274?v=4?s=100" width="100px;" alt=""/><br /><sub><b>sandeshchoudhary</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=sandeshchoudhary" title="Code">💻</a></td>
163
- <td align="center"><a href="https://github.com/adityajhajharia"><img src="https://avatars.githubusercontent.com/u/42600089?v=4?s=100" width="100px;" alt=""/><br /><sub><b>adityajhajharia</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=adityajhajharia" title="Code">💻</a></td>
164
- <td align="center"><a href="https://github.com/anuradha9712"><img src="https://avatars.githubusercontent.com/u/46045493?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Anuradha Aggarwal</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=anuradha9712" title="Code">💻</a></td>
165
- <td align="center"><a href="https://github.com/xlreon"><img src="https://avatars.githubusercontent.com/u/26788670?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sidharth</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=xlreon" title="Code">💻</a></td>
166
- </tr>
167
- <tr>
168
- <td align="center"><a href="https://github.com/stuti1090"><img src="https://avatars.githubusercontent.com/u/65341865?v=4?s=100" width="100px;" alt=""/><br /><sub><b>stuti1090</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=stuti1090" title="Code">💻</a></td>
169
- <td align="center"><a href="https://github.com/veekays"><img src="https://avatars.githubusercontent.com/u/6420348?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Vikas Singh</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=veekays" title="Code">💻</a></td>
170
- <td align="center"><a href="https://github.com/SaniyaGupta"><img src="https://avatars.githubusercontent.com/u/15903031?v=4?s=100" width="100px;" alt=""/><br /><sub><b>SaniyaGupta</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=SaniyaGupta" title="Code">💻</a></td>
171
- <td align="center"><a href="https://www.linkedin.com/in/parth-chauhan-984624193/"><img src="https://avatars.githubusercontent.com/u/35137224?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Parth Chauhan</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=chauhanparth210" title="Code">💻</a></td>
172
- <td align="center"><a href="https://github.com/stutirao"><img src="https://avatars.githubusercontent.com/u/45294592?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Stuti Pandey</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=stutirao" title="Code">💻</a></td>
173
- <td align="center"><a href="https://github.com/Shib00"><img src="https://avatars.githubusercontent.com/u/33096446?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Shivam Dwivedi</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=Shib00" title="Code">💻</a></td>
174
- <td align="center"><a href="http://www.rahulgaur.info/"><img src="https://avatars.githubusercontent.com/u/760474?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Rahul Gaur</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=aregee" title="Code">💻</a></td>
175
- </tr>
176
- <tr>
177
- <td align="center"><a href="https://github.com/atifzaidi92"><img src="https://avatars.githubusercontent.com/u/54103064?v=4?s=100" width="100px;" alt=""/><br /><sub><b>atifzaidi92</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=atifzaidi92" title="Code">💻</a></td>
178
- <td align="center"><a href="https://github.com/Sumit2399"><img src="https://avatars.githubusercontent.com/u/66456021?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sumit Dhyani</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=Sumit2399" title="Code">💻</a></td>
179
- <td align="center"><a href="https://tanmay-portfolio.herokuapp.com/"><img src="https://avatars.githubusercontent.com/u/36269283?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Tanmay Sharma</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=927tanmay" title="Code">💻</a></td>
180
- <td align="center"><a href="https://github.com/Rashi-Gupta-2000"><img src="https://avatars.githubusercontent.com/u/99866103?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Rashi Gupta</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=Rashi-Gupta-2000" title="Code">💻</a></td>
181
- <td align="center"><a href="https://github.com/varnikajain15"><img src="https://avatars.githubusercontent.com/u/55780559?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Varnika Jain</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=varnikajain15" title="Code">💻</a></td>
182
- <td align="center"><a href="https://github.com/aman2000verma"><img src="https://avatars.githubusercontent.com/u/45339091?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Aman Verma</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=aman2000verma" title="Code">💻</a></td>
183
- <td align="center"><a href="https://github.com/samyak3009"><img src="https://avatars.githubusercontent.com/u/56395892?v=4?s=100" width="100px;" alt=""/><br /><sub><b>SAMYAK JAIN</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=samyak3009" title="Code">💻</a></td>
184
- </tr>
158
+ <tbody>
159
+ <tr>
160
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/aditya-kumawat"><img src="https://avatars.githubusercontent.com/u/12715487?v=4?s=100" width="100px;" alt="Aditya Kumawat"/><br /><sub><b>Aditya Kumawat</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=aditya-kumawat" title="Code">💻</a></td>
161
+ <td align="center" valign="top" width="14.28%"><a href="https://riyalohia.github.io/portfolio/"><img src="https://avatars.githubusercontent.com/u/31706090?v=4?s=100" width="100px;" alt="Riya Lohia"/><br /><sub><b>Riya Lohia</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=riyalohia" title="Code">💻</a></td>
162
+ <td align="center" valign="top" width="14.28%"><a href="http://satyamyadav.info/"><img src="https://avatars.githubusercontent.com/u/3583587?v=4?s=100" width="100px;" alt="Satyam Yadav"/><br /><sub><b>Satyam Yadav</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=satyamyadav" title="Code">💻</a> <a href="https://github.com/innovaccer/design-system/commits?author=satyamyadav" title="Documentation">📖</a> <a href="https://github.com/innovaccer/design-system/pulls?q=is%3Apr+reviewed-by%3Asatyamyadav" title="Reviewed Pull Requests">👀</a></td>
163
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/anuradha9712"><img src="https://avatars.githubusercontent.com/u/46045493?v=4?s=100" width="100px;" alt="Anuradha Aggarwal"/><br /><sub><b>Anuradha Aggarwal</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=anuradha9712" title="Code">💻</a> <a href="https://github.com/innovaccer/design-system/commits?author=anuradha9712" title="Documentation">📖</a> <a href="https://github.com/innovaccer/design-system/pulls?q=is%3Apr+reviewed-by%3Aanuradha9712" title="Reviewed Pull Requests">👀</a></td>
164
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/sandeshchoudhary"><img src="https://avatars.githubusercontent.com/u/11272274?v=4?s=100" width="100px;" alt="sandeshchoudhary"/><br /><sub><b>sandeshchoudhary</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=sandeshchoudhary" title="Code">💻</a></td>
165
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/adityajhajharia"><img src="https://avatars.githubusercontent.com/u/42600089?v=4?s=100" width="100px;" alt="adityajhajharia"/><br /><sub><b>adityajhajharia</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=adityajhajharia" title="Code">💻</a></td>
166
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/xlreon"><img src="https://avatars.githubusercontent.com/u/26788670?v=4?s=100" width="100px;" alt="Sidharth"/><br /><sub><b>Sidharth</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=xlreon" title="Code">💻</a></td>
167
+ </tr>
168
+ <tr>
169
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/stuti1090"><img src="https://avatars.githubusercontent.com/u/65341865?v=4?s=100" width="100px;" alt="stuti1090"/><br /><sub><b>stuti1090</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=stuti1090" title="Code">💻</a></td>
170
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/veekays"><img src="https://avatars.githubusercontent.com/u/6420348?v=4?s=100" width="100px;" alt="Vikas Singh"/><br /><sub><b>Vikas Singh</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=veekays" title="Code">💻</a></td>
171
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/SaniyaGupta"><img src="https://avatars.githubusercontent.com/u/15903031?v=4?s=100" width="100px;" alt="SaniyaGupta"/><br /><sub><b>SaniyaGupta</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=SaniyaGupta" title="Code">💻</a></td>
172
+ <td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/parth-chauhan-984624193/"><img src="https://avatars.githubusercontent.com/u/35137224?v=4?s=100" width="100px;" alt="Parth Chauhan"/><br /><sub><b>Parth Chauhan</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=chauhanparth210" title="Code">💻</a></td>
173
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/stutirao"><img src="https://avatars.githubusercontent.com/u/45294592?v=4?s=100" width="100px;" alt="Stuti Pandey"/><br /><sub><b>Stuti Pandey</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=stutirao" title="Code">💻</a></td>
174
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/Shib00"><img src="https://avatars.githubusercontent.com/u/33096446?v=4?s=100" width="100px;" alt="Shivam Dwivedi"/><br /><sub><b>Shivam Dwivedi</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=Shib00" title="Code">💻</a></td>
175
+ <td align="center" valign="top" width="14.28%"><a href="http://www.rahulgaur.info/"><img src="https://avatars.githubusercontent.com/u/760474?v=4?s=100" width="100px;" alt="Rahul Gaur"/><br /><sub><b>Rahul Gaur</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=aregee" title="Code">💻</a></td>
176
+ </tr>
177
+ <tr>
178
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/atifzaidi92"><img src="https://avatars.githubusercontent.com/u/54103064?v=4?s=100" width="100px;" alt="atifzaidi92"/><br /><sub><b>atifzaidi92</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=atifzaidi92" title="Code">💻</a></td>
179
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/Sumit2399"><img src="https://avatars.githubusercontent.com/u/66456021?v=4?s=100" width="100px;" alt="Sumit Dhyani"/><br /><sub><b>Sumit Dhyani</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=Sumit2399" title="Code">💻</a></td>
180
+ <td align="center" valign="top" width="14.28%"><a href="https://tanmay-portfolio.herokuapp.com/"><img src="https://avatars.githubusercontent.com/u/36269283?v=4?s=100" width="100px;" alt="Tanmay Sharma"/><br /><sub><b>Tanmay Sharma</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=927tanmay" title="Code">💻</a></td>
181
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/Rashi-Gupta-2000"><img src="https://avatars.githubusercontent.com/u/99866103?v=4?s=100" width="100px;" alt="Rashi Gupta"/><br /><sub><b>Rashi Gupta</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=Rashi-Gupta-2000" title="Code">💻</a></td>
182
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/varnikajain15"><img src="https://avatars.githubusercontent.com/u/55780559?v=4?s=100" width="100px;" alt="Varnika Jain"/><br /><sub><b>Varnika Jain</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=varnikajain15" title="Code">💻</a></td>
183
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/aman2000verma"><img src="https://avatars.githubusercontent.com/u/45339091?v=4?s=100" width="100px;" alt="Aman Verma"/><br /><sub><b>Aman Verma</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=aman2000verma" title="Code">💻</a></td>
184
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/samyak3009"><img src="https://avatars.githubusercontent.com/u/56395892?v=4?s=100" width="100px;" alt="SAMYAK JAIN"/><br /><sub><b>SAMYAK JAIN</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=samyak3009" title="Code">💻</a></td>
185
+ </tr>
186
+ <tr>
187
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/Atulya26"><img src="https://avatars.githubusercontent.com/u/85021422?v=4?s=100" width="100px;" alt="Atulya"/><br /><sub><b>Atulya</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=Atulya26" title="Code">💻</a> <a href="#design-Atulya26" title="Design">🎨</a></td>
188
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/abhiroopchaudhuri"><img src="https://avatars.githubusercontent.com/u/87370756?v=4?s=100" width="100px;" alt="Abhiroop Chaudhuri"/><br /><sub><b>Abhiroop Chaudhuri</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=abhiroopchaudhuri" title="Code">💻</a> <a href="#design-abhiroopchaudhuri" title="Design">🎨</a></td>
189
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/grandhimanshu"><img src="https://avatars.githubusercontent.com/u/165885443?v=4?s=100" width="100px;" alt="Himanshu Jangir"/><br /><sub><b>Himanshu Jangir</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=grandhimanshu" title="Code">💻</a> <a href="#design-grandhimanshu" title="Design">🎨</a></td>
190
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/Shiv619"><img src="https://avatars.githubusercontent.com/u/83985838?v=4?s=100" width="100px;" alt="Shivaansh Sharma"/><br /><sub><b>Shivaansh Sharma</b></sub></a><br /><a href="https://github.com/innovaccer/design-system/commits?author=Shiv619" title="Code">💻</a> <a href="#design-Shiv619" title="Design">🎨</a></td>
191
+ </tr>
192
+ </tbody>
185
193
  </table>
186
194
 
187
195
  <!-- markdownlint-restore -->
@@ -0,0 +1,145 @@
1
+ # Scoped stylesheet
2
+
3
+ An additional consumer entry built alongside the default `dist/index.css`. Identical rules,
4
+ wrapped in `@scope ([data-mds-root])`, so MDS styles only apply inside containers the host
5
+ app opts in to — useful when MDS runs next to another stylesheet (Tailwind, a legacy global
6
+ sheet, another design system) in the same document.
7
+
8
+ - Output: `css/dist/mds-scoped.css`
9
+ - Import: `@innovaccer/design-system/css/scoped` or `…/css/dist/mds-scoped.css`
10
+ - Build: `npm run build-css` (gulp, builds both bundles) or `npm run build-css-scoped`
11
+
12
+ The default `dist/index.css` bundle is unchanged — this is purely additive.
13
+
14
+ ## Usage
15
+
16
+ ```html
17
+ <div data-mds-root>
18
+ <!-- MDS components -->
19
+ </div>
20
+ ```
21
+
22
+ Everything outside `[data-mds-root]` is untouched by MDS, and MDS components inside it are
23
+ unaffected by the host app's global styles that would otherwise reach them.
24
+
25
+ The scope root is yours to style — MDS declares nothing on it. If you put `data-mds-root` on a
26
+ custom element, remember that custom elements default to `display: inline`, so give it a
27
+ `display` of its own:
28
+
29
+ ```css
30
+ ui-shell-app {
31
+ display: block;
32
+ }
33
+ ```
34
+
35
+ ## How the build composes it
36
+
37
+ `scripts/build-scoped.mjs` reads the same sources, in the same order, as the default build
38
+ (both import the list from `scripts/css-sources.cjs`, so they cannot drift), then:
39
+
40
+ 1. **Hoists global-namespace at-rules** — `@keyframes`, `@font-face`, `@property` and
41
+ `@counter-style` above the `@scope` block. Their names are document-global and are not
42
+ scopable; leaving them inside would silently drop them. The build throws if one is nested
43
+ inside another at-rule, where the hoist cannot reach it.
44
+ 2. **Remaps `:root` / `html` / `body` / `:host` to `:scope`** so design tokens attach to the
45
+ scope root. Without this, every custom-property reference in the bundle resolves to nothing.
46
+ 3. **Adds a root-anchored variant of every selector** — `.Backdrop` becomes
47
+ `.Backdrop, :scope.Backdrop`. See *Overlays* below.
48
+ 4. **Wraps the result** in `@scope ([data-mds-root]) { … }`.
49
+
50
+ Step 3 costs about +28% in raw bytes (~80 KB, considerably less gzipped).
51
+
52
+ Nothing is declared on the scope root itself. A `[data-mds-root]` element is consumer
53
+ markup, so any default MDS set there would compete with the consumer's own layout.
54
+
55
+ ## Overlays
56
+
57
+ Modal, Sidesheet, FullscreenModal, Backdrop, Popover, Tooltip, Dropdown, Menu and the
58
+ Listbox drag ghost all render through `ReactDOM.createPortal` into `document.body` — outside
59
+ the consumer's `[data-mds-root]`. Without special handling they would receive neither
60
+ component rules nor tokens, and render completely unstyled.
61
+
62
+ Inside `@scope`, a rule like `.Backdrop` is implicitly `:scope .Backdrop`, so it matches
63
+ **descendants of a scope root only**. Those portaled elements therefore have to be scope
64
+ roots in their own right, and there is no MDS-owned ancestor to hang that on. So the build
65
+ adds them to the prelude directly, targeting markup the components *already* render:
66
+
67
+ ```css
68
+ @scope (
69
+ [data-mds-root], /* your opt-in container */
70
+ body > .Overlay-wrapper:has([data-layer]), /* Modal, Sidesheet, FullscreenModal */
71
+ body > [data-test='DesignSystem-Popover'], /* Popover, Tooltip, Dropdown, Menu, … */
72
+ body > [data-test='DesignSystem-Backdrop'], /* Backdrop */
73
+ body > .Listbox-item--draggable /* Listbox drag ghost */
74
+ )
75
+ ```
76
+
77
+ Every popper-based component shares one root — `Popover` renders the popup element itself and
78
+ Tooltip/Dropdown/Menu all go through it — so a single selector covers them all.
79
+
80
+ Each selector is qualified so it cannot collide with a host app's own class names:
81
+
82
+ - **`body >`** — all of these land as direct children of `<body>`, so a colliding host class
83
+ would have to be at body level too.
84
+ - **`:has([data-layer])`** — `data-layer` is an MDS-only attribute present on all five portal
85
+ roots. `.Overlay-wrapper` is a generic enough name that a host app could plausibly reuse it,
86
+ so the class alone is not enough. It matches a *descendant* rather than a child because Modal
87
+ wraps its container in `OutsideClick` when `backdropClose` is set.
88
+ - **`data-test='DesignSystem-*'`** — already namespaced.
89
+
90
+ The root-anchored selector variants from step 3 are what let those roots style *themselves*:
91
+ `.Backdrop` alone would only match descendants. Because *every* rule gets a variant, all rules
92
+ matching a given scope root are bumped by the same `:scope` (0,1,0), so relative specificity —
93
+ and therefore the cascade between MDS rules — is preserved.
94
+
95
+ `css/scripts/portal-roots.cjs` is the single source of truth for this list, shared with
96
+ `core/utils/__tests__/scopedPortalRoots.test.tsx`. That test renders each overlay and asserts
97
+ the selectors still match, so if a component ever stops rendering one of these hooks the build
98
+ fails loudly instead of silently shipping unstyled overlays.
99
+
100
+ ### No component changes required
101
+
102
+ This is the reason the prelude keys off existing markup rather than a dedicated attribute:
103
+ nothing in `core/` changes, so **the scoped stylesheet can be updated independently of the
104
+ library version**. Consumers swap the CSS file without rebuilding or upgrading, and it works
105
+ against releases already in the wild.
106
+
107
+ ## Custom scope selectors
108
+
109
+ `@scope`'s prelude is a forgiving selector list, so attribute and class patterns work:
110
+
111
+ ```bash
112
+ MDS_SCOPE_SELECTOR='[data-mds-root], [class^="ui-"][class$="-app"]' npm run build-css-scoped
113
+ MDS_SCOPE_OUTPUT='ui-apps.css' MDS_SCOPE_SELECTOR='ui-shell-app, ui-admin-app' npm run build-css-scoped
114
+ ```
115
+
116
+ One selector list in a single `@scope` block covers many hosts — you do not need a stylesheet
117
+ per app.
118
+
119
+ `MDS_SCOPE_SELECTOR` replaces only the *consumer* part of the prelude. The portal-root
120
+ selectors are always appended, so MDS's overlays stay scoped whatever you scope on. The build
121
+ logs the final prelude it used.
122
+
123
+ CSS has **no tag-name wildcard**, so a pattern like `ui-*-app` cannot be expressed as a
124
+ selector: `^=` / `$=` / `*=` match attribute *values*, and a tag name is not an attribute.
125
+ For custom elements following a naming convention, either enumerate the tags in
126
+ `MDS_SCOPE_SELECTOR`, or have the host stamp `data-mds-root` onto matching elements at
127
+ runtime (a `MutationObserver` plus `/^ui-.*-app$/.test(el.tagName.toLowerCase())`).
128
+
129
+ ## Caveats
130
+
131
+ - **Browser support**: `@scope` requires Chrome/Edge 118+, Safari 17.4+, Firefox 128+. There
132
+ is no fallback — an older browser drops the whole stylesheet as an unknown at-rule and
133
+ renders MDS unstyled. Serve `dist/index.css` to browsers you still support.
134
+ - **`@keyframes` names stay global.** They are hoisted out of `@scope`, so animation names
135
+ still collide with the host app's. `Spinner`'s were renamed to `mds-spin` / `mds-rotate`;
136
+ generic ones such as `fadeIn`, `fadeOut` and `shimmer` remain exposed.
137
+ - **Portaled overlays get base tokens**, not per-root token overrides: a themed
138
+ `[data-mds-root]` does not affect overlays, which are scope roots of their own under
139
+ `<body>`. They are deliberately not re-parented into the app's scope root, because a
140
+ `transform` / `filter` / `contain` on an ancestor there would become the containing block
141
+ and break `position: fixed` overlays. Declare token overrides on `:root` so both the
142
+ in-tree components and the body-level overlays pick them up.
143
+ - **The drag ghost has the weakest qualifier.** No `data-test` exists on it, so
144
+ `body > .Listbox-item--draggable` is all that is available. Worth tightening with a
145
+ `data-test` next time component changes ship.