@maggioli-design-system/mds-modal 1.2.0 → 2.0.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 (65) hide show
  1. package/dist/cjs/{index-8c1a6a17.js → index-6f89e656.js} +10 -5
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/mds-modal.cjs.entry.js +6 -4
  4. package/dist/cjs/mds-modal.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/components/mds-modal/mds-modal.css +219 -68
  7. package/dist/collection/components/mds-modal/mds-modal.js +2 -1
  8. package/dist/collection/components/mds-modal/test/mds-modal.stories.js +29 -51
  9. package/dist/collection/dictionary/floating-ui.js +19 -0
  10. package/dist/collection/dictionary/icon.js +2 -2
  11. package/dist/collection/dictionary/typography.js +6 -1
  12. package/dist/collection/types/floating-ui.js +1 -0
  13. package/dist/components/index.d.ts +1 -1
  14. package/dist/components/mds-modal.js +7 -6
  15. package/dist/esm/{index-8333247b.js → index-7c9adc93.js} +10 -5
  16. package/dist/esm/loader.js +2 -2
  17. package/dist/esm/mds-modal.entry.js +6 -4
  18. package/dist/esm/mds-modal.js +2 -2
  19. package/dist/esm/polyfills/css-shim.js +1 -1
  20. package/dist/esm-es5/{index-8333247b.js → index-7c9adc93.js} +2 -1
  21. package/dist/esm-es5/loader.js +1 -1
  22. package/dist/esm-es5/mds-modal.entry.js +1 -1
  23. package/dist/esm-es5/mds-modal.js +1 -1
  24. package/dist/mds-modal/mds-modal.esm.js +1 -1
  25. package/dist/mds-modal/mds-modal.js +1 -1
  26. package/dist/mds-modal/p-36906985.entry.js +1 -0
  27. package/dist/mds-modal/{p-642b8178.system.js → p-656f0e04.system.js} +2 -1
  28. package/{www/build/p-04873afb.system.js → dist/mds-modal/p-93da9930.system.js} +1 -1
  29. package/dist/mds-modal/p-a496fae0.system.entry.js +1 -0
  30. package/dist/mds-modal/p-b8cb7be9.js +2 -0
  31. package/dist/stats.json +51 -44
  32. package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +26 -0
  33. package/dist/types/components.d.ts +5 -1
  34. package/dist/types/dictionary/floating-ui.d.ts +3 -0
  35. package/dist/types/dictionary/typography.d.ts +2 -1
  36. package/dist/types/types/floating-ui.d.ts +2 -0
  37. package/dist/types/types/typography.d.ts +1 -0
  38. package/package.json +7 -4
  39. package/readme.md +0 -5
  40. package/src/components/mds-modal/.gitlab-ci.yml +25 -0
  41. package/src/components/mds-modal/mds-modal.css +4 -3
  42. package/src/components/mds-modal/mds-modal.tsx +3 -1
  43. package/src/components/mds-modal/test/mds-modal.e2e.ts +10 -2
  44. package/src/components/mds-modal/test/{mds-modal.stories.js → mds-modal.stories.tsx} +9 -11
  45. package/src/components.d.ts +5 -1
  46. package/src/dictionary/floating-ui.ts +25 -0
  47. package/src/dictionary/icon.ts +2 -2
  48. package/src/dictionary/typography.ts +7 -0
  49. package/src/fixtures/icons.json +64 -0
  50. package/src/tailwind/components.css +14 -0
  51. package/src/types/floating-ui.ts +17 -0
  52. package/src/types/typography.ts +5 -0
  53. package/www/build/mds-modal.esm.js +1 -1
  54. package/www/build/mds-modal.js +1 -1
  55. package/www/build/p-36906985.entry.js +1 -0
  56. package/www/build/{p-642b8178.system.js → p-656f0e04.system.js} +2 -1
  57. package/{dist/mds-modal/p-04873afb.system.js → www/build/p-93da9930.system.js} +1 -1
  58. package/www/build/p-a496fae0.system.entry.js +1 -0
  59. package/www/build/p-b8cb7be9.js +2 -0
  60. package/dist/mds-modal/p-61a8f75c.system.entry.js +0 -1
  61. package/dist/mds-modal/p-9f22b0ed.entry.js +0 -1
  62. package/dist/mds-modal/p-ab19f930.js +0 -1
  63. package/www/build/p-61a8f75c.system.entry.js +0 -1
  64. package/www/build/p-9f22b0ed.entry.js +0 -1
  65. package/www/build/p-ab19f930.js +0 -1
@@ -110,7 +110,7 @@ const registerStyle = (scopeId, cssText, allowCS) => {
110
110
  };
111
111
  const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
112
112
  let scopeId = getScopeId(cmpMeta);
113
- let style = styles.get(scopeId);
113
+ const style = styles.get(scopeId);
114
114
  // if an element is NOT connected then getRootNode() will return the wrong root node
115
115
  // so the fallback is to always use the document for the root node in those cases
116
116
  styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
