@moneyforward/mfui-components 3.29.1 → 3.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/Button/Button.d.ts +4 -4
- package/dist/src/CheckboxCard/CheckboxCard.d.ts +2 -2
- package/dist/src/CheckboxCard/CheckboxCard.js +1 -1
- package/dist/src/DataTable/DataTableCell/DataTableCell.js +1 -1
- package/dist/src/DateTimeSelection/DateRangePicker/DateRangePickerProvider/DateRangePickerProvider.d.ts +2 -2
- package/dist/src/DateTimeSelection/DateRangePicker/DateRangePickerTrigger/constants.d.ts +4 -4
- package/dist/src/DateTimeSelection/DateRangePicker/DateRangePickerTrigger/hooks/useDateRangeTriggerInputClick.d.ts +1 -1
- package/dist/src/DateTimeSelection/DateRangePicker/utilities/createDateRangePickerTestUtility.d.ts +1 -1
- package/dist/src/DateTimeSelection/MonthRangePicker/MonthRangePickerMonthCell/constants.d.ts +5 -5
- package/dist/src/DateTimeSelection/TimePicker/TimePicker.d.ts +9 -9
- package/dist/src/DateTimeSelection/shared/BasePicker/basePickerUtilities/useBasePickerValueController.d.ts +1 -1
- package/dist/src/DateTimeSelection/shared/BaseRangePicker/BaseRangePickerPopover/BaseRangePickerCalendar/constants.d.ts +6 -6
- package/dist/src/DateTimeSelection/shared/BaseRangePicker/BaseRangePickerProvider/BaseRangePickerProvider.d.ts +2 -2
- package/dist/src/DateTimeSelection/shared/BaseRangePicker/BaseRangePickerTrigger/BaseRangePickerTrigger.js +1 -1
- package/dist/src/DateTimeSelection/shared/BaseRangePicker/BaseRangePickerTrigger/hooks/useDateRangeTriggerInputClick.d.ts +1 -1
- package/dist/src/DateTimeSelection/shared/BaseRangePicker/utilities/createBaseRangePickerTestUtility.d.ts +1 -1
- package/dist/src/DateTimeSelection/shared/accessibility/constants.d.ts +6 -6
- package/dist/src/Dialog/Dialog.d.ts +4 -4
- package/dist/src/Disclosure/Disclosure.d.ts +21 -10
- package/dist/src/DropdownMenu/DropdownMenu.d.ts +3 -3
- package/dist/src/DropdownMenu/DropdownMenuItem/DropdownMenuItem.js +11 -3
- package/dist/src/EmbeddedSidePane/EmbeddedSidePane.d.ts +1 -1
- package/dist/src/FileBox/FileBox.d.ts +4 -4
- package/dist/src/FileBox/FileBox.js +1 -1
- package/dist/src/FileDropZone/FileDropZone.d.ts +4 -4
- package/dist/src/FileDropZone/utils/fileHelpers.d.ts +3 -3
- package/dist/src/FilterTrigger/FilterTrigger.d.ts +2 -2
- package/dist/src/Heading/Heading.d.ts +2 -2
- package/dist/src/HelpMessage/HelpMessage.d.ts +3 -3
- package/dist/src/IconButton/IconButton.d.ts +6 -6
- package/dist/src/KeyValue/KeyValue.d.ts +2 -2
- package/dist/src/MainNavigation/MainNavigation.js +1 -1
- package/dist/src/MultipleSelectBox/MultipleSelectBox.js +1 -1
- package/dist/src/MultipleSelectBox/hooks/useApplyControls.d.ts +1 -1
- package/dist/src/MultipleSelectBox/hooks/useSelectedValues.d.ts +1 -1
- package/dist/src/NumberBox/NumberBox.d.ts +1 -1
- package/dist/src/Pagination/ItemsCount/ItemsCount.js +1 -1
- package/dist/src/Popover/Popover.js +1 -1
- package/dist/src/RadioButton/RadioButton.d.ts +1 -1
- package/dist/src/RadioButtonCard/RadioButtonCard.d.ts +2 -2
- package/dist/src/RadioButtonCard/RadioButtonCard.js +1 -1
- package/dist/src/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/src/SectionMessage/SectionMessage.d.ts +5 -5
- package/dist/src/SectionMessage/SectionMessage.js +11 -4
- package/dist/src/SectionMessage/SectionMessage.types.d.ts +4 -4
- package/dist/src/SelectBox/SelectBox.js +1 -1
- package/dist/src/SelectBox/SelectBoxOption.js +1 -1
- package/dist/src/SelectBox/SelectBoxOptionGroup.js +1 -1
- package/dist/src/SidePane/SidePane.d.ts +6 -6
- package/dist/src/Sidebar/Sidebar.d.ts +10 -1
- package/dist/src/Sidebar/Sidebar.js +40 -10
- package/dist/src/Sidebar/Sidebar.types.d.ts +39 -2
- package/dist/src/Sidebar/SidebarContext.d.ts +3 -0
- package/dist/src/Sidebar/SidebarContext.js +2 -0
- package/dist/src/Sidebar/SidebarMenuHeading/SidebarMenuHeading.d.ts +49 -0
- package/dist/src/Sidebar/SidebarMenuHeading/SidebarMenuHeading.js +113 -0
- package/dist/src/Sidebar/SidebarMenuHeading/SidebarMenuHeading.types.d.ts +36 -0
- package/dist/src/Sidebar/SidebarMenuHeading/SidebarMenuHeading.types.js +1 -0
- package/dist/src/Sidebar/SidebarMenuHeading/index.d.ts +2 -0
- package/dist/src/Sidebar/SidebarMenuHeading/index.js +1 -0
- package/dist/src/Sidebar/SidebarNavigationItem.js +6 -3
- package/dist/src/Sidebar/hooks/useSidebarResize.d.ts +2 -1
- package/dist/src/Sidebar/hooks/useSidebarResize.js +31 -3
- package/dist/src/Sidebar/index.d.ts +2 -1
- package/dist/src/Stack/Stack.d.ts +5 -5
- package/dist/src/StatusLabel/StatusLabel.d.ts +2 -2
- package/dist/src/Stepper/Step/Step.js +1 -1
- package/dist/src/SubNavigation/SubNavigation.js +1 -1
- package/dist/src/TextBox/TextBox.d.ts +6 -6
- package/dist/src/TextLink/TextLink.d.ts +2 -2
- package/dist/src/Textarea/Textarea.d.ts +4 -4
- package/dist/src/Toast/Toast.d.ts +3 -3
- package/dist/src/Toast/Toast.js +9 -5
- package/dist/src/Toast/Toast.types.d.ts +3 -5
- package/dist/src/Toast/api/toast.d.ts +18 -2
- package/dist/src/Tooltip/Tooltip.d.ts +3 -3
- package/dist/src/Tooltip/Tooltip.js +1 -1
- package/dist/src/Tooltip/Tooltip.types.d.ts +2 -0
- package/dist/src/Tooltip/hooks/useTooltipDisplayController.js +14 -2
- package/dist/src/utilities/dom/dispatchNativeInputValueWithEvent.d.ts +1 -1
- package/dist/src/utilities/dom/useFocusTrap.d.ts +1 -1
- package/dist/src/utilities/react/useIsomorphicLayoutEffect.d.ts +2 -2
- package/dist/styled-system/css/conditions.d.ts +3 -3
- package/dist/styled-system/helpers.d.ts +36 -35
- package/dist/styled-system/jsx/factory-helper.d.ts +4 -4
- package/dist/styled-system/recipes/create-recipe.d.ts +2 -2
- package/dist/styled-system/recipes/index.d.ts +2 -1
- package/dist/styled-system/recipes/index.js +1 -0
- package/dist/styled-system/recipes/section-message-slot-recipe.d.ts +1 -1
- package/dist/styled-system/recipes/section-message-slot-recipe.js +3 -1
- package/dist/styled-system/recipes/sidebar-menu-heading-slot-recipe.d.ts +33 -0
- package/dist/styled-system/recipes/sidebar-menu-heading-slot-recipe.js +44 -0
- package/dist/styled-system/recipes/sidebar-slot-recipe.d.ts +1 -1
- package/dist/styled-system/recipes/sidebar-slot-recipe.js +4 -0
- package/dist/styles.css +82 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +11 -11
package/dist/styles.css
CHANGED
|
@@ -293,7 +293,8 @@
|
|
|
293
293
|
--mfui-spacing-mfui\.layout\.grid\.scale\.vertical\.2: 48px;
|
|
294
294
|
--mfui-spacing-mfui\.layout\.grid\.scale\.vertical\.0-1of6: 4px;
|
|
295
295
|
--mfui-spacing-mfui\.layout\.grid\.scale\.vertical\.0-1of3: 8px;
|
|
296
|
-
|
|
296
|
+
--mfui-spacing-mfui\.layout\.grid\.scale\.vertical\.0-1of2: 12px;
|
|
297
|
+
--mfui-spacing-mfui\.size\.dimension\.icon\.square\.comfort: 18px;
|
|
297
298
|
--mfui-spacing-mfui\.size\.padding\.icon-inline\.horizontal\.comfort: 1.75px;
|
|
298
299
|
--mfui-spacing-mfui\.size\.padding\.input\.horizontal\.comfort: 7px;
|
|
299
300
|
--mfui-spacing-mfui\.size\.padding\.input\.horizontal\.condensed: 7px;
|
|
@@ -5951,6 +5952,11 @@ li:last-child > .mfui-cXGJls {
|
|
|
5951
5952
|
justify-content: space-between;
|
|
5952
5953
|
}
|
|
5953
5954
|
|
|
5955
|
+
[data-mfui-collapsed="true"] .mfui-eiwAgy {
|
|
5956
|
+
padding-inline: 0;
|
|
5957
|
+
justify-content: center;
|
|
5958
|
+
}
|
|
5959
|
+
|
|
5954
5960
|
.mfui-dXVlzk {
|
|
5955
5961
|
flex: 1 0 0;
|
|
5956
5962
|
gap: 7px;
|
|
@@ -5959,11 +5965,18 @@ li:last-child > .mfui-cXGJls {
|
|
|
5959
5965
|
min-width: 1px;
|
|
5960
5966
|
}
|
|
5961
5967
|
|
|
5968
|
+
[data-mfui-collapsed="true"] .mfui-dXVlzk {
|
|
5969
|
+
display: none;
|
|
5970
|
+
}
|
|
5971
|
+
|
|
5962
5972
|
.mfui-iaZfLW {
|
|
5963
5973
|
overflow: hidden;
|
|
5974
|
+
flex-shrink: 0;
|
|
5975
|
+
}
|
|
5976
|
+
|
|
5977
|
+
.mfui-iaZfLW,.mfui-NBFBj {
|
|
5964
5978
|
display: inline-flex;
|
|
5965
5979
|
align-items: center;
|
|
5966
|
-
flex-shrink: 0;
|
|
5967
5980
|
}
|
|
5968
5981
|
|
|
5969
5982
|
.mfui-eCoQhk {
|
|
@@ -5994,6 +6007,10 @@ li:last-child > .mfui-cXGJls {
|
|
|
5994
6007
|
padding-block: 3px;
|
|
5995
6008
|
}
|
|
5996
6009
|
|
|
6010
|
+
[data-mfui-collapsed="true"] .mfui-fBhmQk {
|
|
6011
|
+
padding-inline: 7px;
|
|
6012
|
+
}
|
|
6013
|
+
|
|
5997
6014
|
.mfui-fBhmQk > .mfui-Tooltip__root {
|
|
5998
6015
|
display: block;
|
|
5999
6016
|
}
|
|
@@ -6005,6 +6022,10 @@ li:last-child > .mfui-cXGJls {
|
|
|
6005
6022
|
border-color: var(--mfui-colors-mfui\.color\.neutral\.sub-border\.none);
|
|
6006
6023
|
}
|
|
6007
6024
|
|
|
6025
|
+
[data-mfui-collapsed="true"] .mfui-jQneDG {
|
|
6026
|
+
margin-inline: 7px;
|
|
6027
|
+
}
|
|
6028
|
+
|
|
6008
6029
|
.mfui-hoqJKf {
|
|
6009
6030
|
margin: 0;
|
|
6010
6031
|
padding: 0;
|
|
@@ -6076,6 +6097,11 @@ li:last-child > .mfui-cXGJls {
|
|
|
6076
6097
|
min-width: 1px;
|
|
6077
6098
|
}
|
|
6078
6099
|
|
|
6100
|
+
[data-mfui-collapsed="true"] .mfui-jOPsct {
|
|
6101
|
+
padding-inline: 0;
|
|
6102
|
+
justify-content: center;
|
|
6103
|
+
}
|
|
6104
|
+
|
|
6079
6105
|
.mfui-iENmzA {
|
|
6080
6106
|
overflow: hidden;
|
|
6081
6107
|
display: flex;
|
|
@@ -6122,6 +6148,13 @@ li:last-child > .mfui-cXGJls {
|
|
|
6122
6148
|
padding-right: 21px;
|
|
6123
6149
|
}
|
|
6124
6150
|
|
|
6151
|
+
[data-mfui-collapsed="true"] .mfui-SeHWc {
|
|
6152
|
+
gap: var(--mfui-spacing-mfui\.layout\.grid\.scale\.vertical\.0-1of2);
|
|
6153
|
+
padding-inline: 0;
|
|
6154
|
+
flex-direction: column;
|
|
6155
|
+
justify-content: center;
|
|
6156
|
+
}
|
|
6157
|
+
|
|
6125
6158
|
.mfui-cIxYdj {
|
|
6126
6159
|
gap: 4px;
|
|
6127
6160
|
padding-inline: 14px;
|
|
@@ -6221,6 +6254,15 @@ li:last-child > .mfui-cXGJls {
|
|
|
6221
6254
|
border-right-color: var(--mfui-colors-mfui\.color\.neutral\.sub-border\.none);
|
|
6222
6255
|
}
|
|
6223
6256
|
|
|
6257
|
+
.mfui-cYwDQn[data-mfui-collapsed="true"] {
|
|
6258
|
+
cursor: default;
|
|
6259
|
+
}
|
|
6260
|
+
|
|
6261
|
+
.mfui-cYwDQn[data-mfui-collapsed="true"]:is(:hover, [data-hover]),.mfui-cYwDQn[data-mfui-collapsed="true"]:is(:focus-visible, [data-focus-visible]),.mfui-cYwDQn[data-mfui-collapsed="true"][data-mfui-dragging] {
|
|
6262
|
+
border-right-width: var(--mfui-border-widths-mfui\.size\.border\.base\.width\.comfort);
|
|
6263
|
+
border-right-color: var(--mfui-colors-mfui\.color\.neutral\.sub-border\.none);
|
|
6264
|
+
}
|
|
6265
|
+
|
|
6224
6266
|
.mfui-cYwDQn[data-mfui-dragging],.mfui-cYwDQn:is(:focus-visible, [data-focus-visible]) {
|
|
6225
6267
|
border-right-width: var(--mfui-border-widths-mfui\.size\.border\.indicator\.width\.comfort);
|
|
6226
6268
|
border-right-color: var(--mfui-colors-mfui\.color\.neutral\.border\.pressed);
|
|
@@ -6231,6 +6273,40 @@ li:last-child > .mfui-cXGJls {
|
|
|
6231
6273
|
border-right-color: var(--mfui-colors-mfui\.color\.neutral\.border\.hovered);
|
|
6232
6274
|
}
|
|
6233
6275
|
|
|
6276
|
+
.mfui-hAXLar {
|
|
6277
|
+
display: block;
|
|
6278
|
+
width: 100%;
|
|
6279
|
+
}
|
|
6280
|
+
|
|
6281
|
+
.mfui-dgZOML {
|
|
6282
|
+
gap: 3.5px;
|
|
6283
|
+
display: flex;
|
|
6284
|
+
align-items: center;
|
|
6285
|
+
width: 100%;
|
|
6286
|
+
}
|
|
6287
|
+
|
|
6288
|
+
.mfui-eUJMVE {
|
|
6289
|
+
white-space: nowrap;
|
|
6290
|
+
}
|
|
6291
|
+
|
|
6292
|
+
.mfui-fncAeS {
|
|
6293
|
+
flex-shrink: 0;
|
|
6294
|
+
width: 18px;
|
|
6295
|
+
height: 18px;
|
|
6296
|
+
}
|
|
6297
|
+
|
|
6298
|
+
.mfui-czdCzS {
|
|
6299
|
+
position: absolute;
|
|
6300
|
+
width: 1px;
|
|
6301
|
+
height: 1px;
|
|
6302
|
+
padding: 0;
|
|
6303
|
+
margin: -1px;
|
|
6304
|
+
overflow: hidden;
|
|
6305
|
+
clip: rect(0, 0, 0, 0);
|
|
6306
|
+
white-space: nowrap;
|
|
6307
|
+
border-width: 0;
|
|
6308
|
+
}
|
|
6309
|
+
|
|
6234
6310
|
@media screen and (min-width: 37.5rem) {
|
|
6235
6311
|
.mfui-hveqnu {
|
|
6236
6312
|
width: var(--mfui-sizes-mfui\.layout\.area\.horizontal\.fixed);
|
|
@@ -6756,6 +6832,10 @@ li:last-child > .mfui-cXGJls {
|
|
|
6756
6832
|
color: var(--mfui-colors-mfui\.color\.signal-yellow\.content\.none);
|
|
6757
6833
|
}
|
|
6758
6834
|
|
|
6835
|
+
.mfui-jixFnv {
|
|
6836
|
+
color: var(--mfui-colors-mfui\.color\.neutral\.content\.none);
|
|
6837
|
+
}
|
|
6838
|
+
|
|
6759
6839
|
.mfui-aJTup {
|
|
6760
6840
|
border-radius: var(--mfui-radii-mfui\.size\.radius\.indicator-component\.impact);
|
|
6761
6841
|
}
|