@ebrains/react 0.9.1-beta → 0.9.2-beta

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 (179) hide show
  1. package/.babelrc +12 -0
  2. package/package.json +2 -6
  3. package/project.json +10 -0
  4. package/rollup.config.js +43 -0
  5. package/src/components.ts +49 -0
  6. package/src/generated/components.ts +47 -0
  7. package/src/generated/react-component-lib/attachProps.ts +125 -0
  8. package/src/generated/react-component-lib/case.ts +7 -0
  9. package/src/generated/react-component-lib/createComponent.tsx +106 -0
  10. package/src/generated/react-component-lib/createOverlayComponent.tsx +142 -0
  11. package/src/generated/react-component-lib/dev.ts +14 -0
  12. package/src/generated/react-component-lib/index.tsx +50 -0
  13. package/src/generated/react-component-lib/interfaces.ts +34 -0
  14. package/src/generated/react-component-lib/utils/attachProps.ts +125 -0
  15. package/src/generated/react-component-lib/utils/case.ts +7 -0
  16. package/src/generated/react-component-lib/utils/dev.ts +14 -0
  17. package/src/generated/react-component-lib/utils/index.tsx +50 -0
  18. package/src/react-component-lib/attachProps.ts +125 -0
  19. package/src/react-component-lib/case.ts +7 -0
  20. package/src/react-component-lib/createComponent.tsx +106 -0
  21. package/src/react-component-lib/createOverlayComponent.tsx +142 -0
  22. package/src/react-component-lib/dev.ts +14 -0
  23. package/src/react-component-lib/index.tsx +50 -0
  24. package/src/react-component-lib/interfaces.ts +34 -0
  25. package/src/react-component-lib/utils/attachProps.ts +125 -0
  26. package/src/react-component-lib/utils/case.ts +7 -0
  27. package/src/react-component-lib/utils/index.tsx +50 -0
  28. package/tsconfig.json +17 -0
  29. package/tsconfig.lib.json +23 -0
  30. package/analytics-44b1416b.esm.js +0 -55
  31. package/arrow-diagonal-black-8f0494c3.esm.js +0 -3
  32. package/arrow-right-9322ba8a.esm.js +0 -5
  33. package/bluesky-cc5edd2d.esm.js +0 -14
  34. package/bookmark-c200037c.esm.js +0 -16
  35. package/chevron-down-6144c823.esm.js +0 -12
  36. package/chevron-left-ca6c66e1.esm.js +0 -11
  37. package/chevron-right-b88ed2d4.esm.js +0 -5
  38. package/chevron-up-c66bd477.esm.js +0 -12
  39. package/close-87fc0d63.esm.js +0 -5
  40. package/color-2554aad6.esm.js +0 -122
  41. package/color-primary-palette_6.entry.esm.js +0 -778
  42. package/components-section.entry.esm.js +0 -165
  43. package/copy-03b72cb6.esm.js +0 -5
  44. package/correct-use-of-colors.entry.esm.js +0 -243
  45. package/docs-palettes.entry.esm.js +0 -29
  46. package/docs-tokens.entry.esm.js +0 -45
  47. package/eds-accordion.entry.esm.js +0 -132
  48. package/eds-alert.entry.esm.js +0 -112
  49. package/eds-app-root.entry.esm.js +0 -53
  50. package/eds-avatar_26.entry.esm.js +0 -306
  51. package/eds-card-desc_2.entry.esm.js +0 -86
  52. package/eds-card-generic.entry.esm.js +0 -114
  53. package/eds-card-project.entry.esm.js +0 -93
  54. package/eds-card-section.entry.esm.js +0 -56
  55. package/eds-card-tags.entry.esm.js +0 -27
  56. package/eds-card-tool.entry.esm.js +0 -105
  57. package/eds-card-wrapper.entry.esm.js +0 -39
  58. package/eds-code-block.entry.esm.js +0 -2290
  59. package/eds-cookies-preference.entry.esm.js +0 -47
  60. package/eds-feedback.entry.esm.js +0 -82
  61. package/eds-frame.entry.esm.js +0 -112
  62. package/eds-icon-arrow-diagonal.entry.esm.js +0 -21
  63. package/eds-icon-arrow-right.entry.esm.js +0 -21
  64. package/eds-icon-bluesky.entry.esm.js +0 -21
  65. package/eds-icon-bookmark.entry.esm.js +0 -21
  66. package/eds-icon-chevron-down.entry.esm.js +0 -21
  67. package/eds-icon-chevron-left.entry.esm.js +0 -21
  68. package/eds-icon-chevron-right.entry.esm.js +0 -21
  69. package/eds-icon-chevron-up.entry.esm.js +0 -21
  70. package/eds-icon-close.entry.esm.js +0 -21
  71. package/eds-icon-copy.entry.esm.js +0 -21
  72. package/eds-icon-eu.entry.esm.js +0 -21
  73. package/eds-icon-external.entry.esm.js +0 -21
  74. package/eds-icon-facebook.entry.esm.js +0 -21
  75. package/eds-icon-gitlab.entry.esm.js +0 -21
  76. package/eds-icon-linkedin.entry.esm.js +0 -21
  77. package/eds-icon-loader.entry.esm.js +0 -21
  78. package/eds-icon-mastodon.entry.esm.js +0 -21
  79. package/eds-icon-menu.entry.esm.js +0 -21
  80. package/eds-icon-minus.entry.esm.js +0 -21
  81. package/eds-icon-more.entry.esm.js +0 -21
  82. package/eds-icon-paper.entry.esm.js +0 -21
  83. package/eds-icon-plus.entry.esm.js +0 -21
  84. package/eds-icon-portal.entry.esm.js +0 -21
  85. package/eds-icon-private.entry.esm.js +0 -21
  86. package/eds-icon-public.entry.esm.js +0 -21
  87. package/eds-icon-search.entry.esm.js +0 -21
  88. package/eds-icon-star.entry.esm.js +0 -21
  89. package/eds-icon-success.entry.esm.js +0 -21
  90. package/eds-icon-thumbs-down.entry.esm.js +0 -21
  91. package/eds-icon-thumbs-up.entry.esm.js +0 -21
  92. package/eds-icon-tutorial.entry.esm.js +0 -21
  93. package/eds-icon-twitter.entry.esm.js +0 -21
  94. package/eds-icon-unknown.entry.esm.js +0 -21
  95. package/eds-icon-updown.entry.esm.js +0 -21
  96. package/eds-icon-user.entry.esm.js +0 -21
  97. package/eds-icon-youtube.entry.esm.js +0 -21
  98. package/eds-login_2.entry.esm.js +0 -1828
  99. package/eds-matomo-notice.entry.esm.js +0 -162
  100. package/eds-modal.entry.esm.js +0 -142
  101. package/eds-pagination_2.entry.esm.js +0 -493
  102. package/eds-progress-bar.entry.esm.js +0 -41
  103. package/eds-rating.entry.esm.js +0 -79
  104. package/eds-section-core_2.entry.esm.js +0 -69
  105. package/eds-spinner.entry.esm.js +0 -67
  106. package/eds-switch.entry.esm.js +0 -58
  107. package/eds-tabs.entry.esm.js +0 -143
  108. package/eds-timeline.entry.esm.js +0 -117
  109. package/eds-toast-manager.entry.esm.js +0 -62
  110. package/eds-toast.entry.esm.js +0 -92
  111. package/eds-tooltip.entry.esm.js +0 -125
  112. package/eds-trl.entry.esm.js +0 -68
  113. package/eu-9ddde93a.esm.js +0 -30
  114. package/facebook-9cb5c17f.esm.js +0 -14
  115. package/incorrect-use-of-colors.entry.esm.js +0 -71
  116. package/index-39c58238.esm.js +0 -58
  117. package/index.esm.d.ts +0 -1
  118. package/index.esm.js +0 -4
  119. package/index.esm2.js +0 -4836
  120. package/linkedin-e8650abb.esm.js +0 -28
  121. package/loader-c9628637.esm.js +0 -30
  122. package/logo-color-7f1fd803.esm.js +0 -115
  123. package/logo-color-margins-ff8ce71b.esm.js +0 -118
  124. package/logo-space.entry.esm.js +0 -48
  125. package/logo-variations-horizontal_2.entry.esm.js +0 -123
  126. package/logo-variations-tabs.entry.esm.js +0 -29
  127. package/logo-white-no-bg-f382f86f.esm.js +0 -1021
  128. package/logo-wrong-usage.entry.esm.js +0 -101
  129. package/mastodon-3703ec61.esm.js +0 -14
  130. package/menu-340ea948.esm.js +0 -11
  131. package/minus-b30a7c71.esm.js +0 -11
  132. package/mono-53f70232.esm.js +0 -11
  133. package/more-4449d549.esm.js +0 -13
  134. package/paper-8e74ea31.esm.js +0 -15
  135. package/plus-89c07be2.esm.js +0 -12
  136. package/portal-d6c8ce56.esm.js +0 -18
  137. package/private-1c25ff8e.esm.js +0 -25
  138. package/public-d4d8c585.esm.js +0 -16
  139. package/search-fbcd79c2.esm.js +0 -12
  140. package/sharedUtils-a550989c.esm.js +0 -17
  141. package/src/components.d.ts +0 -40
  142. package/src/generated/components.d.ts +0 -38
  143. package/src/generated/react-component-lib/attachProps.d.ts +0 -16
  144. package/src/generated/react-component-lib/case.d.ts +0 -2
  145. package/src/generated/react-component-lib/createComponent.d.ts +0 -10
  146. package/src/generated/react-component-lib/createOverlayComponent.d.ts +0 -21
  147. package/src/generated/react-component-lib/dev.d.ts +0 -2
  148. package/src/generated/react-component-lib/interfaces.d.ts +0 -29
  149. package/src/generated/react-component-lib/utils/attachProps.d.ts +0 -16
  150. package/src/generated/react-component-lib/utils/case.d.ts +0 -2
  151. package/src/generated/react-component-lib/utils/dev.d.ts +0 -2
  152. package/src/generated/react-component-lib/utils/index.d.ts +0 -10
  153. package/src/react-component-lib/attachProps.d.ts +0 -16
  154. package/src/react-component-lib/case.d.ts +0 -2
  155. package/src/react-component-lib/createComponent.d.ts +0 -10
  156. package/src/react-component-lib/createOverlayComponent.d.ts +0 -21
  157. package/src/react-component-lib/dev.d.ts +0 -2
  158. package/src/react-component-lib/interfaces.d.ts +0 -29
  159. package/src/react-component-lib/utils/attachProps.d.ts +0 -16
  160. package/src/react-component-lib/utils/case.d.ts +0 -2
  161. package/src/react-component-lib/utils/index.d.ts +0 -10
  162. package/star-0da9b5e9.esm.js +0 -5
  163. package/success-443809da.esm.js +0 -18
  164. package/svg-repository.entry.esm.js +0 -337
  165. package/thumbs-down-a18fd049.esm.js +0 -5
  166. package/thumbs-up-c19a71bc.esm.js +0 -6
  167. package/toastManager-d9eee791.esm.js +0 -34
  168. package/token-list_3.entry.esm.js +0 -385
  169. package/token-ratios.entry.esm.js +0 -49
  170. package/token-typography.entry.esm.js +0 -267
  171. package/tutotial-150ee1fd.esm.js +0 -27
  172. package/twitter-ac21b505.esm.js +0 -14
  173. package/unknown-ed01a24c.esm.js +0 -22
  174. package/up-and-down-d747abee.esm.js +0 -12
  175. package/user-71ebdc15.esm.js +0 -16
  176. package/youtube-efbfbdc4.esm.js +0 -14
  177. /package/src/generated/react-component-lib/{index.d.ts → index.ts} +0 -0
  178. /package/src/{index.d.ts → index.ts} +0 -0
  179. /package/src/react-component-lib/{index.d.ts → index.ts} +0 -0
