igniteui-webcomponents 1.0.0 → 2.0.0

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 (295) hide show
  1. package/CHANGELOG.md +45 -1
  2. package/README.md +17 -1
  3. package/components/avatar/avatar.d.ts +19 -3
  4. package/components/avatar/avatar.js.map +1 -1
  5. package/components/avatar/avatar.material.css.d.ts +0 -1
  6. package/components/avatar/avatar.material.css.js +1 -1
  7. package/components/avatar/avatar.material.css.js.map +1 -1
  8. package/components/badge/badge.d.ts +17 -5
  9. package/components/badge/badge.js.map +1 -1
  10. package/components/badge/badge.material.css.d.ts +0 -1
  11. package/components/badge/badge.material.css.js +1 -1
  12. package/components/badge/badge.material.css.js.map +1 -1
  13. package/components/button/button-base.d.ts +18 -1
  14. package/components/button/button-base.js +16 -0
  15. package/components/button/button-base.js.map +1 -1
  16. package/components/button/button.d.ts +20 -3
  17. package/components/button/button.js.map +1 -1
  18. package/components/button/button.material.css.d.ts +0 -1
  19. package/components/button/button.material.css.js +1 -1
  20. package/components/button/button.material.css.js.map +1 -1
  21. package/components/button/icon-button.d.ts +14 -3
  22. package/components/button/icon-button.js +15 -1
  23. package/components/button/icon-button.js.map +1 -1
  24. package/components/button/icon-button.material.css.d.ts +0 -1
  25. package/components/button/icon-button.material.css.js +1 -1
  26. package/components/button/icon-button.material.css.js.map +1 -1
  27. package/components/calendar/calendar.d.ts +39 -4
  28. package/components/calendar/calendar.js +34 -12
  29. package/components/calendar/calendar.js.map +1 -1
  30. package/components/calendar/calendar.material.css.d.ts +0 -1
  31. package/components/calendar/calendar.material.css.js +1 -1
  32. package/components/calendar/calendar.material.css.js.map +1 -1
  33. package/components/calendar/common/calendar-base.d.ts +17 -2
  34. package/components/calendar/common/calendar-base.js +28 -4
  35. package/components/calendar/common/calendar-base.js.map +1 -1
  36. package/components/calendar/common/calendar.model.d.ts +57 -1
  37. package/components/calendar/common/utils.d.ts +0 -1
  38. package/components/calendar/days-view/days-view.d.ts +23 -3
  39. package/components/calendar/days-view/days-view.js +38 -35
  40. package/components/calendar/days-view/days-view.js.map +1 -1
  41. package/components/calendar/days-view/days-view.material.css.d.ts +0 -1
  42. package/components/calendar/days-view/days-view.material.css.js +1 -1
  43. package/components/calendar/days-view/days-view.material.css.js.map +1 -1
  44. package/components/calendar/months-view/months-view.d.ts +15 -3
  45. package/components/calendar/months-view/months-view.js +4 -2
  46. package/components/calendar/months-view/months-view.js.map +1 -1
  47. package/components/calendar/months-view/months-view.material.css.d.ts +0 -1
  48. package/components/calendar/years-view/years-view.d.ts +13 -2
  49. package/components/calendar/years-view/years-view.js +4 -2
  50. package/components/calendar/years-view/years-view.js.map +1 -1
  51. package/components/calendar/years-view/years-view.material.css.d.ts +0 -1
  52. package/components/card/card.actions.d.ts +9 -3
  53. package/components/card/card.actions.js.map +1 -1
  54. package/components/card/card.actions.material.css.d.ts +0 -1
  55. package/components/card/card.actions.material.css.js +1 -1
  56. package/components/card/card.actions.material.css.js.map +1 -1
  57. package/components/card/card.content.d.ts +7 -3
  58. package/components/card/card.content.js.map +1 -1
  59. package/components/card/card.content.material.css.d.ts +0 -1
  60. package/components/card/card.content.material.css.js +1 -1
  61. package/components/card/card.content.material.css.js.map +1 -1
  62. package/components/card/card.d.ts +9 -4
  63. package/components/card/card.header.d.ts +12 -3
  64. package/components/card/card.header.js.map +1 -1
  65. package/components/card/card.header.material.css.d.ts +0 -1
  66. package/components/card/card.header.material.css.js +1 -1
  67. package/components/card/card.header.material.css.js.map +1 -1
  68. package/components/card/card.js +2 -2
  69. package/components/card/card.js.map +1 -1
  70. package/components/card/card.material.css.d.ts +0 -1
  71. package/components/card/card.material.css.js +1 -1
  72. package/components/card/card.material.css.js.map +1 -1
  73. package/components/card/card.media.d.ts +7 -3
  74. package/components/card/card.media.js.map +1 -1
  75. package/components/card/card.media.material.css.d.ts +0 -1
  76. package/components/card/card.media.material.css.js +1 -1
  77. package/components/card/card.media.material.css.js.map +1 -1
  78. package/components/checkbox/checkbox-base.d.ts +16 -1
  79. package/components/checkbox/checkbox-base.js.map +1 -1
  80. package/components/checkbox/checkbox.d.ts +20 -4
  81. package/components/checkbox/checkbox.js +25 -27
  82. package/components/checkbox/checkbox.js.map +1 -1
  83. package/components/checkbox/checkbox.material.css.d.ts +0 -1
  84. package/components/checkbox/checkbox.material.css.js +1 -1
  85. package/components/checkbox/checkbox.material.css.js.map +1 -1
  86. package/components/checkbox/switch.d.ts +18 -3
  87. package/components/checkbox/switch.js +17 -18
  88. package/components/checkbox/switch.js.map +1 -1
  89. package/components/checkbox/switch.material.css.d.ts +0 -1
  90. package/components/checkbox/switch.material.css.js +1 -1
  91. package/components/checkbox/switch.material.css.js.map +1 -1
  92. package/components/common/decorators/alternateName.d.ts +6 -1
  93. package/components/common/decorators/blazorInclude.d.ts +4 -1
  94. package/components/common/decorators/blazorIndirectRender.d.ts +4 -0
  95. package/components/common/decorators/blazorIndirectRender.js +2 -0
  96. package/components/common/decorators/blazorIndirectRender.js.map +1 -0
  97. package/components/common/decorators/blazorSuppress.d.ts +4 -1
  98. package/components/common/decorators/blazorSuppressComponent.d.ts +4 -0
  99. package/components/common/decorators/blazorSuppressComponent.js +2 -0
  100. package/components/common/decorators/blazorSuppressComponent.js.map +1 -0
  101. package/components/common/decorators/blazorTwoWayBind.d.ts +6 -1
  102. package/components/common/decorators/index.d.ts +2 -1
  103. package/components/common/decorators/index.js +2 -0
  104. package/components/common/decorators/index.js.map +1 -1
  105. package/components/common/decorators/watch.d.ts +0 -1
  106. package/components/common/definitions/defineAllComponents.d.ts +0 -1
  107. package/components/common/definitions/defineAllComponents.js +6 -0
  108. package/components/common/definitions/defineAllComponents.js.map +1 -1
  109. package/components/common/definitions/defineComponents.d.ts +0 -1
  110. package/components/common/i18n/calendar.resources.d.ts +0 -1
  111. package/components/common/mixins/constructor.d.ts +0 -1
  112. package/components/common/mixins/event-emitter.d.ts +0 -1
  113. package/components/common/mixins/event-emitter.js.map +1 -1
  114. package/components/common/mixins/sizable.d.ts +4 -1
  115. package/components/common/util.d.ts +0 -1
  116. package/components/form/form.d.ts +18 -3
  117. package/components/form/form.js +4 -1
  118. package/components/form/form.js.map +1 -1
  119. package/components/icon/icon.d.ts +23 -3
  120. package/components/icon/icon.js.map +1 -1
  121. package/components/icon/icon.material.css.d.ts +0 -1
  122. package/components/icon/icon.material.css.js +1 -1
  123. package/components/icon/icon.material.css.js.map +1 -1
  124. package/components/icon/icon.registry.d.ts +0 -1
  125. package/components/input/input.d.ts +54 -3
  126. package/components/input/input.dark.material.css.d.ts +1 -0
  127. package/components/input/input.dark.material.css.js +3 -0
  128. package/components/input/input.dark.material.css.js.map +1 -0
  129. package/components/input/input.js +3 -3
  130. package/components/input/input.js.map +1 -1
  131. package/components/input/input.material.css.d.ts +0 -1
  132. package/components/input/input.material.css.js +1 -1
  133. package/components/input/input.material.css.js.map +1 -1
  134. package/components/list/list-header.d.ts +9 -3
  135. package/components/list/list-header.js.map +1 -1
  136. package/components/list/list-header.material.css.d.ts +0 -1
  137. package/components/list/list-header.material.css.js +1 -1
  138. package/components/list/list-header.material.css.js.map +1 -1
  139. package/components/list/list-item.d.ts +21 -3
  140. package/components/list/list-item.js.map +1 -1
  141. package/components/list/list-item.material.css.d.ts +0 -1
  142. package/components/list/list-item.material.css.js +1 -1
  143. package/components/list/list-item.material.css.js.map +1 -1
  144. package/components/list/list.d.ts +9 -3
  145. package/components/list/list.js.map +1 -1
  146. package/components/list/list.material.css.d.ts +0 -1
  147. package/components/list/list.material.css.js +1 -1
  148. package/components/list/list.material.css.js.map +1 -1
  149. package/components/nav-drawer/nav-drawer-header-item.d.ts +8 -3
  150. package/components/nav-drawer/nav-drawer-header-item.js.map +1 -1
  151. package/components/nav-drawer/nav-drawer-header-item.material.css.d.ts +0 -1
  152. package/components/nav-drawer/nav-drawer-header-item.material.css.js +1 -1
  153. package/components/nav-drawer/nav-drawer-header-item.material.css.js.map +1 -1
  154. package/components/nav-drawer/nav-drawer-item.d.ts +16 -3
  155. package/components/nav-drawer/nav-drawer-item.js +2 -2
  156. package/components/nav-drawer/nav-drawer-item.js.map +1 -1
  157. package/components/nav-drawer/nav-drawer-item.material.css.d.ts +0 -1
  158. package/components/nav-drawer/nav-drawer-item.material.css.js +1 -1
  159. package/components/nav-drawer/nav-drawer-item.material.css.js.map +1 -1
  160. package/components/nav-drawer/nav-drawer.d.ts +21 -15
  161. package/components/nav-drawer/nav-drawer.js +1 -34
  162. package/components/nav-drawer/nav-drawer.js.map +1 -1
  163. package/components/nav-drawer/nav-drawer.material.css.d.ts +0 -1
  164. package/components/nav-drawer/nav-drawer.material.css.js +1 -1
  165. package/components/nav-drawer/nav-drawer.material.css.js.map +1 -1
  166. package/components/navbar/navbar.d.ts +17 -3
  167. package/components/navbar/navbar.js.map +1 -1
  168. package/components/navbar/navbar.material.css.d.ts +0 -1
  169. package/components/navbar/navbar.material.css.js +1 -1
  170. package/components/navbar/navbar.material.css.js.map +1 -1
  171. package/components/radio/radio.d.ts +33 -3
  172. package/components/radio/radio.js +15 -1
  173. package/components/radio/radio.js.map +1 -1
  174. package/components/radio/radio.material.css.d.ts +0 -1
  175. package/components/radio/radio.material.css.js +1 -1
  176. package/components/radio/radio.material.css.js.map +1 -1
  177. package/components/radio-group/radio-group.d.ts +4 -5
  178. package/components/radio-group/radio-group.js +21 -7
  179. package/components/radio-group/radio-group.js.map +1 -1
  180. package/components/radio-group/radio-group.material.css.d.ts +0 -1
  181. package/components/radio-group/radio-group.material.css.js +1 -1
  182. package/components/radio-group/radio-group.material.css.js.map +1 -1
  183. package/components/ripple/ripple.d.ts +8 -3
  184. package/components/ripple/ripple.js.map +1 -1
  185. package/components/ripple/ripple.material.css.d.ts +0 -1
  186. package/components/ripple/ripple.material.css.js +1 -1
  187. package/components/ripple/ripple.material.css.js.map +1 -1
  188. package/components/slider/range-slider.d.ts +85 -0
  189. package/components/slider/range-slider.js +141 -0
  190. package/components/slider/range-slider.js.map +1 -0
  191. package/components/slider/slider-base.d.ts +131 -0
  192. package/components/slider/slider-base.js +503 -0
  193. package/components/slider/slider-base.js.map +1 -0
  194. package/components/slider/slider-label.d.ts +6 -0
  195. package/components/slider/slider-label.js +13 -0
  196. package/components/slider/slider-label.js.map +1 -0
  197. package/components/slider/slider.d.ts +76 -0
  198. package/components/slider/slider.js +80 -0
  199. package/components/slider/slider.js.map +1 -0
  200. package/components/slider/slider.material.css.d.ts +1 -0
  201. package/components/slider/slider.material.css.js +3 -0
  202. package/components/slider/slider.material.css.js.map +1 -0
  203. package/custom-elements.json +1017 -45
  204. package/index.d.ts +5 -1
  205. package/index.js +4 -0
  206. package/index.js.map +1 -1
  207. package/package.json +5 -4
  208. package/themes/dark/bootstrap.css +1 -0
  209. package/themes/dark/fluent.css +1 -0
  210. package/themes/dark/indigo.css +1 -0
  211. package/themes/dark/material.css +1 -0
  212. package/themes/light/bootstrap.css +1 -0
  213. package/themes/light/fluent.css +1 -0
  214. package/themes/light/indigo.css +1 -0
  215. package/themes/light/material.css +1 -0
  216. package/vscode-html-custom-data.json +313 -56
  217. package/components/avatar/avatar.d.ts.map +0 -1
  218. package/components/avatar/avatar.material.css.d.ts.map +0 -1
  219. package/components/badge/badge.d.ts.map +0 -1
  220. package/components/badge/badge.material.css.d.ts.map +0 -1
  221. package/components/button/button-base.d.ts.map +0 -1
  222. package/components/button/button.d.ts.map +0 -1
  223. package/components/button/button.material.css.d.ts.map +0 -1
  224. package/components/button/icon-button.d.ts.map +0 -1
  225. package/components/button/icon-button.material.css.d.ts.map +0 -1
  226. package/components/calendar/calendar.d.ts.map +0 -1
  227. package/components/calendar/calendar.material.css.d.ts.map +0 -1
  228. package/components/calendar/common/calendar-base.d.ts.map +0 -1
  229. package/components/calendar/common/calendar.model.d.ts.map +0 -1
  230. package/components/calendar/common/utils.d.ts.map +0 -1
  231. package/components/calendar/days-view/days-view.d.ts.map +0 -1
  232. package/components/calendar/days-view/days-view.material.css.d.ts.map +0 -1
  233. package/components/calendar/months-view/months-view.d.ts.map +0 -1
  234. package/components/calendar/months-view/months-view.material.css.d.ts.map +0 -1
  235. package/components/calendar/years-view/years-view.d.ts.map +0 -1
  236. package/components/calendar/years-view/years-view.material.css.d.ts.map +0 -1
  237. package/components/card/card.actions.d.ts.map +0 -1
  238. package/components/card/card.actions.material.css.d.ts.map +0 -1
  239. package/components/card/card.content.d.ts.map +0 -1
  240. package/components/card/card.content.material.css.d.ts.map +0 -1
  241. package/components/card/card.d.ts.map +0 -1
  242. package/components/card/card.header.d.ts.map +0 -1
  243. package/components/card/card.header.material.css.d.ts.map +0 -1
  244. package/components/card/card.material.css.d.ts.map +0 -1
  245. package/components/card/card.media.d.ts.map +0 -1
  246. package/components/card/card.media.material.css.d.ts.map +0 -1
  247. package/components/checkbox/checkbox-base.d.ts.map +0 -1
  248. package/components/checkbox/checkbox.d.ts.map +0 -1
  249. package/components/checkbox/checkbox.material.css.d.ts.map +0 -1
  250. package/components/checkbox/switch.d.ts.map +0 -1
  251. package/components/checkbox/switch.material.css.d.ts.map +0 -1
  252. package/components/common/decorators/alternateName.d.ts.map +0 -1
  253. package/components/common/decorators/blazorInclude.d.ts.map +0 -1
  254. package/components/common/decorators/blazorSuppress.d.ts.map +0 -1
  255. package/components/common/decorators/blazorTwoWayBind.d.ts.map +0 -1
  256. package/components/common/decorators/index.d.ts.map +0 -1
  257. package/components/common/decorators/watch.d.ts.map +0 -1
  258. package/components/common/definitions/defineAllComponents.d.ts.map +0 -1
  259. package/components/common/definitions/defineComponents.d.ts.map +0 -1
  260. package/components/common/i18n/calendar.resources.d.ts.map +0 -1
  261. package/components/common/mixins/constructor.d.ts.map +0 -1
  262. package/components/common/mixins/event-emitter.d.ts.map +0 -1
  263. package/components/common/mixins/sizable.d.ts.map +0 -1
  264. package/components/common/util.d.ts.map +0 -1
  265. package/components/form/form.d.ts.map +0 -1
  266. package/components/icon/icon.d.ts.map +0 -1
  267. package/components/icon/icon.material.css.d.ts.map +0 -1
  268. package/components/icon/icon.registry.d.ts.map +0 -1
  269. package/components/input/input.d.ts.map +0 -1
  270. package/components/input/input.material.css.d.ts.map +0 -1
  271. package/components/list/list-header.d.ts.map +0 -1
  272. package/components/list/list-header.material.css.d.ts.map +0 -1
  273. package/components/list/list-item.d.ts.map +0 -1
  274. package/components/list/list-item.material.css.d.ts.map +0 -1
  275. package/components/list/list.d.ts.map +0 -1
  276. package/components/list/list.material.css.d.ts.map +0 -1
  277. package/components/nav-drawer/nav-drawer-header-item.d.ts.map +0 -1
  278. package/components/nav-drawer/nav-drawer-header-item.material.css.d.ts.map +0 -1
  279. package/components/nav-drawer/nav-drawer-item.d.ts.map +0 -1
  280. package/components/nav-drawer/nav-drawer-item.material.css.d.ts.map +0 -1
  281. package/components/nav-drawer/nav-drawer.d.ts.map +0 -1
  282. package/components/nav-drawer/nav-drawer.material.css.d.ts.map +0 -1
  283. package/components/navbar/navbar.d.ts.map +0 -1
  284. package/components/navbar/navbar.material.css.d.ts.map +0 -1
  285. package/components/radio/radio.d.ts.map +0 -1
  286. package/components/radio/radio.material.css.d.ts.map +0 -1
  287. package/components/radio-group/radio-group.d.ts.map +0 -1
  288. package/components/radio-group/radio-group.material.css.d.ts.map +0 -1
  289. package/components/ripple/ripple.d.ts.map +0 -1
  290. package/components/ripple/ripple.material.css.d.ts.map +0 -1
  291. package/index.d.ts.map +0 -1
  292. package/themes/bootstrap.css +0 -1
  293. package/themes/fluent.css +0 -1
  294. package/themes/indigo.css +0 -1
  295. package/themes/material.css +0 -1
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  };
7
7
  import { html, LitElement } from 'lit';
