@kkcompany/app-ui 0.1.18 → 0.1.20

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.cjs CHANGED
@@ -239,7 +239,7 @@ const tagBaseStyles = {
239
239
  justifyContent: "space-between",
240
240
  alignItems: "center",
241
241
  "--tag-color": "#fff",
242
- "--tag-background": "red",
242
+ "--tag-background": "#f22e05",
243
243
  "> div": {
244
244
  width: "100%",
245
245
  display: "flex",
@@ -379,10 +379,12 @@ const infoStyle = {
379
379
  },
380
380
  "@media (max-width: 600px)": { "> div:first-of-type > a > div:last-of-type > div": { fontSize: "7px" } }
381
381
  };
382
+ const LINES_OF_TITLE = 2;
383
+ const LINES_OF_DESCRIPTION = 2;
382
384
  const titleStyle = {
383
385
  display: "-webkit-box",
384
386
  WebkitBoxOrient: "vertical",
385
- WebkitLineClamp: "2",
387
+ WebkitLineClamp: LINES_OF_TITLE,
386
388
  overflow: "hidden",
387
389
  textOverflow: "ellipsis"
388
390
  };
@@ -391,7 +393,7 @@ const descriptionStyle = {
391
393
  display: "var(--description-display, -webkit-box)",
392
394
  overflow: "hidden",
393
395
  WebkitBoxOrient: "vertical",
394
- WebkitLineClamp: "2",
396
+ WebkitLineClamp: LINES_OF_DESCRIPTION,
395
397
  color: "#ccc",
396
398
  textOverflow: "ellipsis",
397
399
  fontSize: "14px",
@@ -405,7 +407,7 @@ const descriptionStyle = {
405
407
  const desktopDescriptionStyle = {
406
408
  display: "var(--desktop-description-display, -webkit-box)",
407
409
  margin: "0.75rem 0",
408
- WebkitLineClamp: 3
410
+ WebkitLineClamp: LINES_OF_DESCRIPTION
409
411
  };
410
412
  const OptionalLink = ({ slots, href, children, ...rest }) => href ? /* @__PURE__ */ (0, __emotion_react_jsx_runtime.jsx)(slots.Link, {
411
413
  href,
package/dist/index.mjs CHANGED
@@ -239,7 +239,7 @@ const tagBaseStyles = {
239
239
  justifyContent: "space-between",
240
240
  alignItems: "center",
241
241
  "--tag-color": "#fff",
242
- "--tag-background": "red",
242
+ "--tag-background": "#f22e05",
243
243
  "> div": {
244
244
  width: "100%",
245
245
  display: "flex",
@@ -379,10 +379,12 @@ const infoStyle = {
379
379
  },
380
380
  "@media (max-width: 600px)": { "> div:first-of-type > a > div:last-of-type > div": { fontSize: "7px" } }
381
381
  };
382
+ const LINES_OF_TITLE = 2;
383
+ const LINES_OF_DESCRIPTION = 2;
382
384
  const titleStyle = {
383
385
  display: "-webkit-box",
384
386
  WebkitBoxOrient: "vertical",
385
- WebkitLineClamp: "2",
387
+ WebkitLineClamp: LINES_OF_TITLE,
386
388
  overflow: "hidden",
387
389
  textOverflow: "ellipsis"
388
390
  };
@@ -391,7 +393,7 @@ const descriptionStyle = {
391
393
  display: "var(--description-display, -webkit-box)",
392
394
  overflow: "hidden",
393
395
  WebkitBoxOrient: "vertical",
394
- WebkitLineClamp: "2",
396
+ WebkitLineClamp: LINES_OF_DESCRIPTION,
395
397
  color: "#ccc",
396
398
  textOverflow: "ellipsis",
397
399
  fontSize: "14px",
@@ -405,7 +407,7 @@ const descriptionStyle = {
405
407
  const desktopDescriptionStyle = {
406
408
  display: "var(--desktop-description-display, -webkit-box)",
407
409
  margin: "0.75rem 0",
408
- WebkitLineClamp: 3
410
+ WebkitLineClamp: LINES_OF_DESCRIPTION
409
411
  };
410
412
  const OptionalLink = ({ slots, href, children, ...rest }) => href ? /* @__PURE__ */ jsx(slots.Link, {
411
413
  href,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kkcompany/app-ui",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "module": "dist/index.mjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.mts",