@amoa/casting 0.1.9 → 0.1.11

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.
@@ -1,6 +1,7 @@
1
- import styles from './index.module.css.js';
2
1
  import { jsx } from 'react/jsx-runtime';
3
2
 
3
+ var styles = {"root":"index-module__root__5PrR6"};
4
+
4
5
  const Buttons = ({
5
6
  children
6
7
  }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/form/buttons/index.js"],"sourcesContent":["import styles from \"./index.module.css\";\n\nconst Buttons = ({ children }) => {\n return <div className={styles.root}>{children}</div>;\n};\n\nexport default Buttons;\n"],"names":["Buttons","children","_jsx","className","styles","root"],"mappings":";;;AAEA,MAAMA,OAAO,GAAGA,CAAC;AAAEC,EAAAA;AAAS,CAAC,KAAK;AAChC,EAAA,oBAAOC,GAAA,CAAA,KAAA,EAAA;IAAKC,SAAS,EAAEC,MAAM,CAACC,IAAK;AAAAJ,IAAAA,QAAA,EAAEA;AAAQ,GAAM,CAAC;AACtD;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/form/buttons/index.js"],"sourcesContent":["import styles from \"./index.module.css\";\n\nconst Buttons = ({ children }) => {\n return <div className={styles.root}>{children}</div>;\n};\n\nexport default Buttons;\n"],"names":["Buttons","children","_jsx","className","styles","root"],"mappings":";;;;AAEA,MAAMA,OAAO,GAAGA,CAAC;AAAEC,EAAAA;AAAS,CAAC,KAAK;AAChC,EAAA,oBAAOC,GAAA,CAAA,KAAA,EAAA;IAAKC,SAAS,EAAEC,MAAM,CAACC,IAAK;AAAAJ,IAAAA,QAAA,EAAEA;AAAQ,GAAM,CAAC;AACtD;;;;"}
@@ -1,6 +1,7 @@
1
- import styles from './index.module.css.js';
2
1
  import { jsx } from 'react/jsx-runtime';
3
2
 
3
+ var styles = {"root":"index-module__root__-kzxc"};
4
+
4
5
  const Caption = ({
5
6
  children
6
7
  }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/form/caption/index.js"],"sourcesContent":["import styles from \"./index.module.css\";\n\nconst Caption = ({ children }) => {\n return <p className={styles.root}>{children}</p>;\n};\n\nexport default Caption;\n"],"names":["Caption","children","_jsx","className","styles","root"],"mappings":";;;AAEA,MAAMA,OAAO,GAAGA,CAAC;AAAEC,EAAAA;AAAS,CAAC,KAAK;AAChC,EAAA,oBAAOC,GAAA,CAAA,GAAA,EAAA;IAAGC,SAAS,EAAEC,MAAM,CAACC,IAAK;AAAAJ,IAAAA,QAAA,EAAEA;AAAQ,GAAI,CAAC;AAClD;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/form/caption/index.js"],"sourcesContent":["import styles from \"./index.module.css\";\n\nconst Caption = ({ children }) => {\n return <p className={styles.root}>{children}</p>;\n};\n\nexport default Caption;\n"],"names":["Caption","children","_jsx","className","styles","root"],"mappings":";;;;AAEA,MAAMA,OAAO,GAAGA,CAAC;AAAEC,EAAAA;AAAS,CAAC,KAAK;AAChC,EAAA,oBAAOC,GAAA,CAAA,GAAA,EAAA;IAAGC,SAAS,EAAEC,MAAM,CAACC,IAAK;AAAAJ,IAAAA,QAAA,EAAEA;AAAQ,GAAI,CAAC;AAClD;;;;"}
@@ -1,6 +1,7 @@
1
- import styles from './index.module.css.js';
2
1
  import { jsx } from 'react/jsx-runtime';
3
2
 
3
+ var styles = {"root":"index-module__root__5eZc-"};
4
+
4
5
  const Description = ({
5
6
  children
6
7
  }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/form/description/index.js"],"sourcesContent":["import styles from \"./index.module.css\";\n\nconst Description = ({ children }) => {\n return <span className={styles.root}>{children}</span>;\n};\n\nexport default Description;\n"],"names":["Description","children","_jsx","className","styles","root"],"mappings":";;;AAEA,MAAMA,WAAW,GAAGA,CAAC;AAAEC,EAAAA;AAAS,CAAC,KAAK;AACpC,EAAA,oBAAOC,GAAA,CAAA,MAAA,EAAA;IAAMC,SAAS,EAAEC,MAAM,CAACC,IAAK;AAAAJ,IAAAA,QAAA,EAAEA;AAAQ,GAAO,CAAC;AACxD;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/form/description/index.js"],"sourcesContent":["import styles from \"./index.module.css\";\n\nconst Description = ({ children }) => {\n return <span className={styles.root}>{children}</span>;\n};\n\nexport default Description;\n"],"names":["Description","children","_jsx","className","styles","root"],"mappings":";;;;AAEA,MAAMA,WAAW,GAAGA,CAAC;AAAEC,EAAAA;AAAS,CAAC,KAAK;AACpC,EAAA,oBAAOC,GAAA,CAAA,MAAA,EAAA;IAAMC,SAAS,EAAEC,MAAM,CAACC,IAAK;AAAAJ,IAAAA,QAAA,EAAEA;AAAQ,GAAO,CAAC;AACxD;;;;"}
