@gridui/steps 1.0.6 → 1.0.7

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.js CHANGED
@@ -19,7 +19,7 @@ var Steps = (props) => {
19
19
  ...restProps,
20
20
  role,
21
21
  type,
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),
22
+ className: cn("gridui-steps gridui-u-steps--grid gridui-u-steps--gap-gridui-16 gridui-u-steps--m-0 gridui-u-steps--p-0 gridui-u-steps--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 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;",
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-steps--grid gridui-u-steps--gap-gridui-16 gridui-u-steps--m-0 gridui-u-steps--p-0 gridui-u-steps--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,sIAAsI,SAAS;AAAA,MAC7J,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.4 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
2
2
  @layer theme, base, components, utilities;
3
3
  @layer utilities {
4
- .gridui-u-m-0 {
4
+ .gridui-u-steps--m-0 {
5
5
  margin: 0px;
6
6
  }
7
- .gridui-u-grid {
7
+ .gridui-u-steps--grid {
8
8
  display: grid;
9
9
  }
10
- .gridui-u-gap-gridui-16 {
10
+ .gridui-u-steps--gap-gridui-16 {
11
11
  gap: var(--gridui-space-16);
12
12
  }
13
- .gridui-u-p-0 {
13
+ .gridui-u-steps--p-0 {
14
14
  padding: 0px;
15
15
  }
16
- .gridui-u-text-muted {
16
+ .gridui-u-steps--text-muted {
17
17
  color: var(--gridui-muted);
18
18
  }
19
19
  }
package/docs/catalog.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "name": "@gridui/steps",
4
- "version": "1.0.6",
4
+ "version": "1.0.7",
5
5
  "category": "core",
6
6
  "description": "Semantic ordered process lists",
7
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.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridui/steps",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Semantic ordered process lists",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -23,7 +23,7 @@
23
23
  "access": "public"
24
24
  },
25
25
  "dependencies": {
26
- "@gridui/style-utils": "^2.2.2",
26
+ "@gridui/style-utils": "^3.0.0",
27
27
  "@gridui/theme": "^2.5.3"
28
28
  },
29
29
  "devDependencies": {