@spscommerce/ds-shared 5.2.5 → 5.5.0-ie
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/package.json +7 -7
- package/rollup.config.js +22 -0
- package/vite.config.js +1 -1
- package/lib/bar-chart.d.ts +0 -12
- package/lib/button.d.ts +0 -34
- package/lib/clickable-tag.d.ts +0 -4
- package/lib/datetime.d.ts +0 -36
- package/lib/examples.d.ts +0 -41
- package/lib/feedback.d.ts +0 -15
- package/lib/filter-tile.d.ts +0 -7
- package/lib/grid.d.ts +0 -2
- package/lib/growler.d.ts +0 -12
- package/lib/i18n.d.ts +0 -4
- package/lib/icon.d.ts +0 -186
- package/lib/index.cjs.js +0 -1
- package/lib/index.d.ts +0 -29
- package/lib/index.es.js +0 -507
- package/lib/insight-card.d.ts +0 -15
- package/lib/insight-tile.d.ts +0 -15
- package/lib/key-value-list-item.d.ts +0 -4
- package/lib/modal.d.ts +0 -12
- package/lib/option-list.d.ts +0 -32
- package/lib/pagination.d.ts +0 -2
- package/lib/positioning.d.ts +0 -14
- package/lib/ring-size.d.ts +0 -5
- package/lib/spinner.d.ts +0 -5
- package/lib/sps-action.d.ts +0 -25
- package/lib/stacked-horizontal-bar-chart.d.ts +0 -7
- package/lib/table.d.ts +0 -10
- package/lib/tabs.d.ts +0 -13
- package/lib/tag.d.ts +0 -9
- package/lib/task-queue.d.ts +0 -24
- package/lib/tooltip.d.ts +0 -13
- package/lib/translations.d.ts +0 -130
- package/lib/wizard-substep-condition.d.ts +0 -6
- package/lib/z-strata.d.ts +0 -7
package/lib/table.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare enum SortDirection {
|
|
2
|
-
ASCENDING = "ascending",
|
|
3
|
-
DESCENDING = "descending"
|
|
4
|
-
}
|
|
5
|
-
export interface SortedColumn {
|
|
6
|
-
key: string;
|
|
7
|
-
direction: SortDirection;
|
|
8
|
-
}
|
|
9
|
-
export declare type SortChangeHandler = (newSort: SortedColumn[]) => void;
|
|
10
|
-
export declare type SpsTableCellWrapWidth = 200 | 300 | 400 | 500 | 600;
|
package/lib/tabs.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { SpsIcon } from "./icon";
|
|
2
|
-
export interface SpsTab {
|
|
3
|
-
/** id of the tab itself. */
|
|
4
|
-
id?: string;
|
|
5
|
-
/**
|
|
6
|
-
* id of the pane associated with the tab, which is
|
|
7
|
-
* displayed when the tab is active.
|
|
8
|
-
*/
|
|
9
|
-
controlsId?: string;
|
|
10
|
-
icon?: SpsIcon;
|
|
11
|
-
label: string;
|
|
12
|
-
tag?: string;
|
|
13
|
-
}
|
package/lib/tag.d.ts
DELETED
package/lib/task-queue.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { SpsIcon } from "./icon";
|
|
2
|
-
import type { SpsActionMethod } from "./sps-action";
|
|
3
|
-
/** The possible statuses for a task in the Task Queue. */
|
|
4
|
-
export declare enum SpsTaskStatus {
|
|
5
|
-
COMPLETED = "completed",
|
|
6
|
-
ERRORED = "errored",
|
|
7
|
-
WARNING = "warning",
|
|
8
|
-
IN_PROGRESS = "in_progress"
|
|
9
|
-
}
|
|
10
|
-
export declare const SpsTaskStatusIcons: Readonly<{
|
|
11
|
-
completed: SpsIcon;
|
|
12
|
-
errored: SpsIcon;
|
|
13
|
-
warning: SpsIcon;
|
|
14
|
-
in_progress: string;
|
|
15
|
-
}>;
|
|
16
|
-
/** Represents a task in the Task Queue. */
|
|
17
|
-
export interface SpsTask {
|
|
18
|
-
status: SpsTaskStatus;
|
|
19
|
-
unread: boolean;
|
|
20
|
-
heading: string;
|
|
21
|
-
subheading: any;
|
|
22
|
-
actions?: SpsActionMethod[];
|
|
23
|
-
}
|
|
24
|
-
export declare const TASK_QUEUE_NOTIFICATION_DURATION_MS = 5000;
|
package/lib/tooltip.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare const TOOLTIP_HIDE_DELAY_MS_DEFAULT = 1000;
|
|
2
|
-
export declare enum TooltipShowTrigger {
|
|
3
|
-
MANUAL = "manual",
|
|
4
|
-
MOUSEOVER = "mouseover",
|
|
5
|
-
CLICK = "click"
|
|
6
|
-
}
|
|
7
|
-
export declare enum TooltipKind {
|
|
8
|
-
DEFAULT = "default",
|
|
9
|
-
HELP = "help",
|
|
10
|
-
ERROR = "error",
|
|
11
|
-
WARNING = "warning",
|
|
12
|
-
CONTAINER = "container"
|
|
13
|
-
}
|
package/lib/translations.d.ts
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
advancedSearch: {
|
|
3
|
-
clear: string;
|
|
4
|
-
search: string;
|
|
5
|
-
};
|
|
6
|
-
button: {
|
|
7
|
-
spinningTitle: string;
|
|
8
|
-
};
|
|
9
|
-
columnChooser: {
|
|
10
|
-
removeButton: string;
|
|
11
|
-
};
|
|
12
|
-
contentRow: {
|
|
13
|
-
collapse: string;
|
|
14
|
-
expand: string;
|
|
15
|
-
};
|
|
16
|
-
datepicker: {
|
|
17
|
-
calendar: {
|
|
18
|
-
prevMonth: string;
|
|
19
|
-
nextMonth: string;
|
|
20
|
-
};
|
|
21
|
-
preset: {
|
|
22
|
-
custom: string;
|
|
23
|
-
today: string;
|
|
24
|
-
sevenDays: string;
|
|
25
|
-
thirtyDays: string;
|
|
26
|
-
sixtyDays: string;
|
|
27
|
-
ninetyDays: string;
|
|
28
|
-
oneYear: string;
|
|
29
|
-
};
|
|
30
|
-
presetsLabel: string;
|
|
31
|
-
};
|
|
32
|
-
fileUpload: {
|
|
33
|
-
acceptedTypes: string;
|
|
34
|
-
acceptedTypes_plural: string;
|
|
35
|
-
cancelled: string;
|
|
36
|
-
cancelled_plural: string;
|
|
37
|
-
close: string;
|
|
38
|
-
instructions: string;
|
|
39
|
-
instructions_plural: string;
|
|
40
|
-
maximumSize: string;
|
|
41
|
-
processing: string;
|
|
42
|
-
title: string;
|
|
43
|
-
};
|
|
44
|
-
filterPanel: {
|
|
45
|
-
clear: string;
|
|
46
|
-
title: string;
|
|
47
|
-
filterPlaceholder: string;
|
|
48
|
-
};
|
|
49
|
-
focusedTask: {
|
|
50
|
-
close: string;
|
|
51
|
-
};
|
|
52
|
-
growler: {
|
|
53
|
-
dismiss: string;
|
|
54
|
-
};
|
|
55
|
-
insightCard: {
|
|
56
|
-
all: string;
|
|
57
|
-
partnerCount: string;
|
|
58
|
-
partners: string;
|
|
59
|
-
};
|
|
60
|
-
insightTile: {
|
|
61
|
-
all: string;
|
|
62
|
-
partnerCount: string;
|
|
63
|
-
partners: string;
|
|
64
|
-
};
|
|
65
|
-
label: {
|
|
66
|
-
errors: {
|
|
67
|
-
dateConstraint: {
|
|
68
|
-
max: string;
|
|
69
|
-
min: string;
|
|
70
|
-
};
|
|
71
|
-
dateFormat: string;
|
|
72
|
-
dateRangeOrder: string;
|
|
73
|
-
dateValidity: string;
|
|
74
|
-
max: string;
|
|
75
|
-
maxLength: string;
|
|
76
|
-
min: string;
|
|
77
|
-
minLength: string;
|
|
78
|
-
required: string;
|
|
79
|
-
};
|
|
80
|
-
stronglySuggested: string;
|
|
81
|
-
};
|
|
82
|
-
listActionBar: {
|
|
83
|
-
clearSelected: string;
|
|
84
|
-
itemsSelected: string;
|
|
85
|
-
};
|
|
86
|
-
listToolbar: {
|
|
87
|
-
advancedSearchToggle: string;
|
|
88
|
-
};
|
|
89
|
-
modal: {
|
|
90
|
-
close: string;
|
|
91
|
-
defaultButtonLabel: string;
|
|
92
|
-
defaultTitle: {
|
|
93
|
-
general: string;
|
|
94
|
-
info: string;
|
|
95
|
-
success: string;
|
|
96
|
-
warning: string;
|
|
97
|
-
"serious-warning": string;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
pagination: {
|
|
101
|
-
nextPage: string;
|
|
102
|
-
ofMany: string;
|
|
103
|
-
ofPageCount: string;
|
|
104
|
-
page: string;
|
|
105
|
-
prevPage: string;
|
|
106
|
-
};
|
|
107
|
-
progressBar: {
|
|
108
|
-
closeButtonTitle: string;
|
|
109
|
-
};
|
|
110
|
-
searchResultsBar: {
|
|
111
|
-
clear: string;
|
|
112
|
-
count: string;
|
|
113
|
-
matchingResults: string;
|
|
114
|
-
};
|
|
115
|
-
select: {
|
|
116
|
-
defaultPlaceholder: string;
|
|
117
|
-
};
|
|
118
|
-
slackLink: {
|
|
119
|
-
label: string;
|
|
120
|
-
};
|
|
121
|
-
spinner: {
|
|
122
|
-
defaultAltText: string;
|
|
123
|
-
};
|
|
124
|
-
taskQueue: {
|
|
125
|
-
clearCompleted: string;
|
|
126
|
-
newTask: string;
|
|
127
|
-
noTasks: string;
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
export default _default;
|