@admin-layout/client 11.0.4-alpha.4 → 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 (200) 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.map +1 -1
  15. package/lib/colors/presets/brinkPink.js +11 -0
  16. package/lib/colors/presets/brinkPink.js.map +1 -0
  17. package/lib/colors/presets/cyan.js +11 -0
  18. package/lib/colors/presets/cyan.js.map +1 -0
  19. package/lib/colors/presets/lime.js +11 -0
  20. package/lib/colors/presets/lime.js.map +1 -0
  21. package/lib/colors/presets/pink.js +11 -0
  22. package/lib/colors/presets/pink.js.map +1 -0
  23. package/lib/colors/presets/purple.js +11 -0
  24. package/lib/colors/presets/purple.js.map +1 -0
  25. package/lib/colors/presets/skyBlue.js +11 -0
  26. package/lib/colors/presets/skyBlue.js.map +1 -0
  27. package/lib/colors/presets/turquoise.js +11 -0
  28. package/lib/colors/presets/turquoise.js.map +1 -0
  29. package/lib/colors/presets/white.js.map +1 -1
  30. package/lib/components/ApplicationErrorFillWrapper.d.ts +2 -1
  31. package/lib/components/ApplicationErrorFillWrapper.d.ts.map +1 -1
  32. package/lib/components/ApplicationErrorFillWrapper.js +2 -2
  33. package/lib/components/ApplicationErrorHandlerCommon.d.ts.map +1 -1
  34. package/lib/components/ApplicationErrorHandlerCommon.js +8 -6
  35. package/lib/components/ApplicationErrorHandlerCommon.js.map +1 -1
  36. package/lib/components/ErrorBoundaryCommon.d.ts +1 -1
  37. package/lib/components/ErrorBoundaryCommon.js +2 -2
  38. package/lib/components/ErrorBoundaryCommon.js.map +1 -1
  39. package/lib/components/LayoutCookieProvider.d.ts.map +1 -1
  40. package/lib/components/LayoutCookieProvider.js +16 -10
  41. package/lib/components/LayoutCookieProvider.js.map +1 -1
  42. package/lib/components/UpdateSettings/UpdateSettings.server.d.ts +69 -0
  43. package/lib/components/UpdateSettings/UpdateSettings.server.d.ts.map +1 -0
  44. package/lib/components/UpdateSettings/UpdateSettings.server.js +218 -30
  45. package/lib/components/UpdateSettings/UpdateSettings.server.js.map +1 -1
  46. package/lib/components/UpdateSettings/UpdateSettings.server.test.d.ts +2 -0
  47. package/lib/components/UpdateSettings/UpdateSettings.server.test.d.ts.map +1 -0
  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.map +1 -1
  62. package/lib/hooks/Client-only.d.ts +28 -0
  63. package/lib/hooks/Client-only.d.ts.map +1 -0
  64. package/lib/hooks/Client-only.js +18 -0
  65. package/lib/hooks/Client-only.js.map +1 -0
  66. package/lib/hooks/hooks.d.ts +4 -0
  67. package/lib/hooks/hooks.d.ts.map +1 -0
  68. package/lib/hooks/index.d.ts +1 -0
  69. package/lib/hooks/index.d.ts.map +1 -1
  70. package/lib/hooks/use-hydrated.d.ts +19 -0
  71. package/lib/hooks/use-hydrated.d.ts.map +1 -0
  72. package/lib/hooks/use-hydrated.js +24 -0
  73. package/lib/hooks/use-hydrated.js.map +1 -0
  74. package/lib/hooks/useLayoutSettings.d.ts +3 -2
  75. package/lib/hooks/useLayoutSettings.d.ts.map +1 -1
  76. package/lib/hooks/useLayoutSettings.js +70 -44
  77. package/lib/hooks/useLayoutSettings.js.map +1 -1
  78. package/lib/hooks/useLayoutSettings.test.d.ts +2 -0
  79. package/lib/hooks/useLayoutSettings.test.d.ts.map +1 -0
  80. package/lib/index.d.ts +1 -1
  81. package/lib/index.d.ts.map +1 -1
  82. package/lib/index.js +1 -1
  83. package/lib/index.native.js +1 -1
  84. package/lib/interfaces/default-settings.d.ts +1 -0
  85. package/lib/interfaces/default-settings.d.ts.map +1 -1
  86. package/lib/interfaces/index.d.ts +2 -0
  87. package/lib/interfaces/index.d.ts.map +1 -1
  88. package/lib/interfaces/pure-settings.d.ts +17 -1
  89. package/lib/interfaces/pure-settings.d.ts.map +1 -1
  90. package/lib/interfaces/searchbar-settings.d.ts +61 -0
  91. package/lib/interfaces/searchbar-settings.d.ts.map +1 -0
  92. package/lib/interfaces/settings.d.ts +167 -0
  93. package/lib/interfaces/settings.d.ts.map +1 -0
  94. package/lib/interfaces/settings.js +5 -0
  95. package/lib/interfaces/settings.js.map +1 -0
  96. package/lib/interfaces/typings.d.ts +1 -1
  97. package/lib/interfaces/typings.d.ts.map +1 -1
  98. package/lib/redux/actions/error-actions.d.ts.map +1 -1
  99. package/lib/redux/actions/error-actions.js.map +1 -1
  100. package/lib/redux/reducers/error.js.map +1 -1
  101. package/lib/redux/reducers/settings.d.ts.map +1 -1
  102. package/lib/redux/reducers/settings.js +3 -10
  103. package/lib/redux/reducers/settings.js.map +1 -1
  104. package/lib/redux/selectors/index.js.map +1 -1
  105. package/lib/redux/store.js +1 -1
  106. package/lib/redux/store.js.map +1 -1
  107. package/lib/themes/systemFont/index.js.map +1 -1
  108. package/lib/themes/templates/createLayoutTheme.js.map +1 -1
  109. package/lib/themes/templates/darkLayoutTheme.js.map +1 -1
  110. package/lib/themes/templates/lightLayoutTheme.js.map +1 -1
  111. package/lib/utils/assignDefaults.d.ts +10 -0
  112. package/lib/utils/assignDefaults.d.ts.map +1 -0
  113. package/lib/utils/assignDefaults.test.d.ts +1 -0
  114. package/lib/utils/assignDefaults.test.d.ts.map +1 -0
  115. package/lib/utils/generateMenuLink.d.ts.map +1 -1
  116. package/lib/utils/generateMenuLink.js +13 -1
  117. package/lib/utils/generateMenuLink.js.map +1 -1
  118. package/lib/utils/generateMenuLink.test.d.ts +2 -0
  119. package/lib/utils/generateMenuLink.test.d.ts.map +1 -0
  120. package/lib/utils/index.d.ts +1 -1
  121. package/lib/utils/index.d.ts.map +1 -1
  122. package/lib/utils/matchMenuKeys.d.ts.map +1 -1
  123. package/lib/utils/matchMenuKeys.js.map +1 -1
  124. package/lib/utils/menuUtils.d.ts.map +1 -1
  125. package/lib/utils/menuUtils.js.map +1 -1
  126. package/lib/utils/parentRoute.d.ts.map +1 -1
  127. package/lib/utils/parseEnvUiLayoutSettings.d.ts +6 -0
  128. package/lib/utils/parseEnvUiLayoutSettings.d.ts.map +1 -0
  129. package/lib/utils/parseEnvUiLayoutSettings.js +27 -0
  130. package/lib/utils/parseEnvUiLayoutSettings.js.map +1 -0
  131. package/lib/utils/parseEnvUiLayoutSettings.test.d.ts +2 -0
  132. package/lib/utils/parseEnvUiLayoutSettings.test.d.ts.map +1 -0
  133. package/lib/utils/seperatedMenus.js.map +1 -1
  134. package/lib/utils/settingsDiff.test.d.ts +2 -0
  135. package/lib/utils/settingsDiff.test.d.ts.map +1 -0
  136. package/lib/utils/settingsDifference.d.ts +6 -0
  137. package/lib/utils/settingsDifference.d.ts.map +1 -0
  138. package/lib/utils/settingsDifference.js +148 -0
  139. package/lib/utils/settingsDifference.js.map +1 -0
  140. package/lib/utils/settingsDifference.test.d.ts +2 -0
  141. package/lib/utils/settingsDifference.test.d.ts.map +1 -0
  142. package/package.json +9 -4
  143. package/lib/antd-themes/ThemeProvider.d.ts +0 -10
  144. package/lib/antd-themes/ThemeProvider.d.ts.map +0 -1
  145. package/lib/antd-themes/ThemeProvider.js +0 -34
  146. package/lib/antd-themes/ThemeProvider.js.map +0 -1
  147. package/lib/antd-themes/airbnb-dark-theme.d.ts +0 -2
  148. package/lib/antd-themes/airbnb-dark-theme.d.ts.map +0 -1
  149. package/lib/antd-themes/airbnb-dark-theme.js +0 -168
  150. package/lib/antd-themes/airbnb-dark-theme.js.map +0 -1
  151. package/lib/antd-themes/airbnb-light-theme.d.ts +0 -230
  152. package/lib/antd-themes/airbnb-light-theme.d.ts.map +0 -1
  153. package/lib/antd-themes/airbnb-light-theme.js +0 -168
  154. package/lib/antd-themes/airbnb-light-theme.js.map +0 -1
  155. package/lib/antd-themes/colors.d.ts.map +0 -1
  156. package/lib/antd-themes/colors.js.map +0 -1
  157. package/lib/antd-themes/default-dark-theme.d.ts +0 -2
  158. package/lib/antd-themes/default-dark-theme.d.ts.map +0 -1
  159. package/lib/antd-themes/default-dark-theme.js +0 -136
  160. package/lib/antd-themes/default-dark-theme.js.map +0 -1
  161. package/lib/antd-themes/default-light-theme.d.ts +0 -199
  162. package/lib/antd-themes/default-light-theme.d.ts.map +0 -1
  163. package/lib/antd-themes/default-light-theme.js +0 -136
  164. package/lib/antd-themes/default-light-theme.js.map +0 -1
  165. package/lib/antd-themes/github-dark-theme.d.ts +0 -2
  166. package/lib/antd-themes/github-dark-theme.d.ts.map +0 -1
  167. package/lib/antd-themes/github-dark-theme.js +0 -168
  168. package/lib/antd-themes/github-dark-theme.js.map +0 -1
  169. package/lib/antd-themes/github-light-theme.d.ts +0 -230
  170. package/lib/antd-themes/github-light-theme.d.ts.map +0 -1
  171. package/lib/antd-themes/github-light-theme.js +0 -168
  172. package/lib/antd-themes/github-light-theme.js.map +0 -1
  173. package/lib/antd-themes/index.d.ts +0 -14
  174. package/lib/antd-themes/index.d.ts.map +0 -1
  175. package/lib/antd-themes/slack-dark-theme.d.ts +0 -2
  176. package/lib/antd-themes/slack-dark-theme.d.ts.map +0 -1
  177. package/lib/antd-themes/slack-dark-theme.js +0 -167
  178. package/lib/antd-themes/slack-dark-theme.js.map +0 -1
  179. package/lib/antd-themes/slack-light-theme.d.ts +0 -229
  180. package/lib/antd-themes/slack-light-theme.d.ts.map +0 -1
  181. package/lib/antd-themes/slack-light-theme.js +0 -167
  182. package/lib/antd-themes/slack-light-theme.js.map +0 -1
  183. package/lib/antd-themes/spotify-dark-theme.d.ts +0 -2
  184. package/lib/antd-themes/spotify-dark-theme.d.ts.map +0 -1
  185. package/lib/antd-themes/spotify-dark-theme.js +0 -168
  186. package/lib/antd-themes/spotify-dark-theme.js.map +0 -1
  187. package/lib/antd-themes/spotify-light-theme.d.ts +0 -230
  188. package/lib/antd-themes/spotify-light-theme.d.ts.map +0 -1
  189. package/lib/antd-themes/spotify-light-theme.js +0 -168
  190. package/lib/antd-themes/spotify-light-theme.js.map +0 -1
  191. package/lib/antd-themes/themeRegistry.d.ts +0 -2
  192. package/lib/antd-themes/themeRegistry.d.ts.map +0 -1
  193. package/lib/antd-themes/themeRegistry.js +0 -12
  194. package/lib/antd-themes/themeRegistry.js.map +0 -1
  195. package/lib/components/__tests__/ApplicationErrorHandlerCommon.test.d.ts.map +0 -1
  196. package/lib/utils/getAntdLocale.d.ts +0 -3
  197. package/lib/utils/getAntdLocale.d.ts.map +0 -1
  198. package/lib/utils/getAntdLocale.js +0 -18
  199. package/lib/utils/getAntdLocale.js.map +0 -1
  200. /package/lib/{components/__tests__ → __tests__}/ApplicationErrorHandlerCommon.test.d.ts +0 -0
