@moneyforward/mfui-components 3.1.0 → 3.3.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 (48) hide show
  1. package/dist/src/DateTimeSelection/shared/BasePicker/BasePicker.d.ts +1 -1
  2. package/dist/src/DateTimeSelection/shared/BasePicker/BasePicker.js +6 -6
  3. package/dist/src/DateTimeSelection/shared/BasePicker/BasePicker.types.d.ts +1 -1
  4. package/dist/src/DateTimeSelection/shared/BaseRangePicker/BaseRangePicker.d.ts +1 -1
  5. package/dist/src/DateTimeSelection/shared/BaseRangePicker/BaseRangePicker.js +4 -4
  6. package/dist/src/DateTimeSelection/shared/BaseRangePicker/BaseRangePicker.types.d.ts +8 -0
  7. package/dist/src/DateTimeSelection/shared/CalendarGrid/CalendarGrid.js +3 -1
  8. package/dist/src/DisplayTable/DisplayTable.d.ts +3 -2
  9. package/dist/src/DisplayTable/DisplayTable.js +4 -3
  10. package/dist/src/DisplayTable/DisplayTable.types.d.ts +7 -0
  11. package/dist/src/DisplayTable/DisplayTableBody/DisplayTableBody.js +15 -0
  12. package/dist/src/DisplayTable/DisplayTableCell/DisplayTableCell.js +9 -2
  13. package/dist/src/DisplayTable/DisplayTableHeaderRow/DisplayTableHeaderRow.js +12 -1
  14. package/dist/src/DisplayTable/DisplayTableProvider.d.ts +8 -4
  15. package/dist/src/DisplayTable/DisplayTableProvider.js +12 -3
  16. package/dist/src/MultipleSelectBox/MultipleSelectBox.d.ts +1 -1
  17. package/dist/src/MultipleSelectBox/MultipleSelectBox.js +65 -15
  18. package/dist/src/MultipleSelectBox/MultipleSelectBox.types.d.ts +86 -0
  19. package/dist/src/SelectBox/SelectBox.js +49 -11
  20. package/dist/src/SelectBox/SelectBox.types.d.ts +80 -1
  21. package/dist/src/Tag/Tag.js +1 -1
  22. package/dist/src/ToggleSwitch/ToggleSwitch.d.ts +9 -0
  23. package/dist/src/ToggleSwitch/ToggleSwitch.js +32 -0
  24. package/dist/src/ToggleSwitch/ToggleSwitch.types.d.ts +6 -0
  25. package/dist/src/ToggleSwitch/ToggleSwitch.types.js +1 -0
  26. package/dist/src/ToggleSwitch/index.d.ts +2 -0
  27. package/dist/src/ToggleSwitch/index.js +2 -0
  28. package/dist/src/index.d.ts +1 -0
  29. package/dist/src/index.js +1 -0
  30. package/dist/src/utilities/dom/useFixedColumns.js +36 -10
  31. package/dist/src/utilities/dom/useInfiniteScroll.d.ts +22 -0
  32. package/dist/src/utilities/dom/useInfiniteScroll.js +65 -0
  33. package/dist/styled-system/css/conditions.js +1 -1
  34. package/dist/styled-system/jsx/is-valid-prop.js +1 -1
  35. package/dist/styled-system/recipes/display-table-cell-slot-recipe.d.ts +1 -1
  36. package/dist/styled-system/recipes/display-table-cell-slot-recipe.js +4 -0
  37. package/dist/styled-system/recipes/index.d.ts +2 -1
  38. package/dist/styled-system/recipes/index.js +1 -0
  39. package/dist/styled-system/recipes/multiple-select-box-slot-recipe.d.ts +1 -1
  40. package/dist/styled-system/recipes/multiple-select-box-slot-recipe.js +24 -0
  41. package/dist/styled-system/recipes/select-box-slot-recipe.d.ts +2 -2
  42. package/dist/styled-system/recipes/select-box-slot-recipe.js +30 -1
  43. package/dist/styled-system/recipes/toggle-switch-slot-recipe.d.ts +33 -0
  44. package/dist/styled-system/recipes/toggle-switch-slot-recipe.js +36 -0
  45. package/dist/styled-system/types/conditions.d.ts +10 -0
  46. package/dist/styles.css +298 -34
  47. package/dist/tsconfig.build.tsbuildinfo +1 -1
  48. package/package.json +2 -2
@@ -6,7 +6,7 @@ interface SelectBoxSlotRecipeVariant {
6
6
  /**
7
7
  * @default "medium"
8
8
  */
9
- size: "small" | "medium"
9
+ size: "small" | "medium" | "large"
10
10
  showGroupOptionDivider: boolean
11
11
  }
12
12
 
@@ -14,7 +14,7 @@ type SelectBoxSlotRecipeVariantMap = {
14
14
  [key in keyof SelectBoxSlotRecipeVariant]: Array<SelectBoxSlotRecipeVariant[key]>
15
15
  }
