@vuecs/theme-bulma 1.0.0

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,OAAO,QAAQ,aAAa,CAAC;IACzB,UAAU,MAAM;QACZ;;;;;;;WAOG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB;CACJ;AAED,OAAO,EAAE,CAAC"}
@@ -0,0 +1,47 @@
1
+ import type { Theme } from '@vuecs/core';
2
+ import './config';
3
+ export { renderColorPaletteStyles, setColorPalette } from './palette';
4
+ /**
5
+ * @deprecated Import `useColorPalette` from `@vuecs/design` instead.
6
+ *
7
+ * The per-theme wrapper previously auto-wired the CSP nonce via
8
+ * `useConfig('nonce')` from `@vuecs/core`. The design-level composable
9
+ * does not. If you rely on CSP nonces, pass `nonce` explicitly:
10
+ *
11
+ * import { useColorPalette } from '@vuecs/design';
12
+ * import { useConfig } from '@vuecs/core';
13
+ * const { current, set } = useColorPalette({
14
+ * nonce: () => useConfig('nonce').value,
15
+ * });
16
+ *
17
+ * Will be removed in the next major version of `@vuecs/theme-bulma`.
18
+ */
19
+ export { useColorPalette } from '@vuecs/design';
20
+ /** @deprecated Import from `@vuecs/design` instead. */
21
+ export type { UseColorPaletteOptions, UseColorPaletteReturn } from '@vuecs/design';
22
+ /** @deprecated Import from `@vuecs/design` instead — the canonical `ColorPaletteConfig` lives there since plan 026. */
23
+ export type { ColorPaletteConfig } from '@vuecs/design';
24
+ export type { Hsl } from './types';
25
+ /**
26
+ * Bulma theme for vuecs components.
27
+ *
28
+ * Targets Bulma 1.0+ (CSS-variable-based theming). The companion
29
+ * `assets/index.css` bridges `--bulma-*` onto `--vc-color-*` so palette
30
+ * switches propagate to native Bulma elements alongside vuecs ones.
31
+ *
32
+ * Two notable mapping decisions vs. the Bootstrap theme:
33
+ * - **`ghost` / `link` variants are reversed.** Bulma's `is-ghost`
34
+ * ships an underlined hyperlink-style button (matching our `link`);
35
+ * Bulma's `is-text` ships a borderless transparent button
36
+ * (matching our `ghost`). The mapping here looks inverted at a
37
+ * glance, but it's the natural reading once you know Bulma's
38
+ * vocabulary.
39
+ * - **DropdownMenu / FormSelect content uses `.dropdown-content`,
40
+ * not `.dropdown-menu`.** Bulma gates `.dropdown-menu` visibility
41
+ * on the parent `.dropdown.is-active` wrapper. Reka renders the
42
+ * content via portal — there is no parent — so we apply
43
+ * `.dropdown-content` (the inner box-styled element) directly,
44
+ * which is unconditionally visible.
45
+ */
46
+ export default function bulmaTheme(): Theme;
47
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,UAAU,CAAC;AAGlB,OAAO,EAAE,wBAAwB,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACtE;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,uDAAuD;AACvD,YAAY,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACnF,uHAAuH;AACvH,YAAY,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACxD,YAAY,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAEnC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,IAAI,KAAK,CAu+B1C"}