@cas-smartdesign/radio-button-group 4.2.0 → 4.3.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.
@@ -2,7 +2,7 @@ import { LitElement as b, unsafeCSS as v, css as g, html as p } from "lit";
2
2
  import { property as r } from "lit/decorators/property.js";
3
3
  import { ifDefined as k } from "lit/directives/if-defined.js";
4
4
  import { ValidationLevel as x } from "@cas-smartdesign/field-validation-message";
5
- const y = ":host{display:block}:host,.label,.checkbox{outline:none}:host([disabled]){pointer-events:none}:host([disabled]) .root{opacity:.6;cursor:default;filter:grayscale(100%)}:host(:not([disabled])[focused]) .highlight{display:block!important}:host([checked]) circle.inner{display:block!important}:host([checked]) circle.outer{stroke:var(--sd-radio-button-checked-color, #1467ba)!important}:host([oneline]) .label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.root{display:inline-flex;align-items:center;vertical-align:middle;width:100%;padding-top:6px;padding-bottom:6px}.root .radio-button-container{position:relative;display:inline-block;width:28px;height:28px;box-sizing:border-box;cursor:pointer;margin-right:5px;flex-shrink:0}.root .radio-button-container input{position:absolute;top:0;left:0;opacity:0}.root .radio-button-container circle.highlight{stroke:var(--sd-radio-button-highlight-color, rgba(20, 103, 186, .3))}.root .radio-button-container circle.inner{fill:var(--sd-radio-button-checked-color, #1467ba)}.root .radio-button-container circle.outer{stroke:var(--sd-radio-button-unchecked-color, #767676)}.root .label{font-family:Segoe UI,Lucida Sans,Arial,sans-serif;text-overflow:ellipsis;overflow-x:hidden;-webkit-user-select:none;user-select:none;cursor:pointer;padding-top:2px;padding-bottom:2px}";
5
+ const y = ':host{display:block}:host,.label,.checkbox{outline:none}:host([disabled]){pointer-events:none}:host([disabled]) .root{opacity:.6;cursor:default;filter:grayscale(100%)}:host(:not([disabled])[focused]) .highlight{display:block!important}:host([checked]) circle.inner{display:block!important}:host([checked]) circle.outer{stroke:var(--sd-radio-button-checked-color, #1467ba)!important}:host([oneline]) .label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.root{display:inline-flex;align-items:center;vertical-align:middle;width:100%;padding-top:6px;padding-bottom:6px}.root .radio-button-container{position:relative;display:inline-block;width:28px;height:28px;box-sizing:border-box;cursor:pointer;margin-right:5px;flex-shrink:0}.root .radio-button-container input{position:absolute;top:0;left:0;opacity:0}.root .radio-button-container circle.highlight{stroke:var(--sd-radio-button-highlight-color, rgba(20, 103, 186, .3))}.root .radio-button-container circle.inner{fill:var(--sd-radio-button-checked-color, #1467ba)}.root .radio-button-container circle.outer{stroke:var(--sd-radio-button-unchecked-color, #767676)}.root .label{font-family:var(--sd-radio-button-font-family, "Segoe UI", "Lucida Sans", Arial, sans-serif);text-overflow:ellipsis;overflow-x:hidden;-webkit-user-select:none;user-select:none;cursor:pointer;padding-top:2px;padding-bottom:2px}';
6
6
  var I = Object.defineProperty, f = (o, t, e, i) => {
7
7
  for (var s = void 0, c = o.length - 1, u; c >= 0; c--)
8
8
  (u = o[c]) && (s = u(t, e, s) || s);
@@ -34,15 +34,15 @@
34
34
  "repository": "https://github.com/typescript-eslint/typescript-eslint",
35
35
  "licenseUrl": "https://unpkg.com/@typescript-eslint/parser@8.41.0/LICENSE"
36
36
  },
