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.
Files changed (103) hide show
  1. package/README.md +64 -1
  2. package/package.json +2 -2
  3. package/dist/App.d.ts +0 -2
  4. package/dist/components/Accordion/Accordion.stories.d.ts +0 -23
  5. package/dist/components/Accordion/accordion-body.d.ts +0 -6
  6. package/dist/components/Accordion/accordion-context.d.ts +0 -16
  7. package/dist/components/Accordion/accordion-header.d.ts +0 -9
  8. package/dist/components/Accordion/accordion-item.d.ts +0 -11
  9. package/dist/components/Accordion/accordion-style.d.ts +0 -10
  10. package/dist/components/Accordion/accordion.d.ts +0 -12
  11. package/dist/components/Accordion/accortion-transition.d.ts +0 -24
  12. package/dist/components/Accordion/index.d.ts +0 -2
  13. package/dist/components/Badge/Badge.stories.d.ts +0 -14
  14. package/dist/components/Badge/Badge.style.d.ts +0 -26
  15. package/dist/components/Badge/badge-transition.d.ts +0 -18
  16. package/dist/components/Badge/index.d.ts +0 -13
  17. package/dist/components/BottomSheet/bottomsheet-body.d.ts +0 -7
  18. package/dist/components/BottomSheet/bottomsheet-contents.d.ts +0 -3
  19. package/dist/components/BottomSheet/bottomsheet-context.d.ts +0 -14
  20. package/dist/components/BottomSheet/bottomsheet-header.d.ts +0 -3
  21. package/dist/components/BottomSheet/bottomsheet-transition.d.ts +0 -23
  22. package/dist/components/BottomSheet/bottomsheet.d.ts +0 -14
  23. package/dist/components/BottomSheet/index.d.ts +0 -1
  24. package/dist/components/Button/Button.stories.d.ts +0 -43
  25. package/dist/components/Button/Button.style.d.ts +0 -40
  26. package/dist/components/Button/index.d.ts +0 -12
  27. package/dist/components/Checkbox/Checkbox.stories.d.ts +0 -30
  28. package/dist/components/Checkbox/Checkbox.style.d.ts +0 -28
  29. package/dist/components/Checkbox/CheckboxIcon.d.ts +0 -6
  30. package/dist/components/Checkbox/index.d.ts +0 -17
  31. package/dist/components/Dimmed/Dimmed.style.d.ts +0 -3
  32. package/dist/components/Dimmed/index.d.ts +0 -10
  33. package/dist/components/Divider/Divider.stories.d.ts +0 -19
  34. package/dist/components/Divider/index.d.ts +0 -8
  35. package/dist/components/Drawer/Drawer.stories.d.ts +0 -36
  36. package/dist/components/Drawer/DrawerStyle.d.ts +0 -7
  37. package/dist/components/Drawer/drawer-content.d.ts +0 -8
  38. package/dist/components/Drawer/drawer-context.d.ts +0 -19
  39. package/dist/components/Drawer/drawer-transition.d.ts +0 -64
  40. package/dist/components/Drawer/drawer.d.ts +0 -14
  41. package/dist/components/Drawer/hook/useDrawer.d.ts +0 -20
  42. package/dist/components/Drawer/index.d.ts +0 -2
  43. package/dist/components/Dropdown/Dropdown.stories.d.ts +0 -12
  44. package/dist/components/Dropdown/dropdown-body.d.ts +0 -7
  45. package/dist/components/Dropdown/dropdown-content.d.ts +0 -6
  46. package/dist/components/Dropdown/dropdown-context.d.ts +0 -15
  47. package/dist/components/Dropdown/dropdown-item.d.ts +0 -9
  48. package/dist/components/Dropdown/dropdown-transition.d.ts +0 -20
  49. package/dist/components/Dropdown/dropdown-trigger.d.ts +0 -6
  50. package/dist/components/Dropdown/dropdown.d.ts +0 -10
  51. package/dist/components/Dropdown/hook/useDropdown.d.ts +0 -17
  52. package/dist/components/Dropdown/index.d.ts +0 -3
  53. package/dist/components/Input/Input.stories.d.ts +0 -37
  54. package/dist/components/Input/Input.style.d.ts +0 -7
  55. package/dist/components/Input/index.d.ts +0 -9
  56. package/dist/components/Modal/Modal.stories.d.ts +0 -12
  57. package/dist/components/Modal/hook/useModal.d.ts +0 -24
  58. package/dist/components/Modal/index.d.ts +0 -5
  59. package/dist/components/Modal/modal-body.d.ts +0 -6
  60. package/dist/components/Modal/modal-content.d.ts +0 -8
  61. package/dist/components/Modal/modal-context.d.ts +0 -22
  62. package/dist/components/Modal/modal-footer.d.ts +0 -6
  63. package/dist/components/Modal/modal-header.d.ts +0 -6
  64. package/dist/components/Modal/modal-transition.d.ts +0 -46
  65. package/dist/components/Modal/modal.d.ts +0 -19
  66. package/dist/components/Popover/Popover.stories.d.ts +0 -32
  67. package/dist/components/Popover/hook/usePopover.d.ts +0 -38
  68. package/dist/components/Popover/index.d.ts +0 -3
  69. package/dist/components/Popover/popover-content.d.ts +0 -6
  70. package/dist/components/Popover/popover-context.d.ts +0 -20
  71. package/dist/components/Popover/popover-transition.d.ts +0 -20
  72. package/dist/components/Popover/popover-trigger.d.ts +0 -3
  73. package/dist/components/Popover/popover.d.ts +0 -29
  74. package/dist/components/Skeleton/index.d.ts +0 -10
  75. package/dist/components/Tab/Tab.stories.d.ts +0 -16
  76. package/dist/components/Tab/Tab.style.d.ts +0 -29
  77. package/dist/components/Tab/index.d.ts +0 -9
  78. package/dist/components/Tab/tab-context.d.ts +0 -13
  79. package/dist/components/Tab/tab-group.d.ts +0 -9
  80. package/dist/components/Text/index.d.ts +0 -10
  81. package/dist/components/TextArea/TextArea.stories.d.ts +0 -33
  82. package/dist/components/TextArea/TextArea.style.d.ts +0 -6
  83. package/dist/components/TextArea/index.d.ts +0 -10
  84. package/dist/components/TextField/TextField.stories.d.ts +0 -30
  85. package/dist/components/TextField/index.d.ts +0 -10
  86. package/dist/components/index.d.ts +0 -18
  87. package/dist/components/shared/Flex.d.ts +0 -13
  88. package/dist/components/shared/Portal.d.ts +0 -9
  89. package/dist/components/shared/Spacing.d.ts +0 -6
  90. package/dist/hooks/index.d.ts +0 -4
  91. package/dist/hooks/useClickOutSideEffect.d.ts +0 -3
  92. package/dist/hooks/useDomRef.d.ts +0 -4
  93. package/dist/hooks/useIsomorphicLayoutEffect.d.ts +0 -7
  94. package/dist/hooks/useMounted.d.ts +0 -2
  95. package/dist/index.d.ts +0 -5
  96. package/dist/main.d.ts +0 -0
  97. package/dist/ownui-system.js +0 -6678
  98. package/dist/ownui-system.js.map +0 -1
  99. package/dist/ownui-system.umd.cjs +0 -36
  100. package/dist/ownui-system.umd.cjs.map +0 -1
  101. package/dist/styles/colors.d.ts +0 -38
  102. package/dist/styles/typography.d.ts +0 -173
  103. package/dist/types/index.d.ts +0 -6
@@ -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
- };
@@ -1,6 +0,0 @@
1
- declare module "react" {
2
- interface CSSProperties {
3
- [key: `--${string}`]: string | number;
4
- }
5
- }
6
- export type ReactRef<T> = React.RefObject<T> | React.MutableRefObject<T> | React.Ref<T>;