@bcc-code/component-library-vue 0.8.0 → 0.8.4
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 +2805 -2746
- package/dist/component-library.umd.cjs +159 -159
- package/dist/index.css +1 -1
- package/dist/theme.css +51 -50
- package/dist-types/components/custom/BccAppNavigation/BccAppNavigation.vue.d.ts +20 -7
- package/dist-types/components/custom/BccDialKnob/BccDialKnob.vue.d.ts +1 -1
- package/dist-types/components/custom/BccReact/BccReact.vue.d.ts +1 -1
- package/dist-types/components/custom/index.d.ts +1 -1
- package/package.json +2 -2
package/dist/theme.css
CHANGED
|
@@ -1916,62 +1916,63 @@
|
|
|
1916
1916
|
|
|
1917
1917
|
/* from ./BccAppNavigation/BccAppNavigation.css */
|
|
1918
1918
|
@layer components {
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1919
|
+
.bcc-app-nav {
|
|
1920
|
+
@apply pb-inset-bottom-2 absolute inset-x-0 bottom-0 z-20 flex w-full items-center justify-center overflow-visible;
|
|
1921
|
+
}
|
|
1922
|
+
.bcc-app-nav .bcc-app-nav-container {
|
|
1923
|
+
@apply dark:border-default mx-auto flex items-center justify-center border border-white p-0.5;
|
|
1924
|
+
|
|
1925
|
+
border-radius: 20px;
|
|
1926
|
+
background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(243, 244, 246, 0.4) 100%);
|
|
1927
|
+
backdrop-filter: blur(12px) saturate(160%);
|
|
1928
|
+
-webkit-backdrop-filter: blur(12px) saturate(160%);
|
|
1929
|
+
|
|
1930
|
+
max-width: min(96%, var(--container-lg));
|
|
1931
|
+
box-shadow:
|
|
1932
1932
|
/* inner bevel (top-left highlight, bottom-right shade) */
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1933
|
+
inset 0 0 32px white,
|
|
1934
|
+
inset 1px 0 4px -1px rgba(0, 0, 0, 0.3),
|
|
1935
|
+
inset 1px -2px 0 -1px white,
|
|
1936
|
+
inset -1px 2px 0 -1px white,
|
|
1937
|
+
0px -1px 1px -2px rgba(16, 24, 40, 0.05),
|
|
1938
|
+
0px 4px 6px -2px rgba(16, 24, 40, 0.05),
|
|
1939
|
+
0px 12px 16px -4px rgba(16, 24, 40, 0.1);
|
|
1940
|
+
}
|
|
1941
|
+
.dark .bcc-app-nav {
|
|
1942
|
+
@apply backdrop-blur-sm;
|
|
1943
|
+
background: transparent;
|
|
1944
|
+
box-shadow: none;
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
.bcc-app-nav .bcc-app-nav-item {
|
|
1948
|
+
@apply col text-text-subtlest relative h-12 min-w-16 cursor-pointer rounded-xl border border-transparent px-2 opacity-90 transition-all select-none focus:outline-none;
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1951
|
+
.bcc-app-nav .bcc-app-nav-item--active {
|
|
1952
|
+
@apply text-brand-default bg-dark-neutral-alpha-500-a border-white opacity-100;
|
|
1953
|
+
box-shadow:
|
|
1954
1954
|
/* inner bevel (top-left highlight, bottom-right shade) */
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1955
|
+
inset 1px 0 4px -1px rgba(0, 100, 50, 0.3),
|
|
1956
|
+
inset 1px 2px 0 -1px white,
|
|
1957
|
+
inset -1px -2px 0 -1px white,
|
|
1958
|
+
inset 0 0 1px 0 rgba(0, 100, 50, 0.1),
|
|
1959
|
+
inset 0 -3px 2px 0 rgba(0, 100, 50, 0.1);
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
.dark .bcc-app-nav .bcc-app-nav-item--active {
|
|
1963
|
+
@apply bg-neutral-alpha-500-a text-brand-bold border-transparent;
|
|
1964
|
+
box-shadow:
|
|
1965
1965
|
/* inner bevel (top-left highlight, bottom-right shade) */
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1966
|
+
inset 1px 0 4px -1px var(--blue-500),
|
|
1967
|
+
inset 1px 2px 0 -1px var(--blue-900),
|
|
1968
|
+
inset -1px -2px 0 -1px var(--blue-900),
|
|
1969
|
+
inset 0 0 1px 0 var(--blue-300),
|
|
1970
|
+
inset 0 -3px 2px 0 var(--blue-300);
|
|
1971
|
+
}
|
|
1972
1972
|
}
|
|
1973
1973
|
|
|
1974
1974
|
|
|
1975
|
+
|
|
1975
1976
|
/* from ./BccBadge/BccBadge.css */
|
|
1976
1977
|
@layer components {
|
|
1977
1978
|
.bcc-badge {
|
|
@@ -1,19 +1,32 @@
|
|
|
1
|
+
import type { VueComponent } from '@/types';
|
|
1
2
|
import { type Component } from 'vue';
|
|
2
3
|
export type BccAppNavigationItem = {
|
|
3
4
|
key: string;
|
|
4
|
-
link?: string;
|
|
5
5
|
title: string;
|
|
6
6
|
icon: Component;
|
|
7
7
|
pin?: number;
|
|
8
|
+
/** Any additional properties will be passed to the component.
|
|
9
|
+
* @example
|
|
10
|
+
* {
|
|
11
|
+
* href: '/',
|
|
12
|
+
* target: '_blank',
|
|
13
|
+
* } or for router link:
|
|
14
|
+
* {
|
|
15
|
+
* to: '/',
|
|
16
|
+
* replace: true,
|
|
17
|
+
* }
|
|
18
|
+
*/
|
|
19
|
+
[key: string]: unknown;
|
|
8
20
|
};
|
|
9
|
-
|
|
21
|
+
type __VLS_Props = {
|
|
10
22
|
items: BccAppNavigationItem[];
|
|
11
|
-
|
|
23
|
+
linkComponent?: VueComponent;
|
|
24
|
+
activeKey?: BccAppNavigationItem['key'] | null;
|
|
12
25
|
};
|
|
13
|
-
declare const __VLS_export: import("vue").DefineComponent<
|
|
14
|
-
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
16
|
-
|
|
26
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
27
|
+
select: (item: BccAppNavigationItem) => any;
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
+
onSelect?: ((item: BccAppNavigationItem) => any) | undefined;
|
|
17
30
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
31
|
declare const _default: typeof __VLS_export;
|
|
19
32
|
export default _default;
|
|
@@ -38,10 +38,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
38
38
|
"drag:update": () => any;
|
|
39
39
|
"drag:end": () => any;
|
|
40
40
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
41
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
42
41
|
"onDrag:start"?: (() => any) | undefined;
|
|
43
42
|
"onDrag:update"?: (() => any) | undefined;
|
|
44
43
|
"onDrag:end"?: (() => any) | undefined;
|
|
44
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
45
45
|
}>, {
|
|
46
46
|
size: number;
|
|
47
47
|
duration: number;
|
|
@@ -4,8 +4,8 @@ declare const __VLS_export: import("vue").DefineComponent<ReactProps, {}, {}, {}
|
|
|
4
4
|
}, string, import("vue").PublicProps, Readonly<ReactProps> & Readonly<{
|
|
5
5
|
onToggle?: ((id: string) => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
|
-
top: boolean;
|
|
8
7
|
placeholder: string;
|
|
8
|
+
top: boolean;
|
|
9
9
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const _default: typeof __VLS_export;
|
|
11
11
|
export default _default;
|
|
@@ -16,7 +16,7 @@ export { default as BccReactEmoji } from './BccReact/BccReactEmoji.vue';
|
|
|
16
16
|
export { default as BccStepIndicator } from './BccStepIndicator/BccStepIndicator.vue';
|
|
17
17
|
export { default as BccTag } from './BccTag/BccTag.vue';
|
|
18
18
|
export { default as BccTopNavigation } from './BccTopNavigation/BccTopNavigation.vue';
|
|
19
|
-
export type { BccAppNavigationItem
|
|
19
|
+
export type { BccAppNavigationItem } from './BccAppNavigation/BccAppNavigation.vue';
|
|
20
20
|
export type { BadgeProps } from './BccBadge/BccBadge.vue';
|
|
21
21
|
export type { CapacityIndicatorProps } from './BccCapacityIndicator/BccCapacityIndicator.vue';
|
|
22
22
|
export type { KnobProps, KnobSlots } from './BccDialKnob/BccDialKnob.vue';
|
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.4",
|
|
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.45",
|
|
57
57
|
"@bcc-code/icons-vue": "^1.4.0",
|
|
58
58
|
"@primeuix/themes": "^2.0.3",
|
|
59
59
|
"@tailwindcss/vite": "^4.1.18",
|