@altinn/altinn-components 0.14.2 → 0.15.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 (135) hide show
  1. package/README.md +16 -4
  2. package/dist/altinn-theme.css +3 -0
  3. package/dist/assets/Avatar.css +1 -1
  4. package/dist/assets/AvatarGroup.css +1 -1
  5. package/dist/assets/Badge.css +1 -1
  6. package/dist/assets/ButtonLabel.css +1 -1
  7. package/dist/assets/Flex.css +1 -1
  8. package/dist/assets/Grid.css +1 -1
  9. package/dist/assets/Icon.css +1 -1
  10. package/dist/assets/LayoutBody.css +1 -1
  11. package/dist/assets/ListItemBase.css +1 -1
  12. package/dist/assets/ListItemControls.css +1 -1
  13. package/dist/assets/ListItemHeader.css +1 -1
  14. package/dist/assets/ListItemLink.css +1 -1
  15. package/dist/assets/ListItemSelect.css +1 -1
  16. package/dist/assets/MenuItemBase.css +1 -1
  17. package/dist/assets/MenuItemIcon.css +1 -0
  18. package/dist/assets/MenuItemLabel.css +1 -1
  19. package/dist/assets/PageTabs.css +1 -0
  20. package/dist/components/AccessAreaList/AccessAreaListItem.js +29 -32
  21. package/dist/components/AccessPackageList/AccessPackageListItem.js +7 -7
  22. package/dist/components/Attachment/AttachmentLink.js +14 -10
  23. package/dist/components/Autocomplete/AutocompleteItem.js +20 -11
  24. package/dist/components/Avatar/Avatar.js +27 -27
  25. package/dist/components/Avatar/AvatarGroup.js +17 -16
  26. package/dist/components/Badge/Badge.js +5 -12
  27. package/dist/components/Button/Button.js +29 -27
  28. package/dist/components/Button/ButtonIcon.js +9 -5
  29. package/dist/components/Button/ButtonLabel.js +4 -4
  30. package/dist/components/Dialog/Dialog.js +3 -3
  31. package/dist/components/Dialog/DialogAttachments.js +1 -1
  32. package/dist/components/Dialog/DialogContent.js +1 -1
  33. package/dist/components/Dialog/DialogHistoryItem.js +1 -1
  34. package/dist/components/Dialog/DialogListGroup.js +1 -1
  35. package/dist/components/Dialog/DialogListItem.js +80 -72
  36. package/dist/components/Dialog/DialogSection.js +1 -1
  37. package/dist/components/Dialog/DraftDialog.js +1 -1
  38. package/dist/components/GlobalMenu/AccountButton.js +4 -4
  39. package/dist/components/GlobalMenu/AccountMenu.js +27 -16
  40. package/dist/components/GlobalMenu/BackButton.js +2 -2
  41. package/dist/components/GlobalMenu/GlobalMenu.js +21 -21
  42. package/dist/components/GlobalMenu/GlobalMenuBase.js +9 -9
  43. package/dist/components/Header/HeaderButton.js +21 -17
  44. package/dist/components/Icon/Icon.js +10 -9
  45. package/dist/components/Icon/IconOrAvatar.js +27 -0
  46. package/dist/components/Icon/index.js +8 -6
  47. package/dist/components/Layout/LayoutBody.js +1 -1
  48. package/dist/components/LayoutAction/ActionHeader.js +1 -1
  49. package/dist/components/List/ListBase.js +3 -3
  50. package/dist/components/List/ListItem.js +90 -51
  51. package/dist/components/List/ListItemBase.js +63 -29
  52. package/dist/components/List/ListItemControls.js +8 -17
  53. package/dist/components/List/ListItemHeader.js +85 -59
  54. package/dist/components/List/ListItemIcon.js +25 -0
  55. package/dist/components/List/ListItemLabel.js +6 -6
  56. package/dist/components/List/ListItemLink.js +29 -27
  57. package/dist/components/List/ListItemSelect.js +11 -11
  58. package/dist/components/List/index.js +8 -8
  59. package/dist/components/Menu/Menu.js +18 -16
  60. package/dist/components/Menu/MenuBase.js +6 -6
  61. package/dist/components/Menu/MenuItem.js +64 -51
  62. package/dist/components/Menu/MenuItemBase.js +26 -26
  63. package/dist/components/Menu/MenuItemIcon.js +27 -0
  64. package/dist/components/Menu/MenuItemLabel.js +7 -7
  65. package/dist/components/Menu/MenuItems.js +32 -29
  66. package/dist/components/Menu/MenuOption.js +3 -3
  67. package/dist/components/Menu/index.js +14 -14
  68. package/dist/components/Meta/MetaItemMedia.js +13 -8
  69. package/dist/components/Page/Flex.js +14 -14
  70. package/dist/components/Page/Grid.js +1 -1
  71. package/dist/components/Page/PageHeader.js +33 -12
  72. package/dist/components/Page/PageMenu.js +5 -5
  73. package/dist/components/Page/PageTabs.js +16 -0
  74. package/dist/components/Page/index.js +14 -12
  75. package/dist/components/RootProvider/RootProvider.js +3 -3
  76. package/dist/components/Searchbar/SearchField.js +19 -16
  77. package/dist/components/Toolbar/Toolbar.js +7 -7
  78. package/dist/components/Transmission/TransmissionItem.js +1 -1
  79. package/dist/components/index.js +181 -177
  80. package/dist/{globalMenu-XcVgsnCz.js → globalMenu-C6osDiF4.js} +1 -0
  81. package/dist/index.js +181 -177
  82. package/dist/types/lib/components/AccessPackageList/AccessPackageList.d.ts +1 -1
  83. package/dist/types/lib/components/Avatar/AvatarGroup.stories.d.ts +6 -2
  84. package/dist/types/lib/components/Avatar/avatar.stories.d.ts +3 -1
  85. package/dist/types/lib/components/Badge/Badge.d.ts +4 -4
  86. package/dist/types/lib/components/Badge/Badge.stories.d.ts +1 -1
  87. package/dist/types/lib/components/Button/Button.d.ts +2 -1
  88. package/dist/types/lib/components/Button/Button.stories.d.ts +1 -1
  89. package/dist/types/lib/components/ContextMenu/ContextMenu.stories.d.ts +3 -23
  90. package/dist/types/lib/components/Icon/Icon.d.ts +3 -3
  91. package/dist/types/lib/components/Icon/IconOrAvatar.d.ts +12 -0
  92. package/dist/types/lib/components/Icon/index.d.ts +1 -0
  93. package/dist/types/lib/components/Layout/Layout.stories.d.ts +0 -1
  94. package/dist/types/lib/components/LayoutAction/LayoutAction.stories.d.ts +3 -15
  95. package/dist/types/lib/components/List/List.d.ts +1 -1
  96. package/dist/types/lib/components/List/ListBase.d.ts +8 -4
  97. package/dist/types/lib/components/{Header/HeaderLogo.stories.d.ts → List/ListBase.stories.d.ts} +4 -2
  98. package/dist/types/lib/components/List/ListItem.d.ts +5 -10
  99. package/dist/types/lib/components/List/ListItem.stories.d.ts +14 -9
  100. package/dist/types/lib/components/List/ListItemBase.d.ts +8 -2
  101. package/dist/types/lib/components/List/ListItemControls.d.ts +1 -8
  102. package/dist/types/lib/components/List/ListItemHeader.d.ts +5 -15
  103. package/dist/types/lib/components/List/ListItemIcon.d.ts +13 -0
  104. package/dist/types/lib/components/List/ListItemLink.d.ts +2 -1
  105. package/dist/types/lib/components/List/MultilevelList.stories.d.ts +5 -0
  106. package/dist/types/lib/components/List/Specimens.stories.d.ts +13 -0
  107. package/dist/types/lib/components/List/index.d.ts +1 -1
  108. package/dist/types/lib/components/Menu/Menu.d.ts +1 -1
  109. package/dist/types/lib/components/Menu/Menu.stories.d.ts +4 -27
  110. package/dist/types/lib/components/Menu/MenuBase.d.ts +4 -3
  111. package/dist/types/lib/components/Menu/MenuItem.d.ts +7 -7
  112. package/dist/types/lib/components/Menu/MenuItemBase.d.ts +1 -1
  113. package/dist/types/lib/components/Menu/MenuItemIcon.d.ts +8 -0
  114. package/dist/types/lib/components/Menu/MenuItems.d.ts +6 -4
  115. package/dist/types/lib/components/Menu/Patterns.stories.d.ts +72 -0
  116. package/dist/types/lib/components/Menu/index.d.ts +1 -1
  117. package/dist/types/lib/components/Page/PageHeader.d.ts +7 -2
  118. package/dist/types/lib/components/Page/PageHeader.stories.d.ts +1 -1
  119. package/dist/types/lib/components/Page/PageMenu.stories.d.ts +3 -15
  120. package/dist/types/lib/components/Page/PageTabs.d.ts +8 -0
  121. package/dist/types/lib/components/Page/index.d.ts +1 -0
  122. package/dist/types/lib/types/color.d.ts +1 -1
  123. package/package.json +27 -26
  124. package/dist/assets/ListItemMedia.css +0 -1
  125. package/dist/assets/MenuItemMedia.css +0 -1
  126. package/dist/components/List/ListItemMedia.js +0 -39
  127. package/dist/components/Menu/MenuItemMedia.js +0 -50
  128. package/dist/types/lib/components/Layout/LayoutBase.stories.d.ts +0 -11
  129. package/dist/types/lib/components/Layout/LayoutBody.stories.d.ts +0 -11
  130. package/dist/types/lib/components/Layout/LayoutContent.stories.d.ts +0 -11
  131. package/dist/types/lib/components/Layout/LayoutSidebar.stories.d.ts +0 -11
  132. package/dist/types/lib/components/List/ListItemHeader.stories.d.ts +0 -23
  133. package/dist/types/lib/components/List/ListItemMedia.d.ts +0 -13
  134. package/dist/types/lib/components/Menu/MenuItem.stories.d.ts +0 -25
  135. package/dist/types/lib/components/Menu/MenuItemMedia.d.ts +0 -14
