@simplybusiness/theme-core 7.1.6 → 7.2.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 +25 -0
- package/dist/index.css +73 -0
- package/package.json +2 -2
- package/src/index.css +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 7.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [7352bc8]
|
|
8
|
+
- Updated dependencies [3da7d02]
|
|
9
|
+
- Updated dependencies [b2d5b4b]
|
|
10
|
+
- Updated dependencies [3708724]
|
|
11
|
+
- @simplybusiness/mobius@5.6.0
|
|
12
|
+
|
|
13
|
+
## 7.2.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- cc9aad5: Add `Combobox` component
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [af05836]
|
|
22
|
+
- Updated dependencies [ec04e00]
|
|
23
|
+
- Updated dependencies [a0d927d]
|
|
24
|
+
- Updated dependencies [cc9aad5]
|
|
25
|
+
- Updated dependencies [d1b33b1]
|
|
26
|
+
- @simplybusiness/mobius@5.5.0
|
|
27
|
+
|
|
3
28
|
## 7.1.6
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
package/dist/index.css
CHANGED
|
@@ -536,6 +536,79 @@ a.mobius-button:focus-visible,
|
|
|
536
536
|
content:" (optional)";
|
|
537
537
|
}
|
|
538
538
|
|
|
539
|
+
:root{
|
|
540
|
+
interpolate-size:allow-keywords;
|
|
541
|
+
--combobox-border-color:#ccc;
|
|
542
|
+
--combobox-group-color:var(--color-text);
|
|
543
|
+
--combobox-group-background-color:#dad6f7;
|
|
544
|
+
--combobox-selected-background-color:var(--color-primary);
|
|
545
|
+
--listbox-height:200px;
|
|
546
|
+
--listbox-gap:4px;
|
|
547
|
+
--option-padding:var(--size-xs) var(--size-lg);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.mobius-combobox{
|
|
551
|
+
position:relative;
|
|
552
|
+
width:100%;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.mobius-combobox__list{
|
|
556
|
+
position:absolute;
|
|
557
|
+
margin:0;
|
|
558
|
+
margin-top:var(--listbox-gap);
|
|
559
|
+
padding:0;
|
|
560
|
+
top:100%;
|
|
561
|
+
left:0;
|
|
562
|
+
right:0;
|
|
563
|
+
z-index:1000;
|
|
564
|
+
background-color:#fff;
|
|
565
|
+
border:1px solid var(--combobox-border-color);
|
|
566
|
+
border-radius:var(--radius-1);
|
|
567
|
+
box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);
|
|
568
|
+
max-height:var(--listbox-height);
|
|
569
|
+
overflow-y:auto;
|
|
570
|
+
height:0;
|
|
571
|
+
opacity:0;
|
|
572
|
+
transition:box-shadow 0.3s ease, height 0.3s ease, opacity 0.3s ease;
|
|
573
|
+
transition-behavior:allow-discrete;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.mobius-combobox__list.expanded{
|
|
577
|
+
opacity:1;
|
|
578
|
+
height:auto;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
.mobius-combobox__option{
|
|
582
|
+
padding:var(--option-padding);
|
|
583
|
+
cursor:pointer;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
.mobius-combobox__option:hover,
|
|
587
|
+
.mobius-combobox__option--is-highlighted{
|
|
588
|
+
background-color:var(--color-primary);
|
|
589
|
+
color:var(--color-neutral-100);
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
[role="group"]{
|
|
593
|
+
margin:0;
|
|
594
|
+
padding:0;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
[role="group"] > [role="presentation"]{
|
|
598
|
+
display:block;
|
|
599
|
+
margin:0;
|
|
600
|
+
padding:var(--option-padding);
|
|
601
|
+
font-weight:bold;
|
|
602
|
+
color:var(--combobox-group-color);
|
|
603
|
+
background-color:var(--combobox-group-background-color);
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
[role="option"]{
|
|
607
|
+
position:relative;
|
|
608
|
+
display:block;
|
|
609
|
+
cursor:pointer;
|
|
610
|
+
}
|
|
611
|
+
|
|
539
612
|
.mobius-container{
|
|
540
613
|
box-sizing:border-box;
|
|
541
614
|
margin-left:auto;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplybusiness/theme-core",
|
|
3
|
-
"version": "7.1
|
|
3
|
+
"version": "7.2.1",
|
|
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
|
+
"@simplybusiness/mobius": "^5.6.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"css-loader": "^7.1.2",
|
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";
|