reshaped 3.7.0-canary.12 → 3.7.0-canary.13
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/CHANGELOG.md +2 -1
- package/dist/bundle.d.ts +1 -2
- package/dist/bundle.js +8 -8
- package/dist/cjs/themes/_generator/tokens/css.js +2 -2
- package/dist/cjs/themes/figma/theme.css +1 -1
- package/dist/cjs/themes/fragments/twitter/theme.css +1 -1
- package/dist/cjs/themes/reshaped/theme.css +1 -1
- package/dist/cjs/themes/slate/theme.css +1 -1
- package/dist/components/Theme/Theme.js +7 -2
- package/dist/components/Theme/Theme.types.d.ts +12 -13
- package/dist/components/Theme/index.d.ts +1 -1
- package/dist/components/Theme/tests/Theme.test.stories.d.ts +1 -0
- package/dist/components/Theme/tests/Theme.test.stories.js +36 -1
- package/dist/components/Theme/useTheme.d.ts +6 -6
- package/dist/index.d.ts +1 -2
- package/dist/themes/_generator/tokens/css.js +2 -2
- package/dist/themes/figma/theme.css +1 -1
- package/dist/themes/fragments/twitter/theme.css +1 -1
- package/dist/themes/reshaped/theme.css +1 -1
- package/dist/themes/slate/theme.css +1 -1
- package/dist/types/global.d.ts +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -20,4 +20,5 @@
|
|
20
20
|
- Flyout: Make nested flyouts blocking to make sure they are closed one by one
|
21
21
|
- Flyout, Popover: autoFocus=false prop support (aligned with modals)
|
22
22
|
- Button: Fixed Buttons in groups wrapped with popover from losing border radius
|
23
|
-
- Button: Updated :active styles
|
23
|
+
- Button: Updated :active styles
|
24
|
+
- Theme: Supports passing multiple theme fragments to the same provider
|
package/dist/bundle.d.ts
CHANGED
@@ -131,7 +131,6 @@ export type { ViewProps, ViewItemProps } from "./components/View";
|
|
131
131
|
*/
|
132
132
|
export { useFormControl } from "./components/FormControl";
|
133
133
|
export { default as Theme, useTheme, type ThemeProps } from "./components/Theme";
|
134
|
-
export type { ColorMode } from "./components/Theme";
|
135
134
|
export { default as useHandlerRef } from "./hooks/useHandlerRef";
|
136
135
|
export { default as useHotkeys } from "./hooks/useHotkeys";
|
137
136
|
export { default as useIsomorphicLayoutEffect } from "./hooks/useIsomorphicLayoutEffect";
|
@@ -150,7 +149,7 @@ export { TrapFocus } from "./utilities/a11y";
|
|
150
149
|
* Types
|
151
150
|
*/
|
152
151
|
export type { ReshapedConfig } from "./types/config";
|
153
|
-
export type { Responsive, Attributes } from "./types/global";
|
152
|
+
export type { Responsive, Attributes, ColorMode } from "./types/global";
|
154
153
|
/**
|
155
154
|
* Dev utilities
|
156
155
|
*/
|