@@ -1,7 +1,8 @@
1
1
  import * as Classes from '@amoa/forge/classes';
2
- import styles from './index.module.css.js';
3
2
  import { jsx } from 'react/jsx-runtime';
4
3
 
4
+ var styles = {"root":"index-module__root__ODuS-","regular":"index-module__regular__MMh2h","large":"index-module__large__zHYpM"};
5
+
5
6
  const Form = ({
6
7
  children,
7
8
  className,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../src/form/index.js"],"sourcesContent":["import * as Classes from \"@amoa/forge/classes\";\n\nimport styles from \"./index.module.css\";\n\nconst Form = ({ children, className, size }) => {\n const classes = Classes.build(styles.root, className, styles[size]);\n return <div className={classes}>{children}</div>;\n};\n\nexport default Form;\n"],"names":["Form","children","className","size","classes","Classes","build","styles","root","_jsx"],"mappings":";;;;AAIA,MAAMA,IAAI,GAAGA,CAAC;EAAEC,QAAQ;EAAEC,SAAS;AAAEC,EAAAA;AAAK,CAAC,KAAK;AAC9C,EAAA,MAAMC,OAAO,GAAGC,OAAO,CAACC,KAAK,CAACC,MAAM,CAACC,IAAI,EAAEN,SAAS,EAAEK,MAAM,CAACJ,IAAI,CAAC,CAAC;AACnE,EAAA,oBAAOM,GAAA,CAAA,KAAA,EAAA;AAAKP,IAAAA,SAAS,EAAEE,OAAQ;AAAAH,IAAAA,QAAA,EAAEA;AAAQ,GAAM,CAAC;AAClD;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../src/form/index.js"],"sourcesContent":["import * as Classes from \"@amoa/forge/classes\";\n\nimport styles from \"./index.module.css\";\n\nconst Form = ({ children, className, size }) => {\n const classes = Classes.build(styles.root, className, styles[size]);\n return <div className={classes}>{children}</div>;\n};\n\nexport default Form;\n"],"names":["Form","children","className","size","classes","Classes","build","styles","root","_jsx"],"mappings":";;;;;AAIA,MAAMA,IAAI,GAAGA,CAAC;EAAEC,QAAQ;EAAEC,SAAS;AAAEC,EAAAA;AAAK,CAAC,KAAK;AAC9C,EAAA,MAAMC,OAAO,GAAGC,OAAO,CAACC,KAAK,CAACC,MAAM,CAACC,IAAI,EAAEN,SAAS,EAAEK,MAAM,CAACJ,IAAI,CAAC,CAAC;AACnE,EAAA,oBAAOM,GAAA,CAAA,KAAA,EAAA;AAAKP,IAAAA,SAAS,EAAEE,OAAQ;AAAAH,IAAAA,QAAA,EAAEA;AAAQ,GAAM,CAAC;AAClD;;;;"}
@@ -1,6 +1,7 @@
1
- import styles from './index.module.css.js';
2
1
  import { jsx } from 'react/jsx-runtime';
3
2
 
