@fremtind/jokul 0.6.0 → 0.8.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 (300) hide show
  1. package/build/build-stats.html +1 -1
  2. package/build/cjs/components/card/Card.js +1 -1
  3. package/build/cjs/components/card/Card.js.map +1 -1
  4. package/build/cjs/components/card/CardImage.js +1 -1
  5. package/build/cjs/components/card/CardImage.js.map +1 -1
  6. package/build/cjs/components/card/index.js +1 -1
  7. package/build/cjs/components/icon/Icon.js.map +1 -1
  8. package/build/cjs/components/index.js +1 -1
  9. package/build/cjs/components/input-group/FieldGroup.js +2 -0
  10. package/build/cjs/components/input-group/FieldGroup.js.map +1 -0
  11. package/build/cjs/components/input-group/InputGroup.js +2 -0
  12. package/build/cjs/components/input-group/InputGroup.js.map +1 -0
  13. package/build/cjs/components/input-group/Label.js +2 -0
  14. package/build/cjs/components/input-group/Label.js.map +1 -0
  15. package/build/cjs/components/input-group/SupportLabel.js +2 -0
  16. package/build/cjs/components/input-group/SupportLabel.js.map +1 -0
  17. package/build/cjs/components/input-group/index.js +2 -0
  18. package/build/cjs/components/link/Link.js.map +1 -1
  19. package/build/cjs/components/link/NavLink.js.map +1 -1
  20. package/build/cjs/components/link-list/LinkList.js.map +1 -1
  21. package/build/cjs/components/tooltip/PopupTip.js +2 -0
  22. package/build/cjs/components/tooltip/PopupTip.js.map +1 -0
  23. package/build/cjs/components/tooltip/Tooltip.js +2 -0
  24. package/build/cjs/components/tooltip/Tooltip.js.map +1 -0
  25. package/build/cjs/components/tooltip/TooltipContent.js +2 -0
  26. package/build/cjs/components/tooltip/TooltipContent.js.map +1 -0
  27. package/build/cjs/components/tooltip/TooltipTrigger.js +2 -0
  28. package/build/cjs/components/tooltip/TooltipTrigger.js.map +1 -0
  29. package/build/cjs/components/tooltip/index.js +2 -0
  30. package/build/cjs/core/index.js +1 -1
  31. package/build/cjs/core/tokens.js +1 -1
  32. package/build/cjs/core/tokens.js.map +1 -1
  33. package/build/cjs/hooks/useAnimatedHeight/useAnimatedHeight.js +1 -1
  34. package/build/cjs/hooks/useAnimatedHeight/useAnimatedHeight.js.map +1 -1
  35. package/build/cjs/hooks/useAnimatedHeight/useAnimatedHeightBetween.js +1 -1
  36. package/build/cjs/hooks/useAnimatedHeight/useAnimatedHeightBetween.js.map +1 -1
  37. package/build/cjs/hooks/useAnimatedHeight/useAutoAnimateHeight.js +1 -1
  38. package/build/cjs/hooks/useAnimatedHeight/useAutoAnimateHeight.js.map +1 -1
  39. package/build/cjs/hooks/useScreen/useScreen.js +1 -1
  40. package/build/cjs/hooks/useScreen/useScreen.js.map +1 -1
  41. package/build/cjs/index.js +1 -1
  42. package/build/cjs/utilities/constants/index.js +2 -0
  43. package/build/cjs/utilities/constants/index.js.map +1 -0
  44. package/build/cjs/utilities/constants/unicode.js +2 -0
  45. package/build/cjs/utilities/constants/unicode.js.map +1 -0
  46. package/build/cjs/utilities/formatters/avstand/formatAvstand.js +2 -0
  47. package/build/cjs/utilities/formatters/avstand/formatAvstand.js.map +1 -0
  48. package/build/cjs/utilities/formatters/bytes/formatBytes.js +2 -0
  49. package/build/cjs/utilities/formatters/bytes/formatBytes.js.map +1 -0
  50. package/build/cjs/utilities/formatters/date/formatDate.js +2 -0
  51. package/build/cjs/utilities/formatters/date/formatDate.js.map +1 -0
  52. package/build/cjs/utilities/formatters/fodselsnummer/formatFodselsnummer.js +2 -0
  53. package/build/cjs/utilities/formatters/fodselsnummer/formatFodselsnummer.js.map +1 -0
  54. package/build/cjs/utilities/formatters/index.js +2 -0
  55. package/build/cjs/utilities/formatters/index.js.map +1 -0
  56. package/build/cjs/utilities/formatters/kontonummer/formatKontonummer.js +2 -0
  57. package/build/cjs/utilities/formatters/kontonummer/formatKontonummer.js.map +1 -0
  58. package/build/cjs/utilities/formatters/kortnummer/formatKortnummer.js +2 -0
  59. package/build/cjs/utilities/formatters/kortnummer/formatKortnummer.js.map +1 -0
  60. package/build/cjs/utilities/formatters/organisasjonsnummer/formatOrganisasjonsnummer.js +2 -0
  61. package/build/cjs/utilities/formatters/organisasjonsnummer/formatOrganisasjonsnummer.js.map +1 -0
  62. package/build/cjs/utilities/formatters/telefonnummer/formatTelefonnummer.js +2 -0
  63. package/build/cjs/utilities/formatters/telefonnummer/formatTelefonnummer.js.map +1 -0
  64. package/build/cjs/utilities/formatters/util/formatNumber.js +2 -0
  65. package/build/cjs/utilities/formatters/util/formatNumber.js.map +1 -0
  66. package/build/cjs/utilities/formatters/util/parseNumber.js +2 -0
  67. package/build/cjs/utilities/formatters/util/parseNumber.js.map +1 -0
  68. package/build/cjs/utilities/formatters/util/registerWithMask.js +2 -0
  69. package/build/cjs/utilities/formatters/util/registerWithMask.js.map +1 -0
  70. package/build/cjs/utilities/formatters/valuta/formatValuta.js +2 -0
  71. package/build/cjs/utilities/formatters/valuta/formatValuta.js.map +1 -0
  72. package/build/cjs/utilities/index.js +2 -0
  73. package/build/cjs/utilities/index.js.map +1 -0
  74. package/build/cjs/utilities/polymorphism/SlotComponent.js +2 -0
  75. package/build/cjs/utilities/polymorphism/SlotComponent.js.map +1 -0
  76. package/build/cjs/utilities/polymorphism/index.js +2 -0
  77. package/build/cjs/utilities/polymorphism/index.js.map +1 -0
  78. package/build/cjs/utilities/polymorphism/mergeProps.js.map +1 -0
  79. package/build/cjs/utilities/polymorphism/mergeRefs.js.map +1 -0
  80. package/build/cjs/utilities/tabListener.js.map +1 -0
  81. package/build/cjs/{core/utils/getValuePair.js → utilities/valuePair.js} +1 -1
  82. package/build/cjs/utilities/valuePair.js.map +1 -0
  83. package/build/components/card/Card.d.ts +1 -1
  84. package/build/components/card/CardImage.d.ts +1 -1
  85. package/build/components/icon/Icon.d.ts +1 -1
  86. package/build/components/index.d.ts +2 -1
  87. package/build/components/input-group/FieldGroup.d.ts +16 -0
  88. package/build/components/input-group/InputGroup.d.ts +40 -0
  89. package/build/components/input-group/Label.d.ts +14 -0
  90. package/build/components/input-group/SupportLabel.d.ts +61 -0
  91. package/build/components/input-group/index.d.ts +4 -0
  92. package/build/components/link/Link.d.ts +1 -1
  93. package/build/components/link/NavLink.d.ts +1 -1
  94. package/build/components/link-list/LinkList.d.ts +1 -1
  95. package/build/components/tooltip/PopupTip.d.ts +13 -0
  96. package/build/components/tooltip/Tooltip.d.ts +122 -0
  97. package/build/components/tooltip/TooltipContent.d.ts +2 -0
  98. package/build/components/tooltip/TooltipTrigger.d.ts +2 -0
  99. package/build/components/tooltip/index.d.ts +4 -0
  100. package/build/core/index.d.ts +1 -6
  101. package/build/core/tokens.d.ts +22 -1
  102. package/build/core/types.d.ts +4 -5
  103. package/build/es/components/card/Card.js +1 -1
  104. package/build/es/components/card/Card.js.map +1 -1
  105. package/build/es/components/card/CardImage.js +1 -1
  106. package/build/es/components/card/CardImage.js.map +1 -1
  107. package/build/es/components/card/index.js +1 -1
  108. package/build/es/components/icon/Icon.js.map +1 -1
  109. package/build/es/components/index.js +1 -1
  110. package/build/es/components/input-group/FieldGroup.js +2 -0
  111. package/build/es/components/input-group/FieldGroup.js.map +1 -0
  112. package/build/es/components/input-group/InputGroup.js +2 -0
  113. package/build/es/components/input-group/InputGroup.js.map +1 -0
  114. package/build/es/components/input-group/Label.js +2 -0
  115. package/build/es/components/input-group/Label.js.map +1 -0
  116. package/build/es/components/input-group/SupportLabel.js +2 -0
  117. package/build/es/components/input-group/SupportLabel.js.map +1 -0
  118. package/build/es/components/input-group/index.js +2 -0
  119. package/build/es/components/input-group/index.js.map +1 -0
  120. package/build/es/components/link/Link.js.map +1 -1
  121. package/build/es/components/link/NavLink.js.map +1 -1
  122. package/build/es/components/link-list/LinkList.js.map +1 -1
  123. package/build/es/components/tooltip/PopupTip.js +2 -0
  124. package/build/es/components/tooltip/PopupTip.js.map +1 -0
  125. package/build/es/components/tooltip/Tooltip.js +2 -0
  126. package/build/es/components/tooltip/Tooltip.js.map +1 -0
  127. package/build/es/components/tooltip/TooltipContent.js +2 -0
  128. package/build/es/components/tooltip/TooltipContent.js.map +1 -0
  129. package/build/es/components/tooltip/TooltipTrigger.js +2 -0
  130. package/build/es/components/tooltip/TooltipTrigger.js.map +1 -0
  131. package/build/es/components/tooltip/index.js +2 -0
  132. package/build/es/components/tooltip/index.js.map +1 -0
  133. package/build/es/core/index.js +1 -1
  134. package/build/es/core/tokens.js +1 -1
  135. package/build/es/core/tokens.js.map +1 -1
  136. package/build/es/hooks/useAnimatedHeight/useAnimatedHeight.js +1 -1
  137. package/build/es/hooks/useAnimatedHeight/useAnimatedHeight.js.map +1 -1
  138. package/build/es/hooks/useAnimatedHeight/useAnimatedHeightBetween.js +1 -1
  139. package/build/es/hooks/useAnimatedHeight/useAnimatedHeightBetween.js.map +1 -1
  140. package/build/es/hooks/useAnimatedHeight/useAutoAnimateHeight.js +1 -1
  141. package/build/es/hooks/useAnimatedHeight/useAutoAnimateHeight.js.map +1 -1
  142. package/build/es/hooks/useScreen/useScreen.js +1 -1
  143. package/build/es/hooks/useScreen/useScreen.js.map +1 -1
  144. package/build/es/index.js +1 -1
  145. package/build/es/utilities/constants/index.js +2 -0
  146. package/build/es/utilities/constants/index.js.map +1 -0
  147. package/build/es/utilities/constants/unicode.js +2 -0
  148. package/build/es/utilities/constants/unicode.js.map +1 -0
  149. package/build/es/utilities/formatters/avstand/formatAvstand.js +2 -0
  150. package/build/es/utilities/formatters/avstand/formatAvstand.js.map +1 -0
  151. package/build/es/utilities/formatters/bytes/formatBytes.js +2 -0
  152. package/build/es/utilities/formatters/bytes/formatBytes.js.map +1 -0
  153. package/build/es/utilities/formatters/date/formatDate.js +2 -0
  154. package/build/es/utilities/formatters/date/formatDate.js.map +1 -0
  155. package/build/es/utilities/formatters/fodselsnummer/formatFodselsnummer.js +2 -0
  156. package/build/es/utilities/formatters/fodselsnummer/formatFodselsnummer.js.map +1 -0
  157. package/build/es/utilities/formatters/index.js +2 -0
  158. package/build/es/utilities/formatters/index.js.map +1 -0
  159. package/build/es/utilities/formatters/kontonummer/formatKontonummer.js +2 -0
  160. package/build/es/utilities/formatters/kontonummer/formatKontonummer.js.map +1 -0
  161. package/build/es/utilities/formatters/kortnummer/formatKortnummer.js +2 -0
  162. package/build/es/utilities/formatters/kortnummer/formatKortnummer.js.map +1 -0
  163. package/build/es/utilities/formatters/organisasjonsnummer/formatOrganisasjonsnummer.js +2 -0
  164. package/build/es/utilities/formatters/organisasjonsnummer/formatOrganisasjonsnummer.js.map +1 -0
  165. package/build/es/utilities/formatters/telefonnummer/formatTelefonnummer.js +2 -0
  166. package/build/es/utilities/formatters/telefonnummer/formatTelefonnummer.js.map +1 -0
  167. package/build/es/utilities/formatters/util/formatNumber.js +2 -0
  168. package/build/es/utilities/formatters/util/formatNumber.js.map +1 -0
  169. package/build/es/utilities/formatters/util/parseNumber.js +2 -0
  170. package/build/es/utilities/formatters/util/parseNumber.js.map +1 -0
  171. package/build/es/utilities/formatters/util/registerWithMask.js +2 -0
  172. package/build/es/utilities/formatters/util/registerWithMask.js.map +1 -0
  173. package/build/es/utilities/formatters/valuta/formatValuta.js +2 -0
  174. package/build/es/utilities/formatters/valuta/formatValuta.js.map +1 -0
  175. package/build/es/utilities/index.js +2 -0
  176. package/build/es/utilities/index.js.map +1 -0
  177. package/build/es/utilities/polymorphism/SlotComponent.js +2 -0
  178. package/build/es/utilities/polymorphism/SlotComponent.js.map +1 -0
  179. package/build/es/utilities/polymorphism/index.js +2 -0
  180. package/build/es/utilities/polymorphism/index.js.map +1 -0
  181. package/build/es/utilities/polymorphism/mergeProps.js.map +1 -0
  182. package/build/es/utilities/polymorphism/mergeRefs.js.map +1 -0
  183. package/build/es/utilities/tabListener.js.map +1 -0
  184. package/build/es/{core/utils/getValuePair.js → utilities/valuePair.js} +1 -1
  185. package/build/es/utilities/valuePair.js.map +1 -0
  186. package/build/index-DfvUcA5T.js +2 -0
  187. package/build/index-DfvUcA5T.js.map +1 -0
  188. package/build/index-hKyqa1PH.cjs +2 -0
  189. package/build/index-hKyqa1PH.cjs.map +1 -0
  190. package/build/index.d.ts +1 -0
  191. package/build/utilities/constants/index.d.ts +2 -0
  192. package/build/utilities/constants/unicode.d.ts +13 -0
  193. package/build/utilities/formatters/avstand/formatAvstand.d.ts +23 -0
  194. package/build/utilities/formatters/bytes/formatBytes.d.ts +8 -0
  195. package/build/utilities/formatters/date/formatDate.d.ts +15 -0
  196. package/build/utilities/formatters/fodselsnummer/formatFodselsnummer.d.ts +15 -0
  197. package/build/utilities/formatters/index.d.ts +14 -0
  198. package/build/utilities/formatters/kontonummer/formatKontonummer.d.ts +16 -0
  199. package/build/utilities/formatters/kortnummer/formatKortnummer.d.ts +15 -0
  200. package/build/utilities/formatters/organisasjonsnummer/formatOrganisasjonsnummer.d.ts +15 -0
  201. package/build/utilities/formatters/telefonnummer/formatTelefonnummer.d.ts +18 -0
  202. package/build/utilities/formatters/util/formatNumber.d.ts +14 -0
  203. package/build/utilities/formatters/util/parseNumber.d.ts +6 -0
  204. package/build/utilities/formatters/util/registerWithMask.d.ts +42 -0
  205. package/build/utilities/formatters/valuta/formatValuta.d.ts +18 -0
  206. package/build/utilities/index.d.ts +5 -0
  207. package/build/utilities/polymorphism/index.d.ts +5 -0
  208. package/build/utilities/valuePair.d.ts +6 -0
  209. package/package.json +19 -8
  210. package/src/components/card/styles/_index.scss +1 -0
  211. package/src/components/card/styles/_info-card.scss +40 -0
  212. package/src/components/card/styles/_nav-card.scss +113 -0
  213. package/src/components/card/styles/_task-card.scss +55 -0
  214. package/src/components/card/styles/card.css +332 -0
  215. package/src/components/card/styles/card.min.css +1 -0
  216. package/src/components/card/styles/card.scss +99 -0
  217. package/src/components/icon/styles/icon.css +1 -1
  218. package/src/components/icon-button/styles/_index.scss +1 -0
  219. package/src/components/icon-button/styles/icon-button.css +98 -0
  220. package/src/components/icon-button/styles/icon-button.min.css +1 -0
  221. package/src/components/icon-button/styles/icon-button.scss +59 -0
  222. package/src/components/image/styles/_index.scss +1 -0
  223. package/src/components/image/styles/image.css +30 -0
  224. package/src/components/image/styles/image.min.css +1 -0
  225. package/src/components/image/styles/image.scss +35 -0
  226. package/src/components/link/styles/link.css +1 -1
  227. package/src/components/link-list/styles/link-list.css +1 -1
  228. package/src/components/loader/styles/loader.css +7 -7
  229. package/src/components/loader/styles/loader.min.css +1 -1
  230. package/src/components/loader/styles/skeleton-loader.css +6 -6
  231. package/src/components/loader/styles/skeleton-loader.min.css +1 -1
  232. package/src/components/tag/styles/_index.scss +1 -0
  233. package/src/components/tag/styles/tag.css +71 -0
  234. package/src/components/tag/styles/tag.min.css +1 -0
  235. package/src/components/tag/styles/tag.scss +73 -0
  236. package/src/core/jkl/_legacy-tokens.scss +1 -1
  237. package/src/core/jkl/_tokens.scss +14 -1
  238. package/src/core/styles/_color-tokens.scss +1 -1
  239. package/src/core/styles/_legacy-tokens.scss +1 -1
  240. package/src/core/styles/_tokens.scss +1 -1
  241. package/src/core/styles/core.css +4 -4
  242. package/src/core/styles/vind.css +1 -1
  243. package/src/core/tokens.less +14 -1
  244. package/build/CardImage-CRhZdMQc.js +0 -2
  245. package/build/CardImage-CRhZdMQc.js.map +0 -1
  246. package/build/CardImage-CW7cnY5T.cjs +0 -2
  247. package/build/CardImage-CW7cnY5T.cjs.map +0 -1
  248. package/build/cjs/components/SlotComponent.js +0 -2
  249. package/build/cjs/components/SlotComponent.js.map +0 -1
  250. package/build/cjs/core/utils/breakpoints.js +0 -2
  251. package/build/cjs/core/utils/breakpoints.js.map +0 -1
  252. package/build/cjs/core/utils/density.js +0 -2
  253. package/build/cjs/core/utils/density.js.map +0 -1
  254. package/build/cjs/core/utils/getValuePair.js.map +0 -1
  255. package/build/cjs/core/utils/index.js +0 -2
  256. package/build/cjs/core/utils/mergeProps.js.map +0 -1
  257. package/build/cjs/core/utils/mergeRefs.js.map +0 -1
  258. package/build/cjs/core/utils/motion.js +0 -2
  259. package/build/cjs/core/utils/motion.js.map +0 -1
  260. package/build/cjs/core/utils/tabListener.js.map +0 -1
  261. package/build/core/utils/breakpoints.d.ts +0 -6
  262. package/build/core/utils/density.d.ts +0 -1
  263. package/build/core/utils/getValuePair.d.ts +0 -2
  264. package/build/core/utils/index.d.ts +0 -8
  265. package/build/core/utils/motion.d.ts +0 -16
  266. package/build/es/components/SlotComponent.js +0 -2
  267. package/build/es/components/SlotComponent.js.map +0 -1
  268. package/build/es/core/utils/breakpoints.js +0 -2
  269. package/build/es/core/utils/breakpoints.js.map +0 -1
  270. package/build/es/core/utils/density.js +0 -2
  271. package/build/es/core/utils/density.js.map +0 -1
  272. package/build/es/core/utils/getValuePair.js.map +0 -1
  273. package/build/es/core/utils/index.js +0 -2
  274. package/build/es/core/utils/mergeProps.js.map +0 -1
  275. package/build/es/core/utils/mergeRefs.js.map +0 -1
  276. package/build/es/core/utils/motion.js +0 -2
  277. package/build/es/core/utils/motion.js.map +0 -1
  278. package/build/es/core/utils/tabListener.js.map +0 -1
  279. /package/build/cjs/{core/utils → components/input-group}/index.js.map +0 -0
  280. /package/build/{es/core/utils → cjs/components/tooltip}/index.js.map +0 -0
  281. /package/build/cjs/{core → utilities/polymorphism}/as-child.js +0 -0
  282. /package/build/cjs/{core → utilities/polymorphism}/as-child.js.map +0 -0
  283. /package/build/cjs/{core/utils → utilities/polymorphism}/mergeProps.js +0 -0
  284. /package/build/cjs/{core/utils → utilities/polymorphism}/mergeRefs.js +0 -0
  285. /package/build/cjs/{core → utilities/polymorphism}/polymorphism.js +0 -0
  286. /package/build/cjs/{core → utilities/polymorphism}/polymorphism.js.map +0 -0
  287. /package/build/cjs/{core/utils → utilities}/tabListener.js +0 -0
  288. /package/build/es/{core → utilities/polymorphism}/as-child.js +0 -0
  289. /package/build/es/{core → utilities/polymorphism}/as-child.js.map +0 -0
  290. /package/build/es/{core/utils → utilities/polymorphism}/mergeProps.js +0 -0
  291. /package/build/es/{core/utils → utilities/polymorphism}/mergeRefs.js +0 -0
  292. /package/build/es/{core → utilities/polymorphism}/polymorphism.js +0 -0
  293. /package/build/es/{core → utilities/polymorphism}/polymorphism.js.map +0 -0
  294. /package/build/es/{core/utils → utilities}/tabListener.js +0 -0
  295. /package/build/{components → utilities/polymorphism}/SlotComponent.d.ts +0 -0
  296. /package/build/{core → utilities/polymorphism}/as-child.d.ts +0 -0
  297. /package/build/{core/utils → utilities/polymorphism}/mergeProps.d.ts +0 -0
  298. /package/build/{core/utils → utilities/polymorphism}/mergeRefs.d.ts +0 -0
  299. /package/build/{core → utilities/polymorphism}/polymorphism.d.ts +0 -0
  300. /package/build/{core/utils → utilities}/tabListener.d.ts +0 -0
