@donotdev/components 0.0.5 → 0.0.6

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.
@@ -1057,12 +1057,13 @@ em {
1057
1057
  }
1058
1058
 
1059
1059
  .dndev-surface[data-variant='glass'] {
1060
- background: color-mix(in oklab, var(--card) 40%, transparent);
1061
- backdrop-filter: blur(12px);
1062
- -webkit-backdrop-filter: blur(12px);
1060
+ background: color-mix(in oklab, var(--card) 55%, transparent);
1061
+ backdrop-filter: blur(20px) saturate(180%);
1062
+ -webkit-backdrop-filter: blur(20px) saturate(180%);
1063
1063
  border: var(--border-hairline) solid
1064
- color-mix(in oklab, var(--card-foreground) 15%, transparent);
1065
- box-shadow: var(--shadow-lg);
1064
+ color-mix(in oklab, var(--card-foreground) 25%, transparent);
1065
+ box-shadow: var(--shadow-lg),
1066
+ inset 0 1px 0 0 color-mix(in oklab, var(--card-foreground) 10%, transparent);
1066
1067
  }
1067
1068
 
1068
1069
  /* Separator style */
@@ -2132,6 +2133,7 @@ em {
2132
2133
  background: transparent;
2133
2134
  color: inherit;
2134
2135
  font-size: var(--font-size-base);
2136
+ font-weight: var(--font-weight-medium);
2135
2137
  }
2136
2138
 
