@empathyco/x-components 3.0.0-alpha.327 → 3.0.0-alpha.329

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 CHANGED
@@ -3,6 +3,27 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.0.0-alpha.329](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.328...@empathyco/x-components@3.0.0-alpha.329) (2023-03-09)
7
+
8
+ **Note:** Version bump only for package @empathyco/x-components
9
+
10
+ # Change Log
11
+
12
+ All notable changes to this project will be documented in this file. See
13
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
14
+
15
+ ## [3.0.0-alpha.328](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.327...@empathyco/x-components@3.0.0-alpha.328) (2023-03-07)
16
+
17
+ ### Bug Fixes
18
+
19
+ - **edocs-live-examples:** Live example was not rendered
20
+ ([5aa2653](https://github.com/empathyco/x/commit/5aa2653054686a3a6b8ada0478f171518d7733c2))
21
+
22
+ # Change Log
23
+
24
+ All notable changes to this project will be documented in this file. See
25
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
26
+
6
27
  ## [3.0.0-alpha.327](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.326...@empathyco/x-components@3.0.0-alpha.327) (2023-03-07)
7
28
 
8
29
  ### Bug Fixes
@@ -1910,6 +1910,27 @@
1910
1910
  .x-message > p {
1911
1911
  margin: 0;
1912
1912
  }
1913
+ :root {
1914
+ --x-string-justify-message-default: center;
1915
+ --x-size-gap-message-default: var(--x-size-base-03);
1916
+ --x-size-padding-message-default: var(--x-size-base-06);
1917
+ --x-color-background-message-default: var(--x-color-base-neutral-95);
1918
+ --x-color-border-message-default: var(--x-color-background-message-default);
1919
+ --x-color-text-message-default: var(--x-color-text-default);
1920
+ --x-size-border-radius-message-default: var(--x-size-border-radius-base-m);
1921
+ --x-size-border-radius-top-left-message-default: var(--x-size-border-radius-message-default);
1922
+ --x-size-border-radius-top-right-message-default: var(--x-size-border-radius-message-default);
1923
+ --x-size-border-radius-bottom-right-message-default: var(--x-size-border-radius-message-default);
1924
+ --x-size-border-radius-bottom-left-message-default: var(--x-size-border-radius-message-default);
1925
+ --x-size-border-width-message-default: var(--x-size-border-width-base);
1926
+ --x-size-border-width-top-message-default: var(--x-size-border-width-message-default);
1927
+ --x-size-border-width-right-message-default: var(--x-size-border-width-message-default);
1928
+ --x-size-border-width-bottom-message-default: var(--x-size-border-width-message-default);
1929
+ --x-size-border-width-left-message-default: var(--x-size-border-width-message-default);
1930
+ --x-font-family-message-default: var(--x-font-family-title3);
1931
+ --x-size-font-message-default: var(--x-size-font-title3);
1932
+ --x-number-font-weight-message-default: var(--x-number-font-weight-title3);
1933
+ }
1913
1934
  .x-option-list--bottom.x-option-list,
1914
1935
  .x-option-list--bottom .x-option-list {
1915
1936
  --x-color-text-option-list-button-default: var(--x-color-text-option-list-button-bottom);
@@ -5968,25 +5989,3 @@
5968
5989
  .x-sticky {
5969
5990
  position: sticky !important;
5970
5991
  }
5971
-
5972
- :root {
5973
- --x-string-justify-message-default: center;
5974
- --x-size-gap-message-default: var(--x-size-base-03);
5975
- --x-size-padding-message-default: var(--x-size-base-06);
5976
- --x-color-background-message-default: var(--x-color-base-neutral-95);
5977
- --x-color-border-message-default: var(--x-color-background-message-default);
5978
- --x-color-text-message-default: var(--x-color-text-default);
5979
- --x-size-border-radius-message-default: var(--x-size-border-radius-base-m);
5980
- --x-size-border-radius-top-left-message-default: var(--x-size-border-radius-message-default);
5981
- --x-size-border-radius-top-right-message-default: var(--x-size-border-radius-message-default);
5982
- --x-size-border-radius-bottom-right-message-default: var(--x-size-border-radius-message-default);
5983
- --x-size-border-radius-bottom-left-message-default: var(--x-size-border-radius-message-default);
5984
- --x-size-border-width-message-default: var(--x-size-border-width-base);
5985
- --x-size-border-width-top-message-default: var(--x-size-border-width-message-default);
5986
- --x-size-border-width-right-message-default: var(--x-size-border-width-message-default);
5987
- --x-size-border-width-bottom-message-default: var(--x-size-border-width-message-default);
5988
- --x-size-border-width-left-message-default: var(--x-size-border-width-message-default);
5989
- --x-font-family-message-default: var(--x-font-family-title3);
5990
- --x-size-font-message-default: var(--x-size-font-title3);
5991
- --x-number-font-weight-message-default: var(--x-number-font-weight-title3);
5992
- }
@@ -38,7 +38,7 @@ Wrapping a component:
38
38
  import { Fade } from "@empathyco/x-components";
39
39
  export default {
40
40
  name: "FadeAnimationDemo",
41
- component: {
41
+ components: {
42
42
  Fade
43
43
  },
44
44
  data() {
@@ -30,7 +30,7 @@ __vue_render__._withStripped = true;
30
30
  /* style */
31
31
  const __vue_inject_styles__ = undefined;
32
32
  /* scoped */
33
- const __vue_scope_id__ = "data-v-78b428ba";
33
+ const __vue_scope_id__ = "data-v-5e4322a1";
34
34
  /* module identifier */
35
35
  const __vue_module_identifier__ = undefined;
36
36
  /* functional template */
@@ -1 +1 @@
1
- {"version":3,"file":"fade.vue.js","sources":["../../../../src/components/animations/fade.vue"],"sourcesContent":["<template>\n <transition v-on=\"$listeners\" name=\"x-fade-\" v-bind=\"$attrs\" :appear=\"appear\">\n <!-- @slot (Required) to add content to the transition -->\n <slot />\n </transition>\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n\n /**\n * Renders a transition wrapping the element passed in the default slot. The animation just fades\n * in/out the element by changing its opacity.\n *\n * @public\n */\n @Component({\n inheritAttrs: false\n })\n export default class Fade extends Vue {\n /**\n * Indicates if the transition must be applied on the initial render of the node.\n */\n @Prop({\n type: Boolean,\n default: true\n })\n public appear!: boolean;\n }\n</script>\n\n<style lang=\"scss\" scoped>\n .x-fade {\n &--enter-active,\n &--leave-active {\n transition: opacity 0.25s ease-in-out;\n }\n\n &--leave-to,\n &--enter {\n opacity: 0;\n }\n }\n</style>\n\n<docs lang=\"mdx\">\n## Example\n\nThe `Fade` component is intended to be used as animation to wrap an element with v-if or v-show and\nanimate it. The animation just fades in/out the element by changing its opacity.\n\nWrapping a component:\n\n```vue live\n<template>\n <div>\n <button @click=\"shouldRender = !shouldRender\">Toggle</button>\n <Fade>\n <p v-if=\"shouldRender\">León is southern Spain</p>\n </Fade>\n </div>\n</template>\n<script>\n import { Fade } from '@empathyco/x-components';\n export default {\n name: 'FadeAnimationDemo',\n component: {\n Fade\n },\n data() {\n return {\n shouldRender: false\n };\n }\n };\n</script>\n```\n</docs>\n"],"names":[],"mappings":";;;;;AAEA,MAAc,cAAA,GAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"fade.vue.js","sources":["../../../../src/components/animations/fade.vue"],"sourcesContent":["<template>\n <transition v-on=\"$listeners\" name=\"x-fade-\" v-bind=\"$attrs\" :appear=\"appear\">\n <!-- @slot (Required) to add content to the transition -->\n <slot />\n </transition>\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n\n /**\n * Renders a transition wrapping the element passed in the default slot. The animation just fades\n * in/out the element by changing its opacity.\n *\n * @public\n */\n @Component({\n inheritAttrs: false\n })\n export default class Fade extends Vue {\n /**\n * Indicates if the transition must be applied on the initial render of the node.\n */\n @Prop({\n type: Boolean,\n default: true\n })\n public appear!: boolean;\n }\n</script>\n\n<style lang=\"scss\" scoped>\n .x-fade {\n &--enter-active,\n &--leave-active {\n transition: opacity 0.25s ease-in-out;\n }\n\n &--leave-to,\n &--enter {\n opacity: 0;\n }\n }\n</style>\n\n<docs lang=\"mdx\">\n## Example\n\nThe `Fade` component is intended to be used as animation to wrap an element with v-if or v-show and\nanimate it. The animation just fades in/out the element by changing its opacity.\n\nWrapping a component:\n\n```vue live\n<template>\n <div>\n <button @click=\"shouldRender = !shouldRender\">Toggle</button>\n <Fade>\n <p v-if=\"shouldRender\">León is southern Spain</p>\n </Fade>\n </div>\n</template>\n<script>\n import { Fade } from '@empathyco/x-components';\n export default {\n name: 'FadeAnimationDemo',\n components: {\n Fade\n },\n data() {\n return {\n shouldRender: false\n };\n }\n };\n</script>\n```\n</docs>\n"],"names":[],"mappings":";;;;;AAEA,MAAc,cAAA,GAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { createInjector, createInjectorSSR } from 'vue-runtime-helpers';
2
2
 
3
- var css = ".x-fade--enter-active[data-v-78b428ba], .x-fade--leave-active[data-v-78b428ba] {\n transition: opacity 0.25s ease-in-out;\n}\n.x-fade--leave-to[data-v-78b428ba], .x-fade--enter[data-v-78b428ba] {\n opacity: 0;\n}";
3
+ var css = ".x-fade--enter-active[data-v-5e4322a1], .x-fade--leave-active[data-v-5e4322a1] {\n transition: opacity 0.25s ease-in-out;\n}\n.x-fade--leave-to[data-v-5e4322a1], .x-fade--enter[data-v-5e4322a1] {\n opacity: 0;\n}";
4
4
  const isBrowser = /*#__PURE__*/ (function () {
5
5
  return (
6
6
  Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) !==
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empathyco/x-components",
3
- "version": "3.0.0-alpha.327",
3
+ "version": "3.0.0-alpha.329",
4
4
  "description": "Empathy X Components",
5
5
  "author": "Empathy Systems Corporation S.L.",
6
6
  "license": "Apache-2.0",
@@ -89,7 +89,7 @@
89
89
  "@badeball/cypress-cucumber-preprocessor": "~15.0.0",
90
90
  "@bahmutov/cypress-esbuild-preprocessor": "~2.2.0",
91
91
  "@cypress/vue": "~2.2.4",
92
- "@empathyco/x-adapter-platform": "^1.0.0-alpha.65",
92
+ "@empathyco/x-adapter-platform": "^1.0.0-alpha.66",
93
93
  "@empathyco/x-tailwindcss": "^1.0.0-alpha.13",
94
94
  "@microsoft/api-documenter": "~7.21.3",
95
95
  "@microsoft/api-extractor": "~7.33.7",
@@ -140,5 +140,5 @@
140
140
  "access": "public",
141
141
  "directory": "dist"
142
142
  },
143
- "gitHead": "17d561179b659fa82195f26392d2a0238d322f29"
143
+ "gitHead": "7b57f13f4e72b7625a866571e175859c647ff3c8"
144
144
  }