@claudebernard/therapeutic-alternative-element 1.0.4 → 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.
@@ -831,7 +831,7 @@ function n2(t2) {
831
831
  function r(r2) {
832
832
  return n2({ ...r2, state: true, attribute: false });
833
833
  }
834
- const therapeuticAlternativeCSS = '.claudebernard-therapeutic-alternative {\n font-family: var(--custom-font-family, "Ubuntu"), sans-serif;\n padding: 1rem;\n}\n.claudebernard-therapeutic-alternative-without-title {\n padding-top: 0;\n max-width: 70vw;\n width: 60vw;\n max-height: 70vh;\n}\n.claudebernard-therapeutic-alternative-title {\n font-size: 1.5rem;\n margin-bottom: 1rem;\n color: var(--bcbd-secondary-color);\n}\n.claudebernard-therapeutic-alternative__choice-fieldset {\n border: 1px solid var(--bcbd-border-gray-color);\n margin-inline: 0;\n margin-top: 1rem;\n border-radius: 4px;\n padding: 16px;\n display: flex;\n flex-direction: column;\n font-size: 1.1rem;\n}\n.claudebernard-therapeutic-alternative__choice-fieldset-without-title {\n margin-top: 0;\n}\n.claudebernard-therapeutic-alternative__choice-buttons {\n width: 100%;\n display: flex;\n flex-direction: column;\n gap: 0.8rem;\n}\n.claudebernard-therapeutic-alternative__choice-text {\n margin-bottom: 0.8rem;\n font-size: 0.9rem;\n}\n.claudebernard-therapeutic-alternative__choice bcbd-radio-button {\n --bcbd-radio-button-font-size: .8rem;\n}\n.claudebernard-therapeutic-alternative__loading {\n width: 100%;\n height: 30%;\n padding-top: 2rem;\n display: flex;\n justify-content: center;\n}\n.claudebernard-therapeutic-alternative__results {\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n.claudebernard-therapeutic-alternative__results-number {\n font-size: 0.8rem;\n}\n.claudebernard-therapeutic-alternative__results-list {\n display: flex;\n flex-direction: column;\n gap: 10px;\n}\n.claudebernard-therapeutic-alternative__no-medication {\n padding: 1.25rem;\n}';
834
+ const therapeuticAlternativeCSS = '.claudebernard-therapeutic-alternative {\n font-family: var(--custom-font-family, "Ubuntu"), sans-serif;\n padding: 1rem;\n}\n.claudebernard-therapeutic-alternative-without-title {\n padding-top: 0;\n max-width: 70vw;\n width: 60vw;\n max-height: 70vh;\n}\n.claudebernard-therapeutic-alternative-title {\n font-size: 1.5rem;\n margin-bottom: 1rem;\n color: var(--bcbd-secondary-color, #4A0C8A);\n}\n.claudebernard-therapeutic-alternative__choice-fieldset {\n border: 1px solid var(--bcbd-border-gray-color, #CBD5E1);\n margin-inline: 0;\n margin-top: 1rem;\n border-radius: 4px;\n padding: 16px;\n display: flex;\n flex-direction: column;\n font-size: 1.1rem;\n}\n.claudebernard-therapeutic-alternative__choice-fieldset-without-title {\n margin-top: 0;\n}\n.claudebernard-therapeutic-alternative__choice-buttons {\n width: 100%;\n display: flex;\n flex-direction: column;\n gap: 0.8rem;\n}\n.claudebernard-therapeutic-alternative__choice-text {\n margin-bottom: 0.8rem;\n font-size: 0.9rem;\n}\n.claudebernard-therapeutic-alternative__choice bcbd-radio-button {\n --bcbd-radio-button-font-size: .8rem;\n}\n.claudebernard-therapeutic-alternative__loading {\n width: 100%;\n height: 30%;\n padding-top: 2rem;\n display: flex;\n justify-content: center;\n}\n.claudebernard-therapeutic-alternative__results {\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n.claudebernard-therapeutic-alternative__results-number {\n font-size: 0.8rem;\n}\n.claudebernard-therapeutic-alternative__results-list {\n display: flex;\n flex-direction: column;\n gap: 10px;\n}\n.claudebernard-therapeutic-alternative__no-medication {\n padding: 1.25rem;\n}';
835
835
  const t = { CHILD: 2 }, e$1 = (t2) => (...e2) => ({ _$litDirective$: t2, values: e2 });
836
836
  class i2 {
837
837
  constructor(t2) {
@@ -865,7 +865,7 @@ class e extends i2 {
865
865
  }
866
866
  e.directiveName = "unsafeHTML", e.resultType = 1;
867
867
  const o = e$1(e);
868
- const productCardCSS = ".claudebernard-product-card-container {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 0.5rem;\n border: 1px solid var(--bcbd-border-gray-color);\n border-radius: 10px;\n padding: 0.75rem 1rem;\n}\n.claudebernard-product-card-container__button-div {\n display: flex;\n gap: 1rem;\n}\n.claudebernard-product-card-container__title {\n font-size: 1rem;\n text-decoration: none;\n cursor: pointer;\n color: var(--bcbd-primary-color);\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n}";
868
+ const productCardCSS = ".claudebernard-product-card-container {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 0.5rem;\n border: 1px solid var(--bcbd-border-gray-color, #CBD5E1);\n border-radius: 10px;\n padding: 0.75rem 1rem;\n}\n.claudebernard-product-card-container__button-div {\n display: flex;\n gap: 1rem;\n}\n.claudebernard-product-card-container__title {\n font-size: 1rem;\n text-decoration: none;\n cursor: pointer;\n color: var(--bcbd-primary-color, #0C75AD);\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n}";
869
869
  var __defProp$1 = Object.defineProperty;
870
870
  var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
871
871
  var __decorateClass$1 = (decorators, target, key, kind) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudebernard/therapeutic-alternative-element",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "main": "dist/therapeutic-alternative.es.js",
5
5
  "module": "dist/therapeutic-alternative.es.js",
6
6
  "types": "dist/therapeutic-alternative.d.ts",
@@ -60,8 +60,8 @@
60
60
  "@types/node": "^25.3.0",
61
61
  "@typescript-eslint/eslint-plugin": "8.56.1",
62
62
  "@typescript-eslint/parser": "8.56.1",
63
- "@vitest/browser-playwright": "^4.0.18",
64
- "@vitest/coverage-v8": "^4.0.18",
63
+ "@vitest/browser-playwright": "^4.1.8",
64
+ "@vitest/coverage-v8": "^4.1.8",
65
65
  "@webcomponents/webcomponentsjs": "^2.8.0",
66
66
  "eslint": "^9.38.0",
67
67
  "eslint-plugin-import": "2.32.0",
@@ -78,11 +78,17 @@
78
78
  "vite": "^7.3.1",
79
79
  "vite-plugin-dts": "4.5.4",
80
80
  "vite-svg-sprite-wrapper": "1.5.0",
81
- "vitest": "^4.0.18"
81
+ "vitest": "^4.1.8"
82
+ },
83
+ "overrides": {
84
+ "vitest": "^4.1.8",
85
+ "@vitest/browser": "^4.1.8",
86
+ "@vitest/browser-playwright": "^4.1.8",
87
+ "@vitest/coverage-v8": "^4.1.8"
82
88
  },
83
89
  "peerDependencies": {
84
90
  "@claudebernard/design-system": "^2.28.2",
85
- "@claudebernard/types": "^0.34.0"
91
+ "@claudebernard/types": "^0.35.0"
86
92
  },
87
93
  "customElements": "custom-elements.json",
88
94
  "publishConfig": {