@pismo/marola 1.0.0-beta.38 → 1.0.0-beta.4

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 (134) hide show
  1. package/dist/{Button-BAljjMv3.js → Button-2b1peDFT.js} +2 -2
  2. package/dist/{ClickAwayListener-DbEYZpyh.js → ClickAwayListener-BSW-Nd-y.js} +3 -4
  3. package/dist/Dialog.module-DFEmFdYT.js +30 -0
  4. package/dist/Group-B3p31ftp.js +26 -0
  5. package/dist/{Popup-Ck3XlWMq.js → Popup-B6ZSGIEI.js} +3 -3
  6. package/dist/{Portal-oY3enyAm.js → Portal-DIeBsWdL.js} +2 -2
  7. package/dist/SelectButton-K3OIfR5m.js +61 -0
  8. package/dist/{Tabs.module-BGGTkDc5.js → Tabs.module-jkH1Qjn7.js} +7 -7
  9. package/dist/Toggle-BCgIItCc.js +142 -0
  10. package/dist/assets/Advice.css +1 -1
  11. package/dist/assets/Button.css +1 -1
  12. package/dist/assets/Checkbox.css +1 -1
  13. package/dist/assets/Dialog.css +1 -1
  14. package/dist/assets/EllipsisTooltip.css +1 -1
  15. package/dist/assets/Group.css +1 -1
  16. package/dist/assets/IconButton.css +1 -1
  17. package/dist/assets/Input.css +1 -1
  18. package/dist/assets/PageHeader.css +1 -1
  19. package/dist/assets/Pagination.css +1 -1
  20. package/dist/assets/SelectButton.css +1 -1
  21. package/dist/assets/Skeleton.css +1 -1
  22. package/dist/assets/Snackbar.css +1 -1
  23. package/dist/assets/SortTooltip.css +1 -1
  24. package/dist/assets/Stepper.css +1 -1
  25. package/dist/assets/Table.css +1 -1
  26. package/dist/assets/Tabs.css +1 -1
  27. package/dist/assets/TextDisplay.css +1 -1
  28. package/dist/assets/Toggle.css +1 -1
  29. package/dist/assets/Toggle2.css +1 -1
  30. package/dist/assets/Typography.css +1 -1
  31. package/dist/{combineHooksSlotProps-C-zYvfnF.js → combineHooksSlotProps-DVjg9PRh.js} +1 -1
  32. package/dist/components/Advice/Advice.d.ts +17 -32
  33. package/dist/components/Advice/Advice.js +40 -39
  34. package/dist/components/Advice/Advice.stories.d.ts +3 -4
  35. package/dist/components/Button/Button.d.ts +0 -2
  36. package/dist/components/Button/Button.js +49 -51
  37. package/dist/components/Checkbox/Checkbox.js +52 -52
  38. package/dist/components/Chip/Chip.d.ts +12 -6
  39. package/dist/components/Chip/Chip.js +6 -8
  40. package/dist/components/Chip/Chip.stories.d.ts +14 -5
  41. package/dist/components/Dialog/Actions.js +1 -1
  42. package/dist/components/Dialog/Backdrop.d.ts +3 -3
  43. package/dist/components/Dialog/Backdrop.js +7 -8
  44. package/dist/components/Dialog/CloseIconButton.d.ts +2 -1
  45. package/dist/components/Dialog/CloseIconButton.js +18 -15
  46. package/dist/components/Dialog/Dialog.d.ts +6 -9
  47. package/dist/components/Dialog/Dialog.js +139 -139
  48. package/dist/components/Dialog/Dialog.stories.d.ts +46 -50
  49. package/dist/components/Dialog/DialogTitle.js +1 -1
  50. package/dist/components/EllipsisTooltip/EllipsisTooltip.js +17 -30
  51. package/dist/components/EllipsisTooltip/EllipsisTooltip.stories.d.ts +1 -2
  52. package/dist/components/Icon/Icon.js +47 -123
  53. package/dist/components/Icon/types.d.ts +1 -1
  54. package/dist/components/IconButton/IconButton.js +42 -42
  55. package/dist/components/Input/Input.d.ts +5 -24
  56. package/dist/components/Input/Input.js +278 -291
  57. package/dist/components/Input/Input.stories.d.ts +21 -2
  58. package/dist/components/InputSearch/InputSearch.stories.d.ts +21 -1
  59. package/dist/components/PageHeader/PageHeader.js +57 -57
  60. package/dist/components/Pagination/Pagination.d.ts +1 -5
  61. package/dist/components/Pagination/Pagination.js +185 -87
  62. package/dist/components/Pagination/Pagination.stories.d.ts +1 -1
  63. package/dist/components/Select/Select.d.ts +0 -7
  64. package/dist/components/Select/Select.js +365 -409
  65. package/dist/components/Select/SelectButton.d.ts +0 -1
  66. package/dist/components/Select/SelectButton.js +1 -1
  67. package/dist/components/Skeleton/Skeleton.d.ts +1 -3
  68. package/dist/components/Skeleton/Skeleton.js +14 -20
  69. package/dist/components/Skeleton/SkeletonTable.stories.d.ts +1 -1
  70. package/dist/components/Snackbar/Snackbar.js +94 -94
  71. package/dist/components/Snackbar/Snackbar.stories.d.ts +3 -3
  72. package/dist/components/SortTooltip/SortTooltip.js +46 -46
  73. package/dist/components/Stepper/Stepper.js +35 -35
  74. package/dist/components/Table/Table.d.ts +1 -3
  75. package/dist/components/Table/Table.js +99 -87
  76. package/dist/components/Table/Table.stories.d.ts +1 -1
  77. package/dist/components/Tabs/Tab.d.ts +3 -5
  78. package/dist/components/Tabs/Tab.js +36 -38
  79. package/dist/components/Tabs/TabPanel.d.ts +2 -4
  80. package/dist/components/Tabs/TabPanel.js +40 -51
  81. package/dist/components/Tabs/Tabs.d.ts +4 -6
  82. package/dist/components/Tabs/Tabs.js +128 -131
  83. package/dist/components/TextDisplay/TextDisplay.d.ts +3 -9
  84. package/dist/components/TextDisplay/TextDisplay.js +31 -45
  85. package/dist/components/TextDisplay/TextDisplay.stories.d.ts +1 -2
  86. package/dist/components/Toggle/Toggle.js +56 -56
  87. package/dist/components/ToggleGroup/Group.js +1 -1
  88. package/dist/components/ToggleGroup/Toggle.d.ts +0 -1
  89. package/dist/components/ToggleGroup/Toggle.js +5 -6
  90. package/dist/components/ToggleGroup/ToggleGroup.js +2 -2
  91. package/dist/components/Tooltip/Tooltip.d.ts +1 -3
  92. package/dist/components/Tooltip/Tooltip.js +4 -4
  93. package/dist/components/Tooltip/Tooltip.stories.d.ts +0 -1
  94. package/dist/components/Typography/Typography.js +47 -47
  95. package/dist/{useSlotProps-C_I1kEHr.js → index-CH45lKw7.js} +99 -99
  96. package/dist/{index-bQFToy-I.js → index-CjW42-M-.js} +1 -1
  97. package/dist/main.d.ts +0 -5
  98. package/dist/main.js +76 -85
  99. package/dist/{useButton-DcihopJG.js → useButton-DNk3wrQp.js} +1 -1
  100. package/dist/useCompoundItem-D1iRfg8D.js +84 -0
  101. package/dist/useEventCallback-xTG9piMa.js +45 -0
  102. package/dist/{useList-B9C55YB7.js → useList-B0hog_3-.js} +2 -2
  103. package/package.json +3 -9
  104. package/dist/Dialog.module-D9e4RsKo.js +0 -30
  105. package/dist/Group-B80_u5Q1.js +0 -27
  106. package/dist/SelectButton-BlVl6pJn.js +0 -70
  107. package/dist/Toggle-Dl-yPy8S.js +0 -187
  108. package/dist/assets/Adornment.css +0 -1
  109. package/dist/assets/Autocomplete.css +0 -1
  110. package/dist/assets/ResultWithChips.css +0 -1
  111. package/dist/assets/StepperNavigator.css +0 -1
  112. package/dist/components/Adornment/Adornment.d.ts +0 -20
  113. package/dist/components/Adornment/Adornment.js +0 -13
  114. package/dist/components/Adornment/Adornment.stories.d.ts +0 -14
  115. package/dist/components/Adornment/adornment.test.d.ts +0 -1
  116. package/dist/components/Autocomplete/Autocomplete.d.ts +0 -20
  117. package/dist/components/Autocomplete/Autocomplete.js +0 -679
  118. package/dist/components/Autocomplete/Autocomplete.stories.d.ts +0 -23
  119. package/dist/components/Pagination/usePagination.d.ts +0 -90
  120. package/dist/components/Pagination/usePagination.js +0 -79
  121. package/dist/components/ResultWithChips/ResultWithChips.d.ts +0 -12
  122. package/dist/components/ResultWithChips/ResultWithChips.js +0 -33
  123. package/dist/components/RowItem/RowItem.d.ts +0 -25
  124. package/dist/components/RowItem/RowItem.js +0 -20
  125. package/dist/components/RowItem/RowItem.stories.d.ts +0 -17
  126. package/dist/components/RowItem/rowItem.test.d.ts +0 -1
  127. package/dist/components/StepperNavigator/StepperNavigator.d.ts +0 -43
  128. package/dist/components/StepperNavigator/StepperNavigator.js +0 -56
  129. package/dist/components/StepperNavigator/StepperNavigator.stories.d.ts +0 -16
  130. package/dist/components/StepperNavigator/StepperNavigator.test.d.ts +0 -1
  131. package/dist/ownerDocument-YGhwAnr1.js +0 -33
  132. package/dist/useCompoundItem-B7Eo_qZk.js +0 -68
  133. package/dist/useEventCallback-BAQJJ3ye.js +0 -14
  134. package/dist/useId-BW-oWmul.js +0 -19
