@juligc99/loro-ui 0.0.17 → 0.0.19
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 +55 -118
- package/assets/loro-ui/icons/x.svg +3 -0
- package/assets/loro-ui/loro-assets.generated.ts +10 -2
- package/design-tokens/loro-theme.scss +45 -27
- package/fesm2022/juligc99-loro-ui.mjs +931 -1328
- package/fesm2022/juligc99-loro-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/styles/animations/.gitkeep +0 -0
- package/styles/functions/.gitkeep +0 -0
- package/styles/{_breakpoints.scss → functions/_breakpoints.scss} +13 -0
- package/styles/mixins/.gitkeep +0 -0
- package/styles/mixins/_text.scss +22 -0
- package/styles/tokens/.gitkeep +0 -0
- package/styles/utilities/.gitkeep +0 -0
- package/types/juligc99-loro-ui.d.ts +284 -611
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juligc99/loro-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
4
4
|
"description": "Loro UI design system and Angular component library.",
|
|
5
5
|
"author": "juligc99",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"default": "./package.json"
|
|
36
36
|
},
|
|
37
37
|
"./design-tokens/loro-theme.scss": "./design-tokens/loro-theme.scss",
|
|
38
|
-
"./styles/breakpoints": "./styles/_breakpoints.scss"
|
|
38
|
+
"./styles/functions/breakpoints": "./styles/functions/_breakpoints.scss"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@angular/aria": ">=21 <23",
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
$mobile-tablet-max: 1023.88px;
|
|
2
2
|
$phone-max: 479.99px;
|
|
3
|
+
$tablet-min: 768px;
|
|
3
4
|
$desktop-min: 1024px;
|
|
4
5
|
$smart-tv-min: 1600px;
|
|
5
6
|
|
|
@@ -21,6 +22,18 @@ $smart-tv-min: 1600px;
|
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
|
|
25
|
+
@mixin on-tablet {
|
|
26
|
+
@media (min-width: $tablet-min) and (max-width: $mobile-tablet-max) {
|
|
27
|
+
@content;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@mixin on-tablet-up {
|
|
32
|
+
@media (min-width: $tablet-min) {
|
|
33
|
+
@content;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
24
37
|
@mixin on-smart-tv {
|
|
25
38
|
@media (min-width: $smart-tv-min) {
|
|
26
39
|
@content;
|
|
File without changes
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// styles/mixins/_text.scss
|
|
2
|
+
|
|
3
|
+
/// Corta el texto a un número específico de líneas con puntos suspensivos (...)
|
|
4
|
+
/// @param {Number} $lineas [3] - Número de líneas permitidas
|
|
5
|
+
@mixin truncar-3-lineas {
|
|
6
|
+
display: -webkit-box;
|
|
7
|
+
-webkit-box-orient: vertical;
|
|
8
|
+
-webkit-line-clamp: 3;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
text-overflow: ellipsis;
|
|
11
|
+
word-break: break-word; // Asegura que las palabras largas salten de línea
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/// Corta el texto a 2 líneas con puntos suspensivos.
|
|
15
|
+
@mixin truncar-2-lineas {
|
|
16
|
+
display: -webkit-box;
|
|
17
|
+
-webkit-box-orient: vertical;
|
|
18
|
+
-webkit-line-clamp: 2;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
text-overflow: ellipsis;
|
|
21
|
+
word-break: break-word;
|
|
22
|
+
}
|
|
File without changes
|
|
File without changes
|