@warp-ds/css 2.0.0-v2.1 → 2.0.0-v2.2
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 +65 -60
- package/component-classes/index.js +28 -23
- package/package.json +2 -2
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
export namespace attention {
|
|
2
|
-
const base: string;
|
|
3
|
-
const tooltip: string;
|
|
4
|
-
const callout: string;
|
|
5
|
-
const popover: string;
|
|
6
|
-
const arrowBase: string;
|
|
7
|
-
const arrowDirectionLeft: string;
|
|
8
|
-
const arrowDirectionRight: string;
|
|
9
|
-
const arrowDirectionBottom: string;
|
|
10
|
-
const arrowDirectionTop: string;
|
|
11
|
-
const arrowTooltip: string;
|
|
12
|
-
const arrowCallout: string;
|
|
13
|
-
const arrowPopover: string;
|
|
14
|
-
const content: string;
|
|
15
|
-
const notCallout: string;
|
|
16
|
-
}
|
|
17
1
|
export namespace pageIndicator {
|
|
18
2
|
const wrapper: string;
|
|
19
3
|
const dot: string;
|
|
@@ -21,21 +5,20 @@ export namespace pageIndicator {
|
|
|
21
5
|
const active: string;
|
|
22
6
|
}
|
|
23
7
|
export namespace ribbon {
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
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;
|
|
35
18
|
}
|
|
36
19
|
export namespace badge {
|
|
37
|
-
const
|
|
38
|
-
export {
|
|
20
|
+
const base_1: string;
|
|
21
|
+
export { base_1 as base };
|
|
39
22
|
const neutral_1: string;
|
|
40
23
|
export { neutral_1 as neutral };
|
|
41
24
|
const info_1: string;
|
|
@@ -89,28 +72,27 @@ export namespace pill {
|
|
|
89
72
|
const a11y: string;
|
|
90
73
|
}
|
|
91
74
|
export namespace step {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
const
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
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;
|
|
114
96
|
}
|
|
115
97
|
export namespace steps {
|
|
116
98
|
const steps: string;
|
|
@@ -150,8 +132,8 @@ export namespace switchToggle {
|
|
|
150
132
|
}
|
|
151
133
|
export namespace toaster {
|
|
152
134
|
export const container: string;
|
|
153
|
-
const
|
|
154
|
-
export {
|
|
135
|
+
const content_1: string;
|
|
136
|
+
export { content_1 as content };
|
|
155
137
|
export const toaster: string;
|
|
156
138
|
}
|
|
157
139
|
export namespace toast {
|
|
@@ -169,8 +151,8 @@ export namespace toast {
|
|
|
169
151
|
export const iconWarning: string;
|
|
170
152
|
export const iconNegative: string;
|
|
171
153
|
export const iconLoading: string;
|
|
172
|
-
const
|
|
173
|
-
export {
|
|
154
|
+
const content_2: string;
|
|
155
|
+
export { content_2 as content };
|
|
174
156
|
const close_1: string;
|
|
175
157
|
export { close_1 as close };
|
|
176
158
|
}
|
|
@@ -185,8 +167,8 @@ export namespace tab {
|
|
|
185
167
|
const icon_1: string;
|
|
186
168
|
export { icon_1 as icon };
|
|
187
169
|
export const iconUnderlinedActive: string;
|
|
188
|
-
const
|
|
189
|
-
export {
|
|
170
|
+
const content_3: string;
|
|
171
|
+
export { content_3 as content };
|
|
190
172
|
export const contentUnderlined: string;
|
|
191
173
|
export const contentUnderlinedActive: string;
|
|
192
174
|
}
|
|
@@ -211,7 +193,9 @@ export namespace expandable {
|
|
|
211
193
|
export const chevron: string;
|
|
212
194
|
export const chevronNonBox: string;
|
|
213
195
|
export const chevronBox: string;
|
|
214
|
-
export const
|
|
196
|
+
export const chevronTransform: string;
|
|
197
|
+
export const chevronExpand: string;
|
|
198
|
+
export const chevronCollapse: string;
|
|
215
199
|
export const expansion: string;
|
|
216
200
|
export const expansionNotExpanded: string;
|
|
217
201
|
const button_1: string;
|
|
@@ -308,8 +292,8 @@ export namespace modal {
|
|
|
308
292
|
export const transparentBg: string;
|
|
309
293
|
export const backdrop: string;
|
|
310
294
|
export const modal: string;
|
|
311
|
-
const
|
|
312
|
-
export {
|
|
295
|
+
const content_4: string;
|
|
296
|
+
export { content_4 as content };
|
|
313
297
|
export const footer: string;
|
|
314
298
|
export const transitionTitle: string;
|
|
315
299
|
export const transitionTitleCenter: string;
|
|
@@ -469,3 +453,24 @@ export namespace combobox {
|
|
|
469
453
|
const a11y_6: string;
|
|
470
454
|
export { a11y_6 as a11y };
|
|
471
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,23 +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
|
-
popover:
|
|
7
|
-
'i-bg-$color-popover-background i-border-$color-popover-background i-text-$color-popover-paragraph-text rounded-8 p-16 drop-shadow-m',
|
|
8
|
-
arrowBase:
|
|
9
|
-
'absolute h-[14px] w-[14px] border-2 border-b-0 border-r-0 rounded-tl-4 transform',
|
|
10
|
-
arrowDirectionLeft: '-left-[8px]',
|
|
11
|
-
arrowDirectionRight: '-right-[8px]',
|
|
12
|
-
arrowDirectionBottom: '-bottom-[8px]',
|
|
13
|
-
arrowDirectionTop: '-top-[8px]',
|
|
14
|
-
arrowTooltip: 'i-bg-$color-tooltip-background i-border-$color-tooltip-background',
|
|
15
|
-
arrowCallout: 'i-bg-$color-callout-background i-border-$color-callout-border',
|
|
16
|
-
arrowPopover: 'i-bg-$color-popover-background i-border-$color-popover-background',
|
|
17
|
-
content: 'last-child:mb-0',
|
|
18
|
-
notCallout: 'absolute z-50',
|
|
19
|
-
};
|
|
20
|
-
|
|
21
1
|
export const pageIndicator = {
|
|
22
2
|
wrapper: 'flex space-x-8 p-8',
|
|
23
3
|
dot: 'h-8 w-8 rounded-full',
|
|
@@ -225,10 +205,12 @@ export const expandable = {
|
|
|
225
205
|
expandableTitle: 'font-bold i-text-$color-expandable-title-text',
|
|
226
206
|
expandableBox: 'i-bg-$color-expandable-background hover:i-bg-$color-expandable-background-hover py-0 px-0 ' + box.box,
|
|
227
207
|
expandableBleed: box.bleed,
|
|
228
|
-
chevron: 'inline-block align-middle
|
|
208
|
+
chevron: 'inline-block align-middle i-text-$color-expandable-icon',
|
|
229
209
|
chevronNonBox: 'relative left-8',
|
|
230
210
|
chevronBox: 'absolute right-16',
|
|
231
|
-
|
|
211
|
+
chevronTransform: 'transform transition-transform transform-gpu ease-in-out',
|
|
212
|
+
chevronExpand: '-rotate-180',
|
|
213
|
+
chevronCollapse: 'rotate-180',
|
|
232
214
|
expansion: 'overflow-hidden',
|
|
233
215
|
expansionNotExpanded: 'h-0 invisible',
|
|
234
216
|
button: buttonReset + ' hover:underline focus:underline',
|
|
@@ -402,7 +384,7 @@ export const modal = {
|
|
|
402
384
|
title:
|
|
403
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',
|
|
404
386
|
titleText: 'mb-0 h4 sm:h3',
|
|
405
|
-
titleButton:
|
|
387
|
+
titleButton: `${buttonTextSizes.medium} ${buttonTypes.pill} ${buttonColors.pill} sm:min-h-[44px] sm:min-w-[44px] min-h-[32px] min-w-[32px]`,
|
|
406
388
|
titleButtonLeft: '-ml-8 sm:-ml-12 justify-self-start',
|
|
407
389
|
titleButtonRight: '-mr-8 sm:-mr-12 justify-self-end',
|
|
408
390
|
titleButtonIcon: 'h-16 w-16 sm:h-24 sm:w-24',
|
|
@@ -534,4 +516,27 @@ export const combobox = {
|
|
|
534
516
|
option: 'block cursor-pointer p-8 hover:i-bg-$color-combobox-option-background-hover',
|
|
535
517
|
optionSelected: 'i-bg-$color-combobox-option-background-selected hover:i-bg-$color-combobox-option-background-selected-hover',
|
|
536
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`,
|
|
537
542
|
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-ds/css",
|
|
3
3
|
"repository": "git@github.com:warp-ds/css.git",
|
|
4
|
-
"version": "2.0.0-v2.
|
|
4
|
+
"version": "2.0.0-v2.2",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "pnpm build:tokens && pnpm build:resets && pnpm build:cc",
|
|
7
7
|
"commit": "cz",
|
|
8
8
|
"semantic-release": "semantic-release",
|
|
9
|
-
"build:cc": "cd component-classes && rm -rf *.d.ts && tsc && vite build
|
|
9
|
+
"build:cc": "cd component-classes && rm -rf *.d.ts && tsc && vite build",
|
|
10
10
|
"build:tokens": "cd tokens && node index.js",
|
|
11
11
|
"build:resets": "cd resets && node index.js",
|
|
12
12
|
"lint:fix": "eslint . --fix",
|