@aquera/nile-elements 0.0.105 → 0.0.107

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 (230) hide show
  1. package/README.md +10 -0
  2. package/demo/filenames.txt +1 -1
  3. package/demo/variables.css +5 -0
  4. package/dist/{gdresource-e1a79719.esm.js → gdresource-4f0a76be.esm.js} +1 -1
  5. package/dist/{gdresource-437b5a62.cjs.js → gdresource-e95149c6.cjs.js} +2 -2
  6. package/dist/{gdresource-437b5a62.cjs.js.map → gdresource-e95149c6.cjs.js.map} +1 -1
  7. package/dist/gdscript-339427c2.esm.js +1 -0
  8. package/dist/gdscript-459c83a6.cjs.js +2 -0
  9. package/dist/gdscript-459c83a6.cjs.js.map +1 -0
  10. package/dist/index.cjs.js +1 -1
  11. package/dist/index.esm.js +1 -1
  12. package/dist/nile-accordion/index.cjs.js +2 -0
  13. package/dist/nile-accordion/index.esm.js +1 -0
  14. package/dist/nile-accordion/nile-accordion.cjs.js +2 -0
  15. package/dist/nile-accordion/nile-accordion.cjs.js.map +1 -0
  16. package/dist/{nile-detail/nile-detail.css.cjs.js → nile-accordion/nile-accordion.css.cjs.js} +1 -1
  17. package/dist/nile-accordion/nile-accordion.css.cjs.js.map +1 -0
  18. package/dist/{nile-detail/nile-detail.esm.js → nile-accordion/nile-accordion.esm.js} +1 -1
  19. package/dist/nile-badge/index.cjs.js +1 -1
  20. package/dist/nile-badge/index.esm.js +1 -1
  21. package/dist/nile-badge/nile-badge.cjs.js +1 -1
  22. package/dist/nile-badge/nile-badge.cjs.js.map +1 -1
  23. package/dist/nile-badge/nile-badge.esm.js +1 -1
  24. package/dist/nile-badge/nile-badge.test.cjs.js +1 -1
  25. package/dist/nile-badge/nile-badge.test.cjs.js.map +1 -1
  26. package/dist/nile-badge/nile-badge.test.esm.js +1 -1
  27. package/dist/nile-button/index.cjs.js +1 -1
  28. package/dist/nile-button/index.esm.js +1 -1
  29. package/dist/nile-button/nile-button.cjs.js +1 -1
  30. package/dist/nile-button/nile-button.cjs.js.map +1 -1
  31. package/dist/nile-button/nile-button.esm.js +1 -1
  32. package/dist/nile-button/nile-button.test.cjs.js +1 -1
  33. package/dist/nile-button/nile-button.test.cjs.js.map +1 -1
  34. package/dist/nile-button/nile-button.test.esm.js +1 -1
  35. package/dist/nile-button-toggle-group/nile-button-toggle-group.cjs.js +1 -1
  36. package/dist/nile-button-toggle-group/nile-button-toggle-group.cjs.js.map +1 -1
  37. package/dist/nile-button-toggle-group/nile-button-toggle-group.esm.js +1 -1
  38. package/dist/nile-code-editor/nile-code-editor.cjs.js +2 -2
  39. package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
  40. package/dist/nile-code-editor/nile-code-editor.esm.js +2 -2
  41. package/dist/nile-dialog/index.cjs.js +1 -1
  42. package/dist/nile-dialog/index.esm.js +1 -1
  43. package/dist/nile-dialog/nile-dialog.cjs.js +1 -1
  44. package/dist/nile-dialog/nile-dialog.cjs.js.map +1 -1
  45. package/dist/nile-dialog/nile-dialog.css.cjs.js +1 -1
  46. package/dist/nile-dialog/nile-dialog.css.cjs.js.map +1 -1
  47. package/dist/nile-dialog/nile-dialog.css.esm.js +2 -0
  48. package/dist/nile-dialog/nile-dialog.esm.js +3 -3
  49. package/dist/nile-drawer/index.cjs.js +1 -1
  50. package/dist/nile-drawer/index.esm.js +1 -1
  51. package/dist/nile-drawer/nile-drawer.cjs.js +1 -1
  52. package/dist/nile-drawer/nile-drawer.cjs.js.map +1 -1
  53. package/dist/nile-drawer/nile-drawer.esm.js +1 -1
  54. package/dist/nile-drawer/nile-drawer.test.cjs.js +1 -1
  55. package/dist/nile-drawer/nile-drawer.test.cjs.js.map +1 -1
  56. package/dist/nile-drawer/nile-drawer.test.esm.js +1 -1
  57. package/dist/nile-highlighter/nile-highlighter.cjs.js +1 -1
  58. package/dist/nile-highlighter/nile-highlighter.cjs.js.map +1 -1
  59. package/dist/nile-highlighter/nile-highlighter.esm.js +1 -1
  60. package/dist/nile-icon/icons/svg/activity-logs.cjs.js +2 -0
  61. package/dist/nile-icon/icons/svg/activity-logs.cjs.js.map +1 -0
  62. package/dist/nile-icon/icons/svg/activity-logs.esm.js +1 -0
  63. package/dist/nile-icon/icons/svg/automation-details.cjs.js +2 -0
  64. package/dist/nile-icon/icons/svg/automation-details.cjs.js.map +1 -0
  65. package/dist/nile-icon/icons/svg/automation-details.esm.js +1 -0
  66. package/dist/nile-icon/icons/svg/bar-char.cjs.js +2 -0
  67. package/dist/nile-icon/icons/svg/bar-char.cjs.js.map +1 -0
  68. package/dist/nile-icon/icons/svg/bar-char.esm.js +1 -0
  69. package/dist/nile-icon/icons/svg/bar-chart.cjs.js +2 -0
  70. package/dist/nile-icon/icons/svg/bar-chart.cjs.js.map +1 -0
  71. package/dist/nile-icon/icons/svg/bar-chart.esm.js +1 -0
  72. package/dist/nile-icon/icons/svg/index.cjs.js +1 -1
  73. package/dist/nile-icon/icons/svg/index.esm.js +1 -1
  74. package/dist/nile-icon/icons/svg/manage-users.cjs.js +2 -0
  75. package/dist/nile-icon/icons/svg/manage-users.cjs.js.map +1 -0
  76. package/dist/nile-icon/icons/svg/manage-users.esm.js +1 -0
  77. package/dist/nile-icon/icons/svg/my-integration.cjs.js +2 -0
  78. package/dist/nile-icon/icons/svg/my-integration.cjs.js.map +1 -0
  79. package/dist/nile-icon/icons/svg/my-integration.esm.js +1 -0
  80. package/dist/nile-icon/index.cjs.js +1 -1
  81. package/dist/nile-icon/index.cjs.js.map +1 -1
  82. package/dist/nile-icon/index.esm.js +1 -1
  83. package/dist/nile-icon/nile-icon.test.cjs.js +1 -1
  84. package/dist/nile-icon/nile-icon.test.cjs.js.map +1 -1
  85. package/dist/nile-icon/nile-icon.test.esm.js +1 -1
  86. package/dist/nile-icon-button/index.cjs.js +1 -1
  87. package/dist/nile-icon-button/index.esm.js +1 -1
  88. package/dist/nile-icon-button/nile-icon-button.cjs.js +1 -1
  89. package/dist/nile-icon-button/nile-icon-button.cjs.js.map +1 -1
  90. package/dist/nile-icon-button/nile-icon-button.esm.js +1 -1
  91. package/dist/nile-input/index.cjs.js +1 -1
  92. package/dist/nile-input/index.esm.js +1 -1
  93. package/dist/nile-input/nile-input.cjs.js +1 -1
  94. package/dist/nile-input/nile-input.cjs.js.map +1 -1
  95. package/dist/nile-input/nile-input.esm.js +3 -3
  96. package/dist/nile-input/nile-input.test.cjs.js +1 -1
  97. package/dist/nile-input/nile-input.test.cjs.js.map +1 -1
  98. package/dist/nile-input/nile-input.test.esm.js +1 -1
  99. package/dist/nile-menu-item/index.cjs.js +1 -1
  100. package/dist/nile-menu-item/index.esm.js +1 -1
  101. package/dist/nile-menu-item/nile-menu-item.cjs.js +1 -1
  102. package/dist/nile-menu-item/nile-menu-item.cjs.js.map +1 -1
  103. package/dist/nile-menu-item/nile-menu-item.esm.js +1 -1
  104. package/dist/nile-option/index.cjs.js +1 -1
  105. package/dist/nile-option/index.esm.js +1 -1
  106. package/dist/nile-option/nile-option.cjs.js +1 -1
  107. package/dist/nile-option/nile-option.cjs.js.map +1 -1
  108. package/dist/nile-option/nile-option.esm.js +1 -1
  109. package/dist/nile-select/index.cjs.js +1 -1
  110. package/dist/nile-select/index.esm.js +1 -1
  111. package/dist/nile-select/nile-select.cjs.js +1 -1
  112. package/dist/nile-select/nile-select.cjs.js.map +1 -1
  113. package/dist/nile-select/nile-select.esm.js +1 -1
  114. package/dist/nile-tab/index.cjs.js +1 -1
  115. package/dist/nile-tab/index.esm.js +1 -1
  116. package/dist/nile-tab/nile-tab.cjs.js +1 -1
  117. package/dist/nile-tab/nile-tab.cjs.js.map +1 -1
  118. package/dist/nile-tab/nile-tab.esm.js +1 -1
  119. package/dist/nile-tab-group/index.cjs.js +1 -1
  120. package/dist/nile-tab-group/index.esm.js +1 -1
  121. package/dist/nile-tab-group/nile-tab-group.cjs.js +1 -1
  122. package/dist/nile-tab-group/nile-tab-group.cjs.js.map +1 -1
  123. package/dist/nile-tab-group/nile-tab-group.esm.js +2 -2
  124. package/dist/nile-tag/index.cjs.js +1 -1
  125. package/dist/nile-tag/index.esm.js +1 -1
  126. package/dist/nile-tag/nile-tag.cjs.js +1 -1
  127. package/dist/nile-tag/nile-tag.cjs.js.map +1 -1
  128. package/dist/nile-tag/nile-tag.esm.js +1 -1
  129. package/dist/nile-toast/index.cjs.js +1 -1
  130. package/dist/nile-toast/index.esm.js +1 -1
  131. package/dist/nile-toast/nile-toast.cjs.js +1 -1
  132. package/dist/nile-toast/nile-toast.cjs.js.map +1 -1
  133. package/dist/nile-toast/nile-toast.esm.js +1 -1
  134. package/dist/nile-tree/index.cjs.js +1 -1
  135. package/dist/nile-tree/index.esm.js +1 -1
  136. package/dist/nile-tree/nile-tree.cjs.js +1 -1
  137. package/dist/nile-tree/nile-tree.cjs.js.map +1 -1
  138. package/dist/nile-tree/nile-tree.esm.js +1 -1
  139. package/dist/nile-tree-item/index.cjs.js +1 -1
  140. package/dist/nile-tree-item/index.esm.js +1 -1
  141. package/dist/nile-tree-item/nile-tree-item.cjs.js +1 -1
  142. package/dist/nile-tree-item/nile-tree-item.cjs.js.map +1 -1
  143. package/dist/nile-tree-item/nile-tree-item.esm.js +1 -1
  144. package/dist/{one-dark-pro-5acc6d52.cjs.js → one-dark-pro-24cb9741.cjs.js} +2 -2
  145. package/dist/{one-dark-pro-5acc6d52.cjs.js.map → one-dark-pro-24cb9741.cjs.js.map} +1 -1
  146. package/dist/{one-dark-pro-6ca8f674.esm.js → one-dark-pro-2d133f61.esm.js} +1 -1
  147. package/dist/src/index.d.ts +1 -1
  148. package/dist/src/index.js +1 -1
  149. package/dist/src/index.js.map +1 -1
  150. package/dist/src/nile-accordion/index.d.ts +1 -0
  151. package/dist/src/nile-accordion/index.js +2 -0
  152. package/dist/src/nile-accordion/index.js.map +1 -0
  153. package/dist/src/{nile-detail/nile-detail.css.js → nile-accordion/nile-accordion.css.js} +1 -1
  154. package/dist/src/nile-accordion/nile-accordion.css.js.map +1 -0
  155. package/dist/src/{nile-detail/nile-detail.d.ts → nile-accordion/nile-accordion.d.ts} +3 -3
  156. package/dist/src/{nile-detail/nile-detail.js → nile-accordion/nile-accordion.js} +16 -16
  157. package/dist/src/nile-accordion/nile-accordion.js.map +1 -0
  158. package/dist/src/nile-button-toggle-group/nile-button-toggle-group.d.ts +1 -1
  159. package/dist/src/nile-button-toggle-group/nile-button-toggle-group.js +6 -3
  160. package/dist/src/nile-button-toggle-group/nile-button-toggle-group.js.map +1 -1
  161. package/dist/src/nile-code-editor/nile-code-editor.d.ts +2 -1
  162. package/dist/src/nile-code-editor/nile-code-editor.js +12 -1
  163. package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
  164. package/dist/src/nile-dialog/nile-dialog.css.js +2 -0
  165. package/dist/src/nile-dialog/nile-dialog.css.js.map +1 -1
  166. package/dist/src/nile-icon/icons/svg/activity-logs.d.ts +5 -0
  167. package/dist/src/nile-icon/icons/svg/activity-logs.js +5 -0
  168. package/dist/src/nile-icon/icons/svg/activity-logs.js.map +1 -0
  169. package/dist/src/nile-icon/icons/svg/automation-details.d.ts +5 -0
  170. package/dist/src/nile-icon/icons/svg/automation-details.js +5 -0
  171. package/dist/src/nile-icon/icons/svg/automation-details.js.map +1 -0
  172. package/dist/src/nile-icon/icons/svg/bar-char.d.ts +5 -0
  173. package/dist/src/nile-icon/icons/svg/bar-char.js +5 -0
  174. package/dist/src/nile-icon/icons/svg/bar-char.js.map +1 -0
  175. package/dist/src/nile-icon/icons/svg/bar-chart.d.ts +5 -0
  176. package/dist/src/nile-icon/icons/svg/bar-chart.js +5 -0
  177. package/dist/src/nile-icon/icons/svg/bar-chart.js.map +1 -0
  178. package/dist/src/nile-icon/icons/svg/index.d.ts +5 -0
  179. package/dist/src/nile-icon/icons/svg/index.js +5 -0
  180. package/dist/src/nile-icon/icons/svg/index.js.map +1 -1
  181. package/dist/src/nile-icon/icons/svg/manage-users.d.ts +5 -0
  182. package/dist/src/nile-icon/icons/svg/manage-users.js +5 -0
  183. package/dist/src/nile-icon/icons/svg/manage-users.js.map +1 -0
  184. package/dist/src/nile-icon/icons/svg/my-integration.d.ts +5 -0
  185. package/dist/src/nile-icon/icons/svg/my-integration.js +5 -0
  186. package/dist/src/nile-icon/icons/svg/my-integration.js.map +1 -0
  187. package/dist/src/nile-input/nile-input.d.ts +1 -0
  188. package/dist/src/nile-input/nile-input.js +5 -1
  189. package/dist/src/nile-input/nile-input.js.map +1 -1
  190. package/dist/src/nile-tab/nile-tab.js +2 -2
  191. package/dist/src/nile-tab/nile-tab.js.map +1 -1
  192. package/dist/src/nile-tab-group/nile-tab-group.js +3 -3
  193. package/dist/src/nile-tab-group/nile-tab-group.js.map +1 -1
  194. package/dist/tsconfig.tsbuildinfo +1 -1
  195. package/package.json +2 -1
  196. package/src/index.ts +1 -1
  197. package/src/nile-accordion/index.ts +1 -0
  198. package/src/{nile-detail/nile-detail.ts → nile-accordion/nile-accordion.ts} +4 -4
  199. package/src/nile-button-toggle-group/nile-button-toggle-group.ts +3 -4
  200. package/src/nile-code-editor/nile-code-editor.ts +14 -2
  201. package/src/nile-dialog/nile-dialog.css.ts +2 -0
  202. package/src/nile-icon/icons/svg/activity-logs.ts +5 -0
  203. package/src/nile-icon/icons/svg/automation-details.ts +5 -0
  204. package/src/nile-icon/icons/svg/bar-char.ts +5 -0
  205. package/src/nile-icon/icons/svg/bar-chart.ts +5 -0
  206. package/src/nile-icon/icons/svg/index.ts +5 -0
  207. package/src/nile-icon/icons/svg/manage-users.ts +5 -0
  208. package/src/nile-icon/icons/svg/my-integration.ts +5 -0
  209. package/src/nile-input/nile-input.ts +3 -1
  210. package/src/nile-tab/nile-tab.ts +2 -2
  211. package/src/nile-tab-group/nile-tab-group.ts +3 -3
  212. package/web-dev-server.config.mjs +1 -1
  213. package/dist/gdscript-3009ea81.esm.js +0 -1
  214. package/dist/gdscript-49ede485.cjs.js +0 -2
  215. package/dist/gdscript-49ede485.cjs.js.map +0 -1
  216. package/dist/nile-detail/index.cjs.js +0 -2
  217. package/dist/nile-detail/index.esm.js +0 -1
  218. package/dist/nile-detail/nile-detail.cjs.js +0 -2
  219. package/dist/nile-detail/nile-detail.cjs.js.map +0 -1
  220. package/dist/nile-detail/nile-detail.css.cjs.js.map +0 -1
  221. package/dist/src/nile-detail/index.d.ts +0 -1
  222. package/dist/src/nile-detail/index.js +0 -2
  223. package/dist/src/nile-detail/index.js.map +0 -1
  224. package/dist/src/nile-detail/nile-detail.css.js.map +0 -1
  225. package/dist/src/nile-detail/nile-detail.js.map +0 -1
  226. package/src/nile-detail/index.ts +0 -1
  227. /package/dist/{nile-detail → nile-accordion}/index.cjs.js.map +0 -0
  228. /package/dist/{nile-detail/nile-detail.css.esm.js → nile-accordion/nile-accordion.css.esm.js} +0 -0
  229. /package/dist/src/{nile-detail/nile-detail.css.d.ts → nile-accordion/nile-accordion.css.d.ts} +0 -0
  230. /package/src/{nile-detail/nile-detail.css.ts → nile-accordion/nile-accordion.css.ts} +0 -0
