@simplybusiness/theme-core 7.8.2 → 7.8.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.8.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [7ad7646]
8
+ - @simplybusiness/mobius@5.29.4
9
+
10
+ ## 7.8.3
11
+
12
+ ### Patch Changes
13
+
14
+ - fc78088: chore: add missing dependencies
15
+ - c7a4ec3: chore: hoist custom css properties to variables files and remove colocated definitions
16
+ - Updated dependencies [fc78088]
17
+ - Updated dependencies [c7a4ec3]
18
+ - @simplybusiness/mobius@5.29.3
19
+
3
20
  ## 7.8.2
4
21
 
5
22
  ### Patch Changes
package/dist/index.css CHANGED
@@ -169,17 +169,6 @@ h6.mobius-accordion__link-text,
169
169
  margin-right:var(--size-xs);
170
170
  }
171
171
 
172
- :root,
173
- :host{
174
- --button-primary-font-variation:normal;
175
- --button-primary-color:var(--color-primary);
176
- --button-primary-content-color:var(--color-text-inverted);
177
- --button-primary-hover-color:var(--color-primary-hover);
178
- --button-secondary-color:var(--color-secondary);
179
- --button-secondary-hover-color:var(--color-secondary-hover);
180
- --button-border-radius:var(--radius-1);
181
- }
182
-
183
172
  .mobius-button{
184
173
  box-sizing:border-box;
185
174
  display:inline-block;
@@ -546,19 +535,6 @@ a.mobius-button:focus-visible,
546
535
  content:" (optional)";
547
536
  }
548
537
 
549
- :root,
550
- :host{
551
- --combobox-border-color:#ccc;
552
- --combobox-group-color:var(--color-text);
553
- --combobox-group-background-color:#dad6f7;
554
- --combobox-selected-background-color:var(--color-primary);
555
- --listbox-height:min-content;
556
- --listbox-max-height:350px;
557
- --listbox-max-height-mobile:240px;
558
- --listbox-gap:4px;
559
- --option-padding:var(--size-xs) var(--size-lg);
560
- }
561
-
562
538
  .mobius-combobox{
563
539
  interpolate-size:allow-keywords;
564
540
  position:relative;
@@ -874,11 +850,6 @@ a.mobius-button:focus-visible,
874
850
  overflow-y:auto;
875
851
  }
876
852
 
877
- :root,
878
- :host{
879
- --dropdown-menu-max-width:200px;
880
- }
881
-
882
853
  .mobius-dropdown-menu{
883
854
  position:relative;
884
855
  max-width:var(--dropdown-menu-max-width);
@@ -1019,12 +990,6 @@ a.mobius-button:focus-visible,
1019
990
  }
1020
991
  }
1021
992
 
1022
- :root,
1023
- :host{
1024
- --label-font-weight:var(--font-weight-bold);
1025
- --label-font-variation-settings:normal;
1026
- }
1027
-
1028
993
  .mobius-label{
1029
994
  box-sizing:border-box;
1030
995
  font-size:var(--font-size-regular);
@@ -1137,18 +1102,11 @@ a.mobius-button:focus-visible,
1137
1102
  color:var(--color-primary);
1138
1103
  }
1139
1104
 
1140
- :root,
1141
- :host,
1142
- ::backdrop{
1143
- --modal-transition-duration:0;
1144
- --backdrop-color:#18181d;
1145
- }
1146
-
1147
- @media (prefers-reduced-motion: no-preference){
1105
+ @media (prefers-reduced-motion: ){
1148
1106
  :root,
1149
1107
  :host,
1150
1108
  ::backdrop{
1151
- --modal-transition-duration:300ms;
1109
+ --modal-transition-duration:0;
1152
1110
  }
1153
1111
  }
1154
1112
 
@@ -1306,11 +1264,6 @@ a.mobius-button:focus-visible,
1306
1264
  }
1307
1265
  }
1308
1266
 
1309
- :root,
1310
- :host{
1311
- --number-input-max-width:none;
1312
- }
1313
-
1314
1267
  .mobius-number-field{
1315
1268
  box-sizing:border-box;
1316
1269
  width:100%;
@@ -1645,11 +1598,6 @@ a.mobius-button:focus-visible,
1645
1598
  padding-top:calc(var(--size-xxs) - 1px);
1646
1599
  }
1647
1600
 
1648
- :root,
1649
- :host{
1650
- --segment-border:var(--size-border-width) solid var(--color-border-light);
1651
- }
1652
-
1653
1601
  .mobius-segment-group{
1654
1602
  box-sizing:border-box;
1655
1603
  display:flex;
@@ -1806,11 +1754,6 @@ a.mobius-button:focus-visible,
1806
1754
  margin-bottom:var(--size-sm);
1807
1755
  }
