@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.
@@ -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 base_1: string;
27
- export { base_1 as base };
28
- export const info: string;
29
- export const success: string;
30
- export const warning: string;
31
- export const error: string;
32
- export const disabled: string;
33
- export const sponsored: string;
34
- export const neutral: string;
35
- export const roundedTopRightBottomLeft: string;
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 base_2: string;
40
- export { base_2 as base };
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
- export const step: string;
95
- export const stepVertical: string;
96
- export const stepVerticalLeft: string;
97
- export const stepVerticalRight: string;
98
- export const stepHorizontal: string;
99
- export const stepDot: string;
100
- export const stepDotVerticalRight: string;
101
- export const stepDotHorizontal: string;
102
- export const stepDotActive: string;
103
- export const stepDotIncomplete: string;
104
- export const stepLine: string;
105
- export const stepLineVertical: string;
106
- export const stepLineVerticalRight: string;
107
- export const stepLineHorizontal: string;
108
- export const stepLineHorizontalRight: string;
109
- export const stepLineHorizontalLeft: string;
110
- export const stepLineIncomplete: string;
111
- export const stepLineComplete: string;
112
- const content_1: string;
113
- export { content_1 as content };
114
- export const contentVertical: string;
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 content_2: string;
156
- export { content_2 as content };
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 content_3: string;
175
- export { content_3 as content };
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 content_4: string;
191
- export { content_4 as content };
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 content_5: string;
316
- export { content_5 as content };
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: button.pill + ' sm:min-h-[32px] sm:min-w-[32px]',
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
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@warp-ds/css",
3
3
  "repository": "git@github.com:warp-ds/css.git",
4
- "version": "1.2.0",
4
+ "version": "1.3.0-next.1",
5
5
  "scripts": {
6
6
  "build": "pnpm build:tokens && pnpm build:resets && pnpm build:cc",
7
7
  "commit": "cz",