@@ -1 +1 @@
1
- var e=Object.freeze({colors:{"activityBar.background":"#282c34","activityBar.foreground":"#d7dae0","activityBarBadge.background":"#4d78cc","activityBarBadge.foreground":"#f8fafd","badge.background":"#282c34","button.background":"#404754","button.secondaryBackground":"#30333d","button.secondaryForeground":"#c0bdbd","checkbox.border":"#404754","debugToolBar.background":"#21252b",descriptionForeground:"#abb2bf","diffEditor.insertedTextBackground":"#00809b33","dropdown.background":"#21252b","dropdown.border":"#21252b","editor.background":"#282c34","editor.findMatchBackground":"#d19a6644","editor.findMatchBorder":"#ffffff5a","editor.findMatchHighlightBackground":"#ffffff22","editor.foreground":"#abb2bf","editor.lineHighlightBackground":"#2c313c","editor.selectionBackground":"#67769660","editor.selectionHighlightBackground":"#ffffff10","editor.selectionHighlightBorder":"#dddddd","editor.wordHighlightBackground":"#d2e0ff2f","editor.wordHighlightBorder":"#7f848e","editor.wordHighlightStrongBackground":"#abb2bf26","editor.wordHighlightStrongBorder":"#7f848e","editorBracketHighlight.foreground1":"#d19a66","editorBracketHighlight.foreground2":"#c678dd","editorBracketHighlight.foreground3":"#56b6c2","editorBracketMatch.background":"#515a6b","editorBracketMatch.border":"#515a6b","editorCursor.background":"#ffffffc9","editorCursor.foreground":"#528bff","editorError.foreground":"#c24038","editorGroup.background":"#181a1f","editorGroup.border":"#181a1f","editorGroupHeader.tabsBackground":"#21252b","editorGutter.addedBackground":"#109868","editorGutter.deletedBackground":"#9A353D","editorGutter.modifiedBackground":"#948B60","editorHoverWidget.background":"#21252b","editorHoverWidget.border":"#181a1f","editorHoverWidget.highlightForeground":"#61afef","editorIndentGuide.activeBackground":"#c8c8c859","editorIndentGuide.background":"#3b4048","editorInlayHint.background":"#2c313c","editorInlayHint.foreground":"#abb2bf","editorLineNumber.activeForeground":"#abb2bf","editorLineNumber.foreground":"#495162","editorMarkerNavigation.background":"#21252b","editorOverviewRuler.addedBackground":"#109868","editorOverviewRuler.deletedBackground":"#9A353D","editorOverviewRuler.modifiedBackground":"#948B60","editorRuler.foreground":"#abb2bf26","editorSuggestWidget.background":"#21252b","editorSuggestWidget.border":"#181a1f","editorSuggestWidget.selectedBackground":"#2c313a","editorWarning.foreground":"#d19a66","editorWhitespace.foreground":"#ffffff1d","editorWidget.background":"#21252b",focusBorder:"#3e4452","gitDecoration.ignoredResourceForeground":"#636b78","input.background":"#1d1f23","input.foreground":"#abb2bf","list.activeSelectionBackground":"#2c313a","list.activeSelectionForeground":"#d7dae0","list.focusBackground":"#323842","list.focusForeground":"#f0f0f0","list.highlightForeground":"#ecebeb","list.hoverBackground":"#2c313a","list.hoverForeground":"#abb2bf","list.inactiveSelectionBackground":"#323842","list.inactiveSelectionForeground":"#d7dae0","list.warningForeground":"#d19a66","menu.foreground":"#abb2bf","menu.separatorBackground":"#343a45","minimapGutter.addedBackground":"#109868","minimapGutter.deletedBackground":"#9A353D","minimapGutter.modifiedBackground":"#948B60","panel.border":"#3e4452","panelSectionHeader.background":"#21252b","peekViewEditor.background":"#1b1d23","peekViewEditor.matchHighlightBackground":"#29244b","peekViewResult.background":"#22262b","scrollbar.shadow":"#23252c","scrollbarSlider.activeBackground":"#747d9180","scrollbarSlider.background":"#4e566660","scrollbarSlider.hoverBackground":"#5a637580","settings.focusedRowBackground":"#282c34","settings.headerForeground":"#fff","sideBar.background":"#21252b","sideBar.foreground":"#abb2bf","sideBarSectionHeader.background":"#282c34","sideBarSectionHeader.foreground":"#abb2bf","statusBar.background":"#21252b","statusBar.debuggingBackground":"#cc6633","statusBar.debuggingBorder":"#ff000000","statusBar.debuggingForeground":"#ffffff","statusBar.foreground":"#9da5b4","statusBar.noFolderBackground":"#21252b","statusBarItem.remoteBackground":"#4d78cc","statusBarItem.remoteForeground":"#f8fafd","tab.activeBackground":"#282c34","tab.activeBorder":"#b4b4b4","tab.activeForeground":"#dcdcdc","tab.border":"#181a1f","tab.hoverBackground":"#323842","tab.inactiveBackground":"#21252b","tab.unfocusedHoverBackground":"#323842","terminal.ansiBlack":"#3f4451","terminal.ansiBlue":"#4aa5f0","terminal.ansiBrightBlack":"#4f5666","terminal.ansiBrightBlue":"#4dc4ff","terminal.ansiBrightCyan":"#4cd1e0","terminal.ansiBrightGreen":"#a5e075","terminal.ansiBrightMagenta":"#de73ff","terminal.ansiBrightRed":"#ff616e","terminal.ansiBrightWhite":"#e6e6e6","terminal.ansiBrightYellow":"#f0a45d","terminal.ansiCyan":"#42b3c2","terminal.ansiGreen":"#8cc265","terminal.ansiMagenta":"#c162de","terminal.ansiRed":"#e05561","terminal.ansiWhite":"#d7dae0","terminal.ansiYellow":"#d18f52","terminal.background":"#282c34","terminal.border":"#3e4452","terminal.foreground":"#abb2bf","terminal.selectionBackground":"#abb2bf30","textBlockQuote.background":"#2e3440","textBlockQuote.border":"#4b5362","textLink.foreground":"#61afef","textPreformat.foreground":"#d19a66","titleBar.activeBackground":"#282c34","titleBar.activeForeground":"#9da5b4","titleBar.inactiveBackground":"#282c34","titleBar.inactiveForeground":"#6b717d","tree.indentGuidesStroke":"#ffffff1d","walkThrough.embeddedEditorBackground":"#2e3440","welcomePage.buttonHoverBackground":"#404754"},displayName:"One Dark Pro",name:"one-dark-pro",semanticHighlighting:!0,semanticTokenColors:{"annotation:dart":{foreground:"#d19a66"},enumMember:{foreground:"#56b6c2"},macro:{foreground:"#d19a66"},memberOperatorOverload:{foreground:"#c678dd"},"parameter.label:dart":{foreground:"#abb2bf"},"property:dart":{foreground:"#d19a66"},tomlArrayKey:{foreground:"#e5c07b"},"variable.constant":{foreground:"#d19a66"},"variable.defaultLibrary":{foreground:"#e5c07b"},"variable:dart":{foreground:"#d19a66"}},tokenColors:[{scope:"meta.embedded",settings:{foreground:"#abb2bf"}},{scope:"punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison",settings:{foreground:"#e06c75"}},{scope:"variable.other.generic-type.haskell",settings:{foreground:"#c678dd"}},{scope:"storage.type.haskell",settings:{foreground:"#d19a66"}},{scope:"support.variable.magic.python",settings:{foreground:"#e06c75"}},{scope:"punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python",settings:{foreground:"#abb2bf"}},{scope:"variable.parameter.function.language.special.self.python",settings:{foreground:"#e5c07b"}},{scope:"variable.parameter.function.language.special.cls.python",settings:{foreground:"#e5c07b"}},{scope:"storage.modifier.lifetime.rust",settings:{foreground:"#abb2bf"}},{scope:"support.function.std.rust",settings:{foreground:"#61afef"}},{scope:"entity.name.lifetime.rust",settings:{foreground:"#e5c07b"}},{scope:"variable.language.rust",settings:{foreground:"#e06c75"}},{scope:"support.constant.edge",settings:{foreground:"#c678dd"}},{scope:"constant.other.character-class.regexp",settings:{foreground:"#e06c75"}},{scope:["keyword.operator.word"],settings:{foreground:"#c678dd"}},{scope:"keyword.operator.quantifier.regexp",settings:{foreground:"#d19a66"}},{scope:"variable.parameter.function",settings:{foreground:"#abb2bf"}},{scope:"comment markup.link",settings:{foreground:"#5c6370"}},{scope:"markup.changed.diff",settings:{foreground:"#e5c07b"}},{scope:"meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff",settings:{foreground:"#61afef"}},{scope:"markup.inserted.diff",settings:{foreground:"#98c379"}},{scope:"markup.deleted.diff",settings:{foreground:"#e06c75"}},{scope:"meta.function.c,meta.function.cpp",settings:{foreground:"#e06c75"}},{scope:"punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c",settings:{foreground:"#abb2bf"}},{scope:"punctuation.separator.key-value",settings:{foreground:"#abb2bf"}},{scope:"keyword.operator.expression.import",settings:{foreground:"#61afef"}},{scope:"support.constant.math",settings:{foreground:"#e5c07b"}},{scope:"support.constant.property.math",settings:{foreground:"#d19a66"}},{scope:"variable.other.constant",settings:{foreground:"#e5c07b"}},{scope:["storage.type.annotation.java","storage.type.object.array.java"],settings:{foreground:"#e5c07b"}},{scope:"source.java",settings:{foreground:"#e06c75"}},{scope:"punctuation.section.block.begin.java,punctuation.section.block.end.java,punctuation.definition.method-parameters.begin.java,punctuation.definition.method-parameters.end.java,meta.method.identifier.java,punctuation.section.method.begin.java,punctuation.section.method.end.java,punctuation.terminator.java,punctuation.section.class.begin.java,punctuation.section.class.end.java,punctuation.section.inner-class.begin.java,punctuation.section.inner-class.end.java,meta.method-call.java,punctuation.section.class.begin.bracket.curly.java,punctuation.section.class.end.bracket.curly.java,punctuation.section.method.begin.bracket.curly.java,punctuation.section.method.end.bracket.curly.java,punctuation.separator.period.java,punctuation.bracket.angle.java,punctuation.definition.annotation.java,meta.method.body.java",settings:{foreground:"#abb2bf"}},{scope:"meta.method.java",settings:{foreground:"#61afef"}},{scope:"storage.modifier.import.java,storage.type.java,storage.type.generic.java",settings:{foreground:"#e5c07b"}},{scope:"keyword.operator.instanceof.java",settings:{foreground:"#c678dd"}},{scope:"meta.definition.variable.name.java",settings:{foreground:"#e06c75"}},{scope:"keyword.operator.logical",settings:{foreground:"#56b6c2"}},{scope:"keyword.operator.bitwise",settings:{foreground:"#56b6c2"}},{scope:"keyword.operator.channel",settings:{foreground:"#56b6c2"}},{scope:"support.constant.property-value.scss,support.constant.property-value.css",settings:{foreground:"#d19a66"}},{scope:"keyword.operator.css,keyword.operator.scss,keyword.operator.less",settings:{foreground:"#56b6c2"}},{scope:"support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss",settings:{foreground:"#d19a66"}},{scope:"punctuation.separator.list.comma.css",settings:{foreground:"#abb2bf"}},{scope:"support.constant.color.w3c-standard-color-name.css",settings:{foreground:"#d19a66"}},{scope:"support.type.vendored.property-name.css",settings:{foreground:"#56b6c2"}},{scope:"support.module.node,support.type.object.module,support.module.node",settings:{foreground:"#e5c07b"}},{scope:"entity.name.type.module",settings:{foreground:"#e5c07b"}},{scope:"variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node",settings:{foreground:"#e06c75"}},{scope:"support.constant.json",settings:{foreground:"#d19a66"}},{scope:["keyword.operator.expression.instanceof","keyword.operator.new","keyword.operator.ternary","keyword.operator.optional","keyword.operator.expression.keyof"],settings:{foreground:"#c678dd"}},{scope:"support.type.object.console",settings:{foreground:"#e06c75"}},{scope:"support.variable.property.process",settings:{foreground:"#d19a66"}},{scope:"entity.name.function,support.function.console",settings:{foreground:"#61afef"}},{scope:"keyword.operator.misc.rust",settings:{foreground:"#abb2bf"}},{scope:"keyword.operator.sigil.rust",settings:{foreground:"#c678dd"}},{scope:"keyword.operator.delete",settings:{foreground:"#c678dd"}},{scope:"support.type.object.dom",settings:{foreground:"#56b6c2"}},{scope:"support.variable.dom,support.variable.property.dom",settings:{foreground:"#e06c75"}},{scope:"keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational",settings:{foreground:"#56b6c2"}},{scope:"keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c,keyword.operator.decrement.c,keyword.operator.bitwise.shift.c,keyword.operator.assignment.cpp,keyword.operator.comparison.cpp,keyword.operator.cpp,keyword.operator.increment.cpp,keyword.operator.decrement.cpp,keyword.operator.bitwise.shift.cpp",settings:{foreground:"#c678dd"}},{scope:"punctuation.separator.delimiter",settings:{foreground:"#abb2bf"}},{scope:"punctuation.separator.c,punctuation.separator.cpp",settings:{foreground:"#c678dd"}},{scope:"support.type.posix-reserved.c,support.type.posix-reserved.cpp",settings:{foreground:"#56b6c2"}},{scope:"keyword.operator.sizeof.c,keyword.operator.sizeof.cpp",settings:{foreground:"#c678dd"}},{scope:"variable.parameter.function.language.python",settings:{foreground:"#d19a66"}},{scope:"support.type.python",settings:{foreground:"#56b6c2"}},{scope:"keyword.operator.logical.python",settings:{foreground:"#c678dd"}},{scope:"variable.parameter.function.python",settings:{foreground:"#d19a66"}},{scope:"punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python",settings:{foreground:"#abb2bf"}},{scope:"meta.function-call.generic.python",settings:{foreground:"#61afef"}},{scope:"constant.character.format.placeholder.other.python",settings:{foreground:"#d19a66"}},{scope:"keyword.operator",settings:{foreground:"#abb2bf"}},{scope:"keyword.operator.assignment.compound",settings:{foreground:"#c678dd"}},{scope:"keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts",settings:{foreground:"#56b6c2"}},{scope:"keyword",settings:{foreground:"#c678dd"}},{scope:"entity.name.namespace",settings:{foreground:"#e5c07b"}},{scope:"variable",settings:{foreground:"#e06c75"}},{scope:"variable.c",settings:{foreground:"#abb2bf"}},{scope:"variable.language",settings:{foreground:"#e5c07b"}},{scope:"token.variable.parameter.java",settings:{foreground:"#abb2bf"}},{scope:"import.storage.java",settings:{foreground:"#e5c07b"}},{scope:"token.package.keyword",settings:{foreground:"#c678dd"}},{scope:"token.package",settings:{foreground:"#abb2bf"}},{scope:["entity.name.function","meta.require","support.function.any-method","variable.function"],settings:{foreground:"#61afef"}},{scope:"entity.name.type.namespace",settings:{foreground:"#e5c07b"}},{scope:"support.class, entity.name.type.class",settings:{foreground:"#e5c07b"}},{scope:"entity.name.class.identifier.namespace.type",settings:{foreground:"#e5c07b"}},{scope:["entity.name.class","variable.other.class.js","variable.other.class.ts"],settings:{foreground:"#e5c07b"}},{scope:"variable.other.class.php",settings:{foreground:"#e06c75"}},{scope:"entity.name.type",settings:{foreground:"#e5c07b"}},{scope:"keyword.control",settings:{foreground:"#c678dd"}},{scope:"control.elements, keyword.operator.less",settings:{foreground:"#d19a66"}},{scope:"keyword.other.special-method",settings:{foreground:"#61afef"}},{scope:"storage",settings:{foreground:"#c678dd"}},{scope:"token.storage",settings:{foreground:"#c678dd"}},{scope:"keyword.operator.expression.delete,keyword.operator.expression.in,keyword.operator.expression.of,keyword.operator.expression.instanceof,keyword.operator.new,keyword.operator.expression.typeof,keyword.operator.expression.void",settings:{foreground:"#c678dd"}},{scope:"token.storage.type.java",settings:{foreground:"#e5c07b"}},{scope:"support.function",settings:{foreground:"#56b6c2"}},{scope:"support.type.property-name",settings:{foreground:"#abb2bf"}},{scope:"support.type.property-name.toml, support.type.property-name.table.toml, support.type.property-name.array.toml",settings:{foreground:"#e06c75"}},{scope:"support.constant.property-value",settings:{foreground:"#abb2bf"}},{scope:"support.constant.font-name",settings:{foreground:"#d19a66"}},{scope:"meta.tag",settings:{foreground:"#abb2bf"}},{scope:"string",settings:{foreground:"#98c379"}},{scope:"constant.other.symbol",settings:{foreground:"#56b6c2"}},{scope:"constant.numeric",settings:{foreground:"#d19a66"}},{scope:"constant",settings:{foreground:"#d19a66"}},{scope:"punctuation.definition.constant",settings:{foreground:"#d19a66"}},{scope:"entity.name.tag",settings:{foreground:"#e06c75"}},{scope:"entity.other.attribute-name",settings:{foreground:"#d19a66"}},{scope:"entity.other.attribute-name.id",settings:{foreground:"#61afef"}},{scope:"entity.other.attribute-name.class.css",settings:{foreground:"#d19a66"}},{scope:"meta.selector",settings:{foreground:"#c678dd"}},{scope:"markup.heading",settings:{foreground:"#e06c75"}},{scope:"markup.heading punctuation.definition.heading, entity.name.section",settings:{foreground:"#61afef"}},{scope:"keyword.other.unit",settings:{foreground:"#e06c75"}},{scope:"markup.bold,todo.bold",settings:{foreground:"#d19a66"}},{scope:"punctuation.definition.bold",settings:{foreground:"#e5c07b"}},{scope:"markup.italic, punctuation.definition.italic,todo.emphasis",settings:{foreground:"#c678dd"}},{scope:"emphasis md",settings:{foreground:"#c678dd"}},{scope:"entity.name.section.markdown",settings:{foreground:"#e06c75"}},{scope:"punctuation.definition.heading.markdown",settings:{foreground:"#e06c75"}},{scope:"punctuation.definition.list.begin.markdown",settings:{foreground:"#e5c07b"}},{scope:"markup.heading.setext",settings:{foreground:"#abb2bf"}},{scope:"punctuation.definition.bold.markdown",settings:{foreground:"#d19a66"}},{scope:"markup.inline.raw.markdown",settings:{foreground:"#98c379"}},{scope:"markup.inline.raw.string.markdown",settings:{foreground:"#98c379"}},{scope:"punctuation.definition.raw.markdown",settings:{foreground:"#e5c07b"}},{scope:"punctuation.definition.list.markdown",settings:{foreground:"#e5c07b"}},{scope:["punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown","punctuation.definition.metadata.markdown"],settings:{foreground:"#e06c75"}},{scope:["beginning.punctuation.definition.list.markdown"],settings:{foreground:"#e06c75"}},{scope:"punctuation.definition.metadata.markdown",settings:{foreground:"#e06c75"}},{scope:"markup.underline.link.markdown,markup.underline.link.image.markdown",settings:{foreground:"#c678dd"}},{scope:"string.other.link.title.markdown,string.other.link.description.markdown",settings:{foreground:"#61afef"}},{scope:"markup.raw.monospace.asciidoc",settings:{foreground:"#98c379"}},{scope:"punctuation.definition.asciidoc",settings:{foreground:"#e5c07b"}},{scope:"markup.list.asciidoc",settings:{foreground:"#e5c07b"}},{scope:"markup.link.asciidoc,markup.other.url.asciidoc",settings:{foreground:"#c678dd"}},{scope:"string.unquoted.asciidoc,markup.other.url.asciidoc",settings:{foreground:"#61afef"}},{scope:"string.regexp",settings:{foreground:"#56b6c2"}},{scope:"punctuation.section.embedded, variable.interpolation",settings:{foreground:"#e06c75"}},{scope:"punctuation.section.embedded.begin,punctuation.section.embedded.end",settings:{foreground:"#c678dd"}},{scope:"invalid.illegal",settings:{foreground:"#ffffff"}},{scope:"invalid.illegal.bad-ampersand.html",settings:{foreground:"#abb2bf"}},{scope:"invalid.illegal.unrecognized-tag.html",settings:{foreground:"#e06c75"}},{scope:"invalid.broken",settings:{foreground:"#ffffff"}},{scope:"invalid.deprecated",settings:{foreground:"#ffffff"}},{scope:"invalid.deprecated.entity.other.attribute-name.html",settings:{foreground:"#d19a66"}},{scope:"invalid.unimplemented",settings:{foreground:"#ffffff"}},{scope:"source.json meta.structure.dictionary.json > string.quoted.json",settings:{foreground:"#e06c75"}},{scope:"source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string",settings:{foreground:"#e06c75"}},{scope:"source.json meta.structure.dictionary.json > value.json > string.quoted.json,source.json meta.structure.array.json > value.json > string.quoted.json,source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation,source.json meta.structure.array.json > value.json > string.quoted.json > punctuation",settings:{foreground:"#98c379"}},{scope:"source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json",settings:{foreground:"#56b6c2"}},{scope:"support.type.property-name.json",settings:{foreground:"#e06c75"}},{scope:"support.type.property-name.json punctuation",settings:{foreground:"#e06c75"}},{scope:"text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade",settings:{foreground:"#c678dd"}},{scope:"text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade",settings:{foreground:"#c678dd"}},{scope:"support.other.namespace.use.php,support.other.namespace.use-as.php,entity.other.alias.php,meta.interface.php",settings:{foreground:"#e5c07b"}},{scope:"keyword.operator.error-control.php",settings:{foreground:"#c678dd"}},{scope:"keyword.operator.type.php",settings:{foreground:"#c678dd"}},{scope:"punctuation.section.array.begin.php",settings:{foreground:"#abb2bf"}},{scope:"punctuation.section.array.end.php",settings:{foreground:"#abb2bf"}},{scope:"invalid.illegal.non-null-typehinted.php",settings:{foreground:"#f44747"}},{scope:"storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php",settings:{foreground:"#e5c07b"}},{scope:"meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php",settings:{foreground:"#61afef"}},{scope:"punctuation.definition.parameters.begin.bracket.round.php,punctuation.definition.parameters.end.bracket.round.php,punctuation.separator.delimiter.php,punctuation.section.scope.begin.php,punctuation.section.scope.end.php,punctuation.terminator.expression.php,punctuation.definition.arguments.begin.bracket.round.php,punctuation.definition.arguments.end.bracket.round.php,punctuation.definition.storage-type.begin.bracket.round.php,punctuation.definition.storage-type.end.bracket.round.php,punctuation.definition.array.begin.bracket.round.php,punctuation.definition.array.end.bracket.round.php,punctuation.definition.begin.bracket.round.php,punctuation.definition.end.bracket.round.php,punctuation.definition.begin.bracket.curly.php,punctuation.definition.end.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php,punctuation.definition.section.switch-block.start.bracket.curly.php,punctuation.definition.section.switch-block.begin.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php",settings:{foreground:"#abb2bf"}},{scope:"support.constant.core.rust",settings:{foreground:"#d19a66"}},{scope:"support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php",settings:{foreground:"#d19a66"}},{scope:"entity.name.goto-label.php,support.other.php",settings:{foreground:"#61afef"}},{scope:"keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php",settings:{foreground:"#56b6c2"}},{scope:"keyword.operator.regexp.php",settings:{foreground:"#c678dd"}},{scope:"keyword.operator.comparison.php",settings:{foreground:"#56b6c2"}},{scope:"keyword.operator.heredoc.php,keyword.operator.nowdoc.php",settings:{foreground:"#c678dd"}},{scope:"meta.function.decorator.python",settings:{foreground:"#61afef"}},{scope:"support.token.decorator.python,meta.function.decorator.identifier.python",settings:{foreground:"#56b6c2"}},{scope:"function.parameter",settings:{foreground:"#abb2bf"}},{scope:"function.brace",settings:{foreground:"#abb2bf"}},{scope:"function.parameter.ruby, function.parameter.cs",settings:{foreground:"#abb2bf"}},{scope:"constant.language.symbol.ruby",settings:{foreground:"#56b6c2"}},{scope:"constant.language.symbol.hashkey.ruby",settings:{foreground:"#56b6c2"}},{scope:"rgb-value",settings:{foreground:"#56b6c2"}},{scope:"inline-color-decoration rgb-value",settings:{foreground:"#d19a66"}},{scope:"less rgb-value",settings:{foreground:"#d19a66"}},{scope:"selector.sass",settings:{foreground:"#e06c75"}},{scope:"support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx",settings:{foreground:"#e5c07b"}},{scope:"block.scope.end,block.scope.begin",settings:{foreground:"#abb2bf"}},{scope:"storage.type.cs",settings:{foreground:"#e5c07b"}},{scope:"entity.name.variable.local.cs",settings:{foreground:"#e06c75"}},{scope:"token.info-token",settings:{foreground:"#61afef"}},{scope:"token.warn-token",settings:{foreground:"#d19a66"}},{scope:"token.error-token",settings:{foreground:"#f44747"}},{scope:"token.debug-token",settings:{foreground:"#c678dd"}},{scope:["punctuation.definition.template-expression.begin","punctuation.definition.template-expression.end","punctuation.section.embedded"],settings:{foreground:"#c678dd"}},{scope:["meta.template.expression"],settings:{foreground:"#abb2bf"}},{scope:["keyword.operator.module"],settings:{foreground:"#c678dd"}},{scope:["support.type.type.flowtype"],settings:{foreground:"#61afef"}},{scope:["support.type.primitive"],settings:{foreground:"#e5c07b"}},{scope:["meta.property.object"],settings:{foreground:"#e06c75"}},{scope:["variable.parameter.function.js"],settings:{foreground:"#e06c75"}},{scope:["keyword.other.template.begin"],settings:{foreground:"#98c379"}},{scope:["keyword.other.template.end"],settings:{foreground:"#98c379"}},{scope:["keyword.other.substitution.begin"],settings:{foreground:"#98c379"}},{scope:["keyword.other.substitution.end"],settings:{foreground:"#98c379"}},{scope:["keyword.operator.assignment"],settings:{foreground:"#56b6c2"}},{scope:["keyword.operator.assignment.go"],settings:{foreground:"#e5c07b"}},{scope:["keyword.operator.arithmetic.go","keyword.operator.address.go"],settings:{foreground:"#c678dd"}},{scope:["entity.name.package.go"],settings:{foreground:"#e5c07b"}},{scope:["support.type.prelude.elm"],settings:{foreground:"#56b6c2"}},{scope:["support.constant.elm"],settings:{foreground:"#d19a66"}},{scope:["punctuation.quasi.element"],settings:{foreground:"#c678dd"}},{scope:["constant.character.entity"],settings:{foreground:"#e06c75"}},{scope:["entity.other.attribute-name.pseudo-element","entity.other.attribute-name.pseudo-class"],settings:{foreground:"#56b6c2"}},{scope:["entity.global.clojure"],settings:{foreground:"#e5c07b"}},{scope:["meta.symbol.clojure"],settings:{foreground:"#e06c75"}},{scope:["constant.keyword.clojure"],settings:{foreground:"#56b6c2"}},{scope:["meta.arguments.coffee","variable.parameter.function.coffee"],settings:{foreground:"#e06c75"}},{scope:["source.ini"],settings:{foreground:"#98c379"}},{scope:["meta.scope.prerequisites.makefile"],settings:{foreground:"#e06c75"}},{scope:["source.makefile"],settings:{foreground:"#e5c07b"}},{scope:["storage.modifier.import.groovy"],settings:{foreground:"#e5c07b"}},{scope:["meta.method.groovy"],settings:{foreground:"#61afef"}},{scope:["meta.definition.variable.name.groovy"],settings:{foreground:"#e06c75"}},{scope:["meta.definition.class.inherited.classes.groovy"],settings:{foreground:"#98c379"}},{scope:["support.variable.semantic.hlsl"],settings:{foreground:"#e5c07b"}},{scope:["support.type.texture.hlsl","support.type.sampler.hlsl","support.type.object.hlsl","support.type.object.rw.hlsl","support.type.fx.hlsl","support.type.object.hlsl"],settings:{foreground:"#c678dd"}},{scope:["text.variable","text.bracketed"],settings:{foreground:"#e06c75"}},{scope:["support.type.swift","support.type.vb.asp"],settings:{foreground:"#e5c07b"}},{scope:["entity.name.function.xi"],settings:{foreground:"#e5c07b"}},{scope:["entity.name.class.xi"],settings:{foreground:"#56b6c2"}},{scope:["constant.character.character-class.regexp.xi"],settings:{foreground:"#e06c75"}},{scope:["constant.regexp.xi"],settings:{foreground:"#c678dd"}},{scope:["keyword.control.xi"],settings:{foreground:"#56b6c2"}},{scope:["invalid.xi"],settings:{foreground:"#abb2bf"}},{scope:["beginning.punctuation.definition.quote.markdown.xi"],settings:{foreground:"#98c379"}},{scope:["beginning.punctuation.definition.list.markdown.xi"],settings:{foreground:"#7f848e"}},{scope:["constant.character.xi"],settings:{foreground:"#61afef"}},{scope:["accent.xi"],settings:{foreground:"#61afef"}},{scope:["wikiword.xi"],settings:{foreground:"#d19a66"}},{scope:["constant.other.color.rgb-value.xi"],settings:{foreground:"#ffffff"}},{scope:["punctuation.definition.tag.xi"],settings:{foreground:"#5c6370"}},{scope:["entity.name.label.cs","entity.name.scope-resolution.function.call","entity.name.scope-resolution.function.definition"],settings:{foreground:"#e5c07b"}},{scope:["entity.name.label.cs","markup.heading.setext.1.markdown","markup.heading.setext.2.markdown"],settings:{foreground:"#e06c75"}},{scope:[" meta.brace.square"],settings:{foreground:"#abb2bf"}},{scope:"comment, punctuation.definition.comment",settings:{fontStyle:"italic",foreground:"#7f848e"}},{scope:"markup.quote.markdown",settings:{foreground:"#5c6370"}},{scope:"punctuation.definition.block.sequence.item.yaml",settings:{foreground:"#abb2bf"}},{scope:["constant.language.symbol.elixir","constant.language.symbol.double-quoted.elixir"],settings:{foreground:"#56b6c2"}},{scope:["entity.name.variable.parameter.cs"],settings:{foreground:"#e5c07b"}},{scope:["entity.name.variable.field.cs"],settings:{foreground:"#e06c75"}},{scope:"markup.deleted",settings:{foreground:"#e06c75"}},{scope:"markup.inserted",settings:{foreground:"#98c379"}},{scope:"markup.underline",settings:{fontStyle:"underline"}},{scope:["punctuation.section.embedded.begin.php","punctuation.section.embedded.end.php"],settings:{foreground:"#BE5046"}},{scope:["support.other.namespace.php"],settings:{foreground:"#abb2bf"}},{scope:["variable.parameter.function.latex"],settings:{foreground:"#e06c75"}},{scope:["variable.other.object"],settings:{foreground:"#e5c07b"}},{scope:["variable.other.constant.property"],settings:{foreground:"#e06c75"}},{scope:["entity.other.inherited-class"],settings:{foreground:"#e5c07b"}},{scope:"variable.other.readwrite.c",settings:{foreground:"#e06c75"}},{scope:"entity.name.variable.parameter.php,punctuation.separator.colon.php,constant.other.php",settings:{foreground:"#abb2bf"}},{scope:["constant.numeric.decimal.asm.x86_64"],settings:{foreground:"#c678dd"}},{scope:["support.other.parenthesis.regexp"],settings:{foreground:"#d19a66"}},{scope:["constant.character.escape"],settings:{foreground:"#56b6c2"}},{scope:["string.regexp"],settings:{foreground:"#e06c75"}},{scope:["log.info"],settings:{foreground:"#98c379"}},{scope:["log.warning"],settings:{foreground:"#e5c07b"}},{scope:["log.error"],settings:{foreground:"#e06c75"}},{scope:"keyword.operator.expression.is",settings:{foreground:"#c678dd"}},{scope:"entity.name.label",settings:{foreground:"#e06c75"}},{scope:"entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super",settings:{fontStyle:"italic"}},{scope:"comment.line.double-slash,comment.block.documentation",settings:{fontStyle:"italic"}},{scope:"markup.italic.markdown",settings:{fontStyle:"italic"}}],type:"dark"});export{e as default};
1
+ var e=Object.freeze({colors:{"activityBar.background":"#282c34","activityBar.foreground":"#d7dae0","activityBarBadge.background":"#4d78cc","activityBarBadge.foreground":"#f8fafd","badge.background":"#282c34","button.background":"#404754","button.secondaryBackground":"#30333d","button.secondaryForeground":"#c0bdbd","checkbox.border":"#404754","debugToolBar.background":"#21252b",descriptionForeground:"#abb2bf","diffEditor.insertedTextBackground":"#00809b33","dropdown.background":"#21252b","dropdown.border":"#21252b","editor.background":"#282c34","editor.findMatchBackground":"#d19a6644","editor.findMatchBorder":"#ffffff5a","editor.findMatchHighlightBackground":"#ffffff22","editor.foreground":"#abb2bf","editor.lineHighlightBackground":"#2c313c","editor.selectionBackground":"#67769660","editor.selectionHighlightBackground":"#ffffff10","editor.selectionHighlightBorder":"#dddddd","editor.wordHighlightBackground":"#d2e0ff2f","editor.wordHighlightBorder":"#7f848e","editor.wordHighlightStrongBackground":"#abb2bf26","editor.wordHighlightStrongBorder":"#7f848e","editorBracketHighlight.foreground1":"#d19a66","editorBracketHighlight.foreground2":"#c678dd","editorBracketHighlight.foreground3":"#56b6c2","editorBracketMatch.background":"#515a6b","editorBracketMatch.border":"#515a6b","editorCursor.background":"#ffffffc9","editorCursor.foreground":"#528bff","editorError.foreground":"#c24038","editorGroup.background":"#181a1f","editorGroup.border":"#181a1f","editorGroupHeader.tabsBackground":"#21252b","editorGutter.addedBackground":"#109868","editorGutter.deletedBackground":"#9A353D","editorGutter.modifiedBackground":"#948B60","editorHoverWidget.background":"#21252b","editorHoverWidget.border":"#181a1f","editorHoverWidget.highlightForeground":"#61afef","editorIndentGuide.activeBackground":"#c8c8c859","editorIndentGuide.background":"#3b4048","editorInlayHint.background":"#2c313c","editorInlayHint.foreground":"#abb2bf","editorLineNumber.activeForeground":"#abb2bf","editorLineNumber.foreground":"#495162","editorMarkerNavigation.background":"#21252b","editorOverviewRuler.addedBackground":"#109868","editorOverviewRuler.deletedBackground":"#9A353D","editorOverviewRuler.modifiedBackground":"#948B60","editorRuler.foreground":"#abb2bf26","editorSuggestWidget.background":"#21252b","editorSuggestWidget.border":"#181a1f","editorSuggestWidget.selectedBackground":"#2c313a","editorWarning.foreground":"#d19a66","editorWhitespace.foreground":"#ffffff1d","editorWidget.background":"#21252b",focusBorder:"#3e4452","gitDecoration.ignoredResourceForeground":"#636b78","input.background":"#1d1f23","input.foreground":"#abb2bf","list.activeSelectionBackground":"#2c313a","list.activeSelectionForeground":"#d7dae0","list.focusBackground":"#323842","list.focusForeground":"#f0f0f0","list.highlightForeground":"#ecebeb","list.hoverBackground":"#2c313a","list.hoverForeground":"#abb2bf","list.inactiveSelectionBackground":"#323842","list.inactiveSelectionForeground":"#d7dae0","list.warningForeground":"#d19a66","menu.foreground":"#abb2bf","menu.separatorBackground":"#343a45","minimapGutter.addedBackground":"#109868","minimapGutter.deletedBackground":"#9A353D","minimapGutter.modifiedBackground":"#948B60","panel.border":"#3e4452","panelSectionHeader.background":"#21252b","peekViewEditor.background":"#1b1d23","peekViewEditor.matchHighlightBackground":"#29244b","peekViewResult.background":"#22262b","scrollbar.shadow":"#23252c","scrollbarSlider.activeBackground":"#747d9180","scrollbarSlider.background":"#4e566660","scrollbarSlider.hoverBackground":"#5a637580","settings.focusedRowBackground":"#282c34","settings.headerForeground":"#fff","sideBar.background":"#21252b","sideBar.foreground":"#abb2bf","sideBarSectionHeader.background":"#282c34","sideBarSectionHeader.foreground":"#abb2bf","statusBar.background":"#21252b","statusBar.debuggingBackground":"#cc6633","statusBar.debuggingBorder":"#ff000000","statusBar.debuggingForeground":"#ffffff","statusBar.foreground":"#9da5b4","statusBar.noFolderBackground":"#21252b","statusBarItem.remoteBackground":"#4d78cc","statusBarItem.remoteForeground":"#f8fafd","tab.activeBackground":"#282c34","tab.activeBorder":"#b4b4b4","tab.activeForeground":"#dcdcdc","tab.border":"#181a1f","tab.hoverBackground":"#323842","tab.inactiveBackground":"#21252b","tab.unfocusedHoverBackground":"#323842","terminal.ansiBlack":"#3f4451","terminal.ansiBlue":"#4aa5f0","terminal.ansiBrightBlack":"#4f5666","terminal.ansiBrightBlue":"#4dc4ff","terminal.ansiBrightCyan":"#4cd1e0","terminal.ansiBrightGreen":"#a5e075","terminal.ansiBrightMagenta":"#de73ff","terminal.ansiBrightRed":"#ff616e","terminal.ansiBrightWhite":"#e6e6e6","terminal.ansiBrightYellow":"#f0a45d","terminal.ansiCyan":"#42b3c2","terminal.ansiGreen":"#8cc265","terminal.ansiMagenta":"#c162de","terminal.ansiRed":"#e05561","terminal.ansiWhite":"#d7dae0","terminal.ansiYellow":"#d18f52","terminal.background":"#282c34","terminal.border":"#3e4452","terminal.foreground":"#abb2bf","terminal.selectionBackground":"#abb2bf30","textBlockQuote.background":"#2e3440","textBlockQuote.border":"#4b5362","textLink.foreground":"#61afef","textPreformat.foreground":"#d19a66","titleBar.activeBackground":"#282c34","titleBar.activeForeground":"#9da5b4","titleBar.inactiveBackground":"#282c34","titleBar.inactiveForeground":"#6b717d","tree.indentGuidesStroke":"#ffffff1d","walkThrough.embeddedEditorBackground":"#2e3440","welcomePage.buttonHoverBackground":"#404754"},displayName:"One Dark Pro",name:"one-dark-pro",semanticHighlighting:!0,semanticTokenColors:{"annotation:dart":{foreground:"#d19a66"},enumMember:{foreground:"#56b6c2"},macro:{foreground:"#d19a66"},memberOperatorOverload:{foreground:"#c678dd"},"parameter.label:dart":{foreground:"#abb2bf"},"property:dart":{foreground:"#d19a66"},tomlArrayKey:{foreground:"#e5c07b"},"variable.constant":{foreground:"#d19a66"},"variable.defaultLibrary":{foreground:"#e5c07b"},"variable:dart":{foreground:"#d19a66"}},tokenColors:[{scope:"meta.embedded",settings:{foreground:"#abb2bf"}},{scope:"punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison",settings:{foreground:"#e06c75"}},{scope:"variable.other.generic-type.haskell",settings:{foreground:"#c678dd"}},{scope:"storage.type.haskell",settings:{foreground:"#d19a66"}},{scope:"support.variable.magic.python",settings:{foreground:"#e06c75"}},{scope:"punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python",settings:{foreground:"#abb2bf"}},{scope:"variable.parameter.function.language.special.self.python",settings:{foreground:"#e5c07b"}},{scope:"variable.parameter.function.language.special.cls.python",settings:{foreground:"#e5c07b"}},{scope:"storage.modifier.lifetime.rust",settings:{foreground:"#abb2bf"}},{scope:"support.function.std.rust",settings:{foreground:"#61afef"}},{scope:"entity.name.lifetime.rust",settings:{foreground:"#e5c07b"}},{scope:"variable.language.rust",settings:{foreground:"#e06c75"}},{scope:"support.constant.edge",settings:{foreground:"#c678dd"}},{scope:"constant.other.character-class.regexp",settings:{foreground:"#e06c75"}},{scope:["keyword.operator.word"],settings:{foreground:"#c678dd"}},{scope:"keyword.operator.quantifier.regexp",settings:{foreground:"#d19a66"}},{scope:"variable.parameter.function",settings:{foreground:"#abb2bf"}},{scope:"comment markup.link",settings:{foreground:"#5c6370"}},{scope:"markup.changed.diff",settings:{foreground:"#e5c07b"}},{scope:"meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff",settings:{foreground:"#61afef"}},{scope:"markup.inserted.diff",settings:{foreground:"#98c379"}},{scope:"markup.deleted.diff",settings:{foreground:"#e06c75"}},{scope:"meta.function.c,meta.function.cpp",settings:{foreground:"#e06c75"}},{scope:"punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c",settings:{foreground:"#abb2bf"}},{scope:"punctuation.separator.key-value",settings:{foreground:"#abb2bf"}},{scope:"keyword.operator.expression.import",settings:{foreground:"#61afef"}},{scope:"support.constant.math",settings:{foreground:"#e5c07b"}},{scope:"support.constant.property.math",settings:{foreground:"#d19a66"}},{scope:"variable.other.constant",settings:{foreground:"#e5c07b"}},{scope:["storage.type.annotation.java","storage.type.object.array.java"],settings:{foreground:"#e5c07b"}},{scope:"source.java",settings:{foreground:"#e06c75"}},{scope:"punctuation.section.block.begin.java,punctuation.section.block.end.java,punctuation.definition.method-parameters.begin.java,punctuation.definition.method-parameters.end.java,meta.method.identifier.java,punctuation.section.method.begin.java,punctuation.section.method.end.java,punctuation.terminator.java,punctuation.section.class.begin.java,punctuation.section.class.end.java,punctuation.section.inner-class.begin.java,punctuation.section.inner-class.end.java,meta.method-call.java,punctuation.section.class.begin.bracket.curly.java,punctuation.section.class.end.bracket.curly.java,punctuation.section.method.begin.bracket.curly.java,punctuation.section.method.end.bracket.curly.java,punctuation.separator.period.java,punctuation.bracket.angle.java,punctuation.definition.annotation.java,meta.method.body.java",settings:{foreground:"#abb2bf"}},{scope:"meta.method.java",settings:{foreground:"#61afef"}},{scope:"storage.modifier.import.java,storage.type.java,storage.type.generic.java",settings:{foreground:"#e5c07b"}},{scope:"keyword.operator.instanceof.java",settings:{foreground:"#c678dd"}},{scope:"meta.definition.variable.name.java",settings:{foreground:"#e06c75"}},{scope:"keyword.operator.logical",settings:{foreground:"#56b6c2"}},{scope:"keyword.operator.bitwise",settings:{foreground:"#56b6c2"}},{scope:"keyword.operator.channel",settings:{foreground:"#56b6c2"}},{scope:"support.constant.property-value.scss,support.constant.property-value.css",settings:{foreground:"#d19a66"}},{scope:"keyword.operator.css,keyword.operator.scss,keyword.operator.less",settings:{foreground:"#56b6c2"}},{scope:"support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss",settings:{foreground:"#d19a66"}},{scope:"punctuation.separator.list.comma.css",settings:{foreground:"#abb2bf"}},{scope:"support.constant.color.w3c-standard-color-name.css",settings:{foreground:"#d19a66"}},{scope:"support.type.vendored.property-name.css",settings:{foreground:"#56b6c2"}},{scope:"support.module.node,support.type.object.module,support.module.node",settings:{foreground:"#e5c07b"}},{scope:"entity.name.type.module",settings:{foreground:"#e5c07b"}},{scope:"variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node",settings:{foreground:"#e06c75"}},{scope:"support.constant.json",settings:{foreground:"#d19a66"}},{scope:["keyword.operator.expression.instanceof","keyword.operator.new","keyword.operator.ternary","keyword.operator.optional","keyword.operator.expression.keyof"],settings:{foreground:"#c678dd"}},{scope:"support.type.object.console",settings:{foreground:"#e06c75"}},{scope:"support.variable.property.process",settings:{foreground:"#d19a66"}},{scope:"entity.name.function,support.function.console",settings:{foreground:"#61afef"}},{scope:"keyword.operator.misc.rust",settings:{foreground:"#abb2bf"}},{scope:"keyword.operator.sigil.rust",settings:{foreground:"#c678dd"}},{scope:"keyword.operator.delete",settings:{foreground:"#c678dd"}},{scope:"support.type.object.dom",settings:{foreground:"#56b6c2"}},{scope:"support.variable.dom,support.variable.property.dom",settings:{foreground:"#e06c75"}},{scope:"keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational",settings:{foreground:"#56b6c2"}},{scope:"keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c,keyword.operator.decrement.c,keyword.operator.bitwise.shift.c,keyword.operator.assignment.cpp,keyword.operator.comparison.cpp,keyword.operator.cpp,keyword.operator.increment.cpp,keyword.operator.decrement.cpp,keyword.operator.bitwise.shift.cpp",settings:{foreground:"#c678dd"}},{scope:"punctuation.separator.delimiter",settings:{foreground:"#abb2bf"}},{scope:"punctuation.separator.c,punctuation.separator.cpp",settings:{foreground:"#c678dd"}},{scope:"support.type.posix-reserved.c,support.type.posix-reserved.cpp",settings:{foreground:"#56b6c2"}},{scope:"keyword.operator.sizeof.c,keyword.operator.sizeof.cpp",settings:{foreground:"#c678dd"}},{scope:"variable.parameter.function.language.python",settings:{foreground:"#d19a66"}},{scope:"support.type.python",settings:{foreground:"#56b6c2"}},{scope:"keyword.operator.logical.python",settings:{foreground:"#c678dd"}},{scope:"variable.parameter.function.python",settings:{foreground:"#d19a66"}},{scope:"punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python",settings:{foreground:"#abb2bf"}},{scope:"meta.function-call.generic.python",settings:{foreground:"#61afef"}},{scope:"constant.character.format.placeholder.other.python",settings:{foreground:"#d19a66"}},{scope:"keyword.operator",settings:{foreground:"#abb2bf"}},{scope:"keyword.operator.assignment.compound",settings:{foreground:"#c678dd"}},{scope:"keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts",settings:{foreground:"#56b6c2"}},{scope:"keyword",settings:{foreground:"#c678dd"}},{scope:"entity.name.namespace",settings:{foreground:"#e5c07b"}},{scope:"variable",settings:{foreground:"#e06c75"}},{scope:"variable.c",settings:{foreground:"#abb2bf"}},{scope:"variable.language",settings:{foreground:"#e5c07b"}},{scope:"token.variable.parameter.java",settings:{foreground:"#abb2bf"}},{scope:"import.storage.java",settings:{foreground:"#e5c07b"}},{scope:"token.package.keyword",settings:{foreground:"#c678dd"}},{scope:"token.package",settings:{foreground:"#abb2bf"}},{scope:["entity.name.function","meta.require","support.function.any-method","variable.function"],settings:{foreground:"#61afef"}},{scope:"entity.name.type.namespace",settings:{foreground:"#e5c07b"}},{scope:"support.class, entity.name.type.class",settings:{foreground:"#e5c07b"}},{scope:"entity.name.class.identifier.namespace.type",settings:{foreground:"#e5c07b"}},{scope:["entity.name.class","variable.other.class.js","variable.other.class.ts"],settings:{foreground:"#e5c07b"}},{scope:"variable.other.class.php",settings:{foreground:"#e06c75"}},{scope:"entity.name.type",settings:{foreground:"#e5c07b"}},{scope:"keyword.control",settings:{foreground:"#c678dd"}},{scope:"control.elements, keyword.operator.less",settings:{foreground:"#d19a66"}},{scope:"keyword.other.special-method",settings:{foreground:"#61afef"}},{scope:"storage",settings:{foreground:"#c678dd"}},{scope:"token.storage",settings:{foreground:"#c678dd"}},{scope:"keyword.operator.expression.delete,keyword.operator.expression.in,keyword.operator.expression.of,keyword.operator.expression.instanceof,keyword.operator.new,keyword.operator.expression.typeof,keyword.operator.expression.void",settings:{foreground:"#c678dd"}},{scope:"token.storage.type.java",settings:{foreground:"#e5c07b"}},{scope:"support.function",settings:{foreground:"#56b6c2"}},{scope:"support.type.property-name",settings:{foreground:"#abb2bf"}},{scope:"support.type.property-name.toml, support.type.property-name.table.toml, support.type.property-name.array.toml",settings:{foreground:"#e06c75"}},{scope:"support.constant.property-value",settings:{foreground:"#abb2bf"}},{scope:"support.constant.font-name",settings:{foreground:"#d19a66"}},{scope:"meta.tag",settings:{foreground:"#abb2bf"}},{scope:"string",settings:{foreground:"#98c379"}},{scope:"constant.other.symbol",settings:{foreground:"#56b6c2"}},{scope:"constant.numeric",settings:{foreground:"#d19a66"}},{scope:"constant",settings:{foreground:"#d19a66"}},{scope:"punctuation.definition.constant",settings:{foreground:"#d19a66"}},{scope:"entity.name.tag",settings:{foreground:"#e06c75"}},{scope:"entity.other.attribute-name",settings:{foreground:"#d19a66"}},{scope:"entity.other.attribute-name.id",settings:{foreground:"#61afef"}},{scope:"entity.other.attribute-name.class.css",settings:{foreground:"#d19a66"}},{scope:"meta.selector",settings:{foreground:"#c678dd"}},{scope:"markup.heading",settings:{foreground:"#e06c75"}},{scope:"markup.heading punctuation.definition.heading, entity.name.section",settings:{foreground:"#61afef"}},{scope:"keyword.other.unit",settings:{foreground:"#e06c75"}},{scope:"markup.bold,todo.bold",settings:{foreground:"#d19a66"}},{scope:"punctuation.definition.bold",settings:{foreground:"#e5c07b"}},{scope:"markup.italic, punctuation.definition.italic,todo.emphasis",settings:{foreground:"#c678dd"}},{scope:"emphasis md",settings:{foreground:"#c678dd"}},{scope:"entity.name.section.markdown",settings:{foreground:"#e06c75"}},{scope:"punctuation.definition.heading.markdown",settings:{foreground:"#e06c75"}},{scope:"punctuation.definition.list.begin.markdown",settings:{foreground:"#e5c07b"}},{scope:"markup.heading.setext",settings:{foreground:"#abb2bf"}},{scope:"punctuation.definition.bold.markdown",settings:{foreground:"#d19a66"}},{scope:"markup.inline.raw.markdown",settings:{foreground:"#98c379"}},{scope:"markup.inline.raw.string.markdown",settings:{foreground:"#98c379"}},{scope:"punctuation.definition.raw.markdown",settings:{foreground:"#e5c07b"}},{scope:"punctuation.definition.list.markdown",settings:{foreground:"#e5c07b"}},{scope:["punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown","punctuation.definition.metadata.markdown"],settings:{foreground:"#e06c75"}},{scope:["beginning.punctuation.definition.list.markdown"],settings:{foreground:"#e06c75"}},{scope:"punctuation.definition.metadata.markdown",settings:{foreground:"#e06c75"}},{scope:"markup.underline.link.markdown,markup.underline.link.image.markdown",settings:{foreground:"#c678dd"}},{scope:"string.other.link.title.markdown,string.other.link.description.markdown",settings:{foreground:"#61afef"}},{scope:"markup.raw.monospace.asciidoc",settings:{foreground:"#98c379"}},{scope:"punctuation.definition.asciidoc",settings:{foreground:"#e5c07b"}},{scope:"markup.list.asciidoc",settings:{foreground:"#e5c07b"}},{scope:"markup.link.asciidoc,markup.other.url.asciidoc",settings:{foreground:"#c678dd"}},{scope:"string.unquoted.asciidoc,markup.other.url.asciidoc",settings:{foreground:"#61afef"}},{scope:"string.regexp",settings:{foreground:"#56b6c2"}},{scope:"punctuation.section.embedded, variable.interpolation",settings:{foreground:"#e06c75"}},{scope:"punctuation.section.embedded.begin,punctuation.section.embedded.end",settings:{foreground:"#c678dd"}},{scope:"invalid.illegal",settings:{foreground:"#ffffff"}},{scope:"invalid.illegal.bad-ampersand.html",settings:{foreground:"#abb2bf"}},{scope:"invalid.illegal.unrecognized-tag.html",settings:{foreground:"#e06c75"}},{scope:"invalid.broken",settings:{foreground:"#ffffff"}},{scope:"invalid.deprecated",settings:{foreground:"#ffffff"}},{scope:"invalid.deprecated.entity.other.attribute-name.html",settings:{foreground:"#d19a66"}},{scope:"invalid.unimplemented",settings:{foreground:"#ffffff"}},{scope:"source.json meta.structure.dictionary.json > string.quoted.json",settings:{foreground:"#e06c75"}},{scope:"source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string",settings:{foreground:"#e06c75"}},{scope:"source.json meta.structure.dictionary.json > value.json > string.quoted.json,source.json meta.structure.array.json > value.json > string.quoted.json,source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation,source.json meta.structure.array.json > value.json > string.quoted.json > punctuation",settings:{foreground:"#98c379"}},{scope:"source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json",settings:{foreground:"#56b6c2"}},{scope:"support.type.property-name.json",settings:{foreground:"#e06c75"}},{scope:"support.type.property-name.json punctuation",settings:{foreground:"#e06c75"}},{scope:"text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade",settings:{foreground:"#c678dd"}},{scope:"text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade",settings:{foreground:"#c678dd"}},{scope:"support.other.namespace.use.php,support.other.namespace.use-as.php,entity.other.alias.php,meta.interface.php",settings:{foreground:"#e5c07b"}},{scope:"keyword.operator.error-control.php",settings:{foreground:"#c678dd"}},{scope:"keyword.operator.type.php",settings:{foreground:"#c678dd"}},{scope:"punctuation.section.array.begin.php",settings:{foreground:"#abb2bf"}},{scope:"punctuation.section.array.end.php",settings:{foreground:"#abb2bf"}},{scope:"invalid.illegal.non-null-typehinted.php",settings:{foreground:"#f44747"}},{scope:"storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php",settings:{foreground:"#e5c07b"}},{scope:"meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php",settings:{foreground:"#61afef"}},{scope:"punctuation.definition.parameters.begin.bracket.round.php,punctuation.definition.parameters.end.bracket.round.php,punctuation.separator.delimiter.php,punctuation.section.scope.begin.php,punctuation.section.scope.end.php,punctuation.terminator.expression.php,punctuation.definition.arguments.begin.bracket.round.php,punctuation.definition.arguments.end.bracket.round.php,punctuation.definition.storage-type.begin.bracket.round.php,punctuation.definition.storage-type.end.bracket.round.php,punctuation.definition.array.begin.bracket.round.php,punctuation.definition.array.end.bracket.round.php,punctuation.definition.begin.bracket.round.php,punctuation.definition.end.bracket.round.php,punctuation.definition.begin.bracket.curly.php,punctuation.definition.end.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php,punctuation.definition.section.switch-block.start.bracket.curly.php,punctuation.definition.section.switch-block.begin.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php",settings:{foreground:"#abb2bf"}},{scope:"support.constant.core.rust",settings:{foreground:"#d19a66"}},{scope:"support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php",settings:{foreground:"#d19a66"}},{scope:"entity.name.goto-label.php,support.other.php",settings:{foreground:"#61afef"}},{scope:"keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php",settings:{foreground:"#56b6c2"}},{scope:"keyword.operator.regexp.php",settings:{foreground:"#c678dd"}},{scope:"keyword.operator.comparison.php",settings:{foreground:"#56b6c2"}},{scope:"keyword.operator.heredoc.php,keyword.operator.nowdoc.php",settings:{foreground:"#c678dd"}},{scope:"meta.function.decorator.python",settings:{foreground:"#61afef"}},{scope:"support.token.decorator.python,meta.function.decorator.identifier.python",settings:{foreground:"#56b6c2"}},{scope:"function.parameter",settings:{foreground:"#abb2bf"}},{scope:"function.brace",settings:{foreground:"#abb2bf"}},{scope:"function.parameter.ruby, function.parameter.cs",settings:{foreground:"#abb2bf"}},{scope:"constant.language.symbol.ruby",settings:{foreground:"#56b6c2"}},{scope:"constant.language.symbol.hashkey.ruby",settings:{foreground:"#56b6c2"}},{scope:"rgb-value",settings:{foreground:"#56b6c2"}},{scope:"inline-color-decoration rgb-value",settings:{foreground:"#d19a66"}},{scope:"less rgb-value",settings:{foreground:"#d19a66"}},{scope:"selector.sass",settings:{foreground:"#e06c75"}},{scope:"support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx",settings:{foreground:"#e5c07b"}},{scope:"block.scope.end,block.scope.begin",settings:{foreground:"#abb2bf"}},{scope:"storage.type.cs",settings:{foreground:"#e5c07b"}},{scope:"entity.name.variable.local.cs",settings:{foreground:"#e06c75"}},{scope:"token.info-token",settings:{foreground:"#61afef"}},{scope:"token.warn-token",settings:{foreground:"#d19a66"}},{scope:"token.error-token",settings:{foreground:"#f44747"}},{scope:"token.debug-token",settings:{foreground:"#c678dd"}},{scope:["punctuation.definition.template-expression.begin","punctuation.definition.template-expression.end","punctuation.section.embedded"],settings:{foreground:"#c678dd"}},{scope:["meta.template.expression"],settings:{foreground:"#abb2bf"}},{scope:["keyword.operator.module"],settings:{foreground:"#c678dd"}},{scope:["support.type.type.flowtype"],settings:{foreground:"#61afef"}},{scope:["support.type.primitive"],settings:{foreground:"#e5c07b"}},{scope:["meta.property.object"],settings:{foreground:"#e06c75"}},{scope:["variable.parameter.function.js"],settings:{foreground:"#e06c75"}},{scope:["keyword.other.template.begin"],settings:{foreground:"#98c379"}},{scope:["keyword.other.template.end"],settings:{foreground:"#98c379"}},{scope:["keyword.other.substitution.begin"],settings:{foreground:"#98c379"}},{scope:["keyword.other.substitution.end"],settings:{foreground:"#98c379"}},{scope:["keyword.operator.assignment"],settings:{foreground:"#56b6c2"}},{scope:["keyword.operator.assignment.go"],settings:{foreground:"#e5c07b"}},{scope:["keyword.operator.arithmetic.go","keyword.operator.address.go"],settings:{foreground:"#c678dd"}},{scope:["keyword.operator.arithmetic.c","keyword.operator.arithmetic.cpp"],settings:{foreground:"#c678dd"}},{scope:["entity.name.package.go"],settings:{foreground:"#e5c07b"}},{scope:["support.type.prelude.elm"],settings:{foreground:"#56b6c2"}},{scope:["support.constant.elm"],settings:{foreground:"#d19a66"}},{scope:["punctuation.quasi.element"],settings:{foreground:"#c678dd"}},{scope:["constant.character.entity"],settings:{foreground:"#e06c75"}},{scope:["entity.other.attribute-name.pseudo-element","entity.other.attribute-name.pseudo-class"],settings:{foreground:"#56b6c2"}},{scope:["entity.global.clojure"],settings:{foreground:"#e5c07b"}},{scope:["meta.symbol.clojure"],settings:{foreground:"#e06c75"}},{scope:["constant.keyword.clojure"],settings:{foreground:"#56b6c2"}},{scope:["meta.arguments.coffee","variable.parameter.function.coffee"],settings:{foreground:"#e06c75"}},{scope:["source.ini"],settings:{foreground:"#98c379"}},{scope:["meta.scope.prerequisites.makefile"],settings:{foreground:"#e06c75"}},{scope:["source.makefile"],settings:{foreground:"#e5c07b"}},{scope:["storage.modifier.import.groovy"],settings:{foreground:"#e5c07b"}},{scope:["meta.method.groovy"],settings:{foreground:"#61afef"}},{scope:["meta.definition.variable.name.groovy"],settings:{foreground:"#e06c75"}},{scope:["meta.definition.class.inherited.classes.groovy"],settings:{foreground:"#98c379"}},{scope:["support.variable.semantic.hlsl"],settings:{foreground:"#e5c07b"}},{scope:["support.type.texture.hlsl","support.type.sampler.hlsl","support.type.object.hlsl","support.type.object.rw.hlsl","support.type.fx.hlsl","support.type.object.hlsl"],settings:{foreground:"#c678dd"}},{scope:["text.variable","text.bracketed"],settings:{foreground:"#e06c75"}},{scope:["support.type.swift","support.type.vb.asp"],settings:{foreground:"#e5c07b"}},{scope:["entity.name.function.xi"],settings:{foreground:"#e5c07b"}},{scope:["entity.name.class.xi"],settings:{foreground:"#56b6c2"}},{scope:["constant.character.character-class.regexp.xi"],settings:{foreground:"#e06c75"}},{scope:["constant.regexp.xi"],settings:{foreground:"#c678dd"}},{scope:["keyword.control.xi"],settings:{foreground:"#56b6c2"}},{scope:["invalid.xi"],settings:{foreground:"#abb2bf"}},{scope:["beginning.punctuation.definition.quote.markdown.xi"],settings:{foreground:"#98c379"}},{scope:["beginning.punctuation.definition.list.markdown.xi"],settings:{foreground:"#7f848e"}},{scope:["constant.character.xi"],settings:{foreground:"#61afef"}},{scope:["accent.xi"],settings:{foreground:"#61afef"}},{scope:["wikiword.xi"],settings:{foreground:"#d19a66"}},{scope:["constant.other.color.rgb-value.xi"],settings:{foreground:"#ffffff"}},{scope:["punctuation.definition.tag.xi"],settings:{foreground:"#5c6370"}},{scope:["entity.name.label.cs","entity.name.scope-resolution.function.call","entity.name.scope-resolution.function.definition"],settings:{foreground:"#e5c07b"}},{scope:["entity.name.label.cs","markup.heading.setext.1.markdown","markup.heading.setext.2.markdown"],settings:{foreground:"#e06c75"}},{scope:[" meta.brace.square"],settings:{foreground:"#abb2bf"}},{scope:"comment, punctuation.definition.comment",settings:{fontStyle:"italic",foreground:"#7f848e"}},{scope:"markup.quote.markdown",settings:{foreground:"#5c6370"}},{scope:"punctuation.definition.block.sequence.item.yaml",settings:{foreground:"#abb2bf"}},{scope:["constant.language.symbol.elixir","constant.language.symbol.double-quoted.elixir"],settings:{foreground:"#56b6c2"}},{scope:["entity.name.variable.parameter.cs"],settings:{foreground:"#e5c07b"}},{scope:["entity.name.variable.field.cs"],settings:{foreground:"#e06c75"}},{scope:"markup.deleted",settings:{foreground:"#e06c75"}},{scope:"markup.inserted",settings:{foreground:"#98c379"}},{scope:"markup.underline",settings:{fontStyle:"underline"}},{scope:["punctuation.section.embedded.begin.php","punctuation.section.embedded.end.php"],settings:{foreground:"#BE5046"}},{scope:["support.other.namespace.php"],settings:{foreground:"#abb2bf"}},{scope:["variable.parameter.function.latex"],settings:{foreground:"#e06c75"}},{scope:["variable.other.object"],settings:{foreground:"#e5c07b"}},{scope:["variable.other.constant.property"],settings:{foreground:"#e06c75"}},{scope:["entity.other.inherited-class"],settings:{foreground:"#e5c07b"}},{scope:"variable.other.readwrite.c",settings:{foreground:"#e06c75"}},{scope:"entity.name.variable.parameter.php,punctuation.separator.colon.php,constant.other.php",settings:{foreground:"#abb2bf"}},{scope:["constant.numeric.decimal.asm.x86_64"],settings:{foreground:"#c678dd"}},{scope:["support.other.parenthesis.regexp"],settings:{foreground:"#d19a66"}},{scope:["constant.character.escape"],settings:{foreground:"#56b6c2"}},{scope:["string.regexp"],settings:{foreground:"#e06c75"}},{scope:["log.info"],settings:{foreground:"#98c379"}},{scope:["log.warning"],settings:{foreground:"#e5c07b"}},{scope:["log.error"],settings:{foreground:"#e06c75"}},{scope:"keyword.operator.expression.is",settings:{foreground:"#c678dd"}},{scope:"entity.name.label",settings:{foreground:"#e06c75"}},{scope:"entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super",settings:{fontStyle:"italic"}},{scope:"comment.line.double-slash,comment.block.documentation",settings:{fontStyle:"italic"}},{scope:"markup.italic.markdown",settings:{fontStyle:"italic"}}],type:"dark"});export{e as default};
@@ -69,7 +69,7 @@ export { NileTree } from './nile-tree';
69
69
  export { NileTreeItem } from './nile-tree-item';