@@ -1,778 +0,0 @@
1
- import { r as registerInstance, h } from './index.esm2.js';
2
- import 'react';
3
- import 'react/jsx-runtime';
4
- import 'react-dom';
5
-
6
- const ColorPrimaryPalette = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- // Primary palette data
10
- this.colors = [{
11
- rgb: 'R156 G225 B66',
12
- cmyk: 'C52 M0 Y98 K0',
13
- hex: '#9CE142',
14
- pantoneC: 'PANTONE 367 C',
15
- pantoneU: 'PANTONE 374 U',
16
- background: '#9CE142'
17
- }, {
18
- rgb: 'R0 G201 B89',
19
- cmyk: 'C75 M0 Y80 K0',
20
- hex: '#00C959',
21
- pantoneC: 'PANTONE 7480 C',
22
- pantoneU: 'PANTONE 7481 U',
23
- background: '#00C959'
24
- }, {
25
- rgb: 'R0 G165 B149',
26
- cmyk: 'C78 M8 Y49 K0',
27
- hex: '#00A595',
28
- pantoneC: 'PANTONE 3272 C',
29
- pantoneU: 'PANTONE 3275 U',
30
- background: '#00A595'
31
- }];
32
- }
33
- render() {
34
- return h("ul", {
35
- key: '970e6baf4b258e9a0ed194316daf1c862d17733e',
36
- class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
37
- }, this.colors.map(color => h("li", {
38
- class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
39
- }, h("div", {
40
- class: "effect-height flex items-center justify-between p-16",
41
- style: {
42
- backgroundColor: color.background
43
- }
44
- }, h("div", {
45
- class: "grid"
46
- }, h("span", {
47
- class: "f-body-02"
48
- }, color.rgb), h("span", {
49
- class: "f-body-02 w-full"
50
- }, color.cmyk), h("eds-code-block", {
51
- code: color.hex,
52
- style: {
53
- minWidth: '150px',
54
- marginRight: '5px'
55
- }
56
- })), h("div", {
57
- class: "grid"
58
- }, h("span", {
59
- class: "f-body-02"
60
- }, color.pantoneC), h("span", {
61
- class: "f-body-02"
62
- }, color.pantoneU))))));
63
- }
64
- };
65
- const ColorSecondaryPalette = class {
66
- constructor(hostRef) {
67
- registerInstance(this, hostRef);
68
- // Secondary palette data
69
- this.colors = [{
70
- rgb: 'R63 G169 B245',
71
- cmyk: 'C68 M13 Y0 K0',
72
- hex: '#3FA9F5',
73
- pantoneC: 'PANTONE 298 C',
74
- pantoneU: 'PANTONE 298 U',
75
- background: '#3FA9F5'
76
- }, {
77
- rgb: 'R6 G68 B244',
78
- cmyk: 'C92 M60 Y0 K0',
79
- hex: '#0644F4',
80
- pantoneC: 'PANTONE 2728 C',
81
- pantoneU: 'PANTONE 2935 U',
82
- background: '#0644F4'
83
- }, {
84
- rgb: 'R196 G97 B255',
85
- cmyk: 'C52 M67 Y0 K0',
86
- hex: '#C461FF',
87
- pantoneC: 'PANTONE 252 C',
88
- pantoneU: 'PANTONE 252 U',
89
- background: '#C461FF'
90
- }, {
91
- rgb: 'R93 G61 B249',
92
- cmyk: 'C83 M78 Y0 K0',
93
- hex: '#5D3DF9',
94
- pantoneC: 'PANTONE 266 C',
95
- pantoneU: 'PANTONE 2735 U',
96
- background: '#5D3DF9'
97
- }, {
98
- rgb: 'R255 G165 B67',
99
- cmyk: 'C0 M43 Y76 K0',
100
- hex: '#FFA543',
101
- pantoneC: 'PANTONE 804 C',
102
- pantoneU: 'PANTONE 136 U',
103
- background: '#FFA543'
104
- }, {
105
- rgb: 'R255 G77 B104',
106
- cmyk: 'C0 M81 Y42 K0',
107
- hex: '#FF4D68',
108
- pantoneC: 'PANTONE 1785 C',
109
- pantoneU: 'PANTONE 185 U',
110
- background: '#FF4D68'
111
- }];
112
- this.show = undefined;
113
- }
114
- render() {
115
- return h("ul", {
116
- key: '54f985b91b28ae253a06ec313872ccc81449bf51',
117
- class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
118
- }, this.colors.map(color => h("li", {
119
- class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
120
- }, h("div", {
121
- class: "effect-height flex items-center justify-between p-16",
122
- style: {
123
- backgroundColor: color.background
124
- }
125
- }, h("div", {
126
- class: "grid"
127
- }, h("span", {
128
- class: "f-body-02"
129
- }, color.rgb), h("span", {
130
- class: "f-body-02 w-full"
131
- }, color.cmyk), h("eds-code-block", {
132
- code: color.hex,
133
- style: {
134
- minWidth: '150px',
135
- marginRight: '5px'
136
- }
137
- })), h("div", {
138
- class: "grid"
139
- }, h("span", {
140
- class: "f-body-02"
141
- }, color.pantoneC), h("span", {
142
- class: "f-body-02"
143
- }, color.pantoneU))))));
144
- }
145
- };
146
- const ColorSupportPalette = class {
147
- constructor(hostRef) {
148
- registerInstance(this, hostRef);
149
- this.colors = [{
150
- rgb: 'R20 G20 B20',
151
- cmyk: 'C78 M69 Y61 K87',
152
- hex: '#141414',
153
- pantoneC: '',
154
- pantoneU: '',
155
- background: '#141414'
156
- }, {
157
- rgb: 'R56 G56 B56',
158
- cmyk: 'C68 M58 Y55 K63',
159
- hex: '#383838',
160
- pantoneC: 'PANTONE 447 C',
161
- pantoneU: 'PANTONE Neutral Black U',
162
- background: '#383838'
163
- }, {
164
- rgb: 'R204 G204 B204',
165
- cmyk: 'C23 M17 Y18 K0',
166
- hex: '#CCCCCC',
167
- pantoneC: 'PANTONE Cool Gray 2 C',
168
- pantoneU: 'PANTONE Cool Gray 2 U',
169
- background: '#CCCCCC'
170
- }, {
171
- rgb: 'R230 G230 B230',
172
- cmyk: 'C12 M8 Y9 K0',
173
- hex: '#E6E6E6',
174
- pantoneC: 'PANTONE 663 C',
175
- pantoneU: 'PANTONE 649 U',
176
- background: '#E6E6E6'
177
- }, {
178
- rgb: 'R255 G255 B255',
179
- cmyk: 'C0 M0 Y0 K0',
180
- hex: '#FFFFFF',
181
- pantoneC: '',
182
- pantoneU: '',
183
- background: '#FFFFFF'
184
- }];
185
- }
186
- getTextColor(value) {
187
- // hex branch
188
- if (value.startsWith('#')) {
189
- const hex = value.slice(1);
190
- const r = parseInt(hex.substring(0, 2), 16);
191
- const g = parseInt(hex.substring(2, 4), 16);
192
- const b = parseInt(hex.substring(4, 6), 16);
193
- const brightness = (0.299 * r + 0.587 * g + 0.114 * b) / 255;
194
- return brightness > 0.5 ? 'text-default' : 'text-inverse';
195
- }
196
- // rgb(...) branch
197
- if (/rgb/i.test(value)) {
198
- const nums = value.replace(/rgba?\(/i, '').replace(')', '').split(',').map(n => parseFloat(n.trim()));
199
- const [r, g, b] = nums;
200
- const brightness = (0.299 * r + 0.587 * g + 0.114 * b) / 255;
201
- return brightness > 0.5 ? 'text-default' : 'text-inverse';
202
- }
203
- // fallback
204
- return 'text-default';
205
- }
206
- render() {
207
- return h("ul", {
208
- key: 'cf31dbb2778735cb95f40243f557e97c15cd29f0',
209
- class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
210
- }, this.colors.map(color => {
211
- // compute once
212
- const textClass = this.getTextColor(color.background);
213
- return h("li", {
214
- class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
215
- }, h("div", {
216
- class: "effect-height flex items-center justify-between p-16",
217
- style: {
218
- backgroundColor: color.background
219
- }
220
- }, h("div", {
221
- class: "grid"
222
- }, h("span", {
223
- class: `f-body-02 ${textClass}`
224
- }, color.cmyk), h("eds-code-block", {
225
- code: color.hex,
226
- style: {
227
- minWidth: '150px',
228
- marginRight: '5px'
229
- },
230
- class: textClass
231
- })), h("div", {
232
- class: "grid"
233
- }, h("span", {
234
- class: `f-body-02 ${textClass}`
235
- }, color.pantoneC), h("span", {
236
- class: `f-body-02 ${textClass}`
237
- }, color.pantoneU))));
238
- }));
239
- }
240
- };
241
- const GradientPrimaryPalette = class {
242
- constructor(hostRef) {
243
- registerInstance(this, hostRef);
244
- // Gradient primary palette data
245
- this.colors = [{
246
- rgb: 'R156 G225 B66',
247
- cmyk: 'C52 M0 Y98 K0',
248
- hex: '#9CE142',
249
- pantoneC: 'PANTONE 367 C',
250
- pantoneU: 'PANTONE 374 U',
251
- background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
252
- }, {
253
- rgb: 'R0 G201 B89',
254
- cmyk: 'C75 M0 Y80 K0',
255
- hex: '#00C959',
256
- pantoneC: 'PANTONE 7480 C',
257
- pantoneU: 'PANTONE 7481 U',
258
- background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
259
- }, {
260
- rgb: 'R0 G165 B149',
261
- cmyk: 'C78 M8 Y49 K0',
262
- hex: '#00A595',
263
- pantoneC: 'PANTONE 3272 C',
264
- pantoneU: 'PANTONE 3275 U',
265
- background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
266
- }];
267
- }
268
- render() {
269
- return h("ul", {
270
- key: '469fc7f19a4346b7e930095c489c0e89cc58e6df',
271
- class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16",
272
- style: {
273
- background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
274
- }
275
- }, this.colors.map(color => h("li", {
276
- class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
277
- }, h("div", {
278
- class: "effect-height flex items-center justify-between p-16"
279
- }, h("div", {
280
- class: "grid"
281
- }, h("span", {
282
- class: "f-body-02"
283
- }, color.rgb), h("span", {
284
- class: "f-body-02 w-full"
285
- }, color.cmyk), h("eds-code-block", {
286
- code: color.hex,
287
- style: {
288
- minWidth: '150px',
289
- marginRight: '5px'
290
- }
291
- })), h("div", {
292
- class: "grid"
293
- }, h("span", {
294
- class: "f-body-02"
295
- }, color.pantoneC), h("span", {
296
- class: "f-body-02"
297
- }, color.pantoneU))))));
298
- }
299
- };
300
- const GradientSecondaryPalette = class {
301
- constructor(hostRef) {
302
- registerInstance(this, hostRef);
303
- // Gradient secondary palette data
304
- this.colors = [{
305
- rgb: 'R63 G169 B245',
306
- cmyk: 'C68 M13 Y0 K0',
307
- hex: '#3FA9F5',
308
- pantoneC: 'PANTONE 298 C',
309
- pantoneU: 'PANTONE 298 U',
310
- background: 'linear-gradient(to bottom, #3FA9F5, #3FA9F5)'
311
- }, {
312
- rgb: 'R6 G68 B244',
313
- cmyk: 'C92 M60 Y0 K0',
314
- hex: '#0644F4',
315
- pantoneC: 'PANTONE 2728 C',
316
- pantoneU: 'PANTONE 2935 U',
317
- background: 'linear-gradient(to bottom, #3FA9F5, #0644F4)'
318
- }, {
319
- rgb: 'R196 G97 B255',
320
- cmyk: 'C52 M67 Y0 K0',
321
- hex: '#C461FF',
322
- pantoneC: 'PANTONE 252 C',
323
- pantoneU: 'PANTONE 252 U',
324
- background: 'linear-gradient(to bottom, #C461FF, #C461FF)'
325
- }, {
326
- rgb: 'R93 G61 B249',
327
- cmyk: 'C83 M78 Y0 K0',
328
- hex: '#5D3DF9',
329
- pantoneC: 'PANTONE 266 C',
330
- pantoneU: 'PANTONE 2735 U',
331
- background: 'linear-gradient(to bottom, #C461FF, #5D3DF9)'
332
- }, {
333
- rgb: 'R255 G165 B67',
334
- cmyk: 'C0 M43 Y76 K0',
335
- hex: '#FFA543',
336
- pantoneC: 'PANTONE 804 C',
337
- pantoneU: 'PANTONE 136 U',
338
- background: 'linear-gradient(to bottom, #FFA543, #FFA543)'
339
- }, {
340
- rgb: 'R255 G77 B104',
341
- cmyk: 'C0 M81 Y42 K0',
342
- hex: '#FF4D68',
343
- pantoneC: 'PANTONE 1785 C',
344
- pantoneU: 'PANTONE 185 U',
345
- background: 'linear-gradient(to bottom, #FFA543, #FF4D68)'
346
- }];
347
- }
348
- render() {
349
- return h("div", {
350
- key: 'bcfd5c5ca5a01138d27ae5f0867998bb40d526ac'
351
- }, h("ul", {
352
- key: '6f79d13b142488f1253ba77b0a044fd8ada8d297',
353
- class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
354
- }, h("li", {
355
- key: 'e8e44a1ee3993564fc2331d0d9337a2e0ceaebc1',
356
- class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
357
- }, h("div", {
358
- key: '229940b2fe6264429fb7627c9d3aa02e18e90b5a',
359
- class: "effect-height flex items-center justify-between p-16",
360
- style: {
361
- background: this.colors[0].background
362
- }
363
- }, h("div", {
364
- key: '0cf83c147dde777efe2783d2148e780ab328c978',
365
- class: "grid"
366
- }, h("span", {
367
- key: '06f893ff45abe7c1d3cb817fe5834a5176c93f06',
368
- class: "f-body-02"
369
- }, this.colors[0].rgb), h("span", {
370
- key: '3967e17ed980810d8b35b0d2b2e754f7b2e8b3e0',
371
- class: "f-body-02 w-full"
372
- }, this.colors[0].cmyk), h("eds-code-block", {
373
- key: '2adc489cee7b3a3a67f62493fb5e125fc1e75c04',
374
- code: this.colors[0].hex,
375
- style: {
376
- minWidth: '150px',
377
- marginRight: '5px'
378
- }
379
- })), h("div", {
380
- key: 'cb27de2308afcaaaad82675c50573805e51f36f7',
381
- class: "grid"
382
- }, h("span", {
383
- key: '0655190c8a8d555ed0fec5c319ff349d9fefc4d0',
384
- class: "f-body-02"
385
- }, this.colors[0].pantoneC), h("span", {
386
- key: '2b75a99e922965547e9f86240c0db577ec0b9682',
387
- class: "f-body-02"
388
- }, this.colors[0].pantoneU))), h("div", {
389
- key: 'a8b7ef1c5309601366baffa2d3b48c6cd8893eb6',
390
- class: "effect-height flex items-center justify-between p-16",
391
- style: {
392
- background: this.colors[1].background
393
- }
394
- }, h("div", {
395
- key: 'fd01906e34a91984aa7ce6439abcf03673d70099',
396
- class: "grid"
397
- }, h("span", {
398
- key: 'd4e119028ad415d9a21988c2bf603011856bb78d',
399
- class: "f-body-02"
400
- }, this.colors[1].rgb), h("span", {
401
- key: '4ba9d26645884bc1fc75741ee40509af56a9e7ae',
402
- class: "f-body-02 w-full"
403
- }, this.colors[1].cmyk), h("eds-code-block", {
404
- key: '5be1c28b15b458fba099868b598ee513077562e0',
405
- code: this.colors[1].hex,
406
- style: {
407
- minWidth: '150px',
408
- marginRight: '5px'
409
- }
410
- })), h("div", {
411
- key: '8609b9e68f23aaec35e76b312a425c376d508892',
412
- class: "grid"
413
- }, h("span", {
414
- key: 'f5cbb2d867e1a66e8371ebd73503ac1cd208f51d',
415
- class: "f-body-02"
416
- }, this.colors[1].pantoneC), h("span", {
417
- key: 'b72b8b23c5b1e136cb1114af22f34c6222b0d0f9',
418
- class: "f-body-02"
419
- }, this.colors[1].pantoneU))))), h("eds-block-break", {
420
- key: '73e70749f132579efc19bccab4fff8b3e2d6979a'
421
- }), h("ul", {
422
- key: 'ae61acfb731129d85d3c5151ac08d676113a5971',
423
- class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
424
- }, h("li", {
425
- key: '2b59810dbc40db3dfca10a09ad524499ea87f0e9',
426
- class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
427
- }, h("div", {
428
- key: 'e66cdabf69654205b975801bbc5ff102982fba78',
429
- class: "effect-height flex items-center justify-between p-16",
430
- style: {
431
- background: this.colors[2].background
432
- }
433
- }, h("div", {
434
- key: '0f4d10150dc7694d7d4ccf59bc99a95216a00bc5',
435
- class: "grid"
436
- }, h("span", {
437
- key: '85bbcdc4ca9b1f35625c15f5e742c35599084456',
438
- class: "f-body-02"
439
- }, this.colors[2].rgb), h("span", {
440
- key: '0b5354d88e4ada3497bb20ae9138e3f23d31b5e7',
441
- class: "f-body-02 w-full"
442
- }, this.colors[2].cmyk), h("eds-code-block", {
443
- key: 'a67ca35d57d13a66fcab132565c1a246e37f42e8',
444
- code: this.colors[2].hex,
445
- style: {
446
- minWidth: '150px',
447
- marginRight: '5px'
448
- }
449
- })), h("div", {
450
- key: '41322955767caa5ce439b142ccacdcb809ebc52e',
451
- class: "grid"
452
- }, h("span", {
453
- key: 'ab06d7acd75b1065d057a4ec8cd7af93cd91bb5c',
454
- class: "f-body-02"
455
- }, this.colors[2].pantoneC), h("span", {
456
- key: 'ec63cad47f9021cfd1bed508721cc5772d037bd3',
457
- class: "f-body-02"
458
- }, this.colors[2].pantoneU))), h("div", {
459
- key: 'ce5898b0ff195f6033d28e68dfd981a1813a23a4',
460
- class: "effect-height flex items-center justify-between p-16",
461
- style: {
462
- background: this.colors[3].background
463
- }
464
- }, h("div", {
465
- key: '1126fbf08d60b5840ba76e7d838d0ebfb47a0af9',
466
- class: "grid"
467
- }, h("span", {
468
- key: 'd18fbf24fcedb41638c626991e9ef3706cd0e4f7',
469
- class: "f-body-02"
470
- }, this.colors[3].rgb), h("span", {
471
- key: '9d7d1df13ce9ab7b447d72851a2f5f3b66cf1034',
472
- class: "f-body-02 w-full"
473
- }, this.colors[3].cmyk), h("eds-code-block", {
474
- key: '5f92ba3b52a56638b7469572614d75fde23a1516',
475
- code: this.colors[3].hex,
476
- style: {
477
- minWidth: '150px',
478
- marginRight: '5px'
479
- }
480
- })), h("div", {
481
- key: '4b17671dd5d18382d80ee52b8cbce51633d78603',
482
- class: "grid"
483
- }, h("span", {
484
- key: 'cc6a59b63bcd128d5adfd70d908cecba1324a717',
485
- class: "f-body-02"
486
- }, this.colors[3].pantoneC), h("span", {
487
- key: '1cf37dab03769794f85d09d8d331306fb24e2fb3',
488
- class: "f-body-02"
489
- }, this.colors[3].pantoneU))))), h("eds-block-break", {
490
- key: '1e1888c860c39e5ac93c2dcd5ff9bf65e8c3b412'
491
- }), h("ul", {
492
- key: '46ee0e1cd0a80a6da7991ee9474e4db5841b1c52',
493
- class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
494
- }, h("li", {
495
- key: '59343e8799ddb56b0d14d3a9c43f4d43c5d82cba',
496
- class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
497
- }, h("div", {
498
- key: '5388a8eb55332a9a6d5b5fbe8bf022eb2a76d06c',
499
- class: "effect-height flex items-center justify-between p-16",
500
- style: {
501
- background: this.colors[4].background
502
- }
503
- }, h("div", {
504
- key: '0f57d835c53d5844a155c8cfb78b1b3d0d37aecd',
505
- class: "grid"
506
- }, h("span", {
507
- key: '65b91767f90901590ca0ca4d892bf4bf5ca215d2',
508
- class: "f-body-02"
509
- }, this.colors[4].rgb), h("span", {
510
- key: 'c2c46be9bee84e4ca53929dc9a0f5b87f48ad3ed',
511
- class: "f-body-02 w-full"
512
- }, this.colors[4].cmyk), h("eds-code-block", {
513
- key: 'c40e13a9f535d710cede159d555fac9bbddf7b4c',
514
- code: this.colors[4].hex,
515
- style: {
516
- minWidth: '150px',
517
- marginRight: '5px'
518
- }
519
- })), h("div", {
520
- key: '0ebf1113e44f4e2704465d286022b84ddd57c43e',
521
- class: "grid"
522
- }, h("span", {
523
- key: 'e8c7485dfe4b2d1e36eae2cb21ec624384e5c085',
524
- class: "f-body-02"
525
- }, this.colors[4].pantoneC), h("span", {
526
- key: '7d875d8c15a4f7bee7c746d9f297bd910f4cc5a6',
527
- class: "f-body-02"
528
- }, this.colors[4].pantoneU))), h("div", {
529
- key: '27777683ba91c02274fd691b09a43c836e24aca3',
530
- class: "effect-height flex items-center justify-between p-16",
531
- style: {
532
- background: this.colors[5].background
533
- }
534
- }, h("div", {
535
- key: '4f9b082b9e6c5d679801446fa5a7b88d18b40147',
536
- class: "grid"
537
- }, h("span", {
538
- key: '6afd59aafb0f1b793a8f989f7d201a922951dacd',
539
- class: "f-body-02"
540
- }, this.colors[5].rgb), h("span", {
541
- key: '2114f91de062deba17e69d9bff77670107ed3f91',
542
- class: "f-body-02 w-full"
543
- }, this.colors[5].cmyk), h("eds-code-block", {
544
- key: '08f8b3155d932eed5b05f4dbfc0e3c6e23aa02b5',
545
- code: this.colors[5].hex,
546
- style: {
547
- minWidth: '150px',
548
- marginRight: '5px'
549
- }
550
- })), h("div", {
551
- key: '5459b32225dbf86021dd6a95e84b73bf14a74fe8',
552
- class: "grid"
553
- }, h("span", {
554
- key: 'bedfeaa4250c3bf74f267d50aecc0df93fbf21ad',
555
- class: "f-body-02"
556
- }, this.colors[5].pantoneC), h("span", {
557
- key: '8cc7a7a1abef3dcccad63c600692bffa5df89837',
558
- class: "f-body-02"
559
- }, this.colors[5].pantoneU))))));
560
- }
561
- };
562
- const GradientSupportPalette = class {
563
- constructor(hostRef) {
564
- registerInstance(this, hostRef);
565
- // Gradient support palette data
566
- this.colors = [{
567
- rgb: 'R20 G20 B20',
568
- cmyk: 'C78 M69 Y61 K87',
569
- hex: '#141414',
570
- pantoneC: '',
571
- pantoneU: '',
572
- background: '#141414'
573
- }, {
574
- rgb: 'R56 G56 B56',
575
- cmyk: 'C68 M58 Y55 K63',
576
- hex: '#383838',
577
- pantoneC: 'PANTONE 447 C',
578
- pantoneU: 'PANTONE Neutral Black U',
579
- background: '#383838'
580
- }, {
581
- rgb: 'R204 G204 B204',
582
- cmyk: 'C23 M17 Y18 K0',
583
- hex: '#CCCCCC',
584
- pantoneC: 'PANTONE Cool Gray 2 C',
585
- pantoneU: 'PANTONE Cool Gray 2 U',
586
- background: 'linear-gradient(to bottom, #CCCCCC, #CCCCCC)'
587
- }, {
588
- rgb: 'R230 G230 B230',
589
- cmyk: 'C12 M8 Y9 K0',
590
- hex: '#E6E6E6',
591
- pantoneC: 'PANTONE 663 C',
592
- pantoneU: 'PANTONE 649 U',
593
- background: 'linear-gradient(to bottom, #CCCCCC, #E6E6E6)'
594
- }, {
595
- rgb: 'R255 G255 B255',
596
- cmyk: 'C0 M0 Y0 K0',
597
- hex: '#FFFFFF',
598
- pantoneC: '',
599
- pantoneU: '',
600
- background: '#FFFFFF'
601
- }];
602
- }
603
- render() {
604
- return h("ul", {
605
- key: 'd965ec67f29697480e0b7a6fea0743d946476153',
606
- class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
607
- }, h("li", {
608
- key: '7ae7f96aa9b3ce2a8d1fbc018b652a83e4f41e90',
609
- class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
610
- }, h("div", {
611
- key: '604c51b26cc5eec60e2e0125cda0cb60c82282f0',
612
- class: "effect-height flex items-center justify-between p-16",
613
- style: {
614
- backgroundColor: this.colors[0].background
615
- }
616
- }, h("div", {
617
- key: '083d7aa003c99b54dc0c62c5ba1603c2a2a75c0a',
618
- class: "grid"
619
- }, h("span", {
620
- key: '4bc89f70e22217fa58f1db0586a8d5ee0db8bdae',
621
- class: "f-body-02"
622
- }, this.colors[0].rgb), h("span", {
623
- key: 'd8e1bb4f6ce3e173e31685fc4435be29d9eac4a4',
624
- class: "f-body-02 w-full"
625
- }, this.colors[0].cmyk), h("eds-code-block", {
626
- key: 'e370e6ea2808161625aea5e9b1e6e4dd9d137f33',
627
- code: this.colors[0].hex,
628
- style: {
629
- minWidth: '150px',
630
- marginRight: '5px'
631
- }
632
- })), h("div", {
633
- key: '6caf8c42e6296081a3daaca0e52c2a2776d1ab46',
634
- class: "grid"
635
- }, h("span", {
636
- key: '48ac4de4d194ae630a8a14df56ff2670f2f37092',
637
- class: "f-body-02"
638
- }, this.colors[0].pantoneC || 'N/A'), h("span", {
639
- key: 'fd02781c816a152d92c1579dc9a3115eadb0690e',
640
- class: "f-body-02"
641
- }, this.colors[0].pantoneU || 'N/A')))), h("li", {
642
- key: 'a8562d9fb6ff77fcc6b31952a2ead12f3e0e9b50',
643
- class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
644
- }, h("div", {
645
- key: '4578880af1de315101deb5b42c91769dc2ca7437',
646
- class: "effect-height flex items-center justify-between p-16",
647
- style: {
648
- backgroundColor: this.colors[1].background
649
- }
650
- }, h("div", {
651
- key: 'ed304eb3c8c3ccb769db7d769872ce075261cb17',
652
- class: "grid"
653
- }, h("span", {
654
- key: '956fe1115a5c1c4f6d2503737a46f0f1cbdc8e06',
655
- class: "f-body-02"
656
- }, this.colors[1].rgb), h("span", {
657
- key: '6beb1017eec40dd27351fda2ec1609987d46fb05',
658
- class: "f-body-02 w-full"
659
- }, this.colors[1].cmyk), h("eds-code-block", {
660
- key: 'a9319b683d13670c827b3444484d5469142ef76d',
661
- code: this.colors[1].hex,
662
- style: {
663
- minWidth: '150px',
664
- marginRight: '5px'
665
- }
666
- })), h("div", {
667
- key: '1d4f1a48a18aee0a90dd04fb336352042014ce29',
668
- class: "grid"
669
- }, h("span", {
670
- key: 'f4b7df5e0cde451a5e650e11b9805cc5be0c9fec',
671
- class: "f-body-02"
672
- }, this.colors[1].pantoneC || 'N/A'), h("span", {
673
- key: '26d4869a2207e1386f72d2833aaf819c15006c34',
674
- class: "f-body-02"
675
- }, this.colors[1].pantoneU || 'N/A')))), h("li", {
676
- key: 'ed2b1465825e249bff9f5df38649b331f19e0672',
677
- class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
678
- }, h("div", {
679
- key: '22182a6d9bb64ab5dcbc38e359c3a7d7f79f3090',
680
- class: "effect-height flex items-center justify-between p-16",
681
- style: {
682
- background: this.colors[2].background
683
- }
684
- }, h("div", {
685
- key: '28e2e772e7d12fbfdebec31f0aff6db397140132',
686
- class: "grid"
687
- }, h("span", {
688
- key: '872451c9846398641f1a592e8c166a6a51ee7298',
689
- class: "f-body-02"
690
- }, this.colors[2].rgb), h("span", {
691
- key: '84e28be1191f264e126c8579e26cbe6966010b4d',
692
- class: "f-body-02 w-full"
693
- }, this.colors[2].cmyk), h("eds-code-block", {
694
- key: 'a4c3dc76652feefaf3a9eba5bb3694b8dbf96be8',
695
- code: this.colors[2].hex,
696
- style: {
697
- minWidth: '150px',
698
- marginRight: '5px'
699
- }
700
- })), h("div", {
701
- key: 'ff3a6599da869d3f9e85cb94481206e7e6331988',
702
- class: "grid"
703
- }, h("span", {
704
- key: '37ef90488eb673fdac1221f7123daa87a5a75fcd',
705
- class: "f-body-02"
706
- }, this.colors[2].pantoneC), h("span", {
707
- key: '0a6fbb96f982a3e7c12af3787520335878faa9fe',
708
- class: "f-body-02"
709
- }, this.colors[2].pantoneU))), h("div", {
710
- key: 'b59aeb053ab1145e0d3bc163f4650cdf30afe7d4',
711
- class: "effect-height flex items-center justify-between p-16",
712
- style: {
713
- background: this.colors[3].background
714
- }
715
- }, h("div", {
716
- key: 'af020f1a66c2d0afcb2e2bdf189569e6d897ef32',
717
- class: "grid"
718
- }, h("span", {
719
- key: '3b2f895dccdeb5e2fb5aa505f19514f012d24426',
720
- class: "f-body-02"
721
- }, this.colors[3].rgb), h("span", {
722
- key: '9836a6ef47ed0dc8767a590212a23bfca2f74adf',
723
- class: "f-body-02 w-full"
724
- }, this.colors[3].cmyk), h("eds-code-block", {
725
- key: '3b274f716c6ca1381e4cc0136d18e167290bfa74',
726
- code: this.colors[3].hex,
727
- style: {
728
- minWidth: '150px',
729
- marginRight: '5px'
730
- }
731
- })), h("div", {
732
- key: 'a41592e2172dc9f81e9d2f36328ff88de3f0954e',
733
- class: "grid"
734
- }, h("span", {
735
- key: 'fd7a06a256d3513bcf239fe9f778f3589895b9d5',
736
- class: "f-body-02"
737
- }, this.colors[3].pantoneC), h("span", {
738
- key: '991f38ea137b729c9e9e6c9e0031940151f6e9dc',
739
- class: "f-body-02"
740
- }, this.colors[3].pantoneU)))), h("li", {
741
- key: '8efdd7d9f93cba4b9479e1d3face7cec94cf1af6',
742
- class: "grid-col-span-12 md:grid-col-span-6 flex flex-col"
743
- }, h("div", {
744
- key: '4223ec29cac4313dc261cb472bd880ae00279657',
745
- class: "effect-height flex items-center justify-between p-16",
746
- style: {
747
- backgroundColor: this.colors[4].background
748
- }
749
- }, h("div", {
750
- key: '227dd5fab1add4083271b6e7f95c7d575d91252e',
751
- class: "grid"
752
- }, h("span", {
753
- key: 'e5b1aab8d67f7c67f231acd4156768f146320be3',
754
- class: "f-body-02"
755
- }, this.colors[4].rgb), h("span", {
756
- key: 'fc4712e37494e8e30a48bc77a0ca61c94e24075d',
757
- class: "f-body-02 w-full"
758
- }, this.colors[4].cmyk), h("eds-code-block", {
759
- key: 'a429c519e42e242d8ce8f661a513f7b5327ffce7',
760
- code: this.colors[4].hex,
761
- style: {
762
- minWidth: '150px',
763
- marginRight: '5px'
764
- }
765
- })), h("div", {
766
- key: '84f30a1620cacadf8c0bf1382333d74772f81f27',
767
- class: "grid"
768
- }, h("span", {
769
- key: '2b6dfc8e87517e4d0421ef0e5c2391a07f033600',
770
- class: "f-body-02"
771
- }, this.colors[4].pantoneC || 'N/A'), h("span", {
772
- key: 'c4cd5bc061ce4163a170568c0ed5934c7f30d75f',
773
- class: "f-body-02"
774
- }, this.colors[4].pantoneU || 'N/A')))));
775
- }
776
- };
777
-
778
- export { ColorPrimaryPalette as color_primary_palette, ColorSecondaryPalette as color_secondary_palette, ColorSupportPalette as color_support_palette, GradientPrimaryPalette as gradient_primary_palette, GradientSecondaryPalette as gradient_secondary_palette, GradientSupportPalette as gradient_support_palette };