@use-voltra/android 1.3.0 → 1.4.0-rc.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 (186) hide show
  1. package/build/cjs/dynamic-colors.js +33 -0
  2. package/build/cjs/dynamic-colors.js.map +1 -0
  3. package/build/cjs/index.js +14 -1
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/internal.js +8 -0
  6. package/build/cjs/internal.js.map +1 -0
  7. package/build/cjs/jsx/AreaMark.js.map +1 -1
  8. package/build/cjs/jsx/BarMark.js.map +1 -1
  9. package/build/cjs/jsx/LineMark.js.map +1 -1
  10. package/build/cjs/jsx/PointMark.js.map +1 -1
  11. package/build/cjs/jsx/RuleMark.js.map +1 -1
  12. package/build/cjs/jsx/SectorMark.js.map +1 -1
  13. package/build/cjs/live-update/renderer.js +0 -15
  14. package/build/cjs/live-update/renderer.js.map +1 -1
  15. package/build/cjs/ongoing-notification/components.js +19 -0
  16. package/build/cjs/ongoing-notification/components.js.map +1 -0
  17. package/build/cjs/ongoing-notification/renderer.js +262 -0
  18. package/build/cjs/ongoing-notification/renderer.js.map +1 -0
  19. package/build/cjs/ongoing-notification/types.js +3 -0
  20. package/build/cjs/ongoing-notification/types.js.map +1 -0
  21. package/build/cjs/payload/component-ids.js +1 -0
  22. package/build/cjs/payload/component-ids.js.map +1 -1
  23. package/build/cjs/server.js +6 -3
  24. package/build/cjs/server.js.map +1 -1
  25. package/build/cjs/utils/index.js +0 -16
  26. package/build/cjs/utils/index.js.map +1 -1
  27. package/build/cjs/widgets/renderer.js +19 -5
  28. package/build/cjs/widgets/renderer.js.map +1 -1
  29. package/build/esm/dynamic-colors.js +30 -0
  30. package/build/esm/dynamic-colors.js.map +1 -0
  31. package/build/esm/index.js +5 -0
  32. package/build/esm/index.js.map +1 -1
  33. package/build/esm/internal.js +2 -0
  34. package/build/esm/internal.js.map +1 -0
  35. package/build/esm/jsx/AreaMark.js.map +1 -1
  36. package/build/esm/jsx/BarMark.js.map +1 -1
  37. package/build/esm/jsx/LineMark.js.map +1 -1
  38. package/build/esm/jsx/PointMark.js.map +1 -1
  39. package/build/esm/jsx/RuleMark.js.map +1 -1
  40. package/build/esm/jsx/SectorMark.js.map +1 -1
  41. package/build/esm/live-update/renderer.js +0 -15
  42. package/build/esm/live-update/renderer.js.map +1 -1
  43. package/build/esm/ongoing-notification/components.js +16 -0
  44. package/build/esm/ongoing-notification/components.js.map +1 -0
  45. package/build/esm/ongoing-notification/renderer.js +256 -0
  46. package/build/esm/ongoing-notification/renderer.js.map +1 -0
  47. package/build/esm/ongoing-notification/types.js +2 -0
  48. package/build/esm/ongoing-notification/types.js.map +1 -0
  49. package/build/esm/payload/component-ids.js +1 -0
  50. package/build/esm/payload/component-ids.js.map +1 -1
  51. package/build/esm/server.js +2 -1
  52. package/build/esm/server.js.map +1 -1
  53. package/build/esm/utils/index.js +1 -1
  54. package/build/esm/utils/index.js.map +1 -1
  55. package/build/esm/widgets/renderer.js +17 -4
  56. package/build/esm/widgets/renderer.js.map +1 -1
  57. package/build/types/dynamic-colors.d.ts +33 -0
  58. package/build/types/dynamic-colors.d.ts.map +1 -0
  59. package/build/types/index.d.ts +10 -0
  60. package/build/types/index.d.ts.map +1 -1
  61. package/build/types/internal.d.ts +3 -0
  62. package/build/types/internal.d.ts.map +1 -0
  63. package/build/types/jsx/AreaMark.d.ts +2 -1
  64. package/build/types/jsx/AreaMark.d.ts.map +1 -1
  65. package/build/types/jsx/BarMark.d.ts +2 -1
  66. package/build/types/jsx/BarMark.d.ts.map +1 -1
  67. package/build/types/jsx/LineMark.d.ts +2 -1
  68. package/build/types/jsx/LineMark.d.ts.map +1 -1
  69. package/build/types/jsx/PointMark.d.ts +2 -1
  70. package/build/types/jsx/PointMark.d.ts.map +1 -1
  71. package/build/types/jsx/RuleMark.d.ts +2 -1
  72. package/build/types/jsx/RuleMark.d.ts.map +1 -1
  73. package/build/types/jsx/SectorMark.d.ts +2 -1
  74. package/build/types/jsx/SectorMark.d.ts.map +1 -1
  75. package/build/types/jsx/props/CheckBox.d.ts +3 -2
  76. package/build/types/jsx/props/CheckBox.d.ts.map +1 -1
  77. package/build/types/jsx/props/CircleIconButton.d.ts +3 -2
  78. package/build/types/jsx/props/CircleIconButton.d.ts.map +1 -1
  79. package/build/types/jsx/props/CircularProgressIndicator.d.ts +2 -1
  80. package/build/types/jsx/props/CircularProgressIndicator.d.ts.map +1 -1
  81. package/build/types/jsx/props/FilledButton.d.ts +3 -2
  82. package/build/types/jsx/props/FilledButton.d.ts.map +1 -1
  83. package/build/types/jsx/props/Image.d.ts +3 -2
  84. package/build/types/jsx/props/Image.d.ts.map +1 -1
  85. package/build/types/jsx/props/LinearProgressIndicator.d.ts +3 -2
  86. package/build/types/jsx/props/LinearProgressIndicator.d.ts.map +1 -1
  87. package/build/types/jsx/props/OutlineButton.d.ts +2 -1
  88. package/build/types/jsx/props/OutlineButton.d.ts.map +1 -1
  89. package/build/types/jsx/props/RadioButton.d.ts +3 -2
  90. package/build/types/jsx/props/RadioButton.d.ts.map +1 -1
  91. package/build/types/jsx/props/Scaffold.d.ts +2 -1
  92. package/build/types/jsx/props/Scaffold.d.ts.map +1 -1
  93. package/build/types/jsx/props/SquareIconButton.d.ts +3 -2
  94. package/build/types/jsx/props/SquareIconButton.d.ts.map +1 -1
  95. package/build/types/jsx/props/Switch.d.ts +5 -4
  96. package/build/types/jsx/props/Switch.d.ts.map +1 -1
  97. package/build/types/jsx/props/TitleBar.d.ts +3 -2
  98. package/build/types/jsx/props/TitleBar.d.ts.map +1 -1
  99. package/build/types/live-update/renderer.d.ts +0 -7
  100. package/build/types/live-update/renderer.d.ts.map +1 -1
  101. package/build/types/live-update/types.d.ts +0 -65
  102. package/build/types/live-update/types.d.ts.map +1 -1
  103. package/build/types/ongoing-notification/components.d.ts +18 -0
  104. package/build/types/ongoing-notification/components.d.ts.map +1 -0
  105. package/build/types/ongoing-notification/renderer.d.ts +6 -0
  106. package/build/types/ongoing-notification/renderer.d.ts.map +1 -0
  107. package/build/types/ongoing-notification/types.d.ts +160 -0
  108. package/build/types/ongoing-notification/types.d.ts.map +1 -0
  109. package/build/types/payload/component-ids.d.ts.map +1 -1
  110. package/build/types/server.d.ts +4 -1
  111. package/build/types/server.d.ts.map +1 -1
  112. package/build/types/styles/types.d.ts +5 -4
  113. package/build/types/styles/types.d.ts.map +1 -1
  114. package/build/types/types.d.ts +22 -1
  115. package/build/types/types.d.ts.map +1 -1
  116. package/build/types/utils/index.d.ts +0 -1
  117. package/build/types/utils/index.d.ts.map +1 -1
  118. package/build/types/widgets/renderer.d.ts +8 -2
  119. package/build/types/widgets/renderer.d.ts.map +1 -1
  120. package/package.json +9 -11
  121. package/build/cjs/VoltraModule.js +0 -6
  122. package/build/cjs/VoltraModule.js.map +0 -1
  123. package/build/cjs/client.js +0 -34
  124. package/build/cjs/client.js.map +0 -1
  125. package/build/cjs/components/VoltraView.js +0 -48
  126. package/build/cjs/components/VoltraView.js.map +0 -1
  127. package/build/cjs/components/VoltraWidgetPreview.js +0 -28
  128. package/build/cjs/components/VoltraWidgetPreview.js.map +0 -1
  129. package/build/cjs/events.js +0 -35
  130. package/build/cjs/events.js.map +0 -1
  131. package/build/cjs/live-update/api.js +0 -215
  132. package/build/cjs/live-update/api.js.map +0 -1
  133. package/build/cjs/preload.js +0 -80
  134. package/build/cjs/preload.js.map +0 -1
  135. package/build/cjs/utils/useUpdateOnHMR.js +0 -27
  136. package/build/cjs/utils/useUpdateOnHMR.js.map +0 -1
  137. package/build/cjs/widgets/api.js +0 -155
  138. package/build/cjs/widgets/api.js.map +0 -1
  139. package/build/cjs/widgets/index.js +0 -12
  140. package/build/cjs/widgets/index.js.map +0 -1
  141. package/build/cjs/widgets/server-credentials.js +0 -31
  142. package/build/cjs/widgets/server-credentials.js.map +0 -1
  143. package/build/esm/VoltraModule.js +0 -4
  144. package/build/esm/VoltraModule.js.map +0 -1
  145. package/build/esm/client.js +0 -12
  146. package/build/esm/client.js.map +0 -1
  147. package/build/esm/components/VoltraView.js +0 -45
  148. package/build/esm/components/VoltraView.js.map +0 -1
  149. package/build/esm/components/VoltraWidgetPreview.js +0 -25
  150. package/build/esm/components/VoltraWidgetPreview.js.map +0 -1
  151. package/build/esm/events.js +0 -29
  152. package/build/esm/events.js.map +0 -1
  153. package/build/esm/live-update/api.js +0 -203
  154. package/build/esm/live-update/api.js.map +0 -1
  155. package/build/esm/preload.js +0 -72
  156. package/build/esm/preload.js.map +0 -1
  157. package/build/esm/utils/useUpdateOnHMR.js +0 -23
  158. package/build/esm/utils/useUpdateOnHMR.js.map +0 -1
  159. package/build/esm/widgets/api.js +0 -143
  160. package/build/esm/widgets/api.js.map +0 -1
  161. package/build/esm/widgets/index.js +0 -3
  162. package/build/esm/widgets/index.js.map +0 -1
  163. package/build/esm/widgets/server-credentials.js +0 -24
  164. package/build/esm/widgets/server-credentials.js.map +0 -1
  165. package/build/types/VoltraModule.d.ts +0 -30
  166. package/build/types/VoltraModule.d.ts.map +0 -1
  167. package/build/types/client.d.ts +0 -9
  168. package/build/types/client.d.ts.map +0 -1
  169. package/build/types/components/VoltraView.d.ts +0 -29
  170. package/build/types/components/VoltraView.d.ts.map +0 -1
  171. package/build/types/components/VoltraWidgetPreview.d.ts +0 -21
  172. package/build/types/components/VoltraWidgetPreview.d.ts.map +0 -1
  173. package/build/types/events.d.ts +0 -49
  174. package/build/types/events.d.ts.map +0 -1
  175. package/build/types/live-update/api.d.ts +0 -126
  176. package/build/types/live-update/api.d.ts.map +0 -1
  177. package/build/types/preload.d.ts +0 -45
  178. package/build/types/preload.d.ts.map +0 -1
  179. package/build/types/utils/useUpdateOnHMR.d.ts +0 -9
  180. package/build/types/utils/useUpdateOnHMR.d.ts.map +0 -1
  181. package/build/types/widgets/api.d.ts +0 -131
  182. package/build/types/widgets/api.d.ts.map +0 -1
  183. package/build/types/widgets/index.d.ts +0 -3
  184. package/build/types/widgets/index.d.ts.map +0 -1
  185. package/build/types/widgets/server-credentials.d.ts +0 -18
  186. package/build/types/widgets/server-credentials.d.ts.map +0 -1
