@quadrel-enterprise-ui/framework 21.19.0 → 21.19.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quadrel-enterprise-ui/framework",
3
- "version": "21.19.0",
3
+ "version": "21.19.2",
4
4
  "exports": {
5
5
  "./jest-preset": "./jest-preset.js",
6
6
  "./package.json": {
@@ -111,3 +111,19 @@
111
111
  outline: tokens.$focus-ring-width solid tokens.$focus-ring-color;
112
112
  outline-offset: tokens.$focus-ring-offset;
113
113
  }
114
+
115
+ @mixin focus-ring-around($indicator-size) {
116
+ @include focus-ring;
117
+
118
+ position: absolute;
119
+ top: 50%;
120
+ left: 50%;
121
+ width: calc(#{$indicator-size} - 2 * #{tokens.$focus-ring-offset});
122
+ height: calc(#{$indicator-size} - 2 * #{tokens.$focus-ring-offset});
123
+ content: "";
124
+ transform: translate(-50%, -50%);
125
+ }
126
+
127
+ @mixin focus-ring-inset {
128
+ box-shadow: inset 0 0 0 tokens.$focus-ring-width tokens.$focus-ring-color;
129
+ }