@furystack/shades-common-components 5.0.0 → 5.0.2

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 (228) hide show
  1. package/esm/components/animations.js +1 -1
  2. package/esm/components/animations.js.map +1 -1
  3. package/esm/components/app-bar-link.js +1 -1
  4. package/esm/components/app-bar-link.js.map +1 -1
  5. package/esm/components/app-bar.js +1 -1
  6. package/esm/components/app-bar.js.map +1 -1
  7. package/{types → esm}/components/button.d.ts +1 -1
  8. package/{types → esm}/components/button.d.ts.map +1 -1
  9. package/esm/components/button.js +2 -2
  10. package/esm/components/button.js.map +1 -1
  11. package/{types → esm}/components/command-palette/command-palette-input.d.ts +1 -1
  12. package/{types → esm}/components/command-palette/command-palette-input.d.ts.map +1 -1
  13. package/esm/components/command-palette/command-palette-input.js +2 -2
  14. package/esm/components/command-palette/command-palette-input.js.map +1 -1
  15. package/{types → esm}/components/command-palette/command-palette-manager.d.ts +1 -1
  16. package/{types → esm}/components/command-palette/command-palette-manager.d.ts.map +1 -1
  17. package/{types → esm}/components/command-palette/command-palette-suggestion-list.d.ts +1 -1
  18. package/{types → esm}/components/command-palette/command-palette-suggestion-list.d.ts.map +1 -1
  19. package/esm/components/command-palette/command-palette-suggestion-list.js +2 -2
  20. package/esm/components/command-palette/command-palette-suggestion-list.js.map +1 -1
  21. package/{types → esm}/components/command-palette/index.d.ts +5 -5
  22. package/{types → esm}/components/command-palette/index.d.ts.map +1 -1
  23. package/esm/components/command-palette/index.js +11 -11
  24. package/esm/components/command-palette/index.js.map +1 -1
  25. package/{types → esm}/components/data-grid/body.d.ts +2 -2
  26. package/esm/components/data-grid/body.d.ts.map +1 -0
  27. package/esm/components/data-grid/body.js +2 -2
  28. package/esm/components/data-grid/body.js.map +1 -1
  29. package/{types → esm}/components/data-grid/data-grid-row.d.ts +2 -2
  30. package/esm/components/data-grid/data-grid-row.d.ts.map +1 -0
  31. package/esm/components/data-grid/data-grid-row.js +1 -1
  32. package/esm/components/data-grid/data-grid-row.js.map +1 -1
  33. package/{types → esm}/components/data-grid/data-grid.d.ts +2 -2
  34. package/{types → esm}/components/data-grid/data-grid.d.ts.map +1 -1
  35. package/esm/components/data-grid/data-grid.js +5 -4
  36. package/esm/components/data-grid/data-grid.js.map +1 -1
  37. package/{types → esm}/components/data-grid/footer.d.ts +1 -1
  38. package/{types → esm}/components/data-grid/footer.d.ts.map +1 -1
  39. package/esm/components/data-grid/footer.js +1 -1
  40. package/esm/components/data-grid/footer.js.map +1 -1
  41. package/{types → esm}/components/data-grid/header.d.ts +1 -1
  42. package/{types → esm}/components/data-grid/header.d.ts.map +1 -1
  43. package/esm/components/data-grid/header.js +4 -4
  44. package/esm/components/data-grid/header.js.map +1 -1
  45. package/esm/components/data-grid/index.d.ts +3 -0
  46. package/{types → esm}/components/data-grid/index.d.ts.map +1 -1
  47. package/esm/components/data-grid/index.js +2 -2
  48. package/esm/components/data-grid/index.js.map +1 -1
  49. package/{types → esm}/components/data-grid/selection-cell.d.ts +1 -1
  50. package/esm/components/data-grid/selection-cell.d.ts.map +1 -0
  51. package/{types → esm}/components/form.d.ts +1 -1
  52. package/esm/components/form.d.ts.map +1 -0
  53. package/esm/components/grid.js +1 -1
  54. package/esm/components/grid.js.map +1 -1
  55. package/esm/components/index.d.ts +21 -0
  56. package/esm/components/index.d.ts.map +1 -0
  57. package/esm/components/index.js +20 -20
  58. package/esm/components/index.js.map +1 -1
  59. package/{types → esm}/components/inputs/autocomplete.d.ts +1 -1
  60. package/{types → esm}/components/inputs/autocomplete.d.ts.map +1 -1
  61. package/esm/components/inputs/autocomplete.js +1 -1
  62. package/esm/components/inputs/autocomplete.js.map +1 -1
  63. package/esm/components/inputs/index.d.ts +4 -0
  64. package/{types → esm}/components/inputs/index.d.ts.map +1 -1
  65. package/esm/components/inputs/index.js +3 -3
  66. package/esm/components/inputs/index.js.map +1 -1
  67. package/{types → esm}/components/inputs/input.d.ts +1 -1
  68. package/{types → esm}/components/inputs/input.d.ts.map +1 -1
  69. package/esm/components/inputs/input.js +2 -1
  70. package/esm/components/inputs/input.js.map +1 -1
  71. package/esm/components/inputs/text-area.js +2 -2
  72. package/esm/components/inputs/text-area.js.map +1 -1
  73. package/esm/components/loader.js +2 -2
  74. package/esm/components/loader.js.map +1 -1
  75. package/{types → esm}/components/noty-list.d.ts +1 -1
  76. package/{types → esm}/components/noty-list.d.ts.map +1 -1
  77. package/esm/components/noty-list.js +4 -4
  78. package/esm/components/noty-list.js.map +1 -1
  79. package/esm/components/paper.js +1 -1
  80. package/esm/components/paper.js.map +1 -1
  81. package/esm/components/skeleton.js +1 -1
  82. package/esm/components/skeleton.js.map +1 -1
  83. package/{types → esm}/components/suggest/index.d.ts +5 -5
  84. package/{types → esm}/components/suggest/index.d.ts.map +1 -1
  85. package/esm/components/suggest/index.js +10 -10
  86. package/esm/components/suggest/index.js.map +1 -1
  87. package/{types → esm}/components/suggest/suggest-input.d.ts +1 -1
  88. package/{types → esm}/components/suggest/suggest-input.d.ts.map +1 -1
  89. package/esm/components/suggest/suggest-input.js +1 -1
  90. package/esm/components/suggest/suggest-input.js.map +1 -1
  91. package/{types → esm}/components/suggest/suggest-manager.d.ts +1 -1
  92. package/{types → esm}/components/suggest/suggest-manager.d.ts.map +1 -1
  93. package/{types → esm}/components/suggest/suggestion-list.d.ts +1 -1
  94. package/{types → esm}/components/suggest/suggestion-list.d.ts.map +1 -1
  95. package/esm/components/suggest/suggestion-list.js +2 -2
  96. package/esm/components/suggest/suggestion-list.js.map +1 -1
  97. package/esm/components/tabs.js +1 -1
  98. package/esm/components/tabs.js.map +1 -1
  99. package/esm/components/wizard/index.js +1 -1
  100. package/esm/components/wizard/index.js.map +1 -1
  101. package/esm/index.d.ts +4 -0
  102. package/esm/index.d.ts.map +1 -0
  103. package/esm/index.js +3 -3
  104. package/esm/index.js.map +1 -1
  105. package/esm/services/default-dark-theme.d.ts +3 -0
  106. package/{types → esm}/services/default-dark-theme.d.ts.map +1 -1
  107. package/esm/services/default-dark-theme.js +1 -1
  108. package/esm/services/default-dark-theme.js.map +1 -1
  109. package/esm/services/default-light-theme.d.ts +3 -0
  110. package/{types → esm}/services/default-light-theme.d.ts.map +1 -1
  111. package/esm/services/default-light-theme.js +1 -1
  112. package/esm/services/default-light-theme.js.map +1 -1
  113. package/esm/services/default-palette.d.ts +3 -0
  114. package/{types → esm}/services/default-palette.d.ts.map +1 -1
  115. package/{types → esm}/services/default-variable-theme.d.ts +1 -1
  116. package/{types → esm}/services/default-variable-theme.d.ts.map +1 -1
  117. package/esm/services/index.d.ts +9 -0
  118. package/esm/services/index.d.ts.map +1 -0
  119. package/esm/services/index.js +8 -8
  120. package/esm/services/index.js.map +1 -1
  121. package/esm/services/theme-provider-service.js +1 -1
  122. package/esm/services/theme-provider-service.js.map +1 -1
  123. package/esm/utils/index.d.ts +2 -0
  124. package/esm/utils/index.d.ts.map +1 -0
  125. package/esm/utils/index.js +1 -1
  126. package/esm/utils/index.js.map +1 -1
  127. package/package.json +11 -15
  128. package/src/components/animations.ts +1 -1
  129. package/src/components/app-bar-link.tsx +1 -1
  130. package/src/components/app-bar.tsx +1 -1
  131. package/src/components/button.tsx +3 -3
  132. package/src/components/command-palette/command-palette-input.tsx +3 -3
  133. package/src/components/command-palette/command-palette-manager.ts +1 -1
  134. package/src/components/command-palette/command-palette-suggestion-list.tsx +3 -3
  135. package/src/components/command-palette/index.tsx +12 -12
  136. package/src/components/data-grid/body.tsx +4 -4
  137. package/src/components/data-grid/data-grid-row.tsx +3 -3
  138. package/src/components/data-grid/data-grid.tsx +7 -6
  139. package/src/components/data-grid/footer.tsx +2 -2
  140. package/src/components/data-grid/header.tsx +5 -5
  141. package/src/components/data-grid/index.tsx +2 -2
  142. package/src/components/data-grid/selection-cell.tsx +1 -1
  143. package/src/components/form.tsx +1 -1
  144. package/src/components/grid.tsx +1 -1
  145. package/src/components/index.ts +20 -20
  146. package/src/components/inputs/autocomplete.tsx +2 -2
  147. package/src/components/inputs/index.ts +3 -3
  148. package/src/components/inputs/input.tsx +3 -2
  149. package/src/components/inputs/text-area.tsx +2 -2
  150. package/src/components/loader.tsx +2 -2
  151. package/src/components/noty-list.tsx +5 -5
  152. package/src/components/paper.tsx +1 -1
  153. package/src/components/skeleton.tsx +1 -1
  154. package/src/components/suggest/index.tsx +11 -11
  155. package/src/components/suggest/suggest-input.tsx +2 -2
  156. package/src/components/suggest/suggest-manager.ts +1 -1
  157. package/src/components/suggest/suggestion-list.tsx +3 -3
  158. package/src/components/tabs.tsx +1 -1
  159. package/src/components/wizard/index.tsx +1 -1
  160. package/src/index.ts +3 -3
  161. package/src/services/default-dark-theme.ts +2 -2
  162. package/src/services/default-light-theme.ts +2 -2
  163. package/src/services/default-palette.ts +1 -1
  164. package/src/services/default-variable-theme.ts +1 -1
  165. package/src/services/index.ts +8 -8
  166. package/src/services/theme-provider-service.ts +1 -1
  167. package/src/utils/index.ts +1 -1
  168. package/tsconfig.json +0 -15
  169. package/tsconfig.tsbuildinfo +0 -1
  170. package/types/components/data-grid/body.d.ts.map +0 -1
  171. package/types/components/data-grid/data-grid-row.d.ts.map +0 -1
  172. package/types/components/data-grid/index.d.ts +0 -3
  173. package/types/components/data-grid/selection-cell.d.ts.map +0 -1
  174. package/types/components/form.d.ts.map +0 -1
  175. package/types/components/index.d.ts +0 -21
  176. package/types/components/index.d.ts.map +0 -1
  177. package/types/components/inputs/index.d.ts +0 -4
  178. package/types/index.d.ts +0 -4
  179. package/types/index.d.ts.map +0 -1
  180. package/types/services/default-dark-theme.d.ts +0 -3
  181. package/types/services/default-light-theme.d.ts +0 -3
  182. package/types/services/default-palette.d.ts +0 -3
  183. package/types/services/index.d.ts +0 -9
  184. package/types/services/index.d.ts.map +0 -1
  185. package/types/utils/index.d.ts +0 -2
  186. package/types/utils/index.d.ts.map +0 -1
  187. /package/{types → esm}/components/animations.d.ts +0 -0
  188. /package/{types → esm}/components/animations.d.ts.map +0 -0
  189. /package/{types → esm}/components/app-bar-link.d.ts +0 -0
  190. /package/{types → esm}/components/app-bar-link.d.ts.map +0 -0
  191. /package/{types → esm}/components/app-bar.d.ts +0 -0
  192. /package/{types → esm}/components/app-bar.d.ts.map +0 -0
  193. /package/{types → esm}/components/avatar.d.ts +0 -0
  194. /package/{types → esm}/components/avatar.d.ts.map +0 -0
  195. /package/{types → esm}/components/command-palette/command-provider.d.ts +0 -0
  196. /package/{types → esm}/components/command-palette/command-provider.d.ts.map +0 -0
  197. /package/{types → esm}/components/fab.d.ts +0 -0
  198. /package/{types → esm}/components/fab.d.ts.map +0 -0
  199. /package/{types → esm}/components/grid.d.ts +0 -0
  200. /package/{types → esm}/components/grid.d.ts.map +0 -0
  201. /package/{types → esm}/components/inputs/text-area.d.ts +0 -0
  202. /package/{types → esm}/components/inputs/text-area.d.ts.map +0 -0
  203. /package/{types → esm}/components/loader.d.ts +0 -0
  204. /package/{types → esm}/components/loader.d.ts.map +0 -0
  205. /package/{types → esm}/components/modal.d.ts +0 -0
  206. /package/{types → esm}/components/modal.d.ts.map +0 -0
  207. /package/{types → esm}/components/paper.d.ts +0 -0
  208. /package/{types → esm}/components/paper.d.ts.map +0 -0
  209. /package/{types → esm}/components/skeleton.d.ts +0 -0
  210. /package/{types → esm}/components/skeleton.d.ts.map +0 -0
  211. /package/{types → esm}/components/styles.d.ts +0 -0
  212. /package/{types → esm}/components/styles.d.ts.map +0 -0
  213. /package/{types → esm}/components/suggest/suggestion-result.d.ts +0 -0
  214. /package/{types → esm}/components/suggest/suggestion-result.d.ts.map +0 -0
  215. /package/{types → esm}/components/tabs.d.ts +0 -0
  216. /package/{types → esm}/components/tabs.d.ts.map +0 -0
  217. /package/{types → esm}/components/wizard/index.d.ts +0 -0
  218. /package/{types → esm}/components/wizard/index.d.ts.map +0 -0
  219. /package/{types → esm}/services/click-away-service.d.ts +0 -0
  220. /package/{types → esm}/services/click-away-service.d.ts.map +0 -0
  221. /package/{types → esm}/services/collection-service.d.ts +0 -0
  222. /package/{types → esm}/services/collection-service.d.ts.map +0 -0
  223. /package/{types → esm}/services/noty-service.d.ts +0 -0
  224. /package/{types → esm}/services/noty-service.d.ts.map +0 -0
  225. /package/{types → esm}/services/theme-provider-service.d.ts +0 -0
  226. /package/{types → esm}/services/theme-provider-service.d.ts.map +0 -0
  227. /package/{types → esm}/utils/promisify-animation.d.ts +0 -0
  228. /package/{types → esm}/utils/promisify-animation.d.ts.map +0 -0