@@ -190,7 +190,7 @@ const h = (nodeName, vnodeData, ...children) => {
190
190
  let child = null;
191
191
  let simple = false;
192
192
  let lastSimple = false;
193
- let vNodeChildren = [];
193
+ const vNodeChildren = [];
194
194
  const walk = (c) => {
195
195
  for (let i = 0; i < c.length; i++) {
196
196
  child = c[i];
@@ -313,7 +313,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
313
313
  if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
314
314
  try {
315
315
  if (!elm.tagName.includes('-')) {
316
- let n = newValue == null ? '' : newValue;
316
+ const n = newValue == null ? '' : newValue;
317
317
  // Workaround for Safari, moving the <input> caret when re-assigning the same valued
318
318
  if (memberName === 'list') {
319
319
  isProp = false;
@@ -370,7 +370,7 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
370
370
  };
371
371
  const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
372
372
  // tslint:disable-next-line: prefer-const
373
- let newVNode = newParentVNode.$children$[childIndex];
373
+ const newVNode = newParentVNode.$children$[childIndex];
374
374
  let i = 0;
375
375
  let elm;
376
376
  let childNode;
@@ -811,7 +811,10 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
811
811
  const flags = hostRef.$flags$;
812
812
  const instance = hostRef.$lazyInstance$ ;
813
813
  newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
814
- if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && newVal !== oldVal) {
814
+ // explicitly check for NaN on both sides, as `NaN === NaN` is always false
815
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
816
+ const didValueChange = newVal !== oldVal && !areBothNaN;
817
+ if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && didValueChange) {
815
818
  // gadzooks! the property's value has changed!!
816
819
  // set our new value!
817
820
  hostRef.$instanceValues$.set(propName, newVal);
@@ -1200,7 +1203,9 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1200
1203
  if (module) {
1201
1204
  return module[exportName];
1202
1205
  }
1206
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
1203
1207
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1208
+ /* @vite-ignore */
1204
1209
  /* webpackInclude: /\.entry\.js$/ */
1205
1210
  /* webpackExclude: /\.system\.entry\.js$/ */
1206
1211
  /* webpackMode: "lazy" */
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-8c1a6a17.js');
5
+ const index = require('./index-6f89e656.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Esm v2.14.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Esm v2.16.1 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchEsm = () => {
11
11
  return index.promiseResolve();
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-8c1a6a17.js');
5
+ const index = require('./index-6f89e656.js');
6
6
 
7
7
  function toVal(mix) {
8
8
  var k, y, str='';
@@ -45,9 +45,11 @@ function clsx () {
45
45
  return str;
46
46
  }
47
47
 
48
- const mdsModalCss = ".animate-left,.animate-right{opacity:0;-webkit-transition-property:background-color, border-color, color, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1)}.animate-right-intro,.animate-right-outro{-webkit-transform:translateX(calc(100% + 50px));transform:translateX(calc(100% + 50px))}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{pointer-events:none;position:fixed;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:rgba(var(--adjust-tone-01), var(--tw-bg-opacity));--tw-bg-opacity:0;-webkit-transition-duration:700ms;transition-duration:700ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);-webkit-perspective:600px;perspective:600px}:host([position=top]){-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}:host([position=bottom]){-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:center;justify-content:center}:host(.animate-bottom-opened),:host(.animate-center-opened),:host(.animate-left-opened),:host(.animate-right-opened),:host(.animate-top-opened){pointer-events:auto;--tw-bg-opacity:0.5;-webkit-transition-duration:500ms;transition-duration:500ms}.close{position:absolute;top:0px;height:2.25rem;width:2.25rem;-webkit-transform-origin:center;transform-origin:center;cursor:pointer;font-size:2.25rem;line-height:2.5rem;--tw-text-opacity:1;color:rgba(var(--adjust-tone-10), var(--tw-text-opacity));opacity:0;-webkit-transition-property:background-color, border-color, color, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.77, 0, 0.175, 1);transition-timing-function:cubic-bezier(0.77, 0, 0.175, 1);-webkit-transform:translate(0, 24px) rotate(90deg);transform:translate(0, 24px) rotate(90deg)}.window{display:grid;height:100%;gap:0px;overflow:auto;background-color:var(--window-background, rgb(var(--adjust-tone)));-webkit-box-shadow:var(--window-shadow, 0 25px 50px -12px rgb(0 0 0 / 0.25));box-shadow:var(--window-shadow, 0 25px 50px -12px rgb(0 0 0 / 0.25));grid-template-rows:1fr;max-width:calc(100vw - 80px)}.window--top{grid-template-rows:auto 1fr}.window--bottom{grid-template-rows:1fr auto}.window--top-bottom{grid-template-rows:auto 1fr auto}:host(.animate-bottom){-ms-flex-pack:center;justify-content:center;padding:2rem}@media (max-width: 767px){:host(.animate-bottom){padding:1rem}}:host(.animate-bottom) .window,:host(.animate-bottom)>::slotted([slot=window]){opacity:0;-webkit-transition-property:background-color, border-color, color, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1)}:host(.animate-bottom-intro) .window,:host(.animate-bottom-intro)>::slotted([slot=window]){-webkit-transform:rotateX(-22deg) scale(0.5) translateY(40%);transform:rotateX(-22deg) scale(0.5) translateY(40%)}:host(.animate-bottom-opened.animate-bottom-outro) .window,:host(.animate-bottom-opened.animate-bottom-outro)>::slotted([slot=window]),:host(.animate-bottom-opened) .window,:host(.animate-bottom-opened)>::slotted([slot=window]){opacity:1;-webkit-transform:rotateX(0) scale(1) translateY(0);transform:rotateX(0) scale(1) translateY(0)}:host(.animate-bottom-outro) .window,:host(.animate-bottom-outro)>::slotted([slot=window]){-webkit-transform:rotateX(-22deg) scale(0.5) translateY(-40%);transform:rotateX(-22deg) scale(0.5) translateY(-40%)}:host(.animate-center){-ms-flex-pack:center;justify-content:center;padding:2rem}@media (max-width: 767px){:host(.animate-center){padding:1rem}}:host(.animate-center) .window,:host(.animate-center)>::slotted([slot=window]){opacity:0;-webkit-transition-property:background-color, border-color, color, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1)}:host(.animate-center-intro) .window,:host(.animate-center-intro)>::slotted([slot=window]){-webkit-transform:rotateX(-22deg) scale(0.5) translateY(40%);transform:rotateX(-22deg) scale(0.5) translateY(40%)}:host(.animate-center-opened.animate-center-outro) .window,:host(.animate-center-opened.animate-center-outro)>::slotted([slot=window]),:host(.animate-center-opened) .window,:host(.animate-center-opened)>::slotted([slot=window]){opacity:1;-webkit-transform:rotateX(0) scale(1) translateY(0);transform:rotateX(0) scale(1) translateY(0)}:host(.animate-center-outro) .window,:host(.animate-center-outro)>::slotted([slot=window]){-webkit-transform:rotateX(-22deg) scale(0.5) translateY(-40%);transform:rotateX(-22deg) scale(0.5) translateY(-40%)}:host(.animate-left){-ms-flex-pack:start;justify-content:flex-start}:host(.animate-left) .window,:host(.animate-left)>::slotted([slot=window]){opacity:0;-webkit-transition-property:background-color, border-color, color, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1)}:host(.animate-left-intro) .window,:host(.animate-left-intro)>::slotted([slot=window]){-webkit-transform:translateX(calc(-100% - 50px));transform:translateX(calc(-100% - 50px))}:host(.animate-left-opened.animate-left-outro) .window,:host(.animate-left-opened.animate-left-outro)>::slotted([slot=window]),:host(.animate-left-opened) .window,:host(.animate-left-opened)>::slotted([slot=window]){opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}:host(.animate-left-opened) .close,:host(.animate-left-opened.animate-left-outro) .close{opacity:1;-webkit-transform:translate(-24px, 24px) rotate(0);transform:translate(-24px, 24px) rotate(0)}:host(.animate-left-outro) .window,:host(.animate-left-outro)>::slotted([slot=window]){-webkit-transform:translateX(calc(-100% - 50px));transform:translateX(calc(-100% - 50px))}:host(.animate-left-outro) .close{-webkit-transform:translate(24px, 24px) rotate(-90deg);transform:translate(24px, 24px) rotate(-90deg)}:host(.animate-left) .close{right:0px;-webkit-transform:translate(36px, 24px) rotate(90deg);transform:translate(36px, 24px) rotate(90deg)}:host(.animate-right){-ms-flex-pack:end;justify-content:flex-end}:host(.animate-right) .window,:host(.animate-right)>::slotted([slot=window]){opacity:0;-webkit-transition-property:background-color, border-color, color, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1)}:host(.animate-right-intro) .window,:host(.animate-right-intro)>::slotted([slot=window]){-webkit-transform:translateX(calc(100% + 50px));transform:translateX(calc(100% + 50px))}:host(.animate-right-opened.animate-right-outro) .window,:host(.animate-right-opened.animate-right-outro)>::slotted([slot=window]),:host(.animate-right-opened) .window,:host(.animate-right-opened)>::slotted([slot=window]){opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}:host(.animate-right-opened) .close,:host(.animate-right-opened.animate-right-outro) .close{opacity:1;-webkit-transform:translate(24px, 24px) rotate(0);transform:translate(24px, 24px) rotate(0)}:host(.animate-right-outro) .window,:host(.animate-right-outro)>::slotted([slot=window]){-webkit-transform:translateX(calc(100% + 50px));transform:translateX(calc(100% + 50px))}:host(.animate-right-outro) .close{-webkit-transform:translate(-24px, 24px) rotate(90deg);transform:translate(-24px, 24px) rotate(90deg)}:host(.animate-right) .close{left:0px;-webkit-transform:translate(-36px, 24px) rotate(-90deg);transform:translate(-36px, 24px) rotate(-90deg)}:host(.animate-top){-ms-flex-pack:center;justify-content:center;padding:2rem}@media (max-width: 767px){:host(.animate-top){padding:1rem}}:host(.animate-top) .window,:host(.animate-top)>::slotted([slot=window]){opacity:0;-webkit-transition-property:background-color, border-color, color, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1)}:host(.animate-top-intro) .window,:host(.animate-top-intro)>::slotted([slot=window]){-webkit-transform:rotateX(-22deg) scale(0.5) translateY(40%);transform:rotateX(-22deg) scale(0.5) translateY(40%)}:host(.animate-top-opened.animate-top-outro) .window,:host(.animate-top-opened.animate-top-outro)>::slotted([slot=window]),:host(.animate-top-opened) .window,:host(.animate-top-opened)>::slotted([slot=window]){opacity:1;-webkit-transform:rotateX(0) scale(1) translateY(0);transform:rotateX(0) scale(1) translateY(0)}:host(.animate-top-outro) .window,:host(.animate-top-outro)>::slotted([slot=window]){-webkit-transform:rotateX(-22deg) scale(0.5) translateY(-40%);transform:rotateX(-22deg) scale(0.5) translateY(-40%)}";
48
+ const miBaselineClose = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z"/></svg>`;
49
49
 
50
- let MdsModal = class {
50
+ const mdsModalCss = "@tailwind components; .fixed{position:fixed}.absolute{position:absolute}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.ml-auto{margin-left:auto}.flex{display:-ms-flexbox;display:flex}.w-16{width:4rem}.min-w-0{min-width:0px}.max-w-lg{max-width:32rem}.max-w-xl{max-width:36rem}.items-center{-ms-flex-align:center;align-items:center}.gap-4{gap:1rem}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-tone-neutral-09{--tw-border-opacity:1;border-color:rgba(var(--tone-neutral-09), var(--tw-border-opacity))}.bg-transparent{background-color:transparent}.p-8{padding:2rem}.p-4{padding:1rem}.text-tone-neutral-02{--tw-text-opacity:1;color:rgba(var(--tone-neutral-02), var(--tw-text-opacity))}.text-tone-neutral-04{--tw-text-opacity:1;color:rgba(var(--tone-neutral-04), var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.svg{display:-ms-flexbox;display:flex}.svg svg{aspect-ratio:1 / 1;height:100%;width:100%}.animate-left,.animate-right{opacity:0;-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1)}.animate-right-intro,.animate-right-outro{-webkit-transform:translateX(calc(100% + 50px));transform:translateX(calc(100% + 50px))}:host{pointer-events:none;position:fixed;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:rgba(var(--tone-neutral-01), var(--tw-bg-opacity));--tw-bg-opacity:0;-webkit-transition-duration:700ms;transition-duration:700ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);-webkit-perspective:600px;perspective:600px}:host([position=top]){-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}:host([position=bottom]){-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:center;justify-content:center}:host(.animate-bottom-opened),:host(.animate-center-opened),:host(.animate-left-opened),:host(.animate-right-opened),:host(.animate-top-opened){pointer-events:auto;--tw-bg-opacity:0.5;-webkit-transition-duration:500ms;transition-duration:500ms}.close{position:absolute;top:0px;height:2.25rem;width:2.25rem;-webkit-transform-origin:center;transform-origin:center;cursor:pointer;fill:rgb(var(--tone-neutral-10));font-size:2.25rem;line-height:2.5rem;opacity:0;-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.77, 0, 0.175, 1);transition-timing-function:cubic-bezier(0.77, 0, 0.175, 1);-webkit-transform:translate(0, 24px) rotate(90deg);transform:translate(0, 24px) rotate(90deg)}.window{display:grid;height:100%;gap:0px;overflow:auto;background-color:var(--window-background, rgb(var(--tone-neutral)));-webkit-box-shadow:var(--window-shadow, 0 25px 50px -12px rgb(0 0 0 / 0.25));box-shadow:var(--window-shadow, 0 25px 50px -12px rgb(0 0 0 / 0.25));grid-template-rows:1fr;max-width:calc(100vw - 80px)}.window--top{grid-template-rows:auto 1fr}.window--bottom{grid-template-rows:1fr auto}.window--top-bottom{grid-template-rows:auto 1fr auto}:host(.animate-bottom){-ms-flex-pack:center;justify-content:center;padding:2rem}@media (max-width: 767px){:host(.animate-bottom){padding:1rem}}:host(.animate-bottom) .window,:host(.animate-bottom)>::slotted([slot=window]){opacity:0;-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1)}:host(.animate-bottom-intro) .window,:host(.animate-bottom-intro)>::slotted([slot=window]){-webkit-transform:rotateX(-22deg) scale(0.5) translateY(40%);transform:rotateX(-22deg) scale(0.5) translateY(40%)}:host(.animate-bottom-opened.animate-bottom-outro) .window,:host(.animate-bottom-opened.animate-bottom-outro)>::slotted([slot=window]),:host(.animate-bottom-opened) .window,:host(.animate-bottom-opened)>::slotted([slot=window]){opacity:1;-webkit-transform:rotateX(0) scale(1) translateY(0);transform:rotateX(0) scale(1) translateY(0)}:host(.animate-bottom-outro) .window,:host(.animate-bottom-outro)>::slotted([slot=window]){-webkit-transform:rotateX(-22deg) scale(0.5) translateY(-40%);transform:rotateX(-22deg) scale(0.5) translateY(-40%)}:host(.animate-center){-ms-flex-pack:center;justify-content:center;padding:2rem}@media (max-width: 767px){:host(.animate-center){padding:1rem}}:host(.animate-center) .window,:host(.animate-center)>::slotted([slot=window]){opacity:0;-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1)}:host(.animate-center-intro) .window,:host(.animate-center-intro)>::slotted([slot=window]){-webkit-transform:rotateX(-22deg) scale(0.5) translateY(40%);transform:rotateX(-22deg) scale(0.5) translateY(40%)}:host(.animate-center-opened.animate-center-outro) .window,:host(.animate-center-opened.animate-center-outro)>::slotted([slot=window]),:host(.animate-center-opened) .window,:host(.animate-center-opened)>::slotted([slot=window]){opacity:1;-webkit-transform:rotateX(0) scale(1) translateY(0);transform:rotateX(0) scale(1) translateY(0)}:host(.animate-center-outro) .window,:host(.animate-center-outro)>::slotted([slot=window]){-webkit-transform:rotateX(-22deg) scale(0.5) translateY(-40%);transform:rotateX(-22deg) scale(0.5) translateY(-40%)}:host(.animate-left){-ms-flex-pack:start;justify-content:flex-start}:host(.animate-left) .window,:host(.animate-left)>::slotted([slot=window]){opacity:0;-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1)}:host(.animate-left-intro) .window,:host(.animate-left-intro)>::slotted([slot=window]){-webkit-transform:translateX(calc(-100% - 50px));transform:translateX(calc(-100% - 50px))}:host(.animate-left-opened.animate-left-outro) .window,:host(.animate-left-opened.animate-left-outro)>::slotted([slot=window]),:host(.animate-left-opened) .window,:host(.animate-left-opened)>::slotted([slot=window]){opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}:host(.animate-left-opened) .close,:host(.animate-left-opened.animate-left-outro) .close{opacity:1;-webkit-transform:translate(-24px, 24px) rotate(0);transform:translate(-24px, 24px) rotate(0)}:host(.animate-left-outro) .window,:host(.animate-left-outro)>::slotted([slot=window]){-webkit-transform:translateX(calc(-100% - 50px));transform:translateX(calc(-100% - 50px))}:host(.animate-left-outro) .close{-webkit-transform:translate(24px, 24px) rotate(-90deg);transform:translate(24px, 24px) rotate(-90deg)}:host(.animate-left) .close{right:0px;-webkit-transform:translate(36px, 24px) rotate(90deg);transform:translate(36px, 24px) rotate(90deg)}:host(.animate-right){-ms-flex-pack:end;justify-content:flex-end}:host(.animate-right) .window,:host(.animate-right)>::slotted([slot=window]){opacity:0;-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1)}:host(.animate-right-intro) .window,:host(.animate-right-intro)>::slotted([slot=window]){-webkit-transform:translateX(calc(100% + 50px));transform:translateX(calc(100% + 50px))}:host(.animate-right-opened.animate-right-outro) .window,:host(.animate-right-opened.animate-right-outro)>::slotted([slot=window]),:host(.animate-right-opened) .window,:host(.animate-right-opened)>::slotted([slot=window]){opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}:host(.animate-right-opened) .close,:host(.animate-right-opened.animate-right-outro) .close{opacity:1;-webkit-transform:translate(24px, 24px) rotate(0);transform:translate(24px, 24px) rotate(0)}:host(.animate-right-outro) .window,:host(.animate-right-outro)>::slotted([slot=window]){-webkit-transform:translateX(calc(100% + 50px));transform:translateX(calc(100% + 50px))}:host(.animate-right-outro) .close{-webkit-transform:translate(-24px, 24px) rotate(90deg);transform:translate(-24px, 24px) rotate(90deg)}:host(.animate-right) .close{left:0px;-webkit-transform:translate(-36px, 24px) rotate(-90deg);transform:translate(-36px, 24px) rotate(-90deg)}:host(.animate-top){-ms-flex-pack:center;justify-content:center;padding:2rem}@media (max-width: 767px){:host(.animate-top){padding:1rem}}:host(.animate-top) .window,:host(.animate-top)>::slotted([slot=window]){opacity:0;-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1)}:host(.animate-top-intro) .window,:host(.animate-top-intro)>::slotted([slot=window]){-webkit-transform:rotateX(-22deg) scale(0.5) translateY(40%);transform:rotateX(-22deg) scale(0.5) translateY(40%)}:host(.animate-top-opened.animate-top-outro) .window,:host(.animate-top-opened.animate-top-outro)>::slotted([slot=window]),:host(.animate-top-opened) .window,:host(.animate-top-opened)>::slotted([slot=window]){opacity:1;-webkit-transform:rotateX(0) scale(1) translateY(0);transform:rotateX(0) scale(1) translateY(0)}:host(.animate-top-outro) .window,:host(.animate-top-outro)>::slotted([slot=window]){-webkit-transform:rotateX(-22deg) scale(0.5) translateY(-40%);transform:rotateX(-22deg) scale(0.5) translateY(-40%)}@media (max-width: 767px){.mobile\\:w-12{width:3rem}}";
51
+
52
+ const MdsModal = class {
51
53
  constructor(hostRef) {
52
54
  index.registerInstance(this, hostRef);
53
55
  this.close = index.createEvent(this, "close", 7);
@@ -117,7 +119,7 @@ let MdsModal = class {
117
119
  :
118
120
  index.h("div", { class: clsx('window', (this.top || this.bottom) && `window-${this.top ? '-top' : ''}${this.bottom ? '-bottom' : ''}`) }, this.top &&
119
121
  index.h("slot", { name: "top" }), index.h("slot", null), this.bottom &&
120
- index.h("slot", { name: "bottom" })), !this.window && index.h("mds-icon", { name: "close", class: "close" })));
122
+ index.h("slot", { name: "bottom" })), !this.window && index.h("i", { innerHTML: miBaselineClose, class: "svg close" })));
121
123
  }
122
124
  get hostElement() { return index.getElement(this); }
123
125
  static get watchers() { return {
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-8c1a6a17.js');
3
+ const index = require('./index-6f89e656.js');
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v2.14.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v2.16.1 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  const patchBrowser = () => {
9
9
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('mds-modal.cjs.js', document.baseURI).href));
@@ -4,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "2.14.0",
7
+ "version": "2.16.1",
8
8
  "typescriptVersion": "4.5.4"
9
9
  },
10
10
  "collections": [],
@@ -1,26 +1,103 @@
1
-
2
-
3
- .animate-left, .animate-right {
4
- opacity: 0;
5
- transition-property: background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width;
6
- transition-duration: 500ms;
7
- transition-timing-function: cubic-bezier(1, 0, 0, 1);
1
+ @tailwind components;
2
+ .fixed{
3
+ position: fixed;
8
4
  }
9
-
10
- .animate-right-intro,
11
- .animate-right-outro {
12
- transform: translateX(calc(100% + 50px));
13
- }
14
- .border {
5
+ .absolute{
6
+ position: absolute;
7
+ }
8
+ .mx-6{
9
+ margin-left: 1.5rem;
10
+ margin-right: 1.5rem;
11
+ }
12
+ .ml-auto{
13
+ margin-left: auto;
14
+ }
15
+ .flex{
16
+ display: flex;
17
+ }
18
+ .w-16{
19
+ width: 4rem;
20
+ }
21
+ .min-w-0{
22
+ min-width: 0px;
23
+ }
24
+ .max-w-lg{
25
+ max-width: 32rem;
26
+ }
27
+ .max-w-xl{
28
+ max-width: 36rem;
29
+ }
30
+ .items-center{
31
+ align-items: center;
32
+ }
33
+ .gap-4{
34
+ gap: 1rem;
35
+ }
36
+ .truncate{
37
+ overflow: hidden;
38
+ text-overflow: ellipsis;
39
+ white-space: nowrap;
40
+ }
41
+ .rounded-full{
42
+ border-radius: 9999px;
43
+ }
44
+ .border{
15
45
  border-width: 1px;
16
46
  }
17
- .shadow {
47
+ .border-b{
48
+ border-bottom-width: 1px;
49
+ }
50
+ .border-t{
51
+ border-top-width: 1px;
52
+ }
53
+ .border-tone-neutral-09{
54
+ --tw-border-opacity: 1;
55
+ border-color: rgba(var(--tone-neutral-09), var(--tw-border-opacity));
56
+ }
57
+ .bg-transparent{
58
+ background-color: transparent;
59
+ }
60
+ .p-8{
61
+ padding: 2rem;
62
+ }
63
+ .p-4{
64
+ padding: 1rem;
65
+ }
66
+ .text-tone-neutral-02{
67
+ --tw-text-opacity: 1;
68
+ color: rgba(var(--tone-neutral-02), var(--tw-text-opacity));
69
+ }
70
+ .text-tone-neutral-04{
71
+ --tw-text-opacity: 1;
72
+ color: rgba(var(--tone-neutral-04), var(--tw-text-opacity));
73
+ }
74
+ .shadow{
18
75
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
19
76
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
20
77
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
21
78
  }
79
+ .svg{
80
+ display: flex;
81
+ }
82
+ .svg svg{
83
+ aspect-ratio: 1 / 1;
84
+ height: 100%;
85
+ width: 100%;
86
+ }
87
+ .animate-left,
88
+ .animate-right{
89
+ opacity: 0;
90
+ transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
91
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
92
+ transition-duration: 500ms;
93
+ transition-timing-function: cubic-bezier(1, 0, 0, 1);
94
+ }
95
+ .animate-right-intro,
96
+ .animate-right-outro {
97
+ transform: translateX(calc(100% + 50px));
98
+ }
22
99
 
23
- :host {
100
+ :host{
24
101
  pointer-events: none;
25
102
  position: fixed;
26
103
  top: 0px;
@@ -30,7 +107,7 @@
30
107
  display: flex;
31
108
  align-items: center;
32
109
  justify-content: center;
33
- background-color: rgba(var(--adjust-tone-01), var(--tw-bg-opacity));
110
+ background-color: rgba(var(--tone-neutral-01), var(--tw-bg-opacity));
34
111
  --tw-bg-opacity: 0;
35
112
  transition-duration: 700ms;
36
113
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
@@ -38,48 +115,52 @@
38
115
  perspective: 600px;
39
116
  }
40
117
 
41
- :host ( [position=top] ) {
118
+ :host ( [position=top] ){
42
119
  align-items: flex-start;
43
120
  justify-content: center;
44
121
  }
45
122
 
46
- :host ( [position=bottom] ) {
123
+ :host ( [position=bottom] ){
47
124
  align-items: flex-end;
48
125
  justify-content: center;
49
126
  }
50
127
 
51
- :host ( .animate-bottom-opened ), :host ( .animate-center-opened ), :host ( .animate-left-opened ), :host ( .animate-right-opened ), :host ( .animate-top-opened ) {
128
+ :host ( .animate-bottom-opened ),
129
+ :host ( .animate-center-opened ),
130
+ :host ( .animate-left-opened ),
131
+ :host ( .animate-right-opened ),
132
+ :host ( .animate-top-opened ){
52
133
  pointer-events: auto;
53
134
  --tw-bg-opacity: 0.5;
54
135
  transition-duration: 500ms;
55
136
  }
56
137
 
57
- .close {
138
+ .close{
58
139
  position: absolute;
59
140
  top: 0px;
60
141
  height: 2.25rem;
61
142
  width: 2.25rem;
62
143
  transform-origin: center;
63
144
  cursor: pointer;
145
+ fill: rgb(var(--tone-neutral-10));
64
146
  font-size: 2.25rem;
65
147
  line-height: 2.5rem;
66
- --tw-text-opacity: 1;
67
- color: rgba(var(--adjust-tone-10), var(--tw-text-opacity));
68
148
  opacity: 0;
69
- transition-property: background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width;
149
+ transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
150
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
70
151
  transition-duration: 500ms;
71
152
  transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
72
153
 
73
154
  transform: translate(0, 24px) rotate(90deg);
74
155
  }
75
156
 
76
- .window {
157
+ .window{
77
158
  display: grid;
78
159
  height: 100%;
79
160
  gap: 0px;
80
161
  overflow: auto;
81
162
 
82
- background-color: var(--window-background, rgb(var(--adjust-tone)));
163
+ background-color: var(--window-background, rgb(var(--tone-neutral)));
83
164
  box-shadow: var(--window-shadow, 0 25px 50px -12px rgb(0 0 0 / 0.25));
84
165
  grid-template-rows: 1fr;
85
166
 
@@ -99,100 +180,136 @@
99
180
  grid-template-rows: auto 1fr auto;
100
181
  }
101
182
 
102
- :host ( .animate-bottom ) {
183
+ :host ( .animate-bottom ){
103
184
  justify-content: center;
104
185
  padding: 2rem;
105
186
  }
106
187
 
107
- @media (max-width: 767px) {
108
-
109
- :host ( .animate-bottom ) {
188
+ @media (max-width: 767px){
189
+ :host ( .animate-bottom ){
110
190
  padding: 1rem;
111
191
  }
112
192
  }
113
193
 
114
- :host ( .animate-bottom ) .window, :host ( .animate-bottom ) > ::slotted ( [slot=window] ) {
194
+ :host ( .animate-bottom ) .window,
195
+ :host ( .animate-bottom ) > ::slotted ( [slot=window] ){
115
196
  opacity: 0;
116
- transition-property: background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width;
197
+ transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
198
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
117
199
  transition-duration: 500ms;
118
200
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
119
201
  }
120
202
 
121
- :host ( .animate-bottom-intro ) .window, :host ( .animate-bottom-intro ) > ::slotted ( [slot=window] ) {
203
+ :host ( .animate-bottom-intro ) .window,
204
+ :host ( .animate-bottom-intro ) > ::slotted ( [slot=window] ) {
122
205
  transform: rotateX(-22deg) scale(0.5) translateY(40%);
123
206
  }
124
207
 
125
- :host ( .animate-bottom-opened.animate-bottom-outro ) .window, :host ( .animate-bottom-opened.animate-bottom-outro ) > ::slotted ( [slot=window] ), :host ( .animate-bottom-opened ) .window, :host ( .animate-bottom-opened ) > ::slotted ( [slot=window] ) {
208
+ :host ( .animate-bottom-opened.animate-bottom-outro ) .window,
209
+ :host ( .animate-bottom-opened.animate-bottom-outro ) > ::slotted ( [slot=window] ),
210
+ :host ( .animate-bottom-opened ) .window,
211
+ :host ( .animate-bottom-opened ) > ::slotted ( [slot=window] ){
126
212
  opacity: 1;
127
213
 
128
214
  transform: rotateX(0) scale(1) translateY(0);
129
215
  }
130
216
 
131
- :host ( .animate-bottom-outro ) .window, :host ( .animate-bottom-outro ) > ::slotted ( [slot=window] ) {
217
+ :host ( .animate-bottom-outro ) .window,
218
+ :host ( .animate-bottom-outro ) > ::slotted ( [slot=window] ) {
132
219
  transform: rotateX(-22deg) scale(0.5) translateY(-40%);
133
220
  }
134
221
 
135
- :host ( .animate-center ) {
222
+ :host ( .animate-center ){
136
223
  justify-content: center;
137
224
  padding: 2rem;
138
225
  }
139
226
 
140
- @media (max-width: 767px) {
141
-
142
- :host ( .animate-center ) {
227
+ @media (max-width: 767px){
228
+ :host ( .animate-center ){
143
229
  padding: 1rem;
144
230
  }
145
231
  }
146
232
 
147
- :host ( .animate-center ) .window, :host ( .animate-center ) > ::slotted ( [slot=window] ) {
233
+
234
+ :host ( .animate-center ) .window,
235
+
236
+ :host ( .animate-center ) > ::slotted ( [slot=window] ){
148
237
  opacity: 0;
149
- transition-property: background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width;
238
+ transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
239
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
150
240
  transition-duration: 500ms;
151
241
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
152
242
  }
153
243
 
154
- :host ( .animate-center-intro ) .window, :host ( .animate-center-intro ) > ::slotted ( [slot=window] ) {
244
+
245
+ :host ( .animate-center-intro ) .window,
246
+
247
+ :host ( .animate-center-intro ) > ::slotted ( [slot=window] ) {
155
248
  transform: rotateX(-22deg) scale(0.5) translateY(40%);
156
249
  }
157
250
 
158
- :host ( .animate-center-opened.animate-center-outro ) .window, :host ( .animate-center-opened.animate-center-outro ) > ::slotted ( [slot=window] ), :host ( .animate-center-opened ) .window, :host ( .animate-center-opened ) > ::slotted ( [slot=window] ) {
251
+
252
+ :host ( .animate-center-opened.animate-center-outro ) .window,
253
+
254
+ :host ( .animate-center-opened.animate-center-outro ) > ::slotted ( [slot=window] ),
255
+
256
+ :host ( .animate-center-opened ) .window,
257
+
258
+ :host ( .animate-center-opened ) > ::slotted ( [slot=window] ){
159
259
  opacity: 1;
160
260
 
161
261
  transform: rotateX(0) scale(1) translateY(0);
162
262
  }
163
263
 
164
- :host ( .animate-center-outro ) .window, :host ( .animate-center-outro ) > ::slotted ( [slot=window] ) {
264
+
265
+ :host ( .animate-center-outro ) .window,
266
+
267
+ :host ( .animate-center-outro ) > ::slotted ( [slot=window] ) {
165
268
  transform: rotateX(-22deg) scale(0.5) translateY(-40%);
166
269
  }
167
270
 
168
- :host ( .animate-left ) {
271
+ :host ( .animate-left ){
169
272
  justify-content: flex-start;
170
273
  }
171
274
 
172
- :host ( .animate-left ) .window, :host ( .animate-left ) > ::slotted ( [slot=window] ) {
275
+ :host ( .animate-left ) .window,
276
+ :host ( .animate-left ) > ::slotted ( [slot=window] ){
173
277
  opacity: 0;
174
- transition-property: background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width;
278
+ transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
279
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
175
280
  transition-duration: 500ms;
176
281
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
177
282
  }
178
283
 
179
- :host ( .animate-left-intro ) .window, :host ( .animate-left-intro ) > ::slotted ( [slot=window] ) {
284
+ :host ( .animate-left-intro ) .window,
285
+ :host ( .animate-left-intro ) > ::slotted ( [slot=window] ) {
180
286
  transform: translateX(calc(-100% - 50px));
181
287
  }
182
288
 
183
- :host ( .animate-left-opened.animate-left-outro ) .window, :host ( .animate-left-opened.animate-left-outro ) > ::slotted ( [slot=window] ), :host ( .animate-left-opened ) .window, :host ( .animate-left-opened ) > ::slotted ( [slot=window] ) {
289
+
290
+ :host ( .animate-left-opened.animate-left-outro ) .window,
291
+
292
+ :host ( .animate-left-opened.animate-left-outro ) > ::slotted ( [slot=window] ),
293
+
294
+ :host ( .animate-left-opened ) .window,
295
+
296
+ :host ( .animate-left-opened ) > ::slotted ( [slot=window] ){
184
297
  opacity: 1;
185
298
 
186
299
  transform: translateX(0);
187
300
  }
188
301
 
189
- :host ( .animate-left-opened ) .close, :host ( .animate-left-opened.animate-left-outro ) .close {
302
+ :host ( .animate-left-opened ) .close,
303
+ :host ( .animate-left-opened.animate-left-outro ) .close{
190
304
  opacity: 1;
191
305
 
192
306
  transform: translate(-24px, 24px) rotate(0);
193
307
  }
194
308
 
195
- :host ( .animate-left-outro ) .window, :host ( .animate-left-outro ) > ::slotted ( [slot=window] ) {
309
+
310
+ :host ( .animate-left-outro ) .window,
311
+
312
+ :host ( .animate-left-outro ) > ::slotted ( [slot=window] ) {
196
313
  transform: translateX(calc(-100% - 50px));
197
314
  }
198
315
 
@@ -200,40 +317,52 @@
200
317
  transform: translate(24px, 24px) rotate(-90deg);
201
318
  }
202
319
 
203
- :host ( .animate-left ) .close {
320
+ :host ( .animate-left ) .close{
204
321
  right: 0px;
205
322
 
206
323
  transform: translate(36px, 24px) rotate(90deg);
207
324
  }
208
325
 
209
- :host ( .animate-right ) {
326
+ :host ( .animate-right ){
210
327
  justify-content: flex-end;
211
328
  }
212
329
 
213
- :host ( .animate-right ) .window, :host ( .animate-right ) > ::slotted ( [slot=window] ) {
330
+
331
+ :host ( .animate-right ) .window,
332
+
333
+ :host ( .animate-right ) > ::slotted ( [slot=window] ){
214
334
  opacity: 0;
215
- transition-property: background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width;
335
+ transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
336
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
216
337
  transition-duration: 500ms;
217
338
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
218
339
  }
219
340
 
220
- :host ( .animate-right-intro ) .window, :host ( .animate-right-intro ) > ::slotted ( [slot=window] ) {
341
+ :host ( .animate-right-intro ) .window,
342
+ :host ( .animate-right-intro ) > ::slotted ( [slot=window] ) {
221
343
  transform: translateX(calc(100% + 50px));
222
344
  }
223
345
 
224
- :host ( .animate-right-opened.animate-right-outro ) .window, :host ( .animate-right-opened.animate-right-outro ) > ::slotted ( [slot=window] ), :host ( .animate-right-opened ) .window, :host ( .animate-right-opened ) > ::slotted ( [slot=window] ) {
346
+ :host ( .animate-right-opened.animate-right-outro ) .window,
347
+ :host ( .animate-right-opened.animate-right-outro ) > ::slotted ( [slot=window] ),
348
+ :host ( .animate-right-opened ) .window,
349
+ :host ( .animate-right-opened ) > ::slotted ( [slot=window] ){
225
350
  opacity: 1;
226
351
 
227
352
  transform: translateX(0);
228
353
  }
229
354
 
230
- :host ( .animate-right-opened ) .close, :host ( .animate-right-opened.animate-right-outro ) .close {
355
+ :host ( .animate-right-opened ) .close,
356
+ :host ( .animate-right-opened.animate-right-outro ) .close{
231
357
  opacity: 1;
232
358
 
233
359
  transform: translate(24px, 24px) rotate(0);
234
360
  }
235
361
 
236
- :host ( .animate-right-outro ) .window, :host ( .animate-right-outro ) > ::slotted ( [slot=window] ) {
362
+
363
+ :host ( .animate-right-outro ) .window,
364
+
365
+ :host ( .animate-right-outro ) > ::slotted ( [slot=window] ) {
237
366
  transform: translateX(calc(100% + 50px));
238
367
  }
239
368
 
@@ -241,42 +370,64 @@
241
370
  transform: translate(-24px, 24px) rotate(90deg);
242
371
  }
243
372
 
244
- :host ( .animate-right ) .close {
373
+ :host ( .animate-right ) .close{
245
374
  left: 0px;
246
375
 
247
376
  transform: translate(-36px, 24px) rotate(-90deg);
248
377
  }
249
378
 
250
- :host ( .animate-top ) {
379
+ :host ( .animate-top ){
251
380
  justify-content: center;
252
381
  padding: 2rem;
253
382
  }
254
383
 
255
- @media (max-width: 767px) {
256
-
257
- :host ( .animate-top ) {
384
+ @media (max-width: 767px){
385
+ :host ( .animate-top ){
258
386
  padding: 1rem;
259
387
  }
260
388
  }
261
389
 
262
- :host ( .animate-top ) .window, :host ( .animate-top ) > ::slotted ( [slot=window] ) {
390
+
391
+ :host ( .animate-top ) .window,
392
+
393
+ :host ( .animate-top ) > ::slotted ( [slot=window] ){
263
394
  opacity: 0;
264
- transition-property: background-color, border-color, box-shadow, color, height, margin, opacity, padding, transform, width;
395
+ transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
396
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
265
397
  transition-duration: 500ms;
266
398
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
267
399
  }
268
400
 
269
- :host ( .animate-top-intro ) .window, :host ( .animate-top-intro ) > ::slotted ( [slot=window] ) {
401
+
402
+ :host ( .animate-top-intro ) .window,
403
+
404
+ :host ( .animate-top-intro ) > ::slotted ( [slot=window] ) {
270
405
  transform: rotateX(-22deg) scale(0.5) translateY(40%);
271
406
  }
272
407
 
273
- :host ( .animate-top-opened.animate-top-outro ) .window, :host ( .animate-top-opened.animate-top-outro ) > ::slotted ( [slot=window] ), :host ( .animate-top-opened ) .window, :host ( .animate-top-opened ) > ::slotted ( [slot=window] ) {
408
+
409
+ :host ( .animate-top-opened.animate-top-outro ) .window,
410
+
411
+ :host ( .animate-top-opened.animate-top-outro ) > ::slotted ( [slot=window] ),
412
+
413
+ :host ( .animate-top-opened ) .window,
414
+
415
+ :host ( .animate-top-opened ) > ::slotted ( [slot=window] ){
274
416
  opacity: 1;
275
417
 
276
418
  transform: rotateX(0) scale(1) translateY(0);
277
419
  }
278
420
 
279
- :host ( .animate-top-outro ) .window, :host ( .animate-top-outro ) > ::slotted ( [slot=window] ) {
421
+
422
+ :host ( .animate-top-outro ) .window,
423
+
424
+ :host ( .animate-top-outro ) > ::slotted ( [slot=window] ) {
280
425
  transform: rotateX(-22deg) scale(0.5) translateY(-40%);
281
426
  }
282
427
 
428
+ @media (max-width: 767px){
429
+ .mobile\:w-12{
430
+ width: 3rem;
431
+ }
432
+ }
433
+