@giv-igniteui/tokens 1.0.0 → 1.1.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/.eslintrc.json CHANGED
@@ -1,3 +1,3 @@
1
- {
2
- "extends": "@giv-igniteui/eslint-config"
1
+ {
2
+ "extends": "@giv-igniteui/eslint-config"
3
3
  }
@@ -1,5 +1,5 @@
1
1
 
2
- > @giv-igniteui/tokens@1.0.0 build
2
+ > @giv-igniteui/tokens@1.1.0 build
3
3
  > tsup src/index.ts --format esm,cjs --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,11 +8,11 @@
8
8
  CLI Target: node16
9
9
  ESM Build start
10
10
  CJS Build start
11
- ESM dist\index.mjs 1.34 KB
12
- ESM ⚡️ Build success in 79ms
13
- CJS dist\index.js 2.50 KB
14
- CJS ⚡️ Build success in 79ms
11
+ ESM dist/index.mjs 1.36 KB
12
+ ESM ⚡️ Build success in 34ms
13
+ CJS dist/index.js 2.51 KB
14
+ CJS ⚡️ Build success in 36ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 2853ms
17
- DTS dist\index.d.mts 1.28 KB
18
- DTS dist\index.d.ts 1.28 KB
16
+ DTS ⚡️ Build success in 1961ms
17
+ DTS dist/index.d.mts 1.30 KB
18
+ DTS dist/index.d.ts 1.30 KB
package/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # @giv-igniteui/tokens
2
+
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Add test color to test cicd
package/dist/index.d.mts CHANGED
@@ -13,6 +13,7 @@ declare const colors: {
13
13
  ignite500: string;
14
14
  ignite700: string;
15
15
  ignite900: string;
16
+ test: string;
16
17
  };
17
18
 
18
19
  declare const space: {
package/dist/index.d.ts CHANGED
@@ -13,6 +13,7 @@ declare const colors: {
13
13
  ignite500: string;
14
14
  ignite700: string;
15
15
  ignite900: string;
16
+ test: string;
16
17
  };
17
18
 
18
19
  declare const space: {
package/dist/index.js CHANGED
@@ -45,7 +45,8 @@ var colors = {
45
45
  ignite300: "#00B37E",
46
46
  ignite500: "#00875F",
47
47
  ignite700: "#015F43",
48
- ignite900: "#00291D"
48
+ ignite900: "#00291D",
49
+ test: "#FFF"
49
50
  };
50
51
 
51
52
  // src/space.ts
package/dist/index.mjs CHANGED
@@ -13,7 +13,8 @@ var colors = {
13
13
  ignite300: "#00B37E",
14
14
  ignite500: "#00875F",
15
15
  ignite700: "#015F43",
16
- ignite900: "#00291D"
16
+ ignite900: "#00291D",
17
+ test: "#FFF"
17
18
  };
18
19
 
19
20
  // src/space.ts
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
- {
2
- "name": "@giv-igniteui/tokens",
3
- "version": "1.0.0",
4
- "description": "",
5
- "main": "./dist/index.js",
6
- "module": "./dist/index.mjs",
7
- "types": "./dist/index.d.ts",
8
- "scripts": {
9
- "build": "tsup src/index.ts --format esm,cjs --dts",
10
- "dev": "tsup src/index.ts --format esm,cjs --dts --watch",
11
- "lint": "eslint src/**/*.ts* --fix"
12
- },
13
- "keywords": [],
14
- "author": "",
15
- "license": "MIT",
16
- "devDependencies": {
17
- "@giv-igniteui/ts-config": "*",
18
- "@giv-igniteui/eslint-config": "*",
19
- "tsup": "^8.3.5",
20
- "typescript": "^5.7.2"
21
- }
22
- }
1
+ {
2
+ "name": "@giv-igniteui/tokens",
3
+ "version": "1.1.0",
4
+ "description": "",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "scripts": {
9
+ "build": "tsup src/index.ts --format esm,cjs --dts",
10
+ "dev": "tsup src/index.ts --format esm,cjs --dts --watch",
11
+ "lint": "eslint src/**/*.ts* --fix"
12
+ },
13
+ "keywords": [],
14
+ "author": "",
15
+ "license": "MIT",
16
+ "devDependencies": {
17
+ "@giv-igniteui/ts-config": "*",
18
+ "@giv-igniteui/eslint-config": "*",
19
+ "tsup": "^8.3.5",
20
+ "typescript": "^5.7.2"
21
+ }
22
+ }
package/src/colors.ts CHANGED
@@ -1,18 +1,20 @@
1
- export const colors = {
2
- white: '#FFF',
3
- black: '#000',
4
-
5
- gray100: '#E1E1E6',
6
- gray200: '#A9A9B2',
7
- gray400: '#7C7C8A',
8
- gray500: '#505059',
9
- gray600: '#323238',
10
- gray700: '#29292E',
11
- gray800: '#202024',
12
- gray900: '#121214',
13
-
14
- ignite300: '#00B37E',
15
- ignite500: '#00875F',
16
- ignite700: '#015F43',
17
- ignite900: '#00291D',
18
- }
1
+ export const colors = {
2
+ white: '#FFF',
3
+ black: '#000',
4
+
5
+ gray100: '#E1E1E6',
6
+ gray200: '#A9A9B2',
7
+ gray400: '#7C7C8A',
8
+ gray500: '#505059',
9
+ gray600: '#323238',
10
+ gray700: '#29292E',
11
+ gray800: '#202024',
12
+ gray900: '#121214',
13
+
14
+ ignite300: '#00B37E',
15
+ ignite500: '#00875F',
16
+ ignite700: '#015F43',
17
+ ignite900: '#00291D',
18
+
19
+ test: '#FFF',
20
+ }
package/src/font-sizes.ts CHANGED
@@ -1,15 +1,15 @@
1
- export const fontSizes = {
2
- xxs: '0.625rem',
3
- xs: '0.75rem',
4
- sm: '0.875rem',
5
- md: '1rem',
6
- lg: '1.125rem',
7
- xl: '1.25rem',
8
- '2xl': '1.5rem',
9
- '4xl': '2rem',
10
- '5xl': '2.25rem',
11
- '6xl': '3rem',
12
- '7xl': '4rem',
13
- '8xl': '4.5rem',
14
- '9xl': '6rem',
15
- }
1
+ export const fontSizes = {
2
+ xxs: '0.625rem',
3
+ xs: '0.75rem',
4
+ sm: '0.875rem',
5
+ md: '1rem',
6
+ lg: '1.125rem',
7
+ xl: '1.25rem',
8
+ '2xl': '1.5rem',
9
+ '4xl': '2rem',
10
+ '5xl': '2.25rem',
11
+ '6xl': '3rem',
12
+ '7xl': '4rem',
13
+ '8xl': '4.5rem',
14
+ '9xl': '6rem',
15
+ }
@@ -1,5 +1,5 @@
1
- export const fontWeights = {
2
- regular: '400',
3
- medium: '500',
4
- bold: '700',
5
- }
1
+ export const fontWeights = {
2
+ regular: '400',
3
+ medium: '500',
4
+ bold: '700',
5
+ }
package/src/fonts.ts CHANGED
@@ -1,4 +1,4 @@
1
- export const fonts = {
2
- default: 'Roboto, sans-serif',
3
- code: 'monospace',
4
- }
1
+ export const fonts = {
2
+ default: 'Roboto, sans-serif',
3
+ code: 'monospace',
4
+ }
package/src/index.ts CHANGED
@@ -1,11 +1,11 @@
1
- // index.ts avoid the need of adding a suffix (colors for example) when doing an import
2
- // example: import {colors} from "@igniteui/tokens/colors"
3
- export * from './colors'
4
-
5
- export * from './space'
6
- export * from './radii'
7
-
8
- export * from './fonts'
9
- export * from './font-sizes'
10
- export * from './font-weights'
11
- export * from './line-heights'
1
+ // index.ts avoid the need of adding a suffix (colors for example) when doing an import
2
+ // example: import {colors} from "@igniteui/tokens/colors"
3
+ export * from './colors'
4
+
5
+ export * from './space'
6
+ export * from './radii'
7
+
8
+ export * from './fonts'
9
+ export * from './font-sizes'
10
+ export * from './font-weights'
11
+ export * from './line-heights'
@@ -1,6 +1,6 @@
1
- export const lineHeights = {
2
- shorter: '125%',
3
- short: '140%',
4
- base: '160%',
5
- tall: '180%',
6
- }
1
+ export const lineHeights = {
2
+ shorter: '125%',
3
+ short: '140%',
4
+ base: '160%',
5
+ tall: '180%',
6
+ }
package/src/radii.ts CHANGED
@@ -1,8 +1,8 @@
1
- export const radii = {
2
- px: '1px',
3
- xs: '4px',
4
- sm: '6px',
5
- md: '8px',
6
- lg: '16px',
7
- full: '99999px',
8
- }
1
+ export const radii = {
2
+ px: '1px',
3
+ xs: '4px',
4
+ sm: '6px',
5
+ md: '8px',
6
+ lg: '16px',
7
+ full: '99999px',
8
+ }
package/src/space.ts CHANGED
@@ -1,17 +1,17 @@
1
- export const space = {
2
- 1: '0.25rem',
3
- 2: '0.5rem',
4
- 3: '0.75rem',
5
- 4: '1rem',
6
- 5: '1.25rem',
7
- 6: '1.5rem',
8
- 7: '1.75rem',
9
- 8: '2rem',
10
- 10: '2.5rem',
11
- 12: '3rem',
12
- 16: '4rem',
13
- 20: '5rem',
14
- 40: '10rem',
15
- 64: '16rem',
16
- 80: '20rem',
17
- }
1
+ export const space = {
2
+ 1: '0.25rem',
3
+ 2: '0.5rem',
4
+ 3: '0.75rem',
5
+ 4: '1rem',
6
+ 5: '1.25rem',
7
+ 6: '1.5rem',
8
+ 7: '1.75rem',
9
+ 8: '2rem',
10
+ 10: '2.5rem',
11
+ 12: '3rem',
12
+ 16: '4rem',
13
+ 20: '5rem',
14
+ 40: '10rem',
15
+ 64: '16rem',
16
+ 80: '20rem',
17
+ }
package/tsconfig.json CHANGED
@@ -1,4 +1,4 @@
1
- {
2
- "extends": "@giv-igniteui/ts-config/base.json",
3
- "include": ["src"]
1
+ {
2
+ "extends": "@giv-igniteui/ts-config/base.json",
3
+ "include": ["src"]
4
4
  }