@apolitical/component-library 3.0.2-ac.2 → 3.0.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.
@@ -16,6 +16,11 @@ $li: (
16
16
  margin: 0 0 px-to-rem(get-map($ul, 'margin-bottom')) 0;
17
17
  padding-left: px-to-rem(get-map($ul, 'padding-left'));
18
18
  display: block;
19
+
20
+ &.unstyled {
21
+ list-style: none;
22
+ padding-left: 0;
23
+ }
19
24
  }
20
25
 
21
26
  li {
@@ -5,6 +5,9 @@ $highlight: (
5
5
  'height': 4,
6
6
  'margin-top': 12,
7
7
  'border-radius': 8,
8
+ 'width_position_horizontal': 4,
9
+ 'height_position_horizontal': 24,
10
+ 'bottom_position_horizontal': 26,
8
11
  );
9
12
  $pre-title: (
10
13
  'font-size': 14,
@@ -104,6 +107,17 @@ $count-icon: (
104
107
  left: 50%;
105
108
  transform: translateX(-50%);
106
109
  }
110
+ } @else if $align == 'left' {
111
+ padding-left: px-to-rem(
112
+ get-map($highlight, 'height') + get-map($highlight, 'margin-top')
113
+ );
114
+
115
+ &::after {
116
+ width: px-to-rem(get-map($highlight, 'width_position_horizontal'));
117
+ height: px-to-rem(get-map($highlight, 'height_position_horizontal'));
118
+ bottom: px-to-rem(get-map($highlight, 'bottom_position_horizontal'));
119
+ max-height: 100%;
120
+ }
107
121
  }
108
122
  }
109
123
 
@@ -7,7 +7,9 @@ $base: (
7
7
  background: get-map($c, 'white'),
8
8
  highlight_bg: get-map($c, 'g300'),
9
9
  title: get-map($c, 'n900'),
10
+ title_secondary: get-map($c, 'p500'),
10
11
  subtitle: get-map($c, 'n800'),
12
+ subtitle_secondary: get-map($c, 'n700'),
11
13
  text: get-map($c, 'n900'),
12
14
  text_error: get-map($c, 'error600'),
13
15
  text_line: get-map($c, 'g50'),
@@ -11,9 +11,4 @@ $general: (
11
11
  return_to_nav_bg_before_after: get-map($c, 'b700'),
12
12
  tooltip: get-map($c, 'white'),
13
13
  tooltip_bg: color.adjust(get-map($c, 'n900'), $alpha: -0.1),
14
- progress_tracker_line_bg: get-map($c, 'n100'),
15
- progress_tracker_line_bg_active: get-map($c, 'b700'),
16
- progress_tracker_dot_bg: get-map($c, 'n100'),
17
- progress_tracker_dot_bg_active: get-map($c, 'white'),
18
- progress_tracker_dot_bg_completed: get-map($c, 'b700'),
19
14
  );
@@ -1 +0,0 @@
1
- export function generateConditions(conditions: any): any;
@@ -1,2 +0,0 @@
1
- export { default as PasswordForm } from './password-form';
2
- export * from './helper';
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import { FormValues, IFormValues } from '../../components/form/form.types';
3
- interface Props {
4
- /** Indicated for whether to show the current password field */
5
- isPasswordChange?: boolean;
6
- /** The functions being passed to the form */
7
- functions: {
8
- /** The function to call to create the password */
9
- createPassword: (arg: IFormValues) => Promise<void>;
10
- /** The function to call when onSuccess fails */
11
- onCatch?: (error?: unknown) => void;
12
- /** The function to call when the form submission fails */
13
- onFailure?: (arg: IFormValues, arg2?: FormValues) => void;
14
- /** The function to call when the form is successfully submitted */
15
- onSuccess?: (arg: IFormValues) => Promise<void>;
16
- /** The function to call when the cancel button is clicked */
17
- onCancel?: () => void;
18
- };
19
- }
20
- declare const PasswordForm: React.FC<Props>;
21
- export default PasswordForm;
@@ -1 +0,0 @@
1
- export { default as ProgressTracker } from './progress-tracker';
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- interface Props {
3
- /** The current step */
4
- currentStep?: number;
5
- /** The total number of steps */
6
- steps?: number;
7
- }
8
- declare const NavigationDots: React.FC<Props>;
9
- export default NavigationDots;