@papyrus-ui/styles 0.3.2 → 0.4.1

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.
@@ -209,7 +209,9 @@ export declare const lightThemeTokens: {
209
209
  fontWeight: string;
210
210
  lineHeight: string;
211
211
  letterSpacing: string;
212
- textTransform: string;
212
+ textTransform: string; /**
213
+ * Style the track of range inputs in WebKit browsers.
214
+ */
213
215
  textDecoration: string;
214
216
  };
215
217
  };
@@ -281,13 +283,12 @@ export declare const lightThemeTokens: {
281
283
  };
282
284
  secondary: {
283
285
  desktop: {
284
- /**
285
- * Apply focus style to Mozilla range inputs.
286
- */
287
286
  fontFamily: string;
288
287
  fontSize: string;
289
288
  fontWeight: string;
290
- lineHeight: string;
289
+ lineHeight: string; /**
290
+ * Reset default opacity style for range
291
+ */
291
292
  letterSpacing: string;
292
293
  textTransform: string;
293
294
  textDecoration: string;
@@ -316,10 +317,7 @@ export declare const lightThemeTokens: {
316
317
  };
317
318
  mobile: {
318
319
  fontFamily: string;
319
- fontSize: string; /**
320
- * 1. Make replaced components `display: block` by default.
321
- * 2. Add `vertical-align: middle` to align replaced components more sensibly by default.
322
- */
320
+ fontSize: string;
323
321
  fontWeight: string;
324
322
  lineHeight: string;
325
323
  letterSpacing: string;
@@ -732,7 +730,9 @@ export declare const darkThemeTokens: {
732
730
  fontWeight: string;
733
731
  lineHeight: string;
734
732
  letterSpacing: string;
735
- textTransform: string;
733
+ textTransform: string; /**
734
+ * Style the track of range inputs in WebKit browsers.
735
+ */
736
736
  textDecoration: string;
737
737
  };
738
738
  };
@@ -804,13 +804,12 @@ export declare const darkThemeTokens: {
804
804
  };
805
805
  secondary: {
806
806
  desktop: {
807
- /**
808
- * Apply focus style to Mozilla range inputs.
809
- */
810
807
  fontFamily: string;
811
808
  fontSize: string;
812
809
  fontWeight: string;
813
- lineHeight: string;
810
+ lineHeight: string; /**
811
+ * Reset default opacity style for range
812
+ */
814
813
  letterSpacing: string;
815
814
  textTransform: string;
816
815
  textDecoration: string;
@@ -839,10 +838,7 @@ export declare const darkThemeTokens: {
839
838
  };
840
839
  mobile: {
841
840
  fontFamily: string;
842
- fontSize: string; /**
843
- * 1. Make replaced components `display: block` by default.
844
- * 2. Add `vertical-align: middle` to align replaced components more sensibly by default.
845
- */
841
+ fontSize: string;
846
842
  fontWeight: string;
847
843
  lineHeight: string;
848
844
  letterSpacing: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@papyrus-ui/styles",
3
- "version": "0.3.2",
3
+ "version": "0.4.1",
4
4
  "description": "Global styles, themes and style utilities for implementing components based on the Papyrus UI design system.",
5
5
  "files": [
6
6
  "CHANGELOG.md",
@@ -1,4 +0,0 @@
1
- import { DesignTokens, Theme } from '../types';
2
- export declare type NormalizedTheme<T extends Theme> = Record<keyof T, string>;
3
- export declare type NormalizedTokens<T extends Theme> = DesignTokens<NormalizedTheme<T>>;
4
- export declare function normalizeTokens<T extends Theme>(designTokens: DesignTokens<T>): NormalizedTokens<T>;