godown 3.0.0-canary.14 → 3.0.0-canary.16

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 (338) hide show
  1. package/alert.js +1 -1
  2. package/alert.js.map +1 -1
  3. package/avatar.js +1 -1
  4. package/avatar.js.map +1 -1
  5. package/breath.js +1 -1
  6. package/breath.js.map +1 -1
  7. package/button.js +1 -1
  8. package/button.js.map +1 -1
  9. package/card.js +1 -1
  10. package/card.js.map +1 -1
  11. package/carousel.js +1 -1
  12. package/carousel.js.map +1 -1
  13. package/components/alert.d.ts +2 -0
  14. package/components/alert.d.ts.map +1 -1
  15. package/components/alert.js +1 -1
  16. package/components/alert.js.map +1 -1
  17. package/components/avatar.d.ts +1 -0
  18. package/components/avatar.d.ts.map +1 -1
  19. package/components/avatar.js +1 -1
  20. package/components/avatar.js.map +1 -1
  21. package/components/breath.d.ts +3 -2
  22. package/components/breath.d.ts.map +1 -1
  23. package/components/breath.js +1 -1
  24. package/components/breath.js.map +1 -1
  25. package/components/button.d.ts +2 -1
  26. package/components/button.d.ts.map +1 -1
  27. package/components/button.js +1 -1
  28. package/components/card.d.ts +1 -0
  29. package/components/card.d.ts.map +1 -1
  30. package/components/card.js +1 -1
  31. package/components/card.js.map +1 -1
  32. package/components/carousel.d.ts +2 -0
  33. package/components/carousel.d.ts.map +1 -1
  34. package/components/carousel.js +1 -1
  35. package/components/carousel.js.map +1 -1
  36. package/components/details.d.ts +2 -2
  37. package/components/details.d.ts.map +1 -1
  38. package/components/details.js +1 -1
  39. package/components/details.js.map +1 -1
  40. package/components/dialog.d.ts +3 -1
  41. package/components/dialog.d.ts.map +1 -1
  42. package/components/dialog.js +1 -1
  43. package/components/dialog.js.map +1 -1
  44. package/components/divider.d.ts +1 -0
  45. package/components/divider.d.ts.map +1 -1
  46. package/components/divider.js +1 -1
  47. package/components/dragbox.d.ts +2 -1
  48. package/components/dragbox.d.ts.map +1 -1
  49. package/components/dragbox.js +1 -1
  50. package/components/dragbox.js.map +1 -1
  51. package/components/flex.d.ts +1 -0
  52. package/components/flex.d.ts.map +1 -1
  53. package/components/flex.js +1 -1
  54. package/components/flex.js.map +1 -1
  55. package/components/form.d.ts +1 -0
  56. package/components/form.d.ts.map +1 -1
  57. package/components/form.js +1 -1
  58. package/components/grid.d.ts +1 -0
  59. package/components/grid.d.ts.map +1 -1
  60. package/components/grid.js +1 -1
  61. package/components/grid.js.map +1 -1
  62. package/components/input.d.ts +3 -0
  63. package/components/input.d.ts.map +1 -1
  64. package/components/input.js +1 -1
  65. package/components/input.js.map +1 -1
  66. package/components/layout.d.ts +4 -3
  67. package/components/layout.d.ts.map +1 -1
  68. package/components/layout.js +1 -1
  69. package/components/layout.js.map +1 -1
  70. package/components/link.d.ts +1 -0
  71. package/components/link.d.ts.map +1 -1
  72. package/components/link.js +1 -1
  73. package/components/progress.d.ts +1 -0
  74. package/components/progress.d.ts.map +1 -1
  75. package/components/progress.js +1 -1
  76. package/components/progress.js.map +1 -1
  77. package/components/range.d.ts +6 -2
  78. package/components/range.d.ts.map +1 -1
  79. package/components/range.js +1 -1
  80. package/components/range.js.map +1 -1
  81. package/components/rotate.d.ts +1 -0
  82. package/components/rotate.d.ts.map +1 -1
  83. package/components/rotate.js +1 -1
  84. package/components/router.d.ts +4 -5
  85. package/components/router.d.ts.map +1 -1
  86. package/components/router.js +1 -1
  87. package/components/router.js.map +1 -1
  88. package/components/select.d.ts +5 -1
  89. package/components/select.d.ts.map +1 -1
  90. package/components/select.js +1 -1
  91. package/components/select.js.map +1 -1
  92. package/components/skeleton.d.ts +1 -0
  93. package/components/skeleton.d.ts.map +1 -1
  94. package/components/skeleton.js +1 -1
  95. package/components/skeleton.js.map +1 -1
  96. package/components/split.d.ts +5 -1
  97. package/components/split.d.ts.map +1 -1
  98. package/components/split.js +1 -1
  99. package/components/split.js.map +1 -1
  100. package/components/switch.d.ts +2 -0
  101. package/components/switch.d.ts.map +1 -1
  102. package/components/switch.js +1 -1
  103. package/components/switch.js.map +1 -1
  104. package/components/text.d.ts +1 -0
  105. package/components/text.d.ts.map +1 -1
  106. package/components/text.js +1 -1
  107. package/components/text.js.map +1 -1
  108. package/components/time.d.ts +3 -1
  109. package/components/time.d.ts.map +1 -1
  110. package/components/time.js +1 -1
  111. package/components/time.js.map +1 -1
  112. package/components/tooltip.d.ts +1 -0
  113. package/components/tooltip.d.ts.map +1 -1
  114. package/components/tooltip.js +1 -1
  115. package/components/tooltip.js.map +1 -1
  116. package/components/typewriter.d.ts +2 -1
  117. package/components/typewriter.d.ts.map +1 -1
  118. package/components/typewriter.js +1 -1
  119. package/components/typewriter.js.map +1 -1
  120. package/core/global-style.d.ts +1 -1
  121. package/core/global-style.d.ts.map +1 -1
  122. package/core/global-style.js +1 -1
  123. package/core/global-style.js.map +1 -1
  124. package/core/super-anchor.d.ts.map +1 -1
  125. package/core/super-anchor.js.map +1 -1
  126. package/core/super-input.d.ts +1 -1
  127. package/core/super-input.d.ts.map +1 -1
  128. package/core/super-input.js +1 -1
  129. package/core/super-input.js.map +1 -1
  130. package/core/super-openable.d.ts +1 -1
  131. package/core/super-openable.d.ts.map +1 -1
  132. package/core/super-openable.js +1 -1
  133. package/core/super-openable.js.map +1 -1
  134. package/custom-elements.json +1 -1
  135. package/details.js +1 -1
  136. package/details.js.map +1 -1
  137. package/dev/components/alert.d.ts +2 -0
  138. package/dev/components/alert.d.ts.map +1 -1
  139. package/dev/components/alert.js +7 -7
  140. package/dev/components/alert.js.map +1 -1
  141. package/dev/components/avatar.d.ts +1 -0
  142. package/dev/components/avatar.d.ts.map +1 -1
  143. package/dev/components/avatar.js +4 -5
  144. package/dev/components/avatar.js.map +1 -1
  145. package/dev/components/breath.d.ts +3 -2
  146. package/dev/components/breath.d.ts.map +1 -1
  147. package/dev/components/breath.js +14 -20
  148. package/dev/components/breath.js.map +1 -1
  149. package/dev/components/button.d.ts +2 -1
  150. package/dev/components/button.d.ts.map +1 -1
  151. package/dev/components/button.js +2 -1
  152. package/dev/components/button.js.map +1 -1
  153. package/dev/components/card.d.ts +1 -0
  154. package/dev/components/card.d.ts.map +1 -1
  155. package/dev/components/card.js +2 -5
  156. package/dev/components/card.js.map +1 -1
  157. package/dev/components/carousel.d.ts +2 -0
  158. package/dev/components/carousel.d.ts.map +1 -1
  159. package/dev/components/carousel.js +7 -10
  160. package/dev/components/carousel.js.map +1 -1
  161. package/dev/components/details.d.ts +2 -2
  162. package/dev/components/details.d.ts.map +1 -1
  163. package/dev/components/details.js +16 -24
  164. package/dev/components/details.js.map +1 -1
  165. package/dev/components/dialog.d.ts +3 -1
  166. package/dev/components/dialog.d.ts.map +1 -1
  167. package/dev/components/dialog.js +2 -0
  168. package/dev/components/dialog.js.map +1 -1
  169. package/dev/components/divider.d.ts +1 -0
  170. package/dev/components/divider.d.ts.map +1 -1
  171. package/dev/components/divider.js +23 -22
  172. package/dev/components/divider.js.map +1 -1
  173. package/dev/components/dragbox.d.ts +2 -1
  174. package/dev/components/dragbox.d.ts.map +1 -1
  175. package/dev/components/dragbox.js +3 -1
  176. package/dev/components/dragbox.js.map +1 -1
  177. package/dev/components/flex.d.ts +1 -0
  178. package/dev/components/flex.d.ts.map +1 -1
  179. package/dev/components/flex.js +2 -1
  180. package/dev/components/flex.js.map +1 -1
  181. package/dev/components/form.d.ts +1 -0
  182. package/dev/components/form.d.ts.map +1 -1
  183. package/dev/components/form.js +1 -0
  184. package/dev/components/form.js.map +1 -1
  185. package/dev/components/grid.d.ts +1 -0
  186. package/dev/components/grid.d.ts.map +1 -1
  187. package/dev/components/grid.js +3 -2
  188. package/dev/components/grid.js.map +1 -1
  189. package/dev/components/input.d.ts +3 -0
  190. package/dev/components/input.d.ts.map +1 -1
  191. package/dev/components/input.js +15 -12
  192. package/dev/components/input.js.map +1 -1
  193. package/dev/components/layout.d.ts +4 -3
  194. package/dev/components/layout.d.ts.map +1 -1
  195. package/dev/components/layout.js +12 -15
  196. package/dev/components/layout.js.map +1 -1
  197. package/dev/components/link.d.ts +1 -0
  198. package/dev/components/link.d.ts.map +1 -1
  199. package/dev/components/link.js +1 -0
  200. package/dev/components/link.js.map +1 -1
  201. package/dev/components/progress.d.ts +1 -0
  202. package/dev/components/progress.d.ts.map +1 -1
  203. package/dev/components/progress.js +39 -38
  204. package/dev/components/progress.js.map +1 -1
  205. package/dev/components/range.d.ts +6 -2
  206. package/dev/components/range.d.ts.map +1 -1
  207. package/dev/components/range.js +15 -17
  208. package/dev/components/range.js.map +1 -1
  209. package/dev/components/rotate.d.ts +1 -0
  210. package/dev/components/rotate.d.ts.map +1 -1
  211. package/dev/components/rotate.js +1 -0
  212. package/dev/components/rotate.js.map +1 -1
  213. package/dev/components/router.d.ts +4 -5
  214. package/dev/components/router.d.ts.map +1 -1
  215. package/dev/components/router.js +11 -18
  216. package/dev/components/router.js.map +1 -1
  217. package/dev/components/select.d.ts +5 -1
  218. package/dev/components/select.d.ts.map +1 -1
  219. package/dev/components/select.js +30 -23
  220. package/dev/components/select.js.map +1 -1
  221. package/dev/components/skeleton.d.ts +1 -0
  222. package/dev/components/skeleton.d.ts.map +1 -1
  223. package/dev/components/skeleton.js +4 -2
  224. package/dev/components/skeleton.js.map +1 -1
  225. package/dev/components/split.d.ts +5 -1
  226. package/dev/components/split.d.ts.map +1 -1
  227. package/dev/components/split.js +14 -8
  228. package/dev/components/split.js.map +1 -1
  229. package/dev/components/switch.d.ts +2 -0
  230. package/dev/components/switch.d.ts.map +1 -1
  231. package/dev/components/switch.js +8 -10
  232. package/dev/components/switch.js.map +1 -1
  233. package/dev/components/text.d.ts +1 -0
  234. package/dev/components/text.d.ts.map +1 -1
  235. package/dev/components/text.js +3 -6
  236. package/dev/components/text.js.map +1 -1
  237. package/dev/components/time.d.ts +3 -1
  238. package/dev/components/time.d.ts.map +1 -1
  239. package/dev/components/time.js +4 -3
  240. package/dev/components/time.js.map +1 -1
  241. package/dev/components/tooltip.d.ts +1 -0
  242. package/dev/components/tooltip.d.ts.map +1 -1
  243. package/dev/components/tooltip.js +9 -11
  244. package/dev/components/tooltip.js.map +1 -1
  245. package/dev/components/typewriter.d.ts +2 -1
  246. package/dev/components/typewriter.d.ts.map +1 -1
  247. package/dev/components/typewriter.js +1 -0
  248. package/dev/components/typewriter.js.map +1 -1
  249. package/dev/core/global-style.d.ts +1 -1
  250. package/dev/core/global-style.d.ts.map +1 -1
  251. package/dev/core/global-style.js +2 -4
  252. package/dev/core/global-style.js.map +1 -1
  253. package/dev/core/super-anchor.d.ts.map +1 -1
  254. package/dev/core/super-anchor.js +20 -18
  255. package/dev/core/super-anchor.js.map +1 -1
  256. package/dev/core/super-input.d.ts +1 -1
  257. package/dev/core/super-input.d.ts.map +1 -1
  258. package/dev/core/super-input.js +35 -34
  259. package/dev/core/super-input.js.map +1 -1
  260. package/dev/core/super-openable.d.ts +1 -1
  261. package/dev/core/super-openable.d.ts.map +1 -1
  262. package/dev/core/super-openable.js +1 -1
  263. package/dev/core/super-openable.js.map +1 -1
  264. package/dialog.js +1 -1
  265. package/dialog.js.map +1 -1
  266. package/divider.js +1 -1
  267. package/divider.js.map +1 -1
  268. package/dragbox.js +1 -1
  269. package/dragbox.js.map +1 -1
  270. package/flex.js +1 -1
  271. package/flex.js.map +1 -1
  272. package/form.js +1 -1
  273. package/form.js.map +1 -1
  274. package/grid.js +1 -1
  275. package/grid.js.map +1 -1
  276. package/input.js +1 -1
  277. package/input.js.map +1 -1
  278. package/layout.js +1 -1
  279. package/layout.js.map +1 -1
  280. package/link.js +1 -1
  281. package/link.js.map +1 -1
  282. package/package.json +4 -4
  283. package/progress.js +1 -1
  284. package/progress.js.map +1 -1
  285. package/range.js +1 -1
  286. package/range.js.map +1 -1
  287. package/rotate.js +1 -1
  288. package/rotate.js.map +1 -1
  289. package/router.js +1 -1
  290. package/router.js.map +1 -1
  291. package/select.js +1 -1
  292. package/select.js.map +1 -1
  293. package/skeleton.js +1 -1
  294. package/skeleton.js.map +1 -1
  295. package/src/components/alert.ts +7 -7
  296. package/src/components/avatar.ts +4 -5
  297. package/src/components/breath.ts +18 -22
  298. package/src/components/button.ts +3 -2
  299. package/src/components/card.ts +2 -5
  300. package/src/components/carousel.ts +7 -10
  301. package/src/components/details.ts +16 -24
  302. package/src/components/dialog.ts +3 -1
  303. package/src/components/divider.ts +26 -25
  304. package/src/components/dragbox.ts +4 -2
  305. package/src/components/flex.ts +5 -2
  306. package/src/components/form.ts +1 -0
  307. package/src/components/grid.ts +6 -3
  308. package/src/components/input.ts +15 -12
  309. package/src/components/layout.ts +7 -14
  310. package/src/components/link.ts +1 -0
  311. package/src/components/progress.ts +42 -39
  312. package/src/components/range.ts +15 -21
  313. package/src/components/rotate.ts +1 -0
  314. package/src/components/router.ts +15 -14
  315. package/src/components/select.ts +31 -24
  316. package/src/components/skeleton.ts +4 -2
  317. package/src/components/split.ts +20 -11
  318. package/src/components/switch.ts +8 -10
  319. package/src/components/text.ts +6 -7
  320. package/src/components/time.ts +5 -4
  321. package/src/components/tooltip.ts +9 -13
  322. package/src/components/typewriter.ts +6 -3
  323. package/src/core/global-style.ts +3 -6
  324. package/src/core/super-anchor.ts +23 -19
  325. package/src/core/super-input.ts +36 -35
  326. package/src/core/super-openable.ts +2 -2
  327. package/switch.js +1 -1
  328. package/switch.js.map +1 -1
  329. package/text.js +1 -1
  330. package/text.js.map +1 -1
  331. package/time.js +1 -1
  332. package/time.js.map +1 -1
  333. package/tooltip.js +1 -1
  334. package/tooltip.js.map +1 -1
  335. package/typewriter.js +1 -1
  336. package/typewriter.js.map +1 -1
  337. package/vscode.html-custom-data.json +1 -1
  338. package/web-types.json +1 -1