8
8
  import { customElement, property, query } from 'lit/decorators.js';
9
- import { watch } from '../../common/decorators';
9
+ import { blazorIndirectRender, blazorSuppressComponent, watch, } from '../../common/decorators';
10
10
  import { EventEmitterMixin } from '../../common/mixins/event-emitter';
11
11
  import { Calendar, TimeDeltaInterval } from '../common/calendar.model';
12
12
  import { MONTHS_PER_ROW, } from '../common/calendar-base';
@@ -120,7 +120,9 @@ __decorate([
120
120
  watch('monthFormat')
121
121
  ], IgcMonthsViewComponent.prototype, "formatChange", null);
122
122
  IgcMonthsViewComponent = __decorate([
123
- customElement('igc-months-view')
123
+ customElement('igc-months-view'),
124
+ blazorIndirectRender,
125
+ blazorSuppressComponent
124
126
  ], IgcMonthsViewComponent);
125
127
  export default IgcMonthsViewComponent;
126
128
  //# sourceMappingURL=months-view.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"months-view.js","sourceRoot":"","sources":["../../../../src/components/calendar/months-view/months-view.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAEL,cAAc,GACf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAY9C,IAAqB,sBAAsB,GAA3C,MAAqB,sBAAuB,SAAQ,iBAAiB,CAGnE,UAAU,CAAC;IA+BX;QACE,KAAK,EAAE,CAAC;QA1BF,kBAAa,GAAG,IAAI,QAAQ,EAAE,CAAC;QAQhC,UAAK,GAAG,IAAI,IAAI,EAAE,CAAC;QAInB,WAAM,GAAG,IAAI,CAAC;QAId,gBAAW,GAChB,MAAM,CAAC;QAUP,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAClC,IAAI,CAAC,kBAAkB,EAAE,CAAC;I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MAAM;oBACb,IAAI,EAAE,SAAS;iBAChB,CAAC;8BACc,KAAK,CAAC,QAAQ,EAAE,KAAK,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;0BAC9C,KAAK,CAAC,WAAW,EAAE,KAAK,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE;oBAC5D,KAAK,CAAC,QAAQ,EAAE,KAAK,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;oBACxC,CAAC,CAAC,CAAC;oBACH,CAAC,CAAC,CAAC,CAAC;uBACG,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;yBAC3B,CAAC,KAAoB,EAAE,EAAE,CAClC,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,KAAK,CAAC;;gBAE/B,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC;;kBAExB,CAAC;YACX,CAAC,CAAC;aACG,CAAC;QACV,CAAC,CAAC,EAAE,CAAC;IACP,CAAC;CACF,CAAA;AA9He,6BAAM,GAAG,CAAC,MAAM,CAAE,CAAA;AAMhC;IADC,KAAK,CAAC,gBAAgB,CAAC;2DACU;AAIlC;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;qDACL;AAI1B;IADC,QAAQ,EAAE;sDACU;AAIrB;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC;2DAE/B;AAIT;IAFC,KAAK,CAAC,QAAQ,CAAC;IACf,KAAK,CAAC,aAAa,CAAC;0DAGpB;AAhCkB,sBAAsB;IAD1C,aAAa,CAAC,iBAAiB,CAAC;GACZ,sBAAsB,CAqI1C;eArIoB,sBAAsB","sourcesContent":["import { html, LitElement } from 'lit';\nimport { customElement, property, query } from 'lit/decorators.js';\nimport { watch } from '../../common/decorators';\nimport { Constructor } from '../../common/mixins/constructor';\nimport { EventEmitterMixin } from '../../common/mixins/event-emitter';\nimport { Calendar, TimeDeltaInterval } from '../common/calendar.model';\nimport {\n IgcCalendarBaseEventMap,\n MONTHS_PER_ROW,\n} from '../common/calendar-base';\nimport { styles } from './months-view.material.css';\nimport { partNameMap } from '../../common/util';\nimport { setDateSafe } from '../common/utils';\n\n/**\n * Instantiate a months view as a separate component in the calendar.\n *\n * @element igc-months-view\n *\n * @csspart months-row - The months row container.\n * @csspart month - The month container.\n * @csspart month-inner - The inner month container.\n */\n@customElement('igc-months-view')\nexport default class IgcMonthsViewComponent extends EventEmitterMixin<\n IgcCalendarBaseEventMap,\n Constructor<LitElement>\n>(LitElement) {\n /**\n * @private\n */\n public static styles = [styles];\n\n private calendarModel = new Calendar();\n private monthFormatter: any;\n\n @query('[tabindex=\"0\"]')\n private activeMonth!: HTMLElement;\n\n /** Тhe current value of the calendar. */\n @property({ attribute: false })\n public value = new Date();\n\n /** Sets the locale used for formatting and displaying the dates. */\n @property()\n public locale = 'en';\n\n /** The format of the month. Defaults to long. */\n @property({ attribute: 'month-format' })\n public monthFormat: 'numeric' | '2-digit' | 'long' | 'short' | 'narrow' =\n 'long';\n\n @watch('locale')\n @watch('monthFormat')\n protected formatChange() {\n this.initMonthFormatter();\n }\n\n constructor() {\n super();\n this.setAttribute('role', 'grid');\n this.initMonthFormatter();\n }\n\n /** Focuses the active date. */\n public focusActiveDate() {\n this.activeMonth.focus();\n }\n\n private initMonthFormatter() {\n this.monthFormatter = new Intl.DateTimeFormat(this.locale, {\n month: this.monthFormat,\n });\n }\n\n private formattedMonth(value: Date) {\n return this.monthFormatter.format(value);\n }\n\n private get months(): Date[][] {\n let date = new Date(this.value.getFullYear(), 0, 1);\n const result = [];\n\n const rowsCount = 12 / MONTHS_PER_ROW;\n\n for (let i = 0; i < rowsCount; i++) {\n const row: Date[] = [];\n\n for (let j = 0; j < MONTHS_PER_ROW; j++) {\n row.push(date);\n date = this.calendarModel.timedelta(date, TimeDeltaInterval.Month, 1);\n }\n result.push(row);\n }\n\n return result;\n }\n\n private resolveMonthPartName(date: Date) {\n const today = new Date();\n return {\n month: true,\n selected: date.getMonth() === this.value.getMonth(),\n current:\n date.getFullYear() === today.getFullYear() &&\n date.getMonth() === today.getMonth(),\n };\n }\n\n private selectMonth(month: Date) {\n const value = new Date(month);\n setDateSafe(value, this.value.getDate());\n this.value = value;\n this.emitEvent('igcChange', { detail: this.value });\n }\n\n private monthKeyDown(event: KeyboardEvent, month: Date) {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n this.selectMonth(month);\n }\n }\n\n protected render() {\n return html`${this.months.map((row) => {\n return html`<div part=\"months-row\" role=\"row\">\n ${row.map((month) => {\n const monthPartName = partNameMap(this.resolveMonthPartName(month));\n const monthInnerPartName = monthPartName.replace(\n 'month',\n 'month-inner'\n );\n\n return html`<span part=${monthPartName}>\n <span\n part=${monthInnerPartName}\n role=\"gridcell\"\n aria-label=${month.toLocaleString(this.locale, {\n month: 'long',\n year: 'numeric',\n })}\n aria-selected=${month.getMonth() === this.value.getMonth()}\n tabindex=\"${month.getFullYear() === this.value.getFullYear() &&\n month.getMonth() === this.value.getMonth()\n ? 0\n : -1}\"\n @click=${() => this.selectMonth(month)}\n @keydown=${(event: KeyboardEvent) =>\n this.monthKeyDown(event, month)}\n >\n ${this.formattedMonth(month)}\n </span>\n </span>`;\n })}\n </div>`;\n })}`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-months-view': IgcMonthsViewComponent;\n }\n}\n"]}
