@donotdev/ui 0.0.26 → 0.0.28

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/dndev.css CHANGED
@@ -3319,6 +3319,44 @@ em {
3319
3319
  background: color-mix(in oklab, var(--accent) 5%, transparent);
3320
3320
  }
3321
3321
 
3322
+ /* Bleed: full viewport width */
3323
+
3324
+ .dndev-cta--bleed {
3325
+ width: 100vw;
3326
+ margin-inline: calc(50% - 50vw);
3327
+ }
3328
+
3329
+ /* Background image with overlay for text readability */
3330
+
3331
+ .dndev-cta--bg-image {
3332
+ position: relative;
3333
+ background-size: cover;
3334
+ background-position: center;
3335
+ background-repeat: no-repeat;
3336
+ }
3337
+
3338
+ .dndev-cta--bg-image::before {
3339
+ content: '';
3340
+ position: absolute;
3341
+ inset: 0;
3342
+ background: linear-gradient(
3343
+ to bottom,
3344
+ rgba(0, 0, 0, 0.4),
3345
+ rgba(0, 0, 0, 0.6)
3346
+ );
3347
+ z-index: 0;
3348
+ }
3349
+
3350
+ .dndev-cta--bg-image > * {
3351
+ position: relative;
3352
+ z-index: 1;
3353
+ }
3354
+
3355
+ .dndev-cta--bg-image,
3356
+ .dndev-cta--bg-image .dndev-cta-content {
3357
+ color: white;
3358
+ }
3359
+
3322
3360
  .dndev-cta-content {
3323
3361
  display: flex;
3324
3362
  flex-direction: column;
@@ -3337,21 +3375,64 @@ em {
3337
3375
  }
3338
3376
  }
3339
3377
 
3378
+ /* Text alignment */
3379
+
3340
3380
  .dndev-cta-content[data-text-align='start'] {
3341
3381
  text-align: start;
3342
- align-items: flex-start;
3343
3382
  }
3344
3383
 
3345
3384
  .dndev-cta-content[data-text-align='center'] {
3346
3385
  text-align: center;
3347
- align-items: center;
3348
3386
  }
3349
3387
 
3350
3388
  .dndev-cta-content[data-text-align='end'] {
3351
3389
  text-align: end;
3390
+ }
3391
+
3392
+ /* Item alignment (align-items) */
3393
+
3394
+ .dndev-cta-content[data-align='start'] {
3395
+ align-items: flex-start;
3396
+ }
3397
+
3398
+ .dndev-cta-content[data-align='center'] {
3399
+ align-items: center;
3400
+ }
3401
+
3402
+ .dndev-cta-content[data-align='end'] {
3352
3403
  align-items: flex-end;
3353
3404
  }
3354
3405
 
