@returnless/focus-ui 0.0.47 → 0.0.49

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.
@@ -5,6 +5,8 @@ type __VLS_Props = {
5
5
  ratio: number;
6
6
  /** The source of the media. */
7
7
  source: string;
8
+ /** Whether the media should be subdued. */
9
+ subdued: boolean;
8
10
  };
9
11
  declare function __VLS_template(): {
10
12
  attrs: Partial<{}>;
@@ -16,6 +18,7 @@ declare function __VLS_template(): {
16
18
  };
17
19
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
20
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
+ subdued: boolean;
19
22
  ratio: number;
20
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
21
24
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,9 +1,11 @@
1
+ import { HTMLAttributes } from 'vue';
1
2
  import { HeadingLevel, HeadingSize } from './types';
2
3
  type __VLS_Props = {
3
4
  /** The heading level. */
4
5
  level?: HeadingLevel;
5
6
  /** The heading size. */
6
7
  size?: HeadingSize;
8
+ class?: HTMLAttributes['class'];
7
9
  };
8
10
  declare function __VLS_template(): {
9
11
  attrs: Partial<{}>;
@@ -15,6 +17,7 @@ declare function __VLS_template(): {
15
17
  };
16
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
19
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
+ class: HTMLAttributes["class"];
18
21
  size: HeadingSize;
19
22
  level: HeadingLevel;
20
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,2 +1,2 @@
1
- export { type HeadingLevel, type HeadingSize } from './types';
1
+ export { type HeadingLevel } from './types';
2
2
  export { default as Heading } from './Heading.vue';
@@ -0,0 +1,25 @@
1
+ export declare const HeadingStyles: import("tailwind-variants").TVReturnType<{
2
+ size: {
3
+ base: string;
4
+ lg: string;
5
+ xl: string;
6
+ '2xl': string;
7
+ '3xl': string;
8
+ };
9
+ }, undefined, "font-semibold leading-tight", {
10
+ size: {
11
+ base: string;
12
+ lg: string;
13
+ xl: string;
14
+ '2xl': string;
15
+ '3xl': string;
16
+ };
17
+ }, undefined, import("tailwind-variants").TVReturnType<{
18
+ size: {
19
+ base: string;
20
+ lg: string;
21
+ xl: string;
22
+ '2xl': string;
23
+ '3xl': string;
24
+ };
25
+ }, undefined, "font-semibold leading-tight", unknown, unknown, undefined>>;
@@ -1,2 +1,2 @@
1
1
  export type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
2
- export type HeadingSize = 'lg' | 'xl' | '2xl';
2
+ export type HeadingSize = 'lg' | 'xl' | '2xl' | '3xl';
@@ -0,0 +1,7 @@
1
+ import { type ClassValue } from 'clsx';
2
+ /**
3
+ * Combines class names with Tailwind CSS classes.
4
+ *
5
+ * @param inputs
6
+ */
7
+ export declare function cn(...inputs: ClassValue[]): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@returnless/focus-ui",
3
- "version": "0.0.47",
3
+ "version": "0.0.49",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -34,6 +34,7 @@
34
34
  "@vue/test-utils": "^2.4.6",
35
35
  "@vueuse/core": "^11.2.0",
36
36
  "autoprefixer": "^10.4.19",
37
+ "clsx": "^2.1.1",
37
38
  "collect.js": "^4.36.1",
38
39
  "dayjs": "^1.11.11",
39
40
  "eslint": "^8.57.0",
@@ -46,6 +47,8 @@
46
47
  "radix-vue": "^1.9.12",
47
48
  "rimraf": "^6.0.1",
48
49
  "sortablejs": "^1.15.6",
50
+ "tailwind-merge": "^3.2.0",
51
+ "tailwind-variants": "^1.0.0",
49
52
  "tailwindcss": "^3.4.17",
50
53
  "typescript": "^5.7.2",
51
54
  "vite": "^5.4.11",