@admin-layout/client 11.0.2-alpha.0 → 11.2.1-alpha.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.
Files changed (208) hide show
  1. package/lib/__tests__/ApplicationErrorHandlerCommon.test.d.ts.map +1 -0
  2. package/lib/__tests__/ConfigurationModelWrapper.test.d.ts +2 -0
  3. package/lib/__tests__/ConfigurationModelWrapper.test.d.ts.map +1 -0
  4. package/lib/__tests__/SettingsConfigurationModel.test.d.ts +2 -0
  5. package/lib/__tests__/SettingsConfigurationModel.test.d.ts.map +1 -0
  6. package/lib/__tests__/__fixtures__/defaultSettingsExample.d.ts +3 -0
  7. package/lib/__tests__/__fixtures__/defaultSettingsExample.d.ts.map +1 -0
  8. package/lib/{antd-themes/colors.d.ts → colors/colorsList.d.ts} +1 -1
  9. package/lib/colors/colorsList.d.ts.map +1 -0
  10. package/lib/{antd-themes/colors.js → colors/colorsList.js} +1 -1
  11. package/lib/colors/colorsList.js.map +1 -0
  12. package/lib/colors/index.d.ts +1 -0
  13. package/lib/colors/index.d.ts.map +1 -1
  14. package/lib/colors/presets/black.js +0 -3
  15. package/lib/colors/presets/black.js.map +1 -1
  16. package/lib/colors/presets/brinkPink.js +11 -0
  17. package/lib/colors/presets/brinkPink.js.map +1 -0
  18. package/lib/colors/presets/cyan.js +11 -0
  19. package/lib/colors/presets/cyan.js.map +1 -0
  20. package/lib/colors/presets/lime.js +11 -0
  21. package/lib/colors/presets/lime.js.map +1 -0
  22. package/lib/colors/presets/pink.js +11 -0
  23. package/lib/colors/presets/pink.js.map +1 -0
  24. package/lib/colors/presets/purple.js +11 -0
  25. package/lib/colors/presets/purple.js.map +1 -0
  26. package/lib/colors/presets/skyBlue.js +11 -0
  27. package/lib/colors/presets/skyBlue.js.map +1 -0
  28. package/lib/colors/presets/turquoise.js +11 -0
  29. package/lib/colors/presets/turquoise.js.map +1 -0
  30. package/lib/colors/presets/white.js +0 -3
  31. package/lib/colors/presets/white.js.map +1 -1
  32. package/lib/components/ApplicationErrorFillWrapper.d.ts.map +1 -1
  33. package/lib/components/ApplicationErrorHandlerCommon.d.ts.map +1 -1
  34. package/lib/components/ApplicationErrorHandlerCommon.js.map +1 -1
  35. package/lib/components/ErrorBoundaryCommon.js.map +1 -1
  36. package/lib/components/LayoutCookieProvider.d.ts +7 -0
  37. package/lib/components/LayoutCookieProvider.d.ts.map +1 -0
  38. package/lib/components/LayoutCookieProvider.js +25 -0
  39. package/lib/components/LayoutCookieProvider.js.map +1 -0
  40. package/lib/components/UpdateSettings/UpdateSettings.server.d.ts +68 -6
  41. package/lib/components/UpdateSettings/UpdateSettings.server.d.ts.map +1 -1
  42. package/lib/components/UpdateSettings/UpdateSettings.server.js +218 -28
  43. package/lib/components/UpdateSettings/UpdateSettings.server.js.map +1 -1
  44. package/lib/components/UpdateSettings/UpdateSettings.server.test.d.ts +2 -0
  45. package/lib/components/UpdateSettings/UpdateSettings.server.test.d.ts.map +1 -0
  46. package/lib/components/index.d.ts +1 -0
  47. package/lib/components/index.d.ts.map +1 -1
  48. package/lib/config/defaultSettings.d.ts +184 -2
  49. package/lib/config/defaultSettings.d.ts.map +1 -1
  50. package/lib/config/defaultSettings.js +67 -32
  51. package/lib/config/defaultSettings.js.map +1 -1
  52. package/lib/config/env-config.d.ts +3 -5
  53. package/lib/config/env-config.d.ts.map +1 -1
  54. package/lib/config/env-config.js +13 -13
  55. package/lib/config/env-config.js.map +1 -1
  56. package/lib/constants/constants.js.map +1 -1
  57. package/lib/constants/error.js.map +1 -1
  58. package/lib/constants/languages.js.map +1 -1
  59. package/lib/constants/layout.js.map +1 -1
  60. package/lib/graphql/link/error-link.d.ts.map +1 -1
  61. package/lib/graphql/link/error-link.js +1 -1
  62. package/lib/graphql/link/error-link.js.map +1 -1
  63. package/lib/hooks/Client-only.d.ts +28 -0
  64. package/lib/hooks/Client-only.d.ts.map +1 -0
  65. package/lib/hooks/Client-only.js +18 -0
  66. package/lib/hooks/Client-only.js.map +1 -0
  67. package/lib/hooks/hooks.d.ts +4 -0
  68. package/lib/hooks/hooks.d.ts.map +1 -0
  69. package/lib/hooks/index.d.ts +2 -1
  70. package/lib/hooks/index.d.ts.map +1 -1
  71. package/lib/hooks/use-hydrated.d.ts +19 -0
  72. package/lib/hooks/use-hydrated.d.ts.map +1 -0
  73. package/lib/hooks/use-hydrated.js +24 -0
  74. package/lib/hooks/use-hydrated.js.map +1 -0
  75. package/lib/hooks/useLayoutSettings.d.ts +6 -0
  76. package/lib/hooks/useLayoutSettings.d.ts.map +1 -0
  77. package/lib/hooks/useLayoutSettings.js +106 -0
  78. package/lib/hooks/useLayoutSettings.js.map +1 -0
  79. package/lib/hooks/useLayoutSettings.test.d.ts +2 -0
  80. package/lib/hooks/useLayoutSettings.test.d.ts.map +1 -0
  81. package/lib/index.d.ts +1 -1
  82. package/lib/index.d.ts.map +1 -1
  83. package/lib/index.js +1 -1
  84. package/lib/index.native.js +1 -1
  85. package/lib/interfaces/default-settings.d.ts +1 -0
  86. package/lib/interfaces/default-settings.d.ts.map +1 -1
  87. package/lib/interfaces/index.d.ts +2 -0
  88. package/lib/interfaces/index.d.ts.map +1 -1
  89. package/lib/interfaces/pure-settings.d.ts +17 -1
  90. package/lib/interfaces/pure-settings.d.ts.map +1 -1
  91. package/lib/interfaces/searchbar-settings.d.ts +61 -0
  92. package/lib/interfaces/searchbar-settings.d.ts.map +1 -0
  93. package/lib/interfaces/settings.d.ts +167 -0
  94. package/lib/interfaces/settings.d.ts.map +1 -0
  95. package/lib/interfaces/settings.js +5 -0
  96. package/lib/interfaces/settings.js.map +1 -0
  97. package/lib/interfaces/typings.d.ts +1 -1
  98. package/lib/interfaces/typings.d.ts.map +1 -1
  99. package/lib/redux/actions/error-actions.d.ts.map +1 -1
  100. package/lib/redux/actions/error-actions.js.map +1 -1
  101. package/lib/redux/reducers/error.js.map +1 -1
  102. package/lib/redux/reducers/settings.d.ts +2 -36
  103. package/lib/redux/reducers/settings.d.ts.map +1 -1
  104. package/lib/redux/reducers/settings.js +4 -11
  105. package/lib/redux/reducers/settings.js.map +1 -1
  106. package/lib/redux/selectors/index.js.map +1 -1
  107. package/lib/redux/store.js +1 -1
  108. package/lib/redux/store.js.map +1 -1
  109. package/lib/themes/systemFont/index.js.map +1 -1
  110. package/lib/themes/templates/createLayoutTheme.js.map +1 -1
  111. package/lib/themes/templates/darkLayoutTheme.js.map +1 -1
  112. package/lib/themes/templates/lightLayoutTheme.js.map +1 -1
  113. package/lib/utils/assignDefaults.d.ts +10 -0
  114. package/lib/utils/assignDefaults.d.ts.map +1 -0
  115. package/lib/utils/assignDefaults.test.d.ts +1 -0
  116. package/lib/utils/assignDefaults.test.d.ts.map +1 -0
  117. package/lib/utils/generateMenuLink.d.ts.map +1 -1
  118. package/lib/utils/generateMenuLink.js +13 -1
  119. package/lib/utils/generateMenuLink.js.map +1 -1
  120. package/lib/utils/generateMenuLink.test.d.ts +2 -0
  121. package/lib/utils/generateMenuLink.test.d.ts.map +1 -0
  122. package/lib/utils/index.d.ts +1 -1
  123. package/lib/utils/index.d.ts.map +1 -1
  124. package/lib/utils/matchMenuKeys.d.ts.map +1 -1
  125. package/lib/utils/matchMenuKeys.js.map +1 -1
  126. package/lib/utils/menuUtils.d.ts +2 -2
  127. package/lib/utils/menuUtils.d.ts.map +1 -1
  128. package/lib/utils/menuUtils.js +1 -1
  129. package/lib/utils/menuUtils.js.map +1 -1
  130. package/lib/utils/parentRoute.d.ts.map +1 -1
  131. package/lib/utils/parseEnvUiLayoutSettings.d.ts +6 -0
  132. package/lib/utils/parseEnvUiLayoutSettings.d.ts.map +1 -0
  133. package/lib/utils/parseEnvUiLayoutSettings.js +27 -0
  134. package/lib/utils/parseEnvUiLayoutSettings.js.map +1 -0
  135. package/lib/utils/parseEnvUiLayoutSettings.test.d.ts +2 -0
  136. package/lib/utils/parseEnvUiLayoutSettings.test.d.ts.map +1 -0
  137. package/lib/utils/seperatedMenus.js.map +1 -1
  138. package/lib/utils/settingsDiff.test.d.ts +2 -0
  139. package/lib/utils/settingsDiff.test.d.ts.map +1 -0
  140. package/lib/utils/settingsDifference.d.ts +6 -0
  141. package/lib/utils/settingsDifference.d.ts.map +1 -0
  142. package/lib/utils/settingsDifference.js +148 -0
  143. package/lib/utils/settingsDifference.js.map +1 -0
  144. package/lib/utils/settingsDifference.test.d.ts +2 -0
  145. package/lib/utils/settingsDifference.test.d.ts.map +1 -0
  146. package/package.json +9 -4
  147. package/lib/antd-themes/ThemeProvider.d.ts +0 -434
  148. package/lib/antd-themes/ThemeProvider.d.ts.map +0 -1
  149. package/lib/antd-themes/ThemeProvider.js +0 -34
  150. package/lib/antd-themes/ThemeProvider.js.map +0 -1
  151. package/lib/antd-themes/airbnb-dark-theme.d.ts +0 -230
  152. package/lib/antd-themes/airbnb-dark-theme.d.ts.map +0 -1
  153. package/lib/antd-themes/airbnb-dark-theme.js +0 -168
  154. package/lib/antd-themes/airbnb-dark-theme.js.map +0 -1
  155. package/lib/antd-themes/airbnb-light-theme.d.ts +0 -230
  156. package/lib/antd-themes/airbnb-light-theme.d.ts.map +0 -1
  157. package/lib/antd-themes/airbnb-light-theme.js +0 -168
  158. package/lib/antd-themes/airbnb-light-theme.js.map +0 -1
  159. package/lib/antd-themes/colors.d.ts.map +0 -1
  160. package/lib/antd-themes/colors.js.map +0 -1
  161. package/lib/antd-themes/default-dark-theme.d.ts +0 -199
  162. package/lib/antd-themes/default-dark-theme.d.ts.map +0 -1
  163. package/lib/antd-themes/default-dark-theme.js +0 -136
  164. package/lib/antd-themes/default-dark-theme.js.map +0 -1
  165. package/lib/antd-themes/default-light-theme.d.ts +0 -199
  166. package/lib/antd-themes/default-light-theme.d.ts.map +0 -1
  167. package/lib/antd-themes/default-light-theme.js +0 -136
  168. package/lib/antd-themes/default-light-theme.js.map +0 -1
  169. package/lib/antd-themes/github-dark-theme.d.ts +0 -230
  170. package/lib/antd-themes/github-dark-theme.d.ts.map +0 -1
  171. package/lib/antd-themes/github-dark-theme.js +0 -168
  172. package/lib/antd-themes/github-dark-theme.js.map +0 -1
  173. package/lib/antd-themes/github-light-theme.d.ts +0 -230
  174. package/lib/antd-themes/github-light-theme.d.ts.map +0 -1
  175. package/lib/antd-themes/github-light-theme.js +0 -168
  176. package/lib/antd-themes/github-light-theme.js.map +0 -1
  177. package/lib/antd-themes/index.d.ts +0 -14
  178. package/lib/antd-themes/index.d.ts.map +0 -1
  179. package/lib/antd-themes/slack-dark-theme.d.ts +0 -229
  180. package/lib/antd-themes/slack-dark-theme.d.ts.map +0 -1
  181. package/lib/antd-themes/slack-dark-theme.js +0 -167
  182. package/lib/antd-themes/slack-dark-theme.js.map +0 -1
  183. package/lib/antd-themes/slack-light-theme.d.ts +0 -229
  184. package/lib/antd-themes/slack-light-theme.d.ts.map +0 -1
  185. package/lib/antd-themes/slack-light-theme.js +0 -167
  186. package/lib/antd-themes/slack-light-theme.js.map +0 -1
  187. package/lib/antd-themes/spotify-dark-theme.d.ts +0 -230
  188. package/lib/antd-themes/spotify-dark-theme.d.ts.map +0 -1
  189. package/lib/antd-themes/spotify-dark-theme.js +0 -168
  190. package/lib/antd-themes/spotify-dark-theme.js.map +0 -1
  191. package/lib/antd-themes/spotify-light-theme.d.ts +0 -230
  192. package/lib/antd-themes/spotify-light-theme.d.ts.map +0 -1
  193. package/lib/antd-themes/spotify-light-theme.js +0 -168
  194. package/lib/antd-themes/spotify-light-theme.js.map +0 -1
  195. package/lib/antd-themes/themeRegistry.d.ts +0 -2229
  196. package/lib/antd-themes/themeRegistry.d.ts.map +0 -1
  197. package/lib/antd-themes/themeRegistry.js +0 -12
  198. package/lib/antd-themes/themeRegistry.js.map +0 -1
  199. package/lib/components/__tests__/ApplicationErrorHandlerCommon.test.d.ts.map +0 -1
  200. package/lib/hooks/useSettings.d.ts +0 -5
  201. package/lib/hooks/useSettings.d.ts.map +0 -1
  202. package/lib/hooks/useSettings.js +0 -80
  203. package/lib/hooks/useSettings.js.map +0 -1
  204. package/lib/utils/getAntdLocale.d.ts +0 -3
  205. package/lib/utils/getAntdLocale.d.ts.map +0 -1
  206. package/lib/utils/getAntdLocale.js +0 -18
  207. package/lib/utils/getAntdLocale.js.map +0 -1
  208. /package/lib/{components/__tests__ → __tests__}/ApplicationErrorHandlerCommon.test.d.ts +0 -0
