@ndla/primitives 1.0.15-alpha.0 → 1.0.16-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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "schemaVersion": "0.44.0",
2
+ "schemaVersion": "0.45.2",
3
3
  "styles": {
4
4
  "atomic": [
5
5
  "display]___[value:flex",
package/lib/Combobox.d.ts CHANGED
@@ -8,7 +8,7 @@
8
8
  import { Combobox } from "@ark-ui/react";
9
9
  import { JsxStyleProps, RecipeVariantProps } from "@ndla/styled-system/types";
10
10
  import { TextProps } from "./Text";
11
- declare const comboboxRecipe: import("@ndla/styled-system/types").SlotRecipeRuntimeFn<"input" | "label" | "list" | "content" | "root" | "item" | "itemIndicator" | "control" | "clearTrigger" | "itemGroup" | "itemGroupLabel" | "itemText" | "positioner" | "trigger", {
11
+ declare const comboboxRecipe: import("@ndla/styled-system/types").SlotRecipeRuntimeFn<"input" | "label" | "content" | "list" | "root" | "item" | "itemIndicator" | "control" | "clearTrigger" | "itemGroup" | "itemGroupLabel" | "itemText" | "positioner" | "trigger", {
12
12
  variant: {
13
13
  simple: {
14
14
  item: {
package/lib/Dialog.d.ts CHANGED
@@ -9,7 +9,7 @@ import { Dialog } from "@ark-ui/react";
9
9
  import { RecipeVariantProps } from "@ndla/styled-system/css";
10
10
  import { JsxStyleProps } from "@ndla/styled-system/types";
11
11
  import { TextProps } from "./Text";
12
- declare const dialogRecipe: import("@ndla/styled-system/types").SlotRecipeRuntimeFn<"title" | "description" | "content" | "positioner" | "trigger" | "backdrop" | "closeTrigger", {
12
+ declare const dialogRecipe: import("@ndla/styled-system/types").SlotRecipeRuntimeFn<"title" | "content" | "description" | "positioner" | "trigger" | "backdrop" | "closeTrigger", {
13
13
  variant: {
14
14
  drawer: {
15
15
  content: {
@@ -96,7 +96,7 @@ export type DialogVariantProps = RecipeVariantProps<typeof dialogRecipe>;
96
96
  export type DialogRootProps = Dialog.RootProps & DialogVariantProps;
97
97
  export declare const InternalDialogRoot: (props: Dialog.RootProps & {
98
98
  variant?: "dialog" | "drawer" | undefined;
99
- position?: "center" | "left" | "right" | "bottom" | "top" | undefined;
99
+ position?: "center" | "bottom" | "left" | "right" | "top" | undefined;
100
100
  size?: "small" | "xsmall" | "medium" | "large" | "full" | undefined;
101
101
  }) => import("react/jsx-runtime").JSX.Element;
102
102
  export declare const DialogRoot: ({ lazyMount, unmountOnExit, ...props }: DialogRootProps) => import("react/jsx-runtime").JSX.Element;
package/lib/Hero.d.ts CHANGED
@@ -8,7 +8,7 @@
8
8
  import { type HTMLArkProps } from "@ark-ui/react";
9
9
  import { type RecipeVariantProps } from "@ndla/styled-system/css";
10
10
  import { type JsxStyleProps } from "@ndla/styled-system/types";
11
- declare const heroRecipe: import("@ndla/styled-system/types").SlotRecipeRuntimeFn<"content" | "root" | "background", {
11
+ declare const heroRecipe: import("@ndla/styled-system/types").SlotRecipeRuntimeFn<"background" | "content" | "root", {
12
12
  absolute: {
13
13
  true: {
14
14
  background: {
package/lib/Tabs.d.ts CHANGED
@@ -8,7 +8,7 @@
8
8
  import { Tabs } from "@ark-ui/react";
9
9
  import { RecipeVariantProps } from "@ndla/styled-system/css";
10
10
  import { JsxStyleProps } from "@ndla/styled-system/types";
11
- declare const tabsRecipe: import("@ndla/styled-system/types").SlotRecipeRuntimeFn<"list" | "content" | "root" | "indicator" | "trigger", {
11
+ declare const tabsRecipe: import("@ndla/styled-system/types").SlotRecipeRuntimeFn<"content" | "list" | "root" | "indicator" | "trigger", {
12
12
  variant: {
13
13
  line: {
14
14
  trigger: {
package/lib/index.d.ts CHANGED
@@ -40,6 +40,7 @@ export type { LabelProps, LegendProps, FieldsetLegendProps } from "./Label";
40
40
  export { Label, FieldLabel, Legend, FieldsetLegend } from "./Label";
41
41
  export type { ListItemVariantProps, ListItemProps } from "./ListItem/ListItem";
42
42
  export { ListItemRoot, ListItemHeading, ListItemContent, ListItemImage } from "./ListItem/ListItem";
43
+ export type { PageContentVariantProps } from "./Layout/PageContent";
43
44
  export { PageContent, BleedPageContent } from "./Layout/PageContent";
44
45
  export type { MenuRootProps, MenuItemVariantProps, MenuItemProps } from "./Menu";
45
46
  export { MenuRoot, MenuContent, MenuItemGroupLabel, MenuItemGroup, MenuItem, MenuPositioner, MenuTriggerItem, MenuTrigger, MenuSeparator, MenuItemText, } from "./Menu";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndla/primitives",
3
- "version": "1.0.15-alpha.0",
3
+ "version": "1.0.16-alpha.0",
4
4
  "description": "Primitive components for NDLA.",
5
5
  "license": "GPL-3.0",
6
6
  "main": "lib/index.js",
@@ -29,12 +29,12 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "@ark-ui/react": "^3.9.0",
32
- "@ndla/styled-system": "^0.0.13",
32
+ "@ndla/styled-system": "^0.0.14",
33
33
  "@ndla/util": "^4.1.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@ndla/preset-panda": "^0.0.21",
37
- "@pandacss/dev": "^0.44.0"
36
+ "@ndla/preset-panda": "^0.0.22",
37
+ "@pandacss/dev": "^0.45.2"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "react": ">= 18",
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "b37f00c4b3c340890aa9729d74439fa84e2d2eed"
46
+ "gitHead": "a8a6f11eab7a7a254fff6fb062289dc413035d81"
47
47
  }