@ropav/styles 0.5.0 → 0.6.0

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.
Files changed (98) hide show
  1. package/README.md +79 -0
  2. package/dist/components/accordion.css +1 -9
  3. package/dist/components/alert-dialog.css +0 -12
  4. package/dist/components/autocomplete.css +25 -35
  5. package/dist/components/breadcrumbs.css +9 -2
  6. package/dist/components/button-group.css +0 -4
  7. package/dist/components/button.css +3 -7
  8. package/dist/components/calendar-year-picker.css +19 -7
  9. package/dist/components/calendar.css +46 -21
  10. package/dist/components/checkbox.css +54 -56
  11. package/dist/components/chip.css +3 -1
  12. package/dist/components/close-button.css +7 -6
  13. package/dist/components/color-area.css +6 -6
  14. package/dist/components/color-input-group.css +10 -27
  15. package/dist/components/color-picker.css +1 -5
  16. package/dist/components/color-slider.css +14 -12
  17. package/dist/components/color-swatch-picker.css +2 -85
  18. package/dist/components/color-swatch.css +1 -1
  19. package/dist/components/combo-box.css +13 -3
  20. package/dist/components/date-input-group.css +34 -32
  21. package/dist/components/date-picker.css +1 -5
  22. package/dist/components/date-range-picker.css +1 -5
  23. package/dist/components/disclosure.css +0 -4
  24. package/dist/components/drawer.css +4 -8
  25. package/dist/components/drop-zone/drop-zone.styles.d.ts +34 -0
  26. package/dist/components/drop-zone/drop-zone.styles.d.ts.map +1 -0
  27. package/dist/components/drop-zone/drop-zone.styles.js +8 -0
  28. package/dist/components/drop-zone/index.d.ts +2 -0
  29. package/dist/components/drop-zone/index.d.ts.map +1 -0
  30. package/dist/components/drop-zone/index.js +2 -0
  31. package/dist/components/drop-zone.css +78 -0
  32. package/dist/components/dropdown.css +0 -4
  33. package/dist/components/error-message.css +0 -4
  34. package/dist/components/field-error.css +0 -4
  35. package/dist/components/index.css +1 -0
  36. package/dist/components/index.d.ts +1 -0
  37. package/dist/components/index.d.ts.map +1 -1
  38. package/dist/components/input-group.css +12 -37
  39. package/dist/components/input-otp.css +14 -26
  40. package/dist/components/input.css +11 -32
  41. package/dist/components/kbd.css +3 -1
  42. package/dist/components/label.css +7 -2
  43. package/dist/components/link.css +13 -11
  44. package/dist/components/list-box-item.css +4 -10
  45. package/dist/components/menu-item.css +4 -10
  46. package/dist/components/meter.css +8 -16
  47. package/dist/components/modal.css +0 -12
  48. package/dist/components/number-field.css +23 -35
  49. package/dist/components/pagination.css +0 -4
  50. package/dist/components/popover.css +0 -4
  51. package/dist/components/progress-bar/progress-bar.styles.d.ts +36 -0
  52. package/dist/components/progress-bar/progress-bar.styles.d.ts.map +1 -1
  53. package/dist/components/progress-bar/progress-bar.styles.js +10 -0
  54. package/dist/components/progress-bar.css +82 -16
  55. package/dist/components/progress-circle.css +0 -4
  56. package/dist/components/radio.css +7 -9
  57. package/dist/components/range-calendar.css +73 -31
  58. package/dist/components/search-field.css +11 -28
  59. package/dist/components/segmented-control.css +9 -14
  60. package/dist/components/select.css +18 -32
  61. package/dist/components/sidebar/sidebar.styles.d.ts +36 -0
  62. package/dist/components/sidebar/sidebar.styles.d.ts.map +1 -1
  63. package/dist/components/sidebar/sidebar.styles.js +14 -1
  64. package/dist/components/sidebar.css +132 -38
  65. package/dist/components/slider.css +10 -11
  66. package/dist/components/splitter.css +44 -36
  67. package/dist/components/switch.css +16 -15
  68. package/dist/components/table.css +69 -27
  69. package/dist/components/tabs.css +8 -19
  70. package/dist/components/tag.css +32 -24
  71. package/dist/components/textarea.css +11 -32
  72. package/dist/components/toast.css +3 -1
  73. package/dist/components/toggle-button-group.css +0 -4
  74. package/dist/components/toggle-button.css +2 -6
  75. package/dist/components/tooltip.css +0 -4
  76. package/dist/components/typography.css +12 -4
  77. package/dist/components/virtualizer.css +11 -3
  78. package/dist/index.js +2 -1
  79. package/dist/ropav.min.css +1 -1
  80. package/dist/themes/airbnb.css +6 -4
  81. package/dist/themes/coinbase.css +6 -4
  82. package/dist/themes/default.css +24 -4
  83. package/dist/themes/discord.css +6 -4
  84. package/dist/themes/hero.css +24 -4
  85. package/dist/themes/lavender.css +6 -4
  86. package/dist/themes/mint.css +6 -4
  87. package/dist/themes/netflix.css +6 -4
  88. package/dist/themes/rabbit.css +6 -4
  89. package/dist/themes/shared/theme.css +1 -0
  90. package/dist/themes/sky.css +6 -4
  91. package/dist/themes/spotify.css +6 -4
  92. package/dist/themes/uber.css +6 -4
  93. package/package.json +1 -1
  94. package/src/components/drop-zone/drop-zone.styles.ts +12 -0
  95. package/src/components/drop-zone/index.ts +1 -0
  96. package/src/components/index.ts +1 -0
  97. package/src/components/progress-bar/progress-bar.styles.ts +14 -0
  98. package/src/components/sidebar/sidebar.styles.ts +23 -0
