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
@@ -7,46 +7,46 @@ import { css, html } from "lit";
7
7
  import { property } from "lit/decorators.js";
8
8
  import { cssGlobalVars, GlobalStyle } from "./global-style.js";
9
9
  const fieldStyle = css `
10
- .input-field {
11
- display: flex;
12
- position: relative;
13
- align-items: center;
14
- border-radius: inherit;
15
- height: inherit;
16
- }
10
+ .input-field {
11
+ display: flex;
12
+ position: relative;
13
+ align-items: center;
14
+ border-radius: inherit;
15
+ height: inherit;
16
+ }
17
17
 
18
- .input-field [part=input] {
19
- background: transparent;
20
- height: 100%;
21
- width: 100%;
22
- color: inherit;
23
- padding: 0 var(${cssGlobalVars.input}-space);
24
- }
18
+ .input-field [part=input] {
19
+ background: transparent;
20
+ height: 100%;
21
+ width: 100%;
22
+ color: inherit;
23
+ padding: 0 var(${cssGlobalVars.input}-space);
24
+ }
25
25
 
26
- .input-field:focus-within,
27
- .input-field.outline {
28
- box-shadow: var(${cssGlobalVars.input}-box-shadow);
29
- }
26
+ .input-field:focus-within,
27
+ .input-field.outline {
28
+ box-shadow: var(${cssGlobalVars.input}-box-shadow);
29
+ }
30
30
 
31
- .input-field [part=icon] {
32
- display: flex;
33
- align-items: center;
34
- justify-content: center;
35
- }
31
+ .input-field [part=icon] {
32
+ display: flex;
33
+ align-items: center;
34
+ justify-content: center;
35
+ }
36
36
 
37
- .input-field [part=prefix],
38
- .input-field [part=suffix] {
39
- height: 100%;
40
- display: flex;
41
- }
37
+ .input-field [part=prefix],
38
+ .input-field [part=suffix] {
39
+ height: 100%;
40
+ display: flex;
41
+ }
42
42
 
43
- .input-field [part=suffix] [part=icon] {
44
- padding-inline-end: var(${cssGlobalVars.input}-space);
45
- }
43
+ .input-field [part=suffix] [part=icon] {
44
+ padding-inline-end: var(${cssGlobalVars.input}-space);
45
+ }
46
46
 
47
- .input-field [part=prefix] [part=icon] {
48
- padding-inline-start: var(${cssGlobalVars.input}-space);
49
- }
47
+ .input-field [part=prefix] [part=icon] {
48
+ padding-inline-start: var(${cssGlobalVars.input}-space);
49
+ }
50
50
  `;
