@hintoric/ui 0.2.0 → 0.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 (123) hide show
  1. package/dist/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  2. package/dist/components/Autocomplete/types.d.ts +7 -0
  3. package/dist/components/Autocomplete/types.d.ts.map +1 -1
  4. package/dist/components/Button/Button.d.ts.map +1 -1
  5. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
  6. package/dist/components/Checkbox/types.d.ts +4 -0
  7. package/dist/components/Checkbox/types.d.ts.map +1 -1
  8. package/dist/components/ColorSchemeMenu/ColorSchemeMenu.d.ts +15 -0
  9. package/dist/components/ColorSchemeMenu/ColorSchemeMenu.d.ts.map +1 -0
  10. package/dist/components/ColorSchemeMenu/index.d.ts +3 -0
  11. package/dist/components/ColorSchemeMenu/index.d.ts.map +1 -0
  12. package/dist/components/ColorSchemeMenu/types.d.ts +11 -0
  13. package/dist/components/ColorSchemeMenu/types.d.ts.map +1 -0
  14. package/dist/components/ColorSchemeMenuItems/ColorSchemeMenuItems.d.ts +13 -0
  15. package/dist/components/ColorSchemeMenuItems/ColorSchemeMenuItems.d.ts.map +1 -0
  16. package/dist/components/ColorSchemeMenuItems/index.d.ts +3 -0
  17. package/dist/components/ColorSchemeMenuItems/index.d.ts.map +1 -0
  18. package/dist/components/ColorSchemeMenuItems/types.d.ts +10 -0
  19. package/dist/components/ColorSchemeMenuItems/types.d.ts.map +1 -0
  20. package/dist/components/ColorSchemeSelect/ColorSchemeSelect.d.ts +11 -0
  21. package/dist/components/ColorSchemeSelect/ColorSchemeSelect.d.ts.map +1 -0
  22. package/dist/components/ColorSchemeSelect/index.d.ts +3 -0
  23. package/dist/components/ColorSchemeSelect/index.d.ts.map +1 -0
  24. package/dist/components/ColorSchemeSelect/types.d.ts +11 -0
  25. package/dist/components/ColorSchemeSelect/types.d.ts.map +1 -0
  26. package/dist/components/ColorSchemeSwitch/ColorSchemeSwitch.d.ts +18 -0
  27. package/dist/components/ColorSchemeSwitch/ColorSchemeSwitch.d.ts.map +1 -0
  28. package/dist/components/ColorSchemeSwitch/index.d.ts +3 -0
  29. package/dist/components/ColorSchemeSwitch/index.d.ts.map +1 -0
  30. package/dist/components/ColorSchemeSwitch/types.d.ts +9 -0
  31. package/dist/components/ColorSchemeSwitch/types.d.ts.map +1 -0
  32. package/dist/components/ColorSchemeToggle/ColorSchemeToggle.d.ts +18 -0
  33. package/dist/components/ColorSchemeToggle/ColorSchemeToggle.d.ts.map +1 -0
  34. package/dist/components/ColorSchemeToggle/index.d.ts +3 -0
  35. package/dist/components/ColorSchemeToggle/index.d.ts.map +1 -0
  36. package/dist/components/ColorSchemeToggle/types.d.ts +8 -0
  37. package/dist/components/ColorSchemeToggle/types.d.ts.map +1 -0
  38. package/dist/components/ColorSchemeToggleGroup/ColorSchemeToggleGroup.d.ts +17 -0
  39. package/dist/components/ColorSchemeToggleGroup/ColorSchemeToggleGroup.d.ts.map +1 -0
  40. package/dist/components/ColorSchemeToggleGroup/index.d.ts +3 -0
  41. package/dist/components/ColorSchemeToggleGroup/index.d.ts.map +1 -0
  42. package/dist/components/ColorSchemeToggleGroup/types.d.ts +13 -0
  43. package/dist/components/ColorSchemeToggleGroup/types.d.ts.map +1 -0
  44. package/dist/components/ConfirmationDialog/ConfirmationDialog.d.ts +4 -0
  45. package/dist/components/ConfirmationDialog/ConfirmationDialog.d.ts.map +1 -0
  46. package/dist/components/ConfirmationDialog/index.d.ts +3 -0
  47. package/dist/components/ConfirmationDialog/index.d.ts.map +1 -0
  48. package/dist/components/ConfirmationDialog/types.d.ts +25 -0
  49. package/dist/components/ConfirmationDialog/types.d.ts.map +1 -0
  50. package/dist/components/Form/Form.d.ts +7 -0
  51. package/dist/components/Form/Form.d.ts.map +1 -0
  52. package/dist/components/Form/index.d.ts +3 -0
  53. package/dist/components/Form/index.d.ts.map +1 -0
  54. package/dist/components/Form/types.d.ts +37 -0
  55. package/dist/components/Form/types.d.ts.map +1 -0
  56. package/dist/components/FormField/FormField.d.ts +11 -0
  57. package/dist/components/FormField/FormField.d.ts.map +1 -0
  58. package/dist/components/FormField/index.d.ts +3 -0
  59. package/dist/components/FormField/index.d.ts.map +1 -0
  60. package/dist/components/FormField/types.d.ts +25 -0
  61. package/dist/components/FormField/types.d.ts.map +1 -0
  62. package/dist/components/FormHelperText/FormHelperText.d.ts.map +1 -1
  63. package/dist/components/FormLabel/FormLabel.d.ts.map +1 -1
  64. package/dist/components/Input/Input.d.ts.map +1 -1
  65. package/dist/components/Input/types.d.ts +9 -0
  66. package/dist/components/Input/types.d.ts.map +1 -1
  67. package/dist/components/LocaleSwitcher/LocaleSwitcher.d.ts +1 -1
  68. package/dist/components/LocaleSwitcher/LocaleSwitcher.d.ts.map +1 -1
  69. package/dist/components/LocaleSwitcher/types.d.ts +10 -15
  70. package/dist/components/LocaleSwitcher/types.d.ts.map +1 -1
  71. package/dist/components/Radio/Radio.d.ts.map +1 -1
  72. package/dist/components/Radio/types.d.ts +4 -0
  73. package/dist/components/Radio/types.d.ts.map +1 -1
  74. package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  75. package/dist/components/RadioGroup/types.d.ts +10 -0
  76. package/dist/components/RadioGroup/types.d.ts.map +1 -1
  77. package/dist/components/Select/Select.d.ts.map +1 -1
  78. package/dist/components/Select/types.d.ts +6 -0
  79. package/dist/components/Select/types.d.ts.map +1 -1
  80. package/dist/components/Slider/Slider.d.ts.map +1 -1
  81. package/dist/components/Slider/types.d.ts +11 -0
  82. package/dist/components/Slider/types.d.ts.map +1 -1
  83. package/dist/components/Switch/Switch.d.ts.map +1 -1
  84. package/dist/components/Switch/types.d.ts +12 -0
  85. package/dist/components/Switch/types.d.ts.map +1 -1
  86. package/dist/components/Textarea/Textarea.d.ts.map +1 -1
  87. package/dist/components/Textarea/types.d.ts +6 -0
  88. package/dist/components/Textarea/types.d.ts.map +1 -1
  89. package/dist/index.d.ts +22 -2
  90. package/dist/index.d.ts.map +1 -1
  91. package/dist/index.js +6574 -5545
  92. package/dist/index.js.map +1 -1
  93. package/dist/internal/colorScheme.d.ts +18 -0
  94. package/dist/internal/colorScheme.d.ts.map +1 -0
  95. package/dist/internal/form/FieldShell.d.ts +25 -0
  96. package/dist/internal/form/FieldShell.d.ts.map +1 -0
  97. package/dist/internal/form/adapters.d.ts +9 -0
  98. package/dist/internal/form/adapters.d.ts.map +1 -0
  99. package/dist/internal/form/index.d.ts +10 -0
  100. package/dist/internal/form/index.d.ts.map +1 -0
  101. package/dist/internal/form/omitProps.d.ts +18 -0
  102. package/dist/internal/form/omitProps.d.ts.map +1 -0
  103. package/dist/internal/form/useBoundField.d.ts +16 -0
  104. package/dist/internal/form/useBoundField.d.ts.map +1 -0
  105. package/dist/internal/form/useFieldIds.d.ts +10 -0
  106. package/dist/internal/form/useFieldIds.d.ts.map +1 -0
  107. package/dist/internal/form/useForkRef.d.ts +11 -0
  108. package/dist/internal/form/useForkRef.d.ts.map +1 -0
  109. package/dist/internal/svg-icons/DarkModeIcon.d.ts +3 -0
  110. package/dist/internal/svg-icons/DarkModeIcon.d.ts.map +1 -0
  111. package/dist/internal/svg-icons/LightModeIcon.d.ts +3 -0
  112. package/dist/internal/svg-icons/LightModeIcon.d.ts.map +1 -0
  113. package/dist/internal/svg-icons/SettingsBrightnessIcon.d.ts +3 -0
  114. package/dist/internal/svg-icons/SettingsBrightnessIcon.d.ts.map +1 -0
  115. package/dist/style.css +1 -1
  116. package/dist/theme/ColorSchemeProvider.d.ts +11 -2
  117. package/dist/theme/ColorSchemeProvider.d.ts.map +1 -1
  118. package/dist/theme/DateTimeProvider.d.ts.map +1 -1
  119. package/dist/theme/LocaleProvider.d.ts +38 -0
  120. package/dist/theme/LocaleProvider.d.ts.map +1 -0
  121. package/dist/utils/colorVariantClasses.d.ts +13 -0
  122. package/dist/utils/colorVariantClasses.d.ts.map +1 -1
  123. package/package.json +8 -3
