@royalnavy/design-tokens 4.7.2 → 4.8.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/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/index.scss +1 -1
- package/dist/types/index.d.ts +4 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.scss
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import selectors from './selectors';
|
|
1
2
|
export * from './types';
|
|
2
3
|
export * from './flat';
|
|
3
4
|
export { getTheme } from './getters';
|
|
4
|
-
export {
|
|
5
|
+
export { selectors };
|
|
5
6
|
export { default as lightTheme } from './themes/light';
|
|
6
7
|
export { default as darkTheme } from './themes/dark';
|
|
8
|
+
declare const animation: typeof import("./getters").getAnimation, breakpoint: typeof import("./getters").getBreakpoint, color: typeof import("./getters").getColor, fontSize: typeof import("./getters").getTypography, mediaQuery: typeof import("./getters").getMediaQuery, mq: typeof import("./getters").getMediaQuery, shadow: typeof import("./getters").getShadow, spacing: typeof import("./getters").getSpacing, zIndex: typeof import("./getters").getZIndex;
|
|
9
|
+
export { animation, breakpoint, color, fontSize, mediaQuery, mq, shadow, spacing, zIndex, };
|
|
7
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AAEtB,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AAEpC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAA;AAEnC,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AAEtB,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AAEpC,OAAO,EAAE,SAAS,EAAE,CAAA;AAEpB,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,eAAe,CAAA;AAEpD,QAAA,MACE,SAAS,2CACT,UAAU,4CACV,KAAK,uCACL,QAAQ,4CACR,UAAU,4CACV,EAAE,4CACF,MAAM,wCACN,OAAO,yCACP,MAAM,sCACK,CAAA;AAEb,OAAO,EACL,SAAS,EACT,UAAU,EACV,KAAK,EACL,QAAQ,EACR,UAAU,EACV,EAAE,EACF,MAAM,EACN,OAAO,EACP,MAAM,GACP,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@royalnavy/design-tokens",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.1",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"author": "Royal Navy",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@babel/preset-env": "^7.11.5",
|
|
40
40
|
"@babel/preset-react": "^7.10.4",
|
|
41
41
|
"@babel/preset-typescript": "^7.10.4",
|
|
42
|
-
"@royalnavy/eslint-config-react": "^4.
|
|
42
|
+
"@royalnavy/eslint-config-react": "^4.8.1",
|
|
43
43
|
"@testing-library/jest-dom": "^6.4.2",
|
|
44
44
|
"@testing-library/react": "^15.0.5",
|
|
45
45
|
"@types/jest": "^29.0.3",
|