@@ -1,5 +1,12 @@
1
1
  .input {
2
- @apply rounded-field border bg-field px-3 field-line-md text-field-foreground shadow-field outline-none placeholder:text-field-placeholder;
2
+ @apply rounded-field border px-3 field-line-md text-field-foreground shadow-field outline-none placeholder:text-field-placeholder;
3
+
4
+ /* The fill, per state. The `--secondary` variant re-points these and declares nothing else. */
5
+ --input-bg: var(--field-background, var(--default));
6
+ --input-bg-hover: var(--field-hover);
7
+ --input-bg-focus: var(--field-focus);
8
+
9
+ background-color: var(--input-bg);
3
10
 
4
11
  border-width: var(--border-width-field);
5
12
  border-color: var(--field-border);
@@ -14,10 +21,6 @@
14
21
  outline-offset: -1px;
15
22
  }
16
23
 
17
- /**
18
- * Transitions
19
- * CRITICAL: motion-reduce must be AFTER transition for correct override specificity
20
- */
21
24
  transition:
22
25
  background-color 150ms var(--ease-smooth),
23
26
  border-color 150ms var(--ease-smooth),
@@ -27,7 +30,7 @@
27
30
  @media (hover: hover) {
28
31
  &:hover:not(:focus):not(:focus-visible),
29
32
  &[data-hovered="true"]:not([data-focused="true"]):not([data-focus-visible="true"]) {
30
- @apply bg-field-hover;
33
+ background-color: var(--input-bg-hover);
31
34
  border-color: var(--field-border-hover);
32
35
  }
33
36
  }
@@ -37,7 +40,7 @@
37
40
  &[data-focused="true"] {
38
41
  @apply status-focused-field;
39
42
  border-color: var(--field-border-focus);
40
- background-color: var(--field-focus);
43
+ background-color: var(--input-bg-focus);
41
44
  }
42
45
 
43
46
  /* Focus visible state */
@@ -48,7 +51,7 @@
48
51
  /* Invalid state */
49
52
  &[data-invalid="true"] {
50
53
  @apply status-invalid-field;
51
- background-color: var(--field-focus);
54
+ background-color: var(--input-bg-focus);
52
55
  }
53
56
 
54
57
  /* Disabled state */
@@ -66,34 +69,10 @@
66
69
 
