kwant-ui 3.51.0-dev.31 → 3.51.0-dev.32

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/dist/index.es.js CHANGED
@@ -173,7 +173,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import n,{css as
173
173
  justify-content: center;
174
174
  align-items: center;
175
175
  gap: 0.5rem;
176
- `,ue=r=>{const{label:n,buttontype:a="primary",disabled:c=!1,onClick:i,leftIcon:o,rightIcon:s,buttonElementProps:l,isSplitButton:h,...v}=r;return e(he,{rightIcon:s,leftIcon:o,buttontype:a,disabled:c,label:n,isSplitButton:h,...v,children:t("button",{onClick:e=>(e=>{c||i&&i(e)})(e),disabled:c,...l,children:[t(pe,{children:[o&&o," ",n&&e("p",{children:n})]}),h&&e(ve,{}),s&&s]})})},ge=n.div`
176
+ `,ue=r=>{const{label:n,buttontype:a="primary",disabled:c=!1,onClick:i,leftIcon:o,rightIcon:s,buttonElementProps:l,isSplitButton:h,...v}=r;return e(he,{rightIcon:s,leftIcon:o,buttontype:a,disabled:c,label:n,isSplitButton:h,...v,children:t("button",{onClick:e=>(e=>{c||i&&i(e)})(e),disabled:c,...l,children:[(o||n)&&t(pe,{children:[o,n&&e("p",{children:n})]}),h&&e(ve,{}),s&&s]})})},ge=n.div`
177
177
  height: 100%;
178
178
  display: flex;
179
179
  flex-direction: ${e=>`\n ${"row"===e.direction?"row":"column"};`};
package/dist/index.js CHANGED
@@ -173,7 +173,7 @@
173
173
  justify-content: center;
174
174
  align-items: center;
175
175
  gap: 0.5rem;
176
- `,$=t=>{const{label:r,buttontype:n="primary",disabled:a=!1,onClick:c,leftIcon:i,rightIcon:o,buttonElementProps:s,isSplitButton:l,...h}=t;return e.jsx(N,{rightIcon:o,leftIcon:i,buttontype:n,disabled:a,label:r,isSplitButton:l,...h,children:e.jsxs("button",{onClick:e=>(e=>{a||c&&c(e)})(e),disabled:a,...s,children:[e.jsxs(Q,{children:[i&&i," ",r&&e.jsx("p",{children:r})]}),l&&e.jsx(F,{}),o&&o]})})},Y=t.div`
176
+ `,$=t=>{const{label:r,buttontype:n="primary",disabled:a=!1,onClick:c,leftIcon:i,rightIcon:o,buttonElementProps:s,isSplitButton:l,...h}=t;return e.jsx(N,{rightIcon:o,leftIcon:i,buttontype:n,disabled:a,label:r,isSplitButton:l,...h,children:e.jsxs("button",{onClick:e=>(e=>{a||c&&c(e)})(e),disabled:a,...s,children:[(i||r)&&e.jsxs(Q,{children:[i,r&&e.jsx("p",{children:r})]}),l&&e.jsx(F,{}),o&&o]})})},Y=t.div`
177
177
  height: 100%;
178
178
  display: flex;
179
179
  flex-direction: ${e=>`\n ${"row"===e.direction?"row":"column"};`};
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kwant-ui",
3
- "version": "3.51.0-dev.31",
3
+ "version": "3.51.0-dev.32",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "types": "./dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kwant-ui",
3
- "version": "3.51.0-dev.31",
3
+ "version": "3.51.0-dev.32",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "types": "./dist/index.d.ts",