@rubenpazch/stepper 3.0.0 → 4.0.0

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.cjs.js CHANGED
@@ -451,7 +451,7 @@ function styleInject(css, ref) {
451
451
  }
452
452
  }
453
453
 
454
- var css_248z = "/* Container */\n.Stepper-module_container__DJqqd {\n margin-bottom: 2rem;\n}\n\n/* Step container */\n.Stepper-module_stepsContainer__BSRre {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.Stepper-module_stepWrapper__tLZrN {\n display: flex;\n align-items: center;\n flex: 1;\n}\n\n.Stepper-module_stepContent__U41GC {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n/* Circle */\n.Stepper-module_circle__NG20I {\n border-radius: 9999px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-weight: 600;\n transition: all 150ms ease;\n}\n\n/* Circle sizes */\n.Stepper-module_circleSmall__OvjYU {\n width: 1.5rem;\n height: 1.5rem;\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.Stepper-module_circleMedium__4USpR {\n width: 2.5rem;\n height: 2.5rem;\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n.Stepper-module_circleLarge__YJTfR {\n width: 4rem;\n height: 4rem;\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n\n/* Circle states */\n.Stepper-module_circleActive__b9Mg5 {\n background: #2563eb;\n color: white;\n box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);\n transform: scale(1.1);\n}\n\n.Stepper-module_circleActiveSmall__y038c {\n box-shadow: 0 0 0 2px #93c5fd;\n}\n\n.Stepper-module_circleActiveMedium__f5x7y {\n box-shadow: 0 0 0 4px #93c5fd;\n}\n\n.Stepper-module_circleActiveLarge__k5w2P {\n box-shadow: 0 0 0 8px #93c5fd;\n}\n\n.Stepper-module_circleCompleted__3PZzz {\n background: #eff6ff;\n color: #2563eb;\n}\n\n.Stepper-module_circleFuture__5QSu9 {\n background: #d1d5db;\n color: #4b5563;\n}\n\n/* Title */\n.Stepper-module_title__-ugD2 {\n margin-top: 0.5rem;\n font-weight: 500;\n transition: all 150ms ease;\n}\n\n/* Title sizes */\n.Stepper-module_titleSmall__UaJEH {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.Stepper-module_titleMedium__9l6Ig {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.Stepper-module_titleLarge__CK7gk {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n\n/* Title states */\n.Stepper-module_titleActive__DUnmr {\n color: #1d4ed8;\n font-weight: 700;\n}\n\n.Stepper-module_titleClickable__b3i-v {\n color: #2563eb;\n text-decoration: underline;\n cursor: pointer;\n}\n\n.Stepper-module_titleClickable__b3i-v:hover {\n color: #1e40af;\n}\n\n.Stepper-module_titleCompleted__VdB7c {\n color: #2563eb;\n}\n\n.Stepper-module_titleFuture__cSPZD {\n color: #6b7280;\n}\n\n/* Link and button styles */\n.Stepper-module_link__3WBTp {\n text-decoration: none;\n}\n\n.Stepper-module_link__3WBTp:hover {\n text-decoration: underline;\n}\n\n.Stepper-module_link__3WBTp:focus {\n outline: none;\n}\n\n.Stepper-module_button__2p5jI {\n background: transparent;\n border: none;\n padding: 0;\n margin: 0;\n cursor: pointer;\n}\n\n.Stepper-module_button__2p5jI:focus {\n outline: none;\n}\n\n/* Connector line */\n.Stepper-module_connector__7JYHQ {\n height: 0.25rem;\n flex: 1;\n margin-left: 1rem;\n margin-right: 1rem;\n margin-top: -1.25rem;\n}\n\n.Stepper-module_connectorCompleted__ZrGL7 {\n background: #2563eb;\n}\n\n.Stepper-module_connectorIncomplete__6Gg1g {\n background: #d1d5db;\n}\n";
454
+ var css_248z = "/* Container */\n.Stepper-module_container__DJqqd {\n margin-bottom: 2rem;\n}\n\n/* Step container */\n.Stepper-module_stepsContainer__BSRre {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.Stepper-module_stepWrapper__tLZrN {\n display: flex;\n align-items: center;\n flex: 1;\n}\n\n.Stepper-module_stepContent__U41GC {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n/* Circle */\n.Stepper-module_circle__NG20I {\n border-radius: 9999px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-weight: 600;\n transition: all 150ms ease;\n}\n\n/* Circle sizes */\n.Stepper-module_circleSmall__OvjYU {\n width: 1.5rem;\n height: 1.5rem;\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.Stepper-module_circleMedium__4USpR {\n width: 2.5rem;\n height: 2.5rem;\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n.Stepper-module_circleLarge__YJTfR {\n width: 4rem;\n height: 4rem;\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n\n/* Circle states */\n.Stepper-module_circleActive__b9Mg5 {\n background: var(--lb-color-primary);\n color: var(--lb-color-primary-foreground);\n box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);\n transform: scale(1.1);\n}\n\n.Stepper-module_circleActiveSmall__y038c {\n box-shadow: 0 0 0 2px var(--lb-color-blue-border);\n}\n\n.Stepper-module_circleActiveMedium__f5x7y {\n box-shadow: 0 0 0 4px var(--lb-color-blue-border);\n}\n\n.Stepper-module_circleActiveLarge__k5w2P {\n box-shadow: 0 0 0 8px var(--lb-color-blue-border);\n}\n\n.Stepper-module_circleCompleted__3PZzz {\n background: var(--lb-color-blue-subtle);\n color: var(--lb-color-primary);\n}\n\n.Stepper-module_circleFuture__5QSu9 {\n background: var(--lb-color-neutral-300);\n color: var(--lb-color-neutral-600);\n}\n\n/* Title */\n.Stepper-module_title__-ugD2 {\n margin-top: 0.5rem;\n font-weight: 500;\n transition: all 150ms ease;\n}\n\n/* Title sizes */\n.Stepper-module_titleSmall__UaJEH {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.Stepper-module_titleMedium__9l6Ig {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.Stepper-module_titleLarge__CK7gk {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n\n/* Title states */\n.Stepper-module_titleActive__DUnmr {\n color: var(--lb-color-primary-hover);\n font-weight: 700;\n}\n\n.Stepper-module_titleClickable__b3i-v {\n color: var(--lb-color-primary);\n text-decoration: underline;\n cursor: pointer;\n}\n\n.Stepper-module_titleClickable__b3i-v:hover {\n color: var(--lb-color-blue-strong);\n}\n\n.Stepper-module_titleCompleted__VdB7c {\n color: var(--lb-color-primary);\n}\n\n.Stepper-module_titleFuture__cSPZD {\n color: var(--lb-color-neutral-500);\n}\n\n/* Link and button styles */\n.Stepper-module_link__3WBTp {\n text-decoration: none;\n}\n\n.Stepper-module_link__3WBTp:hover {\n text-decoration: underline;\n}\n\n.Stepper-module_link__3WBTp:focus {\n outline: none;\n}\n\n.Stepper-module_button__2p5jI {\n background: transparent;\n border: none;\n padding: 0;\n margin: 0;\n cursor: pointer;\n}\n\n.Stepper-module_button__2p5jI:focus {\n outline: none;\n}\n\n/* Connector line */\n.Stepper-module_connector__7JYHQ {\n height: 0.25rem;\n flex: 1;\n margin-left: 1rem;\n margin-right: 1rem;\n margin-top: -1.25rem;\n}\n\n.Stepper-module_connectorCompleted__ZrGL7 {\n background: var(--lb-color-primary);\n}\n\n.Stepper-module_connectorIncomplete__6Gg1g {\n background: var(--lb-color-neutral-300);\n}\n";
455
455
  var styles = {"container":"Stepper-module_container__DJqqd","stepsContainer":"Stepper-module_stepsContainer__BSRre","stepWrapper":"Stepper-module_stepWrapper__tLZrN","stepContent":"Stepper-module_stepContent__U41GC","circle":"Stepper-module_circle__NG20I","circleSmall":"Stepper-module_circleSmall__OvjYU","circleMedium":"Stepper-module_circleMedium__4USpR","circleLarge":"Stepper-module_circleLarge__YJTfR","circleActive":"Stepper-module_circleActive__b9Mg5","circleActiveSmall":"Stepper-module_circleActiveSmall__y038c","circleActiveMedium":"Stepper-module_circleActiveMedium__f5x7y","circleActiveLarge":"Stepper-module_circleActiveLarge__k5w2P","circleCompleted":"Stepper-module_circleCompleted__3PZzz","circleFuture":"Stepper-module_circleFuture__5QSu9","title":"Stepper-module_title__-ugD2","titleSmall":"Stepper-module_titleSmall__UaJEH","titleMedium":"Stepper-module_titleMedium__9l6Ig","titleLarge":"Stepper-module_titleLarge__CK7gk","titleActive":"Stepper-module_titleActive__DUnmr","titleClickable":"Stepper-module_titleClickable__b3i-v","titleCompleted":"Stepper-module_titleCompleted__VdB7c","titleFuture":"Stepper-module_titleFuture__cSPZD","link":"Stepper-module_link__3WBTp","button":"Stepper-module_button__2p5jI","connector":"Stepper-module_connector__7JYHQ","connectorCompleted":"Stepper-module_connectorCompleted__ZrGL7","connectorIncomplete":"Stepper-module_connectorIncomplete__6Gg1g"};
