@pimolu/web-styles 0.1.0-beta.5 → 0.1.0-beta.7

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/README.fr.md CHANGED
@@ -6,7 +6,7 @@ La couche de style derrière Pimolu UI. Chargez une feuille complète, optez pou
6
6
 
7
7
  [Démarrage rapide](https://pimolu.com/docs/quick-start) · [Thèmes](https://pimolu.com/docs/theming) · [Personnalisation](https://github.com/pimoludev/ui/blob/main/docs/CUSTOMIZATION.md) · [Source](https://github.com/pimoludev/ui/tree/main/packages/web-styles)
8
8
 
9
- > **Bêta :** `0.1.0-beta.5` est une prévisualisation. Les entrées CSS publiques et les tokens visuels peuvent évoluer avant `1.0.0`.
9
+ > **Bêta :** `0.1.0-beta.7` est une prévisualisation. Les entrées CSS publiques et les tokens visuels peuvent évoluer avant `1.0.0`.
10
10
 
11
11
  ## Pourquoi les styles Pimolu ?
12
12
 
package/README.md CHANGED
@@ -6,7 +6,7 @@ The styling layer behind Pimolu UI. Load one complete stylesheet, opt into predi
6
6
 
7
7
  [Quick start](https://pimolu.com/docs/quick-start) · [Theming](https://pimolu.com/docs/theming) · [Customization](https://github.com/pimoludev/ui/blob/main/docs/CUSTOMIZATION.md) · [Source](https://github.com/pimoludev/ui/tree/main/packages/web-styles)
8
8
 
9
- > **Beta:** `0.1.0-beta.5` is a preview. Public CSS entry points and visual tokens may change before `1.0.0`.
9
+ > **Beta:** `0.1.0-beta.7` is a preview. Public CSS entry points and visual tokens may change before `1.0.0`.
10
10
 
11
11
  ## Why Pimolu styles?
12
12
 
@@ -17,7 +17,8 @@
17
17
  transition: none !important;
18
18
  scroll-behavior: auto !important;
19
19
  }
20
- :where([data-pimolu-motion=off]) .pimolu-accordion__content[hidden] {
20
+ :where([data-pimolu-motion=off]) .pimolu-accordion__content[hidden],
21
+ :where([data-pimolu-motion=off]) .pimolu-accordion__content[data-state=closing] {
21
22
  display: none !important;
22
23
  }
23
24
  @media (prefers-reduced-motion: reduce) {
@@ -28,7 +29,8 @@
28
29
  transition: none !important;
29
30
  scroll-behavior: auto !important;
30
31
  }
31
- .pimolu-accordion__content[hidden] {
32
+ .pimolu-accordion__content[hidden],
33
+ .pimolu-accordion__content[data-state=closing] {
32
34
  display: none !important;
33
35
  }
34
36
  }
@@ -128,7 +130,7 @@
128
130
  .pimolu-accordion__content[data-state=open] {
129
131
  animation: pimolu-accordion-in 220ms cubic-bezier(0.16, 1, 0.3, 1);
130
132
  }
131
- .pimolu-accordion__content[hidden][data-state=closing] {
133
+ .pimolu-accordion__content[data-state=closing] {
132
134
  display: grid;
133
135
  animation: pimolu-accordion-out 220ms cubic-bezier(0.4, 0, 1, 1) both;
134
136
  }
@@ -174,8 +176,11 @@
174
176
  .pimolu-accordion__chevron {
175
177
  transition: none;
176
178
  }
177
- .pimolu-accordion__content[data-state=open],
178
- .pimolu-accordion__content[hidden][data-state=closing] {
179
+ .pimolu-accordion__content[data-state=open] {
180
+ animation: none;
181
+ }
182
+ .pimolu-accordion__content[data-state=closing] {
183
+ display: none;
179
184
  animation: none;
180
185
  }
181
186
  }
package/dist/avatar.css CHANGED
@@ -17,7 +17,8 @@
17
17
  transition: none !important;
18
18
  scroll-behavior: auto !important;
19
19
  }
20
- :where([data-pimolu-motion=off]) .pimolu-accordion__content[hidden] {
20
+ :where([data-pimolu-motion=off]) .pimolu-accordion__content[hidden],
21
+ :where([data-pimolu-motion=off]) .pimolu-accordion__content[data-state=closing] {
21
22
  display: none !important;
22
23
  }
23
24
  @media (prefers-reduced-motion: reduce) {
@@ -28,7 +29,8 @@
28
29
  transition: none !important;
29
30
  scroll-behavior: auto !important;
30
31
  }
31
- .pimolu-accordion__content[hidden] {
32
+ .pimolu-accordion__content[hidden],
33
+ .pimolu-accordion__content[data-state=closing] {
32
34
  display: none !important;
33
35
  }
34
36
  }
package/dist/badge.css CHANGED
@@ -17,7 +17,8 @@
17
17
  transition: none !important;
18
18
  scroll-behavior: auto !important;
19
19
  }
20
- :where([data-pimolu-motion=off]) .pimolu-accordion__content[hidden] {
20
+ :where([data-pimolu-motion=off]) .pimolu-accordion__content[hidden],
21
+ :where([data-pimolu-motion=off]) .pimolu-accordion__content[data-state=closing] {
21
22
  display: none !important;
22
23
  }
23
24
  @media (prefers-reduced-motion: reduce) {
@@ -28,7 +29,8 @@
28
29
  transition: none !important;
29
30
  scroll-behavior: auto !important;
30
31
  }
31
- .pimolu-accordion__content[hidden] {
32
+ .pimolu-accordion__content[hidden],
33
+ .pimolu-accordion__content[data-state=closing] {
32
34
  display: none !important;
33
35
  }
34
36
  }
package/dist/button.css CHANGED
@@ -9,7 +9,7 @@
9
9
  font-weight: var(--pimolu-button-font-weight, 400);
10
10
  border-radius: var(--pimolu-radius-md);
11
11
  cursor: pointer;
12
- transition: background-color 150ms, opacity 150ms;
12
+ transition: background-color var(--pimolu-interaction-duration, 150ms) var(--pimolu-interaction-easing, ease-out), opacity var(--pimolu-interaction-duration, 150ms) var(--pimolu-interaction-easing, ease-out);
13
13
  letter-spacing: var(--pimolu-button-letter-spacing, normal);
14
14
  }
15
15
  .pimolu-button--full-width {
@@ -108,7 +108,7 @@
108
108
  .pimolu-button--outline {
109
109
  background: transparent;
110
110
  color: var(--pimolu-foreground);
111
- border-color: var(--pimolu-border);
111
+ border-color: var(--pimolu-control-border, var(--pimolu-border));
112
112
  }
113
113
  .pimolu-button--outline:hover:not(:disabled) {
114
114
  background: var(--pimolu-muted);
package/dist/card.css CHANGED
@@ -17,7 +17,8 @@
17
17
  transition: none !important;
18
18
  scroll-behavior: auto !important;
19
19
  }
20
- :where([data-pimolu-motion=off]) .pimolu-accordion__content[hidden] {
20
+ :where([data-pimolu-motion=off]) .pimolu-accordion__content[hidden],
21
+ :where([data-pimolu-motion=off]) .pimolu-accordion__content[data-state=closing] {
21
22
  display: none !important;
22
23
  }
23
24
  @media (prefers-reduced-motion: reduce) {
@@ -28,7 +29,8 @@
28
29
  transition: none !important;
29
30
  scroll-behavior: auto !important;
30
31
  }
31
- .pimolu-accordion__content[hidden] {
32
+ .pimolu-accordion__content[hidden],
33
+ .pimolu-accordion__content[data-state=closing] {
32
34
  display: none !important;
33
35
  }
34
36
  }
package/dist/cascader.css CHANGED
@@ -42,7 +42,7 @@
42
42
  padding-inline-end: 64px;
43
43
  background: var(--pimolu-cascader-surface);
44
44
  color: var(--pimolu-foreground);
45
- border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-border);
45
+ border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-control-border, var(--pimolu-border));
46
46
  border-radius: var(--pimolu-radius-md, 8px);
47
47
  font-family: inherit;
48
48
  font-size: 0.875rem;
package/dist/chat.css CHANGED
@@ -208,6 +208,7 @@
208
208
  white-space: nowrap;
209
209
  }
210
210
  a.pimolu-chat__attachment-name {
211
+ text-decoration: underline;
211
212
  text-underline-offset: 2px;
212
213
  }
213
214
  a.pimolu-chat__attachment-name:hover {
package/dist/checkbox.css CHANGED
@@ -81,7 +81,7 @@
81
81
  box-sizing: border-box;
82
82
  background: var( --pimolu-surface, var(--pimolu-background) );
83
83
  color: var(--pimolu-checkbox-active-foreground);
84
- border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-border);
84
+ border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-control-border, var(--pimolu-border));
85
85
  border-radius: var(--pimolu-radius-sm, 4px);
