@bcc-code/component-library-vue 0.0.0-dev.f3f88c3 → 0.0.0-dev.f5dcd97
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 +5813 -5751
- package/dist/component-library.umd.cjs +184 -184
- package/dist/index.css +1 -1
- package/dist/theme.css +151 -128
- package/dist-types/components/custom/BccCircleLoader/BccCircleLoader.vue.d.ts +9 -1
- package/dist-types/components/custom/BccReact/BccReact.vue.d.ts +2 -1
- package/dist-types/components/custom/BccStepIndicator/BccStepIndicator.vue.d.ts +3 -3
- package/dist-types/components/custom/BccTag/BccTag.vue.d.ts +1 -0
- package/dist-types/components/custom/BccTopNavigation/BccTopNavigation.vue.d.ts +13 -3
- package/dist-types/components/wrapped/BccMenu/BccMenu.vue.d.ts +15 -1
- package/dist-types/components/wrapped/BccRadioButton.vue.d.ts +1 -0
- package/dist-types/components/wrapped/BccSelectButton.vue.d.ts +5 -2
- package/package.json +2 -2
package/dist/theme.css
CHANGED
|
@@ -774,18 +774,18 @@
|
|
|
774
774
|
}
|
|
775
775
|
|
|
776
776
|
@utility ctx-brand-bolder {
|
|
777
|
-
--ctx-text: var(--color-default-
|
|
777
|
+
--ctx-text: var(--color-default-neutral-0);
|
|
778
778
|
--ctx-text-bold: var(--color-default-neutral-0);
|
|
779
|
-
--ctx-background: var(--color-default-bcc-
|
|
780
|
-
--ctx-gradient: var(--color-default-bcc-
|
|
779
|
+
--ctx-background: var(--color-default-bcc-800);
|
|
780
|
+
--ctx-gradient: var(--color-default-bcc-900);
|
|
781
781
|
--ctx-border: var(--color-default-bcc-700);
|
|
782
782
|
--ctx-shadow: var(--color-neutral-alpha-500A);
|
|
783
|
-
--ctx-text-hover: var(--color-default-
|
|
784
|
-
--ctx-text-pressed: var(--color-default-
|
|
785
|
-
--ctx-background-hover: var(--color-default-bcc-
|
|
786
|
-
--ctx-background-pressed: var(--color-default-bcc-
|
|
787
|
-
--ctx-gradient-hover: var(--color-default-bcc-
|
|
788
|
-
--ctx-gradient-pressed: var(--color-default-bcc-
|
|
783
|
+
--ctx-text-hover: var(--color-default-neutral-0);
|
|
784
|
+
--ctx-text-pressed: var(--color-default-neutral-0);
|
|
785
|
+
--ctx-background-hover: var(--color-default-bcc-900);
|
|
786
|
+
--ctx-background-pressed: var(--color-default-bcc-1000);
|
|
787
|
+
--ctx-gradient-hover: var(--color-default-bcc-1000);
|
|
788
|
+
--ctx-gradient-pressed: var(--color-default-bcc-1000);
|
|
789
789
|
--ctx-border-hover: var(--color-default-bcc-700);
|
|
790
790
|
--ctx-border-pressed: var(--color-default-bcc-700);
|
|
791
791
|
}
|
|
@@ -980,16 +980,16 @@
|
|
|
980
980
|
@utility ctx-gray-bolder {
|
|
981
981
|
--ctx-text: var(--color-default-neutral-200);
|
|
982
982
|
--ctx-text-bold: var(--color-default-neutral-100);
|
|
983
|
-
--ctx-background: var(--color-default-neutral-
|
|
984
|
-
--ctx-gradient: var(--color-default-neutral-
|
|
983
|
+
--ctx-background: var(--color-default-neutral-700);
|
|
984
|
+
--ctx-gradient: var(--color-default-neutral-800);
|
|
985
985
|
--ctx-border: var(--color-default-neutral-700);
|
|
986
986
|
--ctx-shadow: var(--color-neutral-alpha-500A);
|
|
987
987
|
--ctx-text-hover: var(--color-default-neutral-200);
|
|
988
988
|
--ctx-text-pressed: var(--color-default-neutral-200);
|
|
989
|
-
--ctx-background-hover: var(--color-default-neutral-
|
|
990
|
-
--ctx-background-pressed: var(--color-default-neutral-
|
|
991
|
-
--ctx-gradient-hover: var(--color-default-neutral-
|
|
992
|
-
--ctx-gradient-pressed: var(--color-default-neutral-
|
|
989
|
+
--ctx-background-hover: var(--color-default-neutral-800);
|
|
990
|
+
--ctx-background-pressed: var(--color-default-neutral-900);
|
|
991
|
+
--ctx-gradient-hover: var(--color-default-neutral-900);
|
|
992
|
+
--ctx-gradient-pressed: var(--color-default-neutral-900);
|
|
993
993
|
--ctx-border-hover: var(--color-default-neutral-700);
|
|
994
994
|
--ctx-border-pressed: var(--color-default-neutral-700);
|
|
995
995
|
}
|
|
@@ -1728,88 +1728,104 @@
|
|
|
1728
1728
|
|
|
1729
1729
|
|
|
1730
1730
|
/* === ./styles/context.css === */
|
|
1731
|
-
|
|
1732
1731
|
@theme {
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1732
|
+
--color-brand-100: var(--color-bcc-100);
|
|
1733
|
+
--color-brand-200: var(--color-bcc-200);
|
|
1734
|
+
--color-brand-300: var(--color-bcc-300);
|
|
1735
|
+
--color-brand-400: var(--color-bcc-400);
|
|
1736
|
+
--color-brand-500: var(--color-bcc-500);
|
|
1737
|
+
--color-brand-600: var(--color-bcc-600);
|
|
1738
|
+
--color-brand-700: var(--color-bcc-700);
|
|
1739
|
+
--color-brand-800: var(--color-bcc-800);
|
|
1740
|
+
--color-brand-900: var(--color-bcc-900);
|
|
1741
|
+
--color-brand-1000: var(--color-bcc-1000);
|
|
1743
1742
|
}
|
|
1744
1743
|
|
|
1745
1744
|
/** DEFAULT CONTEXTS */
|
|
1746
1745
|
@utility ctx-default {
|
|
1747
|
-
|
|
1746
|
+
@apply ctx-neutral-subtlest;
|
|
1747
|
+
}
|
|
1748
|
+
@utility ctx-success {
|
|
1749
|
+
@apply ctx-success-subtlest;
|
|
1750
|
+
}
|
|
1751
|
+
@utility ctx-danger {
|
|
1752
|
+
@apply ctx-danger-subtlest;
|
|
1753
|
+
}
|
|
1754
|
+
@utility ctx-warning {
|
|
1755
|
+
@apply ctx-warning-subtlest;
|
|
1756
|
+
}
|
|
1757
|
+
@utility ctx-info {
|
|
1758
|
+
@apply ctx-info-subtlest;
|
|
1748
1759
|
}
|
|
1749
|
-
@utility ctx-success { @apply ctx-success-subtlest; }
|
|
1750
|
-
@utility ctx-danger { @apply ctx-danger-subtlest; }
|
|
1751
|
-
@utility ctx-warning { @apply ctx-warning-subtlest; }
|
|
1752
|
-
@utility ctx-info { @apply ctx-info-subtlest; }
|
|
1753
1760
|
|
|
1754
1761
|
@utility text-ctx {
|
|
1755
|
-
|
|
1762
|
+
color: var(--ctx-text);
|
|
1756
1763
|
}
|
|
1757
1764
|
|
|
1758
1765
|
@utility text-ctx-bold {
|
|
1759
|
-
|
|
1766
|
+
color: var(--ctx-text-bold);
|
|
1760
1767
|
}
|
|
1761
1768
|
|
|
1762
1769
|
@utility bg-ctx {
|
|
1763
|
-
|
|
1770
|
+
background-color: var(--ctx-background);
|
|
1764
1771
|
}
|
|
1765
1772
|
|
|
1766
1773
|
@utility border-ctx {
|
|
1767
|
-
|
|
1774
|
+
border-color: var(--ctx-border);
|
|
1768
1775
|
}
|
|
1769
1776
|
|
|
1770
1777
|
@utility shadow-ctx {
|
|
1771
|
-
|
|
1778
|
+
--tw-shadow-color: var(--ctx-shadow);
|
|
1772
1779
|
}
|
|
1773
1780
|
|
|
1774
1781
|
@utility ctx {
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1782
|
+
background-color: var(--ctx-background);
|
|
1783
|
+
color: var(--ctx-text);
|
|
1784
|
+
border-color: var(--ctx-border);
|
|
1778
1785
|
}
|
|
1779
1786
|
|
|
1780
1787
|
@utility ctx-gradient {
|
|
1781
|
-
|
|
1788
|
+
background: linear-gradient(225deg, var(--ctx-background) 0%, var(--ctx-gradient) 100%);
|
|
1789
|
+
|
|
1790
|
+
@variant dark {
|
|
1791
|
+
background: linear-gradient(225deg, var(--ctx-gradient) 0%, var(--ctx-background) 100%);
|
|
1792
|
+
}
|
|
1782
1793
|
}
|
|
1783
1794
|
|
|
1784
1795
|
@utility ctx-raised {
|
|
1785
|
-
|
|
1796
|
+
box-shadow:
|
|
1797
|
+
0 1px 1px 0 var(--ctx-shadow),
|
|
1798
|
+
0 0 1px 0 var(--ctx-shadow);
|
|
1786
1799
|
}
|
|
1787
1800
|
|
|
1788
1801
|
@utility ctx-flat {
|
|
1789
|
-
|
|
1802
|
+
--ctx-background: transparent;
|
|
1790
1803
|
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1804
|
+
@variant hover {
|
|
1805
|
+
--ctx-background: var(--ctx-background-hover);
|
|
1806
|
+
}
|
|
1794
1807
|
}
|
|
1795
1808
|
|
|
1796
1809
|
@utility clickable {
|
|
1797
|
-
|
|
1810
|
+
cursor: pointer;
|
|
1798
1811
|
}
|
|
1799
1812
|
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1813
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1814
|
+
.clickable:hover {
|
|
1815
|
+
--ctx-background: var(--ctx-background-hover);
|
|
1816
|
+
--ctx-text: var(--ctx-text-hover);
|
|
1817
|
+
--ctx-border: var(--ctx-border-hover);
|
|
1818
|
+
}
|
|
1805
1819
|
|
|
1806
|
-
.clickable:active {
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1820
|
+
.clickable:active {
|
|
1821
|
+
--ctx-background: var(--ctx-background-pressed);
|
|
1822
|
+
--ctx-text: var(--ctx-text-pressed);
|
|
1823
|
+
--ctx-border: var(--ctx-border-pressed);
|
|
1824
|
+
}
|
|
1810
1825
|
}
|
|
1811
1826
|
|
|
1812
1827
|
|
|
1828
|
+
|
|
1813
1829
|
/* === ./styles/fonts.css === */
|
|
1814
1830
|
@utility heading-xs { font: var(--heading-xs); }
|
|
1815
1831
|
@utility heading-sm { font: var(--heading-sm); }
|
|
@@ -1829,6 +1845,10 @@
|
|
|
1829
1845
|
/* === ./styles/component-overrides.css === */
|
|
1830
1846
|
/** Custom styles to fix primevue components that are not custom or wrapped. */
|
|
1831
1847
|
|
|
1848
|
+
:root {
|
|
1849
|
+
--p-toast-width: min(85vw, 400px);
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1832
1852
|
/**
|
|
1833
1853
|
* GUTTER FIX
|
|
1834
1854
|
* Primevue's dropwdown components are all missing the gap between input and dropdown
|
|
@@ -2319,91 +2339,94 @@
|
|
|
2319
2339
|
|
|
2320
2340
|
/* from ./BccReact/BccReact.css */
|
|
2321
2341
|
@layer components {
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2342
|
+
.bcc-react {
|
|
2343
|
+
@apply relative flex w-full items-center overflow-visible;
|
|
2344
|
+
}
|
|
2345
|
+
.bcc-react-toggle {
|
|
2346
|
+
@apply mr-1 flex shrink-0 cursor-pointer items-center justify-center rounded-full p-1 transition;
|
|
2347
|
+
}
|
|
2348
|
+
.bcc-react-list {
|
|
2349
|
+
@apply hide-scrollbar flex flex-1 items-center gap-1 overflow-x-auto overflow-y-hidden rounded-full p-1;
|
|
2350
|
+
}
|
|
2351
|
+
.bcc-react-empty {
|
|
2352
|
+
@apply heading-xs flex items-center;
|
|
2353
|
+
}
|
|
2334
2354
|
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2355
|
+
.bcc-react-selector-container {
|
|
2356
|
+
@apply absolute z-50 h-9;
|
|
2357
|
+
@apply top-11 origin-top-left;
|
|
2358
|
+
}
|
|
2339
2359
|
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2360
|
+
.bcc-react-selector-container--top {
|
|
2361
|
+
@apply -top-10 origin-bottom-left;
|
|
2362
|
+
}
|
|
2343
2363
|
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2364
|
+
.bcc-react-selector {
|
|
2365
|
+
@apply flex h-9 flex-col overflow-hidden bg-neutral-100 px-0 shadow-md;
|
|
2366
|
+
border-radius: 18px;
|
|
2367
|
+
}
|
|
2348
2368
|
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2369
|
+
.bcc-react-selector-emojis-container {
|
|
2370
|
+
@apply flex items-center bg-neutral-100 px-1;
|
|
2371
|
+
}
|
|
2352
2372
|
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2373
|
+
.bcc-react-selector-more {
|
|
2374
|
+
@apply flex w-9 items-center justify-center;
|
|
2375
|
+
}
|
|
2376
|
+
.bcc-react-selector-more-btn {
|
|
2377
|
+
@apply flex h-7 w-7 items-center justify-center rounded-full bg-slate-200;
|
|
2378
|
+
}
|
|
2359
2379
|
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2380
|
+
.bcc-react-dropdown-container {
|
|
2381
|
+
@apply top-0 left-0 -z-10 w-full max-w-full;
|
|
2382
|
+
width: 296px;
|
|
2383
|
+
}
|
|
2384
|
+
.bcc-react-dropdown-container--top {
|
|
2385
|
+
@apply top-auto bottom-0 pb-0;
|
|
2386
|
+
}
|
|
2367
2387
|
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2388
|
+
.bcc-react-dropdown {
|
|
2389
|
+
@apply -z-10 flex w-full flex-wrap overflow-hidden px-1;
|
|
2390
|
+
}
|
|
2371
2391
|
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2392
|
+
.bcc-react-arrow-down-icon {
|
|
2393
|
+
@apply h-6 w-6 text-slate-600;
|
|
2394
|
+
transition: transform 0.3s ease;
|
|
2395
|
+
}
|
|
2396
|
+
.bcc-react-arrow-down-icon.open {
|
|
2397
|
+
transform: rotate(-180deg);
|
|
2398
|
+
}
|
|
2379
2399
|
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2400
|
+
.bcc-react-selector-item {
|
|
2401
|
+
@apply relative h-9 w-9 p-2 text-xl leading-none transition-transform duration-200 ease-out;
|
|
2402
|
+
}
|
|
2383
2403
|
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2404
|
+
.bcc-react-selector-item--clicked {
|
|
2405
|
+
animation: scaleFadeOut 300ms forwards;
|
|
2406
|
+
}
|
|
2387
2407
|
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2408
|
+
@keyframes scaleFadeOut {
|
|
2409
|
+
0% {
|
|
2410
|
+
transform: scale(1);
|
|
2411
|
+
opacity: 1;
|
|
2412
|
+
}
|
|
2413
|
+
100% {
|
|
2414
|
+
transform: scale(1.4);
|
|
2415
|
+
opacity: 0;
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2398
2418
|
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2419
|
+
.bcc-react-emoji-list-item {
|
|
2420
|
+
@apply ctx clickable center h-7 min-w-7 shrink-0 rounded-full p-1 text-lg leading-none drop-shadow transition-all hover:scale-105;
|
|
2421
|
+
/* Default --not-selected */
|
|
2422
|
+
@apply ctx-neutral-subtlest;
|
|
2423
|
+
}
|
|
2424
|
+
.bcc-react-emoji-list-item span {
|
|
2425
|
+
@apply leading-none;
|
|
2426
|
+
}
|
|
2427
|
+
.bcc-react-emoji-list-item.selected {
|
|
2428
|
+
@apply ctx-neutral-subtle;
|
|
2429
|
+
}
|
|
2407
2430
|
}
|
|
2408
2431
|
|
|
2409
2432
|
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
icon?: string;
|
|
3
|
+
size?: 'sm' | 'md' | 'base' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
4
|
+
left?: boolean;
|
|
5
|
+
right?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
size: "sm" | "md" | "base" | "lg" | "xl" | "2xl" | "3xl";
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2
10
|
declare const _default: typeof __VLS_export;
|
|
3
11
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ReactProps } from './types';
|
|
1
|
+
import type { ReactInfo, ReactProps } from './types';
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<ReactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
3
|
toggle: (id: string) => any;
|
|
4
4
|
}, string, import("vue").PublicProps, Readonly<ReactProps> & Readonly<{
|
|
@@ -6,6 +6,7 @@ declare const __VLS_export: import("vue").DefineComponent<ReactProps, {}, {}, {}
|
|
|
6
6
|
}>, {
|
|
7
7
|
placeholder: string;
|
|
8
8
|
top: boolean;
|
|
9
|
+
emojis: ReactInfo[];
|
|
9
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
11
|
declare const _default: typeof __VLS_export;
|
|
11
12
|
export default _default;
|
|
@@ -11,13 +11,13 @@ export type StepIndicatorProps = {
|
|
|
11
11
|
};
|
|
12
12
|
type __VLS_Props = StepIndicatorProps;
|
|
13
13
|
type __VLS_ModelProps = {
|
|
14
|
-
modelValue?: number;
|
|
14
|
+
modelValue?: number | null;
|
|
15
15
|
};
|
|
16
16
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
17
17
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
-
"update:modelValue": (value: number) => any;
|
|
18
|
+
"update:modelValue": (value: number | null) => any;
|
|
19
19
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
20
|
+
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
context: BCC_CONTEXT;
|
|
23
23
|
hideText: boolean;
|
|
@@ -22,13 +22,23 @@ declare var __VLS_1: {
|
|
|
22
22
|
title: string;
|
|
23
23
|
subtitle: string;
|
|
24
24
|
};
|
|
25
|
-
},
|
|
25
|
+
}, __VLS_8: {}, __VLS_15: {
|
|
26
|
+
title: string;
|
|
27
|
+
}, __VLS_17: {
|
|
28
|
+
subtitle: string;
|
|
29
|
+
}, __VLS_19: {}, __VLS_26: {};
|
|
26
30
|
type __VLS_Slots = {} & {
|
|
27
31
|
default?: (props: typeof __VLS_1) => any;
|
|
28
32
|
} & {
|
|
29
|
-
|
|
33
|
+
left?: (props: typeof __VLS_8) => any;
|
|
30
34
|
} & {
|
|
31
|
-
|
|
35
|
+
title?: (props: typeof __VLS_15) => any;
|
|
36
|
+
} & {
|
|
37
|
+
subtitle?: (props: typeof __VLS_17) => any;
|
|
38
|
+
} & {
|
|
39
|
+
right?: (props: typeof __VLS_19) => any;
|
|
40
|
+
} & {
|
|
41
|
+
bottom?: (props: typeof __VLS_26) => any;
|
|
32
42
|
};
|
|
33
43
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
34
44
|
back: () => any;
|
|
@@ -9,6 +9,20 @@ export type BccMenuItem = Omit<MenuItem, 'icon' | 'items'> & {
|
|
|
9
9
|
export type MenuProps = {
|
|
10
10
|
model?: BccMenuItem[];
|
|
11
11
|
} & Omit<PrimeMenuProps, 'model'>;
|
|
12
|
-
declare
|
|
12
|
+
declare var __VLS_16: {
|
|
13
|
+
item: MenuItem;
|
|
14
|
+
label: string | ((...args: any) => string) | undefined;
|
|
15
|
+
props: import("primevue").MenuRouterBindProps;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
item?: (props: typeof __VLS_16) => any;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_base: import("vue").DefineComponent<MenuProps, PrimeMenuMethods, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MenuProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
22
|
declare const _default: typeof __VLS_export;
|
|
14
23
|
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -2,6 +2,7 @@ import { type RadioButtonProps as PrimeRadioButtonProps } from 'primevue/radiobu
|
|
|
2
2
|
export type RadioButtonProps = PrimeRadioButtonProps & {
|
|
3
3
|
label?: string;
|
|
4
4
|
labelLeft?: boolean;
|
|
5
|
+
justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
5
6
|
};
|
|
6
7
|
declare var __VLS_6: {};
|
|
7
8
|
type __VLS_Slots = {} & {
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
import type { VueComponent } from '@/types';
|
|
1
2
|
import { type SelectButtonProps as PrimeSelectButtonProps } from 'primevue/selectbutton';
|
|
2
|
-
export type SelectButtonProps = PrimeSelectButtonProps
|
|
3
|
+
export type SelectButtonProps = PrimeSelectButtonProps & {
|
|
4
|
+
optionIcon?: string | ((option: unknown) => VueComponent | null);
|
|
5
|
+
};
|
|
3
6
|
declare var __VLS_9: {
|
|
4
7
|
option: any;
|
|
5
8
|
};
|
|
6
9
|
type __VLS_Slots = {} & {
|
|
7
10
|
option?: (props: typeof __VLS_9) => any;
|
|
8
11
|
};
|
|
9
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<SelectButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SelectButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
13
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
14
|
declare const _default: typeof __VLS_export;
|
|
12
15
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bcc-code/component-library-vue",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
3
|
+
"version": "0.0.0-dev.f5dcd97",
|
|
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.66",
|
|
57
57
|
"@bcc-code/icons-vue": "^1.4.0",
|
|
58
58
|
"@primeuix/themes": "^2.0.3",
|
|
59
59
|
"@tailwindcss/vite": "^4.1.18",
|