@bcc-code/component-library-vue 0.3.0 → 0.4.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/dist/component-library.js +4733 -4732
- package/dist/component-library.umd.cjs +369 -369
- package/dist/index.css +1 -1
- package/dist/theme.css +285 -264
- package/dist-types/components/{wrapped → custom/BccTabs}/BccTabs.vue.d.ts +1 -1
- package/dist-types/components/custom/index.d.ts +4 -2
- package/dist-types/components/wrapped/index.d.ts +0 -2
- package/package.json +3 -2
package/dist/theme.css
CHANGED
|
@@ -1822,92 +1822,119 @@
|
|
|
1822
1822
|
|
|
1823
1823
|
/* === ./components/custom/styles.css === */
|
|
1824
1824
|
|
|
1825
|
-
/* from ./
|
|
1825
|
+
/* from ./BccAvatar/BccAvatar.css */
|
|
1826
1826
|
@layer components {
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1827
|
+
.bcc-avatar {
|
|
1828
|
+
--p-avatar-background: var(--ctx-background);
|
|
1829
|
+
--p-avatar-color: var(--ctx-text);
|
|
1830
|
+
--bcc-avatar-border: var(--ctx-border);
|
|
1831
|
+
@apply overflow-hidden shrink-0 ctx-gray-subtler;
|
|
1832
|
+
}
|
|
1833
|
+
.bcc-avatar.male,
|
|
1834
|
+
.bcc-avatar.M {
|
|
1835
|
+
@apply ctx-blue-subtler;
|
|
1836
|
+
}
|
|
1837
|
+
.bcc-avatar.female,
|
|
1838
|
+
.bcc-avatar.F {
|
|
1839
|
+
@apply ctx-purple-subtler;
|
|
1840
|
+
}
|
|
1841
|
+
.bcc-avatar.male.child,
|
|
1842
|
+
.bcc-avatar.M.child {
|
|
1843
|
+
@apply ctx-teal-subtler;
|
|
1844
|
+
}
|
|
1845
|
+
.bcc-avatar.female.child,
|
|
1846
|
+
.bcc-avatar.F.child {
|
|
1847
|
+
@apply ctx-magenta-subtler;
|
|
1848
|
+
}
|
|
1849
|
+
.bcc-avatar.bordered {
|
|
1850
|
+
@apply border-2 border-ctx;
|
|
1851
|
+
}
|
|
1852
|
+
.bcc-avatar.xs {
|
|
1853
|
+
@apply size-5 text-xs;
|
|
1854
|
+
}
|
|
1855
|
+
.bcc-avatar.sm {
|
|
1856
|
+
@apply size-6 text-sm;
|
|
1857
|
+
}
|
|
1858
|
+
.bcc-avatar.md {
|
|
1859
|
+
@apply size-8 text-base;
|
|
1860
|
+
}
|
|
1861
|
+
.bcc-avatar.lg {
|
|
1862
|
+
@apply size-10 text-lg;
|
|
1863
|
+
}
|
|
1864
|
+
.bcc-avatar.xl {
|
|
1865
|
+
@apply size-12 text-xl;
|
|
1866
|
+
}
|
|
1867
|
+
.bcc-avatar.xxl {
|
|
1868
|
+
@apply size-20 text-3xl;
|
|
1869
|
+
}
|
|
1870
|
+
.bcc-avatar.xxxl {
|
|
1871
|
+
@apply size-24 text-4xl;
|
|
1872
|
+
}
|
|
1839
1873
|
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1874
|
+
.bcc-avatar.squared.lg {
|
|
1875
|
+
@apply text-xl;
|
|
1876
|
+
}
|
|
1877
|
+
.bcc-avatar.squared.xl {
|
|
1878
|
+
@apply text-2xl;
|
|
1879
|
+
}
|
|
1880
|
+
.bcc-avatar.squared.xxl {
|
|
1881
|
+
@apply text-4xl;
|
|
1882
|
+
}
|
|
1883
|
+
.bcc-avatar.squared.xxxl {
|
|
1884
|
+
@apply text-5xl;
|
|
1885
|
+
}
|
|
1844
1886
|
|
|
1845
|
-
.bcc-react-selector-container--top {
|
|
1846
|
-
@apply -top-10 origin-bottom-left;
|
|
1847
|
-
}
|
|
1848
1887
|
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1888
|
+
.p-overlaybadge .bcc-avatar.p-avatar-circle.xxxl~.p-badge,
|
|
1889
|
+
.p-overlaybadge .bcc-avatar.p-avatar-circle.xxl~.p-badge,
|
|
1890
|
+
.p-overlaybadge .bcc-avatar.p-avatar-circle.xl~.p-badge {
|
|
1891
|
+
transform: translate(25%, -25%);
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1853
1894
|
|
|
1854
|
-
.bcc-react-selector-emojis-container {
|
|
1855
|
-
@apply flex items-center bg-neutral-100 px-1;
|
|
1856
|
-
}
|
|
1857
1895
|
|
|
1858
|
-
|
|
1859
|
-
|
|
1896
|
+
/* from ./BccBadge/BccBadge.css */
|
|
1897
|
+
@layer components {
|
|
1898
|
+
.bcc-badge {
|
|
1899
|
+
@apply inline-flex shrink-0 gap-1 items-center justify-center rounded-full leading-none whitespace-nowrap;
|
|
1900
|
+
|
|
1901
|
+
@apply bg-ctx text-ctx;
|
|
1860
1902
|
}
|
|
1861
|
-
.bcc-
|
|
1862
|
-
@apply
|
|
1903
|
+
.bcc-badge.md {
|
|
1904
|
+
@apply h-5 w-5 text-body-sm p-0.5;
|
|
1863
1905
|
}
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
@apply left-0 top-0 -z-10 w-full max-w-full;
|
|
1867
|
-
width: 296px;
|
|
1906
|
+
.bcc-badge.sm {
|
|
1907
|
+
@apply w-4 h-4 text-body-sm p-0.5;
|
|
1868
1908
|
}
|
|
1869
|
-
.bcc-
|
|
1870
|
-
@apply
|
|
1909
|
+
.bcc-badge.lg {
|
|
1910
|
+
@apply w-6 h-6 text-body-sm p-1;
|
|
1871
1911
|
}
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
@apply -z-10 flex w-full flex-wrap overflow-hidden px-1;
|
|
1912
|
+
.bcc-badge.xl {
|
|
1913
|
+
@apply w-8 h-8 text-body-md p-1.5;
|
|
1875
1914
|
}
|
|
1876
1915
|
|
|
1877
|
-
.bcc-
|
|
1878
|
-
@apply
|
|
1879
|
-
transition: transform 0.3s ease;
|
|
1916
|
+
.bcc-badge.bcc-badge-text {
|
|
1917
|
+
@apply w-auto px-2;
|
|
1880
1918
|
}
|
|
1881
|
-
.bcc-
|
|
1882
|
-
|
|
1919
|
+
.bcc-badge-text.lg {
|
|
1920
|
+
@apply px-3;
|
|
1883
1921
|
}
|
|
1884
1922
|
|
|
1885
|
-
.bcc-
|
|
1886
|
-
@apply
|
|
1923
|
+
.bcc-badge .bcc-badge-icon {
|
|
1924
|
+
@apply size-full;
|
|
1887
1925
|
}
|
|
1888
1926
|
|
|
1889
|
-
.bcc-
|
|
1890
|
-
|
|
1927
|
+
.bcc-badge.border {
|
|
1928
|
+
@apply border-1;
|
|
1929
|
+
border-color: var(--ctx-background-pressed);
|
|
1891
1930
|
}
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
transform: scale(1);
|
|
1896
|
-
opacity: 1;
|
|
1897
|
-
}
|
|
1898
|
-
100% {
|
|
1899
|
-
transform: scale(1.4);
|
|
1900
|
-
opacity: 0;
|
|
1901
|
-
}
|
|
1931
|
+
.bcc-badge.bordered {
|
|
1932
|
+
@apply border-2;
|
|
1933
|
+
border-color: var(--ctx-background-pressed);
|
|
1902
1934
|
}
|
|
1903
1935
|
|
|
1904
|
-
.bcc-
|
|
1905
|
-
@apply
|
|
1906
|
-
/* Default --not-selected */
|
|
1907
|
-
@apply ctx-neutral-subtlest;
|
|
1908
|
-
}
|
|
1909
|
-
.bcc-react-emoji-list-item.selected {
|
|
1910
|
-
@apply ctx-neutral-subtle;
|
|
1936
|
+
.bcc-badge.squared {
|
|
1937
|
+
@apply rounded;
|
|
1911
1938
|
}
|
|
1912
1939
|
}
|
|
1913
1940
|
|
|
@@ -1996,61 +2023,80 @@
|
|
|
1996
2023
|
|
|
1997
2024
|
|
|
1998
2025
|
|
|
1999
|
-
/* from ./
|
|
2026
|
+
/* from ./BccFrame/BccFrame.css */
|
|
2000
2027
|
@layer components {
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2028
|
+
.bcc-frame {
|
|
2029
|
+
@apply ctx ctx-default w-full;
|
|
2030
|
+
}
|
|
2004
2031
|
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2032
|
+
.bcc-frame.bcc-frame--shadow {
|
|
2033
|
+
@apply shadow shadow-ctx;
|
|
2034
|
+
}
|
|
2008
2035
|
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2036
|
+
.bcc-frame--raised {
|
|
2037
|
+
--ctx-background: var(--color-elevation-surface-raised-default);
|
|
2038
|
+
}
|
|
2039
|
+
.bcc-frame--raised.rounded {
|
|
2040
|
+
@apply rounded;
|
|
2041
|
+
}
|
|
2042
|
+
.bcc-frame--raised.bcc-frame--shadow {
|
|
2043
|
+
@apply shadow-raised;
|
|
2044
|
+
}
|
|
2012
2045
|
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2046
|
+
.bcc-frame--overlay {
|
|
2047
|
+
--ctx-background: var(--color-elevation-surface-overlay-default);
|
|
2048
|
+
}
|
|
2049
|
+
.bcc-frame--overlay.bcc-frame--shadow {
|
|
2050
|
+
@apply shadow-overlay;
|
|
2051
|
+
}
|
|
2017
2052
|
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2053
|
+
.bcc-frame--sunken {
|
|
2054
|
+
--ctx-background: var(--color-elevation-surface-sunken-default);
|
|
2055
|
+
}
|
|
2056
|
+
.bcc-frame--sunken.bcc-frame--shadow {
|
|
2057
|
+
@apply shadow-inner;
|
|
2058
|
+
}
|
|
2059
|
+
}
|
|
2021
2060
|
|
|
2022
|
-
.bcc-nps-score--bar.disabled .bcc-nps-score--number.inactive {
|
|
2023
|
-
@apply bg-ctx ctx-gray-subtler text-disabled;
|
|
2024
|
-
}
|
|
2025
2061
|
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2062
|
+
/* from ./BccGraphic/BccGraphic.css */
|
|
2063
|
+
@layer components {
|
|
2064
|
+
.bcc-graphic .corner,
|
|
2065
|
+
.bcc-graphic .center-slot {
|
|
2066
|
+
@apply absolute z-10;
|
|
2030
2067
|
}
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
@apply pointer-events-none cursor-default;
|
|
2068
|
+
.bcc-graphic .corner.top-left {
|
|
2069
|
+
@apply left-4 top-4;
|
|
2034
2070
|
}
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2071
|
+
.bcc-graphic .corner.top-right {
|
|
2072
|
+
@apply right-4 top-4;
|
|
2073
|
+
}
|
|
2074
|
+
.bcc-graphic .corner.bottom-right {
|
|
2075
|
+
@apply bottom-4 right-4;
|
|
2076
|
+
}
|
|
2077
|
+
.bcc-graphic .corner.bottom-left {
|
|
2078
|
+
@apply bottom-4 left-4;
|
|
2079
|
+
}
|
|
2080
|
+
.bcc-graphic .center-slot {
|
|
2081
|
+
@apply inset-1/4 h-1/2 w-1/2 flex items-center justify-center;
|
|
2039
2082
|
}
|
|
2040
2083
|
|
|
2041
|
-
.bcc-
|
|
2042
|
-
|
|
2084
|
+
.bcc-graphic {
|
|
2085
|
+
@apply relative flex max-h-full w-full bg-linear-to-tr from-background-brand-bolder-default to-background-brand-subtle-default;
|
|
2043
2086
|
}
|
|
2044
2087
|
|
|
2045
|
-
.bcc-
|
|
2046
|
-
@apply
|
|
2088
|
+
.bcc-graphic-banner {
|
|
2089
|
+
@apply absolute inset-0 h-full w-full object-cover object-center;
|
|
2090
|
+
}
|
|
2091
|
+
.bcc-graphic-banner--loading {
|
|
2092
|
+
@apply animate-pulse bg-linear-to-tr from-background-brand-bolder-default to-background-brand-subtle-default;
|
|
2047
2093
|
}
|
|
2048
2094
|
|
|
2049
|
-
.bcc-
|
|
2050
|
-
@apply
|
|
2095
|
+
.bcc-graphic-logo {
|
|
2096
|
+
@apply absolute inset-1/4 h-1/2 w-1/2 object-contain object-center;
|
|
2051
2097
|
}
|
|
2052
|
-
.bcc-
|
|
2053
|
-
@apply
|
|
2098
|
+
.bcc-graphic-logo--loading {
|
|
2099
|
+
@apply animate-pulse bg-black opacity-10 blur-sm;
|
|
2054
2100
|
}
|
|
2055
2101
|
}
|
|
2056
2102
|
|
|
@@ -2104,217 +2150,192 @@
|
|
|
2104
2150
|
|
|
2105
2151
|
|
|
2106
2152
|
|
|
2107
|
-
/* from ./
|
|
2153
|
+
/* from ./BccNpsScore/BccNpsScore.css */
|
|
2108
2154
|
@layer components {
|
|
2109
|
-
.bcc-
|
|
2110
|
-
|
|
2111
|
-
@apply absolute z-10;
|
|
2155
|
+
.bcc-nps-score {
|
|
2156
|
+
@apply min-w-[280px] p-4 text-body-sm flex flex-col gap-y-2;
|
|
2112
2157
|
}
|
|
2113
|
-
|
|
2114
|
-
|
|
2158
|
+
|
|
2159
|
+
.bcc-nps-score--heading {
|
|
2160
|
+
@apply flex items-center justify-between;
|
|
2115
2161
|
}
|
|
2116
|
-
|
|
2117
|
-
|
|
2162
|
+
|
|
2163
|
+
.bcc-nps-score--label {
|
|
2164
|
+
@apply flex-1 truncate;
|
|
2118
2165
|
}
|
|
2119
|
-
|
|
2120
|
-
|
|
2166
|
+
|
|
2167
|
+
.bcc-nps-score--bar {
|
|
2168
|
+
@apply flex justify-evenly rounded-xl text-white pointer-events-none;
|
|
2169
|
+
@apply bg-linear-to-r from-red-600 via-yellow-400 via-75% to-green-400;
|
|
2121
2170
|
}
|
|
2122
|
-
|
|
2123
|
-
|
|
2171
|
+
|
|
2172
|
+
.bcc-nps-score--bar.reverse {
|
|
2173
|
+
@apply bg-linear-to-l;
|
|
2124
2174
|
}
|
|
2125
|
-
|
|
2126
|
-
|
|
2175
|
+
|
|
2176
|
+
.bcc-nps-score--bar.disabled .bcc-nps-score--number.inactive {
|
|
2177
|
+
@apply bg-ctx ctx-gray-subtler text-disabled;
|
|
2127
2178
|
}
|
|
2128
2179
|
|
|
2129
|
-
.bcc-
|
|
2130
|
-
@apply
|
|
2180
|
+
.bcc-nps-score--number {
|
|
2181
|
+
@apply border-border-inverse;
|
|
2182
|
+
@apply flex h-8 flex-1 items-center justify-center border-r-2 font-bold text-sm leading-none;
|
|
2183
|
+
@apply pointer-events-auto cursor-pointer transition-all duration-200 hover:bg-transparent;
|
|
2131
2184
|
}
|
|
2132
2185
|
|
|
2133
|
-
.bcc-
|
|
2134
|
-
@apply
|
|
2186
|
+
.bcc-nps-score--number:disabled {
|
|
2187
|
+
@apply pointer-events-none cursor-default;
|
|
2135
2188
|
}
|
|
2136
|
-
|
|
2137
|
-
|
|
2189
|
+
|
|
2190
|
+
.bcc-nps-score--number.active {
|
|
2191
|
+
@apply pointer-events-none;
|
|
2192
|
+
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
|
2138
2193
|
}
|
|
2139
2194
|
|
|
2140
|
-
.bcc-
|
|
2141
|
-
|
|
2195
|
+
.bcc-nps-score--number:has(~ .bcc-nps-score--number.active) {
|
|
2196
|
+
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
|
2142
2197
|
}
|
|
2143
|
-
|
|
2144
|
-
|
|
2198
|
+
|
|
2199
|
+
.bcc-nps-score--number.inactive {
|
|
2200
|
+
@apply bg-ctx text-ctx ctx-gray-subtle;
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
.bcc-nps-score--number:first-child {
|
|
2204
|
+
@apply rounded-l-xl pl-0.5;
|
|
2205
|
+
}
|
|
2206
|
+
.bcc-nps-score--number:last-child{
|
|
2207
|
+
@apply rounded-r-xl border-r-0 pr-0.5;
|
|
2145
2208
|
}
|
|
2146
2209
|
}
|
|
2147
2210
|
|
|
2148
2211
|
|
|
2149
2212
|
|
|
2150
|
-
/* from ./
|
|
2213
|
+
/* from ./BccReact/BccReact.css */
|
|
2151
2214
|
@layer components {
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
@apply rounded;
|
|
2165
|
-
}
|
|
2166
|
-
.bcc-frame--raised.bcc-frame--shadow {
|
|
2167
|
-
@apply shadow-raised;
|
|
2168
|
-
}
|
|
2169
|
-
|
|
2170
|
-
.bcc-frame--overlay {
|
|
2171
|
-
--ctx-background: var(--color-elevation-surface-overlay-default);
|
|
2172
|
-
}
|
|
2173
|
-
.bcc-frame--overlay.bcc-frame--shadow {
|
|
2174
|
-
@apply shadow-overlay;
|
|
2175
|
-
}
|
|
2215
|
+
.bcc-react {
|
|
2216
|
+
@apply relative flex w-full items-center overflow-visible;
|
|
2217
|
+
}
|
|
2218
|
+
.bcc-react-toggle {
|
|
2219
|
+
@apply mr-1 flex shrink-0 cursor-pointer items-center justify-center rounded-full p-1 leading-tight transition;
|
|
2220
|
+
}
|
|
2221
|
+
.bcc-react-list {
|
|
2222
|
+
@apply hide-scrollbar flex flex-1 items-center gap-1 overflow-x-auto overflow-y-hidden rounded-full p-1;
|
|
2223
|
+
}
|
|
2224
|
+
.bcc-react-empty {
|
|
2225
|
+
@apply heading-xs flex items-center;
|
|
2226
|
+
}
|
|
2176
2227
|
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
@apply shadow-inner;
|
|
2182
|
-
}
|
|
2183
|
-
}
|
|
2228
|
+
.bcc-react-selector-container {
|
|
2229
|
+
@apply absolute z-50 h-9;
|
|
2230
|
+
@apply top-11 origin-top-left;
|
|
2231
|
+
}
|
|
2184
2232
|
|
|
2233
|
+
.bcc-react-selector-container--top {
|
|
2234
|
+
@apply -top-10 origin-bottom-left;
|
|
2235
|
+
}
|
|
2185
2236
|
|
|
2186
|
-
|
|
2187
|
-
@
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
--p-toggleswitch-hover-background: var(--ctx-background-hover);
|
|
2191
|
-
--p-toggleswitch-checked-background: var(--ctx-background);
|
|
2192
|
-
--p-toggleswitch-checked-hover-background: var(--ctx-background-hover);
|
|
2193
|
-
}
|
|
2194
|
-
.p-toggleswitch.loading {
|
|
2195
|
-
@apply pointer-events-none;
|
|
2196
|
-
}
|
|
2197
|
-
.p-toggleswitch.toggled:not(.p-toggleswitch-checked) {
|
|
2198
|
-
--p-toggleswitch-background: var(--color-background-danger-bolder-default);
|
|
2199
|
-
--p-toggleswitch-hover-background: var(--color-background-danger-bolder-hover);
|
|
2200
|
-
}
|
|
2201
|
-
}
|
|
2237
|
+
.bcc-react-selector {
|
|
2238
|
+
@apply flex h-9 flex-col overflow-hidden bg-neutral-100 px-0 shadow-md;
|
|
2239
|
+
border-radius: 18px;
|
|
2240
|
+
}
|
|
2202
2241
|
|
|
2242
|
+
.bcc-react-selector-emojis-container {
|
|
2243
|
+
@apply flex items-center bg-neutral-100 px-1;
|
|
2244
|
+
}
|
|
2203
2245
|
|
|
2204
|
-
|
|
2205
|
-
@
|
|
2206
|
-
.bcc-badge {
|
|
2207
|
-
@apply inline-flex shrink-0 gap-1 items-center justify-center rounded-full leading-none whitespace-nowrap;
|
|
2208
|
-
|
|
2209
|
-
@apply bg-ctx text-ctx;
|
|
2246
|
+
.bcc-react-selector-more {
|
|
2247
|
+
@apply flex w-9 items-center justify-center;
|
|
2210
2248
|
}
|
|
2211
|
-
.bcc-
|
|
2212
|
-
@apply h-
|
|
2249
|
+
.bcc-react-selector-more-btn {
|
|
2250
|
+
@apply flex h-7 w-7 items-center justify-center rounded-full bg-slate-200;
|
|
2213
2251
|
}
|
|
2214
|
-
|
|
2215
|
-
|
|
2252
|
+
|
|
2253
|
+
.bcc-react-dropdown-container {
|
|
2254
|
+
@apply left-0 top-0 -z-10 w-full max-w-full;
|
|
2255
|
+
width: 296px;
|
|
2216
2256
|
}
|
|
2217
|
-
.bcc-
|
|
2218
|
-
@apply
|
|
2257
|
+
.bcc-react-dropdown-container--top {
|
|
2258
|
+
@apply bottom-0 top-auto pb-0;
|
|
2219
2259
|
}
|
|
2220
|
-
|
|
2221
|
-
|
|
2260
|
+
|
|
2261
|
+
.bcc-react-dropdown {
|
|
2262
|
+
@apply -z-10 flex w-full flex-wrap overflow-hidden px-1;
|
|
2222
2263
|
}
|
|
2223
2264
|
|
|
2224
|
-
.bcc-
|
|
2225
|
-
@apply w-
|
|
2265
|
+
.bcc-react-arrow-down-icon {
|
|
2266
|
+
@apply h-6 w-6 text-slate-600;
|
|
2267
|
+
transition: transform 0.3s ease;
|
|
2226
2268
|
}
|
|
2227
|
-
.bcc-
|
|
2228
|
-
|
|
2269
|
+
.bcc-react-arrow-down-icon.open {
|
|
2270
|
+
transform: rotate(-180deg);
|
|
2229
2271
|
}
|
|
2230
2272
|
|
|
2231
|
-
.bcc-
|
|
2232
|
-
@apply
|
|
2273
|
+
.bcc-react-selector-item {
|
|
2274
|
+
@apply p-2 text-xl leading-none transition-transform duration-200 ease-out h-9 w-9 relative;
|
|
2233
2275
|
}
|
|
2234
2276
|
|
|
2235
|
-
.bcc-
|
|
2236
|
-
|
|
2237
|
-
border-color: var(--ctx-background-pressed);
|
|
2277
|
+
.bcc-react-selector-item--clicked {
|
|
2278
|
+
animation: scaleFadeOut 300ms forwards;
|
|
2238
2279
|
}
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2280
|
+
|
|
2281
|
+
@keyframes scaleFadeOut {
|
|
2282
|
+
0% {
|
|
2283
|
+
transform: scale(1);
|
|
2284
|
+
opacity: 1;
|
|
2285
|
+
}
|
|
2286
|
+
100% {
|
|
2287
|
+
transform: scale(1.4);
|
|
2288
|
+
opacity: 0;
|
|
2289
|
+
}
|
|
2242
2290
|
}
|
|
2243
2291
|
|
|
2244
|
-
.bcc-
|
|
2245
|
-
@apply rounded;
|
|
2292
|
+
.bcc-react-emoji-list-item {
|
|
2293
|
+
@apply flex ctx clickable items-center justify-center rounded-full p-1 text-2xl leading-none drop-shadow transition-all hover:scale-105;
|
|
2294
|
+
/* Default --not-selected */
|
|
2295
|
+
@apply ctx-neutral-subtlest;
|
|
2296
|
+
}
|
|
2297
|
+
.bcc-react-emoji-list-item.selected {
|
|
2298
|
+
@apply ctx-neutral-subtle;
|
|
2246
2299
|
}
|
|
2247
2300
|
}
|
|
2248
2301
|
|
|
2249
2302
|
|
|
2250
2303
|
|
|
2251
|
-
/* from ./
|
|
2304
|
+
/* from ./BccTabs/BccTabs.css */
|
|
2252
2305
|
@layer components {
|
|
2253
|
-
.bcc-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
--bcc-avatar-border: var(--ctx-border);
|
|
2257
|
-
@apply overflow-hidden shrink-0 ctx-gray-subtler;
|
|
2258
|
-
}
|
|
2259
|
-
.bcc-avatar.male,
|
|
2260
|
-
.bcc-avatar.M {
|
|
2261
|
-
@apply ctx-blue-subtler;
|
|
2262
|
-
}
|
|
2263
|
-
.bcc-avatar.female,
|
|
2264
|
-
.bcc-avatar.F {
|
|
2265
|
-
@apply ctx-purple-subtler;
|
|
2306
|
+
.bcc-tabs-fill.p-tabs {
|
|
2307
|
+
height: 100%;
|
|
2308
|
+
overflow: hidden;
|
|
2266
2309
|
}
|
|
2267
|
-
.bcc-
|
|
2268
|
-
|
|
2269
|
-
@apply ctx-teal-subtler;
|
|
2270
|
-
}
|
|
2271
|
-
.bcc-avatar.female.child,
|
|
2272
|
-
.bcc-avatar.F.child {
|
|
2273
|
-
@apply ctx-magenta-subtler;
|
|
2274
|
-
}
|
|
2275
|
-
.bcc-avatar.bordered {
|
|
2276
|
-
@apply border-2 border-ctx;
|
|
2277
|
-
}
|
|
2278
|
-
.bcc-avatar.xs {
|
|
2279
|
-
@apply size-5 text-xs;
|
|
2280
|
-
}
|
|
2281
|
-
.bcc-avatar.sm {
|
|
2282
|
-
@apply size-6 text-sm;
|
|
2283
|
-
}
|
|
2284
|
-
.bcc-avatar.md {
|
|
2285
|
-
@apply size-8 text-base;
|
|
2286
|
-
}
|
|
2287
|
-
.bcc-avatar.lg {
|
|
2288
|
-
@apply size-10 text-lg;
|
|
2289
|
-
}
|
|
2290
|
-
.bcc-avatar.xl {
|
|
2291
|
-
@apply size-12 text-xl;
|
|
2310
|
+
.bcc-tabs-fill.p-tabs > .p-tablist {
|
|
2311
|
+
flex-shrink: 0;
|
|
2292
2312
|
}
|
|
2293
|
-
.bcc-
|
|
2294
|
-
|
|
2313
|
+
.bcc-tabs-fill.p-tabs > .p-tabpanels {
|
|
2314
|
+
height: 100%;
|
|
2315
|
+
overflow: hidden;
|
|
2316
|
+
padding: 0;
|
|
2295
2317
|
}
|
|
2296
|
-
.bcc-
|
|
2297
|
-
|
|
2318
|
+
.bcc-tabs-fill.p-tabs > .p-tabpanels > .p-tabpanel {
|
|
2319
|
+
height: 100%;
|
|
2320
|
+
overflow: auto;
|
|
2298
2321
|
}
|
|
2322
|
+
}
|
|
2299
2323
|
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
.
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2324
|
+
|
|
2325
|
+
/* from ./BccToggle/BccToggle.css */
|
|
2326
|
+
@layer components {
|
|
2327
|
+
.p-toggleswitch.useCtx {
|
|
2328
|
+
--p-toggleswitch-background: var(--ctx-background);
|
|
2329
|
+
--p-toggleswitch-hover-background: var(--ctx-background-hover);
|
|
2330
|
+
--p-toggleswitch-checked-background: var(--ctx-background);
|
|
2331
|
+
--p-toggleswitch-checked-hover-background: var(--ctx-background-hover);
|
|
2308
2332
|
}
|
|
2309
|
-
.
|
|
2310
|
-
@apply
|
|
2333
|
+
.p-toggleswitch.loading {
|
|
2334
|
+
@apply pointer-events-none;
|
|
2311
2335
|
}
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
.p-overlaybadge .bcc-avatar.p-avatar-circle.xxl~.p-badge,
|
|
2316
|
-
.p-overlaybadge .bcc-avatar.p-avatar-circle.xl~.p-badge {
|
|
2317
|
-
transform: translate(25%, -25%);
|
|
2336
|
+
.p-toggleswitch.toggled:not(.p-toggleswitch-checked) {
|
|
2337
|
+
--p-toggleswitch-background: var(--color-background-danger-bolder-default);
|
|
2338
|
+
--p-toggleswitch-hover-background: var(--color-background-danger-bolder-hover);
|
|
2318
2339
|
}
|
|
2319
2340
|
}
|
|
2320
2341
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { VueComponent } from '@/types';
|
|
2
2
|
import { type TabsProps as PrimeTabsProps } from 'primevue/tabs';
|
|
3
|
-
import { type BadgeProps } from '../
|
|
3
|
+
import { type BadgeProps } from '../BccBadge/BccBadge.vue';
|
|
4
4
|
export interface TabItem {
|
|
5
5
|
title: string;
|
|
6
6
|
icon?: VueComponent;
|