wjec-one 4.0.19 → 4.0.20

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/README.md CHANGED
@@ -1181,7 +1181,7 @@ Once the component unmounts, React will set `ref.current` to `null`
1181
1181
  <tbody>
1182
1182
  <tr>
1183
1183
  <td>size</td>
1184
- <td><code>"default" , "large"</code></td>
1184
+ <td><code>"default" , "extraSmall" , "large" , "small"</code></td>
1185
1185
  <td>false</td>
1186
1186
  <td><code>default</code></td>
1187
1187
  <td>Determines the size of the stroke width</td>
package/auth/index.d.ts CHANGED
@@ -125,6 +125,7 @@ type UserPreferences = {
125
125
  role?: Role;
126
126
  subjects?: Subject[];
127
127
  title?: string;
128
+ tutorials?: Record<string, boolean>;
128
129
  };
129
130
 
130
131
  interface Props {
package/index.d.ts CHANGED
@@ -328,7 +328,7 @@ type CircularProgressProps = {
328
328
  /** Determines the size of the stroke width
329
329
  * @default default
330
330
  */
331
- size?: 'default' | 'large';
331
+ size?: 'default' | 'extraSmall' | 'large' | 'small';
332
332
  } & Pick<AriaProperties, 'ariaLabel'>;
333
333
  /**
334
334
  * This component can be used as a generic loading spinner or when passed with the progress prop it can display the current progress
@@ -462,14 +462,7 @@ declare const Popup: WjecOneComponent<PopupProps$2>;
462
462
  /** @jsx jsx */
463
463
 
464
464
  type PopupProps$1 = React__default.ComponentProps<typeof Popup>;
465
- type ContextHelpProps = {
466
- border?: CSSProperties['border'];
467
- maxWidth?: PopupProps$1['maxWidth'];
468
- open?: PopupProps$1['open'];
469
- placement?: PopupProps$1['placement'];
470
- toggle?: PopupProps$1['toggle'];
471
- trigger?: PopupProps$1['trigger'];
472
- } & Pick<AriaProperties, 'ariaDescription' | 'ariaLabel'>;
465
+ type ContextHelpProps = Pick<Partial<PopupProps$1>, 'ariaDescription' | 'ariaLabel' | 'border' | 'maxWidth' | 'onHide' | 'onShow' | 'open' | 'placement' | 'toggle' | 'trigger'>;
473
466
  declare const ContextHelp: WjecOneComponent<ContextHelpProps>;
474
467
 
475
468
  /** @jsx jsx */
@@ -694,8 +687,8 @@ type Props$d = {
694
687
  /** Determines whether the CheckBox is subject to user interaction */
695
688
  disabled?: boolean;
696
689
  /**
697
- * An SVG component that will be rendered to the left of the Checkbox's content. Usually used to denote the purpose of the input field (for example, an envelope icon for "email address")
698
- */
690
+ * An SVG component that will be rendered to the left of the Checkbox's content. Usually used to denote the purpose of the input field (for example, an envelope icon for "email address")
691
+ */
699
692
  icon?: (props: SVGProps<SVGSVGElement>) => SVGComponent;
700
693
  /** The identifier that will be pass through to the underlying HTML element */
701
694
  id?: string;