@nyaruka/temba-components 0.121.7 → 0.122.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.
- package/CHANGELOG.md +8 -0
- package/demo/index.html +19 -12
- package/dist/temba-components.js +522 -419
- package/dist/temba-components.js.map +1 -1
- package/out-tsc/src/chart/TembaChart.js +310 -0
- package/out-tsc/src/chart/TembaChart.js.map +1 -0
- package/out-tsc/src/options/Options.js +1 -0
- package/out-tsc/src/options/Options.js.map +1 -1
- package/out-tsc/temba-modules.js +2 -0
- package/out-tsc/temba-modules.js.map +1 -1
- package/out-tsc/test/temba-chart.test.js +46 -0
- package/out-tsc/test/temba-chart.test.js.map +1 -0
- package/package.json +3 -1
- package/src/chart/TembaChart.ts +328 -0
- package/src/options/Options.ts +1 -0
- package/temba-modules.ts +2 -0
- package/test/temba-chart.test.ts +55 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,16 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
#### [v0.122.0](https://github.com/nyaruka/temba-components/compare/v0.121.7...v0.122.0)
|
|
8
|
+
|
|
9
|
+
- Basic chart with auto-summing of unsplit data [`#501`](https://github.com/nyaruka/temba-components/pull/501)
|
|
10
|
+
- Add temba-chart [`fe311df`](https://github.com/nyaruka/temba-components/commit/fe311df264ad5c57f58c87c5a67e2d0b4e3edd37)
|
|
11
|
+
- Fix bad merge [`f10e475`](https://github.com/nyaruka/temba-components/commit/f10e475fcc3dc316708340686b0d7f235cf918e7)
|
|
12
|
+
|
|
7
13
|
#### [v0.121.7](https://github.com/nyaruka/temba-components/compare/v0.121.6...v0.121.7)
|
|
8
14
|
|
|
15
|
+
> 13 May 2025
|
|
16
|
+
|
|
9
17
|
- Fix blur handler for dropdowns [`#500`](https://github.com/nyaruka/temba-components/pull/500)
|
|
10
18
|
|
|
11
19
|
#### [v0.121.6](https://github.com/nyaruka/temba-components/compare/v0.121.5...v0.121.6)
|
package/demo/index.html
CHANGED
|
@@ -14,6 +14,11 @@
|
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
<style>
|
|
17
|
+
|
|
18
|
+
body {
|
|
19
|
+
overflow-x: hidden;
|
|
20
|
+
}
|
|
21
|
+
|
|
17
22
|
.linked {
|
|
18
23
|
text-decoration: underline;
|
|
19
24
|
color: blue;
|
|
@@ -162,21 +167,23 @@
|
|
|
162
167
|
</div>
|
|
163
168
|
</temba-dropdown>
|
|
164
169
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
170
|
+
<div class="header">temba-components</div>
|
|
171
|
+
<!--temba-image-picker name="avatar" label="Profile Picture" shape="circle"></temba-image-picker-->
|
|
172
|
+
<temba-webchat channel="3c475f82-fe6d-4c33-af35-954d1adbce03"></temba-webchat>
|
|
173
|
+
<!-- temba-template-editor url="/static/api/templates.json" lang="eng" template="580b124f-32cb-4003-b9e5-9eb783e29101"
|
|
169
174
|
params="{"body":["this", "", "that"]}">
|
|
170
175
|
</temba-template-editor-->
|
|
171
176
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
<temba-tabs collapses index="0">
|
|
178
|
+
<temba-tab name="Overview" icon="default">
|
|
179
|
+
<temba-chart style="margin-bottom:8px"></temba-chart>
|
|
180
|
+
<temba-progress style="margin-bottom:8px" total="100" current="25" eta="2030-09-17T07:00:00.000Z"></temba-progress>
|
|
181
|
+
<temba-checkbox label="Check this out" checked></temba-checkbox>
|
|
182
|
+
<temba-select placeholder="Select a color" clearable>
|
|
183
|
+
<temba-option name="Red" value="0"></temba-option>
|
|
184
|
+
<temba-option name="Green" value="1"></temba-option>
|
|
185
|
+
<temba-option name="Blue" value="2"></temba-option>
|
|
186
|
+
</temba-select>
|
|
180
187
|
|
|
181
188
|
<div style="display: flex; flex-wrap: wrap">
|
|
182
189
|
<temba-checkbox label="Check this out" checked></temba-checkbox>
|