67
70
  .input--secondary {
68
71
  @apply shadow-none;
69
- background-color: var(--input-bg);
70
72
 
71
73
  --input-bg: var(--default);
72
74
  --input-bg-hover: var(--default-hover);
73
75
  --input-bg-focus: var(--default);
74
-
75
- @media (hover: hover) {
76
- &:hover:not(:focus):not(:focus-visible),
77
- &[data-hovered="true"]:not([data-focus-visible="true"]):not([data-focused="true"]) {
78
- background-color: var(--input-bg-hover);
79
- }
80
- }
81
-
82
- &:focus,
83
- &[data-focused="true"] {
84
- background-color: var(--input-bg-focus);
85
- }
86
-
87
- /* Focus visible state */
88
- &:focus-visible:not(:focus),
89
- &[data-focus-visible="true"] {
90
- }
91
-
92
- /* Invalid state */
93
- &[data-invalid="true"] {
94
- @apply status-invalid-field;
95
- background-color: var(--input-bg-focus);
96
- }
97
76
  }
98
77
 
99
78
  /* Full width modifier */
@@ -1,6 +1,8 @@
1
1
  /* Base styles */
2
2
  .kbd {
3
- @apply inline-flex h-6 items-center space-x-0.5 rounded-lg bg-default px-2 text-center font-sans text-sm font-medium whitespace-nowrap text-muted rtl:space-x-reverse;
3
+ @apply inline-flex h-6 items-center space-x-0.5 bg-default px-2 text-center font-sans text-sm font-medium whitespace-nowrap text-muted rtl:space-x-reverse;
4
+
5
+ border-radius: min(32px, var(--component-radius));
4
6
  word-spacing: -0.25rem;
5
7
  }
6
8
 
@@ -1,7 +1,12 @@
1
1
  /* Base label styles */
2
2
  .label {
3
3
  /* Base styling */
4
- @apply text-sm font-medium text-foreground;
4
+ @apply text-sm font-medium;
5
+
6
+ --label-fg: var(--foreground);
7
+ --label-fg-invalid: var(--danger);
8
+
9
+ color: var(--label-fg);
5
10
  }
6
11
 
7
12
  /*
@@ -24,5 +29,5 @@
24
29
  .label--invalid,
25
30
  [data-invalid="true"] .label,
26
31
  [aria-invalid="true"] .label {
27
- @apply text-danger;
32
+ color: var(--label-fg-invalid);
28
33
  }
@@ -1,11 +1,13 @@
1
1
  /* Base link styles */
