@san-siva/blogkit 1.1.3 → 1.1.4

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.
@@ -1,4 +1,4 @@
1
- var styles = {"margin-bottom--3":"Blog-module_margin-bottom--3__ir35O","category__header":"Blog-module_category__header__F1K0V","blog":"Blog-module_blog__Lpv6Z","blog__content":"Blog-module_blog__content__RMDiY","blog__sidebar":"Blog-module_blog__sidebar__uSu3l","category__title":"Blog-module_category__title__960db","category__title--active":"Blog-module_category__title--active__nvGys","category__title--sub":"Blog-module_category__title--sub__zrfE5","margin-bottom-imp--2":"Blog-module_margin-bottom-imp--2__G9mC9"};
1
+ var styles = {"margin-bottom--3":"Blog-module_margin-bottom--3__ir35O","category__header":"Blog-module_category__header__F1K0V","blog":"Blog-module_blog__Lpv6Z","blog__content":"Blog-module_blog__content__RMDiY","blog__sidebar":"Blog-module_blog__sidebar__uSu3l","category__title":"Blog-module_category__title__960db","category__title--active":"Blog-module_category__title--active__nvGys","category__title--sub":"Blog-module_category__title--sub__zrfE5"};
2
2
 
3
3
  export { styles as default };
4
4
  //# sourceMappingURL=Blog.module.scss.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@san-siva/blogkit",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "A reusable blog component library for React/Next.js applications with code highlighting, diagrams, and rich content features",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -2,8 +2,9 @@
2
2
 
3
3
  .blog {
4
4
  width: 100%;
5
+ max-width: 100%;
5
6
  display: grid;
6
- grid-template-columns: max-content #{styles.rem(320)};
7
+ grid-template-columns: #{styles.rem(780)} minmax(#{styles.rem(320)}, 1fr);
7
8
  grid-gap: styles.space(8);
8
9
 
9
10
  > * {
@@ -17,11 +18,8 @@
17
18
  &__sidebar {
18
19
  position: sticky;
19
20
  height: fit-content;
20
- top: calc(var(--topbar-height) + #{styles.space(6)});
21
+ top: var(--topbar-height);
21
22
  padding: styles.space(6);
22
- min-width: calc(
23
- #{styles.rem(320)} - #{styles.space(6)} - #{styles.space(6)}
24
- );
25
23
  border-radius: styles.$border-radius--1;
26
24
  background-color: styles.$color--code;
27
25
  box-shadow:
@@ -73,20 +71,3 @@ $breakpoint: calc(
73
71
  }
74
72
  }
75
73
  }
76
-
77
- // Margin utilities
78
- .margin-bottom--3 {
79
- margin-bottom: styles.space(3);
80
- }
81
-
82
- .margin-bottom-imp--2 {
83
- margin-bottom: styles.space(2) !important;
84
- }
85
-
86
- .category__header {
87
- font-weight: styles.$font-weight--500;
88
- }
89
-
90
- .category__title {
91
- // Styles defined in &__sidebar > .category__title above
92
- }