@apolitical/component-library 1.14.14 → 1.15.0-beta.2
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/index.js +14 -14
- package/index.mjs +1328 -1273
- package/navigation/index.d.ts +1 -0
- package/navigation/tabs/index.d.ts +1 -0
- package/navigation/tabs/tabs.d.ts +21 -0
- package/navigation/tabs/tabs.mocks.d.ts +14 -0
- package/package.json +8 -7
- package/style.css +1 -1
- package/styles/base/_fonts.scss +1 -1
- package/styles/base/_layout.scss +2 -0
- package/styles/base/_overlays.scss +1 -2
- package/styles/base/buttons/_button-wrapper.scss +1 -2
- package/styles/base/buttons/_buttons.scss +1 -2
- package/styles/variables/colors/_theme.scss +5 -0
- package/testing/helpers.d.ts +1 -1
- package/fonts/Moderat-Black-Italic.woff2 +0 -0
- package/fonts/Moderat-Black.woff2 +0 -0
- package/fonts/Moderat-Bold-Italic.woff2 +0 -0
- package/fonts/Moderat-Bold.woff2 +0 -0
- package/fonts/Moderat-Medium-Italic.woff2 +0 -0
- package/fonts/Moderat-Medium.woff2 +0 -0
package/styles/base/_fonts.scss
CHANGED
package/styles/base/_layout.scss
CHANGED
|
@@ -12,8 +12,7 @@ $button-wrapper-button: ('margin': 12);
|
|
|
12
12
|
padding: 0;
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-flow: row wrap;
|
|
15
|
-
|
|
16
|
-
align-content: center;
|
|
15
|
+
place-content: center;
|
|
17
16
|
|
|
18
17
|
li, > button, > .button {
|
|
19
18
|
margin: 0 px-to-rem(map.get($button-wrapper-button, 'margin')) px-to-rem(map.get($button-wrapper-button, 'margin')) px-to-rem(map.get($button-wrapper-button, 'margin'));
|
|
@@ -243,6 +243,11 @@ $theme: (
|
|
|
243
243
|
navigation-menu_profile-picture_border: map.get($c, 'n700'),
|
|
244
244
|
share-links: map.get($c, 'n800'),
|
|
245
245
|
share-links_muted: map.get($c, 'n600'),
|
|
246
|
+
tabs: map.get($c, 'n700'),
|
|
247
|
+
tabs_selected: map.get($c, 'b700'),
|
|
248
|
+
tabs_bg: map.get($c, 'white'),
|
|
249
|
+
tabs_selected_bg: map.get($c, 'b100'),
|
|
250
|
+
tabs_border: map.get($c, 'n100'),
|
|
246
251
|
tags: map.get($c, 'b700'),
|
|
247
252
|
tags_light: map.get($c, 'p500'),
|
|
248
253
|
// Text
|
package/testing/helpers.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const defineHtmlElementWidth: (width: number) => void;
|
|
2
2
|
export declare const defineViewportWidth: (width: number) => void;
|
|
3
|
-
export declare const setWindowLocation: (
|
|
3
|
+
export declare const setWindowLocation: (type: string, value: string) => void;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/fonts/Moderat-Bold.woff2
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|