@dbmx/toasts 0.0.10 → 0.0.12

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/esm/index.js CHANGED
@@ -1,25 +1,3 @@
1
- import { lazy } from 'react';
2
-
3
- var importPath = '@dbmx/toasts';
4
- var type = importPath;
5
- var toasts = [{
6
- id: 'fake',
7
- importPath: importPath,
8
- type: type,
9
- name: 'Fake Component',
10
- description: ' blah blah blah ...',
11
- component: /*#__PURE__*/lazy(function () {
12
- return import('./fake-JHdVf8lQ.js');
13
- }),
14
- image: 'https://ui.mantine.dev/_next/static/media/stats-light.c6e8954d.svg',
15
- props: {
16
- message: {
17
- type: 'string',
18
- required: false,
19
- defaultValue: 'ici les bidibules'
20
- }
21
- }
22
- }];
23
-
24
- export { toasts as default };
1
+ export { t as default } from './index-Mh78z9aW.js';
2
+ import 'react';
25
3
  //# sourceMappingURL=index.js.map
package/esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/index.js"],"sourcesContent":["import { lazy } from 'react'\n\nconst importPath = '@dbmx/toasts'\nconst type = importPath\n\nconst toasts = [\n {\n id: 'fake',\n importPath,\n type,\n name: 'Fake Component',\n description: ' blah blah blah ...',\n component: lazy(() => import('./components/fake.js')),\n image: 'https://ui.mantine.dev/_next/static/media/stats-light.c6e8954d.svg',\n props: {\n message: {\n type: 'string',\n required: false,\n defaultValue: 'ici les bidibules',\n },\n },\n },\n]\n\nexport default toasts\n"],"names":["importPath","type","toasts","id","name","description","component","lazy","image","props","message","required","defaultValue"],"mappings":";;AAEA,IAAMA,UAAU,GAAG,cAAc,CAAA;AACjC,IAAMC,IAAI,GAAGD,UAAU,CAAA;AAEjBE,IAAAA,MAAM,GAAG,CACb;AACEC,EAAAA,EAAE,EAAE,MAAM;AACVH,EAAAA,UAAU,EAAVA,UAAU;AACVC,EAAAA,IAAI,EAAJA,IAAI;AACJG,EAAAA,IAAI,EAAE,gBAAgB;AACtBC,EAAAA,WAAW,EAAE,qBAAqB;EAClCC,SAAS,eAAEC,IAAI,CAAC,YAAA;IAAA,OAAM,OAAO,oBAAsB,CAAC,CAAA;GAAC,CAAA;AACrDC,EAAAA,KAAK,EAAE,oEAAoE;AAC3EC,EAAAA,KAAK,EAAE;AACLC,IAAAA,OAAO,EAAE;AACPT,MAAAA,IAAI,EAAE,QAAQ;AACdU,MAAAA,QAAQ,EAAE,KAAK;AACfC,MAAAA,YAAY,EAAE,mBAAA;AAChB,KAAA;AACF,GAAA;AACF,CAAC;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/package.json CHANGED
@@ -1,20 +1,24 @@
1
1
  {
2
2
  "name": "@dbmx/toasts",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "type": "module",
5
5
  "main": "./dist/esm/index.js",
6
6
  "license": "MIT",
7
7
  "author": "Eric Basley <eric.basley@redpelicans.com>",
8
8
  "peerDependencies": {
9
- "@mantine/core": "^7.1.7",
10
- "@mantine/hooks": "^7.1.7",
9
+ "@mantine/core": "^6.0.11",
10
+ "@mantine/hooks": "^6.0.11",
11
+ "@tabler/icons-react": "^2.23.0",
12
+ "mantine-react-table": "^1.2.0",
11
13
  "prop-types": "^15.8.1",
12
14
  "react": "^18.2.0",
13
- "react-dom": "^18.2.0"
15
+ "react-dom": "^18.2.0",
16
+ "url-join": "^4.0.1"
14
17
  },
15
18
  "dependencies": {
16
- "@mantine/core": "^7.1.7",
17
- "@mantine/hooks": "^7.1.7",
19
+ "@dbmx/sdmx": "^3.0.36",
20
+ "@mantine/core": "^6.0.11",
21
+ "@mantine/hooks": "^6.0.11",
18
22
  "prop-types": "^15.8.1",
19
23
  "react": "^18.2.0",
20
24
  "react-dom": "^18.2.0"
@@ -78,5 +82,5 @@
78
82
  "@babel/preset-react"
79
83
  ]
80
84
  },
