@aurodesignsystem/auro-formkit 2.0.0-beta.5 → 2.0.0-beta.7

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 (448) hide show
  1. package/.turbo/cache/06845874cc82b186-meta.json +1 -0
  2. package/.turbo/cache/06845874cc82b186.tar.zst +0 -0
  3. package/.turbo/cache/0a96f136af026d57-meta.json +1 -0
  4. package/.turbo/cache/0a96f136af026d57.tar.zst +0 -0
  5. package/.turbo/cache/0c8124a987c1cc05-meta.json +1 -0
  6. package/.turbo/cache/0c8124a987c1cc05.tar.zst +0 -0
  7. package/.turbo/cache/0c9ee13a7c863709-meta.json +1 -0
  8. package/.turbo/cache/0c9ee13a7c863709.tar.zst +0 -0
  9. package/.turbo/cache/0ca9c5ccf3e90704-meta.json +1 -0
  10. package/.turbo/cache/0ca9c5ccf3e90704.tar.zst +0 -0
  11. package/.turbo/cache/18129dba20f51b6b-meta.json +1 -0
  12. package/.turbo/cache/18129dba20f51b6b.tar.zst +0 -0
  13. package/.turbo/cache/1a8d6e4cab38121a-meta.json +1 -0
  14. package/.turbo/cache/1a8d6e4cab38121a.tar.zst +0 -0
  15. package/.turbo/cache/2787020e69f50af2-meta.json +1 -0
  16. package/.turbo/cache/2787020e69f50af2.tar.zst +0 -0
  17. package/.turbo/cache/2ec1b6d23563659e-meta.json +1 -0
  18. package/.turbo/cache/2ec1b6d23563659e.tar.zst +0 -0
  19. package/.turbo/cache/3afc5b2ea7c1bf51-meta.json +1 -0
  20. package/.turbo/cache/3afc5b2ea7c1bf51.tar.zst +0 -0
  21. package/.turbo/cache/3cd8fc5f388323db-meta.json +1 -0
  22. package/.turbo/cache/3cd8fc5f388323db.tar.zst +0 -0
  23. package/.turbo/cache/4006a206400d5c7b-meta.json +1 -0
  24. package/.turbo/cache/4006a206400d5c7b.tar.zst +0 -0
  25. package/.turbo/cache/40de011abc31c0cf-meta.json +1 -0
  26. package/.turbo/cache/40de011abc31c0cf.tar.zst +0 -0
  27. package/.turbo/cache/426c825f57054f5f-meta.json +1 -0
  28. package/.turbo/cache/426c825f57054f5f.tar.zst +0 -0
  29. package/.turbo/cache/4524aae614598308-meta.json +1 -0
  30. package/.turbo/cache/4524aae614598308.tar.zst +0 -0
  31. package/.turbo/cache/45ea3e30ae949d53-meta.json +1 -0
  32. package/.turbo/cache/45ea3e30ae949d53.tar.zst +0 -0
  33. package/.turbo/cache/492dda333b8d15f1-meta.json +1 -0
  34. package/.turbo/cache/492dda333b8d15f1.tar.zst +0 -0
  35. package/.turbo/cache/50993de942ec15a9-meta.json +1 -0
  36. package/.turbo/cache/50993de942ec15a9.tar.zst +0 -0
  37. package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -0
  38. package/.turbo/cache/51eaa58d5c167de8.tar.zst +0 -0
  39. package/.turbo/cache/577d86e4072c01f5-meta.json +1 -0
  40. package/.turbo/cache/577d86e4072c01f5.tar.zst +0 -0
  41. package/.turbo/cache/5aadae8d3f94202e-meta.json +1 -0
  42. package/.turbo/cache/5aadae8d3f94202e.tar.zst +0 -0
  43. package/.turbo/cache/5d770c787aa78d4d-meta.json +1 -0
  44. package/.turbo/cache/5d770c787aa78d4d.tar.zst +0 -0
  45. package/.turbo/cache/60ad74320c682a2b-meta.json +1 -0
  46. package/.turbo/cache/60ad74320c682a2b.tar.zst +0 -0
  47. package/.turbo/cache/61e218aba69cff58-meta.json +1 -0
  48. package/.turbo/cache/61e218aba69cff58.tar.zst +0 -0
  49. package/.turbo/cache/624bf5350aacae42-meta.json +1 -0
  50. package/.turbo/cache/624bf5350aacae42.tar.zst +0 -0
  51. package/.turbo/cache/66333b75c8f57565-meta.json +1 -0
  52. package/.turbo/cache/66333b75c8f57565.tar.zst +0 -0
  53. package/.turbo/cache/66e9cca767930b1d-meta.json +1 -0
  54. package/.turbo/cache/66e9cca767930b1d.tar.zst +0 -0
  55. package/.turbo/cache/68060c79df03f45a-meta.json +1 -0
  56. package/.turbo/cache/68060c79df03f45a.tar.zst +0 -0
  57. package/.turbo/cache/68e3afb31feab4e9-meta.json +1 -0
  58. package/.turbo/cache/68e3afb31feab4e9.tar.zst +0 -0
  59. package/.turbo/cache/6a1c28febca6163f-meta.json +1 -0
  60. package/.turbo/cache/6a1c28febca6163f.tar.zst +0 -0
  61. package/.turbo/cache/6bc4e2d881af6ffb-meta.json +1 -0
  62. package/.turbo/cache/6bc4e2d881af6ffb.tar.zst +0 -0
  63. package/.turbo/cache/6c8ea74dc3b07640-meta.json +1 -0
  64. package/.turbo/cache/6c8ea74dc3b07640.tar.zst +0 -0
  65. package/.turbo/cache/71dbeaf0706c12fe-meta.json +1 -0
  66. package/.turbo/cache/71dbeaf0706c12fe.tar.zst +0 -0
  67. package/.turbo/cache/7445df6e7feed2a7-meta.json +1 -0
  68. package/.turbo/cache/7445df6e7feed2a7.tar.zst +0 -0
  69. package/.turbo/cache/77da375a012de9d0-meta.json +1 -0
  70. package/.turbo/cache/77da375a012de9d0.tar.zst +0 -0
  71. package/.turbo/cache/7a6ef918375d4010-meta.json +1 -0
  72. package/.turbo/cache/7a6ef918375d4010.tar.zst +0 -0
  73. package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -0
  74. package/.turbo/cache/7bf2b06a479d0b30.tar.zst +0 -0
  75. package/.turbo/cache/7f3b42ddf36d0158-meta.json +1 -0
  76. package/.turbo/cache/7f3b42ddf36d0158.tar.zst +0 -0
  77. package/.turbo/cache/83e1029b14af6545-meta.json +1 -0
  78. package/.turbo/cache/83e1029b14af6545.tar.zst +0 -0
  79. package/.turbo/cache/98936c69a55361fc-meta.json +1 -0
  80. package/.turbo/cache/98936c69a55361fc.tar.zst +0 -0
  81. package/.turbo/cache/9a9b4e449cd84be4-meta.json +1 -0
  82. package/.turbo/cache/9a9b4e449cd84be4.tar.zst +0 -0
  83. package/.turbo/cache/9ae99e8e7bd83d06-meta.json +1 -0
  84. package/.turbo/cache/9ae99e8e7bd83d06.tar.zst +0 -0
  85. package/.turbo/cache/a275406512608e45-meta.json +1 -0
  86. package/.turbo/cache/a275406512608e45.tar.zst +0 -0
  87. package/.turbo/cache/a3db8f78e018a955-meta.json +1 -0
  88. package/.turbo/cache/a3db8f78e018a955.tar.zst +0 -0
  89. package/.turbo/cache/ad2b775dd9172ae8-meta.json +1 -0
  90. package/.turbo/cache/ad2b775dd9172ae8.tar.zst +0 -0
  91. package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -0
  92. package/.turbo/cache/b5e6dc7fb9ae1a2f.tar.zst +0 -0
  93. package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -0
  94. package/.turbo/cache/b6a202cc85cb61a0.tar.zst +0 -0
  95. package/.turbo/cache/b91d2888e699c76a-meta.json +1 -0
  96. package/.turbo/cache/b91d2888e699c76a.tar.zst +0 -0
  97. package/.turbo/cache/bdc6aadfdbb6feb9-meta.json +1 -0
  98. package/.turbo/cache/bdc6aadfdbb6feb9.tar.zst +0 -0
  99. package/.turbo/cache/be128506a9bcaa65-meta.json +1 -0
  100. package/.turbo/cache/be128506a9bcaa65.tar.zst +0 -0
  101. package/.turbo/cache/c114d428251f56a5-meta.json +1 -0
  102. package/.turbo/cache/c114d428251f56a5.tar.zst +0 -0
  103. package/.turbo/cache/c44efc9e4ddd8a0e-meta.json +1 -0
  104. package/.turbo/cache/c44efc9e4ddd8a0e.tar.zst +0 -0
  105. package/.turbo/cache/c6c6411199b68170-meta.json +1 -0
  106. package/.turbo/cache/c6c6411199b68170.tar.zst +0 -0
  107. package/.turbo/cache/c7338727efbc457a-meta.json +1 -0
  108. package/.turbo/cache/c7338727efbc457a.tar.zst +0 -0
  109. package/.turbo/cache/cf235df1ef8d90b0-meta.json +1 -0
  110. package/.turbo/cache/cf235df1ef8d90b0.tar.zst +0 -0
  111. package/.turbo/cache/d1d1a072ee099992-meta.json +1 -0
  112. package/.turbo/cache/d1d1a072ee099992.tar.zst +0 -0
  113. package/.turbo/cache/d3a05e38449c9b24-meta.json +1 -0
  114. package/.turbo/cache/d3a05e38449c9b24.tar.zst +0 -0
  115. package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -0
  116. package/.turbo/cache/d5db503b2eaf239c.tar.zst +0 -0
  117. package/.turbo/cache/d9331772756d3d94-meta.json +1 -0
  118. package/.turbo/cache/d9331772756d3d94.tar.zst +0 -0
  119. package/.turbo/cache/db4ea5071b44ee8c-meta.json +1 -0
  120. package/.turbo/cache/db4ea5071b44ee8c.tar.zst +0 -0
  121. package/.turbo/cache/dc6fbe2a8d5b9d9b-meta.json +1 -0
  122. package/.turbo/cache/dc6fbe2a8d5b9d9b.tar.zst +0 -0
  123. package/.turbo/cache/e1e2582a7131011f-meta.json +1 -0
  124. package/.turbo/cache/e1e2582a7131011f.tar.zst +0 -0
  125. package/.turbo/cache/e6271174c00888fe-meta.json +1 -0
  126. package/.turbo/cache/e6271174c00888fe.tar.zst +0 -0
  127. package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -0
  128. package/.turbo/cache/e62cfee068e3ef36.tar.zst +0 -0
  129. package/.turbo/cache/e8485d2a584b5f08-meta.json +1 -0
  130. package/.turbo/cache/e8485d2a584b5f08.tar.zst +0 -0
  131. package/.turbo/cache/e86451b8f88594b2-meta.json +1 -0
  132. package/.turbo/cache/e86451b8f88594b2.tar.zst +0 -0
  133. package/.turbo/cache/e9872ba002963dd3-meta.json +1 -0
  134. package/.turbo/cache/e9872ba002963dd3.tar.zst +0 -0
  135. package/CHANGELOG.md +16 -0
  136. package/README.md +10 -10
  137. package/components/checkbox/.turbo/turbo-build$colon$sass.log +10 -10
  138. package/components/checkbox/.turbo/turbo-build.log +20 -21
  139. package/components/checkbox/.turbo/turbo-bundler.log +4 -4
  140. package/components/checkbox/.turbo/turbo-postCss$colon$component.log +1 -2
  141. package/components/checkbox/.turbo/turbo-sass$colon$render.log +6 -6
  142. package/components/checkbox/.turbo/turbo-types.log +1 -1
  143. package/components/checkbox/README.md +26 -34
  144. package/components/checkbox/demo/api.md +62 -64
  145. package/components/checkbox/demo/api.min.js +79 -33
  146. package/components/checkbox/demo/index.md +62 -62
  147. package/components/checkbox/demo/index.min.js +79 -33
  148. package/components/checkbox/dist/auro-checkbox-group.d.ts +35 -16
  149. package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
  150. package/components/checkbox/dist/auro-checkbox.d.ts +20 -11
  151. package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
  152. package/components/checkbox/dist/index.js +79 -33
  153. package/components/checkbox/package.json +1 -1
  154. package/components/checkbox/src/auro-checkbox-group.js +45 -16
  155. package/components/checkbox/src/auro-checkbox.js +29 -12
  156. package/components/combobox/.turbo/turbo-build$colon$sass.log +5 -5
  157. package/components/combobox/.turbo/turbo-build$colon$version.log +10 -0
  158. package/components/combobox/.turbo/turbo-build.log +16 -17
  159. package/components/combobox/.turbo/turbo-bundler.log +25 -0
  160. package/components/combobox/.turbo/turbo-postCss$colon$component.log +1 -2
  161. package/components/combobox/.turbo/turbo-sass$colon$render.log +2 -2
  162. package/components/combobox/.turbo/turbo-types.log +4 -0
  163. package/components/combobox/README.md +21 -26
  164. package/components/combobox/demo/api.min.js +104 -107
  165. package/components/combobox/demo/index.min.js +104 -107
  166. package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
  167. package/components/combobox/dist/index.js +103 -106
  168. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/.husky/pre-commit +1 -0
  169. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/CHANGELOG.md +863 -0
  170. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/README.md +109 -0
  171. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/README.md +86 -0
  172. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/_auroElement.scss +45 -0
  173. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.js +38 -0
  174. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.mjs +38 -0
  175. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials+fv.css +110 -0
  176. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials.css +106 -0
  177. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/demoWrapper.css +8 -0
  178. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/elementDemoStyles.css +813 -0
  179. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/package.json +134 -0
  180. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/packageScripts/postinstall.mjs +39 -0
  181. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_animation.scss +30 -0
  182. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_blockquote.scss +46 -0
  183. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss +155 -0
  184. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_core.scss +25 -0
  185. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_essentials.scss +267 -0
  186. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_focus-visible.scss +36 -0
  187. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_fonts.scss +50 -0
  188. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_grids.scss +395 -0
  189. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_headings.scss +255 -0
  190. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_normalize.scss +663 -0
  191. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_picture.scss +31 -0
  192. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_utilityClasses.scss +22 -0
  193. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials+fv.scss +19 -0
  194. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials.scss +18 -0
  195. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleButton.scss +32 -0
  196. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleTab.scss +26 -0
  197. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_containedButtons.scss +59 -0
  198. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_table.scss +54 -0
  199. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_tablist.scss +37 -0
  200. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/README.md +5 -0
  201. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/demoWrapper.scss +18 -0
  202. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/elementDemoStyles.scss +123 -0
  203. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss +16 -0
  204. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_manageScope.scss +42 -0
  205. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_displayProperties.scss +142 -0
  206. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_fontStyles.scss +151 -0
  207. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss +188 -0
  208. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_layoutProperties.scss +75 -0
  209. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_listProperties.scss +176 -0
  210. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_responsive.scss +249 -0
  211. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_typeProperties.scss +49 -0
  212. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_capitalize.scss +20 -0
  213. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_contains.scss +26 -0
  214. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_map-deep-get.scss +29 -0
  215. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleButton.scss +76 -0
  216. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleTab.scss +86 -0
  217. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss +9 -0
  218. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_layoutPropertiesGenerator.scss +75 -0
  219. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_spacingUtility.scss +96 -0
  220. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_important.scss +20 -0
  221. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_spacing-options.scss +13 -0
  222. package/components/combobox/node_modules/@rollup/plugin-node-resolve/README.md +293 -0
  223. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +1377 -0
  224. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +1370 -0
  225. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +1 -0
  226. package/components/combobox/node_modules/@rollup/plugin-node-resolve/package.json +89 -0
  227. package/components/combobox/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +115 -0
  228. package/components/combobox/node_modules/chalk/package.json +3 -3
  229. package/components/combobox/node_modules/chalk/readme.md +25 -53
  230. package/components/combobox/node_modules/chalk/source/index.d.ts +6 -1
  231. package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +6 -2
  232. package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +2 -2
  233. package/components/combobox/package.json +5 -5
  234. package/components/combobox/src/auro-combobox.js +51 -54
  235. package/components/counter/.turbo/turbo-build$colon$sass.log +7 -7
  236. package/components/counter/.turbo/turbo-build.log +13 -13
  237. package/components/counter/.turbo/turbo-bundler.log +4 -4
  238. package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
  239. package/components/counter/.turbo/turbo-sass$colon$render.log +3 -3
  240. package/components/counter/.turbo/turbo-types.log +1 -1
  241. package/components/counter/demo/api.min.js +5 -5
  242. package/components/counter/demo/index.min.js +5 -5
  243. package/components/counter/dist/index.js +5 -5
  244. package/components/counter/package.json +1 -1
  245. package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
  246. package/components/datepicker/.turbo/turbo-build$colon$version.log +13 -0
  247. package/components/datepicker/.turbo/turbo-build.log +44 -45
  248. package/components/datepicker/.turbo/turbo-bundler.log +17 -0
  249. package/components/datepicker/.turbo/turbo-postCss$colon$component.log +1 -2
  250. package/components/datepicker/.turbo/turbo-sass$colon$render.log +10 -10
  251. package/components/datepicker/.turbo/turbo-types.log +4 -0
  252. package/components/datepicker/README.md +21 -26
  253. package/components/datepicker/demo/api.min.js +197 -197
  254. package/components/datepicker/demo/index.min.js +197 -197
  255. package/components/datepicker/dist/index.js +197 -197
  256. package/components/datepicker/package.json +1 -1
  257. package/components/dropdown/.turbo/turbo-build$colon$sass.log +8 -8
  258. package/components/dropdown/.turbo/turbo-build$colon$version.log +1 -1
  259. package/components/dropdown/.turbo/turbo-build.log +19 -20
  260. package/components/dropdown/.turbo/turbo-bundler.log +4 -4
  261. package/components/dropdown/.turbo/turbo-postCss$colon$component.log +1 -2
  262. package/components/dropdown/.turbo/turbo-sass$colon$render.log +6 -6
  263. package/components/dropdown/.turbo/turbo-types.log +1 -1
  264. package/components/dropdown/README.md +18 -26
  265. package/components/dropdown/demo/api.min.js +39 -39
  266. package/components/dropdown/demo/index.min.js +39 -39
  267. package/components/dropdown/dist/index.js +39 -39
  268. package/components/dropdown/package.json +1 -1
  269. package/components/form/.turbo/turbo-build$colon$sass.log +6 -6
  270. package/components/form/.turbo/turbo-build$colon$version.log +1 -1
  271. package/components/form/.turbo/turbo-build.log +17 -18
  272. package/components/form/.turbo/turbo-bundler.log +4 -4
  273. package/components/form/.turbo/turbo-postCss$colon$component.log +1 -2
  274. package/components/form/.turbo/turbo-sass$colon$render.log +2 -2
  275. package/components/form/.turbo/turbo-types.log +1 -1
  276. package/components/form/README.md +18 -26
  277. package/components/form/demo/api.min.js +4 -4
  278. package/components/form/demo/index.min.js +4 -4
  279. package/components/form/dist/index.js +4 -4
  280. package/components/form/package.json +1 -1
  281. package/components/input/.turbo/turbo-build$colon$sass.log +20 -20
  282. package/components/input/.turbo/turbo-build$colon$version.log +1 -1
  283. package/components/input/.turbo/turbo-build.log +31 -34
  284. package/components/input/.turbo/turbo-bundler.log +4 -4
  285. package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
  286. package/components/input/.turbo/turbo-sass$colon$render.log +10 -10
  287. package/components/input/.turbo/turbo-types.log +1 -1
  288. package/components/input/README.md +18 -28
  289. package/components/input/demo/api.md +80 -247
  290. package/components/input/demo/api.min.js +8 -8
  291. package/components/input/demo/index.md +9 -59
  292. package/components/input/demo/index.min.js +8 -8
  293. package/components/input/dist/index.js +8 -8
  294. package/components/input/package.json +1 -1
  295. package/components/menu/.turbo/turbo-build$colon$sass.log +9 -9
  296. package/components/menu/.turbo/turbo-build$colon$version.log +1 -1
  297. package/components/menu/.turbo/turbo-build.log +20 -21
  298. package/components/menu/.turbo/turbo-bundler.log +4 -4
  299. package/components/menu/.turbo/turbo-postCss$colon$component.log +1 -2
  300. package/components/menu/.turbo/turbo-sass$colon$render.log +6 -6
  301. package/components/menu/.turbo/turbo-types.log +1 -1
  302. package/components/menu/README.md +18 -26
  303. package/components/menu/demo/api.min.js +6 -6
  304. package/components/menu/demo/index.min.js +6 -6
  305. package/components/menu/dist/index.js +6 -6
  306. package/components/menu/package.json +1 -1
  307. package/components/radio/.turbo/turbo-build$colon$sass.log +13 -13
  308. package/components/radio/.turbo/turbo-build.log +23 -24
  309. package/components/radio/.turbo/turbo-bundler.log +4 -4
  310. package/components/radio/.turbo/turbo-postCss$colon$component.log +1 -2
  311. package/components/radio/.turbo/turbo-sass$colon$render.log +6 -6
  312. package/components/radio/.turbo/turbo-types.log +1 -1
  313. package/components/radio/README.md +18 -26
  314. package/components/radio/demo/api.min.js +6 -6
  315. package/components/radio/demo/index.min.js +6 -6
  316. package/components/radio/dist/index.js +6 -6
  317. package/components/radio/package.json +1 -1
  318. package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
  319. package/components/select/.turbo/turbo-build$colon$version.log +7 -0
  320. package/components/select/.turbo/turbo-build.log +23 -24
  321. package/components/select/.turbo/turbo-bundler.log +22 -0
  322. package/components/select/.turbo/turbo-postCss$colon$component.log +1 -2
  323. package/components/select/.turbo/turbo-sass$colon$render.log +4 -4
  324. package/components/select/.turbo/turbo-types.log +4 -0
  325. package/components/select/README.md +21 -42
  326. package/components/select/demo/api.min.js +45 -45
  327. package/components/select/demo/index.md +1 -16
  328. package/components/select/demo/index.min.js +45 -45
  329. package/components/select/dist/index.js +45 -45
  330. package/components/select/package.json +1 -1
  331. package/package.json +21 -21
  332. package/packages/build-tools/src/docProcessor.mjs +37 -8
  333. package/.turbo/cache/013a48308b893dac-meta.json +0 -1
  334. package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
  335. package/.turbo/cache/02244170c798a2bd-meta.json +0 -1
  336. package/.turbo/cache/02244170c798a2bd.tar.zst +0 -0
  337. package/.turbo/cache/051ff97a20add0e2-meta.json +0 -1
  338. package/.turbo/cache/051ff97a20add0e2.tar.zst +0 -0
  339. package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
  340. package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
  341. package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
  342. package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
  343. package/.turbo/cache/0ea853339c064fa1-meta.json +0 -1
  344. package/.turbo/cache/0ea853339c064fa1.tar.zst +0 -0
  345. package/.turbo/cache/16658beec9f4a809-meta.json +0 -1
  346. package/.turbo/cache/16658beec9f4a809.tar.zst +0 -0
  347. package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
  348. package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
  349. package/.turbo/cache/1b9818717e4bdf9f-meta.json +0 -1
  350. package/.turbo/cache/1b9818717e4bdf9f.tar.zst +0 -0
  351. package/.turbo/cache/1c0f580d37370ba2-meta.json +0 -1
  352. package/.turbo/cache/1c0f580d37370ba2.tar.zst +0 -0
  353. package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
  354. package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
  355. package/.turbo/cache/1df4710eef8ed00d-meta.json +0 -1
  356. package/.turbo/cache/1df4710eef8ed00d.tar.zst +0 -0
  357. package/.turbo/cache/204b66d1b253e9cc-meta.json +0 -1
  358. package/.turbo/cache/204b66d1b253e9cc.tar.zst +0 -0
  359. package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
  360. package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
  361. package/.turbo/cache/2a5d0939d6fc1052-meta.json +0 -1
  362. package/.turbo/cache/2a5d0939d6fc1052.tar.zst +0 -0
  363. package/.turbo/cache/2e3b829fcf75c836-meta.json +0 -1
  364. package/.turbo/cache/2e3b829fcf75c836.tar.zst +0 -0
  365. package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
  366. package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
  367. package/.turbo/cache/3d380d0d40404cac-meta.json +0 -1
  368. package/.turbo/cache/3d380d0d40404cac.tar.zst +0 -0
  369. package/.turbo/cache/3e12285c614db539-meta.json +0 -1
  370. package/.turbo/cache/3e12285c614db539.tar.zst +0 -0
  371. package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
  372. package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
  373. package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +0 -1
  374. package/.turbo/cache/5bf2d3f7ba5891e0.tar.zst +0 -0
  375. package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
  376. package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
  377. package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
  378. package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
  379. package/.turbo/cache/68e5c7af799e011d-meta.json +0 -1
  380. package/.turbo/cache/68e5c7af799e011d.tar.zst +0 -0
  381. package/.turbo/cache/691a74627ec57993-meta.json +0 -1
  382. package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
  383. package/.turbo/cache/6dd67d179191bda8-meta.json +0 -1
  384. package/.turbo/cache/6dd67d179191bda8.tar.zst +0 -0
  385. package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
  386. package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
  387. package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
  388. package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
  389. package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
  390. package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
  391. package/.turbo/cache/786a822763403879-meta.json +0 -1
  392. package/.turbo/cache/786a822763403879.tar.zst +0 -0
  393. package/.turbo/cache/7e1043cffa69f327-meta.json +0 -1
  394. package/.turbo/cache/7e1043cffa69f327.tar.zst +0 -0
  395. package/.turbo/cache/7ffd501e81790676-meta.json +0 -1
  396. package/.turbo/cache/7ffd501e81790676.tar.zst +0 -0
  397. package/.turbo/cache/80a13352066a9801-meta.json +0 -1
  398. package/.turbo/cache/80a13352066a9801.tar.zst +0 -0
  399. package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
  400. package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
  401. package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
  402. package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
  403. package/.turbo/cache/8e79bd5c3a16a72e-meta.json +0 -1
  404. package/.turbo/cache/8e79bd5c3a16a72e.tar.zst +0 -0
  405. package/.turbo/cache/8e9ebc3df0e18de0-meta.json +0 -1
  406. package/.turbo/cache/8e9ebc3df0e18de0.tar.zst +0 -0
  407. package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
  408. package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
  409. package/.turbo/cache/973d0eea26083f4b-meta.json +0 -1
  410. package/.turbo/cache/973d0eea26083f4b.tar.zst +0 -0
  411. package/.turbo/cache/9c6ad42729c7b2d8-meta.json +0 -1
  412. package/.turbo/cache/9c6ad42729c7b2d8.tar.zst +0 -0
  413. package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
  414. package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
  415. package/.turbo/cache/a9a9d012c83882d8-meta.json +0 -1
  416. package/.turbo/cache/a9a9d012c83882d8.tar.zst +0 -0
  417. package/.turbo/cache/b4c851d4bebf3b47-meta.json +0 -1
  418. package/.turbo/cache/b4c851d4bebf3b47.tar.zst +0 -0
  419. package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
  420. package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
  421. package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
  422. package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
  423. package/.turbo/cache/bffc7582905c2a5e-meta.json +0 -1
  424. package/.turbo/cache/bffc7582905c2a5e.tar.zst +0 -0
  425. package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
  426. package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
  427. package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
  428. package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
  429. package/.turbo/cache/d572ebb3c833e8f4-meta.json +0 -1
  430. package/.turbo/cache/d572ebb3c833e8f4.tar.zst +0 -0
  431. package/.turbo/cache/d61543843c932504-meta.json +0 -1
  432. package/.turbo/cache/d61543843c932504.tar.zst +0 -0
  433. package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
  434. package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
  435. package/.turbo/cache/db361cb6578dca84-meta.json +0 -1
  436. package/.turbo/cache/db361cb6578dca84.tar.zst +0 -0
  437. package/.turbo/cache/dea5945f55c6aba5-meta.json +0 -1
  438. package/.turbo/cache/dea5945f55c6aba5.tar.zst +0 -0
  439. package/.turbo/cache/dfe1f17e7fce890d-meta.json +0 -1
  440. package/.turbo/cache/dfe1f17e7fce890d.tar.zst +0 -0
  441. package/.turbo/cache/e3a224a17cf55bdb-meta.json +0 -1
  442. package/.turbo/cache/e3a224a17cf55bdb.tar.zst +0 -0
  443. package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
  444. package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
  445. package/.turbo/cache/f3ff9040a2196834-meta.json +0 -1
  446. package/.turbo/cache/f3ff9040a2196834.tar.zst +0 -0
  447. package/.turbo/cache/fc57c17867dcac3d-meta.json +0 -1
  448. package/.turbo/cache/fc57c17867dcac3d.tar.zst +0 -0
