@trainvent/arcubic 0.4.4 → 0.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.
@@ -23,6 +23,13 @@ export declare const geometry: {
23
23
  switchTriangleHeightRatio: number;
24
24
  switchSlantRatio: number;
25
25
  };
26
+ /** Document tab strip, shared by every app adapter. VS Code fixes the strip height itself; the
27
+ * tabs leave the same gap above them and before the first tab. */
28
+ export declare const documentTabs: {
29
+ stripHeight: number;
30
+ tabHeight: number;
31
+ };
32
+ export declare const documentTabInset: number;
26
33
  export declare function designTokens(): Record<string, string>;
27
34
  /** Raised and sunken edges of controls such as the switch. Gray values are steps of the neutral
28
35
  * scale; accent values are steps of the control's accent family. Mirrors `.arcubic-ui` in
package/dist/index.js CHANGED
@@ -87,6 +87,8 @@ var geometry = {
87
87
  switchTriangleHeightRatio: 16 / 22 * Math.sqrt(3) / 2,
88
88
  switchSlantRatio: Math.tan(Math.PI / 6)
89
89
  };
90
+ var documentTabs = { stripHeight: 31, tabHeight: 28 };
91
+ var documentTabInset = documentTabs.stripHeight - documentTabs.tabHeight;
90
92
  var loader = {
91
93
  viewBox: "20 -40 860 760",
92
94
  route: "M450 9.45 L548.3474 179.7927 L831.5275 670.275 L634.8327 670.275 L68.4725 670.275 L166.8199 499.9323 L514.1917 626.3653 L634.8327 670.275 L570.641 306.2257 L548.3474 179.7927 L265.1673 417.409 L343.9101 388.749 L570.641 306.2257 L556.0899 388.749 L514.1917 626.3653 L450 572.502 L556.0899 388.749 L343.9101 388.749 L450 572.502 L265.1673 417.409 L166.8199 499.9323 L450 9.45",
package/dist/styles.css CHANGED
@@ -27101,6 +27101,9 @@ SOFTWARE.
27101
27101
  --arc-type-heading: 24px;
27102
27102
  --arc-leading-ui: 1.4;
27103
27103
  --arc-leading-body: 1.65;
27104
+ --arc-tab-strip-height: 31px;
27105
+ --arc-tab-height: 28px;
27106
+ --arc-tab-inset: 3px;
27104
27107
  --arc-radius: 0px;
27105
27108
  --arc-border-width: 1px;
27106
27109
  --arc-switch-height: 22px;
package/dist/tokens.css CHANGED
@@ -33,6 +33,9 @@ SOFTWARE.
33
33
  --arc-type-heading: 24px;
34
34
  --arc-leading-ui: 1.4;
35
35
  --arc-leading-body: 1.65;
36
+ --arc-tab-strip-height: 31px;
37
+ --arc-tab-height: 28px;
38
+ --arc-tab-inset: 3px;
36
39
  --arc-radius: 0px;
37
40
  --arc-border-width: 1px;
38
41
  --arc-switch-height: 22px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trainvent/arcubic",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "files": [