@blockle/blocks-react 2.0.0 → 2.1.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/components/accessibility/VisuallyHidden/VisuallyHidden.d.ts +1 -0
- package/dist/components/accessibility/VisuallyHidden/VisuallyHidden.d.ts.map +1 -0
- package/dist/components/accessibility/VisuallyHidden/visually-hidden.css.d.ts +1 -0
- package/dist/components/accessibility/VisuallyHidden/visually-hidden.css.d.ts.map +1 -0
- package/dist/components/display/Divider/Divider.d.ts +1 -0
- package/dist/components/display/Divider/Divider.d.ts.map +1 -0
- package/dist/components/display/Divider/divider.css.d.ts +1 -0
- package/dist/components/display/Divider/divider.css.d.ts.map +1 -0
- package/dist/components/display/Divider/divider.css.js +2 -2
- package/dist/components/display/Icon/IconMask.css.d.ts +2 -0
- package/dist/components/display/Icon/IconMask.css.d.ts.map +1 -0
- package/dist/components/display/Icon/IconMask.css.js +13 -0
- package/dist/components/display/Icon/IconMask.d.ts +12 -0
- package/dist/components/display/Icon/IconMask.d.ts.map +1 -0
- package/dist/components/display/Icon/IconMask.js +32 -0
- package/dist/components/display/Icon/createIconMask.d.ts +7 -0
- package/dist/components/display/Icon/createIconMask.d.ts.map +1 -0
- package/dist/components/display/Icon/createIconMask.js +10 -0
- package/dist/components/feedback/Alert/Alert.css.d.ts +2 -0
- package/dist/components/feedback/Alert/Alert.css.d.ts.map +1 -0
- package/dist/components/feedback/Alert/Alert.d.ts +11 -0
- package/dist/components/feedback/Alert/Alert.d.ts.map +1 -0
- package/dist/components/feedback/Progress/Progress.d.ts +1 -0
- package/dist/components/feedback/Progress/Progress.d.ts.map +1 -0
- package/dist/components/feedback/Skeleton/Skeleton.css.d.ts +2 -0
- package/dist/components/feedback/Skeleton/Skeleton.css.d.ts.map +1 -0
- package/dist/components/feedback/Skeleton/Skeleton.d.ts +10 -0
- package/dist/components/feedback/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/components/feedback/Spinner/Spinner.d.ts +1 -0
- package/dist/components/feedback/Spinner/Spinner.d.ts.map +1 -0
- package/dist/components/feedback/Toast/Toast.css.d.ts +2 -0
- package/dist/components/feedback/Toast/Toast.css.d.ts.map +1 -0
- package/dist/components/feedback/Toast/Toast.d.ts +12 -0
- package/dist/components/feedback/Toast/Toast.d.ts.map +1 -0
- package/dist/components/feedback/Toast/ToastContext.d.ts +13 -0
- package/dist/components/feedback/Toast/ToastContext.d.ts.map +1 -0
- package/dist/components/feedback/Toast/ToastProvider.d.ts +6 -0
- package/dist/components/feedback/Toast/ToastProvider.d.ts.map +1 -0
- package/dist/components/form/Button/Button.css.d.ts +1 -0
- package/dist/components/form/Button/Button.css.d.ts.map +1 -0
- package/dist/components/form/Button/Button.css.js +2 -2
- package/dist/components/form/Button/Button.d.ts +1 -0
- package/dist/components/form/Button/Button.d.ts.map +1 -0
- package/dist/components/form/Button/Button.js +2 -0
- package/dist/components/form/Checkbox/Checkbox.d.ts +1 -0
- package/dist/components/form/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/form/Checkbox/checkbox.css.d.ts +1 -0
- package/dist/components/form/Checkbox/checkbox.css.d.ts.map +1 -0
- package/dist/components/form/Checkbox/checkbox.css.js +3 -3
- package/dist/components/form/Label/Label.d.ts +1 -0
- package/dist/components/form/Label/Label.d.ts.map +1 -0
- package/dist/components/form/NumericInput/NumericInput.css.d.ts +3 -0
- package/dist/components/form/NumericInput/NumericInput.css.d.ts.map +1 -0
- package/dist/components/form/NumericInput/NumericInput.css.js +27 -0
- package/dist/components/form/NumericInput/NumericInput.d.ts +9 -0
- package/dist/components/form/NumericInput/NumericInput.d.ts.map +1 -0
- package/dist/components/form/NumericInput/NumericInput.js +44 -0
- package/dist/components/form/Radio/Radio.d.ts +1 -0
- package/dist/components/form/Radio/Radio.d.ts.map +1 -0
- package/dist/components/form/Radio/RadioGroup.d.ts +1 -0
- package/dist/components/form/Radio/RadioGroup.d.ts.map +1 -0
- package/dist/components/form/Radio/radio.css.d.ts +1 -0
- package/dist/components/form/Radio/radio.css.d.ts.map +1 -0
- package/dist/components/form/Radio/radio.css.js +3 -3
- package/dist/components/form/Select/Select.d.ts +1 -0
- package/dist/components/form/Select/Select.d.ts.map +1 -0
- package/dist/components/form/Select/select.css.d.ts +1 -0
- package/dist/components/form/Select/select.css.d.ts.map +1 -0
- package/dist/components/form/Select/select.css.js +4 -4
- package/dist/components/form/Slider/Slider.d.ts +1 -0
- package/dist/components/form/Slider/Slider.d.ts.map +1 -0
- package/dist/components/form/Slider/slider.css.d.ts +1 -0
- package/dist/components/form/Slider/slider.css.d.ts.map +1 -0
- package/dist/components/form/Slider/slider.css.js +6 -6
- package/dist/components/form/Slider/usePointerProgress.d.ts +1 -0
- package/dist/components/form/Slider/usePointerProgress.d.ts.map +1 -0
- package/dist/components/form/Switch/Switch.d.ts +1 -0
- package/dist/components/form/Switch/Switch.d.ts.map +1 -0
- package/dist/components/form/Switch/switch.css.d.ts +1 -0
- package/dist/components/form/Switch/switch.css.d.ts.map +1 -0
- package/dist/components/form/Switch/switch.css.js +3 -3
- package/dist/components/form/TextInput/TextInput.css.d.ts +2 -0
- package/dist/components/form/TextInput/TextInput.css.d.ts.map +1 -0
- package/dist/components/form/{Input/input.css.js → TextInput/TextInput.css.js} +3 -3
- package/dist/components/form/{Input/Input.d.ts → TextInput/TextInput.d.ts} +4 -2
- package/dist/components/form/TextInput/TextInput.d.ts.map +1 -0
- package/dist/components/form/{Input/Input.js → TextInput/TextInput.js} +9 -11
- package/dist/components/form/Textarea/Textarea.css.d.ts +2 -0
- package/dist/components/form/Textarea/Textarea.css.d.ts.map +1 -0
- package/dist/components/form/Textarea/Textarea.css.js +20 -0
- package/dist/components/form/Textarea/Textarea.d.ts +7 -0
- package/dist/components/form/Textarea/Textarea.d.ts.map +1 -0
- package/dist/components/form/Textarea/Textarea.js +30 -0
- package/dist/components/layout/Box/Box.d.ts +1 -0
- package/dist/components/layout/Box/Box.d.ts.map +1 -0
- package/dist/components/layout/Grid/Grid.d.ts +9 -0
- package/dist/components/layout/Grid/Grid.d.ts.map +1 -0
- package/dist/components/layout/Grid/GridItem.d.ts +6 -0
- package/dist/components/layout/Grid/GridItem.d.ts.map +1 -0
- package/dist/components/layout/Inline/Inline.d.ts +2 -1
- package/dist/components/layout/Inline/Inline.d.ts.map +1 -0
- package/dist/components/layout/Inline/Inline.js +2 -2
- package/dist/components/layout/Stack/Stack.d.ts +2 -1
- package/dist/components/layout/Stack/Stack.d.ts.map +1 -0
- package/dist/components/layout/Stack/Stack.js +2 -2
- package/dist/components/navigation/Link/Link.d.ts +1 -0
- package/dist/components/navigation/Link/Link.d.ts.map +1 -0
- package/dist/components/overlay/Dialog/Dialog.d.ts +1 -0
- package/dist/components/overlay/Dialog/Dialog.d.ts.map +1 -0
- package/dist/components/overlay/Dialog/dialog.css.d.ts +1 -0
- package/dist/components/overlay/Dialog/dialog.css.d.ts.map +1 -0
- package/dist/components/overlay/Dialog/dialog.css.js +2 -2
- package/dist/components/overlay/Dialog/dialogHelper.d.ts +1 -0
- package/dist/components/overlay/Dialog/dialogHelper.d.ts.map +1 -0
- package/dist/components/overlay/Popover/Popover.d.ts +1 -0
- package/dist/components/overlay/Popover/Popover.d.ts.map +1 -0
- package/dist/components/overlay/Popover/popover-utils.d.ts +1 -0
- package/dist/components/overlay/Popover/popover-utils.d.ts.map +1 -0
- package/dist/components/overlay/Portal/Portal.d.ts +1 -0
- package/dist/components/overlay/Portal/Portal.d.ts.map +1 -0
- package/dist/components/overlay/Tooltip/Tooltip.d.ts +1 -0
- package/dist/components/overlay/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/providers/BlocksProvider/BlocksProvider.d.ts +5 -0
- package/dist/components/providers/BlocksProvider/BlocksProvider.d.ts.map +1 -0
- package/dist/components/providers/BlocksProvider/context.d.ts +1 -0
- package/dist/components/providers/BlocksProvider/context.d.ts.map +1 -0
- package/dist/components/typography/Heading/Heading.d.ts +1 -0
- package/dist/components/typography/Heading/Heading.d.ts.map +1 -0
- package/dist/components/typography/Heading/heading.css.d.ts +1 -0
- package/dist/components/typography/Heading/heading.css.d.ts.map +1 -0
- package/dist/components/typography/Heading/heading.css.js +2 -2
- package/dist/components/typography/Text/Text.d.ts +1 -0
- package/dist/components/typography/Text/Text.d.ts.map +1 -0
- package/dist/components/typography/Text/text.css.d.ts +1 -0
- package/dist/components/typography/Text/text.css.d.ts.map +1 -0
- package/dist/components/typography/Text/text.css.js +2 -2
- package/dist/hooks/useClickOutside/useClickOutside.d.ts +1 -0
- package/dist/hooks/useClickOutside/useClickOutside.d.ts.map +1 -0
- package/dist/hooks/useComponentStyles/useComponentStyleDefaultProps.d.ts +1 -0
- package/dist/hooks/useComponentStyles/useComponentStyleDefaultProps.d.ts.map +1 -0
- package/dist/hooks/useComponentStyles/useComponentStyles.d.ts +1 -0
- package/dist/hooks/useComponentStyles/useComponentStyles.d.ts.map +1 -0
- package/dist/hooks/useControlledValue/useControlledValue.d.ts +1 -0
- package/dist/hooks/useControlledValue/useControlledValue.d.ts.map +1 -0
- package/dist/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts +1 -0
- package/dist/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts.map +1 -0
- package/dist/hooks/useKeyboard/useKeyboard.d.ts +1 -0
- package/dist/hooks/useKeyboard/useKeyboard.d.ts.map +1 -0
- package/dist/hooks/useLayer/useLayer.d.ts +1 -0
- package/dist/hooks/useLayer/useLayer.d.ts.map +1 -0
- package/dist/hooks/usePreventBodyScroll/usePreventBodyScroll.d.ts +1 -0
- package/dist/hooks/usePreventBodyScroll/usePreventBodyScroll.d.ts.map +1 -0
- package/dist/hooks/useRestoreFocus/useRestoreFocus.d.ts +1 -0
- package/dist/hooks/useRestoreFocus/useRestoreFocus.d.ts.map +1 -0
- package/dist/hooks/useTheme/useTheme.d.ts +1 -0
- package/dist/hooks/useTheme/useTheme.d.ts.map +1 -0
- package/dist/hooks/useVisibilityState/useVisibilityState.d.ts +1 -0
- package/dist/hooks/useVisibilityState/useVisibilityState.d.ts.map +1 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -2
- package/dist/testUtils/testTheme.css.d.ts +1 -0
- package/dist/testUtils/testTheme.css.d.ts.map +1 -0
- package/dist/testUtils/testUtils.d.ts +1 -0
- package/dist/testUtils/testUtils.d.ts.map +1 -0
- package/package.json +3 -3
- package/dist/components/form/Input/input.css.d.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useControlledValue.d.ts","sourceRoot":"","sources":["../../../src/hooks/useControlledValue/useControlledValue.ts"],"names":[],"mappings":"AAQA,KAAK,eAAe,CAAC,CAAC,IAClB;IACE,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,YAAY,EAAE,CAAC,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC9B,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,CAAC;CAClC,GACD;IACE,KAAK,EAAE,CAAC,CAAC;IACT,YAAY,CAAC,EAAE,CAAC,CAAC;IACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,CAAC;CAClC,CAAC;AAEN,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,EACpC,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,cAA8B,GAC/B,EAAE,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC,CA4B9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIsomorphicLayoutEffect.d.ts","sourceRoot":"","sources":["../../../src/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAmB,MAAM,OAAO,CAAC;AAEnD;;GAEG;AACH,eAAO,MAAM,yBAAyB,kBACuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useKeyboard.d.ts","sourceRoot":"","sources":["../../../src/hooks/useKeyboard/useKeyboard.ts"],"names":[],"mappings":"AAIA,KAAK,kBAAkB,GAAG;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,KAAK,aAAa,CAAC,KAAK,CAAC,EACzB,UAAU,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,EACxC,oBAAsC,kBAAuB,SAmB9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLayer.d.ts","sourceRoot":"","sources":["../../../src/hooks/useLayer/useLayer.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,QAAO,CAAC,MAAM,cAAc,CA2BhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePreventBodyScroll.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePreventBodyScroll/usePreventBodyScroll.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB,GAAI,iBAAc,SAmClD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRestoreFocus.d.ts","sourceRoot":"","sources":["../../../src/hooks/useRestoreFocus/useRestoreFocus.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,QAAQ,OAAO,SAa9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTheme/useTheme.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAKlD,eAAO,MAAM,QAAQ,QAAO,KAQ3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useVisibilityState.d.ts","sourceRoot":"","sources":["../../../src/hooks/useVisibilityState/useVisibilityState.ts"],"names":[],"mappings":"AAIA,KAAK,kBAAkB,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC,CAAC;AAI/D,eAAO,MAAM,kBAAkB,GAAI,MAAM,OAAO,KAAG,kBAalD,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
export { VisuallyHidden, type VisuallyHiddenProps, } from './components/accessibility/VisuallyHidden/VisuallyHidden.js';
|
|
2
2
|
export { Divider, type DividerProps, } from './components/display/Divider/Divider.js';
|
|
3
|
+
export { createIconMask } from './components/display/Icon/createIconMask.js';
|
|
4
|
+
export { IconMask, type IconMaskProps, } from './components/display/Icon/IconMask.js';
|
|
3
5
|
export { Progress, type ProgressProps, } from './components/feedback/Progress/Progress.js';
|
|
4
6
|
export { Spinner, type SpinnerProps, } from './components/feedback/Spinner/Spinner.js';
|
|
5
7
|
export { Button, type ButtonProps } from './components/form/Button/Button.js';
|
|
6
8
|
export { Checkbox, type CheckboxProps, } from './components/form/Checkbox/Checkbox.js';
|
|
7
|
-
export { Input, type InputProps } from './components/form/Input/Input.js';
|
|
8
9
|
export { Label, type LabelProps } from './components/form/Label/Label.js';
|
|
10
|
+
export { NumericInput, type NumericInputProps, } from './components/form/NumericInput/NumericInput.js';
|
|
9
11
|
export { Radio, type RadioProps } from './components/form/Radio/Radio.js';
|
|
10
12
|
export { Select, type SelectProps } from './components/form/Select/Select.js';
|
|
11
13
|
export { Slider, type SliderProps } from './components/form/Slider/Slider.js';
|
|
12
14
|
export { Switch, type SwitchProps } from './components/form/Switch/Switch.js';
|
|
15
|
+
export { Textarea, type TextareaProps, } from './components/form/Textarea/Textarea.js';
|
|
16
|
+
export { TextInput, type TextInputProps, } from './components/form/TextInput/TextInput.js';
|
|
13
17
|
export { Box, type BoxProps } from './components/layout/Box/Box.js';
|
|
14
18
|
export { Inline, type InlineProps } from './components/layout/Inline/Inline.js';
|
|
15
19
|
export { Stack, type StackProps } from './components/layout/Stack/Stack.js';
|
|
@@ -26,3 +30,4 @@ export { useControlledValue } from './hooks/useControlledValue/useControlledValu
|
|
|
26
30
|
export { useIsomorphicLayoutEffect } from './hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js';
|
|
27
31
|
export { useKeyboard } from './hooks/useKeyboard/useKeyboard.js';
|
|
28
32
|
export { usePreventBodyScroll } from './hooks/usePreventBodyScroll/usePreventBodyScroll.js';
|
|
33
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,cAAc,EACd,KAAK,mBAAmB,GACzB,MAAM,6DAA6D,CAAC;AAErE,OAAO,EACL,OAAO,EACP,KAAK,YAAY,GAClB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC7E,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,GACnB,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,GACnB,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,OAAO,EACP,KAAK,YAAY,GAClB,MAAM,0CAA0C,CAAC;AAElD,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,GACnB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EACL,YAAY,EACZ,KAAK,iBAAiB,GACvB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,GACnB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,SAAS,EACT,KAAK,cAAc,GACpB,MAAM,0CAA0C,CAAC;AAElD,OAAO,EAAE,GAAG,EAAE,KAAK,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAE5E,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAE5E,OAAO,EACL,MAAM,EACN,KAAK,WAAW,GACjB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,MAAM,EACN,KAAK,WAAW,GACjB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,OAAO,EACP,KAAK,YAAY,GAClB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EACL,cAAc,EACd,KAAK,mBAAmB,GACzB,MAAM,yDAAyD,CAAC;AAEjE,OAAO,EACL,OAAO,EACP,KAAK,YAAY,GAClB,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAE5E,OAAO,EAAE,6BAA6B,EAAE,MAAM,6DAA6D,CAAC;AAC5G,OAAO,EAAE,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AACtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,gEAAgE,CAAC;AAC3G,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sDAAsD,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import { VisuallyHidden } from "./components/accessibility/VisuallyHidden/VisuallyHidden.js";
|
|
2
2
|
import { Divider } from "./components/display/Divider/Divider.js";
|
|
3
|
+
import { createIconMask } from "./components/display/Icon/createIconMask.js";
|
|
4
|
+
import { IconMask } from "./components/display/Icon/IconMask.js";
|
|
3
5
|
import { Progress } from "./components/feedback/Progress/Progress.js";
|
|
4
6
|
import { Spinner } from "./components/feedback/Spinner/Spinner.js";
|
|
5
7
|
import { Button } from "./components/form/Button/Button.js";
|
|
6
8
|
import { Checkbox } from "./components/form/Checkbox/Checkbox.js";
|
|
7
|
-
import { Input } from "./components/form/Input/Input.js";
|
|
8
9
|
import { Label } from "./components/form/Label/Label.js";
|
|
10
|
+
import { NumericInput } from "./components/form/NumericInput/NumericInput.js";
|
|
9
11
|
import { Radio } from "./components/form/Radio/Radio.js";
|
|
10
12
|
import { Select } from "./components/form/Select/Select.js";
|
|
11
13
|
import { Slider } from "./components/form/Slider/Slider.js";
|
|
12
14
|
import { Switch } from "./components/form/Switch/Switch.js";
|
|
15
|
+
import { Textarea } from "./components/form/Textarea/Textarea.js";
|
|
16
|
+
import { TextInput } from "./components/form/TextInput/TextInput.js";
|
|
13
17
|
import { Box } from "./components/layout/Box/Box.js";
|
|
14
18
|
import { Inline } from "./components/layout/Inline/Inline.js";
|
|
15
19
|
import { Stack } from "./components/layout/Stack/Stack.js";
|
|
@@ -34,10 +38,11 @@ export {
|
|
|
34
38
|
Dialog,
|
|
35
39
|
Divider,
|
|
36
40
|
Heading,
|
|
41
|
+
IconMask,
|
|
37
42
|
Inline,
|
|
38
|
-
Input,
|
|
39
43
|
Label,
|
|
40
44
|
Link,
|
|
45
|
+
NumericInput,
|
|
41
46
|
Portal,
|
|
42
47
|
Progress,
|
|
43
48
|
Radio,
|
|
@@ -47,8 +52,11 @@ export {
|
|
|
47
52
|
Stack,
|
|
48
53
|
Switch,
|
|
49
54
|
Text,
|
|
55
|
+
TextInput,
|
|
56
|
+
Textarea,
|
|
50
57
|
Tooltip,
|
|
51
58
|
VisuallyHidden,
|
|
59
|
+
createIconMask,
|
|
52
60
|
useComponentStyleDefaultProps,
|
|
53
61
|
useComponentStyles,
|
|
54
62
|
useControlledValue,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testTheme.css.d.ts","sourceRoot":"","sources":["../../src/testUtils/testTheme.css.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,YAAY,KAwEvB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { render as rtlRender } from '@testing-library/react';
|
|
2
2
|
export * from '@testing-library/react';
|
|
3
3
|
export declare const render: (ui: Parameters<typeof rtlRender>[0], options?: Parameters<typeof rtlRender>[1]) => import('@testing-library/react').RenderResult<typeof import("@testing-library/dom/types/queries.js"), HTMLElement, HTMLElement>;
|
|
4
|
+
//# sourceMappingURL=testUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testUtils.d.ts","sourceRoot":"","sources":["../../src/testUtils/testUtils.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAK7D,cAAc,wBAAwB,CAAC;AAEvC,eAAO,MAAM,MAAM,GACjB,IAAI,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,EACnC,UAAU,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,oIAQ1C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockle/blocks-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "React hooks and components for Blockle",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"react": ">=19",
|
|
38
38
|
"react-dom": ">=19",
|
|
39
39
|
"@vanilla-extract/css": ">=1.17.1",
|
|
40
|
-
"@blockle/blocks-core": ">=0.x",
|
|
41
|
-
"@blockle/blocks-react-slot": ">=1.x"
|
|
40
|
+
"@blockle/blocks-core": ">=1.0.x",
|
|
41
|
+
"@blockle/blocks-react-slot": ">=1.1.x"
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const input: string;
|