@@ -0,0 +1,99 @@
1
+ @charset "UTF-8";
2
+ @use "../../../core/jkl";
3
+ @use "info-card";
4
+ @use "nav-card";
5
+ @use "task-card";
6
+
7
+ .jkl-card {
8
+ --padding-s: var(--jkl-spacing-4);
9
+ --padding-m: var(--jkl-spacing-12);
10
+ --padding-l: var(--jkl-spacing-16);
11
+ --padding-xl: var(--jkl-spacing-24);
12
+ --border-radius: #{jkl.rem(4px)};
13
+ --border-color: transparent;
14
+ --border-width: #{jkl.rem(1px)};
15
+ --background-color: transparent;
16
+
17
+ position: relative;
18
+ overflow: hidden;
19
+ display: block;
20
+ background-color: var(--background-color);
21
+ border-radius: var(--border-radius);
22
+ box-sizing: border-box;
23
+ padding: var(--padding, var(--padding-s));
24
+ text-decoration: none;
25
+ color: var(--jkl-color-text-default);
26
+
27
+ &::after {
28
+ content: "";
29
+ position: absolute;
30
+ inset: 0;
31
+ border-radius: var(--border-radius);
32
+ border: var(--border-width) solid var(--border-color);
33
+ @include jkl.motion("standard", "snappy", border-color, border-size);
34
+ }
35
+
36
+ @include jkl.from-medium-device {
37
+ --padding-s: var(--jkl-spacing-8);
38
+ --padding-m: var(--jkl-spacing-16);
39
+ --padding-l: var(--jkl-spacing-24);
40
+ --padding-xl: var(--jkl-spacing-32);
41
+ }
42
+
43
+ &[data-padding="s"] {
44
+ --padding: var(--padding-s);
45
+ }
46
+
47
+ &[data-padding="m"] {
48
+ --padding: var(--padding-m);
49
+ }
50
+
51
+ &[data-padding="l"] {
52
+ --padding: var(--padding-l);
53
+ }
54
+
55
+ &[data-padding="xl"] {
56
+ --padding: var(--padding-xl);
57
+ }
58
+
59
+ &--high {
60
+ --background-color: var(--jkl-color-background-container-high);
61
+ }
62
+
63
+ &--low {
64
+ --background-color: var(--jkl-color-background-container-low);
65
+ }
66
+
67
+ &--outlined {
68
+ --border-color: var(--jkl-color-border-separator);
69
+ }
70
+
71
+ &[data-clickable="true"] {
72
+ cursor: pointer;
73
+
74
+ &:hover {
75
+ --border-color: var(--jkl-color-border-separator-hover);
76
+ --border-width: #{jkl.rem(2px)};
77
+ }
78
+
79
+ &:focus-visible {
80
+ @include jkl.focus-outline;
81
+ }
82
+ }
83
+ }
84
+
85
+ .jkl-card-image {
86
+ --margin: calc(var(--padding, 0) * -1); // Sett negativ margin tilsvarende padding (fra Card)
87
+
88
+ width: calc(100% + 2 * var(--padding, 0));
89
+ aspect-ratio: var(--image-aspect-ratio, 3/2);
90
+ margin-inline: var(--margin, 0);
91
+
92
+ &--top {
93
+ margin-top: var(--margin, 0);
94
+ }
95
+
96
+ &--bottom {
97
+ margin-bottom: var(--margin, 0);
98
+ }
99
+ }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 10 Sep 2024 05:21:22 GMT
3
+ * Generated on Mon, 23 Sep 2024 08:51:40 GMT
4
4
  */
