@gridui/steps 1.0.3 → 1.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/README.md +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/dist/styles.css +6 -6
- package/docs/catalog.json +30 -0
- package/package.json +7 -8
package/README.md
CHANGED
|
@@ -31,4 +31,4 @@ step, completion state, click handler, or navigation model added by Steps.
|
|
|
31
31
|
|
|
32
32
|
## Release history
|
|
33
33
|
|
|
34
|
-
Package-owned records live in [.changeset/history](.changeset/history
|
|
34
|
+
Package-owned records live in [.changeset/history](https://github.com/sudo-ui/GridUI-React-Monorepo/tree/main/packages-core/steps/.changeset/history).
|
package/dist/index.js
CHANGED
|
@@ -19,7 +19,7 @@ var Steps = (props) => {
|
|
|
19
19
|
...restProps,
|
|
20
20
|
role,
|
|
21
21
|
type,
|
|
22
|
-
className: cn("gridui-steps grid gap-gridui-16 m-0 p-0 text-muted", className),
|
|
22
|
+
className: cn("gridui-steps gridui-u-grid gridui-u-gap-gridui-16 gridui-u-m-0 gridui-u-p-0 gridui-u-text-muted", className),
|
|
23
23
|
"data-orientation": directions.base,
|
|
24
24
|
"data-orientation-md": directions.md,
|
|
25
25
|
"data-orientation-lg": directions.lg,
|
package/dist/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/steps/steps.tsx"],
|
|
4
|
-
"sourcesContent": ["/**\n * @author WMXPY\n * @package Steps\n * @namespace Steps\n * @description Steps\n */\n\nimport { cn } from \"@gridui/style-utils\";\nimport { resolveResponsive, type Responsive } from \"@gridui/style-utils/responsive\";\nimport type { ComponentPropsWithRef, FC } from \"react\";\n\nexport type StepsProps = ComponentPropsWithRef<\"ol\"> & {\n readonly orientation?: Responsive<\"vertical\" | \"horizontal\">;\n readonly marker?: \"decimal-leading-zero\" | \"decimal\" | \"none\";\n readonly connector?: \"none\" | \"line\";\n};\n\nexport const Steps: FC<StepsProps> = (props: StepsProps) => {\n const { orientation = \"vertical\", marker, connector = \"none\", type,\n className, role = \"list\", ...restProps } = props;\n const directions = resolveResponsive(orientation);\n return (<ol\n {...restProps}\n role={role}\n type={type}\n className={cn(\"gridui-steps grid gap-gridui-16 m-0 p-0 text-muted\", className)}\n data-orientation={directions.base}\n data-orientation-md={directions.md}\n data-orientation-lg={directions.lg}\n data-marker={marker ?? (type ? \"native\" : \"decimal-leading-zero\")}\n data-connector={connector}\n />);\n};\n"],
|
|
5
|
-
"mappings": ";AAOA,SAAS,UAAU;AACnB,SAAS,yBAA0C;AAavC;AAJL,IAAM,QAAwB,CAAC,UAAsB;AACxD,QAAM;AAAA,IAAE,cAAc;AAAA,IAAY;AAAA,IAAQ,YAAY;AAAA,IAAQ;AAAA,IAC1D;AAAA,IAAW,OAAO;AAAA,IAAQ,GAAG;AAAA,EAAU,IAAI;AAC/C,QAAM,aAAa,kBAAkB,WAAW;AAChD,SAAQ;AAAA,IAAC;AAAA;AAAA,MACJ,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,MACA,WAAW,GAAG,
|
|
4
|
+
"sourcesContent": ["/**\n * @author WMXPY\n * @package Steps\n * @namespace Steps\n * @description Steps\n */\n\nimport { cn } from \"@gridui/style-utils\";\nimport { resolveResponsive, type Responsive } from \"@gridui/style-utils/responsive\";\nimport type { ComponentPropsWithRef, FC } from \"react\";\n\nexport type StepsProps = ComponentPropsWithRef<\"ol\"> & {\n readonly orientation?: Responsive<\"vertical\" | \"horizontal\">;\n readonly marker?: \"decimal-leading-zero\" | \"decimal\" | \"none\";\n readonly connector?: \"none\" | \"line\";\n};\n\nexport const Steps: FC<StepsProps> = (props: StepsProps) => {\n const { orientation = \"vertical\", marker, connector = \"none\", type,\n className, role = \"list\", ...restProps } = props;\n const directions = resolveResponsive(orientation);\n return (<ol\n {...restProps}\n role={role}\n type={type}\n className={cn(\"gridui-steps gridui-u-grid gridui-u-gap-gridui-16 gridui-u-m-0 gridui-u-p-0 gridui-u-text-muted\", className)}\n data-orientation={directions.base}\n data-orientation-md={directions.md}\n data-orientation-lg={directions.lg}\n data-marker={marker ?? (type ? \"native\" : \"decimal-leading-zero\")}\n data-connector={connector}\n />);\n};\n"],
|
|
5
|
+
"mappings": ";AAOA,SAAS,UAAU;AACnB,SAAS,yBAA0C;AAavC;AAJL,IAAM,QAAwB,CAAC,UAAsB;AACxD,QAAM;AAAA,IAAE,cAAc;AAAA,IAAY;AAAA,IAAQ,YAAY;AAAA,IAAQ;AAAA,IAC1D;AAAA,IAAW,OAAO;AAAA,IAAQ,GAAG;AAAA,EAAU,IAAI;AAC/C,QAAM,aAAa,kBAAkB,WAAW;AAChD,SAAQ;AAAA,IAAC;AAAA;AAAA,MACJ,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,MACA,WAAW,GAAG,mGAAmG,SAAS;AAAA,MAC1H,oBAAkB,WAAW;AAAA,MAC7B,uBAAqB,WAAW;AAAA,MAChC,uBAAqB,WAAW;AAAA,MAChC,eAAa,WAAW,OAAO,WAAW;AAAA,MAC1C,kBAAgB;AAAA;AAAA,EACpB;AACJ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/styles.css
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/*! tailwindcss v4.3.
|
|
1
|
+
/*! tailwindcss v4.3.4 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer theme, base, components, utilities;
|
|
3
3
|
@layer utilities {
|
|
4
|
-
.m-0 {
|
|
4
|
+
.gridui-u-m-0 {
|
|
5
5
|
margin: 0px;
|
|
6
6
|
}
|
|
7
|
-
.grid {
|
|
7
|
+
.gridui-u-grid {
|
|
8
8
|
display: grid;
|
|
9
9
|
}
|
|
10
|
-
.gap-gridui-16 {
|
|
10
|
+
.gridui-u-gap-gridui-16 {
|
|
11
11
|
gap: var(--gridui-space-16);
|
|
12
12
|
}
|
|
13
|
-
.p-0 {
|
|
13
|
+
.gridui-u-p-0 {
|
|
14
14
|
padding: 0px;
|
|
15
15
|
}
|
|
16
|
-
.text-muted {
|
|
16
|
+
.gridui-u-text-muted {
|
|
17
17
|
color: var(--gridui-muted);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"name": "@gridui/steps",
|
|
4
|
+
"version": "1.0.6",
|
|
5
|
+
"category": "core",
|
|
6
|
+
"description": "Semantic ordered process lists",
|
|
7
|
+
"usage": "`@gridui/steps` renders a passive semantic ordered list. Import `Steps` and `StepsProps` from the package root and load `@gridui/steps/styles.css` after the shared theme. The package has no dependency on Layout, Landing, or Dashboard families.",
|
|
8
|
+
"documentation": [
|
|
9
|
+
"README.md"
|
|
10
|
+
],
|
|
11
|
+
"exports": [
|
|
12
|
+
{
|
|
13
|
+
"name": "Steps",
|
|
14
|
+
"kind": "component",
|
|
15
|
+
"importPath": "@gridui/steps"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "StepsProps",
|
|
19
|
+
"kind": "type",
|
|
20
|
+
"importPath": "@gridui/steps"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"styles": [
|
|
24
|
+
"@gridui/theme/styles.css",
|
|
25
|
+
"@gridui/steps/styles.css"
|
|
26
|
+
],
|
|
27
|
+
"examples": [
|
|
28
|
+
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/steps/stories/steps.stories.tsx"
|
|
29
|
+
]
|
|
30
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gridui/steps",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Semantic ordered process lists",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist",
|
|
9
|
-
"README.md"
|
|
9
|
+
"README.md",
|
|
10
|
+
"docs"
|
|
10
11
|
],
|
|
11
12
|
"sideEffects": [
|
|
12
13
|
"**/*.css"
|
|
@@ -22,13 +23,13 @@
|
|
|
22
23
|
"access": "public"
|
|
23
24
|
},
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@gridui/style-utils": "^2.
|
|
26
|
-
"@gridui/theme": "^2.
|
|
26
|
+
"@gridui/style-utils": "^2.2.2",
|
|
27
|
+
"@gridui/theme": "^2.5.3"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
29
30
|
"@gridui-internal/configuration": "0.0.0-internal",
|
|
30
31
|
"@jest/globals": "30.5.2",
|
|
31
|
-
"@storybook/react-vite": "10.6.
|
|
32
|
+
"@storybook/react-vite": "10.6.6",
|
|
32
33
|
"@types/jest": "30.0.0",
|
|
33
34
|
"@types/node": "26.6.6",
|
|
34
35
|
"@types/react": "19.3.0",
|
|
@@ -44,8 +45,6 @@
|
|
|
44
45
|
},
|
|
45
46
|
"scripts": {
|
|
46
47
|
"build": "node ../../scripts/compilation/package.ts",
|
|
47
|
-
"compile": "tsc --project tsconfig.json"
|
|
48
|
-
"test": "jest",
|
|
49
|
-
"coverage": "jest --coverage"
|
|
48
|
+
"compile": "tsc --project tsconfig.json"
|
|
50
49
|
}
|
|
51
50
|
}
|