@oprt/tailwind 0.1.0 → 0.5.0

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/dist/index.cjs CHANGED
@@ -471,14 +471,14 @@ var LETTER_SPACING = {
471
471
  "oprt-xs": "var(--oprt-tracking-xs)",
472
472
  "oprt-sm": "var(--oprt-tracking-sm)",
473
473
  // Uppercase control labels. The type-scale trackings above are tuned for
474
- // their own size; `oprt-sm` (0.12em) is right for 9px overlines and far too
475
- // wide once the same class lands on an 11px/13px control at weight 500-600.
474
+ // their own size; `oprt-sm` (0.12em) is right for 12px overlines and far too
475
+ // wide once the same class lands on a 13px/14px control at weight 500-600.
476
476
  // Tracking must fall as size and weight rise, so these are bound to a
477
477
  // component's SIZE variant, never to its base class.
478
478
  "oprt-caps": "var(--oprt-tracking-caps)",
479
- // 11px uppercase controls
480
- "oprt-caps-lg": "var(--oprt-tracking-caps-lg)",
481
479
  // 13px uppercase controls
480
+ "oprt-caps-lg": "var(--oprt-tracking-caps-lg)",
481
+ // 14px uppercase controls
482
482
  "oprt-base": "var(--oprt-tracking-base)",
483
483
  "oprt-md": "var(--oprt-tracking-md)",
484
484
  "oprt-lg": "var(--oprt-tracking-lg)",
@@ -499,6 +499,7 @@ var operatorPlugin = (0, import_plugin.default)(
499
499
  },
500
500
  'button:not(:disabled), [role="button"]:not(:disabled)': { cursor: "pointer" }
501
501
  });
502
+ addBase({ "html, :host": { "font-feature-settings": "var(--oprt-font-features)" } });
502
503
  addVariant("theme-bone", '[data-theme="bone"] &');
503
504
  addUtilities(motionUtilities);
504
505
  addBase(cutProperties);
package/dist/index.js CHANGED
@@ -437,14 +437,14 @@ var LETTER_SPACING = {
437
437
  "oprt-xs": "var(--oprt-tracking-xs)",
438
438
  "oprt-sm": "var(--oprt-tracking-sm)",
439
439
  // Uppercase control labels. The type-scale trackings above are tuned for
440
- // their own size; `oprt-sm` (0.12em) is right for 9px overlines and far too
441
- // wide once the same class lands on an 11px/13px control at weight 500-600.
440
+ // their own size; `oprt-sm` (0.12em) is right for 12px overlines and far too
441
+ // wide once the same class lands on a 13px/14px control at weight 500-600.
442
442
  // Tracking must fall as size and weight rise, so these are bound to a
443
443
  // component's SIZE variant, never to its base class.
444
444
  "oprt-caps": "var(--oprt-tracking-caps)",
445
- // 11px uppercase controls
446
- "oprt-caps-lg": "var(--oprt-tracking-caps-lg)",
447
445
  // 13px uppercase controls
446
+ "oprt-caps-lg": "var(--oprt-tracking-caps-lg)",
447
+ // 14px uppercase controls
448
448
  "oprt-base": "var(--oprt-tracking-base)",
449
449
  "oprt-md": "var(--oprt-tracking-md)",
450
450
  "oprt-lg": "var(--oprt-tracking-lg)",
@@ -465,6 +465,7 @@ var operatorPlugin = plugin(
465
465
  },
466
466
  'button:not(:disabled), [role="button"]:not(:disabled)': { cursor: "pointer" }
467
467
  });
468
+ addBase({ "html, :host": { "font-feature-settings": "var(--oprt-font-features)" } });
468
469
  addVariant("theme-bone", '[data-theme="bone"] &');
469
470
  addUtilities(motionUtilities);
470
471
  addBase(cutProperties);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oprt/tailwind",
3
- "version": "0.1.0",
3
+ "version": "0.5.0",
4
4
  "description": "OPERATOR design system plugin for Tailwind CSS 4: token-backed colors, spacing, control sizes, type, motion and container-query utilities. Install it with @oprt/tokens, which defines the custom properties it emits.",
5
5
  "keywords": [
6
6
  "design-system",