@juligc99/loro-ui 0.0.7 → 0.0.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juligc99/loro-ui",
3
- "version": "0.0.7",
3
+ "version": "0.0.12",
4
4
  "description": "Loro UI design system and Angular component library.",
5
5
  "author": "juligc99",
6
6
  "license": "MIT",
@@ -27,9 +27,7 @@
27
27
  "registry": "https://registry.npmjs.org/"
28
28
  },
29
29
  "peerDependencies": {
30
- "@angular/animations": ">=21 <23",
31
30
  "@angular/aria": ">=21 <23",
32
- "@angular/cdk": ">=21 <23",
33
31
  "@angular/common": ">=21 <23",
34
32
  "@angular/core": ">=21 <23",
35
33
  "@angular/forms": ">=21 <23",
@@ -38,29 +36,6 @@
38
36
  "@capacitor/haptics": ">=8 <9",
39
37
  "rxjs": "^7.8.0"
40
38
  },
41
- "peerDependenciesMeta": {
42
- "@angular/animations": {
43
- "optional": true
44
- },
45
- "@angular/aria": {
46
- "optional": true
47
- },
48
- "@angular/cdk": {
49
- "optional": true
50
- },
51
- "@angular/forms": {
52
- "optional": true
53
- },
54
- "@angular/router": {
55
- "optional": true
56
- },
57
- "@capacitor/core": {
58
- "optional": true
59
- },
60
- "@capacitor/haptics": {
61
- "optional": true
62
- }
63
- },
64
39
  "dependencies": {
65
40
  "tslib": "^2.3.0"
66
41
  },
@@ -68,24 +43,9 @@
68
43
  "**/*.css",
69
44
  "**/*.scss"
70
45
  ],
46
+ "module": "fesm2022/juligc99-loro-ui.mjs",
47
+ "typings": "types/juligc99-loro-ui.d.ts",
71
48
  "exports": {
72
- "./styles/breakpoints": {
73
- "sass": "./styles/_breakpoints.scss",
74
- "default": "./styles/_breakpoints.scss"
75
- },
76
- "./styles/breakpoints.scss": {
77
- "sass": "./styles/_breakpoints.scss",
78
- "default": "./styles/_breakpoints.scss"
79
- },
80
- "./design-tokens/loro-theme": {
81
- "sass": "./design-tokens/loro-theme.scss",
82
- "default": "./design-tokens/loro-theme.scss"
83
- },
84
- "./design-tokens/loro-theme.scss": {
85
- "sass": "./design-tokens/loro-theme.scss",
86
- "default": "./design-tokens/loro-theme.scss"
87
- },
88
- "./assets/*": "./assets/loro-ui/*",
89
49
  "./package.json": {
90
50
  "default": "./package.json"
91
51
  },
@@ -94,7 +54,5 @@
94
54
  "default": "./fesm2022/juligc99-loro-ui.mjs"
95
55
  }
96
56
  },
97
- "module": "fesm2022/juligc99-loro-ui.mjs",
98
- "typings": "types/juligc99-loro-ui.d.ts",
99
57
  "type": "module"
100
58
  }
@@ -1,20 +1,16 @@
1
- // Public Loro UI Sass breakpoint API.
2
- // Import from apps with:
3
- // @use '@juligc99/loro-ui/styles/breakpoints' as bp;
4
-
5
- $phone-portrait-max: 599.98px !default;
6
- $tablet-min: 600px !default;
7
- $desktop-min: 1024px !default;
8
- $smart-tv-min: 1600px !default;
1
+ $mobile-tablet-max: 1023.88px;
2
+ $phone-max: 479.99px;
3
+ $desktop-min: 1024px;
4
+ $smart-tv-min: 1600px;
9
5
 
10
6
  @mixin on-phone-portrait {
11
- @media (max-width: $phone-portrait-max) {
7
+ @media (max-width: $phone-max) and (orientation: portrait) {
12
8
  @content;
13
9
  }
14
10
  }
15
11
 
16
12
  @mixin on-mobile-tablet-landscape {
17
- @media (min-width: $tablet-min) and (max-width: 1023.98px) and (orientation: landscape) {
13
+ @media (min-width: $phone-max) and (max-width: $mobile-tablet-max) and (orientation: landscape) {
18
14
  @content;
19
15
  }
20
16
  }