1808
1756
 
1809
- :root,
1810
- :host{
1811
- --select-wrapper-max-width:none;
1812
- }
1813
-
1814
1757
  .mobius-select__outer{
1815
1758
  box-sizing:border-box;
1816
1759
  width:100%;
@@ -1892,15 +1835,6 @@ a.mobius-button:focus-visible,
1892
1835
  color:var(--color-error);
1893
1836
  }
1894
1837
 
1895
- :root,
1896
- :host{
1897
- --slider-primary-track-background:var(--color-primary-lighter);
1898
- --slider-primary-thumb-background:var(--color-primary);
1899
- --slider-secondary-track-background:var(--color-accent-lighter);
1900
- --slider-secondary-thumb-background:var(--color-accent);
1901
- --thumb-size:20px;
1902
- }
1903
-
1904
1838
  .mobius-slider{
1905
1839
  position:relative;
1906
1840
  display:grid;
@@ -2044,11 +1978,6 @@ a.mobius-button:focus-visible,
2044
1978
  gap:var(--size-xl);
2045
1979
  }
2046
1980
 
2047
- :root,
2048
- :host{
2049
- --switch-transition-duration:0.15s;
2050
- }
2051
-
2052
1981
  .mobius-switch{
2053
1982
  position:relative;
2054
1983
  display:inline-block;
@@ -2115,11 +2044,6 @@ a.mobius-button:focus-visible,
2115
2044
  background-color:var(--color-primary-light);
2116
2045
  }
2117
2046
 
2118
- :root,
2119
- :host{
2120
- --table-border-width:1px;
2121
- }
2122
-
2123
2047
  .mobius-table{
2124
2048
  display:table;
2125
2049
  box-sizing:border-box;
@@ -2320,11 +2244,6 @@ a.mobius-button:focus-visible,
2320
2244
  width:100%;
2321
2245
  }
2322
2246
 
2323
- :root,
2324
- :host{
2325
- --text-input-max-width:none;
2326
- }
2327
-
2328
2247
  .mobius-text-field{
2329
2248
  box-sizing:border-box;
2330
2249
  width:100%;
@@ -2477,11 +2396,6 @@ a.mobius-button:focus-visible,
2477
2396
  cursor:not-allowed;
2478
2397
  }
2479
2398
 
2480
- :root,
2481
- :host{
2482
- --title-decorator-width:8px;
2483
- }
2484
-
2485
2399
  .mobius-title{
2486
2400
  display:flex;
2487
2401
  padding-left:var(--size-sm);
@@ -3057,7 +2971,7 @@ svg:not(:host).svg-inline--mobius-icon{
3057
2971
  --listbox-gap:4px;
3058
2972
  --option-padding:var(--size-xs) var(--size-lg);
3059
2973
  --drawer-transition-duration:200ms;
3060
- --modal-transition-duration:0;
2974
+ --modal-transition-duration:300ms;
3061
2975
  --backdrop-color:#18181d;
3062
2976
  --label-color:var(--color-text);
3063
2977
  --label-font-weight:var(--font-weight-bold);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-core",
3
- "version": "7.8.2",
3
+ "version": "7.8.4",
4
4
  "main": "dist/index.css",
5
5
  "simplyBusiness": {
6
6
  "publishToPublicNpm": true
@@ -26,7 +26,7 @@
26
26
  "./fonts": "./dist/fonts.css"
27
27
  },
28
28
  "dependencies": {
29
- "@simplybusiness/mobius": "^5.29.2"
29
+ "@simplybusiness/mobius": "^5.29.4"
30
30
  },
31
31
  "devDependencies": {
32
32
  "css-loader": "^7.1.2",
@@ -44,6 +44,7 @@
44
44
  "sass": "^1.89.0",
45
45
  "sass-loader": "^16.0.5",
46
46
  "webpack": "^5.99.9",
47
- "webpack-cli": "^6.0.1"
47
+ "webpack-cli": "^6.0.1",
48
+ "webpack-remove-empty-scripts": "^1.1.1"
48
49
  }
49
50
  }
package/src/variables.css CHANGED
@@ -162,7 +162,7 @@
162
162
 
163
163
  /* Drawer and Modal */
164
164
  --drawer-transition-duration: 200ms;
165
- --modal-transition-duration: 0;
165
+ --modal-transition-duration: 300ms;
166
166
  --backdrop-color: #18181d;
167
167
 
168
168
  /* Label and Inputs */