@@ -1 +1 @@
1
- ._table_yerpo_1{color:var(--secondary-orange);border-spacing:0}._table--fixed_yerpo_5{table-layout:fixed}._table--full-width_yerpo_8{width:100%}._table--white-theme_yerpo_11{background:var(--white-100)}._table--transparent-theme_yerpo_14{background:transparent}._table_yerpo_1 th._cell--left-alignment_yerpo_17,._table_yerpo_1 td._cell--left-alignment_yerpo_17{text-align:left}._table_yerpo_1 th._cell--center-alignment_yerpo_21,._table_yerpo_1 td._cell--center-alignment_yerpo_21{text-align:center}._table_yerpo_1 th._cell--right-alignment_yerpo_25,._table_yerpo_1 td._cell--right-alignment_yerpo_25{text-align:right}._table_yerpo_1 thead{font-size:.75rem;font-weight:900;line-height:1rem;color:var(--gray-90);text-transform:uppercase}._table_yerpo_1 thead tr th{align-items:center;height:4rem;padding:0 1rem;line-height:1rem;border-bottom:.0625rem solid var(--gray-25)}._table_yerpo_1 thead tr th ._th__wrapper_yerpo_43>span,._table_yerpo_1 thead tr th ._th__wrapper_yerpo_43 span+span{display:inline-flex;align-items:center}._table_yerpo_1 thead tr th ._th__wrapper--pressed_yerpo_48{padding:.25rem .5rem;margin:0 -.5rem;background-color:var(--gray-10);border-radius:.375rem}._table_yerpo_1 thead tr th ._th__wrapper--clickable_yerpo_54{cursor:pointer}._table_yerpo_1 thead tr th ._th__wrapper_yerpo_43 ._th__sort-icon-container_yerpo_57{padding-left:.25rem}._table_yerpo_1 tbody{font-size:1rem;font-weight:400;line-height:1.3125rem;color:var(--gray-90)}._table_yerpo_1 tbody tr:hover:not(._tr__row-or-cell--disabled_yerpo_66){background-color:rgb(var(--gray-5-rgb),.5)}._table_yerpo_1 tbody ._tr_yerpo_66,._table_yerpo_1 tbody ._td_yerpo_70{height:3.5rem;padding:0 1rem;line-height:var(--body-line-height);border-bottom:.0625rem solid var(--gray-10)}._table_yerpo_1 tbody ._tr__row-or-cell--clickable_yerpo_76,._table_yerpo_1 tbody ._td__row-or-cell--clickable_yerpo_77{cursor:pointer}._table_yerpo_1 tbody ._tr__row-or-cell--disabled_yerpo_66,._table_yerpo_1 tbody ._td__row-or-cell--disabled_yerpo_81{background:var(--cream);filter:grayscale(1)}._table_yerpo_1 tbody ._tr__row-or-cell--disabled_yerpo_66 ._td-wrapper_yerpo_85,._table_yerpo_1 tbody ._td__row-or-cell--disabled_yerpo_81 ._td-wrapper_yerpo_85{opacity:.25}
1
+ ._u-typography-h1_1gspp_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_1gspp_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_1gspp_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_1gspp_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_1gspp_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_1gspp_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_1gspp_43,._table_1gspp_43 tbody{font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_1gspp_48{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_1gspp_52{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_1gspp_56{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_1gspp_60,._table_1gspp_43 thead{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_1gspp_64,._table_1gspp_43 thead{font-weight:var(--base-bold)}._u-typography-base--strikethrough_1gspp_67{text-decoration:line-through}._u-typography-base--underlined_1gspp_70{text-decoration:underline}._u-typography-base--strikethrough-underlined_1gspp_73{text-decoration:underline line-through}._table_1gspp_43{color:var(--secondary-orange);border-spacing:0}._table--full-width_1gspp_81{width:100%}._table--white-theme_1gspp_84{background:var(--white-100)}._table--transparent-theme_1gspp_87{background:transparent}._table_1gspp_43 th._cell--left-alignment_1gspp_90,._table_1gspp_43 td._cell--left-alignment_1gspp_90{text-align:left}._table_1gspp_43 th._cell--center-alignment_1gspp_94,._table_1gspp_43 td._cell--center-alignment_1gspp_94{text-align:center}._table_1gspp_43 th._cell--right-alignment_1gspp_98,._table_1gspp_43 td._cell--right-alignment_1gspp_98{text-align:right}._table_1gspp_43 thead{color:var(--gray-90);text-transform:uppercase}._table_1gspp_43 thead tr th{--children-pv: 4px;--children-ph: 8px;align-items:center;padding:calc(1.5rem - var(--children-pv)) calc(.75rem - var(--children-ph));line-height:1rem;border-bottom:1px solid var(--gray-25)}._table_1gspp_43 thead tr th ._th__wrapper_1gspp_114{padding:var(--children-pv) var(--children-ph)}._table_1gspp_43 thead tr th ._th__wrapper--pressed_1gspp_117{background-color:var(--gray-10);border-radius:6px}._table_1gspp_43 thead tr th ._th__wrapper--clickable_1gspp_121{cursor:pointer}._table_1gspp_43 thead tr th ._th__wrapper_1gspp_114 ._th__sort-icon-container_1gspp_124{padding-left:4px}._table_1gspp_43 tbody{color:var(--gray-90)}._table_1gspp_43 tbody tr:hover:not(._tr__row-or-cell--disabled_1gspp_130){background-color:rgb(var(--gray-5-rgb),.5)}._table_1gspp_43 tbody ._tr_1gspp_130,._table_1gspp_43 tbody ._td_1gspp_134{padding:16px 12px;line-height:var(--body-line-height);border-bottom:1px solid var(--gray-10)}._table_1gspp_43 tbody ._tr__row-or-cell--clickable_1gspp_139,._table_1gspp_43 tbody ._td__row-or-cell--clickable_1gspp_140{cursor:pointer}._table_1gspp_43 tbody ._tr__row-or-cell--disabled_1gspp_130,._table_1gspp_43 tbody ._td__row-or-cell--disabled_1gspp_144{background:var(--cream);filter:grayscale(1)}._table_1gspp_43 tbody ._tr__row-or-cell--disabled_1gspp_130 ._td-wrapper_1gspp_148,._table_1gspp_43 tbody ._td__row-or-cell--disabled_1gspp_144 ._td-wrapper_1gspp_148{opacity:.25}
@@ -1 +1 @@
1
- ._tabs_1xfbu_1{gap:8px;width:100%}._tabs__tab_1xfbu_5{min-width:94px;height:48px;padding:0 8px 0 0;color:var(--gray-75);cursor:pointer;background-color:transparent;border:none;border-bottom:2px solid transparent}._tabs__tab_1xfbu_5:hover{color:var(--hover);border-bottom:2px solid var(--hover)}._tabs__tab_1xfbu_5:active{color:var(--active);border-bottom:2px solid var(--active)}._tabs__tab--disabled_1xfbu_23{color:#00000040;cursor:default;border-bottom:2px solid rgba(0,0,0,.25)}._tabs__tab--disabled_1xfbu_23:focus,._tabs__tab--disabled_1xfbu_23:active,._tabs__tab--disabled_1xfbu_23:hover{color:#00000040;border-bottom:2px solid rgba(0,0,0,.25)}._tabs__tab--selected_1xfbu_32{color:var(--accent);border-bottom:2px solid var(--accent)}._tabs__tab-panel_1xfbu_36{width:100%;margin-top:16px}
1
+ ._tabs_18ymz_1{gap:8px;width:100%}._tabs__tab_18ymz_5{min-width:94px;height:48px;padding:0 8px 0 0;color:var(--gray-75);cursor:pointer;background-color:var(--white-100);border:none}._tabs__tab_18ymz_5:hover{color:var(--hover);border-bottom:2px solid var(--hover)}._tabs__tab_18ymz_5:active{color:var(--active);border-bottom:2px solid var(--active)}._tabs__tab--disabled_18ymz_22{color:#00000040;cursor:default;border-bottom:2px solid rgba(0,0,0,.25)}._tabs__tab--disabled_18ymz_22:focus,._tabs__tab--disabled_18ymz_22:active,._tabs__tab--disabled_18ymz_22:hover{color:#00000040;border-bottom:2px solid rgba(0,0,0,.25)}._tabs__tab--selected_18ymz_31{color:var(--accent);border-bottom:2px solid var(--accent)}._tabs__tab-panel_18ymz_35{width:100%;margin-top:16px}
@@ -1 +1 @@
1
- ._container_ia8vu_1{display:flex;flex-direction:column}._container--inline_ia8vu_5{flex-direction:row;gap:.5rem}
1
+ ._container_13z5o_1{display:flex;flex-direction:column}
@@ -1 +1 @@
1
- ._u-typography-h1_p0gq9_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_p0gq9_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_p0gq9_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_p0gq9_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_p0gq9_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_p0gq9_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_p0gq9_43,._toggle__label_p0gq9_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_p0gq9_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_p0gq9_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_p0gq9_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_p0gq9_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_p0gq9_65{font-weight:var(--base-bold)}._u-typography-base--strikethrough_p0gq9_68{text-decoration:line-through}._u-typography-base--underlined_p0gq9_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_p0gq9_74{text-decoration:underline line-through}._toggle_p0gq9_43{position:relative;display:flex;gap:1rem;align-items:center;cursor:pointer}._toggle__toggle-el-wrapper_p0gq9_85{width:2.25rem;height:1.5rem}._toggle_p0gq9_43 ._input_p0gq9_89{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;margin:0;cursor:inherit;opacity:0}._toggle_p0gq9_43 ._thumb_p0gq9_100{position:relative;top:.375rem;left:.375rem;display:block;width:.75rem;height:.75rem;background-color:var(--gray-90);border-radius:.75rem;opacity:.4;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.12s;transition-property:all}._toggle_p0gq9_43 ._track_p0gq9_114{position:absolute;display:block;width:2.25rem;height:1.5rem;background:var(--white-100);border-radius:1.5rem;box-shadow:inset 0 0 0 .25rem var(--gray-50);opacity:.4}._toggle--focus-visible_p0gq9_124._toggle__toggle-el-wrapper_p0gq9_85 ._track_p0gq9_114{border:1px solid var(--black-100);opacity:1}._toggle--checked_p0gq9_128._toggle__toggle-el-wrapper_p0gq9_85 ._thumb_p0gq9_100{left:1.125rem;background-color:var(--accent);opacity:1}._toggle--checked_p0gq9_128._toggle__toggle-el-wrapper_p0gq9_85 ._track_p0gq9_114{background:var(--accent);box-shadow:none;opacity:.4}._toggle__label_p0gq9_43{color:var(--gray-75)}._toggle__toggle-el-wrapper_p0gq9_85:hover:not(._toggle--focus-visible_p0gq9_124,._toggle--checked_p0gq9_128,._toggle--disabled_p0gq9_141) ._track_p0gq9_114{border-color:var(--gray-90);opacity:1}._toggle__toggle-el-wrapper_p0gq9_85:hover:not(._toggle--focus-visible_p0gq9_124,._toggle--checked_p0gq9_128,._toggle--disabled_p0gq9_141) ._thumb_p0gq9_100{opacity:1}._toggle_p0gq9_43:has(._toggle__toggle-el-wrapper_p0gq9_85:hover:not(._toggle--focus-visible_p0gq9_124,._toggle--checked_p0gq9_128,._toggle--disabled_p0gq9_141)) ._toggle__label_p0gq9_43{color:var(--black-100)}._toggle_p0gq9_43:has(._toggle--disabled_p0gq9_141) ._toggle__label_p0gq9_43{color:var(--gray-50)}._toggle_p0gq9_43:has(._toggle--disabled_p0gq9_141) ._track_p0gq9_114{border-color:#dbdae266}._toggle_p0gq9_43:has(._toggle--disabled_p0gq9_141) ._thumb_p0gq9_100{background-color:var(--gray-25);opacity:1}._toggle_p0gq9_43:has(._toggle--disabled_p0gq9_141) ._toggle--checked_p0gq9_128 ._toggle__label_p0gq9_43{font-weight:900;color:var(--accent)}._toggle_p0gq9_43:has(._toggle--disabled_p0gq9_141) ._toggle--checked_p0gq9_128 ._thumb_p0gq9_100{left:1.125rem;background-color:var(--accent);opacity:1}._toggle_p0gq9_43:has(._toggle--disabled_p0gq9_141) ._toggle--checked_p0gq9_128 ._track_p0gq9_114{background:var(--accent);box-shadow:none;opacity:.4}._toggle_p0gq9_43:has(._toggle--checked_p0gq9_128) ._toggle__label_p0gq9_43{font-weight:900;color:var(--accent)}._toggle_p0gq9_43:has(._toggle--focus-visible_p0gq9_124) ._toggle__label_p0gq9_43{color:var(--black-100)}
1
+ ._u-typography-h1_ccpk4_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_ccpk4_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_ccpk4_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_ccpk4_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_ccpk4_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_ccpk4_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_ccpk4_43{font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_ccpk4_48{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_ccpk4_52{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_ccpk4_56{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_ccpk4_60,._chip_ccpk4_60{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_ccpk4_64,._chip_ccpk4_60{font-weight:var(--base-bold)}._u-typography-base--strikethrough_ccpk4_67{text-decoration:line-through}._u-typography-base--underlined_ccpk4_70{text-decoration:underline}._u-typography-base--strikethrough-underlined_ccpk4_73{text-decoration:underline line-through}._chip_ccpk4_60{display:flex;align-items:center;width:fit-content;padding:.375rem .5rem;background-color:var(--cream);border-width:1px;border-radius:calc(var(--border-radius-soft) * 4)}._chip_ccpk4_60:not(:disabled){color:rgb(var(--gray-95-rgb) .65)}._chip--button_ccpk4_89{cursor:pointer;border-color:transparent}._chip--button_ccpk4_89:disabled{cursor:initial}._chip--button_ccpk4_89:focus-visible{outline:none}._chip--button_ccpk4_89:focus{outline:2px solid var(--black-100)}._chip--outlined_ccpk4_102{padding:.3125rem .5rem;background-color:var(--white-100);border:1px solid var(--border);border-radius:calc(var(--border-radius-soft) * 4)}._chip--contained_ccpk4_108{padding:.3125rem .5rem;border:1px solid var(--border);border-color:var(--accent);border-radius:calc(var(--border-radius-soft) * 4)}._chip__adornment_ccpk4_114{display:flex;align-items:center;margin-right:.5rem}._chip__remove_ccpk4_119{display:flex;margin-left:.5rem}._chip__remove_ccpk4_119:focus-visible{outline:none}._chip__remove_ccpk4_119:focus:not(:disabled){border-radius:calc(var(--border-radius-soft) * 4);outline:2px solid var(--black-100)}._chip__remove--disabled_ccpk4_130{cursor:default}._chip-loading_ccpk4_134{display:inline-flex;width:6rem;height:2rem;border-radius:4rem}
@@ -1 +1 @@
1
- ._u-typography-h1_1wvod_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_1wvod_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_1wvod_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_1wvod_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_1wvod_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_1wvod_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_1wvod_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_1wvod_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_1wvod_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_1wvod_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_1wvod_61,._chip_1wvod_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_1wvod_65,._chip_1wvod_61{font-weight:var(--base-bold)}._u-typography-base--strikethrough_1wvod_68{text-decoration:line-through}._u-typography-base--underlined_1wvod_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_1wvod_74{text-decoration:underline line-through}._chip_1wvod_61{display:flex;align-items:center;width:fit-content;padding:.375rem .5rem;background-color:var(--cream);border-width:1px;border-radius:calc(var(--border-radius-soft) * 4)}._chip_1wvod_61:not(:disabled){color:rgb(var(--gray-95-rgb) .65)}._chip--button_1wvod_90{cursor:pointer;border-color:transparent}._chip--button_1wvod_90:disabled{pointer-events:none;cursor:initial}._chip--button_1wvod_90:focus-visible{outline:none}._chip--button_1wvod_90:focus{outline:2px solid var(--black-100)}._chip--outlined_1wvod_104{padding:.3125rem .5rem;background-color:var(--white-100);border:1px solid var(--border);border-radius:calc(var(--border-radius-soft) * 4)}._chip--contained_1wvod_110{padding:.3125rem .5rem;border:1px solid var(--border);border-color:var(--accent);border-radius:calc(var(--border-radius-soft) * 4)}._chip__adornment_1wvod_116{display:flex;align-items:center;margin-right:.5rem}._chip__remove_1wvod_121{display:flex;margin-left:.5rem;cursor:pointer}._chip__remove_1wvod_121:focus-visible{outline:none}._chip__remove_1wvod_121:focus:not(:disabled){border-radius:calc(var(--border-radius-soft) * 4);outline:2px solid var(--black-100)}._chip__remove--disabled_1wvod_133{cursor:default}._chip-loading_1wvod_137{display:inline-flex;min-width:6rem;height:2rem;border-radius:4rem}._row-item_8z1a0_1{display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;border:1px solid var(--gray-10);border-radius:6px;outline:none}._row-item_8z1a0_1:focus-visible{outline:none}._row-item--clickable_8z1a0_13{cursor:pointer}._row-item--clickable_8z1a0_13:focus{outline:2px solid var(--black-100)}._row-item--disabled_8z1a0_19{cursor:not-allowed}._row-item__content_8z1a0_22{display:flex;flex-grow:1;align-items:center;justify-content:space-between;padding-right:1rem;padding-left:1rem;margin:0;text-align:center}._row-item__content_8z1a0_22:focus-visible{outline:none}._row-item__content_8z1a0_22:focus{outline:2px solid var(--black-100)}
1
+ ._u-typography-h1_1rzg2_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_1rzg2_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_1rzg2_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_1rzg2_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_1rzg2_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_1rzg2_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_1rzg2_43,._toggle__label_1rzg2_43{font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_1rzg2_48{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_1rzg2_52{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_1rzg2_56{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_1rzg2_60{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_1rzg2_64{font-weight:var(--base-bold)}._u-typography-base--strikethrough_1rzg2_67{text-decoration:line-through}._u-typography-base--underlined_1rzg2_70{text-decoration:underline}._u-typography-base--strikethrough-underlined_1rzg2_73{text-decoration:underline line-through}._toggle_1rzg2_43{position:relative;display:flex;gap:1rem;align-items:center;cursor:pointer}._toggle__toggle-el-wrapper_1rzg2_84{width:2.25rem;height:1.5rem}._toggle_1rzg2_43 ._input_1rzg2_88{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;margin:0;cursor:inherit;opacity:0}._toggle_1rzg2_43 ._thumb_1rzg2_99{position:relative;top:.375rem;left:.375rem;display:block;width:.75rem;height:.75rem;background-color:var(--gray-90);border-radius:.75rem;opacity:.4;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.12s;transition-property:all}._toggle_1rzg2_43 ._track_1rzg2_113{position:absolute;display:block;width:2.25rem;height:1.5rem;background:var(--white-100);border-radius:1.5rem;box-shadow:inset 0 0 0 .25rem var(--gray-50);opacity:.4}._toggle--focus-visible_1rzg2_123._toggle__toggle-el-wrapper_1rzg2_84 ._track_1rzg2_113{border:1px solid var(--black-100);opacity:1}._toggle--checked_1rzg2_127._toggle__toggle-el-wrapper_1rzg2_84 ._thumb_1rzg2_99{left:1.125rem;background-color:var(--accent);opacity:1}._toggle--checked_1rzg2_127._toggle__toggle-el-wrapper_1rzg2_84 ._track_1rzg2_113{background:var(--accent);box-shadow:none;opacity:.4}._toggle__label_1rzg2_43{color:var(--gray-75)}._toggle__toggle-el-wrapper_1rzg2_84:hover:not(._toggle--focus-visible_1rzg2_123,._toggle--checked_1rzg2_127,._toggle--disabled_1rzg2_140) ._track_1rzg2_113{border-color:var(--gray-90);opacity:1}._toggle__toggle-el-wrapper_1rzg2_84:hover:not(._toggle--focus-visible_1rzg2_123,._toggle--checked_1rzg2_127,._toggle--disabled_1rzg2_140) ._thumb_1rzg2_99{opacity:1}._toggle_1rzg2_43:has(._toggle__toggle-el-wrapper_1rzg2_84:hover:not(._toggle--focus-visible_1rzg2_123,._toggle--checked_1rzg2_127,._toggle--disabled_1rzg2_140)) ._toggle__label_1rzg2_43{color:var(--black-100)}._toggle_1rzg2_43:has(._toggle--disabled_1rzg2_140) ._toggle__label_1rzg2_43{color:var(--gray-50)}._toggle_1rzg2_43:has(._toggle--disabled_1rzg2_140) ._track_1rzg2_113{border-color:#dbdae266}._toggle_1rzg2_43:has(._toggle--disabled_1rzg2_140) ._thumb_1rzg2_99{background-color:var(--gray-25);opacity:1}._toggle_1rzg2_43:has(._toggle--disabled_1rzg2_140) ._toggle--checked_1rzg2_127 ._toggle__label_1rzg2_43{font-weight:900;color:var(--accent)}._toggle_1rzg2_43:has(._toggle--disabled_1rzg2_140) ._toggle--checked_1rzg2_127 ._thumb_1rzg2_99{left:1.125rem;background-color:var(--accent);opacity:1}._toggle_1rzg2_43:has(._toggle--disabled_1rzg2_140) ._toggle--checked_1rzg2_127 ._track_1rzg2_113{background:var(--accent);box-shadow:none;opacity:.4}._toggle_1rzg2_43:has(._toggle--checked_1rzg2_127) ._toggle__label_1rzg2_43{font-weight:900;color:var(--accent)}._toggle_1rzg2_43:has(._toggle--focus-visible_1rzg2_123) ._toggle__label_1rzg2_43{color:var(--black-100)}
@@ -1 +1 @@
1
- ._u-typography-h1_gn8st_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_gn8st_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_gn8st_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_gn8st_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_gn8st_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_gn8st_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_gn8st_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_gn8st_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_gn8st_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_gn8st_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_gn8st_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_gn8st_65{font-weight:var(--base-bold)}._u-typography-base--strikethrough_gn8st_68{text-decoration:line-through}._u-typography-base--underlined_gn8st_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_gn8st_74{text-decoration:underline line-through}
1
+ ._u-typography-h1_zizdh_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_zizdh_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_zizdh_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_zizdh_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_zizdh_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_zizdh_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_zizdh_43{font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_zizdh_48{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_zizdh_52{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_zizdh_56{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_zizdh_60{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_zizdh_64{font-weight:var(--base-bold)}._u-typography-base--strikethrough_zizdh_67{text-decoration:line-through}._u-typography-base--underlined_zizdh_70{text-decoration:underline}._u-typography-base--strikethrough-underlined_zizdh_73{text-decoration:underline line-through}
@@ -1,4 +1,4 @@
1
- import { f as E, b as a } from "./useSlotProps-C_I1kEHr.js";
1
+ import { f as E, b as a } from "./index-CH45lKw7.js";
2
2
  import * as r from "react";
3
3
  const f = {
4
4
  blur: "list:blur",
@@ -1,45 +1,30 @@
1
- import { TypographyProps } from '../Typography/Typography';
2
- import { IconProps } from '../Icon/Icon';
1
+ import { Icon } from '../Icon/Icon';
3
2
  import { ReactNode } from 'react';
4
3
 
5
- export type AdviceType = 'without-results' | 'no-permission' | 'no-items' | 'error-page';
6
- type AdviceCommonProps = {
7
- /** Advice title message */
8
- title?: string;
9
- /** Advice title message props */
10
- titleProps?: Omit<TypographyProps, 'children'>;
11
- /** Advice description message */
12
- description?: string;
13
- /** Advice description message props */
14
- descriptionProps?: Omit<TypographyProps, 'children'>;
4
+ export type AdviceTypes = 'without-results' | 'no-permission' | 'no-items' | 'error-page';
5
+ export type AdviceProps = {
6
+ /** Advice icon.
7
+ * This property uses the Icon Component Props
8
+ */
9
+ icon?: React.ComponentProps<typeof Icon>;
10
+ /** Advice SVG icon */
11
+ IconSvg?: React.FunctionComponent<React.SVGProps<SVGSVGElement> & {
12
+ title?: string | undefined;
13
+ }>;
14
+ /** Type of advice */
15
+ type?: AdviceTypes;
15
16
  /** Advice content message */
16
17
  content?: ReactNode;
17
- /** Space separated list of CSS classes to apply */
18
+ title?: string;
19
+ description?: string;
20
+ /** Space seperated list of CSS classes to apply */
18
21
  className?: string;
19
22
  /** ID that tests can use to get this component from the DOM */
20
23
  'data-testid'?: string;
21
- type?: never;
22
- icon?: never;
23
- iconSvg?: never;
24
- };
25
- type AdviceWithType = Omit<AdviceCommonProps, 'type'> & {
26
- /** Type of advice */
27
- type?: AdviceType;
28
- };
29
- type AdviceWithIcon = Omit<AdviceCommonProps, 'icon'> & {
30
- /** Advice icon.
31
- * This property uses the Icon Component Props
32
- */
33
- icon?: IconProps;
34
- };
35
- type AdviceWithIconSvg = Omit<AdviceCommonProps, 'iconSvg'> & {
36
- /** Advice SVG icon */
37
- iconSvg?: ReactNode;
38
24
  };
39
- export type AdviceProps = AdviceWithType | AdviceWithIcon | AdviceWithIconSvg;
40
25
  /**
41
26
  * Advice component provide HTML with an icon and a message.
42
27
  * Is commonly used to indicate No Permission and No Results.
43
28
  */
44
- declare const Advice: ({ type, icon, iconSvg: IconSvg, content, title, titleProps, description, descriptionProps, className, ...rest }: AdviceProps) => import("react/jsx-runtime").JSX.Element;
29
+ declare const Advice: ({ icon, type, content, title, description, className, IconSvg, ...rest }: AdviceProps) => import("react/jsx-runtime").JSX.Element;
45
30
  export { Advice };
@@ -1,46 +1,47 @@
1
1
  import '../../assets/Advice.css';
2
- import { jsxs as _, jsx as r } from "react/jsx-runtime";
3
- import { c as g } from "../../clsx-DB4S2d7J.js";
4
- import { Icon as h } from "../Icon/Icon.js";
5
- import { Typography as m } from "../Typography/Typography.js";
6
- const x = "_advice_1wls4_1", f = "_advice__texts_1wls4_8", u = "_advice__content_1wls4_14", c = {
7
- advice: x,
8
- advice__texts: f,
9
- advice__content: u
10
- }, b = {
2
+ import { jsxs as h, jsx as r } from "react/jsx-runtime";
3
+ import { c as l } from "../../clsx-DB4S2d7J.js";
4
+ import { Icon as i } from "../Icon/Icon.js";
5
+ const n = "_advice_12o7p_56", d = "_content_12o7p_56", s = {
6
+ "u-typography-h1": "_u-typography-h1_12o7p_1",
7
+ "u-typography-h2": "_u-typography-h2_12o7p_8",
8
+ "u-typography-h3": "_u-typography-h3_12o7p_15",
9
+ "u-typography-h4": "_u-typography-h4_12o7p_22",
10
+ "u-typography-h5": "_u-typography-h5_12o7p_29",
11
+ "u-typography-h6": "_u-typography-h6_12o7p_36",
12
+ "u-typography-base": "_u-typography-base_12o7p_43",
13
+ "u-typography-base--xxl": "_u-typography-base--xxl_12o7p_48",
14
+ "u-typography-base--xl": "_u-typography-base--xl_12o7p_52",
15
+ "u-typography-base--lg": "_u-typography-base--lg_12o7p_56",
16
+ advice: n,
17
+ content: d,
18
+ "u-typography-base--sm": "_u-typography-base--sm_12o7p_61",
19
+ "u-typography-base--bold": "_u-typography-base--bold_12o7p_65",
20
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_12o7p_69",
21
+ "u-typography-base--underlined": "_u-typography-base--underlined_12o7p_72",
22
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_12o7p_75",
23
+ "content-no-items": "_content-no-items_12o7p_90"
24
+ }, m = {
11
25
  "no-permission": "eye-slash",
12
26
  "no-items": "",
13
27
  "error-page": "circle-exclamation",
14
28
  "without-results": "folder-magnifying-glass"
15
- }, T = ({
16
- type: e,
17
- icon: a,
18
- iconSvg: i,
19
- content: t,
20
- title: l,
21
- titleProps: o = { variant: "base-xxl", color: "var(--gray-75)", bold: !0 },
22
- description: n,
23
- descriptionProps: s = { variant: "base-lg", color: "var(--gray-75)" },
24
- className: v,
25
- ...d
26
- }) => (e && (a = { icon: b[e] }, (e === "without-results" || e === "no-permission") && (o = Object.assign({}, o, { variant: "base-lg" })), e === "no-items" && (s = Object.assign({}, s, {
27
- elementProps: { style: { maxWidth: 460, color: s.color } }
28
- })), e === "error-page" && (a.color = "var(--secondary-orange)")), /* @__PURE__ */ _("div", { className: g(c.advice, v), ...d, children: [
29
- (a == null ? void 0 : a.icon) && /* @__PURE__ */ r(h, { icon: a.icon, size: a.size || "3.375rem", color: a.color || "var(--accent)" }),
30
- i && i,
31
- /* @__PURE__ */ _(
32
- "div",
33
- {
34
- className: c.advice__texts,
35
- style: e === "without-results" || e === "no-permission" ? { marginTop: -16 } : {},
36
- children: [
37
- l && /* @__PURE__ */ r(m, { element: "h3", ...o, children: l }),
38
- n && /* @__PURE__ */ r(m, { element: "p", ...s, children: n })
39
- ]
40
- }
41
- ),
42
- /* @__PURE__ */ r("div", { className: c.advice__content, children: t && t })
43
- ] }));
29
+ }, v = ({ icon: p, type: o, content: e, title: y, description: _, className: g, IconSvg: t, ...u }) => {
30
+ const a = {
31
+ color: p != null && p.color ? p == null ? void 0 : p.color : o !== "error-page" ? "var(--accent)" : "var(--secondary-orange)",
32
+ size: (p == null ? void 0 : p.size) || "3.375rem",
33
+ icon: m[o] || (p == null ? void 0 : p.icon) || ""
34
+ };
35
+ return /* @__PURE__ */ h("div", { className: l(s.advice, g), ...u, children: [
36
+ t && o !== "no-items" && o !== "error-page" && /* @__PURE__ */ r(t, { style: { color: a.color, height: a.size, width: a.size } }),
37
+ !t && o !== "no-items" && /* @__PURE__ */ r(i, { ...a }),
38
+ o !== "error-page" && o !== "no-items" ? typeof e == "string" ? /* @__PURE__ */ r("p", { children: e }) : /* @__PURE__ */ r("div", { className: s.content, children: e }) : /* @__PURE__ */ h("div", { className: s["content-no-items"], children: [
39
+ /* @__PURE__ */ r("h3", { children: y }),
40
+ /* @__PURE__ */ r("p", { children: _ }),
41
+ e
42
+ ] })
43
+ ] });
44
+ };
44
45
  export {
45
- T as Advice
46
+ v as Advice
46
47
  };
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
2
2
 
3
3
  declare const meta: {
4
4
  title: string;
5
- component: ({ type, icon, iconSvg: IconSvg, content, title, titleProps, description, descriptionProps, className, ...rest }: import('./Advice').AdviceProps) => import("react/jsx-runtime").JSX.Element;
5
+ component: ({ icon, type, content, title, description, className, IconSvg, ...rest }: import('./Advice').AdviceProps) => import("react/jsx-runtime").JSX.Element;
6
6
  tags: string[];
7
7
  parameters: {
8
8
  layout: string;
@@ -12,8 +12,7 @@ export default meta;
12
12
  type Story = StoryObj<typeof meta>;
13
13
  export declare const WithoutResults: Story;
14
14
  export declare const NoPermission: Story;
15
- export declare const NoItems: Story;
16
- export declare const ErrorPage: Story;
17
15
  export declare const CustomIcon: Story;
18
16
  export declare const CustomIconSVG: Story;
19
- export declare const TotallyCustom: Story;
17
+ export declare const NoItems: Story;
18
+ export declare const ErrorPage: Story;
@@ -16,8 +16,6 @@ type ButtonCoreProps = {
16
16
  variant?: Variant;
17
17
  /** mui base button props */
18
18
  muiButtonBaseProps?: MUIButtonBaseProps;
19
- /** Id to be applied as `data-testid` on the container element */
20
- 'data-testid'?: string;
21
19
  };
22
20
  interface ButtonPropsWithLink extends ButtonCoreProps {
23
21
  /** link for component to navigate to, if provide component will be an anchor */
@@ -1,67 +1,65 @@
1
1
  import '../../assets/Button.css';
2
- import { jsx as p, jsxs as l } from "react/jsx-runtime";
3
- import { forwardRef as x, useMemo as c } from "react";
4
- import { c as v } from "../../clsx-DB4S2d7J.js";
2
+ import { jsx as n, jsxs as l } from "react/jsx-runtime";
3
+ import { forwardRef as f, useMemo as d } from "react";
4
+ import { c } from "../../clsx-DB4S2d7J.js";
5
5
  import { LoadingSpinner as m } from "../LoadingSpinner/LoadingSpinner.js";
6
- import { B as f } from "../../Button-BAljjMv3.js";
7
- const k = "_button_dxo5v_57", t = {
8
- "u-typography-h1": "_u-typography-h1_dxo5v_1",
9
- "u-typography-h2": "_u-typography-h2_dxo5v_8",
10
- "u-typography-h3": "_u-typography-h3_dxo5v_15",
11
- "u-typography-h4": "_u-typography-h4_dxo5v_22",
12
- "u-typography-h5": "_u-typography-h5_dxo5v_29",
13
- "u-typography-h6": "_u-typography-h6_dxo5v_36",
14
- "u-typography-base": "_u-typography-base_dxo5v_43",
15
- "u-typography-base--xxl": "_u-typography-base--xxl_dxo5v_49",
16
- "u-typography-base--xl": "_u-typography-base--xl_dxo5v_53",
17
- "u-typography-base--lg": "_u-typography-base--lg_dxo5v_57",
6
+ import { B as x } from "../../Button-2b1peDFT.js";
7
+ const k = "_button_1ynf4_56", o = {
8
+ "u-typography-h1": "_u-typography-h1_1ynf4_1",
9
+ "u-typography-h2": "_u-typography-h2_1ynf4_8",
10
+ "u-typography-h3": "_u-typography-h3_1ynf4_15",
11
+ "u-typography-h4": "_u-typography-h4_1ynf4_22",
12
+ "u-typography-h5": "_u-typography-h5_1ynf4_29",
13
+ "u-typography-h6": "_u-typography-h6_1ynf4_36",
14
+ "u-typography-base": "_u-typography-base_1ynf4_43",
15
+ "u-typography-base--xxl": "_u-typography-base--xxl_1ynf4_48",
16
+ "u-typography-base--xl": "_u-typography-base--xl_1ynf4_52",
17
+ "u-typography-base--lg": "_u-typography-base--lg_1ynf4_56",
18
18
  button: k,
19
- "u-typography-base--sm": "_u-typography-base--sm_dxo5v_61",
20
- "u-typography-base--bold": "_u-typography-base--bold_dxo5v_65",
21
- "u-typography-base--strikethrough": "_u-typography-base--strikethrough_dxo5v_68",
22
- "u-typography-base--underlined": "_u-typography-base--underlined_dxo5v_71",
23
- "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_dxo5v_74",
24
- "button--primary": "_button--primary_dxo5v_86",
25
- "button--secondary": "_button--secondary_dxo5v_101",
26
- "button--quick": "_button--quick_dxo5v_118",
27
- "button__loading-container": "_button__loading-container_dxo5v_138"
28
- }, S = x((y, _) => {
19
+ "u-typography-base--sm": "_u-typography-base--sm_1ynf4_60",
20
+ "u-typography-base--bold": "_u-typography-base--bold_1ynf4_64",
21
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_1ynf4_67",
22
+ "u-typography-base--underlined": "_u-typography-base--underlined_1ynf4_70",
23
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_1ynf4_73",
24
+ "button--primary": "_button--primary_1ynf4_85",
25
+ "button--secondary": "_button--secondary_1ynf4_100",
26
+ "button--quick": "_button--quick_1ynf4_117",
27
+ "button__loading-container": "_button__loading-container_1ynf4_137"
28
+ }, P = f((r, p) => {
29
29
  const {
30
- onClick: u,
31
- link: e,
32
- loading: n,
33
- children: a,
30
+ onClick: _,
31
+ link: u,
32
+ loading: e,
33
+ children: y,
34
34
  type: s = "button",
35
35
  disabled: h,
36
- className: r,
37
- variant: o = "primary",
38
- muiButtonBaseProps: d,
39
- "data-testid": g
40
- } = y, i = {
41
- invert: o === "secondary" || o === "quick"
42
- }, b = c(
43
- () => v([t.button, t[`button--${o}`], r]),
44
- [r, o]
36
+ className: a,
37
+ variant: t = "primary",
38
+ muiButtonBaseProps: g
39
+ } = r, i = {
40
+ invert: t === "secondary" || t === "quick"
41
+ }, b = d(
42
+ () => c([o.button, o[`button--${t}`], a]),
43
+ [a, t]
45
44
  );
46
- return /* @__PURE__ */ p(
47
- f,
45
+ return /* @__PURE__ */ n(
46
+ x,
48
47
  {
49
48
  type: s,
50
- href: e,
51
- onClick: u,
49
+ href: u,
50
+ onClick: _,
52
51
  disabled: h,
53
52
  className: b,
54
- ref: _,
55
- "data-testid": g,
56
- ...d ?? {},
57
- children: n ? /* @__PURE__ */ l("div", { className: t["button__loading-container"], children: [
58
- /* @__PURE__ */ p(m, { ...i }),
59
- a
60
- ] }) : a
53
+ ref: p,
54
+ ...g ?? {},
55
+ children: e ? /* @__PURE__ */ l("div", { className: o["button__loading-container"], children: [
56
+ /* @__PURE__ */ n(m, { ...i }),
57
+ y
58
+ ] }) : y
61
59
  }
62
60
  );
63
61
  });
64
62
  export {
65
- S as Button,
66
- S as default
63
+ P as Button,
64
+ P as default
67
65
  };
@@ -1,71 +1,71 @@
1
1
  import '../../assets/Checkbox.css';
2
- import { jsxs as w, jsx as c } from "react/jsx-runtime";
3
- import * as l from "react";
2
+ import { jsxs as v, jsx as c } from "react/jsx-runtime";
3
+ import * as o from "react";
4
4
  import { useState as k, useEffect as i } from "react";
5
- import { c as _ } from "../../clsx-DB4S2d7J.js";
6
- const v = (a) => /* @__PURE__ */ l.createElement("svg", { width: 14, height: 10, viewBox: "0 0 14 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ l.createElement("path", { d: "M13.7063 0.293438C14.0969 0.684062 14.0969 1.31531 13.7063 1.70594L5.70625 9.70594C5.31563 10.0966 4.68437 10.0966 4.29375 9.70594L0.292875 5.70594C-0.097625 5.31531 -0.097625 4.68406 0.292875 4.29344C0.683437 3.90281 1.31656 3.90281 1.70719 4.29344L4.97188 7.58406L12.2937 0.293438C12.6844 -0.0978125 13.3156 -0.0978125 13.7063 0.293438Z", fill: "#F7F7FC" })), N = "_label_xqg5n_65", z = "_checkmark_xqg5n_94", e = {
7
- "u-typography-h1": "_u-typography-h1_xqg5n_1",
8
- "u-typography-h2": "_u-typography-h2_xqg5n_8",
9
- "u-typography-h3": "_u-typography-h3_xqg5n_15",
10
- "u-typography-h4": "_u-typography-h4_xqg5n_22",
11
- "u-typography-h5": "_u-typography-h5_xqg5n_29",
12
- "u-typography-h6": "_u-typography-h6_xqg5n_36",
13
- "u-typography-base": "_u-typography-base_xqg5n_43",
14
- "u-typography-base--xxl": "_u-typography-base--xxl_xqg5n_49",
15
- "u-typography-base--xl": "_u-typography-base--xl_xqg5n_53",
16
- "u-typography-base--lg": "_u-typography-base--lg_xqg5n_57",
17
- "u-typography-base--sm": "_u-typography-base--sm_xqg5n_61",
18
- "u-typography-base--bold": "_u-typography-base--bold_xqg5n_65",
19
- "checkbox-wrapper": "_checkbox-wrapper_xqg5n_65",
20
- "label--highlighted": "_label--highlighted_xqg5n_65",
21
- "u-typography-base--strikethrough": "_u-typography-base--strikethrough_xqg5n_68",
22
- "u-typography-base--underlined": "_u-typography-base--underlined_xqg5n_71",
23
- "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_xqg5n_74",
24
- label: N,
25
- "label--highlighted-checked": "_label--highlighted-checked_xqg5n_91",
26
- checkmark: z,
27
- "checkmark--checked": "_checkmark--checked_xqg5n_106",
28
- "checkmark--light-theme": "_checkmark--light-theme_xqg5n_109",
29
- "checkmark--accent-theme": "_checkmark--accent-theme_xqg5n_116",
30
- "checkmark--small-size": "_checkmark--small-size_xqg5n_123",
31
- "checkmark--normal-size": "_checkmark--normal-size_xqg5n_130"
32
- }, E = (a) => /* @__PURE__ */ l.createElement("svg", { width: 10, height: 3, viewBox: "0 0 10 3", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ l.createElement("rect", { y: 0.5, width: 10, height: 2, rx: 1, fill: "#1897F3" })), B = ({
5
+ import { c as s } from "../../clsx-DB4S2d7J.js";
6
+ const N = (a) => /* @__PURE__ */ o.createElement("svg", { width: 14, height: 10, viewBox: "0 0 14 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ o.createElement("path", { d: "M13.7063 0.293438C14.0969 0.684062 14.0969 1.31531 13.7063 1.70594L5.70625 9.70594C5.31563 10.0966 4.68437 10.0966 4.29375 9.70594L0.292875 5.70594C-0.097625 5.31531 -0.097625 4.68406 0.292875 4.29344C0.683437 3.90281 1.31656 3.90281 1.70719 4.29344L4.97188 7.58406L12.2937 0.293438C12.6844 -0.0978125 13.3156 -0.0978125 13.7063 0.293438Z", fill: "#F7F7FC" })), z = "_label_18hen_64", E = "_checkmark_18hen_93", e = {
7
+ "u-typography-h1": "_u-typography-h1_18hen_1",
8
+ "u-typography-h2": "_u-typography-h2_18hen_8",
9
+ "u-typography-h3": "_u-typography-h3_18hen_15",
10
+ "u-typography-h4": "_u-typography-h4_18hen_22",
11
+ "u-typography-h5": "_u-typography-h5_18hen_29",
12
+ "u-typography-h6": "_u-typography-h6_18hen_36",
13
+ "u-typography-base": "_u-typography-base_18hen_43",
14
+ "u-typography-base--xxl": "_u-typography-base--xxl_18hen_48",
15
+ "u-typography-base--xl": "_u-typography-base--xl_18hen_52",
16
+ "u-typography-base--lg": "_u-typography-base--lg_18hen_56",
17
+ "u-typography-base--sm": "_u-typography-base--sm_18hen_60",
18
+ "u-typography-base--bold": "_u-typography-base--bold_18hen_64",
19
+ "checkbox-wrapper": "_checkbox-wrapper_18hen_64",
20
+ "label--highlighted": "_label--highlighted_18hen_64",
21
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_18hen_67",
22
+ "u-typography-base--underlined": "_u-typography-base--underlined_18hen_70",
23
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_18hen_73",
24
+ label: z,
25
+ "label--highlighted-checked": "_label--highlighted-checked_18hen_90",
26
+ checkmark: E,
27
+ "checkmark--checked": "_checkmark--checked_18hen_105",
28
+ "checkmark--light-theme": "_checkmark--light-theme_18hen_108",
29
+ "checkmark--accent-theme": "_checkmark--accent-theme_18hen_115",
30
+ "checkmark--small-size": "_checkmark--small-size_18hen_122",
31
+ "checkmark--normal-size": "_checkmark--normal-size_18hen_129"
32
+ }, F = (a) => /* @__PURE__ */ o.createElement("svg", { width: 10, height: 3, viewBox: "0 0 10 3", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ o.createElement("rect", { y: 0.5, width: 10, height: 2, rx: 1, fill: "#1897F3" })), M = ({
33
33
  className: a,
34
- label: s,
34
+ label: n,
35
35
  name: m,
36
- theme: x = "accent",
37
- size: u = "normal",
36
+ theme: u = "accent",
37
+ size: b = "normal",
38
38
  checked: r,
39
- onChange: b,
40
- isIndeterminate: g,
41
- highlightLabel: d = !1,
42
- ...o
39
+ onChange: d,
40
+ isIndeterminate: l,
41
+ highlightLabel: x = !1,
42
+ ...p
43
43
  }) => {
44
- const [h, n] = k(r), [t, y] = k(g);
44
+ const [h, g] = k(r), [t, y] = k(l);
45
45
  i(() => {
46
- r !== h && n(r);
46
+ r !== h && g(r);
47
47
  }, [r]), i(() => {
48
- typeof g == "boolean" && y(g);
49
- }, [g]);
50
- const q = _(e["checkbox-wrapper"], a), C = _(
48
+ typeof l == "boolean" && y(l);
49
+ }, [l]);
50
+ const C = s(e["checkbox-wrapper"], a), f = s(
51
51
  e.checkmark,
52
- e[`checkmark--${x}-theme`],
53
- e[`checkmark--${u}-size`],
52
+ e[`checkmark--${u}-theme`],
53
+ e[`checkmark--${b}-size`],
54
54
  (h || t) && e["checkmark--checked"]
55
- ), f = d && (o.children || s) ? _(
55
+ ), w = x && (p.children || n) ? s(
56
56
  e.label,
57
57
  e["label--highlighted"],
58
58
  (h || t) && e["label--highlighted-checked"]
59
59
  ) : e.label;
60
- return /* @__PURE__ */ w("div", { className: q, onClick: () => {
61
- let p = !h;
62
- t && (y(!1), p = !0), b(p), n(p);
63
- }, ...o, children: [
60
+ return /* @__PURE__ */ v("div", { className: C, onClick: () => {
61
+ let _ = !h;
62
+ t && (y(!1), _ = !0), d(_), g(_);
63
+ }, ...p, children: [
64
64
  /* @__PURE__ */ c("input", { name: m, type: "checkbox", checked: !t && h, readOnly: !0 }),
65
- /* @__PURE__ */ c("span", { className: C, children: t ? /* @__PURE__ */ c(E, {}) : h && /* @__PURE__ */ c(v, {}) }),
66
- /* @__PURE__ */ c("label", { className: f, children: o.children || s })
65
+ /* @__PURE__ */ c("span", { className: f, children: t ? /* @__PURE__ */ c(F, {}) : h && /* @__PURE__ */ c(N, {}) }),
66
+ /* @__PURE__ */ c("label", { className: w, children: p.children || n })
67
67
  ] });
68
68
  };
69
69
  export {
70
- B as Checkbox
70
+ M as Checkbox
71
71
  };
@@ -1,14 +1,14 @@
1
- import { AdornmentProps } from '../../main';
2
- import { ReactNode } from 'react';
1
+ import { IconProps } from '../../main';
2
+ import { ReactElement, ReactNode } from 'react';
3
3
 
4
4
  export type Variant = 'default' | 'contained' | 'outlined';
5
- export type ChipProps = {
5
+ type ChipProps = {
6
6
  /** Main content to display, typically just some text */
7
7
  label: ReactNode;
8
8
  /** Whether to show loading state (skeleton) */
9
9
  loading?: boolean;
10
10
  /** Left icon to display */
11
- leftAdornment?: AdornmentProps;
11
+ leftAdornment?: ChipAdornmentSlotProps;
12
12
  /** Dataset test id only used for tests to reach in and grab the rendered DOM node of the chip wrapper */
13
13
  'data-testid'?: string;
14
14
  /** Functionality to perform when the main body of the chip is clicked */
@@ -27,7 +27,13 @@ export type ChipProps = {
27
27
  /** Dataset test id only used for tests, used to hook onto the loading skeleton component for this chip */
28
28
  'data-testid-skeleton'?: string;
29
29
  };
30
- export type ChipWrapperProps = Pick<ChipProps, 'data-testid' | 'onClickContent' | 'disabled' | 'className' | 'variant'> & {
31
- children?: ReactNode;
30
+ export type ChipAdornmentSlotProps = {
31
+ /** The Marola Icon to display */
32
+ icon: ReactElement<IconProps>;
33
+ /** Any additional classes to apply to icon */
34
+ className?: string;
35
+ /** Dataset test id only used for tests to reach in and grab the rendered DOM node of the icon */
36
+ 'data-testid'?: string;
32
37
  };
33
38
  export declare const Chip: import('react').ForwardRefExoticComponent<ChipProps & import('react').RefAttributes<unknown>>;
39
+ export {};
@@ -1,21 +1,19 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../clsx-DB4S2d7J.js";
4
- import "../Adornment/Adornment.js";
5
4
  import "../Icon/Icon.js";
6
- import "../Typography/Typography.js";
7
- import "../Input/Input.js";
8
5
  import "../Button/Button.js";
9
- import { C as l } from "../../Toggle-Dl-yPy8S.js";
10
- import "../Dialog/Dialog.js";
6
+ import { C as j } from "../../Toggle-BCgIItCc.js";
7
+ import "../Dialog/Backdrop.js";
8
+ import "../Typography/Typography.js";
11
9
  import "../IconButton/IconButton.js";
12
10
  import "../Select/Select.js";
13
11
  import "../Skeleton/Skeleton.js";
14
12
  import "../Table/Table.js";
15
13
  import "../Tabs/Tabs.js";
16
- import "../../Group-B80_u5Q1.js";
14
+ import "../../Group-B3p31ftp.js";
17
15
  import "../../contexts/SnackbarProvider/SnackbarProvider.js";
18
- import "../../Button-BAljjMv3.js";
16
+ import "../../Button-2b1peDFT.js";
19
17
  export {
20
- l as Chip
18
+ j as Chip
21
19
  };