@simplybusiness/theme-core 7.5.3 → 7.6.0

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,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 00eb583: Added utility animation
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [00eb583]
12
+ - @simplybusiness/mobius@5.25.0
13
+
14
+ ## 7.5.4
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [9acf157]
19
+ - Updated dependencies [a5c2fbd]
20
+ - @simplybusiness/mobius@5.24.3
21
+
3
22
  ## 7.5.3
4
23
 
5
24
  ### Patch Changes
package/dist/index.css CHANGED
@@ -371,7 +371,7 @@ h6.mobius-accordion__link-text,
371
371
  font-weight:normal;
372
372
  }
373
373
 
374
- .mobius-button:where(.--variant-link):not(.--is-loading){
374
+ .mobius-button:where(.--variant-link):where(:not(.--is-loading)){
375
375
  -webkit-text-decoration:underline;
376
376
  text-decoration:underline;
377
377
  }
@@ -554,6 +554,14 @@ a.mobius-button:focus-visible,
554
554
  width:100%;
555
555
  }
556
556
 
557
+ .mobius-text-field__input-wrapper.mobius-combobox__input{
558
+ padding-left:var(--size-sm);
559
+ }
560
+
561
+ .mobius-text-field__input-wrapper.mobius-combobox__input .mobius-text-field__prefix-inside{
562
+ padding-left:0;
563
+ }
564
+
557
565
  .mobius-combobox__list{
558
566
  position:absolute;
559
567
  margin:0;
@@ -2997,6 +3005,24 @@ svg:not(:host).svg-inline--mobius-icon{
2997
3005
  --color-text-popover:#fff;
2998
3006
  }
2999
3007
 
3008
+ :root{
3009
+ --color-pulse:var(--color-focus);
3010
+ --size-pulse:var(--size-sm);
3011
+ }
3012
+
3013
+ .animate-pulse{
3014
+ animation:pulse-animation 2s infinite;
3015
+ }
3016
+
3017
+ @keyframes pulse-animation{
3018
+ 0%{
3019
+ box-shadow:0 0 0 0px var(--color-pulse);
3020
+ }
3021
+ 100%{
3022
+ box-shadow:0 0 0 var(--size-pulse) rgba(0, 0, 0, 0);
3023
+ }
3024
+ }
3025
+
3000
3026
  .mobius{
3001
3027
  font-family:var(--font-family);
3002
3028
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-core",
3
- "version": "7.5.3",
3
+ "version": "7.6.0",
4
4
  "main": "dist/index.css",
5
5
  "simplyBusiness": {
6
6
  "publishToPublicNpm": true
@@ -26,20 +26,20 @@
26
26
  "./fonts": "./dist/fonts.css"
27
27
  },
28
28
  "dependencies": {
29
- "@simplybusiness/mobius": "^5.24.2"
29
+ "@simplybusiness/mobius": "^5.25.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "css-loader": "^7.1.2",
33
33
  "mini-css-extract-plugin": "^2.9.2",
34
- "postcss": "^8.4.49",
34
+ "postcss": "^8.5.3",
35
35
  "postcss-discard-comments": "^7.0.3",
36
36
  "postcss-import": "^16.1.0",
37
37
  "postcss-loader": "^8.1.1",
38
38
  "postcss-nested": "^6.2.0",
39
- "postcss-preset-env": "^10.1.1",
39
+ "postcss-preset-env": "^10.1.5",
40
40
  "postcss-url": "^10.1.3",
41
41
  "resolve-url-loader": "^5.0.0",
42
- "webpack": "^5.97.1",
42
+ "webpack": "^5.98.0",
43
43
  "webpack-cli": "^5.1.4"
44
44
  }
45
45
  }
@@ -0,0 +1,17 @@
1
+ :root {
2
+ --color-pulse: var(--color-focus);
3
+ --size-pulse: var(--size-sm);
4
+ }
5
+
6
+ .animate-pulse {
7
+ animation: pulse-animation 2s infinite;
8
+ }
9
+
10
+ @keyframes pulse-animation {
11
+ 0% {
12
+ box-shadow: 0 0 0 0px var(--color-pulse);
13
+ }
14
+ 100% {
15
+ box-shadow: 0 0 0 var(--size-pulse) rgba(0, 0, 0, 0);
16
+ }
17
+ }
package/src/index.css CHANGED
@@ -39,6 +39,7 @@
39
39
 
40
40
  @import "./fonts.css";
41
41
  @import "./variables.css";
42
+ @import "./animations.css";
42
43
 
43
44
  .mobius {
44
45
  font-family: var(--font-family);