51
51
  const inputStyle = css `
52
52
  :host {
@@ -111,6 +111,7 @@ let SuperInput = class SuperInput extends GlobalStyle {
111
111
  bubbles: true,
112
112
  composed: true,
113
113
  }));
114
+ this.dispatchEvent(new CustomEvent("input", { detail: this.value, composed: true, bubbles: true }));
114
115
  this.dispatchEvent(new CustomEvent("change", { detail: this.value, composed: true }));
115
116
  }
116
117
  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E,IAAI,EAAE,CAAC;wCACZ;AAGhB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;+CACR;AAGpB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;wCACf;AAGb;IADC,QAAQ,EAAE;yCACA;AAMX;IADC,QAAQ,EAAE;2CACE;AAGH;IADT,IAAI,CAAC,OAAO,CAAC;0CACqB;AA3B/B,UAAU;IADf,MAAM,CAAC,UAAU,EAAE,UAAU,CAAC;GACzB,UAAU,CA8Hf;AAED,eAAe,UAAU,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type PropertyValueMap } from "lit";
1
+ import type { PropertyValueMap } from "lit";
2
2
  import { GlobalStyle } from "./global-style.js";
3
3
  declare class SuperOpenable extends GlobalStyle {
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"super-openable.d.ts","sourceRoot":"","sources":["../../src/core/super-openable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAG5C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,cAAM,aAAc,SAAQ,WAAW;IACrC;;OAEG;IAEH,IAAI,UAAS;IAEb,MAAM,CAAC,EAAE,GAAE,OAAwC,GAAG,IAAI;IAI1D,KAAK,IAAI,IAAI;IAIb,IAAI,IAAI,IAAI;IAIZ,SAAS,CAAC,OAAO,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,IAAI,CAAC,GAAG,IAAI;IAQlE,SAAS,CAAC,YAAY,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI;CAG5C;AAED,eAAe,aAAa,CAAC;AAE7B,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE7D,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,QAAQ,CAAC;AAE/C,MAAM,MAAM,UAAU,GAClB,UAAU,GACV,UAAU,GACV,WAAW,GACX,aAAa,GACb,cAAc,CAAC;AAEnB,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC"}
1
+ {"version":3,"file":"super-openable.d.ts","sourceRoot":"","sources":["../../src/core/super-openable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAG5C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,cAAM,aAAc,SAAQ,WAAW;IACrC;;OAEG;IAEH,IAAI,UAAS;IAEb,MAAM,CAAC,EAAE,GAAE,OAAwC,GAAG,IAAI;IAI1D,KAAK,IAAI,IAAI;IAIb,IAAI,IAAI,IAAI;IAIZ,SAAS,CAAC,OAAO,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,IAAI,CAAC,GAAG,IAAI;IAQlE,SAAS,CAAC,YAAY,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI;CAG5C;AAED,eAAe,aAAa,CAAC;AAE7B,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE7D,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,QAAQ,CAAC;AAE/C,MAAM,MAAM,UAAU,GAClB,UAAU,GACV,UAAU,GACV,WAAW,GACX,aAAa,GACb,cAAc,CAAC;AAEnB,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC"}
@@ -21,7 +21,7 @@ class SuperOpenable extends GlobalStyle {
21
21
  updated(changedProperties) {
22
22
  const open = changedProperties.get("open");
23
23
  if (open !== undefined) {
24
- this.dispatchEvent(new CustomEvent("change", { detail: this.open }));
24
+ this.dispatchEvent(new CustomEvent("change", { detail: this.open, composed: true }));
25
25
  }
26
26
  }
27
27
  // eslint-disable-next-line
@@ -1 +1 @@
1
- {"version":3,"file":"super-openable.js","sourceRoot":"","sources":["../../src/core/super-openable.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ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C,IAAI,CAAmB;QACjD,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;IACjB,CAAC;IAED,KAAK;QACH,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;IACpB,CAAC;IAED,IAAI;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAES,OAAO,CAAC,iBAAyC;QACzD,MAAM,IAAI,GAAG,iBAAiB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QAC3C,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACvB,IAAI,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QACvF,CAAC;IACH,CAAC;IAED,2BAA2B;IACjB,YAAY,CAAC,CAAa;QAClC,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;CACF;AAzBC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;2CAC9B;AA2Bf,eAAe,aAAa,CAAC"}
package/dialog.js CHANGED
@@ -1,2 +1,2 @@
1
- import o from"./components/dialog.js";o.define();export{o as default};
1
+ import o from"./components/dialog.js";export{Dialog}from"./components/dialog.js";o.define();export{o as default};
2
2
  //# sourceMappingURL=dialog.js.map
package/dialog.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.js","sources":["src/dialog.ts"],"sourcesContent":null,"names":["Dialog","define"],"mappings":"sCAEAA,EAAOC"}
1
+ {"version":3,"file":"dialog.js","sources":["src/dialog.ts"],"sourcesContent":null,"names":["Dialog","define"],"mappings":"iFAEAA,EAAOC"}
package/divider.js CHANGED
@@ -1,2 +1,2 @@
1
- import e from"./components/divider.js";e.define();export{e as default};
1
+ import e from"./components/divider.js";export{Divider}from"./components/divider.js";e.define();export{e as default};
2
2
  //# sourceMappingURL=divider.js.map
package/divider.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"divider.js","sources":["src/divider.ts"],"sourcesContent":null,"names":["Divider","define"],"mappings":"uCAEAA,EAAQC"}
1
+ {"version":3,"file":"divider.js","sources":["src/divider.ts"],"sourcesContent":null,"names":["Divider","define"],"mappings":"oFAEAA,EAAQC"}
package/dragbox.js CHANGED
@@ -1,2 +1,2 @@
1
- import o from"./components/dragbox.js";o.define();export{o as default};
1
+ import o from"./components/dragbox.js";export{Dragbox}from"./components/dragbox.js";o.define();export{o as default};
2
2
  //# sourceMappingURL=dragbox.js.map
package/dragbox.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"dragbox.js","sources":["src/dragbox.ts"],"sourcesContent":null,"names":["Dragbox","define"],"mappings":"uCAEAA,EAAQC"}
1
+ {"version":3,"file":"dragbox.js","sources":["src/dragbox.ts"],"sourcesContent":null,"names":["Dragbox","define"],"mappings":"oFAEAA,EAAQC"}
package/flex.js CHANGED
@@ -1,2 +1,2 @@
1
- import e from"./components/flex.js";e.define();export{e as default};
1
+ import e from"./components/flex.js";export{Flex}from"./components/flex.js";e.define();export{e as default};
2
2
  //# sourceMappingURL=flex.js.map
package/flex.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"flex.js","sources":["src/flex.ts"],"sourcesContent":null,"names":["Flex","define"],"mappings":"oCAEAA,EAAKC"}
1
+ {"version":3,"file":"flex.js","sources":["src/flex.ts"],"sourcesContent":null,"names":["Flex","define"],"mappings":"2EAEAA,EAAKC"}
package/form.js CHANGED
@@ -1,2 +1,2 @@
1
- import o from"./components/form.js";o.define();export{o as default};
1
+ import o from"./components/form.js";export{Form}from"./components/form.js";o.define();export{o as default};
2
2
  //# sourceMappingURL=form.js.map
package/form.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"form.js","sources":["src/form.ts"],"sourcesContent":null,"names":["Form","define"],"mappings":"oCAEAA,EAAKC"}
1
+ {"version":3,"file":"form.js","sources":["src/form.ts"],"sourcesContent":null,"names":["Form","define"],"mappings":"2EAEAA,EAAKC"}
package/grid.js CHANGED
@@ -1,2 +1,2 @@
1
- import e from"./components/grid.js";e.define();export{e as default};
1
+ import o from"./components/grid.js";export{Grid}from"./components/grid.js";o.define();export{o as default};
2
2
  //# sourceMappingURL=grid.js.map
package/grid.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"grid.js","sources":["src/grid.ts"],"sourcesContent":null,"names":["Grid","define"],"mappings":"oCAEAA,EAAKC"}
1
+ {"version":3,"file":"grid.js","sources":["src/grid.ts"],"sourcesContent":null,"names":["Grid","define"],"mappings":"2EAEAA,EAAKC"}
package/input.js CHANGED
@@ -1,2 +1,2 @@
1
- import e from"./components/input.js";e.define();export{e as default};
1
+ import o from"./components/input.js";export{Input}from"./components/input.js";o.define();export{o as default};
2
2
  //# sourceMappingURL=input.js.map
package/input.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"input.js","sources":["src/input.ts"],"sourcesContent":null,"names":["Input","define"],"mappings":"qCAEAA,EAAMC"}
1
+ {"version":3,"file":"input.js","sources":["src/input.ts"],"sourcesContent":null,"names":["Input","define"],"mappings":"8EAEAA,EAAMC"}
package/layout.js CHANGED
@@ -1,2 +1,2 @@
1
- import o from"./components/layout.js";o.define();export{o as default};
1
+ import o from"./components/layout.js";export{Layout}from"./components/layout.js";o.define();export{o as default};
2
2
  //# sourceMappingURL=layout.js.map
package/layout.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"layout.js","sources":["src/layout.ts"],"sourcesContent":null,"names":["Layout","define"],"mappings":"sCAEAA,EAAOC"}
1
+ {"version":3,"file":"layout.js","sources":["src/layout.ts"],"sourcesContent":null,"names":["Layout","define"],"mappings":"iFAEAA,EAAOC"}
package/link.js CHANGED
@@ -1,2 +1,2 @@
1
- import e from"./components/link.js";e.define();export{e as default};
1
+ import o from"./components/link.js";export{Link}from"./components/link.js";o.define();export{o as default};
2
2
  //# sourceMappingURL=link.js.map
package/link.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"link.js","sources":["src/link.ts"],"sourcesContent":null,"names":["Link","define"],"mappings":"oCAEAA,EAAKC"}
1
+ {"version":3,"file":"link.js","sources":["src/link.ts"],"sourcesContent":null,"names":["Link","define"],"mappings":"2EAEAA,EAAKC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "godown",
3
- "version": "3.0.0-canary.14",
3
+ "version": "3.0.0-canary.16",
4
4
  "description": "Non Composite Web Components Library",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -31,9 +31,9 @@
31
31
  "fmtime": "^0.0.3",
32
32
  "lit": "^3.0.0",
33
33
  "tslib": "^2.7.0",
34
- "@godown/colors": "^0.0.1",
35
- "@godown/element": "^0.2.1",
36
- "@godown/f7-icon": "^0.0.4"
34
+ "@godown/colors": "^0.0.2",
35
+ "@godown/f7-icon": "^0.0.4",
36
+ "@godown/element": "^0.3.0"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public"
package/progress.js CHANGED
@@ -1,2 +1,2 @@
1
- import e from"./components/progress.js";e.define();export{e as default};
1
+ import o from"./components/progress.js";export{Progress}from"./components/progress.js";o.define();export{o as default};
2
2
  //# sourceMappingURL=progress.js.map
package/progress.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"progress.js","sources":["src/progress.ts"],"sourcesContent":null,"names":["Progress","define"],"mappings":"wCAEAA,EAASC"}
1
+ {"version":3,"file":"progress.js","sources":["src/progress.ts"],"sourcesContent":null,"names":["Progress","define"],"mappings":"uFAEAA,EAASC"}
package/range.js CHANGED
@@ -1,2 +1,2 @@
1
- import e from"./components/range.js";e.define();export{e as default};
1
+ import e from"./components/range.js";export{Range}from"./components/range.js";e.define();export{e as default};
2
2
  //# sourceMappingURL=range.js.map
package/range.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"range.js","sources":["src/range.ts"],"sourcesContent":null,"names":["Range","define"],"mappings":"qCAEAA,EAAMC"}
1
+ {"version":3,"file":"range.js","sources":["src/range.ts"],"sourcesContent":null,"names":["Range","define"],"mappings":"8EAEAA,EAAMC"}
package/rotate.js CHANGED
@@ -1,2 +1,2 @@
1
- import e from"./components/rotate.js";e.define();export{e as default};
1
+ import o from"./components/rotate.js";export{Rotate}from"./components/rotate.js";o.define();export{o as default};
2
2
  //# sourceMappingURL=rotate.js.map
package/rotate.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"rotate.js","sources":["src/rotate.ts"],"sourcesContent":null,"names":["Rotate","define"],"mappings":"sCAEAA,EAAOC"}
1
+ {"version":3,"file":"rotate.js","sources":["src/rotate.ts"],"sourcesContent":null,"names":["Rotate","define"],"mappings":"iFAEAA,EAAOC"}
package/router.js CHANGED
@@ -1,2 +1,2 @@
1
- import e from"./components/router.js";e.define();export{e as default};
1
+ import o from"./components/router.js";export{Router}from"./components/router.js";o.define();export{o as default};
2
2
  //# sourceMappingURL=router.js.map
package/router.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"router.js","sources":["src/router.ts"],"sourcesContent":null,"names":["Router","define"],"mappings":"sCAEAA,EAAOC"}
1
+ {"version":3,"file":"router.js","sources":["src/router.ts"],"sourcesContent":null,"names":["Router","define"],"mappings":"iFAEAA,EAAOC"}
package/select.js CHANGED
@@ -1,2 +1,2 @@
1
- import e from"./components/select.js";e.define();export{e as default};
1
+ import e from"./components/select.js";export{Select}from"./components/select.js";e.define();export{e as default};
2
2
  //# sourceMappingURL=select.js.map
package/select.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"select.js","sources":["src/select.ts"],"sourcesContent":null,"names":["Select","define"],"mappings":"sCAEAA,EAAOC"}
1
+ {"version":3,"file":"select.js","sources":["src/select.ts"],"sourcesContent":null,"names":["Select","define"],"mappings":"iFAEAA,EAAOC"}
package/skeleton.js CHANGED
@@ -1,2 +1,2 @@
1
- import e from"./components/skeleton.js";e.define();export{e as default};
1
+ import e from"./components/skeleton.js";export{Skeleton}from"./components/skeleton.js";e.define();export{e as default};
2
2
  //# sourceMappingURL=skeleton.js.map
package/skeleton.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"skeleton.js","sources":["src/skeleton.ts"],"sourcesContent":null,"names":["Skeleton","define"],"mappings":"wCAEAA,EAASC"}
1
+ {"version":3,"file":"skeleton.js","sources":["src/skeleton.ts"],"sourcesContent":null,"names":["Skeleton","define"],"mappings":"uFAEAA,EAASC"}
@@ -41,7 +41,7 @@ const darkStyles = constructCSSObject(
41
41
  white: [cssGlobalVars._colors.lightgray[2], cssGlobalVars._colors.darkgray[7]],
42
42
  black: [cssGlobalVars._colors.darkgray[8], cssGlobalVars._colors.lightgray[5]],
43
43
  },
44
- () => `:host`,
44
+ () => ":host",
45
45
  (prop) => toVar(prop),
46
46
  );
47
47
 
@@ -64,7 +64,7 @@ const lightStyles = constructCSSObject(
64
64
  white: [cssGlobalVars._colors.lightgray[0], cssGlobalVars._colors.darkgray[0]],
65
65
  black: [cssGlobalVars._colors.darkgray[7], cssGlobalVars._colors.lightgray[3]],
66
66
  },
67
- () => `:host`,
67
+ () => ":host",
68
68
  (prop) => toVar(prop),
69
69
  );
70
70
 
@@ -111,6 +111,7 @@ const calls = {
111
111
  * @slot - Alert content.
112
112
  * @slot title - Alert title.
113
113
  * @slot icon - Alert icon.
114
+ * @fires close - Fires when the alert is closed.
114
115
  * @category feedback
115
116
  */
116
117
  @godown(protoName)
@@ -248,17 +249,15 @@ class Alert extends GlobalStyle {
248
249
  return html`<div part="root" ${attr(this.observedRecord)}>
