@warp-ds/css 1.2.0 → 1.3.0-next.1
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/component-classes/index.d.ts +62 -61
- package/component-classes/index.js +24 -23
- package/package.json +1 -1
|
@@ -1,21 +1,3 @@
|
|
|
1
|
-
export namespace attention {
|
|
2
|
-
const base: string;
|
|
3
|
-
const tooltip: string;
|
|
4
|
-
const callout: string;
|
|
5
|
-
const highlight: string;
|
|
6
|
-
const popover: string;
|
|
7
|
-
const arrowBase: string;
|
|
8
|
-
const arrowDirectionLeft: string;
|
|
9
|
-
const arrowDirectionRight: string;
|
|
10
|
-
const arrowDirectionBottom: string;
|
|
11
|
-
const arrowDirectionTop: string;
|
|
12
|
-
const arrowTooltip: string;
|
|
13
|
-
const arrowCallout: string;
|
|
14
|
-
const arrowPopover: string;
|
|
15
|
-
const arrowHighlight: string;
|
|
16
|
-
const content: string;
|
|
17
|
-
const notCallout: string;
|
|
18
|
-
}
|
|
19
1
|
export namespace pageIndicator {
|
|
20
2
|
const wrapper: string;
|
|
21
3
|
const dot: string;
|
|
@@ -23,21 +5,20 @@ export namespace pageIndicator {
|
|
|
23
5
|
const active: string;
|
|
24
6
|
}
|
|
25
7
|
export namespace ribbon {
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
export const roundedTopLeftBottomRight: string;
|
|
8
|
+
const base: string;
|
|
9
|
+
const info: string;
|
|
10
|
+
const success: string;
|
|
11
|
+
const warning: string;
|
|
12
|
+
const error: string;
|
|
13
|
+
const disabled: string;
|
|
14
|
+
const sponsored: string;
|
|
15
|
+
const neutral: string;
|
|
16
|
+
const roundedTopRightBottomLeft: string;
|
|
17
|
+
const roundedTopLeftBottomRight: string;
|
|
37
18
|
}
|
|
38
19
|
export namespace badge {
|
|
39
|
-
const
|
|
40
|
-
export {
|
|
20
|
+
const base_1: string;
|
|
21
|
+
export { base_1 as base };
|
|
41
22
|
const neutral_1: string;
|
|
42
23
|
export { neutral_1 as neutral };
|
|
43
24
|
const info_1: string;
|
|
@@ -91,28 +72,27 @@ export namespace pill {
|
|
|
91
72
|
const a11y: string;
|
|
92
73
|
}
|
|
93
74
|
export namespace step {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
const
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
export const contentHorizontal: string;
|
|
75
|
+
const step: string;
|
|
76
|
+
const stepVertical: string;
|
|
77
|
+
const stepVerticalLeft: string;
|
|
78
|
+
const stepVerticalRight: string;
|
|
79
|
+
const stepHorizontal: string;
|
|
80
|
+
const stepDot: string;
|
|
81
|
+
const stepDotVerticalRight: string;
|
|
82
|
+
const stepDotHorizontal: string;
|
|
83
|
+
const stepDotActive: string;
|
|
84
|
+
const stepDotIncomplete: string;
|
|
85
|
+
const stepLine: string;
|
|
86
|
+
const stepLineVertical: string;
|
|
87
|
+
const stepLineVerticalRight: string;
|
|
88
|
+
const stepLineHorizontal: string;
|
|
89
|
+
const stepLineHorizontalRight: string;
|
|
90
|
+
const stepLineHorizontalLeft: string;
|
|
91
|
+
const stepLineIncomplete: string;
|
|
92
|
+
const stepLineComplete: string;
|
|
93
|
+
const content: string;
|
|
94
|
+
const contentVertical: string;
|
|
95
|
+
const contentHorizontal: string;
|
|
116
96
|
}
|
|
117
97
|
export namespace steps {
|
|
118
98
|
const steps: string;
|
|
@@ -152,8 +132,8 @@ export namespace switchToggle {
|
|
|
152
132
|
}
|
|
153
133
|
export namespace toaster {
|
|
154
134
|
export const container: string;
|
|
155
|
-
const
|
|
156
|
-
export {
|
|
135
|
+
const content_1: string;
|
|
136
|
+
export { content_1 as content };
|
|
157
137
|
export const toaster: string;
|
|
158
138
|
}
|
|
159
139
|
export namespace toast {
|
|
@@ -171,8 +151,8 @@ export namespace toast {
|
|
|
171
151
|
export const iconWarning: string;
|
|
172
152
|
export const iconNegative: string;
|
|
173
153
|
export const iconLoading: string;
|
|
174
|
-
const
|
|
175
|
-
export {
|
|
154
|
+
const content_2: string;
|
|
155
|
+
export { content_2 as content };
|
|
176
156
|
const close_1: string;
|
|
177
157
|
export { close_1 as close };
|
|
178
158
|
}
|
|
@@ -187,8 +167,8 @@ export namespace tab {
|
|
|
187
167
|
const icon_1: string;
|
|
188
168
|
export { icon_1 as icon };
|
|
189
169
|
export const iconUnderlinedActive: string;
|
|
190
|
-
const
|
|
191
|
-
export {
|
|
170
|
+
const content_3: string;
|
|
171
|
+
export { content_3 as content };
|
|
192
172
|
export const contentUnderlined: string;
|
|
193
173
|
export const contentUnderlinedActive: string;
|
|
194
174
|
}
|
|
@@ -312,8 +292,8 @@ export namespace modal {
|
|
|
312
292
|
export const transparentBg: string;
|
|
313
293
|
export const backdrop: string;
|
|
314
294
|
export const modal: string;
|
|
315
|
-
const
|
|
316
|
-
export {
|
|
295
|
+
const content_4: string;
|
|
296
|
+
export { content_4 as content };
|
|
317
297
|
export const footer: string;
|
|
318
298
|
export const transitionTitle: string;
|
|
319
299
|
export const transitionTitleCenter: string;
|
|
@@ -473,3 +453,24 @@ export namespace combobox {
|
|
|
473
453
|
const a11y_6: string;
|
|
474
454
|
export { a11y_6 as a11y };
|
|
475
455
|
}
|
|
456
|
+
export namespace attention {
|
|
457
|
+
const base_2: string;
|
|
458
|
+
export { base_2 as base };
|
|
459
|
+
export const tooltip: string;
|
|
460
|
+
export const callout: string;
|
|
461
|
+
export const highlight: string;
|
|
462
|
+
export const popover: string;
|
|
463
|
+
export const arrowBase: string;
|
|
464
|
+
export const arrowDirectionLeft: string;
|
|
465
|
+
export const arrowDirectionRight: string;
|
|
466
|
+
export const arrowDirectionBottom: string;
|
|
467
|
+
export const arrowDirectionTop: string;
|
|
468
|
+
export const arrowTooltip: string;
|
|
469
|
+
export const arrowCallout: string;
|
|
470
|
+
export const arrowPopover: string;
|
|
471
|
+
export const arrowHighlight: string;
|
|
472
|
+
const content_5: string;
|
|
473
|
+
export { content_5 as content };
|
|
474
|
+
export const notCallout: string;
|
|
475
|
+
export const closeBtn: string;
|
|
476
|
+
}
|
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
export const attention = {
|
|
2
|
-
base: 'border-2 relative',
|
|
3
|
-
tooltip:
|
|
4
|
-
'i-bg-$color-tooltip-background i-border-$color-tooltip-background i-shadow-$shadow-tooltip i-text-$color-tooltip-text rounded-4 py-6 px-8',
|
|
5
|
-
callout: 'i-bg-$color-callout-background i-border-$color-callout-border i-text-$color-callout-text py-8 px-16 rounded-8',
|
|
6
|
-
highlight: 'i-bg-$color-callout-background i-border-$color-callout-border i-text-$color-callout-text py-8 px-16 rounded-8 drop-shadow-m',
|
|
7
|
-
popover:
|
|
8
|
-
'i-bg-$color-popover-background i-border-$color-popover-background i-text-$color-popover-paragraph-text rounded-8 p-16 drop-shadow-m',
|
|
9
|
-
arrowBase:
|
|
10
|
-
'absolute h-[14px] w-[14px] border-2 border-b-0 border-r-0 rounded-tl-4 transform',
|
|
11
|
-
arrowDirectionLeft: '-left-[8px]',
|
|
12
|
-
arrowDirectionRight: '-right-[8px]',
|
|
13
|
-
arrowDirectionBottom: '-bottom-[8px]',
|
|
14
|
-
arrowDirectionTop: '-top-[8px]',
|
|
15
|
-
arrowTooltip: 'i-bg-$color-tooltip-background i-border-$color-tooltip-background',
|
|
16
|
-
arrowCallout: 'i-bg-$color-callout-background i-border-$color-callout-border',
|
|
17
|
-
arrowPopover: 'i-bg-$color-popover-background i-border-$color-popover-background',
|
|
18
|
-
arrowHighlight: 'i-bg-$color-callout-background i-border-$color-callout-border',
|
|
19
|
-
content: 'last-child:mb-0',
|
|
20
|
-
notCallout: 'absolute z-50',
|
|
21
|
-
};
|
|
22
|
-
|
|
23
1
|
export const pageIndicator = {
|
|
24
2
|
wrapper: 'flex space-x-8 p-8',
|
|
25
3
|
dot: 'h-8 w-8 rounded-full',
|
|
@@ -406,7 +384,7 @@ export const modal = {
|
|
|
406
384
|
title:
|
|
407
385
|
'-mt-4 sm:-mt-8 h-40 sm:h-48 grid gap-8 sm:gap-16 grid-cols-[auto_1fr_auto] items-center px-16 sm:px-32 border-b sm:border-b-0 shrink-0',
|
|
408
386
|
titleText: 'mb-0 h4 sm:h3',
|
|
409
|
-
titleButton:
|
|
387
|
+
titleButton: `${buttonTextSizes.medium} ${buttonTypes.pill} ${buttonColors.pill} sm:min-h-[44px] sm:min-w-[44px] min-h-[32px] min-w-[32px]`,
|
|
410
388
|
titleButtonLeft: '-ml-8 sm:-ml-12 justify-self-start',
|
|
411
389
|
titleButtonRight: '-mr-8 sm:-mr-12 justify-self-end',
|
|
412
390
|
titleButtonIcon: 'h-16 w-16 sm:h-24 sm:w-24',
|
|
@@ -538,4 +516,27 @@ export const combobox = {
|
|
|
538
516
|
option: 'block cursor-pointer p-8 hover:i-bg-$color-combobox-option-background-hover',
|
|
539
517
|
optionSelected: 'i-bg-$color-combobox-option-background-selected hover:i-bg-$color-combobox-option-background-selected-hover',
|
|
540
518
|
a11y: 'sr-only',
|
|
519
|
+
};
|
|
520
|
+
|
|
521
|
+
export const attention = {
|
|
522
|
+
base: 'border-2 relative flex items-start',
|
|
523
|
+
tooltip:
|
|
524
|
+
'i-bg-$color-tooltip-background i-border-$color-tooltip-background i-shadow-$shadow-tooltip i-text-$color-tooltip-text rounded-4 py-6 px-8',
|
|
525
|
+
callout: 'i-bg-$color-callout-background i-border-$color-callout-border i-text-$color-callout-text py-8 px-16 rounded-8',
|
|
526
|
+
highlight: 'i-bg-$color-callout-background i-border-$color-callout-border i-text-$color-callout-text py-8 px-16 rounded-8 drop-shadow-m',
|
|
527
|
+
popover:
|
|
528
|
+
'i-bg-$color-popover-background i-border-$color-popover-background i-text-$color-popover-paragraph-text rounded-8 p-16 drop-shadow-m',
|
|
529
|
+
arrowBase:
|
|
530
|
+
'absolute h-[14px] w-[14px] border-2 border-b-0 border-r-0 rounded-tl-4 transform',
|
|
531
|
+
arrowDirectionLeft: '-left-[8px]',
|
|
532
|
+
arrowDirectionRight: '-right-[8px]',
|
|
533
|
+
arrowDirectionBottom: '-bottom-[8px]',
|
|
534
|
+
arrowDirectionTop: '-top-[8px]',
|
|
535
|
+
arrowTooltip: 'i-bg-$color-tooltip-background i-border-$color-tooltip-background',
|
|
536
|
+
arrowCallout: 'i-bg-$color-callout-background i-border-$color-callout-border',
|
|
537
|
+
arrowPopover: 'i-bg-$color-popover-background i-border-$color-popover-background',
|
|
538
|
+
arrowHighlight: 'i-bg-$color-callout-background i-border-$color-callout-border',
|
|
539
|
+
content: 'last-child:mb-0',
|
|
540
|
+
notCallout: 'absolute z-50',
|
|
541
|
+
closeBtn: `${buttonTextSizes.medium} ${buttonTypes.pill} ${buttonColors.pill} justify-self-end -mr-8 ml-8`,
|
|
541
542
|
};
|