@@ -1 +1 @@
1
- {"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../src/components/Autocomplete/Autocomplete.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AA2EjD,KAAK,yBAAyB,GAAG,CAAC,CAAC,KAAK,GAAG,MAAM,EAC/C,KAAK,EAAE,iBAAiB,CAAC,KAAK,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;CAAE,KACpE,KAAK,CAAC,YAAY,CAAC,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEpD,eAAO,MAAM,YAAY,EAAyD,yBAAyB,CAAC"}
1
+ {"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../src/components/Autocomplete/Autocomplete.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAkFjD,KAAK,yBAAyB,GAAG,CAAC,CAAC,KAAK,GAAG,MAAM,EAC/C,KAAK,EAAE,iBAAiB,CAAC,KAAK,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;CAAE,KACpE,KAAK,CAAC,YAAY,CAAC,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AA4EpD,eAAO,MAAM,YAAY,EAET,yBAAyB,CAAC"}
@@ -21,6 +21,13 @@ export interface AutocompleteProps<Value = string> extends Omit<React.ComponentP
21
21
  /** The raw text in the input. Use when controlled. */
22
22
  inputValue?: string;
23
23
  onInputChange?: (value: string) => void;
24
+ /** Renders a FormLabel above the field. Omit it and no wrapper is added. */
25
+ label?: React.ReactNode;
26
+ /** Renders a FormHelperText below the field. A field error replaces it while one is pending. */
27
+ helperText?: React.ReactNode;
28
+ /** Forces the error look. OR-ed with the bound field's own error state. */
29
+ error?: boolean;
30
+ name?: string;
24
31
  /** Hides the built-in clear ("x") button. @default false */
