@rubenpazch/prescription-eye-card 2.0.0 → 3.0.1
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 +3 -3
- package/dist/index.esm.js +3 -3
- package/package.json +4 -3
package/dist/index.cjs.js
CHANGED
|
@@ -451,7 +451,7 @@ function styleInject$1(css, ref) {
|
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
453
|
|
|
454
|
-
var css_248z$2 = ".PrescriptionFieldCard-module_card__ASfIy {\n border-radius: 0.5rem;\n padding: 0.75rem;\n border: 1px solid;\n}\n\n.PrescriptionFieldCard-module_container__MPzDE {\n background:
|
|
454
|
+
var css_248z$2 = ".PrescriptionFieldCard-module_card__ASfIy {\n border-radius: 0.5rem;\n padding: 0.75rem;\n border: 1px solid;\n}\n\n.PrescriptionFieldCard-module_container__MPzDE {\n background: var(--lb-color-background);\n}\n\n.PrescriptionFieldCard-module_label__0y8gX {\n font-size: 0.75rem;\n font-weight: 600;\n text-transform: uppercase;\n margin-bottom: 0.25rem;\n}\n\n.PrescriptionFieldCard-module_labelText__2BXsm {\n display: inline-flex;\n align-items: center;\n gap: 0.25rem;\n}\n\n.PrescriptionFieldCard-module_value__fLTqO {\n font-size: 1rem;\n font-weight: 700;\n}\n\n.PrescriptionFieldCard-module_valueText__PG65k {\n display: inline-block;\n}\n\n.PrescriptionFieldCard-module_range__DePL5 {\n font-size: 0.75rem;\n margin-top: 0.25rem;\n}\n\n.PrescriptionFieldCard-module_rangeText__CSI7W {\n display: block;\n}\n\n.PrescriptionFieldCard-module_required__TOVuh {\n color: var(--lb-color-danger);\n margin-left: 0.25rem;\n}\n\n.PrescriptionFieldCard-module_variantDefault__FGaK- {\n background: var(--lb-color-background);\n border-color: var(--lb-color-border);\n}\n\n.PrescriptionFieldCard-module_labelDefault__MctUG {\n color: var(--lb-color-muted-foreground);\n}\n\n.PrescriptionFieldCard-module_valueDefault__XrEK7 {\n color: var(--lb-color-foreground);\n}\n\n.PrescriptionFieldCard-module_rangeDefault__hGYUI {\n color: var(--lb-color-neutral-400);\n}\n\n.PrescriptionFieldCard-module_variantHighlighted__W0kK5 {\n background: var(--lb-color-blue-subtle);\n border-color: var(--lb-color-blue-border);\n}\n\n.PrescriptionFieldCard-module_labelHighlighted__WYkKd {\n color: var(--lb-color-blue-strong);\n}\n\n.PrescriptionFieldCard-module_valueHighlighted__EhCcL {\n color: var(--lb-color-blue-strong);\n}\n\n.PrescriptionFieldCard-module_rangeHighlighted__hJbua {\n color: var(--lb-color-primary);\n}\n\n.PrescriptionFieldCard-module_variantSuccess__rCStK {\n background: var(--lb-color-emerald-subtle);\n border-color: var(--lb-color-emerald-border);\n}\n\n.PrescriptionFieldCard-module_labelSuccess__TWhVp {\n color: var(--lb-color-emerald-strong);\n}\n\n.PrescriptionFieldCard-module_valueSuccess__9F-I8 {\n color: var(--lb-color-emerald-strong);\n}\n\n.PrescriptionFieldCard-module_rangeSuccess__YQlkz {\n color: var(--lb-color-success);\n}\n\n.PrescriptionFieldCard-module_variantWarning__1O1VI {\n background: var(--lb-color-amber-subtle);\n border-color: var(--lb-color-amber-border);\n}\n\n.PrescriptionFieldCard-module_labelWarning__2k6WN {\n color: var(--lb-color-amber-strong);\n}\n\n.PrescriptionFieldCard-module_valueWarning__Te-ai {\n color: var(--lb-color-amber-strong);\n}\n\n.PrescriptionFieldCard-module_rangeWarning__UUOH2 {\n color: var(--lb-color-warning);\n}\n";
|
|
455
455
|
var styles$2 = {"card":"PrescriptionFieldCard-module_card__ASfIy","label":"PrescriptionFieldCard-module_label__0y8gX","labelText":"PrescriptionFieldCard-module_labelText__2BXsm","value":"PrescriptionFieldCard-module_value__fLTqO","valueText":"PrescriptionFieldCard-module_valueText__PG65k","range":"PrescriptionFieldCard-module_range__DePL5","rangeText":"PrescriptionFieldCard-module_rangeText__CSI7W","required":"PrescriptionFieldCard-module_required__TOVuh","variantDefault":"PrescriptionFieldCard-module_variantDefault__FGaK-","labelDefault":"PrescriptionFieldCard-module_labelDefault__MctUG","valueDefault":"PrescriptionFieldCard-module_valueDefault__XrEK7","rangeDefault":"PrescriptionFieldCard-module_rangeDefault__hGYUI","variantHighlighted":"PrescriptionFieldCard-module_variantHighlighted__W0kK5","labelHighlighted":"PrescriptionFieldCard-module_labelHighlighted__WYkKd","valueHighlighted":"PrescriptionFieldCard-module_valueHighlighted__EhCcL","rangeHighlighted":"PrescriptionFieldCard-module_rangeHighlighted__hJbua","variantSuccess":"PrescriptionFieldCard-module_variantSuccess__rCStK","labelSuccess":"PrescriptionFieldCard-module_labelSuccess__TWhVp","valueSuccess":"PrescriptionFieldCard-module_valueSuccess__9F-I8","rangeSuccess":"PrescriptionFieldCard-module_rangeSuccess__YQlkz","variantWarning":"PrescriptionFieldCard-module_variantWarning__1O1VI","labelWarning":"PrescriptionFieldCard-module_labelWarning__2k6WN","valueWarning":"PrescriptionFieldCard-module_valueWarning__Te-ai","rangeWarning":"PrescriptionFieldCard-module_rangeWarning__UUOH2"};
|
|
456
456
|
styleInject$1(css_248z$2);
|
|
457
457
|
|
|
@@ -937,7 +937,7 @@ function styleInject(css, ref) {
|
|
|
937
937
|
}
|
|
938
938
|
}
|
|
939
939
|
|
|
940
|
-
var css_248z$1 = ".CheckboxInput-module_wrapper__lJGfc {\n display: flex;\n align-items: flex-start;\n gap: 0.75rem;\n}\n\n.CheckboxInput-module_checkboxContainer__ou1mg {\n display: flex;\n align-items: center;\n}\n\n.CheckboxInput-module_containerSm__zAmsB {\n height: 1rem;\n}\n\n.CheckboxInput-module_containerMd__lXzhK {\n height: 1.25rem;\n}\n\n.CheckboxInput-module_containerLg__ckD4Q {\n height: 1.5rem;\n}\n\n.CheckboxInput-module_checkbox__lYmgh {\n border: 1px solid
|
|
940
|
+
var css_248z$1 = ".CheckboxInput-module_wrapper__lJGfc {\n display: flex;\n align-items: flex-start;\n gap: 0.75rem;\n}\n\n.CheckboxInput-module_checkboxContainer__ou1mg {\n display: flex;\n align-items: center;\n}\n\n.CheckboxInput-module_containerSm__zAmsB {\n height: 1rem;\n}\n\n.CheckboxInput-module_containerMd__lXzhK {\n height: 1.25rem;\n}\n\n.CheckboxInput-module_containerLg__ckD4Q {\n height: 1.5rem;\n}\n\n.CheckboxInput-module_checkbox__lYmgh {\n border: 1px solid var(--lb-color-neutral-300);\n border-radius: 0.25rem;\n background: var(--lb-color-background);\n cursor: pointer;\n transition: all 150ms ease;\n accent-color: var(--checkbox-color, var(--lb-color-primary));\n}\n\n.CheckboxInput-module_checkbox__lYmgh:focus-visible {\n outline: none;\n box-shadow: 0 0 0 2px\n var(\n --focus-ring,\n color-mix(in srgb, var(--lb-color-primary) 30%, transparent)\n );\n}\n\n.CheckboxInput-module_checkboxDisabled__B4hsr {\n background: var(--lb-color-muted);\n cursor: not-allowed;\n opacity: 0.6;\n}\n\n.CheckboxInput-module_checkboxError__IAnd9 {\n border-color: var(--lb-color-danger);\n}\n\n.CheckboxInput-module_checkboxSm__h9Yfl {\n width: 0.75rem;\n height: 0.75rem;\n}\n\n.CheckboxInput-module_checkboxMd__Xn47v {\n width: 1rem;\n height: 1rem;\n}\n\n.CheckboxInput-module_checkboxLg__31itM {\n width: 1.25rem;\n height: 1.25rem;\n}\n\n.CheckboxInput-module_variantDefault__kOFV4 {\n --checkbox-color: var(--lb-color-primary);\n --focus-ring: color-mix(in srgb, var(--lb-color-primary) 30%, transparent);\n}\n\n.CheckboxInput-module_variantPrimary__oOcxM {\n --checkbox-color: var(--lb-color-indigo-accent);\n --focus-ring: rgba(79, 70, 229, 0.3);\n}\n\n.CheckboxInput-module_variantSuccess__Do-4i {\n --checkbox-color: var(--lb-color-success);\n --focus-ring: color-mix(in srgb, var(--lb-color-success) 30%, transparent);\n}\n\n.CheckboxInput-module_variantWarning__3-Z0F {\n --checkbox-color: var(--lb-color-warning);\n --focus-ring: color-mix(in srgb, var(--lb-color-warning) 30%, transparent);\n}\n\n.CheckboxInput-module_variantDanger__617R7 {\n --checkbox-color: var(--lb-color-danger);\n --focus-ring: color-mix(in srgb, var(--lb-color-danger) 30%, transparent);\n}\n\n.CheckboxInput-module_content__Qf9er {\n display: flex;\n flex-direction: column;\n}\n\n.CheckboxInput-module_label__rdC0e {\n font-weight: 500;\n}\n\n.CheckboxInput-module_labelSm__8m4I8 {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.CheckboxInput-module_labelMd__LpiV4 {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.CheckboxInput-module_labelLg__CZ1q0 {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n.CheckboxInput-module_labelNormal__DxrKv {\n color: var(--lb-color-neutral-700);\n cursor: pointer;\n}\n\n.CheckboxInput-module_labelDisabled__wUItt {\n color: var(--lb-color-muted-foreground);\n cursor: not-allowed;\n}\n\n.CheckboxInput-module_required__hNTK3 {\n color: var(--lb-color-red-accent);\n margin-left: 0.25rem;\n}\n\n.CheckboxInput-module_description__cwaQ6 {\n color: var(--lb-color-neutral-500);\n margin-top: 0.25rem;\n}\n\n.CheckboxInput-module_descriptionSm__cdniJ {\n font-size: 0.625rem;\n line-height: 0.875rem;\n}\n\n.CheckboxInput-module_descriptionMd__21Bdi {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.CheckboxInput-module_descriptionLg__qCwRF {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.CheckboxInput-module_errorText__r7ffs {\n margin-top: 0.25rem;\n font-size: 0.75rem;\n line-height: 1rem;\n color: var(--lb-color-danger);\n}\n";
|
|
941
941
|
var styles$1 = {"wrapper":"CheckboxInput-module_wrapper__lJGfc","checkboxContainer":"CheckboxInput-module_checkboxContainer__ou1mg","containerSm":"CheckboxInput-module_containerSm__zAmsB","containerMd":"CheckboxInput-module_containerMd__lXzhK","containerLg":"CheckboxInput-module_containerLg__ckD4Q","checkbox":"CheckboxInput-module_checkbox__lYmgh","checkboxDisabled":"CheckboxInput-module_checkboxDisabled__B4hsr","checkboxError":"CheckboxInput-module_checkboxError__IAnd9","checkboxSm":"CheckboxInput-module_checkboxSm__h9Yfl","checkboxMd":"CheckboxInput-module_checkboxMd__Xn47v","checkboxLg":"CheckboxInput-module_checkboxLg__31itM","variantDefault":"CheckboxInput-module_variantDefault__kOFV4","variantPrimary":"CheckboxInput-module_variantPrimary__oOcxM","variantSuccess":"CheckboxInput-module_variantSuccess__Do-4i","variantWarning":"CheckboxInput-module_variantWarning__3-Z0F","variantDanger":"CheckboxInput-module_variantDanger__617R7","content":"CheckboxInput-module_content__Qf9er","label":"CheckboxInput-module_label__rdC0e","labelSm":"CheckboxInput-module_labelSm__8m4I8","labelMd":"CheckboxInput-module_labelMd__LpiV4","labelLg":"CheckboxInput-module_labelLg__CZ1q0","labelNormal":"CheckboxInput-module_labelNormal__DxrKv","labelDisabled":"CheckboxInput-module_labelDisabled__wUItt","required":"CheckboxInput-module_required__hNTK3","description":"CheckboxInput-module_description__cwaQ6","descriptionSm":"CheckboxInput-module_descriptionSm__cdniJ","descriptionMd":"CheckboxInput-module_descriptionMd__21Bdi","descriptionLg":"CheckboxInput-module_descriptionLg__qCwRF","errorText":"CheckboxInput-module_errorText__r7ffs"};
|
|
942
942
|
styleInject(css_248z$1);
|
|
943
943
|
|
|
@@ -987,7 +987,7 @@ const CheckboxInput = ({ id, label, checked = false, onChange, disabled = false,
|
|
|
987
987
|
}, disabled: disabled, className: classNames$1(styles$1.checkbox, sizeConfig.checkbox, variantConfig, disabled && styles$1.checkboxDisabled, error && styles$1.checkboxError), required: required }) }), jsxRuntimeExports.jsxs("div", { className: styles$1.content, children: [jsxRuntimeExports.jsxs("label", { htmlFor: inputId, className: classNames$1(styles$1.label, sizeConfig.label, disabled ? styles$1.labelDisabled : styles$1.labelNormal), children: [label, required && jsxRuntimeExports.jsx("span", { className: styles$1.required, children: "*" })] }), description && (jsxRuntimeExports.jsx("p", { className: classNames$1(styles$1.description, sizeConfig.description), children: description })), error && jsxRuntimeExports.jsx("p", { className: styles$1.errorText, children: error })] })] }));
|
|
988
988
|
};
|
|
989
989
|
|
|
990
|
-
var css_248z = ".PrescriptionEyeCard-module_card__kfPOc {\n border: 2px solid
|
|
990
|
+
var css_248z = ".PrescriptionEyeCard-module_card__kfPOc {\n border: 2px solid var(--lb-color-border);\n border-radius: 0.75rem;\n padding: 1.25rem;\n background: linear-gradient(\n 135deg,\n var(--lb-color-neutral-50) 0%,\n var(--lb-color-background) 100%\n );\n}\n\n.PrescriptionEyeCard-module_title__eLbzi {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n font-weight: 700;\n font-size: 1.125rem;\n color: var(--lb-color-foreground);\n margin: 0 0 1rem;\n}\n\n.PrescriptionEyeCard-module_eyeBadge__s7c0M {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: 9999px;\n background: var(--lb-color-blue-subtle);\n color: var(--lb-color-blue-strong);\n font-weight: 600;\n}\n\n.PrescriptionEyeCard-module_flags__WaM-Z {\n margin-bottom: 1rem;\n display: flex;\n flex-wrap: wrap;\n gap: 0.75rem;\n}\n\n.PrescriptionEyeCard-module_flagItem__IcUL- {\n padding: 0.375rem 0.75rem;\n background: var(--lb-color-blue-subtle);\n border: 1px solid var(--lb-color-blue-border);\n border-radius: 0.375rem;\n}\n\n.PrescriptionEyeCard-module_grid__zFxYG {\n display: grid;\n gap: 1rem;\n}\n\n.PrescriptionEyeCard-module_gridThree__SLjUn {\n grid-template-columns: 1fr;\n}\n\n.PrescriptionEyeCard-module_section__GNMQQ {\n margin-bottom: 1rem;\n}\n\n.PrescriptionEyeCard-module_notes__WkmBK {\n margin-top: 1rem;\n background: var(--lb-color-amber-subtle);\n border-radius: 0.5rem;\n padding: 0.75rem;\n border: 1px solid var(--lb-color-amber-border);\n}\n\n.PrescriptionEyeCard-module_notesLabel__5ugrL {\n font-size: 0.75rem;\n font-weight: 600;\n text-transform: uppercase;\n color: var(--lb-color-amber-strong);\n margin: 0 0 0.25rem;\n}\n\n.PrescriptionEyeCard-module_notesText__VYn94 {\n font-size: 0.875rem;\n color: var(--lb-color-amber-strong);\n margin: 0;\n}\n\n@media (min-width: 768px) {\n .PrescriptionEyeCard-module_gridThree__SLjUn {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n}\n";
|
|
991
991
|
var styles = {"card":"PrescriptionEyeCard-module_card__kfPOc","title":"PrescriptionEyeCard-module_title__eLbzi","eyeBadge":"PrescriptionEyeCard-module_eyeBadge__s7c0M","flags":"PrescriptionEyeCard-module_flags__WaM-Z","flagItem":"PrescriptionEyeCard-module_flagItem__IcUL-","grid":"PrescriptionEyeCard-module_grid__zFxYG","gridThree":"PrescriptionEyeCard-module_gridThree__SLjUn","section":"PrescriptionEyeCard-module_section__GNMQQ","notes":"PrescriptionEyeCard-module_notes__WkmBK","notesLabel":"PrescriptionEyeCard-module_notesLabel__5ugrL","notesText":"PrescriptionEyeCard-module_notesText__VYn94"};
|
|
992
992
|
styleInject$1(css_248z);
|
|
993
993
|
|
package/dist/index.esm.js
CHANGED
|
@@ -449,7 +449,7 @@ function styleInject$1(css, ref) {
|
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
-
var css_248z$2 = ".PrescriptionFieldCard-module_card__ASfIy {\n border-radius: 0.5rem;\n padding: 0.75rem;\n border: 1px solid;\n}\n\n.PrescriptionFieldCard-module_container__MPzDE {\n background:
|
|
452
|
+
var css_248z$2 = ".PrescriptionFieldCard-module_card__ASfIy {\n border-radius: 0.5rem;\n padding: 0.75rem;\n border: 1px solid;\n}\n\n.PrescriptionFieldCard-module_container__MPzDE {\n background: var(--lb-color-background);\n}\n\n.PrescriptionFieldCard-module_label__0y8gX {\n font-size: 0.75rem;\n font-weight: 600;\n text-transform: uppercase;\n margin-bottom: 0.25rem;\n}\n\n.PrescriptionFieldCard-module_labelText__2BXsm {\n display: inline-flex;\n align-items: center;\n gap: 0.25rem;\n}\n\n.PrescriptionFieldCard-module_value__fLTqO {\n font-size: 1rem;\n font-weight: 700;\n}\n\n.PrescriptionFieldCard-module_valueText__PG65k {\n display: inline-block;\n}\n\n.PrescriptionFieldCard-module_range__DePL5 {\n font-size: 0.75rem;\n margin-top: 0.25rem;\n}\n\n.PrescriptionFieldCard-module_rangeText__CSI7W {\n display: block;\n}\n\n.PrescriptionFieldCard-module_required__TOVuh {\n color: var(--lb-color-danger);\n margin-left: 0.25rem;\n}\n\n.PrescriptionFieldCard-module_variantDefault__FGaK- {\n background: var(--lb-color-background);\n border-color: var(--lb-color-border);\n}\n\n.PrescriptionFieldCard-module_labelDefault__MctUG {\n color: var(--lb-color-muted-foreground);\n}\n\n.PrescriptionFieldCard-module_valueDefault__XrEK7 {\n color: var(--lb-color-foreground);\n}\n\n.PrescriptionFieldCard-module_rangeDefault__hGYUI {\n color: var(--lb-color-neutral-400);\n}\n\n.PrescriptionFieldCard-module_variantHighlighted__W0kK5 {\n background: var(--lb-color-blue-subtle);\n border-color: var(--lb-color-blue-border);\n}\n\n.PrescriptionFieldCard-module_labelHighlighted__WYkKd {\n color: var(--lb-color-blue-strong);\n}\n\n.PrescriptionFieldCard-module_valueHighlighted__EhCcL {\n color: var(--lb-color-blue-strong);\n}\n\n.PrescriptionFieldCard-module_rangeHighlighted__hJbua {\n color: var(--lb-color-primary);\n}\n\n.PrescriptionFieldCard-module_variantSuccess__rCStK {\n background: var(--lb-color-emerald-subtle);\n border-color: var(--lb-color-emerald-border);\n}\n\n.PrescriptionFieldCard-module_labelSuccess__TWhVp {\n color: var(--lb-color-emerald-strong);\n}\n\n.PrescriptionFieldCard-module_valueSuccess__9F-I8 {\n color: var(--lb-color-emerald-strong);\n}\n\n.PrescriptionFieldCard-module_rangeSuccess__YQlkz {\n color: var(--lb-color-success);\n}\n\n.PrescriptionFieldCard-module_variantWarning__1O1VI {\n background: var(--lb-color-amber-subtle);\n border-color: var(--lb-color-amber-border);\n}\n\n.PrescriptionFieldCard-module_labelWarning__2k6WN {\n color: var(--lb-color-amber-strong);\n}\n\n.PrescriptionFieldCard-module_valueWarning__Te-ai {\n color: var(--lb-color-amber-strong);\n}\n\n.PrescriptionFieldCard-module_rangeWarning__UUOH2 {\n color: var(--lb-color-warning);\n}\n";
|
|
453
453
|
var styles$2 = {"card":"PrescriptionFieldCard-module_card__ASfIy","label":"PrescriptionFieldCard-module_label__0y8gX","labelText":"PrescriptionFieldCard-module_labelText__2BXsm","value":"PrescriptionFieldCard-module_value__fLTqO","valueText":"PrescriptionFieldCard-module_valueText__PG65k","range":"PrescriptionFieldCard-module_range__DePL5","rangeText":"PrescriptionFieldCard-module_rangeText__CSI7W","required":"PrescriptionFieldCard-module_required__TOVuh","variantDefault":"PrescriptionFieldCard-module_variantDefault__FGaK-","labelDefault":"PrescriptionFieldCard-module_labelDefault__MctUG","valueDefault":"PrescriptionFieldCard-module_valueDefault__XrEK7","rangeDefault":"PrescriptionFieldCard-module_rangeDefault__hGYUI","variantHighlighted":"PrescriptionFieldCard-module_variantHighlighted__W0kK5","labelHighlighted":"PrescriptionFieldCard-module_labelHighlighted__WYkKd","valueHighlighted":"PrescriptionFieldCard-module_valueHighlighted__EhCcL","rangeHighlighted":"PrescriptionFieldCard-module_rangeHighlighted__hJbua","variantSuccess":"PrescriptionFieldCard-module_variantSuccess__rCStK","labelSuccess":"PrescriptionFieldCard-module_labelSuccess__TWhVp","valueSuccess":"PrescriptionFieldCard-module_valueSuccess__9F-I8","rangeSuccess":"PrescriptionFieldCard-module_rangeSuccess__YQlkz","variantWarning":"PrescriptionFieldCard-module_variantWarning__1O1VI","labelWarning":"PrescriptionFieldCard-module_labelWarning__2k6WN","valueWarning":"PrescriptionFieldCard-module_valueWarning__Te-ai","rangeWarning":"PrescriptionFieldCard-module_rangeWarning__UUOH2"};
|
|
454
454
|
styleInject$1(css_248z$2);
|
|
455
455
|
|
|
@@ -935,7 +935,7 @@ function styleInject(css, ref) {
|
|
|
935
935
|
}
|
|
936
936
|
}
|
|
937
937
|
|
|
938
|
-
var css_248z$1 = ".CheckboxInput-module_wrapper__lJGfc {\n display: flex;\n align-items: flex-start;\n gap: 0.75rem;\n}\n\n.CheckboxInput-module_checkboxContainer__ou1mg {\n display: flex;\n align-items: center;\n}\n\n.CheckboxInput-module_containerSm__zAmsB {\n height: 1rem;\n}\n\n.CheckboxInput-module_containerMd__lXzhK {\n height: 1.25rem;\n}\n\n.CheckboxInput-module_containerLg__ckD4Q {\n height: 1.5rem;\n}\n\n.CheckboxInput-module_checkbox__lYmgh {\n border: 1px solid
|
|
938
|
+
var css_248z$1 = ".CheckboxInput-module_wrapper__lJGfc {\n display: flex;\n align-items: flex-start;\n gap: 0.75rem;\n}\n\n.CheckboxInput-module_checkboxContainer__ou1mg {\n display: flex;\n align-items: center;\n}\n\n.CheckboxInput-module_containerSm__zAmsB {\n height: 1rem;\n}\n\n.CheckboxInput-module_containerMd__lXzhK {\n height: 1.25rem;\n}\n\n.CheckboxInput-module_containerLg__ckD4Q {\n height: 1.5rem;\n}\n\n.CheckboxInput-module_checkbox__lYmgh {\n border: 1px solid var(--lb-color-neutral-300);\n border-radius: 0.25rem;\n background: var(--lb-color-background);\n cursor: pointer;\n transition: all 150ms ease;\n accent-color: var(--checkbox-color, var(--lb-color-primary));\n}\n\n.CheckboxInput-module_checkbox__lYmgh:focus-visible {\n outline: none;\n box-shadow: 0 0 0 2px\n var(\n --focus-ring,\n color-mix(in srgb, var(--lb-color-primary) 30%, transparent)\n );\n}\n\n.CheckboxInput-module_checkboxDisabled__B4hsr {\n background: var(--lb-color-muted);\n cursor: not-allowed;\n opacity: 0.6;\n}\n\n.CheckboxInput-module_checkboxError__IAnd9 {\n border-color: var(--lb-color-danger);\n}\n\n.CheckboxInput-module_checkboxSm__h9Yfl {\n width: 0.75rem;\n height: 0.75rem;\n}\n\n.CheckboxInput-module_checkboxMd__Xn47v {\n width: 1rem;\n height: 1rem;\n}\n\n.CheckboxInput-module_checkboxLg__31itM {\n width: 1.25rem;\n height: 1.25rem;\n}\n\n.CheckboxInput-module_variantDefault__kOFV4 {\n --checkbox-color: var(--lb-color-primary);\n --focus-ring: color-mix(in srgb, var(--lb-color-primary) 30%, transparent);\n}\n\n.CheckboxInput-module_variantPrimary__oOcxM {\n --checkbox-color: var(--lb-color-indigo-accent);\n --focus-ring: rgba(79, 70, 229, 0.3);\n}\n\n.CheckboxInput-module_variantSuccess__Do-4i {\n --checkbox-color: var(--lb-color-success);\n --focus-ring: color-mix(in srgb, var(--lb-color-success) 30%, transparent);\n}\n\n.CheckboxInput-module_variantWarning__3-Z0F {\n --checkbox-color: var(--lb-color-warning);\n --focus-ring: color-mix(in srgb, var(--lb-color-warning) 30%, transparent);\n}\n\n.CheckboxInput-module_variantDanger__617R7 {\n --checkbox-color: var(--lb-color-danger);\n --focus-ring: color-mix(in srgb, var(--lb-color-danger) 30%, transparent);\n}\n\n.CheckboxInput-module_content__Qf9er {\n display: flex;\n flex-direction: column;\n}\n\n.CheckboxInput-module_label__rdC0e {\n font-weight: 500;\n}\n\n.CheckboxInput-module_labelSm__8m4I8 {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.CheckboxInput-module_labelMd__LpiV4 {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.CheckboxInput-module_labelLg__CZ1q0 {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n.CheckboxInput-module_labelNormal__DxrKv {\n color: var(--lb-color-neutral-700);\n cursor: pointer;\n}\n\n.CheckboxInput-module_labelDisabled__wUItt {\n color: var(--lb-color-muted-foreground);\n cursor: not-allowed;\n}\n\n.CheckboxInput-module_required__hNTK3 {\n color: var(--lb-color-red-accent);\n margin-left: 0.25rem;\n}\n\n.CheckboxInput-module_description__cwaQ6 {\n color: var(--lb-color-neutral-500);\n margin-top: 0.25rem;\n}\n\n.CheckboxInput-module_descriptionSm__cdniJ {\n font-size: 0.625rem;\n line-height: 0.875rem;\n}\n\n.CheckboxInput-module_descriptionMd__21Bdi {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.CheckboxInput-module_descriptionLg__qCwRF {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.CheckboxInput-module_errorText__r7ffs {\n margin-top: 0.25rem;\n font-size: 0.75rem;\n line-height: 1rem;\n color: var(--lb-color-danger);\n}\n";
|
|
939
939
|
var styles$1 = {"wrapper":"CheckboxInput-module_wrapper__lJGfc","checkboxContainer":"CheckboxInput-module_checkboxContainer__ou1mg","containerSm":"CheckboxInput-module_containerSm__zAmsB","containerMd":"CheckboxInput-module_containerMd__lXzhK","containerLg":"CheckboxInput-module_containerLg__ckD4Q","checkbox":"CheckboxInput-module_checkbox__lYmgh","checkboxDisabled":"CheckboxInput-module_checkboxDisabled__B4hsr","checkboxError":"CheckboxInput-module_checkboxError__IAnd9","checkboxSm":"CheckboxInput-module_checkboxSm__h9Yfl","checkboxMd":"CheckboxInput-module_checkboxMd__Xn47v","checkboxLg":"CheckboxInput-module_checkboxLg__31itM","variantDefault":"CheckboxInput-module_variantDefault__kOFV4","variantPrimary":"CheckboxInput-module_variantPrimary__oOcxM","variantSuccess":"CheckboxInput-module_variantSuccess__Do-4i","variantWarning":"CheckboxInput-module_variantWarning__3-Z0F","variantDanger":"CheckboxInput-module_variantDanger__617R7","content":"CheckboxInput-module_content__Qf9er","label":"CheckboxInput-module_label__rdC0e","labelSm":"CheckboxInput-module_labelSm__8m4I8","labelMd":"CheckboxInput-module_labelMd__LpiV4","labelLg":"CheckboxInput-module_labelLg__CZ1q0","labelNormal":"CheckboxInput-module_labelNormal__DxrKv","labelDisabled":"CheckboxInput-module_labelDisabled__wUItt","required":"CheckboxInput-module_required__hNTK3","description":"CheckboxInput-module_description__cwaQ6","descriptionSm":"CheckboxInput-module_descriptionSm__cdniJ","descriptionMd":"CheckboxInput-module_descriptionMd__21Bdi","descriptionLg":"CheckboxInput-module_descriptionLg__qCwRF","errorText":"CheckboxInput-module_errorText__r7ffs"};
|
|
940
940
|
styleInject(css_248z$1);
|
|
941
941
|
|
|
@@ -985,7 +985,7 @@ const CheckboxInput = ({ id, label, checked = false, onChange, disabled = false,
|
|
|
985
985
|
}, disabled: disabled, className: classNames$1(styles$1.checkbox, sizeConfig.checkbox, variantConfig, disabled && styles$1.checkboxDisabled, error && styles$1.checkboxError), required: required }) }), jsxRuntimeExports.jsxs("div", { className: styles$1.content, children: [jsxRuntimeExports.jsxs("label", { htmlFor: inputId, className: classNames$1(styles$1.label, sizeConfig.label, disabled ? styles$1.labelDisabled : styles$1.labelNormal), children: [label, required && jsxRuntimeExports.jsx("span", { className: styles$1.required, children: "*" })] }), description && (jsxRuntimeExports.jsx("p", { className: classNames$1(styles$1.description, sizeConfig.description), children: description })), error && jsxRuntimeExports.jsx("p", { className: styles$1.errorText, children: error })] })] }));
|
|
986
986
|
};
|
|
987
987
|
|
|
988
|
-
var css_248z = ".PrescriptionEyeCard-module_card__kfPOc {\n border: 2px solid
|
|
988
|
+
var css_248z = ".PrescriptionEyeCard-module_card__kfPOc {\n border: 2px solid var(--lb-color-border);\n border-radius: 0.75rem;\n padding: 1.25rem;\n background: linear-gradient(\n 135deg,\n var(--lb-color-neutral-50) 0%,\n var(--lb-color-background) 100%\n );\n}\n\n.PrescriptionEyeCard-module_title__eLbzi {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n font-weight: 700;\n font-size: 1.125rem;\n color: var(--lb-color-foreground);\n margin: 0 0 1rem;\n}\n\n.PrescriptionEyeCard-module_eyeBadge__s7c0M {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: 9999px;\n background: var(--lb-color-blue-subtle);\n color: var(--lb-color-blue-strong);\n font-weight: 600;\n}\n\n.PrescriptionEyeCard-module_flags__WaM-Z {\n margin-bottom: 1rem;\n display: flex;\n flex-wrap: wrap;\n gap: 0.75rem;\n}\n\n.PrescriptionEyeCard-module_flagItem__IcUL- {\n padding: 0.375rem 0.75rem;\n background: var(--lb-color-blue-subtle);\n border: 1px solid var(--lb-color-blue-border);\n border-radius: 0.375rem;\n}\n\n.PrescriptionEyeCard-module_grid__zFxYG {\n display: grid;\n gap: 1rem;\n}\n\n.PrescriptionEyeCard-module_gridThree__SLjUn {\n grid-template-columns: 1fr;\n}\n\n.PrescriptionEyeCard-module_section__GNMQQ {\n margin-bottom: 1rem;\n}\n\n.PrescriptionEyeCard-module_notes__WkmBK {\n margin-top: 1rem;\n background: var(--lb-color-amber-subtle);\n border-radius: 0.5rem;\n padding: 0.75rem;\n border: 1px solid var(--lb-color-amber-border);\n}\n\n.PrescriptionEyeCard-module_notesLabel__5ugrL {\n font-size: 0.75rem;\n font-weight: 600;\n text-transform: uppercase;\n color: var(--lb-color-amber-strong);\n margin: 0 0 0.25rem;\n}\n\n.PrescriptionEyeCard-module_notesText__VYn94 {\n font-size: 0.875rem;\n color: var(--lb-color-amber-strong);\n margin: 0;\n}\n\n@media (min-width: 768px) {\n .PrescriptionEyeCard-module_gridThree__SLjUn {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n}\n";
|
|
989
989
|
var styles = {"card":"PrescriptionEyeCard-module_card__kfPOc","title":"PrescriptionEyeCard-module_title__eLbzi","eyeBadge":"PrescriptionEyeCard-module_eyeBadge__s7c0M","flags":"PrescriptionEyeCard-module_flags__WaM-Z","flagItem":"PrescriptionEyeCard-module_flagItem__IcUL-","grid":"PrescriptionEyeCard-module_grid__zFxYG","gridThree":"PrescriptionEyeCard-module_gridThree__SLjUn","section":"PrescriptionEyeCard-module_section__GNMQQ","notes":"PrescriptionEyeCard-module_notes__WkmBK","notesLabel":"PrescriptionEyeCard-module_notesLabel__5ugrL","notesText":"PrescriptionEyeCard-module_notesText__VYn94"};
|
|
990
990
|
styleInject$1(css_248z);
|
|
991
991
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rubenpazch/prescription-eye-card",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "PrescriptionEyeCard component",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
@@ -28,10 +28,11 @@
|
|
|
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
|
"dependencies": {
|
|
34
|
-
"@rubenpazch/checkbox-input": "
|
|
35
|
+
"@rubenpazch/checkbox-input": "3.1.0"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
38
|
"@rubenpazch/typescript-config": "3.0.0"
|