@bcc-code/component-library-vue 0.7.2 → 0.7.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/README.md +9 -0
- package/dist/component-library.js +4597 -4595
- package/dist/component-library.umd.cjs +228 -228
- package/dist/index.css +1 -1
- package/dist/theme.css +15 -57
- package/dist-types/components/custom/BccStepIndicator/BccStepIndicator.vue.d.ts +1 -0
- package/dist-types/components/wrapped/BccChip/BccChip.vue.d.ts +18 -0
- package/package.json +2 -3
package/dist/theme.css
CHANGED
|
@@ -1838,11 +1838,18 @@
|
|
|
1838
1838
|
flex-grow: 1;
|
|
1839
1839
|
}
|
|
1840
1840
|
|
|
1841
|
-
/** Primevue 's component is missing the gap between input and dropdown */
|
|
1842
|
-
.p-autocomplete-overlay {
|
|
1843
|
-
margin-top: var(--p-anchor-gutter);
|
|
1844
|
-
}
|
|
1845
1841
|
|
|
1842
|
+
/**
|
|
1843
|
+
GUTTER FIX
|
|
1844
|
+
* Primevue's dropwdown components are all missing the gap between input and dropdown
|
|
1845
|
+
**/
|
|
1846
|
+
.p-autocomplete-overlay,
|
|
1847
|
+
.p-menu-overlay,
|
|
1848
|
+
.p-multiselect-overlay,
|
|
1849
|
+
.p-select-overlay,
|
|
1850
|
+
.p-treeselect-overlay {
|
|
1851
|
+
margin: var(--p-anchor-gutter) 0;
|
|
1852
|
+
}
|
|
1846
1853
|
|
|
1847
1854
|
|
|
1848
1855
|
|
|
@@ -2121,7 +2128,7 @@
|
|
|
2121
2128
|
/* from ./BccNpsScore/BccNpsScore.css */
|
|
2122
2129
|
@layer components {
|
|
2123
2130
|
.bcc-nps-score {
|
|
2124
|
-
@apply min-w-[280px] p-4 text-body-sm flex flex-col gap-y-2;
|
|
2131
|
+
@apply min-w-[280px] p-4 text-body-sm flex flex-col gap-y-2 select-none;
|
|
2125
2132
|
}
|
|
2126
2133
|
|
|
2127
2134
|
.bcc-nps-score--heading {
|
|
@@ -2142,7 +2149,7 @@
|
|
|
2142
2149
|
}
|
|
2143
2150
|
|
|
2144
2151
|
.bcc-nps-score--bar.disabled .bcc-nps-score--number.inactive {
|
|
2145
|
-
@apply bg-ctx ctx-gray-
|
|
2152
|
+
@apply bg-ctx ctx-gray-subtlest text-disabled;
|
|
2146
2153
|
}
|
|
2147
2154
|
|
|
2148
2155
|
.bcc-nps-score--number {
|
|
@@ -2152,7 +2159,7 @@
|
|
|
2152
2159
|
}
|
|
2153
2160
|
|
|
2154
2161
|
.bcc-nps-score--number:disabled {
|
|
2155
|
-
@apply
|
|
2162
|
+
@apply cursor-not-allowed;
|
|
2156
2163
|
}
|
|
2157
2164
|
|
|
2158
2165
|
.bcc-nps-score--number.active {
|
|
@@ -2165,7 +2172,7 @@
|
|
|
2165
2172
|
}
|
|
2166
2173
|
|
|
2167
2174
|
.bcc-nps-score--number.inactive {
|
|
2168
|
-
@apply bg-ctx text-ctx ctx-gray-
|
|
2175
|
+
@apply bg-ctx text-ctx ctx-gray-subtler;
|
|
2169
2176
|
}
|
|
2170
2177
|
|
|
2171
2178
|
.bcc-nps-score--number:first-child {
|
|
@@ -2269,55 +2276,6 @@
|
|
|
2269
2276
|
|
|
2270
2277
|
|
|
2271
2278
|
|
|
2272
|
-
/* from ./BccStepIndicator/BccStepIndicator.css */
|
|
2273
|
-
@layer components {
|
|
2274
|
-
.bcc-stepper-container {
|
|
2275
|
-
@apply flex flex-col;
|
|
2276
|
-
}
|
|
2277
|
-
|
|
2278
|
-
.bcc-stepper-header {
|
|
2279
|
-
@apply mb-2 text-left;
|
|
2280
|
-
}
|
|
2281
|
-
|
|
2282
|
-
.bcc-stepper-current-step {
|
|
2283
|
-
@apply text-heading-sm text-default;
|
|
2284
|
-
}
|
|
2285
|
-
|
|
2286
|
-
.bcc-stepper-current-label {
|
|
2287
|
-
@apply text-body-sm pl-2 text-subtle;
|
|
2288
|
-
}
|
|
2289
|
-
|
|
2290
|
-
.bcc-stepper-indicators {
|
|
2291
|
-
@apply flex justify-start gap-2;
|
|
2292
|
-
}
|
|
2293
|
-
|
|
2294
|
-
.bcc-stepper-indicator-container {
|
|
2295
|
-
@apply col;
|
|
2296
|
-
}
|
|
2297
|
-
|
|
2298
|
-
.bcc-stepper-indicator {
|
|
2299
|
-
@apply h-1.5 rounded-lg duration-300;
|
|
2300
|
-
}
|
|
2301
|
-
|
|
2302
|
-
.bcc-stepper-indicator-active {
|
|
2303
|
-
@apply w-6;
|
|
2304
|
-
}
|
|
2305
|
-
|
|
2306
|
-
.bcc-stepper-indicator-inactive {
|
|
2307
|
-
@apply w-1.5;
|
|
2308
|
-
}
|
|
2309
|
-
|
|
2310
|
-
.bcc-stepper-indicator-completed {
|
|
2311
|
-
@apply bg-selected-bold-default;
|
|
2312
|
-
}
|
|
2313
|
-
|
|
2314
|
-
.bcc-stepper-indicator-pending {
|
|
2315
|
-
@apply bg-alpha-subtle-default;
|
|
2316
|
-
}
|
|
2317
|
-
}
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
2279
|
/* from ./BccTag/BccTag.css */
|
|
2322
2280
|
|
|
2323
2281
|
@layer components {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { VueComponent } from '@/types';
|
|
2
|
+
import { type ChipProps as PrimeChipProps } from 'primevue/chip';
|
|
3
|
+
export type ChipProps = {
|
|
4
|
+
icon?: VueComponent;
|
|
5
|
+
} & /* @vue-ignore */ Omit<PrimeChipProps, 'icon' | 'iconPos'>;
|
|
6
|
+
declare var __VLS_14: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_14) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<ChipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChipProps> & 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
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bcc-code/component-library-vue",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.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.2",
|
|
57
57
|
"@bcc-code/icons-vue": "^1.4.0",
|
|
58
58
|
"@primeuix/themes": "^2.0.3",
|
|
59
59
|
"@tailwindcss/vite": "^4.1.18",
|
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
"tailwindcss": "^4.0.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@bcc-code/design-tokens": "^5.1.0",
|
|
65
64
|
"vue": "^3.5.0"
|
|
66
65
|
},
|
|
67
66
|
"devDependencies": {
|