yukit 0.0.1
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 +24 -0
- package/esm2022/lib/components/avatar/avatar.component.mjs +17 -0
- package/esm2022/lib/components/badge/badge.component.mjs +24 -0
- package/esm2022/lib/components/button/button.component.mjs +27 -0
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +42 -0
- package/esm2022/lib/components/chip/chip.component.mjs +24 -0
- package/esm2022/lib/components/helper/helper.component.mjs +20 -0
- package/esm2022/lib/components/icon/icon.component.mjs +20 -0
- package/esm2022/lib/components/input/input.component.mjs +46 -0
- package/esm2022/lib/components/list-action/list-action.component.mjs +18 -0
- package/esm2022/lib/components/notice/notice.component.mjs +26 -0
- package/esm2022/lib/components/searchbar/searchbar.component.mjs +36 -0
- package/esm2022/lib/components/tag/tag.component.mjs +27 -0
- package/esm2022/lib/components/textarea/textarea.component.mjs +50 -0
- package/esm2022/lib/components/toggle/toggle.component.mjs +39 -0
- package/esm2022/lib/interface/color.interface.mjs +2 -0
- package/esm2022/lib/interface/input-mode.interface.mjs +2 -0
- package/esm2022/lib/interface/input-type.interface.mjs +2 -0
- package/esm2022/lib/interface/size.interface.mjs +2 -0
- package/esm2022/lib/yukit.module.mjs +83 -0
- package/esm2022/public-api.mjs +23 -0
- package/esm2022/yukit.mjs +5 -0
- package/fesm2022/yukit.mjs +439 -0
- package/fesm2022/yukit.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/avatar/avatar.component.d.ts +6 -0
- package/lib/components/badge/badge.component.d.ts +9 -0
- package/lib/components/button/button.component.d.ts +12 -0
- package/lib/components/checkbox/checkbox.component.d.ts +15 -0
- package/lib/components/chip/chip.component.d.ts +9 -0
- package/lib/components/helper/helper.component.d.ts +8 -0
- package/lib/components/icon/icon.component.d.ts +8 -0
- package/lib/components/input/input.component.d.ts +19 -0
- package/lib/components/list-action/list-action.component.d.ts +7 -0
- package/lib/components/notice/notice.component.d.ts +10 -0
- package/lib/components/searchbar/searchbar.component.d.ts +13 -0
- package/lib/components/tag/tag.component.d.ts +10 -0
- package/lib/components/textarea/textarea.component.d.ts +21 -0
- package/lib/components/toggle/toggle.component.d.ts +14 -0
- package/lib/interface/color.interface.d.ts +1 -0
- package/lib/interface/input-mode.interface.d.ts +1 -0
- package/lib/interface/input-type.interface.d.ts +1 -0
- package/lib/interface/size.interface.d.ts +1 -0
- package/lib/yukit.module.d.ts +23 -0
- package/package.json +30 -0
- package/public-api.d.ts +19 -0
- package/src/lib/components/avatar/avatar.component.html +4 -0
- package/src/lib/components/avatar/avatar.component.scss +0 -0
- package/src/lib/components/avatar/avatar.component.ts +9 -0
- package/src/lib/components/badge/badge.component.html +7 -0
- package/src/lib/components/badge/badge.component.scss +27 -0
- package/src/lib/components/badge/badge.component.ts +15 -0
- package/src/lib/components/button/button.component.html +9 -0
- package/src/lib/components/button/button.component.scss +99 -0
- package/src/lib/components/button/button.component.ts +16 -0
- package/src/lib/components/checkbox/checkbox.component.html +13 -0
- package/src/lib/components/checkbox/checkbox.component.scss +23 -0
- package/src/lib/components/checkbox/checkbox.component.ts +20 -0
- package/src/lib/components/chip/chip.component.html +11 -0
- package/src/lib/components/chip/chip.component.scss +34 -0
- package/src/lib/components/chip/chip.component.ts +12 -0
- package/src/lib/components/helper/helper.component.html +7 -0
- package/src/lib/components/helper/helper.component.scss +19 -0
- package/src/lib/components/helper/helper.component.ts +11 -0
- package/src/lib/components/icon/Phosphor.svg +3056 -0
- package/src/lib/components/icon/Phosphor.ttf +0 -0
- package/src/lib/components/icon/Phosphor.woff +0 -0
- package/src/lib/components/icon/Phosphor.woff2 +0 -0
- package/src/lib/components/icon/icon.component.html +6 -0
- package/src/lib/components/icon/icon.component.scss +4637 -0
- package/src/lib/components/icon/icon.component.ts +12 -0
- package/src/lib/components/input/input.component.html +26 -0
- package/src/lib/components/input/input.component.scss +39 -0
- package/src/lib/components/input/input.component.ts +26 -0
- package/src/lib/components/list-action/list-action.component.html +3 -0
- package/src/lib/components/list-action/list-action.component.scss +21 -0
- package/src/lib/components/list-action/list-action.component.ts +10 -0
- package/src/lib/components/notice/notice.component.html +8 -0
- package/src/lib/components/notice/notice.component.scss +56 -0
- package/src/lib/components/notice/notice.component.ts +13 -0
- package/src/lib/components/searchbar/searchbar.component.html +7 -0
- package/src/lib/components/searchbar/searchbar.component.scss +38 -0
- package/src/lib/components/searchbar/searchbar.component.ts +25 -0
- package/src/lib/components/tag/tag.component.html +10 -0
- package/src/lib/components/tag/tag.component.scss +38 -0
- package/src/lib/components/tag/tag.component.ts +13 -0
- package/src/lib/components/textarea/textarea.component.html +16 -0
- package/src/lib/components/textarea/textarea.component.scss +39 -0
- package/src/lib/components/textarea/textarea.component.ts +29 -0
- package/src/lib/components/toggle/toggle.component.html +12 -0
- package/src/lib/components/toggle/toggle.component.scss +26 -0
- package/src/lib/components/toggle/toggle.component.ts +19 -0
- package/src/lib/interface/color.interface.ts +1 -0
- package/src/lib/interface/input-mode.interface.ts +11 -0
- package/src/lib/interface/input-type.interface.ts +13 -0
- package/src/lib/interface/size.interface.ts +1 -0
- package/src/lib/theme/components/action-sheet.scss +113 -0
- package/src/lib/theme/components/alert.scss +83 -0
- package/src/lib/theme/components/back-button.scss +23 -0
- package/src/lib/theme/components/modal.scss +38 -0
- package/src/lib/theme/components/segment.scss +21 -0
- package/src/lib/theme/components/tabs.scss +48 -0
- package/src/lib/theme/components/toast.scss +41 -0
- package/src/lib/theme/structure/content.scss +58 -0
- package/src/lib/theme/structure/footer.scss +28 -0
- package/src/lib/theme/structure/form.scss +31 -0
- package/src/lib/theme/structure/header.scss +63 -0
- package/src/lib/theme/tokens/colors.scss +106 -0
- package/src/lib/theme/tokens/font/Geist-Variable.woff2 +0 -0
- package/src/lib/theme/tokens/icons.scss +4 -0
- package/src/lib/theme/tokens/radius.scss +14 -0
- package/src/lib/theme/tokens/shadow.scss +32 -0
- package/src/lib/theme/tokens/spacing.scss +40 -0
- package/src/lib/theme/tokens/typography.scss +175 -0
- package/src/lib/yukit.module.ts +48 -0
- package/src/lib/yukit.scss +33 -0
- package/yukit-0.0.1.tgz +0 -0
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: GeistFont;
|
|
3
|
+
src: url("font/Geist-Variable.woff2") format('woff2');
|
|
4
|
+
font-weight: 100 900;
|
|
5
|
+
font-style: normal;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
:root {
|
|
9
|
+
/* Font */
|
|
10
|
+
--ion-font-family: 'GeistFont';
|
|
11
|
+
|
|
12
|
+
/* Display */
|
|
13
|
+
--display-large-size: 64px;
|
|
14
|
+
--display-large-height: 76px;
|
|
15
|
+
--display-large-weight: 500;
|
|
16
|
+
|
|
17
|
+
--display-medium-size: 56px;
|
|
18
|
+
--display-medium-height: 68px;
|
|
19
|
+
--display-medium-weight: 500;
|
|
20
|
+
|
|
21
|
+
--display-small-size: 48px;
|
|
22
|
+
--display-small-height: 56px;
|
|
23
|
+
--display-small-weight: 500;
|
|
24
|
+
|
|
25
|
+
--mobile-display-large-size: 64px;
|
|
26
|
+
--mobile-display-large-height: 76px;
|
|
27
|
+
--mobile-display-large-weight: 500;
|
|
28
|
+
|
|
29
|
+
--mobile-display-medium-size: 56px;
|
|
30
|
+
--mobile-display-medium-height: 68px;
|
|
31
|
+
--mobile-display-medium-weight: 500;
|
|
32
|
+
|
|
33
|
+
--mobile-display-small-size: 48px;
|
|
34
|
+
--mobile-display-small-height: 56px;
|
|
35
|
+
--mobile-display-small-weight: 500;
|
|
36
|
+
|
|
37
|
+
/* Headline */
|
|
38
|
+
--headline-large-size: 40px;
|
|
39
|
+
--headline-large-height: 52px;
|
|
40
|
+
--headline-large-weight: 500;
|
|
41
|
+
|
|
42
|
+
--headline-medium-size: 32px;
|
|
43
|
+
--headline-medium-height: 42px;
|
|
44
|
+
--headline-medium-weight: 500;
|
|
45
|
+
|
|
46
|
+
--headline-small-size: 24px;
|
|
47
|
+
--headline-small-height: 36px;
|
|
48
|
+
--headline-small-weight: 500;
|
|
49
|
+
|
|
50
|
+
--mobile-headline-large-size: 24px;
|
|
51
|
+
--mobile-headline-large-height: 32px;
|
|
52
|
+
--mobile-headline-large-weight: 500;
|
|
53
|
+
|
|
54
|
+
--mobile-headline-medium-size: 20px;
|
|
55
|
+
--mobile-headline-medium-height: 32px;
|
|
56
|
+
--mobile-headline-medium-weight: 500;
|
|
57
|
+
|
|
58
|
+
--mobile-headline-small-size: 18px;
|
|
59
|
+
--mobile-headline-small-height: 26px;
|
|
60
|
+
--mobile-headline-small-weight: 500;
|
|
61
|
+
|
|
62
|
+
/* Title */
|
|
63
|
+
--title-large-size: 18px;
|
|
64
|
+
--title-large-height: 26px;
|
|
65
|
+
--title-large-weight: 600;
|
|
66
|
+
|
|
67
|
+
--title-medium-size: 15px;
|
|
68
|
+
--title-medium-height: 22px;
|
|
69
|
+
--title-medium-weight: 600;
|
|
70
|
+
|
|
71
|
+
--title-small-size: 14px;
|
|
72
|
+
--title-small-height: 20px;
|
|
73
|
+
--title-small-weight: 600;
|
|
74
|
+
|
|
75
|
+
/* Subhead */
|
|
76
|
+
--subhead-large-size: 32px;
|
|
77
|
+
--subhead-large-height: 54px;
|
|
78
|
+
--subhead-large-weight: 500;
|
|
79
|
+
|
|
80
|
+
--subhead-medium-size: 24px;
|
|
81
|
+
--subhead-medium-height: 32px;
|
|
82
|
+
--subhead-medium-weight: 500;
|
|
83
|
+
|
|
84
|
+
--subhead-small-size: 20px;
|
|
85
|
+
--subhead-small-height: 32px;
|
|
86
|
+
--subhead-small-weight: 500;
|
|
87
|
+
|
|
88
|
+
--mobile-subhead-large-size: 22px;
|
|
89
|
+
--mobile-subhead-large-height: 32px;
|
|
90
|
+
--mobile-subhead-large-weight: 500;
|
|
91
|
+
|
|
92
|
+
--mobile-subhead-medium-size: 16px;
|
|
93
|
+
--mobile-subhead-medium-height: 26px;
|
|
94
|
+
--mobile-subhead-medium-weight: 500;
|
|
95
|
+
|
|
96
|
+
--mobile-subhead-small-size: 16px;
|
|
97
|
+
--mobile-subhead-small-height: 26px;
|
|
98
|
+
--mobile-subhead-small-weight: 500;
|
|
99
|
+
|
|
100
|
+
/* Body */
|
|
101
|
+
--body-large-size: 18px;
|
|
102
|
+
--body-large-height: 26px;
|
|
103
|
+
--body-large-weight: normal;
|
|
104
|
+
|
|
105
|
+
--body-medium-size: 16px;
|
|
106
|
+
--body-medium-height: 24px;
|
|
107
|
+
--body-medium-weight: normal;
|
|
108
|
+
|
|
109
|
+
--body-small-size: 14px;
|
|
110
|
+
--body-small-height: 20px;
|
|
111
|
+
--body-small-weight: normal;
|
|
112
|
+
|
|
113
|
+
/* Label */
|
|
114
|
+
--label-large-size: 12px;
|
|
115
|
+
--label-large-height: 16px;
|
|
116
|
+
--label-large-weight: normal;
|
|
117
|
+
|
|
118
|
+
--label-medium-size: 10px;
|
|
119
|
+
--label-medium-height: 14px;
|
|
120
|
+
--label-medium-weight: normal;
|
|
121
|
+
|
|
122
|
+
--label-small-size: 8px;
|
|
123
|
+
--label-small-height: 14px;
|
|
124
|
+
--label-small-weight: normal;
|
|
125
|
+
|
|
126
|
+
/* Body & Label Weight */
|
|
127
|
+
--body-weight-large-size: 18px;
|
|
128
|
+
--body-weight-large-height: 24px;
|
|
129
|
+
--body-weight-large-weight: 500;
|
|
130
|
+
|
|
131
|
+
--body-weight-medium-size: 16px;
|
|
132
|
+
--body-weight-medium-height: 22px;
|
|
133
|
+
--body-weight-medium-weight: 500;
|
|
134
|
+
|
|
135
|
+
--body-weight-small-size: 14px;
|
|
136
|
+
--body-weight-small-height: 20px;
|
|
137
|
+
--body-weight-small-weight: 500;
|
|
138
|
+
|
|
139
|
+
--label-weight-large-size: 14px;
|
|
140
|
+
--label-weight-large-height: 20px;
|
|
141
|
+
--label-weight-large-weight: 500;
|
|
142
|
+
|
|
143
|
+
--label-weight-medium-size: 14px;
|
|
144
|
+
--label-weight-medium-height: 20px;
|
|
145
|
+
--label-weight-medium-weight: 500;
|
|
146
|
+
|
|
147
|
+
--label-weight-small-size: 14px;
|
|
148
|
+
--label-weight-small-height: 20px;
|
|
149
|
+
--label-weight-small-weight: 500;
|
|
150
|
+
|
|
151
|
+
/* Overline */
|
|
152
|
+
--overline-large-size: 20px;
|
|
153
|
+
--overline-large-height: 28px;
|
|
154
|
+
--overline-large-weight: 600;
|
|
155
|
+
--overline-large-spacing: 2px;
|
|
156
|
+
--overline-large-transform: uppercase;
|
|
157
|
+
|
|
158
|
+
--overline-medium-size: 16px;
|
|
159
|
+
--overline-medium-height: 24px;
|
|
160
|
+
--overline-medium-weight: 600;
|
|
161
|
+
--overline-medium-spacing: 2px;
|
|
162
|
+
--overline-medium-transform: uppercase;
|
|
163
|
+
|
|
164
|
+
--overline-small-size: 12px;
|
|
165
|
+
--overline-small-height: 18px;
|
|
166
|
+
--overline-small-weight: 600;
|
|
167
|
+
--overline-small-spacing: 2px;
|
|
168
|
+
--overline-small-transform: uppercase;
|
|
169
|
+
|
|
170
|
+
/* Link */
|
|
171
|
+
--link-small-size: 16px;
|
|
172
|
+
--link-small-height: 22px;
|
|
173
|
+
--link-small-weight: normal;
|
|
174
|
+
--link-small-decoration: underline;
|
|
175
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import {NgModule} from '@angular/core';
|
|
2
|
+
import {CommonModule} from '@angular/common';
|
|
3
|
+
import {FormsModule} from '@angular/forms';
|
|
4
|
+
import {IonicModule} from '@ionic/angular';
|
|
5
|
+
|
|
6
|
+
import {IconComponent} from './components/icon/icon.component';
|
|
7
|
+
import {TagComponent} from './components/tag/tag.component';
|
|
8
|
+
import {BadgeComponent} from './components/badge/badge.component';
|
|
9
|
+
import {ChipComponent} from './components/chip/chip.component';
|
|
10
|
+
import {HelperComponent} from './components/helper/helper.component';
|
|
11
|
+
import {InputComponent} from './components/input/input.component';
|
|
12
|
+
import {ButtonComponent} from './components/button/button.component';
|
|
13
|
+
import {CheckboxComponent} from './components/checkbox/checkbox.component';
|
|
14
|
+
import {SearchbarComponent} from './components/searchbar/searchbar.component';
|
|
15
|
+
import {ToggleComponent} from './components/toggle/toggle.component';
|
|
16
|
+
import {TextareaComponent} from './components/textarea/textarea.component';
|
|
17
|
+
import {ListActionComponent} from './components/list-action/list-action.component';
|
|
18
|
+
import {AvatarComponent} from './components/avatar/avatar.component';
|
|
19
|
+
import {NoticeComponent} from './components/notice/notice.component';
|
|
20
|
+
|
|
21
|
+
const declarationsExports = [
|
|
22
|
+
IconComponent,
|
|
23
|
+
TagComponent,
|
|
24
|
+
BadgeComponent,
|
|
25
|
+
ChipComponent,
|
|
26
|
+
HelperComponent,
|
|
27
|
+
InputComponent,
|
|
28
|
+
ButtonComponent,
|
|
29
|
+
CheckboxComponent,
|
|
30
|
+
SearchbarComponent,
|
|
31
|
+
ToggleComponent,
|
|
32
|
+
TextareaComponent,
|
|
33
|
+
ListActionComponent,
|
|
34
|
+
AvatarComponent,
|
|
35
|
+
NoticeComponent,
|
|
36
|
+
];
|
|
37
|
+
|
|
38
|
+
@NgModule({
|
|
39
|
+
imports: [
|
|
40
|
+
CommonModule,
|
|
41
|
+
FormsModule,
|
|
42
|
+
IonicModule,
|
|
43
|
+
],
|
|
44
|
+
declarations: [...declarationsExports],
|
|
45
|
+
exports: [...declarationsExports],
|
|
46
|
+
})
|
|
47
|
+
export class YukitModule {
|
|
48
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@import "theme/tokens/colors";
|
|
2
|
+
@import "theme/tokens/typography";
|
|
3
|
+
@import "theme/tokens/icons";
|
|
4
|
+
@import "theme/tokens/radius";
|
|
5
|
+
@import "theme/tokens/shadow";
|
|
6
|
+
@import "theme/tokens/spacing";
|
|
7
|
+
|
|
8
|
+
@import "theme/structure/header";
|
|
9
|
+
@import "theme/structure/content";
|
|
10
|
+
@import "theme/structure/footer";
|
|
11
|
+
@import "theme/structure/form";
|
|
12
|
+
|
|
13
|
+
@import "theme/components/back-button";
|
|
14
|
+
@import "theme/components/tabs";
|
|
15
|
+
@import "theme/components/toast";
|
|
16
|
+
@import "theme/components/action-sheet";
|
|
17
|
+
@import "theme/components/alert";
|
|
18
|
+
@import "theme/components/segment";
|
|
19
|
+
@import "theme/components/modal";
|
|
20
|
+
|
|
21
|
+
@import "components/icon/icon.component";
|
|
22
|
+
@import "components/badge/badge.component";
|
|
23
|
+
@import "components/button/button.component";
|
|
24
|
+
@import "components/checkbox/checkbox.component";
|
|
25
|
+
@import "components/input/input.component";
|
|
26
|
+
@import "components/textarea/textarea.component";
|
|
27
|
+
@import "components/helper/helper.component";
|
|
28
|
+
@import "components/chip/chip.component";
|
|
29
|
+
@import "components/tag/tag.component";
|
|
30
|
+
@import "components/searchbar/searchbar.component";
|
|
31
|
+
@import "components/toggle/toggle.component";
|
|
32
|
+
@import "components/notice/notice.component";
|
|
33
|
+
@import "components/list-action/list-action.component";
|
package/yukit-0.0.1.tgz
ADDED
|
Binary file
|