@bcc-code/component-library-vue 0.8.6 → 0.8.8
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 +2770 -2763
- package/dist/component-library.umd.cjs +135 -135
- package/dist/index.css +1 -1
- package/dist/theme.css +6 -43
- package/dist-types/components/custom/BccCapacityIndicator/BccCapacityIndicator.vue.d.ts +3 -0
- package/dist-types/components/wrapped/BccMessage.vue.d.ts +4 -2
- package/package.json +1 -1
package/dist/theme.css
CHANGED
|
@@ -1917,57 +1917,19 @@
|
|
|
1917
1917
|
/* from ./BccAppNavigation/BccAppNavigation.css */
|
|
1918
1918
|
@layer components {
|
|
1919
1919
|
.bcc-app-nav {
|
|
1920
|
-
@apply
|
|
1920
|
+
@apply sticky inset-x-0 bottom-0 z-20 overflow-visible bg-elevation-surface-default shadow-md sm:rounded-t-xl;
|
|
1921
1921
|
}
|
|
1922
1922
|
.bcc-app-nav .bcc-app-nav-container {
|
|
1923
|
-
@apply
|
|
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
|
-
/* inner bevel (top-left highlight, bottom-right shade) */
|
|
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;
|
|
1923
|
+
@apply center pb-inset-bottom-1 mx-auto max-w-lg pt-1;
|
|
1945
1924
|
}
|
|
1946
1925
|
|
|
1947
1926
|
.bcc-app-nav .bcc-app-nav-item {
|
|
1948
|
-
@apply col
|
|
1927
|
+
@apply flex flex-col items-center justify-center relative h-12 flex-1 gap-1 ctx-gray-subtlest transition-colors focus:outline-none focus:ring-0 text-ctx;
|
|
1928
|
+
@apply opacity-50;
|
|
1949
1929
|
}
|
|
1950
1930
|
|
|
1951
1931
|
.bcc-app-nav .bcc-app-nav-item--active {
|
|
1952
|
-
@apply text-
|
|
1953
|
-
box-shadow:
|
|
1954
|
-
/* inner bevel (top-left highlight, bottom-right shade) */
|
|
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
|
-
/* inner bevel (top-left highlight, bottom-right shade) */
|
|
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);
|
|
1932
|
+
@apply text-selected opacity-100;
|
|
1971
1933
|
}
|
|
1972
1934
|
}
|
|
1973
1935
|
|
|
@@ -2084,6 +2046,7 @@
|
|
|
2084
2046
|
|
|
2085
2047
|
.bcc-capacity-indicator.is-warning {
|
|
2086
2048
|
@apply ctx-yellow-subtlest;
|
|
2049
|
+
--bcc-capacity-indicator-circle: var(--ctx-background);
|
|
2087
2050
|
}
|
|
2088
2051
|
|
|
2089
2052
|
.bcc-capacity-indicator.is-full {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BCC_CONTEXT } from '@/contexts';
|
|
1
2
|
export type CapacityIndicatorProps = {
|
|
2
3
|
/** Total capacity; use -1 for “unlimited” (shows an infinity-style icon instead of a bar). */
|
|
3
4
|
total: number;
|
|
@@ -11,6 +12,8 @@ export type CapacityIndicatorProps = {
|
|
|
11
12
|
squared?: boolean;
|
|
12
13
|
/** When true, applies warning/full color states (e.g. color change at high usage). */
|
|
13
14
|
colored?: boolean;
|
|
15
|
+
/** Design context (e.g. neutral, brand) used for background and text color. */
|
|
16
|
+
context?: BCC_CONTEXT;
|
|
14
17
|
};
|
|
15
18
|
declare const __VLS_export: import("vue").DefineComponent<CapacityIndicatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CapacityIndicatorProps> & Readonly<{}>, {
|
|
16
19
|
size: "xs" | "sm" | "base" | "lg";
|
|
@@ -3,10 +3,12 @@ import { type MessageProps as PrimeMessageProps } from 'primevue/message';
|
|
|
3
3
|
export type MessageProps = Omit<PrimeMessageProps, 'icon'> & {
|
|
4
4
|
icon?: boolean | VueComponent;
|
|
5
5
|
iconRight?: VueComponent | boolean;
|
|
6
|
+
title?: string;
|
|
7
|
+
message?: string;
|
|
6
8
|
};
|
|
7
|
-
declare var
|
|
9
|
+
declare var __VLS_19: {};
|
|
8
10
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
11
|
+
default?: (props: typeof __VLS_19) => any;
|
|
10
12
|
};
|
|
11
13
|
declare const __VLS_base: import("vue").DefineComponent<MessageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MessageProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
package/package.json
CHANGED