3
+ var styles = {"root":"index-module__root__GJ8LW"};
4
+
4
5
  const Inputs = ({
5
6
  children
6
7
  }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/form/inputs/index.js"],"sourcesContent":["import styles from \"./index.module.css\";\n\nconst Inputs = ({ children }) => {\n return <div className={styles.root}>{children}</div>;\n};\n\nexport default Inputs;\n"],"names":["Inputs","children","_jsx","className","styles","root"],"mappings":";;;AAEA,MAAMA,MAAM,GAAGA,CAAC;AAAEC,EAAAA;AAAS,CAAC,KAAK;AAC/B,EAAA,oBAAOC,GAAA,CAAA,KAAA,EAAA;IAAKC,SAAS,EAAEC,MAAM,CAACC,IAAK;AAAAJ,IAAAA,QAAA,EAAEA;AAAQ,GAAM,CAAC;AACtD;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/form/inputs/index.js"],"sourcesContent":["import styles from \"./index.module.css\";\n\nconst Inputs = ({ children }) => {\n return <div className={styles.root}>{children}</div>;\n};\n\nexport default Inputs;\n"],"names":["Inputs","children","_jsx","className","styles","root"],"mappings":";;;;AAEA,MAAMA,MAAM,GAAGA,CAAC;AAAEC,EAAAA;AAAS,CAAC,KAAK;AAC/B,EAAA,oBAAOC,GAAA,CAAA,KAAA,EAAA;IAAKC,SAAS,EAAEC,MAAM,CAACC,IAAK;AAAAJ,IAAAA,QAAA,EAAEA;AAAQ,GAAM,CAAC;AACtD;;;;"}
package/dist/styles.css CHANGED
@@ -1 +1 @@
1
- .index-module_caption__rLj1H{align-self:center;flex:1 1 auto;min-width:200px}.index-module_image__1vKdM{height:auto;width:200px}.index-module_animation__-ai2b{background-color:var(--light-background);border:.5px solid var(--lighter-stroke);flex:1 0 275px;padding:20px}.index-module_condo__J-7Rb{animation:index-module_floating__QUkes 6s ease-in-out infinite;filter:drop-shadow(0 12px 8px var(--bright-green))}@media (min-width:750px){.index-module_form__GeBqt{flex-direction:row}}@keyframes index-module_floating__QUkes{0%{transform:translateY(-10px)}50%{transform:translateY(10px)}to{transform:translateY(-10px)}}.index-module_root__-kzxc{display:flex;flex-direction:column;font-size:18px}@media (min-width:560px){.index-module_root__-kzxc{font-size:22px}}.index-module_root__5PrR6{align-items:center;display:flex;gap:16px;justify-content:space-between}.index-module_root__5eZc-{font-size:16px}.index-module_root__GJ8LW{display:flex;flex-direction:column;gap:8px}.index-module_root__ODuS-{background-color:var(--white);border-radius:var(--border-radius);display:flex;flex-direction:column;gap:16px;max-width:500px;padding:24px;width:100%}.index-module_regular__MMh2h{max-width:500px}.index-module_large__zHYpM{max-width:700px}@media (min-width:560px){.index-module_root__ODuS-{padding:var(--space)}}
1
+ .index-module__caption__rLj1H{align-self:center;flex:1 1 auto;min-width:200px}.index-module__image__1vKdM{height:auto;width:200px}.index-module__animation__-ai2b{background-color:var(--light-background);border:.5px solid var(--lighter-stroke);flex:1 0 275px;padding:20px}.index-module__condo__J-7Rb{animation:index-module__floating__QUkes 6s ease-in-out infinite;filter:drop-shadow(0 12px 8px var(--bright-green))}@media (min-width:750px){.index-module__form__GeBqt{flex-direction:row}}@keyframes index-module__floating__QUkes{0%{transform:translateY(-10px)}50%{transform:translateY(10px)}to{transform:translateY(-10px)}}.index-module__root__ODuS-{background-color:var(--white);border-radius:var(--border-radius);display:flex;flex-direction:column;gap:16px;max-width:500px;padding:24px;width:100%}.index-module__regular__MMh2h{max-width:500px}.index-module__large__zHYpM{max-width:700px}@media (min-width:560px){.index-module__root__ODuS-{padding:var(--space)}}.index-module__root__GJ8LW{display:flex;flex-direction:column;gap:8px}.index-module__root__-kzxc{display:flex;flex-direction:column;font-size:18px}@media (min-width:560px){.index-module__root__-kzxc{font-size:22px}}.index-module__root__5eZc-{font-size:16px}.index-module__root__5PrR6{align-items:center;display:flex;gap:16px;justify-content:space-between}
@@ -1,10 +1,11 @@
1
1
  import 'react';
2
2
  import * as Carving from '@amoa/carving';
3
3
  import Form from '@amoa/casting/form';
4
- import Caption from '@amoa/casting/form/caption';
5
- import styles from './index.module.css.js';
4
+ import Caption from '@amoa/casting/caption';
6
5
  import { jsxs, jsx } from 'react/jsx-runtime';
7
6
 
