@dxos/react-ui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +68 -0
- package/dist/src/components/Alert/Alert.d.ts +10 -0
- package/dist/src/components/Alert/Alert.d.ts.map +1 -0
- package/dist/src/components/Alert/Alert.js +21 -0
- package/dist/src/components/Alert/Alert.js.map +1 -0
- package/dist/src/components/Alert/Alert.stories.d.ts +9 -0
- package/dist/src/components/Alert/Alert.stories.d.ts.map +1 -0
- package/dist/src/components/Alert/Alert.stories.js +30 -0
- package/dist/src/components/Alert/Alert.stories.js.map +1 -0
- package/dist/src/components/Alert/index.d.ts +2 -0
- package/dist/src/components/Alert/index.d.ts.map +1 -0
- package/dist/src/components/Alert/index.js +21 -0
- package/dist/src/components/Alert/index.js.map +1 -0
- package/dist/src/components/AlertDialog/AlertDialog.d.ts +17 -0
- package/dist/src/components/AlertDialog/AlertDialog.d.ts.map +1 -0
- package/dist/src/components/AlertDialog/AlertDialog.js +65 -0
- package/dist/src/components/AlertDialog/AlertDialog.js.map +1 -0
- package/dist/src/components/AlertDialog/AlertDialog.stories.d.ts +9 -0
- package/dist/src/components/AlertDialog/AlertDialog.stories.d.ts.map +1 -0
- package/dist/src/components/AlertDialog/AlertDialog.stories.js +37 -0
- package/dist/src/components/AlertDialog/AlertDialog.stories.js.map +1 -0
- package/dist/src/components/AlertDialog/index.d.ts +2 -0
- package/dist/src/components/AlertDialog/index.d.ts.map +1 -0
- package/dist/src/components/AlertDialog/index.js +21 -0
- package/dist/src/components/AlertDialog/index.js.map +1 -0
- package/dist/src/components/Avatar/Avatar.d.ts +13 -0
- package/dist/src/components/Avatar/Avatar.d.ts.map +1 -0
- package/dist/src/components/Avatar/Avatar.js +53 -0
- package/dist/src/components/Avatar/Avatar.js.map +1 -0
- package/dist/src/components/Avatar/Avatar.stories.d.ts +10 -0
- package/dist/src/components/Avatar/Avatar.stories.d.ts.map +1 -0
- package/dist/src/components/Avatar/Avatar.stories.js +30 -0
- package/dist/src/components/Avatar/Avatar.stories.js.map +1 -0
- package/dist/src/components/Avatar/index.d.ts +2 -0
- package/dist/src/components/Avatar/index.d.ts.map +1 -0
- package/dist/src/components/Avatar/index.js +21 -0
- package/dist/src/components/Avatar/index.js.map +1 -0
- package/dist/src/components/Button/Button.d.ts +4 -0
- package/dist/src/components/Button/Button.d.ts.map +1 -0
- package/dist/src/components/Button/Button.js +37 -0
- package/dist/src/components/Button/Button.js.map +1 -0
- package/dist/src/components/Button/Button.stories.d.ts +12 -0
- package/dist/src/components/Button/Button.stories.d.ts.map +1 -0
- package/dist/src/components/Button/Button.stories.js +31 -0
- package/dist/src/components/Button/Button.stories.js.map +1 -0
- package/dist/src/components/Button/ButtonProps.d.ts +8 -0
- package/dist/src/components/Button/ButtonProps.d.ts.map +1 -0
- package/dist/src/components/Button/ButtonProps.js +6 -0
- package/dist/src/components/Button/ButtonProps.js.map +1 -0
- package/dist/src/components/Button/buttonStyles.d.ts +5 -0
- package/dist/src/components/Button/buttonStyles.d.ts.map +1 -0
- package/dist/src/components/Button/buttonStyles.js +24 -0
- package/dist/src/components/Button/buttonStyles.js.map +1 -0
- package/dist/src/components/Button/index.d.ts +4 -0
- package/dist/src/components/Button/index.d.ts.map +1 -0
- package/dist/src/components/Button/index.js +23 -0
- package/dist/src/components/Button/index.js.map +1 -0
- package/dist/src/components/CompoundButton/CompoundButton.d.ts +10 -0
- package/dist/src/components/CompoundButton/CompoundButton.d.ts.map +1 -0
- package/dist/src/components/CompoundButton/CompoundButton.js +27 -0
- package/dist/src/components/CompoundButton/CompoundButton.js.map +1 -0
- package/dist/src/components/CompoundButton/CompoundButton.stories.d.ts +10 -0
- package/dist/src/components/CompoundButton/CompoundButton.stories.d.ts.map +1 -0
- package/dist/src/components/CompoundButton/CompoundButton.stories.js +40 -0
- package/dist/src/components/CompoundButton/CompoundButton.stories.js.map +1 -0
- package/dist/src/components/CompoundButton/index.d.ts +2 -0
- package/dist/src/components/CompoundButton/index.d.ts.map +1 -0
- package/dist/src/components/CompoundButton/index.js +21 -0
- package/dist/src/components/CompoundButton/index.js.map +1 -0
- package/dist/src/components/Dialog/Dialog.d.ts +14 -0
- package/dist/src/components/Dialog/Dialog.d.ts.map +1 -0
- package/dist/src/components/Dialog/Dialog.js +59 -0
- package/dist/src/components/Dialog/Dialog.js.map +1 -0
- package/dist/src/components/Dialog/Dialog.stories.d.ts +9 -0
- package/dist/src/components/Dialog/Dialog.stories.d.ts.map +1 -0
- package/dist/src/components/Dialog/Dialog.stories.js +37 -0
- package/dist/src/components/Dialog/Dialog.stories.js.map +1 -0
- package/dist/src/components/Dialog/index.d.ts +2 -0
- package/dist/src/components/Dialog/index.d.ts.map +1 -0
- package/dist/src/components/Dialog/index.js +21 -0
- package/dist/src/components/Dialog/index.js.map +1 -0
- package/dist/src/components/Group/Group.d.ts +10 -0
- package/dist/src/components/Group/Group.d.ts.map +1 -0
- package/dist/src/components/Group/Group.js +22 -0
- package/dist/src/components/Group/Group.js.map +1 -0
- package/dist/src/components/Group/Group.stories.d.ts +9 -0
- package/dist/src/components/Group/Group.stories.d.ts.map +1 -0
- package/dist/src/components/Group/Group.stories.js +27 -0
- package/dist/src/components/Group/Group.stories.js.map +1 -0
- package/dist/src/components/Group/index.d.ts +2 -0
- package/dist/src/components/Group/index.d.ts.map +1 -0
- package/dist/src/components/Group/index.js +21 -0
- package/dist/src/components/Group/index.js.map +1 -0
- package/dist/src/components/Heading/Heading.d.ts +266 -0
- package/dist/src/components/Heading/Heading.d.ts.map +1 -0
- package/dist/src/components/Heading/Heading.js +28 -0
- package/dist/src/components/Heading/Heading.js.map +1 -0
- package/dist/src/components/Heading/Heading.stories.d.ts +274 -0
- package/dist/src/components/Heading/Heading.stories.d.ts.map +1 -0
- package/dist/src/components/Heading/Heading.stories.js +34 -0
- package/dist/src/components/Heading/Heading.stories.js.map +1 -0
- package/dist/src/components/Heading/index.d.ts +2 -0
- package/dist/src/components/Heading/index.d.ts.map +1 -0
- package/dist/src/components/Heading/index.js +21 -0
- package/dist/src/components/Heading/index.js.map +1 -0
- package/dist/src/components/Input/Input.d.ts +17 -0
- package/dist/src/components/Input/Input.d.ts.map +1 -0
- package/dist/src/components/Input/Input.js +70 -0
- package/dist/src/components/Input/Input.js.map +1 -0
- package/dist/src/components/Input/Input.stories.d.ts +23 -0
- package/dist/src/components/Input/Input.stories.d.ts.map +1 -0
- package/dist/src/components/Input/Input.stories.js +73 -0
- package/dist/src/components/Input/Input.stories.js.map +1 -0
- package/dist/src/components/Input/index.d.ts +2 -0
- package/dist/src/components/Input/index.d.ts.map +1 -0
- package/dist/src/components/Input/index.js +21 -0
- package/dist/src/components/Input/index.js.map +1 -0
- package/dist/src/components/Loading/Loading.d.ts +12 -0
- package/dist/src/components/Loading/Loading.d.ts.map +1 -0
- package/dist/src/components/Loading/Loading.js +29 -0
- package/dist/src/components/Loading/Loading.js.map +1 -0
- package/dist/src/components/Loading/Loading.stories.d.ts +25 -0
- package/dist/src/components/Loading/Loading.stories.d.ts.map +1 -0
- package/dist/src/components/Loading/Loading.stories.js +39 -0
- package/dist/src/components/Loading/Loading.stories.js.map +1 -0
- package/dist/src/components/Loading/index.d.ts +2 -0
- package/dist/src/components/Loading/index.d.ts.map +1 -0
- package/dist/src/components/Loading/index.js +21 -0
- package/dist/src/components/Loading/index.js.map +1 -0
- package/dist/src/components/NavMenu/NavMenu.d.ts +31 -0
- package/dist/src/components/NavMenu/NavMenu.d.ts.map +1 -0
- package/dist/src/components/NavMenu/NavMenu.js +71 -0
- package/dist/src/components/NavMenu/NavMenu.js.map +1 -0
- package/dist/src/components/NavMenu/NavMenu.stories.d.ts +9 -0
- package/dist/src/components/NavMenu/NavMenu.stories.d.ts.map +1 -0
- package/dist/src/components/NavMenu/NavMenu.stories.js +50 -0
- package/dist/src/components/NavMenu/NavMenu.stories.js.map +1 -0
- package/dist/src/components/NavMenu/index.d.ts +2 -0
- package/dist/src/components/NavMenu/index.d.ts.map +1 -0
- package/dist/src/components/NavMenu/index.js +21 -0
- package/dist/src/components/NavMenu/index.js.map +1 -0
- package/dist/src/components/Popover/Popover.d.ts +11 -0
- package/dist/src/components/Popover/Popover.d.ts.map +1 -0
- package/dist/src/components/Popover/Popover.js +56 -0
- package/dist/src/components/Popover/Popover.js.map +1 -0
- package/dist/src/components/Popover/Popover.stories.d.ts +10 -0
- package/dist/src/components/Popover/Popover.stories.d.ts.map +1 -0
- package/dist/src/components/Popover/Popover.stories.js +39 -0
- package/dist/src/components/Popover/Popover.stories.js.map +1 -0
- package/dist/src/components/Popover/index.d.ts +2 -0
- package/dist/src/components/Popover/index.d.ts.map +1 -0
- package/dist/src/components/Popover/index.js +21 -0
- package/dist/src/components/Popover/index.js.map +1 -0
- package/dist/src/components/QrCode/QrCode.d.ts +11 -0
- package/dist/src/components/QrCode/QrCode.d.ts.map +1 -0
- package/dist/src/components/QrCode/QrCode.js +51 -0
- package/dist/src/components/QrCode/QrCode.js.map +1 -0
- package/dist/src/components/QrCode/QrCode.stories.d.ts +9 -0
- package/dist/src/components/QrCode/QrCode.stories.d.ts.map +1 -0
- package/dist/src/components/QrCode/QrCode.stories.js +29 -0
- package/dist/src/components/QrCode/QrCode.stories.js.map +1 -0
- package/dist/src/components/QrCode/index.d.ts +2 -0
- package/dist/src/components/QrCode/index.d.ts.map +1 -0
- package/dist/src/components/QrCode/index.js +21 -0
- package/dist/src/components/QrCode/index.js.map +1 -0
- package/dist/src/components/Tag/Tag.d.ts +8 -0
- package/dist/src/components/Tag/Tag.d.ts.map +1 -0
- package/dist/src/components/Tag/Tag.js +23 -0
- package/dist/src/components/Tag/Tag.js.map +1 -0
- package/dist/src/components/Tag/Tag.stories.d.ts +10 -0
- package/dist/src/components/Tag/Tag.stories.d.ts.map +1 -0
- package/dist/src/components/Tag/Tag.stories.js +24 -0
- package/dist/src/components/Tag/Tag.stories.js.map +1 -0
- package/dist/src/components/Tag/index.d.ts +2 -0
- package/dist/src/components/Tag/index.d.ts.map +1 -0
- package/dist/src/components/Tag/index.js +21 -0
- package/dist/src/components/Tag/index.js.map +1 -0
- package/dist/src/components/Toast/Toast.d.ts +16 -0
- package/dist/src/components/Toast/Toast.d.ts.map +1 -0
- package/dist/src/components/Toast/Toast.js +54 -0
- package/dist/src/components/Toast/Toast.js.map +1 -0
- package/dist/src/components/Toast/Toast.stories.d.ts +9 -0
- package/dist/src/components/Toast/Toast.stories.d.ts.map +1 -0
- package/dist/src/components/Toast/Toast.stories.js +32 -0
- package/dist/src/components/Toast/Toast.stories.js.map +1 -0
- package/dist/src/components/Toast/index.d.ts +2 -0
- package/dist/src/components/Toast/index.d.ts.map +1 -0
- package/dist/src/components/Toast/index.js +21 -0
- package/dist/src/components/Toast/index.js.map +1 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts +10 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/src/components/Tooltip/Tooltip.js +50 -0
- package/dist/src/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts +9 -0
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
- package/dist/src/components/Tooltip/Tooltip.stories.js +30 -0
- package/dist/src/components/Tooltip/Tooltip.stories.js.map +1 -0
- package/dist/src/components/Tooltip/index.d.ts +2 -0
- package/dist/src/components/Tooltip/index.d.ts.map +1 -0
- package/dist/src/components/Tooltip/index.js +21 -0
- package/dist/src/components/Tooltip/index.js.map +1 -0
- package/dist/src/components/UiProvider/UiProvider.d.ts +10 -0
- package/dist/src/components/UiProvider/UiProvider.d.ts.map +1 -0
- package/dist/src/components/UiProvider/UiProvider.js +21 -0
- package/dist/src/components/UiProvider/UiProvider.js.map +1 -0
- package/dist/src/components/UiProvider/index.d.ts +2 -0
- package/dist/src/components/UiProvider/index.d.ts.map +1 -0
- package/dist/src/components/UiProvider/index.js +21 -0
- package/dist/src/components/UiProvider/index.js.map +1 -0
- package/dist/src/components/index.d.ts +18 -0
- package/dist/src/components/index.d.ts.map +1 -0
- package/dist/src/components/index.js +37 -0
- package/dist/src/components/index.js.map +1 -0
- package/dist/src/hooks/index.d.ts +2 -0
- package/dist/src/hooks/index.d.ts.map +1 -0
- package/dist/src/hooks/index.js +21 -0
- package/dist/src/hooks/index.js.map +1 -0
- package/dist/src/hooks/useId.d.ts +2 -0
- package/dist/src/hooks/useId.d.ts.map +1 -0
- package/dist/src/hooks/useId.js +19 -0
- package/dist/src/hooks/useId.js.map +1 -0
- package/dist/src/index.d.ts +5 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +24 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/plugin.d.ts +9 -0
- package/dist/src/plugin.d.ts.map +1 -0
- package/dist/src/plugin.js +268 -0
- package/dist/src/plugin.js.map +1 -0
- package/dist/src/props/Elevation.d.ts +2 -0
- package/dist/src/props/Elevation.d.ts.map +1 -0
- package/dist/src/props/Elevation.js +6 -0
- package/dist/src/props/Elevation.js.map +1 -0
- package/dist/src/props/MessageValence.d.ts +2 -0
- package/dist/src/props/MessageValence.d.ts.map +1 -0
- package/dist/src/props/MessageValence.js +6 -0
- package/dist/src/props/MessageValence.js.map +1 -0
- package/dist/src/props/Size.d.ts +2 -0
- package/dist/src/props/Size.d.ts.map +1 -0
- package/dist/src/props/Size.js +6 -0
- package/dist/src/props/Size.js.map +1 -0
- package/dist/src/props/index.d.ts +4 -0
- package/dist/src/props/index.d.ts.map +1 -0
- package/dist/src/props/index.js +23 -0
- package/dist/src/props/index.js.map +1 -0
- package/dist/src/styles/active.d.ts +2 -0
- package/dist/src/styles/active.d.ts.map +1 -0
- package/dist/src/styles/active.js +12 -0
- package/dist/src/styles/active.js.map +1 -0
- package/dist/src/styles/disabled.d.ts +2 -0
- package/dist/src/styles/disabled.d.ts.map +1 -0
- package/dist/src/styles/disabled.js +8 -0
- package/dist/src/styles/disabled.js.map +1 -0
- package/dist/src/styles/focus.d.ts +2 -0
- package/dist/src/styles/focus.d.ts.map +1 -0
- package/dist/src/styles/focus.js +8 -0
- package/dist/src/styles/focus.js.map +1 -0
- package/dist/src/styles/group.d.ts +5 -0
- package/dist/src/styles/group.d.ts.map +1 -0
- package/dist/src/styles/group.js +26 -0
- package/dist/src/styles/group.js.map +1 -0
- package/dist/src/styles/hover.d.ts +4 -0
- package/dist/src/styles/hover.d.ts.map +1 -0
- package/dist/src/styles/hover.js +12 -0
- package/dist/src/styles/hover.js.map +1 -0
- package/dist/src/styles/index.d.ts +10 -0
- package/dist/src/styles/index.d.ts.map +1 -0
- package/dist/src/styles/index.js +29 -0
- package/dist/src/styles/index.js.map +1 -0
- package/dist/src/styles/ornament.d.ts +3 -0
- package/dist/src/styles/ornament.d.ts.map +1 -0
- package/dist/src/styles/ornament.js +9 -0
- package/dist/src/styles/ornament.js.map +1 -0
- package/dist/src/styles/size.d.ts +7 -0
- package/dist/src/styles/size.d.ts.map +1 -0
- package/dist/src/styles/size.js +89 -0
- package/dist/src/styles/size.js.map +1 -0
- package/dist/src/styles/text.d.ts +5 -0
- package/dist/src/styles/text.d.ts.map +1 -0
- package/dist/src/styles/text.js +11 -0
- package/dist/src/styles/text.js.map +1 -0
- package/dist/src/styles/valence.d.ts +19 -0
- package/dist/src/styles/valence.d.ts.map +1 -0
- package/dist/src/styles/valence.js +66 -0
- package/dist/src/styles/valence.js.map +1 -0
- package/dist/src/testing/index.d.ts +2 -0
- package/dist/src/testing/index.d.ts.map +1 -0
- package/dist/src/testing/index.js +21 -0
- package/dist/src/testing/index.js.map +1 -0
- package/dist/src/testing/templateForComponent.d.ts +4 -0
- package/dist/src/testing/templateForComponent.d.ts.map +1 -0
- package/dist/src/testing/templateForComponent.js +18 -0
- package/dist/src/testing/templateForComponent.js.map +1 -0
- package/dist/src/theme.css +62 -0
- package/package.json +55 -0
- package/src/components/Alert/Alert.stories.tsx +31 -0
- package/src/components/Alert/Alert.tsx +34 -0
- package/src/components/Alert/index.ts +5 -0
- package/src/components/Avatar/Avatar.stories.tsx +29 -0
- package/src/components/Avatar/Avatar.tsx +82 -0
- package/src/components/Avatar/index.ts +5 -0
- package/src/components/Button/Button.stories.tsx +43 -0
- package/src/components/Button/Button.tsx +20 -0
- package/src/components/Button/ButtonProps.ts +10 -0
- package/src/components/Button/buttonStyles.ts +32 -0
- package/src/components/Button/index.ts +7 -0
- package/src/components/CompoundButton/CompoundButton.stories.tsx +46 -0
- package/src/components/CompoundButton/CompoundButton.tsx +53 -0
- package/src/components/CompoundButton/index.ts +5 -0
- package/src/components/Dialog/Dialog.stories.tsx +37 -0
- package/src/components/Dialog/Dialog.tsx +124 -0
- package/src/components/Dialog/index.ts +5 -0
- package/src/components/Group/Group.stories.tsx +25 -0
- package/src/components/Group/Group.tsx +48 -0
- package/src/components/Group/index.ts +5 -0
- package/src/components/Heading/Heading.stories.tsx +29 -0
- package/src/components/Heading/Heading.tsx +28 -0
- package/src/components/Heading/index.ts +5 -0
- package/src/components/Input/Input.stories.tsx +91 -0
- package/src/components/Input/Input.tsx +132 -0
- package/src/components/Input/index.ts +5 -0
- package/src/components/Loading/Loading.stories.tsx +34 -0
- package/src/components/Loading/Loading.tsx +59 -0
- package/src/components/Loading/index.ts +5 -0
- package/src/components/Main/Main.tsx +14 -0
- package/src/components/Main/index.ts +5 -0
- package/src/components/NavMenu/NavMenu.stories.tsx +54 -0
- package/src/components/NavMenu/NavMenu.tsx +180 -0
- package/src/components/NavMenu/index.ts +5 -0
- package/src/components/Popover/Popover.stories.tsx +45 -0
- package/src/components/Popover/Popover.tsx +76 -0
- package/src/components/Popover/index.ts +5 -0
- package/src/components/QrCode/QrCode.stories.tsx +27 -0
- package/src/components/QrCode/QrCode.tsx +42 -0
- package/src/components/QrCode/index.ts +5 -0
- package/src/components/Toast/Toast.stories.tsx +31 -0
- package/src/components/Toast/Toast.tsx +84 -0
- package/src/components/Toast/index.ts +5 -0
- package/src/components/Tooltip/Tooltip.stories.tsx +28 -0
- package/src/components/Tooltip/Tooltip.tsx +57 -0
- package/src/components/Tooltip/index.ts +5 -0
- package/src/components/UiProvider/UiProvider.tsx +44 -0
- package/src/components/UiProvider/index.ts +5 -0
- package/src/components/index.ts +20 -0
- package/src/hooks/index.ts +5 -0
- package/src/hooks/useId.ts +21 -0
- package/src/index.ts +8 -0
- package/src/plugin.ts +270 -0
- package/src/props/MessageValence.ts +5 -0
- package/src/props/Size.ts +40 -0
- package/src/props/index.ts +6 -0
- package/src/styles/active.ts +11 -0
- package/src/styles/disabled.ts +5 -0
- package/src/styles/focus.ts +6 -0
- package/src/styles/hover.ts +10 -0
- package/src/styles/index.ts +11 -0
- package/src/styles/size.ts +87 -0
- package/src/styles/text.ts +10 -0
- package/src/styles/valence.ts +71 -0
- package/src/testing/index.ts +5 -0
- package/src/testing/templateForComponent.tsx +16 -0
- package/src/theme.css +62 -0
- package/src/typings.d.ts +7 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from './Alert';
|
|
2
|
+
export * from './AlertDialog';
|
|
3
|
+
export * from './Avatar';
|
|
4
|
+
export * from './Button';
|
|
5
|
+
export * from './CompoundButton';
|
|
6
|
+
export * from './Dialog';
|
|
7
|
+
export * from './Group';
|
|
8
|
+
export * from './Heading';
|
|
9
|
+
export * from './Loading';
|
|
10
|
+
export * from './Input';
|
|
11
|
+
export * from './NavMenu';
|
|
12
|
+
export * from './Popover';
|
|
13
|
+
export * from './QrCode';
|
|
14
|
+
export * from './Tag';
|
|
15
|
+
export * from './Toast';
|
|
16
|
+
export * from './Tooltip';
|
|
17
|
+
export * from './UiProvider';
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//
|
|
3
|
+
// Copyright 2022 DXOS.org
|
|
4
|
+
//
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
17
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
__exportStar(require("./Alert"), exports);
|
|
21
|
+
__exportStar(require("./AlertDialog"), exports);
|
|
22
|
+
__exportStar(require("./Avatar"), exports);
|
|
23
|
+
__exportStar(require("./Button"), exports);
|
|
24
|
+
__exportStar(require("./CompoundButton"), exports);
|
|
25
|
+
__exportStar(require("./Dialog"), exports);
|
|
26
|
+
__exportStar(require("./Group"), exports);
|
|
27
|
+
__exportStar(require("./Heading"), exports);
|
|
28
|
+
__exportStar(require("./Loading"), exports);
|
|
29
|
+
__exportStar(require("./Input"), exports);
|
|
30
|
+
__exportStar(require("./NavMenu"), exports);
|
|
31
|
+
__exportStar(require("./Popover"), exports);
|
|
32
|
+
__exportStar(require("./QrCode"), exports);
|
|
33
|
+
__exportStar(require("./Tag"), exports);
|
|
34
|
+
__exportStar(require("./Toast"), exports);
|
|
35
|
+
__exportStar(require("./Tooltip"), exports);
|
|
36
|
+
__exportStar(require("./UiProvider"), exports);
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;AAEF,0CAAwB;AACxB,gDAA8B;AAC9B,2CAAyB;AACzB,2CAAyB;AACzB,mDAAiC;AACjC,2CAAyB;AACzB,0CAAwB;AACxB,4CAA0B;AAC1B,4CAA0B;AAC1B,0CAAwB;AACxB,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,wCAAsB;AACtB,0CAAwB;AACxB,4CAA0B;AAC1B,+CAA6B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//
|
|
3
|
+
// Copyright 2022 DXOS.org
|
|
4
|
+
//
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
17
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
__exportStar(require("./useId"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;AAEF,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useId.d.ts","sourceRoot":"","sources":["../../../src/hooks/useId.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,KAAK,cAAe,MAAM,MAAM,MAAM,WAAyD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//
|
|
3
|
+
// Copyright 2022 DXOS.org
|
|
4
|
+
//
|
|
5
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.useId = void 0;
|
|
10
|
+
const alea_1 = __importDefault(require("alea"));
|
|
11
|
+
const react_1 = require("react");
|
|
12
|
+
const Alea = alea_1.default;
|
|
13
|
+
const prng = new Alea('@dxos/react-ui');
|
|
14
|
+
const randomString = (n = 4) => prng()
|
|
15
|
+
.toString(16)
|
|
16
|
+
.slice(2, n + 2);
|
|
17
|
+
const useId = (namespace, n) => (0, react_1.useMemo)(() => `${namespace}-${randomString(n)}`, []);
|
|
18
|
+
exports.useId = useId;
|
|
19
|
+
//# sourceMappingURL=useId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useId.js","sourceRoot":"","sources":["../../../src/hooks/useId.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,gDAAwB;AACxB,iCAAgC;AAMhC,MAAM,IAAI,GAAgB,cAA8B,CAAC;AAEzD,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,gBAAgB,CAAC,CAAC;AAExC,MAAM,YAAY,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAC7B,IAAI,EAAE;KACH,QAAQ,CAAC,EAAE,CAAC;KACZ,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;AAEd,MAAM,KAAK,GAAG,CAAC,SAAiB,EAAE,CAAU,EAAE,EAAE,CAAC,IAAA,eAAO,EAAC,GAAG,EAAE,CAAC,GAAG,SAAS,IAAI,YAAY,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAAhG,QAAA,KAAK,SAA2F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//
|
|
3
|
+
// Copyright 2022 DXOS.org
|
|
4
|
+
//
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
17
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
__exportStar(require("./components"), exports);
|
|
21
|
+
__exportStar(require("./styles"), exports);
|
|
22
|
+
__exportStar(require("./props"), exports);
|
|
23
|
+
__exportStar(require("./hooks"), exports);
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;AAEF,+CAA6B;AAC7B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Plugin } from 'vite';
|
|
2
|
+
export interface VitePluginTailwindOptions {
|
|
3
|
+
jit?: boolean;
|
|
4
|
+
cssPath?: string;
|
|
5
|
+
virtualFileId?: string;
|
|
6
|
+
content: string[];
|
|
7
|
+
}
|
|
8
|
+
export declare const themePlugin: (options: VitePluginTailwindOptions) => Plugin;
|
|
9
|
+
//# sourceMappingURL=plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/plugin.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAE9B,MAAM,WAAW,yBAAyB;IACxC,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,eAAO,MAAM,WAAW,YAAa,yBAAyB,WAyP7D,CAAC"}
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//
|
|
3
|
+
// Copyright 2022 DXOS.org
|
|
4
|
+
//
|
|
5
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.themePlugin = void 0;
|
|
10
|
+
const forms_1 = __importDefault(require("@tailwindcss/forms"));
|
|
11
|
+
const autoprefixer_1 = __importDefault(require("autoprefixer"));
|
|
12
|
+
const path_1 = require("path");
|
|
13
|
+
const tailwindcss_1 = __importDefault(require("tailwindcss"));
|
|
14
|
+
const tailwindcss_logical_1 = __importDefault(require("tailwindcss-logical"));
|
|
15
|
+
const tailwindcss_radix_1 = __importDefault(require("tailwindcss-radix"));
|
|
16
|
+
const colors_1 = __importDefault(require("tailwindcss/colors"));
|
|
17
|
+
const defaultConfig_stub_js_1 = __importDefault(require("tailwindcss/stubs/defaultConfig.stub.js"));
|
|
18
|
+
const themePlugin = (options) => {
|
|
19
|
+
const config = {
|
|
20
|
+
jit: true,
|
|
21
|
+
cssPath: (0, path_1.resolve)(__dirname, './theme.css'),
|
|
22
|
+
virtualFileId: '@dxosTheme',
|
|
23
|
+
...options
|
|
24
|
+
};
|
|
25
|
+
return {
|
|
26
|
+
name: 'vite-plugin-dxos-ui-theme',
|
|
27
|
+
config: ({ root }, env) => {
|
|
28
|
+
return {
|
|
29
|
+
css: {
|
|
30
|
+
postcss: {
|
|
31
|
+
plugins: [
|
|
32
|
+
(0, tailwindcss_1.default)({
|
|
33
|
+
darkMode: 'class',
|
|
34
|
+
theme: {
|
|
35
|
+
fontFamily: {
|
|
36
|
+
body: ['Roboto FlexVariable', ...defaultConfig_stub_js_1.default.theme.fontFamily.sans],
|
|
37
|
+
display: ['Space GroteskVariable', 'Roboto FlexVariable', ...defaultConfig_stub_js_1.default.theme.fontFamily.sans],
|
|
38
|
+
mono: ['Fira CodeVariable', ...defaultConfig_stub_js_1.default.theme.fontFamily.mono]
|
|
39
|
+
},
|
|
40
|
+
extend: {
|
|
41
|
+
colors: {
|
|
42
|
+
success: colors_1.default.emerald,
|
|
43
|
+
warning: colors_1.default.amber,
|
|
44
|
+
error: colors_1.default.red,
|
|
45
|
+
info: colors_1.default.cyan,
|
|
46
|
+
neutral: {
|
|
47
|
+
// Key color #707076
|
|
48
|
+
// Hue torsion 0.0º
|
|
49
|
+
// C*CP black 0.80, C*CP white 0.88
|
|
50
|
+
950: '#101012',
|
|
51
|
+
900: '#1b1b1e',
|
|
52
|
+
850: '#252529',
|
|
53
|
+
800: '#303034',
|
|
54
|
+
750: '#3b3b3f',
|
|
55
|
+
700: '#46464b',
|
|
56
|
+
650: '#525257',
|
|
57
|
+
600: '#5e5e64',
|
|
58
|
+
550: '#6a6a70',
|
|
59
|
+
500: '#77767d',
|
|
60
|
+
450: '#838389',
|
|
61
|
+
400: '#909096',
|
|
62
|
+
350: '#9d9da4',
|
|
63
|
+
300: '#ababb1',
|
|
64
|
+
250: '#b8b8be',
|
|
65
|
+
200: '#c6c6cc',
|
|
66
|
+
150: '#d4d4d9',
|
|
67
|
+
100: '#e2e2e7',
|
|
68
|
+
50: '#f1f1f4'
|
|
69
|
+
},
|
|
70
|
+
primary: {
|
|
71
|
+
// Key color #00e0e0
|
|
72
|
+
// Hue torsion -73.5º
|
|
73
|
+
// C*CP black 1.0, C*CP white 1.0
|
|
74
|
+
950: '#110c2a',
|
|
75
|
+
900: '#101940',
|
|
76
|
+
850: '#0b2453',
|
|
77
|
+
800: '#003164',
|
|
78
|
+
750: '#003e70',
|
|
79
|
+
700: '#004b7c',
|
|
80
|
+
650: '#005887',
|
|
81
|
+
600: '#006693',
|
|
82
|
+
550: '#00749e',
|
|
83
|
+
500: '#0082a9',
|
|
84
|
+
450: '#0091b3',
|
|
85
|
+
400: '#00a0be',
|
|
86
|
+
350: '#00afc7',
|
|
87
|
+
300: '#00bed0',
|
|
88
|
+
250: '#00ced8',
|
|
89
|
+
200: '#00dedf',
|
|
90
|
+
150: '#3cede4',
|
|
91
|
+
100: '#69fae8',
|
|
92
|
+
50: '#b9ffee'
|
|
93
|
+
},
|
|
94
|
+
transparent: 'transparent',
|
|
95
|
+
current: 'currentColor',
|
|
96
|
+
white: '#ffffff',
|
|
97
|
+
black: '#000000'
|
|
98
|
+
},
|
|
99
|
+
fontSize: {
|
|
100
|
+
// Base size 16px
|
|
101
|
+
// Scale 1.125
|
|
102
|
+
xs: ['0.79rem', { lineHeight: '1rem' }],
|
|
103
|
+
sm: ['0.889rem', { lineHeight: '1.25rem' }],
|
|
104
|
+
base: ['1rem', { lineHeight: '1.5rem' }],
|
|
105
|
+
lg: ['1.125rem', { lineHeight: '1.75rem' }],
|
|
106
|
+
xl: ['1.266rem', { lineHeight: '1.75rem' }],
|
|
107
|
+
'2xl': ['1.424rem', { lineHeight: '2rem' }],
|
|
108
|
+
'3xl': ['1.602rem', { lineHeight: '2.25rem' }],
|
|
109
|
+
'4xl': ['1.802rem', { lineHeight: '2.5rem' }],
|
|
110
|
+
'5xl': ['2.027rem', { lineHeight: '1' }],
|
|
111
|
+
'6xl': ['2.281rem', { lineHeight: '1' }],
|
|
112
|
+
'7xl': ['2.566rem', { lineHeight: '1' }],
|
|
113
|
+
'8xl': ['2.887rem', { lineHeight: '1' }],
|
|
114
|
+
'9xl': ['3.247rem', { lineHeight: '1' }]
|
|
115
|
+
},
|
|
116
|
+
outlineWidth: {
|
|
117
|
+
3: '3px'
|
|
118
|
+
},
|
|
119
|
+
boxShadow: {
|
|
120
|
+
slider: '0 0 0 5px rgba(0, 0, 0, 0.3)'
|
|
121
|
+
},
|
|
122
|
+
keyframes: {
|
|
123
|
+
// Dropdown menu
|
|
124
|
+
'scale-in': {
|
|
125
|
+
'0%': { opacity: '0', transform: 'scale(0)' },
|
|
126
|
+
'100%': { opacity: '1', transform: 'scale(1)' }
|
|
127
|
+
},
|
|
128
|
+
'slide-down': {
|
|
129
|
+
'0%': { opacity: '0', transform: 'translateY(-10px)' },
|
|
130
|
+
'100%': { opacity: '1', transform: 'translateY(0)' }
|
|
131
|
+
},
|
|
132
|
+
'slide-up': {
|
|
133
|
+
'0%': { opacity: '0', transform: 'translateY(10px)' },
|
|
134
|
+
'100%': { opacity: '1', transform: 'translateY(0)' }
|
|
135
|
+
},
|
|
136
|
+
// Tooltip
|
|
137
|
+
'slide-up-fade': {
|
|
138
|
+
'0%': { opacity: '0', transform: 'translateY(2px)' },
|
|
139
|
+
'100%': { opacity: '1', transform: 'translateY(0)' }
|
|
140
|
+
},
|
|
141
|
+
'slide-right-fade': {
|
|
142
|
+
'0%': { opacity: '0', transform: 'translateX(-2px)' },
|
|
143
|
+
'100%': { opacity: '1', transform: 'translateX(0)' }
|
|
144
|
+
},
|
|
145
|
+
'slide-down-fade': {
|
|
146
|
+
'0%': { opacity: '0', transform: 'translateY(-2px)' },
|
|
147
|
+
'100%': { opacity: '1', transform: 'translateY(0)' }
|
|
148
|
+
},
|
|
149
|
+
'slide-left-fade': {
|
|
150
|
+
'0%': { opacity: '0', transform: 'translateX(2px)' },
|
|
151
|
+
'100%': { opacity: '1', transform: 'translateX(0)' }
|
|
152
|
+
},
|
|
153
|
+
// Navigation menu
|
|
154
|
+
'enter-from-right': {
|
|
155
|
+
'0%': { transform: 'translateX(200px)', opacity: '0' },
|
|
156
|
+
'100%': { transform: 'translateX(0)', opacity: '1' }
|
|
157
|
+
},
|
|
158
|
+
'enter-from-left': {
|
|
159
|
+
'0%': { transform: 'translateX(-200px)', opacity: '0' },
|
|
160
|
+
'100%': { transform: 'translateX(0)', opacity: '1' }
|
|
161
|
+
},
|
|
162
|
+
'exit-to-right': {
|
|
163
|
+
'0%': { transform: 'translateX(0)', opacity: '1' },
|
|
164
|
+
'100%': { transform: 'translateX(200px)', opacity: '0' }
|
|
165
|
+
},
|
|
166
|
+
'exit-to-left': {
|
|
167
|
+
'0%': { transform: 'translateX(0)', opacity: '1' },
|
|
168
|
+
'100%': {
|
|
169
|
+
transform: 'translateX(-200px)',
|
|
170
|
+
opacity: '0'
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
'scale-in-content': {
|
|
174
|
+
'0%': {
|
|
175
|
+
transform: 'rotateX(-30deg) scale(0.9)',
|
|
176
|
+
opacity: '0'
|
|
177
|
+
},
|
|
178
|
+
'100%': {
|
|
179
|
+
transform: 'rotateX(0deg) scale(1)',
|
|
180
|
+
opacity: '1'
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
'scale-out-content': {
|
|
184
|
+
'0%': {
|
|
185
|
+
transform: 'rotateX(0deg) scale(1)',
|
|
186
|
+
opacity: '1'
|
|
187
|
+
},
|
|
188
|
+
'100%': {
|
|
189
|
+
transform: 'rotateX(-10deg) scale(0.95)',
|
|
190
|
+
opacity: '0'
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
'fade-in': {
|
|
194
|
+
'0%': { opacity: '0' },
|
|
195
|
+
'100%': { opacity: '1' }
|
|
196
|
+
},
|
|
197
|
+
'fade-out': {
|
|
198
|
+
'0%': { opacity: '1' },
|
|
199
|
+
'100%': { opacity: '0' }
|
|
200
|
+
},
|
|
201
|
+
// Toast
|
|
202
|
+
'toast-hide': {
|
|
203
|
+
'0%': { opacity: '1' },
|
|
204
|
+
'100%': { opacity: '0' }
|
|
205
|
+
},
|
|
206
|
+
'toast-slide-in-right': {
|
|
207
|
+
'0%': { transform: 'translateX(calc(100% + 1rem))' },
|
|
208
|
+
'100%': { transform: 'translateX(0)' }
|
|
209
|
+
},
|
|
210
|
+
'toast-slide-in-bottom': {
|
|
211
|
+
'0%': { transform: 'translateY(calc(100% + 1rem))' },
|
|
212
|
+
'100%': { transform: 'translateY(0)' }
|
|
213
|
+
},
|
|
214
|
+
'toast-swipe-out': {
|
|
215
|
+
'0%': {
|
|
216
|
+
transform: 'translateX(var(--radix-toast-swipe-end-x))'
|
|
217
|
+
},
|
|
218
|
+
'100%': {
|
|
219
|
+
transform: 'translateX(calc(100% + 1rem))'
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
animation: {
|
|
224
|
+
// Dropdown menu
|
|
225
|
+
'scale-in': 'scale-in 0.2s ease-in-out',
|
|
226
|
+
'slide-down': 'slide-down 0.6s cubic-bezier(0.16, 1, 0.3, 1)',
|
|
227
|
+
'slide-up': 'slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1)',
|
|
228
|
+
// Tooltip
|
|
229
|
+
'slide-up-fade': 'slide-up-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)',
|
|
230
|
+
'slide-right-fade': 'slide-right-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)',
|
|
231
|
+
'slide-down-fade': 'slide-down-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)',
|
|
232
|
+
'slide-left-fade': 'slide-left-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)',
|
|
233
|
+
// Navigation menu
|
|
234
|
+
'enter-from-right': 'enter-from-right 0.25s ease',
|
|
235
|
+
'enter-from-left': 'enter-from-left 0.25s ease',
|
|
236
|
+
'exit-to-right': 'exit-to-right 0.25s ease',
|
|
237
|
+
'exit-to-left': 'exit-to-left 0.25s ease',
|
|
238
|
+
'scale-in-content': 'scale-in-content 0.2s ease',
|
|
239
|
+
'scale-out-content': 'scale-out-content 0.2s ease',
|
|
240
|
+
'fade-in': 'fade-in 0.2s ease',
|
|
241
|
+
'fade-out': 'fade-out 0.2s ease',
|
|
242
|
+
// Toast
|
|
243
|
+
'toast-hide': 'toast-hide 100ms ease-in forwards',
|
|
244
|
+
'toast-slide-in-right': 'toast-slide-in-right 150ms cubic-bezier(0.16, 1, 0.3, 1)',
|
|
245
|
+
'toast-slide-in-bottom': 'toast-slide-in-bottom 150ms cubic-bezier(0.16, 1, 0.3, 1)',
|
|
246
|
+
'toast-swipe-out': 'toast-swipe-out 100ms ease-out forwards'
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
plugins: [tailwindcss_logical_1.default, forms_1.default, (0, tailwindcss_radix_1.default)()],
|
|
251
|
+
...(env.mode === 'development' && { mode: 'jit' }),
|
|
252
|
+
content: [(0, path_1.resolve)(root || './', 'node_modules/@dxos/react-ui/dist/**/*.js'), ...config.content]
|
|
253
|
+
}),
|
|
254
|
+
autoprefixer_1.default
|
|
255
|
+
]
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
};
|
|
259
|
+
},
|
|
260
|
+
resolveId: (id) => {
|
|
261
|
+
if (id === config.virtualFileId) {
|
|
262
|
+
return config.cssPath;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
exports.themePlugin = themePlugin;
|
|
268
|
+
//# sourceMappingURL=plugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../src/plugin.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,+DAAkD;AAClD,gEAAwC;AACxC,+BAA+B;AAC/B,8DAAsC;AACtC,8EAAqD;AACrD,0EAAiD;AACjD,gEAAgD;AAChD,oGAAoE;AAU7D,MAAM,WAAW,GAAG,CAAC,OAAkC,EAAE,EAAE;IAChE,MAAM,MAAM,GAA8B;QACxC,GAAG,EAAE,IAAI;QACT,OAAO,EAAE,IAAA,cAAO,EAAC,SAAS,EAAE,aAAa,CAAC;QAC1C,aAAa,EAAE,YAAY;QAC3B,GAAG,OAAO;KACX,CAAC;IAEF,OAAO;QACL,IAAI,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"file":"Elevation.d.ts","sourceRoot":"","sources":["../../../src/props/Elevation.ts"],"names":[],"mappings":"AAIA,oBAAY,SAAS,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Elevation.js","sourceRoot":"","sources":["../../../src/props/Elevation.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageValence.d.ts","sourceRoot":"","sources":["../../../src/props/MessageValence.ts"],"names":[],"mappings":"AAIA,oBAAY,cAAc,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageValence.js","sourceRoot":"","sources":["../../../src/props/MessageValence.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Size.d.ts","sourceRoot":"","sources":["../../../src/props/Size.ts"],"names":[],"mappings":"AAIA,oBAAY,IAAI,GACZ,CAAC,GACD,IAAI,GACJ,GAAG,GACH,CAAC,GACD,GAAG,GACH,CAAC,GACD,GAAG,GACH,CAAC,GACD,GAAG,GACH,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Size.js","sourceRoot":"","sources":["../../../src/props/Size.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/props/index.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//
|
|
3
|
+
// Copyright 2022 DXOS.org
|
|
4
|
+
//
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
17
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
__exportStar(require("./Elevation"), exports);
|
|
21
|
+
__exportStar(require("./MessageValence"), exports);
|
|
22
|
+
__exportStar(require("./Size"), exports);
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/props/index.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;AAEF,8CAA4B;AAC5B,mDAAiC;AACjC,yCAAuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"active.d.ts","sourceRoot":"","sources":["../../../src/styles/active.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa,QAIzB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//
|
|
3
|
+
// Copyright 2022 DXOS.org
|
|
4
|
+
//
|
|
5
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.defaultActive = void 0;
|
|
10
|
+
const classnames_1 = __importDefault(require("classnames"));
|
|
11
|
+
exports.defaultActive = (0, classnames_1.default)('radix-state-open:outline-2 radix-state-open:outline-offset-1 radix-state-open:outline-primary-300 radix-state-open:outline-offset-transparent dark:radix-state-open:outline-primary-400 dark:radix-state-open:outline-offset-transparent', 'radix-state-on:outline-2 radix-state-on:outline-offset-1 radix-state-on:outline-primary-300 radix-state-on:outline-offset-transparent dark:radix-state-on:outline-primary-400 dark:radix-state-on:outline-offset-transparent', 'radix-state-instant-open:outline-2 radix-state-instant-open:outline-offset-1 radix-state-instant-open:outline-primary-300 radix-state-instant-open:outline-offset-transparent dark:radix-state-instant-open:outline-primary-400 dark:radix-state-instant-open:outline-offset-transparent');
|
|
12
|
+
//# sourceMappingURL=active.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"active.js","sourceRoot":"","sources":["../../../src/styles/active.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,4DAA4B;AAEf,QAAA,aAAa,GAAG,IAAA,oBAAE,EAC7B,0OAA0O,EAC1O,8NAA8N,EAC9N,0RAA0R,CAC3R,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"disabled.d.ts","sourceRoot":"","sources":["../../../src/styles/disabled.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe,8CAA8C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"disabled.js","sourceRoot":"","sources":["../../../src/styles/disabled.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;AAEW,QAAA,eAAe,GAAG,2CAA2C,CAAC"}
|