@popsure/dirty-swan 0.26.3 → 0.26.7
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/dist/assets/checkmark.svg +1 -1
- package/dist/assets/icon-form-dropdown.svg +1 -1
- package/dist/index.css +304 -3
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.js +255 -185
- package/dist/index.js.map +1 -1
- package/dist/lib/components/button/index.d.ts +1 -1
- package/dist/lib/components/cards/cardWithLeftIcon/index.d.ts +2 -2
- package/dist/lib/components/cards/cardWithTopIcon/index.d.ts +2 -2
- package/dist/lib/components/cards/cardWithTopLeftIcon/index.d.ts +2 -2
- package/dist/lib/components/cards/index.d.ts +1 -1
- package/dist/lib/components/downloadButton/index.d.ts +10 -0
- package/dist/lib/index.d.ts +3 -1
- package/dist/lib/models/download.d.ts +1 -0
- package/dist/lib/scss/private/_reset.scss +5 -1
- package/dist/lib/scss/private/base/_display.scss +4 -0
- package/dist/lib/scss/private/base/_spacing.scss +14 -0
- package/dist/lib/scss/private/components/_buttons.scss +4 -2
- package/dist/lib/scss/private/components/assets/checkmark.svg +1 -1
- package/dist/lib/scss/private/components/assets/icon-form-dropdown.svg +1 -1
- package/dist/lib/scss/public/colors/default.scss +33 -0
- package/dist/lib/scss/public/demo.tsx +100 -25
- package/package.json +1 -1
|
@@ -9,5 +9,5 @@ declare const _default: React.ForwardRefExoticComponent<Pick<{
|
|
|
9
9
|
buttonType?: ButtonType | undefined;
|
|
10
10
|
leftIcon?: Icon | undefined;
|
|
11
11
|
loading?: boolean | undefined;
|
|
12
|
-
} & Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "children">, "hidden" | "title" | "className" | "form" | "slot" | "style" | "value" | "onChange" | "dir" | "onBlur" | "onFocus" | "onKeyDown" | "tabIndex" | "onDragEnter" | "onDragOver" | "onDragLeave" | "leftIcon" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeaveCapture" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "loading" | "buttonTitle" | "buttonType"> & React.RefAttributes<
|
|
12
|
+
} & Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "children">, "hidden" | "title" | "className" | "form" | "slot" | "style" | "value" | "onChange" | "dir" | "onBlur" | "onFocus" | "onKeyDown" | "tabIndex" | "onDragEnter" | "onDragOver" | "onDragLeave" | "leftIcon" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeaveCapture" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "loading" | "buttonTitle" | "buttonType"> & React.RefAttributes<HTMLButtonElement>>;
|
|
13
13
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CardProps } from '..';
|
|
3
3
|
import { Icon } from '../icons';
|
|
4
|
-
declare const _default: ({ className, title,
|
|
4
|
+
declare const _default: ({ className, title, cardSize, children, leftIcon, rightIcon, state, dropshadow, ...props }: {
|
|
5
5
|
title: string;
|
|
6
6
|
children: import("react").ReactNode;
|
|
7
7
|
state?: ("actionable" | "static" | "muted") | undefined;
|
|
8
8
|
dropshadow?: boolean | undefined;
|
|
9
9
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
10
|
-
|
|
10
|
+
cardSize?: "big" | "small" | "xsmall" | "medium" | undefined;
|
|
11
11
|
leftIcon?: Icon | undefined;
|
|
12
12
|
rightIcon?: Icon | "arrow" | undefined;
|
|
13
13
|
}) => JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CardProps } from '..';
|
|
3
3
|
import { Icon, IconSize } from '../icons';
|
|
4
|
-
declare const _default: ({ className, title,
|
|
4
|
+
declare const _default: ({ className, title, cardSize, children, topIcon, topIconSize, rightIcon, state, dropshadow, ...props }: {
|
|
5
5
|
title: string;
|
|
6
6
|
children: import("react").ReactNode;
|
|
7
7
|
state?: ("actionable" | "static" | "muted") | undefined;
|
|
@@ -9,7 +9,7 @@ declare const _default: ({ className, title, titleSize, children, topIcon, topIc
|
|
|
9
9
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
10
10
|
topIcon: Icon;
|
|
11
11
|
topIconSize: IconSize;
|
|
12
|
-
|
|
12
|
+
cardSize?: "big" | "small" | "medium" | undefined;
|
|
13
13
|
rightIcon?: Icon | "arrow" | undefined;
|
|
14
14
|
}) => JSX.Element;
|
|
15
15
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CardProps } from '..';
|
|
3
3
|
import { Icon } from '../icons';
|
|
4
|
-
declare const _default: ({ className, title,
|
|
4
|
+
declare const _default: ({ className, title, cardSize, children, leftIcon, rightIcon, state, dropshadow, ...props }: {
|
|
5
5
|
title: string;
|
|
6
6
|
children: import("react").ReactNode;
|
|
7
7
|
state?: ("actionable" | "static" | "muted") | undefined;
|
|
8
8
|
dropshadow?: boolean | undefined;
|
|
9
9
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
10
|
-
|
|
10
|
+
cardSize?: "big" | "small" | "xsmall" | "medium" | undefined;
|
|
11
11
|
leftIcon?: Icon | "logo" | undefined;
|
|
12
12
|
rightIcon?: Icon | "arrow" | undefined;
|
|
13
13
|
}) => JSX.Element;
|
|
@@ -11,6 +11,6 @@ export declare type CardProps = {
|
|
|
11
11
|
state?: CardState;
|
|
12
12
|
dropshadow?: boolean;
|
|
13
13
|
} & JSX.IntrinsicElements['div'];
|
|
14
|
-
export declare const
|
|
14
|
+
export declare const headingForCardSize: (cardSize: 'xsmall' | 'small' | 'medium' | 'big') => string;
|
|
15
15
|
export declare const associatedClassForCardState: (state: CardState, dropshadow: boolean) => string;
|
|
16
16
|
export { CardWithTopLeftIcon, CardWithLeftIcon, CardWithTopIcon, InfoCard, CardButton, };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DownloadStatus } from '../../models/download';
|
|
3
|
+
interface Props {
|
|
4
|
+
downloadStatus: DownloadStatus;
|
|
5
|
+
onDownload: () => void;
|
|
6
|
+
className?: string;
|
|
7
|
+
customFail?: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
declare const DownloadButton: ({ downloadStatus, onDownload, className, customFail, }: Props) => JSX.Element;
|
|
10
|
+
export default DownloadButton;
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import AutocompleteAddress from './components/autocompleteAddress';
|
|
|
5
5
|
import Input from './components/input';
|
|
6
6
|
import MultiDropzone from './components/multiDropzone';
|
|
7
7
|
import DownloadRing from './components/downloadRing';
|
|
8
|
+
import DownloadButton from './components/downloadButton';
|
|
8
9
|
import IbanInput from './components/input/iban';
|
|
9
10
|
import CurrencyInput from './components/input/currency';
|
|
10
11
|
import { BottomModal, RegularModal, BottomOrRegularModal } from './components/modal';
|
|
@@ -15,6 +16,7 @@ import Chip from './components/chip';
|
|
|
15
16
|
import AutoSuggestInput from './components/input/autoSuggestInput';
|
|
16
17
|
import { ComparisonTable, TableRating, TableTrueFalse, TableRowHeader, TableInfoButton, TableHeader } from './components/comparisonTable';
|
|
17
18
|
import SegmentedControl from './components/segmentedControl';
|
|
18
|
-
export { DateSelector, Dropzone, SignaturePad, AutocompleteAddress, Input, MultiDropzone, DownloadRing, IbanInput, BottomModal, RegularModal, BottomOrRegularModal, CardWithTopLeftIcon, CardWithLeftIcon, CardWithTopIcon, InfoCard, CardButton, Button, CurrencyInput, AutoSuggestMultiSelect, Chip, AutoSuggestInput, ComparisonTable, TableRating, TableTrueFalse, TableRowHeader, TableInfoButton, SegmentedControl, };
|
|
19
|
+
export { DateSelector, Dropzone, SignaturePad, AutocompleteAddress, Input, MultiDropzone, DownloadRing, DownloadButton, IbanInput, BottomModal, RegularModal, BottomOrRegularModal, CardWithTopLeftIcon, CardWithLeftIcon, CardWithTopIcon, InfoCard, CardButton, Button, CurrencyInput, AutoSuggestMultiSelect, Chip, AutoSuggestInput, ComparisonTable, TableRating, TableTrueFalse, TableRowHeader, TableInfoButton, SegmentedControl, };
|
|
19
20
|
export type { TableHeader };
|
|
20
21
|
export type { DownloadRingDownloadStatus } from './models/downloadRing';
|
|
22
|
+
export type { DownloadStatus } from './models/download';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type DownloadStatus = 'INITIAL' | 'GENERATING' | 'COMPLETED' | 'FAILED';
|
|
@@ -73,3 +73,17 @@ $valid_areas: (
|
|
|
73
73
|
margin-top: auto;
|
|
74
74
|
margin-bottom: auto;
|
|
75
75
|
}
|
|
76
|
+
|
|
77
|
+
@for $i from 0 through 12 {
|
|
78
|
+
.gap#{$i * 8} {
|
|
79
|
+
gap: $i * 8px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.c-gap#{$i * 8} {
|
|
83
|
+
column-gap: $i * 8px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.r-gap#{$i * 8} {
|
|
87
|
+
row-gap: $i * 8px;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -14,12 +14,14 @@
|
|
|
14
14
|
.p-btn {
|
|
15
15
|
position: relative;
|
|
16
16
|
|
|
17
|
-
display: inline-
|
|
17
|
+
display: inline-flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
18
20
|
|
|
19
21
|
cursor: pointer;
|
|
20
22
|
|
|
21
23
|
height: 48px;
|
|
22
|
-
padding:
|
|
24
|
+
padding: 12px 24px;
|
|
23
25
|
|
|
24
26
|
font-size: 16px;
|
|
25
27
|
font-family: inherit;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<svg width="12" height="9" viewBox="0 0 12 9" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M10.6667 1.5L4.25 7.91667L1.33334 5" stroke="#F4F4F9"
|
|
2
|
+
<path d="M10.6667 1.5L4.25 7.91667L1.33334 5" stroke="#F4F4F9" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
3
3
|
</svg>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<svg width="32" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M6 9L12 15L18 9" stroke="#B4B4BA"
|
|
2
|
+
<path d="M6 9L12 15L18 9" stroke="#B4B4BA" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
3
3
|
</svg>
|
|
@@ -21,12 +21,24 @@ $ds-blue-500: #8bb4ea;
|
|
|
21
21
|
$ds-blue-700: #5f7ba0;
|
|
22
22
|
$ds-blue-900: #2d394a;
|
|
23
23
|
|
|
24
|
+
$ds-glacier-100: #e0f7fe;
|
|
25
|
+
$ds-glacier-300: #aeddec;
|
|
26
|
+
$ds-glacier-500: #8bcbdf;
|
|
27
|
+
$ds-glacier-700: #5d8896;
|
|
28
|
+
$ds-glacier-900: #2d4148;
|
|
29
|
+
|
|
24
30
|
$ds-red-100: #fedede;
|
|
25
31
|
$ds-red-300: #faa0a0;
|
|
26
32
|
$ds-red-500: #e55454;
|
|
27
33
|
$ds-red-700: #c64848;
|
|
28
34
|
$ds-red-900: #4b2525;
|
|
29
35
|
|
|
36
|
+
$ds-pink-100: #ffebf1;
|
|
37
|
+
$ds-pink-300: #ffb1cb;
|
|
38
|
+
$ds-pink-500: #f96092;
|
|
39
|
+
$ds-pink-700: #c0305f;
|
|
40
|
+
$ds-pink-900: #700024;
|
|
41
|
+
|
|
30
42
|
$ds-grey-100: #fafaff;
|
|
31
43
|
$ds-grey-200: #f5f5fa;
|
|
32
44
|
$ds-grey-300: #d2d2d8;
|
|
@@ -41,6 +53,12 @@ $ds-green-500: #84de8a;
|
|
|
41
53
|
$ds-green-700: #5b985f;
|
|
42
54
|
$ds-green-900: #354a2d;
|
|
43
55
|
|
|
56
|
+
$ds-spearmint-100: #e3fff2;
|
|
57
|
+
$ds-spearmint-300: #aaeacc;
|
|
58
|
+
$ds-spearmint-500: #85dcb4;
|
|
59
|
+
$ds-spearmint-700: #599278;
|
|
60
|
+
$ds-spearmint-900: #2b4639;
|
|
61
|
+
|
|
44
62
|
$ds-yellow-100: #fff8e3;
|
|
45
63
|
$ds-yellow-300: #fae3a5;
|
|
46
64
|
$ds-yellow-500: #f7ce5c;
|
|
@@ -84,6 +102,21 @@ $colors: (
|
|
|
84
102
|
'green-500': $ds-green-500,
|
|
85
103
|
'green-700': $ds-green-700,
|
|
86
104
|
'green-900': $ds-green-900,
|
|
105
|
+
'glacier-100': $ds-glacier-100,
|
|
106
|
+
'glacier-300': $ds-glacier-300,
|
|
107
|
+
'glacier-500': $ds-glacier-500,
|
|
108
|
+
'glacier-700': $ds-glacier-700,
|
|
109
|
+
'glacier-900': $ds-glacier-900,
|
|
110
|
+
'spearmint-100': $ds-spearmint-100,
|
|
111
|
+
'spearmint-300': $ds-spearmint-300,
|
|
112
|
+
'spearmint-500': $ds-spearmint-500,
|
|
113
|
+
'spearmint-700': $ds-spearmint-700,
|
|
114
|
+
'spearmint-900': $ds-spearmint-900,
|
|
115
|
+
'pink-100': $ds-pink-100,
|
|
116
|
+
'pink-300': $ds-pink-300,
|
|
117
|
+
'pink-500': $ds-pink-500,
|
|
118
|
+
'pink-700': $ds-pink-700,
|
|
119
|
+
'pink-900': $ds-pink-900,
|
|
87
120
|
'yellow-100': $ds-yellow-100,
|
|
88
121
|
'yellow-300': $ds-yellow-300,
|
|
89
122
|
'yellow-500': $ds-yellow-500,
|
|
@@ -1,31 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
const colors = [
|
|
4
|
-
{
|
|
5
|
-
name: 'Blue 100',
|
|
6
|
-
code: 'blue-100',
|
|
7
|
-
hex: '#e5f0ff',
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
name: 'Blue 300',
|
|
11
|
-
code: 'blue-300',
|
|
12
|
-
hex: '#b0cdf3',
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
name: 'Blue 500',
|
|
16
|
-
code: 'blue-500',
|
|
17
|
-
hex: '#8bb4ea',
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
name: 'Blue 700',
|
|
21
|
-
code: 'blue-700',
|
|
22
|
-
hex: '#5f7ba0',
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
name: 'Blue 900',
|
|
26
|
-
code: 'blue-900',
|
|
27
|
-
hex: '#2d394a',
|
|
28
|
-
},
|
|
29
4
|
{
|
|
30
5
|
name: 'Primary 25',
|
|
31
6
|
code: 'primary-25',
|
|
@@ -61,6 +36,56 @@ const colors = [
|
|
|
61
36
|
code: 'primary-900',
|
|
62
37
|
hex: '#2e2e4c',
|
|
63
38
|
},
|
|
39
|
+
{
|
|
40
|
+
name: 'Blue 100',
|
|
41
|
+
code: 'blue-100',
|
|
42
|
+
hex: '#e5f0ff',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: 'Blue 300',
|
|
46
|
+
code: 'blue-300',
|
|
47
|
+
hex: '#b0cdf3',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: 'Blue 500',
|
|
51
|
+
code: 'blue-500',
|
|
52
|
+
hex: '#8bb4ea',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'Blue 700',
|
|
56
|
+
code: 'blue-700',
|
|
57
|
+
hex: '#5f7ba0',
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: 'Blue 900',
|
|
61
|
+
code: 'blue-900',
|
|
62
|
+
hex: '#2d394a',
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: 'Glacier 100',
|
|
66
|
+
code: 'glacier-100',
|
|
67
|
+
hex: '#e0f7fe',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: 'Glacier 300',
|
|
71
|
+
code: 'glacier-300',
|
|
72
|
+
hex: '#aeddec',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: 'Glacier 500',
|
|
76
|
+
code: 'glacier-500',
|
|
77
|
+
hex: '#8bcbdf',
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name: 'Glacier 700',
|
|
81
|
+
code: 'glacier-700',
|
|
82
|
+
hex: '#5d8896',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: 'Glacier 900',
|
|
86
|
+
code: 'glacier-900',
|
|
87
|
+
hex: '#2d4148',
|
|
88
|
+
},
|
|
64
89
|
{
|
|
65
90
|
name: 'Red 100',
|
|
66
91
|
code: 'red-100',
|
|
@@ -86,6 +111,31 @@ const colors = [
|
|
|
86
111
|
code: 'red-900',
|
|
87
112
|
hex: '#4b2525',
|
|
88
113
|
},
|
|
114
|
+
{
|
|
115
|
+
name: 'Pink 100',
|
|
116
|
+
code: 'pink-100',
|
|
117
|
+
hex: '#ffebf1',
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
name: 'Pink 300',
|
|
121
|
+
code: 'pink-300',
|
|
122
|
+
hex: '#ffb1cb',
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
name: 'Pink 500',
|
|
126
|
+
code: 'pink-500',
|
|
127
|
+
hex: '#f96092',
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
name: 'Pink 700',
|
|
131
|
+
code: 'pink-700',
|
|
132
|
+
hex: '#c0305f',
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
name: 'Pink 900',
|
|
136
|
+
code: 'pink-900',
|
|
137
|
+
hex: '#700024',
|
|
138
|
+
},
|
|
89
139
|
{
|
|
90
140
|
name: 'Grey 100',
|
|
91
141
|
code: 'grey-100',
|
|
@@ -146,6 +196,31 @@ const colors = [
|
|
|
146
196
|
code: 'green-900',
|
|
147
197
|
hex: '#354a2d',
|
|
148
198
|
},
|
|
199
|
+
{
|
|
200
|
+
name: 'Spearmint 100',
|
|
201
|
+
code: 'spearmint-100',
|
|
202
|
+
hex: '#e3fff2',
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
name: 'Spearmint 300',
|
|
206
|
+
code: 'spearmint-300',
|
|
207
|
+
hex: '#aaeacc',
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
name: 'Spearmint 500',
|
|
211
|
+
code: 'spearmint-500',
|
|
212
|
+
hex: '#85dcb4',
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
name: 'Spearmint 700',
|
|
216
|
+
code: 'spearmint-700',
|
|
217
|
+
hex: '#599278',
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
name: 'Spearmint 900',
|
|
221
|
+
code: 'spearmint-900',
|
|
222
|
+
hex: '#2b4639',
|
|
223
|
+
},
|
|
149
224
|
{
|
|
150
225
|
name: 'Yellow 100',
|
|
151
226
|
code: 'yellow-100',
|