Skip to content

Commit

Permalink
updated temba
Browse files Browse the repository at this point in the history
  • Loading branch information
mdshamoon committed Dec 20, 2023
1 parent 954194a commit 166d610
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 24 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@babel/core": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@babel/preset-react": "7.0.0",
"@nyaruka/temba-components": "0.32.1",
"@glific/temba-components": "0.65.3",
"@testing-library/jest-dom": "4.0.0",
"@testing-library/react": "8.0.1",
"@types/common-tags": "^1.8.0",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var componentsExist =
document.body.innerHTML.indexOf('temba-components') > -1 ||
document.body.innerHTML.indexOf('temba-modules') > -1;
if (!componentsExist) {
import('@nyaruka/temba-components/dist/index.js').then(() => {
import('@glific/temba-components/dist/index.js').then(() => {
console.log('Loading temba components');
});
}
Expand Down
90 changes: 68 additions & 22 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1269,6 +1269,24 @@
resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz#8eed982e2ee6f7f4e44c253e12962980791efd46"
integrity sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA==

"@glific/[email protected]":
version "0.65.3"
resolved "https://registry.yarnpkg.com/@glific/temba-components/-/temba-components-0.65.3.tgz#0004a68a909e380c43e47bb4152467322a183020"
integrity sha512-bTyJJFJnSGUriSfUNe+cXj7sXziQQXTNCOZcyJ8b+DBIr/g7BQSmtXtaAdNYe5GuGWpsJOnpyg+3dhxfNU64Nw==
dependencies:
"@lit/localize" "^0.11.4"
color-hash "^2.0.2"
geojson "^0.5.0"
highlight.js "^10.7.1"
image-size "^0.9.7"
leaflet "1.5.1"
lit "2.2.0"
luxon "^2.4.0"
marked "4.0.10"
remarkable "^2.0.1"
serialize-javascript "^3.0.0"
tiny-lru "^8.0.2"

"@hapi/[email protected]":
version "2.1.4"
resolved "https://registry.yarnpkg.com/@hapi/address/-/address-2.1.4.tgz#5d67ed43f3fd41a69d4b9ff7b56e7c0d1d0a81e5"
Expand Down Expand Up @@ -1460,11 +1478,31 @@
"@types/yargs" "^15.0.0"
chalk "^4.0.0"

"@lit-labs/ssr-dom-shim@^1.0.0", "@lit-labs/ssr-dom-shim@^1.1.0":
version "1.1.2"
resolved "https://registry.yarnpkg.com/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.1.2.tgz#d693d972974a354034454ec1317eb6afd0b00312"
integrity sha512-jnOD+/+dSrfTWYfSXBXlo5l5f0q1UuJo3tkbMDCYA2lKUYq79jaxqtGEvnRoh049nt1vdo1+45RinipU6FGY2g==

"@lit/localize@^0.11.4":
version "0.11.4"
resolved "https://registry.yarnpkg.com/@lit/localize/-/localize-0.11.4.tgz#4a5758965977828c10c51738fbb1890decb3d8f6"
integrity sha512-RRIwIX2tAm3+DuEndoXSJrFjGrAK5cb5IXo5K6jcJ6sbgD829B8rSqHC5MaKVUmXTVLIR1bk5IZOZDf9wFereA==
dependencies:
"@lit/reactive-element" "^1.4.0"
lit "^2.3.0"

"@lit/reactive-element@^1.3.0":
version "1.4.1"
resolved "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-1.4.1.tgz#3f587eec5708692135bc9e94cf396130604979f3"
integrity sha512-qDv4851VFSaBWzpS02cXHclo40jsbAjRXnebNXpm0uVg32kCneZPo9RYVQtrTNICtZ+1wAYHu1ZtxWSWMbKrBw==

"@lit/reactive-element@^1.4.0", "@lit/reactive-element@^1.6.0":
version "1.6.3"
resolved "https://registry.yarnpkg.com/@lit/reactive-element/-/reactive-element-1.6.3.tgz#25b4eece2592132845d303e091bad9b04cdcfe03"
integrity sha512-QuTgnG52Poic7uM1AN5yJ09QMe0O28e10XzSvWDz02TJiiKee4stsiownEIadWm8nYzyDAyT+gKzUoZmiWQtsQ==
dependencies:
"@lit-labs/ssr-dom-shim" "^1.0.0"

"@mrmlnc/readdir-enhanced@^2.2.1":
version "2.2.1"
resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde"
Expand Down Expand Up @@ -1499,23 +1537,6 @@
"@nodelib/fs.scandir" "2.1.3"
fastq "^1.6.0"

"@nyaruka/[email protected]":
version "0.32.1"
resolved "https://registry.npmjs.org/@nyaruka/temba-components/-/temba-components-0.32.1.tgz#62b9f4c1fb18770ec028dfd3b7e781b81eec7356"
integrity sha512-2oQUa8cKp2b7B9pzkoOKzpb8fStst8pAu/P+rN+11F9wD4+24sy8o5foVzg4Sjr0z21I5N7hIMONtDe8i8320g==
dependencies:
geojson "^0.5.0"
highlight.js "^10.7.1"
humanize-duration-ts "^2.1.1"
image-size "^0.9.7"
leaflet "1.5.1"
lit "2.2.0"
luxon "^2.4.0"
marked "4.0.10"
remarkable "^2.0.1"
serialize-javascript "^3.0.0"
tiny-lru "^8.0.2"

"@samverschueren/stream-to-observable@^0.3.0":
version "0.3.1"
resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.1.tgz#a21117b19ee9be70c379ec1877537ef2e1c63301"
Expand Down Expand Up @@ -3815,6 +3836,11 @@ color-convert@^2.0.1:
dependencies:
color-name "~1.1.4"

color-hash@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/color-hash/-/color-hash-2.0.2.tgz#abf735705da71874ddec7dcef50cd7479e7d64e9"
integrity sha512-6exeENAqBTuIR1wIo36mR8xVVBv6l1hSLd7Qmvf6158Ld1L15/dbahR9VUOiX7GmGJBCnQyS0EY+I8x+wa7egg==

[email protected]:
version "1.1.3"
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
Expand Down Expand Up @@ -6578,11 +6604,6 @@ https-browserify@^1.0.0:
resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73"
integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=

humanize-duration-ts@^2.1.1:
version "2.1.1"
resolved "https://registry.npmjs.org/humanize-duration-ts/-/humanize-duration-ts-2.1.1.tgz#5382b2789f851005a67229eaf031931d71f37ee9"
integrity sha512-TibNF2/fkypjAfHdGpWL/dmWUS0G6Qi+3mKyiB6LDCowbMy+PtzbgPTnFMNTOVAJXDau01jYrJ3tFoz5AJSqhA==

[email protected]:
version "2.3.0"
resolved "https://registry.yarnpkg.com/husky/-/husky-2.3.0.tgz#8b78ed24d763042df7fd899991985d65a976dd13"
Expand Down Expand Up @@ -8212,13 +8233,29 @@ lit-element@^3.2.0:
"@lit/reactive-element" "^1.3.0"
lit-html "^2.2.0"

lit-element@^3.3.0:
version "3.3.3"
resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-3.3.3.tgz#10bc19702b96ef5416cf7a70177255bfb17b3209"
integrity sha512-XbeRxmTHubXENkV4h8RIPyr8lXc+Ff28rkcQzw3G6up2xg5E8Zu1IgOWIwBLEQsu3cOVFqdYwiVi0hv0SlpqUA==
dependencies:
"@lit-labs/ssr-dom-shim" "^1.1.0"
"@lit/reactive-element" "^1.3.0"
lit-html "^2.8.0"

lit-html@^2.2.0:
version "2.3.1"
resolved "https://registry.npmjs.org/lit-html/-/lit-html-2.3.1.tgz#56f15104ea75c0a702904893e3409d0e89e2a2b9"
integrity sha512-FyKH6LTW6aBdkfNhNSHyZTnLgJSTe5hMk7HFtc/+DcN1w74C215q8B+Cfxc2OuIEpBNcEKxgF64qL8as30FDHA==
dependencies:
"@types/trusted-types" "^2.0.2"

lit-html@^2.8.0:
version "2.8.0"
resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-2.8.0.tgz#96456a4bb4ee717b9a7d2f94562a16509d39bffa"
integrity sha512-o9t+MQM3P4y7M7yNzqAyjp7z+mQGa4NS4CxiyLqFPyFWyc4O+nodLrkrxSaCTrla6M5YOLaT3RpbbqjszB5g3Q==
dependencies:
"@types/trusted-types" "^2.0.2"

[email protected]:
version "2.2.0"
resolved "https://registry.npmjs.org/lit/-/lit-2.2.0.tgz#1b83a2c1e4c5ecf3be785292b1a13e193597f610"
Expand All @@ -8228,6 +8265,15 @@ [email protected]:
lit-element "^3.2.0"
lit-html "^2.2.0"

lit@^2.3.0:
version "2.8.0"
resolved "https://registry.yarnpkg.com/lit/-/lit-2.8.0.tgz#4d838ae03059bf9cafa06e5c61d8acc0081e974e"
integrity sha512-4Sc3OFX9QHOJaHbmTMk28SYgVxLN3ePDjg7hofEft2zWlehFL3LiAuapWc4U/kYwMYJSh2hTCPZ6/LIC7ii0MA==
dependencies:
"@lit/reactive-element" "^1.6.0"
lit-element "^3.3.0"
lit-html "^2.8.0"

load-json-file@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8"
Expand Down

0 comments on commit 166d610

Please sign in to comment.