@@ -1,8 +1,9 @@
1
+ import type { AndroidColorValue } from '../dynamic-colors.js';
1
2
  import { VOLTRA_MARK_TAG } from './BarMark.js';
2
3
  import type { ChartDataPoint } from './chart-types.js';
3
4
  export type AreaMarkProps = {
4
5
  data: ChartDataPoint[];
5
- color?: string;
6
+ color?: AndroidColorValue;
6
7
  interpolation?: 'linear' | 'monotone' | 'stepStart' | 'stepEnd' | 'stepCenter' | 'cardinal' | 'catmullRom';
7
8
  stacking?: 'standard' | 'normalized' | 'unstacked';
8
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"AreaMark.d.ts","sourceRoot":"","sources":["../../../src/jsx/AreaMark.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEtD,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,GAAG,YAAY,GAAG,UAAU,GAAG,YAAY,CAAA;IAC1G,QAAQ,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,WAAW,CAAA;CACnD,CAAA;AAED,eAAO,MAAM,QAAQ;YAAW,aAAa;;;CAAkD,CAAA"}
1
+ {"version":3,"file":"AreaMark.d.ts","sourceRoot":"","sources":["../../../src/jsx/AreaMark.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEtD,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,aAAa,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,GAAG,YAAY,GAAG,UAAU,GAAG,YAAY,CAAA;IAC1G,QAAQ,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,WAAW,CAAA;CACnD,CAAA;AAED,eAAO,MAAM,QAAQ;YAAW,aAAa;;;CAAkD,CAAA"}
@@ -1,8 +1,9 @@
1
+ import type { AndroidColorValue } from '../dynamic-colors.js';
1
2
  import type { ChartDataPoint } from './chart-types.js';
2
3
  export declare const VOLTRA_MARK_TAG: unique symbol;
3
4
  export type BarMarkProps = {
4
5
  data: ChartDataPoint[];
5
- color?: string;
6
+ color?: AndroidColorValue;
6
7
  stacking?: 'grouped';
7
8
  cornerRadius?: number;
8
9
  width?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"BarMark.d.ts","sourceRoot":"","sources":["../../../src/jsx/BarMark.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEtD,eAAO,MAAM,eAAe,eAAgC,CAAA;AAE5D,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,eAAO,MAAM,OAAO;YAAW,YAAY;;;CAAiD,CAAA"}
1
+ {"version":3,"file":"BarMark.d.ts","sourceRoot":"","sources":["../../../src/jsx/BarMark.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEtD,eAAO,MAAM,eAAe,eAAgC,CAAA;AAE5D,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,eAAO,MAAM,OAAO;YAAW,YAAY;;;CAAiD,CAAA"}
@@ -1,8 +1,9 @@
1
+ import type { AndroidColorValue } from '../dynamic-colors.js';
1
2
  import { VOLTRA_MARK_TAG } from './BarMark.js';
2
3
  import type { ChartDataPoint } from './chart-types.js';
3
4
  export type LineMarkProps = {
4
5
  data: ChartDataPoint[];
5
- color?: string;
6
+ color?: AndroidColorValue;
6
7
  interpolation?: 'linear' | 'monotone' | 'stepStart' | 'stepEnd' | 'stepCenter' | 'cardinal' | 'catmullRom';
7
8
  lineWidth?: number;
8
9
  symbol?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"LineMark.d.ts","sourceRoot":"","sources":["../../../src/jsx/LineMark.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEtD,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,GAAG,YAAY,GAAG,UAAU,GAAG,YAAY,CAAA;IAC1G,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,eAAO,MAAM,QAAQ;YAAW,aAAa;;;CAAkD,CAAA"}
1
+ {"version":3,"file":"LineMark.d.ts","sourceRoot":"","sources":["../../../src/jsx/LineMark.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEtD,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,aAAa,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,GAAG,YAAY,GAAG,UAAU,GAAG,YAAY,CAAA;IAC1G,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,eAAO,MAAM,QAAQ;YAAW,aAAa;;;CAAkD,CAAA"}
@@ -1,8 +1,9 @@
1
+ import type { AndroidColorValue } from '../dynamic-colors.js';
1
2
  import { VOLTRA_MARK_TAG } from './BarMark.js';
2
3
  import type { ChartDataPoint } from './chart-types.js';
3
4
  export type PointMarkProps = {
4
5
  data: ChartDataPoint[];
5
- color?: string;
6
+ color?: AndroidColorValue;
6
7
  symbol?: string;
7
8
  symbolSize?: number;
8
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"PointMark.d.ts","sourceRoot":"","sources":["../../../src/jsx/PointMark.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEtD,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,SAAS;YAAW,cAAc;;;CAAmD,CAAA"}
1
+ {"version":3,"file":"PointMark.d.ts","sourceRoot":"","sources":["../../../src/jsx/PointMark.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEtD,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,SAAS;YAAW,cAAc;;;CAAmD,CAAA"}
@@ -1,8 +1,9 @@
1
+ import type { AndroidColorValue } from '../dynamic-colors.js';
1
2
  import { VOLTRA_MARK_TAG } from './BarMark.js';
2
3
  export type RuleMarkProps = {
3
4
  xValue?: string | number;
4
5
  yValue?: number;
5
- color?: string;
6
+ color?: AndroidColorValue;
6
7
  lineWidth?: number;
7
8
  };
8
9
  export declare const RuleMark: {
@@ -1 +1 @@
1
- {"version":3,"file":"RuleMark.d.ts","sourceRoot":"","sources":["../../../src/jsx/RuleMark.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAE9C,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,QAAQ;YAAW,aAAa;;;CAAkD,CAAA"}
1
+ {"version":3,"file":"RuleMark.d.ts","sourceRoot":"","sources":["../../../src/jsx/RuleMark.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAE9C,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,QAAQ;YAAW,aAAa;;;CAAkD,CAAA"}
@@ -1,8 +1,9 @@
1
+ import type { AndroidColorValue } from '../dynamic-colors.js';
1
2
  import { VOLTRA_MARK_TAG } from './BarMark.js';
2
3
  import type { SectorDataPoint } from './chart-types.js';
3
4
  export type SectorMarkProps = {
4
5
  data: SectorDataPoint[];
5
- color?: string;
6
+ color?: AndroidColorValue;
6
7
  innerRadius?: number;
7
8
  outerRadius?: number;
8
9
  angularInset?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"SectorMark.d.ts","sourceRoot":"","sources":["../../../src/jsx/SectorMark.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAEvD,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,eAAe,EAAE,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,UAAU;YAAW,eAAe;;;CAAoD,CAAA"}
1
+ {"version":3,"file":"SectorMark.d.ts","sourceRoot":"","sources":["../../../src/jsx/SectorMark.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAEvD,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,eAAe,EAAE,CAAA;IACvB,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,UAAU;YAAW,eAAe;;;CAAoD,CAAA"}
@@ -1,3 +1,4 @@
1
+ import type { AndroidColorValue } from '../../dynamic-colors.js';
1
2
  import type { VoltraAndroidTextStyleProp } from '../../styles/types.js';
2
3
  import type { VoltraAndroidBaseProps } from '../baseProps.js';
3
4
  export type CheckBoxProps = VoltraAndroidBaseProps & {
@@ -8,9 +9,9 @@ export type CheckBoxProps = VoltraAndroidBaseProps & {
8
9
  /** Style for the text */
9
10
  style?: VoltraAndroidTextStyleProp;
10
11
  /** Color when checked */
11
- checkedColor?: string;
12
+ checkedColor?: AndroidColorValue;
12
13
  /** Color when unchecked */
13
- uncheckedColor?: string;
14
+ uncheckedColor?: AndroidColorValue;
14
15
  /** Maximum lines for text */
15
16
  maxLines?: number;
16
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CheckBox.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/CheckBox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAE7D,MAAM,MAAM,aAAa,GAAG,sBAAsB,GAAG;IACnD,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,yBAAyB;IACzB,KAAK,CAAC,EAAE,0BAA0B,CAAA;IAClC,yBAAyB;IACzB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,2BAA2B;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA"}
1
+ {"version":3,"file":"CheckBox.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/CheckBox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAE7D,MAAM,MAAM,aAAa,GAAG,sBAAsB,GAAG;IACnD,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,yBAAyB;IACzB,KAAK,CAAC,EAAE,0BAA0B,CAAA;IAClC,yBAAyB;IACzB,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC,2BAA2B;IAC3B,cAAc,CAAC,EAAE,iBAAiB,CAAA;IAClC,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA"}
@@ -1,3 +1,4 @@
1
+ import type { AndroidColorValue } from '../../dynamic-colors.js';
1
2
  import type { VoltraAndroidBaseProps } from '../baseProps.js';
2
3
  import type { ImageSource } from '../Image.js';
3
4
  export type CircleIconButtonProps = VoltraAndroidBaseProps & {
@@ -8,8 +9,8 @@ export type CircleIconButtonProps = VoltraAndroidBaseProps & {
8
9
  /** Content description for accessibility */
9
10
  contentDescription?: string;
10
11
  /** Background color */
11
- backgroundColor?: string;
12
+ backgroundColor?: AndroidColorValue;
12
13
  /** Icon color */
13
- contentColor?: string;
14
+ contentColor?: AndroidColorValue;
14
15
  };
15
16
  //# sourceMappingURL=CircleIconButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CircleIconButton.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/CircleIconButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,GAAG;IAC3D,oCAAoC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,kBAAkB;IAClB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,4CAA4C;IAC5C,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,uBAAuB;IACvB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,iBAAiB;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA"}
1
+ {"version":3,"file":"CircleIconButton.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/CircleIconButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,GAAG;IAC3D,oCAAoC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,kBAAkB;IAClB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,4CAA4C;IAC5C,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,uBAAuB;IACvB,eAAe,CAAC,EAAE,iBAAiB,CAAA;IACnC,iBAAiB;IACjB,YAAY,CAAC,EAAE,iBAAiB,CAAA;CACjC,CAAA"}
@@ -1,3 +1,4 @@
1
+ import type { AndroidColorValue } from '../../dynamic-colors.js';
1
2
  import type { VoltraAndroidBaseProps } from '../baseProps.js';
2
3
  export type CircularProgressIndicatorProps = VoltraAndroidBaseProps & {
3
4
  /**
@@ -7,6 +8,6 @@ export type CircularProgressIndicatorProps = VoltraAndroidBaseProps & {
7
8
  */
8
9
  progress?: number;
9
10
  /** Color for the progress indicator */
10
- color?: string;
11
+ color?: AndroidColorValue;
11
12
  };
12
13
  //# sourceMappingURL=CircularProgressIndicator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CircularProgressIndicator.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/CircularProgressIndicator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAE7D,MAAM,MAAM,8BAA8B,GAAG,sBAAsB,GAAG;IACpE;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA"}
1
+ {"version":3,"file":"CircularProgressIndicator.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/CircularProgressIndicator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAE7D,MAAM,MAAM,8BAA8B,GAAG,sBAAsB,GAAG;IACpE;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,uCAAuC;IACvC,KAAK,CAAC,EAAE,iBAAiB,CAAA;CAC1B,CAAA"}
@@ -1,3 +1,4 @@
1
+ import type { AndroidColorValue } from '../../dynamic-colors.js';
1
2
  import type { VoltraAndroidBaseProps } from '../baseProps.js';
2
3
  import type { ImageSource } from '../Image.js';
3
4
  export type FilledButtonProps = VoltraAndroidBaseProps & {
@@ -8,9 +9,9 @@ export type FilledButtonProps = VoltraAndroidBaseProps & {
8
9
  /** Icon to display */
9
10
  icon?: ImageSource;
10
11
  /** Background color */
11
- backgroundColor?: string;
12
+ backgroundColor?: AndroidColorValue;
12
13
  /** Content (text/icon) color */
13
- contentColor?: string;
14
+ contentColor?: AndroidColorValue;
14
15
  /** Maximum lines for text */
15
16
  maxLines?: number;
16
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"FilledButton.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/FilledButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,MAAM,iBAAiB,GAAG,sBAAsB,GAAG;IACvD,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAA;IACZ,oCAAoC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,sBAAsB;IACtB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,uBAAuB;IACvB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gCAAgC;IAChC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA"}
1
+ {"version":3,"file":"FilledButton.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/FilledButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,MAAM,iBAAiB,GAAG,sBAAsB,GAAG;IACvD,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAA;IACZ,oCAAoC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,sBAAsB;IACtB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,uBAAuB;IACvB,eAAe,CAAC,EAAE,iBAAiB,CAAA;IACnC,gCAAgC;IAChC,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
+ import type { AndroidColorValue } from '../../dynamic-colors.js';
2
3
  import type { VoltraAndroidBaseProps } from '../baseProps.js';
3
4
  export type ImageProps = VoltraAndroidBaseProps & {
4
5
  /** Image source - { assetName: string } for Android drawable resources or preloaded assets */
@@ -12,9 +13,9 @@ export type ImageProps = VoltraAndroidBaseProps & {
12
13
  /** Opacity (0.0 to 1.0) */
13
14
  alpha?: number;
14
15
  /** Tint color */
15
- tintColor?: string;
16
+ tintColor?: AndroidColorValue;
16
17
  /** Background color used when the image is missing */
17
- fallbackColor?: string;
18
+ fallbackColor?: AndroidColorValue;
18
19
  /** Custom fallback content rendered when the image is missing */
19
20
  fallback?: ReactNode;
20
21
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/Image.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAE7D,MAAM,MAAM,UAAU,GAAG,sBAAsB,GAAG;IAChD,8FAA8F;IAC9F,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,2DAA2D;IAC3D,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAA;IAClE,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,aAAa,CAAA;IAC7C,4CAA4C;IAC5C,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iBAAiB;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,sDAAsD;IACtD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,CAAA"}
1
+ {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/Image.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAE7D,MAAM,MAAM,UAAU,GAAG,sBAAsB,GAAG;IAChD,8FAA8F;IAC9F,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,2DAA2D;IAC3D,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAA;IAClE,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,aAAa,CAAA;IAC7C,4CAA4C;IAC5C,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iBAAiB;IACjB,SAAS,CAAC,EAAE,iBAAiB,CAAA;IAC7B,sDAAsD;IACtD,aAAa,CAAC,EAAE,iBAAiB,CAAA;IACjC,iEAAiE;IACjE,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,CAAA"}
@@ -1,10 +1,11 @@
1
+ import type { AndroidColorValue } from '../../dynamic-colors.js';
1
2
  import type { VoltraAndroidBaseProps } from '../baseProps.js';
2
3
  export type LinearProgressIndicatorProps = VoltraAndroidBaseProps & {
3
4
  /** Current progress value (0.0 to 1.0) */
4
5
  progress?: number;
5
6
  /** Color for the progress indicator */
6
- color?: string;
7
+ color?: AndroidColorValue;
7
8
  /** Color for the background track */
8
- backgroundColor?: string;
9
+ backgroundColor?: AndroidColorValue;
9
10
  };
10
11
  //# sourceMappingURL=LinearProgressIndicator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LinearProgressIndicator.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/LinearProgressIndicator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAE7D,MAAM,MAAM,4BAA4B,GAAG,sBAAsB,GAAG;IAClE,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qCAAqC;IACrC,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB,CAAA"}
1
+ {"version":3,"file":"LinearProgressIndicator.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/LinearProgressIndicator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAE7D,MAAM,MAAM,4BAA4B,GAAG,sBAAsB,GAAG;IAClE,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,uCAAuC;IACvC,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,qCAAqC;IACrC,eAAe,CAAC,EAAE,iBAAiB,CAAA;CACpC,CAAA"}
@@ -1,3 +1,4 @@
1
+ import type { AndroidColorValue } from '../../dynamic-colors.js';
1
2
  import type { VoltraAndroidBaseProps } from '../baseProps.js';
2
3
  import type { ImageSource } from '../Image.js';
3
4
  export type OutlineButtonProps = VoltraAndroidBaseProps & {
@@ -8,7 +9,7 @@ export type OutlineButtonProps = VoltraAndroidBaseProps & {
8
9
  /** Icon to display */
9
10
  icon?: ImageSource;
10
11
  /** Content (text/icon) color */
11
- contentColor?: string;
12
+ contentColor?: AndroidColorValue;
12
13
  /** Maximum lines for text */
13
14
  maxLines?: number;
14
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"OutlineButton.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/OutlineButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,MAAM,kBAAkB,GAAG,sBAAsB,GAAG;IACxD,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAA;IACZ,oCAAoC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,sBAAsB;IACtB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,gCAAgC;IAChC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA"}
1
+ {"version":3,"file":"OutlineButton.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/OutlineButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,MAAM,kBAAkB,GAAG,sBAAsB,GAAG;IACxD,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAA;IACZ,oCAAoC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,sBAAsB;IACtB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,gCAAgC;IAChC,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA"}
@@ -1,3 +1,4 @@
1
+ import type { AndroidColorValue } from '../../dynamic-colors.js';
1
2
  import type { VoltraAndroidTextStyleProp } from '../../styles/types.js';
2
3
  import type { VoltraAndroidBaseProps } from '../baseProps.js';
3
4
  export type RadioButtonProps = VoltraAndroidBaseProps & {
@@ -8,9 +9,9 @@ export type RadioButtonProps = VoltraAndroidBaseProps & {
8
9
  /** Style for the text */
9
10
  style?: VoltraAndroidTextStyleProp;
10
11
  /** Color when checked */
11
- checkedColor?: string;
12
+ checkedColor?: AndroidColorValue;
12
13
  /** Color when unchecked */
13
- uncheckedColor?: string;
14
+ uncheckedColor?: AndroidColorValue;
14
15
  /** Maximum lines for text */
15
16
  maxLines?: number;
16
17
  /** Whether the radio button is enabled */
@@ -1 +1 @@
1
- {"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/RadioButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAE7D,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GAAG;IACtD,0CAA0C;IAC1C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,+CAA+C;IAC/C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,yBAAyB;IACzB,KAAK,CAAC,EAAE,0BAA0B,CAAA;IAClC,yBAAyB;IACzB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,2BAA2B;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,0CAA0C;IAC1C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA"}
1
+ {"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/RadioButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAE7D,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GAAG;IACtD,0CAA0C;IAC1C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,+CAA+C;IAC/C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,yBAAyB;IACzB,KAAK,CAAC,EAAE,0BAA0B,CAAA;IAClC,yBAAyB;IACzB,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC,2BAA2B;IAC3B,cAAc,CAAC,EAAE,iBAAiB,CAAA;IAClC,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,0CAA0C;IAC1C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA"}
@@ -1,7 +1,8 @@
1
+ import type { AndroidColorValue } from '../../dynamic-colors.js';
1
2
  import type { VoltraAndroidBaseProps } from '../baseProps.js';
2
3
  export type ScaffoldProps = VoltraAndroidBaseProps & {
3
4
  /** Background color for the scaffold - supports hex, rgb, hsl, and named colors */
4
- backgroundColor?: string;
5
+ backgroundColor?: AndroidColorValue;
5
6
  /** Horizontal padding */
6
7
  horizontalPadding?: number;
7
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Scaffold.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/Scaffold.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAE7D,MAAM,MAAM,aAAa,GAAG,sBAAsB,GAAG;IACnD,mFAAmF;IACnF,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,yBAAyB;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B,CAAA"}
1
+ {"version":3,"file":"Scaffold.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/Scaffold.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAE7D,MAAM,MAAM,aAAa,GAAG,sBAAsB,GAAG;IACnD,mFAAmF;IACnF,eAAe,CAAC,EAAE,iBAAiB,CAAA;IACnC,yBAAyB;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B,CAAA"}
@@ -1,3 +1,4 @@
1
+ import type { AndroidColorValue } from '../../dynamic-colors.js';
1
2
  import type { VoltraAndroidBaseProps } from '../baseProps.js';
2
3
  import type { ImageSource } from '../Image.js';
3
4
  export type SquareIconButtonProps = VoltraAndroidBaseProps & {
@@ -8,8 +9,8 @@ export type SquareIconButtonProps = VoltraAndroidBaseProps & {
8
9
  /** Content description for accessibility */
9
10
  contentDescription?: string;
10
11
  /** Background color */
11
- backgroundColor?: string;
12
+ backgroundColor?: AndroidColorValue;
12
13
  /** Icon color */
13
- contentColor?: string;
14
+ contentColor?: AndroidColorValue;
14
15
  };
15
16
  //# sourceMappingURL=SquareIconButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SquareIconButton.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/SquareIconButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,GAAG;IAC3D,oCAAoC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,kBAAkB;IAClB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,4CAA4C;IAC5C,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,uBAAuB;IACvB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,iBAAiB;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA"}
1
+ {"version":3,"file":"SquareIconButton.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/SquareIconButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,GAAG;IAC3D,oCAAoC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,kBAAkB;IAClB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,4CAA4C;IAC5C,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,uBAAuB;IACvB,eAAe,CAAC,EAAE,iBAAiB,CAAA;IACnC,iBAAiB;IACjB,YAAY,CAAC,EAAE,iBAAiB,CAAA;CACjC,CAAA"}
@@ -1,3 +1,4 @@
1
+ import type { AndroidColorValue } from '../../dynamic-colors.js';
1
2
  import type { VoltraAndroidTextStyleProp } from '../../styles/types.js';
2
3
  import type { VoltraAndroidBaseProps } from '../baseProps.js';
3
4
  export type SwitchProps = VoltraAndroidBaseProps & {
@@ -8,13 +9,13 @@ export type SwitchProps = VoltraAndroidBaseProps & {
8
9
  /** Style for the text */
9
10
  style?: VoltraAndroidTextStyleProp;
10
11
  /** Thumb color when checked */
11
- thumbCheckedColor?: string;
12
+ thumbCheckedColor?: AndroidColorValue;
12
13
  /** Thumb color when unchecked */
13
- thumbUncheckedColor?: string;
14
+ thumbUncheckedColor?: AndroidColorValue;
14
15
  /** Track color when checked */
15
- trackCheckedColor?: string;
16
+ trackCheckedColor?: AndroidColorValue;
16
17
  /** Track color when unchecked */
17
- trackUncheckedColor?: string;
18
+ trackUncheckedColor?: AndroidColorValue;
18
19
  /** Maximum lines for text */
19
20
  maxLines?: number;
20
21
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/Switch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAE7D,MAAM,MAAM,WAAW,GAAG,sBAAsB,GAAG;IACjD,oCAAoC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,yBAAyB;IACzB,KAAK,CAAC,EAAE,0BAA0B,CAAA;IAClC,+BAA+B;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,iCAAiC;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,+BAA+B;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,iCAAiC;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA"}
1
+ {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/Switch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAE7D,MAAM,MAAM,WAAW,GAAG,sBAAsB,GAAG;IACjD,oCAAoC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,yBAAyB;IACzB,KAAK,CAAC,EAAE,0BAA0B,CAAA;IAClC,+BAA+B;IAC/B,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;IACrC,iCAAiC;IACjC,mBAAmB,CAAC,EAAE,iBAAiB,CAAA;IACvC,+BAA+B;IAC/B,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;IACrC,iCAAiC;IACjC,mBAAmB,CAAC,EAAE,iBAAiB,CAAA;IACvC,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA"}
@@ -1,3 +1,4 @@
1
+ import type { AndroidColorValue } from '../../dynamic-colors.js';
1
2
  import type { VoltraAndroidBaseProps } from '../baseProps.js';
2
3
  import type { ImageSource } from '../Image.js';
3
4
  export type TitleBarProps = VoltraAndroidBaseProps & {
@@ -6,9 +7,9 @@ export type TitleBarProps = VoltraAndroidBaseProps & {
6
7
  /** Start icon source */
7
8
  startIcon: ImageSource;
8
9
  /** Text color - supports hex, rgb, hsl, and named colors */
9
- textColor?: string;
10
+ textColor?: AndroidColorValue;
10
11
  /** Icon color - supports hex, rgb, hsl, and named colors */
11
- iconColor?: string;
12
+ iconColor?: AndroidColorValue;
12
13
  /** Font family for the title */
13
14
  fontFamily?: string;
14
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TitleBar.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/TitleBar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,MAAM,aAAa,GAAG,sBAAsB,GAAG;IACnD,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,wBAAwB;IACxB,SAAS,EAAE,WAAW,CAAA;IACtB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gCAAgC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA"}
1
+ {"version":3,"file":"TitleBar.d.ts","sourceRoot":"","sources":["../../../../src/jsx/props/TitleBar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,MAAM,aAAa,GAAG,sBAAsB,GAAG;IACnD,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,wBAAwB;IACxB,SAAS,EAAE,WAAW,CAAA;IACtB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,iBAAiB,CAAA;IAC7B,4DAA4D;IAC5D,SAAS,CAAC,EAAE,iBAAiB,CAAA;IAC7B,gCAAgC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA"}
@@ -1,11 +1,4 @@
1
1
  import type { AndroidLiveUpdateJson, AndroidLiveUpdateVariants } from './types.js';
2
- /**
3
- * Renders Android Live Update variants to JSON.
4
- * Uses the Android component registry for component ID lookups.
5
- */
6
2
  export declare const renderAndroidLiveUpdateToJson: (variants: AndroidLiveUpdateVariants) => AndroidLiveUpdateJson;
7
- /**
8
- * Renders Android Live Update variants to a JSON string.
9
- */
10
3
  export declare const renderAndroidLiveUpdateToString: (variants: AndroidLiveUpdateVariants) => string;
11
4
  //# sourceMappingURL=renderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../../src/live-update/renderer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAA;AASlF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,GAAI,UAAU,yBAAyB,KAAG,qBA2BnF,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,+BAA+B,GAAI,UAAU,yBAAyB,KAAG,MAErF,CAAA"}
1
+ {"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../../src/live-update/renderer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAA;AAMlF,eAAO,MAAM,6BAA6B,GAAI,UAAU,yBAAyB,KAAG,qBAsBnF,CAAA;AAED,eAAO,MAAM,+BAA+B,GAAI,UAAU,yBAAyB,KAAG,MAErF,CAAA"}
@@ -1,96 +1,31 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import type { VoltraNodeJson } from '../types.js';
3
- /**
4
- * Android Live Update variants for Ongoing Notifications.
5
- *
6
- * Android ongoing notifications have a simpler structure than iOS Live Activities.
7
- * There's no Dynamic Island equivalent.
8
- */
9
3
  export type AndroidLiveUpdateVariants = {
10
- /**
11
- * The collapsed notification content (always visible in the notification shade).
12
- * Height constraint: ~64dp
13
- */
14
4
  collapsed?: ReactNode;
15
- /**
16
- * The expanded notification content (visible when user expands the notification).
17
- * Height constraint: up to 256dp
18
- */
19
5
  expanded?: ReactNode;
20
- /**
21
- * Small icon resource name for the notification.
22
- * Should reference a drawable resource (e.g., 'ic_notification')
23
- */
24
6
  smallIcon?: string;
25
- /**
26
- * Notification channel ID (required on Android 8+).
27
- * The channel must be created before starting the live update.
28
- */
29
7
  channelId?: string;
30
8
  };
31
- /**
32
- * Rendered Android Live Update variants to JSON.
33
- */
34
9
  export type AndroidLiveUpdateVariantsJson = {
35
- /** Payload version - required for remote updates */
36
10
  v: number;
37
- /** Shared stylesheet for all variants */
38
11
  s?: Record<string, unknown>[];
39
- /** Shared elements for deduplication */
40
12
  e?: VoltraNodeJson[];
41
- /** Collapsed notification content */
42
13
  collapsed?: VoltraNodeJson;
43
- /** Expanded notification content */
44
14
  expanded?: VoltraNodeJson;
45
- /** Small icon resource name */
46
15
  smallIcon?: string;
47
- /** Notification channel ID */
48
16
  channelId?: string;
49
17
  };
50
- /**
51
- * JSON representation of Android live update variants for rendering
52
- */
53
18
  export type AndroidLiveUpdateJson = AndroidLiveUpdateVariantsJson;
54
- /**
55
- * Options for starting an Android Live Update
56
- */
57
19
  export type StartAndroidLiveUpdateOptions = {
58
- /**
59
- * A unique name for this live update.
60
- * Allows you to rebind to the same notification on app restart.
61
- */
62
20
  updateName?: string;
63
- /**
64
- * The notification channel ID to use.
65
- * Overrides the channelId from variants if provided.
66
- */
67
21
  channelId?: string;
68
22
  };
69
- /**
70
- * Options for updating an Android Live Update
71
- */
72
23
  export type UpdateAndroidLiveUpdateOptions = {};
73
- /**
74
- * Options for the useAndroidLiveUpdate hook
75
- */
76
24
  export type UseAndroidLiveUpdateOptions = {
77
- /**
78
- * A unique name for this live update.
79
- * Allows you to rebind to the same notification on app restart.
80
- */
81
25
  updateName?: string;
82
- /**
83
- * Automatically start the live update when the component mounts.
84
- */
85
26
  autoStart?: boolean;
86
- /**
87
- * Automatically update the live update when the component updates.
88
- */
89
27
  autoUpdate?: boolean;
90
28
  };
91
- /**
92
- * Result from the useAndroidLiveUpdate hook
93
- */
94
29
  export type UseAndroidLiveUpdateResult = {
95
30
  start: (options?: StartAndroidLiveUpdateOptions) => Promise<void>;
96
31
  update: (options?: UpdateAndroidLiveUpdateOptions) => Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/live-update/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD;;;;;GAKG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,oDAAoD;IACpD,CAAC,EAAE,MAAM,CAAA;IACT,yCAAyC;IACzC,CAAC,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAA;IAC7B,wCAAwC;IACxC,CAAC,CAAC,EAAE,cAAc,EAAE,CAAA;IACpB,qCAAqC;IACrC,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,oCAAoC;IACpC,QAAQ,CAAC,EAAE,cAAc,CAAA;IACzB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,6BAA6B,CAAA;AAEjE;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,EAE5C,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC,KAAK,EAAE,CAAC,OAAO,CAAC,EAAE,6BAA6B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACjE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,8BAA8B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACnE,GAAG,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACxB,QAAQ,EAAE,OAAO,CAAA;CAClB,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/live-update/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD,MAAM,MAAM,yBAAyB,GAAG;IACtC,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG;IAC1C,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAA;IAC7B,CAAC,CAAC,EAAE,cAAc,EAAE,CAAA;IACpB,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,QAAQ,CAAC,EAAE,cAAc,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,6BAA6B,CAAA;AAEjE,MAAM,MAAM,6BAA6B,GAAG;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,EAE5C,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG;IACxC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG;IACvC,KAAK,EAAE,CAAC,OAAO,CAAC,EAAE,6BAA6B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACjE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,8BAA8B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACnE,GAAG,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACxB,QAAQ,EAAE,OAAO,CAAA;CAClB,CAAA"}
@@ -0,0 +1,18 @@
1
+ import type { ComponentType } from 'react';
2
+ import type { AndroidOngoingNotificationActionProps, AndroidOngoingNotificationBigTextProps, AndroidOngoingNotificationProgressProps } from './types.js';
3
+ export declare const ANDROID_ONGOING_NOTIFICATION_COMPONENT_TAG: unique symbol;
4
+ type AndroidOngoingNotificationComponentKind = 'progress' | 'bigText' | 'action';
5
+ type AndroidOngoingNotificationComponent<TProps extends Record<string, unknown>> = ComponentType<TProps> & {
6
+ displayName: string;
7
+ [ANDROID_ONGOING_NOTIFICATION_COMPONENT_TAG]: AndroidOngoingNotificationComponentKind;
8
+ };
9
+ export declare const Progress: AndroidOngoingNotificationComponent<AndroidOngoingNotificationProgressProps>;
10
+ export declare const BigText: AndroidOngoingNotificationComponent<AndroidOngoingNotificationBigTextProps>;
11
+ export declare const Action: AndroidOngoingNotificationComponent<AndroidOngoingNotificationActionProps>;
12
+ export declare const AndroidOngoingNotification: {
13
+ readonly Progress: AndroidOngoingNotificationComponent<AndroidOngoingNotificationProgressProps>;
14
+ readonly BigText: AndroidOngoingNotificationComponent<AndroidOngoingNotificationBigTextProps>;
15
+ readonly Action: AndroidOngoingNotificationComponent<AndroidOngoingNotificationActionProps>;
16
+ };
17
+ export {};
18
+ //# sourceMappingURL=components.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/ongoing-notification/components.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAE1C,OAAO,KAAK,EACV,qCAAqC,EACrC,sCAAsC,EACtC,uCAAuC,EACxC,MAAM,YAAY,CAAA;AAEnB,eAAO,MAAM,0CAA0C,eAA8D,CAAA;AAErH,KAAK,uCAAuC,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAA;AAEhF,KAAK,mCAAmC,CAAC,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,aAAa,CAAC,MAAM,CAAC,GAAG;IACzG,WAAW,EAAE,MAAM,CAAA;IACnB,CAAC,0CAA0C,CAAC,EAAE,uCAAuC,CAAA;CACtF,CAAA;AAcD,eAAO,MAAM,QAAQ,8EAGpB,CAAA;AAED,eAAO,MAAM,OAAO,6EAGnB,CAAA;AAED,eAAO,MAAM,MAAM,4EAGlB,CAAA;AAED,eAAO,MAAM,0BAA0B;;;;CAI7B,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { type ReactNode } from 'react';
2
+ import type { AndroidOngoingNotificationContent, AndroidOngoingNotificationPayload } from './types.js';
3
+ export declare const renderAndroidOngoingNotificationPayloadToJson: (content: ReactNode) => AndroidOngoingNotificationPayload;
4
+ export declare const renderAndroidOngoingNotificationPayload: (content: ReactNode) => string;
5
+ export declare const renderAndroidOngoingNotificationContent: (content: AndroidOngoingNotificationContent) => string;
6
+ //# sourceMappingURL=renderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../../src/ongoing-notification/renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAK7F,OAAO,KAAK,EAKV,iCAAiC,EACjC,iCAAiC,EAKlC,MAAM,YAAY,CAAA;AA8TnB,eAAO,MAAM,6CAA6C,GACxD,SAAS,SAAS,KACjB,iCAeF,CAAA;AAED,eAAO,MAAM,uCAAuC,GAAI,SAAS,SAAS,KAAG,MAE5E,CAAA;AAED,eAAO,MAAM,uCAAuC,GAAI,SAAS,iCAAiC,KAAG,MAEpG,CAAA"}