@solibo/solibo-ui 0.4.8 → 0.4.9

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 +1 @@
1
- ._card_1ol7h_1{background-color:var(--color-white);border:var(--border-width) solid var(--colors-semantic-border-default);border-radius:var(--border-radius);cursor:pointer;box-shadow:var(--shadow-big);max-width:100%!important;min-width:0;overflow:hidden!important;padding:var(--padding-box);position:relative;text-overflow:ellipsis;transition:width var(--transition-duration) var(--transition-timing-function)}._card_1ol7h_1:has(select){overflow:visible!important}._card_1ol7h_1._draft_1ol7h_19{background-color:var(--colors-orange-50)}._card_1ol7h_1._scheduled_1ol7h_23{opacity:.5}._card_1ol7h_1 ._image_1ol7h_27{margin:0 var(--negative-unit);width:100%}._card_1ol7h_1 ._image_1ol7h_27 img{height:calc(12 * var(--unit));width:calc(100% + calc(2 * var(--unit)))}._card_1ol7h_1 ._image_1ol7h_27>*{border-bottom-left-radius:0;border-bottom-right-radius:0}._card_1ol7h_1 [data-component=croppable]{margin:var(--negative-unit);width:calc(100% + calc(2 * var(--unit)))}._card_1ol7h_1 [data-component=list]{min-width:0}._card_1ol7h_1 [data-component=list] li{max-width:100%;min-width:0}._card_1ol7h_1 [data-component=list] li>a{display:block;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._card_1ol7h_1 [data-component=list] li>[data-component=file]{width:100%}
1
+ ._card_bcdob_1{background-color:var(--color-white);border:var(--border-width) solid var(--colors-semantic-border-default);border-radius:var(--border-radius);cursor:pointer;box-shadow:var(--shadow-big);max-width:calc(100vw - calc(3 * var(--unit)))!important;min-width:0;overflow:hidden!important;padding:var(--padding-box);position:relative;text-overflow:ellipsis;transition:width var(--transition-duration) var(--transition-timing-function)}._card_bcdob_1:has(select){overflow:visible!important}._card_bcdob_1._draft_bcdob_19{background-color:var(--colors-orange-50)}._card_bcdob_1._scheduled_bcdob_23{opacity:.5}._card_bcdob_1 ._image_bcdob_27{margin:0 var(--negative-unit);width:100%}._card_bcdob_1 ._image_bcdob_27 img{height:calc(12 * var(--unit));width:calc(100% + calc(2 * var(--unit)))}._card_bcdob_1 ._image_bcdob_27>*{border-bottom-left-radius:0;border-bottom-right-radius:0}._card_bcdob_1 [data-component=croppable]{margin:var(--negative-unit);width:calc(100% + calc(2 * var(--unit)))}._card_bcdob_1 [data-component=list]{min-width:0}._card_bcdob_1 [data-component=list] li{max-width:100%;min-width:0}._card_bcdob_1 [data-component=list] li>a{display:block;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._card_bcdob_1 [data-component=list] li>[data-component=file]{width:100%}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index19.css');const r=require("react/jsx-runtime"),o=require("../../classix-5H4IWnMA.cjs"),n=require("../figure/index.cjs"),l="_card_1ol7h_1",i="_draft_1ol7h_19",u="_scheduled_1ol7h_23",_="_image_1ol7h_27",e={card:l,draft:i,scheduled:u,image:_},h=({children:s,draft:t,image:c,onClick:d,scheduled:a})=>r.jsxs("article",{className:o.t(e.card,t&&e.draft,a&&e.scheduled),onClick:d,"data-component":"card",children:[c&&r.jsx(n.Figure,{className:e.image,children:c}),s]});exports.Card=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index19.css');const d=require("react/jsx-runtime"),o=require("../../classix-5H4IWnMA.cjs"),n=require("../figure/index.cjs"),i="_card_bcdob_1",l="_draft_bcdob_19",u="_scheduled_bcdob_23",_="_image_bcdob_27",e={card:i,draft:l,scheduled:u,image:_},b=({children:r,draft:s,image:c,onClick:t,scheduled:a})=>d.jsxs("article",{className:o.t(e.card,s&&e.draft,a&&e.scheduled),onClick:t,"data-component":"card",children:[c&&d.jsx(n.Figure,{className:e.image,children:c}),r]});exports.Card=b;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,22 +1,22 @@
1
1
  import { jsxs as o, jsx as s } from "react/jsx-runtime";
2
- import { t as l } from "../../classix-DG18itHa.js";
3
- import { Figure as m } from "../figure/index.js";
4
- import '../../assets/index19.css';const _ = "_card_1ol7h_1", n = "_draft_1ol7h_19", h = "_scheduled_1ol7h_23", i = "_image_1ol7h_27", r = {
5
- card: _,
6
- draft: n,
7
- scheduled: h,
8
- image: i
9
- }, g = ({
10
- children: d,
2
+ import { t as m } from "../../classix-DG18itHa.js";
3
+ import { Figure as _ } from "../figure/index.js";
4
+ import '../../assets/index19.css';const n = "_card_bcdob_1", i = "_draft_bcdob_19", l = "_scheduled_bcdob_23", b = "_image_bcdob_27", c = {
5
+ card: n,
6
+ draft: i,
7
+ scheduled: l,
8
+ image: b
9
+ }, p = ({
10
+ children: r,
11
11
  draft: e,
12
- image: c,
12
+ image: d,
13
13
  onClick: a,
14
14
  scheduled: t
15
- }) => /* @__PURE__ */ o("article", { className: l(r.card, e && r.draft, t && r.scheduled), onClick: a, "data-component": "card", children: [
16
- c && /* @__PURE__ */ s(m, { className: r.image, children: c }),
17
- d
15
+ }) => /* @__PURE__ */ o("article", { className: m(c.card, e && c.draft, t && c.scheduled), onClick: a, "data-component": "card", children: [
16
+ d && /* @__PURE__ */ s(_, { className: c.image, children: d }),
17
+ r
18
18
  ] });
19
19
  export {
20
- g as Card
20
+ p as Card
21
21
  };
22
22
  //# sourceMappingURL=index.js.map
package/dist/tokens.json CHANGED
@@ -221,7 +221,7 @@
221
221
  },
222
222
  "com.solibo": {
223
223
  "packageName": "@solibo/solibo-ui",
224
- "packageVersion": "0.4.8"
224
+ "packageVersion": "0.4.9"
225
225
  }
226
226
  },
227
227
  "$name": "Solibo UI Tokens",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solibo/solibo-ui",
3
- "version": "0.4.8",
3
+ "version": "0.4.9",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "pnpm run tokens:build && vite build --watch",