@@ -0,0 +1,96 @@
1
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
2
+ // See LICENSE in the project root for license information.
3
+
4
+ // ---------------------------------------------------------------------
5
+ // Variables are defined by baseline Design Tokens
6
+
7
+ @import '../utilityVariables/spacing-options';
8
+ @import '../utilityFunctions/capitalize';
9
+ @import '../utilityFunctions/map-deep-get';
10
+ @import '../utilityVariables/important';
11
+ @import '../libSupport/manageScope';
12
+
13
+ $ds-spacing-types: inline, stack !default;
14
+ $ds-spacing-options: $ds-spacing-options !default;
15
+ $ds-spacing-properties: padding, padding, margin, margin !default;
16
+
17
+ /// This mixin is designed to return a series of pre-defined selectors based on the stack or inline spacing design specs
18
+ ///
19
+ /// DO NOT execute mixin, this is already included with the import of the file dependency
20
+ ///
21
+ /// **Dependency:** `$npm i @aurodesignsystem/design-tokens`
22
+ /// @group utility-layout
23
+ /// @param {string} $ds-spacing-types [inline, stack] inline - L/R, stack - top/bottom
24
+ /// @param {string} $ds-spacing-options [none, 25, 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000] defines value applied.
25
+ /// @example css - Example output css
26
+ /// .util_inlinePadding25--left {
27
+ /// padding-left: 0.125rem;
28
+ /// }
29
+ /// .util_inlinePadding25--right {
30
+ /// padding-right: 0.125rem;
31
+ /// }
32
+ /// .util_inlineMargin25--left {
33
+ /// margin-left: 0.125rem;
34
+ /// }
35
+ /// .util_inlineMargin25--right {
36
+ /// margin-right: 0.125rem;
37
+ /// }
38
+ /// @example scss - import dependencies
39
+ /// @import "./node_modules/@aurodesignsystem/design-tokens/dist/tokens/SCSSVariableMap";
40
+ /// @import "./node_modules/@aurodesignsystem/webcorestylesheets/dist/utilityMixins/spacingUtility";
41
+ /// @example scss - import with custom over-rides
42
+ /// $ds-spacing-types: inline;
43
+ /// $ds-spacing-options: 200;
44
+ /// @import "./node_modules/@aurodesignsystem/design-tokens/dist/tokens/SCSSVariableMap";
45
+ /// @import "./node_modules/@aurodesignsystem/webcorestylesheets/dist/utilityMixins/spacingUtility";
46
+
47
+ @mixin auro_spacing($types: $ds-spacing-types, $options: $ds-spacing-options) {
48
+ @each $type in $types {
49
+ @each $value in $options {
50
+ $map: map-keys($tokens);
51
+ $var: auro_map-deep-get($tokens, #{$map}, #{$value});
52
+ $directions: null;
53
+ $properties: null;
54
+
55
+ @if $type == stack {
56
+ $directions: top, bottom, top, bottom;
57
+ } @else if $type == inline {
58
+ $directions: left, right, left, right;
59
+ }
60
+
61
+ @if $type == stack or $type == inline {
62
+ $properties: $ds-spacing-properties;
63
+ }
64
+
65
+ @if not index($types, $type) {
66
+ @error 'INVALID, \'#{$type}\' is not known, please choose from options, [#{$types}]';
67
+ }
68
+
69
+ @if auro_contains($options, $value) {
70
+ @if not index($options, $value) {
71
+ @error 'INVALID, \'#{$value}\' is not known, please choose from options, [#{$ds-inset-options}]';
72
+ }
73
+
74
+ @if $value == 'none' {
75
+ @for $i from 1 through length($properties) {
76
+ $direction: nth($directions, $i);
77
+ $property: nth($properties, $i);
78
+ #{$scope}.#{$prefix}util_#{$type}#{auro_capitalize($property)}#{auro_capitalize($value)}--#{$direction} {
79
+ #{$property}-#{$direction}: 0 $important;
80
+ }
81
+ }
82
+ } @else {
83
+ @for $i from 1 through length($properties) {
84
+ $direction: nth($directions, $i);
85
+ $property: nth($properties, $i);
86
+ #{$scope}.#{$prefix}util_#{$type}#{auro_capitalize($property)}#{auro_capitalize($value)}--#{$direction} {
87
+ #{$property}-#{$direction}: $var $important;
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+
96
+ @include auro_spacing()
@@ -0,0 +1,20 @@
1
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
2
+ // See LICENSE in the project root for license information.
3
+
4
+ // ---------------------------------------------------------------------
5
+
6
+ // sass-lint:disable no-important
7
+
8
+ /// The use of the `$important` variable allows the user to determine if they require the use of the `!important` flag with utility classes or not.
9
+ /// By default the `!important` flag is NOT set on any CSS selector.
10
+ /// @group Utility
11
+ /// @prop {Boolean} $important [null] - manage use of `!important` flag
12
+ /// @example scss - update value prior to importing utility support file if `!important` flag is needed
13
+ /// $important: true;
14
+ /// @import "./node_modules/@aurodesignsystem/webcorestylesheets/dist/utilityClasses/ ... ";
15
+
16
+ $important: null !default;
17
+
18
+ @if $important {
19
+ $important: !important;
20
+ }
@@ -0,0 +1,13 @@
1
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
2
+ // See LICENSE in the project root for license information.
3
+
4
+ // ---------------------------------------------------------------------
5
+ // Variables are defined by baseline Design Tokens
6
+
7
+ /// When using spacing mixins, it's required to import this variable list for use of options.
8
+ /// @group utility
9
+ /// @prop {Variable} $options [list] - list of available token options
10
+ /// @example scss - import dependency variable list
11
+ /// @import "./node_modules/@aurodesignsystem/webcorestylesheets/dist/utilityVariables/spacing-options";
12
+
13
+ $ds-spacing-options: none, 25, 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000 !default;
@@ -0,0 +1,293 @@
1
+ [npm]: https://img.shields.io/npm/v/@rollup/plugin-node-resolve
2
+ [npm-url]: https://www.npmjs.com/package/@rollup/plugin-node-resolve
3
+ [size]: https://packagephobia.now.sh/badge?p=@rollup/plugin-node-resolve
4
+ [size-url]: https://packagephobia.now.sh/result?p=@rollup/plugin-node-resolve
5
+
6
+ [![npm][npm]][npm-url]
7
+ [![size][size]][size-url]
8
+ [![libera manifesto](https://img.shields.io/badge/libera-manifesto-lightgrey.svg)](https://liberamanifesto.com)
9
+
10
+ # @rollup/plugin-node-resolve
11
+
12
+ 🍣 A Rollup plugin which locates modules using the [Node resolution algorithm](https://nodejs.org/api/modules.html#modules_all_together), for using third party modules in `node_modules`
13
+
14
+ ## Requirements
15
+
16
+ This plugin requires an [LTS](https://github.com/nodejs/Release) Node version (v14.0.0+) and Rollup v2.78.0+.
17
+
18
+ ## Install
19
+
20
+ Using npm:
21
+
22
+ ```console
23
+ npm install @rollup/plugin-node-resolve --save-dev
24
+ ```
25
+
26
+ ## Usage
27
+
28
+ Create a `rollup.config.js` [configuration file](https://www.rollupjs.org/guide/en/#configuration-files) and import the plugin:
29
+
30
+ ```js
31
+ import { nodeResolve } from '@rollup/plugin-node-resolve';
32
+
33
+ export default {
34
+ input: 'src/index.js',
35
+ output: {
36
+ dir: 'output',
37
+ format: 'cjs'
38
+ },
39
+ plugins: [nodeResolve()]
40
+ };
41
+ ```
42
+
43
+ Then call `rollup` either via the [CLI](https://www.rollupjs.org/guide/en/#command-line-reference) or the [API](https://www.rollupjs.org/guide/en/#javascript-api).
44
+
45
+ ## Package entrypoints
46
+
47
+ This plugin supports the package entrypoints feature from node js, specified in the `exports` or `imports` field of a package. Check the [official documentation](https://nodejs.org/api/packages.html#packages_package_entry_points) for more information on how this works. This is the default behavior. In the abscence of these fields, the fields in `mainFields` will be the ones to be used.
48
+
49
+ ## Options
50
+
51
+ ### `exportConditions`
52
+
53
+ Type: `Array[...String]`<br>
54
+ Default: `[]`
55
+
56
+ Additional conditions of the package.json exports field to match when resolving modules. By default, this plugin looks for the `['default', 'module', 'import', 'development|production']` conditions when resolving imports. If neither the `development` or `production` conditions are provided it will default to `production` - or `development` if `NODE_ENV` is set to a value other than `production`.
57
+
58
+ When using `@rollup/plugin-commonjs` v16 or higher, this plugin will use the `['default', 'module', 'require']` conditions when resolving require statements.
59
+
60
+ Setting this option will add extra conditions on top of the default conditions. See https://nodejs.org/api/packages.html#packages_conditional_exports for more information.
61
+
62
+ In order to get the [resolution behavior of Node.js](https://nodejs.org/api/packages.html#packages_conditional_exports), set this to `['node']`.
63
+
64
+ ### `browser`
65
+
66
+ Type: `Boolean`<br>
67
+ Default: `false`
68
+
69
+ If `true`, instructs the plugin to use the browser module resolutions in `package.json` and adds `'browser'` to `exportConditions` if it is not present so browser conditionals in `exports` are applied. If `false`, any browser properties in package files will be ignored. Alternatively, a value of `'browser'` can be added to both the `mainFields` and `exportConditions` options, however this option takes precedence over `mainFields`.
70
+
71
+ > This option does not work when a package is using [package entrypoints](https://nodejs.org/api/packages.html#packages_package_entry_points)
72
+
73
+ ### `moduleDirectories`
74
+
75
+ Type: `Array[...String]`<br>
76
+ Default: `['node_modules']`
77
+
78
+ A list of directory names in which to recursively look for modules.
79
+
80
+ ### `modulePaths`
81
+
82
+ Type: `Array[...String]`<br>
83
+ Default: `[]`
84
+
85
+ A list of absolute paths to additional locations to search for modules. [This is analogous to setting the `NODE_PATH` environment variable for node](https://nodejs.org/api/modules.html#loading-from-the-global-folders).
86
+
87
+ ### `dedupe`
88
+
89
+ Type: `Array[...String]`<br>
90
+ Default: `[]`
91
+
92
+ An `Array` of modules names, which instructs the plugin to force resolving for the specified modules to the root `node_modules`. Helps to prevent bundling the same package multiple times if package is imported from dependencies.
93
+
94
+ ```js
95
+ dedupe: ['my-package', '@namespace/my-package'];
96
+ ```
97
+
98
+ This will deduplicate bare imports such as:
99
+
100
+ ```js
101
+ import 'my-package';
102
+ import '@namespace/my-package';
103
+ ```
104
+
105
+ And it will deduplicate deep imports such as:
106
+
107
+ ```js
108
+ import 'my-package/foo.js';
109
+ import '@namespace/my-package/bar.js';
110
+ ```
111
+
112
+ ### `extensions`
113
+
114
+ Type: `Array[...String]`<br>
115
+ Default: `['.mjs', '.js', '.json', '.node']`
116
+
117
+ Specifies the extensions of files that the plugin will operate on.
118
+
119
+ ### `jail`
120
+
121
+ Type: `String`<br>
122
+ Default: `'/'`
123
+
124
+ Locks the module search within specified path (e.g. chroot). Modules defined outside this path will be ignored by this plugin.
125
+
126
+ ### `mainFields`
127
+
128
+ Type: `Array[...String]`<br>
129
+ Default: `['module', 'main']`<br>
130
+ Valid values: `['browser', 'jsnext:main', 'module', 'main']`
131
+
132
+ Specifies the properties to scan within a `package.json`, used to determine the bundle entry point. The order of property names is significant, as the first-found property is used as the resolved entry point. If the array contains `'browser'`, key/values specified in the `package.json` `browser` property will be used.
133
+
134
+ ### `preferBuiltins`
135
+
136
+ Type: `Boolean | (module: string) => boolean`<br>
137
+ Default: `true` (with warnings if a builtin module is used over a local version. Set to `true` to disable warning.)
138
+
139
+ If `true`, the plugin will prefer built-in modules (e.g. `fs`, `path`). If `false`, the plugin will look for locally installed modules of the same name.
140
+
141
+ Alternatively, you may pass in a function that returns a boolean to confirm whether the plugin should prefer built-in modules. e.g.
142
+
143
+ ```js
144
+ preferBuiltins: (module) => module !== 'punycode';
145
+ ```
146
+
147
+ will not treat `punycode` as a built-in module
148
+
149
+ ### `modulesOnly`
150
+
151
+ Type: `Boolean`<br>
152
+ Default: `false`
153
+
154
+ If `true`, inspect resolved files to assert that they are ES2015 modules.
155
+
156
+ ### `resolveOnly`
157
+
158
+ Type: `Array[...String|RegExp] | (module: string) => boolean`<br>
159
+ Default: `null`
160
+
161
+ An `Array` which instructs the plugin to limit module resolution to those whose names match patterns in the array. _Note: Modules not matching any patterns will be marked as external._
162
+
163
+ Alternatively, you may pass in a function that returns a boolean to confirm whether the module should be included or not.
164
+
165
+ Examples:
166
+
167
+ - `resolveOnly: ['batman', /^@batcave\/.*$/]`
168
+ - `resolveOnly: module => !module.includes('joker')`
169
+
170
+ ### `rootDir`
171
+
172
+ Type: `String`<br>
173
+ Default: `process.cwd()`
174
+
175
+ Specifies the root directory from which to resolve modules. Typically used when resolving entry-point imports, and when resolving deduplicated modules. Useful when executing rollup in a package of a mono-repository.
176
+
177
+ ```
178
+ // Set the root directory to be the parent folder
179
+ rootDir: path.join(process.cwd(), '..')
180
+ ```
181
+
182
+ ### `ignoreSideEffectsForRoot`
183
+
184
+ If you use the `sideEffects` property in the package.json, by default this is respected for files in the root package. Set to `true` to ignore the `sideEffects` configuration for the root package.
185
+
186
+ ### `allowExportsFolderMapping`
187
+
188
+ Older Node versions supported exports mappings of folders like
189
+
190
+ ```json
191
+ {
192
+ "exports": {
193
+ "./foo/": "./dist/foo/"
194
+ }
195
+ }
196
+ ```
197
+
198
+ This was deprecated with Node 14 and removed in Node 17, instead it is recommended to use exports patterns like
199
+
200
+ ```json
201
+ {
202
+ "exports": {
203
+ "./foo/*": "./dist/foo/*"
204
+ }
205
+ }
206
+ ```
207
+
208
+ But for backwards compatibility this behavior is still supported by enabling the `allowExportsFolderMapping` (defaults to `true`).
209
+ The default value might change in a futur major release.
210
+
211
+ ## Preserving symlinks
212
+
213
+ This plugin honours the rollup [`preserveSymlinks`](https://rollupjs.org/guide/en/#preservesymlinks) option.
214
+
215
+ ## Using with @rollup/plugin-commonjs
216
+
217
+ Since most packages in your node_modules folder are probably legacy CommonJS rather than JavaScript modules, you may need to use [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/master/packages/commonjs):
218
+
219
+ ```js
220
+ // rollup.config.js
221
+ import { nodeResolve } from '@rollup/plugin-node-resolve';
222
+ import commonjs from '@rollup/plugin-commonjs';
223
+
224
+ export default {
225
+ input: 'main.js',
226
+ output: {
227
+ file: 'bundle.js',
228
+ format: 'iife',
229
+ name: 'MyModule'
230
+ },
231
+ plugins: [nodeResolve(), commonjs()]
232
+ };
233
+ ```
234
+
235
+ ## Resolving Built-Ins (like `fs`)
236
+
237
+ By default this plugin will prefer built-ins over local modules, marking them as external.
238
+
239
+ See [`preferBuiltins`](#preferbuiltins).
240
+
241
+ To provide stubbed versions of Node built-ins, use a plugin like [rollup-plugin-node-polyfills](https://github.com/ionic-team/rollup-plugin-node-polyfills) and set `preferBuiltins` to `false`. e.g.
242
+
243
+ ```js
244
+ import { nodeResolve } from '@rollup/plugin-node-resolve';
245
+ import nodePolyfills from 'rollup-plugin-node-polyfills';
246
+ export default ({
247
+ input: ...,
248
+ plugins: [
249
+ nodePolyfills(),
250
+ nodeResolve({ preferBuiltins: false })
251
+ ],
252
+ external: builtins,
253
+ output: ...
254
+ })
255
+ ```
256
+
257
+ ## Resolving Require Statements
258
+
259
+ According to [NodeJS module resolution](https://nodejs.org/api/packages.html#packages_package_entry_points) `require` statements should resolve using the `require` condition in the package exports field, while es modules should use the `import` condition.
260
+
261
+ The node resolve plugin uses `import` by default, you can opt into using the `require` semantics by passing an extra option to the resolve function:
262
+
263
+ ```js
264
+ this.resolve(importee, importer, {
265
+ skipSelf: true,
266
+ custom: { 'node-resolve': { isRequire: true } }
267
+ });
268
+ ```
269
+
270
+ ## Resolve Options
271
+
272
+ After this plugin resolved an import id to its target file in `node_modules`, it will invoke `this.resolve` again with the resolved id. It will pass the following information in the resolve options:
273
+
274
+ ```js
275
+ this.resolve(resolved.id, importer, {
276
+ custom: {
277
+ 'node-resolve': {
278
+ resolved, // the object with information from node.js resolve
279
+ importee // the original import id
280
+ }
281
+ }
282
+ });
283
+ ```
284
+
285
+ Your plugin can use the `importee` information to map an original import to its resolved file in `node_modules`, in a plugin hook such as `resolveId`.
286
+
287
+ The `resolved` object contains the resolved id, which is passed as the first parameter. It also has a property `moduleSideEffects`, which may contain the value from the npm `package.json` field `sideEffects` or `null`.
288
+
289
+ ## Meta
290
+
291
+ [CONTRIBUTING](/.github/CONTRIBUTING.md)
292
+
293
+ [LICENSE (MIT)](/LICENSE)