@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.
- package/CHANGELOG.md +13 -0
- package/css/styles.css +14335 -9939
- package/css/styles.css.map +1 -1
- package/css/styles.min.css +1 -1
- package/css/styles.min.css.map +1 -1
- package/dist/cjs/const/atoms.js +191 -69
- package/dist/cjs/const/atoms.js.map +1 -1
- package/dist/cjs/index.js +15 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/styles/atoms.css.vanilla.js +1 -1
- package/dist/cjs/styles/atoms.css.vanilla.js.map +1 -1
- package/dist/cjs/styles/global.css.vanilla.js +2 -2
- package/dist/cjs/styles/global.css.vanilla.js.map +1 -1
- package/dist/es/const/atoms.js +177 -69
- package/dist/es/const/atoms.js.map +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/styles/atoms.css.vanilla.js +1 -1
- package/dist/es/styles/atoms.css.vanilla.js.map +1 -1
- package/dist/es/styles/global.css.vanilla.js +2 -2
- package/dist/es/styles/global.css.vanilla.js.map +1 -1
- package/dist/types/const/atoms.d.ts +255 -44
- package/dist/types/styles/atoms.css.d.ts +4208 -769
- package/dist/types/styles/global.css.d.ts +14 -18
- package/package.json +1 -1
- package/dist/types/utils/format-tokens.d.ts +0 -4
@@ -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,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>;
|