456
456
  styleInject(css_248z);
457
457
 
package/dist/index.esm.js CHANGED
@@ -449,7 +449,7 @@ function styleInject(css, ref) {
449
449
  }
450
450
  }
451
451
 
452
- var css_248z = "/* Container */\n.Stepper-module_container__DJqqd {\n margin-bottom: 2rem;\n}\n\n/* Step container */\n.Stepper-module_stepsContainer__BSRre {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.Stepper-module_stepWrapper__tLZrN {\n display: flex;\n align-items: center;\n flex: 1;\n}\n\n.Stepper-module_stepContent__U41GC {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n/* Circle */\n.Stepper-module_circle__NG20I {\n border-radius: 9999px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-weight: 600;\n transition: all 150ms ease;\n}\n\n/* Circle sizes */\n.Stepper-module_circleSmall__OvjYU {\n width: 1.5rem;\n height: 1.5rem;\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.Stepper-module_circleMedium__4USpR {\n width: 2.5rem;\n height: 2.5rem;\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n.Stepper-module_circleLarge__YJTfR {\n width: 4rem;\n height: 4rem;\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n\n/* Circle states */\n.Stepper-module_circleActive__b9Mg5 {\n background: #2563eb;\n color: white;\n box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);\n transform: scale(1.1);\n}\n\n.Stepper-module_circleActiveSmall__y038c {\n box-shadow: 0 0 0 2px #93c5fd;\n}\n\n.Stepper-module_circleActiveMedium__f5x7y {\n box-shadow: 0 0 0 4px #93c5fd;\n}\n\n.Stepper-module_circleActiveLarge__k5w2P {\n box-shadow: 0 0 0 8px #93c5fd;\n}\n\n.Stepper-module_circleCompleted__3PZzz {\n background: #eff6ff;\n color: #2563eb;\n}\n\n.Stepper-module_circleFuture__5QSu9 {\n background: #d1d5db;\n color: #4b5563;\n}\n\n/* Title */\n.Stepper-module_title__-ugD2 {\n margin-top: 0.5rem;\n font-weight: 500;\n transition: all 150ms ease;\n}\n\n/* Title sizes */\n.Stepper-module_titleSmall__UaJEH {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.Stepper-module_titleMedium__9l6Ig {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.Stepper-module_titleLarge__CK7gk {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n\n/* Title states */\n.Stepper-module_titleActive__DUnmr {\n color: #1d4ed8;\n font-weight: 700;\n}\n\n.Stepper-module_titleClickable__b3i-v {\n color: #2563eb;\n text-decoration: underline;\n cursor: pointer;\n}\n\n.Stepper-module_titleClickable__b3i-v:hover {\n color: #1e40af;\n}\n\n.Stepper-module_titleCompleted__VdB7c {\n color: #2563eb;\n}\n\n.Stepper-module_titleFuture__cSPZD {\n color: #6b7280;\n}\n\n/* Link and button styles */\n.Stepper-module_link__3WBTp {\n text-decoration: none;\n}\n\n.Stepper-module_link__3WBTp:hover {\n text-decoration: underline;\n}\n\n.Stepper-module_link__3WBTp:focus {\n outline: none;\n}\n\n.Stepper-module_button__2p5jI {\n background: transparent;\n border: none;\n padding: 0;\n margin: 0;\n cursor: pointer;\n}\n\n.Stepper-module_button__2p5jI:focus {\n outline: none;\n}\n\n/* Connector line */\n.Stepper-module_connector__7JYHQ {\n height: 0.25rem;\n flex: 1;\n margin-left: 1rem;\n margin-right: 1rem;\n margin-top: -1.25rem;\n}\n\n.Stepper-module_connectorCompleted__ZrGL7 {\n background: #2563eb;\n}\n\n.Stepper-module_connectorIncomplete__6Gg1g {\n background: #d1d5db;\n}\n";
452
+ var css_248z = "/* Container */\n.Stepper-module_container__DJqqd {\n margin-bottom: 2rem;\n}\n\n/* Step container */\n.Stepper-module_stepsContainer__BSRre {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.Stepper-module_stepWrapper__tLZrN {\n display: flex;\n align-items: center;\n flex: 1;\n}\n\n.Stepper-module_stepContent__U41GC {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n/* Circle */\n.Stepper-module_circle__NG20I {\n border-radius: 9999px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-weight: 600;\n transition: all 150ms ease;\n}\n\n/* Circle sizes */\n.Stepper-module_circleSmall__OvjYU {\n width: 1.5rem;\n height: 1.5rem;\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.Stepper-module_circleMedium__4USpR {\n width: 2.5rem;\n height: 2.5rem;\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n.Stepper-module_circleLarge__YJTfR {\n width: 4rem;\n height: 4rem;\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n\n/* Circle states */\n.Stepper-module_circleActive__b9Mg5 {\n background: var(--lb-color-primary);\n color: var(--lb-color-primary-foreground);\n box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);\n transform: scale(1.1);\n}\n\n.Stepper-module_circleActiveSmall__y038c {\n box-shadow: 0 0 0 2px var(--lb-color-blue-border);\n}\n\n.Stepper-module_circleActiveMedium__f5x7y {\n box-shadow: 0 0 0 4px var(--lb-color-blue-border);\n}\n\n.Stepper-module_circleActiveLarge__k5w2P {\n box-shadow: 0 0 0 8px var(--lb-color-blue-border);\n}\n\n.Stepper-module_circleCompleted__3PZzz {\n background: var(--lb-color-blue-subtle);\n color: var(--lb-color-primary);\n}\n\n.Stepper-module_circleFuture__5QSu9 {\n background: var(--lb-color-neutral-300);\n color: var(--lb-color-neutral-600);\n}\n\n/* Title */\n.Stepper-module_title__-ugD2 {\n margin-top: 0.5rem;\n font-weight: 500;\n transition: all 150ms ease;\n}\n\n/* Title sizes */\n.Stepper-module_titleSmall__UaJEH {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.Stepper-module_titleMedium__9l6Ig {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.Stepper-module_titleLarge__CK7gk {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n\n/* Title states */\n.Stepper-module_titleActive__DUnmr {\n color: var(--lb-color-primary-hover);\n font-weight: 700;\n}\n\n.Stepper-module_titleClickable__b3i-v {\n color: var(--lb-color-primary);\n text-decoration: underline;\n cursor: pointer;\n}\n\n.Stepper-module_titleClickable__b3i-v:hover {\n color: var(--lb-color-blue-strong);\n}\n\n.Stepper-module_titleCompleted__VdB7c {\n color: var(--lb-color-primary);\n}\n\n.Stepper-module_titleFuture__cSPZD {\n color: var(--lb-color-neutral-500);\n}\n\n/* Link and button styles */\n.Stepper-module_link__3WBTp {\n text-decoration: none;\n}\n\n.Stepper-module_link__3WBTp:hover {\n text-decoration: underline;\n}\n\n.Stepper-module_link__3WBTp:focus {\n outline: none;\n}\n\n.Stepper-module_button__2p5jI {\n background: transparent;\n border: none;\n padding: 0;\n margin: 0;\n cursor: pointer;\n}\n\n.Stepper-module_button__2p5jI:focus {\n outline: none;\n}\n\n/* Connector line */\n.Stepper-module_connector__7JYHQ {\n height: 0.25rem;\n flex: 1;\n margin-left: 1rem;\n margin-right: 1rem;\n margin-top: -1.25rem;\n}\n\n.Stepper-module_connectorCompleted__ZrGL7 {\n background: var(--lb-color-primary);\n}\n\n.Stepper-module_connectorIncomplete__6Gg1g {\n background: var(--lb-color-neutral-300);\n}\n";
453
453
  var styles = {"container":"Stepper-module_container__DJqqd","stepsContainer":"Stepper-module_stepsContainer__BSRre","stepWrapper":"Stepper-module_stepWrapper__tLZrN","stepContent":"Stepper-module_stepContent__U41GC","circle":"Stepper-module_circle__NG20I","circleSmall":"Stepper-module_circleSmall__OvjYU","circleMedium":"Stepper-module_circleMedium__4USpR","circleLarge":"Stepper-module_circleLarge__YJTfR","circleActive":"Stepper-module_circleActive__b9Mg5","circleActiveSmall":"Stepper-module_circleActiveSmall__y038c","circleActiveMedium":"Stepper-module_circleActiveMedium__f5x7y","circleActiveLarge":"Stepper-module_circleActiveLarge__k5w2P","circleCompleted":"Stepper-module_circleCompleted__3PZzz","circleFuture":"Stepper-module_circleFuture__5QSu9","title":"Stepper-module_title__-ugD2","titleSmall":"Stepper-module_titleSmall__UaJEH","titleMedium":"Stepper-module_titleMedium__9l6Ig","titleLarge":"Stepper-module_titleLarge__CK7gk","titleActive":"Stepper-module_titleActive__DUnmr","titleClickable":"Stepper-module_titleClickable__b3i-v","titleCompleted":"Stepper-module_titleCompleted__VdB7c","titleFuture":"Stepper-module_titleFuture__cSPZD","link":"Stepper-module_link__3WBTp","button":"Stepper-module_button__2p5jI","connector":"Stepper-module_connector__7JYHQ","connectorCompleted":"Stepper-module_connectorCompleted__ZrGL7","connectorIncomplete":"Stepper-module_connectorIncomplete__6Gg1g"};
454
454
  styleInject(css_248z);
455
455
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rubenpazch/stepper",
3
- "version": "3.0.0",
3
+ "version": "4.0.0",
4
4
  "description": "Stepper component",
5
5
  "private": false,
6
6
  "main": "dist/index.cjs.js",
@@ -28,7 +28,8 @@
28
28
  },
29
29
  "peerDependencies": {
30
30
  "react": "^19.0.0",
31
- "react-dom": "^19.0.0"
31
+ "react-dom": "^19.0.0",
32
+ "@rubenpazch/tokens": "0.2.0"
32
33
  },
33
34
  "devDependencies": {
34
35
  "@rubenpazch/typescript-config": "3.0.0"