@@ -1,167 +0,0 @@
1
- import {theme}from'antd';const { defaultAlgorithm, darkAlgorithm } = theme;
2
- const slackDarkTheme = {
3
- algorithm: darkAlgorithm,
4
- token: {
5
- colorPrimary: '#611f69',
6
- colorBgContainer: '#1A1D21',
7
- colorText: '#D1D2D3',
8
- colorTextSecondary: '#ABABAD',
9
- fontFamily: 'Slack-Larsseit, Helvetica Neue, Helvetica, Segoe UI, Tahoma, Arial, sans-serif',
10
- borderRadius: 4,
11
- colorLink: '#1D9BD1',
12
- colorLinkHover: '#36C5F0',
13
- colorLinkActive: '#0B4C6F',
14
- },
15
- components: {
16
- Button: {
17
- // colorPrimary: '#611f69',
18
- algorithm: true,
19
- borderRadius: 4,
20
- controlHeight: 36,
21
- controlHeightLG: 44,
22
- controlHeightSM: 28,
23
- paddingContentHorizontal: 16,
24
- },
25
- Menu: {
26
- itemBg: 'transparent',
27
- itemColor: '#ffffff',
28
- itemHoverColor: '#1264a3',
29
- itemSelectedColor: '#ffffff',
30
- itemSelectedBg: '#1164A3',
31
- itemHoverBg: 'rgba(255, 255, 255, 0.1)',
32
- activeBarWidth: 0,
33
- activeBarHeight: 0,
34
- activeBarBorderWidth: 0,
35
- },
36
- Typography: {
37
- fontSizeHeading1: 40,
38
- fontSizeHeading2: 32,
39
- fontSizeHeading3: 24,
40
- fontSizeHeading4: 18,
41
- fontSizeHeading5: 16,
42
- },
43
- Form: {
44
- labelColor: '#ffffff',
45
- colorError: '#e01e5a',
46
- colorWarning: '#f2c744',
47
- colorSuccess: '#2eb67d',
48
- },
49
- Input: {
50
- controlHeight: 36,
51
- controlHeightLG: 44,
52
- controlHeightSM: 28,
53
- paddingHorizontal: 12,
54
- borderRadius: 4,
55
- },
56
- },
57
- scopes: [
58
- {
59
- scope: ['Button'],
60
- settings: {
61
- default: {
62
- background: '#222529',
63
- foreground: '#D1D2D3',
64
- border: '#565856',
65
- },
66
- primary: {
67
- background: '#007a5a',
68
- foreground: '#ffffff',
69
- border: '#007a5a',
70
- },
71
- hover: {
72
- background: '#148567',
73
- foreground: '#ffffff',
74
- border: '#148567',
75
- },
76
- active: {
77
- background: '#006e51',
78
- foreground: '#ffffff',
79
- border: '#006e51',
80
- },
81
- disabled: {
82
- background: '#1A1D21',
83
- foreground: '#565856',
84
- border: '#2C2D30',
85
- },
86
- },
87
- },
88
- {
89
- scope: ['Input'],
90
- settings: {
91
- default: {
92
- background: '#222529',
93
- foreground: '#D1D2D3',
94
- border: '#565856',
95
- },
96
- focus: {
97
- border: '#1D9BD1',
98
- boxShadow: '0 0 0 1px #1D9BD1, 0 0 0 5px rgba(29, 155, 209, 0.3)',
99
- },
100
- hover: {
101
- border: '#1D9BD1',
102
- },
103
- disabled: {
104
- background: '#1A1D21',
105
- foreground: '#565856',
106
- border: '#2C2D30',
107
- },
108
- },
109
- },
110
- {
111
- scope: ['Menu'],
112
- settings: {
113
- background: '#1A1D21',
114
- item: {
115
- default: {
116
- background: 'transparent',
117
- foreground: '#D1D2D3',
118
- },
119
- hover: {
120
- background: '#27242C',
121
- foreground: '#D1D2D3',
122
- },
123
- active: {
124
- background: '#1164A3',
125
- foreground: '#ffffff',
126
- },
127
- },
128
- },
129
- },
130
- {
131
- scope: ['Table'],
132
- settings: {
133
- header: {
134
- background: '#222529',
135
- foreground: '#D1D2D3',
136
- },
137
- row: {
138
- odd: {
139
- background: '#1A1D21',
140
- },
141
- even: {
142
- background: '#222529',
143
- },
144
- hover: {
145
- background: '#27242C',
146
- },
147
- },
148
- },
149
- },
150
- {
151
- scope: ['Typography'],
152
- settings: {
153
- heading: {
154
- 1: { fontSize: 28, fontWeight: 900 },
155
- 2: { fontSize: 24, fontWeight: 900 },
156
- 3: { fontSize: 20, fontWeight: 900 },
157
- 4: { fontSize: 18, fontWeight: 900 },
158
- 5: { fontSize: 16, fontWeight: 900 },
159
- },
160
- text: {
161
- default: { fontSize: 15, fontWeight: 400 },
162
- secondary: { fontSize: 15, fontWeight: 400, foreground: '#ABABAD' },
163
- },
164
- },
165
- },
166
- ],
167
- };export{slackDarkTheme};//# sourceMappingURL=slack-dark-theme.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"slack-dark-theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,229 +0,0 @@
1
- export declare const slackLightTheme: {
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
- borderRadius: number;
18
- controlHeight: number;
19
- controlHeightLG: number;
20
- controlHeightSM: number;
21
- paddingContentHorizontal: number;
22
- };
23
- Menu: {
24
- itemBg: string;
25
- itemColor: string;
26
- itemHoverColor: string;
27
- itemSelectedColor: string;
28
- itemSelectedBg: string;
29
- itemHoverBg: string;
30
- activeBarWidth: number;
31
- activeBarHeight: number;
32
- activeBarBorderWidth: number;
33
- };
34
- Typography: {
35
- fontSizeHeading1: number;
36
- fontSizeHeading2: number;
37
- fontSizeHeading3: number;
38
- fontSizeHeading4: number;
39
- fontSizeHeading5: number;
40
- };
41
- Form: {
42
- labelColor: string;
43
- colorError: string;
44
- colorWarning: string;
45
- colorSuccess: string;
46
- };
47
- Input: {
48
- controlHeight: number;
49
- controlHeightLG: number;
50
- controlHeightSM: number;
51
- paddingHorizontal: number;
52
- borderRadius: number;
53
- };
54
- };
55
- scopes: ({
56
- scope: string[];
57
- settings: {
58
- default: {
59
- background: string;
60
- foreground: string;
61
- border: string;
62
- };
63
- primary: {
64
- background: string;
65
- foreground: string;
66
- border: string;
67
- };
68
- hover: {
69
- background: string;
70
- foreground: string;
71
- border: string;
72
- };
73
- active: {
74
- background: string;
75
- foreground: string;
76
- border: string;
77
- };
78
- disabled: {
79
- background: string;
80
- foreground: string;
81
- border: string;
82
- };
83
- focus?: undefined;
84
- background?: undefined;
85
- item?: undefined;
86
- header?: undefined;
87
- row?: undefined;
88
- heading?: undefined;
89
- text?: undefined;
90
- };
91
- } | {
92
- scope: string[];
93
- settings: {
94
- default: {
95
- background: string;
96
- foreground: string;
97
- border: string;
98
- };
99
- focus: {
100
- border: string;
101
- boxShadow: string;
102
- };
103
- hover: {
104
- border: string;
105
- background?: undefined;
106
- foreground?: undefined;
107
- };
108
- disabled: {
109
- background: string;
110
- foreground: string;
111
- border: string;
112
- };
113
- primary?: undefined;
114
- active?: undefined;
115
- background?: undefined;
116
- item?: undefined;
117
- header?: undefined;
118
- row?: undefined;
119
- heading?: undefined;
120
- text?: undefined;
121
- };
122
- } | {
123
- scope: string[];
124
- settings: {
125
- background: string;
126
- item: {
127
- default: {
128
- background: string;
129
- foreground: string;
130
- };
131
- hover: {
132
- background: string;
133
- foreground: string;
134
- };
135
- active: {
136
- background: string;
137
- foreground: string;
138
- };
139
- };
140
- default?: undefined;
141
- primary?: undefined;
142
- hover?: undefined;
143
- active?: undefined;
144
- disabled?: undefined;
145
- focus?: undefined;
146
- header?: undefined;
147
- row?: undefined;
148
- heading?: undefined;
149
- text?: undefined;
150
- };
151
- } | {
152
- scope: string[];
153
- settings: {
154
- header: {
155
- background: string;
156
- foreground: string;
157
- };
158
- row: {
159
- odd: {
160
- background: string;
161
- };
162
- even: {
163
- background: string;
164
- };
165
- hover: {
166
- background: string;
167
- };
168
- };
169
- default?: undefined;
170
- primary?: undefined;
171
- hover?: undefined;
172
- active?: undefined;
173
- disabled?: undefined;
174
- focus?: undefined;
175
- background?: undefined;
176
- item?: undefined;
177
- heading?: undefined;
178
- text?: undefined;
179
- };
180
- } | {
181
- scope: string[];
182
- settings: {
183
- heading: {
184
- 1: {
185
- fontSize: number;
186
- fontWeight: number;
187
- };
188
- 2: {
189
- fontSize: number;
190
- fontWeight: number;
191
- };
192
- 3: {
193
- fontSize: number;
194
- fontWeight: number;
195
- };
196
- 4: {
197
- fontSize: number;
198
- fontWeight: number;
199
- };
200
- 5: {
201
- fontSize: number;
202
- fontWeight: number;
203
- };
204
- };
205
- text: {
206
- default: {
207
- fontSize: number;
208
- fontWeight: number;
209
- };
210
- secondary: {
211
- fontSize: number;
212
- fontWeight: number;
213
- foreground: string;
214
- };
215
- };
216
- default?: undefined;
217
- primary?: undefined;
218
- hover?: undefined;
219
- active?: undefined;
220
- disabled?: undefined;
221
- focus?: undefined;
222
- background?: undefined;
223
- item?: undefined;
224
- header?: undefined;
225
- row?: undefined;
226
- };
227
- })[];
228
- };
229
- //# sourceMappingURL=slack-light-theme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"slack-light-theme.d.ts","sourceRoot":"","sources":["../../src/antd-themes/slack-light-theme.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqK3B,CAAC"}
@@ -1,167 +0,0 @@
1
- import {theme}from'antd';const { defaultAlgorithm, darkAlgorithm } = theme;
2
- const slackLightTheme = {
3
- algorithm: defaultAlgorithm,
4
- token: {
5
- colorPrimary: '#611f69',
6
- colorBgContainer: '#FFFFFF',
7
- colorText: '#1D1C1D',
8
- colorTextSecondary: '#616061',
9
- fontFamily: 'Slack-Larsseit, Helvetica Neue, Helvetica, Segoe UI, Tahoma, Arial, sans-serif',
10
- borderRadius: 4,
11
- colorLink: '#1264A3',
12
- colorLinkHover: '#0B4C6F',
13
- colorLinkActive: '#0B4C6F',
14
- },
15
- components: {
16
- Button: {
17
- // colorPrimary: '#611f69',
18
- algorithm: true,
19
- borderRadius: 4,
20
- controlHeight: 36,
21
- controlHeightLG: 44,
22
- controlHeightSM: 28,
23
- paddingContentHorizontal: 16,
24
- },
25
- Menu: {
26
- itemBg: 'transparent',
27
- itemColor: '#1D1C1D',
28
- itemHoverColor: '#1264a3',
29
- itemSelectedColor: '#1D1C1D',
30
- itemSelectedBg: '#1164A3',
31
- itemHoverBg: 'rgba(0, 0, 0, 0.1)',
32
- activeBarWidth: 0,
33
- activeBarHeight: 0,
34
- activeBarBorderWidth: 0,
35
- },
36
- Typography: {
37
- fontSizeHeading1: 40,
38
- fontSizeHeading2: 32,
39
- fontSizeHeading3: 24,
40
- fontSizeHeading4: 18,
41
- fontSizeHeading5: 16,
42
- },
43
- Form: {
44
- labelColor: '#1D1C1D',
45
- colorError: '#e01e5a',
46
- colorWarning: '#f2c744',
47
- colorSuccess: '#2eb67d',
48
- },
49
- Input: {
50
- controlHeight: 36,
51
- controlHeightLG: 44,
52
- controlHeightSM: 28,
53
- paddingHorizontal: 12,
54
- borderRadius: 4,
55
- },
56
- },
57
- scopes: [
58
- {
59
- scope: ['Button'],
60
- settings: {
61
- default: {
62
- background: '#F8F8F8',
63
- foreground: '#1D1C1D',
64
- border: '#DCDCDC',
65
- },
66
- primary: {
67
- background: '#007a5a',
68
- foreground: '#ffffff',
69
- border: '#007a5a',
70
- },
71
- hover: {
72
- background: '#148567',
73
- foreground: '#ffffff',
74
- border: '#148567',
75
- },
76
- active: {
77
- background: '#006e51',
78
- foreground: '#ffffff',
79
- border: '#006e51',
80
- },
81
- disabled: {
82
- background: '#F8F8F8',
83
- foreground: '#DCDCDC',
84
- border: '#DCDCDC',
85
- },
86
- },
87
- },
88
- {
89
- scope: ['Input'],
90
- settings: {
91
- default: {
92
- background: '#FFFFFF',
93
- foreground: '#1D1C1D',
94
- border: '#DCDCDC',
95
- },
96
- focus: {
97
- border: '#1264A3',
98
- boxShadow: '0 0 0 1px #1264A3, 0 0 0 5px rgba(29, 155, 209, 0.3)',
99
- },
100
- hover: {
101
- border: '#1264A3',
102
- },
103
- disabled: {
104
- background: '#F8F8F8',
105
- foreground: '#DCDCDC',
106
- border: '#DCDCDC',
107
- },
108
- },
109
- },
110
- {
111
- scope: ['Menu'],
112
- settings: {
113
- background: '#FFFFFF',
114
- item: {
115
- default: {
116
- background: 'transparent',
117
- foreground: '#1D1C1D',
118
- },
119
- hover: {
120
- background: '#F8F8F8',
121
- foreground: '#1D1C1D',
122
- },
123
- active: {
124
- background: '#1164A3',
125
- foreground: '#FFFFFF',
126
- },
127
- },
128
- },
129
- },
130
- {
131
- scope: ['Table'],
132
- settings: {
133
- header: {
134
- background: '#F8F8F8',
135
- foreground: '#1D1C1D',
136
- },
137
- row: {
138
- odd: {
139
- background: '#FFFFFF',
140
- },
141
- even: {
142
- background: '#F8F8F8',
143
- },
144
- hover: {
145
- background: '#EBEAEB',
146
- },
147
- },
148
- },
149
- },
150
- {
151
- scope: ['Typography'],
152
- settings: {
153
- heading: {
154
- 1: { fontSize: 28, fontWeight: 900 },
155
- 2: { fontSize: 24, fontWeight: 900 },
156
- 3: { fontSize: 20, fontWeight: 900 },
157
- 4: { fontSize: 18, fontWeight: 900 },
158
- 5: { fontSize: 16, fontWeight: 900 },
159
- },
160
- text: {
161
- default: { fontSize: 15, fontWeight: 400 },
162
- secondary: { fontSize: 15, fontWeight: 400, foreground: '#616061' },
163
- },
164
- },
165
- },
166
- ],
167
- };export{slackLightTheme};//# sourceMappingURL=slack-light-theme.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"slack-light-theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,2 +0,0 @@
1
- export declare const spotifyDarkTheme: any;
2
- //# sourceMappingURL=spotify-dark-theme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spotify-dark-theme.d.ts","sourceRoot":"","sources":["../../src/antd-themes/spotify-dark-theme.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,EAAE,GAsK9B,CAAC"}