@askrjs/themes 0.0.12 → 0.0.14

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.
Files changed (117) hide show
  1. package/README.md +3 -0
  2. package/THEMING.md +9 -0
  3. package/dist/components/_internal/block-layout.d.ts +1 -2
  4. package/dist/components/_internal/block-layout.js +0 -2
  5. package/dist/components/_internal/classes.js +0 -2
  6. package/dist/components/_internal/jsx.js +0 -2
  7. package/dist/components/_internal/merge-props.js +0 -2
  8. package/dist/components/_internal/pathname.js +0 -2
  9. package/dist/components/_internal/style.js +0 -2
  10. package/dist/components/alert/alert.d.ts +1 -2
  11. package/dist/components/alert/alert.js +0 -2
  12. package/dist/components/alert/alert.types.d.ts +1 -2
  13. package/dist/components/aside/aside.d.ts +1 -2
  14. package/dist/components/aside/aside.js +0 -2
  15. package/dist/components/aside/aside.types.d.ts +1 -2
  16. package/dist/components/aspect-ratio/aspect-ratio.d.ts +1 -2
  17. package/dist/components/aspect-ratio/aspect-ratio.js +0 -2
  18. package/dist/components/aspect-ratio/aspect-ratio.types.d.ts +1 -2
  19. package/dist/components/badge/badge.d.ts +1 -2
  20. package/dist/components/badge/badge.js +0 -2
  21. package/dist/components/badge/badge.types.d.ts +1 -2
  22. package/dist/components/block/block.d.ts +1 -2
  23. package/dist/components/block/block.js +0 -2
  24. package/dist/components/block/block.types.d.ts +1 -2
  25. package/dist/components/brand/brand.d.ts +1 -2
  26. package/dist/components/brand/brand.js +0 -2
  27. package/dist/components/brand/brand.types.d.ts +1 -2
  28. package/dist/components/button-group/button-group.d.ts +1 -2
  29. package/dist/components/button-group/button-group.js +0 -2
  30. package/dist/components/button-group/button-group.types.d.ts +1 -2
  31. package/dist/components/card/card.d.ts +1 -2
  32. package/dist/components/card/card.js +2 -4
  33. package/dist/components/card/card.js.map +1 -1
  34. package/dist/components/card/card.types.d.ts +4 -2
  35. package/dist/components/card/index.d.ts +2 -2
  36. package/dist/components/catalog.d.ts +1 -2
  37. package/dist/components/catalog.js +0 -2
  38. package/dist/components/close/close.d.ts +1 -2
  39. package/dist/components/close/close.js +0 -2
  40. package/dist/components/close/close.types.d.ts +1 -2
  41. package/dist/components/container/container.d.ts +1 -2
  42. package/dist/components/container/container.js +0 -2
  43. package/dist/components/container/container.types.d.ts +1 -2
  44. package/dist/components/empty-state/empty-state.d.ts +1 -2
  45. package/dist/components/empty-state/empty-state.js +0 -2
  46. package/dist/components/empty-state/empty-state.types.d.ts +1 -2
  47. package/dist/components/field/field.d.ts +1 -2
  48. package/dist/components/field/field.js +0 -2
  49. package/dist/components/field/field.types.d.ts +1 -2
  50. package/dist/components/footer/footer.d.ts +1 -2
  51. package/dist/components/footer/footer.js +0 -2
  52. package/dist/components/footer/footer.types.d.ts +1 -2
  53. package/dist/components/grid/grid.d.ts +1 -2
  54. package/dist/components/grid/grid.js +0 -2
  55. package/dist/components/grid/grid.types.d.ts +1 -2
  56. package/dist/components/header/header.d.ts +1 -2
  57. package/dist/components/header/header.js +0 -2
  58. package/dist/components/header/header.types.d.ts +1 -2
  59. package/dist/components/input-group/input-group.d.ts +1 -2
  60. package/dist/components/input-group/input-group.js +0 -2
  61. package/dist/components/input-group/input-group.types.d.ts +1 -2
  62. package/dist/components/main/main.d.ts +1 -2
  63. package/dist/components/main/main.js +0 -2
  64. package/dist/components/main/main.types.d.ts +1 -2
  65. package/dist/components/nav/nav.d.ts +1 -2
  66. package/dist/components/nav/nav.js +0 -2
  67. package/dist/components/nav/nav.types.d.ts +1 -2
  68. package/dist/components/navbar/navbar.d.ts +1 -2
  69. package/dist/components/navbar/navbar.js +0 -2
  70. package/dist/components/navbar/navbar.types.d.ts +1 -2
  71. package/dist/components/overlays/dropdown-content.d.ts +1 -2
  72. package/dist/components/overlays/dropdown-content.js +0 -2
  73. package/dist/components/page/page.d.ts +1 -2
  74. package/dist/components/page/page.js +0 -2
  75. package/dist/components/page/page.types.d.ts +1 -2
  76. package/dist/components/page-header/page-header.d.ts +1 -2
  77. package/dist/components/page-header/page-header.js +0 -2
  78. package/dist/components/page-header/page-header.types.d.ts +1 -2
  79. package/dist/components/section/section.d.ts +1 -2
  80. package/dist/components/section/section.js +0 -2
  81. package/dist/components/section/section.types.d.ts +1 -2
  82. package/dist/components/separator/separator.d.ts +1 -2
  83. package/dist/components/separator/separator.js +0 -2
  84. package/dist/components/separator/separator.types.d.ts +1 -2
  85. package/dist/components/sidebar/sidebar.d.ts +1 -2
  86. package/dist/components/sidebar/sidebar.js +0 -2
  87. package/dist/components/sidebar/sidebar.types.d.ts +1 -2
  88. package/dist/components/skeleton/skeleton.d.ts +1 -2
  89. package/dist/components/skeleton/skeleton.js +0 -2
  90. package/dist/components/skeleton/skeleton.types.d.ts +1 -2
  91. package/dist/components/spinner/spinner.d.ts +1 -2
  92. package/dist/components/spinner/spinner.js +0 -2
  93. package/dist/components/spinner/spinner.types.d.ts +1 -2
  94. package/dist/components/stat/stat.d.ts +1 -2
  95. package/dist/components/stat/stat.js +0 -2
  96. package/dist/components/stat/stat.types.d.ts +1 -2
  97. package/dist/components/text/text.d.ts +1 -2
  98. package/dist/components/text/text.js +0 -2
  99. package/dist/components/text/text.types.d.ts +1 -2
  100. package/dist/components/theme/theme.d.ts +1 -2
  101. package/dist/components/theme/theme.js +0 -2
  102. package/dist/components/toolbar/toolbar.d.ts +1 -2
  103. package/dist/components/toolbar/toolbar.js +0 -2
  104. package/dist/components/toolbar/toolbar.types.d.ts +1 -2
  105. package/dist/components.d.ts +2 -2
  106. package/dist/surfaces.d.ts +2 -2
  107. package/package.json +24 -8
  108. package/src/components/card/card.tsx +2 -2
  109. package/src/components/card/card.types.ts +3 -0
  110. package/src/components/card/index.ts +1 -0
  111. package/src/components/badge/badge.a11y.ts +0 -15
  112. package/src/components/block/block.a11y.ts +0 -11
  113. package/src/components/container/container.a11y.ts +0 -11
  114. package/src/components/header/header.a11y.ts +0 -11
  115. package/src/components/section/section.a11y.ts +0 -11
  116. package/src/components/separator/separator.a11y.ts +0 -15
  117. package/src/components/skeleton/skeleton.a11y.ts +0 -14
