@semcore/breadcrumbs 17.2.2-prerelease.1 → 17.2.2-prerelease.3

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":"Breadcrumbs.type.js","names":[],"sources":["../../src/Breadcrumbs.type.ts"],"sourcesContent":["import type { BoxProps } from '@semcore/base-components';\nimport type { PropGetterFn, Intergalactic } from '@semcore/core';\nimport type { NSText } from '@semcore/typography';\n\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSBreadcrumbs {\n type Props = BoxProps & {\n /**\n * Links divider\n * */\n separator?: React.ReactNode;\n /** Specifies the locale for i18n support */\n locale?: string;\n };\n type DefaultProps = {\n separator: React.JSX.Element;\n i18n: LocalizedMessages;\n locale: 'en';\n };\n type Ctx = {\n getItemProps: PropGetterFn;\n };\n\n namespace Item {\n type Props = BoxProps & {\n /** The property is responsible for the activity of the element */\n active?: boolean;\n /** Specifies the locale for i18n support */\n locale?: string;\n /**\n * Ellipsis settings. You shouldn't use `cropPosition: middle` for breadcrumbs.\n * If you're sure you need `cropPosition: middle`, set `w` to Breadcrumbs.Item manually, for correct Ellipsis calculations.\n * @default false\n */\n } & NSText.HintProps & NSText.EllipsisProps;\n\n type Component = Intergalactic.Component<'a', Props>;\n }\n\n type Component = Intergalactic.Component<'div', Props, Ctx> & {\n Item: Item.Component;\n };\n}\n\n/** @deprecated It will be removed in v18. */\nexport type BreadcrumbsProps = NSBreadcrumbs.Props;\n/** @deprecated It will be removed in v18. */\nexport type BreadcrumbsItemProps = NSBreadcrumbs.Item.Props;\n/** @deprecated It will be removed in v18. */\nexport type BreadcrumbsContext = NSBreadcrumbs.Ctx;\n\nexport type { NSBreadcrumbs };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"Breadcrumbs.type.js","names":[],"sources":["../../src/Breadcrumbs.type.ts"],"sourcesContent":["import type { NSBox } from '@semcore/base-components';\nimport type { PropGetterFn, Intergalactic } from '@semcore/core';\nimport type { NSText } from '@semcore/typography';\n\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSBreadcrumbs {\n type Props = NSBox.Props & {\n /**\n * Links divider\n * */\n separator?: React.ReactNode;\n /** Specifies the locale for i18n support */\n locale?: string;\n };\n type DefaultProps = {\n separator: React.JSX.Element;\n i18n: LocalizedMessages;\n locale: 'en';\n };\n type Ctx = {\n getItemProps: PropGetterFn;\n };\n\n namespace Item {\n type Props = NSBox.Props & {\n /** The property is responsible for the activity of the element */\n active?: boolean;\n /** Specifies the locale for i18n support */\n locale?: string;\n /**\n * Ellipsis settings. You shouldn't use `cropPosition: middle` for breadcrumbs.\n * If you're sure you need `cropPosition: middle`, set `w` to Breadcrumbs.Item manually, for correct Ellipsis calculations.\n * @default false\n */\n } & NSText.HintProps & NSText.EllipsisProps;\n\n type Component = Intergalactic.Component<'a', Props>;\n }\n\n type Component = Intergalactic.Component<'div', Props, Ctx> & {\n Item: Item.Component;\n };\n}\n\n/** @deprecated It will be removed in v19. */\nexport type BreadcrumbsProps = NSBreadcrumbs.Props;\n/** @deprecated It will be removed in v19. */\nexport type BreadcrumbsItemProps = NSBreadcrumbs.Item.Props;\n/** @deprecated It will be removed in v19. */\nexport type BreadcrumbsContext = NSBreadcrumbs.Ctx;\n\nexport type { NSBreadcrumbs };\n"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumbs.type.js","names":[],"sources":["../../src/Breadcrumbs.type.ts"],"sourcesContent":["import type { BoxProps } from '@semcore/base-components';\nimport type { PropGetterFn, Intergalactic } from '@semcore/core';\nimport type { NSText } from '@semcore/typography';\n\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSBreadcrumbs {\n type Props = BoxProps & {\n /**\n * Links divider\n * */\n separator?: React.ReactNode;\n /** Specifies the locale for i18n support */\n locale?: string;\n };\n type DefaultProps = {\n separator: React.JSX.Element;\n i18n: LocalizedMessages;\n locale: 'en';\n };\n type Ctx = {\n getItemProps: PropGetterFn;\n };\n\n namespace Item {\n type Props = BoxProps & {\n /** The property is responsible for the activity of the element */\n active?: boolean;\n /** Specifies the locale for i18n support */\n locale?: string;\n /**\n * Ellipsis settings. You shouldn't use `cropPosition: middle` for breadcrumbs.\n * If you're sure you need `cropPosition: middle`, set `w` to Breadcrumbs.Item manually, for correct Ellipsis calculations.\n * @default false\n */\n } & NSText.HintProps & NSText.EllipsisProps;\n\n type Component = Intergalactic.Component<'a', Props>;\n }\n\n type Component = Intergalactic.Component<'div', Props, Ctx> & {\n Item: Item.Component;\n };\n}\n\n/** @deprecated It will be removed in v18. */\nexport type BreadcrumbsProps = NSBreadcrumbs.Props;\n/** @deprecated It will be removed in v18. */\nexport type BreadcrumbsItemProps = NSBreadcrumbs.Item.Props;\n/** @deprecated It will be removed in v18. */\nexport type BreadcrumbsContext = NSBreadcrumbs.Ctx;\n\nexport type { NSBreadcrumbs };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"Breadcrumbs.type.js","names":[],"sources":["../../src/Breadcrumbs.type.ts"],"sourcesContent":["import type { NSBox } from '@semcore/base-components';\nimport type { PropGetterFn, Intergalactic } from '@semcore/core';\nimport type { NSText } from '@semcore/typography';\n\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSBreadcrumbs {\n type Props = NSBox.Props & {\n /**\n * Links divider\n * */\n separator?: React.ReactNode;\n /** Specifies the locale for i18n support */\n locale?: string;\n };\n type DefaultProps = {\n separator: React.JSX.Element;\n i18n: LocalizedMessages;\n locale: 'en';\n };\n type Ctx = {\n getItemProps: PropGetterFn;\n };\n\n namespace Item {\n type Props = NSBox.Props & {\n /** The property is responsible for the activity of the element */\n active?: boolean;\n /** Specifies the locale for i18n support */\n locale?: string;\n /**\n * Ellipsis settings. You shouldn't use `cropPosition: middle` for breadcrumbs.\n * If you're sure you need `cropPosition: middle`, set `w` to Breadcrumbs.Item manually, for correct Ellipsis calculations.\n * @default false\n */\n } & NSText.HintProps & NSText.EllipsisProps;\n\n type Component = Intergalactic.Component<'a', Props>;\n }\n\n type Component = Intergalactic.Component<'div', Props, Ctx> & {\n Item: Item.Component;\n };\n}\n\n/** @deprecated It will be removed in v19. */\nexport type BreadcrumbsProps = NSBreadcrumbs.Props;\n/** @deprecated It will be removed in v19. */\nexport type BreadcrumbsItemProps = NSBreadcrumbs.Item.Props;\n/** @deprecated It will be removed in v19. */\nexport type BreadcrumbsContext = NSBreadcrumbs.Ctx;\n\nexport type { NSBreadcrumbs };\n"],"mappings":"","ignoreList":[]}
@@ -6,3 +6,4 @@ import type { NSBreadcrumbs } from './Breadcrumbs.type';
6
6
  */