86
86
  pointer-events: none;
87
87
  transition:
@@ -26,7 +26,7 @@
26
26
  min-width: 9rem;
27
27
  min-height: 40px;
28
28
  padding: 0 12px;
29
- border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-border, #d4d4d8);
29
+ border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-control-border, var(--pimolu-border, #d4d4d8));
30
30
  border-radius: var(--pimolu-radius-md, 8px);
31
31
  background: var( --pimolu-surface, var(--pimolu-background, #ffffff) );
32
32
  color: var(--pimolu-foreground);
package/dist/combobox.css CHANGED
@@ -96,7 +96,7 @@
96
96
  padding-inline-end: calc(var(--pimolu-combobox-padding-x) + 28px);
97
97
  background: var(--pimolu-combobox-surface);
98
98
  color: var(--pimolu-foreground);
99
- border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-border);
99
+ border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-control-border, var(--pimolu-border));
100
100
  border-radius: var(--pimolu-radius-md, 8px);
101
101
  font-family: inherit;
102
102
  font-size: var(--pimolu-combobox-font-size);
package/dist/command.css CHANGED
@@ -17,7 +17,8 @@
17
17
  transition: none !important;
18
18
  scroll-behavior: auto !important;
19
19
  }
20
- :where([data-pimolu-motion=off]) .pimolu-accordion__content[hidden] {
20
+ :where([data-pimolu-motion=off]) .pimolu-accordion__content[hidden],
21
+ :where([data-pimolu-motion=off]) .pimolu-accordion__content[data-state=closing] {
21
22
  display: none !important;
22
23
  }
23
24
  @media (prefers-reduced-motion: reduce) {
@@ -28,7 +29,8 @@
28
29
  transition: none !important;
29
30
  scroll-behavior: auto !important;
30
31
  }
31
- .pimolu-accordion__content[hidden] {
32
+ .pimolu-accordion__content[hidden],
33
+ .pimolu-accordion__content[data-state=closing] {
32
34
  display: none !important;
33
35
  }
34
36
  }
@@ -36,7 +36,7 @@
36
36
  min-height: var(--pimolu-currency-input-height);
37
37
  padding-inline: var(--pimolu-currency-input-padding);
38
38
  background: var( --pimolu-surface, var(--pimolu-background, #ffffff) );
39
- border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-border, #e2e8f0);
39
+ border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-control-border, var(--pimolu-border, #e2e8f0));
40
40
  border-radius: var(--pimolu-radius-md, 8px);
41
41
  box-shadow: var(--pimolu-currency-input-elevation);
42
42
  transition:
@@ -44,7 +44,7 @@
44
44
  background: var( --pimolu-surface, var(--pimolu-background, #ffffff) );
45
45
  color: var(--pimolu-foreground, #0f172a);
46
46
  text-align: start;
47
- border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-border, #e2e8f0);
47
+ border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-control-border, var(--pimolu-border, #e2e8f0));
48
48
  border-radius: var(--pimolu-radius-md, 8px);
49
49
  font: inherit;
50
50
  font-size: 0.875rem;
@@ -17,7 +17,8 @@
17
17
  transition: none !important;
18
18
  scroll-behavior: auto !important;
19
19
  }
20
- :where([data-pimolu-motion=off]) .pimolu-accordion__content[hidden] {
20
+ :where([data-pimolu-motion=off]) .pimolu-accordion__content[hidden],
21
+ :where([data-pimolu-motion=off]) .pimolu-accordion__content[data-state=closing] {
21
22
  display: none !important;
22
23
  }
23
24
  @media (prefers-reduced-motion: reduce) {
@@ -28,7 +29,8 @@
28
29
  transition: none !important;
29
30
  scroll-behavior: auto !important;
30
31
  }
31
- .pimolu-accordion__content[hidden] {
32
+ .pimolu-accordion__content[hidden],
33
+ .pimolu-accordion__content[data-state=closing] {
32
34
  display: none !important;
33
35
  }
34
36
  }
package/dist/form.css CHANGED
@@ -17,7 +17,8 @@
17
17
  transition: none !important;
18
18
  scroll-behavior: auto !important;
19
19
  }
20
- :where([data-pimolu-motion=off]) .pimolu-accordion__content[hidden] {
20
+ :where([data-pimolu-motion=off]) .pimolu-accordion__content[hidden],
21
+ :where([data-pimolu-motion=off]) .pimolu-accordion__content[data-state=closing] {
21
22
  display: none !important;
22
23
  }
23
24
  @media (prefers-reduced-motion: reduce) {
@@ -28,7 +29,8 @@
28
29
  transition: none !important;
29
30
  scroll-behavior: auto !important;
30
31
  }
31
- .pimolu-accordion__content[hidden] {
32
+ .pimolu-accordion__content[hidden],
33
+ .pimolu-accordion__content[data-state=closing] {
32
34
  display: none !important;
33
35
  }
34
36
  }
@@ -35,7 +35,7 @@
35
35
  min-height: var(--pimolu-input-height);
36
36
  padding-inline: var(--pimolu-input-padding);
37
37
  background: var( --pimolu-surface, var(--pimolu-background) );
38
- border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-border);
38
+ border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-control-border, var(--pimolu-border));
39
39
  border-radius: var(--pimolu-radius-md, 8px);
40
40
  box-shadow: var(--pimolu-input-elevation);
41
41
  transition:
@@ -280,7 +280,7 @@
280
280
  width: min(100%, 360px);
281
281
  min-width: 0;
282
282
  background: var( --pimolu-surface, var(--pimolu-background) );
283
- border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-border);
283
+ border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-control-border, var(--pimolu-border));
284
284
  border-radius: var(--pimolu-radius-md, 8px);
285
285
  box-shadow: var(--pimolu-input-elevation);
286
286
  color: var(--pimolu-foreground);
package/dist/input.css CHANGED
@@ -35,7 +35,7 @@
35
35
  min-height: var(--pimolu-input-height);
36
36
  padding-inline: var(--pimolu-input-padding);
37
37
  background: var( --pimolu-surface, var(--pimolu-background) );
38
- border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-border);
38
+ border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-control-border, var(--pimolu-border));
39
39
  border-radius: var(--pimolu-radius-md, 8px);
40
40
  box-shadow: var(--pimolu-input-elevation);
41
41
  transition: