@agregio-solutions/design-system 1.14.0 → 1.14.1

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.
@@ -107,7 +107,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Tr]+=1);function K1(e){return
107
107
  cursor: pointer;
108
108
  white-space: nowrap;
109
109
 
110
- &[data-full-width] {
110
+ &[data-fullwidth="true"] {
111
111
  width: 100%;
112
112
  }
113
113
 
@@ -365,7 +365,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Tr]+=1);function K1(e){return
365
365
  --hover-background-color: transparent;
366
366
  }
367
367
  }
368
- `;function et({text:e,mode:t="primary",size:r="medium",nature:n="action",iconLeft:o,iconRight:i,type:a,onClick:l,disabled:s,fullWidth:c,...d}){const p=e==null||e==="";if(p&&!o&&!i)throw new Error("You must provide a text or an icon");if(o&&i)throw new Error("You can't provide both an iconLeft and an iconRight");return v.jsxs(Yh,{...d,type:a||"button","data-size":r,"data-nature":n,"data-mode":t,"data-has-icon-left":!!o,"data-has-icon-right":!!i,"data-has-no-text":p,"data-full-width":c,onPress:l,isDisabled:s,children:[!!o&&v.jsx(fa,{name:o,"data-size":r}),!p&&v.jsx(Eu,{"data-size":r,children:e}),!!i&&v.jsx(fa,{name:i,"data-size":r})]})}const Xh=K.span`
368
+ `;function et({text:e,mode:t="primary",size:r="medium",nature:n="action",iconLeft:o,iconRight:i,type:a,onClick:l,disabled:s,fullWidth:c,...d}){const p=e==null||e==="";if(p&&!o&&!i)throw new Error("You must provide a text or an icon");if(o&&i)throw new Error("You can't provide both an iconLeft and an iconRight");return v.jsxs(Yh,{...d,type:a||"button","data-size":r,"data-nature":n,"data-mode":t,"data-has-icon-left":!!o,"data-has-icon-right":!!i,"data-has-no-text":p,"data-fullwidth":c,onPress:l,isDisabled:s,children:[!!o&&v.jsx(fa,{name:o,"data-size":r}),!p&&v.jsx(Eu,{"data-size":r,children:e}),!!i&&v.jsx(fa,{name:i,"data-size":r})]})}const Xh=K.span`
369
369
  display: inline-flex;
370
370
  align-items: center;
371
371
  justify-content: center;
@@ -9364,7 +9364,7 @@ const nv = {
9364
9364
  cursor: pointer;
9365
9365
  white-space: nowrap;
9366
9366
 
9367
- &[data-full-width] {
9367
+ &[data-fullwidth="true"] {
9368
9368
  width: 100%;
9369
9369
  }
9370
9370
 
@@ -9652,7 +9652,7 @@ function vt({
9652
9652
  "data-has-icon-left": !!o,
9653
9653
  "data-has-icon-right": !!i,
9654
9654
  "data-has-no-text": f,
9655
- "data-full-width": c,
9655
+ "data-fullwidth": c,
9656
9656
  onPress: l,
9657
9657
  isDisabled: s,
9658
9658
  children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agregio-solutions/design-system",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "description": "React Component library and Storybook that is part of the Design System for Agregio Solutions",
5
5
  "type": "module",
6
6
  "module": "dist/design-system.js",