70
70
  export { NileListItem } from './nile-list-item';
71
71
  export { NileList } from './nile-list';
72
- export { NileDetail } from './nile-detail';
72
+ export { NileAccordion } from './nile-accordion';
73
73
  export { NileDivider } from './nile-divider';
74
74
  export { NileTitle } from './nile-title';
75
75
  export { NileSectionMessage } from './nile-section-message';
package/dist/src/index.js CHANGED
@@ -69,7 +69,7 @@ export { NileTree } from './nile-tree';
69
69
  export { NileTreeItem } from './nile-tree-item';
70
70
  export { NileListItem } from './nile-list-item';
71
71
  export { NileList } from './nile-list';
72
- export { NileDetail } from './nile-detail';
72
+ export { NileAccordion } from './nile-accordion';
73
73
  export { NileDivider } from './nile-divider';
74
74
  export { NileTitle } from './nile-title';
75
75
  export { NileSectionMessage } from './nile-section-message';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,cAAc,EAA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,oBAAoB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC","sourcesContent":["export { NileButton } from './nile-button';\nexport { NileHeading } from './nile-heading';\nexport { NileIcon } from './nile-icon';\nexport { NileInput } from './nile-input';\nexport { NileSidebar } from './nile-sidebar';\nexport { NileMenu } from './nile-menu';\nexport { NileBadge } from './nile-badge';\nexport { NileDrawer } from './nile-drawer';\nexport { NileCheckbox } from './nile-checkbox';\nexport { NileRadio } from './nile-radio';\nexport { NileRadioGroup } from './nile-radio-group';\nexport { NilePopup } from './nile-popup';\nexport { NileTooltip } from './nile-tooltip';\nexport { NileSlideToggle } from './nile-slide-toggle';\nexport { NileLoader } from './nile-loader';\nexport { NileProgressBar } from './nile-progress-bar';\nexport { NileSpinner } from './nile-spinner';\nexport { NileSelect } from './nile-select';\nexport { NileOption } from './nile-option';\nexport { NileTag } from './nile-tag';\nexport { NileIconButton } from './nile-icon-button';\nexport { NileMenuItem } from './nile-menu-item';\nexport { NileDropdown } from './nile-dropdown';\nexport { NileAutoComplete } from './nile-auto-complete';\nexport { NileChip } from './nile-chip';\nexport { NileTextarea } from './nile-textarea';\nexport { NileDatePicker } from './nile-date-picker';\nexport { NileErrorMessage } from './nile-error-message';\nexport { NileFormErrorMessage } from './nile-form-error-message';\nexport { NileFormHelpText } from './nile-form-help-text';\nexport { NileCalendar } from './nile-calendar';\nexport { NileLink } from './nile-link';\nexport { NileButtonToggleGroup } from './nile-button-toggle-group';\nexport { NileButtonToggle } from './nile-button-toggle';\nexport { NileSwitcher } from './nile-switcher';\nexport { NileContentEditor } from './nile-content-editor';\nexport { NileDialog } from './nile-dialog';\nexport { NileErrorNotification } from './nile-error-notification';\nexport { NileTabGroup } from './nile-tab-group';\nexport { NileTab } from './nile-tab';\nexport { NileTabPanel } from './nile-tab-panel';\nexport { NileCodeEditor } from './nile-code-editor';\nexport { NileToast } from './nile-toast';\nexport { NileBreadcrumb } from './nile-breadcrumb';\nexport { NileBreadcrumbItem } from './nile-breadcrumb-item';\nexport { NileFormGroup } from './nile-form-group';\nexport { NileCard } from './nile-card';\nexport { NilePopover } from './nile-popover';\nexport { NileButtonFilter } from './nile-button-filter';\nexport { NileCircularProgressbar } from './nile-circular-progressbar';\nexport { NileSidebarMenu } from './nile-sidebar-menu';\nexport { NileSidebarMenuItems } from './nile-sidebar-menu-items';\nexport { NileSidebarWrapper } from './nile-sidebar-wrapper';\nexport { NileTableCellItem } from './nile-table-cell-item';\nexport { NileTableRow } from './nile-table-row';\nexport { NileTableBody } from './nile-table-body';\nexport { NileTableHeaderItem } from './nile-table-header-item';\nexport { NileAvatar } from './nile-avatar';\nexport { NilePageHeader } from './nile-page-header';\nexport { NileEmptyState } from './nile-empty-state';\nexport { NileHero } from './nile-hero';\nexport { NileStepperItem } from './nile-stepper-item';\nexport { NileStepper } from './nile-stepper';\nexport { NileHeroHeader } from './nile-hero-header';\nexport { NileVerticalStepperItem } from './nile-vertical-stepper-item';\nexport { NileFormatDate } from './nile-format-date';\nexport { NileSplitPanel } from './nile-split-panel';\nexport { NileTree } from './nile-tree';\nexport { NileTreeItem } from './nile-tree-item';\nexport { NileListItem } from './nile-list-item';\nexport { NileList } from './nile-list';\nexport { NileDetail } from './nile-detail';\nexport { NileDivider } from './nile-divider';\nexport { NileTitle } from './nile-title';\nexport { NileSectionMessage } from './nile-section-message';\nexport { NileToolbar } from './nile-toolbar';\nexport { NileHighlighter } from './nile-highlighter';\n\nexport { NileInlineEdit } from './nile-inline-edit';"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO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cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC","sourcesContent":["export { NileButton } from './nile-button';\nexport { NileHeading } from './nile-heading';\nexport { NileIcon } from './nile-icon';\nexport { NileInput } from './nile-input';\nexport { NileSidebar } from './nile-sidebar';\nexport { NileMenu } from './nile-menu';\nexport { NileBadge } from './nile-badge';\nexport { NileDrawer } from './nile-drawer';\nexport { NileCheckbox } from './nile-checkbox';\nexport { NileRadio } from './nile-radio';\nexport { NileRadioGroup } from './nile-radio-group';\nexport { NilePopup } from './nile-popup';\nexport { NileTooltip } from './nile-tooltip';\nexport { NileSlideToggle } from './nile-slide-toggle';\nexport { NileLoader } from './nile-loader';\nexport { NileProgressBar } from './nile-progress-bar';\nexport { NileSpinner } from './nile-spinner';\nexport { NileSelect } from './nile-select';\nexport { NileOption } from './nile-option';\nexport { NileTag } from './nile-tag';\nexport { NileIconButton } from './nile-icon-button';\nexport { NileMenuItem } from './nile-menu-item';\nexport { NileDropdown } from './nile-dropdown';\nexport { NileAutoComplete } from './nile-auto-complete';\nexport { NileChip } from './nile-chip';\nexport { NileTextarea } from './nile-textarea';\nexport { NileDatePicker } from './nile-date-picker';\nexport { NileErrorMessage } from './nile-error-message';\nexport { NileFormErrorMessage } from './nile-form-error-message';\nexport { NileFormHelpText } from './nile-form-help-text';\nexport { NileCalendar } from './nile-calendar';\nexport { NileLink } from './nile-link';\nexport { NileButtonToggleGroup } from './nile-button-toggle-group';\nexport { NileButtonToggle } from './nile-button-toggle';\nexport { NileSwitcher } from './nile-switcher';\nexport { NileContentEditor } from './nile-content-editor';\nexport { NileDialog } from './nile-dialog';\nexport { NileErrorNotification } from './nile-error-notification';\nexport { NileTabGroup } from './nile-tab-group';\nexport { NileTab } from './nile-tab';\nexport { NileTabPanel } from './nile-tab-panel';\nexport { NileCodeEditor } from './nile-code-editor';\nexport { NileToast } from './nile-toast';\nexport { NileBreadcrumb } from './nile-breadcrumb';\nexport { NileBreadcrumbItem } from './nile-breadcrumb-item';\nexport { NileFormGroup } from './nile-form-group';\nexport { NileCard } from './nile-card';\nexport { NilePopover } from './nile-popover';\nexport { NileButtonFilter } from './nile-button-filter';\nexport { NileCircularProgressbar } from './nile-circular-progressbar';\nexport { NileSidebarMenu } from './nile-sidebar-menu';\nexport { NileSidebarMenuItems } from './nile-sidebar-menu-items';\nexport { NileSidebarWrapper } from './nile-sidebar-wrapper';\nexport { NileTableCellItem } from './nile-table-cell-item';\nexport { NileTableRow } from './nile-table-row';\nexport { NileTableBody } from './nile-table-body';\nexport { NileTableHeaderItem } from './nile-table-header-item';\nexport { NileAvatar } from './nile-avatar';\nexport { NilePageHeader } from './nile-page-header';\nexport { NileEmptyState } from './nile-empty-state';\nexport { NileHero } from './nile-hero';\nexport { NileStepperItem } from './nile-stepper-item';\nexport { NileStepper } from './nile-stepper';\nexport { NileHeroHeader } from './nile-hero-header';\nexport { NileVerticalStepperItem } from './nile-vertical-stepper-item';\nexport { NileFormatDate } from './nile-format-date';\nexport { NileSplitPanel } from './nile-split-panel';\nexport { NileTree } from './nile-tree';\nexport { NileTreeItem } from './nile-tree-item';\nexport { NileListItem } from './nile-list-item';\nexport { NileList } from './nile-list';\nexport { NileAccordion } from './nile-accordion';\nexport { NileDivider } from './nile-divider';\nexport { NileTitle } from './nile-title';\nexport { NileSectionMessage } from './nile-section-message';\nexport { NileToolbar } from './nile-toolbar';\nexport { NileHighlighter } from './nile-highlighter';\n\nexport { NileInlineEdit } from './nile-inline-edit';"]}
