@pontive/pontkit-core 1.11.1 → 1.12.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/dist/styles.css CHANGED
@@ -650,6 +650,7 @@
650
650
  :root {
651
651
  /* * WIDTH * */
652
652
  --pont-ref-sizing-w-auto: auto;
653
+ --pont-ref-sizing-w-px: 1px;
653
654
  --pont-ref-sizing-w-full: 100%;
654
655
  --pont-ref-sizing-w-screen: 100vw;
655
656
  --pont-ref-sizing-w-dvw: 100dvw;
@@ -664,6 +665,7 @@
664
665
 
665
666
  /* * HEIGHT * */
666
667
  --pont-ref-sizing-h-auto: auto;
668
+ --pont-ref-sizing-h-px: 1px;
667
669
  --pont-ref-sizing-h-full: 100%;
668
670
  --pont-ref-sizing-h-screen: 100vh;
669
671
  --pont-ref-sizing-h-dvh: 100dvh;
@@ -679,6 +681,7 @@
679
681
 
680
682
  /* * MIN WIDTH * */
681
683
  --pont-ref-sizing-min-w-auto: auto;
684
+ --pont-ref-sizing-min-w-px: 1px;
682
685
  --pont-ref-sizing-min-w-full: 100%;
683
686
  --pont-ref-sizing-min-w-screen: 100vw;
684
687
  --pont-ref-sizing-min-w-dvw: 100dvw;
@@ -693,6 +696,7 @@
693
696
 
694
697
  /* * MAX WIDTH * */
695
698
  --pont-ref-sizing-max-w-none: none;
699
+ --pont-ref-sizing-max-w-px: 1px;
696
700
  --pont-ref-sizing-max-w-full: 100%;
697
701
  --pont-ref-sizing-max-w-dvw: 100dvw;
698
702
  --pont-ref-sizing-max-w-dvh: 100dvh;
@@ -706,6 +710,7 @@
706
710
  --pont-ref-sizing-max-w-fit: fit-content;
707
711
 
708
712
  /* * MIN HEIGHT * */
713
+ --pont-ref-sizing-min-h-px: 1px;
709
714
  --pont-ref-sizing-min-h-full: 100%;
710
715
  --pont-ref-sizing-min-h-screen: 100vh;
711
716
  --pont-ref-sizing-min-h-dvh: 100dvh;
@@ -722,6 +727,7 @@
722
727
 
723
728
  /* * MAX HEIGHT * */
724
729
  --pont-ref-sizing-max-h-none: none;
730
+ --pont-ref-sizing-max-h-px: 1px;
725
731
  --pont-ref-sizing-max-h-full: 100%;
726
732
  --pont-ref-sizing-max-h-screen: 100vh;
727
733
  --pont-ref-sizing-max-h-dvh: 100dvh;
@@ -7734,9 +7740,36 @@ them all being named `--pont-checkbox-icon-*`. */
7734
7740
  */
7735
7741
 
7736
7742
  :root {
7737
- --pont-separator-color-bg: hsl(var(--pont-sem-color-border));
7738
- --pont-separator-horizontal-space-h: var(--pont-sem-width-border);
7739
- --pont-separator-vertical-space-w: var(--pont-sem-width-border);
7743
+ /* BACKGROUND */
7744
+ --pont-separator-bg-color: hsl(var(--pont-sem-color-border));
7745
+ }
7746
+
7747
+ /* * -------- ORIENTATIONS -------- * */
7748
+
7749
+ /* * HORIZONTAL * */
7750
+
7751
+ :root {
7752
+ /* SIZING */
7753
+ --pont-separator-horizontal-sizing-w: var(--pont-ref-sizing-w-full);
7754
+ --pont-separator-horizontal-sizing-h: var(--pont-ref-sizing-h-px);
7755
+
7756
+ --pont-separator-horizontal-sizing-min-w: var(--pont-ref-sizing-min-w-auto);
7757
+ --pont-separator-horizontal-sizing-max-w: var(--pont-ref-sizing-max-w-none);
7758
+ --pont-separator-horizontal-sizing-min-h: var(--pont-ref-sizing-min-h-auto);
7759
+ --pont-separator-horizontal-sizing-max-h: var(--pont-ref-sizing-max-h-none);
7760
+ }
7761
+
7762
+ /* * VERTICAL * */
7763
+
7764
+ :root {
7765
+ /* SIZING */
7766
+ --pont-separator-vertical-sizing-w: var(--pont-ref-sizing-w-px);
7767
+ --pont-separator-vertical-sizing-h: var(--pont-ref-sizing-h-auto);
7768
+
7769
+ --pont-separator-vertical-sizing-min-w: var(--pont-ref-sizing-min-w-auto);
7770
+ --pont-separator-vertical-sizing-max-w: var(--pont-ref-sizing-max-w-none);
7771
+ --pont-separator-vertical-sizing-min-h: var(--pont-ref-sizing-min-h-auto);
7772
+ --pont-separator-vertical-sizing-max-h: var(--pont-ref-sizing-max-h-none);
7740
7773
  }
7741
7774
 
7742
7775
  /*
@@ -13274,20 +13307,39 @@ pont-separator {
13274
13307
  flex-shrink: 0;
13275
13308
  }
13276
13309
 
13277
- pont-separator:has(> [data-slot="separator"][data-orientation="horizontal"]) {
13310
+ [data-pont-separator] {
13278
13311
  width: 100%;
13279
- height: var(--pont-separator-horizontal-space-h);
13312
+ height: 100%;
13313
+
13314
+ background-color: var(--pont-separator-bg-color);
13280
13315
  }
13281
13316
 
13282
- pont-separator:has(> [data-slot="separator"][data-orientation="vertical"]) {
13283
- align-self: stretch;
13284
- width: var(--pont-separator-vertical-space-w);
13317
+ /* * -------- ORIENTATIONS -------- * */
13318
+
13319
+ /* * HORIZONTAL * */
13320
+
13321
+ pont-separator:has([data-orientation="horizontal"]) {
13322
+ width: var(--pont-separator-horizontal-sizing-w);
13323
+ height: var(--pont-separator-horizontal-sizing-h);
13324
+
13325
+ min-width: var(--pont-separator-horizontal-sizing-min-w);
13326
+ max-width: var(--pont-separator-horizontal-sizing-max-w);
13327
+ min-height: var(--pont-separator-horizontal-sizing-min-h);
13328
+ max-height: var(--pont-separator-horizontal-sizing-max-h);
13285
13329
  }
13286
13330
 
13287
- pont-separator > [data-slot="separator"] {
13288
- width: 100%;
13289
- height: 100%;
13290
- background-color: var(--pont-separator-color-bg);
13331
+ /* * VERTICAL * */
13332
+
13333
+ pont-separator:has([data-orientation="vertical"]) {
13334
+ align-self: stretch;
13335
+
13336
+ width: var(--pont-separator-vertical-sizing-w);
13337
+ height: var(--pont-separator-vertical-sizing-h);
13338
+
13339
+ min-width: var(--pont-separator-horizontal-sizing-min-w);
13340
+ max-width: var(--pont-separator-horizontal-sizing-max-w);
13341
+ min-height: var(--pont-separator-horizontal-sizing-min-h);
13342
+ max-height: var(--pont-separator-horizontal-sizing-max-h);
13291
13343
  }
13292
13344
 
13293
13345
  /*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pontive/pontkit-core",
3
- "version": "1.11.1",
3
+ "version": "1.12.0",
4
4
  "license": "MIT",
5
5
  "description": "A collection of core components for Pontive",
6
6
  "main": "dist/index.js",