@os-design/core 1.0.298 → 1.0.300

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
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/BreadcrumbItem/index.tsx"],"names":[],"mappings":"AAKA,OAAa,EAAE,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAExD,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAkBD;;GAEG;AACH,QAAA,MAAM,cAAc,mHAkCnB,CAAC;AAIF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/BreadcrumbItem/index.tsx"],"names":[],"mappings":"AAKA,OAAa,EAAE,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAExD,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAoBD;;GAEG;AACH,QAAA,MAAM,cAAc,mHAkCnB,CAAC;AAIF,eAAe,cAAc,CAAC"}
@@ -7,6 +7,8 @@ import Link from '../Link/index.js';
7
7
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
8
  const Container = styled.li`
9
9
  list-style: none;
10
+ display: flex;
11
+ align-items: center;
10
12
  `;
11
13
  const Name = styled.span`
12
14
  max-width: 20em;
@@ -45,6 +45,7 @@ const ListItemLink = /*#__PURE__*/forwardRef(({
45
45
  children,
46
46
  ...rest
47
47
  }, ref) => /*#__PURE__*/_jsx(Link, {
48
+ draggable: false,
48
49
  ...rest,
49
50
  ref: ref,
50
51
  children: /*#__PURE__*/_jsx(ListItem, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@os-design/core",
3
- "version": "1.0.298",
3
+ "version": "1.0.300",
4
4
  "license": "UNLICENSED",
5
5
  "repository": "git@gitlab.com:os-team/libs/os-design.git",
6
6
  "type": "module",
@@ -58,5 +58,5 @@
58
58
  "react": "18",
59
59
  "react-dom": "18"
60
60
  },
61
- "gitHead": "7a2aee283bdbdba8ba69a3212769ad321beaaed2"
61
+ "gitHead": "474dbea9aa537c227a627d21ff1b4bac00a6e199"
62
62
  }
@@ -25,6 +25,8 @@ export interface BreadcrumbItemProps extends LinkProps {
25
25
 
26
26
  const Container = styled.li`
27
27
  list-style: none;
28
+ display: flex;
29
+ align-items: center;
28
30
  `;
29
31
 
30
32
  const Name = styled.span`
@@ -46,7 +46,7 @@ const Link = styled.a`
46
46
  */
47
47
  const ListItemLink = forwardRef<HTMLAnchorElement, ListItemLinkProps>(
48
48
  ({ title, description, left, right, actions, children, ...rest }, ref) => (
49
- <Link {...rest} ref={ref}>
49
+ <Link draggable={false} {...rest} ref={ref}>
50
50
  <ListItem
51
51
  title={title}
52
52
  description={description}