@dxos/react-ui 0.1.12 → 0.1.14
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/README.md +83 -5
- package/dist/lib/browser/index.mjs +2092 -0
- package/dist/lib/browser/index.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -0
- package/dist/plugin/node/esbuild-plugin.cjs +469 -0
- package/dist/plugin/node/esbuild-plugin.cjs.map +7 -0
- package/dist/plugin/node/meta.json +1 -0
- package/dist/plugin/node/plugin.cjs +460 -0
- package/dist/plugin/node/plugin.cjs.map +7 -0
- package/dist/{src → plugin/node}/theme.css +15 -19
- package/dist/plugin/node/theme.css.map +7 -0
- package/dist/{src → types/src}/components/Alert/Alert.d.ts +7 -2
- package/dist/types/src/components/Alert/Alert.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Alert/Alert.stories.d.ts +1 -1
- package/dist/types/src/components/Alert/Alert.stories.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Alert/index.d.ts +0 -0
- package/dist/types/src/components/Alert/index.d.ts.map +1 -0
- package/dist/types/src/components/AlertDialog/AlertDialog.d.ts +26 -0
- package/dist/types/src/components/AlertDialog/AlertDialog.d.ts.map +1 -0
- package/dist/{src → types/src}/components/AlertDialog/AlertDialog.stories.d.ts +1 -1
- package/dist/types/src/components/AlertDialog/AlertDialog.stories.d.ts.map +1 -0
- package/dist/{src → types/src}/components/AlertDialog/index.d.ts +0 -0
- package/dist/types/src/components/AlertDialog/index.d.ts.map +1 -0
- package/dist/types/src/components/Avatar/Avatar.d.ts +22 -0
- package/dist/types/src/components/Avatar/Avatar.d.ts.map +1 -0
- package/dist/types/src/components/Avatar/Avatar.stories.d.ts +12 -0
- package/dist/types/src/components/Avatar/Avatar.stories.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Avatar/index.d.ts +0 -0
- package/dist/types/src/components/Avatar/index.d.ts.map +1 -0
- package/dist/types/src/components/Button/Button.d.ts +4 -0
- package/dist/types/src/components/Button/Button.d.ts.map +1 -0
- package/dist/types/src/components/Button/Button.stories.d.ts +13 -0
- package/dist/types/src/components/Button/Button.stories.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Button/ButtonGroup.d.ts +0 -0
- package/dist/types/src/components/Button/ButtonGroup.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Button/ButtonProps.d.ts +0 -2
- package/dist/types/src/components/Button/ButtonProps.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Button/buttonStyles.d.ts +0 -0
- package/dist/types/src/components/Button/buttonStyles.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Button/index.d.ts +0 -0
- package/dist/types/src/components/Button/index.d.ts.map +1 -0
- package/dist/{src → types/src}/components/CompoundButton/CompoundButton.d.ts +0 -0
- package/dist/types/src/components/CompoundButton/CompoundButton.d.ts.map +1 -0
- package/dist/{src → types/src}/components/CompoundButton/CompoundButton.stories.d.ts +0 -0
- package/dist/types/src/components/CompoundButton/CompoundButton.stories.d.ts.map +1 -0
- package/dist/{src → types/src}/components/CompoundButton/index.d.ts +0 -0
- package/dist/types/src/components/CompoundButton/index.d.ts.map +1 -0
- package/dist/types/src/components/Dialog/Dialog.d.ts +26 -0
- package/dist/types/src/components/Dialog/Dialog.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Dialog/Dialog.stories.d.ts +1 -1
- package/dist/types/src/components/Dialog/Dialog.stories.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Dialog/index.d.ts +0 -0
- package/dist/types/src/components/Dialog/index.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Group/Group.d.ts +1 -1
- package/dist/types/src/components/Group/Group.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Group/Group.stories.d.ts +1 -1
- package/dist/types/src/components/Group/Group.stories.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Group/index.d.ts +0 -0
- package/dist/types/src/components/Group/index.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Heading/Heading.d.ts +5 -8
- package/dist/types/src/components/Heading/Heading.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Heading/Heading.stories.d.ts +5 -8
- package/dist/{src → types/src}/components/Heading/Heading.stories.d.ts.map +1 -1
- package/dist/{src → types/src}/components/Heading/index.d.ts +0 -0
- package/dist/types/src/components/Heading/index.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Input/BarePinInput.d.ts +17 -16
- package/dist/types/src/components/Input/BarePinInput.d.ts.map +1 -0
- package/dist/types/src/components/Input/BareTextInput.d.ts +7 -0
- package/dist/types/src/components/Input/BareTextInput.d.ts.map +1 -0
- package/dist/types/src/components/Input/BareTextareaInput.d.ts +7 -0
- package/dist/types/src/components/Input/BareTextareaInput.d.ts.map +1 -0
- package/dist/types/src/components/Input/Input.d.ts +4 -0
- package/dist/types/src/components/Input/Input.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Input/Input.stories.d.ts +1 -1
- package/dist/types/src/components/Input/Input.stories.d.ts.map +1 -0
- package/dist/types/src/components/Input/InputProps.d.ts +37 -0
- package/dist/types/src/components/Input/InputProps.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Input/index.d.ts +0 -0
- package/dist/types/src/components/Input/index.d.ts.map +1 -0
- package/dist/types/src/components/Loading/Loading.d.ts +15 -0
- package/dist/types/src/components/Loading/Loading.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Loading/Loading.stories.d.ts +1 -3
- package/dist/types/src/components/Loading/Loading.stories.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Loading/index.d.ts +0 -0
- package/dist/types/src/components/Loading/index.d.ts.map +1 -0
- package/dist/{src → types/src}/components/NavMenu/NavMenu.d.ts +11 -3
- package/dist/types/src/components/NavMenu/NavMenu.d.ts.map +1 -0
- package/dist/{src → types/src}/components/NavMenu/NavMenu.stories.d.ts +1 -1
- package/dist/types/src/components/NavMenu/NavMenu.stories.d.ts.map +1 -0
- package/dist/{src → types/src}/components/NavMenu/index.d.ts +0 -0
- package/dist/types/src/components/NavMenu/index.d.ts.map +1 -0
- package/dist/types/src/components/Popover/Popover.d.ts +21 -0
- package/dist/types/src/components/Popover/Popover.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Popover/Popover.stories.d.ts +1 -1
- package/dist/types/src/components/Popover/Popover.stories.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Popover/index.d.ts +0 -0
- package/dist/types/src/components/Popover/index.d.ts.map +1 -0
- package/dist/types/src/components/QrCode/QrCode.d.ts +39 -0
- package/dist/types/src/components/QrCode/QrCode.d.ts.map +1 -0
- package/dist/{src → types/src}/components/QrCode/QrCode.stories.d.ts +1 -1
- package/dist/types/src/components/QrCode/QrCode.stories.d.ts.map +1 -0
- package/dist/{src → types/src}/components/QrCode/index.d.ts +0 -0
- package/dist/types/src/components/QrCode/index.d.ts.map +1 -0
- package/dist/types/src/components/Tag/Tag.d.ts +8 -0
- package/dist/types/src/components/Tag/Tag.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Tag/Tag.stories.d.ts +1 -1
- package/dist/types/src/components/Tag/Tag.stories.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Tag/index.d.ts +0 -0
- package/dist/types/src/components/Tag/index.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Toast/Toast.d.ts +10 -1
- package/dist/types/src/components/Toast/Toast.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Toast/Toast.stories.d.ts +1 -1
- package/dist/types/src/components/Toast/Toast.stories.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Toast/index.d.ts +0 -0
- package/dist/types/src/components/Toast/index.d.ts.map +1 -0
- package/dist/types/src/components/Tooltip/Tooltip.d.ts +19 -0
- package/dist/types/src/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Tooltip/Tooltip.stories.d.ts +1 -1
- package/dist/types/src/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
- package/dist/{src → types/src}/components/Tooltip/index.d.ts +0 -0
- package/dist/types/src/components/Tooltip/index.d.ts.map +1 -0
- package/dist/{src → types/src}/components/UiProvider/UiProvider.d.ts +1 -1
- package/dist/types/src/components/UiProvider/UiProvider.d.ts.map +1 -0
- package/dist/{src → types/src}/components/UiProvider/index.d.ts +0 -0
- package/dist/types/src/components/UiProvider/index.d.ts.map +1 -0
- package/dist/{src → types/src}/components/index.d.ts +0 -0
- package/dist/types/src/components/index.d.ts.map +1 -0
- package/dist/types/src/config/index.d.ts +2 -0
- package/dist/types/src/config/index.d.ts.map +1 -0
- package/dist/types/src/config/tailwind.d.ts +7 -0
- package/dist/types/src/config/tailwind.d.ts.map +1 -0
- package/dist/types/src/esbuild-plugin.d.ts +6 -0
- package/dist/types/src/esbuild-plugin.d.ts.map +1 -0
- package/dist/{src → types/src}/hooks/index.d.ts +0 -0
- package/dist/types/src/hooks/index.d.ts.map +1 -0
- package/dist/{src → types/src}/hooks/useForwardedRef.d.ts +0 -0
- package/dist/types/src/hooks/useForwardedRef.d.ts.map +1 -0
- package/dist/{src → types/src}/hooks/useId.d.ts +0 -0
- package/dist/types/src/hooks/useId.d.ts.map +1 -0
- package/dist/{src → types/src}/hooks/useIsFocused.d.ts +0 -0
- package/dist/types/src/hooks/useIsFocused.d.ts.map +1 -0
- package/dist/{src → types/src}/index.d.ts +3 -2
- package/dist/types/src/index.d.ts.map +1 -0
- package/dist/{src → types/src}/plugin.d.ts +1 -1
- package/dist/types/src/plugin.d.ts.map +1 -0
- package/dist/types/src/props/Elevation.d.ts +2 -0
- package/dist/types/src/props/Elevation.d.ts.map +1 -0
- package/dist/types/src/props/MessageValence.d.ts +2 -0
- package/dist/types/src/props/MessageValence.d.ts.map +1 -0
- package/dist/types/src/props/Size.d.ts +2 -0
- package/dist/types/src/props/Size.d.ts.map +1 -0
- package/dist/{src → types/src}/props/index.d.ts +0 -0
- package/dist/types/src/props/index.d.ts.map +1 -0
- package/dist/{src → types/src}/styles/active.d.ts +0 -0
- package/dist/types/src/styles/active.d.ts.map +1 -0
- package/dist/{src → types/src}/styles/disabled.d.ts +0 -0
- package/dist/types/src/styles/disabled.d.ts.map +1 -0
- package/dist/{src → types/src}/styles/focus.d.ts +0 -0
- package/dist/types/src/styles/focus.d.ts.map +1 -0
- package/dist/{src → types/src}/styles/group.d.ts +0 -0
- package/dist/types/src/styles/group.d.ts.map +1 -0
- package/dist/{src → types/src}/styles/hover.d.ts +0 -0
- package/dist/types/src/styles/hover.d.ts.map +1 -0
- package/dist/{src → types/src}/styles/index.d.ts +0 -0
- package/dist/types/src/styles/index.d.ts.map +1 -0
- package/dist/types/src/styles/input.d.ts +11 -0
- package/dist/types/src/styles/input.d.ts.map +1 -0
- package/dist/{src → types/src}/styles/ornament.d.ts +0 -0
- package/dist/types/src/styles/ornament.d.ts.map +1 -0
- package/dist/{src → types/src}/styles/shimmer.d.ts +0 -0
- package/dist/types/src/styles/shimmer.d.ts.map +1 -0
- package/dist/{src → types/src}/styles/size.d.ts +1 -1
- package/dist/types/src/styles/size.d.ts.map +1 -0
- package/dist/{src → types/src}/styles/text.d.ts +0 -0
- package/dist/types/src/styles/text.d.ts.map +1 -0
- package/dist/{src → types/src}/styles/valence.d.ts +0 -0
- package/dist/types/src/styles/valence.d.ts.map +1 -0
- package/dist/{src → types/src}/testing/index.d.ts +0 -0
- package/dist/types/src/testing/index.d.ts.map +1 -0
- package/dist/{src → types/src}/testing/templateForComponent.d.ts +0 -0
- package/dist/types/src/testing/templateForComponent.d.ts.map +1 -0
- package/dist/types/src/util/index.d.ts +2 -0
- package/dist/types/src/util/index.d.ts.map +1 -0
- package/dist/types/src/util/mx.d.ts +2 -0
- package/dist/types/src/util/mx.d.ts.map +1 -0
- package/dist/types/src/util/withLogical.d.ts +3 -0
- package/dist/types/src/util/withLogical.d.ts.map +1 -0
- package/package.json +9 -5
- package/plugin.d.ts +1 -1
- package/plugin.js +1 -1
- package/src/components/Alert/Alert.tsx +12 -6
- package/src/components/AlertDialog/AlertDialog.tsx +31 -11
- package/src/components/Avatar/Avatar.tsx +35 -13
- package/src/components/Button/Button.tsx +11 -13
- package/src/components/Button/ButtonGroup.tsx +3 -2
- package/src/components/Button/ButtonProps.ts +0 -2
- package/src/components/Button/buttonStyles.ts +4 -7
- package/src/components/CompoundButton/CompoundButton.tsx +3 -3
- package/src/components/Dialog/Dialog.tsx +47 -14
- package/src/components/Group/Group.tsx +10 -5
- package/src/components/Heading/Heading.tsx +5 -4
- package/src/components/Input/BarePinInput.tsx +18 -13
- package/src/components/Input/BareTextInput.tsx +18 -15
- package/src/components/Input/BareTextareaInput.tsx +17 -16
- package/src/components/Input/Input.tsx +17 -23
- package/src/components/Input/InputProps.ts +23 -11
- package/src/components/Loading/Loading.tsx +18 -8
- package/src/components/NavMenu/NavMenu.stories.tsx +1 -1
- package/src/components/NavMenu/NavMenu.tsx +42 -19
- package/src/components/Popover/Popover.stories.tsx +7 -3
- package/src/components/Popover/Popover.tsx +54 -20
- package/src/components/QrCode/QrCode.tsx +61 -49
- package/src/components/Tag/Tag.tsx +6 -6
- package/src/components/Toast/Toast.tsx +48 -26
- package/src/components/Tooltip/Tooltip.tsx +32 -13
- package/src/components/UiProvider/UiProvider.tsx +3 -3
- package/src/config/index.ts +5 -0
- package/src/config/tailwind.ts +250 -0
- package/src/esbuild-plugin.ts +42 -0
- package/src/index.ts +3 -2
- package/src/plugin.ts +5 -240
- package/src/styles/active.ts +2 -2
- package/src/styles/group.ts +2 -3
- package/src/styles/input.ts +7 -26
- package/src/styles/size.ts +3 -4
- package/src/typings.d.ts +0 -1
- package/src/util/index.ts +5 -0
- package/src/util/mx.ts +28 -0
- package/src/util/withLogical.ts +103 -0
- package/dist/src/components/Alert/Alert.d.ts.map +0 -1
- package/dist/src/components/Alert/Alert.js +0 -21
- package/dist/src/components/Alert/Alert.js.map +0 -1
- package/dist/src/components/Alert/Alert.stories.d.ts.map +0 -1
- package/dist/src/components/Alert/Alert.stories.js +0 -30
- package/dist/src/components/Alert/Alert.stories.js.map +0 -1
- package/dist/src/components/Alert/index.d.ts.map +0 -1
- package/dist/src/components/Alert/index.js +0 -21
- package/dist/src/components/Alert/index.js.map +0 -1
- package/dist/src/components/AlertDialog/AlertDialog.d.ts +0 -17
- package/dist/src/components/AlertDialog/AlertDialog.d.ts.map +0 -1
- package/dist/src/components/AlertDialog/AlertDialog.js +0 -65
- package/dist/src/components/AlertDialog/AlertDialog.js.map +0 -1
- package/dist/src/components/AlertDialog/AlertDialog.stories.d.ts.map +0 -1
- package/dist/src/components/AlertDialog/AlertDialog.stories.js +0 -37
- package/dist/src/components/AlertDialog/AlertDialog.stories.js.map +0 -1
- package/dist/src/components/AlertDialog/index.d.ts.map +0 -1
- package/dist/src/components/AlertDialog/index.js +0 -21
- package/dist/src/components/AlertDialog/index.js.map +0 -1
- package/dist/src/components/Avatar/Avatar.d.ts +0 -13
- package/dist/src/components/Avatar/Avatar.d.ts.map +0 -1
- package/dist/src/components/Avatar/Avatar.js +0 -53
- package/dist/src/components/Avatar/Avatar.js.map +0 -1
- package/dist/src/components/Avatar/Avatar.stories.d.ts +0 -10
- package/dist/src/components/Avatar/Avatar.stories.d.ts.map +0 -1
- package/dist/src/components/Avatar/Avatar.stories.js +0 -30
- package/dist/src/components/Avatar/Avatar.stories.js.map +0 -1
- package/dist/src/components/Avatar/index.d.ts.map +0 -1
- package/dist/src/components/Avatar/index.js +0 -21
- package/dist/src/components/Avatar/index.js.map +0 -1
- package/dist/src/components/Button/Button.d.ts +0 -4
- package/dist/src/components/Button/Button.d.ts.map +0 -1
- package/dist/src/components/Button/Button.js +0 -37
- package/dist/src/components/Button/Button.js.map +0 -1
- package/dist/src/components/Button/Button.stories.d.ts +0 -13
- package/dist/src/components/Button/Button.stories.d.ts.map +0 -1
- package/dist/src/components/Button/Button.stories.js +0 -33
- package/dist/src/components/Button/Button.stories.js.map +0 -1
- package/dist/src/components/Button/ButtonGroup.d.ts.map +0 -1
- package/dist/src/components/Button/ButtonGroup.js +0 -16
- package/dist/src/components/Button/ButtonGroup.js.map +0 -1
- package/dist/src/components/Button/ButtonProps.d.ts.map +0 -1
- package/dist/src/components/Button/ButtonProps.js +0 -6
- package/dist/src/components/Button/ButtonProps.js.map +0 -1
- package/dist/src/components/Button/buttonStyles.d.ts.map +0 -1
- package/dist/src/components/Button/buttonStyles.js +0 -26
- package/dist/src/components/Button/buttonStyles.js.map +0 -1
- package/dist/src/components/Button/index.d.ts.map +0 -1
- package/dist/src/components/Button/index.js +0 -24
- package/dist/src/components/Button/index.js.map +0 -1
- package/dist/src/components/CompoundButton/CompoundButton.d.ts.map +0 -1
- package/dist/src/components/CompoundButton/CompoundButton.js +0 -27
- package/dist/src/components/CompoundButton/CompoundButton.js.map +0 -1
- package/dist/src/components/CompoundButton/CompoundButton.stories.d.ts.map +0 -1
- package/dist/src/components/CompoundButton/CompoundButton.stories.js +0 -40
- package/dist/src/components/CompoundButton/CompoundButton.stories.js.map +0 -1
- package/dist/src/components/CompoundButton/index.d.ts.map +0 -1
- package/dist/src/components/CompoundButton/index.js +0 -21
- package/dist/src/components/CompoundButton/index.js.map +0 -1
- package/dist/src/components/Dialog/Dialog.d.ts +0 -14
- package/dist/src/components/Dialog/Dialog.d.ts.map +0 -1
- package/dist/src/components/Dialog/Dialog.js +0 -59
- package/dist/src/components/Dialog/Dialog.js.map +0 -1
- package/dist/src/components/Dialog/Dialog.stories.d.ts.map +0 -1
- package/dist/src/components/Dialog/Dialog.stories.js +0 -37
- package/dist/src/components/Dialog/Dialog.stories.js.map +0 -1
- package/dist/src/components/Dialog/index.d.ts.map +0 -1
- package/dist/src/components/Dialog/index.js +0 -21
- package/dist/src/components/Dialog/index.js.map +0 -1
- package/dist/src/components/Group/Group.d.ts.map +0 -1
- package/dist/src/components/Group/Group.js +0 -22
- package/dist/src/components/Group/Group.js.map +0 -1
- package/dist/src/components/Group/Group.stories.d.ts.map +0 -1
- package/dist/src/components/Group/Group.stories.js +0 -27
- package/dist/src/components/Group/Group.stories.js.map +0 -1
- package/dist/src/components/Group/index.d.ts.map +0 -1
- package/dist/src/components/Group/index.js +0 -21
- package/dist/src/components/Group/index.js.map +0 -1
- package/dist/src/components/Heading/Heading.d.ts.map +0 -1
- package/dist/src/components/Heading/Heading.js +0 -28
- package/dist/src/components/Heading/Heading.js.map +0 -1
- package/dist/src/components/Heading/Heading.stories.js +0 -34
- package/dist/src/components/Heading/Heading.stories.js.map +0 -1
- package/dist/src/components/Heading/index.d.ts.map +0 -1
- package/dist/src/components/Heading/index.js +0 -21
- package/dist/src/components/Heading/index.js.map +0 -1
- package/dist/src/components/Input/BarePinInput.d.ts.map +0 -1
- package/dist/src/components/Input/BarePinInput.js +0 -62
- package/dist/src/components/Input/BarePinInput.js.map +0 -1
- package/dist/src/components/Input/BareTextInput.d.ts +0 -5
- package/dist/src/components/Input/BareTextInput.d.ts.map +0 -1
- package/dist/src/components/Input/BareTextInput.js +0 -29
- package/dist/src/components/Input/BareTextInput.js.map +0 -1
- package/dist/src/components/Input/BareTextareaInput.d.ts +0 -5
- package/dist/src/components/Input/BareTextareaInput.d.ts.map +0 -1
- package/dist/src/components/Input/BareTextareaInput.js +0 -23
- package/dist/src/components/Input/BareTextareaInput.js.map +0 -1
- package/dist/src/components/Input/Input.d.ts +0 -4
- package/dist/src/components/Input/Input.d.ts.map +0 -1
- package/dist/src/components/Input/Input.js +0 -87
- package/dist/src/components/Input/Input.js.map +0 -1
- package/dist/src/components/Input/Input.stories.d.ts.map +0 -1
- package/dist/src/components/Input/Input.stories.js +0 -86
- package/dist/src/components/Input/Input.stories.js.map +0 -1
- package/dist/src/components/Input/InputProps.d.ts +0 -26
- package/dist/src/components/Input/InputProps.d.ts.map +0 -1
- package/dist/src/components/Input/InputProps.js +0 -6
- package/dist/src/components/Input/InputProps.js.map +0 -1
- package/dist/src/components/Input/index.d.ts.map +0 -1
- package/dist/src/components/Input/index.js +0 -21
- package/dist/src/components/Input/index.js.map +0 -1
- package/dist/src/components/Loading/Loading.d.ts +0 -12
- package/dist/src/components/Loading/Loading.d.ts.map +0 -1
- package/dist/src/components/Loading/Loading.js +0 -29
- package/dist/src/components/Loading/Loading.js.map +0 -1
- package/dist/src/components/Loading/Loading.stories.d.ts.map +0 -1
- package/dist/src/components/Loading/Loading.stories.js +0 -39
- package/dist/src/components/Loading/Loading.stories.js.map +0 -1
- package/dist/src/components/Loading/index.d.ts.map +0 -1
- package/dist/src/components/Loading/index.js +0 -21
- package/dist/src/components/Loading/index.js.map +0 -1
- package/dist/src/components/NavMenu/NavMenu.d.ts.map +0 -1
- package/dist/src/components/NavMenu/NavMenu.js +0 -71
- package/dist/src/components/NavMenu/NavMenu.js.map +0 -1
- package/dist/src/components/NavMenu/NavMenu.stories.d.ts.map +0 -1
- package/dist/src/components/NavMenu/NavMenu.stories.js +0 -50
- package/dist/src/components/NavMenu/NavMenu.stories.js.map +0 -1
- package/dist/src/components/NavMenu/index.d.ts.map +0 -1
- package/dist/src/components/NavMenu/index.js +0 -21
- package/dist/src/components/NavMenu/index.js.map +0 -1
- package/dist/src/components/Popover/Popover.d.ts +0 -11
- package/dist/src/components/Popover/Popover.d.ts.map +0 -1
- package/dist/src/components/Popover/Popover.js +0 -56
- package/dist/src/components/Popover/Popover.js.map +0 -1
- package/dist/src/components/Popover/Popover.stories.d.ts.map +0 -1
- package/dist/src/components/Popover/Popover.stories.js +0 -39
- package/dist/src/components/Popover/Popover.stories.js.map +0 -1
- package/dist/src/components/Popover/index.d.ts.map +0 -1
- package/dist/src/components/Popover/index.js +0 -21
- package/dist/src/components/Popover/index.js.map +0 -1
- package/dist/src/components/QrCode/QrCode.d.ts +0 -22
- package/dist/src/components/QrCode/QrCode.d.ts.map +0 -1
- package/dist/src/components/QrCode/QrCode.js +0 -79
- package/dist/src/components/QrCode/QrCode.js.map +0 -1
- package/dist/src/components/QrCode/QrCode.stories.d.ts.map +0 -1
- package/dist/src/components/QrCode/QrCode.stories.js +0 -42
- package/dist/src/components/QrCode/QrCode.stories.js.map +0 -1
- package/dist/src/components/QrCode/index.d.ts.map +0 -1
- package/dist/src/components/QrCode/index.js +0 -21
- package/dist/src/components/QrCode/index.js.map +0 -1
- package/dist/src/components/Tag/Tag.d.ts +0 -8
- package/dist/src/components/Tag/Tag.d.ts.map +0 -1
- package/dist/src/components/Tag/Tag.js +0 -23
- package/dist/src/components/Tag/Tag.js.map +0 -1
- package/dist/src/components/Tag/Tag.stories.d.ts.map +0 -1
- package/dist/src/components/Tag/Tag.stories.js +0 -24
- package/dist/src/components/Tag/Tag.stories.js.map +0 -1
- package/dist/src/components/Tag/index.d.ts.map +0 -1
- package/dist/src/components/Tag/index.js +0 -21
- package/dist/src/components/Tag/index.js.map +0 -1
- package/dist/src/components/Toast/Toast.d.ts.map +0 -1
- package/dist/src/components/Toast/Toast.js +0 -54
- package/dist/src/components/Toast/Toast.js.map +0 -1
- package/dist/src/components/Toast/Toast.stories.d.ts.map +0 -1
- package/dist/src/components/Toast/Toast.stories.js +0 -32
- package/dist/src/components/Toast/Toast.stories.js.map +0 -1
- package/dist/src/components/Toast/index.d.ts.map +0 -1
- package/dist/src/components/Toast/index.js +0 -21
- package/dist/src/components/Toast/index.js.map +0 -1
- package/dist/src/components/Tooltip/Tooltip.d.ts +0 -12
- package/dist/src/components/Tooltip/Tooltip.d.ts.map +0 -1
- package/dist/src/components/Tooltip/Tooltip.js +0 -50
- package/dist/src/components/Tooltip/Tooltip.js.map +0 -1
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
- package/dist/src/components/Tooltip/Tooltip.stories.js +0 -30
- package/dist/src/components/Tooltip/Tooltip.stories.js.map +0 -1
- package/dist/src/components/Tooltip/index.d.ts.map +0 -1
- package/dist/src/components/Tooltip/index.js +0 -21
- package/dist/src/components/Tooltip/index.js.map +0 -1
- package/dist/src/components/UiProvider/UiProvider.d.ts.map +0 -1
- package/dist/src/components/UiProvider/UiProvider.js +0 -21
- package/dist/src/components/UiProvider/UiProvider.js.map +0 -1
- package/dist/src/components/UiProvider/index.d.ts.map +0 -1
- package/dist/src/components/UiProvider/index.js +0 -21
- package/dist/src/components/UiProvider/index.js.map +0 -1
- package/dist/src/components/index.d.ts.map +0 -1
- package/dist/src/components/index.js +0 -37
- package/dist/src/components/index.js.map +0 -1
- package/dist/src/hooks/index.d.ts.map +0 -1
- package/dist/src/hooks/index.js +0 -23
- package/dist/src/hooks/index.js.map +0 -1
- package/dist/src/hooks/useForwardedRef.d.ts.map +0 -1
- package/dist/src/hooks/useForwardedRef.js +0 -24
- package/dist/src/hooks/useForwardedRef.js.map +0 -1
- package/dist/src/hooks/useId.d.ts.map +0 -1
- package/dist/src/hooks/useId.js +0 -20
- package/dist/src/hooks/useId.js.map +0 -1
- package/dist/src/hooks/useIsFocused.d.ts.map +0 -1
- package/dist/src/hooks/useIsFocused.js +0 -34
- package/dist/src/hooks/useIsFocused.js.map +0 -1
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/index.js +0 -24
- package/dist/src/index.js.map +0 -1
- package/dist/src/plugin.d.ts.map +0 -1
- package/dist/src/plugin.js +0 -276
- package/dist/src/plugin.js.map +0 -1
- package/dist/src/props/Elevation.d.ts +0 -2
- package/dist/src/props/Elevation.d.ts.map +0 -1
- package/dist/src/props/Elevation.js +0 -6
- package/dist/src/props/Elevation.js.map +0 -1
- package/dist/src/props/MessageValence.d.ts +0 -2
- package/dist/src/props/MessageValence.d.ts.map +0 -1
- package/dist/src/props/MessageValence.js +0 -6
- package/dist/src/props/MessageValence.js.map +0 -1
- package/dist/src/props/Size.d.ts +0 -2
- package/dist/src/props/Size.d.ts.map +0 -1
- package/dist/src/props/Size.js +0 -6
- package/dist/src/props/Size.js.map +0 -1
- package/dist/src/props/index.d.ts.map +0 -1
- package/dist/src/props/index.js +0 -23
- package/dist/src/props/index.js.map +0 -1
- package/dist/src/styles/active.d.ts.map +0 -1
- package/dist/src/styles/active.js +0 -12
- package/dist/src/styles/active.js.map +0 -1
- package/dist/src/styles/disabled.d.ts.map +0 -1
- package/dist/src/styles/disabled.js +0 -8
- package/dist/src/styles/disabled.js.map +0 -1
- package/dist/src/styles/focus.d.ts.map +0 -1
- package/dist/src/styles/focus.js +0 -9
- package/dist/src/styles/focus.js.map +0 -1
- package/dist/src/styles/group.d.ts.map +0 -1
- package/dist/src/styles/group.js +0 -26
- package/dist/src/styles/group.js.map +0 -1
- package/dist/src/styles/hover.d.ts.map +0 -1
- package/dist/src/styles/hover.js +0 -12
- package/dist/src/styles/hover.js.map +0 -1
- package/dist/src/styles/index.d.ts.map +0 -1
- package/dist/src/styles/index.js +0 -30
- package/dist/src/styles/index.js.map +0 -1
- package/dist/src/styles/input.d.ts +0 -17
- package/dist/src/styles/input.d.ts.map +0 -1
- package/dist/src/styles/input.js +0 -24
- package/dist/src/styles/input.js.map +0 -1
- package/dist/src/styles/ornament.d.ts.map +0 -1
- package/dist/src/styles/ornament.js +0 -9
- package/dist/src/styles/ornament.js.map +0 -1
- package/dist/src/styles/shimmer.d.ts.map +0 -1
- package/dist/src/styles/shimmer.js +0 -9
- package/dist/src/styles/shimmer.js.map +0 -1
- package/dist/src/styles/size.d.ts.map +0 -1
- package/dist/src/styles/size.js +0 -89
- package/dist/src/styles/size.js.map +0 -1
- package/dist/src/styles/text.d.ts.map +0 -1
- package/dist/src/styles/text.js +0 -11
- package/dist/src/styles/text.js.map +0 -1
- package/dist/src/styles/valence.d.ts.map +0 -1
- package/dist/src/styles/valence.js +0 -66
- package/dist/src/styles/valence.js.map +0 -1
- package/dist/src/testing/index.d.ts.map +0 -1
- package/dist/src/testing/index.js +0 -21
- package/dist/src/testing/index.js.map +0 -1
- package/dist/src/testing/templateForComponent.d.ts.map +0 -1
- package/dist/src/testing/templateForComponent.js +0 -18
- package/dist/src/testing/templateForComponent.js.map +0 -1
|
@@ -2,7 +2,7 @@ import '@dxosTheme';
|
|
|
2
2
|
import { AlertDialogProps } from './AlertDialog';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ title, titleVisuallyHidden, description, openTrigger, cancelTrigger, confirmTrigger, destructiveConfirmString, destructiveConfirmInputProps, children, initiallyOpen, mountAsSibling }: AlertDialogProps) => JSX.Element;
|
|
5
|
+
component: ({ title, titleVisuallyHidden, description, openTrigger, cancelTrigger, confirmTrigger, destructiveConfirmString, destructiveConfirmInputProps, children, initiallyOpen, mountAsSibling, slots }: AlertDialogProps) => JSX.Element;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const Default: import("@storybook/react").Story<AlertDialogProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertDialog.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/AlertDialog/AlertDialog.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAKpB,OAAO,EAAe,gBAAgB,EAAE,MAAM,eAAe,CAAC;;;;;AAE9D,wBAGE;AAMF,eAAO,MAAM,OAAO,oDAIlB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/AlertDialog/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
2
|
+
import React, { ComponentProps, ReactHTMLElement, ReactNode } from 'react';
|
|
3
|
+
import { Size } from '../../props';
|
|
4
|
+
export interface AvatarSlots {
|
|
5
|
+
root?: Omit<ComponentProps<typeof AvatarPrimitive.Root>, 'children'>;
|
|
6
|
+
image?: Omit<ComponentProps<typeof AvatarPrimitive.Image>, 'children'>;
|
|
7
|
+
fallback?: Omit<ComponentProps<typeof AvatarPrimitive.Fallback>, 'children'>;
|
|
8
|
+
}
|
|
9
|
+
export interface AvatarProps {
|
|
10
|
+
fallbackValue: string;
|
|
11
|
+
label: string | Omit<ReactHTMLElement<HTMLElement>, 'ref'>;
|
|
12
|
+
size?: Size;
|
|
13
|
+
variant?: 'square' | 'circle';
|
|
14
|
+
mediaSrc?: string;
|
|
15
|
+
mediaAlt?: string;
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
slots?: AvatarSlots;
|
|
18
|
+
}
|
|
19
|
+
export declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & {
|
|
20
|
+
children?: React.ReactNode;
|
|
21
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
22
|
+
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAG1D,OAAO,KAAK,EAAE,EAEZ,cAAc,EAId,gBAAgB,EAChB,SAAS,EAEV,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAInC,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,CAAC;IACrE,KAAK,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC;IACvE,QAAQ,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CAAC;CAC9E;AAED,MAAM,WAAW,WAAW;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,CAAC,EAAE,KAAK,CAAC,CAAC;IAC3D,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAOD,eAAO,MAAM,MAAM;;yCA0DlB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import '@dxosTheme';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { AvatarProps } from './Avatar';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.ForwardRefExoticComponent<AvatarProps & {
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: import("@storybook/react").Story<AvatarProps>;
|
|
12
|
+
//# sourceMappingURL=Avatar.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatar/Avatar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AACpB,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAU,WAAW,EAAE,MAAM,UAAU,CAAC;;;;;;;AAE/C,wBAGE;AAWF,eAAO,MAAM,OAAO,+CAA+C,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatar/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonProps } from './ButtonProps';
|
|
3
|
+
export declare const Button: React.ForwardRefExoticComponent<Pick<ButtonProps, "prefix" | "translate" | "is" | "disabled" | "form" | "slot" | "style" | "title" | "children" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "value" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "variant" | "compact"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,eAAO,MAAM,MAAM,2vJASjB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import '@dxosTheme';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ButtonProps } from './ButtonProps';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.ForwardRefExoticComponent<Pick<ButtonProps, "prefix" | "translate" | "is" | "disabled" | "form" | "slot" | "style" | "title" | "children" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "value" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "variant" | "compact"> & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: import("@storybook/react").Story<Omit<ButtonProps, "ref">>;
|
|
10
|
+
export declare const Primary: () => JSX.Element;
|
|
11
|
+
export declare const Outline: () => JSX.Element;
|
|
12
|
+
export declare const Ghost: () => JSX.Element;
|
|
13
|
+
//# sourceMappingURL=Button.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AACpB,OAAO,KAA4B,MAAM,OAAO,CAAC;AAKjD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;;;;;AAE5C,wBAGE;AAsBF,eAAO,MAAM,OAAO,4DAAqC,CAAC;AAG1D,eAAO,MAAM,OAAO,mBAAoE,CAAC;AAEzF,eAAO,MAAM,OAAO,mBAAoE,CAAC;AAEzF,eAAO,MAAM,KAAK,mBAAkE,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/ButtonGroup.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIzD,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC7D,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,8BAA+B,gBAAgB,gBAUtE,CAAC"}
|
|
@@ -2,8 +2,6 @@ import { ComponentProps } from 'react';
|
|
|
2
2
|
export interface ButtonProps extends ComponentProps<'button'> {
|
|
3
3
|
variant?: 'default' | 'primary' | 'outline' | 'ghost';
|
|
4
4
|
compact?: boolean;
|
|
5
|
-
rounding?: string;
|
|
6
|
-
spacing?: string;
|
|
7
5
|
disabled?: boolean;
|
|
8
6
|
}
|
|
9
7
|
//# sourceMappingURL=ButtonProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonProps.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/ButtonProps.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,WAAY,SAAQ,cAAc,CAAC,QAAQ,CAAC;IAC3D,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IACtD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buttonStyles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/buttonStyles.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,eAAO,MAAM,mBAAmB,mDAAmD,CAAC;AACpF,eAAO,MAAM,mBAAmB,uEAAuE,CAAC;AACxG,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC,eAAO,MAAM,YAAY,UAAW,WAAW,WAsB9C,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompoundButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/CompoundButton/CompoundButton.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKzC,OAAO,EAAE,WAAW,EAAgB,MAAM,WAAW,CAAC;AAEtD,MAAM,WAAW,mBAAoB,SAAQ,WAAW;IACtD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,6DAA8D,mBAAmB,gBAkC3G,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompoundButton.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/CompoundButton/CompoundButton.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAKpB,OAAO,EAAkB,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;;;;;AAEvE,wBAGE;AAWF,eAAO,MAAM,OAAO,oEAAqC,CAAC;AAS1D,eAAO,MAAM,OAAO,mBAWnB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CompoundButton/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
2
|
+
import { X } from 'phosphor-react';
|
|
3
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
4
|
+
export interface DialogSlots {
|
|
5
|
+
overlay?: Pick<ComponentProps<typeof DialogPrimitive.Overlay>, 'className'>;
|
|
6
|
+
content?: Omit<ComponentProps<typeof DialogPrimitive.Content>, 'children'>;
|
|
7
|
+
title?: Omit<ComponentProps<typeof DialogPrimitive.Content>, 'children'>;
|
|
8
|
+
description?: Omit<ComponentProps<typeof DialogPrimitive.Description>, 'children'>;
|
|
9
|
+
close?: Pick<ComponentProps<typeof DialogPrimitive.Close>, 'className'>;
|
|
10
|
+
closeIcon?: ComponentProps<typeof X>;
|
|
11
|
+
closeTriggers?: Omit<ComponentProps<'div'>, 'children'>;
|
|
12
|
+
}
|
|
13
|
+
export interface DialogProps {
|
|
14
|
+
title: ReactNode;
|
|
15
|
+
openTrigger?: ReactNode;
|
|
16
|
+
closeTriggers?: [ReactNode, ...ReactNode[]];
|
|
17
|
+
titleVisuallyHidden?: boolean;
|
|
18
|
+
description?: ReactNode;
|
|
19
|
+
children?: ReactNode;
|
|
20
|
+
closeLabel?: string;
|
|
21
|
+
initiallyOpen?: boolean;
|
|
22
|
+
mountAsSibling?: boolean;
|
|
23
|
+
slots?: DialogSlots;
|
|
24
|
+
}
|
|
25
|
+
export declare const Dialog: ({ title, titleVisuallyHidden, description, openTrigger, children, closeTriggers, closeLabel, initiallyOpen, mountAsSibling, slots }: DialogProps) => JSX.Element;
|
|
26
|
+
//# sourceMappingURL=Dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,CAAC,EAAE,MAAM,gBAAgB,CAAC;AACnC,OAAc,EAAE,cAAc,EAAY,SAAS,EAAY,MAAM,OAAO,CAAC;AAM7E,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC,CAAC;IAC5E,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,CAAC;IAC3E,KAAK,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,CAAC;IACzE,WAAW,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC,CAAC;IACnF,KAAK,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC,CAAC;IACxE,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACrC,aAAa,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC;CACzD;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,GAAG,SAAS,EAAE,CAAC,CAAC;IAC5C,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,eAAO,MAAM,MAAM,wIAWhB,WAAW,gBA6Gb,CAAC"}
|
|
@@ -2,7 +2,7 @@ import '@dxosTheme';
|
|
|
2
2
|
import { DialogProps } from './Dialog';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ title, titleVisuallyHidden, description, openTrigger, children, closeTriggers, closeLabel, initiallyOpen, mountAsSibling }: DialogProps) => JSX.Element;
|
|
5
|
+
component: ({ title, titleVisuallyHidden, description, openTrigger, children, closeTriggers, closeLabel, initiallyOpen, mountAsSibling, slots }: DialogProps) => JSX.Element;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const Default: import("@storybook/react").Story<DialogProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dialog.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/Dialog.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAKpB,OAAO,EAAU,WAAW,EAAE,MAAM,UAAU,CAAC;;;;;AAE/C,wBAGE;AAMF,eAAO,MAAM,OAAO,+CAIlB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC"}
|
|
@@ -6,5 +6,5 @@ export interface GroupProps extends React.ComponentProps<'div'> {
|
|
|
6
6
|
elevation?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
7
7
|
children?: ReactNode;
|
|
8
8
|
}
|
|
9
|
-
export declare const Group: ({ elevation, children, label, labelVisuallyHidden,
|
|
9
|
+
export declare const Group: ({ elevation, children, label, labelVisuallyHidden, ...rootSlot }: GroupProps) => JSX.Element;
|
|
10
10
|
//# sourceMappingURL=Group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../../../src/components/Group/Group.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKzC,OAAO,EAAW,YAAY,EAAE,MAAM,YAAY,CAAC;AAEnD,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC;IAC7D,KAAK,EAAE,YAAY,CAAC;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,SAAS,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,KAAK,qEAA0E,UAAU,gBAarG,CAAC"}
|
|
@@ -2,7 +2,7 @@ import '@dxosTheme';
|
|
|
2
2
|
import { GroupProps } from './Group';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ elevation, children, label, labelVisuallyHidden,
|
|
5
|
+
component: ({ elevation, children, label, labelVisuallyHidden, ...rootSlot }: GroupProps) => JSX.Element;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const Default: import("@storybook/react").Story<GroupProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Group.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Group/Group.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAIpB,OAAO,EAAS,UAAU,EAAE,MAAM,SAAS,CAAC;;;;;AAE5C,wBAGE;AAMF,eAAO,MAAM,OAAO,8CAAgD,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Group/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC"}
|
|
@@ -3,7 +3,7 @@ export interface HeadingProps extends React.ComponentProps<'h1'> {
|
|
|
3
3
|
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export declare const Heading: ({ level, ...
|
|
6
|
+
export declare const Heading: ({ level, ...rootSlot }: PropsWithChildren<HeadingProps>) => React.DetailedReactHTMLElement<{
|
|
7
7
|
className: string;
|
|
8
8
|
children?: ReactNode;
|
|
9
9
|
ref?: React.LegacyRef<HTMLHeadingElement> | undefined;
|
|
@@ -20,7 +20,6 @@ export declare const Heading: ({ level, ...props }: PropsWithChildren<HeadingPro
|
|
|
20
20
|
hidden?: boolean | undefined;
|
|
21
21
|
id?: string | undefined;
|
|
22
22
|
lang?: string | undefined;
|
|
23
|
-
nonce?: string | undefined;
|
|
24
23
|
placeholder?: string | undefined;
|
|
25
24
|
slot?: string | undefined;
|
|
26
25
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
@@ -50,11 +49,11 @@ export declare const Heading: ({ level, ...props }: PropsWithChildren<HeadingPro
|
|
|
50
49
|
results?: number | undefined;
|
|
51
50
|
security?: string | undefined;
|
|
52
51
|
unselectable?: "on" | "off" | undefined;
|
|
53
|
-
inputMode?: "
|
|
52
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
54
53
|
is?: string | undefined;
|
|
55
54
|
'aria-activedescendant'?: string | undefined;
|
|
56
55
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
57
|
-
'aria-autocomplete'?: "
|
|
56
|
+
'aria-autocomplete'?: "inline" | "none" | "list" | "both" | undefined;
|
|
58
57
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
59
58
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
60
59
|
'aria-colcount'?: number | undefined;
|
|
@@ -65,12 +64,12 @@ export declare const Heading: ({ level, ...props }: PropsWithChildren<HeadingPro
|
|
|
65
64
|
'aria-describedby'?: string | undefined;
|
|
66
65
|
'aria-details'?: string | undefined;
|
|
67
66
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
68
|
-
'aria-dropeffect'?: "
|
|
67
|
+
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
69
68
|
'aria-errormessage'?: string | undefined;
|
|
70
69
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
71
70
|
'aria-flowto'?: string | undefined;
|
|
72
71
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
73
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
72
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
74
73
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
75
74
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
76
75
|
'aria-keyshortcuts'?: string | undefined;
|
|
@@ -171,8 +170,6 @@ export declare const Heading: ({ level, ...props }: PropsWithChildren<HeadingPro
|
|
|
171
170
|
onProgressCapture?: React.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
172
171
|
onRateChange?: React.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
173
172
|
onRateChangeCapture?: React.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
174
|
-
onResize?: React.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
175
|
-
onResizeCapture?: React.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
176
173
|
onSeeked?: React.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
177
174
|
onSeekedCapture?: React.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
178
175
|
onSeeking?: React.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Heading/Heading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAiB,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI3E,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;IAC9D,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC9B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAWD,eAAO,MAAM,OAAO,2BAA4B,kBAAkB,YAAY,CAAC;;eAZlE,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAkBrB,CAAC"}
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { HeadingProps } from './Heading';
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: ({ level, ...
|
|
6
|
+
component: ({ level, ...rootSlot }: React.PropsWithChildren<HeadingProps>) => React.DetailedReactHTMLElement<{
|
|
7
7
|
className: string;
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
ref?: React.LegacyRef<HTMLHeadingElement> | undefined;
|
|
@@ -20,7 +20,6 @@ declare const _default: {
|
|
|
20
20
|
hidden?: boolean | undefined;
|
|
21
21
|
id?: string | undefined;
|
|
22
22
|
lang?: string | undefined;
|
|
23
|
-
nonce?: string | undefined;
|
|
24
23
|
placeholder?: string | undefined;
|
|
25
24
|
slot?: string | undefined;
|
|
26
25
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
@@ -50,11 +49,11 @@ declare const _default: {
|
|
|
50
49
|
results?: number | undefined;
|
|
51
50
|
security?: string | undefined;
|
|
52
51
|
unselectable?: "on" | "off" | undefined;
|
|
53
|
-
inputMode?: "
|
|
52
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
54
53
|
is?: string | undefined;
|
|
55
54
|
'aria-activedescendant'?: string | undefined;
|
|
56
55
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
57
|
-
'aria-autocomplete'?: "
|
|
56
|
+
'aria-autocomplete'?: "inline" | "none" | "list" | "both" | undefined;
|
|
58
57
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
59
58
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
60
59
|
'aria-colcount'?: number | undefined;
|
|
@@ -65,12 +64,12 @@ declare const _default: {
|
|
|
65
64
|
'aria-describedby'?: string | undefined;
|
|
66
65
|
'aria-details'?: string | undefined;
|
|
67
66
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
68
|
-
'aria-dropeffect'?: "
|
|
67
|
+
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
69
68
|
'aria-errormessage'?: string | undefined;
|
|
70
69
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
71
70
|
'aria-flowto'?: string | undefined;
|
|
72
71
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
73
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
72
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
74
73
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
75
74
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
76
75
|
'aria-keyshortcuts'?: string | undefined;
|
|
@@ -171,8 +170,6 @@ declare const _default: {
|
|
|
171
170
|
onProgressCapture?: React.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
172
171
|
onRateChange?: React.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
173
172
|
onRateChangeCapture?: React.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
174
|
-
onResize?: React.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
175
|
-
onResizeCapture?: React.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
176
173
|
onSeeked?: React.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
177
174
|
onSeekedCapture?: React.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
178
175
|
onSeeking?: React.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.stories.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"Heading.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Heading/Heading.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AACpB,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAW,YAAY,EAAE,MAAM,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElD,wBAGE;AAQF,eAAO,MAAM,OAAO,gDAA+C,CAAC;AAGpE,eAAO,MAAM,MAAM,mBAA6C,CAAC;AACjE,eAAO,MAAM,MAAM,mBAA6C,CAAC;AACjE,eAAO,MAAM,MAAM,mBAA6C,CAAC;AACjE,eAAO,MAAM,MAAM,mBAA6C,CAAC;AACjE,eAAO,MAAM,MAAM,mBAA6C,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Heading/index.ts"],"names":[],"mappings":"AAIA,cAAc,WAAW,CAAC"}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import { CodeInput } from 'rci';
|
|
2
2
|
import React, { ComponentProps } from 'react';
|
|
3
|
-
import { InputProps } from './InputProps';
|
|
4
|
-
export type BarePinInputProps = Omit<InputProps, 'ref' | 'label' | 'onChange'> & Pick<ComponentProps<typeof CodeInput>, 'onChange' | 'value' | 'length'
|
|
5
|
-
|
|
3
|
+
import { InputProps, InputSlots } from './InputProps';
|
|
4
|
+
export declare type BarePinInputProps = Omit<InputProps, 'ref' | 'label' | 'onChange' | 'slots'> & Pick<ComponentProps<typeof CodeInput>, 'onChange' | 'value' | 'length'> & {
|
|
5
|
+
inputSlot: InputSlots['input'];
|
|
6
|
+
};
|
|
7
|
+
export declare const BarePinInput: React.ForwardRefExoticComponent<Omit<InputProps, "label" | "ref" | "onChange" | "slots"> & Pick<{
|
|
8
|
+
prefix?: string | undefined;
|
|
9
|
+
height?: string | number | undefined;
|
|
10
|
+
width?: string | number | undefined;
|
|
11
|
+
translate?: "yes" | "no" | undefined;
|
|
12
|
+
is?: string | undefined;
|
|
6
13
|
disabled?: boolean | undefined;
|
|
7
14
|
form?: string | undefined;
|
|
8
15
|
slot?: string | undefined;
|
|
@@ -24,17 +31,14 @@ export declare const BarePinInput: React.ForwardRefExoticComponent<Omit<InputPro
|
|
|
24
31
|
hidden?: boolean | undefined;
|
|
25
32
|
id?: string | undefined;
|
|
26
33
|
lang?: string | undefined;
|
|
27
|
-
nonce?: string | undefined;
|
|
28
34
|
placeholder?: string | undefined;
|
|
29
35
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
30
36
|
tabIndex?: number | undefined;
|
|
31
|
-
translate?: "yes" | "no" | undefined;
|
|
32
37
|
radioGroup?: string | undefined;
|
|
33
38
|
role?: React.AriaRole | undefined;
|
|
34
39
|
about?: string | undefined;
|
|
35
40
|
datatype?: string | undefined;
|
|
36
41
|
inlist?: any;
|
|
37
|
-
prefix?: string | undefined;
|
|
38
42
|
property?: string | undefined;
|
|
39
43
|
resource?: string | undefined;
|
|
40
44
|
typeof?: string | undefined;
|
|
@@ -51,11 +55,10 @@ export declare const BarePinInput: React.ForwardRefExoticComponent<Omit<InputPro
|
|
|
51
55
|
results?: number | undefined;
|
|
52
56
|
security?: string | undefined;
|
|
53
57
|
unselectable?: "on" | "off" | undefined;
|
|
54
|
-
inputMode?: "
|
|
55
|
-
is?: string | undefined;
|
|
58
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
56
59
|
'aria-activedescendant'?: string | undefined;
|
|
57
60
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
58
|
-
'aria-autocomplete'?: "
|
|
61
|
+
'aria-autocomplete'?: "inline" | "none" | "list" | "both" | undefined;
|
|
59
62
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
60
63
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
61
64
|
'aria-colcount'?: number | undefined;
|
|
@@ -66,12 +69,12 @@ export declare const BarePinInput: React.ForwardRefExoticComponent<Omit<InputPro
|
|
|
66
69
|
'aria-describedby'?: string | undefined;
|
|
67
70
|
'aria-details'?: string | undefined;
|
|
68
71
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
69
|
-
'aria-dropeffect'?: "
|
|
72
|
+
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
70
73
|
'aria-errormessage'?: string | undefined;
|
|
71
74
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
72
75
|
'aria-flowto'?: string | undefined;
|
|
73
76
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
74
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
77
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
75
78
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
76
79
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
77
80
|
'aria-keyshortcuts'?: string | undefined;
|
|
@@ -172,8 +175,6 @@ export declare const BarePinInput: React.ForwardRefExoticComponent<Omit<InputPro
|
|
|
172
175
|
onProgressCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
173
176
|
onRateChange?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
174
177
|
onRateChangeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
175
|
-
onResize?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
176
|
-
onResizeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
177
178
|
onSeeked?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
178
179
|
onSeekedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
179
180
|
onSeeking?: React.ReactEventHandler<HTMLInputElement> | undefined;
|
|
@@ -283,7 +284,6 @@ export declare const BarePinInput: React.ForwardRefExoticComponent<Omit<InputPro
|
|
|
283
284
|
formMethod?: string | undefined;
|
|
284
285
|
formNoValidate?: boolean | undefined;
|
|
285
286
|
formTarget?: string | undefined;
|
|
286
|
-
height?: string | number | undefined;
|
|
287
287
|
max?: string | number | undefined;
|
|
288
288
|
min?: string | number | undefined;
|
|
289
289
|
minLength?: number | undefined;
|
|
@@ -293,7 +293,6 @@ export declare const BarePinInput: React.ForwardRefExoticComponent<Omit<InputPro
|
|
|
293
293
|
required?: boolean | undefined;
|
|
294
294
|
src?: string | undefined;
|
|
295
295
|
type?: React.HTMLInputTypeAttribute | undefined;
|
|
296
|
-
width?: string | number | undefined;
|
|
297
296
|
} & {
|
|
298
297
|
inputRef: React.RefObject<HTMLInputElement>;
|
|
299
298
|
renderSegment: (segmentProps: import("rci").SegmentProps) => React.ReactNode;
|
|
@@ -309,5 +308,7 @@ export declare const BarePinInput: React.ForwardRefExoticComponent<Omit<InputPro
|
|
|
309
308
|
inputWidth?: string | undefined;
|
|
310
309
|
inputClassName?: string | undefined;
|
|
311
310
|
inputStyle?: React.CSSProperties | undefined;
|
|
312
|
-
}, "
|
|
311
|
+
}, "length" | "onChange" | "value"> & {
|
|
312
|
+
inputSlot: InputSlots['input'];
|
|
313
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
313
314
|
//# sourceMappingURL=BarePinInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BarePinInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/BarePinInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAsB,MAAM,KAAK,CAAC;AACpD,OAAO,KAAK,EAAE,EAA2B,cAAc,EAAE,MAAM,OAAO,CAAC;AAKvE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAQtD,oBAAY,iBAAiB,GAAG,IAAI,CAAC,UAAU,EAAE,KAAK,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,CAAC,GACtF,IAAI,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAC,GAAG;IAAE,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;CAAE,CAAC;AAG/G,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAHgE,UAAU,CAAC,OAAO,CAAC;0CA+C3G,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { InputProps, InputSlots } from './InputProps';
|
|
3
|
+
export declare type BareTextInputProps = Omit<InputProps, 'label' | 'initialValue' | 'onChange' | 'slots'> & Pick<ComponentProps<'input'>, 'onChange' | 'value'> & {
|
|
4
|
+
inputSlot: InputSlots['input'];
|
|
5
|
+
};
|
|
6
|
+
export declare const BareTextInput: ({ validationValence, validationMessage, size, disabled, placeholder, onChange, value, inputSlot }: BareTextInputProps) => JSX.Element;
|
|
7
|
+
//# sourceMappingURL=BareTextInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BareTextInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/BareTextInput.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI9C,OAAO,EAAE,UAAU,EAAa,UAAU,EAAE,MAAM,cAAc,CAAC;AASjE,oBAAY,kBAAkB,GAAG,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,OAAO,CAAC,GAChG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG;IAAE,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;CAAE,CAAC;AAE3F,eAAO,MAAM,aAAa,sGASvB,kBAAkB,gBAkBpB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { TextareaProps, TextareaSlots } from './InputProps';
|
|
3
|
+
export declare type BareTextareaInputProps = Omit<TextareaProps, 'label' | 'initialValue' | 'onChange' | 'slots'> & Pick<ComponentProps<'textarea'>, 'onChange' | 'value'> & {
|
|
4
|
+
inputSlot: TextareaSlots['input'];
|
|
5
|
+
};
|
|
6
|
+
export declare const BareTextareaInput: ({ validationValence, validationMessage, onChange, value, disabled, placeholder, inputSlot }: BareTextareaInputProps) => JSX.Element;
|
|
7
|
+
//# sourceMappingURL=BareTextareaInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BareTextareaInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/BareTextareaInput.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI9C,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE5D,oBAAY,sBAAsB,GAAG,IAAI,CAAC,aAAa,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,OAAO,CAAC,GACvG,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG;IAAE,SAAS,EAAE,aAAa,CAAC,OAAO,CAAC,CAAA;CAAE,CAAC;AAEjG,eAAO,MAAM,iBAAiB,gGAQ3B,sBAAsB,gBAiBxB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { InputProps as NaturalInputProps } from './InputProps';
|
|
2
|
+
export declare type InputProps = NaturalInputProps;
|
|
3
|
+
export declare const Input: ({ label, labelVisuallyHidden, description, descriptionVisuallyHidden, initialValue, onChange, disabled, placeholder, size, length, validationMessage, validationValence, slots }: InputProps) => JSX.Element;
|
|
4
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAE/D,oBAAY,UAAU,GAAG,iBAAiB,CAAC;AAE3C,eAAO,MAAM,KAAK,qLAcf,UAAU,gBAoFZ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@dxosTheme';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ label, labelVisuallyHidden,
|
|
4
|
+
component: ({ label, labelVisuallyHidden, description, descriptionVisuallyHidden, initialValue, onChange, disabled, placeholder, size, length, validationMessage, validationValence, slots }: import("./InputProps").InputProps) => JSX.Element;
|
|
5
5
|
argTypes: {
|
|
6
6
|
description: {
|
|
7
7
|
control: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Input.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;;;;;;;;;;;;;;;;;;AAMpB,wBAcE;AAMF,eAAO,MAAM,OAAO,qEAAgD,CAAC;AAarE,eAAO,MAAM,QAAQ,mBAQpB,CAAC;AAEF,eAAO,MAAM,mBAAmB,mBAQ/B,CAAC;AAEF,eAAO,MAAM,oBAAoB,mBAQhC,CAAC;AAEF,eAAO,MAAM,4BAA4B,mBAUxC,CAAC;AAEF,eAAO,MAAM,iCAAiC,mBAU7C,CAAC;AAEF,eAAO,MAAM,QAAQ,mBAUpB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { MessageValence } from '../../props';
|
|
3
|
+
export declare type InputSize = 'md' | 'lg' | 'pin' | 'textarea';
|
|
4
|
+
interface SharedTextInputProps {
|
|
5
|
+
label: ReactNode;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
labelVisuallyHidden?: boolean;
|
|
8
|
+
description?: ReactNode;
|
|
9
|
+
descriptionVisuallyHidden?: boolean;
|
|
10
|
+
initialValue?: string;
|
|
11
|
+
onChange?: (value: string) => void;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
size?: InputSize;
|
|
14
|
+
validationMessage?: ReactNode;
|
|
15
|
+
validationValence?: MessageValence;
|
|
16
|
+
length?: number;
|
|
17
|
+
}
|
|
18
|
+
interface SharedSlots {
|
|
19
|
+
root?: Omit<ComponentProps<'div'>, 'children'>;
|
|
20
|
+
label?: Omit<ComponentProps<'label'>, 'children'>;
|
|
21
|
+
description?: Pick<ComponentProps<'span'>, 'className'>;
|
|
22
|
+
validation?: Pick<ComponentProps<'span'>, 'className'>;
|
|
23
|
+
}
|
|
24
|
+
export interface InputSlots extends SharedSlots {
|
|
25
|
+
input?: Omit<ComponentProps<'input'>, 'value' | 'onChange' | 'size' | 'ref' | 'disabled' | 'placeholder'>;
|
|
26
|
+
}
|
|
27
|
+
export interface TextareaSlots extends SharedSlots {
|
|
28
|
+
input?: Omit<ComponentProps<'textarea'>, 'value' | 'onChange' | 'size' | 'ref' | 'disabled' | 'placeholder'>;
|
|
29
|
+
}
|
|
30
|
+
export interface InputProps extends SharedTextInputProps {
|
|
31
|
+
slots?: InputSlots;
|
|
32
|
+
}
|
|
33
|
+
export interface TextareaProps extends SharedTextInputProps {
|
|
34
|
+
slots?: TextareaSlots;
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=InputProps.d.ts.map
|