2137
2139
  .dndev-interactive[data-role='accordion-trigger']:hover {
@@ -2156,6 +2158,7 @@ em {
2156
2158
  transition: all var(--dur-fast) var(--ease-in-out);
2157
2159
  width: 100%;
2158
2160
  min-width: 0;
2161
+ text-align: start;
2159
2162
  }
2160
2163
 
2161
2164
  .dndev-accordion-content[data-state='closed'] {
@@ -2903,24 +2906,24 @@ em {
2903
2906
  }
2904
2907
 
2905
2908
  .dndev-cta[data-tone='base'] {
2906
- background: linear-gradient(to right, var(--secondary), var(--background));
2909
+ background: var(--background);
2907
2910
  }
2908
2911
 
2909
2912
  .dndev-cta[data-tone='muted'] {
2910
- background: linear-gradient(to right, var(--muted), var(--background));
2913
+ background: var(--muted);
2911
2914
  }
2912
2915
 
2913
- .dndev-cta[data-tone='accent'] {
2914
- background: linear-gradient(to right, var(--accent), var(--muted));
2916
+ .dndev-cta[data-tone='elevated'] {
2917
+ background: var(--background);
2915
2918
  }
2916
2919
 
2917
2920
  .dndev-cta[data-tone='contrast'] {
2918
- background: linear-gradient(to right, var(--foreground), var(--background));
2921
+ background: var(--foreground);
2919
2922
  color: var(--background);
2920
2923
  }
2921
2924
 
2922
- .dndev-cta[data-tone='elevated'] {
2923
- background: linear-gradient(to right, var(--secondary), var(--background));
2925
+ .dndev-cta[data-tone='accent'] {
2926
+ background: color-mix(in oklab, var(--accent) 5%, transparent);
2924
2927
  }
2925
2928
 
2926
2929
  .dndev-cta-content {
@@ -3027,11 +3030,12 @@ em {
3027
3030
  word-wrap: break-word;
3028
3031
  }
3029
3032
 
3030
- .dndev-card-subtitle {
3033
+ .dndev-surface .dndev-card-subtitle {
3031
3034
  margin-top: 0;
3032
3035
  margin-bottom: 0;
3033
3036
  min-width: 0;
3034
3037
  word-wrap: break-word;
3038
+ color: color-mix(in oklab, var(--card-foreground) 70%, transparent);
3035
3039
  }
3036
3040
 
3037
3041
  /* packages/components/src/atomic/Checkbox/Checkbox.css */
@@ -3122,6 +3126,203 @@ em {
3122
3126
  }
3123
3127
  }
3124
3128
 
3129
+ /* packages/components/src/atomic/Collapsible/Collapsible.css */
3130
+
3131
+ .dndev-collapsible {
3132
+ width: 100%;
3133
+ display: flex;
3134
+ flex-direction: column;
3135
+ }
3136
+
3137
+ .dndev-collapsible-content {
3138
+ overflow: hidden;
3139
+ width: 100%;
3140
+ }
3141
+
3142
+ .dndev-collapsible-content[data-state='open'] {
3143
+ animation: slideDown var(--dur-normal) var(--ease-in-out);
3144
+ }
3145
+
3146
+ .dndev-collapsible-content[data-state='closed'] {
3147
+ animation: slideUp var(--dur-normal) var(--ease-in-out);
3148
+ }
3149
+
3150
+ @keyframes slideDown {
3151
+ from {
3152
+ height: 0;
3153
+ }
3154
+ to {
3155
+ height: var(--radix-collapsible-content-height);
3156
+ }
3157
+ }
3158
+
3159
+ @keyframes slideUp {
3160
+ from {
3161
+ height: var(--radix-collapsible-content-height);
3162
+ }
3163
+ to {
3164
+ height: 0;
3165
+ }
3166
+ }
3167
+
3168
+ /* packages/components/src/atomic/Combobox/Combobox.css */
3169
+
3170
+ .dndev-combobox-trigger {
3171
+ display: flex;
3172
+ justify-content: space-between;
3173
+ align-items: center;
3174
+ width: 100%;
3175
+ text-align: left;
3176
+ }
3177
+
3178
+ .dndev-combobox-trigger button {
3179
+ display: flex;
3180
+ justify-content: space-between;
3181
+ align-items: center;
3182
+ width: 100%;
3183
+ }
3184
+
3185
+ .dndev-combobox-placeholder {
3186
+ opacity: var(--opacity-muted);
3187
+ }
3188
+
3189
+ .dndev-combobox-trigger-icons {
3190
+ display: flex;
3191
+ align-items: center;
3192
+ gap: var(--gap-tight);
3193
+ margin-inline-start: auto;
3194
+ }
3195
+
3196
+ .dndev-combobox-clear {
3197
+ display: flex;
3198
+ align-items: center;
3199
+ justify-content: center;
3200
+ cursor: pointer;
3201
+ opacity: var(--opacity-muted);
3202
+ transition: opacity var(--dur-fast) var(--ease-in-out);
3203
+ -webkit-user-select: none;
3204
+ -moz-user-select: none;
3205
+ user-select: none;
3206
+ }
3207
+
3208
+ .dndev-combobox-clear:hover,
3209
+ .dndev-combobox-clear:focus {
3210
+ opacity: 1;
3211
+ outline: none;
3212
+ }
3213
+
3214
+ .dndev-combobox-clear svg {
3215
+ width: var(--icon-sm);
3216
+ height: var(--icon-sm);
3217
+ }
3218
+
3219
+ .dndev-combobox-chevron {
3220
+ width: var(--icon-md);
3221
+ height: var(--icon-md);
3222
+ opacity: var(--opacity-muted);
3223
+ transition: transform var(--dur-fast) var(--ease-in-out);
3224
+ }
3225
+
3226
+ [data-state='open'] .dndev-combobox-chevron {
3227
+ transform: rotate(180deg);
3228
+ }
3229
+
3230
+ .dndev-combobox-loading-container {
3231
+ display: flex;
3232
+ align-items: center;
3233
+ gap: var(--gap-sm);
3234
+ }
3235
+
3236
+ .dndev-combobox-loading-spinner {
3237
+ width: var(--icon-md);
3238
+ height: var(--icon-md);
3239
+ border-radius: var(--radius-full);
3240
+ border: 2px solid currentColor;
3241
+ border-top-color: transparent;
3242
+ }
3243
+
3244
+ .dndev-combobox-content {
3245
+ width: var(--radix-popover-trigger-width);
3246
+ min-width: var(--radix-popover-trigger-width);
3247
+ max-height: 300px;
3248
+ display: flex;
3249
+ flex-direction: column;
3250
+ padding: 0;
3251
+ }
3252
+
3253
+ .dndev-combobox-search-container {
3254
+ padding: var(--gap-sm);
3255
+ border-bottom: var(--border-width) solid var(--line-2);
3256
+ }
3257
+
3258
+ .dndev-combobox-search-input {
3259
+ width: 100%;
3260
+ }
3261
+
3262
+ .dndev-combobox-list {
3263
+ overflow-y: auto;
3264
+ padding: var(--gap-tight);
3265
+ display: flex;
3266
+ flex-direction: column;
3267
+ gap: var(--gap-none);
3268
+ }
3269
+
3270
+ .dndev-combobox-option {
3271
+ all: unset;
3272
+ display: flex;
3273
+ align-items: center;
3274
+ justify-content: space-between;
3275
+ padding: var(--gap-sm) var(--gap-md);
3276
+ cursor: pointer;
3277
+ border-radius: var(--radius-interactive);
3278
+ transition: background-color var(--dur-fast) var(--ease-in-out);
3279
+ }
3280
+
3281
+ .dndev-combobox-option:disabled {
3282
+ opacity: var(--opacity-muted);
3283
+ cursor: not-allowed;
3284
+ }
3285
+
3286
+ .dndev-combobox-option-highlighted:not(:disabled) {
3287
+ background-color: var(--accent);
3288
+ opacity: var(--opacity-strong);
3289
+ }
3290
+
3291
+ .dndev-combobox-option-selected {
3292
+ font-weight: var(--font-weight-medium);
3293
+ }
3294
+
3295
+ .dndev-combobox-option-content {
3296
+ display: flex;
3297
+ flex-direction: column;
3298
+ gap: var(--gap-tight);
3299
+ flex: 1;
3300
+ }
3301
+
3302
+ .dndev-combobox-option-label {
3303
+ font-size: var(--font-size-sm);
3304
+ color: var(--foreground);
3305
+ }
3306
+
3307
+ .dndev-combobox-option-description {
3308
+ font-size: var(--font-size-xs);
3309
+ color: var(--muted-foreground);
3310
+ }
3311
+
3312
+ .dndev-combobox-option-check {
3313
+ width: var(--icon-md);
3314
+ height: var(--icon-md);
3315
+ color: currentColor;
3316
+ flex-shrink: 0;
3317
+ }
3318
+
3319
+ .dndev-combobox-empty {
3320
+ padding: var(--gap-lg) var(--gap-md);
3321
+ text-align: center;
3322
+ font-size: var(--font-size-sm);
3323
+ color: var(--muted-foreground);
3324
+ }
3325
+
3125
3326
  /* packages/components/src/atomic/DualCard/DualCard.css */
3126
3327
 
3127
3328
  .dndev-dual-card {
@@ -4970,17 +5171,17 @@ em {
4970
5171
  margin-block-end: var(--gap-md);
4971
5172
  }
4972
5173
 
4973
- .dndev-section-full-width[data-text-align='start'] .dndev-section-content {
4974
- text-align: start;
4975
- }
5174
+ .dndev-section-full-width[data-text-align='start'] .dndev-section-title {
5175
+ text-align: start;
5176
+ }
4976
5177
 
4977
- .dndev-section-full-width[data-text-align='center'] .dndev-section-content {
4978
- text-align: center;
4979
- }
5178
+ .dndev-section-full-width[data-text-align='center'] .dndev-section-title {
5179
+ text-align: center;
5180
+ }
4980
5181
 
4981
- .dndev-section-full-width[data-text-align='end'] .dndev-section-content {
4982
- text-align: end;
4983
- }
5182
+ .dndev-section-full-width[data-text-align='end'] .dndev-section-title {
5183
+ text-align: end;
5184
+ }
4984
5185
 
4985
5186
  /* packages/components/src/atomic/Separator/Separator.css */
4986
5187
 
@@ -6133,6 +6334,123 @@ em {
6133
6334
  display: none;
6134
6335
  }
6135
6336
 
6337
+ /* packages/components/src/atomic/Tag/Tag.css */
6338
+
6339
+ .dndev-tag {
6340
+ display: inline-flex;
6341
+ align-items: center;
6342
+ gap: var(--gap-xs);
6343
+ border-radius: var(--radius-full);
6344
+ border: 1px solid transparent;
6345
+ font-size: var(--font-size-sm);
6346
+ font-weight: 500;
6347
+ line-height: 1;
6348
+ white-space: nowrap;
6349
+ transition: all var(--dur-fast) var(--ease-in-out);
6350
+
6351
+ /* Default variant */
6352
+ background-color: var(--secondary);
6353
+ color: var(--secondary-foreground);
6354
+ }
6355
+
6356
+ .dndev-tag .dndev-tag-remove {
6357
+ display: inline-flex;
6358
+ align-items: center;
6359
+ justify-content: center;
6360
+ padding: 0;
6361
+ margin-left: 2px;
6362
+ background: transparent;
6363
+ border: none;
6364
+ cursor: pointer;
6365
+ color: inherit;
6366
+ opacity: 0.7;
6367
+ border-radius: 50%;
6368
+ width: 14px;
6369
+ height: 14px;
6370
+ transition: opacity var(--dur-fast);
6371
+ }
6372
+
6373
+ :is(.dndev-tag .dndev-tag-remove):hover {
6374
+ opacity: 1;
6375
+ background-color: rgba(0, 0, 0, 0.1);
6376
+ }
6377
+
6378
+ :is(.dndev-tag .dndev-tag-remove):focus-visible {
6379
+ outline: 2px solid var(--ring);
6380
+ }
6381
+
6382
+ .dndev-tag .dndev-tag-remove-icon {
6383
+ width: 10px;
6384
+ height: 10px;
6385
+ }
6386
+
6387
+ /* Sizes */
6388
+
6389
+ .dndev-tag-sm {
6390
+ padding: 0.125rem 0.5rem;
6391
+ font-size: var(--font-size-xs);
6392
+ height: 20px;
6393
+ }
6394
+
6395
+ .dndev-tag-md {
6396
+ padding: 0.25rem 0.75rem;
6397
+ font-size: var(--font-size-sm);
6398
+ height: 24px;
6399
+ }
6400
+
6401
+ .dndev-tag-lg {
6402
+ padding: 0.375rem 0.875rem;
6403
+ font-size: var(--font-size-base);
6404
+ height: 32px;
6405
+ }
6406
+
6407
+ /* Variants */
6408
+
6409
+ .dndev-tag-outline {
6410
+ background-color: transparent;
6411
+ border-color: var(--border);
6412
+ color: var(--foreground);
6413
+ }
6414
+
6415
+ .dndev-tag-accent {
6416
+ background-color: var(--accent);
6417
+ color: var(--accent-foreground);
6418
+ border-color: transparent;
6419
+ }
6420
+
6421
+ /* Interactive States */
6422
+
6423
+ .dndev-tag-interactive {
6424
+ cursor: pointer;
6425
+ -webkit-user-select: none;
6426
+ -moz-user-select: none;
6427
+ user-select: none;
6428
+ }
6429
+
6430
+ .dndev-tag-interactive:hover {
6431
+ opacity: 0.8;
6432
+ }
6433
+
6434
+ .dndev-tag-interactive:focus-visible {
6435
+ outline: 2px solid var(--ring);
6436
+ outline-offset: 2px;
6437
+ }
6438
+
6439
+ .dndev-tag-disabled {
6440
+ pointer-events: none;
6441
+ opacity: 0.5;
6442
+ }
6443
+
6444
+ .dndev-tag-sm .dndev-tag-remove-icon {
6445
+ width: 8px;
6446
+ height: 8px;
6447
+ }
6448
+
6449
+ .dndev-tag-lg .dndev-tag-remove-icon {
6450
+ width: 12px;
6451
+ height: 12px;
6452
+ }
6453
+
6136
6454
  /* packages/components/src/atomic/Text/Text.css */
6137
6455
 
6138
6456
  .dndev-text-base[data-text-align='start'] {
@@ -6154,7 +6472,7 @@ em {
6154
6472
  }
6155
6473
 
6156
6474
  .dndev-text-base[data-variant='default'] {
6157
- color: var(--foreground);
6475
+ color: inherit;
6158
6476
  }
6159
6477
 
6160
6478
  .dndev-text-base[data-variant='muted'] {
@@ -6214,7 +6532,6 @@ em {
6214
6532
  .dndev-text-base[data-level='h4'] {
6215
6533
  font-size: var(--font-size-base);
6216
6534
  font-weight: var(--font-weight-medium);
6217
- color: var(--muted-foreground);
6218
6535
  }
6219
6536
 
6220
6537
  .dndev-text-base[data-level='body'] {
@@ -6578,6 +6895,14 @@ em {
6578
6895
  display: block;
6579
6896
  }
6580
6897
 
6898
+ /* SVG placeholder - zero bytes, instant render */
6899
+
6900
+ .dndev-video-placeholder {
6901
+ width: 100%;
6902
+ height: 100%;
6903
+ display: block;
6904
+ }
6905
+
6581
6906
  /* Play button overlay */
6582
6907
 
6583
6908
  .dndev-video-play-overlay {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@donotdev/components",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "description": "Styled UI components for DoNotDev",