@trackunit/css-tailwind 1.7.83 → 1.7.86

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": "@trackunit/css-tailwind",
3
- "version": "1.7.83",
3
+ "version": "1.7.86",
4
4
  "main": "./index.cjs.js",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -9,10 +9,10 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "tailwindcss": "3.4.3",
12
- "@trackunit/css-component-tokens": "1.7.79",
13
- "@trackunit/css-tailwind-custom-properties-plugin": "1.7.79",
14
- "@trackunit/ui-design-tokens": "1.7.79",
15
- "@trackunit/css-core": "1.7.80",
12
+ "@trackunit/css-component-tokens": "1.7.82",
13
+ "@trackunit/css-tailwind-custom-properties-plugin": "1.7.82",
14
+ "@trackunit/ui-design-tokens": "1.7.82",
15
+ "@trackunit/css-core": "1.7.83",
16
16
  "@tailwindcss/typography": "^0.5.10"
17
17
  },
18
18
  "type": "commonjs",
@@ -8492,7 +8492,7 @@ var objectKeys = object => {
8492
8492
 
8493
8493
  // libs/css/tailwind/src/lib/plugin/layouts.ts
8494
8494
  var import_plugin4 = __toESM(require_plugin());
8495
- var LayoutsPlugin = (0, import_plugin4.default)(({ addUtilities, addComponents, addVariant }) => {
8495
+ var LayoutsPlugin = (0, import_plugin4.default)(({ addUtilities, addComponents, addBase }) => {
8496
8496
  addUtilities({
8497
8497
  ".layout-row-height-auto": { "--row-height": "auto" },
8498
8498
  ".layout-row-height-1fr": { "--row-height": "1fr" },
@@ -8666,8 +8666,23 @@ var LayoutsPlugin = (0, import_plugin4.default)(({ addUtilities, addComponents,
8666
8666
  "map-controls-overview map-controls-map"
8667
8667
  `,
8668
8668
  },
8669
+ });
8670
+ addBase({
8669
8671
  ".outline-native": {
8670
- outline: "-webkit-focus-ring-color auto",
8672
+ // Use system Highlight color (respects user theme) for Chrome and Firefox
8673
+ outline: "2px solid Highlight",
8674
+ // Safari-specific: Use webkit focus ring color
8675
+ "@supports (-webkit-hyphens: none)": {
8676
+ outline: "2px auto -webkit-focus-ring-color",
8677
+ },
8678
+ // Firefox on macOS: Use the native focus ring color if available
8679
+ "@supports (-moz-mac-focusring: auto)": {
8680
+ outline: "2px solid -moz-mac-focusring",
8681
+ },
8682
+ // Remove outlines from all child elements to prevent double outlines
8683
+ "& *": {
8684
+ outline: "none",
8685
+ },
8671
8686
  },
8672
8687
  });
8673
8688
  });