2
2
  .link {
3
- @apply relative inline-flex h-fit w-fit items-center rounded-xl font-medium text-link no-underline decoration-separator-tertiary decoration-[1.5px] underline-offset-4 no-highlight;
3
+ @apply relative inline-flex h-fit w-fit items-center rounded-xl font-medium text-link no-underline decoration-[1.5px] underline-offset-4 no-highlight;
4
+
5
+ --link-decoration: var(--separator-tertiary);
6
+ --link-decoration-hover: color-mix(in oklab, var(--muted) 50%, transparent);
7
+ --link-decoration-pressed: var(--muted);
8
+
9
+ text-decoration-color: var(--link-decoration);
4
10
 
5
- /**
6
- * Transitions
7
- * CRITICAL: motion-reduce must be AFTER transition for correct override specificity
8
- */
9
11
  transition:
10
12
  color 100ms var(--ease-smooth),
11
13
  background-color 150ms var(--ease-smooth),
@@ -20,7 +22,9 @@
20
22
  @media (hover: hover) {
21
23
  &:hover,
22
24
  &[data-hovered="true"] {
23
- @apply underline decoration-muted/50;
25
+ @apply underline;
26
+
27
+ text-decoration-color: var(--link-decoration-hover);
24
28
 
25
29
  .link__icon {
26
30
  @apply opacity-100;
@@ -31,7 +35,9 @@
31
35
  /* Pressed state */
32
36
  &:active,
33
37
  &[data-pressed="true"] {
34
- @apply underline decoration-muted;
38
+ @apply underline;
39
+
40
+ text-decoration-color: var(--link-decoration-pressed);
35
41
 
36
42
  .link__icon {
37
43
  @apply opacity-100;
@@ -56,10 +62,6 @@
56
62
  .link__icon {
57
63
  @apply pointer-events-none inline-flex size-[0.75em] shrink-0 items-center justify-center text-current opacity-60;
58
64
 
59
- /**
60
- * Transitions
61
- * CRITICAL: motion-reduce must be AFTER transition for correct override specificity
62
- */
63
65
  transition: opacity 150ms var(--ease-out);
64
66
  @apply motion-reduce:transition-none;
65
67
 
@@ -3,12 +3,10 @@
3
3
  ========================================================================== */
4
4
 
5
5
  .list-box-item {
6
- @apply relative flex min-h-9 w-full items-center justify-start gap-3 rounded-2xl px-2 py-1.5 outline-none no-highlight;
6
+ @apply relative flex min-h-9 w-full items-center justify-start gap-3 px-2 py-1.5 outline-none no-highlight;
7
+
8
+ border-radius: min(32px, var(--component-radius));
7
9
 
8
- /**
9
- * Transitions
10
- * CRITICAL: motion-reduce must be AFTER transition for correct override specificity
11
- */
12
10
  transition:
13
11
  transform 250ms var(--ease-out-quart),
14
12
  box-shadow 150ms var(--ease-out);
@@ -54,7 +52,7 @@
54
52
  @media (hover: hover) {
55
53
  &:hover,
56
54
  &[data-hovered="true"] {
57
- @apply bg-default;
55
+ @apply bg-state-layer;
58
56
  }
59
57
  }
60
58
 
@@ -93,10 +91,6 @@
93
91
 
94
92
  .list-box-item[aria-selected="true"] [data-slot="list-box-item-indicator--checkmark"],
95
93
  .list-box-item[data-selected="true"] [data-slot="list-box-item-indicator--checkmark"] {
96
- /**
97
- * Transitions
98
- * CRITICAL: motion-reduce must be AFTER transition for correct override specificity
99
- */
100
94
  transition: stroke-dashoffset 250ms linear;
101
95
  @apply motion-reduce:transition-none;
102
96
  }
@@ -3,12 +3,10 @@
3
3
  ========================================================================== */
4
4
 
5
5
  .menu-item {
6
- @apply relative flex min-h-9 w-full items-center justify-start gap-3 rounded-2xl px-2 py-1.5 outline-none no-highlight;
6
+ @apply relative flex min-h-9 w-full items-center justify-start gap-3 px-2 py-1.5 outline-none no-highlight;
7
+
8
+ border-radius: min(32px, var(--component-radius));
7
9
 
8
- /**
9
- * Transitions
10
- * CRITICAL: motion-reduce must be AFTER transition for correct override specificity
11
- */
12
10
  transition:
13
11
  transform 250ms var(--ease-out-quart),
14
12
  box-shadow 150ms var(--ease-out);
@@ -61,7 +59,7 @@
61
59
  @media (hover: hover) {
62
60
  &:hover,
63
61
  &[data-hovered="true"] {
64
- @apply bg-default;
62
+ @apply bg-state-layer;
65
63
  }
66
64
  }
67
65
 
@@ -70,10 +68,6 @@
70
68
  &[aria-selected="true"],
71
69
  &[data-selected="true"] {
72
70
  [data-slot="menu-item-indicator--checkmark"] {
73
- /**
74
- * Transitions
75
- * CRITICAL: motion-reduce must be AFTER transition for correct override specificity
76
- */
77
71
  transition: stroke-dashoffset 100ms linear;
78
72
  @apply motion-reduce:transition-none;
79
73
  }
@@ -26,7 +26,9 @@
26
26
  }
27
27
 
28
28
  .meter__track {
29
- @apply relative overflow-hidden rounded-sm bg-default;
29
+ @apply relative overflow-hidden bg-default;
30
+
31
+ border-radius: min(32px, var(--component-radius));
30
32
 
31
33
  grid-area: track;
32
34
 
@@ -43,7 +45,9 @@
43
45
  }
44
46
 
45
47
  .meter__fill {
46
- @apply absolute start-0 top-0 h-full rounded-sm;
48
+ @apply absolute start-0 top-0 h-full;
49
+
50
+ border-radius: min(32px, var(--component-radius));
47
51
 
48
52
  background-color: var(--meter-fill);
49
53
 
@@ -51,10 +55,6 @@
51
55
  background-color: Highlight;
52
56
  }
53
57
 
54
- /**
55
- * Transitions
56
- * CRITICAL: motion-reduce must be AFTER transition for correct override specificity
57
- */
58
58
  transition: width 300ms var(--ease-out);
59
59
  @apply motion-reduce:transition-none;
60
60
  }
@@ -77,11 +77,7 @@
77
77
 
78
78
  .meter--sm {
79
79
  .meter__track {
80
- @apply h-1 rounded-xs;
81
- }
82
-
83
- .meter__fill {
84
- @apply rounded-xs;
80
+ @apply h-1;
85
81
  }
86
82
  }
87
83
 
@@ -91,11 +87,7 @@
91
87
 
92
88
  .meter--lg {
93
89
  .meter__track {
94
- @apply h-3 rounded-md;
95
- }
96
-
97
- .meter__fill {
98
- @apply rounded-md;
90
+ @apply h-3;
99
91
  }
100
92
  }
101
93
 
@@ -9,10 +9,6 @@
9
9
  .modal__trigger {
10
10
  @apply inline-block cursor-(--cursor-interactive);
11
11
 
12
- /**
13
- * Transitions
14
- * CRITICAL: motion-reduce must be AFTER transition for correct override specificity
15
- */
16
12
  transition:
17
13
  transform 250ms var(--ease-out-quart),
18
14
  background-color 150ms var(--ease-smooth),
@@ -56,10 +52,6 @@
56
52
  @apply animate-out duration-100 ease-out fade-out-0;
57
53
  }
58
54
 
59
- /**
60
- * Reduce Animation
61
- * CRITICAL: motion-reduce must be AFTER animate for correct override specificity
62
- */
63
55
  &[data-exiting="true"],
64
56
  &[data-entering="true"] {
65
57
  @apply will-change-[opacity];
@@ -125,10 +117,6 @@
125
117
  @apply animate-out duration-100 ease-out-quad fade-out-0 zoom-out-95;
126
118
  }
127
119
 
128
- /**
129
- * Reduce Animation
130
- * CRITICAL: motion-reduce must be AFTER animate for correct override specificity
131
- */
132
120
  &[data-exiting="true"],
133
121
  &[data-entering="true"] {
134
122
  @apply will-change-[opacity,transform];
@@ -15,7 +15,14 @@
15
15
  }
16
16
 
17
17
  .number-field__group {
18
- @apply grid h-9 items-center overflow-hidden rounded-field border bg-field text-sm text-field-foreground shadow-field outline-none;
18
+ @apply grid h-9 items-center overflow-hidden rounded-field border text-sm text-field-foreground shadow-field outline-none;
19
+
20
+ /* The fill, per state. The `--secondary` variant re-points these and declares nothing else. */
21
+ --number-field-group-bg: var(--field-background, var(--default));
22
+ --number-field-group-bg-hover: var(--field-hover);
23
+ --number-field-group-bg-focus: var(--field-focus);
24
+
25
+ background-color: var(--number-field-group-bg);
19
26
  border-width: var(--border-width-field);
20
27
  border-color: var(--field-border);
21
28
 
@@ -40,10 +47,6 @@
40
47
  grid-template-columns: 40px 1fr 40px;
41
48
  }
42
49
 
43
- /**
44
- * Transitions
45
- * CRITICAL: motion-reduce must be AFTER transition for correct override specificity
46
- */
47
50
  transition:
48
51
  background-color 150ms var(--ease-smooth),
49
52
  border-color 150ms var(--ease-smooth),
@@ -54,7 +57,7 @@
54
57
  @media (hover: hover) {
55
58
  &:hover:not(:focus-within),
56
59
  &[data-hovered="true"]:not([data-focus-within="true"]) {
57
- @apply bg-field-hover;
60
+ background-color: var(--number-field-group-bg-hover);
58
61
  border-color: var(--field-border-hover);
59
62
  }
60
63
  }
@@ -64,13 +67,13 @@
64
67
  &:focus-within {
65
68
  @apply status-focused-field;
66
69
  border-color: var(--field-border-focus);
67
- background-color: var(--field-focus);
70
+ background-color: var(--number-field-group-bg-focus);
68
71
  }
69
72
 
70
73
  /* Invalid state */
71
74
  &[data-invalid="true"] {
72
75
  @apply status-invalid-field;
73
- background-color: var(--field-focus);
76
+ background-color: var(--number-field-group-bg-focus);
74
77
  border-color: var(--color-field-border-invalid);
75
78
  }
76
79
 
@@ -91,7 +94,7 @@
91
94
  */
92
95
  &:has([data-slot="number-field-input"]:-webkit-autofill),
93
96
  &:has([data-slot="number-field-input"]:autofill) {
94
- background-color: var(--field-focus);
97
+ background-color: var(--number-field-group-bg-focus);
95
98
  border-color: var(--field-border-focus);
96
99
  }
97
100
  }
@@ -137,15 +140,20 @@
137
140
 
138
141
  .number-field__increment-button,
139
142
  .number-field__decrement-button {
140
- @apply flex h-full w-10 items-center justify-center rounded-none bg-transparent text-field-foreground outline-none;
143
+ @apply flex h-full w-10 items-center justify-center rounded-none text-field-foreground outline-none;
144
+
145
+ --number-field-button-bg: transparent;
146
+ --number-field-button-bg-pressed: color-mix(
147
+ in oklab,
148
+ var(--field-foreground, var(--foreground)) 10%,
149
+ transparent
150
+ );
151
+
152
+ background-color: var(--number-field-button-bg);
141
153
  border-width: var(--border-width-field);
142
154
  border-color: var(--field-border);
143
155
  border-style: solid;
144
156
 
145
- /**
146
- * Transitions
147
- * CRITICAL: motion-reduce must be AFTER transition for correct override specificity
148
- */
149
157
  transition:
150
158
  background-color 150ms var(--ease-smooth),
151
159
  border-color 150ms var(--ease-smooth);
@@ -167,7 +175,7 @@
167
175
  /* Pressed state */
168
176
  &:active,
169
177
  &[data-pressed="true"] {
170
- @apply bg-field-foreground/10;
178
+ background-color: var(--number-field-button-bg-pressed);
171
179
  transform: scale(0.97);
172
180
  }
173
181
 
@@ -200,31 +208,11 @@
200
208
 
201
209
  .number-field--secondary .number-field__group {
202
210
  @apply shadow-none;
203
- background-color: var(--number-field-group-bg);
204
211
 
205
212
  --number-field-group-bg: var(--default);
206
213
  --number-field-group-bg-hover: var(--default-hover);
207
214
  --number-field-group-bg-focus: var(--default);
208
215
 
209
- @media (hover: hover) {
210
- &:hover:not(:focus-within),
211
- &[data-hovered="true"]:not([data-focus-within="true"]) {
212
- background-color: var(--number-field-group-bg-hover);
213
- }
214
- }
215
-
216
- &:focus-within,
217
- &[data-focus-within="true"] {
218
- background-color: var(--number-field-group-bg-focus);
219
- }
220
-
221
- /* Invalid state */
222
- &[data-invalid="true"] {
223
- @apply status-invalid-field;
224
- border-color: var(--color-field-border-invalid);
225
- background-color: var(--number-field-group-bg-focus);
226
- }
227
-
228
216
  [data-slot="number-field-input"] {
229
217
  @apply bg-transparent;
230
218
  }
@@ -28,10 +28,6 @@
28
28
 
29
29
  cursor: var(--cursor-interactive);
30
30
 
31
- /**
32
- * Transitions
33
- * CRITICAL: motion-reduce must be AFTER transition for correct override specificity
34
- */
35
31
  transition:
36
32
  transform 250ms var(--ease-smooth),
37
33
  background-color 100ms var(--ease-out),
@@ -85,10 +85,6 @@
85
85
  .popover__trigger {
86
86
  @apply inline-block;
87
87
 
88
- /**
89
- * Transitions
90
- * CRITICAL: motion-reduce must be AFTER transition for correct override specificity
91
- */
92
88
  transition:
93
89
  color 150ms var(--ease-smooth),
94
90
  background-color 150ms var(--ease-smooth),
@@ -17,6 +17,18 @@ export declare const progressBarVariants: import("tailwind-variants").TVReturnTy
17
17
  base: string;
18
18
  };
19
19
  };
20
+ isAnimated: {
21
+ false: {};
22
+ true: {
23
+ base: string;
24
+ };
25
+ };
26
+ isStriped: {
27
+ false: {};
28
+ true: {
29
+ base: string;
30
+ };
31
+ };
20
32
  size: {
21
33
  lg: {
22
34
  base: string;
@@ -51,6 +63,18 @@ export declare const progressBarVariants: import("tailwind-variants").TVReturnTy
51
63
  base: string;
52
64
  };
53
65
  };
66
+ isAnimated: {
67
+ false: {};
68
+ true: {
69
+ base: string;
70
+ };
71
+ };
72
+ isStriped: {
73
+ false: {};
74
+ true: {
75
+ base: string;
76
+ };
77
+ };
54
78
  size: {
55
79
  lg: {
56
80
  base: string;
@@ -85,6 +109,18 @@ export declare const progressBarVariants: import("tailwind-variants").TVReturnTy
85
109
  base: string;
86
110
  };
87
111
  };
112
+ isAnimated: {
113
+ false: {};
114
+ true: {
115
+ base: string;
116
+ };
117
+ };
118
+ isStriped: {
119
+ false: {};
120
+ true: {
121
+ base: string;
122
+ };
123
+ };
88
124
  size: {
89
125
  lg: {
90
126
  base: string;
@@ -1 +1 @@
1
- {"version":3,"file":"progress-bar.styles.d.ts","sourceRoot":"","sources":["../../../src/components/progress-bar/progress-bar.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAItD,eAAO,MAAM,mBAAmB;;QAa1B,MAAM;YACJ,IAAI;;QAEN,MAAM;YACJ,IAAI;;QAEN,OAAO;YACL,IAAI;;QAEN,OAAO;YACL,IAAI;;QAEN,OAAO;YACL,IAAI;;;;QAIN,EAAE;YACA,IAAI;;QAEN,EAAE;YACA,IAAI;;QAEN,EAAE;YACA,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAIV,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"progress-bar.styles.d.ts","sourceRoot":"","sources":["../../../src/components/progress-bar/progress-bar.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAItD,eAAO,MAAM,mBAAmB;;QAe1B,MAAM;YACJ,IAAI;;QAEN,MAAM;YACJ,IAAI;;QAEN,OAAO;YACL,IAAI;;QAEN,OAAO;YACL,IAAI;;QAEN,OAAO;YACL,IAAI;;;;QAIN,KAAK;QACL,IAAI;YACF,IAAI;;;;QAIN,KAAK;QACL,IAAI;YACF,IAAI;;;;QAIN,EAAE;YACA,IAAI;;QAEN,EAAE;YACA,IAAI;;QAEN,EAAE;YACA,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAIV,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
@@ -3,6 +3,8 @@ import { tv } from "tailwind-variants";
3
3
  const progressBarVariants = tv({
4
4
  defaultVariants: {
5
5
  color: "accent",
6
+ isAnimated: false,
7
+ isStriped: false,
6
8
  size: "md"
7
9
  },
8
10
  slots: {
@@ -19,6 +21,14 @@ const progressBarVariants = tv({
19
21
  success: { base: "progress-bar--success" },
20
22
  warning: { base: "progress-bar--warning" }
21
23
  },
24
+ isAnimated: {
25
+ false: {},
26
+ true: { base: "progress-bar--animated" }
27
+ },
28
+ isStriped: {
29
+ false: {},
30
+ true: { base: "progress-bar--striped" }
31
+ },
22
32
  size: {
23
33
  lg: { base: "progress-bar--lg" },
24
34
  md: { base: "progress-bar--md" },