@jamsrui/linear-progress 0.0.8 → 0.0.9
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 +0 -1
- package/dist/linear-progress-bar.mjs +1 -1
- package/dist/linear-progress-config.d.mts +0 -1
- package/dist/linear-progress-context.d.mts +0 -1
- package/dist/linear-progress.d.mts +0 -1
- package/dist/styles.d.mts +4 -5
- package/dist/styles.mjs +1 -1
- package/dist/use-linear-progress.d.mts +0 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as s}from"react/jsx-runtime";import{motion as e}from"motion/react";import{useLinearProgressContext as t}from"./linear-progress-context";const a=r=>{const{getBarProps:o}=t();return s(e.div,{...o(r),...r})};export{a as LinearProgressBar};
|
|
@@ -5,7 +5,6 @@ import '@jamsrui/utils';
|
|
|
5
5
|
import './linear-progress-bar.mjs';
|
|
6
6
|
import 'motion/react';
|
|
7
7
|
import './styles.mjs';
|
|
8
|
-
import 'tailwind-variants';
|
|
9
8
|
|
|
10
9
|
declare const useLinearProgressConfig: () => LinearProgressConfig.Props;
|
|
11
10
|
declare const LinearProgressConfig: (props: Omit<Partial<LinearProgressConfig.Props>, "children"> & {
|
|
@@ -5,7 +5,6 @@ import '@jamsrui/utils';
|
|
|
5
5
|
import './linear-progress-bar.mjs';
|
|
6
6
|
import 'motion/react';
|
|
7
7
|
import './styles.mjs';
|
|
8
|
-
import 'tailwind-variants';
|
|
9
8
|
|
|
10
9
|
declare const useLinearProgressContext: () => LinearProgressContext.Props;
|
|
11
10
|
declare const LinearProgressContext: react.Context<LinearProgressContext.Props | null>;
|
package/dist/styles.d.mts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _jamsrui_utils from '@jamsrui/utils';
|
|
2
2
|
import { VariantProps } from '@jamsrui/utils';
|
|
3
3
|
|
|
4
|
-
declare const
|
|
5
|
-
declare const linearProgressVariants: tailwind_variants.TVReturnType<{
|
|
4
|
+
declare const linearProgressVariants: _jamsrui_utils.TVReturnType<{
|
|
6
5
|
color: {
|
|
7
6
|
primary: {
|
|
8
7
|
bar: string;
|
|
@@ -92,7 +91,7 @@ declare const linearProgressVariants: tailwind_variants.TVReturnType<{
|
|
|
92
91
|
}, {
|
|
93
92
|
track: string;
|
|
94
93
|
bar: string;
|
|
95
|
-
},
|
|
94
|
+
}, _jamsrui_utils.TVReturnType<{
|
|
96
95
|
color: {
|
|
97
96
|
primary: {
|
|
98
97
|
bar: string;
|
|
@@ -141,4 +140,4 @@ declare const linearProgressVariants: tailwind_variants.TVReturnType<{
|
|
|
141
140
|
type LinearProgressVariantProps = VariantProps<typeof linearProgressVariants>;
|
|
142
141
|
type LinearProgressSlots = keyof ReturnType<typeof linearProgressVariants>;
|
|
143
142
|
|
|
144
|
-
export { type LinearProgressSlots, type LinearProgressVariantProps, linearProgressVariants
|
|
143
|
+
export { type LinearProgressSlots, type LinearProgressVariantProps, linearProgressVariants };
|
package/dist/styles.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tv as r}from"@jamsrui/utils";const e=
|
|
1
|
+
import{tv as r}from"@jamsrui/utils";const e=r({slots:{track:"w-full relative overflow-hidden rounded-full",bar:"rounded-full absolute"},variants:{color:{primary:{bar:"bg-primary",track:"bg-primary/10"},error:{bar:"bg-danger",track:"bg-danger/10"},success:{bar:"bg-success",track:"bg-success/10"},secondary:{bar:"bg-secondary",track:"bg-secondary/10"},warning:{bar:"bg-warning",track:"bg-warning/10"}},size:{sm:{track:"h-[3px]",bar:"h-[3px]"},md:{track:"h-1.5",bar:"h-1.5 "},lg:{track:"h-2",bar:"h-2 "}},isIntermediate:{true:{bar:"animate-progress"}}},defaultVariants:{size:"sm",color:"primary",isIntermediate:!0}});export{e as linearProgressVariants};
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/linear-progress",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"motion": ">=12",
|
|
6
6
|
"react": ">=19"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@jamsrui/hooks": "^0.0.
|
|
10
|
-
"@jamsrui/core": "^0.0.
|
|
11
|
-
"@jamsrui/utils": "^0.0.
|
|
9
|
+
"@jamsrui/hooks": "^0.0.9",
|
|
10
|
+
"@jamsrui/core": "^0.0.8",
|
|
11
|
+
"@jamsrui/utils": "^0.0.9"
|
|
12
12
|
},
|
|
13
13
|
"exports": {
|
|
14
14
|
".": {
|