@ndla/primitives 1.0.128-alpha.0 → 1.0.130-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.
Files changed (97) hide show
  1. package/es/Accordion.mjs.map +1 -1
  2. package/es/ArticleLists.mjs +7 -0
  3. package/es/ArticleLists.mjs.map +1 -1
  4. package/es/Badge.mjs.map +1 -1
  5. package/es/BlockQuote.mjs.map +1 -1
  6. package/es/Button.mjs.map +1 -1
  7. package/es/Card/Card.mjs.map +1 -1
  8. package/es/Checkbox.mjs.map +1 -1
  9. package/es/Combobox.mjs.map +1 -1
  10. package/es/DatePicker.mjs.map +1 -1
  11. package/es/Dialog.mjs.map +1 -1
  12. package/es/ErrorMessage/ErrorMessage.mjs.map +1 -1
  13. package/es/ExpandableBox.mjs.map +1 -1
  14. package/es/Field.mjs.map +1 -1
  15. package/es/FieldErrorMessage.mjs.map +1 -1
  16. package/es/FieldHelper.mjs.map +1 -1
  17. package/es/Figure.mjs.map +1 -1
  18. package/es/FileUpload.mjs.map +1 -1
  19. package/es/FramedContent.mjs.map +1 -1
  20. package/es/Hero.mjs.map +1 -1
  21. package/es/Image.mjs.map +1 -1
  22. package/es/Input.mjs.map +1 -1
  23. package/es/Label.mjs.map +1 -1
  24. package/es/Layout/PageContainer.mjs.map +1 -1
  25. package/es/Layout/PageContent.mjs +5 -0
  26. package/es/Layout/PageContent.mjs.map +1 -1
  27. package/es/ListItem/ListItem.mjs.map +1 -1
  28. package/es/Menu.mjs.map +1 -1
  29. package/es/MessageBox.mjs.map +1 -1
  30. package/es/NdlaLogo.mjs.map +1 -1
  31. package/es/Pagination.mjs.map +1 -1
  32. package/es/Popover.mjs.map +1 -1
  33. package/es/RadioGroup.mjs +1 -1
  34. package/es/RadioGroup.mjs.map +1 -1
  35. package/es/Select.mjs.map +1 -1
  36. package/es/Skeleton.mjs.map +1 -1
  37. package/es/Slider.mjs +1 -0
  38. package/es/Slider.mjs.map +1 -1
  39. package/es/Spinner.mjs.map +1 -1
  40. package/es/Switch.mjs.map +1 -1
  41. package/es/Table.mjs.map +1 -1
  42. package/es/Tabs.mjs.map +1 -1
  43. package/es/TagsInput.mjs.map +1 -1
  44. package/es/Text.mjs.map +1 -1
  45. package/es/Toast.mjs.map +1 -1
  46. package/es/ToggleGroup.mjs.map +1 -1
  47. package/es/Tooltip.mjs.map +1 -1
  48. package/es/Tree/Tree.mjs.map +1 -1
  49. package/lib/Accordion.js.map +1 -1
  50. package/lib/ArticleLists.js +7 -0
  51. package/lib/ArticleLists.js.map +1 -1
  52. package/lib/Badge.js.map +1 -1
  53. package/lib/BlockQuote.js.map +1 -1
  54. package/lib/Button.js.map +1 -1
  55. package/lib/Card/Card.js.map +1 -1
  56. package/lib/Checkbox.js.map +1 -1
  57. package/lib/Combobox.js.map +1 -1
  58. package/lib/DatePicker.js.map +1 -1
  59. package/lib/Dialog.js.map +1 -1
  60. package/lib/ErrorMessage/ErrorMessage.js.map +1 -1
  61. package/lib/ExpandableBox.js.map +1 -1
  62. package/lib/Field.js.map +1 -1
  63. package/lib/FieldErrorMessage.js.map +1 -1
  64. package/lib/FieldHelper.js.map +1 -1
  65. package/lib/Figure.js.map +1 -1
  66. package/lib/FileUpload.js.map +1 -1
  67. package/lib/FramedContent.js.map +1 -1
  68. package/lib/Hero.js.map +1 -1
  69. package/lib/Image.js.map +1 -1
  70. package/lib/Input.js.map +1 -1
  71. package/lib/Label.js.map +1 -1
  72. package/lib/Layout/PageContainer.js.map +1 -1
  73. package/lib/Layout/PageContent.js +5 -0
  74. package/lib/Layout/PageContent.js.map +1 -1
  75. package/lib/ListItem/ListItem.js.map +1 -1
  76. package/lib/Menu.js.map +1 -1
  77. package/lib/MessageBox.js.map +1 -1
  78. package/lib/NdlaLogo.js.map +1 -1
  79. package/lib/Pagination.js.map +1 -1
  80. package/lib/Popover.js.map +1 -1
  81. package/lib/RadioGroup.js +1 -1
  82. package/lib/RadioGroup.js.map +1 -1
  83. package/lib/Select.js.map +1 -1
  84. package/lib/Skeleton.js.map +1 -1
  85. package/lib/Slider.js +1 -0
  86. package/lib/Slider.js.map +1 -1
  87. package/lib/Spinner.js.map +1 -1
  88. package/lib/Switch.js.map +1 -1
  89. package/lib/Table.js.map +1 -1
  90. package/lib/Tabs.js.map +1 -1
  91. package/lib/TagsInput.js.map +1 -1
  92. package/lib/Text.js.map +1 -1
  93. package/lib/Toast.js.map +1 -1
  94. package/lib/ToggleGroup.js.map +1 -1
  95. package/lib/Tooltip.js.map +1 -1
  96. package/lib/Tree/Tree.js.map +1 -1
  97. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"MessageBox.js","names":["ark","css"],"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,oBAAA,GAAA,wBAAA,KAAuB;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,oBAAA,GAAA,wBAAA,QAA0BA,cAAAA,IAAI,KAAK,EAAE,EAAE,EAAE,eAAe,MAAM,CAAC;AAErE,MAAa,cAAA,GAAA,MAAA,aAA0D,EAAE,SAAS,KAAK,SAAS,GAAG,SAAS,QAC1G,iBAAA,GAAA,kBAAA,KAAC,kBAAD;CAAkB,KAAKC,wBAAAA,IAAI,IAAI,iBAAiB,IAAI,EAAE,SAAS,CAAC,EAAE,QAAQ;CAAE,GAAI;CAAY;CAAO,CAAA,CACnG"}
