@semcore/progress-bar 17.2.1-prerelease.0 → 17.2.1-prerelease.2

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/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [17.2.1] - 2026-06-25
5
+ ## [17.2.1] - 2026-06-26
6
6
 
7
7
  ### Fixed
8
8
 
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressBar.type.js","names":[],"sources":["../../src/ProgressBar.type.ts"],"sourcesContent":["import type { BoxProps } from '@semcore/base-components';\nimport type { PropGetterFn, Intergalactic } from '@semcore/core';\n\ndeclare namespace NSProgressBar {\n type Props = BoxProps & {\n /**\n * Progress bar theme\n * @default invert\n */\n theme?: 'dark' | 'invert' | string;\n /**\n * Progress bar size\n * @default m\n */\n size?: 's' | 'm' | 'l';\n /** Value as a percentage */\n value?: number;\n /** Duration of animation, ms\n * @default 1000\n */\n duration?: number;\n };\n type DefaultProps = {\n duration: 1000;\n size: 'm';\n theme: 'invert';\n children: React.ReactNode;\n };\n\n type Ctx = {\n getValueProps: PropGetterFn;\n };\n\n namespace Value {\n type Props = BoxProps & {\n /** Controls the size of the value bar */\n size?: 's' | 'm' | 'l';\n /** Progress value */\n value?: number;\n /** Animation diration in milliseconds for transitions */\n duration?: number;\n /** Color theme */\n theme?: string;\n };\n\n type Component = Intergalactic.Component<'div', Props>;\n }\n\n type Component = Intergalactic.Component<'div', Props, Ctx> & {\n Value: Value.Component;\n };\n}\n\n/** @deprecated It will be removed in v18. */\nexport type ProgressBarProps = NSProgressBar.Props;\n/** @deprecated It will be removed in v18. */\nexport type ValueProps = NSProgressBar.Value.Props;\n/** @deprecated It will be removed in v18. */\nexport type ProgressBarCxt = NSProgressBar.Ctx;\n\nexport type { NSProgressBar };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"ProgressBar.type.js","names":[],"sources":["../../src/ProgressBar.type.ts"],"sourcesContent":["import type { NSBox } from '@semcore/base-components';\nimport type { PropGetterFn, Intergalactic } from '@semcore/core';\n\ndeclare namespace NSProgressBar {\n type Props = NSBox.Props & {\n /**\n * Progress bar theme\n * @default invert\n */\n theme?: 'dark' | 'invert' | string;\n /**\n * Progress bar size\n * @default m\n */\n size?: 's' | 'm' | 'l';\n /** Value as a percentage */\n value?: number;\n /** Duration of animation, ms\n * @default 1000\n */\n duration?: number;\n };\n type DefaultProps = {\n duration: 1000;\n size: 'm';\n theme: 'invert';\n children: React.ReactNode;\n };\n\n type Ctx = {\n getValueProps: PropGetterFn;\n };\n\n namespace Value {\n type Props = NSBox.Props & {\n /** Controls the size of the value bar */\n size?: 's' | 'm' | 'l';\n /** Progress value */\n value?: number;\n /** Animation diration in milliseconds for transitions */\n duration?: number;\n /** Color theme */\n theme?: string;\n };\n\n type Component = Intergalactic.Component<'div', Props>;\n }\n\n type Component = Intergalactic.Component<'div', Props, Ctx> & {\n Value: Value.Component;\n };\n}\n\n/** @deprecated It will be removed in v19. */\nexport type ProgressBarProps = NSProgressBar.Props;\n/** @deprecated It will be removed in v19. */\nexport type ValueProps = NSProgressBar.Value.Props;\n/** @deprecated It will be removed in v19. */\nexport type ProgressBarCxt = NSProgressBar.Ctx;\n\nexport type { NSProgressBar };\n"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressBar.type.js","names":[],"sources":["../../src/ProgressBar.type.ts"],"sourcesContent":["import type { BoxProps } from '@semcore/base-components';\nimport type { PropGetterFn, Intergalactic } from '@semcore/core';\n\ndeclare namespace NSProgressBar {\n type Props = BoxProps & {\n /**\n * Progress bar theme\n * @default invert\n */\n theme?: 'dark' | 'invert' | string;\n /**\n * Progress bar size\n * @default m\n */\n size?: 's' | 'm' | 'l';\n /** Value as a percentage */\n value?: number;\n /** Duration of animation, ms\n * @default 1000\n */\n duration?: number;\n };\n type DefaultProps = {\n duration: 1000;\n size: 'm';\n theme: 'invert';\n children: React.ReactNode;\n };\n\n type Ctx = {\n getValueProps: PropGetterFn;\n };\n\n namespace Value {\n type Props = BoxProps & {\n /** Controls the size of the value bar */\n size?: 's' | 'm' | 'l';\n /** Progress value */\n value?: number;\n /** Animation diration in milliseconds for transitions */\n duration?: number;\n /** Color theme */\n theme?: string;\n };\n\n type Component = Intergalactic.Component<'div', Props>;\n }\n\n type Component = Intergalactic.Component<'div', Props, Ctx> & {\n Value: Value.Component;\n };\n}\n\n/** @deprecated It will be removed in v18. */\nexport type ProgressBarProps = NSProgressBar.Props;\n/** @deprecated It will be removed in v18. */\nexport type ValueProps = NSProgressBar.Value.Props;\n/** @deprecated It will be removed in v18. */\nexport type ProgressBarCxt = NSProgressBar.Ctx;\n\nexport type { NSProgressBar };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"ProgressBar.type.js","names":[],"sources":["../../src/ProgressBar.type.ts"],"sourcesContent":["import type { NSBox } from '@semcore/base-components';\nimport type { PropGetterFn, Intergalactic } from '@semcore/core';\n\ndeclare namespace NSProgressBar {\n type Props = NSBox.Props & {\n /**\n * Progress bar theme\n * @default invert\n */\n theme?: 'dark' | 'invert' | string;\n /**\n * Progress bar size\n * @default m\n */\n size?: 's' | 'm' | 'l';\n /** Value as a percentage */\n value?: number;\n /** Duration of animation, ms\n * @default 1000\n */\n duration?: number;\n };\n type DefaultProps = {\n duration: 1000;\n size: 'm';\n theme: 'invert';\n children: React.ReactNode;\n };\n\n type Ctx = {\n getValueProps: PropGetterFn;\n };\n\n namespace Value {\n type Props = NSBox.Props & {\n /** Controls the size of the value bar */\n size?: 's' | 'm' | 'l';\n /** Progress value */\n value?: number;\n /** Animation diration in milliseconds for transitions */\n duration?: number;\n /** Color theme */\n theme?: string;\n };\n\n type Component = Intergalactic.Component<'div', Props>;\n }\n\n type Component = Intergalactic.Component<'div', Props, Ctx> & {\n Value: Value.Component;\n };\n}\n\n/** @deprecated It will be removed in v19. */\nexport type ProgressBarProps = NSProgressBar.Props;\n/** @deprecated It will be removed in v19. */\nexport type ValueProps = NSProgressBar.Value.Props;\n/** @deprecated It will be removed in v19. */\nexport type ProgressBarCxt = NSProgressBar.Ctx;\n\nexport type { NSProgressBar };\n"],"mappings":"","ignoreList":[]}
@@ -6,3 +6,4 @@ import type { NSProgressBar } from './ProgressBar.type';
6
6
  */
