@pantheon-systems/pds-toolkit-react 1.0.0-dev.269 → 1.0.0-dev.270

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.
@@ -507,6 +507,10 @@ declare const svgData: {
507
507
  readonly path: "M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z";
508
508
  readonly width: "512";
509
509
  };
510
+ readonly penField: {
511
+ readonly path: "M534.4 48C553.1 29.2 583.5 29.2 602.3 48L624.2 69.9C643.1 88.8 642.9 119.5 623.8 138.1L584 177L494.7 87.7L534.4 48zM472.1 110.4L561.2 199.5L416 341.6C409.1 348.4 400.7 353.5 391.5 356.6L320 380.5C311.4 383.4 301.9 381.1 295.4 374.7C288.9 368.3 286.7 358.8 289.6 350.1L313.4 278.8C316.5 269.4 321.8 260.8 328.8 253.8L472.1 110.4zM64.4 240C64.4 195.8 100.2 160 144.4 160L256.4 160C274.1 160 288.4 174.3 288.4 192C288.4 209.7 274.1 224 256.4 224L144.4 224C135.6 224 128.4 231.2 128.4 240L128.4 464C128.4 472.8 135.6 480 144.4 480L496.4 480C505.2 480 512.4 472.8 512.4 464L512.4 352C512.4 334.3 526.7 320 544.4 320C562.1 320 576.4 334.3 576.4 352L576.4 464C576.4 508.2 540.6 544 496.4 544L144.4 544C100.2 544 64.4 508.2 64.4 464L64.4 240zM224.4 320C242.1 320 256.4 334.3 256.4 352C256.4 369.7 242.1 384 224.4 384C206.7 384 192.4 369.7 192.4 352C192.4 334.3 206.7 320 224.4 320z";
512
+ readonly width: "640";
513
+ };
510
514
  readonly phone: {
511
515
  readonly path: "M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z";
512
516
  readonly width: "512";
@@ -3,11 +3,11 @@ import './inline-message.css';
3
3
  /**
4
4
  * The type of message to display.
5
5
  */
6
- type MessageType = 'info' | 'success' | 'warning' | 'critical' | 'working';
6
+ export type InlineMessageType = 'info' | 'success' | 'warning' | 'critical' | 'working';
7
7
  /**
8
8
  * Labels for each message type.
9
9
  */
10
- type TypeLabels = Record<MessageType, string>;
10
+ type TypeLabels = Record<InlineMessageType, string>;
11
11
  export interface InlineMessageProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
12
12
  /**
13
13
  * Title text.
@@ -20,7 +20,7 @@ export interface InlineMessageProps extends Omit<ComponentPropsWithoutRef<'div'>
20
20
  /**
21
21
  * Message type.
22
22
  */
23
- type: MessageType;
23
+ type: InlineMessageType;
24
24
  /**
25
25
  * Message type labels. Provide translation strings if needed.
26
26
  */
@@ -1,7 +1,7 @@
1
1
  import React, { ComponentPropsWithoutRef, MouseEvent, ReactNode } from 'react';
2
2
  import './section-message.css';
3
- type MessageType = 'info' | 'success' | 'warning' | 'critical' | 'discovery';
4
- type TypeLabels = Record<MessageType, string>;
3
+ export type SectionMessageType = 'info' | 'success' | 'warning' | 'critical' | 'discovery';
4
+ type TypeLabels = Record<SectionMessageType, string>;
5
5
  export interface SectionMessageProps extends ComponentPropsWithoutRef<'div'> {
6
6
  /**
7
7
  * Label for dismiss button. Provide a translation string if needed.
@@ -30,7 +30,7 @@ export interface SectionMessageProps extends ComponentPropsWithoutRef<'div'> {
30
30
  /**
31
31
  * Message type.
32
32
  */
33
- type: MessageType;
33
+ type: SectionMessageType;
34
34
  /**
35
35
  * Message type labels. Provide translation strings if needed.
36
36
  */