25
32
  disableClearable?: boolean;
26
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Autocomplete/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE5E,MAAM,WAAW,iBAAiB,CAAC,KAAK,GAAG,MAAM,CAC/C,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,MAAM,CAAC;IAC/G,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,8FAA8F;IAC9F,OAAO,EAAE,SAAS,KAAK,EAAE,CAAC;IAC1B;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,MAAM,CAAC;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC5B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;IACzC,sDAAsD;IACtD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,4DAA4D;IAC5D,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Autocomplete/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE5E,MAAM,WAAW,iBAAiB,CAAC,KAAK,GAAG,MAAM,CAC/C,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,MAAM,CAAC;IAC/G,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,8FAA8F;IAC9F,OAAO,EAAE,SAAS,KAAK,EAAE,CAAC;IAC1B;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,MAAM,CAAC;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC5B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;IACzC,sDAAsD;IACtD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,4EAA4E;IAC5E,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,gGAAgG;IAChG,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,2EAA2E;IAC3E,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,4DAA4D;IAC5D,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,eAAO,MAAM,MAAM,uFAuCjB,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,eAAO,MAAM,MAAM,uFA8CjB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAO7C,eAAO,MAAM,QAAQ,mFA2DnB,CAAC"}
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiB/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AA+H7C,eAAO,MAAM,QAAQ,mFAMnB,CAAC"}
@@ -16,6 +16,10 @@ export interface CheckboxProps extends Omit<React.ComponentPropsWithoutRef<'span
16
16
  required?: boolean;
17
17
  disableIcon?: boolean;
18
18
  label?: React.ReactNode;
19
+ /** Renders a FormHelperText below the field. A field error replaces it while one is pending. */
20
+ helperText?: React.ReactNode;
21
+ /** Forces the error look. OR-ed with the bound field's own error state. */
22
+ error?: boolean;
19
23
  onCheckedChange?: (checked: boolean) => void;
20
24
  }