7
+ var styles = {"caption":"index-module__caption__rLj1H","image":"index-module__image__1vKdM","animation":"index-module__animation__-ai2b","condo":"index-module__condo__J-7Rb","form":"index-module__form__GeBqt"};
8
+
8
9
  const PICTURE = {
9
10
  picture: Carving.Logos.Amoa
10
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../src/waiter/index.js"],"sourcesContent":["import * as React from \"react\";\n\nimport * as Carving from \"@amoa/carving\";\nimport Form from \"@amoa/casting/form\";\nimport Caption from \"@amoa/casting/form/caption\";\n\nimport styles from \"./index.module.css\";\n\nconst PICTURE = { picture: Carving.Logos.Amoa };\n\nconst Waiter = ({ picture }) => {\n const { picture: Picture, ...props } = picture || PICTURE;\n return (\n <Form className={styles.form} size=\"large\">\n <div className={styles.caption}>\n <Picture className={styles.image} {...props} priority />\n <Caption>Veuillez patienter, nous vous redirigeons vers la bonne page.</Caption>\n </div>\n <div className={styles.animation}>\n <Carving.Condo className={styles.condo} />\n </div>\n </Form>\n );\n};\n\nexport default Waiter;\n"],"names":["PICTURE","picture","Carving","Logos","Amoa","Waiter","Picture","props","_jsxs","Form","className","styles","form","size","children","caption","_jsx","image","priority","Caption","animation","Condo","condo"],"mappings":";;;;;;;AAQA,MAAMA,OAAO,GAAG;AAAEC,EAAAA,OAAO,EAAEC,OAAO,CAACC,KAAK,CAACC;AAAK,CAAC;AAE/C,MAAMC,MAAM,GAAGA,CAAC;AAAEJ,EAAAA;AAAQ,CAAC,KAAK;EAC9B,MAAM;AAAEA,IAAAA,OAAO,EAAEK,OAAO;IAAE,GAAGC;GAAO,GAAGN,OAAO,IAAID,OAAO;EACzD,oBACEQ,IAAA,CAACC,IAAI,EAAA;IAACC,SAAS,EAAEC,MAAM,CAACC,IAAK;AAACC,IAAAA,IAAI,EAAC,OAAO;AAAAC,IAAAA,QAAA,gBACxCN,IAAA,CAAA,KAAA,EAAA;MAAKE,SAAS,EAAEC,MAAM,CAACI,OAAQ;MAAAD,QAAA,EAAA,cAC7BE,GAAA,CAACV,OAAO,EAAA;QAACI,SAAS,EAAEC,MAAM,CAACM,KAAM;AAAA,QAAA,GAAKV,KAAK;QAAEW,QAAQ,EAAA;AAAA,OAAE,CAAC,eACxDF,GAAA,CAACG,OAAO,EAAA;AAAAL,QAAAA,QAAA,EAAC;AAA6D,OAAS,CAAC;KAC7E,CAAC,eACNE,GAAA,CAAA,KAAA,EAAA;MAAKN,SAAS,EAAEC,MAAM,CAACS,SAAU;AAAAN,MAAAA,QAAA,eAC/BE,GAAA,CAACd,OAAO,CAACmB,KAAK,EAAA;QAACX,SAAS,EAAEC,MAAM,CAACW;OAAQ;AAAC,KACvC,CAAC;AAAA,GACF,CAAC;AAEX;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../src/waiter/index.js"],"sourcesContent":["import * as React from \"react\";\n\nimport * as Carving from \"@amoa/carving\";\nimport Form from \"@amoa/casting/form\";\nimport Caption from \"@amoa/casting/caption\";\n\nimport styles from \"./index.module.css\";\n\nconst PICTURE = { picture: Carving.Logos.Amoa };\n\nconst Waiter = ({ picture }) => {\n const { picture: Picture, ...props } = picture || PICTURE;\n return (\n <Form className={styles.form} size=\"large\">\n <div className={styles.caption}>\n <Picture className={styles.image} {...props} priority />\n <Caption>Veuillez patienter, nous vous redirigeons vers la bonne page.</Caption>\n </div>\n <div className={styles.animation}>\n <Carving.Condo className={styles.condo} />\n </div>\n </Form>\n );\n};\n\nexport default Waiter;\n"],"names":["PICTURE","picture","Carving","Logos","Amoa","Waiter","Picture","props","_jsxs","Form","className","styles","form","size","children","caption","_jsx","image","priority","Caption","animation","Condo","condo"],"mappings":";;;;;;;;AAQA,MAAMA,OAAO,GAAG;AAAEC,EAAAA,OAAO,EAAEC,OAAO,CAACC,KAAK,CAACC;AAAK,CAAC;AAE/C,MAAMC,MAAM,GAAGA,CAAC;AAAEJ,EAAAA;AAAQ,CAAC,KAAK;EAC9B,MAAM;AAAEA,IAAAA,OAAO,EAAEK,OAAO;IAAE,GAAGC;GAAO,GAAGN,OAAO,IAAID,OAAO;EACzD,oBACEQ,IAAA,CAACC,IAAI,EAAA;IAACC,SAAS,EAAEC,MAAM,CAACC,IAAK;AAACC,IAAAA,IAAI,EAAC,OAAO;AAAAC,IAAAA,QAAA,gBACxCN,IAAA,CAAA,KAAA,EAAA;MAAKE,SAAS,EAAEC,MAAM,CAACI,OAAQ;MAAAD,QAAA,EAAA,cAC7BE,GAAA,CAACV,OAAO,EAAA;QAACI,SAAS,EAAEC,MAAM,CAACM,KAAM;AAAA,QAAA,GAAKV,KAAK;QAAEW,QAAQ,EAAA;AAAA,OAAE,CAAC,eACxDF,GAAA,CAACG,OAAO,EAAA;AAAAL,QAAAA,QAAA,EAAC;AAA6D,OAAS,CAAC;KAC7E,CAAC,eACNE,GAAA,CAAA,KAAA,EAAA;MAAKN,SAAS,EAAEC,MAAM,CAACS,SAAU;AAAAN,MAAAA,QAAA,eAC/BE,GAAA,CAACd,OAAO,CAACmB,KAAK,EAAA;QAACX,SAAS,EAAEC,MAAM,CAACW;OAAQ;AAAC,KACvC,CAAC;AAAA,GACF,CAAC;AAEX;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amoa/casting",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -12,6 +12,7 @@
12
12
  "build": "rollup",
