@simplybusiness/theme-core 7.1.5 → 7.2.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,29 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - cc9aad5: Add `Combobox` component
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [af05836]
12
+ - Updated dependencies [ec04e00]
13
+ - Updated dependencies [a0d927d]
14
+ - Updated dependencies [cc9aad5]
15
+ - Updated dependencies [d1b33b1]
16
+ - @simplybusiness/mobius@5.5.0
17
+
18
+ ## 7.1.6
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [2085451]
23
+ - Updated dependencies [b4eec50]
24
+ - Updated dependencies [37bf8fa]
25
+ - @simplybusiness/mobius@5.4.0
26
+
3
27
  ## 7.1.5
4
28
 
5
29
  ### Patch Changes
package/dist/index.css CHANGED
@@ -536,6 +536,37 @@ a.mobius-button:focus-visible,
536
536
  content:" (optional)";
537
537
  }
538
538
 
539
+ .mobius-combobox{
540
+ position:relative;
541
+ }
542
+
543
+ .mobius-combobox__list{
544
+ position:absolute;
545
+ margin:0;
546
+ padding:0;
547
+ top:100%;
548
+ left:0;
549
+ right:0;
550
+ z-index:1000;
551
+ background-color:#fff;
552
+ border:1px solid #ccc;
553
+ border-top:0;
554
+ box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);
555
+ max-height:200px;
556
+ overflow-y:auto;
557
+ }
558
+
559
+ .mobius-combobox__option{
560
+ padding:0.5rem 1rem;
561
+ cursor:pointer;
562
+ }
563
+
564
+ .mobius-combobox__option:hover,
565
+ .mobius-combobox__option--is-highlighted{
566
+ background-color:var(--color-primary);
567
+ color:var(--color-neutral-100);
568
+ }
569
+
539
570
  .mobius-container{
540
571
  box-sizing:border-box;
541
572
  margin-left:auto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-core",
3
- "version": "7.1.5",
3
+ "version": "7.2.0",
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.3.1"
29
+ "@simplybusiness/mobius": "^5.5.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "css-loader": "^7.1.2",
@@ -36,7 +36,7 @@
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.0.6",
39
+ "postcss-preset-env": "^10.0.8",
40
40
  "postcss-url": "^10.1.3",
41
41
  "resolve-url-loader": "^5.0.0",
42
42
  "ts-loader": "^9.5.1",
package/src/index.css CHANGED
@@ -5,6 +5,7 @@
5
5
  @import "@simplybusiness/mobius/src/components/Button/Button.css";
6
6
  @import "@simplybusiness/mobius/src/components/Checkbox/Checkbox.css";
7
7
  @import "@simplybusiness/mobius/src/components/Checkbox/CheckboxGroup.css";
8
+ @import "@simplybusiness/mobius/src/components/Combobox/Combobox.css";
8
9
  @import "@simplybusiness/mobius/src/components/Container/Container.css";
9
10
  @import "@simplybusiness/mobius/src/components/Divider/Divider.css";
10
11
  @import "@simplybusiness/mobius/src/components/Drawer/Drawer.css";