package/README.md CHANGED
@@ -1,8 +1,20 @@
1
1
  # altinn-components
2
- This package is a set of reusable components for building web applications for [Altinn 3](https://docs.altinn.studio/nb/community/about/).
3
- This is *not* a general purpose library, but a library of components that are specifically designed for the Altinn platform, to ensure
4
- a consistent look and feel across all applications. It also contains a storybook with stories explaining the purpose and usage of each component, and
5
- with real examples of how to use them separately or together (composition).
2
+
3
+ The next frontend of altinn.no is developed by multiple product teams, all working toward the shared goal of delivering a seamless, unified experience for the end users ensuring they perceive it as a single and robust product.
4
+ This package represents a collaborative effort between designers and developers across these teams, consolidating solutions to shared challenges.
5
+ It provides Altinn-specific React components tailored to address the common UI needs of these specific teams.
6
+
7
+ Today these teams are [Team Arbeidsflate](https://github.com/digdir/dialogporten-frontend), [Team authorization](https://github.com/Altinn/altinn-access-management-frontend), and Team Portal.
8
+
9
+ Note that this package is specifically designed to meet the unique needs of the aforementioned teams and is not intended to serve as a general-purpose library.
10
+ We already have the amazing [Norwegian public sector's Design System](https://designsystemet.no/), and we aim to incorporate its elements wherever it makes sense, ensuring alignment and leveraging its strengths while adapting to the specific requirements of Altinn.
11
+
12
+ Currently, we do not use components from the design system _directly_ but rely on its token structure and continue to explore opportunities for deeper integration.
13
+ This approach helps us align with brand guidelines and the broader vision of a unified Altinn product.
14
+
15
+ ## Feedback and questions
16
+ Keep in mind that this package is a work in progress and will be updated continuously.
17
+ If you have any feedback or questions, please reach out to us on Github.
6
18
 
7
19
  ## Installation
8
20
  To install the package, run the following command:
@@ -6,6 +6,7 @@
6
6
  background-color: var(--ds-color-background-subtle);
7
7
  }
8
8
 
9
+ [data-theme="surface"],
9
10
  [data-theme="surface-default"] {
10
11
  background-color: var(--ds-color-surface-default);
11
12
  }
@@ -18,6 +19,7 @@
18
19
  background-color: var(--ds-color-surface-active);
19
20
  }
20
21
 
22
+ [data-theme="border"],
21
23
  [data-theme="border-subtle"] {
22
24
  background-color: var(--ds-color-border-subtle);
23
25
  }
@@ -30,6 +32,7 @@
30
32
  background-color: var(--ds-color-border-strong);
31
33
  }
32
34
 