37
- "@vitest/coverage-v8@3.2.4": {
37
+ "@vitest/coverage-v8@4.0.18": {
38
38
  "licenses": "MIT",
39
39
  "repository": "https://github.com/vitest-dev/vitest",
40
- "licenseUrl": "https://unpkg.com/@vitest/coverage-v8@3.2.4/LICENSE"
40
+ "licenseUrl": "https://unpkg.com/@vitest/coverage-v8@4.0.18/LICENSE"
41
41
  },
42
- "@vitest/ui@3.2.4": {
42
+ "@vitest/ui@4.0.18": {
43
43
  "licenses": "MIT",
44
44
  "repository": "https://github.com/vitest-dev/vitest",
45
- "licenseUrl": "https://unpkg.com/@vitest/ui@3.2.4/LICENSE"
45
+ "licenseUrl": "https://unpkg.com/@vitest/ui@4.0.18/LICENSE"
46
46
  },
47
47
  "axe-core@4.10.3": {
48
48
  "licenses": "MPL-2.0",
@@ -59,10 +59,10 @@
59
59
  "repository": "https://github.com/cypress-io/cypress",
60
60
  "licenseUrl": "https://cypress.io"
61
61
  },
62
- "esbuild@0.25.9": {
62
+ "esbuild@0.27.2": {
63
63
  "licenses": "MIT",
64
64
  "repository": "https://github.com/evanw/esbuild",
65
- "licenseUrl": "https://unpkg.com/esbuild@0.25.9/LICENSE.md"
65
+ "licenseUrl": "https://unpkg.com/esbuild@0.27.2/LICENSE.md"
66
66
  },
67
67
  "eslint-config-google@0.14.0": {
68
68
  "licenses": "Apache-2.0",
@@ -119,10 +119,10 @@
119
119
  "repository": "https://github.com/postcss/postcss",
120
120
  "licenseUrl": "https://unpkg.com/postcss@8.5.6/LICENSE"
121
121
  },
122
- "prettier@3.6.2": {
122
+ "prettier@3.8.1": {
123
123
  "licenses": "MIT",
124
124
  "repository": "https://github.com/prettier/prettier",
125
- "licenseUrl": "https://unpkg.com/prettier@3.6.2/LICENSE"
125
+ "licenseUrl": "https://unpkg.com/prettier@3.8.1/LICENSE"
126
126
  },
127
127
  "resolve-pkg@2.0.0": {
128
128
  "licenses": "MIT",
@@ -154,10 +154,10 @@
154
154
  "repository": "https://github.com/stylelint/stylelint",
155
155
  "licenseUrl": "https://unpkg.com/stylelint@16.23.1/LICENSE"
156
156
  },
157
- "tsup@8.5.0": {
157
+ "tsup@8.5.1": {
158
158
  "licenses": "MIT",
159
159
  "repository": "https://github.com/egoist/tsup",
160
- "licenseUrl": "https://unpkg.com/tsup@8.5.0/LICENSE"
160
+ "licenseUrl": "https://unpkg.com/tsup@8.5.1/LICENSE"
161
161
  },
162
162
  "turbo@2.5.6": {
163
163
  "licenses": "MIT",
@@ -169,25 +169,25 @@
169
169
  "repository": "https://github.com/typescript-eslint/typescript-eslint",
170
170
  "licenseUrl": "https://unpkg.com/typescript-eslint@8.41.0/LICENSE"
171
171
  },
172
- "typescript@5.9.2": {
172
+ "typescript@5.9.3": {
173
173
  "licenses": "Apache-2.0",
174
174
  "repository": "https://github.com/microsoft/TypeScript",
175
- "licenseUrl": "https://unpkg.com/typescript@5.9.2/LICENSE.txt"
175
+ "licenseUrl": "https://unpkg.com/typescript@5.9.3/LICENSE.txt"
176
176
  },
177
177
  "vite-tsconfig-paths@5.1.4": {
178
178
  "licenses": "MIT",
179
179
  "repository": "https://github.com/aleclarson/vite-tsconfig-paths",
180
180
  "licenseUrl": "https://unpkg.com/vite-tsconfig-paths@5.1.4/LICENSE"
181
181
  },
182
- "vite@7.1.3": {
182
+ "vite@7.3.1": {
183
183
  "licenses": "MIT",
184
184
  "repository": "https://github.com/vitejs/vite",
185
- "licenseUrl": "https://unpkg.com/vite@7.1.3/LICENSE.md"
185
+ "licenseUrl": "https://unpkg.com/vite@7.3.1/LICENSE.md"
186
186
  },
187
- "vitest@3.2.4": {
187
+ "vitest@4.0.18": {
188
188
  "licenses": "MIT",
189
189
  "repository": "https://github.com/vitest-dev/vitest",
190
- "licenseUrl": "https://unpkg.com/vitest@3.2.4/LICENSE.md"
190
+ "licenseUrl": "https://unpkg.com/vitest@4.0.18/LICENSE.md"
191
191
  },
192
192
  "yargs@18.0.0": {
193
193
  "licenses": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cas-smartdesign/radio-button-group",
3
- "version": "4.2.0",
3
+ "version": "4.3.1",
4
4
  "description": "Radio button and radio button group elements with SmartDesign look & feel",
5
5
  "main": "dist/radio-button-group-with-externals.js",
6
6
  "module": "dist/radio-button-group.mjs",
@@ -8,8 +8,8 @@
8
8
  "types": "dist/radio-button-group.d.ts",
9
9
  "dependencies": {
10
10
  "lit": "^3.3.1",
11
- "@cas-smartdesign/styles": "^3.7.1",
12
- "@cas-smartdesign/field-validation-message": "^5.1.1"
11
+ "@cas-smartdesign/styles": "^3.8.0",
12
+ "@cas-smartdesign/field-validation-message": "^5.3.2"
13
13
  },
14
14
  "files": [
15
15
  "dist",
@@ -20,9 +20,9 @@
20
20
  "access": "public"
21
21
  },
22
22
  "devDependencies": {
23
- "@cas-smartdesign/license-generator": "^1.8.1",
24
- "@cas-smartdesign/button": "^5.2.1",
25
- "@cas-smartdesign/element-preview": "^0.3.1"
23
+ "@cas-smartdesign/button": "^5.4.0",
24
+ "@cas-smartdesign/element-preview": "^0.4.0",
25
+ "@cas-smartdesign/license-generator": "^1.9.0"
26
26
  },
27
27
  "scripts": {
28
28
  "version": "pnpm version",
package/readme.md CHANGED
@@ -64,3 +64,5 @@ The element could show validation messages via an `sd-field-validation-message`
64
64
  - Defines the color of the circle which is only visible when the button is focused
65
65
  - `--sd-radio-button-unchecked-color`
66
66
  - Defines the color of the outer circle and the inner circle when the button is unchecked
67
+ - `--sd-radio-button-font-family`
68
+ - Defines the font-family of the radio button