package/esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { Theme } from './theme-provider-service.js';
2
+ export declare const defaultDarkTheme: Theme;
3
+ //# sourceMappingURL=default-dark-theme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default-dark-theme.d.ts","sourceRoot":"","sources":["../../src/services/default-dark-theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AAErD,eAAO,MAAM,gBAAgB,EAAE,KAmB9B,CAAA"}
1
+ {"version":3,"file":"default-dark-theme.d.ts","sourceRoot":"","sources":["../../src/services/default-dark-theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAA;AAExD,eAAO,MAAM,gBAAgB,EAAE,KAmB9B,CAAA"}
@@ -1,4 +1,4 @@
1
- import { defaultPalette } from './default-palette';
1
+ import { defaultPalette } from './default-palette.js';
2
2
  export const defaultDarkTheme = {
3
3
  text: {
4
4
  primary: '#fff',
@@ -1 +1 @@
1
- {"version":3,"file":"default-dark-theme.js","sourceRoot":"","sources":["../../src/services/default-dark-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAGlD,MAAM,CAAC,MAAM,gBAAgB,GAAU;IACrC,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM;QACf,SAAS,EAAE,0BAA0B;QACrC,QAAQ,EAAE,0BAA0B;KACrC;IACD,MAAM,EAAE;QACN,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,2BAA2B;QAClC,QAAQ,EAAE,2BAA2B;QACrC,QAAQ,EAAE,0BAA0B;QACpC,kBAAkB,EAAE,2BAA2B;KAChD;IACD,UAAU,EAAE;QACV,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,SAAS;KACjB;IACD,OAAO,EAAE,cAAc;IACvB,OAAO,EAAE,qBAAqB;CAC/B,CAAA"}
1
+ {"version":3,"file":"default-dark-theme.js","sourceRoot":"","sources":["../../src/services/default-dark-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAGrD,MAAM,CAAC,MAAM,gBAAgB,GAAU;IACrC,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM;QACf,SAAS,EAAE,0BAA0B;QACrC,QAAQ,EAAE,0BAA0B;KACrC;IACD,MAAM,EAAE;QACN,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,2BAA2B;QAClC,QAAQ,EAAE,2BAA2B;QACrC,QAAQ,EAAE,0BAA0B;QACpC,kBAAkB,EAAE,2BAA2B;KAChD;IACD,UAAU,EAAE;QACV,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,SAAS;KACjB;IACD,OAAO,EAAE,cAAc;IACvB,OAAO,EAAE,qBAAqB;CAC/B,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { Theme } from './theme-provider-service.js';
2
+ export declare const defaultLightTheme: Theme;
3
+ //# sourceMappingURL=default-light-theme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default-light-theme.d.ts","sourceRoot":"","sources":["../../src/services/default-light-theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AAErD,eAAO,MAAM,iBAAiB,EAAE,KAmB/B,CAAA"}
1
+ {"version":3,"file":"default-light-theme.d.ts","sourceRoot":"","sources":["../../src/services/default-light-theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAA;AAExD,eAAO,MAAM,iBAAiB,EAAE,KAmB/B,CAAA"}
@@ -1,4 +1,4 @@
1
- import { defaultPalette } from './default-palette';
1
+ import { defaultPalette } from './default-palette.js';
2
2
  export const defaultLightTheme = {
3
3
  palette: defaultPalette,
4
4
  text: {
@@ -1 +1 @@
1
- {"version":3,"file":"default-light-theme.js","sourceRoot":"","sources":["../../src/services/default-light-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAGlD,MAAM,CAAC,MAAM,iBAAiB,GAAU;IACtC,OAAO,EAAE,cAAc;IACvB,IAAI,EAAE;QACJ,OAAO,EAAE,qBAAqB;QAC9B,SAAS,EAAE,qBAAqB;QAChC,QAAQ,EAAE,qBAAqB;KAChC;IACD,MAAM,EAAE;QACN,MAAM,EAAE,qBAAqB;QAC7B,KAAK,EAAE,qBAAqB;QAC5B,QAAQ,EAAE,qBAAqB;QAC/B,QAAQ,EAAE,qBAAqB;QAC/B,kBAAkB,EAAE,qBAAqB;KAC1C;IACD,UAAU,EAAE;QACV,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,MAAM;KACd;IACD,OAAO,EAAE,qBAAqB;CAC/B,CAAA"}
1
+ {"version":3,"file":"default-light-theme.js","sourceRoot":"","sources":["../../src/services/default-light-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAGrD,MAAM,CAAC,MAAM,iBAAiB,GAAU;IACtC,OAAO,EAAE,cAAc;IACvB,IAAI,EAAE;QACJ,OAAO,EAAE,qBAAqB;QAC9B,SAAS,EAAE,qBAAqB;QAChC,QAAQ,EAAE,qBAAqB;KAChC;IACD,MAAM,EAAE;QACN,MAAM,EAAE,qBAAqB;QAC7B,KAAK,EAAE,qBAAqB;QAC5B,QAAQ,EAAE,qBAAqB;QAC/B,QAAQ,EAAE,qBAAqB;QAC/B,kBAAkB,EAAE,qBAAqB;KAC1C;IACD,UAAU,EAAE;QACV,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,MAAM;KACd;IACD,OAAO,EAAE,qBAAqB;CAC/B,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { Palette } from './theme-provider-service.js';
2
+ export declare const defaultPalette: Palette;
3
+ //# sourceMappingURL=default-palette.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default-palette.d.ts","sourceRoot":"","sources":["../../src/services/default-palette.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA;AAEvD,eAAO,MAAM,cAAc,EAAE,OA+B5B,CAAA"}
1
+ {"version":3,"file":"default-palette.d.ts","sourceRoot":"","sources":["../../src/services/default-palette.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAA;AAE1D,eAAO,MAAM,cAAc,EAAE,OA+B5B,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { DeepPartial } from '@furystack/utils';
2
- import type { Theme } from './theme-provider-service';
2
+ import type { Theme } from './theme-provider-service.js';
3
3
  export declare const defaultVariableTheme: Theme;
4
4
  export declare const setCssVariable: (key: string, value: string, root: HTMLElement) => void;
5
5
  export declare const getCssVariable: (key: string, root?: HTMLElement) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"default-variable-theme.d.ts","sourceRoot":"","sources":["../../src/services/default-variable-theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AACrD,eAAO,MAAM,oBAAoB,EAAE,KAkDlC,CAAA;AAED,eAAO,MAAM,cAAc,QAAS,MAAM,SAAS,MAAM,QAAQ,WAAW,SAE3E,CAAA;AAED,eAAO,MAAM,cAAc,QAAS,MAAM,SAAQ,WAAW,WAE5D,CAAA;AAmBD,eAAO,MAAM,oBAAoB,UAAW,YAAY,KAAK,CAAC,SAG7D,CAAA"}
1
+ {"version":3,"file":"default-variable-theme.d.ts","sourceRoot":"","sources":["../../src/services/default-variable-theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAA;AACxD,eAAO,MAAM,oBAAoB,EAAE,KAkDlC,CAAA;AAED,eAAO,MAAM,cAAc,QAAS,MAAM,SAAS,MAAM,QAAQ,WAAW,SAE3E,CAAA;AAED,eAAO,MAAM,cAAc,QAAS,MAAM,SAAQ,WAAW,WAE5D,CAAA;AAmBD,eAAO,MAAM,oBAAoB,UAAW,YAAY,KAAK,CAAC,SAG7D,CAAA"}
@@ -0,0 +1,9 @@
1
+ export * from './click-away-service.js';
2
+ export * from './collection-service.js';
3
+ export * from './theme-provider-service.js';
4
+ export * from './default-dark-theme.js';
5
+ export * from './default-light-theme.js';
6
+ export * from './default-palette.js';
7
+ export * from './noty-service.js';
8
+ export * from './default-variable-theme.js';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,6BAA6B,CAAA"}
@@ -1,9 +1,9 @@
1
- export * from './click-away-service';
2
- export * from './collection-service';
3
- export * from './theme-provider-service';
4
- export * from './default-dark-theme';
5
- export * from './default-light-theme';
6
- export * from './default-palette';
7
- export * from './noty-service';
8
- export * from './default-variable-theme';
1
+ export * from './click-away-service.js';
2
+ export * from './collection-service.js';
3
+ export * from './theme-provider-service.js';
4
+ export * from './default-dark-theme.js';
5
+ export * from './default-light-theme.js';
6
+ export * from './default-palette.js';
7
+ export * from './noty-service.js';
8
+ export * from './default-variable-theme.js';
9
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,0BAA0B,CAAA;AACxC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,0BAA0B,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,6BAA6B,CAAA"}
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { Injectable } from '@furystack/inject';
8
- import { defaultVariableTheme, getCssVariable, useThemeCssVariables } from './default-variable-theme';
8
+ import { defaultVariableTheme, getCssVariable, useThemeCssVariables } from './default-variable-theme.js';
9
9
  export class RgbColor {
10
10
  constructor(r, g, b, a = 1) {
11
11
  this.r = r;
@@ -1 +1 @@
1
- {"version":3,"file":"theme-provider-service.js","sourceRoot":"","sources":["../../src/services/theme-provider-service.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9C,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AA8CrG,MAAM,OAAO,QAAQ;IACnB,YAAmB,CAAS,EAAS,CAAS,EAAS,CAAS,EAAS,IAAY,CAAC;QAAnE,MAAC,GAAD,CAAC,CAAQ;QAAS,MAAC,GAAD,CAAC,CAAQ;QAAS,MAAC,GAAD,CAAC,CAAQ;QAAS,MAAC,GAAD,CAAC,CAAY;IAAG,CAAC;IAEnF,MAAM,CAAC,GAA0B,EAAE,KAAa;QACrD,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK,CAAA;QACjB,OAAO,IAAI,CAAA;IACb,CAAC;IAEM,QAAQ;QACb,OAAO,QAAQ,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,GAAG,CAAA;IACxD,CAAC;CACF;AAED;;GAEG;AAEH,IAAa,oBAAoB,GAAjC,MAAa,oBAAoB;IAAjC;QAsDkB,UAAK,GAAG,oBAAoB,CAAA;IAS9C,CAAC;IA9DC;;;;;;OAMG;IACI,YAAY,CAAC,KAAa,EAAE,MAAM,GAAG,SAAS,EAAE,IAAI,GAAG,SAAS;QACrE,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAA;QACrD,MAAM,GAAG,GAAG,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,IAAI,CAAA;QAChD,OAAO,GAAG,IAAI,GAAG,CAAC,C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AM,IAAI,MAAM,CAAC,MAAM,EAAE;gBAC3B,OAAO,IAAI,QAAQ,CACjB,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,EAAE,CAAC,EAC/B,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,CAAC,EACjC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,CAAC,EAChC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,CAAC,CAClC,CAAA;aACF;SACF;QACD,MAAM,KAAK,CAAC,iBAAiB,KAAK,sBAAsB,CAAC,CAAA;IAC3D,CAAC;IAIM,GAAG,CAAC,MAA0B;QACnC,oBAAoB,CAAC,MAAM,CAAC,CAAA;IAC9B,CAAC;IAEM,OAAO;QACZ,MAAM;IACR,CAAC;CACF,CAAA;AA/DY,oBAAoB;IADhC,UAAU,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC;GACzB,oBAAoB,CA+DhC;SA/DY,oBAAoB"}
@@ -0,0 +1,2 @@
1
+ export * from './promisify-animation.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA"}
@@ -1,2 +1,2 @@
1
- export * from './promisify-animation';
1
+ export * from './promisify-animation.js';
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@furystack/shades-common-components",
3
- "version": "5.0.0",
3
+ "version": "5.0.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -8,18 +8,14 @@
8
8
  },
9
9
  "exports": {
10
10
  ".": {
11
- "import": "./esm/index.js",
12
- "types": "./types/index.d.ts"
13
- },
14
- "./package.json": "./package.json"
15
- },
16
- "typesVersions": {
17
- "*": {
18
- "*": [
19
- "types/*"
20
- ]
11
+ "import": "./esm/index.js"
21
12
  }
22
13
  },
14
+ "files": [
15
+ "esm",
16
+ "types",
17
+ "src"
18
+ ],
23
19
  "keywords": [
24
20
  "FuryStack",
25
21
  "Shades",
@@ -39,10 +35,10 @@
39
35
  "vitest": "^0.30.1"
40
36
  },
41
37
  "dependencies": {
42
- "@furystack/core": "^12.0.0",
43
- "@furystack/inject": "^8.0.0",
44
- "@furystack/shades": "^8.0.0",
45
- "@furystack/utils": "^4.0.0",
38
+ "@furystack/core": "^12.0.2",
39
+ "@furystack/inject": "^8.0.2",
40
+ "@furystack/shades": "^8.0.2",
41
+ "@furystack/utils": "^4.0.2",
46
42
  "path-to-regexp": "^6.2.1",
47
43
  "semaphore-async-await": "^1.5.1"
48
44
  },
@@ -1,4 +1,4 @@
1
- import { promisifyAnimation } from '../utils/promisify-animation'
1
+ import { promisifyAnimation } from '../utils/promisify-animation.js'
2
2
 
3
3
  export const showSlide = (element?: Element | null, options?: KeyframeAnimationOptions) =>
4
4
  promisifyAnimation(
@@ -2,7 +2,7 @@ import type { RouteLinkProps } from '@furystack/shades'
2
2
  import { attachProps } from '@furystack/shades'
3
3
  import { createComponent, LocationService, RouteLink, Shade } from '@furystack/shades'
4
4
  import { match } from 'path-to-regexp'
5
- import { ThemeProviderService } from '../services'
5
+ import { ThemeProviderService } from '../services/theme-provider-service.js'
6
6
 
7
7
  export const AppBarLink = Shade<RouteLinkProps>({
8
8
  shadowDomName: 'shade-app-bar-link',
@@ -1,5 +1,5 @@
1
1
  import { Shade, createComponent, attachProps } from '@furystack/shades'
2
- import { ThemeProviderService } from '../services/theme-provider-service'
2
+ import { ThemeProviderService } from '../services/theme-provider-service.js'
3
3
 
4
4
  export const AppBar = Shade({
5
5
  shadowDomName: 'shade-app-bar',
@@ -1,9 +1,9 @@
1
1
  import type { PartialElement } from '@furystack/shades'
2
2
  import { attachProps } from '@furystack/shades'
3
3
  import { Shade, createComponent } from '@furystack/shades'
4
- import { promisifyAnimation } from '../utils/promisify-animation'
5
- import type { Palette, Theme } from '../services/theme-provider-service'
6
- import { ThemeProviderService } from '../services/theme-provider-service'
4
+ import { promisifyAnimation } from '../utils/promisify-animation.js'
5
+ import type { Palette, Theme } from '../services/theme-provider-service.js'
6
+ import { ThemeProviderService } from '../services/theme-provider-service.js'
7
7
  import { Trace } from '@furystack/utils'
8
8
 
9
9
  export type ButtonProps = PartialElement<HTMLButtonElement> & {
@@ -1,7 +1,7 @@
1
1
  import { Shade, createComponent } from '@furystack/shades'
2
- import { ThemeProviderService } from '../../services'
3
- import { promisifyAnimation } from '../../utils/promisify-animation'
4
- import type { CommandPaletteManager } from './command-palette-manager'
2
+ import { ThemeProviderService } from '../../services/theme-provider-service.js'
3
+ import { promisifyAnimation } from '../../utils/promisify-animation.js'
4
+ import type { CommandPaletteManager } from './command-palette-manager.js'
5
5
 
6
6
  export const CommandPaletteInput = Shade<{ manager: CommandPaletteManager }>({
7
7
  shadowDomName: 'shades-command-palette-input',
@@ -1,7 +1,7 @@
1
1
  import type { Injector } from '@furystack/inject'
2
2
  import { Injectable } from '@furystack/inject'
3
3
  import { debounce, ObservableValue } from '@furystack/utils'
4
- import type { CommandProvider, CommandPaletteSuggestionResult } from './command-provider'
4
+ import type { CommandProvider, CommandPaletteSuggestionResult } from './command-provider.js'
5
5
 
6
6
  @Injectable({ lifetime: 'singleton' })
7
7
  export class CommandPaletteManager {
@@ -1,7 +1,7 @@
1
1
  import { Shade, createComponent } from '@furystack/shades'
2
- import { promisifyAnimation } from '../../utils/promisify-animation'
3
- import type { CommandPaletteManager } from './command-palette-manager'
4
- import { ThemeProviderService } from '../../services/theme-provider-service'
2
+ import { promisifyAnimation } from '../../utils/promisify-animation.js'
3
+ import type { CommandPaletteManager } from './command-palette-manager.js'
4
+ import { ThemeProviderService } from '../../services/theme-provider-service.js'
5
5
 
6
6
  export const CommandPaletteSuggestionList = Shade<{ manager: CommandPaletteManager; fullScreenSuggestions?: boolean }>({
7
7
  shadowDomName: 'shade-command-palette-suggestion-list',
@@ -1,17 +1,17 @@
1
1
  import { Shade, createComponent } from '@furystack/shades'
2
- import { promisifyAnimation } from '../../utils/promisify-animation'
3
- import { Loader } from '../loader'
4
- import { CommandPaletteManager } from './command-palette-manager'
5
- import { CommandPaletteInput } from './command-palette-input'
6
- import { CommandPaletteSuggestionList } from './command-palette-suggestion-list'
7
- import type { CommandProvider } from './command-provider'
8
- import { ClickAwayService } from '../../services/click-away-service'
9
- import { ThemeProviderService } from '../../services'
2
+ import { promisifyAnimation } from '../../utils/promisify-animation.js'
3
+ import { Loader } from '../loader.js'
4
+ import { CommandPaletteManager } from './command-palette-manager.js'
5
+ import { CommandPaletteInput } from './command-palette-input.js'
6
+ import { CommandPaletteSuggestionList } from './command-palette-suggestion-list.js'
7
+ import type { CommandProvider } from './command-provider.js'
8
+ import { ClickAwayService } from '../../services/click-away-service.js'
9
+ import { ThemeProviderService } from '../../services/theme-provider-service.js'
10
10
 
11
- export * from './command-palette-input'
12
- export * from './command-palette-manager'
13
- export * from './command-palette-suggestion-list'
14
- export * from './command-provider'
11
+ export * from './command-palette-input.js'
12
+ export * from './command-palette-manager.js'
13
+ export * from './command-palette-suggestion-list.js'
14
+ export * from './command-provider.js'
15
15
 
16
16
  export interface CommandPaletteProps {
17
17
  commandProviders: CommandProvider[]
@@ -1,9 +1,9 @@
1
- import type { CollectionService } from '../../services/collection-service'
1
+ import type { CollectionService } from '../../services/collection-service.js'
2
2
  import type { ChildrenList } from '@furystack/shades'
3
3
  import { Shade, createComponent } from '@furystack/shades'
4
- import type { DataRowCells } from './data-grid'
5
- import { Loader } from '../loader'
6
- import { DataGridRow } from './data-grid-row'
4
+ import type { DataRowCells } from './data-grid.js'
5
+ import { Loader } from '../loader.js'
6
+ import { DataGridRow } from './data-grid-row.js'
7
7
 
8
8
  export interface DataGridBodyProps<T> {
9
9
  service: CollectionService<T>
@@ -1,8 +1,8 @@
1
1
  import type { ChildrenList } from '@furystack/shades'
2
2
  import { attachStyles, createComponent, Shade } from '@furystack/shades'
3
- import { ThemeProviderService } from '../../services'
4
- import type { CollectionService } from '../../services/collection-service'
5
- import type { DataRowCells } from './data-grid'
3
+ import { ThemeProviderService } from '../../services/theme-provider-service.js'
4
+ import type { CollectionService } from '../../services/collection-service.js'
5
+ import type { DataRowCells } from './data-grid.js'
6
6
 
7
7
  export interface DataGridRowProps<T> {
8
8
  entry: T
@@ -1,11 +1,12 @@
1
1
  import type { ChildrenList } from '@furystack/shades'
2
2
  import { createComponent, Shade } from '@furystack/shades'
3
- import type { CollectionService } from '../../services/collection-service'
4
- import type { GridProps } from '../grid'
5
- import { DataGridHeader } from './header'
6
- import { DataGridBody } from './body'
7
- import { DataGridFooter } from './footer'
8
- import { ClickAwayService, ThemeProviderService } from '../../services'
3
+ import type { CollectionService } from '../../services/collection-service.js'
4
+ import type { GridProps } from '../grid.js'
5
+ import { DataGridHeader } from './header.js'
6
+ import { DataGridBody } from './body.js'
7
+ import { DataGridFooter } from './footer.js'
8
+ import { ThemeProviderService } from '../../services/theme-provider-service.js'
9
+ import { ClickAwayService } from '../../services/click-away-service.js'
9
10
 
10
11
  export type DataHeaderCells<T> = {
11
12
  [TKey in keyof T | 'default']?: (name: keyof T) => JSX.Element
@@ -1,6 +1,6 @@
1
1
  import { Shade, createComponent } from '@furystack/shades'
2
- import { ThemeProviderService } from '../../services'
3
- import type { CollectionService } from '../../services/collection-service'
2
+ import { ThemeProviderService } from '../../services/theme-provider-service.js'
3
+ import type { CollectionService } from '../../services/collection-service.js'
4
4
 
5
5
  export const dataGridItemsPerPage = [10, 20, 25, 50, 100, Infinity]
6
6
 
@@ -1,12 +1,12 @@
1
1
  import type { FindOptions } from '@furystack/core'
2
2
  import type { ChildrenList } from '@furystack/shades'
3
3
  import { Shade, createComponent } from '@furystack/shades'
4
- import type { CollectionService } from '../../services/collection-service'
5
- import { Input } from '../inputs/input'
6
- import { Form } from '../form'
7
- import { Button } from '../button'
4
+ import type { CollectionService } from '../../services/collection-service.js'
5
+ import { Input } from '../inputs/input.js'
6
+ import { Form } from '../form.js'
7
+ import { Button } from '../button.js'
8
8
  import { ObservableValue } from '@furystack/utils'
9
- import { collapse, expand } from '../animations'
9
+ import { collapse, expand } from '../animations.js'
10
10
 
11
11
  export interface DataGridHeaderProps<T, K extends keyof T> {
12
12
  collectionService: CollectionService<T>
@@ -1,2 +1,2 @@
1
- export * from './data-grid'
2
- export * from './selection-cell'
1
+ export * from './data-grid.js'
2
+ export * from './selection-cell.js'
@@ -1,5 +1,5 @@
1
1
  import { createComponent, Shade } from '@furystack/shades'
2
- import type { CollectionService } from '../../services'
2
+ import type { CollectionService } from '../../services/collection-service.js'
3
3
 
4
4
  export const SelectionCell = Shade<{ entry: any; service: CollectionService<any> }>({
5
5
  shadowDomName: 'shades-data-grid-selection-cell',
@@ -1,7 +1,7 @@
1
1
  import type { ChildrenList, PartialElement } from '@furystack/shades'
2
2
  import { attachProps } from '@furystack/shades'
3
3
  import { Shade, createComponent } from '@furystack/shades'
4
- import type { InputValidationResult } from './inputs'
4
+ import type { InputValidationResult } from './inputs/input.js'
5
5
  import { Injectable } from '@furystack/inject'
6
6
  import { ObservableValue } from '@furystack/utils'
7
7
 
@@ -1,6 +1,6 @@
1
1
  import type { ChildrenList } from '@furystack/shades'
2
2
  import { Shade, createComponent } from '@furystack/shades'
3
- import { ThemeProviderService } from '../services'
3
+ import { ThemeProviderService } from '../services/theme-provider-service.js'
4
4
 
5
5
  // ToDo: https://stackoverflow.com/questions/51459971/type-of-generic-stateless-component-react-or-extending-generic-function-interfa
6
6
 
@@ -1,20 +1,20 @@
1
- export * from './animations'
2
- export * from './app-bar'
3
- export * from './app-bar-link'
4
- export * from './inputs'
5
- export * from './avatar'
6
- export * from './button'
7
- export * from './data-grid'
8
- export * from './fab'
9
- export * from './form'
10
- export * from './grid'
11
- export * from './modal'
12
- export * from './noty-list'
13
- export * from './paper'
14
- export * from './skeleton'
15
- export * from './styles'
16
- export * from './suggest'
17
- export * from './tabs'
18
- export * from './loader'
19
- export * from './command-palette'
20
- export * from './wizard'
1
+ export * from './animations.js'
2
+ export * from './app-bar.js'
3
+ export * from './app-bar-link.js'
4
+ export * from './inputs/index.js'
5
+ export * from './avatar.js'
6
+ export * from './button.js'
7
+ export * from './data-grid/index.js'
8
+ export * from './fab.js'
9
+ export * from './form.js'
10
+ export * from './grid.js'
11
+ export * from './modal.js'
12
+ export * from './noty-list.js'
13
+ export * from './paper.js'
14
+ export * from './skeleton.js'
15
+ export * from './styles.js'
16
+ export * from './suggest/index.js'
17
+ export * from './tabs.js'
18
+ export * from './loader.js'
19
+ export * from './command-palette/index.js'
20
+ export * from './wizard/index.js'
@@ -1,6 +1,6 @@
1
1
  import { Shade, createComponent } from '@furystack/shades'
2
- import type { TextInputProps } from './input'
3
- import { Input } from './input'
2
+ import type { TextInputProps } from './input.js'
3
+ import { Input } from './input.js'
4
4
 
5
5
  export const Autocomplete = Shade<{
6
6
  inputProps?: TextInputProps
@@ -1,3 +1,3 @@
1
- export * from './autocomplete'
2
- export * from './input'
3
- export * from './text-area'
1
+ export * from './autocomplete.js'
2
+ export * from './input.js'
3
+ export * from './text-area.js'
@@ -1,8 +1,9 @@
1
1
  import type { PartialElement } from '@furystack/shades'
2
2
  import { Shade, createComponent, attachStyles } from '@furystack/shades'
3
3
  import { ObservableValue } from '@furystack/utils'
4
- import { FormService, ThemeProviderService } from '../..'
5
- import type { Palette } from '../../services'
4
+ import type { Palette } from '../../services/theme-provider-service.js'
5
+ import { ThemeProviderService } from '../../services/theme-provider-service.js'
6
+ import { FormService } from '../form.js'
6
7
 
7
8
  export type ValidInputValidationResult = { isValid: true }
8
9
 
@@ -1,7 +1,7 @@
1
1
  import type { PartialElement } from '@furystack/shades'
2
2
  import { createComponent, Shade } from '@furystack/shades'
3
- import { ThemeProviderService } from '../../services'
4
- import { promisifyAnimation } from '../../utils'
3
+ import { ThemeProviderService } from '../../services/theme-provider-service.js'
4
+ import { promisifyAnimation } from '../../utils/promisify-animation.js'
5
5
 
6
6
  export interface TextAreaProps extends PartialElement<HTMLTextAreaElement> {
7
7
  labelTitle?: string
@@ -1,6 +1,6 @@
1
1
  import { Shade, createComponent } from '@furystack/shades'
2
- import { ThemeProviderService } from '../services'
3
- import { promisifyAnimation } from '../utils'
2
+ import { ThemeProviderService } from '../services/theme-provider-service.js'
3
+ import { promisifyAnimation } from '../utils/promisify-animation.js'
4
4
 
5
5
  interface LoaderProps {
6
6
  /**
@@ -1,9 +1,9 @@
1
1
  import { attachProps, createComponent, Shade } from '@furystack/shades'
2
- import type { NotyModel } from '../services/noty-service'
3
- import { NotyService } from '../services/noty-service'
4
- import { ThemeProviderService } from '../services/theme-provider-service'
5
- import { promisifyAnimation } from '../utils'
6
- import { Button } from './button'
2
+ import type { NotyModel } from '../services/noty-service.js'
3
+ import { NotyService } from '../services/noty-service.js'
4
+ import { ThemeProviderService } from '../services/theme-provider-service.js'
5
+ import { promisifyAnimation } from '../utils/promisify-animation.js'
6
+ import { Button } from './button.js'
7
7
 
8
8
  export const getDefaultNotyTimeouts = (type: NotyModel['type']) => {
9
9
  switch (type) {
@@ -1,7 +1,7 @@
1
1
  import type { PartialElement } from '@furystack/shades'
2
2
  import { attachProps } from '@furystack/shades'
3
3
  import { Shade, createComponent } from '@furystack/shades'
4
- import { ThemeProviderService } from '../services/theme-provider-service'
4
+ import { ThemeProviderService } from '../services/theme-provider-service.js'
5
5
 
6
6
  export const Paper = Shade<PartialElement<HTMLDivElement> & { elevation?: 1 | 2 | 3 }>({
7
7
  shadowDomName: 'shade-paper',
@@ -1,5 +1,5 @@
1
1
  import { attachStyles, Shade } from '@furystack/shades'
2
- import { promisifyAnimation } from '../utils'
2
+ import { promisifyAnimation } from '../utils/promisify-animation.js'
3
3
 
4
4
  export type SkeletonProps = {
5
5
  /**
@@ -1,17 +1,17 @@
1
1
  import type { ChildrenList } from '@furystack/shades'
2
2
  import { Shade, createComponent } from '@furystack/shades'
3
- import { promisifyAnimation } from '../../utils/promisify-animation'
4
- import { Loader } from '../loader'
5
- import { SuggestManager } from './suggest-manager'
6
- import type { SuggestionResult } from './suggestion-result'
7
- import { SuggestInput } from './suggest-input'
8
- import { SuggestionList } from './suggestion-list'
9
- import { ThemeProviderService } from '../../services'
3
+ import { promisifyAnimation } from '../../utils/promisify-animation.js'
4
+ import { Loader } from '../loader.js'
5
+ import { SuggestManager } from './suggest-manager.js'
6
+ import type { SuggestionResult } from './suggestion-result.js'
7
+ import { SuggestInput } from './suggest-input.js'
8
+ import { SuggestionList } from './suggestion-list.js'
9
+ import { ThemeProviderService } from '../../services/theme-provider-service.js'
10
10
 
11
- export * from './suggest-input'
12
- export * from './suggest-manager'
13
- export * from './suggestion-list'
14
- export * from './suggestion-result'
11
+ export * from './suggest-input.js'
12
+ export * from './suggest-manager.js'
13
+ export * from './suggestion-list.js'
14
+ export * from './suggestion-result.js'
15
15
 
16
16
  export interface SuggestProps<T> {
17
17
  defaultPrefix: string
@@ -1,6 +1,6 @@
1
1
  import { Shade, createComponent } from '@furystack/shades'
2
- import { ThemeProviderService } from '../../services'
3
- import type { SuggestManager } from './suggest-manager'
2
+ import { ThemeProviderService } from '../../services/theme-provider-service.js'
3
+ import type { SuggestManager } from './suggest-manager.js'
4
4
 
5
5
  export const SuggestInput = Shade<{ manager: SuggestManager<any> }>({
6
6
  shadowDomName: 'shades-suggest-input',