13
13
  "clean": "rm -rf dist"
14
14
  },
15
+ "style": "dist/styles.css",
15
16
  "exports": {
16
17
  "./*": "./dist/*"
17
18
  },
@@ -1,4 +0,0 @@
1
- var styles = {"root":"index-module_root__5PrR6"};
2
-
3
- export { styles as default };
4
- //# sourceMappingURL=index.module.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,4 +0,0 @@
1
- var styles = {"root":"index-module_root__-kzxc"};
2
-
3
- export { styles as default };
4
- //# sourceMappingURL=index.module.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,4 +0,0 @@
1
- var styles = {"root":"index-module_root__5eZc-"};
2
-
3
- export { styles as default };
4
- //# sourceMappingURL=index.module.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,4 +0,0 @@
1
- var styles = {"root":"index-module_root__ODuS-","regular":"index-module_regular__MMh2h","large":"index-module_large__zHYpM"};
2
-
3
- export { styles as default };
4
- //# sourceMappingURL=index.module.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,4 +0,0 @@
1
- var styles = {"root":"index-module_root__GJ8LW"};
2
-
3
- export { styles as default };
4
- //# sourceMappingURL=index.module.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
package/dist/index.css DELETED
@@ -1 +0,0 @@
1
- .index-module_root__ODuS-{background-color:var(--white);border-radius:var(--border-radius);display:flex;flex-direction:column;gap:16px;max-width:500px;padding:24px;width:100%}.index-module_regular__MMh2h{max-width:500px}.index-module_large__zHYpM{max-width:700px}@media (min-width:560px){.index-module_root__ODuS-{padding:var(--space)}}.index-module_caption__rLj1H{align-self:center;flex:1 1 auto;min-width:200px}.index-module_image__1vKdM{height:auto;width:200px}.index-module_animation__-ai2b{background-color:var(--light-background);border:.5px solid var(--lighter-stroke);flex:1 0 275px;padding:20px}.index-module_condo__J-7Rb{animation:index-module_floating__QUkes 6s ease-in-out infinite;filter:drop-shadow(0 12px 8px var(--bright-green))}@media (min-width:750px){.index-module_form__GeBqt{flex-direction:row}}@keyframes index-module_floating__QUkes{0%{transform:translateY(-10px)}50%{transform:translateY(10px)}to{transform:translateY(-10px)}}.index-module_root__5PrR6{align-items:center;display:flex;gap:16px;justify-content:space-between}.index-module_root__-kzxc{display:flex;flex-direction:column;font-size:18px}@media (min-width:560px){.index-module_root__-kzxc{font-size:22px}}.index-module_root__5eZc-{font-size:16px}.index-module_root__GJ8LW{display:flex;flex-direction:column;gap:8px}
@@ -1,4 +0,0 @@
1
- var styles = {"caption":"index-module_caption__rLj1H","image":"index-module_image__1vKdM","animation":"index-module_animation__-ai2b","condo":"index-module_condo__J-7Rb","form":"index-module_form__GeBqt"};
2
-
3
- export { styles as default };
4
- //# sourceMappingURL=index.module.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}