@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
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
|
+
mod
|
|
23
|
+
));
|
|
24
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25
|
+
|
|
26
|
+
// packages/common/react-ui/src/esbuild-plugin.ts
|
|
27
|
+
var esbuild_plugin_exports = {};
|
|
28
|
+
__export(esbuild_plugin_exports, {
|
|
29
|
+
themePlugins: () => themePlugins
|
|
30
|
+
});
|
|
31
|
+
module.exports = __toCommonJS(esbuild_plugin_exports);
|
|
32
|
+
var import_autoprefixer = __toESM(require("autoprefixer"));
|
|
33
|
+
var import_esbuild_style_plugin = __toESM(require("esbuild-style-plugin"));
|
|
34
|
+
var import_promises = require("node:fs/promises");
|
|
35
|
+
var import_node_path2 = require("node:path");
|
|
36
|
+
var import_tailwindcss = __toESM(require("tailwindcss"));
|
|
37
|
+
|
|
38
|
+
// packages/common/react-ui/src/config/tailwind.ts
|
|
39
|
+
var import_forms = __toESM(require("@tailwindcss/forms"));
|
|
40
|
+
var import_node_path = require("node:path");
|
|
41
|
+
var import_tailwindcss_logical = __toESM(require("tailwindcss-logical"));
|
|
42
|
+
var import_tailwindcss_radix = __toESM(require("tailwindcss-radix"));
|
|
43
|
+
var import_colors = __toESM(require("tailwindcss/colors"));
|
|
44
|
+
var import_defaultConfig_stub = __toESM(require("tailwindcss/stubs/defaultConfig.stub.js"));
|
|
45
|
+
var tailwindConfig = ({ env = "production", root = "./", content = [] }) => ({
|
|
46
|
+
darkMode: "class",
|
|
47
|
+
theme: {
|
|
48
|
+
fontFamily: {
|
|
49
|
+
body: [
|
|
50
|
+
"Roboto FlexVariable",
|
|
51
|
+
...import_defaultConfig_stub.default.theme.fontFamily.sans
|
|
52
|
+
],
|
|
53
|
+
display: [
|
|
54
|
+
"Space GroteskVariable",
|
|
55
|
+
"Roboto FlexVariable",
|
|
56
|
+
...import_defaultConfig_stub.default.theme.fontFamily.sans
|
|
57
|
+
],
|
|
58
|
+
mono: [
|
|
59
|
+
"Fira CodeVariable",
|
|
60
|
+
...import_defaultConfig_stub.default.theme.fontFamily.mono
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
extend: {
|
|
64
|
+
colors: {
|
|
65
|
+
success: import_colors.default.emerald,
|
|
66
|
+
warning: import_colors.default.amber,
|
|
67
|
+
error: import_colors.default.rose,
|
|
68
|
+
info: import_colors.default.cyan,
|
|
69
|
+
neutral: {
|
|
70
|
+
950: "#101012",
|
|
71
|
+
900: "#1b1b1e",
|
|
72
|
+
850: "#252529",
|
|
73
|
+
800: "#303034",
|
|
74
|
+
750: "#3b3b3f",
|
|
75
|
+
700: "#46464b",
|
|
76
|
+
650: "#525257",
|
|
77
|
+
600: "#5e5e64",
|
|
78
|
+
550: "#6a6a70",
|
|
79
|
+
500: "#77767d",
|
|
80
|
+
450: "#838389",
|
|
81
|
+
400: "#909096",
|
|
82
|
+
350: "#9d9da4",
|
|
83
|
+
300: "#ababb1",
|
|
84
|
+
250: "#b8b8be",
|
|
85
|
+
200: "#c6c6cc",
|
|
86
|
+
150: "#d4d4d9",
|
|
87
|
+
100: "#e2e2e7",
|
|
88
|
+
50: "#f1f1f4"
|
|
89
|
+
},
|
|
90
|
+
primary: {
|
|
91
|
+
950: "#110c2a",
|
|
92
|
+
900: "#101940",
|
|
93
|
+
850: "#0b2453",
|
|
94
|
+
800: "#003164",
|
|
95
|
+
750: "#003e70",
|
|
96
|
+
700: "#004b7c",
|
|
97
|
+
650: "#005887",
|
|
98
|
+
600: "#006693",
|
|
99
|
+
550: "#00749e",
|
|
100
|
+
500: "#0082a9",
|
|
101
|
+
450: "#0091b3",
|
|
102
|
+
400: "#00a0be",
|
|
103
|
+
350: "#00afc7",
|
|
104
|
+
300: "#00bed0",
|
|
105
|
+
250: "#00ced8",
|
|
106
|
+
200: "#00dedf",
|
|
107
|
+
150: "#3cede4",
|
|
108
|
+
100: "#69fae8",
|
|
109
|
+
50: "#b9ffee"
|
|
110
|
+
},
|
|
111
|
+
transparent: "transparent",
|
|
112
|
+
current: "currentColor",
|
|
113
|
+
white: "#ffffff",
|
|
114
|
+
black: "#000000"
|
|
115
|
+
},
|
|
116
|
+
fontSize: {
|
|
117
|
+
xs: [
|
|
118
|
+
"0.790rem",
|
|
119
|
+
{
|
|
120
|
+
lineHeight: "1rem"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
sm: [
|
|
124
|
+
"0.889rem",
|
|
125
|
+
{
|
|
126
|
+
lineHeight: "1.25rem"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
base: [
|
|
130
|
+
"1rem",
|
|
131
|
+
{
|
|
132
|
+
lineHeight: "1.5rem"
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
lg: [
|
|
136
|
+
"1.125rem",
|
|
137
|
+
{
|
|
138
|
+
lineHeight: "1.75rem"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
xl: [
|
|
142
|
+
"1.266rem",
|
|
143
|
+
{
|
|
144
|
+
lineHeight: "1.75rem"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"2xl": [
|
|
148
|
+
"1.424rem",
|
|
149
|
+
{
|
|
150
|
+
lineHeight: "2rem"
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"3xl": [
|
|
154
|
+
"1.602rem",
|
|
155
|
+
{
|
|
156
|
+
lineHeight: "2.25rem"
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
"4xl": [
|
|
160
|
+
"1.802rem",
|
|
161
|
+
{
|
|
162
|
+
lineHeight: "2.5rem"
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"5xl": [
|
|
166
|
+
"2.027rem",
|
|
167
|
+
{
|
|
168
|
+
lineHeight: "2.5rem"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"6xl": [
|
|
172
|
+
"2.281rem",
|
|
173
|
+
{
|
|
174
|
+
lineHeight: "2.5rem"
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"7xl": [
|
|
178
|
+
"2.566rem",
|
|
179
|
+
{
|
|
180
|
+
lineHeight: "2.75rem"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"8xl": [
|
|
184
|
+
"2.887rem",
|
|
185
|
+
{
|
|
186
|
+
lineHeight: "3rem"
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
"9xl": [
|
|
190
|
+
"3.247rem",
|
|
191
|
+
{
|
|
192
|
+
lineHeight: "3.25rem"
|
|
193
|
+
}
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
outlineWidth: {
|
|
197
|
+
3: "3px"
|
|
198
|
+
},
|
|
199
|
+
boxShadow: {
|
|
200
|
+
slider: "0 0 0 5px rgba(0, 0, 0, 0.3)"
|
|
201
|
+
},
|
|
202
|
+
keyframes: {
|
|
203
|
+
"scale-in": {
|
|
204
|
+
"0%": {
|
|
205
|
+
opacity: "0",
|
|
206
|
+
transform: "scale(0)"
|
|
207
|
+
},
|
|
208
|
+
"100%": {
|
|
209
|
+
opacity: "1",
|
|
210
|
+
transform: "scale(1)"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"slide-down": {
|
|
214
|
+
"0%": {
|
|
215
|
+
opacity: "0",
|
|
216
|
+
transform: "translateY(-10px)"
|
|
217
|
+
},
|
|
218
|
+
"100%": {
|
|
219
|
+
opacity: "1",
|
|
220
|
+
transform: "translateY(0)"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"slide-up": {
|
|
224
|
+
"0%": {
|
|
225
|
+
opacity: "0",
|
|
226
|
+
transform: "translateY(10px)"
|
|
227
|
+
},
|
|
228
|
+
"100%": {
|
|
229
|
+
opacity: "1",
|
|
230
|
+
transform: "translateY(0)"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"slide-up-fade": {
|
|
234
|
+
"0%": {
|
|
235
|
+
opacity: "0",
|
|
236
|
+
transform: "translateY(2px)"
|
|
237
|
+
},
|
|
238
|
+
"100%": {
|
|
239
|
+
opacity: "1",
|
|
240
|
+
transform: "translateY(0)"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"slide-right-fade": {
|
|
244
|
+
"0%": {
|
|
245
|
+
opacity: "0",
|
|
246
|
+
transform: "translateX(-2px)"
|
|
247
|
+
},
|
|
248
|
+
"100%": {
|
|
249
|
+
opacity: "1",
|
|
250
|
+
transform: "translateX(0)"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"slide-down-fade": {
|
|
254
|
+
"0%": {
|
|
255
|
+
opacity: "0",
|
|
256
|
+
transform: "translateY(-2px)"
|
|
257
|
+
},
|
|
258
|
+
"100%": {
|
|
259
|
+
opacity: "1",
|
|
260
|
+
transform: "translateY(0)"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"slide-left-fade": {
|
|
264
|
+
"0%": {
|
|
265
|
+
opacity: "0",
|
|
266
|
+
transform: "translateX(2px)"
|
|
267
|
+
},
|
|
268
|
+
"100%": {
|
|
269
|
+
opacity: "1",
|
|
270
|
+
transform: "translateX(0)"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"enter-from-right": {
|
|
274
|
+
"0%": {
|
|
275
|
+
transform: "translateX(200px)",
|
|
276
|
+
opacity: "0"
|
|
277
|
+
},
|
|
278
|
+
"100%": {
|
|
279
|
+
transform: "translateX(0)",
|
|
280
|
+
opacity: "1"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"enter-from-left": {
|
|
284
|
+
"0%": {
|
|
285
|
+
transform: "translateX(-200px)",
|
|
286
|
+
opacity: "0"
|
|
287
|
+
},
|
|
288
|
+
"100%": {
|
|
289
|
+
transform: "translateX(0)",
|
|
290
|
+
opacity: "1"
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"exit-to-right": {
|
|
294
|
+
"0%": {
|
|
295
|
+
transform: "translateX(0)",
|
|
296
|
+
opacity: "1"
|
|
297
|
+
},
|
|
298
|
+
"100%": {
|
|
299
|
+
transform: "translateX(200px)",
|
|
300
|
+
opacity: "0"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"exit-to-left": {
|
|
304
|
+
"0%": {
|
|
305
|
+
transform: "translateX(0)",
|
|
306
|
+
opacity: "1"
|
|
307
|
+
},
|
|
308
|
+
"100%": {
|
|
309
|
+
transform: "translateX(-200px)",
|
|
310
|
+
opacity: "0"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"scale-in-content": {
|
|
314
|
+
"0%": {
|
|
315
|
+
transform: "rotateX(-30deg) scale(0.9)",
|
|
316
|
+
opacity: "0"
|
|
317
|
+
},
|
|
318
|
+
"100%": {
|
|
319
|
+
transform: "rotateX(0deg) scale(1)",
|
|
320
|
+
opacity: "1"
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"scale-out-content": {
|
|
324
|
+
"0%": {
|
|
325
|
+
transform: "rotateX(0deg) scale(1)",
|
|
326
|
+
opacity: "1"
|
|
327
|
+
},
|
|
328
|
+
"100%": {
|
|
329
|
+
transform: "rotateX(-10deg) scale(0.95)",
|
|
330
|
+
opacity: "0"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"fade-in": {
|
|
334
|
+
"0%": {
|
|
335
|
+
opacity: "0"
|
|
336
|
+
},
|
|
337
|
+
"100%": {
|
|
338
|
+
opacity: "1"
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
"fade-out": {
|
|
342
|
+
"0%": {
|
|
343
|
+
opacity: "1"
|
|
344
|
+
},
|
|
345
|
+
"100%": {
|
|
346
|
+
opacity: "0"
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"toast-hide": {
|
|
350
|
+
"0%": {
|
|
351
|
+
opacity: "1"
|
|
352
|
+
},
|
|
353
|
+
"100%": {
|
|
354
|
+
opacity: "0"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"toast-slide-in-right": {
|
|
358
|
+
"0%": {
|
|
359
|
+
transform: "translateX(calc(100% + 1rem))"
|
|
360
|
+
},
|
|
361
|
+
"100%": {
|
|
362
|
+
transform: "translateX(0)"
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"toast-slide-in-bottom": {
|
|
366
|
+
"0%": {
|
|
367
|
+
transform: "translateY(calc(100% + 1rem))"
|
|
368
|
+
},
|
|
369
|
+
"100%": {
|
|
370
|
+
transform: "translateY(0)"
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"toast-swipe-out": {
|
|
374
|
+
"0%": {
|
|
375
|
+
transform: "translateX(var(--radix-toast-swipe-end-x))"
|
|
376
|
+
},
|
|
377
|
+
"100%": {
|
|
378
|
+
transform: "translateX(calc(100% + 1rem))"
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
"shimmer-loop": {
|
|
382
|
+
"100%": {
|
|
383
|
+
transform: "translateX(100%)"
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
animation: {
|
|
388
|
+
"scale-in": "scale-in 0.2s ease-in-out",
|
|
389
|
+
"slide-down": "slide-down 0.6s cubic-bezier(0.16, 1, 0.3, 1)",
|
|
390
|
+
"slide-up": "slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1)",
|
|
391
|
+
"slide-up-fade": "slide-up-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)",
|
|
392
|
+
"slide-right-fade": "slide-right-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)",
|
|
393
|
+
"slide-down-fade": "slide-down-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)",
|
|
394
|
+
"slide-left-fade": "slide-left-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)",
|
|
395
|
+
"enter-from-right": "enter-from-right 0.25s ease",
|
|
396
|
+
"enter-from-left": "enter-from-left 0.25s ease",
|
|
397
|
+
"exit-to-right": "exit-to-right 0.25s ease",
|
|
398
|
+
"exit-to-left": "exit-to-left 0.25s ease",
|
|
399
|
+
"scale-in-content": "scale-in-content 0.2s ease",
|
|
400
|
+
"scale-out-content": "scale-out-content 0.2s ease",
|
|
401
|
+
"fade-in": "fade-in 0.2s ease",
|
|
402
|
+
"fade-out": "fade-out 0.2s ease",
|
|
403
|
+
"toast-hide": "toast-hide 100ms ease-in forwards",
|
|
404
|
+
"toast-slide-in-right": "toast-slide-in-right 150ms cubic-bezier(0.16, 1, 0.3, 1)",
|
|
405
|
+
"toast-slide-in-bottom": "toast-slide-in-bottom 150ms cubic-bezier(0.16, 1, 0.3, 1)",
|
|
406
|
+
"toast-swipe-out": "toast-swipe-out 100ms ease-out forwards",
|
|
407
|
+
shimmer: "shimmer-loop 2s infinite"
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
plugins: [
|
|
412
|
+
import_tailwindcss_logical.default,
|
|
413
|
+
import_forms.default,
|
|
414
|
+
(0, import_tailwindcss_radix.default)()
|
|
415
|
+
],
|
|
416
|
+
...env === "development" && {
|
|
417
|
+
mode: "jit"
|
|
418
|
+
},
|
|
419
|
+
content: [
|
|
420
|
+
(0, import_node_path.resolve)(root, "node_modules/@dxos/react-ui/dist/**/*.mjs"),
|
|
421
|
+
...content
|
|
422
|
+
]
|
|
423
|
+
});
|
|
424
|
+
|
|
425
|
+
// packages/common/react-ui/src/esbuild-plugin.ts
|
|
426
|
+
var themePlugins = (options) => {
|
|
427
|
+
return [
|
|
428
|
+
{
|
|
429
|
+
name: "esbuild-plugin-dxos-ui-theme-resolvers",
|
|
430
|
+
setup: async (build) => {
|
|
431
|
+
const fontsDir = (0, import_node_path2.join)(options.outdir, "node_modules/@dxos/react-ui/fonts");
|
|
432
|
+
try {
|
|
433
|
+
await (0, import_promises.mkdir)(fontsDir);
|
|
434
|
+
} catch (_e) {
|
|
435
|
+
}
|
|
436
|
+
build.onResolve({
|
|
437
|
+
filter: /\.woff2$/
|
|
438
|
+
}, async (args) => {
|
|
439
|
+
const depPath = (0, import_node_path2.resolve)(args.resolveDir, args.path);
|
|
440
|
+
const destPath = (0, import_node_path2.join)(fontsDir, (0, import_node_path2.basename)(args.path));
|
|
441
|
+
try {
|
|
442
|
+
await (0, import_promises.cp)(depPath, destPath);
|
|
443
|
+
} catch (_e) {
|
|
444
|
+
}
|
|
445
|
+
return {
|
|
446
|
+
path: `./${(0, import_node_path2.relative)(options.outdir, (0, import_node_path2.join)("fonts", (0, import_node_path2.basename)(args.path)))}`,
|
|
447
|
+
external: true
|
|
448
|
+
};
|
|
449
|
+
});
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
(0, import_esbuild_style_plugin.default)({
|
|
453
|
+
postcss: {
|
|
454
|
+
plugins: [
|
|
455
|
+
(0, import_tailwindcss.default)(tailwindConfig({
|
|
456
|
+
env: process.env.NODE_ENV,
|
|
457
|
+
content: options.content
|
|
458
|
+
})),
|
|
459
|
+
import_autoprefixer.default
|
|
460
|
+
]
|
|
461
|
+
}
|
|
462
|
+
})
|
|
463
|
+
];
|
|
464
|
+
};
|
|
465
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
466
|
+
0 && (module.exports = {
|
|
467
|
+
themePlugins
|
|
468
|
+
});
|
|
469
|
+
//# sourceMappingURL=esbuild-plugin.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/home/runner/work/dxos/dxos/packages/common/react-ui/src/esbuild-plugin.ts", "../../../src/config/home/runner/work/dxos/dxos/packages/common/react-ui/src/config/tailwind.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2022 DXOS.org\n//\n\nimport autoprefixer from 'autoprefixer';\nimport type { Plugin } from 'esbuild';\nimport stylePlugin from 'esbuild-style-plugin';\nimport { mkdir, cp } from 'node:fs/promises';\nimport { resolve, relative, join, basename } from 'node:path';\nimport tailwindcss from 'tailwindcss';\n\nimport { tailwindConfig } from './config';\n\nexport const themePlugins = (options: { content: string[]; outdir: string }): Plugin[] => {\n return [\n // TODO (thure): This really shouldn\u2019t be this way, but after hours of searching for a reasonable way to do this I came up empty. The prior art I found was mainly this thread, though it\u2019s only tangentially related: https://github.com/evanw/esbuild/issues/800#issuecomment-786151076\n {\n name: 'esbuild-plugin-dxos-ui-theme-resolvers',\n setup: async (build) => {\n const fontsDir = join(options.outdir, 'node_modules/@dxos/react-ui/fonts');\n try {\n await mkdir(fontsDir);\n } catch (_e) {}\n build.onResolve({ filter: /\\.woff2$/ }, async (args) => {\n const depPath = resolve(args.resolveDir, args.path);\n const destPath = join(fontsDir, basename(args.path));\n try {\n await cp(depPath, destPath);\n } catch (_e) {}\n return { path: `./${relative(options.outdir, join('fonts', basename(args.path)))}`, external: true };\n });\n }\n },\n // TODO (thure): theme.css must be part of entryPoints in order to be processed with `stylePlugin`, but this should not be necessary. ESBuild would not load theme.css using stylePlugin if referenced within index.ts(x) as with the Vite plugin.\n // TODO (thure): Note also that because it is an entryPoint, the developer has to reference the built theme.css from `index.html`, which is inflexible and possibly inconvenient.\n stylePlugin({\n postcss: {\n plugins: [tailwindcss(tailwindConfig({ env: process.env.NODE_ENV, content: options.content })), autoprefixer]\n }\n })\n ];\n};\n", "//\n// Copyright 2022 DXOS.org\n//\n\nimport tailwindcssForms from '@tailwindcss/forms';\nimport { resolve } from 'node:path';\nimport type { Config } from 'tailwindcss';\nimport tailwindcssLogical from 'tailwindcss-logical';\nimport tailwindcssRadix from 'tailwindcss-radix';\nimport tailwindColors from 'tailwindcss/colors';\nimport defaultConfig from 'tailwindcss/stubs/defaultConfig.stub.js';\n\nexport const tailwindConfig = ({\n env = 'production',\n root = './',\n content = []\n}: {\n env?: string;\n root?: string;\n content?: string[];\n}): Config => ({\n darkMode: 'class',\n theme: {\n fontFamily: {\n body: ['Roboto FlexVariable', ...defaultConfig.theme.fontFamily.sans],\n display: ['Space GroteskVariable', 'Roboto FlexVariable', ...defaultConfig.theme.fontFamily.sans],\n mono: ['Fira CodeVariable', ...defaultConfig.theme.fontFamily.mono]\n },\n extend: {\n colors: {\n success: tailwindColors.emerald,\n warning: tailwindColors.amber,\n error: tailwindColors.rose,\n info: tailwindColors.cyan,\n neutral: {\n // Key color #707076\n // Hue torsion 0.0\u00BA\n // C*CP black 0.80, C*CP white 0.88\n 950: '#101012',\n 900: '#1b1b1e',\n 850: '#252529',\n 800: '#303034',\n 750: '#3b3b3f',\n 700: '#46464b',\n 650: '#525257',\n 600: '#5e5e64',\n 550: '#6a6a70',\n 500: '#77767d',\n 450: '#838389',\n 400: '#909096',\n 350: '#9d9da4',\n 300: '#ababb1',\n 250: '#b8b8be',\n 200: '#c6c6cc',\n 150: '#d4d4d9',\n 100: '#e2e2e7',\n 50: '#f1f1f4'\n },\n primary: {\n // Key color #00e0e0\n // Hue torsion -73.5\u00BA\n // C*CP black 1.0, C*CP white 1.0\n 950: '#110c2a',\n 900: '#101940',\n 850: '#0b2453',\n 800: '#003164',\n 750: '#003e70',\n 700: '#004b7c',\n 650: '#005887',\n 600: '#006693',\n 550: '#00749e',\n 500: '#0082a9',\n 450: '#0091b3',\n 400: '#00a0be',\n 350: '#00afc7',\n 300: '#00bed0',\n 250: '#00ced8',\n 200: '#00dedf',\n 150: '#3cede4',\n 100: '#69fae8',\n 50: '#b9ffee'\n },\n transparent: 'transparent',\n current: 'currentColor',\n white: '#ffffff',\n black: '#000000'\n },\n fontSize: {\n // Base size 16px\n // Scale 1.125\n xs: ['0.790rem', { lineHeight: '1rem' }],\n sm: ['0.889rem', { lineHeight: '1.25rem' }],\n base: ['1rem', { lineHeight: '1.5rem' }],\n lg: ['1.125rem', { lineHeight: '1.75rem' }],\n xl: ['1.266rem', { lineHeight: '1.75rem' }],\n '2xl': ['1.424rem', { lineHeight: '2rem' }],\n '3xl': ['1.602rem', { lineHeight: '2.25rem' }],\n '4xl': ['1.802rem', { lineHeight: '2.5rem' }],\n '5xl': ['2.027rem', { lineHeight: '2.5rem' }],\n '6xl': ['2.281rem', { lineHeight: '2.5rem' }],\n '7xl': ['2.566rem', { lineHeight: '2.75rem' }],\n '8xl': ['2.887rem', { lineHeight: '3rem' }],\n '9xl': ['3.247rem', { lineHeight: '3.25rem' }]\n },\n outlineWidth: {\n 3: '3px'\n },\n boxShadow: {\n slider: '0 0 0 5px rgba(0, 0, 0, 0.3)'\n },\n keyframes: {\n // Dropdown menu\n 'scale-in': {\n '0%': { opacity: '0', transform: 'scale(0)' },\n '100%': { opacity: '1', transform: 'scale(1)' }\n },\n 'slide-down': {\n '0%': { opacity: '0', transform: 'translateY(-10px)' },\n '100%': { opacity: '1', transform: 'translateY(0)' }\n },\n 'slide-up': {\n '0%': { opacity: '0', transform: 'translateY(10px)' },\n '100%': { opacity: '1', transform: 'translateY(0)' }\n },\n // Tooltip\n 'slide-up-fade': {\n '0%': { opacity: '0', transform: 'translateY(2px)' },\n '100%': { opacity: '1', transform: 'translateY(0)' }\n },\n 'slide-right-fade': {\n '0%': { opacity: '0', transform: 'translateX(-2px)' },\n '100%': { opacity: '1', transform: 'translateX(0)' }\n },\n 'slide-down-fade': {\n '0%': { opacity: '0', transform: 'translateY(-2px)' },\n '100%': { opacity: '1', transform: 'translateY(0)' }\n },\n 'slide-left-fade': {\n '0%': { opacity: '0', transform: 'translateX(2px)' },\n '100%': { opacity: '1', transform: 'translateX(0)' }\n },\n // Navigation menu\n 'enter-from-right': {\n '0%': { transform: 'translateX(200px)', opacity: '0' },\n '100%': { transform: 'translateX(0)', opacity: '1' }\n },\n 'enter-from-left': {\n '0%': { transform: 'translateX(-200px)', opacity: '0' },\n '100%': { transform: 'translateX(0)', opacity: '1' }\n },\n 'exit-to-right': {\n '0%': { transform: 'translateX(0)', opacity: '1' },\n '100%': { transform: 'translateX(200px)', opacity: '0' }\n },\n 'exit-to-left': {\n '0%': { transform: 'translateX(0)', opacity: '1' },\n '100%': {\n transform: 'translateX(-200px)',\n opacity: '0'\n }\n },\n 'scale-in-content': {\n '0%': {\n transform: 'rotateX(-30deg) scale(0.9)',\n opacity: '0'\n },\n '100%': {\n transform: 'rotateX(0deg) scale(1)',\n opacity: '1'\n }\n },\n 'scale-out-content': {\n '0%': {\n transform: 'rotateX(0deg) scale(1)',\n opacity: '1'\n },\n '100%': {\n transform: 'rotateX(-10deg) scale(0.95)',\n opacity: '0'\n }\n },\n 'fade-in': {\n '0%': { opacity: '0' },\n '100%': { opacity: '1' }\n },\n 'fade-out': {\n '0%': { opacity: '1' },\n '100%': { opacity: '0' }\n },\n // Toast\n 'toast-hide': {\n '0%': { opacity: '1' },\n '100%': { opacity: '0' }\n },\n 'toast-slide-in-right': {\n '0%': { transform: 'translateX(calc(100% + 1rem))' },\n '100%': { transform: 'translateX(0)' }\n },\n 'toast-slide-in-bottom': {\n '0%': { transform: 'translateY(calc(100% + 1rem))' },\n '100%': { transform: 'translateY(0)' }\n },\n 'toast-swipe-out': {\n '0%': {\n transform: 'translateX(var(--radix-toast-swipe-end-x))'\n },\n '100%': {\n transform: 'translateX(calc(100% + 1rem))'\n }\n },\n // Shimmer\n 'shimmer-loop': {\n '100%': {\n transform: 'translateX(100%)'\n }\n }\n },\n animation: {\n // Dropdown menu\n 'scale-in': 'scale-in 0.2s ease-in-out',\n 'slide-down': 'slide-down 0.6s cubic-bezier(0.16, 1, 0.3, 1)',\n 'slide-up': 'slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1)',\n // Tooltip\n 'slide-up-fade': 'slide-up-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)',\n 'slide-right-fade': 'slide-right-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)',\n 'slide-down-fade': 'slide-down-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)',\n 'slide-left-fade': 'slide-left-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)',\n // Navigation menu\n 'enter-from-right': 'enter-from-right 0.25s ease',\n 'enter-from-left': 'enter-from-left 0.25s ease',\n 'exit-to-right': 'exit-to-right 0.25s ease',\n 'exit-to-left': 'exit-to-left 0.25s ease',\n 'scale-in-content': 'scale-in-content 0.2s ease',\n 'scale-out-content': 'scale-out-content 0.2s ease',\n 'fade-in': 'fade-in 0.2s ease',\n 'fade-out': 'fade-out 0.2s ease',\n // Toast\n 'toast-hide': 'toast-hide 100ms ease-in forwards',\n 'toast-slide-in-right': 'toast-slide-in-right 150ms cubic-bezier(0.16, 1, 0.3, 1)',\n 'toast-slide-in-bottom': 'toast-slide-in-bottom 150ms cubic-bezier(0.16, 1, 0.3, 1)',\n 'toast-swipe-out': 'toast-swipe-out 100ms ease-out forwards',\n // Shimmer\n shimmer: 'shimmer-loop 2s infinite'\n }\n }\n },\n plugins: [tailwindcssLogical, tailwindcssForms, tailwindcssRadix()],\n ...(env === 'development' && { mode: 'jit' }),\n content: [resolve(root, 'node_modules/@dxos/react-ui/dist/**/*.mjs'), ...content]\n});\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;AAIA,0BAAyB;AAEzB,kCAAwB;AACxB,sBAA0B;AAC1B,IAAAA,oBAAkD;AAClD,yBAAwB;;;ACLxB,mBAA6B;AAC7B,uBAAwB;AA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tailwindConfig", "env", "root", "content", "darkMode", "theme", "fontFamily", "body", "defaultConfig", "sans", "display", "mono", "extend", "colors", "success", "tailwindColors", "emerald", "warning", "amber", "error", "rose", "info", "cyan", "neutral", "primary", "transparent", "current", "white", "black", "fontSize", "xs", "lineHeight", "sm", "base", "lg", "xl", "outlineWidth", "boxShadow", "slider", "keyframes", "opacity", "transform", "animation", "shimmer", "plugins", "tailwindcssLogical", "tailwindcssForms", "tailwindcssRadix", "mode", "resolve", "themePlugins", "options", "name", "setup", "build", "fontsDir", "join", "outdir", "mkdir", "_e", "onResolve", "filter", "args", "depPath", "resolve", "resolveDir", "path", "destPath", "basename", "cp", "relative", "external", "stylePlugin", "postcss", "plugins", "tailwindcss", "tailwindConfig", "env", "process", "NODE_ENV", "content", "autoprefixer"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"inputs":{"packages/common/react-ui/src/config/tailwind.ts":{"bytes":33685,"imports":[]},"packages/common/react-ui/src/config/index.ts":{"bytes":460,"imports":[{"path":"packages/common/react-ui/src/config/tailwind.ts","kind":"import-statement"}]},"packages/common/react-ui/src/esbuild-plugin.ts":{"bytes":7065,"imports":[{"path":"packages/common/react-ui/src/config/index.ts","kind":"import-statement"}]},"packages/common/react-ui/src/plugin.ts":{"bytes":3845,"imports":[{"path":"packages/common/react-ui/src/config/index.ts","kind":"import-statement"}]},"packages/common/react-ui/src/theme.css":{"bytes":1407,"imports":[]}},"outputs":{"packages/common/react-ui/dist/plugin/node/esbuild-plugin.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":16379},"packages/common/react-ui/dist/plugin/node/esbuild-plugin.cjs":{"imports":[],"exports":[],"entryPoint":"packages/common/react-ui/src/esbuild-plugin.ts","inputs":{"packages/common/react-ui/src/esbuild-plugin.ts":{"bytesInOutput":1739},"packages/common/react-ui/src/config/tailwind.ts":{"bytesInOutput":9753},"packages/common/react-ui/src/config/index.ts":{"bytesInOutput":0}},"bytes":12906},"packages/common/react-ui/dist/plugin/node/plugin.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":14984},"packages/common/react-ui/dist/plugin/node/plugin.cjs":{"imports":[],"exports":[],"entryPoint":"packages/common/react-ui/src/plugin.ts","inputs":{"packages/common/react-ui/src/plugin.ts":{"bytesInOutput":1037},"packages/common/react-ui/src/config/tailwind.ts":{"bytesInOutput":9753},"packages/common/react-ui/src/config/index.ts":{"bytesInOutput":0}},"bytes":12179},"packages/common/react-ui/dist/plugin/node/theme.css.map":{"imports":[],"exports":[],"inputs":{},"bytes":1871},"packages/common/react-ui/dist/plugin/node/theme.css":{"imports":[],"entryPoint":"packages/common/react-ui/src/theme.css","inputs":{"packages/common/react-ui/src/theme.css":{"bytesInOutput":1209}},"bytes":1447}}}
|