@blockle/blocks 0.8.10 → 0.9.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 (42) hide show
  1. package/dist/index.cjs +4 -2
  2. package/dist/index.d.mts +1 -1
  3. package/dist/index.d.ts +1 -1
  4. package/dist/index.mjs +4 -2
  5. package/dist/momotaro.chunk.d.ts +328 -302
  6. package/dist/styles/components/display/Divider/divider.css.cjs +1 -1
  7. package/dist/styles/components/display/Divider/divider.css.mjs +1 -1
  8. package/dist/styles/components/form/Checkbox/Checkbox.cjs +17 -1
  9. package/dist/styles/components/form/Checkbox/Checkbox.mjs +17 -1
  10. package/dist/styles/components/form/Select/Select.cjs +40 -0
  11. package/dist/styles/components/form/Select/Select.mjs +41 -0
  12. package/dist/styles/components/form/Select/select.css.cjs +37 -0
  13. package/dist/styles/components/form/Select/select.css.mjs +38 -0
  14. package/dist/styles/components/form/Switch/switch.css.cjs +2 -2
  15. package/dist/styles/components/form/Switch/switch.css.mjs +2 -2
  16. package/dist/styles/components/overlay/Dialog/dialog.css.cjs +4 -4
  17. package/dist/styles/components/overlay/Dialog/dialog.css.mjs +4 -4
  18. package/dist/styles/lib/css/atoms/atomicProperties.cjs +28 -22
  19. package/dist/styles/lib/css/atoms/atomicProperties.mjs +28 -22
  20. package/dist/styles/lib/css/atoms/sprinkles.css.cjs +4 -7
  21. package/dist/styles/lib/css/atoms/sprinkles.css.mjs +4 -7
  22. package/dist/styles/themes/momotaro/components/button.css.cjs +3 -3
  23. package/dist/styles/themes/momotaro/components/button.css.mjs +3 -3
  24. package/dist/styles/themes/momotaro/components/checkbox.css.cjs +18 -12
  25. package/dist/styles/themes/momotaro/components/checkbox.css.mjs +18 -12
  26. package/dist/styles/themes/momotaro/components/dialog.css.cjs +7 -7
  27. package/dist/styles/themes/momotaro/components/dialog.css.mjs +7 -7
  28. package/dist/styles/themes/momotaro/components/helpers.css.cjs +7 -6
  29. package/dist/styles/themes/momotaro/components/helpers.css.mjs +7 -6
  30. package/dist/styles/themes/momotaro/components/index.cjs +3 -1
  31. package/dist/styles/themes/momotaro/components/index.mjs +3 -1
  32. package/dist/styles/themes/momotaro/components/input.css.cjs +6 -4
  33. package/dist/styles/themes/momotaro/components/input.css.mjs +6 -4
  34. package/dist/styles/themes/momotaro/components/progress.css.cjs +1 -1
  35. package/dist/styles/themes/momotaro/components/progress.css.mjs +1 -1
  36. package/dist/styles/themes/momotaro/components/radio.css.cjs +12 -5
  37. package/dist/styles/themes/momotaro/components/radio.css.mjs +12 -5
  38. package/dist/styles/themes/momotaro/components/select.css.cjs +35 -0
  39. package/dist/styles/themes/momotaro/components/select.css.mjs +36 -0
  40. package/dist/styles/themes/momotaro/components/switch.css.cjs +1 -1
  41. package/dist/styles/themes/momotaro/components/switch.css.mjs +1 -1
  42. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -13,6 +13,7 @@ const styles_components_form_Button_Button_cjs = require("./styles/components/fo
13
13
  const styles_components_form_Checkbox_Checkbox_cjs = require("./styles/components/form/Checkbox/Checkbox.cjs");
14
14
  const styles_components_form_Input_Input_cjs = require("./styles/components/form/Input/Input.cjs");
15
15
  const styles_components_form_Radio_Radio_cjs = require("./styles/components/form/Radio/Radio.cjs");
16
+ const styles_components_form_Select_Select_cjs = require("./styles/components/form/Select/Select.cjs");
16
17
  const styles_components_form_Switch_Switch_cjs = require("./styles/components/form/Switch/Switch.cjs");
17
18
  const styles_components_other_BlocksProvider_BlocksProvider_cjs = require("./styles/components/other/BlocksProvider/BlocksProvider.cjs");
18
19
  const styles_components_overlay_Dialog_Dialog_cjs = require("./styles/components/overlay/Dialog/Dialog.cjs");
@@ -48,8 +49,8 @@ const Progress = react.forwardRef(function Progress2({ value, max = 100, classNa
48
49
  {
49
50
  className: styles_components_display_Divider_Divider_cjs.classnames(barClassName),
50
51
  backgroundColor: "currentColor",
51
- width: "full",
52
- height: "full",
52
+ inlineSize: "full",
53
+ blockSize: "full",
53
54
  style: { transform: value === void 0 ? void 0 : `translateX(-${100 - progress}%)` }
54
55
  }
55
56
  )
@@ -153,6 +154,7 @@ exports.Checkbox = styles_components_form_Checkbox_Checkbox_cjs.Checkbox;
153
154
  exports.Label = styles_components_form_Checkbox_Checkbox_cjs.Label;
154
155
  exports.Input = styles_components_form_Input_Input_cjs.Input;
155
156
  exports.Radio = styles_components_form_Radio_Radio_cjs.Radio;
157
+ exports.Select = styles_components_form_Select_Select_cjs.Select;
156
158
  exports.Switch = styles_components_form_Switch_Switch_cjs.Switch;
157
159
  exports.BlocksProvider = styles_components_other_BlocksProvider_BlocksProvider_cjs.BlocksProvider;
158
160
  exports.Dialog = styles_components_overlay_Dialog_Dialog_cjs.Dialog;
package/dist/index.d.mts CHANGED
@@ -1 +1 @@
1
- export { BlocksProvider, BlocksProviderProps, Box, BoxProps, Button, ButtonProps, Checkbox, CheckboxProps, Dialog, DialogProps, Divider, DividerProps, Heading, HeadingProps, Inline, InlineProps, Input, InputProps, Label, LabelProps, Link, LinkProps, Portal, PortalProps, Progress, ProgressProps, Radio, RadioProps, Slot, Spinner, SpinnerProps, Stack, StackProps, Switch, SwitchProps, Text, TextProps, ThemeComponentsStyles, ThemeTokens, atoms, breakpointQuery, classnames, createSlottable, makeComponentTheme, makeTheme, style, useComponentStyleDefaultProps, useComponentStyles, useIsomorphicLayoutEffect, useKeyboard, usePreventBodyScroll, vars } from './momotaro.chunk.js';
1
+ export { BlocksProvider, BlocksProviderProps, Box, BoxProps, Button, ButtonProps, Checkbox, CheckboxProps, Dialog, DialogProps, Divider, DividerProps, Heading, HeadingProps, Inline, InlineProps, Input, InputProps, Label, LabelProps, Link, LinkProps, Portal, PortalProps, Progress, ProgressProps, Radio, RadioProps, Select, SelectProps, Slot, Spinner, SpinnerProps, Stack, StackProps, Switch, SwitchProps, Text, TextProps, ThemeComponentsStyles, ThemeTokens, atoms, breakpointQuery, classnames, createSlottable, makeComponentTheme, makeTheme, style, useComponentStyleDefaultProps, useComponentStyles, useIsomorphicLayoutEffect, useKeyboard, usePreventBodyScroll, vars } from './momotaro.chunk.js';
package/dist/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { BlocksProvider, BlocksProviderProps, Box, BoxProps, Button, ButtonProps, Checkbox, CheckboxProps, Dialog, DialogProps, Divider, DividerProps, Heading, HeadingProps, Inline, InlineProps, Input, InputProps, Label, LabelProps, Link, LinkProps, Portal, PortalProps, Progress, ProgressProps, Radio, RadioProps, Slot, Spinner, SpinnerProps, Stack, StackProps, Switch, SwitchProps, Text, TextProps, ThemeComponentsStyles, ThemeTokens, atoms, breakpointQuery, classnames, createSlottable, makeComponentTheme, makeTheme, style, useComponentStyleDefaultProps, useComponentStyles, useIsomorphicLayoutEffect, useKeyboard, usePreventBodyScroll, vars } from './momotaro.chunk.js';
1
+ export { BlocksProvider, BlocksProviderProps, Box, BoxProps, Button, ButtonProps, Checkbox, CheckboxProps, Dialog, DialogProps, Divider, DividerProps, Heading, HeadingProps, Inline, InlineProps, Input, InputProps, Label, LabelProps, Link, LinkProps, Portal, PortalProps, Progress, ProgressProps, Radio, RadioProps, Select, SelectProps, Slot, Spinner, SpinnerProps, Stack, StackProps, Switch, SwitchProps, Text, TextProps, ThemeComponentsStyles, ThemeTokens, atoms, breakpointQuery, classnames, createSlottable, makeComponentTheme, makeTheme, style, useComponentStyleDefaultProps, useComponentStyles, useIsomorphicLayoutEffect, useKeyboard, usePreventBodyScroll, vars } from './momotaro.chunk.js';
package/dist/index.mjs CHANGED
@@ -14,6 +14,7 @@ import { Button, Spinner } from "./styles/components/form/Button/Button.mjs";
14
14
  import { Checkbox, Label } from "./styles/components/form/Checkbox/Checkbox.mjs";
15
15
  import { Input } from "./styles/components/form/Input/Input.mjs";
16
16
  import { Radio } from "./styles/components/form/Radio/Radio.mjs";
17
+ import { Select } from "./styles/components/form/Select/Select.mjs";
17
18
  import { Switch } from "./styles/components/form/Switch/Switch.mjs";
18
19
  import { BlocksProvider } from "./styles/components/other/BlocksProvider/BlocksProvider.mjs";
19
20
  import { Dialog, Portal, useIsomorphicLayoutEffect, useKeyboard, usePreventBodyScroll } from "./styles/components/overlay/Dialog/Dialog.mjs";
@@ -49,8 +50,8 @@ const Progress = forwardRef(function Progress2({ value, max = 100, className, ..
49
50
  {
50
51
  className: classnames(barClassName),
51
52
  backgroundColor: "currentColor",
52
- width: "full",
53
- height: "full",
53
+ inlineSize: "full",
54
+ blockSize: "full",
54
55
  style: { transform: value === void 0 ? void 0 : `translateX(-${100 - progress}%)` }
55
56
  }
56
57
  )
@@ -150,6 +151,7 @@ export {
150
151
  Portal,
151
152
  Progress,
152
153
  Radio,
154
+ Select,
153
155
  Slot,
154
156
  Spinner,
155
157
  Stack,