package/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # @askrjs/themes
2
2
 
3
+ [![CI](https://github.com/askrjs/askr-themes/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/askrjs/askr-themes/actions/workflows/ci.yml)
4
+ [![npm version](https://img.shields.io/npm/v/%40askrjs%2Fthemes.svg)](https://www.npmjs.com/package/@askrjs/themes)
5
+
3
6
  CSS tokens and a shadcn-style styled component catalog for Askr apps.
4
7
 
5
8
  `@askrjs/themes` is the visual companion to `@askrjs/ui` and
package/THEMING.md CHANGED
@@ -37,6 +37,15 @@ Style override:
37
37
  }
38
38
  ```
39
39
 
40
+ Card titles default to `h3`. Choose `titleAs` from the surrounding document
41
+ hierarchy; use `h1` when the card title is the page title, or the next logical
42
+ level beneath an existing heading:
43
+
44
+ ```tsx
45
+ <CardTitle titleAs="h1">Sign in</CardTitle>
46
+ <CardTitle titleAs="h2">Live sessions</CardTitle>
47
+ ```
48
+
40
49
  Icon override:
41
50
 
42
51
  ```css
@@ -45,5 +45,4 @@ type BlockLayoutProps = {
45
45
  hide?: ResponsiveValue<boolean>;
46
46
  };
47
47
  //#endregion
48
- export { BlockAlign, BlockBackground, BlockDirection, BlockJustify, BlockLayoutProps, BlockMargin, BlockRadius, BlockRowFrom, BlockShadow, BlockSize, BlockSpace, BlockZIndex, LayoutBreakpoint, ResponsiveValue };
49
- //# sourceMappingURL=block-layout.d.ts.map
48
+ export { BlockAlign, BlockBackground, BlockDirection, BlockJustify, BlockLayoutProps, BlockMargin, BlockRadius, BlockRowFrom, BlockShadow, BlockSize, BlockSpace, BlockZIndex, LayoutBreakpoint, ResponsiveValue };
@@ -206,5 +206,3 @@ function mergeLayoutStyles(layout, user) {
206
206
  }
207
207
  //#endregion
208
208
  export { applyBlockLayoutStyles, mergeLayoutStyles, splitBlockLayoutProps };
209
-
210
- //# sourceMappingURL=block-layout.js.map
@@ -4,5 +4,3 @@ function classes(...values) {
4
4
  }
5
5
  //#endregion
6
6
  export { classes };
7
-
8
- //# sourceMappingURL=classes.js.map
@@ -16,5 +16,3 @@ function toChildArray(children) {
16
16
  }
17
17
  //#endregion
18
18
  export { intrinsicElement, isJsxElement, toChildArray };
19
-
20
- //# sourceMappingURL=jsx.js.map
@@ -51,5 +51,3 @@ function mergeProps(base, injected) {
51
51
  }
52
52
  //#endregion
53
53
  export { mergeProps };
54
-
55
- //# sourceMappingURL=merge-props.js.map
@@ -35,5 +35,3 @@ function resolvePathname(href) {
35
35
  }
36
36
  //#endregion
37
37
  export { resolvePathname };
38
-
39
- //# sourceMappingURL=pathname.js.map
@@ -61,5 +61,3 @@ function styleDeclarationsToClass(declarations) {
61
61
  }
62
62
  //#endregion
63
63
  export { serializeCssDeclarations, styleDeclarationsToClass };
64
-
65
- //# sourceMappingURL=style.js.map
@@ -2,5 +2,4 @@ import { AlertProps } from "./alert.types.js";
2
2
  //#region src/components/alert/alert.d.ts
3
3
  declare function Alert(props: AlertProps): JSX.Element;
4
4
  //#endregion
5
- export { Alert };
6
- //# sourceMappingURL=alert.d.ts.map
5
+ export { Alert };
@@ -61,5 +61,3 @@ function Alert(props) {
61
61
  }
62
62
  //#endregion
63
63
  export { Alert };
64
-
65
- //# sourceMappingURL=alert.js.map
@@ -16,5 +16,4 @@ type AlertProps = DivProps & {
16
16
  ref?: Ref<HTMLDivElement>;
17
17
  };
18
18
  //#endregion
19
- export { AlertHeadingTag, AlertProps, AlertVariant };
20
- //# sourceMappingURL=alert.types.d.ts.map
19
+ export { AlertHeadingTag, AlertProps, AlertVariant };
@@ -2,5 +2,4 @@ import { AsideProps } from "./aside.types.js";
2
2
  //#region src/components/aside/aside.d.ts
3
3
  declare function Aside(props: AsideProps): JSX.Element;
4
4
  //#endregion
5
- export { Aside };
6
- //# sourceMappingURL=aside.d.ts.map
5
+ export { Aside };
@@ -12,5 +12,3 @@ function Aside(props) {
12
12
  }
13
13
  //#endregion
14
14
  export { Aside };
15
-
16
- //# sourceMappingURL=aside.js.map
@@ -3,5 +3,4 @@ import "../block/index.js";
3
3
  //#region src/components/aside/aside.types.d.ts
4
4
  type AsideProps = Omit<BlockElementProps<"aside">, "as">;
5
5
  //#endregion
6
- export { AsideProps };
7
- //# sourceMappingURL=aside.types.d.ts.map
6
+ export { AsideProps };
@@ -3,5 +3,4 @@ import { AspectRatioAsChildProps, AspectRatioProps } from "./aspect-ratio.types.
3
3
  declare function AspectRatio(props: AspectRatioProps): JSX.Element;
4
4
  declare function AspectRatio(props: AspectRatioAsChildProps): JSX.Element;
5
5
  //#endregion
6
- export { AspectRatio };
7
- //# sourceMappingURL=aspect-ratio.d.ts.map
6
+ export { AspectRatio };
@@ -27,5 +27,3 @@ function AspectRatio(props) {
27
27
  }
28
28
  //#endregion
29
29
  export { AspectRatio };
30
-
31
- //# sourceMappingURL=aspect-ratio.js.map
@@ -16,5 +16,4 @@ type AspectRatioAsChildProps = AspectRatioOwnProps & {
16
16
  ref?: Ref<unknown>;
17
17
  };
18
18
  //#endregion
19
- export { AspectRatioAsChildProps, AspectRatioOwnProps, AspectRatioProps };
20
- //# sourceMappingURL=aspect-ratio.types.d.ts.map
19
+ export { AspectRatioAsChildProps, AspectRatioOwnProps, AspectRatioProps };
@@ -3,5 +3,4 @@ import { BadgeAsChildProps, BadgeProps } from "./badge.types.js";
3
3
  declare function Badge(props: BadgeProps): JSX.Element;
4
4
  declare function Badge(props: BadgeAsChildProps): JSX.Element;
5
5
  //#endregion
6
- export { Badge };
7
- //# sourceMappingURL=badge.d.ts.map
6
+ export { Badge };
@@ -25,5 +25,3 @@ function Badge(props) {
25
25
  }
26
26
  //#endregion
27
27
  export { Badge };
28
-
29
- //# sourceMappingURL=badge.js.map
@@ -16,5 +16,4 @@ type BadgeAsChildProps = BadgeOwnProps & {
16
16
  ref?: Ref<unknown>;
17
17
  };
18
18
  //#endregion
19
- export { BadgeAsChildProps, BadgeOwnProps, BadgeProps, BadgeVariant };
20
- //# sourceMappingURL=badge.types.d.ts.map
19
+ export { BadgeAsChildProps, BadgeOwnProps, BadgeProps, BadgeVariant };
@@ -3,5 +3,4 @@ import { BlockAsChildProps, BlockNativeProps } from "./block.types.js";
3
3
  declare function Block(props: BlockNativeProps): JSX.Element;
4
4
  declare function Block(props: BlockAsChildProps): JSX.Element;
5
5
  //#endregion
6
- export { Block };
7
- //# sourceMappingURL=block.d.ts.map
6
+ export { Block };
@@ -30,5 +30,3 @@ function Block(props) {
30
30
  }
31
31
  //#endregion
32
32
  export { Block };
33
-
34
- //# sourceMappingURL=block.js.map
@@ -23,5 +23,4 @@ type BlockDivProps = BlockElementProps<"div">;
23
23
  type BlockSpanProps = BlockElementProps<"span">;
24
24
  type BlockProps = BlockNativeProps | BlockAsChildProps;
25
25
  //#endregion
26
- export { type BlockAlign, BlockAsChildProps, type BlockBackground, type BlockDirection, BlockDivProps, BlockElement, BlockElementProps, type BlockJustify, type BlockMargin, BlockNativeProps, BlockOwnProps, BlockProps, type BlockRadius, type ResponsiveValue as BlockResponsiveValue, type BlockRowFrom, type BlockShadow, type BlockSize, type BlockSpace, BlockSpanProps, type BlockZIndex };
27
- //# sourceMappingURL=block.types.d.ts.map
26
+ export { type BlockAlign, BlockAsChildProps, type BlockBackground, type BlockDirection, BlockDivProps, BlockElement, BlockElementProps, type BlockJustify, type BlockMargin, BlockNativeProps, BlockOwnProps, BlockProps, type BlockRadius, type ResponsiveValue as BlockResponsiveValue, type BlockRowFrom, type BlockShadow, type BlockSize, type BlockSpace, BlockSpanProps, type BlockZIndex };
@@ -4,5 +4,4 @@ declare function Brand<TElement extends "div" | "a" | "span" = "div">(props: Bra
4
4
  declare function BrandMark(props: BrandMarkProps): JSX.Element;
5
5
  declare function BrandLabel(props: BrandLabelProps): JSX.Element;
6
6
  //#endregion
7
- export { Brand, BrandLabel, BrandMark };
8
- //# sourceMappingURL=brand.d.ts.map
7
+ export { Brand, BrandLabel, BrandMark };
@@ -44,5 +44,3 @@ function BrandLabel(props) {
44
44
  }
45
45
  //#endregion
46
46
  export { Brand, BrandLabel, BrandMark };
47
-
48
- //# sourceMappingURL=brand.js.map
@@ -26,5 +26,4 @@ type BrandLabelProps = SpanProps & {
26
26
  ref?: Ref<HTMLSpanElement>;
27
27
  };
28
28
  //#endregion
29
- export { BrandAsChildProps, BrandElement, BrandLabelProps, BrandMarkProps, BrandNativeProps, BrandProps };
30
- //# sourceMappingURL=brand.types.d.ts.map
29
+ export { BrandAsChildProps, BrandElement, BrandLabelProps, BrandMarkProps, BrandNativeProps, BrandProps };
@@ -2,5 +2,4 @@ import { ButtonGroupProps } from "./button-group.types.js";
2
2
  //#region src/components/button-group/button-group.d.ts
3
3
  declare function ButtonGroup(props: ButtonGroupProps): JSX.Element;
4
4
  //#endregion
5
- export { ButtonGroup };
6
- //# sourceMappingURL=button-group.d.ts.map
5
+ export { ButtonGroup };
@@ -16,5 +16,3 @@ function ButtonGroup(props) {
16
16
  }
17
17
  //#endregion
18
18
  export { ButtonGroup };
19
-
20
- //# sourceMappingURL=button-group.js.map
@@ -9,5 +9,4 @@ type ButtonGroupProps = DivProps & {
9
9
  ref?: Ref<HTMLDivElement>;
10
10
  };
11
11
  //#endregion
12
- export { ButtonGroupOrientation, ButtonGroupProps };
13
- //# sourceMappingURL=button-group.types.d.ts.map
12
+ export { ButtonGroupOrientation, ButtonGroupProps };
@@ -8,5 +8,4 @@ declare function CardContent(props: CardContentProps): JSX.Element;
8
8
  declare function CardFooter(props: CardFooterProps): JSX.Element;
9
9
  declare function CardAction(props: CardActionProps): JSX.Element;
10
10
  //#endregion
11
- export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
12
- //# sourceMappingURL=card.d.ts.map
11
+ export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
@@ -30,8 +30,8 @@ function CardHeader(props) {
30
30
  });
31
31
  }
32
32
  function CardTitle(props) {
33
- const { children, class: className, ref, ...rest } = props;
34
- return /* @__PURE__ */ jsx("h3", {
33
+ const { children, class: className, ref, titleAs: TitleTag = "h3", ...rest } = props;
34
+ return /* @__PURE__ */ jsx(TitleTag, {
35
35
  ...mergeProps(rest, {
36
36
  ref,
37
37
  class: classes("card-title", className),
@@ -86,5 +86,3 @@ function CardAction(props) {
86
86
  }
87
87
  //#endregion
88
88
  export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
89
-
90
- //# sourceMappingURL=card.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.js","names":[],"sources":["../../../src/components/card/card.tsx"],"sourcesContent":["import { classes } from \"../_internal/classes\";\nimport { mergeProps } from \"../_internal/merge-props\";\nimport type {\n CardActionProps,\n CardContentProps,\n CardDescriptionProps,\n CardFooterProps,\n CardHeaderProps,\n CardProps,\n CardTitleProps,\n CardVariant,\n} from \"./card.types\";\n\nfunction normalizeVariant(variant: CardVariant | undefined) {\n return variant && variant !== \"default\" ? variant : undefined;\n}\n\nexport function Card(props: CardProps): JSX.Element {\n const { children, class: className, variant, ref, ...rest } = props;\n const normalizedVariant = normalizeVariant(variant);\n\n const finalProps = mergeProps(rest, {\n ref,\n class: classes(\"card\", normalizedVariant && `card-${normalizedVariant}`, className),\n \"data-slot\": \"card\",\n \"data-variant\": normalizedVariant,\n });\n\n return <div {...finalProps}>{children}</div>;\n}\n\nexport function CardHeader(props: CardHeaderProps): JSX.Element {\n const { children, class: className, ref, ...rest } = props;\n const finalProps = mergeProps(rest, {\n ref,\n class: classes(\"card-header\", className),\n \"data-slot\": \"card-header\",\n });\n\n return <div {...finalProps}>{children}</div>;\n}\n\nexport function CardTitle(props: CardTitleProps): JSX.Element {\n const { children, class: className, ref, ...rest } = props;\n const finalProps = mergeProps(rest, {\n ref,\n class: classes(\"card-title\", className),\n \"data-slot\": \"card-title\",\n });\n\n return <h3 {...finalProps}>{children}</h3>;\n}\n\nexport function CardDescription(props: CardDescriptionProps): JSX.Element {\n const { children, class: className, ref, ...rest } = props;\n const finalProps = mergeProps(rest, {\n ref,\n class: classes(\"card-description\", className),\n \"data-slot\": \"card-description\",\n });\n\n return <p {...finalProps}>{children}</p>;\n}\n\nexport function CardContent(props: CardContentProps): JSX.Element {\n const { children, class: className, ref, ...rest } = props;\n const finalProps = mergeProps(rest, {\n ref,\n class: classes(\"card-content\", className),\n \"data-slot\": \"card-content\",\n });\n\n return <div {...finalProps}>{children}</div>;\n}\n\nexport function CardFooter(props: CardFooterProps): JSX.Element {\n const { children, class: className, ref, ...rest } = props;\n const finalProps = mergeProps(rest, {\n ref,\n class: classes(\"card-footer\", className),\n \"data-slot\": \"card-footer\",\n });\n\n return <div {...finalProps}>{children}</div>;\n}\n\nexport function CardAction(props: CardActionProps): JSX.Element {\n const { children, class: className, ref, ...rest } = props;\n const finalProps = mergeProps(rest, {\n ref,\n class: classes(\"card-action\", className),\n \"data-slot\": \"card-action\",\n });\n\n return <div {...finalProps}>{children}</div>;\n}\n"],"mappings":";;;;AAaA,SAAS,iBAAiB,SAAkC;CAC1D,OAAO,WAAW,YAAY,YAAY,UAAU,KAAA;AACtD;AAEA,SAAgB,KAAK,OAA+B;CAClD,MAAM,EAAE,UAAU,OAAO,WAAW,SAAS,KAAK,GAAG,SAAS;CAC9D,MAAM,oBAAoB,iBAAiB,OAAO;CASlD,OAAO,oBAAC,OAAD;EAAK,GAPO,WAAW,MAAM;GAClC;GACA,OAAO,QAAQ,QAAQ,qBAAqB,QAAQ,qBAAqB,SAAS;GAClF,aAAa;GACb,gBAAgB;EAClB,CAEyB;EAAI;CAAc,CAAA;AAC7C;AAEA,SAAgB,WAAW,OAAqC;CAC9D,MAAM,EAAE,UAAU,OAAO,WAAW,KAAK,GAAG,SAAS;CAOrD,OAAO,oBAAC,OAAD;EAAK,GANO,WAAW,MAAM;GAClC;GACA,OAAO,QAAQ,eAAe,SAAS;GACvC,aAAa;EACf,CAEyB;EAAI;CAAc,CAAA;AAC7C;AAEA,SAAgB,UAAU,OAAoC;CAC5D,MAAM,EAAE,UAAU,OAAO,WAAW,KAAK,GAAG,SAAS;CAOrD,OAAO,oBAAC,MAAD;EAAI,GANQ,WAAW,MAAM;GAClC;GACA,OAAO,QAAQ,cAAc,SAAS;GACtC,aAAa;EACf,CAEwB;EAAI;CAAa,CAAA;AAC3C;AAEA,SAAgB,gBAAgB,OAA0C;CACxE,MAAM,EAAE,UAAU,OAAO,WAAW,KAAK,GAAG,SAAS;CAOrD,OAAO,oBAAC,KAAD;EAAG,GANS,WAAW,MAAM;GAClC;GACA,OAAO,QAAQ,oBAAoB,SAAS;GAC5C,aAAa;EACf,CAEuB;EAAI;CAAY,CAAA;AACzC;AAEA,SAAgB,YAAY,OAAsC;CAChE,MAAM,EAAE,UAAU,OAAO,WAAW,KAAK,GAAG,SAAS;CAOrD,OAAO,oBAAC,OAAD;EAAK,GANO,WAAW,MAAM;GAClC;GACA,OAAO,QAAQ,gBAAgB,SAAS;GACxC,aAAa;EACf,CAEyB;EAAI;CAAc,CAAA;AAC7C;AAEA,SAAgB,WAAW,OAAqC;CAC9D,MAAM,EAAE,UAAU,OAAO,WAAW,KAAK,GAAG,SAAS;CAOrD,OAAO,oBAAC,OAAD;EAAK,GANO,WAAW,MAAM;GAClC;GACA,OAAO,QAAQ,eAAe,SAAS;GACvC,aAAa;EACf,CAEyB;EAAI;CAAc,CAAA;AAC7C;AAEA,SAAgB,WAAW,OAAqC;CAC9D,MAAM,EAAE,UAAU,OAAO,WAAW,KAAK,GAAG,SAAS;CAOrD,OAAO,oBAAC,OAAD;EAAK,GANO,WAAW,MAAM;GAClC;GACA,OAAO,QAAQ,eAAe,SAAS;GACvC,aAAa;EACf,CAEyB;EAAI;CAAc,CAAA;AAC7C"}
1
+ {"version":3,"file":"card.js","names":[],"sources":["../../../src/components/card/card.tsx"],"sourcesContent":["import { classes } from \"../_internal/classes\";\nimport { mergeProps } from \"../_internal/merge-props\";\nimport type {\n CardActionProps,\n CardContentProps,\n CardDescriptionProps,\n CardFooterProps,\n CardHeaderProps,\n CardProps,\n CardTitleProps,\n CardVariant,\n} from \"./card.types\";\n\nfunction normalizeVariant(variant: CardVariant | undefined) {\n return variant && variant !== \"default\" ? variant : undefined;\n}\n\nexport function Card(props: CardProps): JSX.Element {\n const { children, class: className, variant, ref, ...rest } = props;\n const normalizedVariant = normalizeVariant(variant);\n\n const finalProps = mergeProps(rest, {\n ref,\n class: classes(\"card\", normalizedVariant && `card-${normalizedVariant}`, className),\n \"data-slot\": \"card\",\n \"data-variant\": normalizedVariant,\n });\n\n return <div {...finalProps}>{children}</div>;\n}\n\nexport function CardHeader(props: CardHeaderProps): JSX.Element {\n const { children, class: className, ref, ...rest } = props;\n const finalProps = mergeProps(rest, {\n ref,\n class: classes(\"card-header\", className),\n \"data-slot\": \"card-header\",\n });\n\n return <div {...finalProps}>{children}</div>;\n}\n\nexport function CardTitle(props: CardTitleProps): JSX.Element {\n const { children, class: className, ref, titleAs: TitleTag = \"h3\", ...rest } = props;\n const finalProps = mergeProps(rest, {\n ref,\n class: classes(\"card-title\", className),\n \"data-slot\": \"card-title\",\n });\n\n return <TitleTag {...finalProps}>{children}</TitleTag>;\n}\n\nexport function CardDescription(props: CardDescriptionProps): JSX.Element {\n const { children, class: className, ref, ...rest } = props;\n const finalProps = mergeProps(rest, {\n ref,\n class: classes(\"card-description\", className),\n \"data-slot\": \"card-description\",\n });\n\n return <p {...finalProps}>{children}</p>;\n}\n\nexport function CardContent(props: CardContentProps): JSX.Element {\n const { children, class: className, ref, ...rest } = props;\n const finalProps = mergeProps(rest, {\n ref,\n class: classes(\"card-content\", className),\n \"data-slot\": \"card-content\",\n });\n\n return <div {...finalProps}>{children}</div>;\n}\n\nexport function CardFooter(props: CardFooterProps): JSX.Element {\n const { children, class: className, ref, ...rest } = props;\n const finalProps = mergeProps(rest, {\n ref,\n class: classes(\"card-footer\", className),\n \"data-slot\": \"card-footer\",\n });\n\n return <div {...finalProps}>{children}</div>;\n}\n\nexport function CardAction(props: CardActionProps): JSX.Element {\n const { children, class: className, ref, ...rest } = props;\n const finalProps = mergeProps(rest, {\n ref,\n class: classes(\"card-action\", className),\n \"data-slot\": \"card-action\",\n });\n\n return <div {...finalProps}>{children}</div>;\n}\n"],"mappings":";;;;AAaA,SAAS,iBAAiB,SAAkC;CAC1D,OAAO,WAAW,YAAY,YAAY,UAAU,KAAA;AACtD;AAEA,SAAgB,KAAK,OAA+B;CAClD,MAAM,EAAE,UAAU,OAAO,WAAW,SAAS,KAAK,GAAG,SAAS;CAC9D,MAAM,oBAAoB,iBAAiB,OAAO;CASlD,OAAO,oBAAC,OAAD;EAAK,GAPO,WAAW,MAAM;GAClC;GACA,OAAO,QAAQ,QAAQ,qBAAqB,QAAQ,qBAAqB,SAAS;GAClF,aAAa;GACb,gBAAgB;EAClB,CAEyB;EAAI;CAAc,CAAA;AAC7C;AAEA,SAAgB,WAAW,OAAqC;CAC9D,MAAM,EAAE,UAAU,OAAO,WAAW,KAAK,GAAG,SAAS;CAOrD,OAAO,oBAAC,OAAD;EAAK,GANO,WAAW,MAAM;GAClC;GACA,OAAO,QAAQ,eAAe,SAAS;GACvC,aAAa;EACf,CAEyB;EAAI;CAAc,CAAA;AAC7C;AAEA,SAAgB,UAAU,OAAoC;CAC5D,MAAM,EAAE,UAAU,OAAO,WAAW,KAAK,SAAS,WAAW,MAAM,GAAG,SAAS;CAO/E,OAAO,oBAAC,UAAD;EAAU,GANE,WAAW,MAAM;GAClC;GACA,OAAO,QAAQ,cAAc,SAAS;GACtC,aAAa;EACf,CAE8B;EAAI;CAAmB,CAAA;AACvD;AAEA,SAAgB,gBAAgB,OAA0C;CACxE,MAAM,EAAE,UAAU,OAAO,WAAW,KAAK,GAAG,SAAS;CAOrD,OAAO,oBAAC,KAAD;EAAG,GANS,WAAW,MAAM;GAClC;GACA,OAAO,QAAQ,oBAAoB,SAAS;GAC5C,aAAa;EACf,CAEuB;EAAI;CAAY,CAAA;AACzC;AAEA,SAAgB,YAAY,OAAsC;CAChE,MAAM,EAAE,UAAU,OAAO,WAAW,KAAK,GAAG,SAAS;CAOrD,OAAO,oBAAC,OAAD;EAAK,GANO,WAAW,MAAM;GAClC;GACA,OAAO,QAAQ,gBAAgB,SAAS;GACxC,aAAa;EACf,CAEyB;EAAI;CAAc,CAAA;AAC7C;AAEA,SAAgB,WAAW,OAAqC;CAC9D,MAAM,EAAE,UAAU,OAAO,WAAW,KAAK,GAAG,SAAS;CAOrD,OAAO,oBAAC,OAAD;EAAK,GANO,WAAW,MAAM;GAClC;GACA,OAAO,QAAQ,eAAe,SAAS;GACvC,aAAa;EACf,CAEyB;EAAI;CAAc,CAAA;AAC7C;AAEA,SAAgB,WAAW,OAAqC;CAC9D,MAAM,EAAE,UAAU,OAAO,WAAW,KAAK,GAAG,SAAS;CAOrD,OAAO,oBAAC,OAAD;EAAK,GANO,WAAW,MAAM;GAClC;GACA,OAAO,QAAQ,eAAe,SAAS;GACvC,aAAa;EACf,CAEyB;EAAI;CAAc,CAAA;AAC7C"}
@@ -1,6 +1,7 @@
1
1
  import { Ref } from "@askrjs/askr/foundations/utilities";
2
2
  //#region src/components/card/card.types.d.ts
3
3
  type CardVariant = "default" | "raised";
4
+ type CardTitleHeadingTag = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
4
5
  type DivProps = Omit<JSX.IntrinsicElements["div"], "children" | "ref">;
5
6
  type HeadingProps = Omit<JSX.IntrinsicElements["h3"], "children" | "ref">;
6
7
  type ParagraphProps = Omit<JSX.IntrinsicElements["p"], "children" | "ref">;
@@ -15,6 +16,8 @@ type CardHeaderProps = DivProps & {
15
16
  };
16
17
  type CardTitleProps = HeadingProps & {
17
18
  children?: unknown;
19
+ /** Choose the level that follows the surrounding document hierarchy. */
20
+ titleAs?: CardTitleHeadingTag;
18
21
  ref?: Ref<HTMLHeadingElement>;
19
22
  };
20
23
  type CardDescriptionProps = ParagraphProps & {
@@ -34,5 +37,4 @@ type CardActionProps = DivProps & {
34
37
  ref?: Ref<HTMLDivElement>;
35
38
  };
36
39
  //#endregion
37
- export { CardActionProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CardVariant };
38
- //# sourceMappingURL=card.types.d.ts.map
40
+ export { CardActionProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleHeadingTag, CardTitleProps, CardVariant };
@@ -1,3 +1,3 @@
1
- import { CardActionProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CardVariant } from "./card.types.js";
1
+ import { CardActionProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleHeadingTag, CardTitleProps, CardVariant } from "./card.types.js";
2
2
  import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./card.js";
3
- export { Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, type CardVariant };
3
+ export { Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleHeadingTag, type CardTitleProps, type CardVariant };
@@ -151,5 +151,4 @@ declare function TypographyList(props: CatalogComponentProps): JSX.Element;
151
151
  declare function TypographyLead(props: CatalogComponentProps): JSX.Element;
152
152
  declare function TypographyMuted(props: CatalogComponentProps): JSX.Element;
153
153
  //#endregion
154
- export { AlertDescription, AlertTitle, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Calendar, CalendarBody, CalendarCaption, CalendarCell, CalendarDay, CalendarGrid, CalendarHead, CalendarHeader, CalendarNav, CalendarNextButton, CalendarPreviousButton, CalendarRow, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CatalogComponentProps, Combobox, ComboboxInput, ComboboxList, ComboboxOption, Command, CommandDialog, CommandEmpty, CommandGroup, CommandGroupHeading, CommandHeader, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DataTable, DatePicker, DatePickerInput, Direction, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FieldContent, FieldDescription, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Inline, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemTitle, Kbd, NativeSelect, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, ResizableHandle, ResizablePanel, ResizablePanelGroup, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, Shell, ShellMain, ShellNav, Sonner, Stack, TabsContent, TabsList, TabsTrigger, Toaster, Typography, TypographyBlockquote, TypographyH1, TypographyH2, TypographyH3, TypographyH4, TypographyLead, TypographyList, TypographyMuted, TypographyP };
155
- //# sourceMappingURL=catalog.d.ts.map
154
+ export { AlertDescription, AlertTitle, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Calendar, CalendarBody, CalendarCaption, CalendarCell, CalendarDay, CalendarGrid, CalendarHead, CalendarHeader, CalendarNav, CalendarNextButton, CalendarPreviousButton, CalendarRow, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CatalogComponentProps, Combobox, ComboboxInput, ComboboxList, ComboboxOption, Command, CommandDialog, CommandEmpty, CommandGroup, CommandGroupHeading, CommandHeader, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DataTable, DatePicker, DatePickerInput, Direction, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FieldContent, FieldDescription, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Inline, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemTitle, Kbd, NativeSelect, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, ResizableHandle, ResizablePanel, ResizablePanelGroup, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, Shell, ShellMain, ShellNav, Sonner, Stack, TabsContent, TabsList, TabsTrigger, Toaster, Typography, TypographyBlockquote, TypographyH1, TypographyH2, TypographyH3, TypographyH4, TypographyLead, TypographyList, TypographyMuted, TypographyP };
@@ -720,5 +720,3 @@ function TypographyMuted(props) {
720
720
  }
721
721
  //#endregion
722
722
  export { AlertDescription, AlertTitle, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Calendar, CalendarBody, CalendarCaption, CalendarCell, CalendarDay, CalendarGrid, CalendarHead, CalendarHeader, CalendarNav, CalendarNextButton, CalendarPreviousButton, CalendarRow, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Combobox, ComboboxInput, ComboboxList, ComboboxOption, Command, CommandDialog, CommandEmpty, CommandGroup, CommandGroupHeading, CommandHeader, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DataTable, DatePicker, DatePickerInput, Direction, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FieldContent, FieldDescription, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Inline, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemTitle, Kbd, NativeSelect, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, ResizableHandle, ResizablePanel, ResizablePanelGroup, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, Shell, ShellMain, ShellNav, Sonner, Stack, TabsContent, TabsList, TabsTrigger, Toaster, Typography, TypographyBlockquote, TypographyH1, TypographyH2, TypographyH3, TypographyH4, TypographyLead, TypographyList, TypographyMuted, TypographyP };
723
-
724
- //# sourceMappingURL=catalog.js.map
@@ -2,5 +2,4 @@ import { CloseNativeProps } from "./close.types.js";
2
2
  //#region src/components/close/close.d.ts
3
3
  declare function Close(props: CloseNativeProps): JSX.Element;
4
4
  //#endregion
5
- export { Close };
6
- //# sourceMappingURL=close.d.ts.map
5
+ export { Close };
@@ -18,5 +18,3 @@ function Close(props) {
18
18
  }
19
19
  //#endregion
20
20
  export { Close };
21
-
22
- //# sourceMappingURL=close.js.map
@@ -5,5 +5,4 @@ type CloseOwnProps = {
5
5
  };
6
6
  type CloseNativeProps = ButtonNativeProps & CloseOwnProps;
7
7
  //#endregion
8
- export { CloseNativeProps, CloseOwnProps };
9
- //# sourceMappingURL=close.types.d.ts.map
8
+ export { CloseNativeProps, CloseOwnProps };
@@ -2,5 +2,4 @@ import { ContainerProps } from "./container.types.js";
2
2
  //#region src/components/container/container.d.ts
3
3
  declare function Container(props: ContainerProps): JSX.Element;
4
4
  //#endregion
5
- export { Container };
6
- //# sourceMappingURL=container.d.ts.map
5
+ export { Container };
@@ -15,5 +15,3 @@ function Container(props) {
15
15
  }
16
16
  //#endregion
17
17
  export { Container };
18
-
19
- //# sourceMappingURL=container.js.map
@@ -6,5 +6,4 @@ type ContainerProps = Omit<BlockDivProps, "maxWidth"> & {
6
6
  size?: BlockSize;
7
7
  };
8
8
  //#endregion
9
- export { ContainerProps };
10
- //# sourceMappingURL=container.types.d.ts.map
9
+ export { ContainerProps };
@@ -2,5 +2,4 @@ import { EmptyStateProps } from "./empty-state.types.js";
2
2
  //#region src/components/empty-state/empty-state.d.ts
3
3
  declare function EmptyState(props: EmptyStateProps): JSX.Element;
4
4
  //#endregion
5
- export { EmptyState };
6
- //# sourceMappingURL=empty-state.d.ts.map
5
+ export { EmptyState };
@@ -41,5 +41,3 @@ function EmptyState(props) {
41
41
  }
42
42
  //#endregion
43
43
  export { EmptyState };
44
-
45
- //# sourceMappingURL=empty-state.js.map
@@ -10,5 +10,4 @@ type EmptyStateProps = BlockDivProps & {
10
10
  action?: unknown;
11
11
  };
12
12
  //#endregion
13
- export { EmptyStateHeadingTag, EmptyStateProps };
14
- //# sourceMappingURL=empty-state.types.d.ts.map
13
+ export { EmptyStateHeadingTag, EmptyStateProps };
@@ -4,5 +4,4 @@ declare function Field(props: FieldProps): JSX.Element;
4
4
  declare function FieldHint(props: FieldHintProps): JSX.Element;
5
5
  declare function FieldError(props: FieldErrorProps): JSX.Element;
6
6
  //#endregion
7
- export { Field, FieldError, FieldHint };
8
- //# sourceMappingURL=field.d.ts.map
7
+ export { Field, FieldError, FieldHint };
@@ -39,5 +39,3 @@ function FieldError(props) {
39
39
  }
40
40
  //#endregion
41
41
  export { Field, FieldError, FieldHint };
42
-
43
- //# sourceMappingURL=field.js.map
@@ -16,5 +16,4 @@ type FieldErrorProps = ParagraphProps & {
16
16
  ref?: Ref<HTMLParagraphElement>;
17
17
  };
18
18
  //#endregion
19
- export { FieldErrorProps, FieldHintProps, FieldProps };
20
- //# sourceMappingURL=field.types.d.ts.map
19
+ export { FieldErrorProps, FieldHintProps, FieldProps };
@@ -8,5 +8,4 @@ declare function FooterDescription(props: FooterDescriptionProps): JSX.Element;
8
8
  declare function FooterLinks(props: FooterLinksProps): JSX.Element;
9
9
  declare function FooterLink(props: FooterLinkProps): JSX.Element;
10
10
  //#endregion
11
- export { Footer, FooterContent, FooterDescription, FooterLink, FooterLinks, FooterSection, FooterTitle };
12
- //# sourceMappingURL=footer.d.ts.map
11
+ export { Footer, FooterContent, FooterDescription, FooterLink, FooterLinks, FooterSection, FooterTitle };
@@ -82,5 +82,3 @@ function FooterLink(props) {
82
82
  }
83
83
  //#endregion
84
84
  export { Footer, FooterContent, FooterDescription, FooterLink, FooterLinks, FooterSection, FooterTitle };
85
-
86
- //# sourceMappingURL=footer.js.map
@@ -33,5 +33,4 @@ type FooterLinkProps = AnchorProps & {
33
33
  ref?: Ref<HTMLAnchorElement>;
34
34
  };
35
35
  //#endregion
36
- export { FooterContentProps, FooterDescriptionProps, FooterLinkProps, FooterLinksProps, FooterProps, FooterSectionProps, FooterTitleProps };
37
- //# sourceMappingURL=footer.types.d.ts.map
36
+ export { FooterContentProps, FooterDescriptionProps, FooterLinkProps, FooterLinksProps, FooterProps, FooterSectionProps, FooterTitleProps };
@@ -2,5 +2,4 @@ import { GridElement, GridProps } from "./grid.types.js";
2
2
  //#region src/components/grid/grid.d.ts
3
3
  declare function Grid<TElement extends GridElement = "div">(props: GridProps<TElement>): JSX.Element;
4
4
  //#endregion
5
- export { Grid };
6
- //# sourceMappingURL=grid.d.ts.map
5
+ export { Grid };
@@ -69,5 +69,3 @@ function Grid(props) {
69
69
  }
70
70
  //#endregion
71
71
  export { Grid };
72
-
73
- //# sourceMappingURL=grid.js.map
@@ -14,5 +14,4 @@ type GridProps<TElement extends GridElement = "div"> = GridIntrinsicProps<TEleme
14
14
  ref?: Ref<HTMLElement>;
15
15
  };
16
16
  //#endregion
17
- export { GridAlign, GridColumns, GridElement, GridProps };
18
- //# sourceMappingURL=grid.types.d.ts.map
17
+ export { GridAlign, GridColumns, GridElement, GridProps };
@@ -2,5 +2,4 @@ import { HeaderProps } from "./header.types.js";
2
2
  //#region src/components/header/header.d.ts
3
3
  declare function Header(props: HeaderProps): JSX.Element;
4
4
  //#endregion
5
- export { Header };
6
- //# sourceMappingURL=header.d.ts.map
5
+ export { Header };
@@ -17,5 +17,3 @@ function Header(props) {
17
17
  }
18
18
  //#endregion
19
19
  export { Header };
20
-
21
- //# sourceMappingURL=header.js.map
@@ -6,5 +6,4 @@ type HeaderProps = Omit<BlockElementProps<"header">, "as" | "sticky"> & {
6
6
  sticky?: boolean;
7
7
  };
8
8
  //#endregion
9
- export { HeaderProps };
10
- //# sourceMappingURL=header.types.d.ts.map
9
+ export { HeaderProps };
@@ -4,5 +4,4 @@ declare function InputGroup(props: InputGroupProps): JSX.Element;
4
4
  declare function InputGroupText(props: InputGroupTextProps): JSX.Element;
5
5
  declare function InputGroupText(props: InputGroupTextAsChildProps): JSX.Element;
6
6
  //#endregion
7
- export { InputGroup, InputGroupText };
8
- //# sourceMappingURL=input-group.d.ts.map
7
+ export { InputGroup, InputGroupText };
@@ -33,5 +33,3 @@ function InputGroupText(props) {
33
33
  }
34
34
  //#endregion
35
35
  export { InputGroup, InputGroupText };
36
-
37
- //# sourceMappingURL=input-group.js.map
@@ -21,5 +21,4 @@ type InputGroupTextAsChildProps = SpanProps & {
21
21
  ref?: Ref<unknown>;
22
22
  };
23
23
  //#endregion
24
- export { InputGroupOrientation, InputGroupProps, InputGroupTextAsChildProps, InputGroupTextProps };
25
- //# sourceMappingURL=input-group.types.d.ts.map
24
+ export { InputGroupOrientation, InputGroupProps, InputGroupTextAsChildProps, InputGroupTextProps };
@@ -2,5 +2,4 @@ import { MainProps } from "./main.types.js";
2
2
  //#region src/components/main/main.d.ts
3
3
  declare function Main(props: MainProps): JSX.Element;
4
4
  //#endregion
5
- export { Main };
6
- //# sourceMappingURL=main.d.ts.map
5
+ export { Main };
@@ -13,5 +13,3 @@ function Main(props) {
13
13
  }
14
14
  //#endregion
15
15
  export { Main };
16
-
17
- //# sourceMappingURL=main.js.map
@@ -3,5 +3,4 @@ import "../block/index.js";
3
3
  //#region src/components/main/main.types.d.ts
4
4
  type MainProps = Omit<BlockElementProps<"main">, "as">;
5
5
  //#endregion
6
- export { MainProps };
7
- //# sourceMappingURL=main.types.d.ts.map
6
+ export { MainProps };
@@ -10,5 +10,4 @@ declare function NavItem(props: NavItemProps): JSX.Element;
10
10
  declare function NavItem(props: NavItemAsChildProps): JSX.Element;
11
11
  declare function NavLink(props: NavLinkProps): JSX.Element;
12
12
  //#endregion
13
- export { NavItem, NavLink, Pill, Pills, Tab, Tabs };
14
- //# sourceMappingURL=nav.d.ts.map
13
+ export { NavItem, NavLink, Pill, Pills, Tab, Tabs };
@@ -151,5 +151,3 @@ function NavLink(props) {
151
151
  }
152
152
  //#endregion
153
153
  export { NavItem, NavLink, Pill, Pills, Tab, Tabs };
154
-
155
- //# sourceMappingURL=nav.js.map
@@ -47,5 +47,4 @@ type NavLinkProps = LinkProps & NavLinkOwnProps;
47
47
  type TabProps = LinkProps & NavLinkOwnProps;
48
48
  type PillProps = LinkProps & NavLinkOwnProps;
49
49
  //#endregion
50
- export { NavItemAsChildProps, NavItemOwnProps, NavItemProps, NavLinkMatch, NavLinkOwnProps, NavLinkProps, PillProps, PillsAsChildProps, PillsOwnProps, PillsProps, TabProps, TabsAsChildProps, TabsOwnProps, TabsProps };
51
- //# sourceMappingURL=nav.types.d.ts.map
50
+ export { NavItemAsChildProps, NavItemOwnProps, NavItemProps, NavLinkMatch, NavLinkOwnProps, NavLinkProps, PillProps, PillsAsChildProps, PillsOwnProps, PillsProps, TabProps, TabsAsChildProps, TabsOwnProps, TabsProps };
@@ -5,5 +5,4 @@ declare function NavBrand(props: NavBrandProps): JSX.Element;
5
5
  declare function NavGroup(props: NavGroupProps): JSX.Element;
6
6
  declare function NavDropdown(props: NavDropdownProps): JSX.Element;
7
7
  //#endregion
8
- export { NavBrand, NavDropdown, NavGroup, Navbar };
9
- //# sourceMappingURL=navbar.d.ts.map
8
+ export { NavBrand, NavDropdown, NavGroup, Navbar };
@@ -122,5 +122,3 @@ function NavDropdown(props) {
122
122
  }
123
123
  //#endregion
124
124
  export { NavBrand, NavDropdown, NavGroup, Navbar };
125
-
126
- //# sourceMappingURL=navbar.js.map
@@ -19,5 +19,4 @@ type NavDropdownProps = Omit<DropdownProps, "children"> & Pick<DropdownContentOw
19
19
  children?: unknown;
20
20
  };
21
21
  //#endregion
22
- export { NavBrandProps, NavDropdownProps, NavGroupProps, NavbarCollapseBreakpoint, NavbarProps };
23
- //# sourceMappingURL=navbar.types.d.ts.map
22
+ export { NavBrandProps, NavDropdownProps, NavGroupProps, NavbarCollapseBreakpoint, NavbarProps };