3406
+ .dndev-cta-content[data-align='stretch'] {
3407
+ align-items: stretch;
3408
+ }
3409
+
3410
+ /* Content justification (justify-content) */
3411
+
3412
+ .dndev-cta-content[data-justify='start'] {
3413
+ justify-content: flex-start;
3414
+ }
3415
+
3416
+ .dndev-cta-content[data-justify='center'] {
3417
+ justify-content: center;
3418
+ }
3419
+
3420
+ .dndev-cta-content[data-justify='end'] {
3421
+ justify-content: flex-end;
3422
+ }
3423
+
3424
+ .dndev-cta-content[data-justify='between'] {
3425
+ justify-content: space-between;
3426
+ }
3427
+
3428
+ .dndev-cta-content[data-justify='around'] {
3429
+ justify-content: space-around;
3430
+ }
3431
+
3432
+ .dndev-cta-content[data-justify='evenly'] {
3433
+ justify-content: space-evenly;
3434
+ }
3435
+
3355
3436
  .dndev-cta-actions {
3356
3437
  display: flex;
3357
3438
  flex-direction: row;
@@ -4709,6 +4790,20 @@ em {
4709
4790
  align-items: stretch;
4710
4791
  }
4711
4792
 
4793
+ /* Text alignment */
4794
+
4795
+ .dndev-grid-component[data-text-align='start'] {
4796
+ text-align: start;
4797
+ }
4798
+
4799
+ .dndev-grid-component[data-text-align='center'] {
4800
+ text-align: center;
4801
+ }
4802
+
4803
+ .dndev-grid-component[data-text-align='end'] {
4804
+ text-align: end;
4805
+ }
4806
+
4712
4807
  /* Justify items (horizontal alignment) */
4713
4808
 
4714
4809
  .dndev-grid-component[data-justify='start'] {
@@ -4782,38 +4877,112 @@ em {
4782
4877
  }
4783
4878
  }
4784
4879
 
4880
+ .dndev-hero-section {
4881
+
4882
+ display: flex;
4883
+ flex-direction: column;
4884
+ }
4885
+
4886
+ .dndev-hero-section h1 {
4887
+ font-family: var(--font-headline, var(--font-sans));
4888
+ }
4889
+
4890
+ /* Text alignment */
4891
+
4785
4892
  .dndev-hero-section[data-text-align='start'] {
4786
- display: flex;
4787
- flex-direction: column;
4788
- align-items: flex-start;
4789
4893
  text-align: start;
4790
4894
  }
4791
4895
 
4792
- .dndev-hero-section[data-text-align='start'] h1 {
4793
- font-family: var(--font-headline, var(--font-sans));
4794
- }
4795
-
4796
4896
  .dndev-hero-section[data-text-align='center'] {
4797
- display: flex;
4798
- flex-direction: column;
4799
- align-items: center;
4800
4897
  text-align: center;
4801
4898
  }
4802
4899
 
4803
- .dndev-hero-section[data-text-align='center'] h1 {
4804
- font-family: var(--font-headline, var(--font-sans));
4805
- }
4806
-
4807
4900
  .dndev-hero-section[data-text-align='end'] {
4808
- display: flex;
4809
- flex-direction: column;
4810
- align-items: flex-end;
4811
4901
  text-align: end;
4812
4902
  }
4813
4903
 
4814
- .dndev-hero-section[data-text-align='end'] h1 {
4815
- font-family: var(--font-headline, var(--font-sans));
4816
- }
4904
+ /* Item alignment (align-items) */
4905
+
4906
+ .dndev-hero-section[data-align='start'] {
4907
+ align-items: flex-start;
4908
+ }
4909
+
4910
+ .dndev-hero-section[data-align='center'] {
4911
+ align-items: center;
4912
+ }
4913
+
4914
+ .dndev-hero-section[data-align='end'] {
4915
+ align-items: flex-end;
4916
+ }
4917
+
4918
+ .dndev-hero-section[data-align='stretch'] {
4919
+ align-items: stretch;
4920
+ }
4921
+
4922
+ /* Content justification (justify-content) */
4923
+
4924
+ .dndev-hero-section[data-justify='start'] {
4925
+ justify-content: flex-start;
4926
+ }
4927
+
4928
+ .dndev-hero-section[data-justify='center'] {
4929
+ justify-content: center;
4930
+ }
4931
+
4932
+ .dndev-hero-section[data-justify='end'] {
4933
+ justify-content: flex-end;
4934
+ }
4935
+
4936
+ .dndev-hero-section[data-justify='between'] {
4937
+ justify-content: space-between;
4938
+ }
4939
+
4940
+ .dndev-hero-section[data-justify='around'] {
4941
+ justify-content: space-around;
4942
+ }
4943
+
4944
+ .dndev-hero-section[data-justify='evenly'] {
4945
+ justify-content: space-evenly;
4946
+ }
4947
+
4948
+ /* Bleed: full viewport width */
4949
+
4950
+ .dndev-hero-section--bleed {
4951
+ width: 100vw;
4952
+ max-width: none;
4953
+ margin-inline: calc(50% - 50vw);
4954
+ }
4955
+
4956
+ /* Background image with overlay for text readability */
4957
+
4958
+ .dndev-hero-section--bg-image {
4959
+ position: relative;
4960
+ background-size: cover;
4961
+ background-position: center;
4962
+ background-repeat: no-repeat;
4963
+ }
4964
+
4965
+ .dndev-hero-section--bg-image::before {
4966
+ content: '';
4967
+ position: absolute;
4968
+ inset: 0;
4969
+ background: linear-gradient(
4970
+ to bottom,
4971
+ rgba(0, 0, 0, 0.4),
4972
+ rgba(0, 0, 0, 0.6)
4973
+ );
4974
+ z-index: 0;
4975
+ }
4976
+
4977
+ .dndev-hero-section--bg-image > * {
4978
+ position: relative;
4979
+ z-index: 1;
4980
+ }
4981
+
4982
+ .dndev-hero-section--bg-image,
4983
+ .dndev-hero-section--bg-image .dndev-hero-subtitle {
4984
+ color: white;
4985
+ }
4817
4986
 
4818
4987
  .dndev-hero-subtitle {
4819
4988
  font-size: var(--font-size-lg); /* 20px - muted via component */
@@ -6103,6 +6272,17 @@ input[type='number'] {
6103
6272
  width: 100%;
6104
6273
  }
6105
6274
 
6275
+ /* Bleed: background spans full viewport width, content stays padded */
6276
+
6277
+ .dndev-section-bleed {
6278
+ width: 100vw;
6279
+ margin-inline: calc(50% - 50vw);
6280
+ }
6281
+
6282
+ .dndev-section-bleed > .dndev-section-content {
6283
+ max-width: none;
6284
+ }
6285
+
6106
6286
  /* Content wrapper: constrained + centered + padded */
6107
6287
 
6108
6288
  .dndev-section-content {
@@ -6123,6 +6303,64 @@ input[type='number'] {
6123
6303
  }
6124
6304
  }
6125
6305
 
6306
+ /* Propagate text-align to all section content via CSS inheritance */
6307
+
6308
+ .dndev-section-full-width[data-text-align='start'] > .dndev-section-content {
6309
+ text-align: start;
6310
+ }
6311
+
6312
+ .dndev-section-full-width[data-text-align='center'] > .dndev-section-content {
6313
+ text-align: center;
6314
+ }
6315
+
6316
+ .dndev-section-full-width[data-text-align='end'] > .dndev-section-content {
6317
+ text-align: end;
6318
+ }
6319
+
6320
+ /* Item alignment (align-items) on content container */
6321
+
6322
+ .dndev-section-content[data-align='start'] {
6323
+ align-items: flex-start;
6324
+ }
6325
+
6326
+ .dndev-section-content[data-align='center'] {
6327
+ align-items: center;
6328
+ }
6329
+
6330
+ .dndev-section-content[data-align='end'] {
6331
+ align-items: flex-end;
6332
+ }
6333
+
6334
+ .dndev-section-content[data-align='stretch'] {
6335
+ align-items: stretch;
6336
+ }
6337
+
6338
+ /* Content justification (justify-content) on content container */
6339
+
6340
+ .dndev-section-content[data-justify='start'] {
6341
+ justify-content: flex-start;
6342
+ }
6343
+
6344
+ .dndev-section-content[data-justify='center'] {
6345
+ justify-content: center;
6346
+ }
6347
+
6348
+ .dndev-section-content[data-justify='end'] {
6349
+ justify-content: flex-end;
6350
+ }
6351
+
6352
+ .dndev-section-content[data-justify='between'] {
6353
+ justify-content: space-between;
6354
+ }
6355
+
6356
+ .dndev-section-content[data-justify='around'] {
6357
+ justify-content: space-around;
6358
+ }
6359
+
6360
+ .dndev-section-content[data-justify='evenly'] {
6361
+ justify-content: space-evenly;
6362
+ }
6363
+
6126
6364
  /* Section title: uppercase, accent color, letter spacing */
6127
6365
 
6128
6366
  .dndev-section-title {
@@ -6966,6 +7204,44 @@ input[type='number'] {
6966
7204
  border-width: 3px;
6967
7205
  }
6968
7206
 
7207
+ /* Container overlay - scoped to parent (position: relative) */
7208
+
7209
+ .dndev-spinner-overlay--container {
7210
+ position: absolute;
7211
+ inset: 0;
7212
+ display: flex;
7213
+ align-items: center;
7214
+ justify-content: center;
7215
+ background: rgb(from var(--background) r g b / 0.8);
7216
+ backdrop-filter: blur(8px);
7217
+ -webkit-backdrop-filter: blur(8px);
7218
+ z-index: var(--z-overlay, 9999);
7219
+ transition: opacity var(--dur-normal, 0.2s) var(--ease-in-out, ease-in-out);
7220
+ }
7221
+
7222
+ .dndev-spinner-overlay--container .dndev-spinner {
7223
+ width: var(--icon-lg, 32px);
7224
+ height: var(--icon-lg, 32px);
7225
+ border-width: 3px;
7226
+ }
7227
+
7228
+ /* Spinner content wrapper (spinner + message) */
7229
+
7230
+ .dndev-spinner-content {
7231
+ display: flex;
7232
+ flex-direction: column;
7233
+ align-items: center;
7234
+ gap: var(--gap-md, 12px);
7235
+ }
7236
+
7237
+ /* Message text below spinner */
7238
+
7239
+ .dndev-spinner-message {
7240
+ color: var(--muted-foreground);
7241
+ font-size: var(--font-size-sm, 0.875rem);
7242
+ font-weight: 500;
7243
+ }
7244
+
6969
7245
  /* Spinner animation */
6970
7246
 
6971
7247
  @keyframes spin {
@@ -7146,6 +7422,20 @@ input[type='number'] {
7146
7422
  align-self: inherit !important;
7147
7423
  }
7148
7424
 
7425
+ /* Text alignment */
7426
+
7427
+ .dndev-stack[data-text-align='start'] {
7428
+ text-align: start;
7429
+ }
7430
+
7431
+ .dndev-stack[data-text-align='center'] {
7432
+ text-align: center;
7433
+ }
7434
+
7435
+ .dndev-stack[data-text-align='end'] {
7436
+ text-align: end;
7437
+ }
7438
+
7149
7439
  /* packages/components/src/atomic/Stepper/Stepper.css */
7150
7440
 
7151
7441
  .dndev-stepper-container:focus,.dndev-stepper-container:focus-visible {