@apolitical/component-library 1.18.8 → 2.0.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/communities/join-button/join-button.d.ts +1 -1
- package/context/user/index.d.ts +1 -1
- package/discussion/components/likes/likes.d.ts +1 -1
- package/discussion/feeds/activities-feed/activities-feed.d.ts +7 -0
- package/discussion/feeds/replies-feed/nested-replies-feed/nested-replies-feed.d.ts +6 -0
- package/discussion/feeds/replies-feed/replies-feed.d.ts +8 -0
- package/form/components/email-helper-text-box/email-helper-text-box.d.ts +1 -1
- package/form/components/form/components/field-wrapper/field-wrapper.d.ts +3 -0
- package/form/components/form/components/field-wrapper/index.d.ts +1 -0
- package/form/components/form/components/fields/checkbox/checkbox.d.ts +31 -0
- package/form/components/form/components/fields/checkbox/index.d.ts +1 -0
- package/form/components/form/components/fields/dropdown-menu/components/index.d.ts +1 -0
- package/form/components/form/components/fields/dropdown-menu/components/rotating-chevron/index.d.ts +1 -0
- package/form/components/form/components/fields/dropdown-menu/components/rotating-chevron/rotating-chevron.d.ts +6 -0
- package/form/components/form/components/fields/dropdown-menu/dropdown-menu.d.ts +3 -0
- package/form/components/form/components/fields/dropdown-menu/index.d.ts +1 -0
- package/form/components/form/components/fields/index.d.ts +5 -0
- package/form/components/form/components/fields/input/index.d.ts +1 -0
- package/form/components/form/components/fields/input/input.d.ts +39 -0
- package/form/components/form/components/fields/multiple-options/index.d.ts +1 -0
- package/form/components/form/components/fields/multiple-options/multiple-options.d.ts +3 -0
- package/form/components/form/components/fields/password/index.d.ts +1 -0
- package/form/components/form/components/fields/password/password.d.ts +3 -0
- package/form/components/form/components/index.d.ts +2 -0
- package/form/components/form/form.d.ts +3 -0
- package/form/components/form/form.mocks.d.ts +18 -0
- package/form/components/form/form.reducer.d.ts +3 -0
- package/form/components/form/form.types.d.ts +189 -0
- package/form/components/form/index.d.ts +1 -0
- package/form/components/index.d.ts +1 -0
- package/form/components/password-rules/password-rules.d.ts +1 -1
- package/form/components/rating/rating.d.ts +1 -1
- package/form/types/contact-form/contact-form.d.ts +12 -0
- package/form/types/contact-form/index.d.ts +1 -0
- package/form/types/index.d.ts +3 -1
- package/form/types/signup-form/components/index.d.ts +1 -0
- package/form/types/signup-form/components/success-message.d.ts +4 -0
- package/form/types/signup-form/index.d.ts +1 -0
- package/form/types/signup-form/signup-form.d.ts +25 -0
- package/form/types/signup-form/signup-form.helpers.d.ts +41 -0
- package/form/types/signup-form/signup-form.helpers.get-fields.d.ts +56 -0
- package/general/buttons/button/button.d.ts +1 -1
- package/helpers/in-development.d.ts +1 -0
- package/helpers/index.d.ts +4 -3
- package/index.js +34 -15
- package/index.mjs +5422 -2940
- package/layout/content-layout/contact-footer/contact-footer.d.ts +5 -0
- package/layout/content-layout/contact-footer/index.d.ts +1 -0
- package/layout/content-layout/index.d.ts +1 -0
- package/mappers/index.d.ts +1 -1
- package/mappers/{mapGetSteamData.d.ts → map-get-steam-data.d.ts} +1 -1
- package/modals/index.d.ts +1 -1
- package/navigation/filters/filters.d.ts +1 -1
- package/navigation/more-menu/more-menu.d.ts +1 -1
- package/package.json +2 -1
- package/sections/full-width-section/full-width-section.d.ts +2 -0
- package/sections/logo-section/logo-section.d.ts +1 -1
- package/style.css +1 -1
- package/styles/README.md +28 -0
- package/styles/base/_accessibility.scss +21 -11
- package/styles/base/_blockquotes.scss +31 -20
- package/styles/base/_fonts.scss +10 -6
- package/styles/base/_hr.scss +9 -8
- package/styles/base/_index.scss +2 -13
- package/styles/base/_layout.scss +5 -4
- package/styles/base/_links.scss +11 -13
- package/styles/base/_lists.scss +26 -13
- package/styles/base/_overlays.scss +34 -32
- package/styles/base/_table.scss +40 -27
- package/styles/base/_text.scss +128 -63
- package/styles/base/_titles.scss +192 -114
- package/styles/base/buttons/_button-wrapper.scss +23 -18
- package/styles/base/buttons/_buttons.scss +246 -169
- package/styles/base/buttons/_icons.scss +26 -26
- package/styles/base/buttons/_index.scss +1 -2
- package/styles/base/buttons/_mixins.scss +9 -3
- package/styles/base/buttons/_sizes.scss +47 -8
- package/styles/base/form/_fields.scss +50 -41
- package/styles/base/form/_form.scss +26 -0
- package/styles/base/form/_index.scss +1 -2
- package/styles/base/form/_labels.scss +12 -0
- package/styles/base/form/_search-button.scss +17 -17
- package/styles/functions/_index.scss +1 -1
- package/styles/functions/_maps.scss +25 -0
- package/styles/functions/_size-conversions.scss +3 -3
- package/styles/index.scss +3 -5
- package/styles/mixins/_animations.scss +1 -1
- package/styles/mixins/_backgrounds.scss +8 -2
- package/styles/mixins/_breakpoints.scss +1 -1
- package/styles/mixins/_browsers.scss +4 -2
- package/styles/mixins/_containers.scss +0 -1
- package/styles/mixins/_index.scss +2 -8
- package/styles/mixins/_queries.scss +11 -0
- package/styles/mixins/_selectors.scss +1 -1
- package/styles/mixins/_styles.scss +23 -21
- package/styles/mixins/_transitions.scss +19 -15
- package/styles/reset/_index.scss +1 -1
- package/styles/reset/_reset.scss +104 -20
- package/styles/variables/_index.scss +1 -3
- package/styles/variables/assets/_assets.scss +0 -1
- package/styles/variables/assets/_index.scss +1 -1
- package/styles/variables/colors/_colors.scss +53 -53
- package/styles/variables/colors/_index.scss +1 -1
- package/styles/variables/colors/theme/_banners.scss +26 -0
- package/styles/variables/colors/theme/_base.scss +88 -0
- package/styles/variables/colors/theme/_cards.scss +24 -0
- package/styles/variables/colors/theme/_communities.scss +7 -0
- package/styles/variables/colors/theme/_discussion.scss +20 -0
- package/styles/variables/colors/theme/_form.scss +25 -0
- package/styles/variables/colors/theme/_general.scss +9 -0
- package/styles/variables/colors/theme/_index.scss +8 -0
- package/styles/variables/colors/theme/_layout.scss +50 -0
- package/styles/variables/colors/theme/_loaders.scss +20 -0
- package/styles/variables/colors/theme/_modals.scss +14 -0
- package/styles/variables/colors/theme/_navigation.scss +41 -0
- package/styles/variables/colors/theme/_pages.scss +9 -0
- package/styles/variables/colors/theme/_text.scss +47 -0
- package/styles/variables/colors/theme/_user.scss +16 -0
- package/styles/variables/sizes/_common.scss +1 -1
- package/styles/variables/sizes/_index.scss +1 -1
- package/text/helper-text-box/helper-text-box.d.ts +1 -1
- package/text/hide-show-text-box/hide-show-text-box.d.ts +1 -1
- package/types/index.d.ts +1 -0
- package/styles/variables/colors/_theme.scss +0 -312
|
@@ -1 +1 @@
|
|
|
1
|
-
@import 'assets';
|
|
1
|
+
@import 'assets';
|
|
@@ -4,56 +4,56 @@
|
|
|
4
4
|
// names.
|
|
5
5
|
|
|
6
6
|
$default-colors: (
|
|
7
|
-
'white': rgb(255 255 255 / 100%),
|
|
8
|
-
'black': rgb(0 0 0 / 100%),
|
|
9
|
-
'sand': rgb(252 250 243 / 100%),
|
|
10
|
-
'b50': rgb(248 247 255 / 100%),
|
|
11
|
-
'b100': rgb(222 220 250 / 100%),
|
|
12
|
-
'b200': rgb(197 194 245 / 100%),
|
|
13
|
-
'b300': rgb(175 171 239 / 100%),
|
|
14
|
-
'b500': rgb(124 114 225 / 100%),
|
|
15
|
-
'b600': rgb(101 89 212 / 100%),
|
|
16
|
-
'b700': rgb(79 67 186 / 100%),
|
|
17
|
-
'b800': rgb(57 45 135 / 100%),
|
|
18
|
-
'b900': rgb(33 24 77 / 100%),
|
|
19
|
-
'g50': rgb(235 250 246 / 100%),
|
|
20
|
-
'g100': rgb(195 240 228 / 100%),
|
|
21
|
-
'g200': rgb(153 219 201),
|
|
22
|
-
'g300': rgb(124 220 197 / 100%),
|
|
23
|
-
'g600': rgb(43 137 117 / 100%),
|
|
24
|
-
'g700': rgb(28 104 88 / 100%),
|
|
25
|
-
'g900': rgb(10 38 33 / 100%),
|
|
26
|
-
'n10': rgb(222 226 232 / 100%),
|
|
27
|
-
'n40': rgb(248 248 248 / 100%),
|
|
28
|
-
'n50': rgb(240 245 255 / 100%),
|
|
29
|
-
'n100': rgb(215 224 239 / 100%),
|
|
30
|
-
'n200': rgb(192 203 223 / 100%),
|
|
31
|
-
'n500': rgb(117 131 160 / 100%),
|
|
32
|
-
'n600': rgb(89 101 128 / 100%),
|
|
33
|
-
'n700': rgb(64 74 97 / 100%),
|
|
34
|
-
'n800': rgb(42 49 65 / 100%),
|
|
35
|
-
'n900': rgb(21 25 33 / 100%),
|
|
36
|
-
'p50': rgb(255 242 255 / 100%),
|
|
37
|
-
'p100': rgb(238 200 237 / 100%),
|
|
38
|
-
'p300': rgb(203 130 197 / 100%),
|
|
39
|
-
'p500': rgb(166 55 152 / 100%),
|
|
40
|
-
'p600': rgb(136 90 189 / 100%),
|
|
41
|
-
'p900': rgb(66 1 55 / 100%),
|
|
42
|
-
'y50': rgb(255 248 232 / 100%),
|
|
43
|
-
'y100': rgb(255 238 193 / 100%),
|
|
44
|
-
'y300': rgb(255 230 139 / 100%),
|
|
45
|
-
'y700': rgb(122 81 5 / 100%),
|
|
46
|
-
'y900': rgb(48 29 0 / 100%),
|
|
47
|
-
'error50': rgb(255 242 242 / 100%),
|
|
48
|
-
'error600': rgb(195 65 65 / 100%),
|
|
49
|
-
'error700': rgb(155 36 36 / 100%),
|
|
50
|
-
'info50': rgb(240 245 247 / 100%),
|
|
51
|
-
'info500': rgb(30 117 166 / 100%),
|
|
52
|
-
'info600': rgb(20 95 139 / 100%),
|
|
53
|
-
'success50': rgb(235 247 239 / 100%),
|
|
54
|
-
'success500': rgb(60 124 82 / 100%),
|
|
55
|
-
'success600': rgb(38 103 60 / 100%),
|
|
56
|
-
'warning50': rgb(255 242 230 / 100%),
|
|
57
|
-
'warning500': rgb(220 121 29 / 100%),
|
|
58
|
-
'warning700': rgb(137 71 11 / 100%),
|
|
59
|
-
);
|
|
7
|
+
'white': rgb(255 255 255 / 100%),
|
|
8
|
+
'black': rgb(0 0 0 / 100%),
|
|
9
|
+
'sand': rgb(252 250 243 / 100%),
|
|
10
|
+
'b50': rgb(248 247 255 / 100%),
|
|
11
|
+
'b100': rgb(222 220 250 / 100%),
|
|
12
|
+
'b200': rgb(197 194 245 / 100%),
|
|
13
|
+
'b300': rgb(175 171 239 / 100%),
|
|
14
|
+
'b500': rgb(124 114 225 / 100%),
|
|
15
|
+
'b600': rgb(101 89 212 / 100%),
|
|
16
|
+
'b700': rgb(79 67 186 / 100%),
|
|
17
|
+
'b800': rgb(57 45 135 / 100%),
|
|
18
|
+
'b900': rgb(33 24 77 / 100%),
|
|
19
|
+
'g50': rgb(235 250 246 / 100%),
|
|
20
|
+
'g100': rgb(195 240 228 / 100%),
|
|
21
|
+
'g200': rgb(153 219 201),
|
|
22
|
+
'g300': rgb(124 220 197 / 100%),
|
|
23
|
+
'g600': rgb(43 137 117 / 100%),
|
|
24
|
+
'g700': rgb(28 104 88 / 100%),
|
|
25
|
+
'g900': rgb(10 38 33 / 100%),
|
|
26
|
+
'n10': rgb(222 226 232 / 100%),
|
|
27
|
+
'n40': rgb(248 248 248 / 100%),
|
|
28
|
+
'n50': rgb(240 245 255 / 100%),
|
|
29
|
+
'n100': rgb(215 224 239 / 100%),
|
|
30
|
+
'n200': rgb(192 203 223 / 100%),
|
|
31
|
+
'n500': rgb(117 131 160 / 100%),
|
|
32
|
+
'n600': rgb(89 101 128 / 100%),
|
|
33
|
+
'n700': rgb(64 74 97 / 100%),
|
|
34
|
+
'n800': rgb(42 49 65 / 100%),
|
|
35
|
+
'n900': rgb(21 25 33 / 100%),
|
|
36
|
+
'p50': rgb(255 242 255 / 100%),
|
|
37
|
+
'p100': rgb(238 200 237 / 100%),
|
|
38
|
+
'p300': rgb(203 130 197 / 100%),
|
|
39
|
+
'p500': rgb(166 55 152 / 100%),
|
|
40
|
+
'p600': rgb(136 90 189 / 100%),
|
|
41
|
+
'p900': rgb(66 1 55 / 100%),
|
|
42
|
+
'y50': rgb(255 248 232 / 100%),
|
|
43
|
+
'y100': rgb(255 238 193 / 100%),
|
|
44
|
+
'y300': rgb(255 230 139 / 100%),
|
|
45
|
+
'y700': rgb(122 81 5 / 100%),
|
|
46
|
+
'y900': rgb(48 29 0 / 100%),
|
|
47
|
+
'error50': rgb(255 242 242 / 100%),
|
|
48
|
+
'error600': rgb(195 65 65 / 100%),
|
|
49
|
+
'error700': rgb(155 36 36 / 100%),
|
|
50
|
+
'info50': rgb(240 245 247 / 100%),
|
|
51
|
+
'info500': rgb(30 117 166 / 100%),
|
|
52
|
+
'info600': rgb(20 95 139 / 100%),
|
|
53
|
+
'success50': rgb(235 247 239 / 100%),
|
|
54
|
+
'success500': rgb(60 124 82 / 100%),
|
|
55
|
+
'success600': rgb(38 103 60 / 100%),
|
|
56
|
+
'warning50': rgb(255 242 230 / 100%),
|
|
57
|
+
'warning500': rgb(220 121 29 / 100%),
|
|
58
|
+
'warning700': rgb(137 71 11 / 100%),
|
|
59
|
+
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import 'theme';
|
|
1
|
+
@import 'theme';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@import './../colors';
|
|
2
|
+
@import '@/styles/functions';
|
|
3
|
+
|
|
4
|
+
$c: $default-colors;
|
|
5
|
+
$banners: (
|
|
6
|
+
banner-section: get-map($c, 'white'),
|
|
7
|
+
banner-section_light: get-map($c, 'n700'),
|
|
8
|
+
banner-section_bg: get-map($c, 'b700'),
|
|
9
|
+
banner-section_light_bg: get-map($c, 'white'),
|
|
10
|
+
banner-section_overlay: get-map($c, 'n900'),
|
|
11
|
+
banner-section_eyebrow: get-map($c, 'y300'),
|
|
12
|
+
banner-section_light_eyebrow: get-map($c, 'b700'),
|
|
13
|
+
banner-section_light_title: get-map($c, 'n900'),
|
|
14
|
+
marketing-block_title: get-map($c, 'n900'),
|
|
15
|
+
marketing-block_tertiary_title: get-map($c, 'white'),
|
|
16
|
+
marketing-block_text: get-map($c, 'n700'),
|
|
17
|
+
marketing-block_tertiary_text: get-map($c, 'b100'),
|
|
18
|
+
marketing-block_circle: get-map($c, 'b700'),
|
|
19
|
+
marketing-block_tertiary_circle: get-map($c, 'g300'),
|
|
20
|
+
marketing-block_primary_bg_1: get-map($c, 'g100'),
|
|
21
|
+
marketing-block_secondary_bg_1: get-map($c, 'p100'),
|
|
22
|
+
marketing-block_tertiary_bg_1: get-map($c, 'b700'),
|
|
23
|
+
marketing-block_primary_bg_2: get-map($c, 'y300'),
|
|
24
|
+
marketing-block_secondary_bg_2: get-map($c, 'g100'),
|
|
25
|
+
marketing-block_tertiary_bg_2: get-map($c, 'p600'),
|
|
26
|
+
);
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
@import './../colors';
|
|
2
|
+
@import '@/styles/functions';
|
|
3
|
+
|
|
4
|
+
$c: $default-colors;
|
|
5
|
+
$base: (
|
|
6
|
+
default_focus: get-map($c, 'b100'),
|
|
7
|
+
background: get-map($c, 'white'),
|
|
8
|
+
highlight_bg: get-map($c, 'g300'),
|
|
9
|
+
title: get-map($c, 'n900'),
|
|
10
|
+
subtitle: get-map($c, 'n800'),
|
|
11
|
+
text: get-map($c, 'n900'),
|
|
12
|
+
text_error: get-map($c, 'error600'),
|
|
13
|
+
text_line: get-map($c, 'g50'),
|
|
14
|
+
text_line_dark: get-map($c, 'b700'),
|
|
15
|
+
link: get-map($c, 'b700'),
|
|
16
|
+
link_hover: get-map($c, 'b800'),
|
|
17
|
+
button_primary: get-map($c, 'white'),
|
|
18
|
+
button_primary_bg: get-map($c, 'b700'),
|
|
19
|
+
button_primary_bg_hover: get-map($c, 'b500'),
|
|
20
|
+
button_primary_bg_active: get-map($c, 'b800'),
|
|
21
|
+
button_primary_bg_focus: get-map($c, 'b600'),
|
|
22
|
+
button_primary_bg_disabled: get-map($c, 'b700'),
|
|
23
|
+
button_primary_destructive: get-map($c, 'white'),
|
|
24
|
+
button_primary_destructive_bg: get-map($c, 'error600'),
|
|
25
|
+
button_primary_destructive_bg_hover: get-map($c, 'error700'),
|
|
26
|
+
button_primary_destructive_box-shadow: get-map($c, 'error50'),
|
|
27
|
+
button_secondary: get-map($c, 'b700'),
|
|
28
|
+
button_secondary_focus: get-map($c, 'white'),
|
|
29
|
+
button_secondary_muted: get-map($c, 'n600'),
|
|
30
|
+
button_secondary_muted_hover: get-map($c, 'n700'),
|
|
31
|
+
button_secondary_destructive: get-map($c, 'error600'),
|
|
32
|
+
button_secondary_disabled: get-map($c, 'b700'),
|
|
33
|
+
button_secondary_bg: get-map($c, 'white'),
|
|
34
|
+
button_secondary_bg_hover: get-map($c, 'b200'),
|
|
35
|
+
button_secondary_bg_focus: get-map($c, 'b600'),
|
|
36
|
+
button_secondary_bg_active: get-map($c, 'b800'),
|
|
37
|
+
button_secondary_bg_muted: get-map($c, 'white'),
|
|
38
|
+
button_secondary_bg_muted_hover: get-map($c, 'n200'),
|
|
39
|
+
button_secondary_bg_disabled: get-map($c, 'white'),
|
|
40
|
+
button_secondary_bg_destructive: get-map($c, 'error50'),
|
|
41
|
+
button_secondary_border: get-map($c, 'b700'),
|
|
42
|
+
button_secondary_border_focus: transparent,
|
|
43
|
+
button_secondary_border_muted: get-map($c, 'n200'),
|
|
44
|
+
button_secondary_border_muted_hover: get-map($c, 'n500'),
|
|
45
|
+
button_secondary_border_disabled: get-map($c, 'b700'),
|
|
46
|
+
button_secondary_border_destructive: get-map($c, 'error600'),
|
|
47
|
+
button_tertiary: get-map($c, 'b700'),
|
|
48
|
+
button_tertiary_hover: get-map($c, 'b500'),
|
|
49
|
+
button_tertiary_active: get-map($c, 'b800'),
|
|
50
|
+
button_tertiary_muted: get-map($c, 'n600'),
|
|
51
|
+
button_tertiary_muted_hover: get-map($c, 'b500'),
|
|
52
|
+
button_tertiary_disabled: get-map($c, 'b700'),
|
|
53
|
+
button_tertiary_bg: none,
|
|
54
|
+
button_tertiary_disabled_bg: none,
|
|
55
|
+
button_tertiary_text-decoration: transparent,
|
|
56
|
+
button_tertiary_disabled_text-decoration: transparent,
|
|
57
|
+
blockquote: get-map($c, 'n900'),
|
|
58
|
+
'blockquote_border': get-map($c, 'g300'),
|
|
59
|
+
divider: get-map($c, 'n100'),
|
|
60
|
+
form_character-limit: get-map($c, 'n600'),
|
|
61
|
+
form_character-limit_approaching: get-map($c, 'warning700'),
|
|
62
|
+
form_character-limit_near: get-map($c, 'error600'),
|
|
63
|
+
form_checkbox_bg: get-map($c, 'b700'),
|
|
64
|
+
form_checkbox_border: get-map($c, 'b700'),
|
|
65
|
+
form_checkbox_icon: get-map($c, 'white'),
|
|
66
|
+
form_field_bg: get-map($c, 'white'),
|
|
67
|
+
form_field_border: get-map($c, 'n200'),
|
|
68
|
+
form_input: get-map($c, 'n900'),
|
|
69
|
+
form_input_placeholder: get-map($c, 'n600'),
|
|
70
|
+
form_input_bg: get-map($c, 'white'),
|
|
71
|
+
form_input_border: get-map($c, 'n200'),
|
|
72
|
+
form_input_chevron: get-map($c, 'n500'),
|
|
73
|
+
form_input_focus_border: get-map($c, 'b500'),
|
|
74
|
+
form_input_error_border: get-map($c, 'error600'),
|
|
75
|
+
form_input_focus_box-shadow: get-map($c, 'b100'),
|
|
76
|
+
form_select_item: get-map($c, 'n600'),
|
|
77
|
+
form_select_item_selected: get-map($c, 'n900'),
|
|
78
|
+
form_select_item_hover: get-map($c, 'b700'),
|
|
79
|
+
form_select_item_hover_bg: get-map($c, 'b200'),
|
|
80
|
+
form_select_item_chevron_bg: get-map($c, 'g600'),
|
|
81
|
+
form_select_items_box-shadow: get-map($c, 'b100'),
|
|
82
|
+
form_label-small: get-map($c, 'n600'),
|
|
83
|
+
form_search-button_bg: get-map($c, 'n900'),
|
|
84
|
+
table_border: get-map($c, 'n200'),
|
|
85
|
+
table_th: get-map($c, 'white'),
|
|
86
|
+
table_th_bg: get-map($c, 'n600'),
|
|
87
|
+
overlay: rgb(21 25 33 / 25%),
|
|
88
|
+
);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@import './../colors';
|
|
2
|
+
@import '@/styles/functions';
|
|
3
|
+
|
|
4
|
+
$c: $default-colors;
|
|
5
|
+
$cards: (
|
|
6
|
+
card: get-map($c, 'n600'),
|
|
7
|
+
card_bg: get-map($c, 'sand'),
|
|
8
|
+
card_hover_bg: get-map($c, 'n50'),
|
|
9
|
+
card_label: get-map($c, 'n700'),
|
|
10
|
+
card_img_bg: get-map($c, 'b50'),
|
|
11
|
+
carousel_arrow: get-map($c, 'n600'),
|
|
12
|
+
carousel_arrow_disabled: get-map($c, 'n200'),
|
|
13
|
+
carousel_arrow_bg: get-map($c, 'white'),
|
|
14
|
+
carousel_arrow_hover_bg: get-map($c, 'b100'),
|
|
15
|
+
carousel_arrow_active_bg: get-map($c, 'b300'),
|
|
16
|
+
carousel_arrow_disabled_bg: get-map($c, 'n50'),
|
|
17
|
+
carousel_arrow_border: get-map($c, 'n100'),
|
|
18
|
+
carousel_arrow_hover_border: get-map($c, 'b300'),
|
|
19
|
+
carousel_arrow_active_border: get-map($c, 'b500'),
|
|
20
|
+
carousel_arrow_disabled_border: get-map($c, 'b100'),
|
|
21
|
+
carousel_pagination_bg: get-map($c, 'n100'),
|
|
22
|
+
carousel_pagination_hover_bg: get-map($c, 'b200'),
|
|
23
|
+
carousel_pagination_selected_bg: get-map($c, 'b500'),
|
|
24
|
+
);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@use 'sass:color';
|
|
2
|
+
@import './../colors';
|
|
3
|
+
@import '@/styles/functions';
|
|
4
|
+
|
|
5
|
+
$c: $default-colors;
|
|
6
|
+
$discussion: (
|
|
7
|
+
discussion-post_highlighted_bg: get-map($c, 'g50'),
|
|
8
|
+
discussion-post_fading_bg: color.adjust(get-map($c, 'g50'), $alpha: -0.9),
|
|
9
|
+
discussion-actions: get-map($c, 'n600'),
|
|
10
|
+
discussion-actions_hover_bg: get-map($c, 'b100'),
|
|
11
|
+
discussion-actions_likes_liked: get-map($c, 'p500'),
|
|
12
|
+
discussion-actions_likes_liked_bg: get-map($c, 'p500'),
|
|
13
|
+
discussion-form_bg: get-map($c, 'b50'),
|
|
14
|
+
discussion-form_placeholder: get-map($c, 'n500'),
|
|
15
|
+
discussion-form_small: get-map($c, 'n700'),
|
|
16
|
+
discussion-question_bg: get-map($c, 'sand'),
|
|
17
|
+
discussion-responses-heading_p: get-map($c, 'n600'),
|
|
18
|
+
discussion-responses-heading_icon: get-map($c, 'n700'),
|
|
19
|
+
discussion-thread_border: get-map($c, 'n200'),
|
|
20
|
+
);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@import './../colors';
|
|
2
|
+
@import '@/styles/functions';
|
|
3
|
+
|
|
4
|
+
$c: $default-colors;
|
|
5
|
+
$form: (
|
|
6
|
+
invite_form_border_focus: get-map($c, 'b500'),
|
|
7
|
+
invite_form_shadow: get-map($c, 'b100'),
|
|
8
|
+
invite_form_remove_email_button: get-map($c, 'n700'),
|
|
9
|
+
invite_form_email_bg: get-map($c, 'n50'),
|
|
10
|
+
invite_form_email_color: get-map($c, 'n700'),
|
|
11
|
+
invite_form_email_input_border: get-map($c, 'n200'),
|
|
12
|
+
password-rules: get-map($c, 'error600'),
|
|
13
|
+
password-rules_matches: get-map($c, 'success500'),
|
|
14
|
+
password-rules_small: get-map($c, 'n600'),
|
|
15
|
+
rating: get-map($c, 'n600'),
|
|
16
|
+
rating_hover_button: get-map($c, 'n500'),
|
|
17
|
+
rating_selected_button: get-map($c, 'b700'),
|
|
18
|
+
rating_shadow: get-map($c, 'b500'),
|
|
19
|
+
search_button_hover_bg: get-map($c, 'b700'),
|
|
20
|
+
search_clear-button_bg: get-map($c, 'n500'),
|
|
21
|
+
search_search-button_bg: get-map($c, 'n600'),
|
|
22
|
+
search_search-button_active_bg: get-map($c, 'white'),
|
|
23
|
+
show_password: get-map($c, 'n600'),
|
|
24
|
+
signup_form_error: get-map($c, 'error600'),
|
|
25
|
+
);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@import './../../../functions';
|
|
2
|
+
@import 'banners', 'base', 'cards', 'communities', 'discussion', 'form', 'general',
|
|
3
|
+
'layout', 'loaders', 'modals', 'navigation', 'pages', 'text', 'user';
|
|
4
|
+
|
|
5
|
+
$theme: merge-maps(
|
|
6
|
+
$banners $base $cards $communities $discussion $form $general $layout $loaders $modals
|
|
7
|
+
$navigation $pages $text $user
|
|
8
|
+
);
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@import './../colors';
|
|
2
|
+
@import '@/styles/functions';
|
|
3
|
+
|
|
4
|
+
$c: $default-colors;
|
|
5
|
+
$layout: (
|
|
6
|
+
cookie-banner_bg: get-map($c, 'n50'),
|
|
7
|
+
cookie-banner_shadow: rgb(107 91 82 / 40%),
|
|
8
|
+
cookie-banner_title_border: get-map($c, 'n100'),
|
|
9
|
+
contact-footer_bg: get-map($c, 'b50'),
|
|
10
|
+
contact-footer_header_underline: get-map($c, 'g300'),
|
|
11
|
+
contact-footer_link_icon: get-map($c, 'n700'),
|
|
12
|
+
contact-footer_link_hover: get-map($c, 'b500'),
|
|
13
|
+
contact-footer_form_bg: get-map($c, 'white'),
|
|
14
|
+
contact-footer_form_shadow: rgb(42 49 65 / 10%),
|
|
15
|
+
download-section_bg: get-map($c, 'g300'),
|
|
16
|
+
footer: get-map($c, 'g300'),
|
|
17
|
+
footer_bg: get-map($c, 'b800'),
|
|
18
|
+
footer_before_bg:
|
|
19
|
+
linear-gradient(90deg, get-map($c, 'b700') 0%, get-map($c, 'g300') 100%),
|
|
20
|
+
footer_title: get-map($c, 'y300'),
|
|
21
|
+
footer_link: get-map($c, 'g300'),
|
|
22
|
+
footer_dt: get-map($c, 'white'),
|
|
23
|
+
footer_dd: get-map($c, 'g300'),
|
|
24
|
+
footer_hr: get-map($c, 'y300'),
|
|
25
|
+
footer_small: get-map($c, 'b200'),
|
|
26
|
+
header: get-map($c, 'n900'),
|
|
27
|
+
header_bg: get-map($c, 'white'),
|
|
28
|
+
header_link: get-map($c, 'n900'),
|
|
29
|
+
header_link_hover: get-map($c, 'b500'),
|
|
30
|
+
header_link_active: get-map($c, 'b700'),
|
|
31
|
+
header_button_hover_bg: get-map($c, 'b700'),
|
|
32
|
+
header_account-button_bg: get-map($c, 'n700'),
|
|
33
|
+
header_account-button_border: get-map($c, 'n700'),
|
|
34
|
+
header_menu-button_bg: get-map($c, 'n900'),
|
|
35
|
+
header_parent_hover: get-map($c, 'b700'),
|
|
36
|
+
header_child: get-map($c, 'n700'),
|
|
37
|
+
header_child_divider: get-map($c, 'n100'),
|
|
38
|
+
header_border: get-map($c, 'n100'),
|
|
39
|
+
logos_title: get-map($c, 'n700'),
|
|
40
|
+
logos_small: get-map($c, 'n600'),
|
|
41
|
+
page-layout_gradient_bg_1: get-map($c, 'n50'),
|
|
42
|
+
page-layout_gradient_bg_2: rgb(240 245 255 / 0%),
|
|
43
|
+
page-layout_bold: get-map($c, 'white'),
|
|
44
|
+
page-layout_bold_bg: get-map($c, 'b700'),
|
|
45
|
+
page-layout_inverted_bg: get-map($c, 'g300'),
|
|
46
|
+
page-layout_bold_circle: get-map($c, 'g300'),
|
|
47
|
+
page-layout_inverted_circle: get-map($c, 'b700'),
|
|
48
|
+
page-layout_alt-1_circle: get-map($c, 'y300'),
|
|
49
|
+
page-layout_alt-2_circle: get-map($c, 'p300'),
|
|
50
|
+
);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@import './../colors';
|
|
2
|
+
@import '@/styles/functions';
|
|
3
|
+
|
|
4
|
+
$c: $default-colors;
|
|
5
|
+
$loaders: (
|
|
6
|
+
loading-block_icon_bg: get-map($c, 'n600'),
|
|
7
|
+
loading-placeholder_bg: get-map($c, 'n10'),
|
|
8
|
+
loading-placeholder_after_bg:
|
|
9
|
+
linear-gradient(90deg, transparent, rgba(255 255 255 / 20%), transparent),
|
|
10
|
+
progress-bar_bg: get-map($c, 'n50'),
|
|
11
|
+
progress-bar_before_bg: get-map($c, 'n200'),
|
|
12
|
+
progress-bar_25_bg_1: get-map($c, 'p100'),
|
|
13
|
+
progress-bar_25_bg_2: get-map($c, 'g100'),
|
|
14
|
+
progress-bar_50_bg_1: get-map($c, 'g100'),
|
|
15
|
+
progress-bar_50_bg_2: get-map($c, 'y300'),
|
|
16
|
+
progress-bar_75_bg_1: get-map($c, 'y300'),
|
|
17
|
+
progress-bar_75_bg_2: get-map($c, 'b200'),
|
|
18
|
+
progress-bar_100_bg_1: get-map($c, 'b200'),
|
|
19
|
+
progress-bar_100_bg_2: get-map($c, 'g100'),
|
|
20
|
+
);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@use 'sass:color';
|
|
2
|
+
@import './../colors';
|
|
3
|
+
@import '@/styles/functions';
|
|
4
|
+
|
|
5
|
+
$c: $default-colors;
|
|
6
|
+
$modals: (
|
|
7
|
+
modal_bg: get-map($c, 'white'),
|
|
8
|
+
modal_shadow: color.adjust(get-map($c, 'n800'), $alpha: -0.7),
|
|
9
|
+
modal_close: get-map($c, 'n700'),
|
|
10
|
+
modal_close_hover_bg: get-map($c, 'b100'),
|
|
11
|
+
modal_success_title: get-map($c, 'success600'),
|
|
12
|
+
modal_success_title_background: get-map($c, 'g100'),
|
|
13
|
+
modal_success_icon_background: get-map($c, 'success600'),
|
|
14
|
+
);
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@import './../colors';
|
|
2
|
+
@import '@/styles/functions';
|
|
3
|
+
|
|
4
|
+
$c: $default-colors;
|
|
5
|
+
$navigation: (
|
|
6
|
+
breadcrumbs: get-map($c, 'n600'),
|
|
7
|
+
breadcrumbs_hover: get-map($c, 'b500'),
|
|
8
|
+
filters: get-map($c, 'n700'),
|
|
9
|
+
filters_selected: get-map($c, 'g700'),
|
|
10
|
+
filters_active: get-map($c, 'n700'),
|
|
11
|
+
filters_bg: get-map($c, 'n50'),
|
|
12
|
+
filters_selected_bg: get-map($c, 'g100'),
|
|
13
|
+
filters_hover_bg: get-map($c, 'n100'),
|
|
14
|
+
filters_active_bg: get-map($c, 'g300'),
|
|
15
|
+
filters_outline: get-map($c, 'n200'),
|
|
16
|
+
filters_selected_outline: get-map($c, 'g200'),
|
|
17
|
+
language-switcher_bg: get-map($c, 'n50'),
|
|
18
|
+
language-switcher_a: get-map($c, 'n900'),
|
|
19
|
+
language-switcher_a_selected: get-map($c, 'b700'),
|
|
20
|
+
language-switcher_a_hover: get-map($c, 'b800'),
|
|
21
|
+
more-menu: get-map($c, 'n700'),
|
|
22
|
+
more-menu_hover_button_bg: get-map($c, 'b100'),
|
|
23
|
+
more-menu_menu_bg: get-map($c, 'white'),
|
|
24
|
+
more-menu_menu_shadow: rgba(0 0 0 / 10%),
|
|
25
|
+
navigation-menu: get-map($c, 'n700'),
|
|
26
|
+
navigation-menu_active: get-map($c, 'b700'),
|
|
27
|
+
navigation-menu_bg: get-map($c, 'white'),
|
|
28
|
+
navigation-menu_link_bg: get-map($c, 'white'),
|
|
29
|
+
navigation-menu_link_hover_bg: get-map($c, 'n50'),
|
|
30
|
+
navigation-menu_link_active_bg: get-map($c, 'b100'),
|
|
31
|
+
navigation-menu_profile-picture_border: get-map($c, 'n700'),
|
|
32
|
+
share-links: get-map($c, 'n800'),
|
|
33
|
+
share-links_muted: get-map($c, 'n600'),
|
|
34
|
+
tabs: get-map($c, 'n700'),
|
|
35
|
+
tabs_selected: get-map($c, 'b700'),
|
|
36
|
+
tabs_bg: get-map($c, 'white'),
|
|
37
|
+
tabs_selected_bg: get-map($c, 'b100'),
|
|
38
|
+
tabs_border: get-map($c, 'n100'),
|
|
39
|
+
tags: get-map($c, 'b700'),
|
|
40
|
+
tags_light: get-map($c, 'p500'),
|
|
41
|
+
);
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@import './../colors';
|
|
2
|
+
@import '@/styles/functions';
|
|
3
|
+
|
|
4
|
+
$c: $default-colors;
|
|
5
|
+
$text: (
|
|
6
|
+
collapsible-section_bg: get-map($c, 'white'),
|
|
7
|
+
collapsible-section_border: get-map($c, 'n500'),
|
|
8
|
+
collapsible-section_icon: get-map($c, 'n900'),
|
|
9
|
+
collapsible-section_icon_hover: get-map($c, 'b100'),
|
|
10
|
+
collapsible-section_discrete-links_link_hover: get-map($c, 'b700'),
|
|
11
|
+
empty-state-box: get-map($c, 'n700'),
|
|
12
|
+
empty-state-box_error_border: get-map($c, 'error600'),
|
|
13
|
+
helper-text-box: get-map($c, 'n700'),
|
|
14
|
+
helper-text-box_bg: get-map($c, 'info50'),
|
|
15
|
+
helper-text-box_warning_bg: get-map($c, 'warning50'),
|
|
16
|
+
helper-text-box_error_bg: get-map($c, 'error50'),
|
|
17
|
+
helper-text-box_success_bg: get-map($c, 'success50'),
|
|
18
|
+
highlighted-text-box_bg: get-map($c, 'n50'),
|
|
19
|
+
highlighted-text-box_secondary_bg: get-map($c, 'y50'),
|
|
20
|
+
highlighted-text-box_tertiary_bg: get-map($c, 'error50'),
|
|
21
|
+
highlighted-text-box_subtle_bg: get-map($c, 'white'),
|
|
22
|
+
highlighted-text-box_bold_bg:
|
|
23
|
+
linear-gradient(135deg, get-map($c, 'b100'), get-map($c, 'g50')),
|
|
24
|
+
highlighted-text-box_subtle_gradient:
|
|
25
|
+
linear-gradient(rgba(255 255 255 / 0%), rgba(255 255 255 / 100%)),
|
|
26
|
+
highlighted-text-box_bold_icon: get-map($c, 'b500'),
|
|
27
|
+
highlighted-text-box_subtle_border: get-map($c, 'n100'),
|
|
28
|
+
highlighted-text-box_muted_bg: get-map($c, 'n40'),
|
|
29
|
+
highlighted-text-box_muted_icon: get-map($c, 'n600'),
|
|
30
|
+
page-heading_bg:
|
|
31
|
+
linear-gradient(180deg, get-map($c, 'n50') 0%, rgb(240 245 255 / 0%) 100%),
|
|
32
|
+
page-heading_subtitle: get-map($c, 'n700'),
|
|
33
|
+
pill: get-map($c, 'n900'),
|
|
34
|
+
pill_highlighted: get-map($c, 'n700'),
|
|
35
|
+
pill_registered: get-map($c, 'g700'),
|
|
36
|
+
pill_bg: get-map($c, 'n200'),
|
|
37
|
+
pill_subtle_bg: get-map($c, 'white'),
|
|
38
|
+
pill_highlighted_bg: get-map($c, 'y300'),
|
|
39
|
+
pill_information_bg: get-map($c, 'g100'),
|
|
40
|
+
pill_registered_bg: get-map($c, 'g50'),
|
|
41
|
+
pill_subtle_border: get-map($c, 'n200'),
|
|
42
|
+
status-banner_bg: get-map($c, 'y50'),
|
|
43
|
+
status-banner_success_bg: get-map($c, 'success50'),
|
|
44
|
+
status-banner_success_icon: get-map($c, 'success600'),
|
|
45
|
+
status-banner_error_bg: get-map($c, 'error50'),
|
|
46
|
+
status-banner_error_icon: get-map($c, 'error600'),
|
|
47
|
+
);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@import './../colors';
|
|
2
|
+
@import '@/styles/functions';
|
|
3
|
+
|
|
4
|
+
$c: $default-colors;
|
|
5
|
+
$user: (
|
|
6
|
+
contributor: get-map($c, 'n700'),
|
|
7
|
+
contributor_bg: get-map($c, 'white'),
|
|
8
|
+
contributor_medium_bg: get-map($c, 'n200'),
|
|
9
|
+
contributor_border: get-map($c, 'white'),
|
|
10
|
+
contributor_inner-border: get-map($c, 'n200'),
|
|
11
|
+
contributor_label: get-map($c, 'n600'),
|
|
12
|
+
member_highlighted_name: get-map($c, 'p500'),
|
|
13
|
+
member_additional-content: get-map($c, 'n700'),
|
|
14
|
+
member_small: get-map($c, 'n700'),
|
|
15
|
+
profile-picture_img_bg: get-map($c, 'b50'),
|
|
16
|
+
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import 'common';
|
|
1
|
+
@import 'common';
|
|
@@ -10,5 +10,5 @@ interface Props {
|
|
|
10
10
|
/** The content to display in the box */
|
|
11
11
|
children: React.ReactNode | JSX.Element | string;
|
|
12
12
|
}
|
|
13
|
-
declare const HelperTextBox: ({ type, className, heading, children }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const HelperTextBox: ({ type, className, heading, children, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export default HelperTextBox;
|
|
@@ -12,5 +12,5 @@ interface Props {
|
|
|
12
12
|
text: string;
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
}
|
|
15
|
-
declare const HideShowTextBox: ({ className, show, hide, text, children }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
15
|
+
declare const HideShowTextBox: ({ className, show, hide, text, children, }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
16
16
|
export default HideShowTextBox;
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './reducer';
|