@@ -1,199 +0,0 @@
1
- export declare const defaultDarkTheme: {
2
- algorithm: import("@ant-design/cssinjs").DerivativeFunc<import("antd/es/theme/interface").SeedToken, import("antd/es/theme/interface").MapToken>;
3
- token: {
4
- colorPrimary: string;
5
- colorBgContainer: string;
6
- colorText: string;
7
- colorTextSecondary: string;
8
- fontFamily: string;
9
- borderRadius: number;
10
- colorLink: string;
11
- colorLinkHover: string;
12
- colorLinkActive: string;
13
- };
14
- components: {
15
- Button: {
16
- algorithm: boolean;
17
- };
18
- Menu: {
19
- itemBg: string;
20
- };
21
- Input: {
22
- activeBorderColor: string;
23
- };
24
- };
25
- scopes: ({
26
- scope: string[];
27
- settings: {
28
- default: {
29
- background: string;
30
- foreground: string;
31
- border: string;
32
- };
33
- primary: {
34
- background: string;
35
- foreground: string;
36
- border: string;
37
- };
38
- hover: {
39
- background: string;
40
- foreground: string;
41
- border: string;
42
- };
43
- active: {
44
- background: string;
45
- foreground: string;
46
- border: string;
47
- };
48
- disabled: {
49
- background: string;
50
- foreground: string;
51
- border: string;
52
- };
53
- focus?: undefined;
54
- background?: undefined;
55
- item?: undefined;
56
- header?: undefined;
57
- row?: undefined;
58
- heading?: undefined;
59
- text?: undefined;
60
- };
61
- } | {
62
- scope: string[];
63
- settings: {
64
- default: {
65
- background: string;
66
- foreground: string;
67
- border: string;
68
- };
69
- focus: {
70
- border: string;
71
- boxShadow: string;
72
- };
73
- hover: {
74
- border: string;
75
- background?: undefined;
76
- foreground?: undefined;
77
- };
78
- disabled: {
79
- background: string;
80
- foreground: string;
81
- border: string;
82
- };
83
- primary?: undefined;
84
- active?: undefined;
85
- background?: undefined;
86
- item?: undefined;
87
- header?: undefined;
88
- row?: undefined;
89
- heading?: undefined;
90
- text?: undefined;
91
- };
92
- } | {
93
- scope: string[];
94
- settings: {
95
- background: string;
96
- item: {
97
- default: {
98
- background: string;
99
- foreground: string;
100
- };
101
- hover: {
102
- background: string;
103
- foreground: string;
104
- };
105
- active: {
106
- background: string;
107
- foreground: string;
108
- };
109
- };
110
- default?: undefined;
111
- primary?: undefined;
112
- hover?: undefined;
113
- active?: undefined;
114
- disabled?: undefined;
115
- focus?: undefined;
116
- header?: undefined;
117
- row?: undefined;
118
- heading?: undefined;
119
- text?: undefined;
120
- };
121
- } | {
122
- scope: string[];
123
- settings: {
124
- header: {
125
- background: string;
126
- foreground: string;
127
- };
128
- row: {
129
- odd: {
130
- background: string;
131
- };
132
- even: {
133
- background: string;
134
- };
135
- hover: {
136
- background: string;
137
- };
138
- };
139
- default?: undefined;
140
- primary?: undefined;
141
- hover?: undefined;
142
- active?: undefined;
143
- disabled?: undefined;
144
- focus?: undefined;
145
- background?: undefined;
146
- item?: undefined;
147
- heading?: undefined;
148
- text?: undefined;
149
- };
150
- } | {
151
- scope: string[];
152
- settings: {
153
- heading: {
154
- 1: {
155
- fontSize: number;
156
- fontWeight: number;
157
- };
158
- 2: {
159
- fontSize: number;
160
- fontWeight: number;
161
- };
162
- 3: {
163
- fontSize: number;
164
- fontWeight: number;
165
- };
166
- 4: {
167
- fontSize: number;
168
- fontWeight: number;
169
- };
170
- 5: {
171
- fontSize: number;
172
- fontWeight: number;
173
- };
174
- };
175
- text: {
176
- default: {
177
- fontSize: number;
178
- fontWeight: number;
179
- };
180
- secondary: {
181
- fontSize: number;
182
- fontWeight: number;
183
- foreground: string;
184
- };
185
- };
186
- default?: undefined;
187
- primary?: undefined;
188
- hover?: undefined;
189
- active?: undefined;
190
- disabled?: undefined;
191
- focus?: undefined;
192
- background?: undefined;
193
- item?: undefined;
194
- header?: undefined;
195
- row?: undefined;
196
- };
197
- })[];
198
- };
199
- //# sourceMappingURL=default-dark-theme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default-dark-theme.d.ts","sourceRoot":"","sources":["../../src/antd-themes/default-dark-theme.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsI5B,CAAC"}
@@ -1,136 +0,0 @@
1
- import {theme}from'antd';const { defaultAlgorithm, darkAlgorithm } = theme;
2
- const defaultDarkTheme = {
3
- algorithm: darkAlgorithm,
4
- token: {
5
- colorPrimary: '#1890ff',
6
- colorBgContainer: '#141414',
7
- colorText: '#ffffff',
8
- colorTextSecondary: '#a6a6a6',
9
- fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
10
- borderRadius: 2,
11
- colorLink: '#1890ff',
12
- colorLinkHover: '#40a9ff',
13
- colorLinkActive: '#096dd9',
14
- },
15
- components: {
16
- Button: {
17
- algorithm: true,
18
- },
19
- Menu: {
20
- itemBg: 'transparent',
21
- },
22
- Input: {
23
- activeBorderColor: '#1890ff',
24
- },
25
- },
26
- scopes: [
27
- {
28
- scope: ['Button'],
29
- settings: {
30
- default: {
31
- background: '#141414',
32
- foreground: '#ffffff',
33
- border: '#434343',
34
- },
35
- primary: {
36
- background: '#1890ff',
37
- foreground: '#ffffff',
38
- border: '#1890ff',
39
- },
40
- hover: {
41
- background: '#40a9ff',
42
- foreground: '#ffffff',
43
- border: '#40a9ff',
44
- },
45
- active: {
46
- background: '#096dd9',
47
- foreground: '#ffffff',
48
- border: '#096dd9',
49
- },
50
- disabled: {
51
- background: '#303030',
52
- foreground: '#5f5f5f',
53
- border: '#434343',
54
- },
55
- },
56
- },
57
- {
58
- scope: ['Input'],
59
- settings: {
60
- default: {
61
- background: '#141414',
62
- foreground: '#ffffff',
63
- border: '#434343',
64
- },
65
- focus: {
66
- border: '#40a9ff',
67
- boxShadow: '0 0 0 2px rgba(24, 144, 255, 0.2)',
68
- },
69
- hover: {
70
- border: '#40a9ff',
71
- },
72
- disabled: {
73
- background: '#303030',
74
- foreground: '#5f5f5f',
75
- border: '#434343',
76
- },
77
- },
78
- },
79
- {
80
- scope: ['Menu'],
81
- settings: {
82
- background: '#141414',
83
- item: {
84
- default: {
85
- background: 'transparent',
86
- foreground: '#ffffff',
87
- },
88
- hover: {
89
- background: '#303030',
90
- foreground: '#1890ff',
91
- },
92
- active: {
93
- background: '#111d2c',
94
- foreground: '#1890ff',
95
- },
96
- },
97
- },
98
- },
99
- {
100
- scope: ['Table'],
101
- settings: {
102
- header: {
103
- background: '#1f1f1f',
104
- foreground: '#ffffff',
105
- },
106
- row: {
107
- odd: {
108
- background: '#141414',
109
- },
110
- even: {
111
- background: '#1f1f1f',
112
- },
113
- hover: {
114
- background: '#111d2c',
115
- },
116
- },
117
- },
118
- },
119
- {
120
- scope: ['Typography'],
121
- settings: {
122
- heading: {
123
- 1: { fontSize: 38, fontWeight: 600 },
124
- 2: { fontSize: 30, fontWeight: 600 },
125
- 3: { fontSize: 24, fontWeight: 600 },
126
- 4: { fontSize: 20, fontWeight: 600 },
127
- 5: { fontSize: 16, fontWeight: 600 },
128
- },
129
- text: {
130
- default: { fontSize: 14, fontWeight: 400 },
131
- secondary: { fontSize: 14, fontWeight: 400, foreground: '#a6a6a6' },
132
- },
133
- },
134
- },
135
- ],
136
- };export{defaultDarkTheme};//# sourceMappingURL=default-dark-theme.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default-dark-theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,199 +0,0 @@
1
- export declare const defaultLightTheme: {
2
- algorithm: typeof import("antd/es/theme/themes/default").default;
3
- token: {
4
- colorPrimary: string;
5
- colorBgContainer: string;
6
- colorText: string;
7
- colorTextSecondary: string;
8
- fontFamily: string;
9
- borderRadius: number;
10
- colorLink: string;
11
- colorLinkHover: string;
12
- colorLinkActive: string;
13
- };
14
- components: {
15
- Button: {
16
- algorithm: boolean;
17
- };
18
- Menu: {
19
- itemBg: string;
20
- };
21
- Input: {
22
- activeBorderColor: string;
23
- };
24
- };
25
- scopes: ({
26
- scope: string[];
27
- settings: {
28
- default: {
29
- background: string;
30
- foreground: string;
31
- border: string;
32
- };
33
- primary: {
34
- background: string;
35
- foreground: string;
36
- border: string;
37
- };
38
- hover: {
39
- background: string;
40
- foreground: string;
41
- border: string;
42
- };
43
- active: {
44
- background: string;
45
- foreground: string;
46
- border: string;
47
- };
48
- disabled: {
49
- background: string;
50
- foreground: string;
51
- border: string;
52
- };
53
- focus?: undefined;
54
- background?: undefined;
55
- item?: undefined;
56
- header?: undefined;
57
- row?: undefined;
58
- heading?: undefined;
59
- text?: undefined;
60
- };
61
- } | {
62
- scope: string[];
63
- settings: {
64
- default: {
65
- background: string;
66
- foreground: string;
67
- border: string;
68
- };
69
- focus: {
70
- border: string;
71
- boxShadow: string;
72
- };
73
- hover: {
74
- border: string;
75
- background?: undefined;
76
- foreground?: undefined;
77
- };
78
- disabled: {
79
- background: string;
80
- foreground: string;
81
- border: string;
82
- };
83
- primary?: undefined;
84
- active?: undefined;
85
- background?: undefined;
86
- item?: undefined;
87
- header?: undefined;
88
- row?: undefined;
89
- heading?: undefined;
90
- text?: undefined;
91
- };
92
- } | {
93
- scope: string[];
94
- settings: {
95
- background: string;
96
- item: {
97
- default: {
98
- background: string;
99
- foreground: string;
100
- };
101
- hover: {
102
- background: string;
103
- foreground: string;
104
- };
105
- active: {
106
- background: string;
107
- foreground: string;
108
- };
109
- };
110
- default?: undefined;
111
- primary?: undefined;
112
- hover?: undefined;
113
- active?: undefined;
114
- disabled?: undefined;
115
- focus?: undefined;
116
- header?: undefined;
117
- row?: undefined;
118
- heading?: undefined;
119
- text?: undefined;
120
- };
121
- } | {
122
- scope: string[];
123
- settings: {
124
- header: {
125
- background: string;
126
- foreground: string;
127
- };
128
- row: {
129
- odd: {
130
- background: string;
131
- };
132
- even: {
133
- background: string;
134
- };
135
- hover: {
136
- background: string;
137
- };
138
- };
139
- default?: undefined;
140
- primary?: undefined;
141
- hover?: undefined;
142
- active?: undefined;
143
- disabled?: undefined;
144
- focus?: undefined;
145
- background?: undefined;
146
- item?: undefined;
147
- heading?: undefined;
148
- text?: undefined;
149
- };
150
- } | {
151
- scope: string[];
152
- settings: {
153
- heading: {
154
- 1: {
155
- fontSize: number;
156
- fontWeight: number;
157
- };
158
- 2: {
159
- fontSize: number;
160
- fontWeight: number;
161
- };
162
- 3: {
163
- fontSize: number;
164
- fontWeight: number;
165
- };
166
- 4: {
167
- fontSize: number;
168
- fontWeight: number;
169
- };
170
- 5: {
171
- fontSize: number;
172
- fontWeight: number;
173
- };
174
- };
175
- text: {
176
- default: {
177
- fontSize: number;
178
- fontWeight: number;
179
- };
180
- secondary: {
181
- fontSize: number;
182
- fontWeight: number;
183
- foreground: string;
184
- };
185
- };
186
- default?: undefined;
187
- primary?: undefined;
188
- hover?: undefined;
189
- active?: undefined;
190
- disabled?: undefined;
191
- focus?: undefined;
192
- background?: undefined;
193
- item?: undefined;
194
- header?: undefined;
195
- row?: undefined;
196
- };
197
- })[];
198
- };
199
- //# sourceMappingURL=default-light-theme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default-light-theme.d.ts","sourceRoot":"","sources":["../../src/antd-themes/default-light-theme.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsI7B,CAAC"}
@@ -1,136 +0,0 @@
1
- import {theme}from'antd';const { defaultAlgorithm, darkAlgorithm } = theme;
2
- const defaultLightTheme = {
3
- algorithm: defaultAlgorithm,
4
- token: {
5
- colorPrimary: '#1890ff',
6
- colorBgContainer: '#ffffff',
7
- colorText: '#000000',
8
- colorTextSecondary: '#666666',
9
- fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
10
- borderRadius: 2,
11
- colorLink: '#1890ff',
12
- colorLinkHover: '#40a9ff',
13
- colorLinkActive: '#096dd9',
14
- },
15
- components: {
16
- Button: {
17
- algorithm: true,
18
- },
19
- Menu: {
20
- itemBg: 'transparent',
21
- },
22
- Input: {
23
- activeBorderColor: '#1890ff',
24
- },
25
- },
26
- scopes: [
27
- {
28
- scope: ['Button'],
29
- settings: {
30
- default: {
31
- background: '#ffffff',
32
- foreground: '#000000',
33
- border: '#d9d9d9',
34
- },
35
- primary: {
36
- background: '#1890ff',
37
- foreground: '#ffffff',
38
- border: '#1890ff',
39
- },
40
- hover: {
41
- background: '#40a9ff',
42
- foreground: '#ffffff',
43
- border: '#40a9ff',
44
- },
45
- active: {
46
- background: '#096dd9',
47
- foreground: '#ffffff',
48
- border: '#096dd9',
49
- },
50
- disabled: {
51
- background: '#f5f5f5',
52
- foreground: '#d9d9d9',
53
- border: '#d9d9d9',
54
- },
55
- },
56
- },
57
- {
58
- scope: ['Input'],
59
- settings: {
60
- default: {
61
- background: '#ffffff',
62
- foreground: '#000000',
63
- border: '#d9d9d9',
64
- },
65
- focus: {
66
- border: '#40a9ff',
67
- boxShadow: '0 0 0 2px rgba(24, 144, 255, 0.2)',
68
- },
69
- hover: {
70
- border: '#40a9ff',
71
- },
72
- disabled: {
73
- background: '#f5f5f5',
74
- foreground: '#d9d9d9',
75
- border: '#d9d9d9',
76
- },
77
- },
78
- },
79
- {
80
- scope: ['Menu'],
81
- settings: {
82
- background: '#ffffff',
83
- item: {
84
- default: {
85
- background: 'transparent',
86
- foreground: '#000000',
87
- },
88
- hover: {
89
- background: '#f5f5f5',
90
- foreground: '#1890ff',
91
- },
92
- active: {
93
- background: '#e6f7ff',
94
- foreground: '#1890ff',
95
- },
96
- },
97
- },
98
- },
99
- {
100
- scope: ['Table'],
101
- settings: {
102
- header: {
103
- background: '#fafafa',
104
- foreground: '#000000',
105
- },
106
- row: {
107
- odd: {
108
- background: '#ffffff',
109
- },
110
- even: {
111
- background: '#fafafa',
112
- },
113
- hover: {
114
- background: '#e6f7ff',
115
- },
116
- },
117
- },
118
- },
119
- {
120
- scope: ['Typography'],
121
- settings: {
122
- heading: {
123
- 1: { fontSize: 38, fontWeight: 600 },
124
- 2: { fontSize: 30, fontWeight: 600 },
125
- 3: { fontSize: 24, fontWeight: 600 },
126
- 4: { fontSize: 20, fontWeight: 600 },
127
- 5: { fontSize: 16, fontWeight: 600 },
128
- },
129
- text: {
130
- default: { fontSize: 14, fontWeight: 400 },
131
- secondary: { fontSize: 14, fontWeight: 400, foreground: '#666666' },
132
- },
133
- },
134
- },
135
- ],
136
- };export{defaultLightTheme};//# sourceMappingURL=default-light-theme.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default-light-theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}