@ndla/primitives 1.0.122-alpha.0 → 1.0.124-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/dist/panda.buildinfo.json +3 -3
- package/dist/styles.css +6 -6
- package/es/Accordion.mjs +7 -0
- package/es/Accordion.mjs.map +1 -1
- package/es/ArticleLists.mjs +7 -0
- package/es/ArticleLists.mjs.map +1 -1
- package/es/Badge.mjs +7 -0
- package/es/Badge.mjs.map +1 -1
- package/es/BlockQuote.mjs +7 -0
- package/es/BlockQuote.mjs.map +1 -1
- package/es/Button.mjs +7 -0
- package/es/Button.mjs.map +1 -1
- package/es/Card/Card.mjs +7 -0
- package/es/Card/Card.mjs.map +1 -1
- package/es/Checkbox.mjs +7 -0
- package/es/Checkbox.mjs.map +1 -1
- package/es/Combobox.mjs +7 -0
- package/es/Combobox.mjs.map +1 -1
- package/es/DatePicker.mjs.map +1 -1
- package/es/Dialog.mjs +7 -0
- package/es/Dialog.mjs.map +1 -1
- package/es/ErrorMessage/ErrorMessage.mjs +7 -0
- package/es/ErrorMessage/ErrorMessage.mjs.map +1 -1
- package/es/ExpandableBox.mjs +7 -0
- package/es/ExpandableBox.mjs.map +1 -1
- package/es/Field.mjs +7 -0
- package/es/Field.mjs.map +1 -1
- package/es/FieldErrorMessage.mjs +7 -0
- package/es/FieldErrorMessage.mjs.map +1 -1
- package/es/FieldHelper.mjs +7 -0
- package/es/FieldHelper.mjs.map +1 -1
- package/es/Figure.mjs +7 -0
- package/es/Figure.mjs.map +1 -1
- package/es/FileUpload.mjs +7 -0
- package/es/FileUpload.mjs.map +1 -1
- package/es/FramedContent.mjs +7 -0
- package/es/FramedContent.mjs.map +1 -1
- package/es/Hero.mjs +8 -0
- package/es/Hero.mjs.map +1 -1
- package/es/Image.mjs +7 -0
- package/es/Image.mjs.map +1 -1
- package/es/Input.mjs +7 -0
- package/es/Input.mjs.map +1 -1
- package/es/Label.mjs +7 -0
- package/es/Label.mjs.map +1 -1
- package/es/Layout/PageContainer.mjs.map +1 -1
- package/es/Layout/PageContent.mjs +7 -0
- package/es/Layout/PageContent.mjs.map +1 -1
- package/es/ListItem/ListItem.mjs +7 -0
- package/es/ListItem/ListItem.mjs.map +1 -1
- package/es/Menu.mjs +10 -3
- package/es/Menu.mjs.map +1 -1
- package/es/MessageBox.mjs +7 -0
- package/es/MessageBox.mjs.map +1 -1
- package/es/NdlaLogo.mjs +7 -0
- package/es/NdlaLogo.mjs.map +1 -1
- package/es/Pagination.mjs +7 -0
- package/es/Pagination.mjs.map +1 -1
- package/es/Popover.mjs +7 -0
- package/es/Popover.mjs.map +1 -1
- package/es/RadioGroup.mjs +7 -0
- package/es/RadioGroup.mjs.map +1 -1
- package/es/Select.mjs +7 -0
- package/es/Select.mjs.map +1 -1
- package/es/Skeleton.mjs +7 -0
- package/es/Skeleton.mjs.map +1 -1
- package/es/Slider.mjs +7 -0
- package/es/Slider.mjs.map +1 -1
- package/es/Spinner.mjs +7 -0
- package/es/Spinner.mjs.map +1 -1
- package/es/Switch.mjs +7 -0
- package/es/Switch.mjs.map +1 -1
- package/es/Table.mjs +7 -0
- package/es/Table.mjs.map +1 -1
- package/es/Tabs.mjs +7 -0
- package/es/Tabs.mjs.map +1 -1
- package/es/TagsInput.mjs +7 -0
- package/es/TagsInput.mjs.map +1 -1
- package/es/Text.mjs +7 -0
- package/es/Text.mjs.map +1 -1
- package/es/Toast.mjs +7 -0
- package/es/Toast.mjs.map +1 -1
- package/es/ToggleGroup.mjs +7 -0
- package/es/ToggleGroup.mjs.map +1 -1
- package/es/Tooltip.mjs +7 -0
- package/es/Tooltip.mjs.map +1 -1
- package/es/Tree/Tree.mjs +7 -0
- package/es/Tree/Tree.mjs.map +1 -1
- package/lib/Accordion.d.ts +1 -1
- package/lib/Accordion.js +7 -0
- package/lib/Accordion.js.map +1 -1
- package/lib/ArticleLists.d.ts +1 -1
- package/lib/ArticleLists.js +7 -0
- package/lib/ArticleLists.js.map +1 -1
- package/lib/Badge.d.ts +1 -1
- package/lib/Badge.js +7 -0
- package/lib/Badge.js.map +1 -1
- package/lib/BlockQuote.d.ts +1 -1
- package/lib/BlockQuote.js +7 -0
- package/lib/BlockQuote.js.map +1 -1
- package/lib/Button.d.ts +1 -1
- package/lib/Button.js +7 -0
- package/lib/Button.js.map +1 -1
- package/lib/Card/Card.d.ts +1 -1
- package/lib/Card/Card.js +7 -0
- package/lib/Card/Card.js.map +1 -1
- package/lib/Checkbox.d.ts +1 -1
- package/lib/Checkbox.js +7 -0
- package/lib/Checkbox.js.map +1 -1
- package/lib/Combobox.d.ts +1 -1
- package/lib/Combobox.js +7 -0
- package/lib/Combobox.js.map +1 -1
- package/lib/DatePicker.d.ts +1 -1
- package/lib/DatePicker.js.map +1 -1
- package/lib/Dialog.d.ts +1 -1
- package/lib/Dialog.js +7 -0
- package/lib/Dialog.js.map +1 -1
- package/lib/ErrorMessage/ErrorMessage.d.ts +1 -1
- package/lib/ErrorMessage/ErrorMessage.js +7 -0
- package/lib/ErrorMessage/ErrorMessage.js.map +1 -1
- package/lib/ExpandableBox.d.ts +1 -1
- package/lib/ExpandableBox.js +7 -0
- package/lib/ExpandableBox.js.map +1 -1
- package/lib/Field.js +7 -0
- package/lib/Field.js.map +1 -1
- package/lib/FieldErrorMessage.d.ts +1 -1
- package/lib/FieldErrorMessage.js +7 -0
- package/lib/FieldErrorMessage.js.map +1 -1
- package/lib/FieldHelper.d.ts +1 -1
- package/lib/FieldHelper.js +7 -0
- package/lib/FieldHelper.js.map +1 -1
- package/lib/Figure.d.ts +1 -1
- package/lib/Figure.js +7 -0
- package/lib/Figure.js.map +1 -1
- package/lib/FileUpload.d.ts +1 -1
- package/lib/FileUpload.js +7 -0
- package/lib/FileUpload.js.map +1 -1
- package/lib/FramedContent.d.ts +1 -1
- package/lib/FramedContent.js +7 -0
- package/lib/FramedContent.js.map +1 -1
- package/lib/Hero.d.ts +11 -1
- package/lib/Hero.js +8 -0
- package/lib/Hero.js.map +1 -1
- package/lib/Image.js +7 -0
- package/lib/Image.js.map +1 -1
- package/lib/Input.d.ts +1 -1
- package/lib/Input.js +7 -0
- package/lib/Input.js.map +1 -1
- package/lib/Label.d.ts +1 -1
- package/lib/Label.js +7 -0
- package/lib/Label.js.map +1 -1
- package/lib/Layout/PageContainer.d.ts +1 -1
- package/lib/Layout/PageContainer.js +7 -0
- package/lib/Layout/PageContainer.js.map +1 -1
- package/lib/Layout/PageContent.d.ts +1 -1
- package/lib/Layout/PageContent.js +7 -0
- package/lib/Layout/PageContent.js.map +1 -1
- package/lib/ListItem/ListItem.d.ts +1 -1
- package/lib/ListItem/ListItem.js +7 -0
- package/lib/ListItem/ListItem.js.map +1 -1
- package/lib/Menu.d.ts +4 -4
- package/lib/Menu.js +10 -3
- package/lib/Menu.js.map +1 -1
- package/lib/MessageBox.d.ts +1 -1
- package/lib/MessageBox.js +7 -0
- package/lib/MessageBox.js.map +1 -1
- package/lib/NdlaLogo.js +7 -0
- package/lib/NdlaLogo.js.map +1 -1
- package/lib/Pagination.d.ts +1 -1
- package/lib/Pagination.js +7 -0
- package/lib/Pagination.js.map +1 -1
- package/lib/Popover.d.ts +1 -1
- package/lib/Popover.js +7 -0
- package/lib/Popover.js.map +1 -1
- package/lib/RadioGroup.d.ts +2 -2
- package/lib/RadioGroup.js +7 -0
- package/lib/RadioGroup.js.map +1 -1
- package/lib/Select.d.ts +1 -1
- package/lib/Select.js +7 -0
- package/lib/Select.js.map +1 -1
- package/lib/Skeleton.d.ts +1 -1
- package/lib/Skeleton.js +7 -0
- package/lib/Skeleton.js.map +1 -1
- package/lib/Slider.d.ts +2 -2
- package/lib/Slider.js +7 -0
- package/lib/Slider.js.map +1 -1
- package/lib/Spinner.d.ts +1 -1
- package/lib/Spinner.js +7 -0
- package/lib/Spinner.js.map +1 -1
- package/lib/Switch.d.ts +2 -2
- package/lib/Switch.js +7 -0
- package/lib/Switch.js.map +1 -1
- package/lib/Table.d.ts +1 -1
- package/lib/Table.js +7 -0
- package/lib/Table.js.map +1 -1
- package/lib/Tabs.d.ts +2 -2
- package/lib/Tabs.js +7 -0
- package/lib/Tabs.js.map +1 -1
- package/lib/TagsInput.d.ts +1 -1
- package/lib/TagsInput.js +7 -0
- package/lib/TagsInput.js.map +1 -1
- package/lib/Text.d.ts +1 -1
- package/lib/Text.js +7 -0
- package/lib/Text.js.map +1 -1
- package/lib/Toast.d.ts +1 -1
- package/lib/Toast.js +7 -0
- package/lib/Toast.js.map +1 -1
- package/lib/ToggleGroup.d.ts +1 -1
- package/lib/ToggleGroup.js +7 -0
- package/lib/ToggleGroup.js.map +1 -1
- package/lib/Tooltip.d.ts +1 -1
- package/lib/Tooltip.js +7 -0
- package/lib/Tooltip.js.map +1 -1
- package/lib/Tree/Tree.d.ts +1 -1
- package/lib/Tree/Tree.js +7 -0
- package/lib/Tree/Tree.js.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageContainer.mjs","names":[],"sources":["../../src/Layout/PageContainer.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport
|
|
1
|
+
{"version":3,"file":"PageContainer.mjs","names":[],"sources":["../../src/Layout/PageContainer.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { type HTMLArkProps } from \"@ark-ui/react\";\nimport { css, cva } from \"@ndla/styled-system/css\";\nimport type { StyledProps, RecipeVariantProps } from \"@ndla/styled-system/types\";\nimport { forwardRef } from \"react\";\nimport { PageContent, type PageContentVariantProps } from \"./PageContent\";\n\nconst pageContainerRecipe = cva({\n defaultVariants: {\n padding: \"medium\",\n },\n variants: {\n padding: {\n none: {},\n small: {\n paddingBlockStart: \"medium\",\n paddingBlockEnd: \"5xlarge\",\n },\n medium: {\n paddingBlockStart: \"xxlarge\",\n paddingBlockEnd: \"5xlarge\",\n },\n large: {\n paddingBlockStart: \"4xlarge\",\n paddingBlockEnd: \"5xlarge\",\n },\n },\n },\n});\n\nexport type PageContainerVariantProps = NonNullable<RecipeVariantProps<typeof pageContainerRecipe>>;\n\nexport interface PageContainerProps\n extends HTMLArkProps<\"div\">, StyledProps, PageContentVariantProps, PageContainerVariantProps {}\n\nexport const PageContainer = forwardRef<HTMLDivElement, PageContainerProps>(\n ({ padding, css: cssProp, ...props }, ref) => (\n <PageContent css={css.raw(pageContainerRecipe.raw({ padding }), cssProp)} {...props} ref={ref} />\n ),\n);\n"],"mappings":";;;;;;;AAcA,MAAM,sBAAsB,IAAI;CAC9B,iBAAiB,EACf,SAAS,UACV;CACD,UAAU,EACR,SAAS;EACP,MAAM,EAAE;EACR,OAAO;GACL,mBAAmB;GACnB,iBAAiB;GAClB;EACD,QAAQ;GACN,mBAAmB;GACnB,iBAAiB;GAClB;EACD,OAAO;GACL,mBAAmB;GACnB,iBAAiB;GAClB;EACF,EACF;CACF,CAAC;AAOF,MAAa,gBAAgB,YAC1B,EAAE,SAAS,KAAK,SAAS,GAAG,SAAS,QACpC,oBAAC;CAAY,KAAK,IAAI,IAAI,oBAAoB,IAAI,EAAE,SAAS,CAAC,EAAE,QAAQ;CAAE,GAAI;CAAY;EAAO,CAEpG"}
|
|
@@ -5,6 +5,13 @@ import { jsx } from "react/jsx-runtime";
|
|
|
5
5
|
import { forwardRef } from "react";
|
|
6
6
|
|
|
7
7
|
//#region src/Layout/PageContent.tsx
|
|
8
|
+
/**
|
|
9
|
+
* Copyright (c) 2024-present, NDLA.
|
|
10
|
+
*
|
|
11
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
12
|
+
* LICENSE file in the root directory of this source tree.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
8
15
|
const pageRecipe = cva({
|
|
9
16
|
base: {
|
|
10
17
|
display: "grid",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageContent.mjs","names":[],"sources":["../../src/Layout/PageContent.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport type
|
|
1
|
+
{"version":3,"file":"PageContent.mjs","names":[],"sources":["../../src/Layout/PageContent.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { type HTMLArkProps, ark } from \"@ark-ui/react\";\nimport { css, cva } from \"@ndla/styled-system/css\";\nimport { styled } from \"@ndla/styled-system/jsx\";\nimport type { StyledProps, RecipeVariantProps } from \"@ndla/styled-system/types\";\nimport { forwardRef } from \"react\";\n\nconst pageRecipe = cva({\n base: {\n display: \"grid\",\n transitionProperty: \"all\",\n transitionDuration: \"default\",\n transitionTimingFunction: \"default\",\n alignContent: \"start\",\n /**\n * var(--size) is the max width of the content\n * calc(100% - (var(--gutter, 0) * 2)) is the max width of the page, minus the gutters (inline padding without being actual padding).\n * In effect, this will center the content on the page, and constrain it to either the content width or the page width, whichever is smaller.\n */\n gridColumnGap: \"var(--gutter, 0)\",\n gridTemplateColumns: \"1fr min(var(--size), calc(100% - (var(--gutter, 0) * 2))) 1fr\",\n \"& > *\": {\n gridColumnStart: \"2\",\n gridColumnEnd: \"2\",\n },\n },\n defaultVariants: {\n variant: \"page\",\n gutters: \"always\",\n },\n variants: {\n variant: {\n content: {\n \"--size\": \"sizes.surface.contentMax\",\n },\n article: {\n \"--size\": \"sizes.surface.articleMax\",\n },\n page: {\n \"--size\": \"sizes.surface.pageMax\",\n },\n wide: {\n \"--size\": \"sizes.surface.wideMax\",\n },\n },\n gutters: {\n never: {\n \"--gutter\": \"0px\",\n },\n mobileUp: {\n \"--gutter\": \"0px\",\n mobileWide: {\n \"--gutter\": \"spacing.medium\",\n },\n },\n tabletUp: {\n \"--gutter\": \"0px\",\n tablet: {\n \"--gutter\": \"spacing.medium\",\n },\n },\n always: {\n \"--gutter\": \"spacing.small\",\n tablet: {\n \"--gutter\": \"spacing.medium\",\n },\n },\n },\n },\n});\n\nconst StyledPageContent = styled(ark.div, {}, { baseComponent: true });\n\nexport type PageContentVariantProps = NonNullable<RecipeVariantProps<typeof pageRecipe>>;\n\nexport interface PageContentProps extends HTMLArkProps<\"div\">, StyledProps, PageContentVariantProps {}\n\nexport const PageContent = forwardRef<HTMLDivElement, PageContentProps>(\n ({ variant, gutters, css: cssProp, ...props }, ref) => (\n <StyledPageContent css={css.raw(pageRecipe.raw({ variant, gutters }), cssProp)} ref={ref} {...props} />\n ),\n);\n\nexport const BleedPageContent = styled(\n ark.div,\n {\n base: {\n \"& \": {\n width: \"100%\",\n gridColumnStart: \"1\",\n gridColumnEnd: \"-1\",\n },\n },\n },\n { baseComponent: true },\n);\n"],"mappings":";;;;;;;;;;;;;;AAcA,MAAM,aAAa,IAAI;CACrB,MAAM;EACJ,SAAS;EACT,oBAAoB;EACpB,oBAAoB;EACpB,0BAA0B;EAC1B,cAAc;EAMd,eAAe;EACf,qBAAqB;EACrB,SAAS;GACP,iBAAiB;GACjB,eAAe;GAChB;EACF;CACD,iBAAiB;EACf,SAAS;EACT,SAAS;EACV;CACD,UAAU;EACR,SAAS;GACP,SAAS,EACP,UAAU,4BACX;GACD,SAAS,EACP,UAAU,4BACX;GACD,MAAM,EACJ,UAAU,yBACX;GACD,MAAM,EACJ,UAAU,yBACX;GACF;EACD,SAAS;GACP,OAAO,EACL,YAAY,OACb;GACD,UAAU;IACR,YAAY;IACZ,YAAY,EACV,YAAY,kBACb;IACF;GACD,UAAU;IACR,YAAY;IACZ,QAAQ,EACN,YAAY,kBACb;IACF;GACD,QAAQ;IACN,YAAY;IACZ,QAAQ,EACN,YAAY,kBACb;IACF;GACF;EACF;CACF,CAAC;AAEF,MAAM,oBAAoB,OAAO,IAAI,KAAK,EAAE,EAAE,EAAE,eAAe,MAAM,CAAC;AAMtE,MAAa,cAAc,YACxB,EAAE,SAAS,SAAS,KAAK,SAAS,GAAG,SAAS,QAC7C,oBAAC;CAAkB,KAAK,IAAI,IAAI,WAAW,IAAI;EAAE;EAAS;EAAS,CAAC,EAAE,QAAQ;CAAO;CAAK,GAAI;EAAS,CAE1G;AAED,MAAa,mBAAmB,OAC9B,IAAI,KACJ,EACE,MAAM,EACJ,MAAM;CACJ,OAAO;CACP,iBAAiB;CACjB,eAAe;CAChB,EACF,EACF,EACD,EAAE,eAAe,MAAM,CACxB"}
|
package/es/ListItem/ListItem.mjs
CHANGED
|
@@ -7,6 +7,13 @@ import { jsx } from "react/jsx-runtime";
|
|
|
7
7
|
import { forwardRef } from "react";
|
|
8
8
|
|
|
9
9
|
//#region src/ListItem/ListItem.tsx
|
|
10
|
+
/**
|
|
11
|
+
* Copyright (c) 2024-present, NDLA.
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
10
17
|
const listItemRecipe = sva({
|
|
11
18
|
slots: [
|
|
12
19
|
"root",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.mjs","names":[],"sources":["../../src/ListItem/ListItem.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport type
|
|
1
|
+
{"version":3,"file":"ListItem.mjs","names":[],"sources":["../../src/ListItem/ListItem.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { type HTMLArkProps, ark } from \"@ark-ui/react\";\nimport { sva } from \"@ndla/styled-system/css\";\nimport { createStyleContext } from \"@ndla/styled-system/jsx\";\nimport type { StyledProps, RecipeVariantProps } from \"@ndla/styled-system/types\";\nimport { forwardRef } from \"react\";\nimport { Image, type ImageProps } from \"../Image\";\nimport { Heading, type TextProps } from \"../Text\";\n\nexport const listItemRecipe = sva({\n slots: [\"root\", \"title\", \"content\", \"image\"],\n base: {\n root: {\n minHeight: \"3xlarge\",\n borderStyle: \"solid\",\n borderWidth: \"1px\",\n borderColor: \"stroke.subtle\",\n backgroundColor: \"background.default\",\n color: \"text.default\",\n position: \"relative\",\n display: \"flex\",\n gap: \"small\",\n alignItems: \"center\",\n paddingBlock: \"xsmall\",\n paddingInline: \"xxsmall\",\n transitionProperty: \"background-color, border-color, color\",\n transitionDuration: \"superFast\",\n transitionTimingFunction: \"ease-in-out\",\n boxShadow: \"xsmall\",\n },\n content: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n gap: \"xsmall\",\n width: \"100%\",\n },\n image: {\n minHeight: \"50px\",\n maxHeight: \"50px\",\n minWidth: \"70px\",\n maxWidth: \"70px\",\n objectFit: \"cover\",\n },\n },\n defaultVariants: {\n nonInteractive: false,\n },\n variants: {\n nonInteractive: {\n false: {\n root: {\n _highlighted: {\n borderColor: \"stroke.hover\",\n backgroundColor: \"surface.hover\",\n },\n _hover: {\n borderColor: \"stroke.hover\",\n backgroundColor: \"surface.hover\",\n },\n _active: {\n borderColor: \"stroke.hover\",\n backgroundColor: \"surface.active\",\n },\n },\n title: {\n textDecoration: \"underline\",\n _hover: {\n textDecoration: \"none\",\n },\n },\n },\n },\n },\n});\n\nconst { withProvider, withContext } = createStyleContext(listItemRecipe);\n\nexport type ListItemVariantProps = NonNullable<RecipeVariantProps<typeof listItemRecipe>>;\n\nexport interface ListItemProps extends HTMLArkProps<\"div\">, StyledProps, ListItemVariantProps {}\n\nexport const ListItemRoot = withProvider(ark.div, \"root\", { baseComponent: true });\n\ninterface ListItemHeadingProps extends Omit<HTMLArkProps<\"p\">, \"color\">, TextProps {}\n\nconst InternalListItemHeading = forwardRef<HTMLHeadingElement, ListItemHeadingProps>(\n ({ textStyle = \"label.medium\", fontWeight = \"bold\", ...props }, ref) => (\n <Heading textStyle={textStyle} fontWeight={fontWeight} {...props} ref={ref} />\n ),\n);\n\nexport const ListItemHeading = withContext(InternalListItemHeading, \"title\");\n\nexport const ListItemContent = withContext(ark.div, \"content\", { baseComponent: true });\n\nconst InternalListItemImage = withContext(Image, \"image\");\n\nexport const ListItemImage = forwardRef<HTMLImageElement, ImageProps>(({ variant = \"rounded\", ...props }, ref) => (\n <InternalListItemImage variant={variant} {...props} ref={ref} />\n));\n"],"mappings":";;;;;;;;;;;;;;;;AAgBA,MAAa,iBAAiB,IAAI;CAChC,OAAO;EAAC;EAAQ;EAAS;EAAW;EAAQ;CAC5C,MAAM;EACJ,MAAM;GACJ,WAAW;GACX,aAAa;GACb,aAAa;GACb,aAAa;GACb,iBAAiB;GACjB,OAAO;GACP,UAAU;GACV,SAAS;GACT,KAAK;GACL,YAAY;GACZ,cAAc;GACd,eAAe;GACf,oBAAoB;GACpB,oBAAoB;GACpB,0BAA0B;GAC1B,WAAW;GACZ;EACD,SAAS;GACP,SAAS;GACT,YAAY;GACZ,gBAAgB;GAChB,KAAK;GACL,OAAO;GACR;EACD,OAAO;GACL,WAAW;GACX,WAAW;GACX,UAAU;GACV,UAAU;GACV,WAAW;GACZ;EACF;CACD,iBAAiB,EACf,gBAAgB,OACjB;CACD,UAAU,EACR,gBAAgB,EACd,OAAO;EACL,MAAM;GACJ,cAAc;IACZ,aAAa;IACb,iBAAiB;IAClB;GACD,QAAQ;IACN,aAAa;IACb,iBAAiB;IAClB;GACD,SAAS;IACP,aAAa;IACb,iBAAiB;IAClB;GACF;EACD,OAAO;GACL,gBAAgB;GAChB,QAAQ,EACN,gBAAgB,QACjB;GACF;EACF,EACF,EACF;CACF,CAAC;AAEF,MAAM,EAAE,cAAc,gBAAgB,mBAAmB,eAAe;AAMxE,MAAa,eAAe,aAAa,IAAI,KAAK,QAAQ,EAAE,eAAe,MAAM,CAAC;AAIlF,MAAM,0BAA0B,YAC7B,EAAE,YAAY,gBAAgB,aAAa,QAAQ,GAAG,SAAS,QAC9D,oBAAC;CAAmB;CAAuB;CAAY,GAAI;CAAY;EAAO,CAEjF;AAED,MAAa,kBAAkB,YAAY,yBAAyB,QAAQ;AAE5E,MAAa,kBAAkB,YAAY,IAAI,KAAK,WAAW,EAAE,eAAe,MAAM,CAAC;AAEvF,MAAM,wBAAwB,YAAY,OAAO,QAAQ;AAEzD,MAAa,gBAAgB,YAA0C,EAAE,UAAU,WAAW,GAAG,SAAS,QACxG,oBAAC;CAA+B;CAAS,GAAI;CAAY;EAAO,CAChE"}
|
package/es/Menu.mjs
CHANGED
|
@@ -6,6 +6,13 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
import { forwardRef } from "react";
|
|
7
7
|
|
|
8
8
|
//#region src/Menu.tsx
|
|
9
|
+
/**
|
|
10
|
+
* Copyright (c) 2024-present, NDLA.
|
|
11
|
+
*
|
|
12
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
9
16
|
const itemStyle = css.raw({
|
|
10
17
|
display: "flex",
|
|
11
18
|
alignItems: "center",
|
|
@@ -47,14 +54,14 @@ const itemCva = cva({
|
|
|
47
54
|
_hover: {
|
|
48
55
|
color: "text.default",
|
|
49
56
|
"& svg": { color: "icon.default" },
|
|
50
|
-
background: "surface.
|
|
57
|
+
background: "surface.dangerSubtle.hover"
|
|
51
58
|
},
|
|
52
59
|
_highlighted: {
|
|
53
60
|
color: "text.default",
|
|
54
61
|
"& svg": { color: "icon.default" },
|
|
55
|
-
background: "surface.
|
|
62
|
+
background: "surface.dangerSubtle.hover"
|
|
56
63
|
},
|
|
57
|
-
_active: { background: "surface.
|
|
64
|
+
_active: { background: "surface.dangerSubtle.active" }
|
|
58
65
|
}
|
|
59
66
|
} }
|
|
60
67
|
});
|
package/es/Menu.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.mjs","names":[],"sources":["../src/Menu.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport
|
|
1
|
+
{"version":3,"file":"Menu.mjs","names":[],"sources":["../src/Menu.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { Menu, menuAnatomy } from \"@ark-ui/react\";\nimport { css, cva, sva } from \"@ndla/styled-system/css\";\nimport { createStyleContext } from \"@ndla/styled-system/jsx\";\nimport type { RecipeVariantProps, StyledProps, SystemStyleObject } from \"@ndla/styled-system/types\";\nimport { forwardRef, type RefAttributes } from \"react\";\nimport { Text, type TextProps } from \"./Text\";\n\nconst itemStyle: SystemStyleObject = css.raw({\n display: \"flex\",\n alignItems: \"center\",\n borderRadius: \"xsmall\",\n cursor: \"pointer\",\n textStyle: \"label.medium\",\n paddingBlock: \"4xsmall\",\n paddingInline: \"xsmall\",\n gap: \"xsmall\",\n transitionDuration: \"fast\",\n transitionProperty: \"background, color\",\n transitionTimingFunction: \"default\",\n outline: \"none\",\n _hover: {\n textDecoration: \"underline\",\n },\n _highlighted: {\n textDecoration: \"underline\",\n },\n _disabled: {\n color: \"text.disabled\",\n cursor: \"not-allowed\",\n \"& svg\": {\n color: \"stroke.disabled\",\n },\n _hover: {\n color: \"text.disabled\",\n textDecoration: \"none\",\n background: \"surface.default\",\n \"& svg\": {\n color: \"stroke.disabled\",\n },\n },\n },\n});\n\nconst itemCva = cva({\n defaultVariants: {\n variant: \"action\",\n },\n variants: {\n variant: {\n action: {\n _hover: {\n background: \"surface.hover\",\n },\n _highlighted: {\n background: \"surface.hover\",\n },\n _active: {\n background: \"surface.active\",\n },\n },\n destructive: {\n color: \"text.error\",\n \"& svg\": {\n color: \"icon.error\",\n },\n _hover: {\n color: \"text.default\",\n \"& svg\": {\n color: \"icon.default\",\n },\n background: \"surface.dangerSubtle.hover\",\n },\n _highlighted: {\n color: \"text.default\",\n \"& svg\": {\n color: \"icon.default\",\n },\n background: \"surface.dangerSubtle.hover\",\n },\n _active: {\n background: \"surface.dangerSubtle.active\",\n },\n },\n },\n },\n});\n\nconst menuRecipe = sva({\n slots: menuAnatomy.keys(),\n base: {\n item: itemStyle,\n triggerItem: itemStyle,\n content: {\n color: \"text.default\",\n display: \"flex\",\n flexDirection: \"column\",\n width: \"fit-content\",\n minWidth: \"surface.xxsmall\",\n padding: \"3xsmall\",\n gap: \"3xsmall\",\n background: \"surface.default\",\n boxShadow: \"small\",\n borderRadius: \"xsmall\",\n outline: \"none\",\n zIndex: \"dropdown\",\n _open: {\n animation: \"fade-shift-in 0.25s ease-out\",\n _motionReduce: {\n animation: \"none\",\n },\n },\n _closed: {\n animation: \"fade-shift-out 0.25s ease-out\",\n _motionReduce: {\n animation: \"none\",\n },\n },\n },\n itemGroup: {\n display: \"flex\",\n flexDirection: \"column\",\n gap: \"3xsmall\",\n },\n positioner: {\n zIndex: \"dropdown\",\n },\n },\n});\n\nconst { withRootProvider, withContext } = createStyleContext(menuRecipe);\n\nexport type MenuRootProps = Menu.RootProps;\n\nconst InternalMenuRoot = withRootProvider(Menu.Root);\n\nexport const MenuRoot = ({ lazyMount = true, unmountOnExit = true, ...props }: MenuRootProps) => (\n <InternalMenuRoot lazyMount={lazyMount} unmountOnExit={unmountOnExit} {...props} />\n);\n\nexport const MenuContentStandalone = withContext(Menu.Content, \"content\", { baseComponent: true });\n\ninterface MenuContentProps extends Menu.ContentProps, StyledProps {}\n\nexport const MenuContent = forwardRef<HTMLDivElement, MenuContentProps>((props, ref) => (\n <MenuPositioner>\n <MenuContentStandalone ref={ref} {...props} />\n </MenuPositioner>\n));\n\nconst InternalMenuItemGroupLabel = withContext(Menu.ItemGroupLabel, \"itemGroupLabel\");\n\ninterface MenuItemGroupLabelProps\n extends Omit<Menu.ItemGroupLabelProps, \"color\">, StyledProps, TextProps, RefAttributes<HTMLDivElement> {}\n\nexport const MenuItemGroupLabel = ({\n textStyle = \"label.medium\",\n fontWeight = \"bold\",\n children,\n ...props\n}: MenuItemGroupLabelProps) => (\n <InternalMenuItemGroupLabel {...props} asChild>\n <Text textStyle={textStyle} fontWeight={fontWeight}>\n {children}\n </Text>\n </InternalMenuItemGroupLabel>\n);\n\nexport const MenuItemGroup = withContext(Menu.ItemGroup, \"itemGroup\", { baseComponent: true });\n\nconst InternalMenuItem = withContext(Menu.Item, \"item\", { baseComponent: true });\n\nexport type MenuItemVariantProps = NonNullable<RecipeVariantProps<typeof itemCva>>;\nexport interface MenuItemProps\n extends Menu.ItemProps, StyledProps, MenuItemVariantProps, RefAttributes<HTMLDivElement> {}\n\nexport const MenuItem = forwardRef<HTMLDivElement, MenuItemProps>(({ css: cssProp = {}, variant, ...props }, ref) => (\n <InternalMenuItem\n css={[itemCva.raw({ variant }), ...(Array.isArray(cssProp) ? cssProp : [cssProp])]}\n {...props}\n ref={ref}\n />\n));\n\nexport const MenuPositioner = withContext(Menu.Positioner, \"positioner\", { baseComponent: true });\n\nconst InternalMenuTriggerItem = withContext(Menu.TriggerItem, \"triggerItem\", { baseComponent: true });\n\ninterface MenuTriggerItemProps\n extends Menu.TriggerItemProps, StyledProps, MenuItemVariantProps, RefAttributes<HTMLButtonElement> {}\n\nexport const MenuTriggerItem = forwardRef<HTMLDivElement, MenuTriggerItemProps>(\n ({ css: cssProp = {}, variant, ...props }, ref) => (\n <InternalMenuTriggerItem\n css={[itemCva.raw({ variant }), ...(Array.isArray(cssProp) ? cssProp : [cssProp])]}\n {...props}\n ref={ref}\n />\n ),\n);\n\nexport const MenuTrigger = withContext(Menu.Trigger, \"trigger\", { baseComponent: true });\n\nexport const MenuSeparator = withContext(Menu.Separator, \"separator\", { baseComponent: true });\n\nexport const MenuItemText = withContext(Menu.ItemText, \"itemText\", { baseComponent: true });\n"],"mappings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AQ,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAE;CAClF,GAAI;CACC;EACL,CAEL;AAED,MAAa,cAAc,YAAY,KAAK,SAAS,WAAW,EAAE,eAAe,MAAM,CAAC;AAExF,MAAa,gBAAgB,YAAY,KAAK,WAAW,aAAa,EAAE,eAAe,MAAM,CAAC;AAE9F,MAAa,eAAe,YAAY,KAAK,UAAU,YAAY,EAAE,eAAe,MAAM,CAAC"}
|
package/es/MessageBox.mjs
CHANGED
|
@@ -5,6 +5,13 @@ import { jsx } from "react/jsx-runtime";
|
|
|
5
5
|
import { forwardRef } from "react";
|
|
6
6
|
|
|
7
7
|
//#region src/MessageBox.tsx
|
|
8
|
+
/**
|
|
9
|
+
* Copyright (c) 2024-present, NDLA.
|
|
10
|
+
*
|
|
11
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
12
|
+
* LICENSE file in the root directory of this source tree.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
8
15
|
const messageBoxRecipe = cva({
|
|
9
16
|
base: {
|
|
10
17
|
display: "flex",
|
package/es/MessageBox.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageBox.mjs","names":[],"sources":["../src/MessageBox.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport type
|
|
1
|
+
{"version":3,"file":"MessageBox.mjs","names":[],"sources":["../src/MessageBox.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { type HTMLArkProps, ark } from \"@ark-ui/react\";\nimport { css, cva } from \"@ndla/styled-system/css\";\nimport { styled } from \"@ndla/styled-system/jsx\";\nimport type { StyledProps, RecipeVariantProps } from \"@ndla/styled-system/types\";\nimport { forwardRef } from \"react\";\n\nconst messageBoxRecipe = cva({\n base: {\n display: \"flex\",\n alignItems: \"flex-start\",\n gap: \"small\",\n padding: \"medium\",\n border: \"1px solid\",\n borderRadius: \"xsmall\",\n },\n defaultVariants: {\n variant: \"info\",\n },\n variants: {\n variant: {\n info: {\n background: \"surface.infoSubtle\",\n borderColor: \"stroke.subtle\",\n },\n warning: {\n background: \"surface.warningSubtle\",\n borderColor: \"stroke.warning\",\n },\n success: {\n background: \"surface.successSubtle\",\n borderColor: \"stroke.success\",\n },\n error: {\n background: \"surface.errorSubtle\",\n borderColor: \"stroke.error\",\n },\n },\n },\n});\n\nexport type MessageBoxVariantProps = NonNullable<RecipeVariantProps<typeof messageBoxRecipe>>;\n\nexport interface MessageBoxProps extends HTMLArkProps<\"div\">, StyledProps, MessageBoxVariantProps {}\n\nconst StyledMessageBox = styled(ark.div, {}, { baseComponent: true });\n\nexport const MessageBox = forwardRef<HTMLDivElement, MessageBoxProps>(({ variant, css: cssProp, ...props }, ref) => (\n <StyledMessageBox css={css.raw(messageBoxRecipe.raw({ variant }), cssProp)} {...props} ref={ref} />\n));\n"],"mappings":";;;;;;;;;;;;;;AAcA,MAAM,mBAAmB,IAAI;CAC3B,MAAM;EACJ,SAAS;EACT,YAAY;EACZ,KAAK;EACL,SAAS;EACT,QAAQ;EACR,cAAc;EACf;CACD,iBAAiB,EACf,SAAS,QACV;CACD,UAAU,EACR,SAAS;EACP,MAAM;GACJ,YAAY;GACZ,aAAa;GACd;EACD,SAAS;GACP,YAAY;GACZ,aAAa;GACd;EACD,SAAS;GACP,YAAY;GACZ,aAAa;GACd;EACD,OAAO;GACL,YAAY;GACZ,aAAa;GACd;EACF,EACF;CACF,CAAC;AAMF,MAAM,mBAAmB,OAAO,IAAI,KAAK,EAAE,EAAE,EAAE,eAAe,MAAM,CAAC;AAErE,MAAa,aAAa,YAA6C,EAAE,SAAS,KAAK,SAAS,GAAG,SAAS,QAC1G,oBAAC;CAAiB,KAAK,IAAI,IAAI,iBAAiB,IAAI,EAAE,SAAS,CAAC,EAAE,QAAQ;CAAE,GAAI;CAAY;EAAO,CACnG"}
|
package/es/NdlaLogo.mjs
CHANGED
|
@@ -4,6 +4,13 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
import "react";
|
|
5
5
|
|
|
6
6
|
//#region src/NdlaLogo.tsx
|
|
7
|
+
/**
|
|
8
|
+
* Copyright (c) 2024-present, NDLA.
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
7
14
|
const BaseSvg = ({ color = "primary", "aria-hidden": ariaHidden = true, css: cssProp, ...props }) => /* @__PURE__ */ jsx(styled.svg, {
|
|
8
15
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
16
|
"aria-hidden": ariaHidden,
|
package/es/NdlaLogo.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NdlaLogo.mjs","names":[],"sources":["../src/NdlaLogo.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport type { ColorToken } from \"@ndla/styled-system/tokens\";\nimport type { StyledProps } from \"@ndla/styled-system/types\";\nimport { css } from \"@ndla/styled-system/css\";\nimport { styled } from \"@ndla/styled-system/jsx\";\nimport { type ComponentPropsWithoutRef } from \"react\";\n\nexport interface LogoProps extends Omit<ComponentPropsWithoutRef<\"svg\">, \"color\">, StyledProps {\n color?: ColorToken;\n}\n\nconst BaseSvg = ({ color = \"primary\", \"aria-hidden\": ariaHidden = true, css: cssProp, ...props }: LogoProps) => (\n <styled.svg\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden={ariaHidden}\n css={css.raw({ color }, cssProp)}\n {...props}\n />\n);\n\nexport const NdlaLogoEn = (props: LogoProps) => (\n <BaseSvg width={163} height={383} viewBox=\"0 0 260.46 612.26\" {...props}>\n <g fill=\"currentColor\">\n <g>\n <rect width=\"52\" height=\"280\" />\n <polygon points=\"97.15 39.5 52 66 191 279.77 191.12 280 260 280 260 0 207.73 0 207.73 209.54 97.15 39.5\" />\n </g>\n <g>\n <path d=\"M5.26,363.02H1.21v-30.08h4.05l16.4,24.96h-1.12v-24.96h4.05v30.08h-4.05l-16.4-24.96h1.12v24.96Z\" />\n <path d=\"M29.35,352.83c0-2.08.45-3.92,1.36-5.53.91-1.61,2.16-2.87,3.74-3.79,1.58-.92,3.39-1.37,5.43-1.37s3.84.46,5.41,1.37c1.57.92,2.81,2.18,3.72,3.79.91,1.61,1.36,3.45,1.36,5.53s-.45,3.92-1.36,5.53c-.91,1.61-2.15,2.87-3.72,3.79-1.57.92-3.37,1.37-5.41,1.37s-3.85-.46-5.43-1.37c-1.58-.92-2.83-2.18-3.74-3.79-.91-1.61-1.36-3.45-1.36-5.53ZM33.27,352.83c0,1.42.28,2.66.85,3.74.56,1.08,1.34,1.93,2.33,2.54s2.13.92,3.43.92,2.44-.3,3.43-.92,1.77-1.46,2.33-2.54c.56-1.08.85-2.33.85-3.74s-.28-2.7-.85-3.76c-.56-1.07-1.34-1.91-2.33-2.52-.99-.61-2.13-.92-3.43-.92s-2.44.31-3.43.92c-.99.61-1.77,1.45-2.33,2.52-.56,1.07-.85,2.32-.85,3.76Z\" />\n <path d=\"M66.03,342.51v3.58h-1.74c-1.85,0-3.3.54-4.36,1.6-1.06,1.07-1.59,2.59-1.59,4.56v10.77h-3.88v-20.3h3.64l.33,4.08h-.37c.28-1.33.94-2.42,1.98-3.27,1.05-.85,2.35-1.27,3.92-1.27.36,0,.7.02,1.01.06.32.04.67.1,1.05.19Z\" />\n <path d=\"M74.42,363.02l-6.61-20.34h4.01l3.35,10.57c.25.75.47,1.52.66,2.31.19.79.39,1.63.58,2.52.11-.61.24-1.2.39-1.77.15-.57.31-1.11.48-1.62.17-.51.32-.99.45-1.44l3.39-10.57h3.97l3.35,10.57c.11.25.21.58.31.98.1.4.21.83.35,1.27.14.44.26.89.37,1.33.11.44.21.86.29,1.25.11-.55.23-1.09.35-1.6.12-.51.26-1.03.41-1.54.15-.51.32-1.08.52-1.69l3.39-10.57h4.05l-6.9,20.34h-3.68l-3.51-10.9c-.33-1.03-.6-1.93-.81-2.72s-.37-1.46-.48-2.02c-.11.5-.27,1.12-.48,1.85-.21.73-.49,1.71-.85,2.93l-3.51,10.86h-3.84Z\" />\n <path d=\"M109.42,363.52c-1.96,0-3.69-.45-5.21-1.35-1.52-.9-2.7-2.15-3.55-3.74-.85-1.59-1.28-3.45-1.28-5.55s.42-4.01,1.26-5.62c.84-1.61,2-2.87,3.47-3.79,1.47-.92,3.19-1.37,5.14-1.37s3.6.42,5.02,1.25c1.42.83,2.52,2,3.31,3.49.79,1.5,1.18,3.26,1.18,5.28v1.46l-17.31.04.08-2.62h13.35c0-1.69-.51-3.05-1.53-4.08-1.02-1.03-2.38-1.54-4.09-1.54-1.29,0-2.4.29-3.33.85-.92.57-1.63,1.4-2.11,2.5-.48,1.1-.72,2.41-.72,3.93,0,2.44.55,4.32,1.65,5.64,1.1,1.32,2.69,1.98,4.75,1.98,1.51,0,2.75-.31,3.72-.92.96-.61,1.61-1.5,1.94-2.66h3.64c-.5,2.16-1.56,3.84-3.18,5.03-1.63,1.19-3.69,1.79-6.2,1.79Z\" />\n <path d=\"M121.6,352.33c0-1.91.39-3.64,1.16-5.18.77-1.54,1.87-2.77,3.31-3.68,1.43-.92,3.13-1.37,5.08-1.37,1.82,0,3.37.44,4.67,1.31,1.29.87,2.22,2.09,2.77,3.64l-.5.54.41-4.91h3.47v19.51c0,2.14-.41,3.99-1.24,5.55-.83,1.57-2,2.78-3.51,3.64-1.52.86-3.31,1.29-5.37,1.29-2.75,0-5.01-.74-6.78-2.21s-2.84-3.49-3.22-6.07h3.88c.25,1.5.91,2.66,1.98,3.49s2.45,1.25,4.13,1.25c1.9,0,3.42-.58,4.57-1.73,1.14-1.15,1.71-2.7,1.71-4.64v-5.74l.5.54c-.52,1.53-1.47,2.72-2.85,3.6-1.38.87-2.98,1.31-4.79,1.31-1.93,0-3.59-.45-5-1.35s-2.49-2.11-3.24-3.64c-.76-1.52-1.14-3.24-1.14-5.16ZM125.49,352.25c0,1.28.25,2.43.76,3.45.51,1.03,1.23,1.84,2.15,2.45.92.61,2,.92,3.24.92,1.32,0,2.45-.29,3.39-.87.94-.58,1.66-1.39,2.17-2.41.51-1.03.76-2.21.76-3.54s-.25-2.5-.74-3.49c-.5-1-1.21-1.79-2.15-2.37-.94-.58-2.07-.87-3.39-.87s-2.4.31-3.33.92c-.92.61-1.63,1.42-2.13,2.43-.5,1.01-.74,2.14-.74,3.39Z\" />\n <path d=\"M149.28,337.85c-.69,0-1.29-.26-1.8-.77-.51-.51-.76-1.12-.76-1.81s.25-1.33.76-1.83c.51-.5,1.11-.75,1.8-.75s1.32.25,1.82.75c.5.5.74,1.11.74,1.83s-.25,1.3-.74,1.81c-.5.51-1.1.77-1.82.77ZM147.38,363.02v-20.34h3.88v20.34h-3.88Z\" />\n <path d=\"M162.59,363.52c-2.15,0-3.84-.57-5.06-1.71s-1.84-2.62-1.84-4.45.66-3.35,1.98-4.47c1.32-1.12,3.17-1.78,5.54-1.98l6.36-.5v-.58c0-1.14-.21-2.04-.62-2.72-.41-.68-.98-1.17-1.69-1.46-.72-.29-1.53-.44-2.44-.44-1.63,0-2.89.34-3.78,1.02-.9.68-1.34,1.64-1.34,2.89h-3.39c0-1.41.36-2.65,1.07-3.7.72-1.05,1.73-1.87,3.04-2.45,1.31-.58,2.83-.87,4.57-.87s3.15.3,4.4.89c1.25.6,2.23,1.5,2.93,2.7.7,1.21,1.05,2.72,1.05,4.55v12.77h-3.31l-.41-3.29c-.52,1.16-1.43,2.09-2.71,2.77-1.28.68-2.73,1.02-4.36,1.02ZM163.7,360.48c1.85,0,3.29-.56,4.34-1.68,1.05-1.12,1.57-2.64,1.57-4.55v-1.08l-5.16.42c-1.71.17-2.94.57-3.7,1.21-.76.64-1.14,1.46-1.14,2.45,0,1.08.36,1.89,1.1,2.43.73.54,1.73.81,3,.81Z\" />\n <path d=\"M182.42,363.02h-3.88v-20.34h3.51l.41,3.12c.63-1.16,1.55-2.07,2.75-2.72,1.2-.65,2.51-.98,3.95-.98,2.64,0,4.6.76,5.87,2.29,1.27,1.53,1.9,3.59,1.9,6.2v12.44h-3.88v-11.56c0-2.05-.44-3.53-1.32-4.43-.88-.9-2.07-1.35-3.55-1.35-1.82,0-3.23.6-4.23,1.79-1.01,1.19-1.51,2.79-1.51,4.78v10.77Z\" />\n </g>\n <g>\n <path d=\"M10.62,466.02c-1.95,0-3.63-.45-5.03-1.35-1.4-.9-2.48-2.16-3.24-3.76-.76-1.61-1.13-3.44-1.13-5.49s.38-3.93,1.15-5.55c.77-1.62,1.87-2.91,3.3-3.85,1.43-.94,3.13-1.41,5.11-1.41,1.57,0,2.96.33,4.18.98,1.22.65,2.18,1.62,2.87,2.89v-13.56h3.83v30.62h-3.46l-.33-3.7c-.66,1.36-1.63,2.4-2.91,3.12-1.28.72-2.73,1.08-4.35,1.08ZM11.4,462.48c1.32,0,2.45-.3,3.4-.92.95-.61,1.68-1.46,2.21-2.54.52-1.08.78-2.33.78-3.74s-.26-2.66-.78-3.72c-.52-1.07-1.26-1.91-2.21-2.52-.95-.61-2.08-.92-3.4-.92s-2.45.31-3.38.94c-.93.62-1.65,1.47-2.14,2.54s-.74,2.29-.74,3.68.25,2.66.74,3.74c.49,1.08,1.21,1.93,2.14,2.54.93.61,2.06.92,3.38.92Z\" />\n <path d=\"M28.96,440.35c-.69,0-1.29-.26-1.79-.77-.51-.51-.76-1.12-.76-1.81s.25-1.33.76-1.83c.51-.5,1.11-.75,1.79-.75s1.32.25,1.81.75c.49.5.74,1.11.74,1.83s-.25,1.3-.74,1.81c-.49.51-1.1.77-1.81.77ZM27.07,465.52v-20.34h3.88v20.34h-3.88Z\" />\n <path d=\"M35.06,454.83c0-1.91.38-3.64,1.15-5.18.77-1.54,1.87-2.77,3.3-3.68,1.43-.92,3.12-1.37,5.07-1.37,1.81,0,3.37.44,4.66,1.31,1.29.87,2.21,2.09,2.76,3.64l-.49.54.41-4.91h3.46v19.51c0,2.14-.41,3.99-1.24,5.55-.82,1.57-1.99,2.78-3.5,3.64-1.51.86-3.3,1.29-5.36,1.29-2.75,0-5-.74-6.76-2.21-1.76-1.47-2.83-3.49-3.22-6.07h3.87c.25,1.5.91,2.66,1.98,3.49s2.45,1.25,4.12,1.25c1.9,0,3.41-.58,4.55-1.73,1.14-1.15,1.71-2.7,1.71-4.64v-5.74l.49.54c-.52,1.53-1.47,2.72-2.84,3.6-1.37.87-2.97,1.31-4.78,1.31-1.92,0-3.59-.45-4.99-1.35s-2.48-2.11-3.24-3.64c-.76-1.52-1.13-3.24-1.13-5.16ZM38.94,454.75c0,1.28.25,2.43.76,3.45.51,1.03,1.22,1.84,2.14,2.45.92.61,2,.92,3.24.92,1.32,0,2.45-.29,3.38-.87.93-.58,1.66-1.39,2.16-2.41.51-1.03.76-2.21.76-3.54s-.25-2.5-.74-3.49c-.5-1-1.21-1.79-2.14-2.37-.93-.58-2.06-.87-3.38-.87s-2.4.31-3.32.92c-.92.61-1.63,1.42-2.12,2.43-.49,1.01-.74,2.14-.74,3.39Z\" />\n <path d=\"M62.68,440.35c-.69,0-1.29-.26-1.79-.77-.51-.51-.76-1.12-.76-1.81s.25-1.33.76-1.83c.51-.5,1.11-.75,1.79-.75s1.32.25,1.81.75c.49.5.74,1.11.74,1.83s-.25,1.3-.74,1.81c-.49.51-1.1.77-1.81.77ZM60.78,465.52v-20.34h3.88v20.34h-3.88Z\" />\n <path d=\"M67.92,445.18h11.71v3.29h-11.71v-3.29ZM79.46,462.11l.49,3.25c-1.04.42-2.16.62-3.34.62s-2.18-.23-3.01-.69c-.82-.46-1.46-1.14-1.9-2.06-.44-.92-.66-2.05-.66-3.41v-21.01h3.88v20.47c0,1.17.24,1.99.72,2.48.48.49,1.11.73,1.88.73.6,0,1.25-.12,1.94-.37Z\" />\n <path d=\"M89.39,466.02c-2.14,0-3.83-.57-5.05-1.71-1.22-1.14-1.83-2.62-1.83-4.45s.66-3.35,1.98-4.47c1.32-1.12,3.16-1.78,5.52-1.98l6.35-.5v-.58c0-1.14-.21-2.04-.62-2.72-.41-.68-.98-1.17-1.69-1.46-.71-.29-1.52-.44-2.43-.44-1.62,0-2.88.34-3.77,1.02-.89.68-1.34,1.64-1.34,2.89h-3.38c0-1.41.36-2.65,1.07-3.7.71-1.05,1.72-1.87,3.03-2.45,1.31-.58,2.82-.87,4.55-.87s3.14.3,4.39.89c1.25.6,2.23,1.5,2.93,2.7.7,1.21,1.05,2.72,1.05,4.55v12.77h-3.3l-.41-3.29c-.52,1.16-1.42,2.09-2.7,2.77-1.28.68-2.73,1.02-4.35,1.02ZM90.5,462.98c1.84,0,3.28-.56,4.33-1.68s1.57-2.64,1.57-4.55v-1.08l-5.15.42c-1.7.17-2.93.57-3.69,1.21-.76.64-1.13,1.46-1.13,2.45,0,1.08.36,1.89,1.09,2.43.73.54,1.72.81,2.99.81Z\" />\n <path d=\"M109.26,465.52h-3.88v-30.62h3.88v30.62Z\" />\n </g>\n <g>\n <path d=\"M5.5,563.52H1.62v-30.62h3.88v30.62Z\" />\n <path d=\"M19.68,564.02c-1.95,0-3.68-.45-5.19-1.35-1.51-.9-2.69-2.15-3.54-3.74-.85-1.59-1.28-3.45-1.28-5.55s.42-4.01,1.26-5.62c.84-1.61,1.99-2.87,3.46-3.79,1.47-.92,3.18-1.37,5.13-1.37s3.59.42,5.01,1.25c1.42.83,2.51,2,3.3,3.49.78,1.5,1.17,3.26,1.17,5.28v1.46l-17.27.04.08-2.62h13.31c0-1.69-.51-3.05-1.53-4.08-1.02-1.03-2.38-1.54-4.08-1.54-1.29,0-2.4.29-3.32.85-.92.57-1.62,1.4-2.1,2.5-.48,1.1-.72,2.41-.72,3.93,0,2.44.55,4.32,1.65,5.64,1.1,1.32,2.68,1.98,4.74,1.98,1.51,0,2.75-.31,3.71-.92.96-.61,1.61-1.5,1.94-2.66h3.63c-.49,2.16-1.55,3.84-3.17,5.03-1.62,1.19-3.68,1.79-6.18,1.79Z\" />\n <path d=\"M38.8,564.02c-2.14,0-3.83-.57-5.05-1.71-1.22-1.14-1.83-2.62-1.83-4.45s.66-3.35,1.98-4.47c1.32-1.12,3.16-1.78,5.52-1.98l6.35-.5v-.58c0-1.14-.21-2.04-.62-2.72-.41-.68-.98-1.17-1.69-1.46-.71-.29-1.52-.44-2.43-.44-1.62,0-2.88.34-3.77,1.02-.89.68-1.34,1.64-1.34,2.89h-3.38c0-1.41.36-2.65,1.07-3.7.71-1.05,1.72-1.87,3.03-2.45,1.31-.58,2.82-.87,4.55-.87s3.14.3,4.39.89c1.25.6,2.23,1.5,2.93,2.7.7,1.21,1.05,2.72,1.05,4.55v12.77h-3.3l-.41-3.29c-.52,1.16-1.42,2.09-2.7,2.77-1.28.68-2.73,1.02-4.35,1.02ZM39.92,560.98c1.84,0,3.28-.56,4.33-1.68s1.57-2.64,1.57-4.55v-1.08l-5.15.42c-1.7.17-2.93.57-3.69,1.21-.76.64-1.13,1.46-1.13,2.45,0,1.08.36,1.89,1.09,2.43.73.54,1.72.81,2.99.81Z\" />\n <path d=\"M66.26,543.01v3.58h-1.73c-1.84,0-3.29.54-4.35,1.6-1.06,1.07-1.59,2.59-1.59,4.56v10.77h-3.88v-20.3h3.63l.33,4.08h-.37c.27-1.33.93-2.42,1.98-3.27,1.04-.85,2.35-1.27,3.92-1.27.36,0,.69.02,1.01.06.32.04.67.1,1.05.19Z\" />\n <path d=\"M73.55,563.52h-3.88v-20.34h3.5l.41,3.12c.63-1.16,1.55-2.07,2.74-2.72,1.2-.65,2.51-.98,3.94-.98,2.64,0,4.59.76,5.85,2.29,1.26,1.53,1.9,3.59,1.9,6.2v12.44h-3.87v-11.56c0-2.05-.44-3.53-1.32-4.43-.88-.9-2.06-1.35-3.54-1.35-1.81,0-3.22.6-4.23,1.79-1,1.19-1.5,2.79-1.5,4.78v10.77Z\" />\n <path d=\"M95.07,538.35c-.69,0-1.29-.26-1.79-.77-.51-.51-.76-1.12-.76-1.81s.25-1.33.76-1.83c.51-.5,1.11-.75,1.79-.75s1.32.25,1.81.75c.49.5.74,1.11.74,1.83s-.25,1.3-.74,1.81c-.49.51-1.1.77-1.81.77ZM93.17,563.52v-20.34h3.88v20.34h-3.88Z\" />\n <path d=\"M106.32,563.52h-3.88v-20.34h3.5l.41,3.12c.63-1.16,1.55-2.07,2.74-2.72,1.2-.65,2.51-.98,3.94-.98,2.64,0,4.59.76,5.85,2.29,1.26,1.53,1.9,3.59,1.9,6.2v12.44h-3.87v-11.56c0-2.05-.44-3.53-1.32-4.43-.88-.9-2.06-1.35-3.54-1.35-1.81,0-3.22.6-4.23,1.79-1,1.19-1.5,2.79-1.5,4.78v10.77Z\" />\n <path d=\"M124.66,552.83c0-1.91.38-3.64,1.15-5.18.77-1.54,1.87-2.77,3.3-3.68,1.43-.92,3.12-1.37,5.07-1.37,1.81,0,3.37.44,4.66,1.31,1.29.87,2.21,2.09,2.76,3.64l-.49.54.41-4.91h3.46v19.51c0,2.14-.41,3.99-1.24,5.55-.82,1.57-1.99,2.78-3.5,3.64-1.51.86-3.3,1.29-5.36,1.29-2.75,0-5-.74-6.76-2.21-1.76-1.47-2.83-3.49-3.22-6.07h3.87c.25,1.5.91,2.66,1.98,3.49s2.45,1.25,4.12,1.25c1.9,0,3.41-.58,4.55-1.73,1.14-1.15,1.71-2.7,1.71-4.64v-5.74l.49.54c-.52,1.53-1.47,2.72-2.84,3.6-1.37.87-2.97,1.31-4.78,1.31-1.92,0-3.59-.45-4.99-1.35s-2.48-2.11-3.24-3.64c-.76-1.52-1.13-3.24-1.13-5.16ZM128.54,552.75c0,1.28.25,2.43.76,3.45.51,1.03,1.22,1.84,2.14,2.45.92.61,2,.92,3.24.92,1.32,0,2.45-.29,3.38-.87.93-.58,1.66-1.39,2.16-2.41.51-1.03.76-2.21.76-3.54s-.25-2.5-.74-3.49c-.5-1-1.21-1.79-2.14-2.37-.93-.58-2.06-.87-3.38-.87s-2.4.31-3.32.92c-.92.61-1.63,1.42-2.12,2.43-.49,1.01-.74,2.14-.74,3.39Z\" />\n <path d=\"M167.33,564.02c-2.14,0-3.83-.57-5.05-1.71-1.22-1.14-1.83-2.62-1.83-4.45s.66-3.35,1.98-4.47c1.32-1.12,3.16-1.78,5.52-1.98l6.35-.5v-.58c0-1.14-.21-2.04-.62-2.72-.41-.68-.98-1.17-1.69-1.46-.71-.29-1.52-.44-2.43-.44-1.62,0-2.88.34-3.77,1.02-.89.68-1.34,1.64-1.34,2.89h-3.38c0-1.41.36-2.65,1.07-3.7.71-1.05,1.72-1.87,3.03-2.45,1.31-.58,2.82-.87,4.55-.87s3.14.3,4.39.89c1.25.6,2.23,1.5,2.93,2.7.7,1.21,1.05,2.72,1.05,4.55v12.77h-3.3l-.41-3.29c-.52,1.16-1.42,2.09-2.7,2.77-1.28.68-2.73,1.02-4.35,1.02ZM168.44,560.98c1.84,0,3.28-.56,4.33-1.68s1.57-2.64,1.57-4.55v-1.08l-5.15.42c-1.7.17-2.93.57-3.69,1.21-.76.64-1.13,1.46-1.13,2.45,0,1.08.36,1.89,1.09,2.43.73.54,1.72.81,2.99.81Z\" />\n <path d=\"M194.78,543.01v3.58h-1.73c-1.84,0-3.29.54-4.35,1.6-1.06,1.07-1.59,2.59-1.59,4.56v10.77h-3.88v-20.3h3.63l.33,4.08h-.37c.27-1.33.93-2.42,1.98-3.27,1.04-.85,2.35-1.27,3.92-1.27.36,0,.69.02,1.01.06.32.04.67.1,1.05.19Z\" />\n <path d=\"M206.16,564.02c-1.95,0-3.68-.45-5.19-1.35-1.51-.9-2.69-2.15-3.54-3.74-.85-1.59-1.28-3.45-1.28-5.55s.42-4.01,1.26-5.62c.84-1.61,1.99-2.87,3.46-3.79,1.47-.92,3.18-1.37,5.13-1.37s3.59.42,5.01,1.25c1.42.83,2.51,2,3.3,3.49.78,1.5,1.17,3.26,1.17,5.28v1.46l-17.27.04.08-2.62h13.31c0-1.69-.51-3.05-1.53-4.08-1.02-1.03-2.38-1.54-4.08-1.54-1.29,0-2.4.29-3.32.85-.92.57-1.62,1.4-2.1,2.5-.48,1.1-.72,2.41-.72,3.93,0,2.44.55,4.32,1.65,5.64,1.1,1.32,2.68,1.98,4.74,1.98,1.51,0,2.75-.31,3.71-.92.96-.61,1.61-1.5,1.94-2.66h3.63c-.49,2.16-1.55,3.84-3.17,5.03-1.62,1.19-3.68,1.79-6.18,1.79Z\" />\n <path d=\"M223.47,563.52h-3.88v-20.34h3.5l.41,3.12c.63-1.16,1.55-2.07,2.74-2.72,1.2-.65,2.51-.98,3.94-.98,2.64,0,4.59.76,5.85,2.29,1.26,1.53,1.9,3.59,1.9,6.2v12.44h-3.87v-11.56c0-2.05-.44-3.53-1.32-4.43-.88-.9-2.06-1.35-3.54-1.35-1.81,0-3.22.6-4.23,1.79-1,1.19-1.5,2.79-1.5,4.78v10.77Z\" />\n <path d=\"M248.98,564.02c-2.14,0-3.83-.57-5.05-1.71-1.22-1.14-1.83-2.62-1.83-4.45s.66-3.35,1.98-4.47c1.32-1.12,3.16-1.78,5.52-1.98l6.35-.5v-.58c0-1.14-.21-2.04-.62-2.72-.41-.68-.98-1.17-1.69-1.46-.71-.29-1.52-.44-2.43-.44-1.62,0-2.88.34-3.77,1.02-.89.68-1.34,1.64-1.34,2.89h-3.38c0-1.41.36-2.65,1.07-3.7.71-1.05,1.72-1.87,3.03-2.45,1.31-.58,2.82-.87,4.55-.87s3.14.3,4.39.89c1.25.6,2.23,1.5,2.93,2.7.7,1.21,1.05,2.72,1.05,4.55v12.77h-3.3l-.41-3.29c-.52,1.16-1.42,2.09-2.7,2.77-1.28.68-2.73,1.02-4.35,1.02ZM250.1,560.98c1.84,0,3.28-.56,4.33-1.68s1.57-2.64,1.57-4.55v-1.08l-5.15.42c-1.7.17-2.93.57-3.69,1.21-.76.64-1.13,1.46-1.13,2.45,0,1.08.36,1.89,1.09,2.43.73.54,1.72.81,2.99.81Z\" />\n </g>\n <g>\n <line x1=\".85\" y1=\"407.89\" x2=\"260.16\" y2=\"389.76\" />\n <rect x=\".53\" y=\"394.48\" width=\"259.94\" height=\"8.7\" transform=\"translate(-27.48 10.07) rotate(-4)\" />\n </g>\n <g>\n <line x1=\".85\" y1=\"607.92\" x2=\"260.16\" y2=\"589.79\" />\n <rect x=\".53\" y=\"594.51\" width=\"259.94\" height=\"8.7\" transform=\"translate(-41.42 10.55) rotate(-4)\" />\n </g>\n <g>\n <line x1=\".5\" y1=\"497.25\" x2=\"259.81\" y2=\"515.38\" />\n <rect x=\"125.8\" y=\"376.35\" width=\"8.7\" height=\"259.94\" transform=\"translate(-384.01 600.83) rotate(-86)\" />\n </g>\n </g>\n </BaseSvg>\n);\n\nexport const NdlaLogoNb = (props: LogoProps) => (\n <BaseSvg width={163} height={383} viewBox=\"0 0 260.29 611.89\" {...props}>\n <g fill=\"currentColor\">\n <g>\n <rect x=\".29\" width=\"52\" height=\"280\" />\n <polygon points=\"97.44 39.5 52.29 66 191.29 279.77 191.41 280 260.29 280 260.29 0 208.02 0 208.02 209.54 97.44 39.5\" />\n </g>\n <g>\n <g>\n <path d=\"M5.77,365.65H1.34v-32.9h4.43l17.94,27.3h-1.22v-27.3h4.43v32.9h-4.43l-17.94-27.3h1.22v27.3Z\" />\n <path d=\"M40.02,366.2c-2.35,0-4.2-.62-5.54-1.87-1.34-1.24-2.01-2.87-2.01-4.87s.72-3.66,2.17-4.89c1.45-1.23,3.46-1.95,6.06-2.16l6.96-.55v-.64c0-1.24-.23-2.24-.68-2.98-.45-.74-1.07-1.27-1.85-1.59-.78-.32-1.67-.48-2.67-.48-1.78,0-3.16.37-4.13,1.11-.98.74-1.47,1.8-1.47,3.16h-3.71c0-1.55.39-2.9,1.18-4.05.78-1.15,1.89-2.05,3.32-2.68,1.43-.64,3.1-.96,4.99-.96s3.44.33,4.81.98c1.37.65,2.44,1.64,3.21,2.96.77,1.32,1.15,2.98,1.15,4.98v13.97h-3.61l-.45-3.59c-.57,1.27-1.56,2.28-2.96,3.03-1.4.74-2.99,1.11-4.77,1.11ZM41.24,362.87c2.02,0,3.6-.61,4.75-1.84,1.14-1.23,1.72-2.89,1.72-4.98v-1.18l-5.65.46c-1.87.18-3.22.62-4.04,1.32-.83.7-1.24,1.59-1.24,2.68,0,1.18.4,2.07,1.2,2.66.8.59,1.89.89,3.28.89Z\" />\n <path d=\"M55.66,359.19h4.07c0,1.12.41,2.01,1.22,2.66.81.65,1.91.98,3.3.98,1.51,0,2.67-.3,3.48-.89.81-.59,1.22-1.39,1.22-2.39,0-.73-.22-1.33-.66-1.82-.44-.49-1.23-.88-2.37-1.18l-3.89-.91c-1.96-.49-3.41-1.23-4.36-2.23-.95-1-1.42-2.32-1.42-3.96,0-1.37.35-2.55,1.06-3.55.71-1,1.69-1.77,2.94-2.32,1.25-.55,2.69-.82,4.32-.82s3.03.29,4.23.86c1.19.58,2.12,1.38,2.8,2.41.68,1.03,1.03,2.26,1.06,3.69h-4.07c-.03-1.15-.41-2.05-1.13-2.68s-1.73-.96-3.03-.96-2.35.29-3.07.87c-.72.58-1.08,1.36-1.08,2.37,0,1.49,1.08,2.5,3.25,3.05l3.89.96c1.87.42,3.27,1.11,4.2,2.07.93.96,1.4,2.25,1.4,3.89,0,1.4-.38,2.62-1.13,3.66-.75,1.05-1.79,1.85-3.1,2.41-1.31.56-2.85.84-4.63.84-2.59,0-4.65-.64-6.19-1.91-1.54-1.27-2.3-2.97-2.3-5.1Z\" />\n <path d=\"M71.88,375.75l.72-3.87c.42.12.78.21,1.08.25.3.05.62.07.95.07,1.02,0,1.75-.3,2.19-.91.44-.61.66-1.53.66-2.78v-25.12h4.25v25.53c0,2.21-.59,3.97-1.76,5.28-1.17,1.3-2.83,1.96-4.97,1.96-.54,0-1.04-.03-1.49-.09-.45-.06-.99-.17-1.63-.32ZM79.61,338.12c-.78,0-1.45-.28-1.99-.84-.54-.56-.81-1.22-.81-1.98s.27-1.46.81-2c.54-.55,1.2-.82,1.99-.82s1.41.27,1.97.82c.56.55.84,1.21.84,2s-.28,1.42-.84,1.98c-.56.56-1.21.84-1.97.84Z\" />\n <path d=\"M86.2,354.5c0-2.28.5-4.29,1.49-6.05.99-1.76,2.36-3.14,4.09-4.14s3.71-1.5,5.94-1.5,4.2.5,5.92,1.5,3.07,2.38,4.07,4.14c.99,1.76,1.49,3.78,1.49,6.05s-.5,4.29-1.49,6.05-2.35,3.14-4.07,4.14-3.69,1.5-5.92,1.5-4.21-.5-5.94-1.5-3.1-2.38-4.09-4.14-1.49-3.78-1.49-6.05ZM90.5,354.5c0,1.55.31,2.91.93,4.09.62,1.18,1.47,2.11,2.55,2.78,1.08.67,2.33,1,3.75,1s2.67-.33,3.75-1c1.08-.67,1.94-1.59,2.55-2.78.62-1.18.93-2.55.93-4.09s-.31-2.95-.93-4.12c-.62-1.17-1.47-2.08-2.55-2.75s-2.33-1-3.75-1-2.67.33-3.75,1-1.94,1.58-2.55,2.75c-.62,1.17-.93,2.54-.93,4.12Z\" />\n <path d=\"M117.93,365.65h-4.25v-22.25h3.84l.45,3.41c.69-1.27,1.69-2.27,3.01-2.98,1.31-.71,2.75-1.07,4.32-1.07,2.89,0,5.03.83,6.42,2.5,1.39,1.67,2.08,3.93,2.08,6.78v13.6h-4.25v-12.65c0-2.24-.48-3.86-1.45-4.85-.96-.99-2.26-1.48-3.89-1.48-1.99,0-3.53.65-4.63,1.96-1.1,1.3-1.65,3.05-1.65,5.23v11.78Z\" />\n <path d=\"M145.9,366.2c-2.35,0-4.2-.62-5.54-1.87-1.34-1.24-2.01-2.87-2.01-4.87s.72-3.66,2.17-4.89c1.45-1.23,3.46-1.95,6.06-2.16l6.96-.55v-.64c0-1.24-.23-2.24-.68-2.98-.45-.74-1.07-1.27-1.85-1.59-.78-.32-1.67-.48-2.67-.48-1.78,0-3.16.37-4.13,1.11-.98.74-1.47,1.8-1.47,3.16h-3.71c0-1.55.39-2.9,1.18-4.05.78-1.15,1.89-2.05,3.32-2.68,1.43-.64,3.1-.96,4.99-.96s3.44.33,4.81.98c1.37.65,2.44,1.64,3.21,2.96.77,1.32,1.15,2.98,1.15,4.98v13.97h-3.61l-.45-3.59c-.57,1.27-1.56,2.28-2.96,3.03-1.4.74-2.99,1.11-4.77,1.11ZM147.12,362.87c2.02,0,3.6-.61,4.75-1.84,1.14-1.23,1.72-2.89,1.72-4.98v-1.18l-5.65.46c-1.87.18-3.22.62-4.04,1.32-.83.7-1.24,1.59-1.24,2.68,0,1.18.4,2.07,1.2,2.66.8.59,1.89.89,3.28.89Z\" />\n <path d=\"M167.68,365.65h-4.25v-33.49h4.25v33.49Z\" />\n </g>\n <g>\n <path d=\"M11.45,465.7c-2.13,0-3.97-.49-5.5-1.48s-2.71-2.36-3.54-4.12c-.83-1.76-1.24-3.76-1.24-6.01s.42-4.3,1.26-6.07c.84-1.77,2.04-3.18,3.61-4.21,1.56-1.03,3.43-1.55,5.59-1.55,1.71,0,3.24.36,4.58,1.07,1.34.71,2.38,1.77,3.13,3.16v-14.83h4.19v33.49h-3.79l-.36-4.05c-.72,1.49-1.78,2.62-3.18,3.41-1.4.79-2.98,1.18-4.76,1.18ZM12.3,461.83c1.44,0,2.68-.33,3.72-1,1.04-.67,1.84-1.59,2.41-2.78.57-1.18.86-2.55.86-4.1s-.29-2.9-.86-4.07c-.57-1.17-1.38-2.08-2.41-2.75-1.04-.67-2.28-1-3.72-1s-2.68.34-3.7,1.02c-1.02.68-1.8,1.61-2.34,2.78-.54,1.17-.81,2.51-.81,4.03s.27,2.91.81,4.1c.54,1.18,1.32,2.11,2.34,2.78,1.02.67,2.25,1,3.7,1Z\" />\n <path d=\"M31.51,437.62c-.75,0-1.41-.28-1.96-.84s-.83-1.22-.83-1.98.28-1.46.83-2,1.21-.82,1.96-.82,1.44.27,1.98.82c.54.55.81,1.21.81,2s-.27,1.42-.81,1.98c-.54.56-1.2.84-1.98.84ZM29.43,465.15v-22.25h4.24v22.25h-4.24Z\" />\n <path d=\"M38.18,453.46c0-2.09.42-3.98,1.26-5.67.84-1.68,2.04-3.03,3.61-4.03,1.56-1,3.41-1.5,5.55-1.5,1.98,0,3.68.48,5.09,1.43,1.41.96,2.42,2.28,3.02,3.98l-.54.59.45-5.37h3.79v21.34c0,2.34-.45,4.36-1.35,6.07-.9,1.71-2.18,3.04-3.83,3.98-1.65.94-3.61,1.41-5.86,1.41-3.01,0-5.47-.8-7.39-2.41-1.92-1.61-3.1-3.82-3.52-6.64h4.24c.27,1.64.99,2.91,2.16,3.82,1.17.91,2.67,1.37,4.51,1.37,2.07,0,3.73-.63,4.98-1.89,1.25-1.26,1.87-2.95,1.87-5.07v-6.28l.54.59c-.57,1.67-1.61,2.98-3.11,3.94-1.5.96-3.25,1.43-5.23,1.43-2.1,0-3.92-.49-5.46-1.48-1.53-.99-2.71-2.31-3.54-3.98-.83-1.67-1.24-3.55-1.24-5.64ZM42.42,453.37c0,1.4.28,2.65.83,3.78.56,1.12,1.34,2.02,2.34,2.68,1.01.67,2.19,1,3.54,1,1.44,0,2.67-.32,3.7-.96,1.02-.64,1.81-1.52,2.37-2.64.56-1.12.83-2.41.83-3.87s-.27-2.73-.81-3.82-1.32-1.96-2.34-2.59c-1.02-.64-2.25-.96-3.7-.96s-2.62.33-3.63,1c-1.01.67-1.78,1.55-2.32,2.66-.54,1.11-.81,2.34-.81,3.71Z\" />\n <path d=\"M68.39,437.62c-.75,0-1.41-.28-1.96-.84-.56-.56-.83-1.22-.83-1.98s.28-1.46.83-2c.56-.55,1.21-.82,1.96-.82s1.44.27,1.98.82c.54.55.81,1.21.81,2s-.27,1.42-.81,1.98c-.54.56-1.2.84-1.98.84ZM66.31,465.15v-22.25h4.24v22.25h-4.24Z\" />\n <path d=\"M74.11,442.9h12.8v3.59h-12.8v-3.59ZM86.73,461.42l.54,3.55c-1.14.46-2.36.68-3.65.68s-2.39-.25-3.29-.75c-.9-.5-1.59-1.25-2.07-2.25-.48-1-.72-2.24-.72-3.73v-22.98h4.24v22.39c0,1.27.26,2.18.79,2.71.53.53,1.21.8,2.05.8.66,0,1.37-.14,2.12-.41Z\" />\n <path d=\"M97.6,465.7c-2.34,0-4.19-.62-5.52-1.87-1.34-1.24-2.01-2.87-2.01-4.87s.72-3.66,2.16-4.89c1.44-1.23,3.46-1.95,6.04-2.16l6.94-.55v-.64c0-1.24-.23-2.24-.68-2.98-.45-.74-1.07-1.27-1.85-1.59-.78-.32-1.67-.48-2.66-.48-1.77,0-3.15.37-4.12,1.11-.98.74-1.47,1.8-1.47,3.16h-3.7c0-1.55.39-2.9,1.17-4.05.78-1.15,1.89-2.05,3.31-2.68,1.43-.64,3.09-.96,4.98-.96s3.43.33,4.8.98c1.37.65,2.43,1.64,3.2,2.96.77,1.32,1.15,2.98,1.15,4.98v13.97h-3.61l-.45-3.59c-.57,1.27-1.56,2.28-2.95,3.03-1.4.74-2.98,1.11-4.76,1.11ZM98.82,462.37c2.01,0,3.59-.61,4.73-1.84,1.14-1.23,1.71-2.89,1.71-4.98v-1.18l-5.64.46c-1.86.18-3.21.62-4.04,1.32-.83.7-1.24,1.59-1.24,2.68,0,1.18.4,2.07,1.19,2.66.8.59,1.89.89,3.27.89Z\" />\n <path d=\"M119.33,465.15h-4.24v-33.49h4.24v33.49Z\" />\n </g>\n <g>\n <path d=\"M5.94,564.15H1.7v-33.49h4.24v33.49Z\" />\n <path d=\"M10.85,557.92c0-2.21.74-3.88,2.23-4.98,1.49-1.11,3.43-1.68,5.84-1.71l7.08-.18v-1.32c0-1.64-.47-2.89-1.42-3.75-.95-.86-2.25-1.3-3.9-1.3s-3.05.38-4.01,1.14c-.96.76-1.44,1.81-1.44,3.14h-3.7c0-1.55.38-2.9,1.15-4.05.77-1.15,1.86-2.05,3.27-2.68,1.41-.64,3.02-.96,4.82-.96,1.92,0,3.55.38,4.89,1.14,1.34.76,2.29,1.77,2.86,3.05l-.86,13.88c-.69,1.64-1.83,2.94-3.43,3.91-1.59.97-3.46,1.46-5.59,1.46-2.5,0-4.42-.62-5.77-1.87-1.35-1.24-2.03-2.88-2.03-4.91ZM15.13,557.69c0,1.21.42,2.13,1.26,2.75.84.62,1.95.93,3.34.93,1.92,0,3.46-.56,4.6-1.68,1.14-1.12,1.71-2.59,1.71-4.41v-1.37l-6.09.18c-1.65.03-2.87.33-3.65.91-.78.58-1.17,1.47-1.17,2.68ZM46.96,553.82l-18.89.04.09-2.82h14.56c0-1.82-.55-3.31-1.65-4.46-1.1-1.15-2.59-1.73-4.49-1.73-1.44,0-2.67.33-3.67,1-1.01.67-1.78,1.58-2.32,2.73-.54,1.15-.81,2.5-.81,4.05,0,2.58.59,4.64,1.78,6.19,1.19,1.55,2.95,2.32,5.3,2.32,1.68,0,3.05-.34,4.1-1.02,1.05-.68,1.73-1.65,2.03-2.89h4.01c-.54,2.37-1.7,4.2-3.47,5.51-1.77,1.3-4.03,1.96-6.76,1.96-2.1,0-3.97-.49-5.59-1.46-1.62-.97-2.89-2.33-3.79-4.09-.9-1.76-1.35-3.79-1.35-6.1s.44-4.39,1.33-6.17c.89-1.77,2.12-3.15,3.7-4.14,1.58-.99,3.42-1.48,5.52-1.48s3.97.46,5.52,1.39c1.55.93,2.74,2.21,3.58,3.87.84,1.65,1.26,3.56,1.26,5.71v1.59Z\" />\n <path d=\"M64.1,541.72v3.91h-1.89c-2.01,0-3.6.58-4.76,1.75-1.16,1.17-1.74,2.83-1.74,4.98v11.78h-4.24v-22.2h3.97l.36,4.46h-.41c.3-1.46,1.02-2.65,2.16-3.57,1.14-.92,2.57-1.39,4.28-1.39.39,0,.76.02,1.1.07.35.05.73.11,1.15.21Z\" />\n <path d=\"M69.91,536.62c-.75,0-1.41-.28-1.96-.84s-.83-1.22-.83-1.98.28-1.46.83-2,1.21-.82,1.96-.82,1.44.27,1.98.82c.54.55.81,1.21.81,2s-.27,1.42-.81,1.98c-.54.56-1.2.84-1.98.84ZM67.84,564.15v-22.25h4.24v22.25h-4.24Z\" />\n <path d=\"M82.22,564.15h-4.24v-22.25h3.83l.45,3.41c.69-1.27,1.69-2.27,3-2.98,1.31-.71,2.74-1.07,4.31-1.07,2.89,0,5.02.83,6.4,2.5,1.38,1.67,2.07,3.93,2.07,6.78v13.6h-4.24v-12.65c0-2.24-.48-3.86-1.44-4.85-.96-.99-2.25-1.48-3.88-1.48-1.98,0-3.52.65-4.62,1.96-1.1,1.3-1.65,3.05-1.65,5.23v11.78Z\" />\n <path d=\"M102.28,552.46c0-2.09.42-3.98,1.26-5.67.84-1.68,2.04-3.03,3.61-4.03,1.56-1,3.41-1.5,5.55-1.5,1.98,0,3.68.48,5.09,1.43,1.41.96,2.42,2.28,3.02,3.98l-.54.59.45-5.37h3.79v21.34c0,2.34-.45,4.36-1.35,6.07-.9,1.71-2.18,3.04-3.83,3.98-1.65.94-3.61,1.41-5.86,1.41-3.01,0-5.47-.8-7.39-2.41-1.92-1.61-3.1-3.82-3.52-6.64h4.24c.27,1.64.99,2.91,2.16,3.82,1.17.91,2.67,1.37,4.51,1.37,2.07,0,3.73-.63,4.98-1.89,1.25-1.26,1.87-2.95,1.87-5.07v-6.28l.54.59c-.57,1.67-1.61,2.98-3.11,3.94-1.5.96-3.25,1.43-5.23,1.43-2.1,0-3.92-.49-5.46-1.48-1.53-.99-2.71-2.31-3.54-3.98-.83-1.67-1.24-3.55-1.24-5.64ZM106.52,552.37c0,1.4.28,2.65.83,3.78.56,1.12,1.34,2.02,2.34,2.68,1.01.67,2.19,1,3.54,1,1.44,0,2.67-.32,3.7-.96,1.02-.64,1.81-1.52,2.37-2.64.56-1.12.83-2.41.83-3.87s-.27-2.73-.81-3.82-1.32-1.96-2.34-2.59c-1.02-.64-2.25-.96-3.7-.96s-2.62.33-3.63,1c-1.01.67-1.78,1.55-2.32,2.66-.54,1.11-.81,2.34-.81,3.71Z\" />\n <path d=\"M128.61,557.69h4.06c0,1.12.41,2.01,1.22,2.66s1.91.98,3.29.98c1.5,0,2.66-.3,3.47-.89.81-.59,1.22-1.39,1.22-2.39,0-.73-.22-1.33-.65-1.82-.44-.49-1.23-.88-2.37-1.18l-3.88-.91c-1.95-.49-3.4-1.23-4.35-2.23s-1.42-2.32-1.42-3.96c0-1.37.35-2.55,1.06-3.55.71-1,1.68-1.77,2.93-2.32,1.25-.55,2.68-.82,4.31-.82s3.03.29,4.22.86c1.19.58,2.12,1.38,2.79,2.41s1.03,2.26,1.06,3.69h-4.06c-.03-1.15-.41-2.05-1.13-2.68s-1.73-.96-3.02-.96-2.34.29-3.07.87-1.08,1.36-1.08,2.37c0,1.49,1.08,2.5,3.25,3.05l3.88.96c1.86.42,3.26,1.11,4.19,2.07.93.96,1.4,2.25,1.4,3.89,0,1.4-.38,2.62-1.13,3.66-.75,1.05-1.78,1.85-3.09,2.41-1.31.56-2.85.84-4.62.84-2.59,0-4.64-.64-6.18-1.91-1.53-1.27-2.3-2.97-2.3-5.1Z\" />\n <path d=\"M156.83,564.7c-2.34,0-4.19-.62-5.52-1.87-1.34-1.24-2.01-2.87-2.01-4.87s.72-3.66,2.16-4.89c1.44-1.23,3.46-1.95,6.04-2.16l6.94-.55v-.64c0-1.24-.23-2.24-.68-2.98-.45-.74-1.07-1.27-1.85-1.59-.78-.32-1.67-.48-2.66-.48-1.77,0-3.15.37-4.12,1.11-.98.74-1.47,1.8-1.47,3.16h-3.7c0-1.55.39-2.9,1.17-4.05.78-1.15,1.89-2.05,3.31-2.68,1.43-.64,3.09-.96,4.98-.96s3.43.33,4.8.98c1.37.65,2.43,1.64,3.2,2.96.77,1.32,1.15,2.98,1.15,4.98v13.97h-3.61l-.45-3.59c-.57,1.27-1.56,2.28-2.95,3.03-1.4.74-2.98,1.11-4.76,1.11ZM158.05,561.37c2.01,0,3.59-.61,4.73-1.84,1.14-1.23,1.71-2.89,1.71-4.98v-1.18l-5.64.46c-1.86.18-3.21.62-4.04,1.32-.83.7-1.24,1.59-1.24,2.68,0,1.18.4,2.07,1.19,2.66.8.59,1.89.89,3.27.89Z\" />\n <path d=\"M186.86,541.72v3.91h-1.89c-2.01,0-3.6.58-4.76,1.75-1.16,1.17-1.74,2.83-1.74,4.98v11.78h-4.24v-22.2h3.97l.36,4.46h-.41c.3-1.46,1.02-2.65,2.16-3.57,1.14-.92,2.57-1.39,4.28-1.39.39,0,.76.02,1.1.07.35.05.73.11,1.15.21Z\" />\n <path d=\"M199.3,564.7c-2.13,0-4.03-.49-5.68-1.48-1.65-.99-2.95-2.35-3.88-4.09s-1.4-3.77-1.4-6.07.46-4.38,1.38-6.14c.92-1.76,2.18-3.14,3.79-4.14,1.61-1,3.48-1.5,5.61-1.5s3.93.46,5.48,1.37c1.55.91,2.75,2.18,3.61,3.82.86,1.64,1.29,3.56,1.29,5.78v1.59l-18.89.04.09-2.87h14.56c0-1.85-.56-3.34-1.67-4.46-1.11-1.12-2.6-1.68-4.46-1.68-1.41,0-2.62.31-3.63.93-1.01.62-1.77,1.53-2.3,2.73-.53,1.2-.79,2.63-.79,4.3,0,2.67.6,4.72,1.8,6.17,1.2,1.44,2.93,2.16,5.18,2.16,1.65,0,3.01-.33,4.06-1,1.05-.67,1.76-1.64,2.12-2.91h3.97c-.54,2.37-1.7,4.2-3.47,5.51-1.77,1.3-4.03,1.96-6.76,1.96Z\" />\n <path d=\"M218.24,564.15h-4.24v-22.25h3.83l.45,3.41c.69-1.27,1.69-2.27,3-2.98,1.31-.71,2.74-1.07,4.31-1.07,2.89,0,5.02.83,6.4,2.5,1.38,1.67,2.07,3.93,2.07,6.78v13.6h-4.24v-12.65c0-2.24-.48-3.86-1.44-4.85-.96-.99-2.25-1.48-3.88-1.48-1.98,0-3.52.65-4.62,1.96-1.1,1.3-1.65,3.05-1.65,5.23v11.78Z\" />\n <path d=\"M246.14,564.7c-2.34,0-4.19-.62-5.52-1.87-1.34-1.24-2.01-2.87-2.01-4.87s.72-3.66,2.16-4.89c1.44-1.23,3.46-1.95,6.04-2.16l6.94-.55v-.64c0-1.24-.23-2.24-.68-2.98-.45-.74-1.07-1.27-1.85-1.59-.78-.32-1.67-.48-2.66-.48-1.77,0-3.15.37-4.12,1.11-.98.74-1.47,1.8-1.47,3.16h-3.7c0-1.55.39-2.9,1.17-4.05.78-1.15,1.89-2.05,3.31-2.68,1.43-.64,3.09-.96,4.98-.96s3.43.33,4.8.98c1.37.65,2.43,1.64,3.2,2.96.77,1.32,1.15,2.98,1.15,4.98v13.97h-3.61l-.45-3.59c-.57,1.27-1.56,2.28-2.95,3.03-1.4.74-2.98,1.11-4.76,1.11ZM247.36,561.37c2.01,0,3.59-.61,4.73-1.84,1.14-1.23,1.71-2.89,1.71-4.98v-1.18l-5.64.46c-1.86.18-3.21.62-4.04,1.32-.83.7-1.24,1.59-1.24,2.68,0,1.18.4,2.07,1.19,2.66.8.59,1.89.89,3.27.89Z\" />\n </g>\n <g>\n <line x1=\".65\" y1=\"407.52\" x2=\"259.96\" y2=\"389.39\" />\n <rect x=\".34\" y=\"394.11\" width=\"259.94\" height=\"8.7\" transform=\"translate(-27.46 10.05) rotate(-4)\" />\n </g>\n <g>\n <line x1=\".65\" y1=\"607.55\" x2=\"259.96\" y2=\"589.42\" />\n <rect x=\".34\" y=\"594.14\" width=\"259.94\" height=\"8.7\" transform=\"translate(-41.4 10.54) rotate(-4)\" />\n </g>\n <g>\n <line x1=\".3\" y1=\"496.88\" x2=\"259.61\" y2=\"515.01\" />\n <rect x=\"125.61\" y=\"375.98\" width=\"8.7\" height=\"259.94\" transform=\"translate(-383.82 600.29) rotate(-86)\" />\n </g>\n </g>\n </g>\n </BaseSvg>\n);\n\nexport const NdlaLogoText = (props: LogoProps) => (\n <BaseSvg width={126} height={32} viewBox=\"0 0 1104 280\" {...props}>\n <g fill=\"currentColor\">\n <rect width=\"52\" height=\"280\" />\n <polygon points=\"97.15 39.5 52 66 191 279.77 191.12 280 260 280 260 0 207.73 0 207.73 209.54 97.15 39.5\" />\n <path d=\"M997.7,0h-51.51l-105.73,278.52-.46,1.48h52.87l22.45-64.2h112.33l22.45,64.2h53.9L997.7,0ZM1012.95,172.44h-82.25l41.01-105.17,41.24,105.17Z\" />\n <polygon points=\"681.18 0 629 0 629 280 797 280 797 231.99 681.18 231.99 681.18 0\" />\n <path d=\"M432.36,0h-100.36v280h102.98c19.9,0,38.55-3.41,55.61-10.13,16.72-6.72,31.27-16.39,43.32-28.68,12.05-12.18,21.49-27.09,28.09-44.16,6.71-17.41,10.01-36.31,10.01-56.46,0-40.86-13.42-75.92-38.78-101.64C507.87,13.43,472.96,0,432.36,0ZM518.56,140.57c0,28.11-8.07,51.45-23.54,67.61-15.35,16.16-37.64,24.7-64.48,24.7h-47.6V47.12h44.87c27.86,0,50.83,8.65,66.52,24.81,15.92,16.39,24.22,40.07,24.22,68.63Z\" />\n </g>\n </BaseSvg>\n);\n"],"mappings":";;;;;;AAkBA,MAAM,WAAW,EAAE,QAAQ,WAAW,eAAe,aAAa,MAAM,KAAK,SAAS,GAAG,YACvF,oBAAC,OAAO;CACN,OAAM;CACN,eAAa;CACb,KAAK,IAAI,IAAI,EAAE,OAAO,EAAE,QAAQ;CAChC,GAAI;EACJ;AAGJ,MAAa,cAAc,UACzB,oBAAC;CAAQ,OAAO;CAAK,QAAQ;CAAK,SAAQ;CAAoB,GAAI;WAChE,qBAAC;EAAE,MAAK;;GACN,qBAAC,kBACC,oBAAC;IAAK,OAAM;IAAK,QAAO;KAAQ,EAChC,oBAAC,aAAQ,QAAO,2FAA2F,IACzG;GACJ,qBAAC;IACC,oBAAC,UAAK,GAAE,mGAAmG;IAC3G,oBAAC,UAAK,GAAE,6mBAA6mB;IACrnB,oBAAC,UAAK,GAAE,uNAAuN;IAC/N,oBAAC,UAAK,GAAE,yeAAye;IACjf,oBAAC,UAAK,GAAE,4jBAA4jB;IACpkB,oBAAC,UAAK,GAAE,y1BAAy1B;IACj2B,oBAAC,UAAK,GAAE,mOAAmO;IAC3O,oBAAC,UAAK,GAAE,+pBAA+pB;IACvqB,oBAAC,UAAK,GAAE,6RAA6R;OACnS;GACJ,qBAAC;IACC,oBAAC,UAAK,GAAE,mmB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ACprB;GACJ,qBAAC,kBACC,oBAAC;IAAK,IAAG;IAAM,IAAG;IAAS,IAAG;IAAS,IAAG;KAAW,EACrD,oBAAC;IAAK,GAAE;IAAM,GAAE;IAAS,OAAM;IAAS,QAAO;IAAM,WAAU;KAAuC,IACpG;GACJ,qBAAC,kBACC,oBAAC;IAAK,IAAG;IAAM,IAAG;IAAS,IAAG;IAAS,IAAG;KAAW,EACrD,oBAAC;IAAK,GAAE;IAAM,GAAE;IAAS,OAAM;IAAS,QAAO;IAAM,WAAU;KAAsC,IACnG;GACJ,qBAAC,kBACC,oBAAC;IAAK,IAAG;IAAK,IAAG;IAAS,IAAG;IAAS,IAAG;KAAW,EACpD,oBAAC;IAAK,GAAE;IAAS,GAAE;IAAS,OAAM;IAAM,QAAO;IAAS,WAAU;KAA0C,IAC1G;MACF;GACF;EACI;AAGZ,MAAa,gBAAgB,UAC3B,oBAAC;CAAQ,OAAO;CAAK,QAAQ;CAAI,SAAQ;CAAe,GAAI;WAC1D,qBAAC;EAAE,MAAK;;GACN,oBAAC;IAAK,OAAM;IAAK,QAAO;KAAQ;GAChC,oBAAC,aAAQ,QAAO,2FAA2F;GAC3G,oBAAC,UAAK,GAAE,8IAA8I;GACtJ,oBAAC,aAAQ,QAAO,qEAAqE;GACrF,oBAAC,UAAK,GAAE,+YAA+Y;;GACrZ;EACI"}
|
|
1
|
+
{"version":3,"file":"NdlaLogo.mjs","names":[],"sources":["../src/NdlaLogo.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { css } from \"@ndla/styled-system/css\";\nimport { styled } from \"@ndla/styled-system/jsx\";\nimport type { ColorToken } from \"@ndla/styled-system/tokens\";\nimport type { StyledProps } from \"@ndla/styled-system/types\";\nimport { type ComponentPropsWithoutRef } from \"react\";\n\nexport interface LogoProps extends Omit<ComponentPropsWithoutRef<\"svg\">, \"color\">, StyledProps {\n color?: ColorToken;\n}\n\nconst BaseSvg = ({ color = \"primary\", \"aria-hidden\": ariaHidden = true, css: cssProp, ...props }: LogoProps) => (\n <styled.svg\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden={ariaHidden}\n css={css.raw({ color }, cssProp)}\n {...props}\n />\n);\n\nexport const NdlaLogoEn = (props: LogoProps) => (\n <BaseSvg width={163} height={383} viewBox=\"0 0 260.46 612.26\" {...props}>\n <g fill=\"currentColor\">\n <g>\n <rect width=\"52\" height=\"280\" />\n <polygon points=\"97.15 39.5 52 66 191 279.77 191.12 280 260 280 260 0 207.73 0 207.73 209.54 97.15 39.5\" />\n </g>\n <g>\n <path d=\"M5.26,363.02H1.21v-30.08h4.05l16.4,24.96h-1.12v-24.96h4.05v30.08h-4.05l-16.4-24.96h1.12v24.96Z\" />\n <path d=\"M29.35,352.83c0-2.08.45-3.92,1.36-5.53.91-1.61,2.16-2.87,3.74-3.79,1.58-.92,3.39-1.37,5.43-1.37s3.84.46,5.41,1.37c1.57.92,2.81,2.18,3.72,3.79.91,1.61,1.36,3.45,1.36,5.53s-.45,3.92-1.36,5.53c-.91,1.61-2.15,2.87-3.72,3.79-1.57.92-3.37,1.37-5.41,1.37s-3.85-.46-5.43-1.37c-1.58-.92-2.83-2.18-3.74-3.79-.91-1.61-1.36-3.45-1.36-5.53ZM33.27,352.83c0,1.42.28,2.66.85,3.74.56,1.08,1.34,1.93,2.33,2.54s2.13.92,3.43.92,2.44-.3,3.43-.92,1.77-1.46,2.33-2.54c.56-1.08.85-2.33.85-3.74s-.28-2.7-.85-3.76c-.56-1.07-1.34-1.91-2.33-2.52-.99-.61-2.13-.92-3.43-.92s-2.44.31-3.43.92c-.99.61-1.77,1.45-2.33,2.52-.56,1.07-.85,2.32-.85,3.76Z\" />\n <path d=\"M66.03,342.51v3.58h-1.74c-1.85,0-3.3.54-4.36,1.6-1.06,1.07-1.59,2.59-1.59,4.56v10.77h-3.88v-20.3h3.64l.33,4.08h-.37c.28-1.33.94-2.42,1.98-3.27,1.05-.85,2.35-1.27,3.92-1.27.36,0,.7.02,1.01.06.32.04.67.1,1.05.19Z\" />\n <path d=\"M74.42,363.02l-6.61-20.34h4.01l3.35,10.57c.25.75.47,1.52.66,2.31.19.79.39,1.63.58,2.52.11-.61.24-1.2.39-1.77.15-.57.31-1.11.48-1.62.17-.51.32-.99.45-1.44l3.39-10.57h3.97l3.35,10.57c.11.25.21.58.31.98.1.4.21.83.35,1.27.14.44.26.89.37,1.33.11.44.21.86.29,1.25.11-.55.23-1.09.35-1.6.12-.51.26-1.03.41-1.54.15-.51.32-1.08.52-1.69l3.39-10.57h4.05l-6.9,20.34h-3.68l-3.51-10.9c-.33-1.03-.6-1.93-.81-2.72s-.37-1.46-.48-2.02c-.11.5-.27,1.12-.48,1.85-.21.73-.49,1.71-.85,2.93l-3.51,10.86h-3.84Z\" />\n <path d=\"M109.42,363.52c-1.96,0-3.69-.45-5.21-1.35-1.52-.9-2.7-2.15-3.55-3.74-.85-1.59-1.28-3.45-1.28-5.55s.42-4.01,1.26-5.62c.84-1.61,2-2.87,3.47-3.79,1.47-.92,3.19-1.37,5.14-1.37s3.6.42,5.02,1.25c1.42.83,2.52,2,3.31,3.49.79,1.5,1.18,3.26,1.18,5.28v1.46l-17.31.04.08-2.62h13.35c0-1.69-.51-3.05-1.53-4.08-1.02-1.03-2.38-1.54-4.09-1.54-1.29,0-2.4.29-3.33.85-.92.57-1.63,1.4-2.11,2.5-.48,1.1-.72,2.41-.72,3.93,0,2.44.55,4.32,1.65,5.64,1.1,1.32,2.69,1.98,4.75,1.98,1.51,0,2.75-.31,3.72-.92.96-.61,1.61-1.5,1.94-2.66h3.64c-.5,2.16-1.56,3.84-3.18,5.03-1.63,1.19-3.69,1.79-6.2,1.79Z\" />\n <path d=\"M121.6,352.33c0-1.91.39-3.64,1.16-5.18.77-1.54,1.87-2.77,3.31-3.68,1.43-.92,3.13-1.37,5.08-1.37,1.82,0,3.37.44,4.67,1.31,1.29.87,2.22,2.09,2.77,3.64l-.5.54.41-4.91h3.47v19.51c0,2.14-.41,3.99-1.24,5.55-.83,1.57-2,2.78-3.51,3.64-1.52.86-3.31,1.29-5.37,1.29-2.75,0-5.01-.74-6.78-2.21s-2.84-3.49-3.22-6.07h3.88c.25,1.5.91,2.66,1.98,3.49s2.45,1.25,4.13,1.25c1.9,0,3.42-.58,4.57-1.73,1.14-1.15,1.71-2.7,1.71-4.64v-5.74l.5.54c-.52,1.53-1.47,2.72-2.85,3.6-1.38.87-2.98,1.31-4.79,1.31-1.93,0-3.59-.45-5-1.35s-2.49-2.11-3.24-3.64c-.76-1.52-1.14-3.24-1.14-5.16ZM125.49,352.25c0,1.28.25,2.43.76,3.45.51,1.03,1.23,1.84,2.15,2.45.92.61,2,.92,3.24.92,1.32,0,2.45-.29,3.39-.87.94-.58,1.66-1.39,2.17-2.41.51-1.03.76-2.21.76-3.54s-.25-2.5-.74-3.49c-.5-1-1.21-1.79-2.15-2.37-.94-.58-2.07-.87-3.39-.87s-2.4.31-3.33.92c-.92.61-1.63,1.42-2.13,2.43-.5,1.01-.74,2.14-.74,3.39Z\" />\n <path d=\"M149.28,337.85c-.69,0-1.29-.26-1.8-.77-.51-.51-.76-1.12-.76-1.81s.25-1.33.76-1.83c.51-.5,1.11-.75,1.8-.75s1.32.25,1.82.75c.5.5.74,1.11.74,1.83s-.25,1.3-.74,1.81c-.5.51-1.1.77-1.82.77ZM147.38,363.02v-20.34h3.88v20.34h-3.88Z\" />\n <path d=\"M162.59,363.52c-2.15,0-3.84-.57-5.06-1.71s-1.84-2.62-1.84-4.45.66-3.35,1.98-4.47c1.32-1.12,3.17-1.78,5.54-1.98l6.36-.5v-.58c0-1.14-.21-2.04-.62-2.72-.41-.68-.98-1.17-1.69-1.46-.72-.29-1.53-.44-2.44-.44-1.63,0-2.89.34-3.78,1.02-.9.68-1.34,1.64-1.34,2.89h-3.39c0-1.41.36-2.65,1.07-3.7.72-1.05,1.73-1.87,3.04-2.45,1.31-.58,2.83-.87,4.57-.87s3.15.3,4.4.89c1.25.6,2.23,1.5,2.93,2.7.7,1.21,1.05,2.72,1.05,4.55v12.77h-3.31l-.41-3.29c-.52,1.16-1.43,2.09-2.71,2.77-1.28.68-2.73,1.02-4.36,1.02ZM163.7,360.48c1.85,0,3.29-.56,4.34-1.68,1.05-1.12,1.57-2.64,1.57-4.55v-1.08l-5.16.42c-1.71.17-2.94.57-3.7,1.21-.76.64-1.14,1.46-1.14,2.45,0,1.08.36,1.89,1.1,2.43.73.54,1.73.81,3,.81Z\" />\n <path d=\"M182.42,363.02h-3.88v-20.34h3.51l.41,3.12c.63-1.16,1.55-2.07,2.75-2.72,1.2-.65,2.51-.98,3.95-.98,2.64,0,4.6.76,5.87,2.29,1.27,1.53,1.9,3.59,1.9,6.2v12.44h-3.88v-11.56c0-2.05-.44-3.53-1.32-4.43-.88-.9-2.07-1.35-3.55-1.35-1.82,0-3.23.6-4.23,1.79-1.01,1.19-1.51,2.79-1.51,4.78v10.77Z\" />\n </g>\n <g>\n <path d=\"M10.62,466.02c-1.95,0-3.63-.45-5.03-1.35-1.4-.9-2.48-2.16-3.24-3.76-.76-1.61-1.13-3.44-1.13-5.49s.38-3.93,1.15-5.55c.77-1.62,1.87-2.91,3.3-3.85,1.43-.94,3.13-1.41,5.11-1.41,1.57,0,2.96.33,4.18.98,1.22.65,2.18,1.62,2.87,2.89v-13.56h3.83v30.62h-3.46l-.33-3.7c-.66,1.36-1.63,2.4-2.91,3.12-1.28.72-2.73,1.08-4.35,1.08ZM11.4,462.48c1.32,0,2.45-.3,3.4-.92.95-.61,1.68-1.46,2.21-2.54.52-1.08.78-2.33.78-3.74s-.26-2.66-.78-3.72c-.52-1.07-1.26-1.91-2.21-2.52-.95-.61-2.08-.92-3.4-.92s-2.45.31-3.38.94c-.93.62-1.65,1.47-2.14,2.54s-.74,2.29-.74,3.68.25,2.66.74,3.74c.49,1.08,1.21,1.93,2.14,2.54.93.61,2.06.92,3.38.92Z\" />\n <path d=\"M28.96,440.35c-.69,0-1.29-.26-1.79-.77-.51-.51-.76-1.12-.76-1.81s.25-1.33.76-1.83c.51-.5,1.11-.75,1.79-.75s1.32.25,1.81.75c.49.5.74,1.11.74,1.83s-.25,1.3-.74,1.81c-.49.51-1.1.77-1.81.77ZM27.07,465.52v-20.34h3.88v20.34h-3.88Z\" />\n <path d=\"M35.06,454.83c0-1.91.38-3.64,1.15-5.18.77-1.54,1.87-2.77,3.3-3.68,1.43-.92,3.12-1.37,5.07-1.37,1.81,0,3.37.44,4.66,1.31,1.29.87,2.21,2.09,2.76,3.64l-.49.54.41-4.91h3.46v19.51c0,2.14-.41,3.99-1.24,5.55-.82,1.57-1.99,2.78-3.5,3.64-1.51.86-3.3,1.29-5.36,1.29-2.75,0-5-.74-6.76-2.21-1.76-1.47-2.83-3.49-3.22-6.07h3.87c.25,1.5.91,2.66,1.98,3.49s2.45,1.25,4.12,1.25c1.9,0,3.41-.58,4.55-1.73,1.14-1.15,1.71-2.7,1.71-4.64v-5.74l.49.54c-.52,1.53-1.47,2.72-2.84,3.6-1.37.87-2.97,1.31-4.78,1.31-1.92,0-3.59-.45-4.99-1.35s-2.48-2.11-3.24-3.64c-.76-1.52-1.13-3.24-1.13-5.16ZM38.94,454.75c0,1.28.25,2.43.76,3.45.51,1.03,1.22,1.84,2.14,2.45.92.61,2,.92,3.24.92,1.32,0,2.45-.29,3.38-.87.93-.58,1.66-1.39,2.16-2.41.51-1.03.76-2.21.76-3.54s-.25-2.5-.74-3.49c-.5-1-1.21-1.79-2.14-2.37-.93-.58-2.06-.87-3.38-.87s-2.4.31-3.32.92c-.92.61-1.63,1.42-2.12,2.43-.49,1.01-.74,2.14-.74,3.39Z\" />\n <path d=\"M62.68,440.35c-.69,0-1.29-.26-1.79-.77-.51-.51-.76-1.12-.76-1.81s.25-1.33.76-1.83c.51-.5,1.11-.75,1.79-.75s1.32.25,1.81.75c.49.5.74,1.11.74,1.83s-.25,1.3-.74,1.81c-.49.51-1.1.77-1.81.77ZM60.78,465.52v-20.34h3.88v20.34h-3.88Z\" />\n <path d=\"M67.92,445.18h11.71v3.29h-11.71v-3.29ZM79.46,462.11l.49,3.25c-1.04.42-2.16.62-3.34.62s-2.18-.23-3.01-.69c-.82-.46-1.46-1.14-1.9-2.06-.44-.92-.66-2.05-.66-3.41v-21.01h3.88v20.47c0,1.17.24,1.99.72,2.48.48.49,1.11.73,1.88.73.6,0,1.25-.12,1.94-.37Z\" />\n <path d=\"M89.39,466.02c-2.14,0-3.83-.57-5.05-1.71-1.22-1.14-1.83-2.62-1.83-4.45s.66-3.35,1.98-4.47c1.32-1.12,3.16-1.78,5.52-1.98l6.35-.5v-.58c0-1.14-.21-2.04-.62-2.72-.41-.68-.98-1.17-1.69-1.46-.71-.29-1.52-.44-2.43-.44-1.62,0-2.88.34-3.77,1.02-.89.68-1.34,1.64-1.34,2.89h-3.38c0-1.41.36-2.65,1.07-3.7.71-1.05,1.72-1.87,3.03-2.45,1.31-.58,2.82-.87,4.55-.87s3.14.3,4.39.89c1.25.6,2.23,1.5,2.93,2.7.7,1.21,1.05,2.72,1.05,4.55v12.77h-3.3l-.41-3.29c-.52,1.16-1.42,2.09-2.7,2.77-1.28.68-2.73,1.02-4.35,1.02ZM90.5,462.98c1.84,0,3.28-.56,4.33-1.68s1.57-2.64,1.57-4.55v-1.08l-5.15.42c-1.7.17-2.93.57-3.69,1.21-.76.64-1.13,1.46-1.13,2.45,0,1.08.36,1.89,1.09,2.43.73.54,1.72.81,2.99.81Z\" />\n <path d=\"M109.26,465.52h-3.88v-30.62h3.88v30.62Z\" />\n </g>\n <g>\n <path d=\"M5.5,563.52H1.62v-30.62h3.88v30.62Z\" />\n <path d=\"M19.68,564.02c-1.95,0-3.68-.45-5.19-1.35-1.51-.9-2.69-2.15-3.54-3.74-.85-1.59-1.28-3.45-1.28-5.55s.42-4.01,1.26-5.62c.84-1.61,1.99-2.87,3.46-3.79,1.47-.92,3.18-1.37,5.13-1.37s3.59.42,5.01,1.25c1.42.83,2.51,2,3.3,3.49.78,1.5,1.17,3.26,1.17,5.28v1.46l-17.27.04.08-2.62h13.31c0-1.69-.51-3.05-1.53-4.08-1.02-1.03-2.38-1.54-4.08-1.54-1.29,0-2.4.29-3.32.85-.92.57-1.62,1.4-2.1,2.5-.48,1.1-.72,2.41-.72,3.93,0,2.44.55,4.32,1.65,5.64,1.1,1.32,2.68,1.98,4.74,1.98,1.51,0,2.75-.31,3.71-.92.96-.61,1.61-1.5,1.94-2.66h3.63c-.49,2.16-1.55,3.84-3.17,5.03-1.62,1.19-3.68,1.79-6.18,1.79Z\" />\n <path d=\"M38.8,564.02c-2.14,0-3.83-.57-5.05-1.71-1.22-1.14-1.83-2.62-1.83-4.45s.66-3.35,1.98-4.47c1.32-1.12,3.16-1.78,5.52-1.98l6.35-.5v-.58c0-1.14-.21-2.04-.62-2.72-.41-.68-.98-1.17-1.69-1.46-.71-.29-1.52-.44-2.43-.44-1.62,0-2.88.34-3.77,1.02-.89.68-1.34,1.64-1.34,2.89h-3.38c0-1.41.36-2.65,1.07-3.7.71-1.05,1.72-1.87,3.03-2.45,1.31-.58,2.82-.87,4.55-.87s3.14.3,4.39.89c1.25.6,2.23,1.5,2.93,2.7.7,1.21,1.05,2.72,1.05,4.55v12.77h-3.3l-.41-3.29c-.52,1.16-1.42,2.09-2.7,2.77-1.28.68-2.73,1.02-4.35,1.02ZM39.92,560.98c1.84,0,3.28-.56,4.33-1.68s1.57-2.64,1.57-4.55v-1.08l-5.15.42c-1.7.17-2.93.57-3.69,1.21-.76.64-1.13,1.46-1.13,2.45,0,1.08.36,1.89,1.09,2.43.73.54,1.72.81,2.99.81Z\" />\n <path d=\"M66.26,543.01v3.58h-1.73c-1.84,0-3.29.54-4.35,1.6-1.06,1.07-1.59,2.59-1.59,4.56v10.77h-3.88v-20.3h3.63l.33,4.08h-.37c.27-1.33.93-2.42,1.98-3.27,1.04-.85,2.35-1.27,3.92-1.27.36,0,.69.02,1.01.06.32.04.67.1,1.05.19Z\" />\n <path d=\"M73.55,563.52h-3.88v-20.34h3.5l.41,3.12c.63-1.16,1.55-2.07,2.74-2.72,1.2-.65,2.51-.98,3.94-.98,2.64,0,4.59.76,5.85,2.29,1.26,1.53,1.9,3.59,1.9,6.2v12.44h-3.87v-11.56c0-2.05-.44-3.53-1.32-4.43-.88-.9-2.06-1.35-3.54-1.35-1.81,0-3.22.6-4.23,1.79-1,1.19-1.5,2.79-1.5,4.78v10.77Z\" />\n <path d=\"M95.07,538.35c-.69,0-1.29-.26-1.79-.77-.51-.51-.76-1.12-.76-1.81s.25-1.33.76-1.83c.51-.5,1.11-.75,1.79-.75s1.32.25,1.81.75c.49.5.74,1.11.74,1.83s-.25,1.3-.74,1.81c-.49.51-1.1.77-1.81.77ZM93.17,563.52v-20.34h3.88v20.34h-3.88Z\" />\n <path d=\"M106.32,563.52h-3.88v-20.34h3.5l.41,3.12c.63-1.16,1.55-2.07,2.74-2.72,1.2-.65,2.51-.98,3.94-.98,2.64,0,4.59.76,5.85,2.29,1.26,1.53,1.9,3.59,1.9,6.2v12.44h-3.87v-11.56c0-2.05-.44-3.53-1.32-4.43-.88-.9-2.06-1.35-3.54-1.35-1.81,0-3.22.6-4.23,1.79-1,1.19-1.5,2.79-1.5,4.78v10.77Z\" />\n <path d=\"M124.66,552.83c0-1.91.38-3.64,1.15-5.18.77-1.54,1.87-2.77,3.3-3.68,1.43-.92,3.12-1.37,5.07-1.37,1.81,0,3.37.44,4.66,1.31,1.29.87,2.21,2.09,2.76,3.64l-.49.54.41-4.91h3.46v19.51c0,2.14-.41,3.99-1.24,5.55-.82,1.57-1.99,2.78-3.5,3.64-1.51.86-3.3,1.29-5.36,1.29-2.75,0-5-.74-6.76-2.21-1.76-1.47-2.83-3.49-3.22-6.07h3.87c.25,1.5.91,2.66,1.98,3.49s2.45,1.25,4.12,1.25c1.9,0,3.41-.58,4.55-1.73,1.14-1.15,1.71-2.7,1.71-4.64v-5.74l.49.54c-.52,1.53-1.47,2.72-2.84,3.6-1.37.87-2.97,1.31-4.78,1.31-1.92,0-3.59-.45-4.99-1.35s-2.48-2.11-3.24-3.64c-.76-1.52-1.13-3.24-1.13-5.16ZM128.54,552.75c0,1.28.25,2.43.76,3.45.51,1.03,1.22,1.84,2.14,2.45.92.61,2,.92,3.24.92,1.32,0,2.45-.29,3.38-.87.93-.58,1.66-1.39,2.16-2.41.51-1.03.76-2.21.76-3.54s-.25-2.5-.74-3.49c-.5-1-1.21-1.79-2.14-2.37-.93-.58-2.06-.87-3.38-.87s-2.4.31-3.32.92c-.92.61-1.63,1.42-2.12,2.43-.49,1.01-.74,2.14-.74,3.39Z\" />\n <path d=\"M167.33,564.02c-2.14,0-3.83-.57-5.05-1.71-1.22-1.14-1.83-2.62-1.83-4.45s.66-3.35,1.98-4.47c1.32-1.12,3.16-1.78,5.52-1.98l6.35-.5v-.58c0-1.14-.21-2.04-.62-2.72-.41-.68-.98-1.17-1.69-1.46-.71-.29-1.52-.44-2.43-.44-1.62,0-2.88.34-3.77,1.02-.89.68-1.34,1.64-1.34,2.89h-3.38c0-1.41.36-2.65,1.07-3.7.71-1.05,1.72-1.87,3.03-2.45,1.31-.58,2.82-.87,4.55-.87s3.14.3,4.39.89c1.25.6,2.23,1.5,2.93,2.7.7,1.21,1.05,2.72,1.05,4.55v12.77h-3.3l-.41-3.29c-.52,1.16-1.42,2.09-2.7,2.77-1.28.68-2.73,1.02-4.35,1.02ZM168.44,560.98c1.84,0,3.28-.56,4.33-1.68s1.57-2.64,1.57-4.55v-1.08l-5.15.42c-1.7.17-2.93.57-3.69,1.21-.76.64-1.13,1.46-1.13,2.45,0,1.08.36,1.89,1.09,2.43.73.54,1.72.81,2.99.81Z\" />\n <path d=\"M194.78,543.01v3.58h-1.73c-1.84,0-3.29.54-4.35,1.6-1.06,1.07-1.59,2.59-1.59,4.56v10.77h-3.88v-20.3h3.63l.33,4.08h-.37c.27-1.33.93-2.42,1.98-3.27,1.04-.85,2.35-1.27,3.92-1.27.36,0,.69.02,1.01.06.32.04.67.1,1.05.19Z\" />\n <path d=\"M206.16,564.02c-1.95,0-3.68-.45-5.19-1.35-1.51-.9-2.69-2.15-3.54-3.74-.85-1.59-1.28-3.45-1.28-5.55s.42-4.01,1.26-5.62c.84-1.61,1.99-2.87,3.46-3.79,1.47-.92,3.18-1.37,5.13-1.37s3.59.42,5.01,1.25c1.42.83,2.51,2,3.3,3.49.78,1.5,1.17,3.26,1.17,5.28v1.46l-17.27.04.08-2.62h13.31c0-1.69-.51-3.05-1.53-4.08-1.02-1.03-2.38-1.54-4.08-1.54-1.29,0-2.4.29-3.32.85-.92.57-1.62,1.4-2.1,2.5-.48,1.1-.72,2.41-.72,3.93,0,2.44.55,4.32,1.65,5.64,1.1,1.32,2.68,1.98,4.74,1.98,1.51,0,2.75-.31,3.71-.92.96-.61,1.61-1.5,1.94-2.66h3.63c-.49,2.16-1.55,3.84-3.17,5.03-1.62,1.19-3.68,1.79-6.18,1.79Z\" />\n <path d=\"M223.47,563.52h-3.88v-20.34h3.5l.41,3.12c.63-1.16,1.55-2.07,2.74-2.72,1.2-.65,2.51-.98,3.94-.98,2.64,0,4.59.76,5.85,2.29,1.26,1.53,1.9,3.59,1.9,6.2v12.44h-3.87v-11.56c0-2.05-.44-3.53-1.32-4.43-.88-.9-2.06-1.35-3.54-1.35-1.81,0-3.22.6-4.23,1.79-1,1.19-1.5,2.79-1.5,4.78v10.77Z\" />\n <path d=\"M248.98,564.02c-2.14,0-3.83-.57-5.05-1.71-1.22-1.14-1.83-2.62-1.83-4.45s.66-3.35,1.98-4.47c1.32-1.12,3.16-1.78,5.52-1.98l6.35-.5v-.58c0-1.14-.21-2.04-.62-2.72-.41-.68-.98-1.17-1.69-1.46-.71-.29-1.52-.44-2.43-.44-1.62,0-2.88.34-3.77,1.02-.89.68-1.34,1.64-1.34,2.89h-3.38c0-1.41.36-2.65,1.07-3.7.71-1.05,1.72-1.87,3.03-2.45,1.31-.58,2.82-.87,4.55-.87s3.14.3,4.39.89c1.25.6,2.23,1.5,2.93,2.7.7,1.21,1.05,2.72,1.05,4.55v12.77h-3.3l-.41-3.29c-.52,1.16-1.42,2.09-2.7,2.77-1.28.68-2.73,1.02-4.35,1.02ZM250.1,560.98c1.84,0,3.28-.56,4.33-1.68s1.57-2.64,1.57-4.55v-1.08l-5.15.42c-1.7.17-2.93.57-3.69,1.21-.76.64-1.13,1.46-1.13,2.45,0,1.08.36,1.89,1.09,2.43.73.54,1.72.81,2.99.81Z\" />\n </g>\n <g>\n <line x1=\".85\" y1=\"407.89\" x2=\"260.16\" y2=\"389.76\" />\n <rect x=\".53\" y=\"394.48\" width=\"259.94\" height=\"8.7\" transform=\"translate(-27.48 10.07) rotate(-4)\" />\n </g>\n <g>\n <line x1=\".85\" y1=\"607.92\" x2=\"260.16\" y2=\"589.79\" />\n <rect x=\".53\" y=\"594.51\" width=\"259.94\" height=\"8.7\" transform=\"translate(-41.42 10.55) rotate(-4)\" />\n </g>\n <g>\n <line x1=\".5\" y1=\"497.25\" x2=\"259.81\" y2=\"515.38\" />\n <rect x=\"125.8\" y=\"376.35\" width=\"8.7\" height=\"259.94\" transform=\"translate(-384.01 600.83) rotate(-86)\" />\n </g>\n </g>\n </BaseSvg>\n);\n\nexport const NdlaLogoNb = (props: LogoProps) => (\n <BaseSvg width={163} height={383} viewBox=\"0 0 260.29 611.89\" {...props}>\n <g fill=\"currentColor\">\n <g>\n <rect x=\".29\" width=\"52\" height=\"280\" />\n <polygon points=\"97.44 39.5 52.29 66 191.29 279.77 191.41 280 260.29 280 260.29 0 208.02 0 208.02 209.54 97.44 39.5\" />\n </g>\n <g>\n <g>\n <path d=\"M5.77,365.65H1.34v-32.9h4.43l17.94,27.3h-1.22v-27.3h4.43v32.9h-4.43l-17.94-27.3h1.22v27.3Z\" />\n <path d=\"M40.02,366.2c-2.35,0-4.2-.62-5.54-1.87-1.34-1.24-2.01-2.87-2.01-4.87s.72-3.66,2.17-4.89c1.45-1.23,3.46-1.95,6.06-2.16l6.96-.55v-.64c0-1.24-.23-2.24-.68-2.98-.45-.74-1.07-1.27-1.85-1.59-.78-.32-1.67-.48-2.67-.48-1.78,0-3.16.37-4.13,1.11-.98.74-1.47,1.8-1.47,3.16h-3.71c0-1.55.39-2.9,1.18-4.05.78-1.15,1.89-2.05,3.32-2.68,1.43-.64,3.1-.96,4.99-.96s3.44.33,4.81.98c1.37.65,2.44,1.64,3.21,2.96.77,1.32,1.15,2.98,1.15,4.98v13.97h-3.61l-.45-3.59c-.57,1.27-1.56,2.28-2.96,3.03-1.4.74-2.99,1.11-4.77,1.11ZM41.24,362.87c2.02,0,3.6-.61,4.75-1.84,1.14-1.23,1.72-2.89,1.72-4.98v-1.18l-5.65.46c-1.87.18-3.22.62-4.04,1.32-.83.7-1.24,1.59-1.24,2.68,0,1.18.4,2.07,1.2,2.66.8.59,1.89.89,3.28.89Z\" />\n <path d=\"M55.66,359.19h4.07c0,1.12.41,2.01,1.22,2.66.81.65,1.91.98,3.3.98,1.51,0,2.67-.3,3.48-.89.81-.59,1.22-1.39,1.22-2.39,0-.73-.22-1.33-.66-1.82-.44-.49-1.23-.88-2.37-1.18l-3.89-.91c-1.96-.49-3.41-1.23-4.36-2.23-.95-1-1.42-2.32-1.42-3.96,0-1.37.35-2.55,1.06-3.55.71-1,1.69-1.77,2.94-2.32,1.25-.55,2.69-.82,4.32-.82s3.03.29,4.23.86c1.19.58,2.12,1.38,2.8,2.41.68,1.03,1.03,2.26,1.06,3.69h-4.07c-.03-1.15-.41-2.05-1.13-2.68s-1.73-.96-3.03-.96-2.35.29-3.07.87c-.72.58-1.08,1.36-1.08,2.37,0,1.49,1.08,2.5,3.25,3.05l3.89.96c1.87.42,3.27,1.11,4.2,2.07.93.96,1.4,2.25,1.4,3.89,0,1.4-.38,2.62-1.13,3.66-.75,1.05-1.79,1.85-3.1,2.41-1.31.56-2.85.84-4.63.84-2.59,0-4.65-.64-6.19-1.91-1.54-1.27-2.3-2.97-2.3-5.1Z\" />\n <path d=\"M71.88,375.75l.72-3.87c.42.12.78.21,1.08.25.3.05.62.07.95.07,1.02,0,1.75-.3,2.19-.91.44-.61.66-1.53.66-2.78v-25.12h4.25v25.53c0,2.21-.59,3.97-1.76,5.28-1.17,1.3-2.83,1.96-4.97,1.96-.54,0-1.04-.03-1.49-.09-.45-.06-.99-.17-1.63-.32ZM79.61,338.12c-.78,0-1.45-.28-1.99-.84-.54-.56-.81-1.22-.81-1.98s.27-1.46.81-2c.54-.55,1.2-.82,1.99-.82s1.41.27,1.97.82c.56.55.84,1.21.84,2s-.28,1.42-.84,1.98c-.56.56-1.21.84-1.97.84Z\" />\n <path d=\"M86.2,354.5c0-2.28.5-4.29,1.49-6.05.99-1.76,2.36-3.14,4.09-4.14s3.71-1.5,5.94-1.5,4.2.5,5.92,1.5,3.07,2.38,4.07,4.14c.99,1.76,1.49,3.78,1.49,6.05s-.5,4.29-1.49,6.05-2.35,3.14-4.07,4.14-3.69,1.5-5.92,1.5-4.21-.5-5.94-1.5-3.1-2.38-4.09-4.14-1.49-3.78-1.49-6.05ZM90.5,354.5c0,1.55.31,2.91.93,4.09.62,1.18,1.47,2.11,2.55,2.78,1.08.67,2.33,1,3.75,1s2.67-.33,3.75-1c1.08-.67,1.94-1.59,2.55-2.78.62-1.18.93-2.55.93-4.09s-.31-2.95-.93-4.12c-.62-1.17-1.47-2.08-2.55-2.75s-2.33-1-3.75-1-2.67.33-3.75,1-1.94,1.58-2.55,2.75c-.62,1.17-.93,2.54-.93,4.12Z\" />\n <path d=\"M117.93,365.65h-4.25v-22.25h3.84l.45,3.41c.69-1.27,1.69-2.27,3.01-2.98,1.31-.71,2.75-1.07,4.32-1.07,2.89,0,5.03.83,6.42,2.5,1.39,1.67,2.08,3.93,2.08,6.78v13.6h-4.25v-12.65c0-2.24-.48-3.86-1.45-4.85-.96-.99-2.26-1.48-3.89-1.48-1.99,0-3.53.65-4.63,1.96-1.1,1.3-1.65,3.05-1.65,5.23v11.78Z\" />\n <path d=\"M145.9,366.2c-2.35,0-4.2-.62-5.54-1.87-1.34-1.24-2.01-2.87-2.01-4.87s.72-3.66,2.17-4.89c1.45-1.23,3.46-1.95,6.06-2.16l6.96-.55v-.64c0-1.24-.23-2.24-.68-2.98-.45-.74-1.07-1.27-1.85-1.59-.78-.32-1.67-.48-2.67-.48-1.78,0-3.16.37-4.13,1.11-.98.74-1.47,1.8-1.47,3.16h-3.71c0-1.55.39-2.9,1.18-4.05.78-1.15,1.89-2.05,3.32-2.68,1.43-.64,3.1-.96,4.99-.96s3.44.33,4.81.98c1.37.65,2.44,1.64,3.21,2.96.77,1.32,1.15,2.98,1.15,4.98v13.97h-3.61l-.45-3.59c-.57,1.27-1.56,2.28-2.96,3.03-1.4.74-2.99,1.11-4.77,1.11ZM147.12,362.87c2.02,0,3.6-.61,4.75-1.84,1.14-1.23,1.72-2.89,1.72-4.98v-1.18l-5.65.46c-1.87.18-3.22.62-4.04,1.32-.83.7-1.24,1.59-1.24,2.68,0,1.18.4,2.07,1.2,2.66.8.59,1.89.89,3.28.89Z\" />\n <path d=\"M167.68,365.65h-4.25v-33.49h4.25v33.49Z\" />\n </g>\n <g>\n <path d=\"M11.45,465.7c-2.13,0-3.97-.49-5.5-1.48s-2.71-2.36-3.54-4.12c-.83-1.76-1.24-3.76-1.24-6.01s.42-4.3,1.26-6.07c.84-1.77,2.04-3.18,3.61-4.21,1.56-1.03,3.43-1.55,5.59-1.55,1.71,0,3.24.36,4.58,1.07,1.34.71,2.38,1.77,3.13,3.16v-14.83h4.19v33.49h-3.79l-.36-4.05c-.72,1.49-1.78,2.62-3.18,3.41-1.4.79-2.98,1.18-4.76,1.18ZM12.3,461.83c1.44,0,2.68-.33,3.72-1,1.04-.67,1.84-1.59,2.41-2.78.57-1.18.86-2.55.86-4.1s-.29-2.9-.86-4.07c-.57-1.17-1.38-2.08-2.41-2.75-1.04-.67-2.28-1-3.72-1s-2.68.34-3.7,1.02c-1.02.68-1.8,1.61-2.34,2.78-.54,1.17-.81,2.51-.81,4.03s.27,2.91.81,4.1c.54,1.18,1.32,2.11,2.34,2.78,1.02.67,2.25,1,3.7,1Z\" />\n <path d=\"M31.51,437.62c-.75,0-1.41-.28-1.96-.84s-.83-1.22-.83-1.98.28-1.46.83-2,1.21-.82,1.96-.82,1.44.27,1.98.82c.54.55.81,1.21.81,2s-.27,1.42-.81,1.98c-.54.56-1.2.84-1.98.84ZM29.43,465.15v-22.25h4.24v22.25h-4.24Z\" />\n <path d=\"M38.18,453.46c0-2.09.42-3.98,1.26-5.67.84-1.68,2.04-3.03,3.61-4.03,1.56-1,3.41-1.5,5.55-1.5,1.98,0,3.68.48,5.09,1.43,1.41.96,2.42,2.28,3.02,3.98l-.54.59.45-5.37h3.79v21.34c0,2.34-.45,4.36-1.35,6.07-.9,1.71-2.18,3.04-3.83,3.98-1.65.94-3.61,1.41-5.86,1.41-3.01,0-5.47-.8-7.39-2.41-1.92-1.61-3.1-3.82-3.52-6.64h4.24c.27,1.64.99,2.91,2.16,3.82,1.17.91,2.67,1.37,4.51,1.37,2.07,0,3.73-.63,4.98-1.89,1.25-1.26,1.87-2.95,1.87-5.07v-6.28l.54.59c-.57,1.67-1.61,2.98-3.11,3.94-1.5.96-3.25,1.43-5.23,1.43-2.1,0-3.92-.49-5.46-1.48-1.53-.99-2.71-2.31-3.54-3.98-.83-1.67-1.24-3.55-1.24-5.64ZM42.42,453.37c0,1.4.28,2.65.83,3.78.56,1.12,1.34,2.02,2.34,2.68,1.01.67,2.19,1,3.54,1,1.44,0,2.67-.32,3.7-.96,1.02-.64,1.81-1.52,2.37-2.64.56-1.12.83-2.41.83-3.87s-.27-2.73-.81-3.82-1.32-1.96-2.34-2.59c-1.02-.64-2.25-.96-3.7-.96s-2.62.33-3.63,1c-1.01.67-1.78,1.55-2.32,2.66-.54,1.11-.81,2.34-.81,3.71Z\" />\n <path d=\"M68.39,437.62c-.75,0-1.41-.28-1.96-.84-.56-.56-.83-1.22-.83-1.98s.28-1.46.83-2c.56-.55,1.21-.82,1.96-.82s1.44.27,1.98.82c.54.55.81,1.21.81,2s-.27,1.42-.81,1.98c-.54.56-1.2.84-1.98.84ZM66.31,465.15v-22.25h4.24v22.25h-4.24Z\" />\n <path d=\"M74.11,442.9h12.8v3.59h-12.8v-3.59ZM86.73,461.42l.54,3.55c-1.14.46-2.36.68-3.65.68s-2.39-.25-3.29-.75c-.9-.5-1.59-1.25-2.07-2.25-.48-1-.72-2.24-.72-3.73v-22.98h4.24v22.39c0,1.27.26,2.18.79,2.71.53.53,1.21.8,2.05.8.66,0,1.37-.14,2.12-.41Z\" />\n <path d=\"M97.6,465.7c-2.34,0-4.19-.62-5.52-1.87-1.34-1.24-2.01-2.87-2.01-4.87s.72-3.66,2.16-4.89c1.44-1.23,3.46-1.95,6.04-2.16l6.94-.55v-.64c0-1.24-.23-2.24-.68-2.98-.45-.74-1.07-1.27-1.85-1.59-.78-.32-1.67-.48-2.66-.48-1.77,0-3.15.37-4.12,1.11-.98.74-1.47,1.8-1.47,3.16h-3.7c0-1.55.39-2.9,1.17-4.05.78-1.15,1.89-2.05,3.31-2.68,1.43-.64,3.09-.96,4.98-.96s3.43.33,4.8.98c1.37.65,2.43,1.64,3.2,2.96.77,1.32,1.15,2.98,1.15,4.98v13.97h-3.61l-.45-3.59c-.57,1.27-1.56,2.28-2.95,3.03-1.4.74-2.98,1.11-4.76,1.11ZM98.82,462.37c2.01,0,3.59-.61,4.73-1.84,1.14-1.23,1.71-2.89,1.71-4.98v-1.18l-5.64.46c-1.86.18-3.21.62-4.04,1.32-.83.7-1.24,1.59-1.24,2.68,0,1.18.4,2.07,1.19,2.66.8.59,1.89.89,3.27.89Z\" />\n <path d=\"M119.33,465.15h-4.24v-33.49h4.24v33.49Z\" />\n </g>\n <g>\n <path d=\"M5.94,564.15H1.7v-33.49h4.24v33.49Z\" />\n <path d=\"M10.85,557.92c0-2.21.74-3.88,2.23-4.98,1.49-1.11,3.43-1.68,5.84-1.71l7.08-.18v-1.32c0-1.64-.47-2.89-1.42-3.75-.95-.86-2.25-1.3-3.9-1.3s-3.05.38-4.01,1.14c-.96.76-1.44,1.81-1.44,3.14h-3.7c0-1.55.38-2.9,1.15-4.05.77-1.15,1.86-2.05,3.27-2.68,1.41-.64,3.02-.96,4.82-.96,1.92,0,3.55.38,4.89,1.14,1.34.76,2.29,1.77,2.86,3.05l-.86,13.88c-.69,1.64-1.83,2.94-3.43,3.91-1.59.97-3.46,1.46-5.59,1.46-2.5,0-4.42-.62-5.77-1.87-1.35-1.24-2.03-2.88-2.03-4.91ZM15.13,557.69c0,1.21.42,2.13,1.26,2.75.84.62,1.95.93,3.34.93,1.92,0,3.46-.56,4.6-1.68,1.14-1.12,1.71-2.59,1.71-4.41v-1.37l-6.09.18c-1.65.03-2.87.33-3.65.91-.78.58-1.17,1.47-1.17,2.68ZM46.96,553.82l-18.89.04.09-2.82h14.56c0-1.82-.55-3.31-1.65-4.46-1.1-1.15-2.59-1.73-4.49-1.73-1.44,0-2.67.33-3.67,1-1.01.67-1.78,1.58-2.32,2.73-.54,1.15-.81,2.5-.81,4.05,0,2.58.59,4.64,1.78,6.19,1.19,1.55,2.95,2.32,5.3,2.32,1.68,0,3.05-.34,4.1-1.02,1.05-.68,1.73-1.65,2.03-2.89h4.01c-.54,2.37-1.7,4.2-3.47,5.51-1.77,1.3-4.03,1.96-6.76,1.96-2.1,0-3.97-.49-5.59-1.46-1.62-.97-2.89-2.33-3.79-4.09-.9-1.76-1.35-3.79-1.35-6.1s.44-4.39,1.33-6.17c.89-1.77,2.12-3.15,3.7-4.14,1.58-.99,3.42-1.48,5.52-1.48s3.97.46,5.52,1.39c1.55.93,2.74,2.21,3.58,3.87.84,1.65,1.26,3.56,1.26,5.71v1.59Z\" />\n <path d=\"M64.1,541.72v3.91h-1.89c-2.01,0-3.6.58-4.76,1.75-1.16,1.17-1.74,2.83-1.74,4.98v11.78h-4.24v-22.2h3.97l.36,4.46h-.41c.3-1.46,1.02-2.65,2.16-3.57,1.14-.92,2.57-1.39,4.28-1.39.39,0,.76.02,1.1.07.35.05.73.11,1.15.21Z\" />\n <path d=\"M69.91,536.62c-.75,0-1.41-.28-1.96-.84s-.83-1.22-.83-1.98.28-1.46.83-2,1.21-.82,1.96-.82,1.44.27,1.98.82c.54.55.81,1.21.81,2s-.27,1.42-.81,1.98c-.54.56-1.2.84-1.98.84ZM67.84,564.15v-22.25h4.24v22.25h-4.24Z\" />\n <path d=\"M82.22,564.15h-4.24v-22.25h3.83l.45,3.41c.69-1.27,1.69-2.27,3-2.98,1.31-.71,2.74-1.07,4.31-1.07,2.89,0,5.02.83,6.4,2.5,1.38,1.67,2.07,3.93,2.07,6.78v13.6h-4.24v-12.65c0-2.24-.48-3.86-1.44-4.85-.96-.99-2.25-1.48-3.88-1.48-1.98,0-3.52.65-4.62,1.96-1.1,1.3-1.65,3.05-1.65,5.23v11.78Z\" />\n <path d=\"M102.28,552.46c0-2.09.42-3.98,1.26-5.67.84-1.68,2.04-3.03,3.61-4.03,1.56-1,3.41-1.5,5.55-1.5,1.98,0,3.68.48,5.09,1.43,1.41.96,2.42,2.28,3.02,3.98l-.54.59.45-5.37h3.79v21.34c0,2.34-.45,4.36-1.35,6.07-.9,1.71-2.18,3.04-3.83,3.98-1.65.94-3.61,1.41-5.86,1.41-3.01,0-5.47-.8-7.39-2.41-1.92-1.61-3.1-3.82-3.52-6.64h4.24c.27,1.64.99,2.91,2.16,3.82,1.17.91,2.67,1.37,4.51,1.37,2.07,0,3.73-.63,4.98-1.89,1.25-1.26,1.87-2.95,1.87-5.07v-6.28l.54.59c-.57,1.67-1.61,2.98-3.11,3.94-1.5.96-3.25,1.43-5.23,1.43-2.1,0-3.92-.49-5.46-1.48-1.53-.99-2.71-2.31-3.54-3.98-.83-1.67-1.24-3.55-1.24-5.64ZM106.52,552.37c0,1.4.28,2.65.83,3.78.56,1.12,1.34,2.02,2.34,2.68,1.01.67,2.19,1,3.54,1,1.44,0,2.67-.32,3.7-.96,1.02-.64,1.81-1.52,2.37-2.64.56-1.12.83-2.41.83-3.87s-.27-2.73-.81-3.82-1.32-1.96-2.34-2.59c-1.02-.64-2.25-.96-3.7-.96s-2.62.33-3.63,1c-1.01.67-1.78,1.55-2.32,2.66-.54,1.11-.81,2.34-.81,3.71Z\" />\n <path d=\"M128.61,557.69h4.06c0,1.12.41,2.01,1.22,2.66s1.91.98,3.29.98c1.5,0,2.66-.3,3.47-.89.81-.59,1.22-1.39,1.22-2.39,0-.73-.22-1.33-.65-1.82-.44-.49-1.23-.88-2.37-1.18l-3.88-.91c-1.95-.49-3.4-1.23-4.35-2.23s-1.42-2.32-1.42-3.96c0-1.37.35-2.55,1.06-3.55.71-1,1.68-1.77,2.93-2.32,1.25-.55,2.68-.82,4.31-.82s3.03.29,4.22.86c1.19.58,2.12,1.38,2.79,2.41s1.03,2.26,1.06,3.69h-4.06c-.03-1.15-.41-2.05-1.13-2.68s-1.73-.96-3.02-.96-2.34.29-3.07.87-1.08,1.36-1.08,2.37c0,1.49,1.08,2.5,3.25,3.05l3.88.96c1.86.42,3.26,1.11,4.19,2.07.93.96,1.4,2.25,1.4,3.89,0,1.4-.38,2.62-1.13,3.66-.75,1.05-1.78,1.85-3.09,2.41-1.31.56-2.85.84-4.62.84-2.59,0-4.64-.64-6.18-1.91-1.53-1.27-2.3-2.97-2.3-5.1Z\" />\n <path d=\"M156.83,564.7c-2.34,0-4.19-.62-5.52-1.87-1.34-1.24-2.01-2.87-2.01-4.87s.72-3.66,2.16-4.89c1.44-1.23,3.46-1.95,6.04-2.16l6.94-.55v-.64c0-1.24-.23-2.24-.68-2.98-.45-.74-1.07-1.27-1.85-1.59-.78-.32-1.67-.48-2.66-.48-1.77,0-3.15.37-4.12,1.11-.98.74-1.47,1.8-1.47,3.16h-3.7c0-1.55.39-2.9,1.17-4.05.78-1.15,1.89-2.05,3.31-2.68,1.43-.64,3.09-.96,4.98-.96s3.43.33,4.8.98c1.37.65,2.43,1.64,3.2,2.96.77,1.32,1.15,2.98,1.15,4.98v13.97h-3.61l-.45-3.59c-.57,1.27-1.56,2.28-2.95,3.03-1.4.74-2.98,1.11-4.76,1.11ZM158.05,561.37c2.01,0,3.59-.61,4.73-1.84,1.14-1.23,1.71-2.89,1.71-4.98v-1.18l-5.64.46c-1.86.18-3.21.62-4.04,1.32-.83.7-1.24,1.59-1.24,2.68,0,1.18.4,2.07,1.19,2.66.8.59,1.89.89,3.27.89Z\" />\n <path d=\"M186.86,541.72v3.91h-1.89c-2.01,0-3.6.58-4.76,1.75-1.16,1.17-1.74,2.83-1.74,4.98v11.78h-4.24v-22.2h3.97l.36,4.46h-.41c.3-1.46,1.02-2.65,2.16-3.57,1.14-.92,2.57-1.39,4.28-1.39.39,0,.76.02,1.1.07.35.05.73.11,1.15.21Z\" />\n <path d=\"M199.3,564.7c-2.13,0-4.03-.49-5.68-1.48-1.65-.99-2.95-2.35-3.88-4.09s-1.4-3.77-1.4-6.07.46-4.38,1.38-6.14c.92-1.76,2.18-3.14,3.79-4.14,1.61-1,3.48-1.5,5.61-1.5s3.93.46,5.48,1.37c1.55.91,2.75,2.18,3.61,3.82.86,1.64,1.29,3.56,1.29,5.78v1.59l-18.89.04.09-2.87h14.56c0-1.85-.56-3.34-1.67-4.46-1.11-1.12-2.6-1.68-4.46-1.68-1.41,0-2.62.31-3.63.93-1.01.62-1.77,1.53-2.3,2.73-.53,1.2-.79,2.63-.79,4.3,0,2.67.6,4.72,1.8,6.17,1.2,1.44,2.93,2.16,5.18,2.16,1.65,0,3.01-.33,4.06-1,1.05-.67,1.76-1.64,2.12-2.91h3.97c-.54,2.37-1.7,4.2-3.47,5.51-1.77,1.3-4.03,1.96-6.76,1.96Z\" />\n <path d=\"M218.24,564.15h-4.24v-22.25h3.83l.45,3.41c.69-1.27,1.69-2.27,3-2.98,1.31-.71,2.74-1.07,4.31-1.07,2.89,0,5.02.83,6.4,2.5,1.38,1.67,2.07,3.93,2.07,6.78v13.6h-4.24v-12.65c0-2.24-.48-3.86-1.44-4.85-.96-.99-2.25-1.48-3.88-1.48-1.98,0-3.52.65-4.62,1.96-1.1,1.3-1.65,3.05-1.65,5.23v11.78Z\" />\n <path d=\"M246.14,564.7c-2.34,0-4.19-.62-5.52-1.87-1.34-1.24-2.01-2.87-2.01-4.87s.72-3.66,2.16-4.89c1.44-1.23,3.46-1.95,6.04-2.16l6.94-.55v-.64c0-1.24-.23-2.24-.68-2.98-.45-.74-1.07-1.27-1.85-1.59-.78-.32-1.67-.48-2.66-.48-1.77,0-3.15.37-4.12,1.11-.98.74-1.47,1.8-1.47,3.16h-3.7c0-1.55.39-2.9,1.17-4.05.78-1.15,1.89-2.05,3.31-2.68,1.43-.64,3.09-.96,4.98-.96s3.43.33,4.8.98c1.37.65,2.43,1.64,3.2,2.96.77,1.32,1.15,2.98,1.15,4.98v13.97h-3.61l-.45-3.59c-.57,1.27-1.56,2.28-2.95,3.03-1.4.74-2.98,1.11-4.76,1.11ZM247.36,561.37c2.01,0,3.59-.61,4.73-1.84,1.14-1.23,1.71-2.89,1.71-4.98v-1.18l-5.64.46c-1.86.18-3.21.62-4.04,1.32-.83.7-1.24,1.59-1.24,2.68,0,1.18.4,2.07,1.19,2.66.8.59,1.89.89,3.27.89Z\" />\n </g>\n <g>\n <line x1=\".65\" y1=\"407.52\" x2=\"259.96\" y2=\"389.39\" />\n <rect x=\".34\" y=\"394.11\" width=\"259.94\" height=\"8.7\" transform=\"translate(-27.46 10.05) rotate(-4)\" />\n </g>\n <g>\n <line x1=\".65\" y1=\"607.55\" x2=\"259.96\" y2=\"589.42\" />\n <rect x=\".34\" y=\"594.14\" width=\"259.94\" height=\"8.7\" transform=\"translate(-41.4 10.54) rotate(-4)\" />\n </g>\n <g>\n <line x1=\".3\" y1=\"496.88\" x2=\"259.61\" y2=\"515.01\" />\n <rect x=\"125.61\" y=\"375.98\" width=\"8.7\" height=\"259.94\" transform=\"translate(-383.82 600.29) rotate(-86)\" />\n </g>\n </g>\n </g>\n </BaseSvg>\n);\n\nexport const NdlaLogoText = (props: LogoProps) => (\n <BaseSvg width={126} height={32} viewBox=\"0 0 1104 280\" {...props}>\n <g fill=\"currentColor\">\n <rect width=\"52\" height=\"280\" />\n <polygon points=\"97.15 39.5 52 66 191 279.77 191.12 280 260 280 260 0 207.73 0 207.73 209.54 97.15 39.5\" />\n <path d=\"M997.7,0h-51.51l-105.73,278.52-.46,1.48h52.87l22.45-64.2h112.33l22.45,64.2h53.9L997.7,0ZM1012.95,172.44h-82.25l41.01-105.17,41.24,105.17Z\" />\n <polygon points=\"681.18 0 629 0 629 280 797 280 797 231.99 681.18 231.99 681.18 0\" />\n <path d=\"M432.36,0h-100.36v280h102.98c19.9,0,38.55-3.41,55.61-10.13,16.72-6.72,31.27-16.39,43.32-28.68,12.05-12.18,21.49-27.09,28.09-44.16,6.71-17.41,10.01-36.31,10.01-56.46,0-40.86-13.42-75.92-38.78-101.64C507.87,13.43,472.96,0,432.36,0ZM518.56,140.57c0,28.11-8.07,51.45-23.54,67.61-15.35,16.16-37.64,24.7-64.48,24.7h-47.6V47.12h44.87c27.86,0,50.83,8.65,66.52,24.81,15.92,16.39,24.22,40.07,24.22,68.63Z\" />\n </g>\n </BaseSvg>\n);\n"],"mappings":";;;;;;;;;;;;;AAkBA,MAAM,WAAW,EAAE,QAAQ,WAAW,eAAe,aAAa,MAAM,KAAK,SAAS,GAAG,YACvF,oBAAC,OAAO;CACN,OAAM;CACN,eAAa;CACb,KAAK,IAAI,IAAI,EAAE,OAAO,EAAE,QAAQ;CAChC,GAAI;EACJ;AAGJ,MAAa,cAAc,UACzB,oBAAC;CAAQ,OAAO;CAAK,QAAQ;CAAK,SAAQ;CAAoB,GAAI;WAChE,qBAAC;EAAE,MAAK;;GACN,qBAAC,kBACC,oBAAC;IAAK,OAAM;IAAK,QAAO;KAAQ,EAChC,oBAAC,aAAQ,QAAO,2FAA2F,IACzG;GACJ,qBAAC;IACC,oBAAC,UAAK,GAAE,mGAAmG;IAC3G,oBAAC,UAAK,GAAE,6mBAA6mB;IACrnB,oBAAC,UAAK,GA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4
4
|
|
|
5
5
|
//#region src/Pagination.tsx
|
|
6
|
+
/**
|
|
7
|
+
* Copyright (c) 2024-present, NDLA.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
6
13
|
const { withProvider, withContext } = createStyleContext(sva({
|
|
7
14
|
slots: paginationAnatomy.keys(),
|
|
8
15
|
base: {
|
package/es/Pagination.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.mjs","names":[],"sources":["../src/Pagination.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport
|
|
1
|
+
{"version":3,"file":"Pagination.mjs","names":[],"sources":["../src/Pagination.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { Pagination, paginationAnatomy } from \"@ark-ui/react\";\nimport { sva } from \"@ndla/styled-system/css\";\nimport { createStyleContext } from \"@ndla/styled-system/jsx\";\nimport type { StyledProps } from \"@ndla/styled-system/types\";\n\nconst paginationRecipe = sva({\n slots: paginationAnatomy.keys(),\n base: {\n root: {\n display: \"flex\",\n gap: \"xxsmall\",\n justifyContent: \"center\",\n },\n item: {\n fontVariantNumeric: \"tabular-nums\",\n },\n ellipsis: {\n display: \"inline-flex\",\n alignItems: \"center\",\n },\n },\n});\n\nconst { withProvider, withContext } = createStyleContext(paginationRecipe);\n\nexport interface PaginationRootProps extends Pagination.RootProps, StyledProps {\n translations: Pagination.RootProps[\"translations\"];\n}\n\nexport const PaginationRoot = withProvider(Pagination.Root, \"root\", { baseComponent: true });\n\nexport const PaginationItem = withContext(Pagination.Item, \"item\", { baseComponent: true });\n\nexport const PaginationEllipsis = withContext(Pagination.Ellipsis, \"ellipsis\", { baseComponent: true });\n\nexport const PaginationContext = Pagination.Context;\n\nexport const PaginationPrevTrigger = withContext(Pagination.PrevTrigger, \"prevTrigger\", { baseComponent: true });\n\nexport const PaginationNextTrigger = withContext(Pagination.NextTrigger, \"nextTrigger\", { baseComponent: true });\n"],"mappings":";;;;;;;;;;;;AA+BA,MAAM,EAAE,cAAc,gBAAgB,mBAlBb,IAAI;CAC3B,OAAO,kBAAkB,MAAM;CAC/B,MAAM;EACJ,MAAM;GACJ,SAAS;GACT,KAAK;GACL,gBAAgB;GACjB;EACD,MAAM,EACJ,oBAAoB,gBACrB;EACD,UAAU;GACR,SAAS;GACT,YAAY;GACb;EACF;CACF,CAAC,CAEwE;AAM1E,MAAa,iBAAiB,aAAa,WAAW,MAAM,QAAQ,EAAE,eAAe,MAAM,CAAC;AAE5F,MAAa,iBAAiB,YAAY,WAAW,MAAM,QAAQ,EAAE,eAAe,MAAM,CAAC;AAE3F,MAAa,qBAAqB,YAAY,WAAW,UAAU,YAAY,EAAE,eAAe,MAAM,CAAC;AAEvG,MAAa,oBAAoB,WAAW;AAE5C,MAAa,wBAAwB,YAAY,WAAW,aAAa,eAAe,EAAE,eAAe,MAAM,CAAC;AAEhH,MAAa,wBAAwB,YAAY,WAAW,aAAa,eAAe,EAAE,eAAe,MAAM,CAAC"}
|
package/es/Popover.mjs
CHANGED
|
@@ -6,6 +6,13 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
import { forwardRef } from "react";
|
|
7
7
|
|
|
8
8
|
//#region src/Popover.tsx
|
|
9
|
+
/**
|
|
10
|
+
* Copyright (c) 2024-present, NDLA.
|
|
11
|
+
*
|
|
12
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
9
16
|
const { withRootProvider, withContext } = createStyleContext(sva({
|
|
10
17
|
slots: popoverAnatomy.keys(),
|
|
11
18
|
base: {
|
package/es/Popover.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.mjs","names":["usePopover","_usePopover"],"sources":["../src/Popover.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport
|
|
1
|
+
{"version":3,"file":"Popover.mjs","names":["usePopover","_usePopover"],"sources":["../src/Popover.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { Popover, popoverAnatomy, usePopover as _usePopover } from \"@ark-ui/react\";\nimport { sva } from \"@ndla/styled-system/css\";\nimport { createStyleContext } from \"@ndla/styled-system/jsx\";\nimport type { StyledProps } from \"@ndla/styled-system/types\";\nimport { forwardRef, type RefAttributes } from \"react\";\nimport { Heading, type TextProps } from \"./Text\";\n\nconst popoverRecipe = sva({\n slots: popoverAnatomy.keys(),\n base: {\n positioner: {\n maxHeight: \"inherit\",\n position: \"relative\",\n },\n content: {\n display: \"flex\",\n flexDirection: \"column\",\n padding: \"medium\",\n background: \"surface.default\",\n borderRadius: \"xsmall\",\n boxShadow: \"xlarge\",\n zIndex: \"popover\",\n maxWidth: \"var(--available-width)\",\n _open: {\n animation: \"fade-shift-in 0.2s ease-out\",\n _motionReduce: {\n animation: \"none\",\n },\n },\n _closed: {\n animation: \"fade-shift-out 0.2s ease-out\",\n _motionReduce: {\n animation: \"none\",\n },\n },\n },\n arrow: {\n \"--arrow-size\": \"sizes.xxsmall\",\n \"--arrow-background\": \"colors.surface.default\",\n },\n },\n});\n\nconst { withRootProvider, withContext } = createStyleContext(popoverRecipe);\n\nexport type PopoverRootProps = Popover.RootProps;\nconst InternalPopoverRoot = withRootProvider(Popover.Root);\n\nexport const PopoverRoot = ({ lazyMount = true, unmountOnExit = true, ...props }: PopoverRootProps) => (\n <InternalPopoverRoot lazyMount={lazyMount} unmountOnExit={unmountOnExit} {...props} />\n);\n\nexport const PopoverAnchor = withContext(Popover.Anchor, \"anchor\", { baseComponent: true });\n\nexport const PopoverArrowStandalone = withContext(Popover.Arrow, \"arrow\", { baseComponent: true });\n\ninterface PopoverArrowProps extends Popover.ArrowTipProps, StyledProps {}\n\nexport const PopoverArrow = (props: PopoverArrowProps) => (\n <PopoverArrowStandalone>\n <PopoverArrowTip {...props} />\n </PopoverArrowStandalone>\n);\n\nexport const PopoverArrowTip = withContext(Popover.ArrowTip, \"arrowTip\", { baseComponent: true });\n\nexport const PopoverCloseTrigger = withContext(Popover.CloseTrigger, \"closeTrigger\", { baseComponent: true });\n\nexport const PopoverContentStandalone = withContext(Popover.Content, \"content\", { baseComponent: true });\n\ninterface PopoverContentProps extends Popover.ContentProps, StyledProps {}\n\nexport const PopoverContent = forwardRef<HTMLDivElement, PopoverContentProps>((props, ref) => (\n <PopoverPositioner>\n <PopoverContentStandalone {...props} ref={ref} />\n </PopoverPositioner>\n));\n\nexport const PopoverDescription = withContext(Popover.Description, \"description\", { baseComponent: true });\n\nexport const PopoverIndicator = withContext(Popover.Indicator, \"indicator\", { baseComponent: true });\n\nexport const PopoverPositioner = withContext(Popover.Positioner, \"positioner\", { baseComponent: true });\n\nconst InternalPopoverTitle = withContext(Popover.Title, \"title\", { baseComponent: true });\n\ninterface PopoverTitleProps\n extends Omit<Popover.TitleProps, \"color\">, TextProps, StyledProps, RefAttributes<HTMLHeadingElement> {}\n\nexport const PopoverTitle = ({ textStyle = \"title.medium\", children, ...rest }: PopoverTitleProps) => (\n <Heading textStyle={textStyle} {...rest} asChild consumeCss>\n <InternalPopoverTitle>{children}</InternalPopoverTitle>\n </Heading>\n);\n\nexport const PopoverTrigger = withContext(Popover.Trigger, \"trigger\", { baseComponent: true });\n\nexport const PopoverRootProvider = withRootProvider(Popover.RootProvider);\n\nexport const usePopover = _usePopover;\n"],"mappings":";;;;;;;;;;;;;;;AAmDA,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,oBAAoB,YAAY,QAAQ,YAAY,cAAc,EAAE,eAAe,MAAM,CAAC;AAEvG,MAAM,uBAAuB,YAAY,QAAQ,OAAO,SAAS,EAAE,eAAe,MAAM,CAAC;AAKzF,MAAa,gBAAgB,EAAE,YAAY,gBAAgB,UAAU,GAAG,WACtE,oBAAC;CAAmB;CAAW,GAAI;CAAM;CAAQ;WAC/C,oBAAC,wBAAsB,WAAgC;EAC/C;AAGZ,MAAa,iBAAiB,YAAY,QAAQ,SAAS,WAAW,EAAE,eAAe,MAAM,CAAC;AAE9F,MAAa,sBAAsB,iBAAiB,QAAQ,aAAa;AAEzE,MAAaA,eAAaC"}
|
package/es/RadioGroup.mjs
CHANGED
|
@@ -6,6 +6,13 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
import { forwardRef } from "react";
|
|
7
7
|
|
|
8
8
|
//#region src/RadioGroup.tsx
|
|
9
|
+
/**
|
|
10
|
+
* Copyright (c) 2024-present, NDLA.
|
|
11
|
+
*
|
|
12
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
9
16
|
const { withProvider, withContext } = createStyleContext(sva({
|
|
10
17
|
slots: radioGroupAnatomy.keys(),
|
|
11
18
|
base: {
|
package/es/RadioGroup.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.mjs","names":[],"sources":["../src/RadioGroup.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport
|
|
1
|
+
{"version":3,"file":"RadioGroup.mjs","names":[],"sources":["../src/RadioGroup.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { ark, RadioGroup, radioGroupAnatomy } from \"@ark-ui/react\";\nimport { sva } from \"@ndla/styled-system/css\";\nimport { createStyleContext, styled } from \"@ndla/styled-system/jsx\";\nimport type { StyledProps } from \"@ndla/styled-system/types\";\nimport { forwardRef, type RefAttributes } from \"react\";\nimport { Text, type TextProps } from \"./Text\";\n\nconst radioGroupRecipe = sva({\n slots: radioGroupAnatomy.keys(),\n base: {\n root: {\n display: \"flex\",\n flexWrap: \"wrap\",\n position: \"relative\",\n gap: \"small\",\n _vertical: {\n flexDirection: \"column\",\n },\n _horizontal: {\n flexDirection: \"row\",\n },\n },\n itemControl: {\n flexShrink: \"0\",\n background: \"surface.default\",\n borderColor: \"stroke.subtle\",\n borderRadius: \"full\",\n borderWidth: \"2px\",\n width: \"medium\",\n height: \"medium\",\n outlineStyle: \"solid\",\n outlineWidth: \"4px\",\n outlineOffset: \"-6px\",\n outlineColor: \"surface.default\",\n transitionDuration: \"normal\",\n transitionProperty: \"background, border-color, box-shadow\",\n transitionTimingFunction: \"default\",\n _hover: {\n boxShadow: \"0 0 0 4px var(--shadow-color)\",\n boxShadowColor: \"surface.actionSubtle.hover.strong\",\n },\n _checked: {\n background: \"stroke.default\",\n borderColor: \"stroke.default\",\n },\n _disabled: {\n borderColor: \"stroke.disabled\",\n _hover: {\n borderColor: \"stroke.disabled\",\n boxShadow: \"none\",\n },\n },\n _motionReduce: {\n transition: \"none\",\n transitionDuration: \"0s\",\n },\n },\n item: {\n display: \"flex\",\n alignItems: \"center\",\n cursor: \"pointer\",\n gap: \"xxsmall\",\n _disabled: {\n cursor: \"not-allowed\",\n },\n \"&:has(input:focus-visible)\": {\n outline: \"2px solid\",\n outlineOffset: \"4xsmall\",\n outlineColor: \"stroke.default\",\n borderRadius: \"xsmall\",\n },\n },\n itemText: {\n _hover: {\n color: \"text.action\",\n },\n _disabled: {\n color: \"text.disabled\",\n _hover: {\n color: \"text.disabled\",\n },\n },\n },\n },\n});\n\nconst { withProvider, withContext } = createStyleContext(radioGroupRecipe);\n\nexport interface RadioGroupRootProps extends RadioGroup.RootProps, StyledProps {}\n\nexport const RadioGroupRoot = withProvider(RadioGroup.Root, \"root\", {\n baseComponent: true,\n});\n\nexport const RadioGroupIndicator = withContext(RadioGroup.Indicator, \"indicator\", { baseComponent: true });\n\nexport const RadioGroupItemControl = withContext(RadioGroup.ItemControl, \"itemControl\", { baseComponent: true });\n\nexport const RadioGroupItem = withContext(RadioGroup.Item, \"item\", { baseComponent: true });\n\nconst InternalRadioGroupItemText = withContext(RadioGroup.ItemText, \"itemText\");\n\nconst InnerRadioGroupItemText = styled(ark.span, {}, { baseComponent: true });\n\ninterface RadioGroupItemTextProps\n extends Omit<RadioGroup.ItemTextProps, \"color\">, TextProps, StyledProps, RefAttributes<HTMLParagraphElement> {}\n\nexport const RadioGroupItemText = ({\n textStyle = \"label.medium\",\n children,\n asChild,\n consumeCss,\n ...props\n}: RadioGroupItemTextProps) => (\n <InternalRadioGroupItemText asChild>\n <Text asChild consumeCss textStyle={textStyle} {...props}>\n <InnerRadioGroupItemText asChild={asChild} consumeCss={consumeCss}>\n {children}\n </InnerRadioGroupItemText>\n </Text>\n </InternalRadioGroupItemText>\n);\n\nexport const InternalRadioGroupLabel = withContext(RadioGroup.Label, \"label\");\n\nconst InnerRadioGroupLabel = styled(ark.div, {}, { baseComponent: true });\n\ninterface RadioGroupLabelProps\n extends Omit<RadioGroup.LabelProps, \"color\">, TextProps, StyledProps, RefAttributes<HTMLLabelElement> {}\n\nexport const RadioGroupLabel = forwardRef<HTMLLabelElement, RadioGroupLabelProps>(\n ({ textStyle = \"label.large\", fontWeight = \"bold\", children, asChild, consumeCss, ...props }, ref) => (\n <InternalRadioGroupLabel {...props} asChild ref={ref}>\n <Text textStyle={textStyle} fontWeight={fontWeight} asChild>\n <InnerRadioGroupLabel asChild={asChild} consumeCss={consumeCss}>\n {children}\n </InnerRadioGroupLabel>\n </Text>\n </InternalRadioGroupLabel>\n ),\n);\n\nexport const RadioGroupItemHiddenInput = RadioGroup.ItemHiddenIn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,OAAO,IAAI,MAAM,EAAE,EAAE,EAAE,eAAe,MAAM,CAAC;AAK7E,MAAa,sBAAsB,EACjC,YAAY,gBACZ,UACA,SACA,YACA,GAAG,YAEH,oBAAC;CAA2B;WAC1B,oBAAC;EAAK;EAAQ;EAAsB;EAAW,GAAI;YACjD,oBAAC;GAAiC;GAAqB;GACpD;IACuB;GACrB;EACoB;AAG/B,MAAa,0BAA0B,YAAY,WAAW,OAAO,QAAQ;AAE7E,MAAM,uBAAuB,OAAO,IAAI,KAAK,EAAE,EAAE,EAAE,eAAe,MAAM,CAAC;AAKzE,MAAa,kBAAkB,YAC5B,EAAE,YAAY,eAAe,aAAa,QAAQ,UAAU,SAAS,YAAY,GAAG,SAAS,QAC5F,oBAAC;CAAwB,GAAI;CAAO;CAAa;WAC/C,oBAAC;EAAgB;EAAuB;EAAY;YAClD,oBAAC;GAA8B;GAAqB;GACjD;IACoB;GAClB;EACiB,CAE7B;AAED,MAAa,4BAA4B,WAAW"}
|
package/es/Select.mjs
CHANGED
|
@@ -6,6 +6,13 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
import { forwardRef } from "react";
|
|
7
7
|
|
|
8
8
|
//#region src/Select.tsx
|
|
9
|
+
/**
|
|
10
|
+
* Copyright (c) 2024-present, NDLA.
|
|
11
|
+
*
|
|
12
|
+
* This source code is licensed under the GPLv3 license found in the
|
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
9
16
|
const { withProvider, withContext } = createStyleContext(sva({
|
|
10
17
|
slots: selectAnatomy.keys(),
|
|
11
18
|
base: {
|
package/es/Select.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.mjs","names":[],"sources":["../src/Select.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport
|
|
1
|
+
{"version":3,"file":"Select.mjs","names":[],"sources":["../src/Select.tsx"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { Select, selectAnatomy } from \"@ark-ui/react\";\nimport { sva } from \"@ndla/styled-system/css\";\nimport { createStyleContext } from \"@ndla/styled-system/jsx\";\nimport type { StyledProps } from \"@ndla/styled-system/types\";\nimport { forwardRef, type ElementType, type RefAttributes } from \"react\";\nimport { Label } from \"./Label\";\nimport { type TextProps } from \"./Text\";\n\nconst selectRecipe = sva({\n slots: selectAnatomy.keys(),\n base: {\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n gap: \"3xsmall\",\n },\n control: {\n display: \"flex\",\n gap: \"4xsmall\",\n alignItems: \"center\",\n },\n content: {\n display: \"flex\",\n gap: \"4xsmall\",\n flexDirection: \"column\",\n zIndex: \"dropdown\",\n background: \"surface.default\",\n borderRadius: \"xsmall\",\n boxShadow: \"large\",\n padding: \"xsmall\",\n overflowY: \"auto\",\n maxHeight: \"min(token(spacing.surface.xsmall), 45vh)\",\n _focusVisible: {\n outlineOffset: \"-1\",\n },\n _open: {\n animation: \"fade-shift-in 0.25s ease-out\",\n _motionReduce: {\n animation: \"none\",\n },\n },\n _closed: {\n animation: \"fade-shift-out 0.25s ease-out\",\n _motionReduce: {\n animation: \"none\",\n },\n },\n },\n item: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n padding: \"xsmall\",\n background: \"surface.default\",\n borderRadius: \"xsmall\",\n cursor: \"pointer\",\n transitionDuration: \"fast\",\n transitionProperty: \"background, color\",\n transitionTimingFunction: \"default\",\n _hover: {\n background: \"surface.hover\",\n },\n _selected: {\n background: \"surface.selected\",\n _hover: {\n background: \"surface.hover\",\n },\n _highlighted: {\n background: \"surface.hover\",\n },\n },\n _highlighted: {\n background: \"surface.hover\",\n _hover: {\n background: \"surface.hover\",\n },\n },\n _disabled: {\n cursor: \"not-allowed\",\n color: \"text.disabled\",\n background: \"surface.disabled\",\n _highlighted: {\n color: \"text.disabled\",\n background: \"surface.disabled\",\n },\n _selected: {\n color: \"text.disabled\",\n background: \"surface.disabled\",\n },\n _hover: {\n color: \"text.disabled\",\n background: \"surface.disabled\",\n },\n },\n },\n indicator: {\n color: \"icon.default\",\n transformOrigin: \"center\",\n transitionDuration: \"normal\",\n transitionProperty: \"transform\",\n transitionTimingFunction: \"default\",\n _open: {\n transform: \"rotate(180deg)\",\n },\n _motionReduce: {\n transition: \"none\",\n transitionDuration: \"0s\",\n },\n },\n itemIndicator: {\n color: \"stroke.default\",\n },\n itemText: {\n _checked: {\n textDecoration: \"underline\",\n },\n _highlighted: {\n textDecoration: \"underline\",\n },\n },\n trigger: {\n justifyContent: \"space-between\",\n width: \"surface.small\",\n _ariaInvalid: {\n boxShadowColor: \"stroke.error\",\n },\n },\n itemGroup: {\n display: \"flex\",\n flexDirection: \"column\",\n gap: \"4xsmall\",\n },\n valueText: {\n textAlign: \"start\",\n },\n },\n});\n\nconst { withProvider, withContext } = createStyleContext(selectRecipe);\n\nexport interface SelectRootProps<T extends Select.CollectionItem>\n extends Select.RootProps<T>, StyledProps, RefAttributes<HTMLDivElement> {}\nconst InternalSelectRoot = withProvider<ElementType<SelectRootProps<Select.CollectionItem>>>(Select.Root, \"root\", {\n baseComponent: true,\n});\n\nexport const SelectRoot = <T extends Select.CollectionItem>({\n lazyMount = true,\n unmountOnExit = true,\n ...props\n}: SelectRootProps<T>) => <InternalSelectRoot lazyMount={lazyMount} unmountOnExit={unmountOnExit} {...props} />;\n\nexport const SelectClearTrigger = withContext(Select.ClearTrigger, \"clearTrigger\", { baseComponent: true });\n\nexport const SelectContentStandalone = withContext(Select.Content, \"content\", { baseComponent: true });\n\ninterface SelectContentProps extends Select.ContentProps, StyledProps {}\n\nexport const SelectContent = forwardRef<HTMLDivElement, SelectContentProps>((props, ref) => (\n <SelectPositioner>\n <SelectContentStandalone ref={ref} {...props} />\n </SelectPositioner>\n));\n\nexport const SelectControl = withContext(Select.Control, \"control\", { baseComponent: true });\n\nexport const SelectIndicator = withContext(Select.Indicator, \"indicator\", { baseComponent: true });\n\ninterface SelectItemGroupLabelProps\n extends Omit<Select.ItemGroupLabelProps, \"color\">, StyledProps, TextProps, RefAttributes<HTMLDivElement> {}\n\nexport const SelectItemGroupLabel = forwardRef<HTMLDivElement, SelectItemGroupLabelProps>(\n ({ children, ...props }, ref) => (\n <InternalSelectItemGroupLabel asChild ref={ref} {...props}>\n <Label asChild consumeCss>\n <div>{children}</div>\n </Label>\n </InternalSelectItemGroupLabel>\n ),\n);\n\nconst InternalSelectItemGroupLabel = withContext(Select.ItemGroupLabel, \"itemGroupLabel\");\n\nexport const SelectItemGroup = withContext(Select.ItemGroup, \"itemGroup\", { baseComponent: true });\n\nexport const SelectItemIndicator = withContext(Select.ItemIndicator, \"itemIndicator\", { baseComponent: true });\n\nexport const SelectItem = withContext(Select.Item, \"item\", {\n baseComponent: true,\n});\n\nexport const SelectItemText = withContext(Select.ItemText, \"itemText\", { baseComponent: true });\n\nconst InternalSelectLabel = withContext(Select.Label, \"label\");\n\ninterface SelectLabelProps\n extends Omit<Select.LabelProps, \"color\">, StyledProps, TextProps, RefAttributes<HTMLLabelElement> {}\n\nexport const SelectLabel = forwardRef<HTMLLabelElement, SelectLabelProps>(({ children, ...props }, ref) => (\n <InternalSelectLabel asChild ref={ref} {...props}>\n <Label>{children}</Label>\n </InternalSelectLabel>\n));\n\nexport const SelectPositioner = withContext(Select.Positioner, \"positioner\", { baseComponent: true });\n\nexport const SelectTrigger = withContext(Select.Trigger, \"trigger\", { baseComponent: true });\n\nexport const SelectValueText = withContext(Select.ValueText, \"valueText\", { baseComponent: true });\n\nexport const SelectList = withContext(Select.List, \"list\", {\n baseComponent: true,\n});\n\nexport const SelectHiddenSelect = Select.HiddenSelect;\n"],"mappings":";;;;;;;;;;;;;;;AAkJA,MAAM,EAAE,cAAc,gBAAgB,mBAlIjB,IAAI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