@solibo/solibo-ui 1.0.23 → 1.0.25

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.
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index21.css');const l=require("react/jsx-runtime"),i=require("../../classix-5H4IWnMA.cjs"),m="_form_zn9g2_1",a="_fill_zn9g2_45",t={form:m,fill:a},f=({animation:r,children:o,className:e,fill:s=!1,...n})=>l.jsx("form",{className:i.t(e,s&&t.fill,t.form),"data-animation":r,...n,"data-component":"form",children:o&&o});exports.Form=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index21.css');const l=require("react/jsx-runtime"),n=require("../../classix-5H4IWnMA.cjs"),i="_form_13ccq_1",m="_fill_13ccq_45",t={form:i,fill:m},a=({animation:r,children:o,className:e,fill:s=!1,...c})=>l.jsx("form",{className:n.t(e,s&&t.fill,t.form),"data-animation":r,...c,"data-component":"form",children:o&&o});exports.Form=a;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,15 +1,15 @@
1
- import { jsx as n } from "react/jsx-runtime";
1
+ import { jsx as c } from "react/jsx-runtime";
2
2
  import { t as s } from "../../classix-DG18itHa.js";
3
- import '../../assets/index21.css';const a = "_form_zn9g2_1", i = "_fill_zn9g2_45", m = {
3
+ import '../../assets/index21.css';const a = "_form_13ccq_1", n = "_fill_13ccq_45", m = {
4
4
  form: a,
5
- fill: i
5
+ fill: n
6
6
  }, _ = ({
7
7
  animation: r,
8
8
  children: o,
9
9
  className: t,
10
10
  fill: f = !1,
11
11
  ...l
12
- }) => /* @__PURE__ */ n("form", { className: s(t, f && m.fill, m.form), "data-animation": r, ...l, "data-component": "form", children: o && o });
12
+ }) => /* @__PURE__ */ c("form", { className: s(t, f && m.fill, m.form), "data-animation": r, ...l, "data-component": "form", children: o && o });
13
13
  export {
14
14
  _ as Form
15
15
  };
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index18.css');const t=require("react/jsx-runtime"),u=require("../../classix-5H4IWnMA.cjs"),_="_header_1gh64_1",m="_controls_1gh64_67",j="_cta_1gh64_94",b="_jumbo_1gh64_136",e={header:_,controls:m,cta:j,"header-content":"_header-content_1gh64_106",jumbo:b},g={default:e.default,jumbo:e.jumbo},x=({backButton:o,capitalize:r=!1,children:d,controls:s,cta:a,header:l,subHeader:h,variant:i="default"})=>{const c=t.jsxs("div",{className:e["header-content"],children:[o,l,h]}),n=s?t.jsxs("div",{className:e.controls,children:[c,s]}):c;return t.jsxs("header",{className:u.t(e.header,g[i],r&&e.capitalize),"data-component":"header",children:[a?t.jsxs("div",{className:e.cta,children:[n,a]}):n,d]})};exports.Header=x;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index18.css');const t=require("react/jsx-runtime"),u=require("../../classix-5H4IWnMA.cjs"),_="_header_ct7nd_1",m="_controls_ct7nd_67",j="_cta_ct7nd_94",b="_jumbo_ct7nd_143",e={header:_,controls:m,cta:j,"header-content":"_header-content_ct7nd_106",jumbo:b},x={default:e.default,jumbo:e.jumbo},f=({backButton:o,capitalize:r=!1,children:d,controls:s,cta:c,header:l,subHeader:i,variant:h="default"})=>{const n=t.jsxs("div",{className:e["header-content"],children:[o,l,i]}),a=s?t.jsxs("div",{className:e.controls,children:[n,s]}):n;return t.jsxs("header",{className:u.t(e.header,x[h],r&&e.capitalize),"data-component":"header",children:[c?t.jsxs("div",{className:e.cta,children:[a,c]}):a,d]})};exports.Header=f;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,41 +1,41 @@
1
1
  import { jsxs as t } from "react/jsx-runtime";
2
2
  import { t as _ } from "../../classix-DG18itHa.js";
