@frollo/frollo-web-ui 0.0.14 → 0.0.15

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/cjs/index.js CHANGED
@@ -1524,8 +1524,8 @@ addToUnscopables('includes');var script$3 = vue.defineComponent({
1524
1524
  border: 'border-primary focus-visible:ring-primary'
1525
1525
  },
1526
1526
  tertiary: {
1527
- text: 'text-tertiary hover:text-secondary active:text-secondary',
1528
- background: 'bg-secondary hover:bg-tertiary active:bg-tertiary',
1527
+ text: 'text-secondary hover:text-tertiary active:text-tertiary',
1528
+ background: 'bg-tertiary hover:bg-secondary active:bg-secondary',
1529
1529
  border: 'border-secondary focus-visible:ring-secondary'
1530
1530
  },
1531
1531
  success: {
@@ -1552,7 +1552,7 @@ addToUnscopables('includes');var script$3 = vue.defineComponent({
1552
1552
  var sizes = vue.ref({
1553
1553
  sm: 'px-2 py-0.5 text-sm',
1554
1554
  md: 'px-6 py-1 text-md',
1555
- lg: 'px-10 py-2 text-lg',
1555
+ lg: 'px-10 py-2.5 text-lg',
1556
1556
  xl: 'px-12 py-3 text-xl',
1557
1557
  '2xl': 'px-16 py-4 text-2xl'
1558
1558
  });
@@ -1628,7 +1628,7 @@ addToUnscopables('includes');var script$3 = vue.defineComponent({
1628
1628
  }
1629
1629
  });function render$3(_ctx, _cache, $props, $setup, $data, $options) {
1630
1630
  return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tagName), {
1631
- "class": vue.normalizeClass(["fw-button cursor-pointer whitespace-nowrap border-2 focus:outline-0 focus-visible:outline-0 focus:ring-none ring-offset-2 focus-visible:ring", [_ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 rounded-none font-normal' : 'font-bold rounded-full']]),
1631
+ "class": vue.normalizeClass(["fw-button inline-block text-center cursor-pointer whitespace-nowrap border-2 focus:outline-0 focus-visible:outline-0 focus:ring-none ring-offset-2 focus-visible:ring", [_ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 rounded-none font-normal' : 'font-bold rounded-full']]),
1632
1632
  type: _ctx.tagName === 'button' ? _ctx.buttonType : null,
1633
1633
  to: _ctx.to ? _ctx.to : null,
1634
1634
  href: _ctx.href ? _ctx.href : null,
@@ -1669,8 +1669,8 @@ addToUnscopables('includes');var script$3 = vue.defineComponent({
1669
1669
  } else {
1670
1670
  style.appendChild(document.createTextNode(css));
1671
1671
  }
1672
- }var css_248z$3 = ".fw-button{-webkit-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in}";
1673
- var stylesheet$3 = ".fw-button{-webkit-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in}";
1672
+ }var css_248z$3 = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in}";
1673
+ var stylesheet$3 = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in}";
1674
1674
  styleInject(css_248z$3);script$3.render = render$3;var script$2 = vue.defineComponent({
1675
1675
  name: 'FwNavigationMenu',
1676
1676
  emits: ['action'],
@@ -65,8 +65,8 @@ var script = defineComponent({
65
65
  border: 'border-primary focus-visible:ring-primary'
66
66
  },
67
67
  tertiary: {
68
- text: 'text-tertiary hover:text-secondary active:text-secondary',
69
- background: 'bg-secondary hover:bg-tertiary active:bg-tertiary',
68
+ text: 'text-secondary hover:text-tertiary active:text-tertiary',
69
+ background: 'bg-tertiary hover:bg-secondary active:bg-secondary',
70
70
  border: 'border-secondary focus-visible:ring-secondary'
71
71
  },
72
72
  success: {
@@ -93,7 +93,7 @@ var script = defineComponent({
93
93
  var sizes = ref({
94
94
  sm: 'px-2 py-0.5 text-sm',
95
95
  md: 'px-6 py-1 text-md',
96
- lg: 'px-10 py-2 text-lg',
96
+ lg: 'px-10 py-2.5 text-lg',
97
97
  xl: 'px-12 py-3 text-xl',
98
98
  '2xl': 'px-16 py-4 text-2xl'
99
99
  });
@@ -171,7 +171,7 @@ var script = defineComponent({
171
171
 
172
172
  function render(_ctx, _cache, $props, $setup, $data, $options) {
173
173
  return openBlock(), createBlock(resolveDynamicComponent(_ctx.tagName), {
174
- "class": normalizeClass(["fw-button cursor-pointer whitespace-nowrap border-2 focus:outline-0 focus-visible:outline-0 focus:ring-none ring-offset-2 focus-visible:ring", [_ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 rounded-none font-normal' : 'font-bold rounded-full']]),
174
+ "class": normalizeClass(["fw-button inline-block text-center cursor-pointer whitespace-nowrap border-2 focus:outline-0 focus-visible:outline-0 focus:ring-none ring-offset-2 focus-visible:ring", [_ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 rounded-none font-normal' : 'font-bold rounded-full']]),
175
175
  type: _ctx.tagName === 'button' ? _ctx.buttonType : null,
176
176
  to: _ctx.to ? _ctx.to : null,
177
177
  href: _ctx.href ? _ctx.href : null,
@@ -189,8 +189,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
189
189
  }, 8, ["class", "type", "to", "href", "tabindex", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
190
190
  }
191
191
 
192
- var css_248z = ".fw-button{-webkit-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in}";
193
- var stylesheet = ".fw-button{-webkit-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in}";
192
+ var css_248z = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in}";
193
+ var stylesheet = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in}";
194
194
  styleInject(css_248z);
195
195
 
196
196
  script.render = render;
package/esm/fw-button.js CHANGED
@@ -1,4 +1,4 @@
1
- export { s as FwButton } from './fw-button-ac2184d6.js';
1
+ export { s as FwButton } from './fw-button-3d8a5227.js';
2
2
  import './es.array.includes-a402ff0b.js';
3
3
  import './style-inject.es-4735be61.js';
4
4
  import 'vue';
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, createElementVNode, resolveComponent, openBlock, createElementBlock, renderSlot, createCommentVNode, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createVNode, Transition } from 'vue';
2
- import { s as script$1 } from './fw-button-ac2184d6.js';
2
+ import { s as script$1 } from './fw-button-3d8a5227.js';
3
3
  import { s as styleInject } from './style-inject.es-4735be61.js';
4
4
  import './es.array.includes-a402ff0b.js';
5
5
 
package/esm/index.js CHANGED
@@ -10,8 +10,8 @@ import { FwInput as script$3 } from './fw-input.js';
10
10
  export { FwInput } from './fw-input.js';
11
11
  import { FwCheckbox as script$4 } from './fw-checkbox.js';
12
12
  export { FwCheckbox } from './fw-checkbox.js';
13
- import { s as script$1 } from './fw-button-ac2184d6.js';
14
- export { s as FwButton } from './fw-button-ac2184d6.js';
13
+ import { s as script$1 } from './fw-button-3d8a5227.js';
14
+ export { s as FwButton } from './fw-button-3d8a5227.js';
15
15
  import { F as Form } from './vee-validate.esm-028c6424.js';
16
16
  export { F as FwForm } from './vee-validate.esm-028c6424.js';
17
17
  import 'vue';
@@ -1744,8 +1744,8 @@ var script$3 = defineComponent({
1744
1744
  border: 'border-primary focus-visible:ring-primary'
1745
1745
  },
1746
1746
  tertiary: {
1747
- text: 'text-tertiary hover:text-secondary active:text-secondary',
1748
- background: 'bg-secondary hover:bg-tertiary active:bg-tertiary',
1747
+ text: 'text-secondary hover:text-tertiary active:text-tertiary',
1748
+ background: 'bg-tertiary hover:bg-secondary active:bg-secondary',
1749
1749
  border: 'border-secondary focus-visible:ring-secondary'
1750
1750
  },
1751
1751
  success: {
@@ -1772,7 +1772,7 @@ var script$3 = defineComponent({
1772
1772
  var sizes = ref({
1773
1773
  sm: 'px-2 py-0.5 text-sm',
1774
1774
  md: 'px-6 py-1 text-md',
1775
- lg: 'px-10 py-2 text-lg',
1775
+ lg: 'px-10 py-2.5 text-lg',
1776
1776
  xl: 'px-12 py-3 text-xl',
1777
1777
  '2xl': 'px-16 py-4 text-2xl'
1778
1778
  });
@@ -1850,7 +1850,7 @@ var script$3 = defineComponent({
1850
1850
 
1851
1851
  function render$3(_ctx, _cache, $props, $setup, $data, $options) {
1852
1852
  return openBlock(), createBlock(resolveDynamicComponent(_ctx.tagName), {
1853
- "class": normalizeClass(["fw-button cursor-pointer whitespace-nowrap border-2 focus:outline-0 focus-visible:outline-0 focus:ring-none ring-offset-2 focus-visible:ring", [_ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 rounded-none font-normal' : 'font-bold rounded-full']]),
1853
+ "class": normalizeClass(["fw-button inline-block text-center cursor-pointer whitespace-nowrap border-2 focus:outline-0 focus-visible:outline-0 focus:ring-none ring-offset-2 focus-visible:ring", [_ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 rounded-none font-normal' : 'font-bold rounded-full']]),
1854
1854
  type: _ctx.tagName === 'button' ? _ctx.buttonType : null,
1855
1855
  to: _ctx.to ? _ctx.to : null,
1856
1856
  href: _ctx.href ? _ctx.href : null,
@@ -1895,8 +1895,8 @@ function styleInject(css, ref) {
1895
1895
  }
1896
1896
  }
1897
1897
 
1898
- var css_248z$3 = ".fw-button{-webkit-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in}";
1899
- var stylesheet$3 = ".fw-button{-webkit-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in}";
1898
+ var css_248z$3 = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in}";
1899
+ var stylesheet$3 = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in}";
1900
1900
  styleInject(css_248z$3);
1901
1901
 
1902
1902
  script$3.render = render$3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frollo/frollo-web-ui",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "Frollo's UI library for components, utilities and configs",
5
5
  "exports": {
6
6
  "./icons": "./icons/index.ts",