@gobolt/genesis 0.3.27 → 0.3.28

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.
@@ -1,79 +1 @@
1
- import { GenesisTheme, BaseTokens } from './genesis-theme.types';
2
- export declare const breakpoints: {
3
- wide: number;
4
- medium: number;
5
- narrow: number;
6
- };
7
- export declare const sizing: {
8
- Size1: number;
9
- Size1_5: number;
10
- Size2: number;
11
- Size2_5: number;
12
- Size3: number;
13
- Size4: number;
14
- Size5: number;
15
- Size6: number;
16
- Size7: number;
17
- Size8: number;
18
- Size10: number;
19
- Size12: number;
20
- Size13: number;
21
- Size14: number;
22
- Size16: number;
23
- Size18: number;
24
- Size20: number;
25
- Size24: number;
26
- Size27: number;
27
- Size28: number;
28
- Size30: number;
29
- Size32: number;
30
- Size34: number;
31
- Size35: number;
32
- Size39: number;
33
- Size43: number;
34
- Size50: number;
35
- Size64: number;
36
- Size05: number;
37
- Size15: number;
38
- Size025: number;
39
- Size25: number;
40
- xs: number;
41
- sm: number;
42
- md: number;
43
- lg: number;
44
- typography1: number;
45
- typography2: number;
46
- typography3: number;
47
- };
48
- export declare const TypographySizeKey: {
49
- display1: string;
50
- display2: string;
51
- display3: string;
52
- heading1: string;
53
- heading2: string;
54
- heading3: string;
55
- subHeading1: string;
56
- subHeading2: string;
57
- subHeading3: string;
58
- body1: string;
59
- body2: string;
60
- body3: string;
61
- body4: string;
62
- body5: string;
63
- message: string;
64
- overline1: string;
65
- overline2: string;
66
- overline3: string;
67
- label1: string;
68
- label2: string;
69
- label3: string;
70
- link1: string;
71
- link2: string;
72
- link3: string;
73
- digits1: string;
74
- digits2: string;
75
- digits3: string;
76
- };
77
- export declare const baseTokens: BaseTokens;
78
- export declare const lightTheme: GenesisTheme;
79
- export declare const darkTheme: GenesisTheme;
1
+ export { lightTheme, darkTheme } from '@gobolt/genesis-tokens';
@@ -0,0 +1,2 @@
1
+ import { GoBoltUser } from '../components/Avatar/Avatar';
2
+ export declare const createInitials: (user: GoBoltUser) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gobolt/genesis",
3
- "version": "0.3.27",
3
+ "version": "0.3.28",
4
4
  "description": "genesis design system",
5
5
  "author": "gobolt",
6
6
  "license": "MIT",
@@ -18,38 +18,38 @@
18
18
  "./components/*": {
19
19
  "types": "./dist/components/*.d.ts",
20
20
  "import": "./dist/components/*.js",
21
- "default": "./dist/components/*.js",
22
- "require": "./dist/components/*.cjs"
21
+ "require": "./dist/components/*.cjs",
22
+ "default": "./dist/components/*.js"
23
23
  },
24
24
  "./providers/*": {
25
25
  "types": "./dist/providers/*.d.ts",
26
26
  "import": "./dist/providers/*.js",
27
- "default": "./dist/providers/*.js",
28
- "require": "./dist/providers/*.cjs"
27
+ "require": "./dist/providers/*.cjs",
28
+ "default": "./dist/providers/*.js"
29
29
  },
30
30
  "./styles/*": {
31
31
  "types": "./dist/styles/*.d.ts",
32
32
  "import": "./dist/styles/*.js",
33
- "default": "./dist/styles/*.js",
34
- "require": "./dist/styles/*.cjs"
33
+ "require": "./dist/styles/*.cjs",
34
+ "default": "./dist/styles/*.js"
35
35
  },
36
36
  "./constants/*": {
37
37
  "types": "./dist/constants/*.d.ts",
38
38
  "import": "./dist/constants/*.js",
39
- "default": "./dist/constants/*.js",
40
- "require": "./dist/constants/*.cjs"
39
+ "require": "./dist/constants/*.cjs",
40
+ "default": "./dist/constants/*.js"
41
41
  },
42
42
  "./utils/*": {
43
43
  "types": "./dist/utils/*.d.ts",
44
44
  "import": "./dist/utils/*.js",
45
- "default": "./dist/utils/*.js",
46
- "require": "./dist/utils/*.cjs"
45
+ "require": "./dist/utils/*.cjs",
46
+ "default": "./dist/utils/*.js"
47
47
  },
