@ndla/primitives 1.0.6-alpha.0 → 1.0.7-alpha.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.
package/es/Pagination.js CHANGED
@@ -14,7 +14,8 @@ const paginationRecipe = sva({
14
14
  base: {
15
15
  root: {
16
16
  display: "flex",
17
- gap: "xxsmall"
17
+ gap: "xxsmall",
18
+ justifyContent: "center"
18
19
  },
19
20
  item: {
20
21
  fontVariantNumeric: "tabular-nums"
@@ -54,9 +54,9 @@ export declare const AccordionItemContent: import("react").ForwardRefExoticCompo
54
54
  export declare const AccordionItemIndicator: import("react").ForwardRefExoticComponent<{
55
55
  consumeCss?: boolean | undefined;
56
56
  } & import("@ndla/styled-system/types").WithCss & Accordion.ItemIndicatorProps & import("react").RefAttributes<HTMLDivElement>>;
57
- export declare const AccordionItem: import("react").ForwardRefExoticComponent<{
58
- consumeCss?: boolean | undefined;
59
- } & import("@ndla/styled-system/types").WithCss & Accordion.ItemProps & import("react").RefAttributes<HTMLDivElement>>;
57
+ export interface AccordionItemProps extends JsxStyleProps, Accordion.ItemProps {
58
+ }
59
+ export declare const AccordionItem: import("react").ForwardRefExoticComponent<AccordionItemProps & import("react").RefAttributes<HTMLDivElement>>;
60
60
  export declare const AccordionItemTrigger: import("react").ForwardRefExoticComponent<{
61
61
  consumeCss?: boolean | undefined;
62
62
  } & import("@ndla/styled-system/types").WithCss & Accordion.ItemTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
package/lib/Pagination.js CHANGED
@@ -20,7 +20,8 @@ const paginationRecipe = (0, _css.sva)({
20
20
  base: {
21
21
  root: {
22
22
  display: "flex",
23
- gap: "xxsmall"
23
+ gap: "xxsmall",
24
+ justifyContent: "center"
24
25
  },
25
26
  item: {
26
27
  fontVariantNumeric: "tabular-nums"
package/lib/index.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
- export type { AccordionRootProps } from "./Accordion";
8
+ export type { AccordionRootProps, AccordionItemProps } from "./Accordion";
9
9
  export { AccordionRoot, AccordionItemContent, AccordionItemIndicator, AccordionItem, AccordionItemTrigger, } from "./Accordion";
10
10
  export type { OrderedListProps, OrderedListVariantProps, UnOrderedListProps, DefinitionListProps, } from "./ArticleLists";
11
11
  export { OrderedList, UnOrderedList, DefinitionList } from "./ArticleLists";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndla/primitives",
3
- "version": "1.0.6-alpha.0",
3
+ "version": "1.0.7-alpha.0",
4
4
  "description": "Primitive components for NDLA.",
5
5
  "license": "GPL-3.0",
6
6
  "main": "lib/index.js",
@@ -33,7 +33,7 @@
33
33
  "@ndla/util": "^4.1.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@ndla/preset-panda": "^0.0.16",
36
+ "@ndla/preset-panda": "^0.0.17",
37
37
  "@pandacss/dev": "^0.44.0"
38
38
  },
39
39
  "peerDependencies": {
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "7770121967e96fe8d661b0f540e3397d6e2c453f"
46
+ "gitHead": "b27afafa098db57dd1a3b72380969d235a60ee9f"
47
47
  }