ownui-system 0.0.2 → 0.0.4
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 +64 -1
- package/package.json +2 -2
- package/dist/App.d.ts +0 -2
- package/dist/components/Accordion/Accordion.stories.d.ts +0 -23
- package/dist/components/Accordion/accordion-body.d.ts +0 -6
- package/dist/components/Accordion/accordion-context.d.ts +0 -16
- package/dist/components/Accordion/accordion-header.d.ts +0 -9
- package/dist/components/Accordion/accordion-item.d.ts +0 -11
- package/dist/components/Accordion/accordion-style.d.ts +0 -10
- package/dist/components/Accordion/accordion.d.ts +0 -12
- package/dist/components/Accordion/accortion-transition.d.ts +0 -24
- package/dist/components/Accordion/index.d.ts +0 -2
- package/dist/components/Badge/Badge.stories.d.ts +0 -14
- package/dist/components/Badge/Badge.style.d.ts +0 -26
- package/dist/components/Badge/badge-transition.d.ts +0 -18
- package/dist/components/Badge/index.d.ts +0 -13
- package/dist/components/BottomSheet/bottomsheet-body.d.ts +0 -7
- package/dist/components/BottomSheet/bottomsheet-contents.d.ts +0 -3
- package/dist/components/BottomSheet/bottomsheet-context.d.ts +0 -14
- package/dist/components/BottomSheet/bottomsheet-header.d.ts +0 -3
- package/dist/components/BottomSheet/bottomsheet-transition.d.ts +0 -23
- package/dist/components/BottomSheet/bottomsheet.d.ts +0 -14
- package/dist/components/BottomSheet/index.d.ts +0 -1
- package/dist/components/Button/Button.stories.d.ts +0 -43
- package/dist/components/Button/Button.style.d.ts +0 -40
- package/dist/components/Button/index.d.ts +0 -12
- package/dist/components/Checkbox/Checkbox.stories.d.ts +0 -30
- package/dist/components/Checkbox/Checkbox.style.d.ts +0 -28
- package/dist/components/Checkbox/CheckboxIcon.d.ts +0 -6
- package/dist/components/Checkbox/index.d.ts +0 -17
- package/dist/components/Dimmed/Dimmed.style.d.ts +0 -3
- package/dist/components/Dimmed/index.d.ts +0 -10
- package/dist/components/Divider/Divider.stories.d.ts +0 -19
- package/dist/components/Divider/index.d.ts +0 -8
- package/dist/components/Drawer/Drawer.stories.d.ts +0 -36
- package/dist/components/Drawer/DrawerStyle.d.ts +0 -7
- package/dist/components/Drawer/drawer-content.d.ts +0 -8
- package/dist/components/Drawer/drawer-context.d.ts +0 -19
- package/dist/components/Drawer/drawer-transition.d.ts +0 -64
- package/dist/components/Drawer/drawer.d.ts +0 -14
- package/dist/components/Drawer/hook/useDrawer.d.ts +0 -20
- package/dist/components/Drawer/index.d.ts +0 -2
- package/dist/components/Dropdown/Dropdown.stories.d.ts +0 -12
- package/dist/components/Dropdown/dropdown-body.d.ts +0 -7
- package/dist/components/Dropdown/dropdown-content.d.ts +0 -6
- package/dist/components/Dropdown/dropdown-context.d.ts +0 -15
- package/dist/components/Dropdown/dropdown-item.d.ts +0 -9
- package/dist/components/Dropdown/dropdown-transition.d.ts +0 -20
- package/dist/components/Dropdown/dropdown-trigger.d.ts +0 -6
- package/dist/components/Dropdown/dropdown.d.ts +0 -10
- package/dist/components/Dropdown/hook/useDropdown.d.ts +0 -17
- package/dist/components/Dropdown/index.d.ts +0 -3
- package/dist/components/Input/Input.stories.d.ts +0 -37
- package/dist/components/Input/Input.style.d.ts +0 -7
- package/dist/components/Input/index.d.ts +0 -9
- package/dist/components/Modal/Modal.stories.d.ts +0 -12
- package/dist/components/Modal/hook/useModal.d.ts +0 -24
- package/dist/components/Modal/index.d.ts +0 -5
- package/dist/components/Modal/modal-body.d.ts +0 -6
- package/dist/components/Modal/modal-content.d.ts +0 -8
- package/dist/components/Modal/modal-context.d.ts +0 -22
- package/dist/components/Modal/modal-footer.d.ts +0 -6
- package/dist/components/Modal/modal-header.d.ts +0 -6
- package/dist/components/Modal/modal-transition.d.ts +0 -46
- package/dist/components/Modal/modal.d.ts +0 -19
- package/dist/components/Popover/Popover.stories.d.ts +0 -32
- package/dist/components/Popover/hook/usePopover.d.ts +0 -38
- package/dist/components/Popover/index.d.ts +0 -3
- package/dist/components/Popover/popover-content.d.ts +0 -6
- package/dist/components/Popover/popover-context.d.ts +0 -20
- package/dist/components/Popover/popover-transition.d.ts +0 -20
- package/dist/components/Popover/popover-trigger.d.ts +0 -3
- package/dist/components/Popover/popover.d.ts +0 -29
- package/dist/components/Skeleton/index.d.ts +0 -10
- package/dist/components/Tab/Tab.stories.d.ts +0 -16
- package/dist/components/Tab/Tab.style.d.ts +0 -29
- package/dist/components/Tab/index.d.ts +0 -9
- package/dist/components/Tab/tab-context.d.ts +0 -13
- package/dist/components/Tab/tab-group.d.ts +0 -9
- package/dist/components/Text/index.d.ts +0 -10
- package/dist/components/TextArea/TextArea.stories.d.ts +0 -33
- package/dist/components/TextArea/TextArea.style.d.ts +0 -6
- package/dist/components/TextArea/index.d.ts +0 -10
- package/dist/components/TextField/TextField.stories.d.ts +0 -30
- package/dist/components/TextField/index.d.ts +0 -10
- package/dist/components/index.d.ts +0 -18
- package/dist/components/shared/Flex.d.ts +0 -13
- package/dist/components/shared/Portal.d.ts +0 -9
- package/dist/components/shared/Spacing.d.ts +0 -6
- package/dist/hooks/index.d.ts +0 -4
- package/dist/hooks/useClickOutSideEffect.d.ts +0 -3
- package/dist/hooks/useDomRef.d.ts +0 -4
- package/dist/hooks/useIsomorphicLayoutEffect.d.ts +0 -7
- package/dist/hooks/useMounted.d.ts +0 -2
- package/dist/index.d.ts +0 -5
- package/dist/main.d.ts +0 -0
- package/dist/ownui-system.js +0 -6678
- package/dist/ownui-system.js.map +0 -1
- package/dist/ownui-system.umd.cjs +0 -36
- package/dist/ownui-system.umd.cjs.map +0 -1
- package/dist/styles/colors.d.ts +0 -38
- package/dist/styles/typography.d.ts +0 -173
- package/dist/types/index.d.ts +0 -6
package/dist/styles/colors.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export declare const colors: {
|
|
2
|
-
white: string;
|
|
3
|
-
gray50: string;
|
|
4
|
-
gray100: string;
|
|
5
|
-
gray200: string;
|
|
6
|
-
gray300: string;
|
|
7
|
-
gray400: string;
|
|
8
|
-
gray500: string;
|
|
9
|
-
gray600: string;
|
|
10
|
-
gray700: string;
|
|
11
|
-
gray800: string;
|
|
12
|
-
gray900: string;
|
|
13
|
-
black: string;
|
|
14
|
-
red100: string;
|
|
15
|
-
red200: string;
|
|
16
|
-
red300: string;
|
|
17
|
-
"dark-red100": string;
|
|
18
|
-
"dark-red200": string;
|
|
19
|
-
"dark-red300": string;
|
|
20
|
-
green100: string;
|
|
21
|
-
green200: string;
|
|
22
|
-
green300: string;
|
|
23
|
-
"dark-green100": string;
|
|
24
|
-
"dark-green200": string;
|
|
25
|
-
"dark-green300": string;
|
|
26
|
-
yellow100: string;
|
|
27
|
-
yellow200: string;
|
|
28
|
-
yellow300: string;
|
|
29
|
-
"dark-yellow100": string;
|
|
30
|
-
"dark-yellow200": string;
|
|
31
|
-
"dark-yellow300": string;
|
|
32
|
-
orange: string;
|
|
33
|
-
blue: string;
|
|
34
|
-
purple: string;
|
|
35
|
-
plum: string;
|
|
36
|
-
pink: string;
|
|
37
|
-
};
|
|
38
|
-
export type Colors = keyof typeof colors;
|
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
export type Typography = keyof typeof typographyMap;
|
|
2
|
-
export declare const typographyMap: {
|
|
3
|
-
display1: string;
|
|
4
|
-
display2: string;
|
|
5
|
-
heading1: string;
|
|
6
|
-
heading2: string;
|
|
7
|
-
heading3: string;
|
|
8
|
-
heading4: string;
|
|
9
|
-
heading5: string;
|
|
10
|
-
heading6: string;
|
|
11
|
-
heading7: string;
|
|
12
|
-
heading8: string;
|
|
13
|
-
"body-600-1": string;
|
|
14
|
-
"body-600-2": string;
|
|
15
|
-
"body-600-3": string;
|
|
16
|
-
"body-600-4": string;
|
|
17
|
-
"body-600-5": string;
|
|
18
|
-
"body-600-6": string;
|
|
19
|
-
"body-600-7": string;
|
|
20
|
-
"body-400-1": string;
|
|
21
|
-
"body-400-2": string;
|
|
22
|
-
"body-400-3": string;
|
|
23
|
-
"body-400-4": string;
|
|
24
|
-
"body-400-5": string;
|
|
25
|
-
"body-400-6": string;
|
|
26
|
-
"body-400-7": string;
|
|
27
|
-
};
|
|
28
|
-
export declare const twTypographyMap: {
|
|
29
|
-
".text-display1": {
|
|
30
|
-
fontSize: string;
|
|
31
|
-
fontWeight: number;
|
|
32
|
-
lineHeight: string;
|
|
33
|
-
letterSpacing: string;
|
|
34
|
-
};
|
|
35
|
-
".text-display2": {
|
|
36
|
-
fontSize: string;
|
|
37
|
-
fontWeight: number;
|
|
38
|
-
lineHeight: string;
|
|
39
|
-
letterSpacing: string;
|
|
40
|
-
};
|
|
41
|
-
".text-heading1": {
|
|
42
|
-
fontSize: string;
|
|
43
|
-
fontWeight: number;
|
|
44
|
-
lineHeight: string;
|
|
45
|
-
letterSpacing: string;
|
|
46
|
-
};
|
|
47
|
-
".text-heading2": {
|
|
48
|
-
fontSize: string;
|
|
49
|
-
fontWeight: number;
|
|
50
|
-
lineHeight: string;
|
|
51
|
-
letterSpacing: string;
|
|
52
|
-
};
|
|
53
|
-
".text-heading3": {
|
|
54
|
-
fontSize: string;
|
|
55
|
-
fontWeight: number;
|
|
56
|
-
lineHeight: string;
|
|
57
|
-
letterSpacing: string;
|
|
58
|
-
};
|
|
59
|
-
".text-heading4": {
|
|
60
|
-
fontSize: string;
|
|
61
|
-
fontWeight: number;
|
|
62
|
-
lineHeight: string;
|
|
63
|
-
letterSpacing: string;
|
|
64
|
-
};
|
|
65
|
-
".text-heading5": {
|
|
66
|
-
fontSize: string;
|
|
67
|
-
fontWeight: number;
|
|
68
|
-
lineHeight: string;
|
|
69
|
-
letterSpacing: string;
|
|
70
|
-
};
|
|
71
|
-
".text-heading6": {
|
|
72
|
-
fontSize: string;
|
|
73
|
-
fontWeight: number;
|
|
74
|
-
lineHeight: string;
|
|
75
|
-
letterSpacing: string;
|
|
76
|
-
};
|
|
77
|
-
".text-heading7": {
|
|
78
|
-
fontSize: string;
|
|
79
|
-
fontWeight: number;
|
|
80
|
-
lineHeight: string;
|
|
81
|
-
letterSpacing: string;
|
|
82
|
-
};
|
|
83
|
-
".text-heading8": {
|
|
84
|
-
fontSize: string;
|
|
85
|
-
fontWeight: number;
|
|
86
|
-
lineHeight: string;
|
|
87
|
-
letterSpacing: string;
|
|
88
|
-
};
|
|
89
|
-
".text-body-600-1": {
|
|
90
|
-
fontSize: string;
|
|
91
|
-
fontWeight: number;
|
|
92
|
-
lineHeight: string;
|
|
93
|
-
letterSpacing: string;
|
|
94
|
-
};
|
|
95
|
-
".text-body-600-2": {
|
|
96
|
-
fontSize: string;
|
|
97
|
-
fontWeight: number;
|
|
98
|
-
lineHeight: string;
|
|
99
|
-
letterSpacing: string;
|
|
100
|
-
};
|
|
101
|
-
".text-body-600-3": {
|
|
102
|
-
fontSize: string;
|
|
103
|
-
fontWeight: number;
|
|
104
|
-
lineHeight: string;
|
|
105
|
-
letterSpacing: string;
|
|
106
|
-
};
|
|
107
|
-
".text-body-600-4": {
|
|
108
|
-
fontSize: string;
|
|
109
|
-
fontWeight: number;
|
|
110
|
-
lineHeight: string;
|
|
111
|
-
letterSpacing: string;
|
|
112
|
-
};
|
|
113
|
-
".text-body-600-5": {
|
|
114
|
-
fontSize: string;
|
|
115
|
-
fontWeight: number;
|
|
116
|
-
lineHeight: string;
|
|
117
|
-
letterSpacing: string;
|
|
118
|
-
};
|
|
119
|
-
".text-body-600-6": {
|
|
120
|
-
fontSize: string;
|
|
121
|
-
fontWeight: number;
|
|
122
|
-
lineHeight: string;
|
|
123
|
-
letterSpacing: string;
|
|
124
|
-
};
|
|
125
|
-
".text-body-600-7": {
|
|
126
|
-
fontSize: string;
|
|
127
|
-
fontWeight: number;
|
|
128
|
-
lineHeight: string;
|
|
129
|
-
letterSpacing: string;
|
|
130
|
-
};
|
|
131
|
-
".text-body-400-1": {
|
|
132
|
-
fontSize: string;
|
|
133
|
-
fontWeight: number;
|
|
134
|
-
lineHeight: string;
|
|
135
|
-
letterSpacing: string;
|
|
136
|
-
};
|
|
137
|
-
".text-body-400-2": {
|
|
138
|
-
fontSize: string;
|
|
139
|
-
fontWeight: number;
|
|
140
|
-
lineHeight: string;
|
|
141
|
-
letterSpacing: string;
|
|
142
|
-
};
|
|
143
|
-
".text-body-400-3": {
|
|
144
|
-
fontSize: string;
|
|
145
|
-
fontWeight: number;
|
|
146
|
-
lineHeight: string;
|
|
147
|
-
letterSpacing: string;
|
|
148
|
-
};
|
|
149
|
-
".text-body-400-4": {
|
|
150
|
-
fontSize: string;
|
|
151
|
-
fontWeight: number;
|
|
152
|
-
lineHeight: string;
|
|
153
|
-
letterSpacing: string;
|
|
154
|
-
};
|
|
155
|
-
".text-body-400-5": {
|
|
156
|
-
fontSize: string;
|
|
157
|
-
fontWeight: number;
|
|
158
|
-
lineHeight: string;
|
|
159
|
-
letterSpacing: string;
|
|
160
|
-
};
|
|
161
|
-
".text-body-400-6": {
|
|
162
|
-
fontSize: string;
|
|
163
|
-
fontWeight: number;
|
|
164
|
-
lineHeight: string;
|
|
165
|
-
letterSpacing: string;
|
|
166
|
-
};
|
|
167
|
-
".text-body-400-7": {
|
|
168
|
-
fontSize: string;
|
|
169
|
-
fontWeight: number;
|
|
170
|
-
lineHeight: string;
|
|
171
|
-
letterSpacing: string;
|
|
172
|
-
};
|
|
173
|
-
};
|