3
- import '../../assets/index18.css';const i = "_header_1gh64_1", u = "_controls_1gh64_67", f = "_cta_1gh64_94", j = "_jumbo_1gh64_136", e = {
3
+ import '../../assets/index18.css';const i = "_header_ct7nd_1", u = "_controls_ct7nd_67", f = "_cta_ct7nd_94", j = "_jumbo_ct7nd_143", e = {
4
4
  header: i,
5
5
  controls: u,
6
6
  cta: f,
7
- "header-content": "_header-content_1gh64_106",
7
+ "header-content": "_header-content_ct7nd_106",
8
8
  jumbo: j
9
9
  }, b = {
10
10
  default: e.default,
11
11
  jumbo: e.jumbo
12
- }, v = ({
13
- backButton: r,
14
- capitalize: s = !1,
15
- children: d,
12
+ }, N = ({
13
+ backButton: d,
14
+ capitalize: r = !1,
15
+ children: s,
16
16
  controls: a,
17
- cta: o,
18
- header: h,
19
- subHeader: l,
17
+ cta: c,
18
+ header: l,
19
+ subHeader: h,
20
20
  variant: m = "default"
21
21
  }) => {
22
- const c = /* @__PURE__ */ t("div", { className: e["header-content"], children: [
23
- r,
24
- h,
25
- l
26
- ] }), n = a ? /* @__PURE__ */ t("div", { className: e.controls, children: [
27
- c,
22
+ const n = /* @__PURE__ */ t("div", { className: e["header-content"], children: [
23
+ d,
24
+ l,
25
+ h
26
+ ] }), o = a ? /* @__PURE__ */ t("div", { className: e.controls, children: [
27
+ n,
28
28
  a
29
- ] }) : c;
30
- return /* @__PURE__ */ t("header", { className: _(e.header, b[m], s && e.capitalize), "data-component": "header", children: [
31
- o ? /* @__PURE__ */ t("div", { className: e.cta, children: [
32
- n,
33
- o
34
- ] }) : n,
35
- d
29
+ ] }) : n;
30
+ return /* @__PURE__ */ t("header", { className: _(e.header, b[m], r && e.capitalize), "data-component": "header", children: [
31
+ c ? /* @__PURE__ */ t("div", { className: e.cta, children: [
32
+ o,
33
+ c
34
+ ] }) : o,
35
+ s
36
36
  ] });
37
37
  };
38
38
  export {
39
- v as Header
39
+ N as Header
40
40
  };
41
41
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index47.css');const o=require("react/jsx-runtime"),N=require("../../classix-5H4IWnMA.cjs"),l=require("react");function g(t){return l.isValidElement(t)&&t.type===l.Fragment}function j(t,s=[]){return l.Children.forEach(t,e=>{g(e)?j(e.props.children,s):s.push(e)}),s}function k(t,{wrapper:s="li"}={}){return j(t).filter(n=>n!==null).map((n,r)=>{if(l.isValidElement(n)&&n.type===s)return n;const c=l.isValidElement(n)&&n.key!=null?n.key:r;return l.createElement(s,{key:c},n)})}const d="_controls_1n69k_1",z="_horizontal_1n69k_6",F="_list_1n69k_17",V="_columns_1n69k_58",b="_compact_1n69k_67",i={controls:d,horizontal:z,list:F,columns:V,compact:b},x=(t,s)=>{typeof t=="function"?t(s):t&&(t.current=s)};function q({children:t,className:s,columns:e=1,compact:u=!1,controls:n,horizontal:r,ordered:c,ref:m,style:E,...f}){const _=Number.isFinite(e)?Math.max(1,Math.floor(e)):1,y=N.t(s,i.list,_>1&&i.columns,r&&i.horizontal,u&&i.compact),p={...E,"--list-columns":_},h=c?o.jsx("ol",{className:y,ref:a=>x(m,a),style:p,...f,children:k(t)}):o.jsx("ul",{className:y,ref:a=>x(m,a),style:p,...f,children:k(t)});return n==null?h:o.jsxs(o.Fragment,{children:[o.jsx("div",{className:i.controls,children:n}),h]})}exports.List=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index47.css');const i=require("react/jsx-runtime"),g=require("../../classix-5H4IWnMA.cjs"),l=require("react");function d(t){return l.isValidElement(t)&&t.type===l.Fragment}function E(t,e=[]){return l.Children.forEach(t,n=>{d(n)?E(n.props.children,e):e.push(n)}),e}function x(t,{wrapper:e="li"}={}){return E(t).filter(s=>s!==null).map((s,r)=>{if(l.isValidElement(s)&&s.type===e)return s;const c=l.isValidElement(s)&&s.key!=null?s.key:r;return l.createElement(e,{key:c},s)})}const z="_controls_17ti2_1",F="_horizontal_17ti2_6",V="_list_17ti2_17",b="_columns_17ti2_57",k="_compact_17ti2_68",o={controls:z,horizontal:F,list:V,columns:b,compact:k},j=(t,e)=>{typeof t=="function"?t(e):t&&(t.current=e)};function q({children:t,className:e,columns:n=1,compact:u=!1,controls:s,horizontal:r,ordered:c,ref:m,style:N,...f}){const _=Number.isFinite(n)?Math.max(1,Math.floor(n)):1,y=g.t(e,o.list,_>1&&o.columns,r&&o.horizontal,u&&o.compact),p={...N,"--list-columns":_},h=c?i.jsx("ol",{className:y,ref:a=>j(m,a),style:p,...f,children:x(t)}):i.jsx("ul",{className:y,ref:a=>j(m,a),style:p,...f,children:x(t)});return s==null?h:i.jsxs(i.Fragment,{children:[i.jsx("div",{className:o.controls,children:s}),h]})}exports.List=q;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,33 +1,33 @@
1
- import { jsx as a, jsxs as z, Fragment as F } from "react/jsx-runtime";
2
- import { t as V } from "../../classix-DG18itHa.js";
1
+ import { jsx as a, jsxs as F, Fragment as V } from "react/jsx-runtime";
2
+ import { t as d } from "../../classix-DG18itHa.js";
3
3
  import e from "react";
4
- import '../../assets/index47.css';function d(t) {
4
+ import '../../assets/index47.css';function g(t) {
5
5
  return e.isValidElement(t) && t.type === e.Fragment;
6
6
  }
7
- function N(t, s = []) {
7
+ function x(t, s = []) {
8
8
  return e.Children.forEach(t, (l) => {
9
- d(l) ? N(l.props.children, s) : s.push(l);
9
+ g(l) ? x(l.props.children, s) : s.push(l);
10
10
  }), s;
11
11
  }
12
- function k(t, {
12
+ function E(t, {
13
13
  wrapper: s = "li"
14
14
  } = {}) {
15
- return N(t).filter((n) => n !== null).map((n, r) => {
15
+ return x(t).filter((n) => n !== null).map((n, i) => {
16
16
  if (e.isValidElement(n) && n.type === s)
17
17
  return n;
18
- const i = e.isValidElement(n) && n.key != null ? n.key : r;
18
+ const r = e.isValidElement(n) && n.key != null ? n.key : i;
19
19
  return e.createElement(s, {
20
- key: i
20
+ key: r
21
21
  }, n);
22
22
  });
23
23
  }
24
- const g = "_controls_1n69k_1", C = "_horizontal_1n69k_6", j = "_list_1n69k_17", v = "_columns_1n69k_58", L = "_compact_1n69k_67", o = {
25
- controls: g,
24
+ const k = "_controls_17ti2_1", C = "_horizontal_17ti2_6", j = "_list_17ti2_17", v = "_columns_17ti2_57", L = "_compact_17ti2_68", o = {
25
+ controls: k,
26
26
  horizontal: C,
27
27
  list: j,
28
28
  columns: v,
29
29
  compact: L
30
- }, E = (t, s) => {
30
+ }, N = (t, s) => {
31
31
  typeof t == "function" ? t(s) : t && (t.current = s);
32
32
  };
33
33
  function w({
@@ -36,17 +36,17 @@ function w({
36
36
  columns: l = 1,
37
37
  compact: m = !1,
38
38
  controls: n,
39
- horizontal: r,
40
- ordered: i,
39
+ horizontal: i,
40
+ ordered: r,
41
41
  ref: u,
42
- style: x,
42
+ style: z,
43
43
  ...f
44
44
  }) {
45
- const _ = Number.isFinite(l) ? Math.max(1, Math.floor(l)) : 1, p = V(s, o.list, _ > 1 && o.columns, r && o.horizontal, m && o.compact), y = {
46
- ...x,
45
+ const _ = Number.isFinite(l) ? Math.max(1, Math.floor(l)) : 1, p = d(s, o.list, _ > 1 && o.columns, i && o.horizontal, m && o.compact), y = {
46
+ ...z,
47
47
  "--list-columns": _
48
- }, h = i ? /* @__PURE__ */ a("ol", { className: p, ref: (c) => E(u, c), style: y, ...f, children: k(t) }) : /* @__PURE__ */ a("ul", { className: p, ref: (c) => E(u, c), style: y, ...f, children: k(t) });
49
- return n == null ? h : /* @__PURE__ */ z(F, { children: [
48
+ }, h = r ? /* @__PURE__ */ a("ol", { className: p, ref: (c) => N(u, c), style: y, ...f, children: E(t) }) : /* @__PURE__ */ a("ul", { className: p, ref: (c) => N(u, c), style: y, ...f, children: E(t) });
49
+ return n == null ? h : /* @__PURE__ */ F(V, { children: [
50
50
  /* @__PURE__ */ a("div", { className: o.controls, children: n }),
51
51
  h
52
52
  ] });
package/dist/tokens.json CHANGED
@@ -365,7 +365,7 @@
365
365
  },
366
366
  "com.solibo": {
367
367
  "packageName": "@solibo/solibo-ui",
368
- "packageVersion": "1.0.23"
368
+ "packageVersion": "1.0.25"
369
369
  }
370
370
  },
371
371
  "$name": "Solibo UI Tokens",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solibo/solibo-ui",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "pnpm run tokens:build && vite build --watch",