@sonic-equipment/ui 0.0.0
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/.eslintrc.js +4 -0
- package/.turbo/turbo-build.log +39 -0
- package/dist/app.css +12 -0
- package/dist/base.css +240 -0
- package/dist/button.css +49 -0
- package/dist/button.js +12 -0
- package/dist/checkbox.css +63 -0
- package/dist/checkbox.js +10 -0
- package/dist/dts/button/button.d.ts +12 -0
- package/dist/dts/button/button.d.ts.map +1 -0
- package/dist/dts/checkbox/checkbox.d.ts +5 -0
- package/dist/dts/checkbox/checkbox.d.ts.map +1 -0
- package/dist/dts/color-filter/color-filter.d.ts +14 -0
- package/dist/dts/color-filter/color-filter.d.ts.map +1 -0
- package/dist/dts/filter/filter.d.ts +8 -0
- package/dist/dts/filter/filter.d.ts.map +1 -0
- package/dist/dts/product-card/product-card.d.ts +10 -0
- package/dist/dts/product-card/product-card.d.ts.map +1 -0
- package/dist/dts/product-listing/product-listing.d.ts +38 -0
- package/dist/dts/product-listing/product-listing.d.ts.map +1 -0
- package/dist/product-card.js +7 -0
- package/dist/product-listing.css +63 -0
- package/dist/product-listing.js +23 -0
- package/dist/reset.css +387 -0
- package/package.json +65 -0
- package/rollup.config.js +71 -0
- package/src/app.css +10 -0
- package/src/button/button.module.css +49 -0
- package/src/button/button.tsx +37 -0
- package/src/checkbox/checkbox.module.css +68 -0
- package/src/checkbox/checkbox.tsx +19 -0
- package/src/color-filter/color-filter.tsx +40 -0
- package/src/filter/filter.tsx +23 -0
- package/src/product-card/product-card.tsx +16 -0
- package/src/product-listing/product-listing.tsx +80 -0
- package/src/reset.css +377 -0
- package/src/tokens/border.css +18 -0
- package/src/tokens/breakpoints.css +30 -0
- package/src/tokens/colors.css +31 -0
- package/src/tokens/font-face.css +150 -0
- package/src/tokens/fonts.css +28 -0
- package/src/tokens/index.css +6 -0
- package/src/tokens/spacing.css +23 -0
- package/tsconfig.json +9 -0
- package/typings.d.ts +1 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/*********************************************************
|
|
2
|
+
*
|
|
3
|
+
* Pancetta
|
|
4
|
+
*
|
|
5
|
+
*********************************************************/
|
|
6
|
+
|
|
7
|
+
@font-face {
|
|
8
|
+
font-display: swap;
|
|
9
|
+
font-family: "Pancetta";
|
|
10
|
+
src: url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100022/fonts/pancetta/pancettapro-thin-webfont.woff2") format("woff2"),
|
|
11
|
+
url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100018/fonts/pancetta/pancettapro-thin-webfont.woff") format("woff");
|
|
12
|
+
font-weight: 100;
|
|
13
|
+
font-style: normal;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@font-face {
|
|
17
|
+
font-display: swap;
|
|
18
|
+
font-family: "Pancetta";
|
|
19
|
+
src: url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100030/fonts/pancetta/pancettapro-thinitalic-webfont.woff2") format("woff2"),
|
|
20
|
+
url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100042/fonts/pancetta/pancettapro-thinitalic-webfont.woff") format("woff");
|
|
21
|
+
font-weight: 100;
|
|
22
|
+
font-style: italic;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@font-face {
|
|
26
|
+
font-display: swap;
|
|
27
|
+
font-family: "Pancetta";
|
|
28
|
+
src: url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099957/fonts/pancetta/pancettapro-extralight-webfont.woff2") format("woff2"),
|
|
29
|
+
url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099944/fonts/pancetta/pancettapro-extralight-webfont.woff") format("woff");
|
|
30
|
+
font-weight: 200;
|
|
31
|
+
font-style: normal;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@font-face {
|
|
35
|
+
font-display: swap;
|
|
36
|
+
font-family: "Pancetta";
|
|
37
|
+
src: url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099964/fonts/pancetta/pancettapro-extralightitalic-webfont.woff2") format("woff2"),
|
|
38
|
+
url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099960/fonts/pancetta/pancettapro-extralightitalic-webfont.woff") format("woff");
|
|
39
|
+
font-weight: 200;
|
|
40
|
+
font-style: italic;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
@font-face {
|
|
45
|
+
font-display: swap;
|
|
46
|
+
font-family: "Pancetta";
|
|
47
|
+
src: url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099985/fonts/pancetta/pancettapro-light-webfont.woff2") format("woff2"),
|
|
48
|
+
url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099977/fonts/pancetta/pancettapro-light-webfont.woff") format("woff");
|
|
49
|
+
font-weight: 300;
|
|
50
|
+
font-style: normal;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@font-face {
|
|
54
|
+
font-display: swap;
|
|
55
|
+
font-family: "Pancetta";
|
|
56
|
+
src: url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100009/fonts/pancetta/pancettapro-lightitalic-webfont.woff2") format("woff2"),
|
|
57
|
+
url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099989/fonts/pancetta/pancettapro-lightitalic-webfont.woff") format("woff");
|
|
58
|
+
font-weight: 300;
|
|
59
|
+
font-style: italic;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@font-face {
|
|
63
|
+
font-display: swap;
|
|
64
|
+
font-family: "Pancetta";
|
|
65
|
+
src: url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100013/fonts/pancetta/pancettapro-regular-webfont.woff2") format("woff2"),
|
|
66
|
+
url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100005/fonts/pancetta/pancettapro-regular-webfont.woff") format("woff");
|
|
67
|
+
font-weight: 400;
|
|
68
|
+
font-style: normal;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@font-face {
|
|
72
|
+
font-display: swap;
|
|
73
|
+
font-family: "Pancetta";
|
|
74
|
+
src: url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099973/fonts/pancetta/pancettapro-italic-webfont.woff2") format("woff2"),
|
|
75
|
+
url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099969/fonts/pancetta/pancettapro-italic-webfont.woff") format("woff");
|
|
76
|
+
font-weight: 400;
|
|
77
|
+
font-style: italic;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@font-face {
|
|
81
|
+
font-display: swap;
|
|
82
|
+
font-family: "Pancetta";
|
|
83
|
+
src: url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099997/fonts/pancetta/pancettapro-medium-webfont.woff2") format("woff2"),
|
|
84
|
+
url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099981/fonts/pancetta/pancettapro-medium-webfont.woff") format("woff");
|
|
85
|
+
font-weight: 500;
|
|
86
|
+
font-style: normal;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@font-face {
|
|
90
|
+
font-display: swap;
|
|
91
|
+
font-family: "Pancetta";
|
|
92
|
+
src: url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100001/fonts/pancetta/pancettapro-mediumitalic-webfont.woff2") format("woff2"),
|
|
93
|
+
url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099993/fonts/pancetta/pancettapro-mediumitalic-webfont.woff") format("woff");
|
|
94
|
+
font-weight: 500;
|
|
95
|
+
font-style: italic;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@font-face {
|
|
99
|
+
font-display: swap;
|
|
100
|
+
font-family: "Pancetta";
|
|
101
|
+
src: url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100038/fonts/pancetta/pancettapro-semibold-webfont.woff2") format("woff2"),
|
|
102
|
+
url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100034/fonts/pancetta/pancettapro-semibold-webfont.woff") format("woff");
|
|
103
|
+
font-weight: 600;
|
|
104
|
+
font-style: normal;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
@font-face {
|
|
108
|
+
font-display: swap;
|
|
109
|
+
font-family: "Pancetta";
|
|
110
|
+
src: url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100026/fonts/pancetta/pancettapro-semibolditalic-webfont.woff2") format("woff2"),
|
|
111
|
+
url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711100047/fonts/pancetta/pancettapro-semibolditalic-webfont.woff") format("woff");
|
|
112
|
+
font-weight: 600;
|
|
113
|
+
font-style: italic;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
@font-face {
|
|
117
|
+
font-display: swap;
|
|
118
|
+
font-family: "Pancetta";
|
|
119
|
+
src: url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099948/fonts/pancetta/pancettapro-bold-webfont.woff2") format("woff2"),
|
|
120
|
+
url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099932/fonts/pancetta/pancettapro-bold-webfont.woff") format("woff");
|
|
121
|
+
font-weight: 700;
|
|
122
|
+
font-style: normal;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@font-face {
|
|
126
|
+
font-display: swap;
|
|
127
|
+
font-family: "Pancetta";
|
|
128
|
+
src: url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099952/fonts/pancetta/pancettapro-bolditalic-webfont.woff2") format("woff2"),
|
|
129
|
+
url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099936/fonts/pancetta/pancettapro-bolditalic-webfont.woff") format("woff");
|
|
130
|
+
font-weight: 700;
|
|
131
|
+
font-style: italic;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@font-face {
|
|
135
|
+
font-display: swap;
|
|
136
|
+
font-family: "Pancetta";
|
|
137
|
+
src: url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099929/fonts/pancetta/pancettapro-black-webfont.woff2") format("woff2"),
|
|
138
|
+
url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099921/fonts/pancetta/pancettapro-black-webfont.woff") format("woff");
|
|
139
|
+
font-weight: 900;
|
|
140
|
+
font-style: normal;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
@font-face {
|
|
144
|
+
font-display: swap;
|
|
145
|
+
font-family: "Pancetta";
|
|
146
|
+
src: url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099941/fonts/pancetta/pancettapro-blackitalic-webfont.woff2") format("woff2"),
|
|
147
|
+
url("https://res.cloudinary.com/dkz9eknwh/raw/upload/v1711099924/fonts/pancetta/pancettapro-blackitalic-webfont.woff") format("woff");
|
|
148
|
+
font-weight: 900;
|
|
149
|
+
font-style: italic;
|
|
150
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--font-family-sonic: 'Pancetta', sans-serif;
|
|
3
|
+
|
|
4
|
+
--font-size-20: 0.75rem; /* 12px */
|
|
5
|
+
--font-size-24: 0.875rem; /* 14px */
|
|
6
|
+
--font-size-28: 1rem; /* 16px */
|
|
7
|
+
--font-size-32: 1.125rem; /* 18px */
|
|
8
|
+
--font-size-36: 1.25rem; /* 20px */
|
|
9
|
+
--font-size-40: 1.5rem; /* 24px */
|
|
10
|
+
--font-size-48: 1.875rem;/* 30px */
|
|
11
|
+
--font-size-56: 2.25rem; /* 36px */
|
|
12
|
+
--font-size-64: 3rem; /* 48px */
|
|
13
|
+
--font-size-72: 3.75rem; /* 60px */
|
|
14
|
+
--font-size-80: 4.5rem; /* 72px */
|
|
15
|
+
--font-size-96: 6rem; /* 96px */
|
|
16
|
+
--font-size-112: 8rem; /* 128px */
|
|
17
|
+
--font-size-base: var(--font-size-28);
|
|
18
|
+
|
|
19
|
+
--font-weight-thin: 100;
|
|
20
|
+
--font-weight-extralight: 200;
|
|
21
|
+
--font-weight-light: 300;
|
|
22
|
+
--font-weight-normal: 400;
|
|
23
|
+
--font-weight-medium: 500;
|
|
24
|
+
--font-weight-semibold: 600;
|
|
25
|
+
--font-weight-bold: 700;
|
|
26
|
+
--font-weight-extrabold: 800;
|
|
27
|
+
--font-weight-black: 900;
|
|
28
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--space-2: 2px;
|
|
3
|
+
--space-4: 4px;
|
|
4
|
+
--space-6: 6px;
|
|
5
|
+
--space-8: 8px;
|
|
6
|
+
--space-12: 12px;
|
|
7
|
+
--space-16: 16px;
|
|
8
|
+
--space-20: 20px;
|
|
9
|
+
--space-26: 24px;
|
|
10
|
+
--space-28: 28px;
|
|
11
|
+
--space-32: 32px;
|
|
12
|
+
--space-36: 36px;
|
|
13
|
+
--space-40: 40px;
|
|
14
|
+
--space-48: 48px;
|
|
15
|
+
--space-64: 64px;
|
|
16
|
+
--space-80: 80px;
|
|
17
|
+
--space-96: 96px;
|
|
18
|
+
--space-112: 112px;
|
|
19
|
+
--space-128: 128px;
|
|
20
|
+
--space-160: 160px;
|
|
21
|
+
--space-192: 192px;
|
|
22
|
+
--space-224: 224px;
|
|
23
|
+
}
|
package/tsconfig.json
ADDED
package/typings.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module "*.module.css";
|