package/details.js CHANGED
@@ -1,2 +1,2 @@
1
- import e from"./components/details.js";e.define();export{e as default};
1
+ import e from"./components/details.js";export{Details}from"./components/details.js";e.define();export{e as default};
2
2
  //# sourceMappingURL=details.js.map
package/details.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"details.js","sources":["src/details.ts"],"sourcesContent":null,"names":["Details","define"],"mappings":"uCAEAA,EAAQC"}
1
+ {"version":3,"file":"details.js","sources":["src/details.ts"],"sourcesContent":null,"names":["Details","define"],"mappings":"oFAEAA,EAAQC"}
@@ -8,6 +8,7 @@ import { GlobalStyle } from "../core/global-style.js";
8
8
  * @slot - Alert content.
9
9
  * @slot title - Alert title.
10
10
  * @slot icon - Alert icon.
11
+ * @fires close - Fires when the alert is closed.
11
12
  * @category feedback
12
13
  */
13
14
  declare class Alert extends GlobalStyle {
@@ -50,4 +51,5 @@ declare class Alert extends GlobalStyle {
50
51
  static alert(root: HTMLElement, option: Partial<Alert>): Alert;
51
52
  }
52
53
  export default Alert;
54
+ export { Alert };
53
55
  //# sourceMappingURL=alert.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../src/components/alert.ts"],"names":[],"mappings":"AAcA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAiB,WAAW,EAAe,MAAM,yBAAyB,CAAC;AAwFlF;;;;;;;;;GASG;AACH,cAqEM,KAAM,SAAQ,WAAW;IAC7B;;OAEG;IAEH,IAAI,EAAE,KAAK,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,YAAY,CAAC;IAE1F;;;OAGG;IAEH,KAAK,EACD,OAAO,GACP,OAAO,GACP,MAAM,GACN,OAAO,GACP,MAAM,GACN,MAAM,GACN,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,MAAM,CAAU;IAEpB;;OAEG;IAEH,SAAS,SAAK;IAEd;;OAEG;IAEH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IAEH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IAEH,SAAS,UAAS;IAElB;;;;OAIG;IAEH,OAAO,EAAE,YAAY,GAAG,MAAM,GAAG,OAAO,CAAU;IAElD,SAAS,CAAC,MAAM,IAAI,cAAc,CAAC,CAA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AAK,EAAE,CAAC"}
@@ -34,7 +34,7 @@ const darkStyles = constructCSSObject(vars, {
34
34
  gray: [cssGlobalVars._colors.lightgray[5], cssGlobalVars._colors.darkgray[5]],
35
35
  white: [cssGlobalVars._colors.lightgray[2], cssGlobalVars._colors.darkgray[7]],
36
36
  black: [cssGlobalVars._colors.darkgray[8], cssGlobalVars._colors.lightgray[5]],
37
- }, () => `:host`, (prop) => toVar(prop));
37
+ }, () => ":host", (prop) => toVar(prop));
38
38
  const genLight = (key) => {
39
39
  return [cssGlobalVars._colors[key][6], cssGlobalVars._colors[key][0]];
40
40
  };