@@ -0,0 +1 @@
1
+ export { NileAccordion } from './nile-accordion';
@@ -0,0 +1,2 @@
1
+ export { NileAccordion } from './nile-accordion';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/nile-accordion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC","sourcesContent":["export { NileAccordion } from './nile-accordion';\n"]}
@@ -102,4 +102,4 @@ export const styles = css `
102
102
  }
103
103
  `;
104
104
  export default [styles];
105
- //# sourceMappingURL=nile-detail.css.js.map
105
+ //# sourceMappingURL=nile-accordion.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nile-accordion.css.js","sourceRoot":"","sources":["../../../src/nile-accordion/nile-accordion.css.ts"],"names":[],"mappings":"AAAA;;;;;EAKE;AAEF,OAAO,EAAC,GAAG,EAAC,MAAM,aAAa,CAAC;AAEhC;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4FxB,CAAC;AAEF,eAAe,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n* Copyright Aquera Inc 2023\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit-element';\n\n/**\n * Detail CSS\n */\nexport const styles = css`\n\n :host {\n box-sizing: border-box;\n }\n\n :host *,\n :host *::before,\n :host *::after {\n box-sizing: inherit;\n }\n\n [hidden] {\n display: none !important;\n }\n\n :host {\n display: block;\n }\n\n .details {\n border: solid 1px hsl(240 5.9% 90%);\n border-radius: 0.25rem;\n background-color: #FFFFFF;\n overflow-anchor: none;\n }\n\n .details--disabled {\n opacity: 0.5;\n }\n\n .details__header {\n display: flex;\n align-items: center;\n border-radius: inherit;\n padding: 1rem;\n user-select: none;\n cursor: pointer;\n }\n\n .details__header:focus {\n outline: none;\n }\n\n .details__header:focus-visible {\n outline: solid 3px hsl(200.4, 98%, 39.4%);\n outline-offset: calc(1px + 1px);\n }\n\n .details--disabled .details__header {\n cursor: not-allowed;\n }\n\n .details--disabled .details__header:focus-visible {\n outline: none;\n box-shadow: none;\n }\n\n .details__summary {\n flex: 1 1 auto;\n display: flex;\n align-items: center;\n }\n\n .details__summary-icon {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n transition: 250ms rotate ease;\n }\n\n .details--open .details__summary-icon {\n rotate: 90deg;\n }\n\n .details--open.details--rtl .details__summary-icon {\n rotate: -90deg;\n }\n\n .details--open slot[name='expand-icon'],\n .details:not(.details--open) slot[name='collapse-icon'] {\n display: none;\n }\n\n .details__body {\n overflow: hidden;\n }\n\n .details__content {\n display: block;\n padding: 1rem;\n }\n`;\n\nexport default [styles];\n"]}
@@ -13,7 +13,7 @@ import type { CSSResultGroup } from 'lit';
13
13
  * @tag nile-accordion