21
25
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE5E,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,UAAU,GAAG,gBAAgB,GAAG,SAAS,GAAG,OAAO,CAAC;IACzG,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uFAAuF;IACvF,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,wFAAwF;IACxF,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC9C"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE5E,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,UAAU,GAAG,gBAAgB,GAAG,SAAS,GAAG,OAAO,CAAC;IACzG,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uFAAuF;IACvF,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,wFAAwF;IACxF,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,gGAAgG;IAChG,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,2EAA2E;IAC3E,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC9C"}
@@ -0,0 +1,15 @@
1
+ import { ColorSchemeMenuProps } from './types';
2
+ import * as React from 'react';
3
+ /**
4
+ * The recommended form for anything that does not have to be extremely
5
+ * compact: a trigger showing the current mode, and three named entries behind
6
+ * it. Named and directly reachable, where `ColorSchemeToggle` makes the user
7
+ * click through unlabelled stops to find what they want.
8
+ *
9
+ * Built from Dropdown/MenuButton/Menu, exactly like LocaleSwitcher — and the
10
+ * trigger carries the icon *and* the label, because a discoverable form that
11
+ * hides its current state behind a glyph gives up the thing it exists for.
12
+ * For an icon-only control, use `ColorSchemeToggle`.
13
+ */
14
+ export declare function ColorSchemeMenu({ variant, color, size, labels, ...buttonProps }: ColorSchemeMenuProps): React.JSX.Element;
15
+ //# sourceMappingURL=ColorSchemeMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorSchemeMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeMenu/ColorSchemeMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAC,EAC9B,OAAoB,EACpB,KAAiB,EACjB,IAAW,EACX,MAAM,EACN,GAAG,WAAW,EACf,EAAE,oBAAoB,qBAiBtB"}
@@ -0,0 +1,3 @@
1
+ export { ColorSchemeMenu } from './ColorSchemeMenu';
2
+ export type { ColorSchemeMenuProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { JoyColor, JoyVariant } from '../../utils/colorVariantClasses';
2
+ import { ColorSchemeLabels } from '../../internal/colorScheme';
3
+ import type * as React from 'react';
4
+ export interface ColorSchemeMenuProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'color'> {
5
+ variant?: JoyVariant;
6
+ color?: JoyColor;
7
+ size?: 'sm' | 'md' | 'lg';
8
+ /** Partially overrides the English defaults `System` / `Light` / `Dark`. */
9
+ labels?: ColorSchemeLabels;
10
+ }
11
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeMenu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnG,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,4EAA4E;IAC5E,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B"}
@@ -0,0 +1,13 @@
1
+ import { ColorSchemeMenuItemsProps } from './types';
2
+ /**
3
+ * The three entries without a trigger or a popup, for applications that
4
+ * already have a user menu or a drawer and do not want a second button beside
5
+ * it. The enclosing `Menu` belongs to the caller.
6
+ *
7
+ * A fragment is safe here, and that is checked rather than assumed: `Menu`
8
+ * hands `children` straight to `BaseMenu.Popup` without `React.Children.map`
9
+ * or `cloneElement`. A host that clones its children — `ToggleButtonGroup`
10
+ * does — would apply those clones to the fragment instead of the entries.
11
+ */
12
+ export declare function ColorSchemeMenuItems({ labels, color, icons, }: ColorSchemeMenuItemsProps): import("react").JSX.Element;
13
+ //# sourceMappingURL=ColorSchemeMenuItems.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorSchemeMenuItems.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeMenuItems/ColorSchemeMenuItems.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAEzD;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,MAAM,EACN,KAAiB,EACjB,KAAY,GACb,EAAE,yBAAyB,+BAwB3B"}
@@ -0,0 +1,3 @@
1
+ export { ColorSchemeMenuItems } from './ColorSchemeMenuItems';
2
+ export type { ColorSchemeMenuItemsProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeMenuItems/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { JoyColor } from '../../utils/colorVariantClasses';
2
+ import { ColorSchemeLabels } from '../../internal/colorScheme';
3
+ export interface ColorSchemeMenuItemsProps {
4
+ /** Partially overrides the English defaults `System` / `Light` / `Dark`. */
5
+ labels?: ColorSchemeLabels;
6
+ color?: JoyColor;
7
+ /** Hides the per-entry icon, leaving text only. */
8
+ icons?: boolean;
9
+ }
10
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeMenuItems/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,MAAM,WAAW,yBAAyB;IACxC,4EAA4E;IAC5E,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,mDAAmD;IACnD,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB"}
@@ -0,0 +1,11 @@
1
+ import { ColorSchemeSelectProps } from './types';
2
+ /**
3
+ * The form-control form, for a settings page that already has select fields
4
+ * beside it and where a segmented control would look out of place.
5
+ *
6
+ * No icons in the options: Select renders its chosen option's content into the
7
+ * trigger, and a glyph there duplicates what the label already says. The
8
+ * three-state forms that do show icons are the ones without a value display.
9
+ */
10
+ export declare function ColorSchemeSelect({ variant, color, size, labels, ...props }: ColorSchemeSelectProps): import("react").JSX.Element;
11
+ //# sourceMappingURL=ColorSchemeSelect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorSchemeSelect.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeSelect/ColorSchemeSelect.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,OAAoB,EACpB,KAAiB,EACjB,IAAW,EACX,MAAM,EACN,GAAG,KAAK,EACT,EAAE,sBAAsB,+BAwBxB"}
@@ -0,0 +1,3 @@
1
+ export { ColorSchemeSelect } from './ColorSchemeSelect';
2
+ export type { ColorSchemeSelectProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeSelect/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { JoyColor, JoyVariant } from '../../utils/colorVariantClasses';
2
+ import { ColorSchemeLabels } from '../../internal/colorScheme';
3
+ import type * as React from 'react';
4
+ export interface ColorSchemeSelectProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'color' | 'value' | 'defaultValue' | 'onChange' | 'children'> {
5
+ variant?: JoyVariant;
6
+ color?: JoyColor;
7
+ size?: 'sm' | 'md' | 'lg';
8
+ /** Partially overrides the English defaults `System` / `Light` / `Dark`. */
9
+ labels?: ColorSchemeLabels;
10
+ }
11
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeSelect/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,MAAM,WAAW,sBACf,SAAQ,IAAI,CACV,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EACxC,OAAO,GAAG,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,UAAU,CAC7D;IACD,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,4EAA4E;IAC5E,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B"}
@@ -0,0 +1,18 @@
1
+ import { ColorSchemeSwitchProps } from './types';
2
+ /**
3
+ * The two-position form, for a settings row reading "Dark mode: [off]".
4
+ *
5
+ * It cannot represent `system`, and that is the shape rather than a gap: a
6
+ * switch has two positions. The behaviour at the third state is decided rather
7
+ * than accidental —
8
+ *
9
+ * - `checked` mirrors `resolvedMode`, so in `system` the switch shows what is
10
+ * actually on screen.
11
+ * - Toggling writes a fixed mode and leaves `system` for good. The user made a
12
+ * decision; honouring it and then quietly continuing to follow the OS would
13
+ * be the more surprising behaviour.
14
+ * - There is no hidden way back (no long press, no double click). Callers who
15
+ * need `system` reachable use one of the three-state forms.
16
+ */
17
+ export declare function ColorSchemeSwitch({ color, size, icons, ...props }: ColorSchemeSwitchProps): import("react").JSX.Element;
18
+ //# sourceMappingURL=ColorSchemeSwitch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorSchemeSwitch.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeSwitch/ColorSchemeSwitch.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAYtD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,IAAW,EACX,KAAY,EACZ,GAAG,KAAK,EACT,EAAE,sBAAsB,+BAgBxB"}
@@ -0,0 +1,3 @@
1
+ export { ColorSchemeSwitch } from './ColorSchemeSwitch';
2
+ export type { ColorSchemeSwitchProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeSwitch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { JoyColor } from '../../utils/colorVariantClasses';
2
+ import type * as React from 'react';
3
+ export interface ColorSchemeSwitchProps extends Omit<React.ComponentPropsWithoutRef<'span'>, 'color' | 'onChange'> {
4
+ color?: JoyColor;
5
+ size?: 'sm' | 'md' | 'lg';
6
+ /** Hides the sun and moon decorators either side of the track. */
7
+ icons?: boolean;
8
+ }
9
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeSwitch/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAEhE,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAC1E,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,kEAAkE;IAClE,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB"}
@@ -0,0 +1,18 @@
1
+ import { ColorSchemeToggleProps } from './types';
2
+ import * as React from 'react';
3
+ /**
4
+ * The most compact of the six forms: one square button that cycles
5
+ * `system → light → dark`. The icon shows the **chosen** mode, not the
6
+ * resolved one — a sun while following a light OS would be indistinguishable
7
+ * from a sun while pinned to light.
8
+ *
9
+ * The cost is discoverability: three unlabelled stops have to be clicked
10
+ * through to be found. Where that matters, use `ColorSchemeMenu`, whose stops
11
+ * are named.
12
+ *
13
+ * Defaults to `outlined`/`md` rather than IconButton's own `plain`: a control
14
+ * that renders as a bare glyph does not read as a control — the same
15
+ * correction LocaleSwitcher made after shipping `plain`.
16
+ */
17
+ export declare const ColorSchemeToggle: React.ForwardRefExoticComponent<ColorSchemeToggleProps & React.RefAttributes<HTMLButtonElement>>;
18
+ //# sourceMappingURL=ColorSchemeToggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorSchemeToggle.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeToggle/ColorSchemeToggle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iBAAiB,kGA4B7B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { ColorSchemeToggle } from './ColorSchemeToggle';
2
+ export type { ColorSchemeToggleProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeToggle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { JoyColor, JoyVariant } from '../../utils/colorVariantClasses';
2
+ import type * as React from 'react';
3
+ export interface ColorSchemeToggleProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'color'> {
4
+ variant?: JoyVariant;
5
+ color?: JoyColor;
6
+ size?: 'sm' | 'md' | 'lg';
7
+ }
8
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeToggle/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE5E,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACrG,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B"}
@@ -0,0 +1,17 @@
1
+ import { ColorSchemeToggleGroupProps } from './types';
2
+ /**
3
+ * All three states side by side, each one click away — the form for a settings
4
+ * page rather than a header corner.
5
+ *
6
+ * `ToggleButtonGroup` deliberately implements only Joy's multi-select array
7
+ * mode (see its own scope note), so this adapts it to single selection: the
8
+ * value is a one-element array, and the handler takes the newly-added entry
9
+ * out of what comes back. Clicking the active segment hands back an empty
10
+ * array, which is ignored — "no colour scheme" is not a state a user can be in.
11
+ *
12
+ * Adding a real exclusive mode to `ToggleButtonGroup` would be the tidier fix
13
+ * and is deliberately out of scope: that component's look is compared against
14
+ * Joy, and changing it belongs in its own piece of work.
15
+ */
16
+ export declare function ColorSchemeToggleGroup({ variant, color, size, labels, icons, ...props }: ColorSchemeToggleGroupProps): import("react").JSX.Element;
17
+ //# sourceMappingURL=ColorSchemeToggleGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorSchemeToggleGroup.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeToggleGroup/ColorSchemeToggleGroup.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAE3D;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,OAAoB,EACpB,KAAiB,EACjB,IAAW,EACX,MAAM,EACN,KAAY,EACZ,GAAG,KAAK,EACT,EAAE,2BAA2B,+BAmC7B"}
@@ -0,0 +1,3 @@
1
+ export { ColorSchemeToggleGroup } from './ColorSchemeToggleGroup';
2
+ export type { ColorSchemeToggleGroupProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeToggleGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,YAAY,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { JoyColor, JoyVariant } from '../../utils/colorVariantClasses';
2
+ import { ColorSchemeLabels } from '../../internal/colorScheme';
3
+ import type * as React from 'react';
4
+ export interface ColorSchemeToggleGroupProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'color' | 'onChange' | 'value' | 'defaultValue'> {
5
+ variant?: JoyVariant;
6
+ color?: JoyColor;
7
+ size?: 'sm' | 'md' | 'lg';
8
+ /** Partially overrides the English defaults `System` / `Light` / `Dark`. */
9
+ labels?: ColorSchemeLabels;
10
+ /** Hides the per-segment icon, leaving text only. */
11
+ icons?: boolean;
12
+ }
13
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchemeToggleGroup/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,MAAM,WAAW,2BACf,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,cAAc,CAAC;IACpG,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,4EAA4E;IAC5E,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,qDAAqD;IACrD,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB"}
@@ -0,0 +1,4 @@
1
+ import { ConfirmationDialogProps } from './types';
2
+ import * as React from 'react';
3
+ export declare function ConfirmationDialog({ open, onClose, ...body }: ConfirmationDialogProps): React.JSX.Element;
4
+ //# sourceMappingURL=ConfirmationDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmationDialog.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmationDialog/ConfirmationDialog.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAgBvD,wBAAgB,kBAAkB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,uBAAuB,qBAqBrF"}
@@ -0,0 +1,3 @@
1
+ export { ConfirmationDialog } from './ConfirmationDialog';
2
+ export type { ConfirmationDialogProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmationDialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { JoyColor } from '../../utils/colorVariantClasses';
2
+ import type * as React from 'react';
3
+ export interface ConfirmationDialogProps {
4
+ open: boolean;
5
+ /** Called by the block itself too, as soon as `onConfirm` has succeeded. */
6
+ onClose: () => void;
7
+ onConfirm: () => void | Promise<void>;
8
+ /** What the user has to type — usually the name of the thing being deleted. */
9
+ confirmationText: string;
10
+ title: React.ReactNode;
11
+ description?: React.ReactNode;
12
+ /**
13
+ * The sentence above the field. Receives `confirmationText`, so what is shown
14
+ * and what is compared cannot drift apart.
15
+ */
16
+ prompt: (confirmationText: string) => React.ReactNode;
17
+ /** Turns a rejection from `onConfirm` into text for the error alert. */
18
+ errorMessage: (error: unknown) => React.ReactNode;
19
+ confirmLabel: React.ReactNode;
20
+ cancelLabel: React.ReactNode;
21
+ /** Reaches the confirm button and the error alert — never the surface or the field. */
22
+ color?: JoyColor;
23
+ size?: 'sm' | 'md' | 'lg';
24
+ }
25
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmationDialog/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAEhE,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,OAAO,CAAC;IACd,4EAA4E;IAC5E,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEtC,+EAA+E;IAC/E,gBAAgB,EAAE,MAAM,CAAC;IAEzB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B;;;OAGG;IACH,MAAM,EAAE,CAAC,gBAAgB,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IACtD,wEAAwE;IACxE,YAAY,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IAClD,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC;IAE7B,uFAAuF;IACvF,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B"}
@@ -0,0 +1,7 @@
1
+ import { FieldValues } from 'react-hook-form';
2
+ import { FormProps } from './types';
3
+ import * as React from 'react';
4
+ export declare const Form: <T extends FieldValues>(props: FormProps<T> & {
5
+ ref?: React.Ref<HTMLFormElement>;
6
+ }) => React.ReactElement;
7
+ //# sourceMappingURL=Form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../src/components/Form/Form.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAA2B,MAAM,iBAAiB,CAAC;AAE5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AA+CzC,eAAO,MAAM,IAAI,EAAsC,CAAC,CAAC,SAAS,WAAW,EAC3E,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;CAAE,KACvD,KAAK,CAAC,YAAY,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Form } from './Form';
2
+ export type { FormProps, OwnedFormProps, ProvidedFormProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,37 @@
1
+ import { DefaultValues, FieldErrors, FieldValues, UseFormProps, UseFormReturn } from 'react-hook-form';
2
+ import { ZodType } from 'zod';
3
+ import type * as React from 'react';
4
+ interface FormBaseProps<T extends FieldValues> extends Omit<React.ComponentPropsWithoutRef<'form'>, 'onSubmit' | 'onInvalid' | 'children'> {
5
+ /** Receives the validated values, not the submit event. */
6
+ onSubmit: (values: T, form: UseFormReturn<T>) => void | Promise<void>;
7
+ /** Called instead of `onSubmit` when validation rejects the submission. */
8
+ onInvalid?: (errors: FieldErrors<T>) => void;
9
+ /**
10
+ * A function child receives the form instance — the way to reach
11
+ * `formState.isSubmitting` when <Form> owns the instance itself.
12
+ */
13
+ children: React.ReactNode | ((form: UseFormReturn<T>) => React.ReactNode);
14
+ }
15
+ /** <Form> owns the instance: pass a schema and defaults. */
16
+ export interface OwnedFormProps<T extends FieldValues> extends FormBaseProps<T> {
17
+ schema?: ZodType<T, T>;
18
+ defaultValues?: DefaultValues<T>;
19
+ mode?: UseFormProps<T>['mode'];
20
+ form?: never;
21
+ }
22
+ /**
23
+ * The consumer owns the instance. `schema` is deliberately unavailable here so
24
+ * that there is never a second source for the resolver: given both, the
25
+ * library would have to pick a winner and either answer surprises half its
26
+ * callers. (It is not that attaching one is impossible — see the spec's
27
+ * addendum on `control._options` — it is that the question should not arise.)
28
+ */
29
+ export interface ProvidedFormProps<T extends FieldValues> extends FormBaseProps<T> {
30
+ form: UseFormReturn<T>;
31
+ schema?: never;
32
+ defaultValues?: never;
33
+ mode?: never;
34
+ }
35
+ export type FormProps<T extends FieldValues> = OwnedFormProps<T> | ProvidedFormProps<T>;
36
+ export {};
37
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Form/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EACV,aAAa,EACb,WAAW,EACX,WAAW,EACX,YAAY,EACZ,aAAa,EACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAEnC,UAAU,aAAa,CAAC,CAAC,SAAS,WAAW,CAO3C,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,UAAU,GAAG,WAAW,GAAG,UAAU,CAAC;IAC3F,2DAA2D;IAC3D,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACtE,2EAA2E;IAC3E,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAC7C;;;OAGG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;CAC3E;AAED,4DAA4D;AAC5D,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,WAAW,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAC;IAI7E,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACvB,aAAa,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;IAC/B,IAAI,CAAC,EAAE,KAAK,CAAC;CACd;AAED;;;;;;GAMG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,WAAW,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAC;IAChF,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IACvB,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,IAAI,CAAC,EAAE,KAAK,CAAC;CACd;AAED,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,WAAW,IAAI,cAAc,CAAC,CAAC,CAAC,GAAG,iBAAiB,CAAC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { FieldPath, FieldValues } from 'react-hook-form';
2
+ import { FormFieldProps } from './types';
3
+ import * as React from 'react';
4
+ /**
5
+ * The render-prop route for controls the nine bound fields do not cover — a
6
+ * custom picker, a DataGrid cell, a third-party widget. It brings the same
7
+ * FormControl/FormLabel/FormHelperText shell those fields use, so a custom
8
+ * control sits in a form looking like everything around it.
9
+ */
10
+ export declare function FormField<T extends FieldValues, N extends FieldPath<T>>({ name, label, helperText, error, required, disabled, id: idProp, children, }: FormFieldProps<T, N>): React.ReactElement;
11
+ //# sourceMappingURL=FormField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormField.d.ts","sourceRoot":"","sources":["../../../src/components/FormField/FormField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,EAAE,EACvE,IAAI,EACJ,KAAK,EACL,UAAU,EACV,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,EAAE,EAAE,MAAM,EACV,QAAQ,GACT,EAAE,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAoB3C"}
@@ -0,0 +1,3 @@
1
+ export { FormField } from './FormField';
2
+ export type { FormFieldProps, FormFieldRenderArgs } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FormField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { ControllerRenderProps, ControllerFieldState, FieldPath, FieldValues } from 'react-hook-form';
2
+ import type * as React from 'react';
3
+ export interface FormFieldRenderArgs<T extends FieldValues, N extends FieldPath<T>> {
4
+ field: ControllerRenderProps<T, N>;
5
+ fieldState: ControllerFieldState;
6
+ /** Put this on the control so the rendered FormLabel actually labels it. */
7
+ id: string;
8
+ /**
9
+ * Put this on the control so a screen reader reads the helper text or the
10
+ * validation message with it. Undefined when there is nothing to describe.
11
+ */
12
+ describedBy?: string;
13
+ }
14
+ export interface FormFieldProps<T extends FieldValues, N extends FieldPath<T>> {
15
+ name: N;
16
+ label?: React.ReactNode;
17
+ helperText?: React.ReactNode;
18
+ /** Forces the error look. OR-ed with the field's own error state. */
19
+ error?: boolean;
20
+ required?: boolean;
21
+ disabled?: boolean;
22
+ id?: string;
23
+ children: (args: FormFieldRenderArgs<T, N>) => React.ReactNode;
24
+ }
25
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/FormField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EACpB,SAAS,EACT,WAAW,EACZ,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC;IAChF,KAAK,EAAE,qBAAqB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACnC,UAAU,EAAE,oBAAoB,CAAC;IACjC,4EAA4E;IAC5E,EAAE,EAAE,MAAM,CAAC;IACX;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC;IAC3E,IAAI,EAAE,CAAC,CAAC;IACR,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,qEAAqE;IACrE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,CAAC,IAAI,EAAE,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;CAChE"}
@@ -1 +1 @@
1
- {"version":3,"file":"FormHelperText.d.ts","sourceRoot":"","sources":["../../../src/components/FormHelperText/FormHelperText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,cAAc,mKAWzB,CAAC"}
1
+ {"version":3,"file":"FormHelperText.d.ts","sourceRoot":"","sources":["../../../src/components/FormHelperText/FormHelperText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,eAAO,MAAM,cAAc,mKAkB1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FormLabel.d.ts","sourceRoot":"","sources":["../../../src/components/FormLabel/FormLabel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,eAAO,MAAM,SAAS,yFAgBpB,CAAC"}
1
+ {"version":3,"file":"FormLabel.d.ts","sourceRoot":"","sources":["../../../src/components/FormLabel/FormLabel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,eAAO,MAAM,SAAS,yFAyBpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,eAAO,MAAM,KAAK,qFA2ChB,CAAC"}
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AA+F1C,eAAO,MAAM,KAAK,qFAMhB,CAAC"}
@@ -7,5 +7,14 @@ export interface InputProps extends Omit<React.ComponentPropsWithoutRef<'input'>
7
7
  startDecorator?: React.ReactNode;
8
8
  endDecorator?: React.ReactNode;
9
9
  onChange?: React.ChangeEventHandler<HTMLInputElement>;
10
+ /** Renders a FormLabel above the field. Omit it and no wrapper is added. */
11
+ label?: React.ReactNode;
12
+ /** Renders a FormHelperText below the field. A field error replaces it while one is pending. */
13
+ helperText?: React.ReactNode;
14
+ /**
15
+ * Forces the error look. OR-ed with the bound field's own error state, so a
16
+ * server-side error can be shown for a field the schema considers valid.
17
+ */
18
+ error?: boolean;
10
19
  }
11
20
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Input/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE5E,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,UAAU,CAAC;IACpF,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;CACvD"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Input/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE5E,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,UAAU,CAAC;IACpF,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;IACtD,4EAA4E;IAC5E,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,gGAAgG;IAChG,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB"}
@@ -10,5 +10,5 @@ import * as React from 'react';
10
10
  * a form control with a placeholder and form width, and this belongs in a
11
11
  * header corner.
12
12
  */
13
- export declare function LocaleSwitcher({ locales, value, onChange, variant, color, size, flags, ...buttonProps }: LocaleSwitcherProps): React.JSX.Element;
13
+ export declare function LocaleSwitcher({ locales: localesProp, value: valueProp, onChange: onChangeProp, variant, color, size, flags, ...buttonProps }: LocaleSwitcherProps): React.JSX.Element;
14
14
  //# sourceMappingURL=LocaleSwitcher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LocaleSwitcher.d.ts","sourceRoot":"","sources":["../../../src/components/LocaleSwitcher/LocaleSwitcher.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAgB,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAmCjE;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,KAAK,EACL,QAAQ,EACR,OAAoB,EACpB,KAAiB,EACjB,IAAW,EACX,KAAY,EACZ,GAAG,WAAW,EACf,EAAE,mBAAmB,qBA4BrB"}
1
+ {"version":3,"file":"LocaleSwitcher.d.ts","sourceRoot":"","sources":["../../../src/components/LocaleSwitcher/LocaleSwitcher.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,KAAK,EAAgB,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAmCjE;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,YAAY,EACtB,OAAoB,EACpB,KAAiB,EACjB,IAAW,EACX,KAAY,EACZ,GAAG,WAAW,EACf,EAAE,mBAAmB,qBAwDrB"}