@geoffcox/sterling-svelte-themes 2.0.0 → 2.0.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.
package/README.md CHANGED
@@ -19,3 +19,42 @@ set on the root document element.
19
19
  ## Repository
20
20
 
21
21
  https://github.com/GeoffCox/sterling-svelte-themes
22
+
23
+ ## Change Log
24
+
25
+ ### 2.0.1
26
+
27
+ - Label - fix justification of text vs chilren in horizontal layout
28
+ - Label - fixed spacing between text and children in horizontal and vertical layouts
29
+ - Label - fixed CSS specifier for required reason inside Tooltip
30
+ - Label - increased min-width of required indicator to made hover easier
31
+
32
+ ### 2.0.0
33
+
34
+ - light-dark() theme support
35
+
36
+ ### 1.0.4
37
+
38
+ - Dropdown - added classes for button and icon slots, dropdown content
39
+ - MenuItem - moved MenuItemDisplay.css styles into MenuItem.defaultItem.css
40
+ - Pagination - added styles
41
+ - Select - added class for select content
42
+
43
+ ### 1.0.3
44
+
45
+ - Button, Checkbox, Dialog, Input, Label, MenuItem, Radio, Switch, Tab, and TextArea - Added appearance:none to avoid built-in styles in some browsers
46
+
47
+
48
+ ### 1.0.2
49
+
50
+ - Reorganization of CSS
51
+ - Label - Fixed css var typos
52
+ - Button - added colors
53
+
54
+ ### 1.0.1
55
+
56
+ - Fixed CSS exports in package
57
+
58
+ ### 1.0.0
59
+
60
+ - Moved CSS into this package to separate Sterling Theme from sterling-svelte
@@ -37,11 +37,15 @@
37
37
  color: var(--stsv-common__color--secondary);
38
38
  font-size: 0.8em;
39
39
  grid-area: text;
40
- margin-right: 0.635em;
40
+ justify-self: flex-start;
41
41
  }
42
42
 
43
- .sterling-label .text:empty {
44
- margin: 0;
43
+ .sterling-label:not(.vertical) .text:not(:empty) {
44
+ margin-right: 0.5em;
45
+ }
46
+
47
+ .sterling-label.vertical .text:not(:empty) {
48
+ margin-bottom: 0.25em;
45
49
  }
46
50
 
47
51
  .sterling-label .content {
@@ -98,9 +102,9 @@
98
102
  right: 0;
99
103
  }
100
104
 
101
- .sterling-label .required-reason {
105
+ .sterling-label-tooltip .required-reason {
102
106
  display: block;
103
- padding: 4px;
107
+ padding: 0.125em;
104
108
  }
105
109
 
106
110
  @media (prefers-reduced-motion) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geoffcox/sterling-svelte-themes",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "author": "Geoff Cox",
5
5
  "description": "A modern theme for the sterling-svelte component library.",
6
6
  "license": "MIT",