5
5
  @media screen and (prefers-color-scheme: light) {
6
6
  :root {
@@ -0,0 +1 @@
1
+ @forward "icon-button";
@@ -0,0 +1,98 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Mon, 23 Sep 2024 08:51:40 GMT
4
+ */
5
+ @media screen and (prefers-color-scheme: light) {
6
+ :root {
7
+ --jkl-icon-button-border-color: #1b1917;
8
+ --jkl-icon-button-focus-color: #636060;
9
+ }
10
+ }
11
+ [data-theme=light] {
12
+ --jkl-icon-button-border-color: #1b1917;
13
+ --jkl-icon-button-focus-color: #636060;
14
+ }
15
+
16
+ @media screen and (prefers-color-scheme: dark) {
17
+ :root {
18
+ --jkl-icon-button-border-color: #f9f9f9;
19
+ --jkl-icon-button-focus-color: #c8c5c3;
20
+ }
21
+ }
22
+ [data-theme=dark] {
23
+ --jkl-icon-button-border-color: #f9f9f9;
24
+ --jkl-icon-button-focus-color: #c8c5c3;
25
+ }
26
+
27
+ :root,
28
+ [data-layout-density=comfortable],
29
+ [data-density=comfortable] {
30
+ --jkl-icon-button-icon-width: 1.25rem;
31
+ }
32
+
33
+ [data-layout-density=compact],
34
+ [data-density=compact] {
35
+ --jkl-icon-button-icon-width: 0.875rem;
36
+ }
37
+
38
+ .jkl-icon-button {
39
+ background-color: transparent;
40
+ cursor: pointer;
41
+ color: inherit;
42
+ position: relative;
43
+ transition-property: box-shadow;
44
+ transition-timing-function: cubic-bezier(0.6, 0.2, 0.35, 1);
45
+ transition-duration: 100ms;
46
+ outline: 0;
47
+ border-style: none;
48
+ outline-style: none;
49
+ }
50
+ .jkl-icon-button:active, .jkl-icon-button:hover, .jkl-icon-button:focus {
51
+ outline: 0;
52
+ outline-style: none;
53
+ }
54
+ @media screen and (forced-colors: active) {
55
+ .jkl-icon-button {
56
+ outline: revert;
57
+ border-style: revert;
58
+ outline-style: revert;
59
+ }
60
+ .jkl-icon-button:active, .jkl-icon-button:hover, .jkl-icon-button:focus {
61
+ outline: revert;
62
+ outline-style: revert;
63
+ }
64
+ }
65
+ .jkl-icon-button .jkl-icon {
66
+ display: flex;
67
+ align-items: center;
68
+ }
69
+ @media screen and (forced-colors: active) {
70
+ .jkl-icon-button .jkl-icon {
71
+ stroke: ButtonText;
72
+ }
73
+ .jkl-icon-button .jkl-icon svg, .jkl-icon-button .jkl-icon path {
74
+ stroke: ButtonText;
75
+ }
76
+ }
77
+ .jkl-icon-button .jkl-icon--animated {
78
+ display: revert;
79
+ }
80
+ .jkl-icon-button:hover {
81
+ color: var(--jkl-icon-button-focus-color);
82
+ }
83
+ .jkl-icon-button:focus-visible {
84
+ color: var(--jkl-icon-button-focus-color);
85
+ outline: 2px solid var(--jkl-color-border-action);
86
+ outline-offset: 2px;
87
+ }
88
+ @media screen and (forced-colors: active) {
89
+ .jkl-icon-button:focus-visible {
90
+ border: revert;
91
+ }
92
+ }
93
+ @media screen and (forced-colors: active) {
94
+ .jkl-icon-button {
95
+ border: revert;
96
+ background-color: revert;
97
+ }
98
+ }
@@ -0,0 +1 @@
1
+ @media screen and (prefers-color-scheme:light){:root{--jkl-icon-button-border-color:#1b1917;--jkl-icon-button-focus-color:#636060}}[data-theme=light]{--jkl-icon-button-border-color:#1b1917;--jkl-icon-button-focus-color:#636060}@media screen and (prefers-color-scheme:dark){:root{--jkl-icon-button-border-color:#f9f9f9;--jkl-icon-button-focus-color:#c8c5c3}}[data-theme=dark]{--jkl-icon-button-border-color:#f9f9f9;--jkl-icon-button-focus-color:#c8c5c3}:root,[data-density=comfortable],[data-layout-density=comfortable]{--jkl-icon-button-icon-width:1.25rem}[data-density=compact],[data-layout-density=compact]{--jkl-icon-button-icon-width:0.875rem}.jkl-icon-button{background-color:initial;border-style:none;color:inherit;cursor:pointer;position:relative;transition-duration:.1s;transition-property:box-shadow;transition-timing-function:cubic-bezier(.6,.2,.35,1)}.jkl-icon-button,.jkl-icon-button:active,.jkl-icon-button:focus,.jkl-icon-button:hover{outline:0;outline-style:none}@media screen and (forced-colors:active){.jkl-icon-button{border-style:revert}.jkl-icon-button,.jkl-icon-button:active,.jkl-icon-button:focus,.jkl-icon-button:hover{outline:revert;outline-style:revert}}.jkl-icon-button .jkl-icon{align-items:center;display:flex}@media screen and (forced-colors:active){.jkl-icon-button .jkl-icon,.jkl-icon-button .jkl-icon path,.jkl-icon-button .jkl-icon svg{stroke:ButtonText}}.jkl-icon-button .jkl-icon--animated{display:revert}.jkl-icon-button:hover{color:var(--jkl-icon-button-focus-color)}.jkl-icon-button:focus-visible{color:var(--jkl-icon-button-focus-color);outline:2px solid var(--jkl-color-border-action);outline-offset:2px}@media screen and (forced-colors:active){.jkl-icon-button:focus-visible{border:revert}}@media screen and (forced-colors:active){.jkl-icon-button{background-color:revert;border:revert}}
@@ -0,0 +1,59 @@
1
+ @charset "UTF-8";
2
+ @use "../../../core/jkl";
3
+
4
+ @include jkl.light-mode-variables {
5
+ --jkl-icon-button-border-color: #{jkl.$color-granitt};
6
+ --jkl-icon-button-focus-color: #{jkl.$color-stein};
7
+ }
8
+
9
+ @include jkl.dark-mode-variables {
10
+ --jkl-icon-button-border-color: #{jkl.$color-snohvit};
11
+ --jkl-icon-button-focus-color: #{jkl.$color-svaberg};
12
+ }
13
+
14
+ @include jkl.comfortable-density-variables {
15
+ --jkl-icon-button-icon-width: #{jkl.rem(20px)};
16
+ }
17
+
18
+ @include jkl.compact-density-variables {
19
+ --jkl-icon-button-icon-width: #{jkl.rem(14px)};
20
+ }
21
+
22
+ .jkl-icon-button {
23
+ background-color: transparent;
24
+ cursor: pointer;
25
+ color: inherit;
26
+ position: relative;
27
+ transition-property: box-shadow;
28
+
29
+ @include jkl.motion(focus, snappy);
30
+ @include jkl.reset-outline;
31
+
32
+ .jkl-icon {
33
+ display: flex;
34
+ align-items: center;
35
+ @include jkl.forced-colors-svg-fallback($stroke: ButtonText);
36
+
37
+ &--animated {
38
+ display: revert;
39
+ }
40
+ }
41
+
42
+ &:hover {
43
+ color: var(--jkl-icon-button-focus-color);
44
+ }
45
+
46
+ &:focus-visible {
47
+ color: var(--jkl-icon-button-focus-color);
48
+
49
+ @include jkl.focus-outline;
50
+ @include jkl.forced-colors-mode {
51
+ border: revert;
52
+ }
53
+ }
54
+
55
+ @include jkl.forced-colors-mode {
56
+ border: revert;
57
+ background-color: revert;
58
+ }
59
+ }
@@ -0,0 +1 @@
1
+ @forward "image";
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Mon, 23 Sep 2024 08:51:40 GMT
4
+ */
5
+ .jkl-image {
6
+ display: block;
7
+ overflow: hidden;
8
+ position: relative;
9
+ }
10
+ .jkl-image__placeholder {
11
+ filter: blur(20px);
12
+ }
13
+ .jkl-image__image {
14
+ transition-timing-function: ease;
15
+ transition-duration: 400ms;
16
+ transition-property: opacity;
17
+ opacity: 1;
18
+ }
19
+ .jkl-image__image, .jkl-image__placeholder {
20
+ width: 100%;
21
+ height: 100%;
22
+ position: absolute;
23
+ top: 50%;
24
+ left: 50%;
25
+ transform: translate3d(-50%, -50%, 0);
26
+ object-fit: cover;
27
+ }
28
+ .jkl-image--loading .jkl-image__image {
29
+ opacity: 0;
30
+ }
@@ -0,0 +1 @@
1
+ .jkl-image{display:block;overflow:hidden;position:relative}.jkl-image__placeholder{filter:blur(20px)}.jkl-image__image{opacity:1;transition-duration:.4s;transition-property:opacity;transition-timing-function:ease}.jkl-image__image,.jkl-image__placeholder{height:100%;left:50%;object-fit:cover;position:absolute;top:50%;transform:translate3d(-50%,-50%,0);width:100%}.jkl-image--loading .jkl-image__image{opacity:0}
@@ -0,0 +1,35 @@
1
+ @charset "UTF-8";
2
+ @use "../../../core/jkl";
3
+
4
+ .jkl-image {
5
+ display: block;
6
+ overflow: hidden;
7
+ position: relative;
8
+
9
+ &__placeholder {
10
+ filter: blur(20px);
11
+ }
12
+
13
+ &__image {
14
+ @include jkl.motion("standard", "lazy");
15
+ transition-property: opacity;
16
+ opacity: 1;
17
+ }
18
+
19
+ &__image,
20
+ &__placeholder {
21
+ width: 100%;
22
+ height: 100%;
23
+ position: absolute;
24
+ top: 50%;
25
+ left: 50%;
26
+ transform: translate3d(-50%, -50%, 0);
27
+ object-fit: cover;
28
+ }
29
+
30
+ &--loading {
31
+ .jkl-image__image {
32
+ opacity: 0;
33
+ }
34
+ }
35
+ }
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Tue, 10 Sep 2024 05:21:22 GMT
4
+ * Generated on Mon, 23 Sep 2024 08:51:40 GMT
5
5
  */
6
6
  @media screen and (prefers-color-scheme: light) {
7
7
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 10 Sep 2024 05:21:22 GMT
3
+ * Generated on Mon, 23 Sep 2024 08:51:40 GMT
4
4
  */
5
5
  :root,
6
6
  [data-layout-density=comfortable],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 10 Sep 2024 05:21:22 GMT
3
+ * Generated on Mon, 23 Sep 2024 08:51:40 GMT
4
4
  */
5
5
  .jkl-loader {
6
6
  display: flex;
@@ -17,15 +17,15 @@
17
17
  animation: 2500ms linear infinite;
18
18
  }
19
19
  .jkl-loader__dot--left {
20
- animation-name: jkl-loader-left-spin-u626zhx;
20
+ animation-name: jkl-loader-left-spin-ugecs4v;
21
21
  margin-right: 1.71em;
22
22
  }
23
23
  .jkl-loader__dot--middle {
24
- animation-name: jkl-loader-middle-spin-u626zil;
24
+ animation-name: jkl-loader-middle-spin-ugecs5r;
25
25
  margin-right: 1.9em;
26
26
  }
27
27
  .jkl-loader__dot--right {
28
- animation-name: jkl-loader-right-spin-u626zj3;
28
+ animation-name: jkl-loader-right-spin-ugecs6d;
29
29
  }
30
30
  @media screen and (forced-colors: active) {
31
31
  .jkl-loader__dot {
@@ -53,7 +53,7 @@
53
53
  margin-right: 0.3em;
54
54
  }
55
55
 
56
- @keyframes jkl-loader-left-spin-u626zhx {
56
+ @keyframes jkl-loader-left-spin-ugecs4v {
57
57
  0% {
58
58
  transform: rotate(0) scale(0);
59
59
  }
@@ -67,7 +67,7 @@
67
67
  transform: rotate(180deg) scale(0);
68
68
  }
69
69
  }
70
- @keyframes jkl-loader-middle-spin-u626zil {
70
+ @keyframes jkl-loader-middle-spin-ugecs5r {
71
71
  0% {
72
72
  transform: rotate(20deg) scale(0);
73
73
  }
@@ -84,7 +84,7 @@
84
84
  transform: rotate(200deg) scale(0);
85
85
  }
86
86
  }
87
- @keyframes jkl-loader-right-spin-u626zj3 {
87
+ @keyframes jkl-loader-right-spin-ugecs6d {
88
88
  0% {
89
89
  transform: rotate(40deg) scale(0);
90
90
  }
@@ -1 +1 @@
1
- .jkl-loader{display:flex}.jkl-loader--inline{display:inline-flex}.jkl-loader__dot{animation:2.5s linear infinite;background-color:currentColor;display:block;height:.9em;transform-origin:center;width:.9em}.jkl-loader__dot--left{animation-name:jkl-loader-left-spin-u626zhx;margin-right:1.71em}.jkl-loader__dot--middle{animation-name:jkl-loader-middle-spin-u626zil;margin-right:1.9em}.jkl-loader__dot--right{animation-name:jkl-loader-right-spin-u626zj3}@media screen and (forced-colors:active){.jkl-loader__dot{background-color:CanvasText}}.jkl-button .jkl-loader>.jkl-loader__dot,.jkl-loader--medium>.jkl-loader__dot{height:.35em;width:.35em}.jkl-button .jkl-loader>.jkl-loader__dot--left,.jkl-loader--medium>.jkl-loader__dot--left{margin-right:.585em}.jkl-button .jkl-loader>.jkl-loader__dot--middle,.jkl-loader--medium>.jkl-loader__dot--middle{margin-right:.65em}.jkl-loader--small>.jkl-loader__dot{height:.25em;width:.25em}.jkl-loader--small>.jkl-loader__dot--left{margin-right:.27em}.jkl-loader--small>.jkl-loader__dot--middle{margin-right:.3em}@keyframes jkl-loader-left-spin-u626zhx{0%{transform:rotate(0) scale(0)}30%{transform:rotate(90deg) scale(1)}70%{transform:rotate(180deg) scale(0)}to{transform:rotate(180deg) scale(0)}}@keyframes jkl-loader-middle-spin-u626zil{0%{transform:rotate(20deg) scale(0)}10%{transform:rotate(20deg) scale(0)}40%{transform:rotate(110deg) scale(1.4)}85%{transform:rotate(200deg) scale(0)}to{transform:rotate(200deg) scale(0)}}@keyframes jkl-loader-right-spin-u626zj3{0%{transform:rotate(40deg) scale(0)}20%{transform:rotate(40deg) scale(0)}50%{transform:rotate(130deg) scale(1)}to{transform:rotate(220deg) scale(0)}}
1
+ .jkl-loader{display:flex}.jkl-loader--inline{display:inline-flex}.jkl-loader__dot{animation:2.5s linear infinite;background-color:currentColor;display:block;height:.9em;transform-origin:center;width:.9em}.jkl-loader__dot--left{animation-name:jkl-loader-left-spin-ugecs4v;margin-right:1.71em}.jkl-loader__dot--middle{animation-name:jkl-loader-middle-spin-ugecs5r;margin-right:1.9em}.jkl-loader__dot--right{animation-name:jkl-loader-right-spin-ugecs6d}@media screen and (forced-colors:active){.jkl-loader__dot{background-color:CanvasText}}.jkl-button .jkl-loader>.jkl-loader__dot,.jkl-loader--medium>.jkl-loader__dot{height:.35em;width:.35em}.jkl-button .jkl-loader>.jkl-loader__dot--left,.jkl-loader--medium>.jkl-loader__dot--left{margin-right:.585em}.jkl-button .jkl-loader>.jkl-loader__dot--middle,.jkl-loader--medium>.jkl-loader__dot--middle{margin-right:.65em}.jkl-loader--small>.jkl-loader__dot{height:.25em;width:.25em}.jkl-loader--small>.jkl-loader__dot--left{margin-right:.27em}.jkl-loader--small>.jkl-loader__dot--middle{margin-right:.3em}@keyframes jkl-loader-left-spin-ugecs4v{0%{transform:rotate(0) scale(0)}30%{transform:rotate(90deg) scale(1)}70%{transform:rotate(180deg) scale(0)}to{transform:rotate(180deg) scale(0)}}@keyframes jkl-loader-middle-spin-ugecs5r{0%{transform:rotate(20deg) scale(0)}10%{transform:rotate(20deg) scale(0)}40%{transform:rotate(110deg) scale(1.4)}85%{transform:rotate(200deg) scale(0)}to{transform:rotate(200deg) scale(0)}}@keyframes jkl-loader-right-spin-ugecs6d{0%{transform:rotate(40deg) scale(0)}20%{transform:rotate(40deg) scale(0)}50%{transform:rotate(130deg) scale(1)}to{transform:rotate(220deg) scale(0)}}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 10 Sep 2024 05:21:22 GMT
3
+ * Generated on Mon, 23 Sep 2024 08:51:40 GMT
4
4
  */
5
5
  @media screen and (prefers-color-scheme: light) {
6
6
  :root {
@@ -36,7 +36,7 @@
36
36
  bottom: 0;
37
37
  width: 12.5rem;
38
38
  background: linear-gradient(89.17deg, rgba(249, 249, 249, 0) 0.8%, var(--jkl-skeleton-sweeper-color) 50.09%, rgba(249, 249, 249, 0) 96.31%);
39
- animation: var(--jkl-skeleton-sweep-duration) ease infinite jkl-sweep-upka1ob;
39
+ animation: var(--jkl-skeleton-sweep-duration) ease infinite jkl-sweep-uezdhon;
40
40
  }
41
41
  @media (width >= 0) and (max-width: 679px) {
42
42
  .jkl-skeleton-animation {
@@ -67,7 +67,7 @@
67
67
  @media screen and (forced-colors: active) {
68
68
  .jkl-skeleton-element {
69
69
  border: 1px solid CanvasText;
70
- animation: 2s ease infinite jkl-blink-upka1p0;
70
+ animation: 2s ease infinite jkl-blink-uezdhpa;
71
71
  }
72
72
  }
73
73
 
@@ -123,11 +123,11 @@
123
123
  }
124
124
  @media screen and (forced-colors: active) {
125
125
  .jkl-skeleton-table {
126
- animation: 2s ease-in-out infinite jkl-blink-upka1p0;
126
+ animation: 2s ease-in-out infinite jkl-blink-uezdhpa;
127
127
  }
128
128
  }
129
129
 
130
- @keyframes jkl-sweep-upka1ob {
130
+ @keyframes jkl-sweep-uezdhon {
131
131
  0% {
132
132
  transform: translateX(calc(0vw - 200px));
133
133
  }
@@ -135,7 +135,7 @@
135
135
  transform: translateX(calc(100vw + 400px));
136
136
  }
137
137
  }
138
- @keyframes jkl-blink-upka1p0 {
138
+ @keyframes jkl-blink-uezdhpa {
139
139
  0% {
140
140
  opacity: 1;
141
141
  }
@@ -1 +1 @@
1
- @media screen and (prefers-color-scheme:light){:root{--jkl-skeleton-element-color:#e0dbd4;--jkl-skeleton-sweeper-color:#f9f9f9}}[data-theme=light]{--jkl-skeleton-element-color:#e0dbd4;--jkl-skeleton-sweeper-color:#f9f9f9}@media screen and (prefers-color-scheme:dark){:root{--jkl-skeleton-element-color:#636060;--jkl-skeleton-sweeper-color:#1b1917}}[data-theme=dark]{--jkl-skeleton-element-color:#636060;--jkl-skeleton-sweeper-color:#1b1917}.jkl-skeleton-animation{--jkl-skeleton-sweep-duration:3s;overflow:hidden;position:relative}.jkl-skeleton-animation:after{animation:var(--jkl-skeleton-sweep-duration) ease infinite jkl-sweep-upka1ob;background:linear-gradient(89.17deg,#f9f9f900 .8%,var(--jkl-skeleton-sweeper-color) 50.09%,#f9f9f900 96.31%);bottom:0;content:" ";position:absolute;top:0;width:12.5rem}@media (width >= 0) and (max-width:679px){.jkl-skeleton-animation{width:9.375rem}}@media screen and (prefers-reduced-motion:reduce){.jkl-skeleton-animation:after{background:none}}@media screen and (forced-colors:active){.jkl-skeleton-animation:after{animation:none}}.jkl-skeleton-animation--compact:after{width:9.375rem}.jkl-skeleton-element{background-color:var(--jkl-skeleton-element-color);border-radius:.125rem}.jkl-skeleton-element--circle{border-radius:50%}@media screen and (forced-colors:active){.jkl-skeleton-element{animation:jkl-blink-upka1p0 2s ease infinite;border:1px solid CanvasText}}.jkl-skeleton-input{display:flex;flex-direction:column;gap:.75rem}.jkl-skeleton-input__checkbox{display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem}@media (width >= 0) and (max-width:679px){.jkl-skeleton-input{gap:.5rem}}.jkl-skeleton-input--compact:after{gap:.5rem}.jkl-skeleton-table{display:flex;flex-direction:column}.jkl-skeleton-table__header,.jkl-skeleton-table__row{border-bottom:1px solid var(--jkl-skeleton-element-color);display:flex;flex-direction:row;justify-content:space-between}.jkl-skeleton-table__header{padding:.75rem .5rem}.jkl-skeleton-table__row{padding:1rem .5rem}@media (width >= 0) and (max-width:679px){.jkl-skeleton-table__header{padding:.5rem .25rem}.jkl-skeleton-table__row{padding:.75rem .25rem}}.jkl-skeleton-table--compact::after__header{padding:.5rem .25rem}.jkl-skeleton-table--compact::after__row{padding:.75rem .25rem}@media screen and (forced-colors:active){.jkl-skeleton-table{animation:jkl-blink-upka1p0 2s ease-in-out infinite}}@keyframes jkl-sweep-upka1ob{0%{transform:translateX(-200px)}80%,to{transform:translateX(calc(100vw + 400px))}}@keyframes jkl-blink-upka1p0{0%{opacity:1}40%,50%{opacity:.3}70%,to{opacity:1}}
1
+ @media screen and (prefers-color-scheme:light){:root{--jkl-skeleton-element-color:#e0dbd4;--jkl-skeleton-sweeper-color:#f9f9f9}}[data-theme=light]{--jkl-skeleton-element-color:#e0dbd4;--jkl-skeleton-sweeper-color:#f9f9f9}@media screen and (prefers-color-scheme:dark){:root{--jkl-skeleton-element-color:#636060;--jkl-skeleton-sweeper-color:#1b1917}}[data-theme=dark]{--jkl-skeleton-element-color:#636060;--jkl-skeleton-sweeper-color:#1b1917}.jkl-skeleton-animation{--jkl-skeleton-sweep-duration:3s;overflow:hidden;position:relative}.jkl-skeleton-animation:after{animation:var(--jkl-skeleton-sweep-duration) ease infinite jkl-sweep-uezdhon;background:linear-gradient(89.17deg,#f9f9f900 .8%,var(--jkl-skeleton-sweeper-color) 50.09%,#f9f9f900 96.31%);bottom:0;content:" ";position:absolute;top:0;width:12.5rem}@media (width >= 0) and (max-width:679px){.jkl-skeleton-animation{width:9.375rem}}@media screen and (prefers-reduced-motion:reduce){.jkl-skeleton-animation:after{background:none}}@media screen and (forced-colors:active){.jkl-skeleton-animation:after{animation:none}}.jkl-skeleton-animation--compact:after{width:9.375rem}.jkl-skeleton-element{background-color:var(--jkl-skeleton-element-color);border-radius:.125rem}.jkl-skeleton-element--circle{border-radius:50%}@media screen and (forced-colors:active){.jkl-skeleton-element{animation:jkl-blink-uezdhpa 2s ease infinite;border:1px solid CanvasText}}.jkl-skeleton-input{display:flex;flex-direction:column;gap:.75rem}.jkl-skeleton-input__checkbox{display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem}@media (width >= 0) and (max-width:679px){.jkl-skeleton-input{gap:.5rem}}.jkl-skeleton-input--compact:after{gap:.5rem}.jkl-skeleton-table{display:flex;flex-direction:column}.jkl-skeleton-table__header,.jkl-skeleton-table__row{border-bottom:1px solid var(--jkl-skeleton-element-color);display:flex;flex-direction:row;justify-content:space-between}.jkl-skeleton-table__header{padding:.75rem .5rem}.jkl-skeleton-table__row{padding:1rem .5rem}@media (width >= 0) and (max-width:679px){.jkl-skeleton-table__header{padding:.5rem .25rem}.jkl-skeleton-table__row{padding:.75rem .25rem}}.jkl-skeleton-table--compact::after__header{padding:.5rem .25rem}.jkl-skeleton-table--compact::after__row{padding:.75rem .25rem}@media screen and (forced-colors:active){.jkl-skeleton-table{animation:jkl-blink-uezdhpa 2s ease-in-out infinite}}@keyframes jkl-sweep-uezdhon{0%{transform:translateX(-200px)}80%,to{transform:translateX(calc(100vw + 400px))}}@keyframes jkl-blink-uezdhpa{0%{opacity:1}40%,50%{opacity:.3}70%,to{opacity:1}}
@@ -0,0 +1 @@
1
+ @forward "tag";
@@ -0,0 +1,71 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Mon, 23 Sep 2024 08:51:40 GMT
4
+ */
5
+ :root,
6
+ [data-layout-density=comfortable],
7
+ [data-density=comfortable] {
8
+ --jkl-tag-padding: var(--jkl-spacing-4) var(--jkl-spacing-8);
9
+ --jkl-tag-dismiss-margin: 0;
10
+ --jkl-tag-gap: var(--jkl-spacing-4);
11
+ }
12
+
13
+ [data-layout-density=compact],
14
+ [data-density=compact] {
15
+ --jkl-tag-padding: 0 var(--jkl-spacing-4);
16
+ --jkl-tag-dismiss-margin: 0 calc(var(--jkl-spacing-2) * -1) 0 0;
17
+ --jkl-tag-gap: var(--jkl-spacing-2);
18
+ }
19
+
20
+ .jkl-tag {
21
+ --background-color: var(--jkl-color-background-alert-neutral);
22
+ --text-color: var(--jkl-color-text-on-alert);
23
+ font-size: 1rem;
24
+ line-height: 1.5rem;
25
+ font-weight: 700;
26
+ --jkl-icon-weight: 500;
27
+ background-color: var(--background-color);
28
+ color: var(--text-color);
29
+ border-radius: 0.25rem;
30
+ display: inline-flex;
31
+ align-items: center;
32
+ white-space: nowrap;
33
+ padding: var(--jkl-tag-padding);
34
+ gap: var(--jkl-tag-gap);
35
+ }
36
+ .jkl-tag--info {
37
+ --background-color: var(--jkl-color-background-alert-info);
38
+ }
39
+ .jkl-tag--warning {
40
+ --background-color: var(--jkl-color-background-alert-warning);
41
+ }
42
+ .jkl-tag--error {
43
+ --background-color: var(--jkl-color-background-alert-error);
44
+ }
45
+ .jkl-tag--success {
46
+ --background-color: var(--jkl-color-background-alert-success);
47
+ }
48
+ @media screen and (forced-colors: active) {
49
+ .jkl-tag {
50
+ border: 2px none CanvasText;
51
+ border-bottom-style: dotted;
52
+ }
53
+ .jkl-tag--info {
54
+ border-style: dotted;
55
+ }
56
+ .jkl-tag--warning {
57
+ border-style: dashed;
58
+ }
59
+ .jkl-tag--error {
60
+ border-style: double;
61
+ border-width: 4px;
62
+ }
63
+ .jkl-tag--success {
64
+ border-style: solid;
65
+ }
66
+ }
67
+ .jkl-tag__dismiss-action {
68
+ height: 1.5rem;
69
+ padding: 0.125rem 0;
70
+ margin: var(--jkl-tag-dismiss-margin);
71
+ }
@@ -0,0 +1 @@
1
+ :root,[data-density=comfortable],[data-layout-density=comfortable]{--jkl-tag-padding:var(--jkl-spacing-4) var(--jkl-spacing-8);--jkl-tag-dismiss-margin:0;--jkl-tag-gap:var(--jkl-spacing-4)}[data-density=compact],[data-layout-density=compact]{--jkl-tag-padding:0 var(--jkl-spacing-4);--jkl-tag-dismiss-margin:0 calc(var(--jkl-spacing-2)*-1) 0 0;--jkl-tag-gap:var(--jkl-spacing-2)}.jkl-tag{--background-color:var(--jkl-color-background-alert-neutral);--text-color:var(--jkl-color-text-on-alert);--jkl-icon-weight:500;align-items:center;background-color:var(--background-color);border-radius:.25rem;color:var(--text-color);display:inline-flex;font-size:1rem;font-weight:700;gap:var(--jkl-tag-gap);line-height:1.5rem;padding:var(--jkl-tag-padding);white-space:nowrap}.jkl-tag--info{--background-color:var(--jkl-color-background-alert-info)}.jkl-tag--warning{--background-color:var(--jkl-color-background-alert-warning)}.jkl-tag--error{--background-color:var(--jkl-color-background-alert-error)}.jkl-tag--success{--background-color:var(--jkl-color-background-alert-success)}@media screen and (forced-colors:active){.jkl-tag{border:2px CanvasText;border-style:none none dotted}.jkl-tag--info{border-style:dotted}.jkl-tag--warning{border-style:dashed}.jkl-tag--error{border-style:double;border-width:4px}.jkl-tag--success{border-style:solid}}.jkl-tag__dismiss-action{height:1.5rem;margin:var(--jkl-tag-dismiss-margin);padding:.125rem 0}
@@ -0,0 +1,73 @@
1
+ @charset "UTF-8";
2
+ @use "../../../core/jkl";
3
+
4
+ @include jkl.comfortable-density-variables {
5
+ --jkl-tag-padding: var(--jkl-spacing-4) var(--jkl-spacing-8);
6
+ --jkl-tag-dismiss-margin: 0;
7
+ --jkl-tag-gap: var(--jkl-spacing-4);
8
+ }
9
+
10
+ @include jkl.compact-density-variables {
11
+ --jkl-tag-padding: 0 var(--jkl-spacing-4);
12
+ --jkl-tag-dismiss-margin: 0 calc(var(--jkl-spacing-2) * -1) 0 0;
13
+ --jkl-tag-gap: var(--jkl-spacing-2);
14
+ }
15
+
16
+ .jkl-tag {
17
+ --background-color: var(--jkl-color-background-alert-neutral);
18
+ --text-color: var(--jkl-color-text-on-alert);
19
+
20
+ @include jkl.text-style("heading-5");
21
+ background-color: var(--background-color);
22
+ color: var(--text-color);
23
+ border-radius: jkl.rem(4px);
24
+ display: inline-flex;
25
+ align-items: center;
26
+ white-space: nowrap;
27
+ padding: var(--jkl-tag-padding);
28
+ gap: var(--jkl-tag-gap);
29
+
30
+ &--info {
31
+ --background-color: var(--jkl-color-background-alert-info);
32
+ }
33
+
34
+ &--warning {
35
+ --background-color: var(--jkl-color-background-alert-warning);
36
+ }
37
+
38
+ &--error {
39
+ --background-color: var(--jkl-color-background-alert-error);
40
+ }
41
+
42
+ &--success {
43
+ --background-color: var(--jkl-color-background-alert-success);
44
+ }
45
+
46
+ @include jkl.forced-colors-mode {
47
+ border: 2px none CanvasText;
48
+ border-bottom-style: dotted;
49
+
50
+ &--info {
51
+ border-style: dotted;
52
+ }
53
+
54
+ &--warning {
55
+ border-style: dashed;
56
+ }
57
+
58
+ &--error {
59
+ border-style: double;
60
+ border-width: 4px;
61
+ }
62
+
63
+ &--success {
64
+ border-style: solid;
65
+ }
66
+ }
67
+
68
+ &__dismiss-action {
69
+ height: jkl.rem(24px);
70
+ padding: jkl.rem(2px) 0;
71
+ margin: var(--jkl-tag-dismiss-margin);
72
+ }
73
+ }
@@ -1,5 +1,5 @@
1
1
  // Do not edit directly
2
- // Generated on Tue, 10 Sep 2024 05:21:22 GMT
2
+ // Generated on Mon, 23 Sep 2024 08:51:40 GMT
3
3
 
4
4
  $color-svart: #000000;
5
5
  $color-granitt: #1b1917;
@@ -1,8 +1,11 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 10 Sep 2024 05:21:22 GMT
3
+ * Generated on Mon, 23 Sep 2024 08:51:40 GMT
4
4
  */
5
5
 
6
+ $breakpoint-medium: 680px;
7
+ $breakpoint-large: 1200px;
8
+ $breakpoint-xl: 1600px;
6
9
  $color-brand-snohvit: #f9f9f9;
7
10
  $color-brand-varde: #e0dbd4;
8
11
  $color-brand-granitt: #1b1917;
@@ -22,6 +25,16 @@ $color-functional-warning: #efdd9e;
22
25
  $color-functional-warning-dark: #decc8d;
23
26
  $color-functional-error: #f6b3b3;
24
27
  $color-functional-error-dark: #de9e9e;
28
+ $motion-timing-energetic: 75ms;
29
+ $motion-timing-snappy: 100ms;
30
+ $motion-timing-productive: 150ms;
31
+ $motion-timing-expressive: 250ms;
32
+ $motion-timing-lazy: 400ms;
33
+ $motion-easing-standard: ease;
34
+ $motion-easing-entrance: ease-out;
35
+ $motion-easing-exit: ease-in;
36
+ $motion-easing-ease-in-bounce-out: cubic-bezier(0, 0, 0.375, 1.17);
37
+ $motion-easing-focus: cubic-bezier(0.6, 0.2, 0.35, 1);
25
38
  $spacing-0: 0;
26
39
  $spacing-2: 0.125rem;
27
40
  $spacing-4: 0.25rem;