16
16
 
17
- type SelectBoxSlotRecipeSlot = "trigger" | "triggerWrapper" | "clearButtonWrapper" | "popover" | "menuHeader" | "optionPanel" | "scrollWrapper" | "listBox" | "listItem" | "skeletonItem" | "emptyMessage"
17
+ type SelectBoxSlotRecipeSlot = "trigger" | "triggerWrapper" | "clearButtonWrapper" | "displayValue" | "placeholder" | "popover" | "menuHeader" | "optionPanel" | "scrollWrapper" | "listBox" | "listItem" | "skeletonItem" | "emptyMessage" | "infiniteScrollError" | "infiniteScrollErrorMessage" | "infiniteScrollErrorButton" | "infiniteScrollErrorIcon" | "infiniteScrollLoading"
18
18
 
19
19
  export type SelectBoxSlotRecipeVariantProps = {
20
20
  [key in keyof SelectBoxSlotRecipeVariant]?: ConditionalValue<SelectBoxSlotRecipeVariant[key]> | undefined
@@ -17,6 +17,14 @@ const selectBoxSlotRecipeSlotNames = [
17
17
  "clearButtonWrapper",
18
18
  "SelectBox__clearButtonWrapper"
19
19
  ],
20
+ [
21
+ "displayValue",
22
+ "SelectBox__displayValue"
23
+ ],
24
+ [
25
+ "placeholder",
26
+ "SelectBox__placeholder"
27
+ ],
20
28
  [
21
29
  "popover",
22
30
  "SelectBox__popover"
@@ -48,6 +56,26 @@ const selectBoxSlotRecipeSlotNames = [
48
56
  [
49
57
  "emptyMessage",
50
58
  "SelectBox__emptyMessage"
59
+ ],
60
+ [
61
+ "infiniteScrollError",
62
+ "SelectBox__infiniteScrollError"
63
+ ],
64
+ [
65
+ "infiniteScrollErrorMessage",
66
+ "SelectBox__infiniteScrollErrorMessage"
67
+ ],
68
+ [
69
+ "infiniteScrollErrorButton",
70
+ "SelectBox__infiniteScrollErrorButton"
71
+ ],
72
+ [
73
+ "infiniteScrollErrorIcon",
74
+ "SelectBox__infiniteScrollErrorIcon"
75
+ ],
76
+ [
77
+ "infiniteScrollLoading",
78
+ "SelectBox__infiniteScrollLoading"
51
79
  ]
52
80
  ];
53
81
  const selectBoxSlotRecipeSlotFns = /* @__PURE__ */ selectBoxSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, selectBoxSlotRecipeDefaultVariants, getSlotCompoundVariant(selectBoxSlotRecipeCompoundVariants, slotName))]);
