@ebrains/react 0.6.0-alpha.0 → 0.7.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/color-primary-palette_6.entry.esm.js +106 -106
- package/correct-use-of-colors.entry.esm.js +33 -33
- package/eds-accordion_22.entry.esm.js +269 -0
- package/eds-app-root.entry.esm.js +53 -0
- package/eds-avatar_4.entry.esm.js +185 -0
- package/eds-breadcrumb.entry.esm.js +4 -15
- package/eds-card-generic.entry.esm.js +114 -0
- package/eds-card-section.entry.esm.js +56 -0
- package/eds-components-section.entry.esm.js +1 -1
- package/eds-cookies-preference.entry.esm.js +2 -2
- package/eds-docs-palettes.entry.esm.js +1 -1
- package/eds-docs-tokens.entry.esm.js +1 -1
- package/{eds-dropdown_2.entry.esm.js → eds-dropdown.entry.esm.js} +19 -98
- package/eds-feedback.entry.esm.js +82 -0
- package/eds-form.entry.esm.js +253 -253
- package/eds-frame.entry.esm.js +34 -33
- package/eds-icon-arrow-diagonal.entry.esm.js +1 -1
- package/eds-icon-arrow-right.entry.esm.js +1 -1
- package/eds-icon-bluesky.entry.esm.js +1 -1
- package/eds-icon-chevron-down.entry.esm.js +1 -1
- package/eds-icon-chevron-left.entry.esm.js +1 -1
- package/eds-icon-chevron-right.entry.esm.js +1 -1
- package/eds-icon-chevron-up.entry.esm.js +1 -1
- package/eds-icon-close.entry.esm.js +1 -1
- package/eds-icon-copy.entry.esm.js +1 -1
- package/eds-icon-eu.entry.esm.js +1 -1
- package/eds-icon-facebook.entry.esm.js +1 -1
- package/eds-icon-gitlab.entry.esm.js +1 -1
- package/eds-icon-linkedin.entry.esm.js +1 -1
- package/eds-icon-loader.entry.esm.js +1 -1
- package/eds-icon-mastodon.entry.esm.js +1 -1
- package/eds-icon-menu.entry.esm.js +1 -1
- package/eds-icon-more.entry.esm.js +1 -1
- package/eds-icon-search.entry.esm.js +1 -1
- package/eds-icon-star.entry.esm.js +21 -0
- package/eds-icon-success.entry.esm.js +1 -1
- package/eds-icon-thumbs-down.entry.esm.js +21 -0
- package/eds-icon-thumbs-up.entry.esm.js +21 -0
- package/eds-icon-twitter.entry.esm.js +1 -1
- package/eds-icon-user.entry.esm.js +1 -1
- package/eds-icon-youtube.entry.esm.js +1 -1
- package/{keycloak-d502ec16.esm.js → eds-login_2.entry.esm.js} +172 -1
- package/eds-logo-variations.entry.esm.js +1 -1
- package/eds-modal.entry.esm.js +22 -9
- package/eds-progress-bar.entry.esm.js +2 -2
- package/eds-rating.entry.esm.js +37 -37
- package/eds-section-core_2.entry.esm.js +5 -5
- package/eds-spinner.entry.esm.js +67 -0
- package/eds-steps.entry.esm.js +8 -17
- package/eds-svg-repository.entry.esm.js +8 -2
- package/eds-switch.entry.esm.js +5 -5
- package/eds-tabs.entry.esm.js +14 -26
- package/eds-timeline.entry.esm.js +6 -23
- package/eds-toast-manager.entry.esm.js +62 -0
- package/eds-toast.entry.esm.js +92 -0
- package/eds-tooltip.entry.esm.js +3 -3
- package/eds-trl.entry.esm.js +2 -2
- package/eds-user.entry.esm.js +64 -87
- package/eds-vertical-stepper.entry.esm.js +5 -5
- package/formUtils-ac68474d.esm.js +247 -0
- package/incorrect-use-of-colors.entry.esm.js +7 -7
- package/index.esm.js +1 -1
- package/index.esm2.js +46 -46
- package/logo-space.entry.esm.js +4 -4
- package/logo-variations-horizontal_2.entry.esm.js +26 -26
- package/logo-wrong-usage.entry.esm.js +37 -37
- package/package.json +1 -1
- package/sharedUtils-a550989c.esm.js +17 -0
- package/src/components.d.ts +4 -1
- package/star-0da9b5e9.esm.js +5 -0
- package/thumbs-down-a18fd049.esm.js +5 -0
- package/thumbs-up-c19a71bc.esm.js +6 -0
- package/token-list_3.entry.esm.js +5 -5
- package/token-ratios.entry.esm.js +3 -3
- package/token-spacing.entry.esm.js +26 -26
- package/token-typography.entry.esm.js +2 -2
- package/eds-accordion_13.entry.esm.js +0 -1064
- package/eds-block-break.entry.esm.js +0 -22
- package/eds-footer.entry.esm.js +0 -102
- package/eds-fullscreen-menu.entry.esm.js +0 -143
- package/eds-header.entry.esm.js +0 -130
- package/eds-input_7.entry.esm.js +0 -529
- package/eds-link.entry.esm.js +0 -204
- package/eds-login.entry.esm.js +0 -97
- package/eds-logo.entry.esm.js +0 -87
- package/eds-navigator.entry.esm.js +0 -72
- package/eds-pagination_2.entry.esm.js +0 -472
- package/eds-social-networks.entry.esm.js +0 -74
- package/eds-tab.entry.esm.js +0 -41
- package/eds-tabs-content.entry.esm.js +0 -145
|
@@ -11,44 +11,44 @@ const LogoVariationsHorizontal = class {
|
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
13
|
return h("div", {
|
|
14
|
-
key: '
|
|
14
|
+
key: '5eca7ecd4f36c805e14973af64b20867b0354eba'
|
|
15
15
|
}, h("div", {
|
|
16
|
-
key: '
|
|
16
|
+
key: '3896fcc0a5a184de969d521132bcac78f9372654',
|
|
17
17
|
class: "container my-16"
|
|
18
18
|
}, h("h3", {
|
|
19
|
-
key: '
|
|
19
|
+
key: '714d83271de13b290885b365ca911ea202aab604',
|
|
20
20
|
class: "f-heading03"
|
|
21
21
|
}, "Coloured Background"), h("div", {
|
|
22
|
-
key: '
|
|
22
|
+
key: 'c80218b00edd13614c82e41f26316efbfd8e8b4e',
|
|
23
23
|
class: "coloured lg:w-[500px] md:w-[300px]"
|
|
24
24
|
}, h("eds-logo", {
|
|
25
|
-
key: '
|
|
25
|
+
key: '406c7fab328969d4fa7663acda6771d8c447807b',
|
|
26
26
|
type: "no-bg",
|
|
27
27
|
href: "#"
|
|
28
28
|
}))), h("div", {
|
|
29
|
-
key: '
|
|
29
|
+
key: '2788972ad7f53db9f2a8ab23a458055e28c657fb',
|
|
30
30
|
class: "container my-16"
|
|
31
31
|
}, h("h3", {
|
|
32
|
-
key: '
|
|
32
|
+
key: '1abeb7a38b87517f9fa4bed9e047dfbf3ea84aa8',
|
|
33
33
|
class: "f-heading03"
|
|
34
34
|
}, "Black and White Background"), h("div", {
|
|
35
|
-
key: '
|
|
35
|
+
key: 'af8a7938a847e36d577dea7120e97dd9cf1b4343',
|
|
36
36
|
class: "bg-default lg:w-[500px] md:w-[300px]"
|
|
37
37
|
}, h("eds-logo", {
|
|
38
|
-
key: '
|
|
38
|
+
key: 'b8dbc675fc435a322f1b93ab14224df17ccac7d0',
|
|
39
39
|
type: "black",
|
|
40
40
|
href: "#"
|
|
41
41
|
}))), h("div", {
|
|
42
|
-
key: '
|
|
42
|
+
key: 'e4068eb7d86e04c6ac3da79ef44fbc577083ecee',
|
|
43
43
|
class: "container my-16"
|
|
44
44
|
}, h("h3", {
|
|
45
|
-
key: '
|
|
45
|
+
key: '44ffa680543f41764c478e43828c86116d3dc059',
|
|
46
46
|
class: "f-heading03"
|
|
47
47
|
}, "Dark Background "), h("div", {
|
|
48
|
-
key: '
|
|
48
|
+
key: 'ae0c8d9dc9f563af9b756f9112847bae88d82f2f',
|
|
49
49
|
class: "lg:w-[500px] md:w-[300px]"
|
|
50
50
|
}, h("eds-logo", {
|
|
51
|
-
key: '
|
|
51
|
+
key: '5f8d4e32308c9c7e9f285a39b9cbaf6cf4104ed6',
|
|
52
52
|
type: "color-white",
|
|
53
53
|
href: "#"
|
|
54
54
|
}))));
|
|
@@ -65,46 +65,46 @@ const LogoVariationsVertical = class {
|
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
67
|
return h("div", {
|
|
68
|
-
key: '
|
|
68
|
+
key: '82d99f40e7360943ca9a2df59dc8a9db4a22a83b'
|
|
69
69
|
}, h("div", {
|
|
70
|
-
key: '
|
|
70
|
+
key: '27ed1ecf7a6a161244c3b2d1c01bc5196e15caac',
|
|
71
71
|
class: "container my-16"
|
|
72
72
|
}, h("h3", {
|
|
73
|
-
key: '
|
|
73
|
+
key: '62363c39920cefe5086a934f36dbc9a684f3984b',
|
|
74
74
|
class: "f-heading03"
|
|
75
75
|
}, "Coloured Background"), h("div", {
|
|
76
|
-
key: '
|
|
76
|
+
key: '8577199e6f5b9c6f97afc31620513805d06e94c6',
|
|
77
77
|
class: "coloured w-[200px]"
|
|
78
78
|
}, h("eds-logo", {
|
|
79
|
-
key: '
|
|
79
|
+
key: 'd627ea9deef5766a160e1b97f129e2b0000b1b62',
|
|
80
80
|
orientation: "vertical",
|
|
81
81
|
type: "no-bg",
|
|
82
82
|
href: "#"
|
|
83
83
|
}))), h("div", {
|
|
84
|
-
key: '
|
|
84
|
+
key: '8d7565fa14e8eabd6e44295b530600ba20c24820',
|
|
85
85
|
class: "container my-16"
|
|
86
86
|
}, h("h3", {
|
|
87
|
-
key: '
|
|
87
|
+
key: 'f071d16ed3f22bb58401c493594b8d919f9a5698',
|
|
88
88
|
class: "f-heading03"
|
|
89
89
|
}, "Black and White Background"), h("div", {
|
|
90
|
-
key: '
|
|
90
|
+
key: 'bd6abebec1b49aed0dcf5cdafda0790b137b6b3d',
|
|
91
91
|
class: "bg-default w-[200px]"
|
|
92
92
|
}, h("eds-logo", {
|
|
93
|
-
key: '
|
|
93
|
+
key: 'be68411a8d9e75e0c78d440635631af2f449e4cf',
|
|
94
94
|
orientation: "vertical",
|
|
95
95
|
type: "black",
|
|
96
96
|
href: "#"
|
|
97
97
|
}))), h("div", {
|
|
98
|
-
key: '
|
|
98
|
+
key: '2cd4a5fb78b387bfebefeb57880d308b9e3cf96b',
|
|
99
99
|
class: "container my-16"
|
|
100
100
|
}, h("h3", {
|
|
101
|
-
key: '
|
|
101
|
+
key: 'f74c7d823aae3ed352db73ec288b32110db9867a',
|
|
102
102
|
class: "f-heading03"
|
|
103
103
|
}, "Dark Background "), h("div", {
|
|
104
|
-
key: '
|
|
104
|
+
key: '1a47847d582e18ca35a6b3cf76bd1e21f1dbfac2',
|
|
105
105
|
class: "w-[200px]"
|
|
106
106
|
}, h("eds-logo", {
|
|
107
|
-
key: '
|
|
107
|
+
key: 'b35710d4795dd179a9dc0c007a2a477be3891984',
|
|
108
108
|
orientation: "vertical",
|
|
109
109
|
type: "color-white",
|
|
110
110
|
href: "#"
|
|
@@ -12,122 +12,122 @@ const LogoWrongUsage = class {
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
return h("ul", {
|
|
15
|
-
key: '
|
|
15
|
+
key: 'bc42810801b7692a7cce35d1b3d44ae70bf79db7',
|
|
16
16
|
class: "container grid-layout gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
17
17
|
}, h("span", {
|
|
18
|
-
key: '
|
|
18
|
+
key: '5961e3d0148ddfdb9d77c72c5cb8dd6733cdbc1c',
|
|
19
19
|
class: `grid-col-span-12 md:grid-col-span-4 flex flex-col`
|
|
20
20
|
}, h("div", {
|
|
21
|
-
key: '
|
|
21
|
+
key: 'fe06a82d62bb7bedc6880991c45c099c1e4f913e',
|
|
22
22
|
class: "example"
|
|
23
23
|
}, h("div", {
|
|
24
|
-
key: '
|
|
24
|
+
key: '3f851373000c1b0cb1ecf0c42add9eef09d7e969',
|
|
25
25
|
class: "bg-dark "
|
|
26
26
|
}, h("div", {
|
|
27
|
-
key: '
|
|
27
|
+
key: '2cdcc5b3419e5a9bdfde2c6ebeeafe482b060808',
|
|
28
28
|
class: "no-other-bg-color logo",
|
|
29
29
|
innerHTML: hLogoColor
|
|
30
30
|
})), h("p", {
|
|
31
|
-
key: '
|
|
31
|
+
key: '027a7e9000a7b0e18697e1add62fb52bc340e56d',
|
|
32
32
|
class: "f-ui-02"
|
|
33
33
|
}, "Do not use with backgrounds that make legibility difficult"))), h("span", {
|
|
34
|
-
key: '
|
|
34
|
+
key: '37821295b19c46c6bd23f75ff090f42513f2c52a',
|
|
35
35
|
class: `grid-col-span-12 md:grid-col-span-4 flex flex-col`
|
|
36
36
|
}, h("div", {
|
|
37
|
-
key: '
|
|
37
|
+
key: '7f4fb4c6e94d1cfa0080bf4716d386a64cc588a6',
|
|
38
38
|
class: "example"
|
|
39
39
|
}, h("div", {
|
|
40
|
-
key: '
|
|
40
|
+
key: '9b580db406baa9ab882042693238d96db83099b1',
|
|
41
41
|
class: "no-other-color p-16"
|
|
42
42
|
}, h("div", {
|
|
43
|
-
key: '
|
|
43
|
+
key: '6c1b3d0668acae7f1542fddbd83444c187f8f447',
|
|
44
44
|
class: "logo non-brand-color",
|
|
45
45
|
innerHTML: hLogoColor
|
|
46
46
|
})), h("p", {
|
|
47
|
-
key: '
|
|
47
|
+
key: '644fb68b648f330c80ff295f9a4d74924b44e5dd',
|
|
48
48
|
class: "f-ui-02"
|
|
49
49
|
}, "Do not apply other colors"))), h("span", {
|
|
50
|
-
key: '
|
|
50
|
+
key: '651a9bf67507fdfe1289d1afaced18bdc739313c',
|
|
51
51
|
class: `grid-col-span-12 md:grid-col-span-4 flex flex-col`
|
|
52
52
|
}, h("div", {
|
|
53
|
-
key: '
|
|
53
|
+
key: '211ca59ce2d0760a752fa2fd087a43e9b61bdd9b',
|
|
54
54
|
class: "example"
|
|
55
55
|
}, h("div", {
|
|
56
|
-
key: '
|
|
56
|
+
key: '526628247fe9587785c79bef6e16630a988a2af9',
|
|
57
57
|
class: "bg-light p-16"
|
|
58
58
|
}, h("div", {
|
|
59
|
-
key: '
|
|
59
|
+
key: 'fd9b59d40e805902bd628a04525d27fcbe6d99b1',
|
|
60
60
|
class: "logo distorted",
|
|
61
61
|
innerHTML: hLogoColor
|
|
62
62
|
})), h("p", {
|
|
63
|
-
key: '
|
|
63
|
+
key: '97e0a604d08be01ac7956fe284f2325a680496d2',
|
|
64
64
|
class: "f-ui-02"
|
|
65
65
|
}, "Do not deform the logo"))), h("span", {
|
|
66
|
-
key: '
|
|
66
|
+
key: '23cf6c4f70ededbfd3347f31adc749e4e411c5b2',
|
|
67
67
|
class: `grid-col-span-12 md:grid-col-span-4 flex flex-col`
|
|
68
68
|
}, h("div", {
|
|
69
|
-
key: '
|
|
69
|
+
key: '5d1702074e065740261bb7a86ce18139c2336dd6',
|
|
70
70
|
class: "example"
|
|
71
71
|
}, h("div", {
|
|
72
|
-
key: '
|
|
72
|
+
key: '1b0fcc5f673339bf8ac84ed317ba4c214f5f2618',
|
|
73
73
|
class: "bg-white p-16"
|
|
74
74
|
}, h("div", {
|
|
75
|
-
key: '
|
|
75
|
+
key: '708f276b908ee858a634034a0a9d025fe3f0515d',
|
|
76
76
|
class: "logo effects",
|
|
77
77
|
innerHTML: hLogoColor
|
|
78
78
|
})), h("p", {
|
|
79
|
-
key: '
|
|
79
|
+
key: 'cb99b28a2154bf90565480386d8b3b67de0b76bb',
|
|
80
80
|
class: "f-ui-02"
|
|
81
81
|
}, "Do not apply effects"))), h("span", {
|
|
82
|
-
key: '
|
|
82
|
+
key: '96f8a61f549c8e83f8a81bfba629a40eb26716a9',
|
|
83
83
|
class: `grid-col-span-12 md:grid-col-span-4 flex flex-col`
|
|
84
84
|
}, h("div", {
|
|
85
|
-
key: '
|
|
85
|
+
key: 'd1cf64b340f6551e4f4a8189c355a22e95d8b3c9',
|
|
86
86
|
class: "example"
|
|
87
87
|
}, h("div", {
|
|
88
|
-
key: '
|
|
88
|
+
key: '264fc7c03ad4b17a9631d7ede8714f4e91aec931',
|
|
89
89
|
class: "bg-white p-16"
|
|
90
90
|
}, h("div", {
|
|
91
|
-
key: '
|
|
91
|
+
key: 'a39c949f0b7494bfc08d689e21f84303fd9f9327',
|
|
92
92
|
class: "logo rotated",
|
|
93
93
|
innerHTML: hLogoColor
|
|
94
94
|
})), h("p", {
|
|
95
|
-
key: '
|
|
95
|
+
key: 'e1b264ef7f8b68fd0dd0f9271d26db65c355497b',
|
|
96
96
|
class: "f-ui-02"
|
|
97
97
|
}, "Do not rotate the logo"))), h("span", {
|
|
98
|
-
key: '
|
|
98
|
+
key: '3dada86d19486aefe9970a5555caa14e2abaad8f',
|
|
99
99
|
class: `grid-col-span-12 md:grid-col-span-4 flex flex-col`
|
|
100
100
|
}, h("div", {
|
|
101
|
-
key: '
|
|
101
|
+
key: '973e204cb94bda151712b413f38e5a03df46ffdf',
|
|
102
102
|
class: "example"
|
|
103
103
|
}, h("div", {
|
|
104
|
-
key: '
|
|
104
|
+
key: 'cc9f9d40a9736663c426a9bea6e3060a847a9be5',
|
|
105
105
|
class: "bg-light p-16"
|
|
106
106
|
}, h("div", {
|
|
107
|
-
key: '
|
|
107
|
+
key: '60bde7eea395d1454e2f9a47535b92752430043f',
|
|
108
108
|
class: "logo outlined",
|
|
109
109
|
innerHTML: hLogoColor
|
|
110
110
|
})), h("p", {
|
|
111
|
-
key: '
|
|
111
|
+
key: '9469d10927d103ceb37b8b192ac220d53db06196',
|
|
112
112
|
class: "f-ui-02"
|
|
113
113
|
}, "Do not apply outlines"))), h("span", {
|
|
114
|
-
key: '
|
|
114
|
+
key: 'a4cdf1201a61559fed04eef9c20511a242ba0306',
|
|
115
115
|
class: `grid-col-span-12 md:grid-col-span-4 flex flex-col`
|
|
116
116
|
}), h("span", {
|
|
117
|
-
key: '
|
|
117
|
+
key: '6fbc736e477be9d0952053abc687e9b08dcba324',
|
|
118
118
|
class: `grid-col-span-12 md:grid-col-span-4 flex flex-col`
|
|
119
119
|
}, h("div", {
|
|
120
|
-
key: '
|
|
120
|
+
key: 'ae655c9985d173716e6c0ff62683efa887998910',
|
|
121
121
|
class: "example"
|
|
122
122
|
}, h("div", {
|
|
123
|
-
key: '
|
|
123
|
+
key: 'd1597bb34428986cf534ec74cedfa5656b6fe1c8',
|
|
124
124
|
class: "bg-accent p-16"
|
|
125
125
|
}, h("div", {
|
|
126
|
-
key: '
|
|
126
|
+
key: 'ed43780afc9ae3e9f85c8168f1182be9a29b36ce',
|
|
127
127
|
class: "text-inverse",
|
|
128
128
|
innerHTML: hLogoColor
|
|
129
129
|
})), h("p", {
|
|
130
|
-
key: '
|
|
130
|
+
key: '1232c6e2018bfc9cb6fc39d076049ce9cd949775',
|
|
131
131
|
class: "f-ui-02"
|
|
132
132
|
}, "Do not use the green background for the logo version of the logo with backgrounds with the same tones"))));
|
|
133
133
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
function parseData(input) {
|
|
2
|
+
if (typeof input === 'string') {
|
|
3
|
+
try {
|
|
4
|
+
const parsed = JSON.parse(input);
|
|
5
|
+
return Array.isArray(parsed) ? parsed : [];
|
|
6
|
+
} catch (e) {
|
|
7
|
+
// eslint-disable-next-line
|
|
8
|
+
console.error('Error parsing data:', e);
|
|
9
|
+
return [];
|
|
10
|
+
}
|
|
11
|
+
} else if (Array.isArray(input)) {
|
|
12
|
+
return input;
|
|
13
|
+
}
|
|
14
|
+
return [];
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { parseData as p };
|
package/src/components.d.ts
CHANGED
|
@@ -10,8 +10,10 @@ export declare const EdsCardGeneric: import("react").ForwardRefExoticComponent<J
|
|
|
10
10
|
export declare const EdsCardSection: import("react").ForwardRefExoticComponent<JSX.EdsCardSection & Omit<import("react").HTMLAttributes<HTMLEdsCardSectionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsCardSectionElement>>;
|
|
11
11
|
export declare const EdsCodeBlock: import("react").ForwardRefExoticComponent<JSX.EdsCodeBlock & Omit<import("react").HTMLAttributes<HTMLEdsCodeBlockElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsCodeBlockElement>>;
|
|
12
12
|
export declare const EdsDropdown: import("react").ForwardRefExoticComponent<JSX.EdsDropdown & Omit<import("react").HTMLAttributes<HTMLEdsDropdownElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsDropdownElement>>;
|
|
13
|
+
export declare const EdsFeedback: import("react").ForwardRefExoticComponent<JSX.EdsFeedback & Omit<import("react").HTMLAttributes<HTMLEdsFeedbackElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsFeedbackElement>>;
|
|
13
14
|
export declare const EdsFooter: import("react").ForwardRefExoticComponent<JSX.EdsFooter & Omit<import("react").HTMLAttributes<HTMLEdsFooterElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsFooterElement>>;
|
|
14
15
|
export declare const EdsForm: import("react").ForwardRefExoticComponent<JSX.EdsForm & Omit<import("react").HTMLAttributes<HTMLEdsFormElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsFormElement>>;
|
|
16
|
+
export declare const EdsFormV2: import("react").ForwardRefExoticComponent<JSX.EdsFormV2 & Omit<import("react").HTMLAttributes<HTMLEdsFormV2Element>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsFormV2Element>>;
|
|
15
17
|
export declare const EdsFrame: import("react").ForwardRefExoticComponent<JSX.EdsFrame & Omit<import("react").HTMLAttributes<HTMLEdsFrameElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsFrameElement>>;
|
|
16
18
|
export declare const EdsFullscreenMenu: import("react").ForwardRefExoticComponent<JSX.EdsFullscreenMenu & Omit<import("react").HTMLAttributes<HTMLEdsFullscreenMenuElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsFullscreenMenuElement>>;
|
|
17
19
|
export declare const EdsHeader: import("react").ForwardRefExoticComponent<JSX.EdsHeader & Omit<import("react").HTMLAttributes<HTMLEdsHeaderElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsHeaderElement>>;
|
|
@@ -29,6 +31,8 @@ export declare const EdsRating: import("react").ForwardRefExoticComponent<JSX.Ed
|
|
|
29
31
|
export declare const EdsSectionCore: import("react").ForwardRefExoticComponent<JSX.EdsSectionCore & Omit<import("react").HTMLAttributes<HTMLEdsSectionCoreElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsSectionCoreElement>>;
|
|
30
32
|
export declare const EdsSectionHeading: import("react").ForwardRefExoticComponent<JSX.EdsSectionHeading & Omit<import("react").HTMLAttributes<HTMLEdsSectionHeadingElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsSectionHeadingElement>>;
|
|
31
33
|
export declare const EdsSocialNetworks: import("react").ForwardRefExoticComponent<JSX.EdsSocialNetworks & Omit<import("react").HTMLAttributes<HTMLEdsSocialNetworksElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsSocialNetworksElement>>;
|
|
34
|
+
export declare const EdsSpinner: import("react").ForwardRefExoticComponent<JSX.EdsSpinner & Omit<import("react").HTMLAttributes<HTMLEdsSpinnerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsSpinnerElement>>;
|
|
35
|
+
export declare const EdsSplashScreen: import("react").ForwardRefExoticComponent<JSX.EdsSplashScreen & Omit<import("react").HTMLAttributes<HTMLEdsSplashScreenElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsSplashScreenElement>>;
|
|
32
36
|
export declare const EdsSteps: import("react").ForwardRefExoticComponent<JSX.EdsSteps & Omit<import("react").HTMLAttributes<HTMLEdsStepsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsStepsElement>>;
|
|
33
37
|
export declare const EdsSwitch: import("react").ForwardRefExoticComponent<JSX.EdsSwitch & Omit<import("react").HTMLAttributes<HTMLEdsSwitchElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsSwitchElement>>;
|
|
34
38
|
export declare const EdsTable: import("react").ForwardRefExoticComponent<JSX.EdsTable & Omit<import("react").HTMLAttributes<HTMLEdsTableElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsTableElement>>;
|
|
@@ -36,7 +40,6 @@ export declare const EdsTabs: import("react").ForwardRefExoticComponent<JSX.EdsT
|
|
|
36
40
|
export declare const EdsTag: import("react").ForwardRefExoticComponent<JSX.EdsTag & Omit<import("react").HTMLAttributes<HTMLEdsTagElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsTagElement>>;
|
|
37
41
|
export declare const EdsTimeline: import("react").ForwardRefExoticComponent<JSX.EdsTimeline & Omit<import("react").HTMLAttributes<HTMLEdsTimelineElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsTimelineElement>>;
|
|
38
42
|
export declare const EdsToast: import("react").ForwardRefExoticComponent<JSX.EdsToast & Omit<import("react").HTMLAttributes<HTMLEdsToastElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsToastElement>>;
|
|
39
|
-
export declare const EdsToastManager: import("react").ForwardRefExoticComponent<JSX.EdsToastManager & Omit<import("react").HTMLAttributes<HTMLEdsToastManagerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsToastManagerElement>>;
|
|
40
43
|
export declare const EdsTooltip: import("react").ForwardRefExoticComponent<JSX.EdsTooltip & Omit<import("react").HTMLAttributes<HTMLEdsTooltipElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsTooltipElement>>;
|
|
41
44
|
export declare const EdsUser: import("react").ForwardRefExoticComponent<JSX.EdsUser & Omit<import("react").HTMLAttributes<HTMLEdsUserElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsUserElement>>;
|
|
42
45
|
export declare const EdsVerticalStepper: import("react").ForwardRefExoticComponent<JSX.EdsVerticalStepper & Omit<import("react").HTMLAttributes<HTMLEdsVerticalStepperElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsVerticalStepperElement>>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const star = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>
|
|
3
|
+
</svg>`;
|
|
4
|
+
|
|
5
|
+
export { star as s };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const thumbsDown = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-hand-thumbs-down-fill" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M6.956 14.534c.065.936.952 1.659 1.908 1.42l.261-.065a1.38 1.38 0 0 0 1.012-.965c.22-.816.533-2.512.062-4.51q.205.03.443.051c.713.065 1.669.071 2.516-.211.518-.173.994-.68 1.2-1.272a1.9 1.9 0 0 0-.234-1.734c.058-.118.103-.242.138-.362.077-.27.113-.568.113-.856 0-.29-.036-.586-.113-.857a2 2 0 0 0-.16-.403c.169-.387.107-.82-.003-1.149a3.2 3.2 0 0 0-.488-.9c.054-.153.076-.313.076-.465a1.86 1.86 0 0 0-.253-.912C13.1.757 12.437.28 11.5.28H8c-.605 0-1.07.08-1.466.217a4.8 4.8 0 0 0-.97.485l-.048.029c-.504.308-.999.61-2.068.723C2.682 1.815 2 2.434 2 3.279v4c0 .851.685 1.433 1.357 1.616.849.232 1.574.787 2.132 1.41.56.626.914 1.28 1.039 1.638.199.575.356 1.54.428 2.591"/>
|
|
3
|
+
</svg>`;
|
|
4
|
+
|
|
5
|
+
export { thumbsDown as t };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const thumbsUp = `<svg xmlns="http://www.w3.org/2000/svg" width="20"
|
|
2
|
+
height="20" fill="currentColor" class="bi bi-hand-thumbs-up-fill" viewBox="0 0 16 16">
|
|
3
|
+
<path d="M6.956 1.745C7.021.81 7.908.087 8.864.325l.261.066c.463.116.874.456 1.012.965.22.816.533 2.511.062 4.51a10 10 0 0 1 .443-.051c.713-.065 1.669-.072 2.516.21.518.173.994.681 1.2 1.273.184.532.16 1.162-.234 1.733q.086.18.138.363c.077.27.113.567.113.856s-.036.586-.113.856c-.039.135-.09.273-.16.404.169.387.107.819-.003 1.148a3.2 3.2 0 0 1-.488.901c.054.152.076.312.076.465 0 .305-.089.625-.253.912C13.1 15.522 12.437 16 11.5 16H8c-.605 0-1.07-.081-1.466-.218a4.8 4.8 0 0 1-.97-.484l-.048-.03c-.504-.307-.999-.609-2.068-.722C2.682 14.464 2 13.846 2 13V9c0-.85.685-1.432 1.357-1.615.849-.232 1.574-.787 2.132-1.41.56-.627.914-1.28 1.039-1.639.199-.575.356-1.539.428-2.59z"/>
|
|
4
|
+
</svg>`;
|
|
5
|
+
|
|
6
|
+
export { thumbsUp as t };
|
|
@@ -296,7 +296,7 @@ const TokenList = class {
|
|
|
296
296
|
[this.show]: colors[this.show]
|
|
297
297
|
} : colors;
|
|
298
298
|
return h("section", {
|
|
299
|
-
key: '
|
|
299
|
+
key: 'bca88363ffc01f45526068bd95e96950a3920f0f',
|
|
300
300
|
class: "w-full mt-28"
|
|
301
301
|
}, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
|
|
302
302
|
// Only render sections that exist in `colors`
|
|
@@ -317,10 +317,10 @@ const TokenRadii = class {
|
|
|
317
317
|
}
|
|
318
318
|
render() {
|
|
319
319
|
return h("section", {
|
|
320
|
-
key: '
|
|
320
|
+
key: 'f5a5ae4bf9096ac5f9aa23e76e45e103a0867bf6',
|
|
321
321
|
class: "w-full mt-28"
|
|
322
322
|
}, h("ul", {
|
|
323
|
-
key: '
|
|
323
|
+
key: '54815bbb3e0dcdd381d711dedd126050813cf6c0',
|
|
324
324
|
class: "gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
325
325
|
}, Object.entries(radii).map(([key, value]) => h("li", {
|
|
326
326
|
class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
|
|
@@ -358,10 +358,10 @@ const TokenShadows = class {
|
|
|
358
358
|
}
|
|
359
359
|
render() {
|
|
360
360
|
return h("section", {
|
|
361
|
-
key: '
|
|
361
|
+
key: '1b87e2999f2b29677869d9651181135566ba64ff',
|
|
362
362
|
class: "w-full mt-28"
|
|
363
363
|
}, h("ul", {
|
|
364
|
-
key: '
|
|
364
|
+
key: '010dcbd18c54ee35dc402a26990a37cb0730c5b0',
|
|
365
365
|
class: "gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
366
366
|
}, Object.entries(shadowTokens).map(([category, tokens]) => Object.entries(tokens).map(([key, value]) => h("li", {
|
|
367
367
|
class: "grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16"
|
|
@@ -17,15 +17,15 @@ const TokenRatios = class {
|
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
return h("section", {
|
|
20
|
-
key: '
|
|
20
|
+
key: 'a0af49b94d449dfe4b02f6fec8623504ad37d5b8',
|
|
21
21
|
class: "w-full"
|
|
22
22
|
}, h("eds-section-core", {
|
|
23
|
-
key: '
|
|
23
|
+
key: '0e52b86dc5dc6dab5dba6d3ae3d902fbc2f93ef4',
|
|
24
24
|
tag: "div",
|
|
25
25
|
"section-title": "Aspect Ratios",
|
|
26
26
|
"heading-level": "h3"
|
|
27
27
|
}, h("ul", {
|
|
28
|
-
key: '
|
|
28
|
+
key: '5dc637b53903ebdb599693fe36b956c7d6008085',
|
|
29
29
|
class: "gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
30
30
|
}, Object.entries(ratios).map(([key, value]) => h("li", {
|
|
31
31
|
class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
|
|
@@ -9,82 +9,82 @@ const TokenSpacing = class {
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
return h("div", {
|
|
12
|
-
key: '
|
|
12
|
+
key: '356476122714281daec61c548440aebde6539707',
|
|
13
13
|
class: "w-full"
|
|
14
14
|
}, h("ul", {
|
|
15
|
-
key: '
|
|
15
|
+
key: '970f3773e8974095cc033f903f064184ce2efbf7',
|
|
16
16
|
class: "gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
17
17
|
}, h("li", {
|
|
18
|
-
key: '
|
|
18
|
+
key: '09633a00f33076131e1af2c84897fc5e427cb8fe',
|
|
19
19
|
class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
|
|
20
20
|
}, h("div", {
|
|
21
|
-
key: '
|
|
21
|
+
key: '0f6fa253191124f68f38e252cbdd816b2e6a4fed',
|
|
22
22
|
class: "container p-8 item-center border-2 border-soft"
|
|
23
23
|
}, h("div", {
|
|
24
|
-
key: '
|
|
24
|
+
key: '3ea0d517cda698486a86d84b08638e0571a83cbd',
|
|
25
25
|
class: "spacing-sample m-32 bg-darker"
|
|
26
26
|
}, h("span", {
|
|
27
|
-
key: '
|
|
27
|
+
key: '705336858b45b26fc7949af2c06c7aa0caf06521',
|
|
28
28
|
class: "text-white"
|
|
29
29
|
}, "Margin: 2rem / m-32")))), h("li", {
|
|
30
|
-
key: '
|
|
30
|
+
key: '0f6db988457ea76155bc8d0f7aa24a6a987b0faa',
|
|
31
31
|
class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
|
|
32
32
|
}, h("div", {
|
|
33
|
-
key: '
|
|
33
|
+
key: '8eefc5b4f1c1decfb77d54b03ab3fd00a303142c',
|
|
34
34
|
class: "container p-8 item-center border-2 border-soft"
|
|
35
35
|
}, h("div", {
|
|
36
|
-
key: '
|
|
36
|
+
key: 'ee398d39118bf544bc6b02b4788b53f6625af2f8',
|
|
37
37
|
class: "spacing-sample ml-64 bg-darker"
|
|
38
38
|
}, h("span", {
|
|
39
|
-
key: '
|
|
39
|
+
key: 'dfc2b6c02727298e8d307c26b00c77cbad7c741d',
|
|
40
40
|
class: "text-white"
|
|
41
41
|
}, "Margin Left: 4rem / ml-64")))), h("li", {
|
|
42
|
-
key: '
|
|
42
|
+
key: 'f2f058f6576c56b4785675b173a5720bc8b8b5a2',
|
|
43
43
|
class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
|
|
44
44
|
}, h("div", {
|
|
45
|
-
key: '
|
|
45
|
+
key: '79b1d6d5d1a5adf9168d48f21917fd5a45921d4d',
|
|
46
46
|
class: "container p-8 item-center border-2 border-soft"
|
|
47
47
|
}, h("div", {
|
|
48
|
-
key: '
|
|
48
|
+
key: '037bc78f10b1aa70d8dd658d4d0f2f5c4689b9b4',
|
|
49
49
|
class: "spacing-sample mt-32 bg-darker"
|
|
50
50
|
}, h("span", {
|
|
51
|
-
key: '
|
|
51
|
+
key: '44f1f4a3c85670448aa3888a28d9c977ca786f86',
|
|
52
52
|
class: "text-white"
|
|
53
53
|
}, "Margin Top: 2rem / mt-32")))), h("li", {
|
|
54
|
-
key: '
|
|
54
|
+
key: '7c20e01a04b1d76d4dcffc14f4df75f5021ece20',
|
|
55
55
|
class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
|
|
56
56
|
}, h("div", {
|
|
57
|
-
key: '
|
|
57
|
+
key: '07a56f648b690e078b21070a55a605c02347d609',
|
|
58
58
|
class: "container p-8 item-center border-2 border-soft"
|
|
59
59
|
}, h("div", {
|
|
60
|
-
key: '
|
|
60
|
+
key: '231c4279bdae8065ef24fec89eecb78651e04611',
|
|
61
61
|
class: "spacing-sample p-32 bg-darker"
|
|
62
62
|
}, h("span", {
|
|
63
|
-
key: '
|
|
63
|
+
key: 'a07ed52edd29aa0aa6f6b3f246f5a9c0ae01a1d7',
|
|
64
64
|
class: "text-white"
|
|
65
65
|
}, "Padding: 2rem / p-32")))), h("li", {
|
|
66
|
-
key: '
|
|
66
|
+
key: '9d03ce15cd0d729158e95aa57cfa16ffc198d61f',
|
|
67
67
|
class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
|
|
68
68
|
}, h("div", {
|
|
69
|
-
key: '
|
|
69
|
+
key: '96166a0e3ecfd6c6a66c994964fa15bee8bde642',
|
|
70
70
|
class: "container p-8 item-center border-2 border-soft"
|
|
71
71
|
}, h("div", {
|
|
72
|
-
key: '
|
|
72
|
+
key: '5ab66866c84be4bce570f0b88893b897e9055975',
|
|
73
73
|
class: "spacing-sample pt-32 bg-darker"
|
|
74
74
|
}, h("span", {
|
|
75
|
-
key: '
|
|
75
|
+
key: '97a396c5d1411994f85e02da470c225a61ceecc3',
|
|
76
76
|
class: "text-white"
|
|
77
77
|
}, "Padding Top: 2rem / pt-32")))), h("li", {
|
|
78
|
-
key: '
|
|
78
|
+
key: '73e0a494873f0223be3631e317a0de839837c6c0',
|
|
79
79
|
class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
|
|
80
80
|
}, h("div", {
|
|
81
|
-
key: '
|
|
81
|
+
key: 'b6d16c13e18c51a9e458beb6a09ba8363016f78f',
|
|
82
82
|
class: "container p-8 item-center border-2 border-soft"
|
|
83
83
|
}, h("div", {
|
|
84
|
-
key: '
|
|
84
|
+
key: '31ecca8519713956f36adeab4ec9d948366ef60c',
|
|
85
85
|
class: "spacing-sample pl-32 bg-darker"
|
|
86
86
|
}, h("span", {
|
|
87
|
-
key: '
|
|
87
|
+
key: '5be84ed80ae0f13b350a69bced77af95ab9b9a12',
|
|
88
88
|
class: "text-white"
|
|
89
89
|
}, "Padding Left: 2rem / pl-32"))))));
|
|
90
90
|
}
|
|
@@ -202,10 +202,10 @@ const TokenTypography = class {
|
|
|
202
202
|
}
|
|
203
203
|
render() {
|
|
204
204
|
return h("section", {
|
|
205
|
-
key: '
|
|
205
|
+
key: 'a3e3710a2d2f37c3da3e6c1d17565ba8a2324843',
|
|
206
206
|
class: "w-full"
|
|
207
207
|
}, h("ul", {
|
|
208
|
-
key: '
|
|
208
|
+
key: '74e72785acae0c6f507d64f5121fee1ffdab7f49',
|
|
209
209
|
class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
210
210
|
}, Object.entries(typography.typesets).filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
|
|
211
211
|
.flatMap(([typeKey, typeValues]) => Object.entries(typeValues).map(([size, style]) => h("li", {
|