81
- "gitHead": "7e6e247f6a1275bc52dff34d55396608c5d72450"
85
+ "gitHead": "eddb8280822023bc034d4cf3cd348b10aaeb14a4"
82
86
  }
@@ -1,35 +0,0 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
- var core = require('@mantine/core');
5
- var PropTypes = require('prop-types');
6
-
7
- function _interopNamespaceDefault(e) {
8
- var n = Object.create(null);
9
- if (e) {
10
- Object.keys(e).forEach(function (k) {
11
- if (k !== 'default') {
12
- var d = Object.getOwnPropertyDescriptor(e, k);
13
- Object.defineProperty(n, k, d.get ? d : {
14
- enumerable: true,
15
- get: function () { return e[k]; }
16
- });
17
- }
18
- });
19
- }
20
- n.default = e;
21
- return Object.freeze(n);
22
- }
23
-
24
- var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
25
-
26
- var Fake = function Fake(_ref) {
27
- var message = _ref.message;
28
- return /*#__PURE__*/React__namespace.createElement(core.Text, null, "COUCOU ".concat(message));
29
- };
30
- Fake.propTypes = {
31
- message: PropTypes.string.isRequired
32
- };
33
-
34
- exports.default = Fake;
35
- //# sourceMappingURL=fake-ZW05emqw.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fake-ZW05emqw.js","sources":["../src/components/fake.js"],"sourcesContent":["import * as React from 'react'\nimport { Text } from '@mantine/core'\nimport PropTypes from 'prop-types'\n\nconst Fake = ({ message }) => {\n return <Text>{`COUCOU ${message}`}</Text>\n}\n\nFake.propTypes = {\n message: PropTypes.string.isRequired,\n}\n\nexport default Fake\n"],"names":["Fake","_ref","message","React","createElement","Text","concat","propTypes","PropTypes","string","isRequired"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAMA,IAAI,GAAG,SAAPA,IAAIA,CAAAC,IAAA,EAAoB;AAAA,EAAA,IAAdC,OAAO,GAAAD,IAAA,CAAPC,OAAO,CAAA;EACrB,oBAAOC,gBAAA,CAAAC,aAAA,CAACC,SAAI,kBAAAC,MAAA,CAAYJ,OAAO,CAAS,CAAC,CAAA;AAC3C,EAAC;AAEDF,IAAI,CAACO,SAAS,GAAG;AACfL,EAAAA,OAAO,EAAEM,SAAS,CAACC,MAAM,CAACC,UAAAA;AAC5B,CAAC;;;;"}
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import { Text } from '@mantine/core';
3
- import PropTypes from 'prop-types';
4
-
5
- var Fake = function Fake(_ref) {
6
- var message = _ref.message;
7
- return /*#__PURE__*/React.createElement(Text, null, "COUCOU ".concat(message));
8
- };
9
- Fake.propTypes = {
10
- message: PropTypes.string.isRequired
11
- };
12
-
13
- export { Fake as default };
14
- //# sourceMappingURL=fake-JHdVf8lQ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fake-JHdVf8lQ.js","sources":["../src/components/fake.js"],"sourcesContent":["import * as React from 'react'\nimport { Text } from '@mantine/core'\nimport PropTypes from 'prop-types'\n\nconst Fake = ({ message }) => {\n return <Text>{`COUCOU ${message}`}</Text>\n}\n\nFake.propTypes = {\n message: PropTypes.string.isRequired,\n}\n\nexport default Fake\n"],"names":["Fake","_ref","message","React","createElement","Text","concat","propTypes","PropTypes","string","isRequired"],"mappings":";;;;AAIA,IAAMA,IAAI,GAAG,SAAPA,IAAIA,CAAAC,IAAA,EAAoB;AAAA,EAAA,IAAdC,OAAO,GAAAD,IAAA,CAAPC,OAAO,CAAA;EACrB,oBAAOC,KAAA,CAAAC,aAAA,CAACC,IAAI,kBAAAC,MAAA,CAAYJ,OAAO,CAAS,CAAC,CAAA;AAC3C,EAAC;AAEDF,IAAI,CAACO,SAAS,GAAG;AACfL,EAAAA,OAAO,EAAEM,SAAS,CAACC,MAAM,CAACC,UAAAA;AAC5B,CAAC;;;;"}