@iota/apps-ui-kit 0.7.0 → 0.7.2
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/CHANGELOG.md +21 -0
- package/dist/index.d.ts +51 -25
- package/dist/index.es.js +2213 -2151
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +10 -10
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -2
- package/src/lib/components/atoms/button/Button.tsx +1 -0
- package/src/lib/components/atoms/button-segment/ButtonSegment.tsx +1 -1
- package/src/lib/components/atoms/checkbox/Checkbox.tsx +0 -1
- package/src/lib/components/atoms/index.ts +1 -0
- package/src/lib/components/atoms/list-item/ListItem.tsx +1 -1
- package/src/lib/components/atoms/radio-button/RadioButton.tsx +1 -1
- package/src/lib/components/atoms/skeleton/Skeleton.tsx +5 -20
- package/src/lib/components/index.ts +0 -2
- package/src/lib/components/molecules/chip/Chip.tsx +51 -17
- package/src/lib/components/molecules/chip/chip.classes.ts +36 -14
- package/src/lib/components/molecules/chip/chip.enums.ts +6 -3
- package/src/lib/components/molecules/input/Input.tsx +34 -17
- package/src/lib/components/molecules/input/TextArea.tsx +5 -4
- package/src/lib/components/molecules/navbar-item/NavbarItem.tsx +0 -1
- package/src/lib/components/molecules/navbar-item/NavbarItemHorizontal.tsx +1 -1
- package/src/lib/components/molecules/navbar-item/NavbarItemVertical.tsx +1 -1
- package/src/lib/components/molecules/select/Select.tsx +24 -4
- package/src/lib/components/organisms/dialog/Dialog.tsx +37 -22
- package/src/lib/constants/colors.constants.ts +12 -5
- package/src/lib/enums/index.ts +1 -0
- package/src/lib/enums/theme.enums.ts +8 -0
- package/src/lib/index.ts +2 -0
- package/src/lib/styles/base.css +40 -0
- package/src/lib/styles/components.css +52 -4
- package/src/lib/styles/index.css +4 -753
- package/src/lib/styles/utilities.css +11 -3
- package/src/lib/styles/variables/dark-variables.css +262 -0
- package/src/lib/styles/variables/general-variables.css +9 -0
- package/src/lib/styles/variables/light-variables.css +276 -0
- package/src/lib/styles/variables/names-variables.css +270 -0
- package/src/lib/tailwind/base.presets.ts +4 -0
- package/src/lib/tailwind/constants/gradients.constants.ts +6 -0
- package/src/storybook/blocks/TypeSet.tsx +3 -3
- package/src/storybook/constants/gradients.constants.ts +8 -0
- package/src/storybook/helpers/formatGradientNames.ts +15 -0
- package/src/storybook/stories/atoms/Skeleton.stories.tsx +5 -5
- package/src/storybook/stories/components/DocsSyncTheme.tsx +20 -0
- package/src/storybook/stories/components/index.ts +1 -0
- package/src/storybook/stories/design-tokens/colors.stories.mdx +12 -0
- package/src/storybook/stories/design-tokens/icons.stories.mdx +2 -0
- package/src/storybook/stories/design-tokens/typeset.stories.mdx +2 -0
- package/src/storybook/stories/design-tokens/variable-spacing.stories.mdx +2 -1
- package/src/storybook/stories/molecules/Chip.stories.tsx +5 -0
- package/src/storybook/stories/molecules/Input.stories.tsx +79 -2
- package/src/storybook/stories/organisms/Dialog.stories.tsx +54 -28
|
@@ -63,36 +63,62 @@ export const RightDialog: Story = {
|
|
|
63
63
|
<Button size={ButtonSize.Small} text="Open Dialog" onClick={() => setOpen(true)} />
|
|
64
64
|
<Dialog open={open} onOpenChange={setOpen}>
|
|
65
65
|
<DialogContent showCloseOnOverlay position={DialogPosition.Right}>
|
|
66
|
-
<
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
<
|
|
74
|
-
<
|
|
75
|
-
<div className="
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
66
|
+
<Header
|
|
67
|
+
title="Connect Ledger Wallet"
|
|
68
|
+
titleCentered
|
|
69
|
+
onClose={() => setOpen(false)}
|
|
70
|
+
onBack={() => setOpen(false)}
|
|
71
|
+
/>
|
|
72
|
+
<div className="flex h-full w-full flex-col items-center justify-center">
|
|
73
|
+
<DialogBody>
|
|
74
|
+
<div className="flex flex-col items-center gap-2">
|
|
75
|
+
<div className="mt-4.5">Logo</div>
|
|
76
|
+
<div className="mt-4.5 break-words text-center">
|
|
77
|
+
Connect your ledger to your computer, unlock it, and launch
|
|
78
|
+
the IOTA app. Click Continue when done.
|
|
79
|
+
</div>
|
|
80
|
+
<div className="mt-4.5"> Need more help? View tutorial.</div>
|
|
81
|
+
</div>
|
|
82
|
+
</DialogBody>
|
|
83
|
+
<div className="flex w-full flex-row justify-center gap-2 px-md--rs pb-md--rs pt-sm--rs">
|
|
84
|
+
<Button
|
|
85
|
+
size={ButtonSize.Small}
|
|
86
|
+
type={ButtonType.Outlined}
|
|
87
|
+
text="Cancel"
|
|
88
|
+
onClick={() => setOpen(false)}
|
|
89
|
+
/>
|
|
90
|
+
<Button size={ButtonSize.Small} text="Connect" />
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
</DialogContent>
|
|
94
|
+
</Dialog>
|
|
95
|
+
<Dialog open={open} onOpenChange={setOpen}>
|
|
96
|
+
<DialogContent showCloseOnOverlay position={DialogPosition.Right}>
|
|
97
|
+
<Header
|
|
98
|
+
title="Connect Ledger Wallet"
|
|
99
|
+
titleCentered
|
|
100
|
+
onClose={() => setOpen(false)}
|
|
101
|
+
onBack={() => setOpen(false)}
|
|
102
|
+
/>
|
|
103
|
+
<div className="flex h-full w-full flex-col items-center justify-center">
|
|
104
|
+
<DialogBody>
|
|
105
|
+
<div className="flex flex-col items-center gap-2">
|
|
106
|
+
<div className="mt-4.5">Logo</div>
|
|
107
|
+
<div className="mt-4.5 break-words text-center">
|
|
108
|
+
Connect your ledger to your computer, unlock it, and launch
|
|
109
|
+
the IOTA app. Click Continue when done.
|
|
85
110
|
</div>
|
|
86
|
-
|
|
87
|
-
<div className="flex w-full flex-row justify-center gap-2 px-md--rs pb-md--rs pt-sm--rs">
|
|
88
|
-
<Button
|
|
89
|
-
size={ButtonSize.Small}
|
|
90
|
-
type={ButtonType.Outlined}
|
|
91
|
-
text="Cancel"
|
|
92
|
-
onClick={() => setOpen(false)}
|
|
93
|
-
/>
|
|
94
|
-
<Button size={ButtonSize.Small} text="Connect" />
|
|
111
|
+
<div className="mt-4.5"> Need more help? View tutorial.</div>
|
|
95
112
|
</div>
|
|
113
|
+
</DialogBody>
|
|
114
|
+
<div className="flex w-full flex-row justify-center gap-2 px-md--rs pb-md--rs pt-sm--rs">
|
|
115
|
+
<Button
|
|
116
|
+
size={ButtonSize.Small}
|
|
117
|
+
type={ButtonType.Outlined}
|
|
118
|
+
text="Cancel"
|
|
119
|
+
onClick={() => setOpen(false)}
|
|
120
|
+
/>
|
|
121
|
+
<Button size={ButtonSize.Small} text="Connect" />
|
|
96
122
|
</div>
|
|
97
123
|
</div>
|
|
98
124
|
</DialogContent>
|