@pictogrammers/components 0.5.18 → 0.5.19

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pictogrammers/components",
3
3
  "type": "module",
4
- "version": "0.5.18",
4
+ "version": "0.5.19",
5
5
  "license": "MIT",
6
6
  "author": "Austin Andrews",
7
7
  "scripts": {
@@ -36,25 +36,18 @@
36
36
  --pg-icon-color: var(--pg-button-hover-color, #FFFFFF);
37
37
  }
38
38
 
39
+ [part=button]:hover:active {
40
+ box-shadow: 0 1px 0.25rem rgba(0, 0, 0, 1) inset;
41
+ }
42
+
39
43
  [part=button]:active {
40
- box-shadow: 0 1px 0.25rem rgba(0, 0, 0, 0.5) inset;
41
- position: relative;
44
+ box-shadow: 0 1px 0.25rem rgba(0, 0, 0, 0.3) inset;
42
45
  }
43
46
 
44
47
  [part=button]:focus-visible {
45
48
  position: relative;
46
49
  }
47
50
 
48
- [part=button]:active::before {
49
- content: '';
50
- position: absolute;
51
- top: -1px;
52
- right: -1px;
53
- bottom: -1px;
54
- left: -1px;
55
- border-radius: var(--pg-button-border-radius, 0.25rem);
56
- box-shadow: 0 0 0 3px var(--pg-focus-color, rgb(79, 143, 249, 0.6));
57
- }
58
51
  [part=button]:focus-visible::before {
59
52
  pointer-events: none;
60
53
  content: '';
@@ -14,11 +14,17 @@
14
14
  font-size: 1rem;
15
15
  outline: none;
16
16
  field-sizing: content;
17
- min-width: calc(
18
- 100%
19
- - var(--pg-input-number-padding-inline-start, var(--pg-input-number-padding-inline, 0.5rem))
20
- - var(--pg-input-number-padding-inline-end, var(--pg-input-number-padding-inline, 0.5rem))
21
- - 2px
17
+ min-width: max(
18
+ 1rem,
19
+ var(
20
+ --pg-input-number-min-width,
21
+ calc(
22
+ 100%
23
+ - var(--pg-input-number-padding-inline-start, var(--pg-input-number-padding-inline, 0.5rem))
24
+ - var(--pg-input-number-padding-inline-end, var(--pg-input-number-padding-inline, 0.5rem))
25
+ - 2px
26
+ )
27
+ )
22
28
  );
23
29
  max-width: calc(
24
30
  var(--pg-input-number-max-width, 100%)