249
250
  <div part="icon">${icon}</div>
250
251
  <div part="content">
251
- <strong part="title">
252
- ${this.title || htmlSlot("title")}
253
- </strong>
252
+ <strong part="title">${this.title || htmlSlot("title")}</strong>
254
253
  ${this.content || htmlSlot()}
255
254
  </div>
256
255
  ${
257
256
  !this.hideClose && this.variant !== "blockquote"
258
- ? html`<div part="close" tabindex=0 @click="${this.close}">${iconXmark()}</div>`
257
+ ? html`<div part="close" tabindex="0" @click="${this.close}">${iconXmark()}</div>`
259
258
  : ""
260
259
  }
261
- ${htmlStyle(this.variant === "light" ? lightStyles[color] : darkStyles[color])}
260
+ ${htmlStyle(this.variant === "light" ? lightStyles[color] : darkStyles[color])}
262
261
  </div>`;
263
262
  }
264
263
 
@@ -282,3 +281,4 @@ class Alert extends GlobalStyle {
282
281
  }
283
282
 
284
283
  export default Alert;
284
+ export { Alert };
@@ -23,7 +23,7 @@ const cssScope = scopePrefix(protoName);
23
23
  @godown(protoName)
24
24
  @styles(
25
25
  css`
26
- :host{
26
+ :host {
27
27
  ${cssScope}--size: 2em;
28
28
  width: var(${cssScope}--size);
29
29
  height: var(${cssScope}--size);
@@ -82,14 +82,12 @@ class Avatar extends GlobalStyle {
82
82
  round = false;
83
83
 
84
84
  protected render(): TemplateResult<1> {
85
- return html`<div part="root" ${attr(omit(this.observedRecord, "src"))}>
86
- ${this._renderAvatar()}
87
- </div>`;
85
+ return html`<div part="root" ${attr(omit(this.observedRecord, "src"))}>${this._renderAvatar()}</div>`;
88
86
  }
89
87
 
90
88
  private _renderAvatar() {
91
89
  if (this.src) {
92
- return html`<img part="image" src="${this.src}" @error=${this._handleError} alt="${this.name}">`;
90
+ return html`<img part="image" src="${this.src}" @error=${this._handleError} alt="${this.name}" />`;
93
91
  }
94
92
  if (this.name) {
95
93
  return html`<span part="name">${this.format()}</span>`;
@@ -107,3 +105,4 @@ class Avatar extends GlobalStyle {
107
105
  }
108
106
 
109
107
  export default Avatar;
108
+ export { Avatar };
@@ -112,10 +112,7 @@ class Breath extends GlobalStyle {
112
112
  protected render(): TemplateResult<1> {
113
113
  const texts = this.getTexts();
114
114
  return html`<div part="root" ${attr(this.observedRecord)}>
115
- ${[
116
- texts.map(this.renderText),
117
- htmlStyle(this.computeStyle(texts.length)),
118
- ]}
115
+ ${[texts.map(this.renderText), htmlStyle(this._computeStyle(texts.length))]}
119
116
  </div>`;
120
117
  }
121
118
 
@@ -130,36 +127,35 @@ class Breath extends GlobalStyle {
130
127
  return Array.isArray(this.text) ? this.text : (this.text || this.textContent).split(/\s+/).filter((x) => x);
131
128
  }
132
129
 
133
- protected computeStyle(len: number): string {
130
+ protected _computeStyle(len: number): string {
134
131
  const gap = 100 / 2 / len;
135
132
  const duration = this.parseDuration() || len * 2 + 2;
136
-
133
+ let style1 = "";
134
+ for (let number = 1; number <= len; number++) {
135
+ const delay = -duration / len * (len - number + 1);
136
+ const defaultNumber = ((number - 1) % 3) + 1;
137
+ style1 +=
138
+ `.rel:nth-child(${number}) .colorful{animation-delay:${delay}s;background:var(${cssScope}--${number},var(${cssScope}--${defaultNumber}));}`;
139
+ }
137
140
  return (
138
- `.colorful{animation-duration:${duration}s;}`
139
- + `@keyframes colorfulN{0%,${gap * 3}%{opacity:0;}${gap}%,${gap * 2}%{opacity:1;}}`
140
- + (() => {
141
- let style1 = "";
142
- for (let number = 1; number <= len; number++) {
143
- const delay = -duration / len * (len - number + 1);
144
- const defaultNumber = ((number - 1) % 3) + 1;
145
- style1 +=
146
- `.rel:nth-child(${number}) .colorful{animation-delay:${delay}s;background:var(${cssScope}--${number},var(${cssScope}--${defaultNumber}));}`;
147
- }
148
- return style1;
149
- })()
141
+ `.colorful{animation-duration:${duration}s;}@keyframes colorfulN{0%,${gap * 3}%{opacity:0;}${gap}%,${
142
+ gap * 2
143
+ }%{opacity:1;}}${style1}`
150
144
  );
151
145
  }
152
146
 
153
- protected parseDuration(): number {
147
+ protected parseDuration(): number | undefined {
154
148
  const { duration } = this;
155
149
  if (duration) {
156
150
  if (duration.endsWith("s")) {
157
- return parseFloat(duration.slice(0, -1));
158
- } else if (duration.endsWith("ms")) {
159
- return parseFloat(duration.slice(0, -2)) / 1000;
151
+ return Number.parseFloat(duration.slice(0, -1));
152
+ }
153
+ if (duration.endsWith("ms")) {
154
+ return Number.parseFloat(duration.slice(0, -2)) / 1000;
160
155
  }
161
156
  }
162
157
  }
163
158
  }
164
159
 
165
160
  export default Breath;
161
+ export { Breath };
@@ -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 { htmlStyle } from "@godown/element/directives/html-style.js";
7
7
  import { constructCSSObject, toVar } from "@godown/element/tools/css.js";
8
- import { css, html, TemplateResult } from "lit";
8
+ import { css, html, type TemplateResult } from "lit";
9
9
  import { property } from "lit/decorators.js";
10
10
 
11
11
  import { cssGlobalVars, GlobalStyle, scopePrefix } from "../core/global-style.js";
@@ -76,7 +76,7 @@ const colors: Record<Colors, string> = constructCSSObject(
76
76
  cssGlobalVars._colors.teal[4], // gradients
77
77
  ],
78
78
  },
79
- () => `:host`,
79
+ () => ":host",
80
80
  (prop) => toVar(prop),
81
81
  );
82
82
 
@@ -290,3 +290,4 @@ class Button extends GlobalStyle {
290
290
  }
291
291
 
292
292
  export default Button;
293
+ export { Button };
@@ -71,13 +71,10 @@ class Card extends GlobalStyle {
71
71
 
72
72
  protected render(): TemplateResult<1> {
73
73
  return html`<div part="root" ${attr(this.observedRecord)}>
74
- ${[
75
- this.header ? htmlSlot("header") : "",
76
- htmlSlot(),
77
- this.footer ? htmlSlot("footer") : "",
78
- ]}
74
+ ${[this.header ? htmlSlot("header") : "", htmlSlot(), this.footer ? htmlSlot("footer") : ""]}
79
75
  </div>`;
80
76
  }
81
77
  }
82
78
 
83
79
  export default Card;
80
+ export { Card };
@@ -24,6 +24,7 @@ const protoName = "carousel";
24
24
  * If no width, it will be the width of the first element.
25
25
  *
26
26
  * @slot - Carousel items, should maintain the same size.
27
+ * @fires change - Fired when the index changes.
27
28
  * @category display
28
29
  */
29
30
  @godown(protoName)
@@ -103,15 +104,9 @@ class Carousel extends GlobalStyle {
103
104
 
104
105
  protected render(): TemplateResult<1> {
105
106
  return html`<div part="root" ${attr(this.observedRecord)}>
106
- <i part="prev" @click="${this.prev}">
107
- ${iconChevronLeft()}
108
- </i>
109
- <div part="move-root" style="transform:${`translateX(-${this.index + 1}00%)`}">
110
- ${htmlSlot()}
111
- </div>
112
- <i part="next" @click="${this.next}">
113
- ${iconChevronRight()}
114
- </i>
107
+ <i part="prev" @click="${this.prev}"> ${iconChevronLeft()} </i>
108
+ <div part="move-root" style="transform:${`translateX(-${this.index + 1}00%)`}">${htmlSlot()}</div>
109
+ <i part="next" @click="${this.next}"> ${iconChevronRight()} </i>
115
110
  ${htmlStyle(`:host,:host([contents]) [part=root]{width:${this.width};}`)}
116
111
  </div>`;
117
112
  }
@@ -139,6 +134,7 @@ class Carousel extends GlobalStyle {
139
134
 
140
135
  show(i: number): void {
141
136
  this.index = i;
137
+ this.dispatchEvent(new CustomEvent("change", { detail: i, composed: true }));
142
138
  }
143
139
 
144
140
  next(): void {
@@ -164,7 +160,7 @@ class Carousel extends GlobalStyle {
164
160
  protected _doTranslateX(xValue: string, noTransition?: boolean): void {
165
161
  this._moveRoot.style.transform = `translateX(${xValue})`;
166
162
  if (noTransition) {
167
- this._moveRoot.style.transition = `none`;
163
+ this._moveRoot.style.transition = "none";
168
164
  }
169
165
  this._moveRoot.getBoundingClientRect();
170
166
  }
@@ -182,3 +178,4 @@ class Carousel extends GlobalStyle {
182
178
  }
183
179
 
184
180
  export default Carousel;
181
+ export { Carousel };