@uni-design-system/uni-core 0.0.20 → 0.0.21
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/dist/cjs/core/button/button.model.d.ts +2 -4
- package/dist/cjs/core/color/color.types.d.ts +1 -1
- package/dist/cjs/core/container/container.model.d.ts +12 -8
- package/dist/cjs/core/container/container.types.d.ts +1 -1
- package/dist/cjs/core/iconography/icon.types.d.ts +1 -0
- package/dist/cjs/core/layout/breakpoint.helper.d.ts +2 -0
- package/dist/cjs/core/layout/breakpoint.helper.js +16 -0
- package/dist/cjs/core/layout/breakpoint.helper.js.map +1 -0
- package/dist/cjs/core/layout/breakpoint.model.d.ts +4 -0
- package/dist/cjs/core/layout/breakpoint.model.js +3 -0
- package/dist/cjs/core/layout/breakpoint.model.js.map +1 -0
- package/dist/cjs/core/layout/index.d.ts +4 -0
- package/dist/cjs/core/layout/index.js +4 -0
- package/dist/cjs/core/layout/index.js.map +1 -1
- package/dist/cjs/core/layout/layout.model.d.ts +5 -0
- package/dist/cjs/core/layout/layout.model.js +3 -0
- package/dist/cjs/core/layout/layout.model.js.map +1 -0
- package/dist/cjs/core/layout/layout.records.d.ts +2 -0
- package/dist/cjs/core/layout/layout.records.js +11 -0
- package/dist/cjs/core/layout/layout.records.js.map +1 -0
- package/dist/cjs/core/shadow/shadow.types.d.ts +1 -0
- package/dist/cjs/core/shadow/shadow.types.js +1 -0
- package/dist/cjs/core/shadow/shadow.types.js.map +1 -1
- package/dist/cjs/core/theme/theme.model.d.ts +2 -0
- package/dist/cjs/core/theme/themes/base.theme.js +22 -56
- package/dist/cjs/core/theme/themes/base.theme.js.map +1 -1
- package/dist/esm/core/button/button.model.d.ts +2 -4
- package/dist/esm/core/color/color.types.d.ts +1 -1
- package/dist/esm/core/container/container.model.d.ts +12 -8
- package/dist/esm/core/container/container.types.d.ts +1 -1
- package/dist/esm/core/iconography/icon.types.d.ts +1 -0
- package/dist/esm/core/layout/breakpoint.helper.d.ts +2 -0
- package/dist/esm/core/layout/breakpoint.helper.js +12 -0
- package/dist/esm/core/layout/breakpoint.helper.js.map +1 -0
- package/dist/esm/core/layout/breakpoint.model.d.ts +4 -0
- package/dist/esm/core/layout/breakpoint.model.js +2 -0
- package/dist/esm/core/layout/breakpoint.model.js.map +1 -0
- package/dist/esm/core/layout/index.d.ts +4 -0
- package/dist/esm/core/layout/index.js +4 -0
- package/dist/esm/core/layout/index.js.map +1 -1
- package/dist/esm/core/layout/layout.model.d.ts +5 -0
- package/dist/esm/core/layout/layout.model.js +2 -0
- package/dist/esm/core/layout/layout.model.js.map +1 -0
- package/dist/esm/core/layout/layout.records.d.ts +2 -0
- package/dist/esm/core/layout/layout.records.js +8 -0
- package/dist/esm/core/layout/layout.records.js.map +1 -0
- package/dist/esm/core/shadow/shadow.types.d.ts +1 -0
- package/dist/esm/core/shadow/shadow.types.js +1 -0
- package/dist/esm/core/shadow/shadow.types.js.map +1 -1
- package/dist/esm/core/theme/theme.model.d.ts +2 -0
- package/dist/esm/core/theme/themes/base.theme.js +22 -56
- package/dist/esm/core/theme/themes/base.theme.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,10 +9,8 @@ export interface Button {
|
|
|
9
9
|
borderColor?: ColorToken;
|
|
10
10
|
borderRadius?: number;
|
|
11
11
|
borderRadii?: Record<Size, number>;
|
|
12
|
-
horizontalPadding?: number
|
|
13
|
-
|
|
14
|
-
verticalPadding?: number;
|
|
15
|
-
verticalPaddings?: Record<Size, number>;
|
|
12
|
+
horizontalPadding?: Record<Size, number>;
|
|
13
|
+
verticalPadding?: Record<Size, number>;
|
|
16
14
|
border?: Border;
|
|
17
15
|
shadowElevation?: ShadowElevation;
|
|
18
16
|
}
|
|
@@ -12,6 +12,6 @@ export declare const utilHues: Record<utilColorRoles, Range>;
|
|
|
12
12
|
export declare type ColorModes = 'base' | 'hover' | 'active' | 'disabled';
|
|
13
13
|
export declare type ColorToken = ElementColorToken | ContainerColorToken | ContentColorToken | UtilityColorToken;
|
|
14
14
|
export declare type ElementColorToken = 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
15
|
-
export declare type ContainerColorToken = 'primary-container' | 'secondary-container' | 'tertiary-container' | 'error-container' | 'background' | 'surface' | 'surface-variant' | 'inverse-surface';
|
|
15
|
+
export declare type ContainerColorToken = 'primary-container' | 'secondary-container' | 'tertiary-container' | 'error-container' | 'background' | 'surface' | 'surface-variant' | 'inverse-surface' | 'transparent';
|
|
16
16
|
export declare type ContentColorToken = 'on-primary' | 'on-primary-container' | 'on-secondary' | 'on-secondary-container' | 'on-tertiary' | 'on-tertiary-container' | 'on-error' | 'on-error-container' | 'on-background' | 'on-surface' | 'on-surface-variant' | 'inverse-on-surface' | 'inverse-on-surface-primary';
|
|
17
17
|
export declare type UtilityColorToken = 'outline' | 'shadow' | 'surface-tint' | 'transparent';
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import { BackgroundType } from '../background';
|
|
2
2
|
import { BorderWidth } from '../border';
|
|
3
|
-
import { ColorToken } from '../color';
|
|
3
|
+
import { ColorToken, ContainerColorToken, ContentColorToken } from '../color';
|
|
4
4
|
import { Apply, HorizontalAlign, RadiusApply, Size } from '../core.types';
|
|
5
|
-
import {
|
|
6
|
-
export interface
|
|
5
|
+
import { ShadowElevation, ShadowMode } from '../shadow';
|
|
6
|
+
export interface Container {
|
|
7
7
|
maxWidth?: number;
|
|
8
8
|
align?: HorizontalAlign;
|
|
9
|
+
contentSpacing?: Record<Size, number>;
|
|
10
|
+
topPadding?: Record<Size, number>;
|
|
11
|
+
padding?: Record<Size, number>;
|
|
12
|
+
spacing?: Record<Size, number>;
|
|
9
13
|
backgroundType?: BackgroundType;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
14
|
+
borderRadii?: Record<Size, number>;
|
|
15
|
+
shadowMode?: ShadowMode;
|
|
16
|
+
shadowElevation?: ShadowElevation;
|
|
17
|
+
color: ContainerColorToken;
|
|
18
|
+
contentColor: ContentColorToken;
|
|
13
19
|
blur?: {
|
|
14
20
|
amount?: number;
|
|
15
21
|
};
|
|
@@ -35,6 +41,4 @@ export interface ContainerProps {
|
|
|
35
41
|
bottom?: Record<Size, number>;
|
|
36
42
|
top?: Record<Size, number>;
|
|
37
43
|
};
|
|
38
|
-
Spacings?: Record<Size, number>;
|
|
39
|
-
TopSpacings?: Record<Size, number>;
|
|
40
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type ContainerType = '
|
|
1
|
+
export declare type ContainerType = 'card' | 'screen' | 'modal';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export declare type IconStyle = 'solid' | 'outline';
|
|
2
|
+
export declare type ToggleableIcon = 'radio' | 'check' | 'like' | 'favorite' | 'lock' | 'view';
|
|
2
3
|
export declare type IconToken = 'alert' | 'warn' | 'disabled' | 'trash' | 'user' | 'back' | 'next' | 'add' | 'create' | 'copy' | 'edit' | 'disable' | 'save' | 'pin' | 'tag' | 'update' | 'archive' | 'delete' | 'lock' | 'unlock' | 'view' | 'hide' | 'open' | 'expand' | 'collapse' | 'info' | 'success' | 'warning' | 'logo' | 'chat' | 'down' | 'favorite' | 'location' | 'message' | 'profile' | 'question' | 'remove' | 'schedule' | 'search' | 'send' | 'settings' | 'share' | 'up' | 'play' | 'stop' | 'forward' | 'beginning' | 'plus' | 'minus' | 'more' | 'details' | 'call' | 'video' | 'inbox' | 'mail' | 'comment' | 'home';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getScreenSize = void 0;
|
|
4
|
+
const layout_records_1 = require("./layout.records");
|
|
5
|
+
function getScreenSize(width) {
|
|
6
|
+
if (!width)
|
|
7
|
+
return 'md';
|
|
8
|
+
['xs', 'sm', 'md', 'lg'].forEach(key => {
|
|
9
|
+
const breakpoint = layout_records_1.Breakpoints[key];
|
|
10
|
+
if (width < breakpoint)
|
|
11
|
+
return key;
|
|
12
|
+
});
|
|
13
|
+
return 'xl';
|
|
14
|
+
}
|
|
15
|
+
exports.getScreenSize = getScreenSize;
|
|
16
|
+
//# sourceMappingURL=breakpoint.helper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breakpoint.helper.js","sourceRoot":"","sources":["../../../../src/core/layout/breakpoint.helper.ts"],"names":[],"mappings":";;;AACA,qDAA+C;AAE/C,SAAgB,aAAa,CAAC,KAAa;IAEzC,IAAI,CAAC,KAAK;QAAE,OAAO,IAAI,CAAC;IAExB,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;QACrC,MAAM,UAAU,GAAG,4BAAW,CAAC,GAAW,CAAC,CAAC;QAC5C,IAAI,KAAK,GAAG,UAAU;YAAE,OAAO,GAAG,CAAC;IACrC,CAAC,CAAC,CAAA;IAEF,OAAO,IAAI,CAAA;AACb,CAAC;AAVD,sCAUC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breakpoint.model.js","sourceRoot":"","sources":["../../../../src/core/layout/breakpoint.model.ts"],"names":[],"mappings":""}
|
|
@@ -15,4 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./layout.types"), exports);
|
|
18
|
+
__exportStar(require("./breakpoint.helper"), exports);
|
|
19
|
+
__exportStar(require("./breakpoint.model"), exports);
|
|
20
|
+
__exportStar(require("./layout.records"), exports);
|
|
21
|
+
__exportStar(require("./layout.model"), exports);
|
|
18
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/layout/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/layout/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,sDAAoC;AACpC,qDAAmC;AACnC,mDAAiC;AACjC,iDAA8B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.model.js","sourceRoot":"","sources":["../../../../src/core/layout/layout.model.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.records.js","sourceRoot":"","sources":["../../../../src/core/layout/layout.records.ts"],"names":[],"mappings":";;;AAEa,QAAA,WAAW,GAAyB;IAC/C,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,MAAM;CACX,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadow.types.js","sourceRoot":"","sources":["../../../../src/core/shadow/shadow.types.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"shadow.types.js","sourceRoot":"","sources":["../../../../src/core/shadow/shadow.types.ts"],"names":[],"mappings":";AAAA,gEAAgE"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TextRole, TextStyle } from '../typography';
|
|
2
2
|
import { ColorToken } from '../color';
|
|
3
3
|
import { Button, ButtonType } from '../button';
|
|
4
|
+
import { Container, ContainerType } from '../container';
|
|
4
5
|
export interface ThemeProps {
|
|
5
6
|
themeId?: string;
|
|
6
7
|
themes?: Record<string, Theme>;
|
|
@@ -12,4 +13,5 @@ export interface Theme {
|
|
|
12
13
|
colors: Record<ColorToken, string>;
|
|
13
14
|
typography: Record<TextRole, TextStyle>;
|
|
14
15
|
buttons: Record<ButtonType, Button>;
|
|
16
|
+
containers: Record<ContainerType, Container>;
|
|
15
17
|
}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BaseTheme = void 0;
|
|
4
|
+
const BaseButton = {
|
|
5
|
+
verticalPadding: { xs: 4, sm: 8, md: 12, lg: 16, xl: 20 },
|
|
6
|
+
horizontalPadding: { xs: 12, sm: 18, md: 24, lg: 30, xl: 36 },
|
|
7
|
+
borderRadius: 100,
|
|
8
|
+
};
|
|
9
|
+
const BaseContainer = {
|
|
10
|
+
borderRadii: { xs: 8, sm: 12, md: 16, lg: 20, xl: 24 },
|
|
11
|
+
padding: { xs: 12, sm: 18, md: 24, lg: 30, xl: 36 },
|
|
12
|
+
contentSpacing: { xs: 8, sm: 12, md: 16, lg: 20, xl: 24 },
|
|
13
|
+
};
|
|
4
14
|
exports.BaseTheme = {
|
|
5
15
|
id: 'BaseTheme',
|
|
6
16
|
name: 'Base Theme',
|
|
@@ -169,62 +179,18 @@ exports.BaseTheme = {
|
|
|
169
179
|
}
|
|
170
180
|
},
|
|
171
181
|
buttons: {
|
|
172
|
-
elevated: {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
verticalPaddings: { xs: 4, sm: 8, md: 12, lg: 16, xl: 20 },
|
|
185
|
-
horizontalPadding: 24,
|
|
186
|
-
horizontalPaddings: { xs: 12, sm: 18, md: 24, lg: 30, xl: 36 },
|
|
187
|
-
borderRadius: 100
|
|
188
|
-
},
|
|
189
|
-
'filled-secondary': {
|
|
190
|
-
color: 'secondary',
|
|
191
|
-
verticalPadding: 12,
|
|
192
|
-
verticalPaddings: { xs: 4, sm: 8, md: 12, lg: 16, xl: 20 },
|
|
193
|
-
horizontalPadding: 24,
|
|
194
|
-
horizontalPaddings: { xs: 12, sm: 18, md: 24, lg: 30, xl: 36 },
|
|
195
|
-
borderRadius: 100
|
|
196
|
-
},
|
|
197
|
-
outlined: {
|
|
198
|
-
color: 'transparent',
|
|
199
|
-
verticalPadding: 12,
|
|
200
|
-
verticalPaddings: { xs: 4, sm: 8, md: 12, lg: 16, xl: 20 },
|
|
201
|
-
horizontalPadding: 24,
|
|
202
|
-
horizontalPaddings: { xs: 12, sm: 18, md: 24, lg: 30, xl: 36 },
|
|
203
|
-
borderRadius: 100,
|
|
204
|
-
borderColor: 'primary',
|
|
205
|
-
borderWidth: 1
|
|
206
|
-
},
|
|
207
|
-
text: {
|
|
208
|
-
color: 'transparent',
|
|
209
|
-
verticalPadding: 12,
|
|
210
|
-
verticalPaddings: { xs: 4, sm: 8, md: 12, lg: 16, xl: 20 },
|
|
211
|
-
horizontalPadding: 16,
|
|
212
|
-
horizontalPaddings: { xs: 8, sm: 12, md: 16, lg: 20, xl: 24 },
|
|
213
|
-
borderRadius: 100
|
|
214
|
-
},
|
|
215
|
-
icon: {
|
|
216
|
-
color: 'transparent',
|
|
217
|
-
verticalPadding: 12,
|
|
218
|
-
verticalPaddings: { xs: 4, sm: 8, md: 12, lg: 16, xl: 20 },
|
|
219
|
-
horizontalPadding: 16,
|
|
220
|
-
horizontalPaddings: { xs: 8, sm: 12, md: 16, lg: 20, xl: 24 },
|
|
221
|
-
borderRadius: 100
|
|
222
|
-
},
|
|
223
|
-
'floating-action': {
|
|
224
|
-
color: 'secondary',
|
|
225
|
-
borderRadius: 100,
|
|
226
|
-
shadowElevation: 'navigation',
|
|
227
|
-
}
|
|
182
|
+
elevated: Object.assign(Object.assign({}, BaseButton), { color: 'surface', shadowElevation: 'raised' }),
|
|
183
|
+
filled: Object.assign(Object.assign({}, BaseButton), { color: 'primary' }),
|
|
184
|
+
'filled-secondary': Object.assign(Object.assign({}, BaseButton), { color: 'secondary' }),
|
|
185
|
+
outlined: Object.assign(Object.assign({}, BaseButton), { color: 'transparent', borderColor: 'primary', borderWidth: 1 }),
|
|
186
|
+
text: Object.assign(Object.assign({}, BaseButton), { color: 'transparent' }),
|
|
187
|
+
icon: Object.assign(Object.assign({}, BaseButton), { color: 'transparent' }),
|
|
188
|
+
'floating-action': Object.assign(Object.assign({}, BaseButton), { color: 'secondary', borderRadius: 100, shadowElevation: 'navigation' })
|
|
189
|
+
},
|
|
190
|
+
containers: {
|
|
191
|
+
card: Object.assign(Object.assign({}, BaseContainer), { color: 'surface', contentColor: 'on-surface', shadowMode: 'interactive' }),
|
|
192
|
+
screen: Object.assign(Object.assign({}, BaseContainer), { color: 'background', contentColor: 'on-background' }),
|
|
193
|
+
modal: Object.assign(Object.assign({}, BaseContainer), { borderRadii: { xs: 16, sm: 22, md: 28, lg: 32, xl: 38 }, color: 'surface', contentColor: 'on-surface', shadowMode: 'static', shadowElevation: 'modal', maxWidth: 560 })
|
|
228
194
|
}
|
|
229
195
|
};
|
|
230
196
|
//# sourceMappingURL=base.theme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/base.theme.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"base.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/base.theme.ts"],"names":[],"mappings":";;;AAIA,MAAM,UAAU,GAAoB;IAClC,eAAe,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;IACzD,iBAAiB,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;IAC7D,YAAY,EAAE,GAAG;CAClB,CAAA;AAED,MAAM,aAAa,GAAuB;IACxC,WAAW,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;IACtD,OAAO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?: number;
|
|
11
11
|
borderRadii?: Record<Size, number>;
|
|
12
|
-
horizontalPadding?: number
|
|
13
|
-
|
|
14
|
-
verticalPadding?: number;
|
|
15
|
-
verticalPaddings?: Record<Size, number>;
|
|
12
|
+
horizontalPadding?: Record<Size, number>;
|
|
13
|
+
verticalPadding?: Record<Size, number>;
|
|
16
14
|
border?: Border;
|
|
17
15
|
shadowElevation?: ShadowElevation;
|
|
18
16
|
}
|
|
@@ -12,6 +12,6 @@ export declare const utilHues: Record<utilColorRoles, Range>;
|
|
|
12
12
|
export declare type ColorModes = 'base' | 'hover' | 'active' | 'disabled';
|
|
13
13
|
export declare type ColorToken = ElementColorToken | ContainerColorToken | ContentColorToken | UtilityColorToken;
|
|
14
14
|
export declare type ElementColorToken = 'primary' | 'secondary' | 'tertiary' | 'error';
|
|
15
|
-
export declare type ContainerColorToken = 'primary-container' | 'secondary-container' | 'tertiary-container' | 'error-container' | 'background' | 'surface' | 'surface-variant' | 'inverse-surface';
|
|
15
|
+
export declare type ContainerColorToken = 'primary-container' | 'secondary-container' | 'tertiary-container' | 'error-container' | 'background' | 'surface' | 'surface-variant' | 'inverse-surface' | 'transparent';
|
|
16
16
|
export declare type ContentColorToken = 'on-primary' | 'on-primary-container' | 'on-secondary' | 'on-secondary-container' | 'on-tertiary' | 'on-tertiary-container' | 'on-error' | 'on-error-container' | 'on-background' | 'on-surface' | 'on-surface-variant' | 'inverse-on-surface' | 'inverse-on-surface-primary';
|
|
17
17
|
export declare type UtilityColorToken = 'outline' | 'shadow' | 'surface-tint' | 'transparent';
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import { BackgroundType } from '../background';
|
|
2
2
|
import { BorderWidth } from '../border';
|
|
3
|
-
import { ColorToken } from '../color';
|
|
3
|
+
import { ColorToken, ContainerColorToken, ContentColorToken } from '../color';
|
|
4
4
|
import { Apply, HorizontalAlign, RadiusApply, Size } from '../core.types';
|
|
5
|
-
import {
|
|
6
|
-
export interface
|
|
5
|
+
import { ShadowElevation, ShadowMode } from '../shadow';
|
|
6
|
+
export interface Container {
|
|
7
7
|
maxWidth?: number;
|
|
8
8
|
align?: HorizontalAlign;
|
|
9
|
+
contentSpacing?: Record<Size, number>;
|
|
10
|
+
topPadding?: Record<Size, number>;
|
|
11
|
+
padding?: Record<Size, number>;
|
|
12
|
+
spacing?: Record<Size, number>;
|
|
9
13
|
backgroundType?: BackgroundType;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
14
|
+
borderRadii?: Record<Size, number>;
|
|
15
|
+
shadowMode?: ShadowMode;
|
|
16
|
+
shadowElevation?: ShadowElevation;
|
|
17
|
+
color: ContainerColorToken;
|
|
18
|
+
contentColor: ContentColorToken;
|
|
13
19
|
blur?: {
|
|
14
20
|
amount?: number;
|
|
15
21
|
};
|
|
@@ -35,6 +41,4 @@ export interface ContainerProps {
|
|
|
35
41
|
bottom?: Record<Size, number>;
|
|
36
42
|
top?: Record<Size, number>;
|
|
37
43
|
};
|
|
38
|
-
Spacings?: Record<Size, number>;
|
|
39
|
-
TopSpacings?: Record<Size, number>;
|
|
40
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type ContainerType = '
|
|
1
|
+
export declare type ContainerType = 'card' | 'screen' | 'modal';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export declare type IconStyle = 'solid' | 'outline';
|
|
2
|
+
export declare type ToggleableIcon = 'radio' | 'check' | 'like' | 'favorite' | 'lock' | 'view';
|
|
2
3
|
export declare type IconToken = 'alert' | 'warn' | 'disabled' | 'trash' | 'user' | 'back' | 'next' | 'add' | 'create' | 'copy' | 'edit' | 'disable' | 'save' | 'pin' | 'tag' | 'update' | 'archive' | 'delete' | 'lock' | 'unlock' | 'view' | 'hide' | 'open' | 'expand' | 'collapse' | 'info' | 'success' | 'warning' | 'logo' | 'chat' | 'down' | 'favorite' | 'location' | 'message' | 'profile' | 'question' | 'remove' | 'schedule' | 'search' | 'send' | 'settings' | 'share' | 'up' | 'play' | 'stop' | 'forward' | 'beginning' | 'plus' | 'minus' | 'more' | 'details' | 'call' | 'video' | 'inbox' | 'mail' | 'comment' | 'home';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Breakpoints } from './layout.records';
|
|
2
|
+
export function getScreenSize(width) {
|
|
3
|
+
if (!width)
|
|
4
|
+
return 'md';
|
|
5
|
+
['xs', 'sm', 'md', 'lg'].forEach(key => {
|
|
6
|
+
const breakpoint = Breakpoints[key];
|
|
7
|
+
if (width < breakpoint)
|
|
8
|
+
return key;
|
|
9
|
+
});
|
|
10
|
+
return 'xl';
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=breakpoint.helper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breakpoint.helper.js","sourceRoot":"","sources":["../../../../src/core/layout/breakpoint.helper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,UAAU,aAAa,CAAC,KAAa;IAEzC,IAAI,CAAC,KAAK;QAAE,OAAO,IAAI,CAAC;IAExB,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;QACrC,MAAM,UAAU,GAAG,WAAW,CAAC,GAAW,CAAC,CAAC;QAC5C,IAAI,KAAK,GAAG,UAAU;YAAE,OAAO,GAAG,CAAC;IACrC,CAAC,CAAC,CAAA;IAEF,OAAO,IAAI,CAAA;AACb,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breakpoint.model.js","sourceRoot":"","sources":["../../../../src/core/layout/breakpoint.model.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.model.js","sourceRoot":"","sources":["../../../../src/core/layout/layout.model.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.records.js","sourceRoot":"","sources":["../../../../src/core/layout/layout.records.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAyB;IAC/C,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,MAAM;CACX,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadow.types.js","sourceRoot":"","sources":["../../../../src/core/shadow/shadow.types.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"shadow.types.js","sourceRoot":"","sources":["../../../../src/core/shadow/shadow.types.ts"],"names":[],"mappings":"AAAA,gEAAgE"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TextRole, TextStyle } from '../typography';
|
|
2
2
|
import { ColorToken } from '../color';
|
|
3
3
|
import { Button, ButtonType } from '../button';
|
|
4
|
+
import { Container, ContainerType } from '../container';
|
|
4
5
|
export interface ThemeProps {
|
|
5
6
|
themeId?: string;
|
|
6
7
|
themes?: Record<string, Theme>;
|
|
@@ -12,4 +13,5 @@ export interface Theme {
|
|
|
12
13
|
colors: Record<ColorToken, string>;
|
|
13
14
|
typography: Record<TextRole, TextStyle>;
|
|
14
15
|
buttons: Record<ButtonType, Button>;
|
|
16
|
+
containers: Record<ContainerType, Container>;
|
|
15
17
|
}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
const BaseButton = {
|
|
2
|
+
verticalPadding: { xs: 4, sm: 8, md: 12, lg: 16, xl: 20 },
|
|
3
|
+
horizontalPadding: { xs: 12, sm: 18, md: 24, lg: 30, xl: 36 },
|
|
4
|
+
borderRadius: 100,
|
|
5
|
+
};
|
|
6
|
+
const BaseContainer = {
|
|
7
|
+
borderRadii: { xs: 8, sm: 12, md: 16, lg: 20, xl: 24 },
|
|
8
|
+
padding: { xs: 12, sm: 18, md: 24, lg: 30, xl: 36 },
|
|
9
|
+
contentSpacing: { xs: 8, sm: 12, md: 16, lg: 20, xl: 24 },
|
|
10
|
+
};
|
|
1
11
|
export const BaseTheme = {
|
|
2
12
|
id: 'BaseTheme',
|
|
3
13
|
name: 'Base Theme',
|
|
@@ -166,62 +176,18 @@ export const BaseTheme = {
|
|
|
166
176
|
}
|
|
167
177
|
},
|
|
168
178
|
buttons: {
|
|
169
|
-
elevated: {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
verticalPaddings: { xs: 4, sm: 8, md: 12, lg: 16, xl: 20 },
|
|
182
|
-
horizontalPadding: 24,
|
|
183
|
-
horizontalPaddings: { xs: 12, sm: 18, md: 24, lg: 30, xl: 36 },
|
|
184
|
-
borderRadius: 100
|
|
185
|
-
},
|
|
186
|
-
'filled-secondary': {
|
|
187
|
-
color: 'secondary',
|
|
188
|
-
verticalPadding: 12,
|
|
189
|
-
verticalPaddings: { xs: 4, sm: 8, md: 12, lg: 16, xl: 20 },
|
|
190
|
-
horizontalPadding: 24,
|
|
191
|
-
horizontalPaddings: { xs: 12, sm: 18, md: 24, lg: 30, xl: 36 },
|
|
192
|
-
borderRadius: 100
|
|
193
|
-
},
|
|
194
|
-
outlined: {
|
|
195
|
-
color: 'transparent',
|
|
196
|
-
verticalPadding: 12,
|
|
197
|
-
verticalPaddings: { xs: 4, sm: 8, md: 12, lg: 16, xl: 20 },
|
|
198
|
-
horizontalPadding: 24,
|
|
199
|
-
horizontalPaddings: { xs: 12, sm: 18, md: 24, lg: 30, xl: 36 },
|
|
200
|
-
borderRadius: 100,
|
|
201
|
-
borderColor: 'primary',
|
|
202
|
-
borderWidth: 1
|
|
203
|
-
},
|
|
204
|
-
text: {
|
|
205
|
-
color: 'transparent',
|
|
206
|
-
verticalPadding: 12,
|
|
207
|
-
verticalPaddings: { xs: 4, sm: 8, md: 12, lg: 16, xl: 20 },
|
|
208
|
-
horizontalPadding: 16,
|
|
209
|
-
horizontalPaddings: { xs: 8, sm: 12, md: 16, lg: 20, xl: 24 },
|
|
210
|
-
borderRadius: 100
|
|
211
|
-
},
|
|
212
|
-
icon: {
|
|
213
|
-
color: 'transparent',
|
|
214
|
-
verticalPadding: 12,
|
|
215
|
-
verticalPaddings: { xs: 4, sm: 8, md: 12, lg: 16, xl: 20 },
|
|
216
|
-
horizontalPadding: 16,
|
|
217
|
-
horizontalPaddings: { xs: 8, sm: 12, md: 16, lg: 20, xl: 24 },
|
|
218
|
-
borderRadius: 100
|
|
219
|
-
},
|
|
220
|
-
'floating-action': {
|
|
221
|
-
color: 'secondary',
|
|
222
|
-
borderRadius: 100,
|
|
223
|
-
shadowElevation: 'navigation',
|
|
224
|
-
}
|
|
179
|
+
elevated: Object.assign(Object.assign({}, BaseButton), { color: 'surface', shadowElevation: 'raised' }),
|
|
180
|
+
filled: Object.assign(Object.assign({}, BaseButton), { color: 'primary' }),
|
|
181
|
+
'filled-secondary': Object.assign(Object.assign({}, BaseButton), { color: 'secondary' }),
|
|
182
|
+
outlined: Object.assign(Object.assign({}, BaseButton), { color: 'transparent', borderColor: 'primary', borderWidth: 1 }),
|
|
183
|
+
text: Object.assign(Object.assign({}, BaseButton), { color: 'transparent' }),
|
|
184
|
+
icon: Object.assign(Object.assign({}, BaseButton), { color: 'transparent' }),
|
|
185
|
+
'floating-action': Object.assign(Object.assign({}, BaseButton), { color: 'secondary', borderRadius: 100, shadowElevation: 'navigation' })
|
|
186
|
+
},
|
|
187
|
+
containers: {
|
|
188
|
+
card: Object.assign(Object.assign({}, BaseContainer), { color: 'surface', contentColor: 'on-surface', shadowMode: 'interactive' }),
|
|
189
|
+
screen: Object.assign(Object.assign({}, BaseContainer), { color: 'background', contentColor: 'on-background' }),
|
|
190
|
+
modal: Object.assign(Object.assign({}, BaseContainer), { borderRadii: { xs: 16, sm: 22, md: 28, lg: 32, xl: 38 }, color: 'surface', contentColor: 'on-surface', shadowMode: 'static', shadowElevation: 'modal', maxWidth: 560 })
|
|
225
191
|
}
|
|
226
192
|
};
|
|
227
193
|
//# sourceMappingURL=base.theme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/base.theme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"base.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/base.theme.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,GAAoB;IAClC,eAAe,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;IACzD,iBAAiB,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;IAC7D,YAAY,EAAE,GAAG;CAClB,CAAA;AAED,MAAM,aAAa,GAAuB;IACxC,WAAW,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;IACtD,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE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