@duskmoon-dev/core 1.18.6 → 1.19.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @duskmoon-dev/core v1.18.6
2
+ * @duskmoon-dev/core v1.19.0
3
3
  * Built-in DuskMoonUI themes
4
4
  * https://github.com/duskmoon-dev/duskmoonui
5
5
  * @license MIT
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @duskmoon-dev/core v1.18.6
3
- * @duskmoon-dev/css-art v1.18.6
2
+ * @duskmoon-dev/core v1.19.0
3
+ * @duskmoon-dev/css-art v1.19.0
4
4
  * Complete standalone DuskMoonUI styles
5
5
  * https://github.com/duskmoon-dev/duskmoonui
6
6
  * @license MIT
@@ -16147,6 +16147,185 @@ html {
16147
16147
  }
16148
16148
  }
16149
16149
 
16150
+ /**
16151
+ * Console Page Layout
16152
+ * Responsive application shell with expanded, icon-rail, and hidden sidebar states.
16153
+ */
16154
+
16155
+ @layer components {
16156
+ .console-page {
16157
+ --console-page-sidebar-width: 17.5rem;
16158
+ --console-page-sidebar-compact-width: 5rem;
16159
+ container-type: inline-size;
16160
+ container-name: console-page;
16161
+ width: 100%;
16162
+ min-width: 0;
16163
+ min-height: var(--console-page-min-height, 100dvh);
16164
+ background-color: var(--color-surface);
16165
+ color: var(--color-on-surface);
16166
+ }
16167
+
16168
+ .console-page-frame {
16169
+ display: grid;
16170
+ min-height: inherit;
16171
+ grid-template-areas:
16172
+ "appbar"
16173
+ "main";
16174
+ grid-template-columns: minmax(0, 1fr);
16175
+ grid-template-rows: auto minmax(0, 1fr);
16176
+ transition: grid-template-columns 240ms ease-out;
16177
+ }
16178
+
16179
+ .console-page-appbar {
16180
+ grid-area: appbar;
16181
+ z-index: 20;
16182
+ }
16183
+
16184
+ .console-page-sidebar {
16185
+ display: none;
16186
+ grid-area: sidebar;
16187
+ min-width: 0;
16188
+ overflow: hidden;
16189
+ background-color: var(--color-surface-container-low);
16190
+ border-inline-end: 1px solid var(--color-outline-variant);
16191
+ transition:
16192
+ opacity 160ms ease-out,
16193
+ visibility 160ms ease-out;
16194
+ }
16195
+
16196
+ .console-page-sidebar-header,
16197
+ .console-page-sidebar-footer {
16198
+ display: flex;
16199
+ align-items: center;
16200
+ gap: 0.75rem;
16201
+ min-height: 4rem;
16202
+ padding: 0.75rem 1rem;
16203
+ flex-shrink: 0;
16204
+ }
16205
+
16206
+ .console-page-sidebar-header {
16207
+ border-bottom: 1px solid var(--color-outline-variant);
16208
+ }
16209
+
16210
+ .console-page-sidebar-body {
16211
+ flex: 1;
16212
+ min-height: 0;
16213
+ overflow-y: auto;
16214
+ overflow-x: hidden;
16215
+ padding-block: 0.5rem;
16216
+ }
16217
+
16218
+ .console-page-sidebar-footer {
16219
+ border-top: 1px solid var(--color-outline-variant);
16220
+ }
16221
+
16222
+ .console-page-main {
16223
+ grid-area: main;
16224
+ min-width: 0;
16225
+ overflow: auto;
16226
+ padding: clamp(1rem, 4cqi, 2.5rem);
16227
+ background-color: var(--color-surface);
16228
+ }
16229
+
16230
+ .console-page-nav-label {
16231
+ overflow: hidden;
16232
+ text-overflow: ellipsis;
16233
+ white-space: nowrap;
16234
+ }
16235
+
16236
+ .console-page-sidebar-toggle {
16237
+ display: none;
16238
+ }
16239
+
16240
+ .console-page-menu-trigger {
16241
+ display: inline-flex;
16242
+ }
16243
+
16244
+ .console-page-mobile-menu {
16245
+ max-width: min(20rem, calc(100cqi - 2rem));
16246
+ }
16247
+
16248
+ @container console-page (min-width: 48rem) {
16249
+ .console-page-frame {
16250
+ grid-template-areas:
16251
+ "appbar appbar"
16252
+ "sidebar main";
16253
+ grid-template-columns: var(--console-page-sidebar-width) minmax(0, 1fr);
16254
+ }
16255
+
16256
+ .console-page-sidebar {
16257
+ display: flex;
16258
+ flex-direction: column;
16259
+ }
16260
+
16261
+ .console-page-sidebar-toggle {
16262
+ display: inline-flex;
16263
+ }
16264
+
16265
+ .console-page-menu-trigger {
16266
+ display: none;
16267
+ }
16268
+
16269
+ .console-page-mobile-menu {
16270
+ display: none;
16271
+ }
16272
+
16273
+ .console-page-sidebar-compact .console-page-frame {
16274
+ grid-template-columns: var(--console-page-sidebar-compact-width) minmax(0, 1fr);
16275
+ }
16276
+
16277
+ .console-page-sidebar-compact .console-page-nav-label {
16278
+ position: absolute;
16279
+ width: 1px;
16280
+ height: 1px;
16281
+ padding: 0;
16282
+ margin: -1px;
16283
+ overflow: hidden;
16284
+ clip: rect(0, 0, 0, 0);
16285
+ white-space: nowrap;
16286
+ border: 0;
16287
+ }
16288
+
16289
+ .console-page-sidebar-compact .console-page-sidebar-header,
16290
+ .console-page-sidebar-compact .console-page-sidebar-footer {
16291
+ justify-content: center;
16292
+ padding-inline: 0.75rem;
16293
+ }
16294
+
16295
+ .console-page-sidebar-compact .console-page-sidebar-body :is(.nested-menu li > a, .nested-menu li > button, .nested-menu summary) {
16296
+ justify-content: center;
16297
+ padding-inline: 0.75rem;
16298
+ }
16299
+
16300
+ .console-page-sidebar-compact .console-page-sidebar-body .drawer-item {
16301
+ justify-content: center;
16302
+ padding-inline: 0.75rem;
16303
+ }
16304
+
16305
+ .console-page-sidebar-compact .console-page-sidebar-body :is(.nested-menu-title, details > ul, summary::after) {
16306
+ display: none;
16307
+ }
16308
+
16309
+ .console-page-sidebar-hidden .console-page-frame {
16310
+ grid-template-areas:
16311
+ "appbar"
16312
+ "main";
16313
+ grid-template-columns: minmax(0, 1fr);
16314
+ }
16315
+
16316
+ .console-page-sidebar-hidden .console-page-sidebar {
16317
+ display: none;
16318
+ }
16319
+ }
16320
+
16321
+ @media (prefers-reduced-motion: reduce) {
16322
+ .console-page-frame,
16323
+ .console-page-sidebar {
16324
+ transition: none;
16325
+ }
16326
+ }
16327
+ }
16328
+
16150
16329
  /**
16151
16330
  * Divider Component Styles
16152
16331
  * DuskMoonUI - Material Design 3 inspired divider system
@@ -16522,6 +16701,182 @@ html {
16522
16701
  }
16523
16702
  }
16524
16703
 
16704
+ /**
16705
+ * Home Page Layout
16706
+ * App-bar-led public application shell driven by its containing width.
16707
+ */
16708
+
16709
+ @layer components {
16710
+ .home-page {
16711
+ container-type: inline-size;
16712
+ container-name: home-page;
16713
+ width: 100%;
16714
+ min-width: 0;
16715
+ min-height: var(--home-page-min-height, 100dvh);
16716
+ background-color: var(--color-surface);
16717
+ color: var(--color-on-surface);
16718
+ }
16719
+
16720
+ .home-page-frame {
16721
+ display: grid;
16722
+ min-height: inherit;
16723
+ grid-template-rows: auto minmax(0, 1fr) auto;
16724
+ }
16725
+
16726
+ .home-page-header {
16727
+ z-index: 10;
16728
+ }
16729
+
16730
+ .home-page-nav {
16731
+ display: none;
16732
+ align-items: center;
16733
+ gap: 0.25rem;
16734
+ }
16735
+
16736
+ .home-page-actions {
16737
+ display: none;
16738
+ align-items: center;
16739
+ gap: 0.25rem;
16740
+ }
16741
+
16742
+ .home-page-menu-trigger {
16743
+ display: inline-flex;
16744
+ }
16745
+
16746
+ .home-page-mobile-menu {
16747
+ max-width: min(20rem, calc(100cqi - 2rem));
16748
+ }
16749
+
16750
+ .home-page-main {
16751
+ min-width: 0;
16752
+ }
16753
+
16754
+ .home-page-content {
16755
+ width: min(100%, 80rem);
16756
+ margin-inline: auto;
16757
+ padding: clamp(1rem, 5cqi, 3rem);
16758
+ }
16759
+
16760
+ .home-page-hero {
16761
+ display: grid;
16762
+ align-items: center;
16763
+ grid-template-columns: minmax(0, 1fr);
16764
+ gap: clamp(2rem, 5cqi, 4rem);
16765
+ }
16766
+
16767
+ .home-page-footer {
16768
+ border-top: 1px solid var(--color-outline-variant);
16769
+ background-color: var(--color-surface-container-low);
16770
+ }
16771
+
16772
+ @container home-page (min-width: 48rem) {
16773
+ .home-page-nav {
16774
+ display: flex;
16775
+ }
16776
+
16777
+ .home-page-actions {
16778
+ display: flex;
16779
+ }
16780
+
16781
+ .home-page-menu-trigger {
16782
+ display: none;
16783
+ }
16784
+
16785
+ .home-page-mobile-menu {
16786
+ display: none;
16787
+ }
16788
+
16789
+ .home-page-content {
16790
+ padding-inline: clamp(2rem, 5cqi, 5rem);
16791
+ }
16792
+
16793
+ .home-page-hero {
16794
+ grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
16795
+ }
16796
+ }
16797
+ }
16798
+
16799
+ /**
16800
+ * Sign Page Layout
16801
+ * Responsive authentication shell driven by its containing width.
16802
+ */
16803
+
16804
+ @layer components {
16805
+ .sign-page {
16806
+ container-type: inline-size;
16807
+ container-name: sign-page;
16808
+ width: 100%;
16809
+ min-width: 0;
16810
+ min-height: var(--sign-page-min-height, 100dvh);
16811
+ overflow: hidden;
16812
+ background-color: var(--color-surface);
16813
+ color: var(--color-on-surface);
16814
+ }
16815
+
16816
+ .sign-page-frame {
16817
+ display: grid;
16818
+ min-height: inherit;
16819
+ grid-template-columns: minmax(0, 1fr);
16820
+ }
16821
+
16822
+ .sign-page-aside {
16823
+ display: none;
16824
+ position: relative;
16825
+ isolation: isolate;
16826
+ overflow: hidden;
16827
+ padding: clamp(2rem, 6cqi, 5rem);
16828
+ background-color: var(--color-primary-container);
16829
+ color: var(--color-on-primary-container);
16830
+ }
16831
+
16832
+ .sign-page-aside::before,
16833
+ .sign-page-aside::after {
16834
+ content: "";
16835
+ position: absolute;
16836
+ z-index: -1;
16837
+ border-radius: var(--radius-full);
16838
+ background: color-mix(in oklch, var(--color-tertiary) 24%, transparent);
16839
+ filter: blur(1px);
16840
+ }
16841
+
16842
+ .sign-page-aside::before {
16843
+ width: 22rem;
16844
+ height: 22rem;
16845
+ inset: -8rem -6rem auto auto;
16846
+ }
16847
+
16848
+ .sign-page-aside::after {
16849
+ width: 15rem;
16850
+ height: 15rem;
16851
+ inset: auto auto -5rem -4rem;
16852
+ background: color-mix(in oklch, var(--color-secondary) 22%, transparent);
16853
+ }
16854
+
16855
+ .sign-page-main {
16856
+ display: grid;
16857
+ place-items: center;
16858
+ min-width: 0;
16859
+ padding: clamp(1rem, 6cqi, 4rem);
16860
+ background-color: var(--color-surface);
16861
+ }
16862
+
16863
+ .sign-page-content {
16864
+ width: min(100%, 30rem);
16865
+ }
16866
+
16867
+ @container sign-page (min-width: 48rem) {
16868
+ .sign-page-frame {
16869
+ grid-template-columns: minmax(20rem, 1.15fr) minmax(24rem, 0.85fr);
16870
+ }
16871
+
16872
+ .sign-page-aside {
16873
+ display: flex;
16874
+ flex-direction: column;
16875
+ justify-content: space-between;
16876
+ }
16877
+ }
16878
+ }
16879
+
16525
16880
 
16526
16881
  /* ============================================
16527
16882
  * NAVIGATION COMPONENTS