@simplybusiness/theme-simplybusiness 1.10.0 → 1.10.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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @simplybusiness/theme-simplybusiness
2
2
 
3
+ ## 1.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [80c483e]
8
+ - @simplybusiness/theme-core@7.4.0
9
+ - @simplybusiness/mobius@5.20.0
10
+ - @simplybusiness/mobius-datepicker@6.4.3
11
+ - @simplybusiness/mobius-journey@6.55.1
12
+
3
13
  ## 1.10.0
4
14
 
5
15
  ### Minor Changes
package/dist/index.css CHANGED
@@ -1670,6 +1670,56 @@ a.mobius-button:focus-visible,
1670
1670
  gap:var(--size-xl);
1671
1671
  }
1672
1672
  :root,
1673
+ :host{
1674
+ --transition-duration:0.15s;
1675
+ }
1676
+ .mobius-switch{
1677
+ position:relative;
1678
+ display:inline-block;
1679
+ border-radius:30px;
1680
+ width:55px;
1681
+ height:30px;
1682
+ }
1683
+ .mobius-switch input{
1684
+ opacity:0;
1685
+ width:0;
1686
+ height:0;
1687
+ }
1688
+ :is(.mobius-switch input):focus-visible + .mobius-switch__slider{
1689
+ box-shadow:var(--box-shadow-default);
1690
+ }
1691
+ .mobius-switch__slider{
1692
+ position:absolute;
1693
+ cursor:pointer;
1694
+ border-radius:30px;
1695
+ top:0;
1696
+ left:0;
1697
+ right:0;
1698
+ bottom:0;
1699
+ background-color:var(--color-border);
1700
+ transition:var(--transition-duration);
1701
+ }
1702
+ .mobius-switch__slider:before{
1703
+ position:absolute;
1704
+ content:"";
1705
+ border-radius:50%;
1706
+ height:26px;
1707
+ width:26px;
1708
+ left:3px;
1709
+ bottom:2px;
1710
+ background-color:var(--color-background);
1711
+ transition:var(--transition-duration);
1712
+ }
1713
+ .mobius-switch--checked .mobius-switch__slider{
1714
+ background-color:var(--color-primary);
1715
+ }
1716
+ :is(.mobius-switch--checked .mobius-switch__slider):hover{
1717
+ background-color:var(--color-primary-hover);
1718
+ }
1719
+ .mobius-switch--checked .mobius-switch__slider:before{
1720
+ transform:translateX(23px);
1721
+ }
1722
+ :root,
1673
1723
  :host{
1674
1724
  --table-border-width:1px;
1675
1725
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-simplybusiness",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "main": "dist/index.css",
5
5
  "simplyBusiness": {
6
6
  "publishToPublicNpm": true
@@ -26,10 +26,10 @@
26
26
  "./fonts": "./dist/fonts.css"
27
27
  },
28
28
  "dependencies": {
29
- "@simplybusiness/mobius": "^5.19.1",
30
- "@simplybusiness/mobius-datepicker": "^6.4.2",
31
- "@simplybusiness/mobius-journey": "^6.55.0",
32
- "@simplybusiness/theme-core": "^7.3.3"
29
+ "@simplybusiness/mobius": "^5.20.0",
30
+ "@simplybusiness/mobius-datepicker": "^6.4.3",
31
+ "@simplybusiness/mobius-journey": "^6.55.1",
32
+ "@simplybusiness/theme-core": "^7.4.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "css-loader": "^7.1.2",