@bcc-code/component-library-vue 0.8.8 → 0.8.10
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 +9067 -6879
- package/dist/component-library.umd.cjs +322 -322
- package/dist/index.css +1 -1
- package/dist/theme.css +97 -62
- package/dist-types/components/wrapped/BccRadioButton.vue.d.ts +18 -0
- package/dist-types/components/wrapped/index.d.ts +2 -0
- package/dist-types/index.d.ts +0 -1
- package/package.json +2 -2
package/dist/theme.css
CHANGED
|
@@ -1909,6 +1909,19 @@
|
|
|
1909
1909
|
display: none;
|
|
1910
1910
|
}
|
|
1911
1911
|
|
|
1912
|
+
.p-togglebutton {
|
|
1913
|
+
font-size: var(--text-sm);
|
|
1914
|
+
border: 0;
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
.p-togglebutton-sm {
|
|
1918
|
+
font-size: var(--text-sm);
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
.p-togglebutton-lg {
|
|
1922
|
+
font-size: var(--text-md);
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1912
1925
|
|
|
1913
1926
|
|
|
1914
1927
|
|
|
@@ -1917,19 +1930,36 @@
|
|
|
1917
1930
|
/* from ./BccAppNavigation/BccAppNavigation.css */
|
|
1918
1931
|
@layer components {
|
|
1919
1932
|
.bcc-app-nav {
|
|
1920
|
-
@apply sticky inset-x-0 bottom-0 z-20 overflow-visible
|
|
1933
|
+
@apply bg-elevation-surface-default dark:border-brand-800 sticky inset-x-0 bottom-0 z-20 overflow-visible shadow-md sm:rounded-t-xl dark:border-t;
|
|
1921
1934
|
}
|
|
1922
|
-
.bcc-app-nav
|
|
1935
|
+
.bcc-app-nav-container {
|
|
1923
1936
|
@apply center pb-inset-bottom-1 mx-auto max-w-lg pt-1;
|
|
1924
1937
|
}
|
|
1925
1938
|
|
|
1926
|
-
.bcc-app-nav
|
|
1927
|
-
@apply
|
|
1928
|
-
@apply opacity-50;
|
|
1939
|
+
.bcc-app-nav-item {
|
|
1940
|
+
@apply ctx-gray-subtlest text-ctx relative flex h-12 flex-1 flex-col items-center justify-center gap-1 transition-colors focus:ring-0 focus:outline-none;
|
|
1929
1941
|
}
|
|
1930
1942
|
|
|
1931
|
-
.bcc-
|
|
1932
|
-
@apply
|
|
1943
|
+
.bcc-nav-item-icon {
|
|
1944
|
+
@apply size-6 opacity-50;
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
.bcc-nav-item-badge {
|
|
1948
|
+
@apply absolute top-0 right-1 opacity-75;
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1951
|
+
.bcc-nav-item-title {
|
|
1952
|
+
@apply text-heading-xs text-center opacity-50;
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
.bcc-app-nav-item--active {
|
|
1956
|
+
@apply text-selected;
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
.bcc-app-nav-item--active .bcc-nav-item-icon,
|
|
1960
|
+
.bcc-app-nav-item--active .bcc-nav-item-badge,
|
|
1961
|
+
.bcc-app-nav-item--active .bcc-nav-item-title {
|
|
1962
|
+
@apply opacity-100;
|
|
1933
1963
|
}
|
|
1934
1964
|
}
|
|
1935
1965
|
|
|
@@ -1937,67 +1967,70 @@
|
|
|
1937
1967
|
|
|
1938
1968
|
/* from ./BccBadge/BccBadge.css */
|
|
1939
1969
|
@layer components {
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
@apply bg-ctx text-ctx;
|
|
1944
|
-
}
|
|
1970
|
+
.bcc-badge {
|
|
1971
|
+
@apply inline-flex shrink-0 items-center justify-center gap-1 rounded-full leading-none whitespace-nowrap;
|
|
1945
1972
|
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
}
|
|
1949
|
-
.bcc-badge.gradient {
|
|
1950
|
-
@apply ctx-gradient;
|
|
1951
|
-
}
|
|
1952
|
-
.bcc-badge.sm {
|
|
1953
|
-
@apply w-4 h-4 text-heading-xs;
|
|
1954
|
-
}
|
|
1955
|
-
.bcc-badge.md {
|
|
1956
|
-
@apply h-5 w-5 text-heading-sm;
|
|
1957
|
-
}
|
|
1958
|
-
.bcc-badge.lg {
|
|
1959
|
-
@apply w-6 h-6 text-heading-md;
|
|
1960
|
-
}
|
|
1961
|
-
.bcc-badge.xl {
|
|
1962
|
-
@apply w-8 h-8 text-heading-md;
|
|
1963
|
-
}
|
|
1973
|
+
@apply bg-ctx text-ctx;
|
|
1974
|
+
}
|
|
1964
1975
|
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1976
|
+
.bcc-badge.capital {
|
|
1977
|
+
@apply inline-flex;
|
|
1978
|
+
}
|
|
1979
|
+
.bcc-badge.gradient {
|
|
1980
|
+
@apply ctx-gradient;
|
|
1981
|
+
}
|
|
1982
|
+
.bcc-badge.sm {
|
|
1983
|
+
@apply text-heading-xs h-4 w-4;
|
|
1984
|
+
}
|
|
1985
|
+
.bcc-badge.md {
|
|
1986
|
+
@apply text-heading-sm h-5 w-5;
|
|
1987
|
+
}
|
|
1988
|
+
.bcc-badge.lg {
|
|
1989
|
+
@apply text-heading-md h-6 w-6;
|
|
1990
|
+
}
|
|
1991
|
+
.bcc-badge.xl {
|
|
1992
|
+
@apply text-heading-md h-8 w-8;
|
|
1993
|
+
}
|
|
1974
1994
|
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
.bcc-badge-text.bordered.lg, .bcc-badge-text.bordered.xl {
|
|
1985
|
-
@apply px-1;
|
|
1986
|
-
}
|
|
1995
|
+
.bcc-badge .bcc-badge-icon {
|
|
1996
|
+
@apply size-4;
|
|
1997
|
+
}
|
|
1998
|
+
.bcc-badge.lg .bcc-badge-icon {
|
|
1999
|
+
@apply size-5;
|
|
2000
|
+
}
|
|
2001
|
+
.bcc-badge.xl .bcc-badge-icon {
|
|
2002
|
+
@apply size-6;
|
|
2003
|
+
}
|
|
1987
2004
|
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
2005
|
+
.bcc-badge.bcc-badge-text {
|
|
2006
|
+
@apply w-auto px-2;
|
|
2007
|
+
}
|
|
2008
|
+
.bcc-badge-text.lg,
|
|
2009
|
+
.bcc-badge-text.xl {
|
|
2010
|
+
@apply px-3;
|
|
2011
|
+
}
|
|
2012
|
+
.bcc-badge-text.border.lg,
|
|
2013
|
+
.bcc-badge-text.border.xl {
|
|
2014
|
+
@apply px-2;
|
|
2015
|
+
}
|
|
2016
|
+
.bcc-badge-text.bordered.lg,
|
|
2017
|
+
.bcc-badge-text.bordered.xl {
|
|
2018
|
+
@apply px-1;
|
|
2019
|
+
}
|
|
1992
2020
|
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
2021
|
+
.bcc-badge.border {
|
|
2022
|
+
@apply border-1;
|
|
2023
|
+
border-color: var(--ctx-background-pressed);
|
|
2024
|
+
}
|
|
1997
2025
|
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2026
|
+
.bcc-badge.bordered {
|
|
2027
|
+
@apply border-2;
|
|
2028
|
+
border-color: var(--ctx-background-pressed);
|
|
2029
|
+
}
|
|
2030
|
+
|
|
2031
|
+
.bcc-badge.squared {
|
|
2032
|
+
@apply rounded-sm;
|
|
2033
|
+
}
|
|
2001
2034
|
}
|
|
2002
2035
|
|
|
2003
2036
|
|
|
@@ -2517,6 +2550,8 @@
|
|
|
2517
2550
|
@apply m-0 p-0 font-sans antialiased;
|
|
2518
2551
|
-webkit-font-smoothing: antialiased;
|
|
2519
2552
|
-moz-osx-font-smoothing: grayscale;
|
|
2553
|
+
line-height: 1.2;
|
|
2554
|
+
font-kerning: normal;
|
|
2520
2555
|
}
|
|
2521
2556
|
|
|
2522
2557
|
hr {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type RadioButtonProps as PrimeRadioButtonProps } from 'primevue/radiobutton';
|
|
2
|
+
export type RadioButtonProps = PrimeRadioButtonProps & {
|
|
3
|
+
label?: string;
|
|
4
|
+
labelLeft?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_6: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_6) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<RadioButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RadioButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -11,6 +11,7 @@ export { default as BccImage } from './BccImage.vue';
|
|
|
11
11
|
export { default as BccInput } from './BccInput.vue';
|
|
12
12
|
export { default as BccMenu } from './BccMenu/BccMenu.vue';
|
|
13
13
|
export { default as BccMessage } from './BccMessage.vue';
|
|
14
|
+
export { default as BccRadioButton } from './BccRadioButton.vue';
|
|
14
15
|
export { default as BccTabs } from './BccTabs/BccTabs.vue';
|
|
15
16
|
export { default as BccToggle } from './BccToggle/BccToggle.vue';
|
|
16
17
|
export { default as BccToggleButton } from './BccToggleButton.vue';
|
|
@@ -22,6 +23,7 @@ export type { ImageProps } from './BccImage.vue';
|
|
|
22
23
|
export type { InputProps } from './BccInput.vue';
|
|
23
24
|
export type { BccMenuItem, MenuProps } from './BccMenu/BccMenu.vue';
|
|
24
25
|
export type { MessageProps } from './BccMessage.vue';
|
|
26
|
+
export type { RadioButtonProps } from './BccRadioButton.vue';
|
|
25
27
|
export type { TabItem, TabsProps } from './BccTabs/BccTabs.vue';
|
|
26
28
|
export type { ToggleProps } from './BccToggle/BccToggle.vue';
|
|
27
29
|
export type { ToggleButtonProps } from './BccToggleButton.vue';
|
package/dist-types/index.d.ts
CHANGED
|
@@ -94,7 +94,6 @@ export { default as BccPopover } from 'primevue/popover';
|
|
|
94
94
|
export { default as BccPortal } from 'primevue/portal';
|
|
95
95
|
export { default as BccProgressBar } from 'primevue/progressbar';
|
|
96
96
|
export { default as BccProgressSpinner } from 'primevue/progressspinner';
|
|
97
|
-
export { default as BccRadioButton } from 'primevue/radiobutton';
|
|
98
97
|
export { default as BccRadioButtonGroup } from 'primevue/radiobuttongroup';
|
|
99
98
|
export { default as BccRating } from 'primevue/rating';
|
|
100
99
|
export { default as BccRipple } from 'primevue/ripple';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bcc-code/component-library-vue",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Extended Vue component library based on PrimeVue and BCC design tokens",
|
|
6
6
|
"repository": "https://github.com/bcc-code/bcc-design.git",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"create-version": "node ./scripts/version.cjs"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@bcc-code/design-tokens": "^5.1.
|
|
56
|
+
"@bcc-code/design-tokens": "^5.1.50",
|
|
57
57
|
"@bcc-code/icons-vue": "^1.4.0",
|
|
58
58
|
"@primeuix/themes": "^2.0.3",
|
|
59
59
|
"@tailwindcss/vite": "^4.1.18",
|