@@ -50,7 +50,7 @@ const lightStyles = constructCSSObject(vars, {
50
50
  gray: [cssGlobalVars._colors.darkgray[5], cssGlobalVars._colors.lightgray[7]],
51
51
  white: [cssGlobalVars._colors.lightgray[0], cssGlobalVars._colors.darkgray[0]],
52
52
  black: [cssGlobalVars._colors.darkgray[7], cssGlobalVars._colors.lightgray[3]],
53
- }, () => `:host`, (prop) => toVar(prop));
53
+ }, () => ":host", (prop) => toVar(prop));
54
54
  const calls = {
55
55
  tip: {
56
56
  color: "teal",
@@ -93,6 +93,7 @@ const calls = {
93
93
  * @slot - Alert content.
94
94
  * @slot title - Alert title.
95
95
  * @slot icon - Alert icon.
96
+ * @fires close - Fires when the alert is closed.
96
97
  * @category feedback
97
98
  */
98
99
  let Alert = class Alert extends GlobalStyle {
@@ -126,15 +127,13 @@ let Alert = class Alert extends GlobalStyle {
126
127
  return html `<div part="root" ${attr(this.observedRecord)}>
127
128
  <div part="icon">${icon}</div>
128
129
  <div part="content">
129
- <strong part="title">
130
- ${this.title || htmlSlot("title")}
131
- </strong>
130
+ <strong part="title">${this.title || htmlSlot("title")}</strong>
132
131
  ${this.content || htmlSlot()}
133
132
  </div>
134
133
  ${!this.hideClose && this.variant !== "blockquote"
135
- ? html `<div part="close" tabindex=0 @click="${this.close}">${iconXmark()}</div>`
134
+ ? html `<div part="close" tabindex="0" @click="${this.close}">${iconXmark()}</div>`
136
135
  : ""}
137
- ${htmlStyle(this.variant === "light" ? lightStyles[color] : darkStyles[color])}
136
+ ${htmlStyle(this.variant === "light" ? lightStyles[color] : darkStyles[color])}
138
137
  </div>`;
139
138
  }
140
139
  close() {
@@ -244,4 +243,5 @@ Alert = __decorate([
244
243
  `)
245
244
  ], Alert);
246
245
  export default Alert;
246
+ export { Alert };
247
247
  //# sourceMappingURL=alert.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alert.js","sourceRoot":"","sources":["../../src/components/alert.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,kBAAkB,MAAM,+CAA+C,CAAC;AAC/E,OAAO,qBAAqB,MAAM,iDAAiD,CAAC;AACpF,OAAO,cAAc,MAAM,sCAAsC,CAAC;AAClE,OAAO,aAAa,MAAM,oCAAoC,CAAC;AAC/D,OAAO,kBAAkB,MAAM,0CAA0C,CAAC;AAC1E,OAAO,eAAe,MAAM,uCAAuC,CAAC;AACpE,OAAO,SAAS,MAAM,gCAAgC,CAAC;AACvD,OAAO,eAAe,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAuB,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAElF,MAAM,SAAS,GAAG,OAAO,CAAC;AAC1B,MAAM,QAAQ,GAAG,WA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E,IAAI,EAAE,MAAM,EAAE,CAAC;wCACb;AAMd;IADC,QAAQ,EAAE;oCACG;AAMd;IADC,QAAQ,EAAE;sCACK;AAQhB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;wCACV;AAQlB;IADC,QAAQ,EAAE;sCACuC;AA1D9C,KAAK;IArEV,MAAM,CAAC,SAAS,CAAC;IACjB,MAAM,CACL,GAAG,CAAA;;;2BAGsB,QAAQ;QAC3B,QAAQ;QACR,QAAQ;QACR,QAAQ;QACR,QAAQ;;;;;;qBAMK,QAAQ;;;;;;qBAMR,QAAQ;;oBAET,QAAQ;wBACJ,QAAQ;;;;;yBAKP,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAsC5B,CACJ;GACK,KAAK,CA+FV;AAED,eAAe,KAAK,CAAC;AACrB,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -28,4 +28,5 @@ declare class Avatar extends GlobalStyle {
28
28
  _handleError(): void;
29
29
  }
30
30
  export default Avatar;
31
+ export { Avatar };
31
32
  //# sourceMappingURL=avatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../src/components/avatar.ts"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAE,WAAW,EAAe,MAAM,yBAAyB,CAAC;AAKnE;;;;;;;;GAQG;AACH,cA0CM,MAAO,SAAQ,WAAW;IAC9B;;OAEG;IAEH,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;IAE/B;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,KAAK,UAAS;IAEd,SAAS,CAAC,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;IAMrC,OAAO,CAAC,aAAa;IAUrB,MAAM,IAAI,MAAM;IAIhB,YAAY,IAAI,IAAI;CAGrB;AAED,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../src/components/avatar.ts"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAE,WAAW,EAAe,MAAM,yBAAyB,CAAC;AAKnE;;;;;;;;GAQG;AACH,cA0CM,MAAO,SAAQ,WAAW;IAC9B;;OAEG;IAEH,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;IAE/B;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,KAAK,UAAS;IAEd,SAAS,CAAC,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;IAIrC,OAAO,CAAC,aAAa;IAUrB,MAAM,IAAI,MAAM;IAIhB,YAAY,IAAI,IAAI;CAGrB;AAED,eAAe,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -31,13 +31,11 @@ let Avatar = class Avatar extends GlobalStyle {
31
31
  this.round = false;
32
32
  }
33
33
  render() {
34
- return html `<div part="root" ${attr(omit(this.observedRecord, "src"))}>
35
- ${this._renderAvatar()}
36
- </div>`;
34
+ return html `<div part="root" ${attr(omit(this.observedRecord, "src"))}>${this._renderAvatar()}</div>`;
37
35
  }
38
36
  _renderAvatar() {
39
37
  if (this.src) {
40
- return html `<img part="image" src="${this.src}" @error=${this._handleError} alt="${this.name}">`;
38
+ return html `<img part="image" src="${this.src}" @error=${this._handleError} alt="${this.name}" />`;
41
39
  }
42
40
  if (this.name) {
43
41
  return html `<span part="name">${this.format()}</span>`;
@@ -63,7 +61,7 @@ __decorate([
63
61
  Avatar = __decorate([
64
62
  godown(protoName),
65
63
  styles(css `
66
- :host{
64
+ :host {
67
65
  ${cssScope}--size: 2em;
68
66
  width: var(${cssScope}--size);
69
67
  height: var(${cssScope}--size);
@@ -103,4 +101,5 @@ Avatar = __decorate([
103
101
  `)
104
102
  ], Avatar);
105
103
  export default Avatar;
104
+ export { Avatar };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WAAW;IAAhC;;QAOE;;WAEG;QAEH,SAAI,GAAG,EAAE,CAAC;QAEV;;WAEG;QAEH,UAAK,GAAG,KAAK,CAAC;IAuBhB,CAAC;IArBW,MAAM;QACd,OAAO,IAAI,CAAA,oBAAoB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC,IAAI,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC;IACxG,CAAC;IAEO,aAAa;QACnB,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;YACb,OAAO,IAAI,CAAA,0BAA0B,IAAI,CAAC,GAAG,YAAY,IAAI,CAAC,YAAY,SAAS,IAAI,CAAC,IAAI,MAAM,CAAC;QACrG,CAAC;QACD,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;YACd,OAAO,IAAI,CAAA,qBAAqB,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC;QACzD,CAAC;QACD,OAAO,QAAQ,EAAE,CAAC;IACpB,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,IAAI,CAAC;IACnB,CAAC;IAED,YAAY;QACV,IAAI,CAAC,GAAG,GAAG,SAAS,CAAC;IACvB,CAAC;CACF,CAAA;AAnCC;IADC,QAAQ,EAAE;mCACoB;AAM/B;IADC,QAAQ,EAAE;oCACD;AAMV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;qCACd;AAjBV,MAAM;IA1CX,MAAM,CAAC,SAAS,CAAC;IACjB,MAAM,CACL,GAAG,CAAA;;QAEG,QAAQ;mBACG,QAAQ;oBACP,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCzB,CACF;GACK,MAAM,CAwCX;AAED,eAAe,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -29,8 +29,9 @@ declare class Breath extends GlobalStyle {
29
29
  protected render(): TemplateResult<1>;
30
30
  protected renderText(text: string): TemplateResult<1>;
31
31
  protected getTexts(): string[];
32
- protected computeStyle(len: number): string;
33
- protected parseDuration(): number;
32
+ protected _computeStyle(len: number): string;
33
+ protected parseDuration(): number | undefined;
34
34
  }
35
35
  export default Breath;
36
+ export { Breath };
36
37
  //# sourceMappingURL=breath.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"breath.d.ts","sourceRoot":"","sources":["../../src/components/breath.ts"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAiB,WAAW,EAAe,MAAM,yBAAyB,CAAC;AAKlF;;;;;;;;;;;;;;GAcG;AACH,cAqEM,MAAO,SAAQ,WAAW;IAC9B;;;;OAIG;IAEH,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAExB;;OAEG;IAEH,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,CAAC,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;IAUrC,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,CAAC,CAAC,CAAC;IAOrD,SAAS,CAAC,QAAQ,IAAI,MAAM,EAAE;IAI9B,SAAS,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAoB3C,SAAS,CAAC,aAAa,IAAI,MAAM;CAUlC;AAED,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"breath.d.ts","sourceRoot":"","sources":["../../src/components/breath.ts"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAiB,WAAW,EAAe,MAAM,yBAAyB,CAAC;AAKlF;;;;;;;;;;;;;;GAcG;AACH,cAqEM,MAAO,SAAQ,WAAW;IAC9B;;;;OAIG;IAEH,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAExB;;OAEG;IAEH,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,CAAC,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;IAOrC,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,CAAC,CAAC,CAAC;IAOrD,SAAS,CAAC,QAAQ,IAAI,MAAM,EAAE;IAI9B,SAAS,CAAC,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAiB5C,SAAS,CAAC,aAAa,IAAI,MAAM,GAAG,SAAS;CAW9C;AAED,eAAe,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -27,10 +27,7 @@ let Breath = class Breath extends GlobalStyle {
27
27
  render() {
28
28
  const texts = this.getTexts();
29
29
  return html `<div part="root" ${attr(this.observedRecord)}>
30
- ${[
31
- texts.map(this.renderText),
32
- htmlStyle(this.computeStyle(texts.length)),
33
- ]}
30
+ ${[texts.map(this.renderText), htmlStyle(this._computeStyle(texts.length))]}
34
31
  </div>`;
35
32
  }
36
33
  renderText(text) {
@@ -42,30 +39,26 @@ let Breath = class Breath extends GlobalStyle {
42
39
  getTexts() {
43
40
  return Array.isArray(this.text) ? this.text : (this.text || this.textContent).split(/\s+/).filter((x) => x);
44
41
  }
45
- computeStyle(len) {
42
+ _computeStyle(len) {
46
43
  const gap = 100 / 2 / len;
47
44
  const duration = this.parseDuration() || len * 2 + 2;
48
- return (`.colorful{animation-duration:${duration}s;}`
49
- + `@keyframes colorfulN{0%,${gap * 3}%{opacity:0;}${gap}%,${gap * 2}%{opacity:1;}}`
50
- + (() => {
51
- let style1 = "";
52
- for (let number = 1; number <= len; number++) {
53
- const delay = -duration / len * (len - number + 1);
54
- const defaultNumber = ((number - 1) % 3) + 1;
55
- style1 +=
56
- `.rel:nth-child(${number}) .colorful{animation-delay:${delay}s;background:var(${cssScope}--${number},var(${cssScope}--${defaultNumber}));}`;
57
- }
58
- return style1;
59
- })());
45
+ let style1 = "";
46
+ for (let number = 1; number <= len; number++) {
47
+ const delay = -duration / len * (len - number + 1);
48
+ const defaultNumber = ((number - 1) % 3) + 1;
49
+ style1 +=
50
+ `.rel:nth-child(${number}) .colorful{animation-delay:${delay}s;background:var(${cssScope}--${number},var(${cssScope}--${defaultNumber}));}`;
51
+ }
52
+ return (`.colorful{animation-duration:${duration}s;}@keyframes colorfulN{0%,${gap * 3}%{opacity:0;}${gap}%,${gap * 2}%{opacity:1;}}${style1}`);
60
53
  }
61
54
  parseDuration() {
62
55
  const { duration } = this;
63
56
  if (duration) {
64
57
  if (duration.endsWith("s")) {
65
- return parseFloat(duration.slice(0, -1));
58
+ return Number.parseFloat(duration.slice(0, -1));
66
59
  }
67
- else if (duration.endsWith("ms")) {
68
- return parseFloat(duration.slice(0, -2)) / 1000;
60
+ if (duration.endsWith("ms")) {
61
+ return Number.parseFloat(duration.slice(0, -2)) / 1000;
69
62
  }
70
63
  }
71
64
  }
@@ -144,4 +137,5 @@ Breath = __decorate([
144
137
  `)
145
138
  ], Breath);
146
139
  export default Breath;
140
+ export { Breath };
147
141
  //# sourceMappingURL=breath.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"breath.js","sourceRoot":"","sources":["../../src/components/breath.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAuB,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAElF,MAAM,UAAU,GAAG,QAAQ,CAAC;AAC5B,MAAM,QAAQ,GAAG,WAAW,CAAC,UAAU,CAAC,CAAC;AAEzC;;;;;;;;;;;;;;GAcG;AAsEH,IAAM,MAAM,GAAZ,M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AQ,eAAe,QAAQ,eAAe,QAAQ;QAC1F,QAAQ,4BAA4B,QAAQ,eAAe,QAAQ,eAAe,QAAQ;;GAE/F,EACD,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BF,EACD,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;wBAoBmB,aAAa,CAAC,cAAc;;GAEjD,CACF;GACK,MAAM,CA6DX;AAED,eAAe,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { TemplateResult } from "lit";
1
+ import { type TemplateResult } from "lit";
2
2
  import { GlobalStyle } from "../core/global-style.js";
3
3
  type Colors = "teal" | "blue" | "green" | "red" | "purple" | "orange" | "yellow" | "pink" | "gray" | "white" | "black";
4
4
  declare const colors: Record<Colors, string>;
@@ -51,4 +51,5 @@ declare class Button extends GlobalStyle {
51
51
  nextColor(): Colors | "none";
52
52
  }
53
53
  export default Button;
54
+ export { Button };
54
55
  //# sourceMappingURL=button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/components/button.ts"],"names":[],"mappings":"AAOA,OAAO,EAAa,cAAc,EAAE,MAAM,KAAK,CAAC;AAGhD,OAAO,EAAiB,WAAW,EAAe,MAAM,yBAAyB,CAAC;AAQlF,KAAK,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AACvH,QAAA,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA6DlC,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,cAkGM,MAAO,SAAQ,WAAW;IAC9B;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,KAAK,UAAS;IAEd;;OAEG;IAEH,MAAM,UAAS;IAEf;;OAEG;IAEH,KAA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AAC;IAGhB,SAAS,CAAC,UAAU,EAAE,WAAW,CAAC;IAElC,SAAS,CAAC,KAAK,EAAE,WAAW,CAAC;IAE7B,SAAS,CAAC,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;IAUrC,KAAK,IAAI,IAAI;IAQb,IAAI,IAAI,IAAI;IAKZ,YAAY,IAAI,IAAI;IAIpB,SAAS,CAAC,YAAY,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI;IAS3C,SAAS,CAAC,YAAY,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI;IAe3C,SAAS,IAAI,MAAM,GAAG,MAAM;CAG7B;AAED,eAAe,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -69,7 +69,7 @@ const colors = constructCSSObject(["color", "background", "gradients"].map((k) =
69
69
  cssGlobalVars._colors.teal[6], // background
70
70
  cssGlobalVars._colors.teal[4], // gradients
71
71
  ],
72
- }, () => `:host`, (prop) => toVar(prop));
72
+ }, () => ":host", (prop) => toVar(prop));
73
73
  /**
74
74
  * {@linkcode Button} renders a button.
75
75
  *
@@ -278,4 +278,5 @@ Button = __decorate([
278
278
  `)
279
279
  ], Button);
280
280
  export default Button;
281
+ export { Button };
281
282
  //# sourceMappingURL=button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.js","sourceRoot":"","sources":["../../src/components/button.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,8BAA8B,C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QAAQ;mBAC1B,QAAQ;;cAEb,QAAQ;cACR,QAAQ;cACR,QAAQ,oBAAoB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA6B7B,QAAQ;;;;;;;;;;;;;wBAaL,QAAQ;gCACA,QAAQ;;;;;;uBAMjB,QAAQ;;;;;;;;;GAS5B,CACF;GACK,MAAM,CAgGX;AAED,eAAe,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -17,4 +17,5 @@ declare class Card extends GlobalStyle {
17
17
  protected render(): TemplateResult<1>;
18
18
  }
19
19
  export default Card;
20
+ export { Card };
20
21
  //# sourceMappingURL=card.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/components/card.ts"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAiB,WAAW,EAAe,MAAM,yBAAyB,CAAC;AAOlF;;;;;;;;;;GAUG;AACH,cAuCM,IAAK,SAAQ,WAAW;IAE5B,MAAM,UAAS;IAGf,MAAM,UAAS;IAEf,SAAS,CAAC,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;CAStC;AAED,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/components/card.ts"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAiB,WAAW,EAAe,MAAM,yBAAyB,CAAC;AAOlF;;;;;;;;;;GAUG;AACH,cAuCM,IAAK,SAAQ,WAAW;IAE5B,MAAM,UAAS;IAGf,MAAM,UAAS;IAEf,SAAS,CAAC,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;CAKtC;AAED,eAAe,IAAI,CAAC;AACpB,OAAO,EAAE,IAAI,EAAE,CAAC"}
@@ -27,11 +27,7 @@ let Card = class Card extends GlobalStyle {
27
27
  }
28
28
  render() {
29
29
  return html `<div part="root" ${attr(this.observedRecord)}>
30
- ${[
31
- this.header ? htmlSlot("header") : "",
32
- htmlSlot(),
33
- this.footer ? htmlSlot("footer") : "",
34
- ]}
30
+ ${[this.header ? htmlSlot("header") : "", htmlSlot(), this.footer ? htmlSlot("footer") : ""]}
35
31
  </div>`;
36
32
  }
37
33
  };
@@ -81,4 +77,5 @@ Card = __decorate([
81
77
  `)
82
78
  ], Card);
83
79
  export default Card;
80
+ export { Card };
84
81
  //# sourceMappingURL=card.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.js","sourceRoot":"","sources":["../../src/components/card.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AACnE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAuB,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAIlF,MAAM,SAAS,GAAG,MAAM,CAAC;AACzB,MAAM,QAAQ,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC;AAExC;;;;;;;;;;GAUG;AAwCH,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,WAAW;IAA9B;;QAEE,WAAM,GAAG,KAAK,CAAC;QAGf,WAAM,GAAG,KAAK,CAAC;IAWjB,CAAC;IATW,MAAM;QACd,OAAO,IAAI,CAAA,oBAAoB,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC;MACtD;YACA,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE;YACrC,QA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wCH,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,WAAW;IAA9B;;QAEE,WAAM,GAAG,KAAK,CAAC;QAGf,WAAM,GAAG,KAAK,CAAC;IAOjB,CAAC;IALW,MAAM;QACd,OAAO,IAAI,CAAA,oBAAoB,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC;QACpD,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,QAAQ,EAAE,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;WACvF,CAAC;IACV,CAAC;CACF,CAAA;AAVC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;oCACb;AAGf;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;oCACb;AALX,IAAI;IAvCT,MAAM,CAAC,SAAS,CAAC;IACjB,MAAM,CACL,GAAG,CAAA;;QAEG,QAAQ,qBAAqB,aAAa,CAAC,UAAU;QACrD,QAAQ;QACR,QAAQ;QACR,QAAQ,4BAA4B,aAAa,CAAC,OAAO;QACzD,QAAQ;mBACG,aAAa,CAAC,UAAU;wBACnB,QAAQ;0BACN,QAAQ;;;;;;;;;;qBAUb,QAAQ;;;;;0BAKH,QAAQ;;;;;8BAKJ,QAAQ;;;;iCAIL,QAAQ;;GAEtC,CACF;GACK,IAAI,CAYT;AAED,eAAe,IAAI,CAAC;AACpB,OAAO,EAAE,IAAI,EAAE,CAAC"}
@@ -11,6 +11,7 @@ import { GlobalStyle } from "../core/global-style.js";
11
11
  * If no width, it will be the width of the first element.
12
12
  *
13
13
  * @slot - Carousel items, should maintain the same size.
14
+ * @fires change - Fired when the index changes.
14
15
  * @category display
15
16
  */
16
17
  declare class Carousel extends GlobalStyle {
@@ -40,4 +41,5 @@ declare class Carousel extends GlobalStyle {
40
41
  checkInterval(): void;
41
42
  }
42
43
  export default Carousel;
44
+ export { Carousel };
43
45
  //# sourceMappingURL=carousel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["../../src/components/carousel.ts"],"names":[],"mappings":"AAQA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAItD;;;;;;;;;;;;GAYG;AACH,cA+CM,QAAS,SAAQ,WAAW;IAChC;;OAEG;IAEH,KAAK,SAAK;IAEV;;OAEG;IAEH,UAAU,SAAK;IAEf;;OAEG;IAEH,KAAK,EAAE,MAAM,CAAC;IAGd,SAAS,CAAC,SAAS,EAAE,WAAW,CAAC;IAEjC,SAAS,CAAC,UAAU,EAAE,MAAM,CAAC;IAE7B,OAAO,CAAC,WAAW,CAA0B;IAE7C,OAAO,CAAC,UAAU,CAA0B;IAE5C,SAAS,CAAC,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;cAerB,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAiB7C,oBAAoB,IAAI,IAAI;IAI5B,IAAI,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI;IAIrB,IAAI,IAAI,IAAI;IAUZ,IAAI,IAAI,IAAI;IAUZ,SAAS,CAAC,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,OAAO,GAAG,IAAI;IAQrE,aAAa,IAAI,IAAI;CAUtB;AAED,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["../../src/components/carousel.ts"],"names":[],"mappings":"AAQA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAItD;;;;;;;;;;;;;GAaG;AACH,cA+CM,QAAS,SAAQ,WAAW;IAChC;;OAEG;IAEH,KAAK,SAAK;IAEV;;OAEG;IAEH,UAAU,SAAK;IAEf;;OAEG;IAEH,KAAK,EAAE,MAAM,CAAC;IAGd,SAAS,CAAC,SAAS,EAAE,WAAW,CAAC;IAEjC,SAAS,CAAC,UAAU,EAAE,MAAM,CAAC;IAE7B,OAAO,CAAC,WAAW,CAA0B;IAE7C,OAAO,CAAC,UAAU,CAA0B;IAE5C,SAAS,CAAC,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;cASrB,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAiB7C,oBAAoB,IAAI,IAAI;IAI5B,IAAI,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI;IAKrB,IAAI,IAAI,IAAI;IAUZ,IAAI,IAAI,IAAI;IAUZ,SAAS,CAAC,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,OAAO,GAAG,IAAI;IAQrE,aAAa,IAAI,IAAI;CAUtB;AAED,eAAe,QAAQ,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -22,6 +22,7 @@ const protoName = "carousel";
22
22
  * If no width, it will be the width of the first element.
23
23
  *
24
24
  * @slot - Carousel items, should maintain the same size.
25
+ * @fires change - Fired when the index changes.
25
26
  * @category display
26
27
  */
27
28
  let Carousel = class Carousel extends GlobalStyle {
@@ -38,15 +39,9 @@ let Carousel = class Carousel extends GlobalStyle {
38
39
  }
39
40
  render() {
40
41
  return html `<div part="root" ${attr(this.observedRecord)}>
41
- <i part="prev" @click="${this.prev}">
42
- ${iconChevronLeft()}
43
- </i>
44
- <div part="move-root" style="transform:${`translateX(-${this.index + 1}00%)`}">
45
- ${htmlSlot()}
46
- </div>
47
- <i part="next" @click="${this.next}">
48
- ${iconChevronRight()}
49
- </i>
42
+ <i part="prev" @click="${this.prev}"> ${iconChevronLeft()} </i>
43
+ <div part="move-root" style="transform:${`translateX(-${this.index + 1}00%)`}">${htmlSlot()}</div>
44
+ <i part="next" @click="${this.next}"> ${iconChevronRight()} </i>
50
45
  ${htmlStyle(`:host,:host([contents]) [part=root]{width:${this.width};}`)}
51
46
  </div>`;
52
47
  }
@@ -69,6 +64,7 @@ let Carousel = class Carousel extends GlobalStyle {
69
64
  }
70
65
  show(i) {
71
66
  this.index = i;
67
+ this.dispatchEvent(new CustomEvent("change", { detail: i, composed: true }));
72
68
  }
73
69
  next() {
74
70
  if (this.index === this.childElementCount - 3) {
@@ -93,7 +89,7 @@ let Carousel = class Carousel extends GlobalStyle {
93
89
  _doTranslateX(xValue, noTransition) {
94
90
  this._moveRoot.style.transform = `translateX(${xValue})`;
95
91
  if (noTransition) {
96
- this._moveRoot.style.transition = `none`;
92
+ this._moveRoot.style.transition = "none";
97
93
  }
98
94
  this._moveRoot.getBoundingClientRect();
99
95
  }
@@ -168,4 +164,5 @@ Carousel = __decorate([
168
164
  `)
169
165
  ], Carousel);
170
166
  export default Carousel;
167
+ export { Carousel };
171
168
  //# sourceMappingURL=carousel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"carousel.js","sourceRoot":"","sources":["../../src/components/carousel.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,eAAe,MAAM,uCAAuC,CAAC;AACpE,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AACtE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAuB,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC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vB,CAAC;IAES,aAAa,CAAC,MAAc,EAAE,YAAsB;QAC5D,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,SAAS,GAAG,cAAc,MAAM,GAAG,CAAC;QACzD,IAAI,YAAY,EAAE,CAAC;YACjB,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,UAAU,GAAG,MAAM,CAAC;QAC3C,CAAC;QACD,IAAI,CAAC,SAAS,CAAC,qBAAqB,EAAE,CAAC;IACzC,CAAC;IAED,aAAa;QACX,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;gBACpB,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YACjC,CAAC;YACD,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE;gBACxC,IAAI,CAAC,IAAI,EAAE,CAAC;YACd,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;QACtB,CAAC;IACH,CAAC;CACF,CAAA;AAhGC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uCACjB;AAMV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CACZ;AAMf;IADC,QAAQ,EAAE;uCACG;AAGJ;IADT,IAAI,CAAC,WAAW,CAAC;2CACe;AApB7B,QAAQ;IA/Cb,MAAM,CAAC,SAAS,CAAC;IACjB,MAAM,CACL,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CF,CACF;GACK,QAAQ,CAqGb;AAED,eAAe,QAAQ,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -5,7 +5,7 @@ import SuperOpenable from "../core/super-openable.js";
5
5
  *
6
6
  * @slot summary - Details summary if no `summary` is provided.
7
7
  * @slot - Details content.
8
- * @fires change - Fired when the details is toggled.
8
+ * @fires change - Fired when the open changes.
9
9
  * @category display
10
10
  */
11
11
  declare class Details extends SuperOpenable {
@@ -17,8 +17,8 @@ declare class Details extends SuperOpenable {
17
17
  * Summary text.
18
18
  */
19
19
  summary: string;
20
- protected _dd: HTMLDataListElement;
21
20
  protected render(): TemplateResult<1>;
22
21
  }
23
22
  export default Details;
23
+ export { Details };
24
24
  //# sourceMappingURL=details.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"details.d.ts","sourceRoot":"","sources":["../../src/components/details.ts"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIrD,OAAO,aAAa,MAAM,2BAA2B,CAAC;AAMtD;;;;;;;GAOG;AACH,cAgEM,OAAQ,SAAQ,aAAa;IACjC;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IAEH,OAAO,SAAM;IAGb,SAAS,CAAC,GAAG,EAAE,mBAAmB,CAAC;IAEnC,SAAS,CAAC,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;CAetC;AAED,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"details.d.ts","sourceRoot":"","sources":["../../src/components/details.ts"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIrD,OAAO,aAAa,MAAM,2BAA2B,CAAC;AAMtD;;;;;;;GAOG;AACH,cA4DM,OAAQ,SAAQ,aAAa;IACjC;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IAEH,OAAO,SAAM;IAEb,SAAS,CAAC,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;CAatC;AAED,eAAe,OAAO,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -5,7 +5,7 @@ import { attr } from "@godown/element/directives/attr.js";
5
5
  import { htmlSlot } from "@godown/element/directives/html-slot.js";
6
6
  import svgCaretDown from "@godown/f7-icon/icons/chevron-down.js";
7
7
  import { css, html } from "lit";
8
- import { property, query } from "lit/decorators.js";
8
+ import { property } from "lit/decorators.js";
9
9
  import { scopePrefix } from "../core/global-style.js";
10
10
  import SuperOpenable from "../core/super-openable.js";
11
11
  const protoName = "details";
@@ -15,7 +15,7 @@ const cssScope = scopePrefix(protoName);
15
15
  *
16
16
  * @slot summary - Details summary if no `summary` is provided.
17
17
  * @slot - Details content.
18
- * @fires change - Fired when the details is toggled.
18
+ * @fires change - Fired when the open changes.
19
19
  * @category display
20
20
  */
21
21
  let Details = class Details extends SuperOpenable {
@@ -33,9 +33,7 @@ let Details = class Details extends SuperOpenable {
33
33
  render() {
34
34
  return html `<dl part="root" ${attr(this.observedRecord)}>
35
35
  <dt part="title" @click="${this._handelClick}">
36
- <span part="summary">
37
- ${this.summary || htmlSlot("summary")}
38
- </span>
36
+ <span part="summary">${this.summary || htmlSlot("summary")}</span>
39
37
  <span>
40
38
  <i part="icon">${svgCaretDown()}</i>
41
39
  </span>
@@ -52,16 +50,12 @@ __decorate([
52
50
  __decorate([
53
51
  property()
54
52
  ], Details.prototype, "summary", void 0);
55
- __decorate([
56
- query("dd")
57
- ], Details.prototype, "_dd", void 0);
58
53
  Details = __decorate([
59
54
  godown(protoName),
60
55
  styles(css `
61
56
  :host {
62
57
  ${cssScope}--icon-deg-open: 0deg;
63
58
  ${cssScope}--icon-deg-close: 90deg;
64
- ${cssScope}--icon-deg: 0deg;
65
59
  ${cssScope}--icon-space: 0.3em;
66
60
  ${cssScope}--summary-direction: row;
67
61
  ${cssScope}--transition: .3s;
@@ -70,13 +64,13 @@ Details = __decorate([
70
64
  transition: var(${cssScope}--transition);
71
65
  }
72
66
 
73
- dl {
67
+ [part=root] {
74
68
  height: 100%;
75
69
  position: relative;
76
70
  overflow: hidden;
77
71
  }
78
72
 
79
- dt {
73
+ [part=title] {
80
74
  height: 100%;
81
75
  display: flex;
82
76
  flex-wrap: nowrap;
@@ -86,7 +80,7 @@ Details = __decorate([
86
80
  flex-direction: var(${cssScope}--summary-direction);
87
81
  }
88
82
 
89
- dd {
83
+ [part=details] {
90
84
  display: grid;
91
85
  overflow: hidden;
92
86
  grid-template-rows: 0fr;
@@ -94,30 +88,28 @@ Details = __decorate([
94
88
  transition-property: grid-template-rows;
95
89
  }
96
90
 
97
- i {
98
- display: flex;
99
- backface-visibility: hidden;
100
- padding: var(${cssScope}--icon-space);
101
- transition: var(${cssScope}--transition);
102
- transform: rotate(var(${cssScope}--icon-deg));
103
- }
104
-
105
- :host([open]) dd {
91
+ :host([open]) [part=details] {
106
92
  grid-template-rows: 1fr;
107
93
  }
108
94
 
109
- :host([float]) dd {
95
+ :host([float]) [part=details] {
110
96
  top: 100%;
111
97
  position: absolute;
112
98
  }
113
99
 
114
- i {
100
+ [part=icon] {
101
+ display: flex;
102
+ backface-visibility: hidden;
103
+ padding: var(${cssScope}--icon-space);
104
+ transition: var(${cssScope}--transition);
115
105
  transform: rotate(var(${cssScope}--icon-deg-close));
116
106
  }
117
- :host([open]) i {
107
+
108
+ :host([open]) [part=icon] {
118
109
  transform: rotate(var(${cssScope}--icon-deg-open));
119
110
  }
120
111
  `)
121
112
  ], Details);
122
113
  export default Details;
114
+ export { Details };
123
115
  //# sourceMappingURL=details.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"details.js","sourceRoot":"","sources":["../../src/components/details.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AACnE,OAAO,YAAY,MAAM,uCAAuC,CAAC;AACjE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAuB,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,aAAa,MAAM,2BAA2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