forstok-ui-lib 8.3.3 → 8.3.5
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/dist/index.js +20 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -17
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/stylesheets/shares.styles.ts +20 -17
package/package.json
CHANGED
|
@@ -3708,6 +3708,11 @@ export const DropdownItem = styled.li<{ $mode?: 'common' | 'categories', $isActi
|
|
|
3708
3708
|
grid-auto-flow: column;
|
|
3709
3709
|
grid-template-columns: 100px auto;
|
|
3710
3710
|
}
|
|
3711
|
+
&[data-disabled="true"]{
|
|
3712
|
+
color: rgb(169, 169, 169);
|
|
3713
|
+
opacity: 0.7;
|
|
3714
|
+
pointer-events: none;
|
|
3715
|
+
}
|
|
3711
3716
|
${({ $mode }) => !$mode && css`
|
|
3712
3717
|
padding: 8px .5em;
|
|
3713
3718
|
&:first-child {
|
|
@@ -3717,21 +3722,7 @@ export const DropdownItem = styled.li<{ $mode?: 'common' | 'categories', $isActi
|
|
|
3717
3722
|
padding-bottom: 4px;
|
|
3718
3723
|
}
|
|
3719
3724
|
`}
|
|
3720
|
-
${({ $mode }) => $mode
|
|
3721
|
-
grid-auto-flow: column;
|
|
3722
|
-
grid-template-columns: 22px auto;
|
|
3723
|
-
min-height: 33px;
|
|
3724
|
-
align-items: center;
|
|
3725
|
-
grid-gap: 0;
|
|
3726
|
-
> label {
|
|
3727
|
-
cursor: pointer;
|
|
3728
|
-
text-transform: capitalize;
|
|
3729
|
-
}
|
|
3730
|
-
@media only screen and (min-width: 768px) {
|
|
3731
|
-
grid-template-columns: 22px auto;
|
|
3732
|
-
}
|
|
3733
|
-
`}
|
|
3734
|
-
${({ $mode }) => $mode === 'common' && css`
|
|
3725
|
+
${({ $mode }) => $mode && css`
|
|
3735
3726
|
margin-bottom: 4px;
|
|
3736
3727
|
color: var(--pri-clr);
|
|
3737
3728
|
line-height: 20px;
|
|
@@ -3757,8 +3748,19 @@ export const DropdownItem = styled.li<{ $mode?: 'common' | 'categories', $isActi
|
|
|
3757
3748
|
white-space: nowrap;
|
|
3758
3749
|
display: block;
|
|
3759
3750
|
}
|
|
3751
|
+
${$mode === 'categories' && css`
|
|
3752
|
+
padding: 0 !important;
|
|
3753
|
+
> label {
|
|
3754
|
+
&:last-child {
|
|
3755
|
+
padding: .5rem 1.5rem .5rem .75rem;
|
|
3756
|
+
}
|
|
3757
|
+
}
|
|
3758
|
+
`}
|
|
3759
|
+
`}
|
|
3760
|
+
${({ $mode }) => $mode === 'categories' && css`
|
|
3761
|
+
|
|
3760
3762
|
`}
|
|
3761
|
-
${({ $mode, $isReply }) => ($mode
|
|
3763
|
+
${({ $mode, $isReply }) => ($mode && $isReply) && css`
|
|
3762
3764
|
padding-right: 1.825rem !important;
|
|
3763
3765
|
._refReplyIcon {
|
|
3764
3766
|
right: 12px;
|
|
@@ -3766,7 +3768,7 @@ export const DropdownItem = styled.li<{ $mode?: 'common' | 'categories', $isActi
|
|
|
3766
3768
|
transform: translateY(-50%);
|
|
3767
3769
|
}
|
|
3768
3770
|
`}
|
|
3769
|
-
${({ $mode, $isActive }) => ($mode
|
|
3771
|
+
${({ $mode, $isActive }) => ($mode && $isActive) && css`
|
|
3770
3772
|
background-color: var(--nav-clr-bg__hvr);
|
|
3771
3773
|
padding-right: 1.75em;
|
|
3772
3774
|
&, > label, > span {
|
|
@@ -3781,6 +3783,7 @@ export const DropdownItem = styled.li<{ $mode?: 'common' | 'categories', $isActi
|
|
|
3781
3783
|
bottom: 0;
|
|
3782
3784
|
width: 12px;
|
|
3783
3785
|
height: 20px;
|
|
3786
|
+
z-index: -1;
|
|
3784
3787
|
}
|
|
3785
3788
|
._refReplyIcon {
|
|
3786
3789
|
right: 22px;
|