@@ -68,7 +96,8 @@ export const selectBoxSlotRecipe = /* @__PURE__ */ Object.assign(selectBoxSlotRe
68
96
  variantMap: {
69
97
  "size": [
70
98
  "small",
71
- "medium"
99
+ "medium",
100
+ "large"
72
101
  ],
73
102
  "showGroupOptionDivider": [
74
103
  "true",
@@ -0,0 +1,33 @@
1
+ /* eslint-disable */
2
+ import type { ConditionalValue } from '../types/index';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types';
4
+
5
+ interface ToggleSwitchSlotRecipeVariant {
6
+
7
+ }
8
+
9
+ type ToggleSwitchSlotRecipeVariantMap = {
10
+ [key in keyof ToggleSwitchSlotRecipeVariant]: Array<ToggleSwitchSlotRecipeVariant[key]>
11
+ }
12
+
13
+ type ToggleSwitchSlotRecipeSlot = "root" | "input" | "handle"
14
+
15
+ export type ToggleSwitchSlotRecipeVariantProps = {
16
+ [key in keyof ToggleSwitchSlotRecipeVariant]?: ConditionalValue<ToggleSwitchSlotRecipeVariant[key]> | undefined
17
+ }
18
+
19
+ export interface ToggleSwitchSlotRecipeRecipe {
20
+ __slot: ToggleSwitchSlotRecipeSlot
21
+ __type: ToggleSwitchSlotRecipeVariantProps
22
+ (props?: ToggleSwitchSlotRecipeVariantProps): Pretty<Record<ToggleSwitchSlotRecipeSlot, string>>
23
+ raw: (props?: ToggleSwitchSlotRecipeVariantProps) => ToggleSwitchSlotRecipeVariantProps
24
+ variantMap: ToggleSwitchSlotRecipeVariantMap
25
+ variantKeys: Array<keyof ToggleSwitchSlotRecipeVariant>
26
+ splitVariantProps<Props extends ToggleSwitchSlotRecipeVariantProps>(props: Props): [ToggleSwitchSlotRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof ToggleSwitchSlotRecipeVariantProps>>]
27
+ getVariantProps: (props?: ToggleSwitchSlotRecipeVariantProps) => ToggleSwitchSlotRecipeVariantProps
28
+ }
29
+
30
+ /**
31
+ * Slot class created for the MFUI ToggleSwitch component.
32
+ */
33
+ export declare const toggleSwitchSlotRecipe: ToggleSwitchSlotRecipeRecipe
@@ -0,0 +1,36 @@
1
+ import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.js';
2
+ import { createRecipe } from './create-recipe.js';
3
+ const toggleSwitchSlotRecipeDefaultVariants = {};
4
+ const toggleSwitchSlotRecipeCompoundVariants = [];
5
+ const toggleSwitchSlotRecipeSlotNames = [
6
+ [
7
+ "root",
8
+ "ToggleSwitch__root"
9
+ ],
10
+ [
11
+ "input",
12
+ "ToggleSwitch__input"
13
+ ],
14
+ [
15
+ "handle",
16
+ "ToggleSwitch__handle"
17
+ ]
18
+ ];
19
+ const toggleSwitchSlotRecipeSlotFns = /* @__PURE__ */ toggleSwitchSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, toggleSwitchSlotRecipeDefaultVariants, getSlotCompoundVariant(toggleSwitchSlotRecipeCompoundVariants, slotName))]);
20
+ const toggleSwitchSlotRecipeFn = memo((props = {}) => {
21
+ return Object.fromEntries(toggleSwitchSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
22
+ });
23
+ const toggleSwitchSlotRecipeVariantKeys = [];
24
+ const getVariantProps = (variants) => ({ ...toggleSwitchSlotRecipeDefaultVariants, ...compact(variants) });
25
+ export const toggleSwitchSlotRecipe = /* @__PURE__ */ Object.assign(toggleSwitchSlotRecipeFn, {
26
+ __recipe__: false,
27
+ __name__: 'toggleSwitchSlotRecipe',
28
+ raw: (props) => props,
29
+ classNameMap: {},
30
+ variantKeys: toggleSwitchSlotRecipeVariantKeys,
31
+ variantMap: {},
32
+ splitVariantProps(props) {
33
+ return splitProps(props, toggleSwitchSlotRecipeVariantKeys);
34
+ },
35
+ getVariantProps
36
+ });
@@ -244,6 +244,16 @@ export interface Conditions {
244
244
  "_hasDisabledRadioButtonInside": string
245
245
  /** `&:has(input[type="radio"]:not(:disabled):checked)` */
246
246
  "_hasCheckedRadioButtonInside": string
247
+ /** `&:has(input[type="checkbox"][role="switch"]:not(:disabled))` */
248
+ "_hasToggleSwitchInside": string
249
+ /** `&:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible)` */
250
+ "_hasFocusedToggleSwitchInside": string
251
+ /** `&:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible:checked)` */
252
+ "_hasFocusedCheckedToggleSwitchInside": string
253
+ /** `&:has(input[type="checkbox"][role="switch"]:disabled)` */
254
+ "_hasDisabledToggleSwitchInside": string
255
+ /** `&:has(input[type="checkbox"][role="switch"]:not(:disabled):checked)` */
256
+ "_hasCheckedToggleSwitchInside": string
247
257
  /** `@media screen and (min-width: 37.5rem)` */
248
258
  "sm": string
249
259
  /** `@media screen and (min-width: 37.5rem) and (max-width: 74.9975rem)` */
package/dist/styles.css CHANGED
@@ -202,7 +202,9 @@
202
202
  --mfui-colors-mfui\.color\.neutral\.thin-border\.hovered: #ddddddff;
203
203
  --mfui-colors-mfui\.color\.neutral\.thin-border\.pressed: #d1d1d1ff;
204
204
  --mfui-colors-mfui\.color\.primary\.content\.none: #2e72d8ff;
205
- --mfui-colors-mfui\.color\.primary\.border\.none: #2e72d8ff;
205
+ --mfui-colors-mfui\.color\.primary\.content\.hovered: #0d57b1ff;
206
+ --mfui-colors-mfui\.color\.primary\.content\.pressed: #003e90ff;
207
+ --mfui-colors-mfui\.color\.primary\.border\.none: #2e72d8ff;
206
208
  --mfui-colors-mfui\.color\.primary\.background\.none: #2e72d8ff;
207
209
  --mfui-colors-mfui\.color\.primary\.background\.hovered: #0d57b1ff;
208
210
  --mfui-colors-mfui\.color\.primary\.background\.pressed: #003e90ff;
@@ -271,7 +273,11 @@
271
273
  --mfui-sizes-mfui\.size\.dimension\.month-calendar-cell\.width\.comfort: 49px;
272
274
  --mfui-sizes-mfui\.size\.dimension\.month-calendar-cell\.height\.comfort: 48px;
273
275
  --mfui-sizes-mfui\.size\.dimension\.this-month-indicator\.diameter\.comfort: 42px;
274
- --mfui-sizes-mfui\.size\.target\.minimum\.comfort: 24px;
276
+ --mfui-sizes-mfui\.size\.dimension\.toggle-switch-container\.width\.comfort: 44px;
277
+ --mfui-sizes-mfui\.size\.dimension\.toggle-switch-container\.height\.comfort: 24px;
278
+ --mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-on\.diameter\.comfort: 20px;
279
+ --mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-off\.diameter\.comfort: 18px;
280
+ --mfui-sizes-mfui\.size\.target\.minimum\.comfort: 24px;
275
281
  --mfui-sizes-mfui\.size\.target\.button\.comfort: 56px;
276
282
  --mfui-sizes-mfui\.size\.target\.button\.condensed: 42px;
277
283
  --mfui-sizes-mfui\.size\.target\.button\.impact: 56px;
@@ -337,7 +343,8 @@
337
343
  --mfui-radii-mfui\.size\.radius\.panel-component\.comfort: 12px;
338
344
  --mfui-radii-mfui\.size\.radius\.floating-component\.comfort: 18px;
339
345
  --mfui-radii-mfui\.size\.radius\.floating-pane\.comfort: 24px;
340
- --mfui-fonts-mfui\.typography\.font-family\.page-heading-1: Meiryo,Hiragino Kaku Gothic ProN,Hiragino Sans,Noto Sans JP,sans-serif;
346
+ --mfui-radii-mfui\.size\.radius\.toggle-switch-handle\.comfort: 12px;
347
+ --mfui-fonts-mfui\.typography\.font-family\.page-heading-1: Meiryo,Hiragino Kaku Gothic ProN,Hiragino Sans,Noto Sans JP,sans-serif;
341
348
  --mfui-fonts-mfui\.typography\.font-family\.page-heading-2: Meiryo,Hiragino Kaku Gothic ProN,Hiragino Sans,Noto Sans JP,sans-serif;
342
349
  --mfui-fonts-mfui\.typography\.font-family\.section-heading-1: Meiryo,Hiragino Kaku Gothic ProN,Hiragino Sans,Noto Sans JP,sans-serif;
343
350
  --mfui-fonts-mfui\.typography\.font-family\.section-heading-2: Meiryo,Hiragino Kaku Gothic ProN,Hiragino Sans,Noto Sans JP,sans-serif;
@@ -1523,6 +1530,44 @@
1523
1530
  min-height: var(--mfui-sizes-mfui\.size\.dimension\.control-component\.height\.comfort);
1524
1531
  }
1525
1532
 
1533
+ .mfui-etcyoB {
1534
+ padding-inline: var(--mfui-spacing-mfui\.size\.padding\.control\.horizontal\.comfort);
1535
+ padding-block: 4px;
1536
+ gap: 4px;
1537
+ display: flex;
1538
+ flex-direction: column;
1539
+ justify-content: center;
1540
+ }
1541
+
1542
+ .mfui-kxqjkG {
1543
+ gap: 4px;
1544
+ display: flex;
1545
+ align-items: center;
1546
+ }
1547
+
1548
+ .mfui-cUaWtj {
1549
+ display: flex;
1550
+ justify-content: flex-end;
1551
+ }
1552
+
1553
+ .mfui-dygFHu {
1554
+ color: var(--mfui-colors-mfui\.color\.signal-red\.content\.none);
1555
+ width: var(--mfui-sizes-mfui\.size\.dimension\.icon\.square\.comfort);
1556
+ height: var(--mfui-sizes-mfui\.size\.dimension\.icon\.square\.comfort);
1557
+ }
1558
+
1559
+ .mfui-kXRJmn {
1560
+ display: flex;
1561
+ justify-content: center;
1562
+ align-items: center;
1563
+ height: 32px;
1564
+ }
1565
+
1566
+ .mfui-kXRJmn .mfui-ProgressIndicator {
1567
+ width: 16px;
1568
+ height: 16px;
1569
+ }
1570
+
1526
1571
  .mfui-bZAucV {
1527
1572
  position: relative;
1528
1573
  display: flex;
@@ -2756,6 +2801,13 @@
2756
2801
  min-width: var(--mfui-sizes-mfui\.size\.dimension\.data-grid-disclosure-inidicator\.width\.comfort);
2757
2802
  }
2758
2803
 
2804
+ .mfui-hrJUxa {
2805
+ padding-inline: var(--mfui-spacing-mfui\.size\.padding\.data-grid-cell\.horizontal\.comfort);
2806
+ padding-block: 5px;
2807
+ margin-block: var(--mfui-spacing-mfui\.size\.padding\.display-table-cell\.vertical\.comfort);
2808
+ height: 24px;
2809
+ }
2810
+
2759
2811
  .mfui-fXPtIg {
2760
2812
  overflow: auto;
2761
2813
  position: relative;
@@ -3216,6 +3268,50 @@
3216
3268
  bottom: 0;
3217
3269
  }
3218
3270
 
3271
+ .mfui-eacekU {
3272
+ flex: 1 1 auto;
3273
+ overflow-y: auto;
3274
+ min-height: 0px;
3275
+ }
3276
+
3277
+ .mfui-dBhQXV {
3278
+ padding-inline: var(--mfui-spacing-mfui\.size\.padding\.control\.horizontal\.comfort);
3279
+ padding-block: 4px;
3280
+ gap: 4px;
3281
+ display: flex;
3282
+ flex-direction: column;
3283
+ justify-content: center;
3284
+ }
3285
+
3286
+ .mfui-bdFGwq {
3287
+ gap: 4px;
3288
+ display: flex;
3289
+ align-items: center;
3290
+ }
3291
+
3292
+ .mfui-bNdwmf {
3293
+ display: flex;
3294
+ justify-content: flex-end;
3295
+ }
3296
+
3297
+ .mfui-ehdBWy {
3298
+ color: var(--mfui-colors-mfui\.color\.signal-red\.content\.none);
3299
+ width: var(--mfui-sizes-mfui\.size\.dimension\.icon\.square\.comfort);
3300
+ height: var(--mfui-sizes-mfui\.size\.dimension\.icon\.square\.comfort);
3301
+ }
3302
+
3303
+ .mfui-bKkNJr {
3304
+ display: flex;
3305
+ justify-content: center;
3306
+ align-items: center;
3307
+ height: 32px;
3308
+ }
3309
+
3310
+ .mfui-bKkNJr .mfui-ProgressIndicator {
3311
+ width: 16px;
3312
+ height: 16px;
3313
+ }
3314
+
3219
3315
  .mfui-frSlYl {
3220
3316
  border: 1px solid;
3221
3317
  gap: var(--mfui-spacing-mfui\.size\.spacing\.inline\.horizontal\.comfort);
@@ -4572,6 +4668,11 @@
4572
4668
  vertical-align: top;
4573
4669
  }
4574
4670
 
4671
+ .mfui-jypOde {
4672
+ padding-block: 5px;
4673
+ height: 24px;
4674
+ }
4675
+
4575
4676
  .mfui-lkSlOI {
4576
4677
  border: 1px solid var(--mfui-colors-mfui\.color\.neutral\.sub-border\.none);
4577
4678
  display: flex;
@@ -4771,6 +4872,156 @@
4771
4872
  border-left-color: var(--mfui-colors-mfui\.color\.neutral\.border\.pressed);
4772
4873
  }
4773
4874
 
4875
+ .mfui-hRFDZx {
4876
+ border-radius: var(--mfui-radii-mfui\.size\.radius\.toggle-switch-handle\.comfort);
4877
+ transition: background-color 0.1s linear, border-color 0.1s linear;
4878
+ display: inline-flex;
4879
+ position: relative;
4880
+ width: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-container\.width\.comfort);
4881
+ height: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-container\.height\.comfort);
4882
+ }
4883
+
4884
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled)) {
4885
+ border-width: 1px;
4886
+ border-style: solid;
4887
+ border-color: var(--mfui-colors-mfui\.color\.neutral\.border\.none);
4888
+ background-color: var(--mfui-colors-mfui\.color\.neutral\.sub-background\.none);
4889
+ }
4890
+
4891
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled)):is(:hover, [data-hover]) {
4892
+ border-color: var(--mfui-colors-mfui\.color\.neutral\.border\.hovered);
4893
+ background-color: var(--mfui-colors-mfui\.color\.neutral\.sub-background\.hovered);
4894
+ }
4895
+
4896
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled)):is(:hover, [data-hover]) [data-mfui-content="toggle-handle"] {
4897
+ background-color: var(--mfui-colors-mfui\.color\.neutral\.content\.hovered);
4898
+ }
4899
+
4900
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled)):is(:active, [data-active]) {
4901
+ border-color: var(--mfui-colors-mfui\.color\.neutral\.border\.pressed);
4902
+ background-color: var(--mfui-colors-mfui\.color\.neutral\.sub-background\.pressed);
4903
+ }
4904
+
4905
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled)):is(:active, [data-active]) [data-mfui-content="toggle-handle"] {
4906
+ background-color: var(--mfui-colors-mfui\.color\.neutral\.content\.pressed);
4907
+ }
4908
+
4909
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled)) [data-mfui-content="toggle-handle"] {
4910
+ transform: translateY(-50%) translateX(0);
4911
+ background-color: var(--mfui-colors-mfui\.color\.neutral\.content\.none);
4912
+ width: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-off\.diameter\.comfort);
4913
+ height: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-off\.diameter\.comfort);
4914
+ }
4915
+
4916
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):checked) {
4917
+ border-width: 0;
4918
+ background-color: var(--mfui-colors-mfui\.color\.primary\.content\.none);
4919
+ }
4920
+
4921
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):checked) [data-mfui-content="toggle-handle"] {
4922
+ transform: translateY(-50%) translateX(calc(var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-container\.width\.comfort) - var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-on\.diameter\.comfort) - 4px));
4923
+ background-color: var(--mfui-colors-mfui\.color\.base\.background\.none);
4924
+ width: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-on\.diameter\.comfort);
4925
+ height: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-on\.diameter\.comfort);
4926
+ }
4927
+
4928
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):checked):is(:hover, [data-hover]) {
4929
+ background-color: var(--mfui-colors-mfui\.color\.primary\.content\.hovered);
4930
+ }
4931
+
4932
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):checked):is(:hover, [data-hover]) [data-mfui-content="toggle-handle"] {
4933
+ background-color: var(--mfui-colors-mfui\.color\.base\.background\.hovered);
4934
+ }
4935
+
4936
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):checked):is(:active, [data-active]) {
4937
+ background-color: var(--mfui-colors-mfui\.color\.primary\.content\.pressed);
4938
+ }
4939
+
4940
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):checked):is(:active, [data-active]) [data-mfui-content="toggle-handle"] {
4941
+ background-color: var(--mfui-colors-mfui\.color\.base\.background\.pressed);
4942
+ }
4943
+
4944
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:disabled) {
4945
+ border-width: 1px;
4946
+ border-style: solid;
4947
+ border-color: var(--mfui-colors-mfui\.color\.disabled\.border);
4948
+ background-color: var(--mfui-colors-mfui\.color\.disabled\.background);
4949
+ }
4950
+
4951
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:disabled) [data-mfui-content="toggle-handle"] {
4952
+ transform: translateY(-50%) translateX(0);
4953
+ background-color: var(--mfui-colors-mfui\.color\.disabled\.content);
4954
+ width: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-off\.diameter\.comfort);
4955
+ height: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-off\.diameter\.comfort);
4956
+ }
4957
+
4958
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:disabled:checked) {
4959
+ border-width: 0;
4960
+ background-color: var(--mfui-colors-mfui\.color\.disabled\.background);
4961
+ }
4962
+
4963
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:disabled:checked) [data-mfui-content="toggle-handle"] {
4964
+ transform: translateY(-50%) translateX(calc(var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-container\.width\.comfort) - var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-on\.diameter\.comfort) - 4px));
4965
+ background-color: var(--mfui-colors-mfui\.color\.base\.background\.none);
4966
+ width: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-on\.diameter\.comfort);
4967
+ height: var(--mfui-sizes-mfui\.size\.dimension\.toggle-switch-handle-on\.diameter\.comfort);
4968
+ }
4969
+
4970
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible) {
4971
+ border-color: var(--mfui-colors-mfui\.color\.neutral\.border\.hovered);
4972
+ background-color: var(--mfui-colors-mfui\.color\.neutral\.sub-background\.hovered);
4973
+ }
4974
+
4975
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible):is(:active, [data-active]) {
4976
+ border-color: var(--mfui-colors-mfui\.color\.neutral\.border\.pressed);
4977
+ background-color: var(--mfui-colors-mfui\.color\.neutral\.sub-background\.pressed);
4978
+ }
4979
+
4980
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible):is(:active, [data-active]) [data-mfui-content="toggle-handle"] {
4981
+ background-color: var(--mfui-colors-mfui\.color\.neutral\.content\.pressed);
4982
+ }
4983
+
4984
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible) [data-mfui-content="toggle-handle"] {
4985
+ background-color: var(--mfui-colors-mfui\.color\.neutral\.content\.hovered);
4986
+ }
4987
+
4988
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible:checked) {
4989
+ background-color: var(--mfui-colors-mfui\.color\.primary\.content\.hovered);
4990
+ }
4991
+
4992
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible:checked) [data-mfui-content="toggle-handle"] {
4993
+ background-color: var(--mfui-colors-mfui\.color\.base\.background\.hovered);
4994
+ }
4995
+
4996
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible:checked):is(:active, [data-active]) {
4997
+ background-color: var(--mfui-colors-mfui\.color\.primary\.content\.pressed);
4998
+ }
4999
+
5000
+ .mfui-hRFDZx:has(input[type="checkbox"][role="switch"]:not(:disabled):focus-visible:checked):is(:active, [data-active]) [data-mfui-content="toggle-handle"] {
5001
+ background-color: var(--mfui-colors-mfui\.color\.base\.background\.pressed);
5002
+ }
5003
+
5004
+ .mfui-ikFLrp {
5005
+ margin: 0;
5006
+ position: absolute;
5007
+ opacity: 0;
5008
+ cursor: pointer;
5009
+ width: 100%;
5010
+ height: 100%;
5011
+ }
5012
+
5013
+ .mfui-ikFLrp:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) {
5014
+ cursor: not-allowed;
5015
+ }
5016
+
5017
+ .mfui-fcwQxJ {
5018
+ border-radius: 50%;
5019
+ transition: transform 0.1s linear, background-color 0.1s linear, width 0.1s linear, height 0.1s linear;
5020
+ position: absolute;
5021
+ top: 50%;
5022
+ left: 2px;
5023
+ }
5024
+
4774
5025
  @media screen and (min-width: 37.5rem) {
4775
5026
  .mfui-hveqnu {
4776
5027
  width: var(--mfui-sizes-mfui\.layout\.area\.horizontal\.fixed);
@@ -5479,6 +5730,19 @@
5479
5730
  min-width: var(--mfui-sizes-mfui\.size\.dimension\.icon\.square\.condensed);
5480
5731
  }
5481
5732
 
5733
+ .mfui-iOuOfJ {
5734
+ padding-inline: calc(var(--mfui-spacing-mfui\.size\.padding\.input\.horizontal\.impact) - 1px);
5735
+ gap: var(--mfui-spacing-mfui\.size\.spacing\.icon-and-text\.horizontal\.impact);
5736
+ border-radius: var(--mfui-radii-mfui\.size\.radius\.control-component\.impact);
5737
+ height: var(--mfui-sizes-mfui\.size\.dimension\.control-component\.height\.impact);
5738
+ min-width: var(--mfui-sizes-mfui\.size\.target\.button\.impact);
5739
+ }
5740
+
5741
+ .mfui-iOuOfJ > svg {
5742
+ height: var(--mfui-sizes-mfui\.size\.dimension\.icon\.square\.comfort);
5743
+ min-width: var(--mfui-sizes-mfui\.size\.dimension\.icon\.square\.comfort);
5744
+ }
5745
+
5482
5746
  .mfui-ctWvwW[data-mfui-group-label="true"]:not(:first-child) {
5483
5747
  border: none;
5484
5748
  border-top: 1px solid;
@@ -5812,29 +6076,15 @@
5812
6076
  }
5813
6077
 
5814
6078
  .mfui-cKTSwl,.mfui-eguNxK {
5815
- min-height: var(--mfui-sizes-mfui\.size\.dimension\.data-grid-cell\.height\.condensed);
5816
- }
5817
-
5818
- .mfui-cKTSwl,.mfui-eguNxK,.mfui-hfZRBD {
5819
6079
  padding-block: var(--mfui-spacing-mfui\.size\.padding\.data-grid-cell\.vertical\.condensed);
5820
6080
  padding-inline: var(--mfui-spacing-mfui\.size\.padding\.data-grid-cell\.horizontal\.condensed);
5821
- }
5822
-
5823
- .mfui-hfZRBD {
5824
- height: var(--mfui-sizes-mfui\.size\.dimension\.data-grid-cell\.height\.condensed);
6081
+ min-height: var(--mfui-sizes-mfui\.size\.dimension\.data-grid-cell\.height\.condensed);
5825
6082
  }
5826
6083
 
5827
6084
  .mfui-ifJbzD,.mfui-lagYEk {
5828
- min-height: var(--mfui-sizes-mfui\.size\.dimension\.data-grid-cell\.height\.comfort);
5829
- }
5830
-
5831
- .mfui-ifJbzD,.mfui-lagYEk,.mfui-VwckJ {
5832
6085
  padding-block: var(--mfui-spacing-mfui\.size\.padding\.data-grid-cell\.vertical\.comfort);
5833
6086
  padding-inline: var(--mfui-spacing-mfui\.size\.padding\.data-grid-cell\.horizontal\.comfort);
5834
- }
5835
-
5836
- .mfui-VwckJ {
5837
- height: var(--mfui-sizes-mfui\.size\.dimension\.data-grid-cell\.height\.comfort);
6087
+ min-height: var(--mfui-sizes-mfui\.size\.dimension\.data-grid-cell\.height\.comfort);
5838
6088
  }
5839
6089
 
5840
6090
  .mfui-hCWOMt {
@@ -5887,24 +6137,22 @@
5887
6137
  }
5888
6138
 
5889
6139
  .mfui-cIEpCk::before {
5890
- content: "";
5891
- position: absolute;
5892
- top: 0;
5893
- left: 0;
5894
- width: 100%;
5895
- height: calc(100% + 1px);
5896
6140
  border-right-width: var(--mfui-border-widths-mfui\.size\.border\.fixed-cell\.horizontal\.comfort);
5897
6141
  border-right-style: solid;
5898
6142
  border-right-color: var(--mfui-colors-mfui\.color\.neutral\.sub-border\.none);
5899
6143
  }
5900
6144
 
5901
- .mfui-hUucnT::before {
6145
+ .mfui-cIEpCk::before,.mfui-hUucnT::before {
5902
6146
  content: "";
5903
6147
  position: absolute;
6148
+ pointer-events: none;
5904
6149
  top: 0;
5905
6150
  left: 0;
5906
6151
  width: 100%;
5907
6152
  height: calc(100% + 1px);
6153
+ }
6154
+
6155
+ .mfui-hUucnT::before {
5908
6156
  border-left-width: var(--mfui-border-widths-mfui\.size\.border\.fixed-cell\.horizontal\.comfort);
5909
6157
  border-left-style: solid;
5910
6158
  border-left-color: var(--mfui-colors-mfui\.color\.neutral\.sub-border\.none);
@@ -5964,24 +6212,22 @@
5964
6212
  }
5965
6213
 
5966
6214
  .mfui-krlGLX::before {
5967
- content: "";
5968
- position: absolute;
5969
- top: 0;
5970
- left: 0;
5971
- width: 100%;
5972
- height: calc(100% + 1px);
5973
6215
  border-right-width: var(--mfui-border-widths-mfui\.size\.border\.fixed-cell\.horizontal\.comfort);
5974
6216
  border-right-style: solid;
5975
6217
  border-right-color: var(--mfui-colors-mfui\.color\.neutral\.sub-border\.none);
5976
6218
  }
5977
6219
 
5978
- .mfui-iRKnkw::before {
6220
+ .mfui-krlGLX::before,.mfui-iRKnkw::before {
5979
6221
  content: "";
5980
6222
  position: absolute;
6223
+ pointer-events: none;
5981
6224
  top: 0;
5982
6225
  left: 0;
5983
6226
  width: 100%;
5984
6227
  height: calc(100% + 1px);
6228
+ }
6229
+
6230
+ .mfui-iRKnkw::before {
5985
6231
  border-left-width: var(--mfui-border-widths-mfui\.size\.border\.fixed-cell\.horizontal\.comfort);
5986
6232
  border-left-style: solid;
5987
6233
  border-left-color: var(--mfui-colors-mfui\.color\.neutral\.sub-border\.none);
@@ -6902,11 +7148,17 @@
6902
7148
  font-weight: var(--mfui-font-weights-mfui\.typography\.font-weight\.condensed-input\.narrow);
6903
7149
  line-height: var(--mfui-line-heights-mfui\.typography\.line-height\.condensed-input\.narrow);
6904
7150
  }
6905
- .mfui-dlFVvi {
7151
+ .mfui-dlFVvi,.mfui-hROZmU,.mfui-iTaRhG {
6906
7152
  font-family: var(--mfui-fonts-mfui\.typography\.font-family\.input\.narrow);
6907
7153
  font-size: var(--mfui-font-sizes-mfui\.typography\.font-size\.input\.narrow);
6908
7154
  font-weight: var(--mfui-font-weights-mfui\.typography\.font-weight\.input\.narrow);
6909
7155
  line-height: var(--mfui-line-heights-mfui\.typography\.line-height\.input\.narrow);
7156
+ }
7157
+ .mfui-caqEqS,.mfui-jprhbA {
7158
+ font-family: var(--mfui-fonts-mfui\.typography\.font-family\.condensed-input\.narrow);
7159
+ font-size: var(--mfui-font-sizes-mfui\.typography\.font-size\.condensed-input\.narrow);
7160
+ font-weight: var(--mfui-font-weights-mfui\.typography\.font-weight\.condensed-input\.narrow);
7161
+ line-height: var(--mfui-line-heights-mfui\.typography\.line-height\.condensed-input\.narrow);
6910
7162
  }
6911
7163
  .mfui-iqpTgS {
6912
7164
  align-items: flex-start;
@@ -6916,6 +7168,18 @@
6916
7168
  }
6917
7169
  .mfui-fnKRCp {
6918
7170
  align-items: flex-end;
7171
+ }
7172
+ .mfui-eSkNXq,.mfui-fBrVbr,.mfui-bNQKjD {
7173
+ font-family: var(--mfui-fonts-mfui\.typography\.font-family\.input\.narrow);
7174
+ font-size: var(--mfui-font-sizes-mfui\.typography\.font-size\.input\.narrow);
7175
+ font-weight: var(--mfui-font-weights-mfui\.typography\.font-weight\.input\.narrow);
7176
+ line-height: var(--mfui-line-heights-mfui\.typography\.line-height\.input\.narrow);
7177
+ }
7178
+ .mfui-fQfOLY,.mfui-ccKtgp,.mfui-iLIvMR {
7179
+ font-family: var(--mfui-fonts-mfui\.typography\.font-family\.condensed-input\.narrow);
7180
+ font-size: var(--mfui-font-sizes-mfui\.typography\.font-size\.condensed-input\.narrow);
7181
+ font-weight: var(--mfui-font-weights-mfui\.typography\.font-weight\.condensed-input\.narrow);
7182
+ line-height: var(--mfui-line-heights-mfui\.typography\.line-height\.condensed-input\.narrow);
6919
7183
  }
6920
7184
  .mfui-dAPpSW,.mfui-edTKLG,.mfui-bRozDV {
6921
7185
  display: none;