1
+ {"version":3,"file":"months-view.js","sourceRoot":"","sources":["../../../../src/components/calendar/months-view/months-view.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACvB,KAAK,GACN,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,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6BAAM,GAAG,CAAC,MAAM,CAAE,CAAA;AAMhC;IADC,KAAK,CAAC,gBAAgB,CAAC;2DACU;AAIlC;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;qDACL;AAI1B;IADC,QAAQ,EAAE;sDACU;AAIrB;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC;2DAOjB;AAIvB;IAFC,KAAK,CAAC,QAAQ,CAAC;IACf,KAAK,CAAC,aAAa,CAAC;0DAGpB;AAlCkB,sBAAsB;IAH1C,aAAa,CAAC,iBAAiB,CAAC;IAChC,oBAAoB;IACpB,uBAAuB;GACH,sBAAsB,CAuI1C;eAvIoB,sBAAsB","sourcesContent":["import { html, LitElement } from 'lit';\nimport { customElement, property, query } from 'lit/decorators.js';\nimport {\n blazorIndirectRender,\n blazorSuppressComponent,\n watch,\n} from '../../common/decorators';\nimport { Constructor } from '../../common/mixins/constructor';\nimport { EventEmitterMixin } from '../../common/mixins/event-emitter';\nimport { Calendar, TimeDeltaInterval } from '../common/calendar.model';\nimport {\n IgcCalendarBaseEventMap,\n MONTHS_PER_ROW,\n} from '../common/calendar-base';\nimport { styles } from './months-view.material.css';\nimport { partNameMap } from '../../common/util';\nimport { setDateSafe } from '../common/utils';\n\n/**\n * Instantiate a months view as a separate component in the calendar.\n *\n * @element igc-months-view\n *\n * @csspart months-row - The months row container.\n * @csspart month - The month container.\n * @csspart month-inner - The inner month container.\n */\n@customElement('igc-months-view')\n@blazorIndirectRender\n@blazorSuppressComponent\nexport default class IgcMonthsViewComponent extends EventEmitterMixin<\n IgcCalendarBaseEventMap,\n Constructor<LitElement>\n>(LitElement) {\n public static styles = [styles];\n\n private calendarModel = new Calendar();\n private monthFormatter: any;\n\n @query('[tabindex=\"0\"]')\n private activeMonth!: HTMLElement;\n\n /** Тhe current value of the calendar. */\n @property({ attribute: false })\n public value = new Date();\n\n /** Sets the locale used for formatting and displaying the dates. */\n @property()\n public locale = 'en';\n\n /** The format of the month. Defaults to long. */\n @property({ attribute: 'month-format' })\n public monthFormat:\n | 'numeric'\n | '2-digit'\n | 'long'\n | 'short'\n | 'narrow'\n | undefined = 'long';\n\n @watch('locale')\n @watch('monthFormat')\n protected formatChange() {\n this.initMonthFormatter();\n }\n\n constructor() {\n super();\n this.setAttribute('role', 'grid');\n this.initMonthFormatter();\n }\n\n /** Focuses the active date. */\n public focusActiveDate() {\n this.activeMonth.focus();\n }\n\n private initMonthFormatter() {\n this.monthFormatter = new Intl.DateTimeFormat(this.locale, {\n month: this.monthFormat,\n });\n }\n\n private formattedMonth(value: Date) {\n return this.monthFormatter.format(value);\n }\n\n private get months(): Date[][] {\n let date = new Date(this.value.getFullYear(), 0, 1);\n const result = [];\n\n const rowsCount = 12 / MONTHS_PER_ROW;\n\n for (let i = 0; i < rowsCount; i++) {\n const row: Date[] = [];\n\n for (let j = 0; j < MONTHS_PER_ROW; j++) {\n row.push(date);\n date = this.calendarModel.timedelta(date, TimeDeltaInterval.Month, 1);\n }\n result.push(row);\n }\n\n return result;\n }\n\n private resolveMonthPartName(date: Date) {\n const today = new Date();\n return {\n month: true,\n selected: date.getMonth() === this.value.getMonth(),\n current:\n date.getFullYear() === today.getFullYear() &&\n date.getMonth() === today.getMonth(),\n };\n }\n\n private selectMonth(month: Date) {\n const value = new Date(month);\n setDateSafe(value, this.value.getDate());\n this.value = value;\n this.emitEvent('igcChange', { detail: this.value });\n }\n\n private monthKeyDown(event: KeyboardEvent, month: Date) {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n this.selectMonth(month);\n }\n }\n\n protected override render() {\n return html`${this.months.map((row) => {\n return html`<div part=\"months-row\" role=\"row\">\n ${row.map((month) => {\n const monthPartName = partNameMap(this.resolveMonthPartName(month));\n const monthInnerPartName = monthPartName.replace(\n 'month',\n 'month-inner'\n );\n\n return html`<span part=${monthPartName}>\n <span\n part=${monthInnerPartName}\n role=\"gridcell\"\n aria-label=${month.toLocaleString(this.locale, {\n month: 'long',\n year: 'numeric',\n })}\n aria-selected=${month.getMonth() === this.value.getMonth()}\n tabindex=\"${month.getFullYear() === this.value.getFullYear() &&\n month.getMonth() === this.value.getMonth()\n ? 0\n : -1}\"\n @click=${() => this.selectMonth(month)}\n @keydown=${(event: KeyboardEvent) =>\n this.monthKeyDown(event, month)}\n >\n ${this.formattedMonth(month)}\n </span>\n </span>`;\n })}\n </div>`;\n })}`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-months-view': IgcMonthsViewComponent;\n }\n}\n"]}
@@ -1,2 +1 @@
1
1
  export declare const styles: import("lit").CSSResult;
2
- //# sourceMappingURL=months-view.material.css.d.ts.map
@@ -2,21 +2,33 @@ import { LitElement } from 'lit';
2
2
  import { Constructor } from '../../common/mixins/constructor';
3
3
  import { IgcCalendarBaseEventMap } from '../common/calendar-base';
4
4
  declare const IgcYearsViewComponent_base: Constructor<import("../../common/mixins/event-emitter").EventEmitterInterface<IgcCalendarBaseEventMap>> & Constructor<LitElement>;
5
+ /**
6
+ * Instantiate a years view as a separate component in the calendar.
7
+ *
8
+ * @element igc-years-view
9
+ *
10
+ * @csspart years-row - The years row container.
11
+ * @csspart year - The year container.
12
+ * @csspart year-inner - The inner year container.
13
+ */
5
14
  export default class IgcYearsViewComponent extends IgcYearsViewComponent_base {
6
15
  static styles: import("lit").CSSResult[];
7
16
  private years;
8
17
  private activeYear;
18
+ /** Тhe current value of the calendar. */
9
19
  value: Date;
20
+ /** Sets how many years are displayed on a single page. */
10
21
  yearsPerPage: number;
11
22
  protected datesChange(): void;
12
23
  constructor();
24
+ /** Focuses the active date. */
13
25
  focusActiveDate(): void;
14
26
  private formattedYear;
15
27
  private generateYears;
16
28
  private resolveYearPartName;
17
29
  private selectYear;
18
30
  private yearKeyDown;
19
- protected render(): import("lit").TemplateResult<1>;
31
+ protected render(): import("lit-html").TemplateResult<1>;
20
32
  }
21
33
  declare global {
22
34
  interface HTMLElementTagNameMap {
@@ -24,4 +36,3 @@ declare global {
24
36
  }
25
37
  }
26
38
  export {};
27
- //# sourceMappingURL=years-view.d.ts.map
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  };
7
7
  import { html, LitElement } from 'lit';
8
8
  import { customElement, property, query } from 'lit/decorators.js';
9
- import { watch } from '../../common/decorators';
9
+ import { watch, blazorIndirectRender, blazorSuppressComponent, } from '../../common/decorators';
10
10
  import { EventEmitterMixin } from '../../common/mixins/event-emitter';
11
11
  import { partNameMap } from '../../common/util';
12
12
  import { YEARS_PER_ROW, } from '../common/calendar-base';
@@ -105,7 +105,9 @@ __decorate([
105
105
  watch('yearsPerPage')
106
106
  ], IgcYearsViewComponent.prototype, "datesChange", null);
107
107
  IgcYearsViewComponent = __decorate([
108
- customElement('igc-years-view')
108
+ customElement('igc-years-view'),
109
+ blazorIndirectRender,
110
+ blazorSuppressComponent
109
111
  ], IgcYearsViewComponent);
110
112
  export default IgcYearsViewComponent;
111
113
  //# sourceMappingURL=years-view.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"years-view.js","sourceRoot":"","sources":["../../../../src/components/calendar/years-view/years-view.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAEL,aAAa,GACd,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAYnD,IAAqB,qBAAqB,GAA1C,MAAqB,qBAAsB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AC;gBAErE,OAAO,IAAI,CAAA,cAAc,YAAY;;qBAE1B,iBAAiB;;8BAER,IAAI,CAAC,WAAW,EAAE,KAAK,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE;0BACnD,IAAI,CAAC,WAAW,EAAE,KAAK,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE;oBACzD,CAAC,CAAC,CAAC;oBACH,CAAC,CAAC,CAAC,CAAC;uBACG,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;yBACzB,CAAC,KAAoB,EAAE,EAAE,CAClC,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC;;gBAE7B,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC;;kBAEtB,CAAC;YACX,CAAC,CAAC;aACG,CAAC;QACV,CAAC,CAAC,EAAE,CAAC;IACP,CAAC;CACF,CAAA;AA1Ge,4BAAM,GAAG,CAAC,MAAM,CAAE,CAAA;AAKhC;IADC,KAAK,CAAC,gBAAgB,CAAC;yDACS;AAIjC;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;oDACL;AAI1B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;2DAC/B;AAIzB;IAFC,KAAK,CAAC,OAAO,CAAC;IACd,KAAK,CAAC,cAAc,CAAC;wDAGrB;AA1BkB,qBAAqB;IADzC,aAAa,CAAC,gBAAgB,CAAC;GACX,qBAAqB,CAiHzC;eAjHoB,qBAAqB","sourcesContent":["import { html, LitElement } from 'lit';\nimport { customElement, property, query } from 'lit/decorators.js';\nimport { watch } from '../../common/decorators';\nimport { Constructor } from '../../common/mixins/constructor';\nimport { EventEmitterMixin } from '../../common/mixins/event-emitter';\nimport { partNameMap } from '../../common/util';\nimport {\n IgcCalendarBaseEventMap,\n YEARS_PER_ROW,\n} from '../common/calendar-base';\nimport { calculateYearsRangeStart, setDateSafe } from '../common/utils';\nimport { styles } from './years-view.material.css';\n\n/**\n * Instantiate a years view as a separate component in the calendar.\n *\n * @element igc-years-view\n *\n * @csspart years-row - The years row container.\n * @csspart year - The year container.\n * @csspart year-inner - The inner year container.\n */\n@customElement('igc-years-view')\nexport default class IgcYearsViewComponent extends EventEmitterMixin<\n IgcCalendarBaseEventMap,\n Constructor<LitElement>\n>(LitElement) {\n /**\n * @private\n */\n public static styles = [styles];\n\n private years!: Date[][];\n\n @query('[tabindex=\"0\"]')\n private activeYear!: HTMLElement;\n\n /** Тhe current value of the calendar. */\n @property({ attribute: false })\n public value = new Date();\n\n /** Sets how many years are displayed on a single page. */\n @property({ type: Number, attribute: 'years-per-page' })\n public yearsPerPage = 15;\n\n @watch('value')\n @watch('yearsPerPage')\n protected datesChange() {\n this.years = this.generateYears();\n }\n\n constructor() {\n super();\n this.setAttribute('role', 'grid');\n }\n\n /** Focuses the active date. */\n public focusActiveDate() {\n this.activeYear.focus();\n }\n\n private formattedYear(value: Date) {\n return `${value.getFullYear()}`;\n }\n\n private generateYears() {\n const startYear = calculateYearsRangeStart(this.value, this.yearsPerPage);\n const month = this.value.getMonth();\n const result = [];\n\n const rows = this.yearsPerPage / YEARS_PER_ROW;\n\n for (let i = 0; i < rows; i++) {\n const row: Date[] = [];\n for (let j = 0; j < YEARS_PER_ROW; j++) {\n const year = startYear + i * YEARS_PER_ROW + j;\n const date = new Date(year, month, 1);\n // fix year since values between 0 and 100 results in 1900s\n date.setFullYear(year);\n row.push(date);\n }\n result.push(row);\n }\n\n return result;\n }\n\n private resolveYearPartName(date: Date) {\n const today = new Date();\n return {\n year: true,\n selected: date.getFullYear() === this.value.getFullYear(),\n current: date.getFullYear() === today.getFullYear(),\n };\n }\n\n private selectYear(year: Date) {\n const value = new Date(year);\n setDateSafe(value, this.value.getDate());\n this.value = value;\n this.emitEvent('igcChange', { detail: this.value });\n }\n\n private yearKeyDown(event: KeyboardEvent, year: Date) {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n this.selectYear(year);\n }\n }\n\n protected render() {\n return html`${this.years.map((row) => {\n return html`<div part=\"years-row\" role=\"row\">\n ${row.map((year) => {\n const yearPartName = partNameMap(this.resolveYearPartName(year));\n const yearInnerPartName = yearPartName.replace('year', 'year-inner');\n\n return html`<span part=${yearPartName}>\n <span\n part=${yearInnerPartName}\n role=\"gridcell\"\n aria-selected=${year.getFullYear() === this.value.getFullYear()}\n tabindex=\"${year.getFullYear() === this.value.getFullYear()\n ? 0\n : -1}\"\n @click=${() => this.selectYear(year)}\n @keydown=${(event: KeyboardEvent) =>\n this.yearKeyDown(event, year)}\n >\n ${this.formattedYear(year)}\n </span>\n </span>`;\n })}\n </div>`;\n })}`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-years-view': IgcYearsViewComponent;\n }\n}\n"]}
1
+ {"version":3,"file":"years-view.js","sourceRoot":"","sources":["../../../../src/components/calendar/years-view/years-view.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EACL,KAAK,EACL,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAEL,aAAa,GACd,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAcnD,IAAqB,qBAAqB,GAA1C,MAAqB,qBAAsB,SAAQ,iBAAiB,CAGlE,UAAU,CAAC;IAsBX;QACE,KAAK,EAAE,CAAC;QAbH,UAAK,GAAG,IAAI,IAAI,EAA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IAAI,CAAC,KAAK,CAAC,WAAW,EAAE;0BACnD,IAAI,CAAC,WAAW,EAAE,KAAK,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE;oBACzD,CAAC,CAAC,CAAC;oBACH,CAAC,CAAC,CAAC,CAAC;uBACG,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;yBACzB,CAAC,KAAoB,EAAE,EAAE,CAClC,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC;;gBAE7B,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC;;kBAEtB,CAAC;YACX,CAAC,CAAC;aACG,CAAC;QACV,CAAC,CAAC,EAAE,CAAC;IACP,CAAC;CACF,CAAA;AA1Ge,4BAAM,GAAG,CAAC,MAAM,CAAE,CAAA;AAKhC;IADC,KAAK,CAAC,gBAAgB,CAAC;yDACS;AAIjC;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;oDACL;AAI1B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;2DAC/B;AAIzB;IAFC,KAAK,CAAC,OAAO,CAAC;IACd,KAAK,CAAC,cAAc,CAAC;wDAGrB;AAvBkB,qBAAqB;IAHzC,aAAa,CAAC,gBAAgB,CAAC;IAC/B,oBAAoB;IACpB,uBAAuB;GACH,qBAAqB,CA8GzC;eA9GoB,qBAAqB","sourcesContent":["import { html, LitElement } from 'lit';\nimport { customElement, property, query } from 'lit/decorators.js';\nimport {\n watch,\n blazorIndirectRender,\n blazorSuppressComponent,\n} from '../../common/decorators';\nimport { Constructor } from '../../common/mixins/constructor';\nimport { EventEmitterMixin } from '../../common/mixins/event-emitter';\nimport { partNameMap } from '../../common/util';\nimport {\n IgcCalendarBaseEventMap,\n YEARS_PER_ROW,\n} from '../common/calendar-base';\nimport { calculateYearsRangeStart, setDateSafe } from '../common/utils';\nimport { styles } from './years-view.material.css';\n\n/**\n * Instantiate a years view as a separate component in the calendar.\n *\n * @element igc-years-view\n *\n * @csspart years-row - The years row container.\n * @csspart year - The year container.\n * @csspart year-inner - The inner year container.\n */\n@customElement('igc-years-view')\n@blazorIndirectRender\n@blazorSuppressComponent\nexport default class IgcYearsViewComponent extends EventEmitterMixin<\n IgcCalendarBaseEventMap,\n Constructor<LitElement>\n>(LitElement) {\n public static styles = [styles];\n\n private years!: Date[][];\n\n @query('[tabindex=\"0\"]')\n private activeYear!: HTMLElement;\n\n /** Тhe current value of the calendar. */\n @property({ attribute: false })\n public value = new Date();\n\n /** Sets how many years are displayed on a single page. */\n @property({ type: Number, attribute: 'years-per-page' })\n public yearsPerPage = 15;\n\n @watch('value')\n @watch('yearsPerPage')\n protected datesChange() {\n this.years = this.generateYears();\n }\n\n constructor() {\n super();\n this.setAttribute('role', 'grid');\n }\n\n /** Focuses the active date. */\n public focusActiveDate() {\n this.activeYear.focus();\n }\n\n private formattedYear(value: Date) {\n return `${value.getFullYear()}`;\n }\n\n private generateYears() {\n const startYear = calculateYearsRangeStart(this.value, this.yearsPerPage);\n const month = this.value.getMonth();\n const result = [];\n\n const rows = this.yearsPerPage / YEARS_PER_ROW;\n\n for (let i = 0; i < rows; i++) {\n const row: Date[] = [];\n for (let j = 0; j < YEARS_PER_ROW; j++) {\n const year = startYear + i * YEARS_PER_ROW + j;\n const date = new Date(year, month, 1);\n // fix year since values between 0 and 100 results in 1900s\n date.setFullYear(year);\n row.push(date);\n }\n result.push(row);\n }\n\n return result;\n }\n\n private resolveYearPartName(date: Date) {\n const today = new Date();\n return {\n year: true,\n selected: date.getFullYear() === this.value.getFullYear(),\n current: date.getFullYear() === today.getFullYear(),\n };\n }\n\n private selectYear(year: Date) {\n const value = new Date(year);\n setDateSafe(value, this.value.getDate());\n this.value = value;\n this.emitEvent('igcChange', { detail: this.value });\n }\n\n private yearKeyDown(event: KeyboardEvent, year: Date) {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n this.selectYear(year);\n }\n }\n\n protected override render() {\n return html`${this.years.map((row) => {\n return html`<div part=\"years-row\" role=\"row\">\n ${row.map((year) => {\n const yearPartName = partNameMap(this.resolveYearPartName(year));\n const yearInnerPartName = yearPartName.replace('year', 'year-inner');\n\n return html`<span part=${yearPartName}>\n <span\n part=${yearInnerPartName}\n role=\"gridcell\"\n aria-selected=${year.getFullYear() === this.value.getFullYear()}\n tabindex=\"${year.getFullYear() === this.value.getFullYear()\n ? 0\n : -1}\"\n @click=${() => this.selectYear(year)}\n @keydown=${(event: KeyboardEvent) =>\n this.yearKeyDown(event, year)}\n >\n ${this.formattedYear(year)}\n </span>\n </span>`;\n })}\n </div>`;\n })}`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-years-view': IgcYearsViewComponent;\n }\n}\n"]}
@@ -1,2 +1 @@
1
1
  export declare const styles: import("lit").CSSResult;
2
- //# sourceMappingURL=years-view.material.css.d.ts.map
@@ -1,12 +1,18 @@
1
1
  import { LitElement } from 'lit';
2
+ /** A container for card action items like buttons
3
+ * @element igc-card-actions
4
+ *
5
+ * @slot start - Renders items at the beginning of actions area
6
+ * @slot - Renders items at the middle of actions area
7
+ * @slot end - Renders items at the end of actions area
8
+ */
2
9
  export default class IgcCardActionsComponent extends LitElement {
3
- static tagName: string;
10
+ static readonly tagName = "igc-card-actions";
4
11
  static styles: import("lit").CSSResult;
5
- protected render(): import("lit").TemplateResult<1>;
12
+ protected render(): import("lit-html").TemplateResult<1>;
6
13
  }
7
14
  declare global {
8
15
  interface HTMLElementTagNameMap {
9
16
  'igc-card-actions': IgcCardActionsComponent;
10
17
  }
11
18
  }
12
- //# sourceMappingURL=card.actions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.actions.js","sourceRoot":"","sources":["../../../src/components/card/card.actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AASrD,MAAM,CAAC,OAAO,OAAO,uBAAwB,SAAQ,UAAU;IAOnD,MAAM;QACd,OAAO,IAAI,CAAA;;;;KAIV,CAAC;IACJ,CAAC;;AAXa,+BAAO,GAAG,kBAAkB,CAAC;AAG7B,8BAAM,GAAG,MAAM,CAAC","sourcesContent":["import { LitElement, html } from 'lit';\nimport { styles } from './card.actions.material.css';\n\n/** A container for card action items like buttons\n * @element igc-card-actions\n *\n * @slot start - Renders items at the beginning of actions area\n * @slot - Renders items at the middle of actions area\n * @slot end - Renders items at the end of actions area\n */\nexport default class IgcCardActionsComponent extends LitElement {\n /** @private */\n public static tagName = 'igc-card-actions';\n\n /** @private */\n public static styles = styles;\n\n protected render() {\n return html`\n <slot name=\"start\"></slot>\n <slot></slot>\n <slot name=\"end\"></slot>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-card-actions': IgcCardActionsComponent;\n }\n}\n"]}
1
+ {"version":3,"file":"card.actions.js","sourceRoot":"","sources":["../../../src/components/card/card.actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AASrD,MAAM,CAAC,OAAO,OAAO,uBAAwB,SAAQ,UAAU;IAK1C,MAAM;QACvB,OAAO,IAAI,CAAA;;;;KAIV,CAAC;IACJ,CAAC;;AAVsB,+BAAO,GAAG,kBAAkB,CAAC;AAE7B,8BAAM,GAAG,MAAM,CAAC","sourcesContent":["import { LitElement, html } from 'lit';\nimport { styles } from './card.actions.material.css';\n\n/** A container for card action items like buttons\n * @element igc-card-actions\n *\n * @slot start - Renders items at the beginning of actions area\n * @slot - Renders items at the middle of actions area\n * @slot end - Renders items at the end of actions area\n */\nexport default class IgcCardActionsComponent extends LitElement {\n public static readonly tagName = 'igc-card-actions';\n\n public static override styles = styles;\n\n protected override render() {\n return html`\n <slot name=\"start\"></slot>\n <slot></slot>\n <slot name=\"end\"></slot>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-card-actions': IgcCardActionsComponent;\n }\n}\n"]}
@@ -1,2 +1 @@
1
1
  export declare const styles: import("lit").CSSResult;
2
- //# sourceMappingURL=card.actions.material.css.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import { css } from 'lit';
2
- export const styles = css `:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}[hidden]{display:none !important}:host{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.5rem}::slotted(igc-button:not(:first-of-type)){-webkit-margin-start:.5rem;margin-inline-start:.5rem}::slotted([slot=start]){display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}::slotted([slot=end]){display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}::slotted(igc-icon){opacity:.6}`;
2
+ export const styles = css `:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;scrollbar-width:var(--scrolbar-size);scrollbar-color:var(--igc-scrollbar-thumb-color) var(--igc-scrollbar-track-color)}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host ::-webkit-scrollbar{width:var(--scrolbar-size);height:var(--scrolbar-size);background:var(--igc-scrollbar-track-color)}:host ::-webkit-scrollbar-thumb{background:var(--igc-scrollbar-thumb-color)}[hidden]{display:none !important}:host{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.5rem}::slotted(igc-button:not(:first-of-type)){-webkit-margin-start:.5rem;margin-inline-start:.5rem}::slotted([slot=start]){display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}::slotted([slot=end]){display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}::slotted(igc-icon){opacity:.6}`;
3
3
  //# sourceMappingURL=card.actions.material.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.actions.material.css.js","sourceRoot":"","sources":["../../../src/components/card/card.actions.material.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,2/BAA2/B,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}[hidden]{display:none !important}:host{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.5rem}::slotted(igc-button:not(:first-of-type)){-webkit-margin-start:.5rem;margin-inline-start:.5rem}::slotted([slot=start]){display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}::slotted([slot=end]){display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}::slotted(igc-icon){opacity:.6}`;\n"]}
1
+ {"version":3,"file":"card.actions.material.css.js","sourceRoot":"","sources":["../../../src/components/card/card.actions.material.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,2zCAA2zC,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;scrollbar-width:var(--scrolbar-size);scrollbar-color:var(--igc-scrollbar-thumb-color) var(--igc-scrollbar-track-color)}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host ::-webkit-scrollbar{width:var(--scrolbar-size);height:var(--scrolbar-size);background:var(--igc-scrollbar-track-color)}:host ::-webkit-scrollbar-thumb{background:var(--igc-scrollbar-thumb-color)}[hidden]{display:none !important}:host{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.5rem}::slotted(igc-button:not(:first-of-type)){-webkit-margin-start:.5rem;margin-inline-start:.5rem}::slotted([slot=start]){display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}::slotted([slot=end]){display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}::slotted(igc-icon){opacity:.6}`;\n"]}
@@ -1,12 +1,16 @@
1
1
  import { LitElement } from 'lit';
2
+ /** A container for card's text content
3
+ * @element igc-card-content
4
+ *
5
+ * @slot - Renders the card text content
6
+ */
2
7
  export default class IgcCardContentComponent extends LitElement {
3
- static tagName: string;
8
+ static readonly tagName = "igc-card-content";
4
9
  static styles: import("lit").CSSResult;
5
- protected render(): import("lit").TemplateResult<1>;
10
+ protected render(): import("lit-html").TemplateResult<1>;
6
11
  }
7
12
  declare global {
8
13
  interface HTMLElementTagNameMap {
9
14
  'igc-card-content': IgcCardContentComponent;
10
15
  }
11
16
  }
12
- //# sourceMappingURL=card.content.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.content.js","sourceRoot":"","sources":["../../../src/components/card/card.content.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAOrD,MAAM,CAAC,OAAO,OAAO,uBAAwB,SAAQ,UAAU;IAOnD,MAAM;QACd,OAAO,IAAI,CAAA,eAAe,CAAC;IAC7B,CAAC;;AAPa,+BAAO,GAAG,kBAAkB,CAAC;AAG7B,8BAAM,GAAG,MAAM,CAAC","sourcesContent":["import { LitElement, html } from 'lit';\nimport { styles } from './card.content.material.css';\n\n/** A container for card's text content\n * @element igc-card-content\n *\n * @slot - Renders the card text content\n */\nexport default class IgcCardContentComponent extends LitElement {\n /** @private */\n public static tagName = 'igc-card-content';\n\n /** @private */\n public static styles = styles;\n\n protected render() {\n return html`<slot></slot>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-card-content': IgcCardContentComponent;\n }\n}\n"]}
1
+ {"version":3,"file":"card.content.js","sourceRoot":"","sources":["../../../src/components/card/card.content.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAOrD,MAAM,CAAC,OAAO,OAAO,uBAAwB,SAAQ,UAAU;IAK1C,MAAM;QACvB,OAAO,IAAI,CAAA,eAAe,CAAC;IAC7B,CAAC;;AANsB,+BAAO,GAAG,kBAAkB,CAAC;AAE7B,8BAAM,GAAG,MAAM,CAAC","sourcesContent":["import { LitElement, html } from 'lit';\nimport { styles } from './card.content.material.css';\n\n/** A container for card's text content\n * @element igc-card-content\n *\n * @slot - Renders the card text content\n */\nexport default class IgcCardContentComponent extends LitElement {\n public static readonly tagName = 'igc-card-content';\n\n public static override styles = styles;\n\n protected override render() {\n return html`<slot></slot>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-card-content': IgcCardContentComponent;\n }\n}\n"]}
@@ -1,2 +1 @@
1
1
  export declare const styles: import("lit").CSSResult;
2
- //# sourceMappingURL=card.content.material.css.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import { css } from 'lit';
2
- export const styles = css `:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}[hidden]{display:none !important}:host{display:block;width:100%;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:1rem;color:var(--igc-surface-500-contrast)}::slotted(*){font-family:var(--igc-body-2-font-family);font-weight:var(--igc-body-2-font-weight);font-size:var(--igc-body-2-font-size);font-style:var(--igc-body-2-font-style);letter-spacing:var(--igc-body-2-letter-spacing);text-transform:var(--igc-body-2-text-transform);line-height:var(--igc-body-2-line-height);margin-top:var(--igc-body-2-margin-top);margin-bottom:var(--igc-body-2-margin-bottom);opacity:.6;margin:0}`;
2
+ export const styles = css `:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;scrollbar-width:var(--scrolbar-size);scrollbar-color:var(--igc-scrollbar-thumb-color) var(--igc-scrollbar-track-color)}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host ::-webkit-scrollbar{width:var(--scrolbar-size);height:var(--scrolbar-size);background:var(--igc-scrollbar-track-color)}:host ::-webkit-scrollbar-thumb{background:var(--igc-scrollbar-thumb-color)}[hidden]{display:none !important}:host{display:block;width:100%;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:1rem;color:var(--igc-surface-500-contrast)}::slotted(*){font-family:var(--igc-body-2-font-family);font-weight:var(--igc-body-2-font-weight);font-size:var(--igc-body-2-font-size);font-style:var(--igc-body-2-font-style);letter-spacing:var(--igc-body-2-letter-spacing);text-transform:var(--igc-body-2-text-transform);line-height:var(--igc-body-2-line-height);margin-top:var(--igc-body-2-margin-top);margin-bottom:var(--igc-body-2-margin-bottom);opacity:.6;margin:0}`;
3
3
  //# sourceMappingURL=card.content.material.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.content.material.css.js","sourceRoot":"","sources":["../../../src/components/card/card.content.material.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,kvBAAkvB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}[hidden]{display:none !important}:host{display:block;width:100%;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:1rem;color:var(--igc-surface-500-contrast)}::slotted(*){font-family:var(--igc-body-2-font-family);font-weight:var(--igc-body-2-font-weight);font-size:var(--igc-body-2-font-size);font-style:var(--igc-body-2-font-style);letter-spacing:var(--igc-body-2-letter-spacing);text-transform:var(--igc-body-2-text-transform);line-height:var(--igc-body-2-line-height);margin-top:var(--igc-body-2-margin-top);margin-bottom:var(--igc-body-2-margin-bottom);opacity:.6;margin:0}`;\n"]}
1
+ {"version":3,"file":"card.content.material.css.js","sourceRoot":"","sources":["../../../src/components/card/card.content.material.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,kjCAAkjC,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;scrollbar-width:var(--scrolbar-size);scrollbar-color:var(--igc-scrollbar-thumb-color) var(--igc-scrollbar-track-color)}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host ::-webkit-scrollbar{width:var(--scrolbar-size);height:var(--scrolbar-size);background:var(--igc-scrollbar-track-color)}:host ::-webkit-scrollbar-thumb{background:var(--igc-scrollbar-thumb-color)}[hidden]{display:none !important}:host{display:block;width:100%;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:1rem;color:var(--igc-surface-500-contrast)}::slotted(*){font-family:var(--igc-body-2-font-family);font-weight:var(--igc-body-2-font-weight);font-size:var(--igc-body-2-font-size);font-style:var(--igc-body-2-font-style);letter-spacing:var(--igc-body-2-letter-spacing);text-transform:var(--igc-body-2-text-transform);line-height:var(--igc-body-2-line-height);margin-top:var(--igc-body-2-margin-top);margin-bottom:var(--igc-body-2-margin-bottom);opacity:.6;margin:0}`;\n"]}
@@ -1,13 +1,18 @@
1
1
  import { LitElement } from 'lit';
2
+ /** A container which wraps different elements related to a single subject
3
+ * @element igc-card
4
+ *
5
+ * @slot - Renders card content
6
+ */
2
7
  export default class IgcCardComponent extends LitElement {
3
- static tagName: string;
8
+ static readonly tagName = "igc-card";
4
9
  static styles: import("lit").CSSResult;
5
- outlined: boolean;
6
- protected render(): import("lit").TemplateResult<1>;
10
+ /** Sets card elevated style, otherwise card looks outlined. */
11
+ elevated: boolean;
12
+ protected render(): import("lit-html").TemplateResult<1>;
7
13
  }
8
14
  declare global {
9
15
  interface HTMLElementTagNameMap {
10
16
  'igc-card': IgcCardComponent;
11
17
  }
12
18
  }
13
- //# sourceMappingURL=card.d.ts.map
@@ -1,12 +1,21 @@
1
1
  import { LitElement } from 'lit';
2
+ /** A container for card's header
3
+ * @element igc-card-header
4
+ *
5
+ * @slot thumbnail - Renders header media like icon
6
+ * @slot title - Renders the card title
7
+ * @slot subtitle - Renders the card subtitle
8
+ * @slot - Renders content next to the card title
9
+ *
10
+ * @csspart header - The card header container
11
+ */
2
12
  export default class IgcCardHeaderComponent extends LitElement {
3
- static tagName: string;
13
+ static readonly tagName = "igc-card-header";
4
14
  static styles: import("lit").CSSResult;
5
- protected render(): import("lit").TemplateResult<1>;
15
+ protected render(): import("lit-html").TemplateResult<1>;
6
16
  }
7
17
  declare global {
8
18
  interface HTMLElementTagNameMap {
9
19
  'igc-card-header': IgcCardHeaderComponent;
10
20
  }
11
21
  }
12
- //# sourceMappingURL=card.header.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.header.js","sourceRoot":"","sources":["../../../src/components/card/card.header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAYpD,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,UAAU;IAOlD,MAAM;QACd,OAAO,IAAI,CAAA;;;;;;;;;;;KAWV,CAAC;IACJ,CAAC;;AAlBa,8BAAO,GAAG,iBAAiB,CAAC;AAG5B,6BAAM,GAAG,MAAM,CAAC","sourcesContent":["import { LitElement, html } from 'lit';\nimport { styles } from './card.header.material.css';\n\n/** A container for card's header\n * @element igc-card-header\n *\n * @slot thumbnail - Renders header media like icon\n * @slot title - Renders the card title\n * @slot subtitle - Renders the card subtitle\n * @slot - Renders content next to the card title\n *\n * @csspart header - The card header container\n */\nexport default class IgcCardHeaderComponent extends LitElement {\n /** @private */\n public static tagName = 'igc-card-header';\n\n /** @private */\n public static styles = styles;\n\n protected render() {\n return html`\n <section>\n <slot name=\"thumbnail\"></slot>\n </section>\n <section>\n <header part=\"header\">\n <slot part=\"title\" name=\"title\"></slot>\n <slot part=\"subtitle\" name=\"subtitle\"></slot>\n </header>\n <slot></slot>\n </section>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-card-header': IgcCardHeaderComponent;\n }\n}\n"]}
1
+ {"version":3,"file":"card.header.js","sourceRoot":"","sources":["../../../src/components/card/card.header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAYpD,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,UAAU;IAKzC,MAAM;QACvB,OAAO,IAAI,CAAA;;;;;;;;;;;KAWV,CAAC;IACJ,CAAC;;AAjBsB,8BAAO,GAAG,iBAAiB,CAAC;AAE5B,6BAAM,GAAG,MAAM,CAAC","sourcesContent":["import { LitElement, html } from 'lit';\nimport { styles } from './card.header.material.css';\n\n/** A container for card's header\n * @element igc-card-header\n *\n * @slot thumbnail - Renders header media like icon\n * @slot title - Renders the card title\n * @slot subtitle - Renders the card subtitle\n * @slot - Renders content next to the card title\n *\n * @csspart header - The card header container\n */\nexport default class IgcCardHeaderComponent extends LitElement {\n public static readonly tagName = 'igc-card-header';\n\n public static override styles = styles;\n\n protected override render() {\n return html`\n <section>\n <slot name=\"thumbnail\"></slot>\n </section>\n <section>\n <header part=\"header\">\n <slot part=\"title\" name=\"title\"></slot>\n <slot part=\"subtitle\" name=\"subtitle\"></slot>\n </header>\n <slot></slot>\n </section>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-card-header': IgcCardHeaderComponent;\n }\n}\n"]}
@@ -1,2 +1 @@
1
1
  export declare const styles: import("lit").CSSResult;
2
- //# sourceMappingURL=card.header.material.css.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import { css } from 'lit';
2
- export const styles = css `:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}[hidden]{display:none !important}:host{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:start;align-content:flex-start;width:100%;color:var(--igc-surface-500-contrast);padding:1rem;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(*){margin:0;font:inherit;opacity:inherit}[part=header]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;overflow:hidden;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}[part=title]{font-family:var(--igc-h6-font-family);font-weight:var(--igc-h6-font-weight);font-size:var(--igc-h6-font-size);font-style:var(--igc-h6-font-style);letter-spacing:var(--igc-h6-letter-spacing);text-transform:var(--igc-h6-text-transform);line-height:var(--igc-h6-line-height);margin-top:var(--igc-h6-margin-top);margin-bottom:var(--igc-h6-margin-bottom);opacity:.87}[part=subtitle]{font-family:var(--igc-subtitle-2-font-family);font-weight:var(--igc-subtitle-2-font-weight);font-size:var(--igc-subtitle-2-font-size);font-style:var(--igc-subtitle-2-font-style);letter-spacing:var(--igc-subtitle-2-letter-spacing);text-transform:var(--igc-subtitle-2-text-transform);line-height:var(--igc-subtitle-2-line-height);margin-top:var(--igc-subtitle-2-margin-top);margin-bottom:var(--igc-subtitle-2-margin-bottom);opacity:.6}::slotted([slot=thumbnail]){display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-item-align:start;align-self:flex-start;-webkit-margin-end:1rem;margin-inline-end:1rem}`;
2
+ export const styles = css `:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;scrollbar-width:var(--scrolbar-size);scrollbar-color:var(--igc-scrollbar-thumb-color) var(--igc-scrollbar-track-color)}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host ::-webkit-scrollbar{width:var(--scrolbar-size);height:var(--scrolbar-size);background:var(--igc-scrollbar-track-color)}:host ::-webkit-scrollbar-thumb{background:var(--igc-scrollbar-thumb-color)}[hidden]{display:none !important}:host{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:start;align-content:flex-start;width:100%;color:var(--igc-surface-500-contrast);padding:1rem;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(*){margin:0;font:inherit;opacity:inherit}[part=header]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;overflow:hidden;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}[part=title]{font-family:var(--igc-h6-font-family);font-weight:var(--igc-h6-font-weight);font-size:var(--igc-h6-font-size);font-style:var(--igc-h6-font-style);letter-spacing:var(--igc-h6-letter-spacing);text-transform:var(--igc-h6-text-transform);line-height:var(--igc-h6-line-height);margin-top:var(--igc-h6-margin-top);margin-bottom:var(--igc-h6-margin-bottom);opacity:.87}[part=subtitle]{font-family:var(--igc-subtitle-2-font-family);font-weight:var(--igc-subtitle-2-font-weight);font-size:var(--igc-subtitle-2-font-size);font-style:var(--igc-subtitle-2-font-style);letter-spacing:var(--igc-subtitle-2-letter-spacing);text-transform:var(--igc-subtitle-2-text-transform);line-height:var(--igc-subtitle-2-line-height);margin-top:var(--igc-subtitle-2-margin-top);margin-bottom:var(--igc-subtitle-2-margin-bottom);opacity:.6}::slotted([slot=thumbnail]){display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-item-align:start;align-self:flex-start;-webkit-margin-end:1rem;margin-inline-end:1rem}`;
3
3
  //# sourceMappingURL=card.header.material.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.header.material.css.js","sourceRoot":"","sources":["../../../src/components/card/card.header.material.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,i5DAAi5D,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}[hidden]{display:none !important}:host{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:start;align-content:flex-start;width:100%;color:var(--igc-surface-500-contrast);padding:1rem;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(*){margin:0;font:inherit;opacity:inherit}[part=header]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;overflow:hidden;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}[part=title]{font-family:var(--igc-h6-font-family);font-weight:var(--igc-h6-font-weight);font-size:var(--igc-h6-font-size);font-style:var(--igc-h6-font-style);letter-spacing:var(--igc-h6-letter-spacing);text-transform:var(--igc-h6-text-transform);line-height:var(--igc-h6-line-height);margin-top:var(--igc-h6-margin-top);margin-bottom:var(--igc-h6-margin-bottom);opacity:.87}[part=subtitle]{font-family:var(--igc-subtitle-2-font-family);font-weight:var(--igc-subtitle-2-font-weight);font-size:var(--igc-subtitle-2-font-size);font-style:var(--igc-subtitle-2-font-style);letter-spacing:var(--igc-subtitle-2-letter-spacing);text-transform:var(--igc-subtitle-2-text-transform);line-height:var(--igc-subtitle-2-line-height);margin-top:var(--igc-subtitle-2-margin-top);margin-bottom:var(--igc-subtitle-2-margin-bottom);opacity:.6}::slotted([slot=thumbnail]){display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-item-align:start;align-self:flex-start;-webkit-margin-end:1rem;margin-inline-end:1rem}`;\n"]}
1
+ {"version":3,"file":"card.header.material.css.js","sourceRoot":"","sources":["../../../src/components/card/card.header.material.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,itEAAitE,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;scrollbar-width:var(--scrolbar-size);scrollbar-color:var(--igc-scrollbar-thumb-color) var(--igc-scrollbar-track-color)}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host ::-webkit-scrollbar{width:var(--scrolbar-size);height:var(--scrolbar-size);background:var(--igc-scrollbar-track-color)}:host ::-webkit-scrollbar-thumb{background:var(--igc-scrollbar-thumb-color)}[hidden]{display:none !important}:host{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:start;align-content:flex-start;width:100%;color:var(--igc-surface-500-contrast);padding:1rem;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(*){margin:0;font:inherit;opacity:inherit}[part=header]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;overflow:hidden;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}[part=title]{font-family:var(--igc-h6-font-family);font-weight:var(--igc-h6-font-weight);font-size:var(--igc-h6-font-size);font-style:var(--igc-h6-font-style);letter-spacing:var(--igc-h6-letter-spacing);text-transform:var(--igc-h6-text-transform);line-height:var(--igc-h6-line-height);margin-top:var(--igc-h6-margin-top);margin-bottom:var(--igc-h6-margin-bottom);opacity:.87}[part=subtitle]{font-family:var(--igc-subtitle-2-font-family);font-weight:var(--igc-subtitle-2-font-weight);font-size:var(--igc-subtitle-2-font-size);font-style:var(--igc-subtitle-2-font-style);letter-spacing:var(--igc-subtitle-2-letter-spacing);text-transform:var(--igc-subtitle-2-text-transform);line-height:var(--igc-subtitle-2-line-height);margin-top:var(--igc-subtitle-2-margin-top);margin-bottom:var(--igc-subtitle-2-margin-bottom);opacity:.6}::slotted([slot=thumbnail]){display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-item-align:start;align-self:flex-start;-webkit-margin-end:1rem;margin-inline-end:1rem}`;\n"]}
@@ -10,7 +10,7 @@ import { styles } from './card.material.css';
10
10
  export default class IgcCardComponent extends LitElement {
11
11
  constructor() {
12
12
  super(...arguments);
13
- this.outlined = true;
13
+ this.elevated = false;
14
14
  }
15
15
  render() {
16
16
  return html `<slot></slot>`;
@@ -20,5 +20,5 @@ IgcCardComponent.tagName = 'igc-card';
20
20
  IgcCardComponent.styles = styles;
21
21
  __decorate([
22
22
  property({ type: Boolean, reflect: true })
23
- ], IgcCardComponent.prototype, "outlined", void 0);
23
+ ], IgcCardComponent.prototype, "elevated", void 0);
24
24
  //# sourceMappingURL=card.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.js","sourceRoot":"","sources":["../../../src/components/card/card.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAO7C,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU;IAAxD;;QASS,aAAQ,GAAG,IAAI,CAAC;IAKzB,CAAC;IAHW,MAAM;QACd,OAAO,IAAI,CAAA,eAAe,CAAC;IAC7B,CAAC;;AAXa,wBAAO,GAAG,UAAU,CAAC;AAGrB,uBAAM,GAAG,MAAM,CAAC;AAI9B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;kDACpB","sourcesContent":["import { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { styles } from './card.material.css';\n\n/** A container which wraps different elements related to a single subject\n * @element igc-card\n *\n * @slot - Renders card content\n */\nexport default class IgcCardComponent extends LitElement {\n /** @private */\n public static tagName = 'igc-card';\n\n /** @private */\n public static styles = styles;\n\n /** Sets card outline style, otherwise card looks elevated */\n @property({ type: Boolean, reflect: true })\n public outlined = true;\n\n protected render() {\n return html`<slot></slot>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-card': IgcCardComponent;\n }\n}\n"]}
1
+ {"version":3,"file":"card.js","sourceRoot":"","sources":["../../../src/components/card/card.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAO7C,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU;IAAxD;;QAOS,aAAQ,GAAG,KAAK,CAAC;IAK1B,CAAC;IAHoB,MAAM;QACvB,OAAO,IAAI,CAAA,eAAe,CAAC;IAC7B,CAAC;;AAVsB,wBAAO,GAAG,UAAU,CAAC;AAErB,uBAAM,GAAG,MAAM,CAAC;AAIvC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;kDACnB","sourcesContent":["import { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { styles } from './card.material.css';\n\n/** A container which wraps different elements related to a single subject\n * @element igc-card\n *\n * @slot - Renders card content\n */\nexport default class IgcCardComponent extends LitElement {\n public static readonly tagName = 'igc-card';\n\n public static override styles = styles;\n\n /** Sets card elevated style, otherwise card looks outlined. */\n @property({ type: Boolean, reflect: true })\n public elevated = false;\n\n protected override render() {\n return html`<slot></slot>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-card': IgcCardComponent;\n }\n}\n"]}
@@ -1,2 +1 @@
1
1
  export declare const styles: import("lit").CSSResult;
2
- //# sourceMappingURL=card.material.css.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import { css } from 'lit';
2
- export const styles = css `:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}[hidden]{display:none !important}:host{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-shadow:var(--igc-elevation-4);box-shadow:var(--igc-elevation-4);overflow:hidden;border-radius:.1875rem;background:hsla(var(--igc-surface-500), var(--igc-surface-a));-webkit-transition:-webkit-box-shadow .1s ease-out;transition:-webkit-box-shadow .1s ease-out;-o-transition:box-shadow .1s ease-out;transition:box-shadow .1s ease-out;transition:box-shadow .1s ease-out, -webkit-box-shadow .1s ease-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;font-family:var(--igc-font-family)}:host(:hover),:host(:focus-within){-webkit-box-shadow:var(--igc-elevation-6);box-shadow:var(--igc-elevation-6)}:host([outlined]){-webkit-box-shadow:none;box-shadow:none;border:.0625rem solid hsla(var(--igc-gray-400), var(--igc-gray-a))}:host([outlined]):hover,:host([outlined]):focus-within{-webkit-box-shadow:none;box-shadow:none}`;
2
+ export const styles = css `:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;scrollbar-width:var(--scrolbar-size);scrollbar-color:var(--igc-scrollbar-thumb-color) var(--igc-scrollbar-track-color)}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host ::-webkit-scrollbar{width:var(--scrolbar-size);height:var(--scrolbar-size);background:var(--igc-scrollbar-track-color)}:host ::-webkit-scrollbar-thumb{background:var(--igc-scrollbar-thumb-color)}[hidden]{display:none !important}:host{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border:.0625rem solid hsla(var(--igc-gray-400), var(--igc-gray-a));overflow:hidden;border-radius:.1875rem;background:hsla(var(--igc-surface-500), var(--igc-surface-a));font-family:var(--igc-font-family)}:host([elevated]){border:none;-webkit-box-shadow:var(--igc-elevation-4);box-shadow:var(--igc-elevation-4);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:-webkit-box-shadow .1s ease-out;transition:-webkit-box-shadow .1s ease-out;-o-transition:box-shadow .1s ease-out;transition:box-shadow .1s ease-out;transition:box-shadow .1s ease-out, -webkit-box-shadow .1s ease-out}:host([elevated]:hover),:host([elevated]:focus-within){-webkit-box-shadow:var(--igc-elevation-6);box-shadow:var(--igc-elevation-6)}`;
3
3
  //# sourceMappingURL=card.material.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.material.css.js","sourceRoot":"","sources":["../../../src/components/card/card.material.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,srCAAsrC,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}[hidden]{display:none !important}:host{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-shadow:var(--igc-elevation-4);box-shadow:var(--igc-elevation-4);overflow:hidden;border-radius:.1875rem;background:hsla(var(--igc-surface-500), var(--igc-surface-a));-webkit-transition:-webkit-box-shadow .1s ease-out;transition:-webkit-box-shadow .1s ease-out;-o-transition:box-shadow .1s ease-out;transition:box-shadow .1s ease-out;transition:box-shadow .1s ease-out, -webkit-box-shadow .1s ease-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;font-family:var(--igc-font-family)}:host(:hover),:host(:focus-within){-webkit-box-shadow:var(--igc-elevation-6);box-shadow:var(--igc-elevation-6)}:host([outlined]){-webkit-box-shadow:none;box-shadow:none;border:.0625rem solid hsla(var(--igc-gray-400), var(--igc-gray-a))}:host([outlined]):hover,:host([outlined]):focus-within{-webkit-box-shadow:none;box-shadow:none}`;\n"]}
1
+ {"version":3,"file":"card.material.css.js","sourceRoot":"","sources":["../../../src/components/card/card.material.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,+4CAA+4C,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;scrollbar-width:var(--scrolbar-size);scrollbar-color:var(--igc-scrollbar-thumb-color) var(--igc-scrollbar-track-color)}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host ::-webkit-scrollbar{width:var(--scrolbar-size);height:var(--scrolbar-size);background:var(--igc-scrollbar-track-color)}:host ::-webkit-scrollbar-thumb{background:var(--igc-scrollbar-thumb-color)}[hidden]{display:none !important}:host{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border:.0625rem solid hsla(var(--igc-gray-400), var(--igc-gray-a));overflow:hidden;border-radius:.1875rem;background:hsla(var(--igc-surface-500), var(--igc-surface-a));font-family:var(--igc-font-family)}:host([elevated]){border:none;-webkit-box-shadow:var(--igc-elevation-4);box-shadow:var(--igc-elevation-4);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:-webkit-box-shadow .1s ease-out;transition:-webkit-box-shadow .1s ease-out;-o-transition:box-shadow .1s ease-out;transition:box-shadow .1s ease-out;transition:box-shadow .1s ease-out, -webkit-box-shadow .1s ease-out}:host([elevated]:hover),:host([elevated]:focus-within){-webkit-box-shadow:var(--igc-elevation-6);box-shadow:var(--igc-elevation-6)}`;\n"]}
@@ -1,12 +1,16 @@
1
1
  import { LitElement } from 'lit';
2
+ /** A container for card's media - could be an image, gif, video
3
+ * @element igc-card-media
4
+ *
5
+ * @slot - Renders the card media content
6
+ */
2
7
  export default class IgcCardMediaComponent extends LitElement {
3
- static tagName: string;
8
+ static readonly tagName = "igc-card-media";
4
9
  static styles: import("lit").CSSResult;
5
- protected render(): import("lit").TemplateResult<1>;
10
+ protected render(): import("lit-html").TemplateResult<1>;
6
11
  }
7
12
  declare global {
8
13
  interface HTMLElementTagNameMap {
9
14
  'igc-card-media': IgcCardMediaComponent;
10
15
  }
11
16
  }
12
- //# sourceMappingURL=card.media.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.media.js","sourceRoot":"","sources":["../../../src/components/card/card.media.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAOnD,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,UAAU;IAOjD,MAAM;QACd,OAAO,IAAI,CAAA,eAAe,CAAC;IAC7B,CAAC;;AAPa,6BAAO,GAAG,gBAAgB,CAAC;AAG3B,4BAAM,GAAG,MAAM,CAAC","sourcesContent":["import { LitElement, html } from 'lit';\nimport { styles } from './card.media.material.css';\n\n/** A container for card's media - could be an image, gif, video\n * @element igc-card-media\n *\n * @slot - Renders the card media content\n */\nexport default class IgcCardMediaComponent extends LitElement {\n /** @private */\n public static tagName = 'igc-card-media';\n\n /** @private */\n public static styles = styles;\n\n protected render() {\n return html`<slot></slot>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-card-media': IgcCardMediaComponent;\n }\n}\n"]}
1
+ {"version":3,"file":"card.media.js","sourceRoot":"","sources":["../../../src/components/card/card.media.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAOnD,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,UAAU;IAKxC,MAAM;QACvB,OAAO,IAAI,CAAA,eAAe,CAAC;IAC7B,CAAC;;AANsB,6BAAO,GAAG,gBAAgB,CAAC;AAE3B,4BAAM,GAAG,MAAM,CAAC","sourcesContent":["import { LitElement, html } from 'lit';\nimport { styles } from './card.media.material.css';\n\n/** A container for card's media - could be an image, gif, video\n * @element igc-card-media\n *\n * @slot - Renders the card media content\n */\nexport default class IgcCardMediaComponent extends LitElement {\n public static readonly tagName = 'igc-card-media';\n\n public static override styles = styles;\n\n protected override render() {\n return html`<slot></slot>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-card-media': IgcCardMediaComponent;\n }\n}\n"]}
@@ -1,2 +1 @@
1
1
  export declare const styles: import("lit").CSSResult;
2
- //# sourceMappingURL=card.media.material.css.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import { css } from 'lit';
2
- export const styles = css `:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}[hidden]{display:none !important}:host{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden}::slotted(*){width:100%;height:100%;-o-object-fit:cover;object-fit:cover}`;
2
+ export const styles = css `:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;scrollbar-width:var(--scrolbar-size);scrollbar-color:var(--igc-scrollbar-thumb-color) var(--igc-scrollbar-track-color)}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host ::-webkit-scrollbar{width:var(--scrolbar-size);height:var(--scrolbar-size);background:var(--igc-scrollbar-track-color)}:host ::-webkit-scrollbar-thumb{background:var(--igc-scrollbar-thumb-color)}[hidden]{display:none !important}:host{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden}::slotted(*){width:100%;height:100%;-o-object-fit:cover;object-fit:cover}`;
3
3
  //# sourceMappingURL=card.media.material.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.media.material.css.js","sourceRoot":"","sources":["../../../src/components/card/card.media.material.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,gaAAga,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}[hidden]{display:none !important}:host{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden}::slotted(*){width:100%;height:100%;-o-object-fit:cover;object-fit:cover}`;\n"]}
1
+ {"version":3,"file":"card.media.material.css.js","sourceRoot":"","sources":["../../../src/components/card/card.media.material.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,guBAAguB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;scrollbar-width:var(--scrolbar-size);scrollbar-color:var(--igc-scrollbar-thumb-color) var(--igc-scrollbar-track-color)}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host ::-webkit-scrollbar{width:var(--scrolbar-size);height:var(--scrolbar-size);background:var(--igc-scrollbar-track-color)}:host ::-webkit-scrollbar-thumb{background:var(--igc-scrollbar-thumb-color)}[hidden]{display:none !important}:host{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden}::slotted(*){width:100%;height:100%;-o-object-fit:cover;object-fit:cover}`;\n"]}
@@ -8,22 +8,37 @@ export interface IgcCheckboxEventMap {
8
8
  declare const IgcCheckboxBaseComponent_base: Constructor<import("../common/mixins/event-emitter.js").EventEmitterInterface<IgcCheckboxEventMap>> & Constructor<LitElement>;
9
9
  export declare class IgcCheckboxBaseComponent extends IgcCheckboxBaseComponent_base {
10
10
  protected input: HTMLInputElement;
11
+ /** The name attribute of the control. */
11
12
  name: string;
13
+ /** The value attribute of the control. */
12
14
  value: string;
15
+ /** Disables the control. */
13
16
  disabled: boolean;
17
+ /** The checked state of the control. */
14
18
  checked: boolean;
19
+ /** Makes the control a required field. */
15
20
  required: boolean;
21
+ /** Controls the validity of the control. */
16
22
  invalid: boolean;
23
+ /** The label position of the control. */
17
24
  labelPosition: 'before' | 'after';
25
+ /** Sets the aria-labelledby attribute for the control. */
18
26
  ariaLabelledby: string;
27
+ /** Simulates a click on the control. */
19
28
  click(): void;
29
+ /** Sets focus on the control. */
20
30
  focus(options?: FocusOptions): void;
31
+ /** Removes focus from the control. */
21
32
  blur(): void;
33
+ /** Checks for validity of the control and shows the browser message if it invalid. */
22
34
  reportValidity(): boolean;
35
+ /**
36
+ * Sets a custom validation message for the control.
37
+ * As long as `message` is not empty, the control is considered invalid.
38
+ */
23
39
  setCustomValidity(message: string): void;
24
40
  protected handleBlur(): void;
25
41
  protected handleFocus(): void;
26
42
  protected handleMouseDown(event: MouseEvent): void;
27
43
  }
28
44
  export {};
29
- //# sourceMappingURL=checkbox-base.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox-base.js","sourceRoot":"","sources":["../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B,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IACrB,CAAC;CACF;AA9EC;IADC,KAAK,CAAC,wBAAwB,EAAE,IAAI,CAAC;uDACH;AAInC;IADC,QAAQ,EAAE;sDACU;AAIrB;IADC,QAAQ,EAAE;uDACW;AAItB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;0DACnB;AAKxB;IAFC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;IAC3B,gBAAgB,CAAC,WAAW,EAAE,QAAQ,CAAC;yDACjB;AAIvB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;0DACnB;AAIxB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;yDACpB;AAIvB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;+DACN;AAInD;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;gEAC3B;AAS/B;IADC,aAAa,CAAC,gBAAgB,CAAC;qDAG/B;AAID;IADC,aAAa,CAAC,eAAe,CAAC;oDAG9B","sourcesContent":["import { LitElement } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { EventEmitterMixin } from '../common/mixins/event-emitter.js';\nimport { Constructor } from '../common/mixins/constructor.js';\nimport { alternateName, blazorTwoWayBind } from '../common/decorators';\n\nexport interface IgcCheckboxEventMap {\n igcChange: CustomEvent<boolean>;\n igcFocus: CustomEvent<void>;\n igcBlur: CustomEvent<void>;\n}\n\nexport class IgcCheckboxBaseComponent extends EventEmitterMixin<\n IgcCheckboxEventMap,\n Constructor<LitElement>\n>(LitElement) {\n @query('input[type=\"checkbox\"]', true)\n protected input!: HTMLInputElement;\n\n /** The name attribute of the control. */\n @property()\n public name!: string;\n\n /** The value attribute of the control. */\n @property()\n public value!: string;\n\n /** Disables the control. */\n @property({ type: Boolean, reflect: true })\n public disabled = false;\n\n /** The checked state of the control. */\n @property({ type: Boolean })\n @blazorTwoWayBind('igcChange', 'detail')\n public checked = false;\n\n /** Makes the control a required field. */\n @property({ type: Boolean, reflect: true })\n public required = false;\n\n /** Controls the validity of the control. */\n @property({ type: Boolean, reflect: true })\n public invalid = false;\n\n /** The label position of the control. */\n @property({ reflect: true, attribute: 'label-position' })\n public labelPosition: 'before' | 'after' = 'after';\n\n /** Sets the aria-labelledby attribute for the control. */\n @property({ reflect: true, attribute: 'aria-labelledby' })\n public ariaLabelledby!: string;\n\n /** Simulates a click on the control. */\n public click() {\n this.input.click();\n }\n\n /** Sets focus on the control. */\n @alternateName('focusComponent')\n public focus(options?: FocusOptions) {\n this.input.focus(options);\n }\n\n /** Removes focus from the control. */\n @alternateName('blurComponent')\n public blur() {\n this.input.blur();\n }\n\n /** Checks for validity of the control and shows the browser message if it invalid. */\n public reportValidity() {\n return this.input.reportValidity();\n }\n\n /**\n * Sets a custom validation message for the control.\n * As long as `message` is not empty, the control is considered invalid.\n */\n public setCustomValidity(message: string) {\n this.input.setCustomValidity(message);\n this.invalid = !this.input.checkValidity();\n }\n\n protected handleBlur() {\n this.emitEvent('igcBlur');\n }\n\n protected handleFocus() {\n this.emitEvent('igcFocus');\n }\n\n protected handleMouseDown(event: MouseEvent) {\n event.preventDefault();\n this.input.focus();\n }\n}\n"]}
1
+ {"version":3,"file":"checkbox-base.js","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox-base.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,aAAa,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,OAAO,EAAE,IAAI,EAAE,CAAC;0DACnB;AAKxB;IAFC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;IAC3B,gBAAgB,CAAC,WAAW,EAAE,QAAQ,CAAC;yDACjB;AAIvB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;0DACnB;AAIxB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;yDACpB;AAIvB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;+DACN;AAInD;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;gEAC3B;AAS/B;IADC,aAAa,CAAC,gBAAgB,CAAC;qDAG/B;AAID;IADC,aAAa,CAAC,eAAe,CAAC;oDAG9B","sourcesContent":["import { LitElement } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { EventEmitterMixin } from '../common/mixins/event-emitter.js';\nimport { Constructor } from '../common/mixins/constructor.js';\nimport { alternateName, blazorTwoWayBind } from '../common/decorators';\n\nexport interface IgcCheckboxEventMap {\n igcChange: CustomEvent<boolean>;\n igcFocus: CustomEvent<void>;\n igcBlur: CustomEvent<void>;\n}\n\nexport class IgcCheckboxBaseComponent extends EventEmitterMixin<\n IgcCheckboxEventMap,\n Constructor<LitElement>\n>(LitElement) {\n @query('input[type=\"checkbox\"]', true)\n protected input!: HTMLInputElement;\n\n /** The name attribute of the control. */\n @property()\n public name!: string;\n\n /** The value attribute of the control. */\n @property()\n public value!: string;\n\n /** Disables the control. */\n @property({ type: Boolean, reflect: true })\n public disabled = false;\n\n /** The checked state of the control. */\n @property({ type: Boolean })\n @blazorTwoWayBind('igcChange', 'detail')\n public checked = false;\n\n /** Makes the control a required field. */\n @property({ type: Boolean, reflect: true })\n public required = false;\n\n /** Controls the validity of the control. */\n @property({ type: Boolean, reflect: true })\n public invalid = false;\n\n /** The label position of the control. */\n @property({ reflect: true, attribute: 'label-position' })\n public labelPosition: 'before' | 'after' = 'after';\n\n /** Sets the aria-labelledby attribute for the control. */\n @property({ reflect: true, attribute: 'aria-labelledby' })\n public ariaLabelledby!: string;\n\n /** Simulates a click on the control. */\n public override click() {\n this.input.click();\n }\n\n /** Sets focus on the control. */\n @alternateName('focusComponent')\n public override focus(options?: FocusOptions) {\n this.input.focus(options);\n }\n\n /** Removes focus from the control. */\n @alternateName('blurComponent')\n public override blur() {\n this.input.blur();\n }\n\n /** Checks for validity of the control and shows the browser message if it invalid. */\n public reportValidity() {\n return this.input.reportValidity();\n }\n\n /**\n * Sets a custom validation message for the control.\n * As long as `message` is not empty, the control is considered invalid.\n */\n public setCustomValidity(message: string) {\n this.input.setCustomValidity(message);\n this.invalid = !this.input.checkValidity();\n }\n\n protected handleBlur() {\n this.emitEvent('igcBlur');\n }\n\n protected handleFocus() {\n this.emitEvent('igcFocus');\n }\n\n protected handleMouseDown(event: MouseEvent) {\n event.preventDefault();\n this.input.focus();\n }\n}\n"]}
@@ -1,17 +1,33 @@
1
1
  import { IgcCheckboxBaseComponent } from './checkbox-base.js';
2
+ /**
3
+ * A check box allowing single values to be selected/deselected.
4
+ *
5
+ * @element igc-checkbox
6
+ *
7
+ * @slot - The checkbox label.
8
+ *
9
+ * @fires igcChange - Emitted when the control's checked state changes.
10
+ * @fires igcFocus - Emitted when the control gains focus.
11
+ * @fires igcBlur - Emitted when the control loses focus.
12
+ *
13
+ * @csspart base - The base wrapper of the checkbox.
14
+ * @csspart control - The checkbox control.
15
+ * @csspart label - The checkbox label.
16
+ * @csspart indicator - The checkbox icon.
17
+ */
2
18
  export default class IgcCheckboxComponent extends IgcCheckboxBaseComponent {
3
- static tagName: string;
19
+ static readonly tagName = "igc-checkbox";
4
20
  static styles: import("lit").CSSResult;
5
21
  private inputId;
6
22
  private labelId;
23
+ /** Draws the checkbox in indeterminate state. */
7
24
  indeterminate: boolean;
8
- private handleClick;
25
+ protected handleClick(): void;
9
26
  protected handleChange(): void;
10
- protected render(): import("lit").TemplateResult<1>;
27
+ protected render(): import("lit-html").TemplateResult<1>;
11
28
  }
12
29
  declare global {
13
30
  interface HTMLElementTagNameMap {
14
31
  'igc-checkbox': IgcCheckboxComponent;
15
32
  }
16
33
  }
17
- //# sourceMappingURL=checkbox.d.ts.map