7
7
  declare const ProgressBar: NSProgressBar.Component;
8
8
  export default ProgressBar;
9
+ //# sourceMappingURL=ProgressBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../src/ProgressBar.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AA+ExD;;;;GAIG;AACH,QAAA,MAAM,WAAW,yBAKf,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -1,7 +1,7 @@
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
  declare namespace NSProgressBar {
4
- type Props = BoxProps & {
4
+ type Props = NSBox.Props & {
5
5
  /**
6
6
  * Progress bar theme
7
7
  * @default invert
@@ -29,7 +29,7 @@ declare namespace NSProgressBar {
29
29
  getValueProps: PropGetterFn;
30
30
  };
31
31
  namespace Value {
32
- type Props = BoxProps & {
32
+ type Props = NSBox.Props & {
33
33
  /** Controls the size of the value bar */
34
34
  size?: 's' | 'm' | 'l';
35
35
  /** Progress value */
@@ -45,10 +45,11 @@ declare namespace NSProgressBar {
45
45
  Value: Value.Component;
46
46
  };
47
47
  }
48
- /** @deprecated It will be removed in v18. */
48
+ /** @deprecated It will be removed in v19. */
49
49
  export type ProgressBarProps = NSProgressBar.Props;
50
- /** @deprecated It will be removed in v18. */
50
+ /** @deprecated It will be removed in v19. */
51
51
  export type ValueProps = NSProgressBar.Value.Props;
52
- /** @deprecated It will be removed in v18. */
52
+ /** @deprecated It will be removed in v19. */
53
53
  export type ProgressBarCxt = NSProgressBar.Ctx;
54
54
  export type { NSProgressBar };
55
+ //# sourceMappingURL=ProgressBar.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgressBar.type.d.ts","sourceRoot":"","sources":["../../src/ProgressBar.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEjE,OAAO,WAAW,aAAa,CAAC;IAC9B,KAAK,KAAK,GAAG,KAAK,CAAC,KAAK,GAAG;QACzB;;;WAGG;QACH,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;QACnC;;;WAGG;QACH,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;QACvB,4BAA4B;QAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;QACf;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,KAAK,YAAY,GAAG;QAClB,QAAQ,EAAE,IAAI,CAAC;QACf,IAAI,EAAE,GAAG,CAAC;QACV,KAAK,EAAE,QAAQ,CAAC;QAChB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;KAC3B,CAAC;IAEF,KAAK,GAAG,GAAG;QACT,aAAa,EAAE,YAAY,CAAC;KAC7B,CAAC;IAEF,UAAU,KAAK,CAAC;QACd,KAAK,KAAK,GAAG,KAAK,CAAC,KAAK,GAAG;YACzB,yCAAyC;YACzC,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;YACvB,qBAAqB;YACrB,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,yDAAyD;YACzD,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,kBAAkB;YAClB,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB,CAAC;QAEF,KAAK,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;KACxD;IAED,KAAK,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,CAAC,GAAG;QAC5D,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;KACxB,CAAC;CACH;AAED,6CAA6C;AAC7C,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,KAAK,CAAC;AACnD,6CAA6C;AAC7C,MAAM,MAAM,UAAU,GAAG,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC;AACnD,6CAA6C;AAC7C,MAAM,MAAM,cAAc,GAAG,aAAa,CAAC,GAAG,CAAC;AAE/C,YAAY,EAAE,aAAa,EAAE,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export { default } from './ProgressBar';
2
2
  export * from './ProgressBar.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"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/progress-bar",
3
3
  "description": "Semrush ProgressBar Component",
4
- "version": "17.2.1-prerelease.0",
4
+ "version": "17.2.1-prerelease.2",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -14,7 +14,7 @@
14
14
  "require": "./lib/cjs/index.js"
15
15
  },
16
16
  "peerDependencies": {
17
- "@semcore/base-components": "^17.2.1"
17
+ "@semcore/base-components": "^17.2.2"
18
18
  },
19
19
  "repository": {
20
20
  "type": "git",
@@ -22,8 +22,8 @@
22
22
  "directory": "semcore/progress-bar"
23
23
  },
24
24
  "devDependencies": {
25
- "@semcore/base-components": "17.2.1-prerelease.0",
26
- "@semcore/core": "17.2.1-prerelease.0",
25
+ "@semcore/core": "17.3.1-prerelease.2",
26
+ "@semcore/base-components": "17.2.2-prerelease.2",
27
27
  "@semcore/testing-utils": "1.0.0"
28
28
  },
29
29
  "scripts": {