14
14
  *
15
15
  */
16
- export declare class NileDetail extends NileElement {
16
+ export declare class NileAccordion extends NileElement {
17
17
  /**
18
18
  * @summary Details show a brief summary and expand to show additional content.
19
19
  *
@@ -62,9 +62,9 @@ export declare class NileDetail extends NileElement {
62
62
  hide(): Promise<void>;
63
63
  render(): TemplateResult<1>;
64
64
  }
65
- export default NileDetail;
65
+ export default NileAccordion;
66
66
  declare global {
67
67
  interface HTMLElementTagNameMap {
68
- 'nile-accordion': NileDetail;
68
+ 'nile-accordion': NileAccordion;
69
69
  }
70
70
  }
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { __decorate } from "tslib";
8
8
  import { html, property } from 'lit-element';
9
- import { styles } from './nile-detail.css';
9
+ import { styles } from './nile-accordion.css';
10
10
  import NileElement from '../internal/nile-element';
11
11
  import { animateTo, shimKeyframesHeightAuto, stopAnimations } from '../internal/animate';
12
12
  import { classMap } from 'lit/directives/class-map.js';
@@ -20,7 +20,7 @@ import { watch } from '../internal/watch';
20
20
  * @tag nile-accordion
21
21
  *
22
22
  */
23
- let NileDetail = class NileDetail extends NileElement {
23
+ let NileAccordion = class NileAccordion extends NileElement {
24
24
  constructor() {
25
25
  /**
26
26
  * @summary Details show a brief summary and expand to show additional content.
@@ -178,35 +178,35 @@ let NileDetail = class NileDetail extends NileElement {
178
178
  `;
179
179
  }
180
180
  };
181
- NileDetail.styles = styles;
181
+ NileAccordion.styles = styles;
182
182
  __decorate([
183
183
  query('.details')
184
- ], NileDetail.prototype, "details", void 0);
184
+ ], NileAccordion.prototype, "details", void 0);
185
185
  __decorate([
186
186
  query('.details__header')
187
- ], NileDetail.prototype, "header", void 0);
187
+ ], NileAccordion.prototype, "header", void 0);
188
188
  __decorate([
189
189
  query('.details__body')
190
- ], NileDetail.prototype, "body", void 0);
190
+ ], NileAccordion.prototype, "body", void 0);
191
191
  __decorate([
192
192
  query('.details__expand-icon-slot')
193
- ], NileDetail.prototype, "expandIconSlot", void 0);
193
+ ], NileAccordion.prototype, "expandIconSlot", void 0);
194
194
  __decorate([
195
195
  property({ type: Boolean, reflect: true })
196
- ], NileDetail.prototype, "open", void 0);
196
+ ], NileAccordion.prototype, "open", void 0);
197
197
  __decorate([
198
198
  property()
199
- ], NileDetail.prototype, "summary", void 0);
199
+ ], NileAccordion.prototype, "summary", void 0);
200
200
  __decorate([
201
201
  property({ type: Boolean, reflect: true })
202
- ], NileDetail.prototype, "disabled", void 0);
202
+ ], NileAccordion.prototype, "disabled", void 0);
203
203
  __decorate([
204
204
  watch('open', { waitUntilFirstUpdate: true })
205
- ], NileDetail.prototype, "handleOpenChange", null);
206
- NileDetail = __decorate([
205
+ ], NileAccordion.prototype, "handleOpenChange", null);
206
+ NileAccordion = __decorate([
207
207
  customElement('nile-accordion')
208
- ], NileDetail);
209
- export { NileDetail };
208
+ ], NileAccordion);
209
+ export { NileAccordion };
210
210
  setDefaultAnimation('details.show', {
211
211
  keyframes: [
212
212
  { height: '0', opacity: '0' },
@@ -221,5 +221,5 @@ setDefaultAnimation('details.hide', {
221
221
  ],
222
222
  options: { duration: 250, easing: 'linear' }
223
223
  });
224
- export default NileDetail;
225
- //# sourceMappingURL=nile-detail.js.map
224
+ export default NileAccordion;
225
+ //# sourceMappingURL=nile-accordion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nile-accordion.js","sourceRoot":"","sources":["../../../src/nile-accordion/nile-accordion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,EAAa,IAAI,EAAE,QAAQ,EAAiC,MAAM,aAAa,CAAC;AACvF,OAAO,EAAC,MAAM,EAAC,MAAM,sBAAsB,CAAC;AAC5C,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAA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C,CAAC,CAAC;AAEH,mBAAmB,CAAC,cAAc,EAAE;IACpC,SAAS,EAAE;QACT,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE;QAChC,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE;KAC9B;IACD,OAAO,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE;CAC3C,CAAC,CAAC;AAEH,eAAe,aAAa,CAAC","sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {LitElement, html, property, CSSResultArray, TemplateResult} from 'lit-element';\nimport {styles} from './nile-accordion.css';\nimport NileElement from '../internal/nile-element';\nimport { animateTo, shimKeyframesHeightAuto, stopAnimations } from '../internal/animate';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { customElement, query } from 'lit/decorators.js';\nimport { getAnimation, setDefaultAnimation } from '../utilities/animation-registry';\nimport { waitForEvent } from '../internal/event';\nimport { watch } from '../internal/watch';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * Nile detail component.\n *\n * @tag nile-accordion\n *\n */\n@customElement('nile-accordion')\nexport class NileAccordion extends NileElement {\n\n/**\n * @summary Details show a brief summary and expand to show additional content.\n *\n * @dependency nile-icon\n *\n * @slot - The details' main content.\n * @slot summary - The details' summary. Alternatively, you can use the `summary` attribute.\n * @slot expand-icon - Optional expand icon to use instead of the default. Works best with `<nile-icon>`.\n * @slot collapse-icon - Optional collapse icon to use instead of the default. Works best with `<nile-icon>`.\n *\n * @event nile-show - Emitted when the details opens.\n * @event nile-after-show - Emitted after the details opens and all animations are complete.\n * @event nile-hide - Emitted when the details closes.\n * @event nile-after-hide - Emitted after the details closes and all animations are complete.\n *\n * @csspart base - The component's base wrapper.\n * @csspart header - The header that wraps both the summary and the expand/collapse icon.\n * @csspart summary - The container that wraps the summary.\n * @csspart summary-icon - The container that wraps the expand/collapse icons.\n * @csspart content - The details content.\n *\n * @animation details.show - The animation to use when showing details. You can use `height: auto` with this animation.\n * @animation details.hide - The animation to use when hiding details. You can use `height: auto` with this animation.\n */\n\nstatic styles: CSSResultGroup = styles;\n\n\n@query('.details') details: HTMLElement;\n@query('.details__header') header: HTMLElement;\n@query('.details__body') body: HTMLElement;\n@query('.details__expand-icon-slot') expandIconSlot: HTMLSlotElement;\n\n/**\n * Indicates whether or not the details is open. You can toggle this attribute to show and hide the details, or you\n * can use the `show()` and `hide()` methods and this attribute will reflect the details' open state.\n */\n@property({ type: Boolean, reflect: true }) open = false;\n\n/** The summary to show in the header. If you need to display HTML, use the `summary` slot instead. */\n@property() summary: string;\n\n/** Disables the details so it can't be toggled. */\n@property({ type: Boolean, reflect: true }) disabled = false;\n\nfirstUpdated() {\n this.body.hidden = !this.open;\n this.body.style.height = this.open ? 'auto' : '0';\n}\n\nprivate handleSummaryClick() {\n if (!this.disabled) {\n if (this.open) {\n this.hide();\n } else {\n this.show();\n }\n\n this.header.focus();\n }\n}\n\nprivate handleSummaryKeyDown(event: KeyboardEvent) {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n\n if (this.open) {\n this.hide();\n } else {\n this.show();\n }\n }\n\n if (event.key === 'ArrowUp' || event.key === 'ArrowLeft') {\n event.preventDefault();\n this.hide();\n }\n\n if (event.key === 'ArrowDown' || event.key === 'ArrowRight') {\n event.preventDefault();\n this.show();\n }\n}\n\n@watch('open', { waitUntilFirstUpdate: true })\nasync handleOpenChange() {\n if (this.open) {\n // Show\n const nileShow = this.emit('nile-show', { cancelable: true });\n if (nileShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n await stopAnimations(this.body);\n this.body.hidden = false;\n\n const { keyframes, options } = getAnimation(this, 'details.show', { dir: 'ltr' });\n await animateTo(this.body, shimKeyframesHeightAuto(keyframes, this.body.scrollHeight), options);\n this.body.style.height = 'auto';\n\n this.emit('nile-after-show');\n } else {\n // Hide\n const nileHide = this.emit('nile-hide', { cancelable: true });\n if (nileHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n await stopAnimations(this.body);\n\n const { keyframes, options } = getAnimation(this, 'details.hide', { dir: 'ltr' });\n await animateTo(this.body, shimKeyframesHeightAuto(keyframes, this.body.scrollHeight), options);\n this.body.hidden = true;\n this.body.style.height = 'auto';\n\n this.emit('nile-after-hide');\n }\n}\n\n/** Shows the details. */\nasync show() {\n if (this.open || this.disabled) {\n return undefined;\n }\n\n this.open = true;\n return waitForEvent(this, 'nile-after-show');\n}\n\n/** Hides the details */\nasync hide() {\n if (!this.open || this.disabled) {\n return undefined;\n }\n\n this.open = false;\n return waitForEvent(this, 'nile-after-hide');\n}\n\nrender() {\n const isRtl = false;\n\n return html`\n <div\n part=\"base\"\n class=${classMap({\n details: true,\n 'details--open': this.open,\n 'details--disabled': this.disabled,\n 'details--rtl': isRtl\n })}\n >\n <div\n part=\"header\"\n id=\"header\"\n class=\"details__header\"\n role=\"button\"\n aria-expanded=${this.open ? 'true' : 'false'}\n aria-controls=\"content\"\n aria-disabled=${this.disabled ? 'true' : 'false'}\n tabindex=${this.disabled ? '-1' : '0'}\n @click=${this.handleSummaryClick}\n @keydown=${this.handleSummaryKeyDown}\n >\n <slot name=\"summary\" part=\"summary\" class=\"details__summary\">${this.summary}</slot>\n\n <span part=\"summary-icon\" class=\"details__summary-icon\">\n <slot name=\"expand-icon\">\n <nile-icon name=\"arrowright\"></nile-icon>\n </slot>\n <slot name=\"collapse-icon\">\n <nile-icon name=\"arrowright\"></nile-icon>\n </slot>\n </span>\n </div>\n\n <div class=\"details__body\" role=\"region\" aria-labelledby=\"header\">\n <slot part=\"content\" id=\"content\" class=\"details__content\"></slot>\n </div>\n </div>\n `;\n}\n}\n\nsetDefaultAnimation('details.show', {\nkeyframes: [\n { height: '0', opacity: '0' },\n { height: 'auto', opacity: '1' }\n],\noptions: { duration: 250, easing: 'linear' }\n});\n\nsetDefaultAnimation('details.hide', {\nkeyframes: [\n { height: 'auto', opacity: '1' },\n { height: '0', opacity: '0' }\n],\noptions: { duration: 250, easing: 'linear' }\n});\n\nexport default NileAccordion;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-accordion': NileAccordion;\n }\n}\n"]}
@@ -23,8 +23,8 @@ export declare class NileButtonToggleGroup extends NileElement {
23
23
  disabled: boolean;
24
24
  value: String[] | String;
25
25
  multiple: boolean;
26
+ disableUserInput: Boolean;
26
27
  emptyDefault: boolean;
27
- connectedCallback(): void;
28
28
  firstUpdated(): void;
29
29
  updated(changedProperties: Map<string | number | symbol, unknown>): void;
30
30
  private updateDisabledState;
@@ -22,6 +22,7 @@ let NileButtonToggleGroup = class NileButtonToggleGroup extends NileElement {
22
22
  this.disabled = false;
23
23
  this.value = '';
24
24
  this.multiple = false;
25
+ this.disableUserInput = false;
25
26
  this.emptyDefault = false;
26
27
  /* #endregion */
27
28
  }
@@ -32,9 +33,6 @@ let NileButtonToggleGroup = class NileButtonToggleGroup extends NileElement {
32
33
  static get styles() {
33
34
  return [styles];
34
35
  }
35
- connectedCallback() {
36
- super.connectedCallback();
37
- }
38
36
  firstUpdated() {
39
37
  this.defaultSlot.addEventListener('slotchange', () => this.updateTogglePositions());
40
38
  this.addEventListener('nile-toggle-change', this.handleToggle);
@@ -93,6 +91,8 @@ let NileButtonToggleGroup = class NileButtonToggleGroup extends NileElement {
93
91
  return;
94
92
  if (!this.multiple && event.detail.value == this.value)
95
93
  return;
94
+ if (this.disableUserInput)
95
+ return;
96
96
  this.setValue(event.detail.value);
97
97
  this.emit('nile-change', { value: this.value });
98
98
  }
@@ -150,6 +150,9 @@ __decorate([
150
150
  __decorate([
151
151
  property({ type: Boolean })
152
152
  ], NileButtonToggleGroup.prototype, "multiple", void 0);
153
+ __decorate([
154
+ property({ type: Boolean })
155
+ ], NileButtonToggleGroup.prototype, "disableUserInput", void 0);
153
156
  __decorate([
154
157
  property({ type: Boolean })
155
158
  ], NileButtonToggleGroup.prototype, "emptyDefault", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"nile-button-toggle-group.js","sourceRoot":"","sources":["../../../src/nile-button-toggle-group/nile-button-toggle-group.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,EAAa,IAAI,EAAE,QAAQ,EAAiC,MAAM,aAAa,CAAC;AACvF,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAC,MAAM,EAAC,MAAM,gCAAgC,CAAC;AACtD,OAAO,gBAAgB,MAAM,0CAA0C,CAAC;AACxE,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD;;;;;GAKG;AAEI,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,WAAW;IAA/C;;QAa8C,aAAQ,GAAY,KAAK,CAAC;QAEjE,UAAK,GAAiB,EAAE,CAAC;QAEX,aAAQ,GAAS,KAAK,CAAC;QAEvB,iBAAY,GAAS,KAAK,CAAC;QA2GrD,gBAAgB;IAClB,CAAC;IA9HC;;;OAGG;IACI,MAAM,KAAK,MAAM;QACtB,OAAO,CAAC,MAAM,CAAC,CAAC;IAClB,CAAC;IAcD,iBAAiB;QACf,KAAK,CAAC,iBAAiB,EAAE,CAAC;IAC5B,CAAC;IAED,YAAY;QACV,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,YAAY,EAAE,GAAG,EAAE,CACnD,IAAI,CAAC,qBAAqB,EAAE,CAC7B,CAAC;QACF,IAAI,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;QAC/D,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC7B,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;YACf,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;gBAClB,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAmB,oBAAoB,CAAC,CAAC,CAAC;gBAC1F,M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Q,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;uDAAkC;AAEjE;IAAX,QAAQ,EAAE;oDAA0B;AAEX;IAAzB,QAAQ,CAAC,EAAC,IAAI,EAAC,OAAO,EAAC,CAAC;uDAAwB;AAEvB;IAAzB,QAAQ,CAAC,EAAC,IAAI,EAAC,OAAO,EAAC,CAAC;2DAA4B;AAnB1C,qBAAqB;IADjC,aAAa,CAAC,0BAA0B,CAAC;GAC7B,qBAAqB,CA+HjC;SA/HY,qBAAqB;AAiIlC,eAAe,qBAAqB,CAAC","sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {LitElement, html, property, CSSResultArray, TemplateResult} from 'lit-element';\nimport { customElement, query, queryAll } from 'lit/decorators.js';\nimport {styles} from './nile-button-toggle-group.css';\nimport NileButtonToggle from '../nile-button-toggle/nile-button-toggle';\nimport NileElement from '../internal/nile-element';\n/**\n * Nile icon component.\n *\n * @tag nile-button-toggle-group\n *\n */\n@customElement('nile-button-toggle-group')\nexport class NileButtonToggleGroup extends NileElement {\n /**\n * The styles for ButtonToggleGroup\n * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`\n */\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n @queryAll('nile-button-toggle') private toggles!: NodeListOf<NileButtonToggle>;\n\n @query('slot:not([name])') private defaultSlot!: HTMLSlotElement;\n\n @property({ type: Boolean, reflect: true }) public disabled: boolean = false;\n\n @property() value:String[]|String='';\n\n @property({type:Boolean}) multiple:boolean=false;\n\n @property({type:Boolean}) emptyDefault:boolean=false;\n\n connectedCallback() {\n super.connectedCallback();\n }\n\n firstUpdated() {\n this.defaultSlot.addEventListener('slotchange', () =>\n this.updateTogglePositions()\n );\n this.addEventListener('nile-toggle-change', this.handleToggle);\n this.updateTogglePositions();\n if (!this.value) {\n if (!this.multiple) {\n const toggles = Array.from(this.querySelectorAll<NileButtonToggle>('nile-button-toggle'));\n const activeToggle = toggles.find(e => e.active && !e.disabled);\n if (activeToggle) this.value = activeToggle.value;\n else if(toggles.length && !this.emptyDefault && !this.disabled) this.value = toggles[0].value;\n else this.value = '';\n }\n else this.value = [];\n }\n this.setBtnState()\n }\n\n updated(changedProperties: Map<string | number | symbol, unknown>) {\n super.updated(changedProperties);\n if (changedProperties.has('disabled')) {\n this.updateDisabledState();\n }\n if(changedProperties.has('multiple')){\n if(!this.value) this.value=this.multiple?[]:''\n this.setBtnState()\n }\n if(changedProperties.has('value')){\n this.setBtnState()\n }\n }\n\n private updateDisabledState() {\n const assignedNodes = this.defaultSlot.assignedNodes({ flatten: true });\n const toggles = assignedNodes.filter(\n node => node instanceof NileButtonToggle\n ) as NileButtonToggle[];\n\n toggles.forEach(toggle => {\n if (!toggle.disabled) {\n toggle.disabled = this.disabled;\n }\n });\n }\n\n updateTogglePositions() {\n const assignedNodes = this.defaultSlot.assignedNodes({ flatten: true });\n const toggles = assignedNodes.filter(\n node => node instanceof NileButtonToggle\n ) as NileButtonToggle[];\n\n toggles.forEach((toggle, index) => {\n toggle.initial = index === 0;\n toggle.middle = index > 0 && index < toggles.length - 1;\n toggle.end = index === toggles.length - 1;\n });\n }\n\n handleToggle(event: CustomEvent) {\n event.stopPropagation()\n if (this.disabled) return;\n if(!this.multiple && event.detail.value == this.value) return;\n this.setValue(event.detail.value);\n this.emit('nile-change', { value: this.value });\n }\n\n setValue(btnValue:string){\n if(this.multiple && btnValue){\n // @ts-ignore\n if(this.value.includes(btnValue)) this.value=this.value.filter(e=>e!=btnValue)\n else this.value=[...this.value,btnValue]\n }\n else{\n this.value=btnValue;\n }\n this.setBtnState()\n }\n\n setBtnState(){\n const toggles = Array.from(this.querySelectorAll<NileButtonToggle>('nile-button-toggle'));\n if(this.multiple){\n toggles.forEach(btn=>{\n if(this.value.includes(btn.value)) btn.active=true;\n else btn.active=false;\n })\n }\n else toggles.forEach(btn=>{\n if(btn.value==this.value) btn.active=true;\n else btn.active=false;\n })\n }\n\n /**\n * Render method\n * @slot This is a slot test\n */\n public render(): TemplateResult {\n return html`<slot> </slot>`;\n }\n\n /* #endregion */\n}\n\nexport default NileButtonToggleGroup;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-button-toggle-group': NileButtonToggleGroup;\n }\n}\n"]}
1
+ {"version":3,"file":"nile-button-toggle-group.js","sourceRoot":"","sources":["../../../src/nile-button-toggle-group/nile-button-toggle-group.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,EAAa,IAAI,EAAE,QAAQ,EAAiC,MAAM,aAAa,CAAC;AACvF,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAC,MAAM,EAAC,MAAM,gCAAgC,CAAC;AACtD,OAAO,gBAAgB,MAAM,0CAA0C,CAAC;AACxE,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD;;;;;GAKG;AAEI,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,WAAW;IAA/C;;QAa8C,aAAQ,GAAY,KAAK,CAAC;QAEjE,UAAK,GAAiB,EAAE,CAAC;QAEX,aAAQ,GAAS,KAAK,CAAC;QAEtB,qBAAgB,GAAY,KAAK,CAAC;QAEnC,iBAAY,GAAS,KAAK,CAAC;QAwGrD,gBAAgB;IAClB,CAAC;IA7HC;;;OAGG;IACI,MAAM,KAAK,MAAM;QACtB,OAAO,CAAC,MAAM,CAAC,CAAC;IAClB,CAAC;IAgBD,YAAY;QACV,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,YAAY,EAAE,GAAG,EAAE,CACnD,IAAI,CAAC,qBAAqB,EAAE,CAC7B,CAAC;QACF,IAAI,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;QAC/D,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC7B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B,CAAC,CAAC,CAAA;IACJ,CAAC;IAED;;;OAGG;IACI,MAAM;QACX,OAAO,IAAI,CAAA,gBAAgB,CAAC;IAC9B,CAAC;CAGF,CAAA;AArHiC;IAA/B,QAAQ,CAAC,oBAAoB,CAAC;sDAAgD;AAEpD;IAA1B,KAAK,CAAC,kBAAkB,CAAC;0DAAuC;AAErB;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;uDAAkC;AAEjE;IAAX,QAAQ,EAAE;oDAA0B;AAEX;IAAzB,QAAQ,CAAC,EAAC,IAAI,EAAC,OAAO,EAAC,CAAC;uDAAwB;AAEtB;IAA1B,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAC,CAAC;+DAAmC;AAEnC;IAAzB,QAAQ,CAAC,EAAC,IAAI,EAAC,OAAO,EAAC,CAAC;2DAA4B;AArB1C,qBAAqB;IADjC,aAAa,CAAC,0BAA0B,CAAC;GAC7B,qBAAqB,CA8HjC;SA9HY,qBAAqB;AAgIlC,eAAe,qBAAqB,CAAC","sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {LitElement, html, property, CSSResultArray, TemplateResult} from 'lit-element';\nimport { customElement, query, queryAll } from 'lit/decorators.js';\nimport {styles} from './nile-button-toggle-group.css';\nimport NileButtonToggle from '../nile-button-toggle/nile-button-toggle';\nimport NileElement from '../internal/nile-element';\n/**\n * Nile icon component.\n *\n * @tag nile-button-toggle-group\n *\n */\n@customElement('nile-button-toggle-group')\nexport class NileButtonToggleGroup extends NileElement {\n /**\n * The styles for ButtonToggleGroup\n * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`\n */\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n @queryAll('nile-button-toggle') private toggles!: NodeListOf<NileButtonToggle>;\n\n @query('slot:not([name])') private defaultSlot!: HTMLSlotElement;\n\n @property({ type: Boolean, reflect: true }) public disabled: boolean = false;\n\n @property() value:String[]|String='';\n\n @property({type:Boolean}) multiple:boolean=false;\n\n @property({type: Boolean}) disableUserInput: Boolean = false;\n\n @property({type:Boolean}) emptyDefault:boolean=false;\n\n firstUpdated() {\n this.defaultSlot.addEventListener('slotchange', () =>\n this.updateTogglePositions()\n );\n this.addEventListener('nile-toggle-change', this.handleToggle);\n this.updateTogglePositions();\n if (!this.value) {\n if (!this.multiple) {\n const toggles = Array.from(this.querySelectorAll<NileButtonToggle>('nile-button-toggle'));\n const activeToggle = toggles.find(e => e.active && !e.disabled);\n if (activeToggle) this.value = activeToggle.value;\n else if(toggles.length && !this.emptyDefault && !this.disabled) this.value = toggles[0].value;\n else this.value = '';\n }\n else this.value = [];\n }\n this.setBtnState()\n }\n\n updated(changedProperties: Map<string | number | symbol, unknown>) {\n super.updated(changedProperties);\n if (changedProperties.has('disabled')) {\n this.updateDisabledState();\n }\n if(changedProperties.has('multiple')){\n if(!this.value) this.value=this.multiple?[]:''\n this.setBtnState()\n }\n if(changedProperties.has('value')){\n this.setBtnState()\n }\n }\n\n private updateDisabledState() {\n const assignedNodes = this.defaultSlot.assignedNodes({ flatten: true });\n const toggles = assignedNodes.filter(\n node => node instanceof NileButtonToggle\n ) as NileButtonToggle[];\n\n toggles.forEach(toggle => {\n if (!toggle.disabled) {\n toggle.disabled = this.disabled;\n }\n });\n }\n\n updateTogglePositions() {\n const assignedNodes = this.defaultSlot.assignedNodes({ flatten: true });\n const toggles = assignedNodes.filter(\n node => node instanceof NileButtonToggle\n ) as NileButtonToggle[];\n\n toggles.forEach((toggle, index) => {\n toggle.initial = index === 0;\n toggle.middle = index > 0 && index < toggles.length - 1;\n toggle.end = index === toggles.length - 1;\n });\n }\n\n handleToggle(event: CustomEvent) {\n event.stopPropagation()\n if (this.disabled) return;\n if(!this.multiple && event.detail.value == this.value) return;\n if(this.disableUserInput) return;\n this.setValue(event.detail.value);\n this.emit('nile-change', { value: this.value });\n }\n\n setValue(btnValue:string){\n if(this.multiple && btnValue){\n // @ts-ignore\n if(this.value.includes(btnValue)) this.value=this.value.filter(e=>e!=btnValue)\n else this.value=[...this.value,btnValue]\n }\n else{\n this.value=btnValue;\n }\n this.setBtnState()\n }\n\n setBtnState(){\n const toggles = Array.from(this.querySelectorAll<NileButtonToggle>('nile-button-toggle'));\n if(this.multiple){\n toggles.forEach(btn=>{\n if(this.value.includes(btn.value)) btn.active=true;\n else btn.active=false;\n })\n }\n else toggles.forEach(btn=>{\n if(btn.value==this.value) btn.active=true;\n else btn.active=false;\n })\n }\n\n /**\n * Render method\n * @slot This is a slot test\n */\n public render(): TemplateResult {\n return html`<slot> </slot>`;\n }\n\n /* #endregion */\n}\n\nexport default NileButtonToggleGroup;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-button-toggle-group': NileButtonToggleGroup;\n }\n}\n"]}
@@ -17,7 +17,7 @@ export declare class NileCodeEditor extends NileElement {
17
17
  codeEditor: HTMLInputElement;
18
18
  value: string;
19
19
  customAutoCompletions: object;
20
- language: 'javascript' | 'sql';
20
+ language: 'javascript' | 'sql' | 'json';
21
21
  errorMessage: string;
22
22
  error: boolean;
23
23
  noborder: boolean;
@@ -49,6 +49,7 @@ export declare class NileCodeEditor extends NileElement {
49
49
  emitAfterTimeout(value: any): void;
50
50
  insertBetweenCode: (text: string) => void;
51
51
  getLineNumbersExension(): import("@codemirror/state").Extension;
52
+ getLanguageExtension(): import("@codemirror/language").LanguageSupport;
52
53
  getReadOnlyExtension(): import("@codemirror/state").Extension;
53
54
  getSingleLineExtension(): import("@codemirror/state").Extension;
54
55
  restrictSingleLine(): import("@codemirror/state").Extension;
@@ -13,6 +13,7 @@ import { Compartment, EditorState, } from '@codemirror/state';
13
13
  import { lineNumbers } from '@codemirror/view';
14
14
  import { javascript, javascriptLanguage, scopeCompletionSource, } from '@codemirror/lang-javascript';
15
15
  import { sql } from '@codemirror/lang-sql';
16
+ import { json } from '@codemirror/lang-json';
16
17
  import { autocompletion } from '@codemirror/autocomplete';
17
18
  import NileElement from '../internal/nile-element';
18
19
  import { basicSetup } from './extensionSetup';
@@ -162,7 +163,7 @@ let NileCodeEditor = class NileCodeEditor extends NileElement {
162
163
  const customAutoCompletions = this.customCompletionComp.of(javascriptLanguage.data.of({
163
164
  autocomplete: scopeCompletionSource(this.customAutoCompletions),
164
165
  }));
165
- const language = this.language == "sql" ? sql() : javascript();
166
+ const language = this.getLanguageExtension();
166
167
  let startState = EditorState.create({
167
168
  doc: !this.multiline ? this.convertToSingleLine(this.value) : this.value,
168
169
  extensions: [
@@ -221,6 +222,16 @@ let NileCodeEditor = class NileCodeEditor extends NileElement {
221
222
  getLineNumbersExension() {
222
223
  return this.lineNumbers || this.multiline ? lineNumbers() : [];
223
224
  }
225
+ getLanguageExtension() {
226
+ switch (this.language) {
227
+ case 'sql':
228
+ return sql();
229
+ case 'json':
230
+ return json();
231
+ default:
232
+ return javascript();
233
+ }
234
+ }
224
235
  getReadOnlyExtension() {
225
236
  return EditorState.readOnly.of(this.readonly);
226
237
  }