@fluid-topics/ft-checkbox 1.4.3 → 1.4.5

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.
@@ -82,6 +82,7 @@ export const dsStyles = css `
82
82
 
83
83
  .ft-checkbox--box-container:has(:focus-visible) {
84
84
  outline: ${checkbox.focusOutlineWidth} solid ${checkbox.focusFocusRingColor};
85
+ outline-offset: calc(${checkbox.focusOutlineWidth} * -1);
85
86
  }
86
87
 
87
88
  .ft-checkbox--box {
@@ -113,7 +114,7 @@ export const dsStyles = css `
113
114
  ${FtRippleCssVariables.opacityContentOnSurfaceHover.set(checkbox.uncheckedHoverStateLayerOpacity)};
114
115
  ${FtRippleCssVariables.opacityContentOnSurfaceFocused.set(checkbox.uncheckedFocusStateLayerOpacity)};
115
116
  ${FtRippleCssVariables.opacityContentOnSurfacePressed.set(checkbox.uncheckedActiveStateLayerOpacity)};
116
- ${FtRippleCssVariables.borderRadius.set("2px")};
117
+ ${FtRippleCssVariables.borderRadius.set(checkbox.focusOutlineBorderRadius)};
117
118
  }
118
119
 
119
120
  [part="checkbox-legend-color"] {
@@ -152,7 +153,7 @@ export const dsStyles = css `
152
153
  ${FtRippleCssVariables.opacityContentOnSurfaceHover.set(checkbox.checkedHoverStateLayerOpacity)};
153
154
  ${FtRippleCssVariables.opacityContentOnSurfaceFocused.set(checkbox.checkedFocusStateLayerOpacity)};
154
155
  ${FtRippleCssVariables.opacityContentOnSurfacePressed.set(checkbox.checkedActiveStateLayerOpacity)};
155
- ${FtRippleCssVariables.borderRadius.set("2px")};
156
+ ${FtRippleCssVariables.borderRadius.set(checkbox.focusOutlineBorderRadius)};
156
157
  }
157
158
  }
158
159
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-checkbox",
3
- "version": "1.4.3",
3
+ "version": "1.4.5",
4
4
  "description": "A checkbox component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,13 +19,13 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-icon": "1.4.3",
23
- "@fluid-topics/ft-link": "1.4.3",
24
- "@fluid-topics/ft-popover": "1.4.3",
25
- "@fluid-topics/ft-ripple": "1.4.3",
26
- "@fluid-topics/ft-typography": "1.4.3",
27
- "@fluid-topics/ft-wc-utils": "1.4.3",
22
+ "@fluid-topics/ft-icon": "1.4.5",
23
+ "@fluid-topics/ft-link": "1.4.5",
24
+ "@fluid-topics/ft-popover": "1.4.5",
25
+ "@fluid-topics/ft-ripple": "1.4.5",
26
+ "@fluid-topics/ft-typography": "1.4.5",
27
+ "@fluid-topics/ft-wc-utils": "1.4.5",
28
28
  "lit": "3.1.0"
29
29
  },
30
- "gitHead": "f9f5324c86da35137044bc768819fcd81057791d"
30
+ "gitHead": "efdc859657751cd9e7af2736f3783341ffd6aae4"
31
31
  }