7
7
  declare const _default: NSBreadcrumbs.Component;
8
8
  export default _default;
9
+ //# sourceMappingURL=Breadcrumbs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../src/Breadcrumbs.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AA4ExD;;;;GAIG;;AACH,wBAKG"}
@@ -1,9 +1,9 @@
1
- import type { BoxProps } from '@semcore/base-components';
1
+ import type { NSBox } from '@semcore/base-components';
2
2
  import type { PropGetterFn, Intergalactic } from '@semcore/core';
3
3
  import type { NSText } from '@semcore/typography';
4
4
  import type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';
5
5
  declare namespace NSBreadcrumbs {
6
- type Props = BoxProps & {
6
+ type Props = NSBox.Props & {
7
7
  /**
8
8
  * Links divider
9
9
  * */
@@ -20,7 +20,7 @@ declare namespace NSBreadcrumbs {
20
20
  getItemProps: PropGetterFn;
21
21
  };
22
22
  namespace Item {
23
- type Props = BoxProps & {
23
+ type Props = NSBox.Props & {
24
24
  /** The property is responsible for the activity of the element */
25
25
  active?: boolean;
26
26
  /** Specifies the locale for i18n support */
@@ -32,10 +32,11 @@ declare namespace NSBreadcrumbs {
32
32
  Item: Item.Component;
33
33
  };
34
34
  }
35
- /** @deprecated It will be removed in v18. */
35
+ /** @deprecated It will be removed in v19. */
36
36
  export type BreadcrumbsProps = NSBreadcrumbs.Props;
37
- /** @deprecated It will be removed in v18. */
37
+ /** @deprecated It will be removed in v19. */
38
38
  export type BreadcrumbsItemProps = NSBreadcrumbs.Item.Props;
39
- /** @deprecated It will be removed in v18. */
39
+ /** @deprecated It will be removed in v19. */
40
40
  export type BreadcrumbsContext = NSBreadcrumbs.Ctx;
41
41
  export type { NSBreadcrumbs };
42
+ //# sourceMappingURL=Breadcrumbs.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Breadcrumbs.type.d.ts","sourceRoot":"","sources":["../../src/Breadcrumbs.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAExF,OAAO,WAAW,aAAa,CAAC;IAC9B,KAAK,KAAK,GAAG,KAAK,CAAC,KAAK,GAAG;QACzB;;aAEK;QACL,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAC5B,4CAA4C;QAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,KAAK,YAAY,GAAG;QAClB,SAAS,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;QAC7B,IAAI,EAAE,iBAAiB,CAAC;QACxB,MAAM,EAAE,IAAI,CAAC;KACd,CAAC;IACF,KAAK,GAAG,GAAG;QACT,YAAY,EAAE,YAAY,CAAC;KAC5B,CAAC;IAEF,UAAU,IAAI,CAAC;QACb,KAAK,KAAK,GAAG,KAAK,CAAC,KAAK,GAAG;YACzB,kEAAkE;YAClE,MAAM,CAAC,EAAE,OAAO,CAAC;YACjB,4CAA4C;YAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;SAMjB,GAAG,MAAM,CAAC,SAAS,GAAG,MAAM,CAAC,aAAa,CAAC;QAE5C,KAAK,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;KACtD;IAED,KAAK,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,CAAC,GAAG;QAC5D,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC;KACtB,CAAC;CACH;AAED,6CAA6C;AAC7C,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,KAAK,CAAC;AACnD,6CAA6C;AAC7C,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC;AAC5D,6CAA6C;AAC7C,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAC,GAAG,CAAC;AAEnD,YAAY,EAAE,aAAa,EAAE,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export { default } from './Breadcrumbs';
2
2
  export * from './Breadcrumbs.type';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,cAAc,oBAAoB,CAAC"}
@@ -43,3 +43,4 @@ export declare const localizedMessages: {
43
43
  };
44
44
  };
45
45
  export type LocalizedMessages = typeof localizedMessages;
46
+ //# sourceMappingURL=__intergalactic-dynamic-locales.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"__intergalactic-dynamic-locales.d.ts","sourceRoot":"","sources":["../../../src/translations/__intergalactic-dynamic-locales.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe7B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/breadcrumbs",
3
3
  "description": "Semrush Breadcrumbs Component",
4
- "version": "17.2.2-prerelease.1",
4
+ "version": "17.2.2-prerelease.3",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -14,11 +14,11 @@
14
14
  "require": "./lib/cjs/index.js"
15
15
  },
16
16
  "dependencies": {
17
- "@semcore/typography": "^17.2.1"
17
+ "@semcore/typography": "^17.2.1-prerelease.3"
18
18
  },
19
19
  "peerDependencies": {
20
- "@semcore/base-components": "^17.2.1",
21
- "@semcore/icon": "^17.2.0"
20
+ "@semcore/base-components": "^17.2.2-prerelease.3",
21
+ "@semcore/icon": "^17.2.1-prerelease.3"
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",
@@ -26,11 +26,11 @@
26
26
  "directory": "semcore/breadcrumbs"
27
27
  },
28
28
  "devDependencies": {
29
- "@semcore/base-components": "17.2.1",
29
+ "@semcore/core": "17.3.1-prerelease.3",
30
30
  "@semcore/testing-utils": "1.0.0",
31
- "@semcore/typography": "17.2.1",
32
- "@semcore/core": "17.2.1",
33
- "@semcore/icon": "17.2.0"
31
+ "@semcore/base-components": "17.2.2-prerelease.3",
32
+ "@semcore/typography": "17.2.1-prerelease.3",
33
+ "@semcore/icon": "17.2.1-prerelease.3"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "pnpm semcore-builder && pnpm vite build"