@jamsrui/linear-progress 0.0.4 → 0.0.6
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.d.mts +2 -2
- package/dist/{linear-progress-BGSvGbg-.d.mts → linear-progress-Cz2At4LZ.d.mts} +2 -2
- package/dist/linear-progress-bar.d.mts +2 -2
- package/dist/linear-progress-bar.mjs +1 -1
- package/dist/linear-progress-config.d.mts +3 -3
- package/dist/linear-progress-context.d.mts +2 -1
- package/dist/linear-progress.d.mts +2 -2
- package/dist/linear-progress.mjs +1 -1
- package/dist/use-linear-progress.d.mts +2 -2
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { L as LinearProgress } from './linear-progress-
|
|
1
|
+
export { L as LinearProgress } from './linear-progress-Cz2At4LZ.mjs';
|
|
2
2
|
export { LinearProgressConfig, useLinearProgressConfig } from './linear-progress-config.mjs';
|
|
3
|
-
import 'react';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
4
|
import '@jamsrui/utils';
|
|
5
5
|
import './linear-progress-bar.mjs';
|
|
6
6
|
import 'motion/react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { PropGetter, UIProps, SlotsToClassNames } from '@jamsrui/utils';
|
|
3
3
|
import { LinearProgressBar } from './linear-progress-bar.mjs';
|
|
4
4
|
import { LinearProgressVariantProps, LinearProgressSlots } from './styles.mjs';
|
|
@@ -15,7 +15,7 @@ declare namespace useLinearProgress {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
declare const LinearProgress: (props: LinearProgress.Props) =>
|
|
18
|
+
declare const LinearProgress: (props: LinearProgress.Props) => react_jsx_runtime.JSX.Element;
|
|
19
19
|
declare namespace LinearProgress {
|
|
20
20
|
interface Props extends useLinearProgress.Props {
|
|
21
21
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { HTMLMotionProps } from 'motion/react';
|
|
3
3
|
|
|
4
|
-
declare const LinearProgressBar: (props: LinearProgressBar.Props) =>
|
|
4
|
+
declare const LinearProgressBar: (props: LinearProgressBar.Props) => react_jsx_runtime.JSX.Element;
|
|
5
5
|
declare namespace LinearProgressBar {
|
|
6
6
|
interface Props extends HTMLMotionProps<"div"> {
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{motion as o}from"motion/react";import{useLinearProgressContext as e}from"./linear-progress-context";const
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{motion as o}from"motion/react";import{useLinearProgressContext as e}from"./linear-progress-context";const p=r=>{const{getBarProps:s}=e();return t(o.div,{...r})};export{p as LinearProgressBar};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LinearProgress } from './linear-progress-
|
|
2
|
-
import * as
|
|
1
|
+
import { L as LinearProgress } from './linear-progress-Cz2At4LZ.mjs';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import { GlobalConfigProps } from '@jamsrui/core';
|
|
4
4
|
import '@jamsrui/utils';
|
|
5
5
|
import './linear-progress-bar.mjs';
|
|
@@ -10,7 +10,7 @@ import 'tailwind-variants';
|
|
|
10
10
|
declare const useLinearProgressConfig: () => LinearProgressConfig.Props;
|
|
11
11
|
declare const LinearProgressConfig: (props: LinearProgressConfig.Props & {
|
|
12
12
|
merge?: boolean;
|
|
13
|
-
}) =>
|
|
13
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
14
14
|
declare namespace LinearProgressConfig {
|
|
15
15
|
interface Props extends LinearProgress.Props, GlobalConfigProps<LinearProgress.Props> {
|
|
16
16
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { u as useLinearProgress } from './linear-progress-
|
|
2
|
+
import { u as useLinearProgress } from './linear-progress-Cz2At4LZ.mjs';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
3
4
|
import '@jamsrui/utils';
|
|
4
5
|
import './linear-progress-bar.mjs';
|
|
5
6
|
import 'motion/react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import 'react';
|
|
2
|
-
export { L as LinearProgress } from './linear-progress-
|
|
1
|
+
import 'react/jsx-runtime';
|
|
2
|
+
export { L as LinearProgress } from './linear-progress-Cz2At4LZ.mjs';
|
|
3
3
|
import '@jamsrui/utils';
|
|
4
4
|
import './linear-progress-bar.mjs';
|
|
5
5
|
import 'motion/react';
|
package/dist/linear-progress.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useRenderElement as
|
|
1
|
+
import{Fragment as L,jsx as r}from"react/jsx-runtime";import{useRenderElement as m}from"@jamsrui/hooks";import{mergeConfigProps as g}from"@jamsrui/utils";import{LinearProgressBar as P}from"./linear-progress-bar";import{useLinearProgressConfig as a}from"./linear-progress-config";import{LinearProgressContext as c}from"./linear-progress-context";import{useLinearProgress as f}from"./use-linear-progress";const v=s=>{const e=a(),n=g(e,e,s),o=f(n),{getRootProps:t}=o,i=r(L,{children:r(P,{})}),p=m("div",{props:[t({}),{children:i}]});return r(c,{value:o,children:p})};export{v as LinearProgress};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@jamsrui/utils';
|
|
2
|
-
export { u as useLinearProgress } from './linear-progress-
|
|
2
|
+
export { u as useLinearProgress } from './linear-progress-Cz2At4LZ.mjs';
|
|
3
3
|
import './linear-progress-bar.mjs';
|
|
4
4
|
import './styles.mjs';
|
|
5
|
-
import 'react';
|
|
5
|
+
import 'react/jsx-runtime';
|
|
6
6
|
import 'motion/react';
|
|
7
7
|
import 'tailwind-variants';
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/linear-progress",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"motion": ">=12",
|
|
6
6
|
"react": ">=19"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@jamsrui/core": "^0.0.
|
|
10
|
-
"@jamsrui/
|
|
11
|
-
"@jamsrui/
|
|
9
|
+
"@jamsrui/core": "^0.0.6",
|
|
10
|
+
"@jamsrui/utils": "^0.0.6",
|
|
11
|
+
"@jamsrui/hooks": "^0.0.6"
|
|
12
12
|
},
|
|
13
13
|
"exports": {
|
|
14
14
|
".": {
|