1
+ {"version":3,"file":"MessageBox.js","names":["ark","css"],"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,oBAAA,GAAA,wBAAA,KAAuB;CAC3B,MAAM;EACJ,SAAS;EACT,YAAY;EACZ,KAAK;EACL,SAAS;EACT,QAAQ;EACR,cAAc;CAChB;CACA,iBAAiB,EACf,SAAS,OACX;CACA,UAAU,EACR,SAAS;EACP,MAAM;GACJ,YAAY;GACZ,aAAa;EACf;EACA,SAAS;GACP,YAAY;GACZ,aAAa;EACf;EACA,SAAS;GACP,YAAY;GACZ,aAAa;EACf;EACA,OAAO;GACL,YAAY;GACZ,aAAa;EACf;CACF,EACF;AACF,CAAC;AAMD,MAAM,oBAAA,GAAA,wBAAA,QAA0BA,cAAAA,IAAI,KAAK,CAAC,GAAG,EAAE,eAAe,KAAK,CAAC;AAEpE,MAAa,cAAA,GAAA,MAAA,aAA0D,EAAE,SAAS,KAAK,SAAS,GAAG,SAAS,QAC1G,iBAAA,GAAA,kBAAA,KAAC,kBAAD;CAAkB,KAAKC,wBAAAA,IAAI,IAAI,iBAAiB,IAAI,EAAE,QAAQ,CAAC,GAAG,OAAO;CAAG,GAAI;CAAY;AAAM,CAAA,CACnG"}
@@ -1 +1 @@
1
- {"version":3,"file":"NdlaLogo.js","names":["styled","css"],"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 </BaseSv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A,GAAA,kBAAA,KAAC,QAAD,EAAM,GAAE,8YAA+Y,CAAA;GACrZ;;CACI,CAAA"}
1
+ {"version":3,"file":"NdlaLogo.js","names":["styled","css"],"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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-1 +1 @@
1
- {"version":3,"file":"Pagination.js","names":["paginationAnatomy","Pagination"],"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,iBAAA,sCAAA,qBAAA,GAAA,wBAAA,KAlBO;CAC3B,OAAOA,cAAAA,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,aAAaC,cAAAA,WAAW,MAAM,QAAQ,EAAE,eAAe,MAAM,CAAC;AAE5F,MAAa,iBAAiB,YAAYA,cAAAA,WAAW,MAAM,QAAQ,EAAE,eAAe,MAAM,CAAC;AAE3F,MAAa,qBAAqB,YAAYA,cAAAA,WAAW,UAAU,YAAY,EAAE,eAAe,MAAM,CAAC;AAEvG,MAAa,oBAAoBA,cAAAA,WAAW;AAE5C,MAAa,wBAAwB,YAAYA,cAAAA,WAAW,aAAa,eAAe,EAAE,eAAe,MAAM,CAAC;AAEhH,MAAa,wBAAwB,YAAYA,cAAAA,WAAW,aAAa,eAAe,EAAE,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Pagination.js","names":["paginationAnatomy","Pagination"],"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,iBAAA,oCAAA,EAAA,qBAAA,GAAA,wBAAA,KAlBO;CAC3B,OAAOA,cAAAA,kBAAkB,KAAK;CAC9B,MAAM;EACJ,MAAM;GACJ,SAAS;GACT,KAAK;GACL,gBAAgB;EAClB;EACA,MAAM,EACJ,oBAAoB,eACtB;EACA,UAAU;GACR,SAAS;GACT,YAAY;EACd;CACF;AACF,CAEwE,CAAC;AAMzE,MAAa,iBAAiB,aAAaC,cAAAA,WAAW,MAAM,QAAQ,EAAE,eAAe,KAAK,CAAC;AAE3F,MAAa,iBAAiB,YAAYA,cAAAA,WAAW,MAAM,QAAQ,EAAE,eAAe,KAAK,CAAC;AAE1F,MAAa,qBAAqB,YAAYA,cAAAA,WAAW,UAAU,YAAY,EAAE,eAAe,KAAK,CAAC;AAEtG,MAAa,oBAAoBA,cAAAA,WAAW;AAE5C,MAAa,wBAAwB,YAAYA,cAAAA,WAAW,aAAa,eAAe,EAAE,eAAe,KAAK,CAAC;AAE/G,MAAa,wBAAwB,YAAYA,cAAAA,WAAW,aAAa,eAAe,EAAE,eAAe,KAAK,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.js","names":["popoverAnatomy","Popover","Heading","_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,MAAM,EAAE,kBAAkB,iBAAA,GAAA,wBAAA,qBAAA,GAAA,wBAAA,KApCA;CACxB,OAAOA,cAAAA,eAAe,MAAM;CAC5B,MAAM;EACJ,YAAY;GACV,WAAW;GACX,UAAU;GACX;EACD,SAAS;GACP,SAAS;GACT,eAAe;GACf,SAAS;GACT,YAAY;GACZ,cAAc;GACd,WAAW;GACX,QAAQ;GACR,UAAU;GACV,OAAO;IACL,WAAW;IACX,eAAe,EACb,WAAW,QACZ;IACF;GACD,SAAS;IACP,WAAW;IACX,eAAe,EACb,WAAW,QACZ;IACF;GACF;EACD,OAAO;GACL,gBAAgB;GAChB,sBAAsB;GACvB;EACF;CACF,CAAC,CAEyE;AAG3E,MAAM,sBAAsB,iBAAiBC,cAAAA,QAAQ,KAAK;AAE1D,MAAa,eAAe,EAAE,YAAY,MAAM,gBAAgB,MAAM,GAAG,YACvE,iBAAA,GAAA,kBAAA,KAAC,qBAAD;CAAgC;CAA0B;CAAe,GAAI;CA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AD,EAAuB,UAAgC,CAAA;CAC/C,CAAA;AAGZ,MAAa,iBAAiB,YAAYD,cAAAA,QAAQ,SAAS,WAAW,EAAE,eAAe,MAAM,CAAC;AAE9F,MAAa,sBAAsB,iBAAiBA,cAAAA,QAAQ,aAAa;AAEzE,MAAa,aAAaE,cAAAA"}
1
+ {"version":3,"file":"Popover.js","names":["popoverAnatomy","Popover","Heading","_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,MAAM,EAAE,kBAAkB,iBAAA,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,iBAAA,GAAA,kBAAA,KAAC,0BAAD;CAA0B,GAAI;CAAY;AAAM,CAAA,EAC/B,CAAA,CACpB;AAED,MAAa,qBAAqB,YAAYA,cAAAA,QAAQ,aAAa,eAAe,EAAE,eAAe,KAAK,CAAC;AAEzG,MAAa,mBAAmB,YAAYA,cAAAA,QAAQ,WAAW,aAAa,EAAE,eAAe,KAAK,CAAC;AAEnG,MAAa,oBAAoB,YAAYA,cAAAA,QAAQ,YAAY,cAAc,EAAE,eAAe,KAAK,CAAC;AAEtG,MAAM,uBAAuB,YAAYA,cAAAA,QAAQ,OAAO,SAAS,EAAE,eAAe,KAAK,CAAC;AAKxF,MAAa,gBAAgB,EAAE,YAAY,gBAAgB,UAAU,GAAG,WACtE,iBAAA,GAAA,kBAAA,KAACC,aAAAA,SAAD;CAAoB;CAAW,GAAI;CAAM,SAAA;CAAQ,YAAA;WAC/C,iBAAA,GAAA,kBAAA,KAAC,sBAAD,EAAuB,SAA+B,CAAA;AAC/C,CAAA;AAGX,MAAa,iBAAiB,YAAYD,cAAAA,QAAQ,SAAS,WAAW,EAAE,eAAe,KAAK,CAAC;AAE7F,MAAa,sBAAsB,iBAAiBA,cAAAA,QAAQ,YAAY;AAExE,MAAa,aAAaE,cAAAA"}
package/lib/RadioGroup.js CHANGED
@@ -62,7 +62,7 @@ const { withProvider, withContext } = (0, _ndla_styled_system_jsx.createStyleCon
62
62
  display: "flex",
63
63
  alignItems: "center",
64
64
  cursor: "pointer",
65
- gap: "xxsmall",
65
+ gap: "xsmall",
66
66
  _disabled: { cursor: "not-allowed" },
67
67
  "&:has(input:focus-visible)": {
68
68
  outline: "2px solid",
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.js","names":["radioGroupAnatomy","RadioGroup","ark","Text"],"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 = R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Ae,MAAM,CAAC;AAE3F,MAAM,6BAA6B,YAAYA,cAAAA,WAAW,UAAU,WAAW;AAE/E,MAAM,2BAAA,GAAA,wBAAA,QAAiCC,cAAAA,IAAI,MAAM,EAAE,EAAE,EAAE,eAAe,MAAM,CAAC;AAK7E,MAAa,sBAAsB,EACjC,YAAY,gBACZ,UACA,SACA,YACA,GAAG,YAEH,iBAAA,GAAA,kBAAA,KAAC,4BAAD;CAA4B,SAAA;WAC1B,iBAAA,GAAA,kBAAA,KAACC,aAAAA,MAAD;EAAM,SAAA;EAAQ,YAAA;EAAsB;EAAW,GAAI;YACjD,iBAAA,GAAA,kBAAA,KAAC,yBAAD;GAAkC;GAAqB;GACpD;GACuB,CAAA;EACrB,CAAA;CACoB,CAAA;AAG/B,MAAa,0BAA0B,YAAYF,cAAAA,WAAW,OAAO,QAAQ;AAE7E,MAAM,wBAAA,GAAA,wBAAA,QAA8BC,cAAAA,IAAI,KAAK,EAAE,EAAE,EAAE,eAAe,MAAM,CAAC;AAKzE,MAAa,mBAAA,GAAA,MAAA,aACV,EAAE,YAAY,eAAe,aAAa,QAAQ,UAAU,SAAS,YAAY,GAAG,SAAS,QAC5F,iBAAA,GAAA,kBAAA,KAAC,yBAAD;CAAyB,GAAI;CAAO,SAAA;CAAa;WAC/C,iBAAA,GAAA,kBAAA,KAACC,aAAAA,MAAD;EAAiB;EAAuB;EAAY,SAAA;YAClD,iBAAA,GAAA,kBAAA,KAAC,sBAAD;GAA+B;GAAqB;GACjD;GACoB,CAAA;EAClB,CAAA;CACiB,CAAA,CAE7B;AAED,MAAa,4BAA4BF,cAAAA,WAAW"}
1
+ {"version":3,"file":"RadioGroup.js","names":["radioGroupAnatomy","RadioGroup","ark","Text"],"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: \"xsmall\",\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.ItemHiddenInput;\n"],"mapp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6BAA6B,YAAYA,cAAAA,WAAW,UAAU,UAAU;AAE9E,MAAM,2BAAA,GAAA,wBAAA,QAAiCC,cAAAA,IAAI,MAAM,CAAC,GAAG,EAAE,eAAe,KAAK,CAAC;AAK5E,MAAa,sBAAsB,EACjC,YAAY,gBACZ,UACA,SACA,YACA,GAAG,YAEH,iBAAA,GAAA,kBAAA,KAAC,4BAAD;CAA4B,SAAA;WAC1B,iBAAA,GAAA,kBAAA,KAACC,aAAAA,MAAD;EAAM,SAAA;EAAQ,YAAA;EAAsB;EAAW,GAAI;YACjD,iBAAA,GAAA,kBAAA,KAAC,yBAAD;GAAkC;GAAqB;GACpD;EACsB,CAAA;CACrB,CAAA;AACoB,CAAA;AAG9B,MAAa,0BAA0B,YAAYF,cAAAA,WAAW,OAAO,OAAO;AAE5E,MAAM,wBAAA,GAAA,wBAAA,QAA8BC,cAAAA,IAAI,KAAK,CAAC,GAAG,EAAE,eAAe,KAAK,CAAC;AAKxE,MAAa,mBAAA,GAAA,MAAA,aACV,EAAE,YAAY,eAAe,aAAa,QAAQ,UAAU,SAAS,YAAY,GAAG,SAAS,QAC5F,iBAAA,GAAA,kBAAA,KAAC,yBAAD;CAAyB,GAAI;CAAO,SAAA;CAAa;WAC/C,iBAAA,GAAA,kBAAA,KAACC,aAAAA,MAAD;EAAiB;EAAuB;EAAY,SAAA;YAClD,iBAAA,GAAA,kBAAA,KAAC,sBAAD;GAA+B;GAAqB;GACjD;EACmB,CAAA;CAClB,CAAA;AACiB,CAAA,CAE7B;AAEA,MAAa,4BAA4BF,cAAAA,WAAW"}
package/lib/Select.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Select.js","names":["selectAnatomy","Select","Label"],"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,iBAAA,GAAA,wBAAA,qBAAA,GAAA,wBAAA,KAlIG;CACvB,OAAOA,cAAAA,cAAc,MAAM;CAC3B,MAAM;EACJ,MAAM;GACJ,SAAS;GACT,eAAe;GACf,KAAK;GACN;EACD,SAAS;GACP,SAAS;GACT,KAAK;GACL,YAAY;GACb;EACD,SAAS;GACP,SAAS;GACT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YA,cAAAA,OAAO,UAAU,YAAY,EAAE,eAAe,MAAM,CAAC;AAE/F,MAAM,sBAAsB,YAAYA,cAAAA,OAAO,OAAO,QAAQ;AAK9D,MAAa,eAAA,GAAA,MAAA,aAA8D,EAAE,UAAU,GAAG,SAAS,QACjG,iBAAA,GAAA,kBAAA,KAAC,qBAAD;CAAqB,SAAA;CAAa;CAAK,GAAI;WACzC,iBAAA,GAAA,kBAAA,KAACC,cAAAA,OAAD,EAAQ,UAAiB,CAAA;CACL,CAAA,CACtB;AAEF,MAAa,mBAAmB,YAAYD,cAAAA,OAAO,YAAY,cAAc,EAAE,eAAe,MAAM,CAAC;AAErG,MAAa,gBAAgB,YAAYA,cAAAA,OAAO,SAAS,WAAW,EAAE,eAAe,MAAM,CAAC;AAE5F,MAAa,kBAAkB,YAAYA,cAAAA,OAAO,WAAW,aAAa,EAAE,eAAe,MAAM,CAAC;AAElG,MAAa,aAAa,YAAYA,cAAAA,OAAO,MAAM,QAAQ,EACzD,eAAe,MAChB,CAAC;AAEF,MAAa,qBAAqBA,cAAAA,OAAO"}
1
+ {"version":3,"file":"Select.js","names":["selectAnatomy","Select","Label"],"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,iBAAA,GAAA,wBAAA,qBAAA,GAAA,wBAAA,KAlIG;CACvB,OAAOA,cAAAA,cAAc,KAAK;CAC1B,MAAM;EACJ,MAAM;GACJ,SAAS;GACT,eAAe;GACf,KAAK;EACP;EACA,SAAS;GACP,SAAS;GACT,KAAK;GACL,YAAY;EACd;EACA,SAAS;GACP,SAAS;GACT,KAAK;GACL,eAAe;GACf,QAAQ;GACR,YAAY;GACZ,cAAc;GACd,WAAW;GACX,SAAS;GACT,WAAW;GACX,WAAW;GACX,eAAe,EACb,eAAe,KACjB;GACA,OAAO;IACL,WAAW;IACX,eAAe,EACb,WAAW,OACb;GACF;GACA,SAAS;IACP,WAAW;IACX,eAAe,EACb,WAAW,OACb;GACF;EACF;EACA,MAAM;GACJ,SAAS;GACT,YAAY;GACZ,gBAAgB;GAChB,SAAS;GACT,YAAY;GACZ,cAAc;GACd,QAAQ;GACR,oBAAo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AAYD,cAAAA,OAAO,YAAY,cAAc,EAAE,eAAe,KAAK,CAAC;AAEpG,MAAa,gBAAgB,YAAYA,cAAAA,OAAO,SAAS,WAAW,EAAE,eAAe,KAAK,CAAC;AAE3F,MAAa,kBAAkB,YAAYA,cAAAA,OAAO,WAAW,aAAa,EAAE,eAAe,KAAK,CAAC;AAEjG,MAAa,aAAa,YAAYA,cAAAA,OAAO,MAAM,QAAQ,EACzD,eAAe,KACjB,CAAC;AAED,MAAa,qBAAqBA,cAAAA,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"Skeleton.js","names":["ark"],"sources":["../src/Skeleton.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 { styled } from \"@ndla/styled-system/jsx\";\nimport type { StyledProps } from \"@ndla/styled-system/types\";\n\nexport const Skeleton = styled(\n ark.div,\n {\n base: {\n animation: \"skeleton-pulse\",\n backgroundColor: \"surface.disabled\",\n backgroundClip: \"padding-box\",\n borderRadius: \"xsmall\",\n color: \"transparent\",\n cursor: \"default\",\n pointerEvents: \"none\",\n userSelect: \"none\",\n \"&::before, &::after, *\": {\n visibility: \"hidden\",\n },\n _motionReduce: {\n animation: \"none\",\n },\n },\n },\n { baseComponent: true },\n);\n\nexport interface SkeletonProps extends HTMLArkProps<\"div\">, StyledProps {}\n"],"mappings":";;;;;;;;;AAYA,MAAa,YAAA,sCAAA,QACXA,cAAAA,IAAI,KACJ,EACE,MAAM;CACJ,WAAW;CACX,iBAAiB;CACjB,gBAAgB;CAChB,cAAc;CACd,OAAO;CACP,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,0BAA0B,EACxB,YAAY,UACb;CACD,eAAe,EACb,WAAW,QACZ;CACF,EACF,EACD,EAAE,eAAe,MAAM,CACxB"}
1
+ {"version":3,"file":"Skeleton.js","names":["ark"],"sources":["../src/Skeleton.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 { styled } from \"@ndla/styled-system/jsx\";\nimport type { StyledProps } from \"@ndla/styled-system/types\";\n\nexport const Skeleton = styled(\n ark.div,\n {\n base: {\n animation: \"skeleton-pulse\",\n backgroundColor: \"surface.disabled\",\n backgroundClip: \"padding-box\",\n borderRadius: \"xsmall\",\n color: \"transparent\",\n cursor: \"default\",\n pointerEvents: \"none\",\n userSelect: \"none\",\n \"&::before, &::after, *\": {\n visibility: \"hidden\",\n },\n _motionReduce: {\n animation: \"none\",\n },\n },\n },\n { baseComponent: true },\n);\n\nexport interface SkeletonProps extends HTMLArkProps<\"div\">, StyledProps {}\n"],"mappings":";;;;;;;;;AAYA,MAAa,YAAA,oCAAA,EAAA,QACXA,cAAAA,IAAI,KACJ,EACE,MAAM;CACJ,WAAW;CACX,iBAAiB;CACjB,gBAAgB;CAChB,cAAc;CACd,OAAO;CACP,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,0BAA0B,EACxB,YAAY,SACd;CACA,eAAe,EACb,WAAW,OACb;AACF,EACF,GACA,EAAE,eAAe,KAAK,CACxB"}
package/lib/Slider.js CHANGED
@@ -22,6 +22,7 @@ const { withProvider, withContext } = (0, _ndla_styled_system_jsx.createStyleCon
22
22
  },
23
23
  control: {
24
24
  position: "relative",
25
+ cursor: "pointer",
25
26
  display: "flex",
26
27
  _vertical: { flexDirection: "column" },
27
28
  alignItems: "center",
package/lib/Slider.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Slider.js","names":["sliderAnatomy","Slider","Label"],"sources":["../src/Slider.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 { Slider, sliderAnatomy } 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 type { RefAttributes } from \"react\";\nimport { Label } from \"./Label\";\nimport { type TextProps } from \"./Text\";\n\nconst sliderRecipe = sva({\n slots: sliderAnatomy.keys(),\n base: {\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n gap: \"4xsmall\",\n width: \"100%\",\n },\n control: {\n position: \"relative\",\n display: \"flex\",\n _vertical: {\n flexDirection: \"column\",\n },\n alignItems: \"center\",\n height: \"medium\",\n },\n track: {\n background: \"surface.disabled\",\n overflow: \"hidden\",\n flex: \"1\",\n _vertical: {\n width: \"4xsmall\",\n },\n _horizontal: {\n height: \"4xsmall\",\n },\n },\n range: {\n background: \"surface.action\",\n _vertical: {\n width: \"4xsmall\",\n },\n _horizontal: {\n height: \"4xsmall\",\n },\n },\n thumb: {\n background: \"surface.action\",\n borderRadius: \"full\",\n outline: \"none\",\n zIndex: \"1\",\n height: \"medium\",\n width: \"medium\",\n transitionDuration: \"fast\",\n transitionTimingFunction: \"default\",\n transitionProperty: \"background\",\n _hover: {\n background: \"surface.action.hover\",\n },\n _active: {\n background: \"surface.action.active\",\n },\n _focusVisible: {\n border: \"2px solid\",\n borderColor: \"background.default\",\n outline: \"3px solid\",\n outlineColor: \"surface.action\",\n outlineOffset: \"0px\",\n },\n _motionReduce: {\n transition: \"none\",\n transitionDuration: \"0s\",\n },\n },\n },\n});\n\nconst { withProvider, withContext } = createStyleContext(sliderRecipe);\n\nexport interface SliderRootProps extends Slider.RootProps, StyledProps {}\n\nexport const SliderRoot = withProvider(Slider.Root, \"root\", { baseComponent: true });\n\nexport const SliderControl = withContext(Slider.Control, \"control\", { baseComponent: true });\n\nexport const SliderTrack = withContext(Slider.Track, \"track\", { baseComponent: true });\n\nexport const SliderRange = withContext(Slider.Range, \"range\", { baseComponent: true });\n\nexport const SliderThumb = withContext(Slider.Thumb, \"thumb\", { baseComponent: true });\n\nconst InternalSliderLabel = withContext(Slider.Label, \"label\");\n\ninterface SliderLabelProps\n extends Omit<Slider.LabelProps, \"color\">, TextProps, StyledProps, RefAttributes<HTMLLabelElement> {}\n\nexport const SliderLabel = ({ textStyle = \"label.medium\", ...props }: SliderLabelProps) => (\n <InternalSliderLabel asChild>\n <Label textStyle={textStyle} {...props} />\n </InternalSliderLabel>\n);\n\nexport const SliderHiddenInput = Slider.HiddenInput;\n"],"mappings":";;;;;;;;;;;;;AAqFA,MAAM,EAAE,cAAc,iBAAA,GAAA,wBAAA,qBAAA,GAAA,wBAAA,KArEG;CACvB,OAAOA,cAAAA,cAAc,MAAM;CAC3B,MAAM;EACJ,MAAM;GACJ,SAAS;GACT,eAAe;GACf,KAAK;GACL,OAAO;GACR;EACD,SAAS;GACP,UAAU;GACV,SAAS;GACT,WAAW,EACT,eAAe,UAChB;GACD,YAAY;GACZ,QAAQ;GACT;EACD,OAAO;GACL,YAAY;GACZ,UAAU;GACV,MAAM;GACN,WAAW,EACT,OAAO,WACR;GACD,aAAa,EACX,QAAQ,WACT;GACF;EACD,OAAO;GACL,YAAY;GACZ,WAAW,EACT,OAAO,WACR;GACD,aAAa,EACX,QAAQ,WACT;GACF;EACD,OAAO;GACL,YAAY;GACZ,cAAc;GACd,SAAS;GACT,QAAQ;GACR,QAAQ;GACR,OAAO;GACP,oBAAoB;GACpB,0BAA0B;GAC1B,oBAAoB;GACpB,QAAQ,EACN,YAAY,wBACb;GACD,SAAS,EACP,YAAY,yBACb;GACD,eAAe;IACb,QAAQ;IACR,aAAa;IACb,SAAS;IACT,cAAc;IACd,eAAe;IAChB;GACD,eAAe;IACb,YAAY;IACZ,oBAAoB;IACrB;GACF;EACF;CACF,CAAC,CAEoE;AAItE,MAAa,aAAa,aAAaC,cAAAA,OAAO,MAAM,QAAQ,EAAE,eAAe,MAAM,CAAC;AAEpF,MAAa,gBAAgB,YAAYA,cAAAA,OAAO,SAAS,WAAW,EAAE,eAAe,MAAM,CAAC;AAE5F,MAAa,cAAc,YAAYA,cAAAA,OAAO,OAAO,SAAS,EAAE,eAAe,MAAM,CAAC;AAEtF,MAAa,cAAc,YAAYA,cAAAA,OAAO,OAAO,SAAS,EAAE,eAAe,MAAM,CAAC;AAEtF,MAAa,cAAc,YAAYA,cAAAA,OAAO,OAAO,SAAS,EAAE,eAAe,MAAM,CAAC;AAEtF,MAAM,sBAAsB,YAAYA,cAAAA,OAAO,OAAO,QAAQ;AAK9D,MAAa,eAAe,EAAE,YAAY,gBAAgB,GAAG,YAC3D,iBAAA,GAAA,kBAAA,KAAC,qBAAD;CAAqB,SAAA;WACnB,iBAAA,GAAA,kBAAA,KAACC,cAAAA,OAAD;EAAkB;EAAW,GAAI;EAAS,CAAA;CACtB,CAAA;AAGxB,MAAa,oBAAoBD,cAAAA,OAAO"}
1
+ {"version":3,"file":"Slider.js","names":["sliderAnatomy","Slider","Label"],"sources":["../src/Slider.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 { Slider, sliderAnatomy } 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 type { RefAttributes } from \"react\";\nimport { Label } from \"./Label\";\nimport { type TextProps } from \"./Text\";\n\nconst sliderRecipe = sva({\n slots: sliderAnatomy.keys(),\n base: {\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n gap: \"4xsmall\",\n width: \"100%\",\n },\n control: {\n position: \"relative\",\n cursor: \"pointer\",\n display: \"flex\",\n _vertical: {\n flexDirection: \"column\",\n },\n alignItems: \"center\",\n height: \"medium\",\n },\n track: {\n background: \"surface.disabled\",\n overflow: \"hidden\",\n flex: \"1\",\n _vertical: {\n width: \"4xsmall\",\n },\n _horizontal: {\n height: \"4xsmall\",\n },\n },\n range: {\n background: \"surface.action\",\n _vertical: {\n width: \"4xsmall\",\n },\n _horizontal: {\n height: \"4xsmall\",\n },\n },\n thumb: {\n background: \"surface.action\",\n borderRadius: \"full\",\n outline: \"none\",\n zIndex: \"1\",\n height: \"medium\",\n width: \"medium\",\n transitionDuration: \"fast\",\n transitionTimingFunction: \"default\",\n transitionProperty: \"background\",\n _hover: {\n background: \"surface.action.hover\",\n },\n _active: {\n background: \"surface.action.active\",\n },\n _focusVisible: {\n border: \"2px solid\",\n borderColor: \"background.default\",\n outline: \"3px solid\",\n outlineColor: \"surface.action\",\n outlineOffset: \"0px\",\n },\n _motionReduce: {\n transition: \"none\",\n transitionDuration: \"0s\",\n },\n },\n },\n});\n\nconst { withProvider, withContext } = createStyleContext(sliderRecipe);\n\nexport interface SliderRootProps extends Slider.RootProps, StyledProps {}\n\nexport const SliderRoot = withProvider(Slider.Root, \"root\", { baseComponent: true });\n\nexport const SliderControl = withContext(Slider.Control, \"control\", { baseComponent: true });\n\nexport const SliderTrack = withContext(Slider.Track, \"track\", { baseComponent: true });\n\nexport const SliderRange = withContext(Slider.Range, \"range\", { baseComponent: true });\n\nexport const SliderThumb = withContext(Slider.Thumb, \"thumb\", { baseComponent: true });\n\nconst InternalSliderLabel = withContext(Slider.Label, \"label\");\n\ninterface SliderLabelProps\n extends Omit<Slider.LabelProps, \"color\">, TextProps, StyledProps, RefAttributes<HTMLLabelElement> {}\n\nexport const SliderLabel = ({ textStyle = \"label.medium\", ...props }: SliderLabelProps) => (\n <InternalSliderLabel asChild>\n <Label textStyle={textStyle} {...props} />\n </InternalSliderLabel>\n);\n\nexport const SliderHiddenInput = Slider.HiddenInput;\n"],"mappings":";;;;;;;;;;;;;AAsFA,MAAM,EAAE,cAAc,iBAAA,GAAA,wBAAA,qBAAA,GAAA,wBAAA,KAtEG;CACvB,OAAOA,cAAAA,cAAc,KAAK;CAC1B,MAAM;EACJ,MAAM;GACJ,SAAS;GACT,eAAe;GACf,KAAK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AAA;AACtB,CAAA;AAGvB,MAAa,oBAAoBD,cAAAA,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"Spinner.js","names":["ark","css"],"sources":["../src/Spinner.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 { type RecipeVariantProps, css, cva } from \"@ndla/styled-system/css\";\nimport { styled } from \"@ndla/styled-system/jsx\";\nimport type { StyledProps } from \"@ndla/styled-system/types\";\nimport { forwardRef } from \"react\";\n\nexport const spinnerRecipe = cva({\n base: {\n borderRadius: \"full\",\n animation: \"spin\",\n display: \"block\",\n marginInline: \"auto\",\n borderStyle: \"solid\",\n borderBlockColor: \"background.subtle\",\n borderInlineStartColor: \"background.subtle\",\n borderInlineEndColor: \"stroke.default\",\n _motionReduce: {\n animationDuration: \"2s\",\n },\n },\n defaultVariants: {\n size: \"large\",\n },\n variants: {\n size: {\n small: {\n borderWidth: \"4px\",\n height: \"small\",\n width: \"small\",\n },\n medium: {\n borderWidth: \"4px\",\n height: \"large\",\n width: \"large\",\n },\n large: {\n borderWidth: \"8px\",\n height: \"xxlarge\",\n width: \"xxlarge\",\n },\n },\n },\n});\n\nexport type SpinnerVariantProps = NonNullable<RecipeVariantProps<typeof spinnerRecipe>>;\n\nexport interface SpinnerProps extends HTMLArkProps<\"div\">, StyledProps, SpinnerVariantProps {}\n\nconst StyledSpinner = styled(ark.div, {}, { baseComponent: true });\n\nexport const Spinner = forwardRef<HTMLDivElement, SpinnerProps>(({ size, css: cssProp, ...props }, ref) => (\n <StyledSpinner css={css.raw(spinnerRecipe.raw({ size }), cssProp)} {...props} ref={ref} />\n));\n"],"mappings":";;;;;;;;;;;;;AAcA,MAAa,iBAAA,GAAA,wBAAA,KAAoB;CAC/B,MAAM;EACJ,cAAc;EACd,WAAW;EACX,SAAS;EACT,cAAc;EACd,aAAa;EACb,kBAAkB;EAClB,wBAAwB;EACxB,sBAAsB;EACtB,eAAe,EACb,mBAAmB,MACpB;EACF;CACD,iBAAiB,EACf,MAAM,SACP;CACD,UAAU,EACR,MAAM;EACJ,OAAO;GACL,aAAa;GACb,QAAQ;GACR,OAAO;GACR;EACD,QAAQ;GACN,aAAa;GACb,QAAQ;GACR,OAAO;GACR;EACD,OAAO;GACL,aAAa;GACb,QAAQ;GACR,OAAO;GACR;EACF,EACF;CACF,CAAC;AAMF,MAAM,iBAAA,GAAA,wBAAA,QAAuBA,cAAAA,IAAI,KAAK,EAAE,EAAE,EAAE,eAAe,MAAM,CAAC;AAElE,MAAa,WAAA,GAAA,MAAA,aAAoD,EAAE,MAAM,KAAK,SAAS,GAAG,SAAS,QACjG,iBAAA,GAAA,kBAAA,KAAC,eAAD;CAAe,KAAKC,wBAAAA,IAAI,IAAI,cAAc,IAAI,EAAE,MAAM,CAAC,EAAE,QAAQ;CAAE,GAAI;CAAY;CAAO,CAAA,CAC1F"}
1
+ {"version":3,"file":"Spinner.js","names":["ark","css"],"sources":["../src/Spinner.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 { type RecipeVariantProps, css, cva } from \"@ndla/styled-system/css\";\nimport { styled } from \"@ndla/styled-system/jsx\";\nimport type { StyledProps } from \"@ndla/styled-system/types\";\nimport { forwardRef } from \"react\";\n\nexport const spinnerRecipe = cva({\n base: {\n borderRadius: \"full\",\n animation: \"spin\",\n display: \"block\",\n marginInline: \"auto\",\n borderStyle: \"solid\",\n borderBlockColor: \"background.subtle\",\n borderInlineStartColor: \"background.subtle\",\n borderInlineEndColor: \"stroke.default\",\n _motionReduce: {\n animationDuration: \"2s\",\n },\n },\n defaultVariants: {\n size: \"large\",\n },\n variants: {\n size: {\n small: {\n borderWidth: \"4px\",\n height: \"small\",\n width: \"small\",\n },\n medium: {\n borderWidth: \"4px\",\n height: \"large\",\n width: \"large\",\n },\n large: {\n borderWidth: \"8px\",\n height: \"xxlarge\",\n width: \"xxlarge\",\n },\n },\n },\n});\n\nexport type SpinnerVariantProps = NonNullable<RecipeVariantProps<typeof spinnerRecipe>>;\n\nexport interface SpinnerProps extends HTMLArkProps<\"div\">, StyledProps, SpinnerVariantProps {}\n\nconst StyledSpinner = styled(ark.div, {}, { baseComponent: true });\n\nexport const Spinner = forwardRef<HTMLDivElement, SpinnerProps>(({ size, css: cssProp, ...props }, ref) => (\n <StyledSpinner css={css.raw(spinnerRecipe.raw({ size }), cssProp)} {...props} ref={ref} />\n));\n"],"mappings":";;;;;;;;;;;;;AAcA,MAAa,iBAAA,GAAA,wBAAA,KAAoB;CAC/B,MAAM;EACJ,cAAc;EACd,WAAW;EACX,SAAS;EACT,cAAc;EACd,aAAa;EACb,kBAAkB;EAClB,wBAAwB;EACxB,sBAAsB;EACtB,eAAe,EACb,mBAAmB,KACrB;CACF;CACA,iBAAiB,EACf,MAAM,QACR;CACA,UAAU,EACR,MAAM;EACJ,OAAO;GACL,aAAa;GACb,QAAQ;GACR,OAAO;EACT;EACA,QAAQ;GACN,aAAa;GACb,QAAQ;GACR,OAAO;EACT;EACA,OAAO;GACL,aAAa;GACb,QAAQ;GACR,OAAO;EACT;CACF,EACF;AACF,CAAC;AAMD,MAAM,iBAAA,GAAA,wBAAA,QAAuBA,cAAAA,IAAI,KAAK,CAAC,GAAG,EAAE,eAAe,KAAK,CAAC;AAEjE,MAAa,WAAA,GAAA,MAAA,aAAoD,EAAE,MAAM,KAAK,SAAS,GAAG,SAAS,QACjG,iBAAA,GAAA,kBAAA,KAAC,eAAD;CAAe,KAAKC,wBAAAA,IAAI,IAAI,cAAc,IAAI,EAAE,KAAK,CAAC,GAAG,OAAO;CAAG,GAAI;CAAY;AAAM,CAAA,CAC1F"}
package/lib/Switch.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.js","names":["switchAnatomy","Switch","Text"],"sources":["../src/Switch.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 { Switch, switchAnatomy } from \"@ark-ui/react\";\nimport { type RecipeVariantProps, sva } from \"@ndla/styled-system/css\";\nimport { createStyleContext } from \"@ndla/styled-system/jsx\";\nimport type { StyledProps } from \"@ndla/styled-system/types\";\nimport type { RefAttributes } from \"react\";\nimport { Text, type TextProps } from \"./Text\";\n\nconst switchRecipe = sva({\n slots: switchAnatomy.keys(),\n base: {\n root: {\n display: \"inline-flex\",\n alignItems: \"center\",\n position: \"relative\",\n gap: \"xxsmall\",\n _focus: {\n outline: \"2px solid\",\n outlineOffset: \"4xsmall\",\n outlineColor: \"stroke.default\",\n borderRadius: \"xsmall\",\n },\n },\n control: {\n display: \"inline-flex\",\n alignItems: \"center\",\n background: \"surface.disabled.strong\",\n width: \"xxlarge\",\n padding: \"1\",\n borderRadius: \"medium\",\n cursor: \"pointer\",\n flexShrink: \"0\",\n transitionDuration: \"fast\",\n transitionProperty: \"background\",\n transitionTimingFunction: \"default\",\n _checked: {\n background: \"surface.action.active\",\n },\n _disabled: {\n background: \"surface.disabled\",\n cursor: \"not-allowed\",\n },\n _motionReduce: {\n transition: \"none\",\n transitionDuration: \"0s\",\n },\n },\n thumb: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n background: \"icon.onAction\",\n borderRadius: \"full\",\n boxShadow: \"small\",\n transitionDuration: \"fast\",\n transitionProperty: \"transform\",\n transitionTimingFunction: \"default\",\n width: \"10\",\n height: \"10\",\n textStyle: \"label.xsmall\",\n fontWeight: \"bold\",\n _hover: {\n transform: \"translateX(20%)\",\n _disabled: {\n transform: \"translateX(0)\",\n },\n _motionReduce: {\n transform: \"translateX(0)\",\n },\n },\n _checked: {\n transform: \"translateX(120%)\",\n _hover: {\n transform: \"translateX(100%)\",\n _disabled: {\n transform: \"translateX(120%)\",\n },\n _motionReduce: {\n transform: \"translateX(120%)\",\n },\n },\n },\n },\n label: {\n color: \"text.strong\",\n transitionDuration: \"fast\",\n transitionProperty: \"color\",\n transitionTimingFunction: \"default\",\n _hover: {\n color: \"text.action\",\n },\n _disabled: {\n color: \"text.disabled\",\n _hover: {\n color: \"text.disabled\",\n },\n },\n _motionReduce: {\n transition: \"none\",\n transitionDuration: \"0s\",\n },\n },\n },\n});\n\nconst { withProvider, withContext } = createStyleContext(switchRecipe);\n\nexport type SwitchVariantProps = NonNullable<RecipeVariantProps<typeof switchRecipe>>;\n\nexport interface SwitchRootProps extends Switch.RootProps, StyledProps, SwitchVariantProps {}\n\nexport const SwitchRoot = withProvider(Switch.Root, \"root\", { baseComponent: true });\n\nexport const SwitchControl = withContext(Switch.Control, \"control\", { baseComponent: true });\n\nexport const SwitchThumb = withContext(Switch.Thumb, \"thumb\", { baseComponent: true });\n\nconst InternalSwitchLabel = withContext(Switch.Label, \"label\");\n\ninterface SwitchLabelProps\n extends Omit<Switch.LabelProps, \"color\">, TextProps, StyledProps, RefAttributes<HTMLSpanElement> {}\n\nexport const SwitchLabel = ({ textStyle = \"label.medium\", children, ...props }: SwitchLabelProps) => (\n <InternalSwitchLabel asChild {...props}>\n <Text asChild consumeCss textStyle={textStyle}>\n <span>{children}</span>\n </Text>\n </InternalSwitchLabel>\n);\n\nexport const SwitchHiddenInput = Switch.HiddenInput;\n"],"mappings":";;;;;;;;;;;;;AAgHA,MAAM,EAAE,cAAc,iBAAA,GAAA,wBAAA,qBAAA,GAAA,wBAAA,KAjGG;CACvB,OAAOA,cAAAA,cAAc,MAAM;CAC3B,MAAM;EACJ,MAAM;GACJ,SAAS;GACT,YAAY;GACZ,UAAU;GACV,KAAK;GACL,QAAQ;IACN,SAAS;IACT,eAAe;IACf,cAAc;IACd,cAAc;IACf;GACF;EACD,SAAS;GACP,SAAS;GACT,YAAY;GACZ,YAAY;GAC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kBAAA,KAACC,aAAAA,MAAD;EAAM,SAAA;EAAQ,YAAA;EAAsB;YAClC,iBAAA,GAAA,kBAAA,KAAC,QAAD,EAAO,UAAgB,CAAA;EAClB,CAAA;CACa,CAAA;AAGxB,MAAa,oBAAoBD,cAAAA,OAAO"}
1
+ {"version":3,"file":"Switch.js","names":["switchAnatomy","Switch","Text"],"sources":["../src/Switch.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 { Switch, switchAnatomy } from \"@ark-ui/react\";\nimport { type RecipeVariantProps, sva } from \"@ndla/styled-system/css\";\nimport { createStyleContext } from \"@ndla/styled-system/jsx\";\nimport type { StyledProps } from \"@ndla/styled-system/types\";\nimport type { RefAttributes } from \"react\";\nimport { Text, type TextProps } from \"./Text\";\n\nconst switchRecipe = sva({\n slots: switchAnatomy.keys(),\n base: {\n root: {\n display: \"inline-flex\",\n alignItems: \"center\",\n position: \"relative\",\n gap: \"xxsmall\",\n _focus: {\n outline: \"2px solid\",\n outlineOffset: \"4xsmall\",\n outlineColor: \"stroke.default\",\n borderRadius: \"xsmall\",\n },\n },\n control: {\n display: \"inline-flex\",\n alignItems: \"center\",\n background: \"surface.disabled.strong\",\n width: \"xxlarge\",\n padding: \"1\",\n borderRadius: \"medium\",\n cursor: \"pointer\",\n flexShrink: \"0\",\n transitionDuration: \"fast\",\n transitionProperty: \"background\",\n transitionTimingFunction: \"default\",\n _checked: {\n background: \"surface.action.active\",\n },\n _disabled: {\n background: \"surface.disabled\",\n cursor: \"not-allowed\",\n },\n _motionReduce: {\n transition: \"none\",\n transitionDuration: \"0s\",\n },\n },\n thumb: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n background: \"icon.onAction\",\n borderRadius: \"full\",\n boxShadow: \"small\",\n transitionDuration: \"fast\",\n transitionProperty: \"transform\",\n transitionTimingFunction: \"default\",\n width: \"10\",\n height: \"10\",\n textStyle: \"label.xsmall\",\n fontWeight: \"bold\",\n _hover: {\n transform: \"translateX(20%)\",\n _disabled: {\n transform: \"translateX(0)\",\n },\n _motionReduce: {\n transform: \"translateX(0)\",\n },\n },\n _checked: {\n transform: \"translateX(120%)\",\n _hover: {\n transform: \"translateX(100%)\",\n _disabled: {\n transform: \"translateX(120%)\",\n },\n _motionReduce: {\n transform: \"translateX(120%)\",\n },\n },\n },\n },\n label: {\n color: \"text.strong\",\n transitionDuration: \"fast\",\n transitionProperty: \"color\",\n transitionTimingFunction: \"default\",\n _hover: {\n color: \"text.action\",\n },\n _disabled: {\n color: \"text.disabled\",\n _hover: {\n color: \"text.disabled\",\n },\n },\n _motionReduce: {\n transition: \"none\",\n transitionDuration: \"0s\",\n },\n },\n },\n});\n\nconst { withProvider, withContext } = createStyleContext(switchRecipe);\n\nexport type SwitchVariantProps = NonNullable<RecipeVariantProps<typeof switchRecipe>>;\n\nexport interface SwitchRootProps extends Switch.RootProps, StyledProps, SwitchVariantProps {}\n\nexport const SwitchRoot = withProvider(Switch.Root, \"root\", { baseComponent: true });\n\nexport const SwitchControl = withContext(Switch.Control, \"control\", { baseComponent: true });\n\nexport const SwitchThumb = withContext(Switch.Thumb, \"thumb\", { baseComponent: true });\n\nconst InternalSwitchLabel = withContext(Switch.Label, \"label\");\n\ninterface SwitchLabelProps\n extends Omit<Switch.LabelProps, \"color\">, TextProps, StyledProps, RefAttributes<HTMLSpanElement> {}\n\nexport const SwitchLabel = ({ textStyle = \"label.medium\", children, ...props }: SwitchLabelProps) => (\n <InternalSwitchLabel asChild {...props}>\n <Text asChild consumeCss textStyle={textStyle}>\n <span>{children}</span>\n </Text>\n </InternalSwitchLabel>\n);\n\nexport const SwitchHiddenInput = Switch.HiddenInput;\n"],"mappings":";;;;;;;;;;;;;AAgHA,MAAM,EAAE,cAAc,iBAAA,GAAA,wBAAA,qBAAA,GAAA,wBAAA,KAjGG;CACvB,OAAOA,cAAAA,cAAc,KAAK;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AAsB,YAAYA,cAAAA,OAAO,OAAO,OAAO;AAK7D,MAAa,eAAe,EAAE,YAAY,gBAAgB,UAAU,GAAG,YACrE,iBAAA,GAAA,kBAAA,KAAC,qBAAD;CAAqB,SAAA;CAAQ,GAAI;WAC/B,iBAAA,GAAA,kBAAA,KAACC,aAAAA,MAAD;EAAM,SAAA;EAAQ,YAAA;EAAsB;YAClC,iBAAA,GAAA,kBAAA,KAAC,QAAD,EAAO,SAAe,CAAA;CAClB,CAAA;AACa,CAAA;AAGvB,MAAa,oBAAoBD,cAAAA,OAAO"}
package/lib/Table.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Table.js","names":["ark"],"sources":["../src/Table.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 { styled } from \"@ndla/styled-system/jsx\";\nimport type { StyledProps } from \"@ndla/styled-system/types\";\n\nexport interface TableProps extends HTMLArkProps<\"table\">, StyledProps {}\n\nexport const Table = styled(\n ark.table,\n {\n base: {\n display: \"block\",\n overflowX: \"auto\",\n maxWidth: \"100%\",\n padding: \"4xsmall\",\n tableLayout: \"fixed\",\n clear: \"both\",\n \"& > caption\": {\n fontWeight: \"bold\",\n textAlign: \"left\",\n textTransform: \"uppercase\",\n marginBlockEnd: \"xsmall\",\n },\n \"& thead\": {\n overflow: \"hidden\",\n },\n \"& thead tr th\": {\n fontWeight: \"bold\",\n borderBottom: \"3px solid\",\n borderColor: \"surface.brand.1.strong\",\n verticalAlign: \"text-top\",\n },\n \"& tbody th\": {\n borderRight: \"3px solid\",\n borderColor: \"surface.brand.1.strong\",\n padding: \"3xsmall\",\n },\n \"& thead tr:nth-child(2) th\": {\n border: \"1px solid\",\n borderColor: \"surface.brand.1.subtle\",\n textTransform: \"none\",\n fontWeight: \"semibold\",\n height: \"large\",\n backgroundColor: \"surface.brand.1.subtle\",\n paddingBlock: \"4xsmall\",\n paddingInlineEnd: \"medium\",\n paddingInlineStart: \"3xsmall\",\n _empty: {\n backgroundColor: \"transparent\",\n },\n },\n \"& td\": {\n border: \"1px solid\",\n borderColor: \"surface.brand.1.subtle\",\n verticalAlign: \"top\",\n },\n \"& td, & th\": {\n display: \"table-cell\",\n paddingInline: \"xsmall\",\n paddingBlock: \"3xsmall\",\n minWidth: \"large\",\n \"&[data-align='center']\": {\n textAlign: \"center\",\n },\n \"&[data-align='left']\": {\n textAlign: \"left\",\n },\n \"&[data-align='right']\": {\n textAlign: \"right\",\n },\n },\n },\n },\n // TODO: Chrome doesn't support automatically making overflowed elements tabbable yet. Revisit this in a year or two\n { baseComponent: true, defaultProps: { tabIndex: 0 } },\n);\n"],"mappings":";;;;;;;;;AAcA,MAAa,SAAA,sCAAA,QACXA,cAAAA,IAAI,OACJ,EACE,MAAM;CACJ,SAAS;CACT,WAAW;CACX,UAAU;CACV,SAAS;CACT,aAAa;CACb,OAAO;CACP,eAAe;EACb,YAAY;EACZ,WAAW;EACX,eAAe;EACf,gBAAgB;EACjB;CACD,WAAW,EACT,UAAU,UACX;CACD,iBAAiB;EACf,YAAY;EACZ,cAAc;EACd,aAAa;EACb,eAAe;EAChB;CACD,cAAc;EACZ,aAAa;EACb,aAAa;EACb,SAAS;EACV;CACD,8BAA8B;EAC5B,QAAQ;EACR,aAAa;EACb,eAAe;EACf,YAAY;EACZ,QAAQ;EACR,iBAAiB;EACjB,cAAc;EACd,kBAAkB;EAClB,oBAAoB;EACpB,QAAQ,EACN,iBAAiB,eAClB;EACF;CACD,QAAQ;EACN,QAAQ;EACR,aAAa;EACb,eAAe;EAChB;CACD,cAAc;EACZ,SAAS;EACT,eAAe;EACf,cAAc;EACd,UAAU;EACV,0BAA0B,EACxB,WAAW,UACZ;EACD,wBAAwB,EACtB,WAAW,QACZ;EACD,yBAAyB,EACvB,WAAW,SACZ;EACF;CACF,EACF,EAED;CAAE,eAAe;CAAM,cAAc,EAAE,UAAU,GAAG;CAAE,CACvD"}
1
+ {"version":3,"file":"Table.js","names":["ark"],"sources":["../src/Table.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 { styled } from \"@ndla/styled-system/jsx\";\nimport type { StyledProps } from \"@ndla/styled-system/types\";\n\nexport interface TableProps extends HTMLArkProps<\"table\">, StyledProps {}\n\nexport const Table = styled(\n ark.table,\n {\n base: {\n display: \"block\",\n overflowX: \"auto\",\n maxWidth: \"100%\",\n padding: \"4xsmall\",\n tableLayout: \"fixed\",\n clear: \"both\",\n \"& > caption\": {\n fontWeight: \"bold\",\n textAlign: \"left\",\n textTransform: \"uppercase\",\n marginBlockEnd: \"xsmall\",\n },\n \"& thead\": {\n overflow: \"hidden\",\n },\n \"& thead tr th\": {\n fontWeight: \"bold\",\n borderBottom: \"3px solid\",\n borderColor: \"surface.brand.1.strong\",\n verticalAlign: \"text-top\",\n },\n \"& tbody th\": {\n borderRight: \"3px solid\",\n borderColor: \"surface.brand.1.strong\",\n padding: \"3xsmall\",\n },\n \"& thead tr:nth-child(2) th\": {\n border: \"1px solid\",\n borderColor: \"surface.brand.1.subtle\",\n textTransform: \"none\",\n fontWeight: \"semibold\",\n height: \"large\",\n backgroundColor: \"surface.brand.1.subtle\",\n paddingBlock: \"4xsmall\",\n paddingInlineEnd: \"medium\",\n paddingInlineStart: \"3xsmall\",\n _empty: {\n backgroundColor: \"transparent\",\n },\n },\n \"& td\": {\n border: \"1px solid\",\n borderColor: \"surface.brand.1.subtle\",\n verticalAlign: \"top\",\n },\n \"& td, & th\": {\n display: \"table-cell\",\n paddingInline: \"xsmall\",\n paddingBlock: \"3xsmall\",\n minWidth: \"large\",\n \"&[data-align='center']\": {\n textAlign: \"center\",\n },\n \"&[data-align='left']\": {\n textAlign: \"left\",\n },\n \"&[data-align='right']\": {\n textAlign: \"right\",\n },\n },\n },\n },\n // TODO: Chrome doesn't support automatically making overflowed elements tabbable yet. Revisit this in a year or two\n { baseComponent: true, defaultProps: { tabIndex: 0 } },\n);\n"],"mappings":";;;;;;;;;AAcA,MAAa,SAAA,oCAAA,EAAA,QACXA,cAAAA,IAAI,OACJ,EACE,MAAM;CACJ,SAAS;CACT,WAAW;CACX,UAAU;CACV,SAAS;CACT,aAAa;CACb,OAAO;CACP,eAAe;EACb,YAAY;EACZ,WAAW;EACX,eAAe;EACf,gBAAgB;CAClB;CACA,WAAW,EACT,UAAU,SACZ;CACA,iBAAiB;EACf,YAAY;EACZ,cAAc;EACd,aAAa;EACb,eAAe;CACjB;CACA,cAAc;EACZ,aAAa;EACb,aAAa;EACb,SAAS;CACX;CACA,8BAA8B;EAC5B,QAAQ;EACR,aAAa;EACb,eAAe;EACf,YAAY;EACZ,QAAQ;EACR,iBAAiB;EACjB,cAAc;EACd,kBAAkB;EAClB,oBAAoB;EACpB,QAAQ,EACN,iBAAiB,cACnB;CACF;CACA,QAAQ;EACN,QAAQ;EACR,aAAa;EACb,eAAe;CACjB;CACA,cAAc;EACZ,SAAS;EACT,eAAe;EACf,cAAc;EACd,UAAU;EACV,0BAA0B,EACxB,WAAW,SACb;EACA,wBAAwB,EACtB,WAAW,OACb;EACA,yBAAyB,EACvB,WAAW,QACb;CACF;AACF,EACF,GAEA;CAAE,eAAe;CAAM,cAAc,EAAE,UAAU,EAAE;AAAE,CACvD"}
package/lib/Tabs.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.js","names":["Tabs"],"sources":["../src/Tabs.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 { Tabs } from \"@ark-ui/react\";\nimport { type RecipeVariantProps, cx, sva } from \"@ndla/styled-system/css\";\nimport { createStyleContext } from \"@ndla/styled-system/jsx\";\nimport type { StyledProps } from \"@ndla/styled-system/types\";\nimport type { RefAttributes } from \"react\";\n\nconst tabsRecipe = sva({\n // TODO: This still doesn't work. Need to figure out why we need to pass keys manually.\n // slots: tabsAnatomy.keys(),\n slots: [\"root\", \"list\", \"trigger\", \"content\", \"indicator\"],\n base: {\n root: {\n position: \"relative\",\n display: \"flex\",\n width: \"100%\",\n _horizontal: {\n flexDirection: \"column\",\n },\n _vertical: {\n flexDirection: \"row\",\n },\n },\n list: {\n position: \"relative\",\n display: \"flex\",\n flexShrink: \"0\",\n flexWrap: \"wrap\",\n _horizontal: {\n flexDirection: \"row\",\n },\n _vertical: {\n flexDirection: \"column\",\n },\n },\n trigger: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n flexShrink: \"0\",\n cursor: \"pointer\",\n textStyle: \"label.small\",\n fontWeight: \"bold\",\n transitionDuration: \"normal\",\n transitionProperty: \"color, background, border-color\",\n transitionTimingFunction: \"default\",\n whiteSpace: \"nowrap\",\n paddingInline: \"small\",\n paddingBlock: \"3xsmall\",\n zIndex: \"1\",\n _hover: {\n color: \"text.action\",\n },\n _selected: {\n color: \"text.strong\",\n },\n _disabled: {\n color: \"text.subtle\",\n cursor: \"not-allowed\",\n _hover: {\n color: \"text.subtle\",\n },\n },\n _motionReduce: {\n transition: \"none\",\n transitionDuration: \"0s\",\n },\n },\n content: {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n gap: \"xsmall\",\n },\n },\n defaultVariants: {\n variant: \"line\",\n },\n variants: {\n variant: {\n line: {\n trigger: {\n borderColor: \"stroke.default\",\n _hover: {\n borderColor: \"stroke.hover\",\n _focusVisible: {\n borderColor: \"stroke.default\",\n },\n },\n _horizontal: {\n borderBottom: \"1px solid\",\n },\n _disabled: {\n borderColor: \"stroke.default\",\n _hover: {\n borderColor: \"stroke.default\",\n },\n },\n _vertical: {\n borderLeft: \"1px solid\",\n justifyContent: \"flex-start\",\n },\n _focusVisible: {\n outline: \"none\",\n borderRadius: \"unset\",\n },\n },\n indicator: {\n background: \"stroke.default\",\n _peerFocusVisible: {\n height: \"var(--height)\",\n width: \"var(--width)\",\n outline: \"3px solid\",\n outlineOffset: \"-3px\",\n outlineColor: \"stroke.default\",\n background: \"transparent\",\n _horizontal: {\n borderTopRadius: \"xsmall\",\n },\n _vertical: {\n borderRightRadius: \"xsmall\",\n },\n },\n _horizontal: {\n top: \"calc(var(--top) + var(--height) - 6px)\",\n height: \"3\",\n width: \"var(--width)\",\n _peerFocusVisible: { top: \"var(--top)\" },\n },\n _vertical: {\n height: \"var(--height)\",\n left: \"0\",\n width: \"3\",\n },\n },\n content: {\n zIndex: \"1\",\n _horizontal: {\n paddingBlockStart: \"xsmall\",\n },\n _vertical: {\n paddingInlineStart: \"xsmall\",\n },\n _focusVisible: {\n outline: \"none\",\n boxShadow: \"0 0 0 3px var(--shadow-color)\",\n boxShadowColor: \"stroke.default\",\n },\n },\n },\n outline: {\n list: {\n _horizontal: {\n marginBlockEnd: \"-1px\",\n },\n _vertical: {\n marginInlineEnd: \"-1px\",\n },\n },\n trigger: {\n borderColor: \"transparent\",\n borderWidth: \"1px\",\n _horizontal: {\n borderTopRadius: \"xsmall\",\n },\n _vertical: {\n borderTopLeftRadius: \"xsmall\",\n borderBottomLeftRadius: \"xsmall\",\n },\n _selected: {\n background: \"surface.default\",\n borderColor: \"stroke.default\",\n _horizontal: {\n borderBottom: \"none\",\n },\n _vertical: {\n borderRight: \"none\",\n },\n },\n _focusVisible: {\n outline: \"3px solid\",\n outlineOffset: \"-3px\",\n outlineColor: \"stroke.default\",\n },\n },\n content: {\n borderWidth: \"1px\",\n borderColor: \"stroke.default\",\n background: \"surface.default\",\n width: \"100%\",\n padding: \"xsmall\",\n _vertical: {\n borderBottomRadius: \"xsmall\",\n borderRightRadius: \"xsmall\",\n },\n _horizontal: {\n borderRightRadius: \"xsmall\",\n borderBottomLeftRadius: \"xsmall\",\n },\n _focusVisible: {\n outline: \"3px solid\",\n outlineOffset: \"-3px\",\n outlineColor: \"stroke.default\",\n },\n },\n },\n },\n },\n});\n\nconst { withProvider, withContext } = createStyleContext(tabsRecipe);\n\nexport type TabsVariantProps = NonNullable<RecipeVariantProps<typeof tabsRecipe>>;\n\nexport interface TabsRootProps extends Tabs.RootProps, TabsVariantProps, StyledProps, RefAttributes<HTMLDivElement> {\n translations: Tabs.RootProps[\"translations\"];\n}\n\nconst InternalTabsRoot = withProvider(Tabs.Root, \"root\", { baseComponent: true });\n\nexport const TabsRoot = ({ lazyMount = true, unmountOnExit = true, ...props }: TabsRootProps) => (\n <InternalTabsRoot lazyMount={lazyMount} unmountOnExit={unmountOnExit} {...props} />\n);\n\nexport const TabsContent = withContext(Tabs.Content, \"content\", { baseComponent: true });\n\nexport const TabsIndicator = withContext(Tabs.Indicator, \"indicator\", { baseComponent: true });\n\nexport const TabsList = withContext(Tabs.List, \"list\", { baseComponent: true });\n\nconst InternalTabsTrigger = withContext(Tabs.Trigger, \"trigger\", { baseComponent: true });\n\ninterface TabsTriggerProps extends Tabs.TriggerProps, StyledProps, RefAttributes<HTMLButtonElement> {}\n\nexport const TabsTrigger = ({ className, ...props }: TabsTriggerProps) => (\n <InternalTabsTrigger className={cx(\"peer\", className)} {...props} />\n);\n"],"mappings":";;;;;;;;;;;;AAyNA,MAAM,EAAE,cAAc,iBAAA,GAAA,wBAAA,qBAAA,GAAA,wBAAA,KA3MC;CAGrB,OAAO;EAAC;EAAQ;EAAQ;EAAW;EAAW;EAAY;CAC1D,MAAM;EACJ,MAAM;GACJ,UAAU;GACV,SAAS;GACT,OAAO;GACP,aAAa,EACX,eAAe,UAChB;GACD,WAAW,EACT,eAAe,OAChB;GACF;EACD,MAAM;GACJ,UAAU;GACV,SAAS;GACT,YAAY;GACZ,UAAU;GACV,aAAa,EACX,eAAe,OAChB;GACD,WAAW,EACT,eAAe,UAChB;GACF;EACD,SAAS;GACP,SAAS;GACT,YAAY;GACZ,gBAAgB;GAChB,YAAY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Aa;IACb,aAAa,EACX,iBAAiB,UAClB;IACD,WAAW;KACT,qBAAqB;KACrB,wBAAwB;KACzB;IACD,WAAW;KACT,YAAY;KACZ,aAAa;KACb,aAAa,EACX,cAAc,QACf;KACD,WAAW,EACT,aAAa,QACd;KACF;IACD,eAAe;KACb,SAAS;KACT,eAAe;KACf,cAAc;KACf;IACF;GACD,SAAS;IACP,aAAa;IACb,aAAa;IACb,YAAY;IACZ,OAAO;IACP,SAAS;IACT,WAAW;KACT,oBAAoB;KACpB,mBAAmB;KACpB;IACD,aAAa;KACX,mBAAmB;KACnB,wBAAwB;KACzB;IACD,eAAe;KACb,SAAS;KACT,eAAe;KACf,cAAc;KACf;IACF;GACF;EACF,EACF;CACF,CAAC,CAEkE;AAQpE,MAAM,mBAAmB,aAAaA,cAAAA,KAAK,MAAM,QAAQ,EAAE,eAAe,MAAM,CAAC;AAEjF,MAAa,YAAY,EAAE,YAAY,MAAM,gBAAgB,MAAM,GAAG,YACpE,iBAAA,GAAA,kBAAA,KAAC,kBAAD;CAA6B;CAA0B;CAAe,GAAI;CAAS,CAAA;AAGrF,MAAa,cAAc,YAAYA,cAAAA,KAAK,SAAS,WAAW,EAAE,eAAe,MAAM,CAAC;AAExF,MAAa,gBAAgB,YAAYA,cAAAA,KAAK,WAAW,aAAa,EAAE,eAAe,MAAM,CAAC;AAE9F,MAAa,WAAW,YAAYA,cAAAA,KAAK,MAAM,QAAQ,EAAE,eAAe,MAAM,CAAC;AAE/E,MAAM,sBAAsB,YAAYA,cAAAA,KAAK,SAAS,WAAW,EAAE,eAAe,MAAM,CAAC;AAIzF,MAAa,eAAe,EAAE,WAAW,GAAG,YAC1C,iBAAA,GAAA,kBAAA,KAAC,qBAAD;CAAqB,YAAA,GAAA,wBAAA,IAAc,QAAQ,UAAU;CAAE,GAAI;CAAS,CAAA"}
1
+ {"version":3,"file":"Tabs.js","names":["Tabs"],"sources":["../src/Tabs.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 { Tabs } from \"@ark-ui/react\";\nimport { type RecipeVariantProps, cx, sva } from \"@ndla/styled-system/css\";\nimport { createStyleContext } from \"@ndla/styled-system/jsx\";\nimport type { StyledProps } from \"@ndla/styled-system/types\";\nimport type { RefAttributes } from \"react\";\n\nconst tabsRecipe = sva({\n // TODO: This still doesn't work. Need to figure out why we need to pass keys manually.\n // slots: tabsAnatomy.keys(),\n slots: [\"root\", \"list\", \"trigger\", \"content\", \"indicator\"],\n base: {\n root: {\n position: \"relative\",\n display: \"flex\",\n width: \"100%\",\n _horizontal: {\n flexDirection: \"column\",\n },\n _vertical: {\n flexDirection: \"row\",\n },\n },\n list: {\n position: \"relative\",\n display: \"flex\",\n flexShrink: \"0\",\n flexWrap: \"wrap\",\n _horizontal: {\n flexDirection: \"row\",\n },\n _vertical: {\n flexDirection: \"column\",\n },\n },\n trigger: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n flexShrink: \"0\",\n cursor: \"pointer\",\n textStyle: \"label.small\",\n fontWeight: \"bold\",\n transitionDuration: \"normal\",\n transitionProperty: \"color, background, border-color\",\n transitionTimingFunction: \"default\",\n whiteSpace: \"nowrap\",\n paddingInline: \"small\",\n paddingBlock: \"3xsmall\",\n zIndex: \"1\",\n _hover: {\n color: \"text.action\",\n },\n _selected: {\n color: \"text.strong\",\n },\n _disabled: {\n color: \"text.subtle\",\n cursor: \"not-allowed\",\n _hover: {\n color: \"text.subtle\",\n },\n },\n _motionReduce: {\n transition: \"none\",\n transitionDuration: \"0s\",\n },\n },\n content: {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n gap: \"xsmall\",\n },\n },\n defaultVariants: {\n variant: \"line\",\n },\n variants: {\n variant: {\n line: {\n trigger: {\n borderColor: \"stroke.default\",\n _hover: {\n borderColor: \"stroke.hover\",\n _focusVisible: {\n borderColor: \"stroke.default\",\n },\n },\n _horizontal: {\n borderBottom: \"1px solid\",\n },\n _disabled: {\n borderColor: \"stroke.default\",\n _hover: {\n borderColor: \"stroke.default\",\n },\n },\n _vertical: {\n borderLeft: \"1px solid\",\n justifyContent: \"flex-start\",\n },\n _focusVisible: {\n outline: \"none\",\n borderRadius: \"unset\",\n },\n },\n indicator: {\n background: \"stroke.default\",\n _peerFocusVisible: {\n height: \"var(--height)\",\n width: \"var(--width)\",\n outline: \"3px solid\",\n outlineOffset: \"-3px\",\n outlineColor: \"stroke.default\",\n background: \"transparent\",\n _horizontal: {\n borderTopRadius: \"xsmall\",\n },\n _vertical: {\n borderRightRadius: \"xsmall\",\n },\n },\n _horizontal: {\n top: \"calc(var(--top) + var(--height) - 6px)\",\n height: \"3\",\n width: \"var(--width)\",\n _peerFocusVisible: { top: \"var(--top)\" },\n },\n _vertical: {\n height: \"var(--height)\",\n left: \"0\",\n width: \"3\",\n },\n },\n content: {\n zIndex: \"1\",\n _horizontal: {\n paddingBlockStart: \"xsmall\",\n },\n _vertical: {\n paddingInlineStart: \"xsmall\",\n },\n _focusVisible: {\n outline: \"none\",\n boxShadow: \"0 0 0 3px var(--shadow-color)\",\n boxShadowColor: \"stroke.default\",\n },\n },\n },\n outline: {\n list: {\n _horizontal: {\n marginBlockEnd: \"-1px\",\n },\n _vertical: {\n marginInlineEnd: \"-1px\",\n },\n },\n trigger: {\n borderColor: \"transparent\",\n borderWidth: \"1px\",\n _horizontal: {\n borderTopRadius: \"xsmall\",\n },\n _vertical: {\n borderTopLeftRadius: \"xsmall\",\n borderBottomLeftRadius: \"xsmall\",\n },\n _selected: {\n background: \"surface.default\",\n borderColor: \"stroke.default\",\n _horizontal: {\n borderBottom: \"none\",\n },\n _vertical: {\n borderRight: \"none\",\n },\n },\n _focusVisible: {\n outline: \"3px solid\",\n outlineOffset: \"-3px\",\n outlineColor: \"stroke.default\",\n },\n },\n content: {\n borderWidth: \"1px\",\n borderColor: \"stroke.default\",\n background: \"surface.default\",\n width: \"100%\",\n padding: \"xsmall\",\n _vertical: {\n borderBottomRadius: \"xsmall\",\n borderRightRadius: \"xsmall\",\n },\n _horizontal: {\n borderRightRadius: \"xsmall\",\n borderBottomLeftRadius: \"xsmall\",\n },\n _focusVisible: {\n outline: \"3px solid\",\n outlineOffset: \"-3px\",\n outlineColor: \"stroke.default\",\n },\n },\n },\n },\n },\n});\n\nconst { withProvider, withContext } = createStyleContext(tabsRecipe);\n\nexport type TabsVariantProps = NonNullable<RecipeVariantProps<typeof tabsRecipe>>;\n\nexport interface TabsRootProps extends Tabs.RootProps, TabsVariantProps, StyledProps, RefAttributes<HTMLDivElement> {\n translations: Tabs.RootProps[\"translations\"];\n}\n\nconst InternalTabsRoot = withProvider(Tabs.Root, \"root\", { baseComponent: true });\n\nexport const TabsRoot = ({ lazyMount = true, unmountOnExit = true, ...props }: TabsRootProps) => (\n <InternalTabsRoot lazyMount={lazyMount} unmountOnExit={unmountOnExit} {...props} />\n);\n\nexport const TabsContent = withContext(Tabs.Content, \"content\", { baseComponent: true });\n\nexport const TabsIndicator = withContext(Tabs.Indicator, \"indicator\", { baseComponent: true });\n\nexport const TabsList = withContext(Tabs.List, \"list\", { baseComponent: true });\n\nconst InternalTabsTrigger = withContext(Tabs.Trigger, \"trigger\", { baseComponent: true });\n\ninterface TabsTriggerProps extends Tabs.TriggerProps, StyledProps, RefAttributes<HTMLButtonElement> {}\n\nexport const TabsTrigger = ({ className, ...props }: TabsTriggerProps) => (\n <InternalTabsTrigger className={cx(\"peer\", className)} {...props} />\n);\n"],"mappings":";;;;;;;;;;;;AAyNA,MAAM,EAAE,cAAc,iBAAA,GAAA,wBAAA,qBAAA,GAAA,wBAAA,KA3MC;CAGrB,OAAO;EAAC;EAAQ;EAAQ;EAAW;EAAW;CAAW;CACzD,MAAM;EACJ,MAAM;GACJ,UAAU;GACV,SAAS;GACT,OAAO;GACP,aAAa,EACX,eAAe,SACjB;GACA,WAAW,EACT,eAAe,MACjB;EACF;EACA,MAAM;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