48
48
  "./interface/*": {
49
49
  "types": "./dist/interface/*.d.ts",
50
50
  "import": "./dist/interface/*.js",
51
- "default": "./dist/interface/*.js",
52
- "require": "./dist/interface/*.cjs"
51
+ "require": "./dist/interface/*.cjs",
52
+ "default": "./dist/interface/*.js"
53
53
  }
54
54
  },
55
55
  "files": [
@@ -93,20 +93,13 @@
93
93
  "@rollup/plugin-node-resolve": "^15.3.0",
94
94
  "@rollup/plugin-terser": "^0.4.4",
95
95
  "@rollup/plugin-typescript": "^12.1.1",
96
- "@storybook/addon-a11y": "^8.6.5",
97
- "@storybook/addon-docs": "^8.6.5",
98
- "@storybook/addon-essentials": "^8.6.5",
99
- "@storybook/addon-interactions": "^8.6.5",
100
- "@storybook/addon-links": "^8.6.5",
101
- "@storybook/addon-mdx-gfm": "^8.6.5",
102
- "@storybook/addon-themes": "^8.6.5",
103
- "@storybook/blocks": "^8.6.5",
104
- "@storybook/manager-api": "^8.6.5",
105
- "@storybook/react": "^8.6.5",
106
- "@storybook/react-vite": "^8.6.5",
107
- "@storybook/test": "^8.6.5",
108
- "@storybook/test-runner": "^0.19.1",
109
- "@storybook/theming": "^8.6.5",
96
+ "@storybook/addon-a11y": "^9.1.3",
97
+ "@storybook/addon-docs": "^9.1.3",
98
+ "@storybook/addon-links": "^9.1.3",
99
+ "@storybook/addon-themes": "^9.1.3",
100
+ "@mdx-js/react": "^3.0.1",
101
+ "@storybook/react-vite": "^9.1.3",
102
+ "@storybook/test-runner": "^0.23.0",
110
103
  "@testing-library/dom": "^10.4.0",
111
104
  "@testing-library/jest-dom": "^6.1.5",
112
105
  "@testing-library/react": "^14.1.2",
@@ -119,6 +112,8 @@
119
112
  "@vitejs/plugin-react": "^4.2.1",
120
113
  "@vitest/browser": "^3.0.8",
121
114
  "@vitest/ui": "^3.0.8",
115
+ "ajv": "^8.17.1",
116
+ "ajv-draft-04": "^1.0.0",
122
117
  "chalk": "^5.4.1",
123
118
  "eslint": "^8.57.0",
124
119
  "eslint-config-prettier": "^10.1.5",
@@ -127,7 +122,7 @@
127
122
  "eslint-plugin-react": "^7.37.5",
128
123
  "eslint-plugin-react-hooks": "^4.6.0",
129
124
  "eslint-plugin-react-refresh": "^0.4.4",
130
- "eslint-plugin-storybook": "^0.8.0",
125
+ "eslint-plugin-storybook": "^9.1.3",
131
126
  "eslint-plugin-unicorn": "^48.0.1",
132
127
  "glob": "^10.3.10",
133
128
  "jest": "^29.7.0",
@@ -140,9 +135,9 @@
140
135
  "rimraf": "^5.0.5",
141
136
  "rollup-plugin-css-only": "^4.5.2",
142
137
  "rollup-plugin-dts": "^6.1.1",
143
- "storybook": "^8.6.5",
138
+ "storybook": "^9.1.3",
144
139
  "tsx": "^4.19.2",
145
- "typescript": "^5.2.2",
140
+ "typescript": "^5.3.3",
146
141
  "vite": "^7.0.3",
147
142
  "vite-plugin-css-injected-by-js": "^3.3.0",
148
143
  "vite-plugin-dts": "^4.5.3",
@@ -152,6 +147,7 @@
152
147
  },
153
148
  "dependencies": {
154
149
  "@ant-design/icons": "^5.5.2",
150
+ "@gobolt/genesis-tokens": "^0.0.9",
155
151
  "@mdx-js/react": "^3.0.1",
156
152
  "@secondcloset/types": "^3.4.6",
157
153
  "@types/d3": "^7.4.3",
@@ -169,8 +165,7 @@
169
165
  "react-toastify": "^11.0.3",
170
166
  "recharts": "^2.15.1",
171
167
  "socket.io-client": "^4.8.1",
172
- "styled-components": "^6.0.0",
173
- "typescript": "^5.2.2"
168
+ "styled-components": "^6.0.0"
174
169
  },
175
170
  "sideEffects": [
176
171
  "**/*.css"