35
+ [data-theme="base"],
33
36
  [data-theme="base-default"] {
34
37
  background-color: var(--ds-color-base-default);
35
38
  color: var(--ds-color-contrast-default);
@@ -1 +1 @@
1
- ._avatar_6t4ka_1{flex-grow:0;flex-shrink:0;display:flex;justify-content:center;align-items:center;overflow:hidden;--avatar-font-size-xs: .75rem;--avatar-font-size-sm: .875rem;--avatar-font-size-md: 1.125rem;--avatar-font-size-lg: 1.25rem;--avatar-font-size-xl: 1.5rem}._circle_6t4ka_15{border-radius:50%}._square_6t4ka_19{border-radius:5%}._outline_6t4ka_23{outline:1px solid #ffffff;box-sizing:border-box}._xs_6t4ka_28{font-size:var(--avatar-font-size-xs);width:20px;height:20px}._sm_6t4ka_34{font-size:var(--avatar-font-size-sm);width:24px;height:24px}._md_6t4ka_40{font-size:var(--avatar-font-size-md);width:30px;height:30px}._lg_6t4ka_46{font-size:var(--avatar-font-size-lg);width:36px;height:36px}._xl_6t4ka_52{font-size:var(--avatar-font-size-xl);width:44px;height:44px}._image_6t4ka_58{width:100%;height:100%}
1
+ ._avatar_vbrzn_1{flex-grow:0;flex-shrink:0;display:flex;justify-content:center;align-items:center;overflow:hidden;--avatar-font-size-xs: .75rem;--avatar-font-size-sm: .875rem;--avatar-font-size-md: 1.125rem;--avatar-font-size-lg: 1.25rem;--avatar-font-size-xl: 1.5rem}._circle_vbrzn_15{border-radius:50%}._square_vbrzn_19{border-radius:5%}._outline_vbrzn_23{outline:1px solid #ffffff;box-sizing:border-box}._xs_vbrzn_28{font-size:var(--avatar-font-size-xs);width:20px;height:20px}._sm_vbrzn_34{font-size:var(--avatar-font-size-sm);width:24px;height:24px}._md_vbrzn_40{font-size:var(--avatar-font-size-md);width:32px;height:32px}._lg_vbrzn_46{font-size:var(--avatar-font-size-lg);width:36px;height:36px}._xl_vbrzn_52{font-size:var(--avatar-font-size-xl);width:44px;height:44px}._image_vbrzn_58{width:100%;height:100%}
@@ -1 +1 @@
1
- ._group_1xzlf_1{display:flex}._reset_1xzlf_5{margin:0;padding:0;text-indent:0;list-style-type:none}._item_1xzlf_12{position:relative}._xs_1xzlf_16{width:32px}._xs_1xzlf_16[data-count="1"]{width:20px}._xs_1xzlf_16[data-count="2"] *+*{margin-left:-8px}._xs_1xzlf_16[data-count="3"] *+*{margin-left:-14px}._xs_1xzlf_16[data-count="4"] *+*{margin-left:-16px}._sm_1xzlf_36{width:42px}._sm_1xzlf_36[data-count="1"]{width:24px}._sm_1xzlf_36[data-count="2"] *+*{margin-left:-6px}._sm_1xzlf_36[data-count="3"] *+*{margin-left:-15px}._sm_1xzlf_36[data-count="4"] *+*{margin-left:-18px}._md_1xzlf_56{width:54px}._md_1xzlf_56[data-count="1"]{width:30px}._md_1xzlf_56[data-count="2"] *+*{margin-left:-6px}._md_1xzlf_56[data-count="3"] *+*{margin-left:-18px}._md_1xzlf_56[data-count="4"] *+*{margin-left:-22px}._lg_1xzlf_76{width:66px}._lg_1xzlf_76[data-count="1"]{width:36px}._lg_1xzlf_76[data-count="2"] *+*{margin-left:-6px}._lg_1xzlf_76[data-count="3"] *+*{margin-left:-21px}._lg_1xzlf_76[data-count="4"] *+*{margin-left:-26px}
1
+ ._group_1ks00_1{flex-shrink:0;display:flex}._reset_1ks00_6{margin:0;padding:0;text-indent:0;list-style-type:none}._item_1ks00_13{position:relative}._xs_1ks00_17{min-width:32px}._xs_1ks00_17[data-count="1"]{min-width:20px}._xs_1ks00_17[data-count="2"] *+*{margin-left:-8px}._xs_1ks00_17[data-count="3"] *+*{margin-left:-14px}._xs_1ks00_17[data-count="4"] *+*{margin-left:-16px}._sm_1ks00_37{min-width:42px}._sm_1ks00_37[data-count="1"]{min-width:24px}._sm_1ks00_37[data-count="2"] *+*{margin-left:-6px}._sm_1ks00_37[data-count="3"] *+*{margin-left:-15px}._sm_1ks00_37[data-count="4"] *+*{margin-left:-18px}._md_1ks00_57{min-width:54px}._md_1ks00_57[data-count="1"]{min-width:30px}._md_1ks00_57[data-count="2"] *+*{margin-left:-6px}._md_1ks00_57[data-count="3"] *+*{margin-left:-18px}._md_1ks00_57[data-count="4"] *+*{margin-left:-22px}._lg_1ks00_77{min-width:66px}._lg_1ks00_77[data-count="1"]{min-width:36px}._lg_1ks00_77[data-count="2"] *+*{margin-left:-6px}._lg_1ks00_77[data-count="3"] *+*{margin-left:-21px}._lg_1ks00_77[data-count="4"] *+*{margin-left:-26px}._xl_1ks00_97{min-width:80px}._xl_1ks00_97[data-count="1"]{min-width:44px}._xl_1ks00_97[data-count="2"] *+*{margin-left:-8px}._xl_1ks00_97[data-count="3"] *+*{margin-left:-26px}._xl_1ks00_97[data-count="4"] *+*{margin-left:-32px}
@@ -1 +1 @@
1
- ._badge_dqhhh_1{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}._badge_dqhhh_1[data-size=xs]{width:.75rem;height:.75rem;padding:0;border-radius:1em}._badge_dqhhh_1[data-size=xs] ._label_dqhhh_15{color:transparent;width:100%;height:100%}._badge_dqhhh_1[data-size=sm]{font-weight:500;font-size:.75rem;line-height:1;padding:.5em;min-width:2em;border-radius:2em}._badge_dqhhh_1[data-variant=subtle]{background-color:var(--ds-color-surface-default);color:var(--ds-color-text-subtle)}._badge_dqhhh_1[data-variant=strong]{background-color:var(--ds-color-base-default);color:var(--ds-color-contrast-default)}
1
+ ._badge_vjhmt_1{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex-shrink:0}._badge_vjhmt_1[data-size=xs]{width:.75rem;height:.75rem;padding:0;border-radius:1em}._badge_vjhmt_1[data-size=xs] ._label_vjhmt_16{color:transparent;width:100%;height:100%}._badge_vjhmt_1[data-size=sm]{font-weight:500;font-size:.75rem;line-height:1;padding:.5em;min-width:2em;border-radius:2em}._badge_vjhmt_1[data-variant=subtle]{background-color:var(--ds-color-surface-default);color:var(--ds-color-text-subtle)}._badge_vjhmt_1[data-variant=strong]{background-color:var(--ds-color-base-default);color:var(--ds-color-contrast-default)}
@@ -1 +1 @@
1
- ._label_1t884_1{line-height:1;font-weight:500;padding:0 .25em}._label_1t884_1[data-size=xs]{font-size:.75rem;padding:0 .5em}._label_1t884_1[data-size=sm]{font-size:.875rem}._label_1t884_1[data-size=md]{font-size:1rem}._label_1t884_1[data-size=lg]{font-size:1.125rem}
1
+ ._label_1ahnm_1{line-height:1;font-weight:500;padding:0 .25em;white-space:nowrap}._label_1ahnm_1[data-size=xs]{font-size:.75rem;padding:0 .5em}._label_1ahnm_1[data-size=sm]{font-size:.875rem}._label_1ahnm_1[data-size=md]{font-size:1rem}._label_1ahnm_1[data-size=lg]{font-size:1.125rem}
@@ -1 +1 @@
1
- ._flex_m0l5u_1{display:flex}._flex_m0l5u_1[data-direction=col]{flex-direction:column}._flex_m0l5u_1[data-direction=row]{flex-direction:row}._flex_m0l5u_1[data-align=center]{align-items:center}._flex_m0l5u_1[data-align=start]{align-items:flex-start}._flex_m0l5u_1[data-align=end]{align-items:flex-end}._flex_m0l5u_1[data-justify=start]{justify-content:flex-start}._flex_m0l5u_1[data-justify=end]{justify-content:flex-end}._flex_m0l5u_1[data-justify=center]{justify-content:center}._flex_m0l5u_1[data-justify=between]{justify-content:space-between}@media (max-width: 1024px){._flex_m0l5u_1[data-bleed=true]{margin-left:-1rem;margin-right:-1rem}}._flex_m0l5u_1[data-padding=page]{padding:var(--ds-spacing-6)}@media (max-width: 1024px){._flex_m0l5u_1[data-padding=page]{padding-left:var(--ds-spacing-4);padding-right:var(--ds-spacing-4)}}._flex_m0l5u_1[data-spacing=xs]{gap:.125rem}._flex_m0l5u_1[data-margin=section]{margin:.625rem 0}._flex_m0l5u_1[data-margin=page]{margin:1.125rem 0}
1
+ ._flex_yqbrl_1{display:flex}._flex_yqbrl_1[data-direction=col]{flex-direction:column}._flex_yqbrl_1[data-direction=row]{flex-direction:row}._flex_yqbrl_1[data-align=center]{align-items:center}._flex_yqbrl_1[data-align=start]{align-items:flex-start}._flex_yqbrl_1[data-align=end]{align-items:flex-end}._flex_yqbrl_1[data-justify=start]{justify-content:flex-start}._flex_yqbrl_1[data-justify=end]{justify-content:flex-end}._flex_yqbrl_1[data-justify=center]{justify-content:center}._flex_yqbrl_1[data-justify=between]{justify-content:space-between}@media (max-width: 1023px){._flex_yqbrl_1[data-bleed=true]{margin-left:-1rem;margin-right:-1rem}}._flex_yqbrl_1[data-padding=page]{padding:var(--ds-spacing-6)}@media (max-width: 1023px){._flex_yqbrl_1[data-padding=page]{padding-left:var(--ds-spacing-4);padding-right:var(--ds-spacing-4)}}._flex_yqbrl_1[data-spacing=xs]{gap:.125rem}._flex_yqbrl_1[data-margin=section]{margin:.625rem 0}._flex_yqbrl_1[data-margin=page]{margin:1.125rem 0}
@@ -1 +1 @@
1
- ._grid_bzro4_1{display:grid}._grid_bzro4_1[data-cols="1-2-3"]{grid-template-columns:repeat(1,minmax(0,1fr))}@media (min-width: 640px){._grid_bzro4_1[data-cols="1-2-3"]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){._grid_bzro4_1[data-cols="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}._grid_bzro4_1[data-cols="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}._grid_bzro4_1[data-cols="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}._grid_bzro4_1[data-cols="1-2-3"]{grid-template-columns:repeat(3,minmax(0,1fr))}}._grid_bzro4_1[data-padding=page]{padding:var(--ds-spacing-6)}@media (max-width: 1024px){._grid_bzro4_1[data-padding=page]{padding-left:var(--ds-spacing-4);padding-right:var(--ds-spacing-4)}}._grid_bzro4_1[data-spacing=xs]{gap:.125rem}._grid_bzro4_1[data-margin=section]{margin:.625rem 0}._grid_bzro4_1[data-margin=page]{margin:1.125rem 0}
1
+ ._grid_5zqvf_1{display:grid}._grid_5zqvf_1[data-cols="1-2-3"]{grid-template-columns:repeat(1,minmax(0,1fr))}@media (min-width: 640px){._grid_5zqvf_1[data-cols="1-2-3"]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){._grid_5zqvf_1[data-cols="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}._grid_5zqvf_1[data-cols="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}._grid_5zqvf_1[data-cols="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}._grid_5zqvf_1[data-cols="1-2-3"]{grid-template-columns:repeat(3,minmax(0,1fr))}}._grid_5zqvf_1[data-padding=page]{padding:var(--ds-spacing-6)}@media (max-width: 1023px){._grid_5zqvf_1[data-padding=page]{padding-left:var(--ds-spacing-4);padding-right:var(--ds-spacing-4)}}._grid_5zqvf_1[data-spacing=xs]{gap:.125rem}._grid_5zqvf_1[data-margin=section]{margin:.625rem 0}._grid_5zqvf_1[data-margin=page]{margin:1.125rem 0}
@@ -1 +1 @@
1
- ._icon_8905q_1{display:flex;align-items:center;justify-content:center;height:1em;width:1em}._icon_8905q_1[data-size=xs]{border-radius:5%;font-size:.75rem;width:20px;height:20px}._icon_8905q_1[data-size=sm]{border-radius:5%;font-size:1rem;width:24px;height:24px}._icon_8905q_1[data-size=md]{border-radius:5%;font-size:1.25rem;width:30px;height:30px}._icon_8905q_1[data-size=lg]{border-radius:5%;font-size:1.5rem;width:36px;height:36px}._icon_8905q_1[data-size=xl]{border-radius:5%;font-size:1.5rem;width:44px;height:44px}
1
+ ._icon_3p8he_1{border-radius:5%;display:flex;align-items:center;justify-content:center;height:1em;width:1em}._icon_3p8he_1[data-size=xs]{font-size:1rem;min-width:20px;height:20px}._icon_3p8he_1[data-size=sm]{font-size:1.25rem;min-width:24px;height:24px}._icon_3p8he_1[data-size=md]{font-size:1.5rem;min-width:32px;height:32px}._icon_3p8he_1[data-size=lg]{font-size:1.75rem;min-width:36px;height:36px}._icon_3p8he_1[data-size=xl]{font-size:1.75rem;min-width:44px;height:44px}
@@ -1 +1 @@
1
- ._body_1oj0m_1{flex-grow:1;width:100%;max-width:1280px;margin:0 auto;padding:0 1rem;display:flex;column-gap:2em}@media (min-width: 1024px){._body_1oj0m_1{padding:0 1rem}}@media (max-width: 1024px){._body_1oj0m_1[data-current-id=menu]{display:none}}
1
+ ._body_18zk9_1{flex-grow:1;width:100%;max-width:1280px;margin:0 auto;padding:0 1rem;display:flex;column-gap:2em}@media (min-width: 1024px){._body_18zk9_1{padding:0 1rem}}@media (max-width: 1023px){._body_18zk9_1[data-current-id=menu]{display:none}}
@@ -1 +1 @@
1
- ._item_1okn7_1{position:relative;width:100%;display:flex;flex-direction:column}._item_1okn7_1[data-shadow=xs]{box-shadow:var(--ds-shadow-xs)}._item_1okn7_1[data-variant=outline],._item_1okn7_1[data-variant=dotted]{outline-color:var(--ds-color-base-default)}._item_1okn7_1[data-variant=outline]{outline-style:solid}._item_1okn7_1[data-variant=dotted]{outline-color:var(--ds-color-border-subtle);outline-style:dashed}._item_1okn7_1[data-theme=default]{background-color:var(--ds-color-background-default)}._item_1okn7_1[data-theme=subtle]{background-color:var(--ds-color-background-subtle)}._item_1okn7_1[data-theme=subtle]:hover,._item_1okn7_1[data-theme=surface]{background-color:var(--ds-color-surface-hover)}._item_1okn7_1[data-theme=surface]:hover{background-color:var(--ds-color-surface-active)}._item_1okn7_1[data-theme=base]{background-color:var(--ds-color-base-default);color:var(--ds-color-contrast-default)}._item_1okn7_1[data-theme=base]:hover{background-color:var(--ds-color-base-hover);color:var(--ds-color-contrast-default)}._item_1okn7_1[data-active=true]{background-color:var(--ds-color-surface-default)}._item_1okn7_1[aria-expanded=true],._item_1okn7_1[aria-selected=true]{outline:2px solid}._item_1okn7_1:not([aria-selected=true]):hover,._item_1okn7_1:not([aria-disabled=true]):hover{outline:2px solid var(--ds-color-border-strong)}._item_1okn7_1[aria-disabled=true]{pointer-events:none}
1
+ ._item_1slti_1{padding:0;border:0;background-color:transparent;color:inherit;font:inherit;text-align:inherit;text-decoration:none;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;user-select:none;position:relative;width:100%;display:flex;flex-direction:column}._item_1slti_1[data-shadow=xs]{box-shadow:var(--ds-shadow-xs)}._item_1slti_1[data-variant=outline],._item_1slti_1[data-variant=dotted]{outline-color:var(--ds-color-base-default)}._item_1slti_1[data-variant=outline]{outline-style:solid}._item_1slti_1[data-variant=dotted]{outline-color:var(--ds-color-border-subtle);outline-style:dashed}._item_1slti_1[data-theme=default]{background-color:var(--ds-color-background-default)}._item_1slti_1[data-theme=subtle]{background-color:var(--ds-color-background-subtle)}._interactive_1slti_53[data-theme=subtle]:hover,._item_1slti_1[data-theme=surface]{background-color:var(--ds-color-surface-hover)}._interactive_1slti_53[data-theme=surface]:hover{background-color:var(--ds-color-surface-active)}._item_1slti_1[data-theme=base]{background-color:var(--ds-color-base-default);color:var(--ds-color-contrast-default)}._interactive_1slti_53[data-theme=base]:hover{background-color:var(--ds-color-base-hover);color:var(--ds-color-contrast-default)}._item_1slti_1[data-active=true]{background-color:var(--ds-color-surface-default)}._item_1slti_1[aria-expanded=true],._item_1slti_1[aria-selected=true]{outline:2px solid}._item_1slti_1[aria-disabled=true]{pointer-events:none}._interactive_1slti_53:not([aria-selected=true]){cursor:pointer}._interactive_1slti_53:not([aria-expanded=true]):not([data-theme=transparent]):hover,._interactive_1slti_53:not([aria-selected=true]):not([data-theme=transparent]):hover,._interactive_1slti_53:not([aria-disabled=true]):not([data-theme=transparent]):hover{outline:2px solid var(--ds-color-border-strong)}
@@ -1 +1 @@
1
- ._controls_n31lc_1{display:flex;align-items:center;gap:.625rem}._controls_n31lc_1:empty{display:none}._linkText_n31lc_11{font-size:.875rem;white-space:nowrap}._linkIcon_n31lc_16{font-size:1.5rem}
1
+ ._controls_1schy_1{display:flex;align-items:center;white-space:nowrap;flex-wrap:nowrap;gap:.625rem}._controls_1schy_1:empty{display:none}._linkText_1schy_13{font-size:.875rem;white-space:nowrap}._linkIcon_1schy_18{font-size:1.5rem}
@@ -1 +1 @@
1
- ._header_1xskv_1{position:relative;width:100%;display:flex;align-items:center}._link_1xskv_8{flex-grow:1;display:flex;align-items:center}._link_1xskv_8[data-size=xs]{min-height:44px;padding:.5rem .625rem;column-gap:.5rem}._link_1xskv_8[data-size=sm]{min-height:52px;padding:.5rem .625rem;column-gap:.5rem}._link_1xskv_8[data-size=md]{min-height:64px;padding:.875rem;column-gap:.625rem}._link_1xskv_8[data-size=lg]{min-height:72px;padding:1rem;column-gap:.75rem}._link_1xskv_8[data-size=xl]{min-height:72px;padding:1.5rem;column-gap:1rem}._controls_1xskv_44{margin:.5rem}
1
+ ._header_13dzg_1{position:relative;width:100%;display:flex;align-items:center;justify-content:space-between}._header_13dzg_1[data-size=xs]{min-height:44px;padding:.5rem .625rem;column-gap:.5rem}._header_13dzg_1[data-size=sm]{min-height:52px;padding:.5rem .625rem;column-gap:.5rem}._header_13dzg_1[data-size=md]{min-height:64px;padding:.875rem;column-gap:.625rem}._header_13dzg_1[data-size=lg]{min-height:72px;padding:1rem;column-gap:.75rem}._header_13dzg_1[data-size=xl]{min-height:72px;padding:1.5rem;column-gap:1rem}._link_13dzg_39{display:flex;align-items:center;column-gap:inherit}
@@ -1 +1 @@
1
- ._link_4l8am_1{padding:0;border:0;background-color:transparent;color:inherit;font:inherit;text-align:inherit;text-decoration:none;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;user-select:none;cursor:pointer}._link_4l8am_1[aria-disabled=true]{pointer-events:none}._link_4l8am_1:not([aria-disabled=true]):hover h2{text-decoration:underline}
1
+ ._link_g93r9_1{padding:0;border:0;background-color:transparent;color:inherit;font:inherit;text-align:inherit;text-decoration:none;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;user-select:none}._link_g93r9_1[aria-disabled=true]{pointer-events:none}._interactive_g93r9_22:not([aria-disabled=true]){cursor:pointer}._interactive_g93r9_22:not([aria-disabled=true]):hover h2{text-decoration:underline}
@@ -1 +1 @@
1
- ._label_1vv8z_1{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;background-color:transparent;padding:.75rem;border-radius:50%;border:0}._label_1vv8z_1[data-size=xl],._label_1vv8z_1[data-size=lg],._label_1vv8z_1[data-size=md]{font-size:1.25rem;margin-left:.375rem;margin-right:-.25rem}._label_1vv8z_1[data-size=sm],._label_1vv8z_1[data-size=xs]{font-size:1rem;padding:.625rem;margin-left:.325rem;margin-right:-.5rem}._label_1vv8z_1:hover{background-color:var(--ds-color-surface-default)}._input_1vv8z_32{position:absolute;opacity:0}._icon_1vv8z_37{color:var(--ds-color-base-default)}._icon_1vv8z_37 [data-hover=true]{opacity:0}._label_1vv8z_1:hover [data-hover=true]{opacity:1}
1
+ ._label_l4npz_1{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;background-color:transparent;border-radius:50%;border:0}._label_l4npz_1:hover{background-color:var(--ds-color-surface-default)}._input_l4npz_15{position:absolute;opacity:0}._icon_l4npz_20{color:var(--ds-color-base-default)}._icon_l4npz_20 [data-hover=true]{opacity:0}._label_l4npz_1:hover [data-hover=true]{opacity:1}._label_l4npz_1[data-size=xs]{width:24px;height:24px;margin:-2px}._label_l4npz_1[data-size=xs] ._icon_l4npz_20{width:12px}._label_l4npz_1[data-size=sm]{width:28px;height:28px;margin:-2px}._label_l4npz_1[data-size=sm] ._icon_l4npz_20{width:14px;height:14px}._label_l4npz_1[data-size=md]{width:36px;height:36px;margin:-2px}._label_l4npz_1[data-size=md] ._icon_l4npz_20{width:16px;height:16px}._label_l4npz_1[data-size=lg]{width:44px;height:44px;margin:-4px}._label_l4npz_1[data-size=lg] ._icon_l4npz_20{width:20px;height:20px}._label_l4npz_1[data-size=xl]{width:52px;height:52px;margin:-4px}._label_l4npz_1[data-size=xl] ._icon_l4npz_20{width:24px;height:24px}
@@ -1 +1 @@
1
- ._item_1imot_1{padding:0;border:0;color:inherit;font:inherit;text-align:inherit;text-decoration:none;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;user-select:none;cursor:pointer;position:relative;width:100%;display:flex;align-items:center;column-gap:.25rem;margin:.5rem 0;border-radius:2px}._item_1imot_1[aria-disabled=true]{opacity:.5;pointer-events:none}._item_1imot_1[data-size=sm]{min-height:44px}._item_1imot_1[data-size=xs]{min-height:40px}._content_1imot_41{display:flex;width:100%;align-items:center;column-gap:6px;padding:6px}._action_1imot_49{display:flex;justify-content:center;align-items:center;padding:10px}._linkText_1imot_56{font-size:.875rem;white-space:nowrap}._linkIcon_1imot_61{font-size:1.5rem}._item_1imot_1,._item_1imot_1[data-theme]{background-color:transparent}[data-theme=default] ._item_1imot_1:hover,[data-theme=default] ._item_1imot_1:active{background-color:var(--ds-color-surface-active)}[data-theme=default] ._item_1imot_1[aria-selected=true]{background-color:var(--ds-color-surface-default)}[data-theme=subtle] ._item_1imot_1:hover,[data-theme=subtle] ._item_1imot_1:active{background-color:var(--ds-color-surface-active)}[data-theme=subtle] ._item_1imot_1[aria-selected=true]{background-color:var(--ds-color-background-default)}._item_1imot_1[data-theme=surface][aria-selected=true]{background-color:var(--ds-color-surface-default)}
1
+ ._item_18cbi_1{padding:0;border:0;color:inherit;font:inherit;text-align:inherit;text-decoration:none;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;user-select:none;cursor:pointer;position:relative;width:100%;display:flex;align-items:center;column-gap:.25rem;margin:.5rem 0;border-radius:2px}._item_18cbi_1[aria-disabled=true]{opacity:.5;pointer-events:none}._item_18cbi_1[data-size=md]{min-height:56px}._item_18cbi_1[data-size=md]{min-height:44px}._item_18cbi_1[data-size=sm]{min-height:40px}._content_18cbi_45{display:flex;width:100%;align-items:center;column-gap:6px;padding:6px}._action_18cbi_53{display:flex;justify-content:center;align-items:center;padding:10px}._linkText_18cbi_60{font-size:.875rem;white-space:nowrap}._linkIcon_18cbi_65{font-size:1.5rem}._item_18cbi_1,._item_18cbi_1[data-theme]{background-color:transparent}[data-theme=subtle] ._item_18cbi_1:hover{background-color:var(--ds-color-surface-hover)}[data-theme=subtle] ._item_18cbi_1:active{background-color:var(--ds-color-surface-active)}[data-theme=subtle] ._item_18cbi_1[aria-selected=true]{background-color:var(--ds-color-background-default)}[data-theme=default] ._item_18cbi_1:hover{background-color:var(--ds-color-surface-hover)}[data-theme=default] ._item_18cbi_1:active{background-color:var(--ds-color-surface-active)}[data-theme=default] ._item_18cbi_1[aria-selected=true]{background-color:var(--ds-color-background-subtle)}
@@ -0,0 +1 @@
1
+ ._icon_14zf3_1{position:relative;display:flex;justify-content:center;align-items:center}._badge_14zf3_8{position:absolute;top:0;right:0;margin-top:-.25em;margin-right:-.25em;outline:1px solid white}
@@ -1 +1 @@
1
- ._label_iwl5m_1{display:flex;flex-direction:column;padding:0 .25rem}._title_iwl5m_7[data-size=lg]{font-size:1.125rem;line-height:1.25;font-weight:500}._title_iwl5m_7[data-size=md]{font-size:1rem;line-height:1.25;font-weight:500}._title_iwl5m_7[data-size=sm]{font-size:1rem;line-height:1.25;font-weight:400}._title_iwl5m_7[data-size=xs]{font-size:.875rem;line-height:1.25;font-weight:400}._description_iwl5m_31{font-size:.875rem;color:var(--ds-color-text-subtle)}
1
+ ._label_1ejxp_1{display:flex;flex-direction:column;padding:0 .25rem}._title_1ejxp_7[data-size=lg]{font-size:1.125rem;line-height:1.25;font-weight:500}._title_1ejxp_7[data-size=md],._title_1ejxp_7[data-size=sm]{font-size:1rem;line-height:1.25;font-weight:400}._description_1ejxp_25{font-size:.875rem;color:var(--ds-color-text-subtle)}
@@ -0,0 +1 @@
1
+ ._menu_vbqbk_1{padding:0 .5rem;border-radius:.375rem}._list_vbqbk_6{display:flex;row-gap:.5rem;flex-direction:column;list-style:none;padding:0;margin:0}@media (min-width: 1024px){._list_vbqbk_6{flex-direction:row;align-items:center;justify-content:start;column-gap:.5rem;width:auto}}._item_vbqbk_25{margin:0;border-top:2px solid;border-bottom:2px solid;border-color:transparent}._item_vbqbk_25[aria-selected=true]{border-bottom-color:var(--ds-color-base-default)}
@@ -1,42 +1,39 @@
1
- import { jsxs as n, jsx as m } from "react/jsx-runtime";
2
- import { ListItemBase as p } from "../List/ListItemBase.js";
1
+ import { jsx as r } from "react/jsx-runtime";
3
2
  import "../../index-L8X2o7IH.js";
4
- import { ListItemHeader as a } from "../List/ListItemHeader.js";
5
3
  import "react";
4
+ import "../Icon/SvgIcon.js";
6
5
  import "../Autocomplete/AutocompleteBase.js";
7
6
  import "../RootProvider/RootProvider.js";
8
7
  import "../Snackbar/useSnackbar.js";
9
- import "../Icon/SvgIcon.js";
10
- import '../../assets/AccessAreaListItem.css';const l = "_content_7hk0i_1", f = {
11
- content: l
8
+ import { ListItem as n } from "../List/ListItem.js";
9
+ import '../../assets/AccessAreaListItem.css';const p = "_content_7hk0i_1", a = {
10
+ content: p
12
11
  }, A = ({
13
- name: o,
14
- icon: s,
15
- size: r = "md",
16
- children: e,
17
- expanded: t = !1,
18
- onClick: i,
12
+ name: t,
13
+ icon: e,
14
+ size: i = "md",
15
+ children: m,
16
+ expanded: o = !1,
17
+ onClick: s,
19
18
  ...c
20
- }) => /* @__PURE__ */ n(p, { size: r, expanded: t, children: [
21
- /* @__PURE__ */ m(
22
- a,
23
- {
24
- as: "button",
25
- avatar: {
26
- name: o,
27
- imageUrl: s,
28
- type: "company"
29
- },
30
- title: o,
31
- size: r,
32
- collapsible: !0,
33
- expanded: t,
34
- onClick: i,
35
- ...c
36
- }
37
- ),
38
- t && /* @__PURE__ */ m("div", { className: f.content, children: e })
39
- ] });
19
+ }) => /* @__PURE__ */ r(
20
+ n,
21
+ {
22
+ as: "button",
23
+ avatar: {
24
+ name: t,
25
+ imageUrl: e,
26
+ type: "company"
27
+ },
28
+ title: t,
29
+ size: i,
30
+ collapsible: !0,
31
+ expanded: o,
32
+ onClick: s,
33
+ ...c,
34
+ children: o && /* @__PURE__ */ r("div", { className: a.content, children: m })
35
+ }
36
+ );
40
37
  export {
41
38
  A as AccessAreaListItem
42
39
  };
@@ -1,26 +1,26 @@
1
- import { jsx as i } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
2
  import "../../index-L8X2o7IH.js";
3
3
  import "react";
4
4
  import "../Icon/SvgIcon.js";
5
5
  import "../Autocomplete/AutocompleteBase.js";
6
6
  import "../RootProvider/RootProvider.js";
7
7
  import "../Snackbar/useSnackbar.js";
8
- import { ListItem as p } from "../List/ListItem.js";
9
- const v = ({ as: o = "button", icon: t, title: m, ...r }) => /* @__PURE__ */ i(
10
- p,
8
+ import { ListItem as i } from "../List/ListItem.js";
9
+ const g = ({ as: r = "button", icon: t, title: m, ...o }) => /* @__PURE__ */ e(
10
+ i,
11
11
  {
12
12
  avatar: t ? {
13
13
  imageUrl: t,
14
14
  type: "company",
15
15
  name: m || ""
16
16
  } : void 0,
17
- as: o,
17
+ as: r,
18
18
  size: "sm",
19
19
  color: "accent",
20
20
  title: m,
21
- ...r
21
+ ...o
22
22
  }
23
23
  );
24
24
  export {
25
- v as AccessPackageListItem
25
+ g as AccessPackageListItem
26
26
  };
@@ -1,16 +1,20 @@
1
- import { jsxs as c, jsx as l } from "react/jsx-runtime";
2
- import { Icon as m } from "../Icon/Icon.js";
1
+ import { jsxs as r, jsx as i } from "react/jsx-runtime";
2
+ import { Icon as s } from "../Icon/Icon.js";
3
3
  import "../Icon/SvgIcon.js";
4
4
  import "../../index-L8X2o7IH.js";
5
- import { Typography as t } from "../Typography/Typography.js";
6
- import '../../assets/AttachmentLink.css';const e = "_link_196mu_1", r = "_label_196mu_12", p = "_icon_196mu_18", n = {
7
- link: e,
8
- label: r,
5
+ import "react";
6
+ import "../Autocomplete/AutocompleteBase.js";
7
+ import "../RootProvider/RootProvider.js";
8
+ import { Typography as a } from "../Typography/Typography.js";
9
+ import "../Snackbar/useSnackbar.js";
10
+ import '../../assets/AttachmentLink.css';const c = "_link_196mu_1", e = "_label_196mu_12", p = "_icon_196mu_18", o = {
11
+ link: c,
12
+ label: e,
9
13
  icon: p
10
- }, u = ({ size: o = "lg", icon: s = "file", href: i, label: a }) => /* @__PURE__ */ c(t, { as: "a", href: i, size: o, className: n.link, children: [
11
- /* @__PURE__ */ l(m, { name: s, className: n.icon }),
12
- /* @__PURE__ */ l("span", { className: n.label, children: a })
14
+ }, d = ({ size: n = "lg", icon: l = "file", href: m, label: t }) => /* @__PURE__ */ r(a, { as: "a", href: m, size: n, className: o.link, children: [
15
+ /* @__PURE__ */ i(s, { name: l, className: o.icon }),
16
+ /* @__PURE__ */ i("span", { className: o.label, children: t })
13
17
  ] });
14
18
  export {
15
- u as AttachmentLink
19
+ d as AttachmentLink
16
20
  };
@@ -1,28 +1,37 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { BookmarksListItem as a } from "../Bookmarks/BookmarksListItem.js";
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { BookmarksListItem as r } from "../Bookmarks/BookmarksListItem.js";
3
3
  import "react";
4
4
  import "../../index-L8X2o7IH.js";
5
5
  import "../Icon/SvgIcon.js";
6
6
  import "./AutocompleteBase.js";
7
- import { ScopeListItem as o } from "./ScopeListItem.js";
7
+ import { ScopeListItem as a } from "./ScopeListItem.js";
8
8
  import "../RootProvider/RootProvider.js";
9
9
  import { DialogListItem as i } from "../Dialog/DialogListItem.js";
10
- import { ListItem as r } from "../List/ListItem.js";
10
+ import { ListItem as o } from "../List/ListItem.js";
11
11
  import "../Snackbar/useSnackbar.js";
12
- const l = ({ type: m, ...t }) => {
12
+ const x = ({ type: m, ...e }) => {
13
13
  switch (m) {
14
14
  case "scope":
15
- return /* @__PURE__ */ e(o, { ...t, theme: "transparent", tabIndex: -1 });
15
+ return /* @__PURE__ */ t(a, { ...e, theme: "default", shadow: "none", tabIndex: -1 });
16
16
  case "bookmark":
17
- return /* @__PURE__ */ e(a, { ...t, theme: "transparent", size: "sm", tabIndex: -1 });
17
+ return /* @__PURE__ */ t(
18
+ r,
19
+ {
20
+ ...e,
21
+ theme: "default",
22
+ shadow: "none",
23
+ size: "sm",
24
+ tabIndex: -1
25
+ }
26
+ );
18
27
  case "dialog":
19
- return /* @__PURE__ */ e(i, { ...t, theme: "transparent", size: "sm", tabIndex: -1 });
28
+ return /* @__PURE__ */ t(i, { ...e, theme: "default", shadow: "none", size: "sm", tabIndex: -1 });
20
29
  case "information":
21
- return /* @__PURE__ */ e(r, { ...t, theme: "transparent", tabIndex: -1, disabled: !0 });
30
+ return /* @__PURE__ */ t(o, { ...e, theme: "default", shadow: "none", tabIndex: -1, disabled: !0 });
22
31
  default:
23
- return /* @__PURE__ */ e(r, { ...t, theme: "transparent", size: "sm", tabIndex: -1 });
32
+ return /* @__PURE__ */ t(o, { ...e, theme: "default", shadow: "none", size: "sm", tabIndex: -1 });
24
33
  }
25
34
  };
26
35
  export {
27
- l as AutocompleteItem
36
+ x as AutocompleteItem
28
37
  };
@@ -1,50 +1,50 @@
1
1
  "use client";
2
- import { jsx as r } from "react/jsx-runtime";
2
+ import { jsx as s } from "react/jsx-runtime";
3
3
  import { c as f } from "../../index-L8X2o7IH.js";
4
- import { useState as h } from "react";
5
- import { fromStringToColor as q } from "./color.js";
6
- import '../../assets/Avatar.css';const C = "_avatar_6t4ka_1", E = "_circle_6t4ka_15", I = "_square_6t4ka_19", S = "_outline_6t4ka_23", y = "_xs_6t4ka_28", A = "_sm_6t4ka_34", N = "_md_6t4ka_40", b = "_lg_6t4ka_46", j = "_xl_6t4ka_52", H = "_image_6t4ka_58", t = {
7
- avatar: C,
8
- circle: E,
9
- square: I,
10
- outline: S,
11
- xs: y,
12
- sm: A,
13
- md: N,
14
- lg: b,
15
- xl: j,
16
- image: H
4
+ import { useState as x } from "react";
5
+ import { fromStringToColor as h } from "./color.js";
6
+ import '../../assets/Avatar.css';const q = "_avatar_vbrzn_1", C = "_circle_vbrzn_15", E = "_square_vbrzn_19", I = "_outline_vbrzn_23", S = "_xs_vbrzn_28", k = "_sm_vbrzn_34", y = "_md_vbrzn_40", A = "_lg_vbrzn_46", N = "_xl_vbrzn_52", j = "_image_vbrzn_58", r = {
7
+ avatar: q,
8
+ circle: C,
9
+ square: E,
10
+ outline: I,
11
+ xs: S,
12
+ sm: k,
13
+ md: y,
14
+ lg: A,
15
+ xl: N,
16
+ image: j
17
17
  }, D = ({
18
- type: s = "person",
19
- size: n = "sm",
20
- name: a = "Avatar",
18
+ type: n = "person",
19
+ size: e = "sm",
20
+ name: t = "Avatar",
21
21
  outline: c = !1,
22
22
  imageUrl: o,
23
23
  imageUrlAlt: l,
24
24
  customLabel: i,
25
25
  className: _
26
26
  }) => {
27
- const [m, u] = h(!1), g = s === "person" ? "circle" : "square", d = s === "person" ? "light" : "dark", { backgroundColor: k, foregroundColor: p } = q(a, d), v = (a[0] ?? "").toUpperCase(), e = o && !m, x = e ? void 0 : {
28
- backgroundColor: k,
29
- color: p
27
+ const [m, v] = x(!1), u = n === "person" ? "circle" : "square", g = n === "person" ? "light" : "dark", { backgroundColor: d, foregroundColor: b } = h(t, g), p = (t[0] ?? "").toUpperCase(), a = o && !m, z = a ? void 0 : {
28
+ backgroundColor: d,
29
+ color: b
30
30
  };
31
- return /* @__PURE__ */ r(
31
+ return /* @__PURE__ */ s(
32
32
  "div",
33
33
  {
34
- className: f(t.avatar, t[g], t[n], { [t.outline]: c }, _),
35
- style: x,
34
+ className: f(r.avatar, r[u], r[e], { [r.outline]: c }, _),
35
+ style: z,
36
36
  "aria-hidden": !0,
37
- children: e ? /* @__PURE__ */ r(
37
+ children: a ? /* @__PURE__ */ s(
38
38
  "img",
39
39
  {
40
40
  src: o,
41
- className: t.image,
41
+ className: r.image,
42
42
  alt: l || o,
43
43
  onError: () => {
44
- u(!0);
44
+ v(!0);
45
45
  }
46
46
  }
47
- ) : /* @__PURE__ */ r("span", { children: i || v })
47
+ ) : /* @__PURE__ */ s("span", { children: i || p })
48
48
  }
49
49
  );
50
50
  };
@@ -1,40 +1,41 @@
1
1
  "use client";
2
- import { jsx as o } from "react/jsx-runtime";
3
- import { c as n } from "../../index-L8X2o7IH.js";
2
+ import { jsx as l } from "react/jsx-runtime";
3
+ import { c } from "../../index-L8X2o7IH.js";
4
4
  import { useMemo as p } from "react";
5
- import { Avatar as f } from "./Avatar.js";
6
- import '../../assets/AvatarGroup.css';const x = "_group_1xzlf_1", d = "_reset_1xzlf_5", h = "_item_1xzlf_12", z = "_xs_1xzlf_16", A = "_sm_1xzlf_36", U = "_md_1xzlf_56", y = "_lg_1xzlf_76", l = {
7
- group: x,
8
- reset: d,
5
+ import { Avatar as d } from "./Avatar.js";
6
+ import '../../assets/AvatarGroup.css';const k = "_group_1ks00_1", f = "_reset_1ks00_6", h = "_item_1ks00_13", x = "_xs_1ks00_17", A = "_sm_1ks00_37", U = "_md_1ks00_57", y = "_lg_1ks00_77", L = "_xl_1ks00_97", s = {
7
+ group: k,
8
+ reset: f,
9
9
  item: h,
10
- xs: z,
10
+ xs: x,
11
11
  sm: A,
12
12
  md: U,
13
- lg: y
14
- }, a = ({
13
+ lg: y,
14
+ xl: L
15
+ }, j = ({
15
16
  items: t = [],
16
17
  maxItemsCount: r = 4,
17
18
  defaultType: m,
18
- size: c = "sm",
19
+ size: n = "sm",
19
20
  className: _
20
21
  }) => {
21
- const s = p(() => t.slice(0, r), [t, r]);
22
- return t.length === 0 ? /* @__PURE__ */ o("div", { className: l.avatarGroup }) : /* @__PURE__ */ o("ul", { className: n(l.reset, l.group, l[c], _), "data-count": s == null ? void 0 : s.length, children: s.map((e, i) => {
22
+ const o = p(() => t.slice(0, r), [t, r]);
23
+ return t.length === 0 ? /* @__PURE__ */ l("div", { className: s.avatarGroup }) : /* @__PURE__ */ l("ul", { className: c(s.reset, s.group, s[n], _), "data-count": o == null ? void 0 : o.length, children: o.map((e, i) => {
23
24
  const g = i === r - 1, u = e.customLabel || g ? t.length.toString() : void 0;
24
- return /* @__PURE__ */ o("li", { className: n(l.reset, l.item), children: /* @__PURE__ */ o(
25
- f,
25
+ return /* @__PURE__ */ l("li", { className: c(s.reset, s.item), children: /* @__PURE__ */ l(
26
+ d,
26
27
  {
27
28
  name: e.name,
28
29
  customLabel: u,
29
30
  imageUrl: e.imageUrl,
30
31
  imageUrlAlt: e.imageUrlAlt,
31
32
  type: (e == null ? void 0 : e.type) || m,
32
- size: c,
33
+ size: n,
33
34
  outline: !0
34
35
  }
35
36
  ) }, e.name);
36
37
  }) });
37
38
  };
38
39
  export {
39
- a as AvatarGroup
40
+ j as AvatarGroup
40
41
  };
@@ -1,16 +1,9 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { c as n } from "../../index-L8X2o7IH.js";
3
- import '../../assets/Badge.css';const o = "_badge_dqhhh_1", b = "_label_dqhhh_15", e = {
4
- badge: o,
2
+ import { c as m } from "../../index-L8X2o7IH.js";
3
+ import '../../assets/Badge.css';const r = "_badge_vjhmt_1", b = "_label_vjhmt_16", e = {
4
+ badge: r,
5
5
  label: b
6
- }, i = ({
7
- label: s,
8
- color: l = "neutral",
9
- variant: t = "subtle",
10
- size: d = "sm",
11
- className: r,
12
- children: c
13
- }) => /* @__PURE__ */ a("span", { className: n(e.badge, r), "data-color": l, "data-variant": t, "data-size": d, children: /* @__PURE__ */ a("span", { className: e.label, children: s || c }) });
6
+ }, g = ({ label: s, color: t, theme: l = "subtle", size: c = "sm", className: o, children: d }) => /* @__PURE__ */ a("span", { className: m(e.badge, o), "data-color": t, "data-theme": l, "data-size": c, children: /* @__PURE__ */ a("span", { className: e.label, children: s || d }) });
14
7
  export {
15
- i as Badge
8
+ g as Badge
16
9
  };
@@ -1,15 +1,15 @@
1
- import { jsx as o, jsxs as x } from "react/jsx-runtime";
2
- import { c as u } from "../../index-L8X2o7IH.js";
1
+ import { jsx as s, jsxs as _ } from "react/jsx-runtime";
2
+ import { c } from "../../index-L8X2o7IH.js";
3
3
  import { ButtonBase as d } from "./ButtonBase.js";
4
- import { ButtonIcon as _ } from "./ButtonIcon.js";
5
- import { ButtonLabel as B } from "./ButtonLabel.js";
6
- import '../../assets/Button.css';const h = "_button_1ysmx_1", N = "_reverse_1ysmx_8", t = {
7
- button: h,
4
+ import { ButtonIcon as B } from "./ButtonIcon.js";
5
+ import { ButtonLabel as h } from "./ButtonLabel.js";
6
+ import '../../assets/Button.css';const y = "_button_1ysmx_1", N = "_reverse_1ysmx_8", t = {
7
+ button: y,
8
8
  reverse: N
9
- }, I = ({
10
- variant: r = "solid",
11
- color: e,
12
- size: s = "md",
9
+ }, k = ({
10
+ variant: e = "solid",
11
+ color: o,
12
+ size: r = "md",
13
13
  reverse: n = !1,
14
14
  selected: a = !1,
15
15
  icon: m,
@@ -18,36 +18,38 @@ import '../../assets/Button.css';const h = "_button_1ysmx_1", N = "_reverse_1ysm
18
18
  children: b,
19
19
  className: p,
20
20
  loading: f,
21
- ...c
22
- }) => f ? /* @__PURE__ */ o(
21
+ loadingText: x = "Loading ...",
22
+ ...u
23
+ }) => f ? /* @__PURE__ */ s(
23
24
  d,
24
25
  {
25
- variant: r,
26
- color: e,
27
- size: s,
26
+ variant: e,
27
+ "aria-busy": !0,
28
+ color: o,
29
+ size: r,
28
30
  selected: a,
29
31
  href: l,
30
- className: u(t.button, { [t.reverse]: n }, p),
31
- ...c,
32
+ className: c(t.button, { [t.reverse]: n }, p),
33
+ ...u,
32
34
  disabled: !0,
33
- children: /* @__PURE__ */ o("span", { className: t.label, "data-size": s, children: /* @__PURE__ */ o("span", { className: t.loading, children: "Loading...." }) })
35
+ children: /* @__PURE__ */ s("span", { className: t.label, "data-size": r, children: /* @__PURE__ */ s("span", { className: t.loading, children: x }) })
34
36
  }
35
- ) : /* @__PURE__ */ x(
37
+ ) : /* @__PURE__ */ _(
36
38
  d,
37
39
  {
38
- variant: r,
39
- color: e,
40
- size: s,
40
+ variant: e,
41
+ color: o,
42
+ size: r,
41
43
  selected: a,
42
44
  href: l,
43
- className: u(t.button, { [t.reverse]: n }),
44
- ...c,
45
+ className: c(t.button, { [t.reverse]: n }),
46
+ ...u,
45
47
  children: [
46
- m && /* @__PURE__ */ o(_, { size: s, icon: m }),
47
- /* @__PURE__ */ o(B, { size: s, children: b || i })
48
+ m && /* @__PURE__ */ s(B, { size: r, icon: m }),
49
+ /* @__PURE__ */ s(h, { size: r, children: b || i })
48
50
  ]
49
51
  }
50
52
  );
51
53
  export {
52
- I as Button
54
+ k as Button
53
55
  };